Commit 261b5ae3 authored by Дмитрий Малюгин's avatar Дмитрий Малюгин 🕓
Browse files

refactor image

parent 80a41058
Loading
Loading
Loading
Loading

.env

0 → 100644
+3 −0
Original line number Diff line number Diff line
VITE_SUPABASE_URL=https://wrwwvdgppriodcdoyohp.supabase.co
VITE_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Indyd3d2ZGdwcHJpb2RjZG95b2hwIiwicm9sZSI6ImFub24iLCJpYXQiOjE3MjM3OTc1NzQsImV4cCI6MjAzOTM3MzU3NH0.ttfp3RHEgJIwF8fC-iUx2BmfxB_T-NqNeQCxycMqCDs
VITE_SUPABASE_ACCESS_TOKEN=sbp_cc9798115cb71d087e9b6774a35ba5c6ab866c9f
 No newline at end of file
+2 −0
Original line number Diff line number Diff line
@@ -15,6 +15,7 @@ declare module 'vue' {
    Drawer: typeof import('primevue/drawer')['default']
    ImageItem: typeof import('@/modules/entities/ImageItem.vue')['default']
    ImageMoveMenu: typeof import('./src/components/editEntityMenu/ImageMoveMenu.vue')['default']
    ImageSizeMenu: typeof import('./src/components/editEntityMenu/ImageSizeMenu.vue')['default']
    ImageStateMenu: typeof import('./src/components/editEntityMenu/ImageStateMenu.vue')['default']
    LogoAndLabel: typeof import('./src/components/LogoAndLabel.vue')['default']
    MoveImageMenu: typeof import('./src/components/editEntityMenu/image/MoveImageMenu.vue')['default']
@@ -31,6 +32,7 @@ declare module 'vue' {
    TextItem: typeof import('@/modules/entities/TextItem.vue')['default']
    TextMoveMenu: typeof import('./src/components/editEntityMenu/TextMoveMenu.vue')['default']
    TextStateMenu: typeof import('./src/components/editEntityMenu/TextStateMenu.vue')['default']
    Toast: typeof import('primevue/toast')['default']
    Tree: typeof import('primevue/tree')['default']
    UserInfoHeaderWithSettings: typeof import('./src/components/UserInfoHeaderWithSettings.vue')['default']
  }
+1 −0
Original line number Diff line number Diff line
@@ -14,6 +14,7 @@
  },
  "dependencies": {
    "@primevue/themes": "^4.0.4",
    "@supabase/supabase-js": "^2.45.1",
    "@vueuse/core": "^10.11.0",
    "@vueuse/integrations": "^10.11.0",
    "cropperjs": "^1.6.2",
+2 −2
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@ const visible = ref<boolean>(false);

<template>
  <router-view />
  <div class="fixed top-0 left-0">
  <div class="fixed top-0 left-0 z-50">
    <Button
      @click.prevent="visible = !visible"
      label="Menu"
@@ -18,7 +18,7 @@ const visible = ref<boolean>(false);
  </div>
  <Drawer v-model:visible="visible">
    <template #container="{ closeCallback }">
      <BaseSidebarMenu @closeCallback="closeCallback" />
      <BaseSidebarMenu @closeCallback="closeCallback" class="relative z-50" />
    </template>
  </Drawer>
</template>
+76 −65
Original line number Diff line number Diff line
@@ -5,74 +5,85 @@
// Generated by unplugin-auto-import
export {}
declare global {
  const EffectScope: typeof import('vue')['EffectScope']
  const [alias]: typeof import('[package-name]')['[from]']
  const [import-names]: typeof import('[package-name]')['[import-names]']
  const axios: typeof import('axios')['default']
  const computed: typeof import('vue')['computed']
  const createApp: typeof import('vue')['createApp']
  const customRef: typeof import('vue')['customRef']
  const defineAsyncComponent: typeof import('vue')['defineAsyncComponent']
  const defineComponent: typeof import('vue')['defineComponent']
  const effectScope: typeof import('vue')['effectScope']
  const getCurrentInstance: typeof import('vue')['getCurrentInstance']
  const getCurrentScope: typeof import('vue')['getCurrentScope']
  const h: typeof import('vue')['h']
  const inject: typeof import('vue')['inject']
  const isProxy: typeof import('vue')['isProxy']
  const isReactive: typeof import('vue')['isReactive']
  const isReadonly: typeof import('vue')['isReadonly']
  const isRef: typeof import('vue')['isRef']
  const markRaw: typeof import('vue')['markRaw']
  const nextTick: typeof import('vue')['nextTick']
  const onActivated: typeof import('vue')['onActivated']
  const onBeforeMount: typeof import('vue')['onBeforeMount']
  const onBeforeRouteLeave: typeof import('vue-router')['onBeforeRouteLeave']
  const onBeforeRouteUpdate: typeof import('vue-router')['onBeforeRouteUpdate']
  const onBeforeUnmount: typeof import('vue')['onBeforeUnmount']
  const onBeforeUpdate: typeof import('vue')['onBeforeUpdate']
  const onDeactivated: typeof import('vue')['onDeactivated']
  const onErrorCaptured: typeof import('vue')['onErrorCaptured']
  const onMounted: typeof import('vue')['onMounted']
  const onRenderTracked: typeof import('vue')['onRenderTracked']
  const onRenderTriggered: typeof import('vue')['onRenderTriggered']
  const onScopeDispose: typeof import('vue')['onScopeDispose']
  const onServerPrefetch: typeof import('vue')['onServerPrefetch']
  const onUnmounted: typeof import('vue')['onUnmounted']
  const onUpdated: typeof import('vue')['onUpdated']
  const provide: typeof import('vue')['provide']
  const reactive: typeof import('vue')['reactive']
  const readonly: typeof import('vue')['readonly']
  const ref: typeof import('vue')['ref']
  const resolveComponent: typeof import('vue')['resolveComponent']
  const shallowReactive: typeof import('vue')['shallowReactive']
  const shallowReadonly: typeof import('vue')['shallowReadonly']
  const shallowRef: typeof import('vue')['shallowRef']
  const toRaw: typeof import('vue')['toRaw']
  const toRef: typeof import('vue')['toRef']
  const toRefs: typeof import('vue')['toRefs']
  const toValue: typeof import('vue')['toValue']
  const triggerRef: typeof import('vue')['triggerRef']
  const unref: typeof import('vue')['unref']
  const useAttrs: typeof import('vue')['useAttrs']
  const useCssModule: typeof import('vue')['useCssModule']
  const useCssVars: typeof import('vue')['useCssVars']
  const useLink: typeof import('vue-router')['useLink']
  const useMyFetch: typeof import('@vueuse/core')['useFetch']
  const useRoute: typeof import('vue-router')['useRoute']
  const useRouter: typeof import('vue-router')['useRouter']
  const useSlots: typeof import('vue')['useSlots']
  const watch: typeof import('vue')['watch']
  const watchEffect: typeof import('vue')['watchEffect']
  const watchPostEffect: typeof import('vue')['watchPostEffect']
  const watchSyncEffect: typeof import('vue')['watchSyncEffect']
  const EffectScope: (typeof import('vue'))['EffectScope'];
  const [alias]: (typeof import('[package-name]'))['[from]'];
  const axios: (typeof import('axios'))['default'];
  const computed: (typeof import('vue'))['computed'];
  const createApp: (typeof import('vue'))['createApp'];
  const customRef: (typeof import('vue'))['customRef'];
  const defineAsyncComponent: (typeof import('vue'))['defineAsyncComponent'];
  const defineComponent: (typeof import('vue'))['defineComponent'];
  const effectScope: (typeof import('vue'))['effectScope'];
  const getCurrentInstance: (typeof import('vue'))['getCurrentInstance'];
  const getCurrentScope: (typeof import('vue'))['getCurrentScope'];
  const h: (typeof import('vue'))['h'];
  const inject: (typeof import('vue'))['inject'];
  const isProxy: (typeof import('vue'))['isProxy'];
  const isReactive: (typeof import('vue'))['isReactive'];
  const isReadonly: (typeof import('vue'))['isReadonly'];
  const isRef: (typeof import('vue'))['isRef'];
  const markRaw: (typeof import('vue'))['markRaw'];
  const nextTick: (typeof import('vue'))['nextTick'];
  const onActivated: (typeof import('vue'))['onActivated'];
  const onBeforeMount: (typeof import('vue'))['onBeforeMount'];
  const onBeforeRouteLeave: (typeof import('vue-router'))['onBeforeRouteLeave'];
  const onBeforeRouteUpdate: (typeof import('vue-router'))['onBeforeRouteUpdate'];
  const onBeforeUnmount: (typeof import('vue'))['onBeforeUnmount'];
  const onBeforeUpdate: (typeof import('vue'))['onBeforeUpdate'];
  const onDeactivated: (typeof import('vue'))['onDeactivated'];
  const onErrorCaptured: (typeof import('vue'))['onErrorCaptured'];
  const onMounted: (typeof import('vue'))['onMounted'];
  const onRenderTracked: (typeof import('vue'))['onRenderTracked'];
  const onRenderTriggered: (typeof import('vue'))['onRenderTriggered'];
  const onScopeDispose: (typeof import('vue'))['onScopeDispose'];
  const onServerPrefetch: (typeof import('vue'))['onServerPrefetch'];
  const onUnmounted: (typeof import('vue'))['onUnmounted'];
  const onUpdated: (typeof import('vue'))['onUpdated'];
  const provide: (typeof import('vue'))['provide'];
  const reactive: (typeof import('vue'))['reactive'];
  const readonly: (typeof import('vue'))['readonly'];
  const ref: (typeof import('vue'))['ref'];
  const resolveComponent: (typeof import('vue'))['resolveComponent'];
  const shallowReactive: (typeof import('vue'))['shallowReactive'];
  const shallowReadonly: (typeof import('vue'))['shallowReadonly'];
  const shallowRef: (typeof import('vue'))['shallowRef'];
  const toRaw: (typeof import('vue'))['toRaw'];
  const toRef: (typeof import('vue'))['toRef'];
  const toRefs: (typeof import('vue'))['toRefs'];
  const toValue: (typeof import('vue'))['toValue'];
  const triggerRef: (typeof import('vue'))['triggerRef'];
  const unref: (typeof import('vue'))['unref'];
  const useAttrs: (typeof import('vue'))['useAttrs'];
  const useCssModule: (typeof import('vue'))['useCssModule'];
  const useCssVars: (typeof import('vue'))['useCssVars'];
  const useLink: (typeof import('vue-router'))['useLink'];
  const useMyFetch: (typeof import('@vueuse/core'))['useFetch'];
  const useRoute: (typeof import('vue-router'))['useRoute'];
  const useRouter: (typeof import('vue-router'))['useRouter'];
  const useSlots: (typeof import('vue'))['useSlots'];
  const watch: (typeof import('vue'))['watch'];
  const watchEffect: (typeof import('vue'))['watchEffect'];
  const watchPostEffect: (typeof import('vue'))['watchPostEffect'];
  const watchSyncEffect: (typeof import('vue'))['watchSyncEffect'];
}
// for type re-export
declare global {
  // @ts-ignore
  export type { Component, ComponentPublicInstance, ComputedRef, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, VNode, WritableComputedRef } from 'vue'
  import('vue')
  export type {
    Component,
    ComponentPublicInstance,
    ComputedRef,
    ExtractDefaultPropTypes,
    ExtractPropTypes,
    ExtractPublicPropTypes,
    InjectionKey,
    PropType,
    Ref,
    VNode,
    WritableComputedRef
  } from 'vue';
  import('vue');
  // @ts-ignore
  export type { RouteLocationRaw } from 'vue-router'
  import('vue-router')
  export type { RouteLocationRaw } from 'vue-router';
  import('vue-router');
}
Loading