@robot-admin/naive-ui-components 0.40.4 → 0.40.5

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.
Files changed (73) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +101 -79
  3. package/README_EN.md +110 -67
  4. package/dist/constants.d.cts +1 -1
  5. package/dist/constants.d.ts +1 -1
  6. package/dist/constants3.d.cts +3 -3
  7. package/dist/constants3.d.ts +3 -3
  8. package/dist/constants4.d.cts +1 -1
  9. package/dist/constants4.d.ts +1 -1
  10. package/dist/constants5.d.cts +2 -2
  11. package/dist/constants5.d.ts +2 -2
  12. package/dist/data2.d.cts +6 -6
  13. package/dist/data2.d.ts +6 -6
  14. package/dist/editors.d.cts +9 -9
  15. package/dist/editors.d.ts +9 -9
  16. package/dist/index.vue.d.cts +6 -6
  17. package/dist/index.vue.d.ts +6 -6
  18. package/dist/index10.vue.d.ts +2 -2
  19. package/dist/index11.vue.d.cts +2 -2
  20. package/dist/index11.vue.d.ts +3 -3
  21. package/dist/index12.vue.d.cts +3 -3
  22. package/dist/index13.vue.d.ts +4 -4
  23. package/dist/index14.vue.d.cts +4 -4
  24. package/dist/index16.vue.d.ts +3 -3
  25. package/dist/index17.vue.d.cts +3 -3
  26. package/dist/index17.vue.d.ts +4 -4
  27. package/dist/index18.vue.d.cts +4 -4
  28. package/dist/index19.vue.d.ts +1 -1
  29. package/dist/index20.vue.d.cts +1 -1
  30. package/dist/index21.vue.d.ts +2 -2
  31. package/dist/index22.vue.d.cts +2 -2
  32. package/dist/index24.vue.d.cts +1 -1
  33. package/dist/index24.vue.d.ts +1 -1
  34. package/dist/index27.vue.d.cts +1 -1
  35. package/dist/index27.vue.d.ts +1 -1
  36. package/dist/index30.vue.d.cts +1 -1
  37. package/dist/index30.vue.d.ts +1 -1
  38. package/dist/index31.vue.d.cts +3 -3
  39. package/dist/index31.vue.d.ts +3 -3
  40. package/dist/index4.vue.d.cts +5 -5
  41. package/dist/index4.vue.d.ts +5 -5
  42. package/dist/index8.vue.d.ts +1 -1
  43. package/dist/index9.vue.d.cts +1 -1
  44. package/dist/mapUtils.d.cts +4 -4
  45. package/dist/mapUtils.d.ts +4 -4
  46. package/dist/useCalendarEvents.d.cts +2 -2
  47. package/dist/useCalendarEvents.d.ts +2 -2
  48. package/dist/useCollapsePanel.d.cts +4 -4
  49. package/dist/useCollapsePanel.d.ts +4 -4
  50. package/dist/useCropperCore.d.cts +8 -8
  51. package/dist/useCropperCore.d.ts +8 -8
  52. package/dist/useEdgeInteraction.d.cts +1 -1
  53. package/dist/useEdgeInteraction.d.ts +1 -1
  54. package/dist/useFullscreen.d.cts +2 -2
  55. package/dist/useFullscreen.d.ts +2 -2
  56. package/dist/useInfiniteScroll.d.cts +2 -2
  57. package/dist/useInfiniteScroll.d.ts +2 -2
  58. package/dist/useQRCode.d.cts +2 -2
  59. package/dist/useQRCode.d.ts +2 -2
  60. package/dist/useSignatureHistory.d.cts +3 -3
  61. package/dist/useSignatureHistory.d.ts +3 -3
  62. package/dist/useSplitResize.d.cts +6 -6
  63. package/dist/useSplitResize.d.ts +6 -6
  64. package/dist/useTimeSelection.d.cts +3 -3
  65. package/dist/useTimeSelection.d.ts +3 -3
  66. package/dist/useWorkflowValidation.d.cts +102 -102
  67. package/dist/useWorkflowValidation.d.ts +102 -102
  68. package/dist/verification.d.cts +2 -2
  69. package/dist/verification.d.ts +2 -2
  70. package/docs/engineering.en.md +6 -0
  71. package/docs/engineering.md +6 -0
  72. package/docs/guides/api-migration.md +17 -1
  73. package/package.json +1 -1
@@ -216,13 +216,13 @@ declare const __VLS_base: vue.DefineComponent<UploadProps, UploadExpose, {}, {},
216
216
  }>, {
217
217
  data: Record<string, unknown>;
218
218
  disabled: boolean;
219
- maxSize: number;
220
219
  draggable: boolean;
221
220
  action: string;
222
221
  multiple: boolean;
223
222
  headers: Record<string, string>;
224
223
  directory: boolean;
225
224
  accept: string;
225
+ maxSize: number;
226
226
  maxCount: number;
227
227
  pasteable: boolean;
228
228
  chunked: boolean;
@@ -217,13 +217,13 @@ declare const __VLS_base: vue.DefineComponent<UploadProps, UploadExpose, {}, {},
217
217
  }>, {
218
218
  data: Record<string, unknown>;
219
219
  disabled: boolean;
220
- maxSize: number;
221
220
  draggable: boolean;
222
221
  action: string;
223
222
  multiple: boolean;
224
223
  headers: Record<string, string>;
225
224
  directory: boolean;
226
225
  accept: string;
226
+ maxSize: number;
227
227
  maxCount: number;
228
228
  pasteable: boolean;
229
229
  chunked: boolean;
@@ -262,8 +262,8 @@ type PlayerInstance = InstanceType<typeof xgplayer.default>;
262
262
  //#endregion
263
263
  //#region src/components/C_VideoPlayer/index.vue.d.ts
264
264
  declare const __VLS_export: vue.DefineComponent<VideoPlayerProps, VideoPlayerExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
265
- ready: () => any;
266
265
  error: (error: Error) => any;
266
+ ready: () => any;
267
267
  ended: () => any;
268
268
  stateChange: (state: PlayerState) => any;
269
269
  qualityChange: (quality: QualityLevel) => any;
@@ -275,8 +275,8 @@ declare const __VLS_export: vue.DefineComponent<VideoPlayerProps, VideoPlayerExp
275
275
  quizAnswer: (quizId: string, answer: string | string[], isCorrect: boolean) => any;
276
276
  timeUpdate: (currentTime: number, duration: number) => any;
277
277
  }, string, vue.PublicProps, Readonly<VideoPlayerProps> & Readonly<{
278
- onReady?: (() => any) | undefined;
279
278
  onError?: ((error: Error) => any) | undefined;
279
+ onReady?: (() => any) | undefined;
280
280
  onEnded?: (() => any) | undefined;
281
281
  onStateChange?: ((state: PlayerState) => any) | undefined;
282
282
  onQualityChange?: ((quality: QualityLevel) => any) | undefined;
@@ -262,8 +262,8 @@ type PlayerInstance = InstanceType<typeof xgplayer.default>;
262
262
  //#endregion
263
263
  //#region src/components/C_VideoPlayer/index.vue.d.ts
264
264
  declare const __VLS_export: vue.DefineComponent<VideoPlayerProps, VideoPlayerExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
265
- ready: () => any;
266
265
  error: (error: Error) => any;
266
+ ready: () => any;
267
267
  ended: () => any;
268
268
  stateChange: (state: PlayerState) => any;
269
269
  qualityChange: (quality: QualityLevel) => any;
@@ -275,8 +275,8 @@ declare const __VLS_export: vue.DefineComponent<VideoPlayerProps, VideoPlayerExp
275
275
  quizAnswer: (quizId: string, answer: string | string[], isCorrect: boolean) => any;
276
276
  timeUpdate: (currentTime: number, duration: number) => any;
277
277
  }, string, vue.PublicProps, Readonly<VideoPlayerProps> & Readonly<{
278
- onReady?: (() => any) | undefined;
279
278
  onError?: ((error: Error) => any) | undefined;
279
+ onReady?: (() => any) | undefined;
280
280
  onEnded?: (() => any) | undefined;
281
281
  onStateChange?: ((state: PlayerState) => any) | undefined;
282
282
  onQualityChange?: ((quality: QualityLevel) => any) | undefined;
package/dist/data2.d.cts CHANGED
@@ -65,28 +65,28 @@ type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_37>]?: (props: typeof _
65
65
  declare const __VLS_base: vue.DefineComponent<CTabsProps, {
66
66
  activeValue: vue.WritableComputedRef<TabsValue | null, TabsValue | null>;
67
67
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
68
- "update:modelValue": (value: TabsValue) => any;
69
68
  add: () => any;
69
+ "update:modelValue": (value: TabsValue) => any;
70
70
  close: (value: TabsValue) => any;
71
71
  change: (value: TabsValue, item: TabsItem | undefined) => any;
72
72
  }, string, vue.PublicProps, Readonly<CTabsProps> & Readonly<{
73
- "onUpdate:modelValue"?: ((value: TabsValue) => any) | undefined;
74
73
  onAdd?: (() => any) | undefined;
74
+ "onUpdate:modelValue"?: ((value: TabsValue) => any) | undefined;
75
75
  onClose?: ((value: TabsValue) => any) | undefined;
76
76
  onChange?: ((value: TabsValue, item: TabsItem | undefined) => any) | undefined;
77
77
  }>, {
78
- modelValue: TabsValue | null;
79
78
  type: TabsType;
80
- items: readonly TabsItem[];
81
79
  size: TabsSize;
80
+ modelValue: TabsValue | null;
81
+ items: readonly TabsItem[];
82
82
  justifyContent: TabsJustifyContent;
83
+ closable: boolean;
84
+ displayDirective: TabsDisplayDirective;
83
85
  defaultValue: TabsValue | null;
84
86
  placement: TabsPlacement;
85
87
  animated: boolean;
86
- closable: boolean;
87
88
  addable: boolean;
88
89
  tabsOnly: boolean;
89
- displayDirective: TabsDisplayDirective;
90
90
  paneClass: string;
91
91
  paneStyle: string | vue.CSSProperties;
92
92
  beforeChange: (target: TabsValue, current: TabsValue | null) => boolean | Promise<boolean>;
package/dist/data2.d.ts CHANGED
@@ -65,28 +65,28 @@ type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_37>]?: (props: typeof _
65
65
  declare const __VLS_base: vue.DefineComponent<CTabsProps, {
66
66
  activeValue: vue.WritableComputedRef<TabsValue | null, TabsValue | null>;
67
67
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
68
- "update:modelValue": (value: TabsValue) => any;
69
68
  add: () => any;
69
+ "update:modelValue": (value: TabsValue) => any;
70
70
  close: (value: TabsValue) => any;
71
71
  change: (value: TabsValue, item: TabsItem | undefined) => any;
72
72
  }, string, vue.PublicProps, Readonly<CTabsProps> & Readonly<{
73
- "onUpdate:modelValue"?: ((value: TabsValue) => any) | undefined;
74
73
  onAdd?: (() => any) | undefined;
74
+ "onUpdate:modelValue"?: ((value: TabsValue) => any) | undefined;
75
75
  onClose?: ((value: TabsValue) => any) | undefined;
76
76
  onChange?: ((value: TabsValue, item: TabsItem | undefined) => any) | undefined;
77
77
  }>, {
78
- modelValue: TabsValue | null;
79
78
  type: TabsType;
80
- items: readonly TabsItem[];
81
79
  size: TabsSize;
80
+ modelValue: TabsValue | null;
81
+ items: readonly TabsItem[];
82
82
  justifyContent: TabsJustifyContent;
83
+ closable: boolean;
84
+ displayDirective: TabsDisplayDirective;
83
85
  defaultValue: TabsValue | null;
84
86
  placement: TabsPlacement;
85
87
  animated: boolean;
86
- closable: boolean;
87
88
  addable: boolean;
88
89
  tabsOnly: boolean;
89
- displayDirective: TabsDisplayDirective;
90
90
  paneClass: string;
91
91
  paneStyle: string | vue.CSSProperties;
92
92
  beforeChange: (target: TabsValue, current: TabsValue | null) => boolean | Promise<boolean>;
@@ -556,21 +556,21 @@ declare function setupHighlight(app: App, options?: HighlightPluginOptions): Hig
556
556
  //#region src/components/C_Tree/index.vue.d.ts
557
557
  declare const __VLS_export: <T extends object = TreeNodeData>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
558
558
  props: vue.PublicProps & __VLS_PrettifyLocal<TreeProps$1<T> & {
559
- "onUpdate:expandedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "expand" | "collapse" | "unselect" | "check" | "uncheck">) => any) | undefined;
560
- onRefresh?: (() => any) | undefined;
559
+ "onUpdate:expandedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "collapse" | "expand" | "unselect" | "check" | "uncheck">) => any) | undefined;
561
560
  onAdd?: ((parentNode?: T | undefined) => any) | undefined;
562
- "onLoad-error"?: ((error: unknown, node: T) => any) | undefined;
561
+ onRefresh?: (() => any) | undefined;
562
+ "onSearch-error"?: ((error: unknown) => any) | undefined;
563
563
  "onUpdate:searchPattern"?: ((pattern: string) => any) | undefined;
564
- "onUpdate:selectedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "expand" | "collapse" | "unselect" | "check" | "uncheck">) => any) | undefined;
565
- "onUpdate:checkedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "expand" | "collapse" | "unselect" | "check" | "uncheck">) => any) | undefined;
564
+ "onUpdate:selectedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "collapse" | "expand" | "unselect" | "check" | "uncheck">) => any) | undefined;
565
+ "onUpdate:checkedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "collapse" | "expand" | "unselect" | "check" | "uncheck">) => any) | undefined;
566
566
  "onNode-select"?: ((node: T | null, selectedKeys: TreeKey[]) => any) | undefined;
567
567
  "onNode-action"?: ((action: string, node: T) => any) | undefined;
568
568
  "onNode-drop"?: ((info: DropInfo<T>) => any) | undefined;
569
- "onSearch-error"?: ((error: unknown) => any) | undefined;
569
+ "onLoad-error"?: ((error: unknown, node: T) => any) | undefined;
570
570
  }> & (typeof globalThis extends {
571
571
  __VLS_PROPS_FALLBACK: infer P;
572
572
  } ? P : {});
573
- expose: (exposed: vue.ShallowUnwrapRef<Omit<TreeExpose<T>, "expandedKeys" | "selectedKeys" | "checkedKeys" | "searchLoading" | "searchError" | "searchMatchCount" | "searchMatchIndex"> & {
573
+ expose: (exposed: vue.ShallowUnwrapRef<Omit<TreeExpose<T>, "expandedKeys" | "checkedKeys" | "selectedKeys" | "searchLoading" | "searchError" | "searchMatchCount" | "searchMatchIndex"> & {
574
574
  expandedKeys: vue.Ref<TreeKey[]>;
575
575
  selectedKeys: vue.Ref<TreeKey[]>;
576
576
  checkedKeys: vue.Ref<TreeKey[]>;
@@ -581,7 +581,7 @@ declare const __VLS_export: <T extends object = TreeNodeData>(__VLS_props: NonNu
581
581
  }>) => void;
582
582
  attrs: any;
583
583
  slots: TreeSlots<T>;
584
- emit: ((evt: "update:expandedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "expand" | "collapse" | "unselect" | "check" | "uncheck">) => void) & ((evt: "refresh") => void) & ((evt: "add", parentNode?: T | undefined) => void) & ((evt: "load-error", error: unknown, node: T) => void) & ((evt: "update:searchPattern", pattern: string) => void) & ((evt: "update:selectedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "expand" | "collapse" | "unselect" | "check" | "uncheck">) => void) & ((evt: "update:checkedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "expand" | "collapse" | "unselect" | "check" | "uncheck">) => void) & ((evt: "node-select", node: T | null, selectedKeys: TreeKey[]) => void) & ((evt: "node-action", action: string, node: T) => void) & ((evt: "node-drop", info: DropInfo<T>) => void) & ((evt: "search-error", error: unknown) => void);
584
+ emit: ((evt: "update:expandedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "collapse" | "expand" | "unselect" | "check" | "uncheck">) => void) & ((evt: "add", parentNode?: T | undefined) => void) & ((evt: "refresh") => void) & ((evt: "search-error", error: unknown) => void) & ((evt: "update:searchPattern", pattern: string) => void) & ((evt: "update:selectedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "collapse" | "expand" | "unselect" | "check" | "uncheck">) => void) & ((evt: "update:checkedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "collapse" | "expand" | "unselect" | "check" | "uncheck">) => void) & ((evt: "node-select", node: T | null, selectedKeys: TreeKey[]) => void) & ((evt: "node-action", action: string, node: T) => void) & ((evt: "node-drop", info: DropInfo<T>) => void) & ((evt: "load-error", error: unknown, node: T) => void);
585
585
  }>) => vue.VNode & {
586
586
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
587
587
  };
@@ -645,7 +645,7 @@ declare function useTreeOperations<T extends object = TreeNodeData>(props: TreeP
645
645
  handleDrop: (info: DropInfo<T>) => void;
646
646
  handleAdd: () => void;
647
647
  handleRefresh: () => void;
648
- expose: Omit<TreeExpose<T>, "expandedKeys" | "selectedKeys" | "checkedKeys" | "searchLoading" | "searchError" | "searchMatchCount" | "searchMatchIndex"> & {
648
+ expose: Omit<TreeExpose<T>, "expandedKeys" | "checkedKeys" | "selectedKeys" | "searchLoading" | "searchError" | "searchMatchCount" | "searchMatchIndex"> & {
649
649
  expandedKeys: Ref<TreeKey[]>;
650
650
  selectedKeys: Ref<TreeKey[]>;
651
651
  checkedKeys: Ref<TreeKey[]>;
package/dist/editors.d.ts CHANGED
@@ -546,21 +546,21 @@ declare function setupHighlight(app: App, options?: HighlightPluginOptions): Hig
546
546
  //#region src/components/C_Tree/index.vue.d.ts
547
547
  declare const __VLS_export: <T extends object = TreeNodeData>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
548
548
  props: vue.PublicProps & __VLS_PrettifyLocal<TreeProps$1<T> & {
549
- "onUpdate:expandedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "expand" | "collapse" | "unselect" | "check" | "uncheck">) => any) | undefined;
550
- onRefresh?: (() => any) | undefined;
549
+ "onUpdate:expandedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "collapse" | "expand" | "unselect" | "check" | "uncheck">) => any) | undefined;
551
550
  onAdd?: ((parentNode?: T | undefined) => any) | undefined;
552
- "onLoad-error"?: ((error: unknown, node: T) => any) | undefined;
551
+ onRefresh?: (() => any) | undefined;
552
+ "onSearch-error"?: ((error: unknown) => any) | undefined;
553
553
  "onUpdate:searchPattern"?: ((pattern: string) => any) | undefined;
554
- "onUpdate:selectedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "expand" | "collapse" | "unselect" | "check" | "uncheck">) => any) | undefined;
555
- "onUpdate:checkedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "expand" | "collapse" | "unselect" | "check" | "uncheck">) => any) | undefined;
554
+ "onUpdate:selectedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "collapse" | "expand" | "unselect" | "check" | "uncheck">) => any) | undefined;
555
+ "onUpdate:checkedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "collapse" | "expand" | "unselect" | "check" | "uncheck">) => any) | undefined;
556
556
  "onNode-select"?: ((node: T | null, selectedKeys: TreeKey[]) => any) | undefined;
557
557
  "onNode-action"?: ((action: string, node: T) => any) | undefined;
558
558
  "onNode-drop"?: ((info: DropInfo<T>) => any) | undefined;
559
- "onSearch-error"?: ((error: unknown) => any) | undefined;
559
+ "onLoad-error"?: ((error: unknown, node: T) => any) | undefined;
560
560
  }> & (typeof globalThis extends {
561
561
  __VLS_PROPS_FALLBACK: infer P;
562
562
  } ? P : {});
563
- expose: (exposed: vue.ShallowUnwrapRef<Omit<TreeExpose<T>, "expandedKeys" | "selectedKeys" | "checkedKeys" | "searchLoading" | "searchError" | "searchMatchCount" | "searchMatchIndex"> & {
563
+ expose: (exposed: vue.ShallowUnwrapRef<Omit<TreeExpose<T>, "expandedKeys" | "checkedKeys" | "selectedKeys" | "searchLoading" | "searchError" | "searchMatchCount" | "searchMatchIndex"> & {
564
564
  expandedKeys: vue.Ref<TreeKey[]>;
565
565
  selectedKeys: vue.Ref<TreeKey[]>;
566
566
  checkedKeys: vue.Ref<TreeKey[]>;
@@ -571,7 +571,7 @@ declare const __VLS_export: <T extends object = TreeNodeData>(__VLS_props: NonNu
571
571
  }>) => void;
572
572
  attrs: any;
573
573
  slots: TreeSlots<T>;
574
- emit: ((evt: "update:expandedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "expand" | "collapse" | "unselect" | "check" | "uncheck">) => void) & ((evt: "refresh") => void) & ((evt: "add", parentNode?: T | undefined) => void) & ((evt: "load-error", error: unknown, node: T) => void) & ((evt: "update:searchPattern", pattern: string) => void) & ((evt: "update:selectedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "expand" | "collapse" | "unselect" | "check" | "uncheck">) => void) & ((evt: "update:checkedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "expand" | "collapse" | "unselect" | "check" | "uncheck">) => void) & ((evt: "node-select", node: T | null, selectedKeys: TreeKey[]) => void) & ((evt: "node-action", action: string, node: T) => void) & ((evt: "node-drop", info: DropInfo<T>) => void) & ((evt: "search-error", error: unknown) => void);
574
+ emit: ((evt: "update:expandedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "collapse" | "expand" | "unselect" | "check" | "uncheck">) => void) & ((evt: "add", parentNode?: T | undefined) => void) & ((evt: "refresh") => void) & ((evt: "search-error", error: unknown) => void) & ((evt: "update:searchPattern", pattern: string) => void) & ((evt: "update:selectedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "collapse" | "expand" | "unselect" | "check" | "uncheck">) => void) & ((evt: "update:checkedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "collapse" | "expand" | "unselect" | "check" | "uncheck">) => void) & ((evt: "node-select", node: T | null, selectedKeys: TreeKey[]) => void) & ((evt: "node-action", action: string, node: T) => void) & ((evt: "node-drop", info: DropInfo<T>) => void) & ((evt: "load-error", error: unknown, node: T) => void);
575
575
  }>) => vue.VNode & {
576
576
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
577
577
  };
@@ -635,7 +635,7 @@ declare function useTreeOperations<T extends object = TreeNodeData>(props: TreeP
635
635
  handleDrop: (info: DropInfo<T>) => void;
636
636
  handleAdd: () => void;
637
637
  handleRefresh: () => void;
638
- expose: Omit<TreeExpose<T>, "expandedKeys" | "selectedKeys" | "checkedKeys" | "searchLoading" | "searchError" | "searchMatchCount" | "searchMatchIndex"> & {
638
+ expose: Omit<TreeExpose<T>, "expandedKeys" | "checkedKeys" | "selectedKeys" | "searchLoading" | "searchError" | "searchMatchCount" | "searchMatchIndex"> & {
639
639
  expandedKeys: Ref<TreeKey[]>;
640
640
  selectedKeys: Ref<TreeKey[]>;
641
641
  checkedKeys: Ref<TreeKey[]>;
@@ -61,23 +61,23 @@ type __VLS_Props = {
61
61
  };
62
62
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
63
63
  error: (error: unknown) => any;
64
- play: (index: number) => any;
65
- pause: () => any;
66
64
  ended: (index: number) => any;
65
+ pause: () => any;
66
+ play: (index: number) => any;
67
67
  modeChange: (mode: string) => any;
68
68
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
69
69
  onError?: ((error: unknown) => any) | undefined;
70
- onPlay?: ((index: number) => any) | undefined;
71
- onPause?: (() => any) | undefined;
72
70
  onEnded?: ((index: number) => any) | undefined;
71
+ onPause?: (() => any) | undefined;
72
+ onPlay?: ((index: number) => any) | undefined;
73
73
  onModeChange?: ((mode: string) => any) | undefined;
74
74
  }>, {
75
75
  theme: "default" | "minimal";
76
+ mode: "list" | "single" | "loop" | "shuffle";
77
+ autoplay: boolean;
76
78
  initialIndex: number;
77
79
  showPlaylist: boolean;
78
80
  showCover: boolean;
79
- autoplay: boolean;
80
- mode: "list" | "loop" | "single" | "shuffle";
81
81
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
82
82
  declare const _default: typeof __VLS_export;
83
83
  //#endregion
@@ -61,23 +61,23 @@ type __VLS_Props = {
61
61
  };
62
62
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
63
63
  error: (error: unknown) => any;
64
- play: (index: number) => any;
65
- pause: () => any;
66
64
  ended: (index: number) => any;
65
+ pause: () => any;
66
+ play: (index: number) => any;
67
67
  modeChange: (mode: string) => any;
68
68
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
69
69
  onError?: ((error: unknown) => any) | undefined;
70
- onPlay?: ((index: number) => any) | undefined;
71
- onPause?: (() => any) | undefined;
72
70
  onEnded?: ((index: number) => any) | undefined;
71
+ onPause?: (() => any) | undefined;
72
+ onPlay?: ((index: number) => any) | undefined;
73
73
  onModeChange?: ((mode: string) => any) | undefined;
74
74
  }>, {
75
75
  theme: "default" | "minimal";
76
+ mode: "list" | "single" | "loop" | "shuffle";
77
+ autoplay: boolean;
76
78
  initialIndex: number;
77
79
  showPlaylist: boolean;
78
80
  showCover: boolean;
79
- autoplay: boolean;
80
- mode: "list" | "loop" | "single" | "shuffle";
81
81
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
82
82
  declare const _default: typeof __VLS_export;
83
83
  //#endregion
@@ -26,13 +26,13 @@ declare const __VLS_export: vue.DefineComponent<CodeProps, {
26
26
  copyCode: typeof copyCode;
27
27
  toggleFullscreen: typeof toggleFullscreen;
28
28
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
29
+ copy: (code: string) => any;
29
30
  click: (event: MouseEvent) => any;
30
31
  fullscreen: (isFullscreen: boolean) => any;
31
- copy: (code: string) => any;
32
32
  }, string, vue.PublicProps, Readonly<CodeProps> & Readonly<{
33
+ onCopy?: ((code: string) => any) | undefined;
33
34
  onClick?: ((event: MouseEvent) => any) | undefined;
34
35
  onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
35
- onCopy?: ((code: string) => any) | undefined;
36
36
  }>, {
37
37
  trim: boolean;
38
38
  code: string;
@@ -26,13 +26,13 @@ declare const __VLS_export: vue.DefineComponent<CodeProps, {
26
26
  copyCode: typeof copyCode;
27
27
  toggleFullscreen: typeof toggleFullscreen;
28
28
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
29
+ copy: (code: string) => any;
29
30
  click: (event: MouseEvent) => any;
30
31
  fullscreen: (isFullscreen: boolean) => any;
31
- copy: (code: string) => any;
32
32
  }, string, vue.PublicProps, Readonly<CodeProps> & Readonly<{
33
+ onCopy?: ((code: string) => any) | undefined;
33
34
  onClick?: ((event: MouseEvent) => any) | undefined;
34
35
  onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
35
- onCopy?: ((code: string) => any) | undefined;
36
36
  }>, {
37
37
  trim: boolean;
38
38
  code: string;
@@ -62,25 +62,25 @@ declare const __VLS_export: vue.DefineComponent<ContextMenuProps, {
62
62
  visible: vue.ComputedRef<boolean>;
63
63
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
64
64
  select: (item: ContextMenuItem) => any;
65
- close: () => any;
66
65
  open: (position: {
67
66
  x: number;
68
67
  y: number;
69
68
  }) => any;
69
+ close: () => any;
70
70
  }, string, vue.PublicProps, Readonly<ContextMenuProps> & Readonly<{
71
71
  onSelect?: ((item: ContextMenuItem) => any) | undefined;
72
- onClose?: (() => any) | undefined;
73
72
  onOpen?: ((position: {
74
73
  x: number;
75
74
  y: number;
76
75
  }) => any) | undefined;
76
+ onClose?: (() => any) | undefined;
77
77
  }>, {
78
+ disabled: boolean;
78
79
  items: ContextMenuItem[];
79
80
  minWidth: number;
80
81
  maxWidth: number;
81
82
  subMenuPlacement: "right" | "left";
82
83
  autoClose: boolean;
83
- disabled: boolean;
84
84
  zIndex: number;
85
85
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
86
86
  declare const _default: typeof __VLS_export;
@@ -62,25 +62,25 @@ declare const __VLS_export: vue.DefineComponent<ContextMenuProps, {
62
62
  visible: vue.ComputedRef<boolean>;
63
63
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
64
64
  select: (item: ContextMenuItem) => any;
65
- close: () => any;
66
65
  open: (position: {
67
66
  x: number;
68
67
  y: number;
69
68
  }) => any;
69
+ close: () => any;
70
70
  }, string, vue.PublicProps, Readonly<ContextMenuProps> & Readonly<{
71
71
  onSelect?: ((item: ContextMenuItem) => any) | undefined;
72
- onClose?: (() => any) | undefined;
73
72
  onOpen?: ((position: {
74
73
  x: number;
75
74
  y: number;
76
75
  }) => any) | undefined;
76
+ onClose?: (() => any) | undefined;
77
77
  }>, {
78
+ disabled: boolean;
78
79
  items: ContextMenuItem[];
79
80
  minWidth: number;
80
81
  maxWidth: number;
81
82
  subMenuPlacement: "right" | "left";
82
83
  autoClose: boolean;
83
- disabled: boolean;
84
84
  zIndex: number;
85
85
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
86
86
  declare const _default: typeof __VLS_export;
@@ -45,20 +45,20 @@ declare const __VLS_export: vue.DefineComponent<EditorProps, {
45
45
  } | null>>;
46
46
  isInitialized: Readonly<vue.Ref<boolean, boolean>>;
47
47
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
48
- "update:modelValue": (value: string) => any;
49
48
  error: (error: Error) => any;
49
+ "update:modelValue": (value: string) => any;
50
50
  "editor-mounted": (editor: EditorInstance) => any;
51
51
  "editor-change": (html: string) => any;
52
52
  }, string, vue.PublicProps, Readonly<EditorProps> & Readonly<{
53
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
54
53
  onError?: ((error: Error) => any) | undefined;
54
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
55
55
  "onEditor-mounted"?: ((editor: EditorInstance) => any) | undefined;
56
56
  "onEditor-change"?: ((html: string) => any) | undefined;
57
57
  }>, {
58
- modelValue: string;
59
58
  height: number;
60
- disabled: boolean;
59
+ modelValue: string;
61
60
  placeholder: string;
61
+ disabled: boolean;
62
62
  readonly: boolean;
63
63
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
64
64
  declare const _default: typeof __VLS_export;
@@ -45,20 +45,20 @@ declare const __VLS_export: vue.DefineComponent<EditorProps, {
45
45
  } | null>>;
46
46
  isInitialized: Readonly<vue.Ref<boolean, boolean>>;
47
47
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
48
- "update:modelValue": (value: string) => any;
49
48
  error: (error: Error) => any;
49
+ "update:modelValue": (value: string) => any;
50
50
  "editor-mounted": (editor: EditorInstance) => any;
51
51
  "editor-change": (html: string) => any;
52
52
  }, string, vue.PublicProps, Readonly<EditorProps> & Readonly<{
53
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
54
53
  onError?: ((error: Error) => any) | undefined;
54
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
55
55
  "onEditor-mounted"?: ((editor: EditorInstance) => any) | undefined;
56
56
  "onEditor-change"?: ((html: string) => any) | undefined;
57
57
  }>, {
58
- modelValue: string;
59
58
  height: number;
60
- disabled: boolean;
59
+ modelValue: string;
61
60
  placeholder: string;
61
+ disabled: boolean;
62
62
  readonly: boolean;
63
63
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
64
64
  declare const _default: typeof __VLS_export;
@@ -98,23 +98,23 @@ declare const __VLS_export: vue.DefineComponent<GuideProps, {
98
98
  isCompleted: () => boolean;
99
99
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
100
100
  error: (error: unknown) => any;
101
+ close: (currentStep: number) => any;
101
102
  start: () => any;
102
103
  complete: () => any;
103
- close: (currentStep: number) => any;
104
104
  skip: (currentStep: number) => any;
105
105
  "step-change": (stepIndex: number, step: GuideStep) => any;
106
106
  }, string, vue.PublicProps, Readonly<GuideProps> & Readonly<{
107
107
  onError?: ((error: unknown) => any) | undefined;
108
+ onClose?: ((currentStep: number) => any) | undefined;
108
109
  onStart?: (() => any) | undefined;
109
110
  onComplete?: (() => any) | undefined;
110
- onClose?: ((currentStep: number) => any) | undefined;
111
111
  onSkip?: ((currentStep: number) => any) | undefined;
112
112
  "onStep-change"?: ((stepIndex: number, step: GuideStep) => any) | undefined;
113
113
  }>, {
114
114
  steps: GuideStep[];
115
+ keyboard: boolean;
115
116
  showSkipButton: boolean;
116
117
  showProgress: boolean;
117
- keyboard: boolean;
118
118
  animate: boolean;
119
119
  allowClose: boolean;
120
120
  skipMissingElements: boolean;
@@ -98,23 +98,23 @@ declare const __VLS_export: vue.DefineComponent<GuideProps, {
98
98
  isCompleted: () => boolean;
99
99
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
100
100
  error: (error: unknown) => any;
101
+ close: (currentStep: number) => any;
101
102
  start: () => any;
102
103
  complete: () => any;
103
- close: (currentStep: number) => any;
104
104
  skip: (currentStep: number) => any;
105
105
  "step-change": (stepIndex: number, step: GuideStep) => any;
106
106
  }, string, vue.PublicProps, Readonly<GuideProps> & Readonly<{
107
107
  onError?: ((error: unknown) => any) | undefined;
108
+ onClose?: ((currentStep: number) => any) | undefined;
108
109
  onStart?: (() => any) | undefined;
109
110
  onComplete?: (() => any) | undefined;
110
- onClose?: ((currentStep: number) => any) | undefined;
111
111
  onSkip?: ((currentStep: number) => any) | undefined;
112
112
  "onStep-change"?: ((stepIndex: number, step: GuideStep) => any) | undefined;
113
113
  }>, {
114
114
  steps: GuideStep[];
115
+ keyboard: boolean;
115
116
  showSkipButton: boolean;
116
117
  showProgress: boolean;
117
- keyboard: boolean;
118
118
  animate: boolean;
119
119
  allowClose: boolean;
120
120
  skipMissingElements: boolean;
@@ -30,16 +30,16 @@ declare const __VLS_export: vue.DefineComponent<IconProps, {
30
30
  errorMessage: Readonly<vue.Ref<string, string>>;
31
31
  el: vue.Ref<HTMLElement | undefined, HTMLElement | undefined>;
32
32
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
33
- error: (type: string, error?: unknown) => any;
34
33
  click: (event: MouseEvent | KeyboardEvent) => any;
34
+ error: (type: string, error?: unknown) => any;
35
35
  load: () => any;
36
36
  }, string, vue.PublicProps, Readonly<IconProps> & Readonly<{
37
- onError?: ((type: string, error?: unknown) => any) | undefined;
38
37
  onClick?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
38
+ onError?: ((type: string, error?: unknown) => any) | undefined;
39
39
  onLoad?: (() => any) | undefined;
40
40
  }>, {
41
+ title: string;
41
42
  type: "iconify" | "unocss" | "component" | "svg" | "image";
42
- ariaLabel: string;
43
43
  color: string;
44
44
  size: number | string;
45
45
  svgPath: string;
@@ -49,7 +49,7 @@ declare const __VLS_export: vue.DefineComponent<IconProps, {
49
49
  loading: boolean;
50
50
  fallbackIcon: string;
51
51
  loadTimeout: number;
52
- title: string;
52
+ ariaLabel: string;
53
53
  customClass: string;
54
54
  rotate: number;
55
55
  flip: "horizontal" | "vertical" | "both";
@@ -30,16 +30,16 @@ declare const __VLS_export: vue.DefineComponent<IconProps, {
30
30
  errorMessage: Readonly<vue.Ref<string, string>>;
31
31
  el: vue.Ref<HTMLElement | undefined, HTMLElement | undefined>;
32
32
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
33
- error: (type: string, error?: unknown) => any;
34
33
  click: (event: MouseEvent | KeyboardEvent) => any;
34
+ error: (type: string, error?: unknown) => any;
35
35
  load: () => any;
36
36
  }, string, vue.PublicProps, Readonly<IconProps> & Readonly<{
37
- onError?: ((type: string, error?: unknown) => any) | undefined;
38
37
  onClick?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
38
+ onError?: ((type: string, error?: unknown) => any) | undefined;
39
39
  onLoad?: (() => any) | undefined;
40
40
  }>, {
41
+ title: string;
41
42
  type: "iconify" | "unocss" | "component" | "svg" | "image";
42
- ariaLabel: string;
43
43
  color: string;
44
44
  size: number | string;
45
45
  svgPath: string;
@@ -49,7 +49,7 @@ declare const __VLS_export: vue.DefineComponent<IconProps, {
49
49
  loading: boolean;
50
50
  fallbackIcon: string;
51
51
  loadTimeout: number;
52
- title: string;
52
+ ariaLabel: string;
53
53
  customClass: string;
54
54
  rotate: number;
55
55
  flip: "horizontal" | "vertical" | "both";
@@ -12,8 +12,8 @@ interface LoadingProps {
12
12
  //#endregion
13
13
  //#region src/components/C_Loading/index.vue.d.ts
14
14
  declare const __VLS_export: vue.DefineComponent<LoadingProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<LoadingProps> & Readonly<{}>, {
15
- size: number;
16
15
  label: string;
16
+ size: number;
17
17
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
18
18
  declare const _default: typeof __VLS_export;
19
19
  //#endregion
@@ -12,8 +12,8 @@ interface LoadingProps {
12
12
  //#endregion
13
13
  //#region src/components/C_Loading/index.vue.d.ts
14
14
  declare const __VLS_export: vue.DefineComponent<LoadingProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<LoadingProps> & Readonly<{}>, {
15
- size: number;
16
15
  label: string;
16
+ size: number;
17
17
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
18
18
  declare const _default: typeof __VLS_export;
19
19
  //#endregion
@@ -63,11 +63,11 @@ declare const __VLS_export: vue.DefineComponent<MarkdownProps, {
63
63
  "onAuto-save"?: ((text: string) => any) | undefined;
64
64
  "onMax-length-exceeded"?: ((currentLength: number, maxLength: number) => any) | undefined;
65
65
  }>, {
66
- modelValue: string;
67
66
  height: string | number;
67
+ modelValue: string;
68
+ placeholder: string;
68
69
  disabled: boolean;
69
70
  mode: "edit" | "editable" | "preview";
70
- placeholder: string;
71
71
  tocNavPosition: "left" | "right";
72
72
  defaultFullscreen: boolean;
73
73
  autofocus: boolean;
@@ -63,11 +63,11 @@ declare const __VLS_export: vue.DefineComponent<MarkdownProps, {
63
63
  "onAuto-save"?: ((text: string) => any) | undefined;
64
64
  "onMax-length-exceeded"?: ((currentLength: number, maxLength: number) => any) | undefined;
65
65
  }>, {
66
- modelValue: string;
67
66
  height: string | number;
67
+ modelValue: string;
68
+ placeholder: string;
68
69
  disabled: boolean;
69
70
  mode: "edit" | "editable" | "preview";
70
- placeholder: string;
71
71
  tocNavPosition: "left" | "right";
72
72
  defaultFullscreen: boolean;
73
73
  autofocus: boolean;