@tmagic/editor 1.2.0-beta.7 → 1.2.0-beta.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.2.0-beta.7",
2
+ "version": "1.2.0-beta.8",
3
3
  "name": "@tmagic/editor",
4
4
  "sideEffects": [
5
5
  "dist/*",
@@ -45,12 +45,12 @@
45
45
  "dependencies": {
46
46
  "@babel/core": "^7.18.0",
47
47
  "@element-plus/icons-vue": "^2.0.9",
48
- "@tmagic/core": "1.2.0-beta.7",
49
- "@tmagic/design": "1.2.0-beta.7",
50
- "@tmagic/form": "1.2.0-beta.7",
51
- "@tmagic/schema": "1.2.0-beta.7",
52
- "@tmagic/stage": "1.2.0-beta.7",
53
- "@tmagic/utils": "1.2.0-beta.7",
48
+ "@tmagic/core": "1.2.0-beta.8",
49
+ "@tmagic/design": "1.2.0-beta.8",
50
+ "@tmagic/form": "1.2.0-beta.8",
51
+ "@tmagic/schema": "1.2.0-beta.8",
52
+ "@tmagic/stage": "1.2.0-beta.8",
53
+ "@tmagic/utils": "1.2.0-beta.8",
54
54
  "buffer": "^6.0.3",
55
55
  "color": "^3.1.3",
56
56
  "events": "^3.3.0",
@@ -62,8 +62,8 @@
62
62
  "vue": "^3.2.37"
63
63
  },
64
64
  "peerDependencies": {
65
- "@tmagic/design": "1.2.0-beta.7",
66
- "@tmagic/form": "1.2.0-beta.7",
65
+ "@tmagic/design": "1.2.0-beta.8",
66
+ "@tmagic/form": "1.2.0-beta.8",
67
67
  "monaco-editor": "^0.34.0",
68
68
  "vue": "^3.2.37"
69
69
  },
@@ -79,6 +79,6 @@
79
79
  "sass": "^1.35.1",
80
80
  "typescript": "^4.7.4",
81
81
  "vite": "^3.1.3",
82
- "vue-tsc": "^0.39.4"
82
+ "vue-tsc": "^1.0.8"
83
83
  }
84
84
  }
@@ -33,7 +33,7 @@
33
33
  </template>
34
34
 
35
35
  <script lang="ts" setup>
36
- import { computed, defineEmits, defineProps, inject, ref, watchEffect } from 'vue';
36
+ import { computed, defineEmits, defineProps, inject, ref, watch, watchEffect } from 'vue';
37
37
  import { cloneDeep, map, xor } from 'lodash-es';
38
38
 
39
39
  import { TMagicCard, tMagicMessage, TMagicTooltip } from '@tmagic/design';
@@ -77,12 +77,22 @@ const selectConfig = computed(() => {
77
77
  });
78
78
  const fieldKey = ref('');
79
79
  const multiple = ref(true);
80
- const combineIds = ref<string[]>([]);
81
80
  let lastTagSnapshot = cloneDeep(props.model[props.name]) || [];
81
+ let shouldWatch = true;
82
+
83
+ // 管理端和editor有表现不一致的地方,管理端切换组件表单不会重新渲染,因此增加shouldWatch控制lastTagSnapshot的记录
84
+ watch(
85
+ () => props.model[props.name],
86
+ (selectValue) => {
87
+ if (shouldWatch) {
88
+ lastTagSnapshot = cloneDeep(selectValue) || [];
89
+ }
90
+ },
91
+ );
82
92
 
83
93
  watchEffect(async () => {
84
94
  const combineNames = await Promise.all(
85
- combineIds.value.map(async (id) => {
95
+ props.model[props.name].map(async (id: string) => {
86
96
  const { name = '' } = (await services?.codeBlockService.getCodeContentById(id)) || {};
87
97
  return name;
88
98
  }),
@@ -91,6 +101,7 @@ watchEffect(async () => {
91
101
  });
92
102
 
93
103
  const changeHandler = async (value: any) => {
104
+ shouldWatch = false;
94
105
  let codeIds = value;
95
106
  if (typeof value === 'string') {
96
107
  multiple.value = false;
@@ -117,13 +128,7 @@ const setCombineRelation = async (codeIds: string[]) => {
117
128
  // 记录绑定关系
118
129
  await services?.codeBlockService.setCombineRelation(id, diffValues, opFlag, props.prop);
119
130
  lastTagSnapshot = codeIds;
120
- await setCombineIds(codeIds);
121
- };
122
-
123
- // 记录当前已被绑定的代码块,为查看弹窗的展示内容
124
- const setCombineIds = async (codeIds: string[]) => {
125
- combineIds.value = codeIds;
126
- await services?.codeBlockService.setCombineIds(codeIds);
131
+ shouldWatch = true;
127
132
  };
128
133
 
129
134
  const viewHandler = async () => {
@@ -132,8 +137,8 @@ const viewHandler = async () => {
132
137
  return;
133
138
  }
134
139
  // 记录当前已被绑定的代码块,为查看弹窗的展示内容
135
- await setCombineIds(props.model[props.name]);
140
+ await services?.codeBlockService.setCombineIds(props.model[props.name]);
136
141
  await services?.codeBlockService.setMode(CodeEditorMode.LIST);
137
- services?.codeBlockService.setCodeEditorContent(true, combineIds.value[0]);
142
+ services?.codeBlockService.setCodeEditorContent(true, props.model[props.name][0]);
138
143
  };
139
144
  </script>
@@ -0,0 +1,32 @@
1
+ <template>
2
+ <div v-if="nodes.length === 1" class="m-editor-breadcrumb">
3
+ <template v-for="(item, index) in path" :key="item.id">
4
+ <TMagicButton text :disabled="item.id === node?.id" @click="select(item)">{{ item.name }}</TMagicButton
5
+ ><span v-if="index < path.length - 1">/</span>
6
+ </template>
7
+ </div>
8
+ </template>
9
+
10
+ <script setup lang="ts">
11
+ import { computed, inject } from 'vue';
12
+
13
+ import { TMagicButton } from '@tmagic/design';
14
+ import type { MApp, MNode } from '@tmagic/schema';
15
+ import type StageCore from '@tmagic/stage';
16
+ import { getNodePath } from '@tmagic/utils';
17
+
18
+ import type { Services } from '../../type';
19
+
20
+ const services = inject<Services>('services');
21
+ const editorService = services?.editorService;
22
+
23
+ const node = computed(() => editorService?.get<MNode>('node'));
24
+ const nodes = computed(() => editorService?.get<MNode[]>('nodes') || []);
25
+ const root = computed(() => editorService?.get<MApp>('root'));
26
+ const path = computed(() => getNodePath(node.value?.id || '', root.value?.items || []));
27
+
28
+ const select = async (node: MNode) => {
29
+ await editorService?.select(node);
30
+ editorService?.get<StageCore>('stage')?.select(node.id);
31
+ };
32
+ </script>
@@ -1,5 +1,7 @@
1
1
  <template>
2
2
  <div class="m-editor-workspace" tabindex="-1" ref="workspace">
3
+ <Breadcrumb></Breadcrumb>
4
+
3
5
  <slot name="stage">
4
6
  <MagicStage :key="page?.id"></MagicStage>
5
7
  </slot>
@@ -22,6 +24,7 @@ import { isPage } from '@tmagic/utils';
22
24
 
23
25
  import type { Services } from '../../type';
24
26
 
27
+ import Breadcrumb from './Breadcrumb.vue';
25
28
  import PageBar from './PageBar.vue';
26
29
  import MagicStage from './Stage.vue';
27
30
 
@@ -0,0 +1,6 @@
1
+ .m-editor-breadcrumb {
2
+ position: absolute;
3
+ left: 5px;
4
+ top: 5px;
5
+ z-index: 10;
6
+ }
@@ -13,3 +13,4 @@
13
13
  @import "./icon.scss";
14
14
  @import "./code-block.scss";
15
15
  @import "./layout.scss";
16
+ @import "./breadcrumb.scss";
@@ -73,6 +73,12 @@ export const useStage = (stageOptions: StageOptions) => {
73
73
  editorService.sort(ev.src, ev.dist);
74
74
  });
75
75
 
76
+ stage.on('select-parent', () => {
77
+ const parent = editorService.get('parent');
78
+ editorService.select(parent);
79
+ editorService.get<StageCore>('stage').select(parent.id);
80
+ });
81
+
76
82
  stage.on('changeGuides', (e) => {
77
83
  uiService.set('showGuides', true);
78
84
 
@@ -96,9 +96,7 @@ declare const _default: {
96
96
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hide" | "show")[], "hide" | "show", {
97
97
  menuData: (MenuButton | MenuComponent)[];
98
98
  isSubMenu: boolean;
99
- }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
100
- $slots: {};
101
- });
99
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
102
100
  export default _default;
103
101
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
104
102
  declare type __VLS_TypePropsToRuntimeProps<T> = {
@@ -48,9 +48,7 @@ declare const _default: {
48
48
  __isSuspense?: undefined;
49
49
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
50
50
  icon?: any;
51
- }>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
52
- $slots: {};
53
- });
51
+ }>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
54
52
  export default _default;
55
53
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
56
54
  declare type __VLS_TypePropsToRuntimeProps<T> = {
@@ -68,9 +68,7 @@ declare const _default: {
68
68
  pos: number;
69
69
  }>>> & {
70
70
  onScroll?: ((...args: any[]) => any) | undefined;
71
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "scroll"[], "scroll", {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
72
- $slots: {};
73
- });
71
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "scroll"[], "scroll", {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
74
72
  export default _default;
75
73
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
76
74
  declare type __VLS_TypePropsToRuntimeProps<T> = {
@@ -86,9 +86,7 @@ declare const _default: {
86
86
  }>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
87
87
  data: MenuButton | MenuComponent;
88
88
  eventType: 'mousedown' | 'mouseup' | 'click';
89
- }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
90
- $slots: {};
91
- });
89
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
92
90
  export default _default;
93
91
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
94
92
  declare type __VLS_TypePropsToRuntimeProps<T> = {
@@ -84,9 +84,7 @@ declare const _default: {
84
84
  prop: string;
85
85
  }>>> & {
86
86
  onChange?: ((...args: any[]) => any) | undefined;
87
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
88
- $slots: {};
89
- });
87
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
90
88
  export default _default;
91
89
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
92
90
  declare type __VLS_TypePropsToRuntimeProps<T> = {
@@ -92,9 +92,7 @@ declare const _default: {
92
92
  prop: string;
93
93
  }>>> & {
94
94
  onChange?: ((...args: any[]) => any) | undefined;
95
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
96
- $slots: {};
97
- });
95
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
98
96
  export default _default;
99
97
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
100
98
  declare type __VLS_TypePropsToRuntimeProps<T> = {
@@ -81,9 +81,7 @@ declare const _default: {
81
81
  size: string;
82
82
  }>>> & {
83
83
  onChange?: ((...args: any[]) => any) | undefined;
84
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
85
- $slots: {};
86
- });
84
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
87
85
  export default _default;
88
86
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
89
87
  declare type __VLS_TypePropsToRuntimeProps<T> = {
@@ -68,9 +68,7 @@ declare const _default: {
68
68
  name: string;
69
69
  }>>> & {
70
70
  onChange?: ((...args: any[]) => any) | undefined;
71
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
72
- $slots: {};
73
- });
71
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
74
72
  export default _default;
75
73
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
76
74
  declare type __VLS_TypePropsToRuntimeProps<T> = {
@@ -40,7 +40,5 @@ declare const _default: {
40
40
  __isFragment?: undefined;
41
41
  __isTeleport?: undefined;
42
42
  __isSuspense?: undefined;
43
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
44
- $slots: {};
45
- });
43
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
46
44
  export default _default;
@@ -150,9 +150,7 @@ declare const _default: {
150
150
  };
151
151
  language: string;
152
152
  autoSave: boolean;
153
- }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
154
- $slots: {};
155
- });
153
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
156
154
  export default _default;
157
155
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
158
156
  declare type __VLS_TypePropsToRuntimeProps<T> = {
@@ -4,15 +4,15 @@ declare const _default: {
4
4
  $: import("vue").ComponentInternalInstance;
5
5
  $data: {};
6
6
  $props: Partial<{
7
- data: MenuBarData;
8
7
  height: number;
8
+ data: MenuBarData;
9
9
  }> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
10
10
  data?: MenuBarData | undefined;
11
11
  height?: number | undefined;
12
12
  }>, {
13
13
  data: () => {};
14
14
  height: number;
15
- }>>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "data" | "height">;
15
+ }>>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "height" | "data">;
16
16
  $attrs: {
17
17
  [x: string]: unknown;
18
18
  };
@@ -33,8 +33,8 @@ declare const _default: {
33
33
  data: () => {};
34
34
  height: number;
35
35
  }>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
36
- data: MenuBarData;
37
36
  height: number;
37
+ data: MenuBarData;
38
38
  }> & {
39
39
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
40
40
  created?: ((() => void) | (() => void)[]) | undefined;
@@ -72,11 +72,9 @@ declare const _default: {
72
72
  data: () => {};
73
73
  height: number;
74
74
  }>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
75
- data: MenuBarData;
76
75
  height: number;
77
- }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
78
- $slots: {};
79
- });
76
+ data: MenuBarData;
77
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
80
78
  export default _default;
81
79
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
82
80
  declare type __VLS_TypePropsToRuntimeProps<T> = {
@@ -46,7 +46,5 @@ declare const _default: {
46
46
  __isSuspense?: undefined;
47
47
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {
48
48
  show: (e: MouseEvent) => void;
49
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
50
- $slots: {};
51
- });
49
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
52
50
  export default _default;
@@ -0,0 +1,44 @@
1
+ declare const _default: {
2
+ new (...args: any[]): {
3
+ $: import("vue").ComponentInternalInstance;
4
+ $data: {};
5
+ $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
6
+ $attrs: {
7
+ [x: string]: unknown;
8
+ };
9
+ $refs: {
10
+ [x: string]: unknown;
11
+ };
12
+ $slots: Readonly<{
13
+ [name: string]: import("vue").Slot | undefined;
14
+ }>;
15
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
16
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
17
+ $emit: ((event: string, ...args: any[]) => void) | ((event: string, ...args: any[]) => void);
18
+ $el: any;
19
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, {}> & {
20
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
21
+ created?: ((() => void) | (() => void)[]) | undefined;
22
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
23
+ mounted?: ((() => void) | (() => void)[]) | undefined;
24
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
25
+ updated?: ((() => void) | (() => void)[]) | undefined;
26
+ activated?: ((() => void) | (() => void)[]) | undefined;
27
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
28
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
29
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
30
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
31
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
32
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
33
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
34
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
35
+ };
36
+ $forceUpdate: () => void;
37
+ $nextTick: typeof import("vue").nextTick;
38
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
39
+ } & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
40
+ __isFragment?: undefined;
41
+ __isTeleport?: undefined;
42
+ __isSuspense?: undefined;
43
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
44
+ export default _default;
@@ -40,7 +40,5 @@ declare const _default: {
40
40
  __isFragment?: undefined;
41
41
  __isTeleport?: undefined;
42
42
  __isSuspense?: undefined;
43
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
44
- $slots: {};
45
- });
43
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
46
44
  export default _default;
@@ -68,9 +68,7 @@ declare const _default: {
68
68
  show: (e: MouseEvent) => Promise<void>;
69
69
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
70
70
  isMultiSelect: boolean;
71
- }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
72
- $slots: {};
73
- });
71
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
74
72
  export default _default;
75
73
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
76
74
  declare type __VLS_TypePropsToRuntimeProps<T> = {