@robot-admin/naive-ui-components 0.23.0 → 0.23.2

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 (96) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +3 -1
  3. package/README_EN.md +3 -1
  4. package/dist/C_DataPicker.css +1 -0
  5. package/dist/C_SplitPane2.cjs +1 -1
  6. package/dist/C_SplitPane2.js +1 -1
  7. package/dist/C_Table.base.css +130 -108
  8. package/dist/C_Table.css +130 -108
  9. package/dist/C_Table2.cjs +2 -2
  10. package/dist/C_Table2.js +3 -3
  11. package/dist/constants.d.cts +2 -2
  12. package/dist/constants.d.ts +2 -2
  13. package/dist/constants2.d.cts +4 -4
  14. package/dist/constants2.d.ts +4 -4
  15. package/dist/constants3.d.cts +3 -3
  16. package/dist/constants3.d.ts +3 -3
  17. package/dist/constants4.d.cts +2 -2
  18. package/dist/constants4.d.ts +2 -2
  19. package/dist/data2.d.cts +8 -8
  20. package/dist/data2.d.ts +8 -8
  21. package/dist/index.vue.d.cts +5 -5
  22. package/dist/index.vue.d.ts +5 -5
  23. package/dist/index10.vue.d.cts +5 -5
  24. package/dist/index10.vue.d.ts +2 -2
  25. package/dist/index11.vue.d.cts +2 -2
  26. package/dist/index11.vue.d.ts +2 -2
  27. package/dist/index12.vue.d.cts +2 -2
  28. package/dist/index13.vue.d.ts +2 -2
  29. package/dist/index14.vue.d.cts +2 -2
  30. package/dist/index15.vue.d.ts +9 -9
  31. package/dist/index16.vue.d.cts +9 -9
  32. package/dist/index17.vue.d.ts +1 -1
  33. package/dist/index18.vue.d.cts +1 -1
  34. package/dist/index18.vue.d.ts +2 -2
  35. package/dist/index19.vue.d.cts +2 -2
  36. package/dist/index19.vue.d.ts +1 -1
  37. package/dist/index2.vue.d.cts +2 -2
  38. package/dist/index2.vue.d.ts +2 -2
  39. package/dist/index20.vue.d.cts +1 -1
  40. package/dist/index21.vue.d.ts +3 -3
  41. package/dist/index22.vue.d.cts +3 -3
  42. package/dist/index22.vue.d.ts +3 -3
  43. package/dist/index23.vue.d.cts +3 -3
  44. package/dist/index23.vue.d.ts +3 -3
  45. package/dist/index24.vue.d.cts +1 -1
  46. package/dist/index24.vue.d.ts +1 -1
  47. package/dist/index25.vue.d.cts +1 -1
  48. package/dist/index25.vue.d.ts +1 -1
  49. package/dist/index26.vue.d.cts +3 -3
  50. package/dist/index26.vue.d.ts +3 -3
  51. package/dist/index27.vue.d.cts +2 -2
  52. package/dist/index27.vue.d.ts +2 -2
  53. package/dist/index28.vue.d.cts +1 -1
  54. package/dist/index28.vue.d.ts +1 -1
  55. package/dist/index29.vue.d.cts +2 -2
  56. package/dist/index29.vue.d.ts +2 -2
  57. package/dist/index3.vue.d.cts +4 -4
  58. package/dist/index3.vue.d.ts +4 -4
  59. package/dist/index30.vue.d.cts +2 -2
  60. package/dist/index30.vue.d.ts +2 -2
  61. package/dist/index5.vue.d.cts +3 -3
  62. package/dist/index6.vue.d.ts +2 -2
  63. package/dist/index7.vue.d.cts +2 -2
  64. package/dist/index7.vue.d.ts +2 -2
  65. package/dist/index8.vue.d.cts +2 -2
  66. package/dist/index8.vue.d.ts +2 -2
  67. package/dist/index9.vue.d.cts +2 -2
  68. package/dist/index9.vue.d.ts +5 -5
  69. package/dist/mapUtils.d.cts +1 -1
  70. package/dist/mapUtils.d.ts +1 -1
  71. package/dist/presets.d.cts +1 -1
  72. package/dist/presets.d.ts +1 -1
  73. package/dist/style.css +131 -108
  74. package/dist/useCalendarEvents.d.cts +1 -1
  75. package/dist/useCalendarEvents.d.ts +1 -1
  76. package/dist/useCollapsePanel.d.cts +7 -7
  77. package/dist/useCollapsePanel.d.ts +7 -7
  78. package/dist/useComponentLocale.cjs +1 -1
  79. package/dist/useComponentLocale.js +1 -1
  80. package/dist/useDynamicFormState.d.cts +14 -12
  81. package/dist/useDynamicFormState.d.ts +14 -12
  82. package/dist/useEdgeInteraction.d.cts +2 -2
  83. package/dist/useEdgeInteraction.d.ts +2 -2
  84. package/dist/useGlobalSearch.d.cts +1 -1
  85. package/dist/useGlobalSearch.d.ts +1 -1
  86. package/dist/useInfiniteScroll.d.cts +2 -2
  87. package/dist/useInfiniteScroll.d.ts +2 -2
  88. package/dist/useQRCode.d.cts +3 -3
  89. package/dist/useQRCode.d.ts +3 -3
  90. package/dist/useSignatureHistory.d.cts +3 -3
  91. package/dist/useSignatureHistory.d.ts +3 -3
  92. package/dist/useSplitResize.d.cts +6 -6
  93. package/dist/useSplitResize.d.ts +6 -6
  94. package/dist/useWorkflowValidation.d.cts +103 -103
  95. package/dist/useWorkflowValidation.d.ts +103 -103
  96. package/package.json +1 -1
@@ -125,12 +125,12 @@ interface FormulaEditorExpose {
125
125
  //#endregion
126
126
  //#region src/components/C_FormulaEditor/index.vue.d.ts
127
127
  declare const __VLS_export: vue.DefineComponent<FormulaEditorProps, FormulaEditorExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
128
- change: (value: string) => any;
129
128
  "update:modelValue": (value: string) => any;
129
+ change: (value: string) => any;
130
130
  "validation-change": (result: FormulaValidation) => any;
131
131
  }, string, vue.PublicProps, Readonly<FormulaEditorProps> & Readonly<{
132
- onChange?: ((value: string) => any) | undefined;
133
132
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
133
+ onChange?: ((value: string) => any) | undefined;
134
134
  "onValidation-change"?: ((result: FormulaValidation) => any) | undefined;
135
135
  }>, {
136
136
  showPreview: boolean;
package/dist/data2.d.cts CHANGED
@@ -65,27 +65,27 @@ 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
- close: (value: TabsValue) => any;
69
68
  add: () => any;
70
- change: (value: TabsValue, item: TabsItem | undefined) => any;
69
+ close: (value: TabsValue) => any;
71
70
  "update:modelValue": (value: TabsValue) => any;
71
+ change: (value: TabsValue, item: TabsItem | undefined) => any;
72
72
  }, string, vue.PublicProps, Readonly<CTabsProps> & Readonly<{
73
- onClose?: ((value: TabsValue) => any) | undefined;
74
73
  onAdd?: (() => any) | undefined;
75
- onChange?: ((value: TabsValue, item: TabsItem | undefined) => any) | undefined;
74
+ onClose?: ((value: TabsValue) => any) | undefined;
76
75
  "onUpdate:modelValue"?: ((value: TabsValue) => any) | undefined;
76
+ onChange?: ((value: TabsValue, item: TabsItem | undefined) => any) | undefined;
77
77
  }>, {
78
78
  type: TabsType;
79
79
  size: TabsSize;
80
- defaultValue: TabsValue | null;
81
- items: readonly TabsItem[];
82
80
  modelValue: TabsValue | null;
81
+ justifyContent: TabsJustifyContent;
82
+ items: readonly TabsItem[];
83
+ defaultValue: TabsValue | null;
83
84
  placement: TabsPlacement;
84
85
  displayDirective: TabsDisplayDirective;
85
86
  animated: boolean;
86
- addable: boolean;
87
87
  closable: boolean;
88
- justifyContent: TabsJustifyContent;
88
+ addable: boolean;
89
89
  tabsOnly: boolean;
90
90
  paneClass: string;
91
91
  paneStyle: string | vue.CSSProperties;
package/dist/data2.d.ts CHANGED
@@ -65,27 +65,27 @@ 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
- close: (value: TabsValue) => any;
69
68
  add: () => any;
70
- change: (value: TabsValue, item: TabsItem | undefined) => any;
69
+ close: (value: TabsValue) => any;
71
70
  "update:modelValue": (value: TabsValue) => any;
71
+ change: (value: TabsValue, item: TabsItem | undefined) => any;
72
72
  }, string, vue.PublicProps, Readonly<CTabsProps> & Readonly<{
73
- onClose?: ((value: TabsValue) => any) | undefined;
74
73
  onAdd?: (() => any) | undefined;
75
- onChange?: ((value: TabsValue, item: TabsItem | undefined) => any) | undefined;
74
+ onClose?: ((value: TabsValue) => any) | undefined;
76
75
  "onUpdate:modelValue"?: ((value: TabsValue) => any) | undefined;
76
+ onChange?: ((value: TabsValue, item: TabsItem | undefined) => any) | undefined;
77
77
  }>, {
78
78
  type: TabsType;
79
79
  size: TabsSize;
80
- defaultValue: TabsValue | null;
81
- items: readonly TabsItem[];
82
80
  modelValue: TabsValue | null;
81
+ justifyContent: TabsJustifyContent;
82
+ items: readonly TabsItem[];
83
+ defaultValue: TabsValue | null;
83
84
  placement: TabsPlacement;
84
85
  displayDirective: TabsDisplayDirective;
85
86
  animated: boolean;
86
- addable: boolean;
87
87
  closable: boolean;
88
- justifyContent: TabsJustifyContent;
88
+ addable: boolean;
89
89
  tabsOnly: boolean;
90
90
  paneClass: string;
91
91
  paneStyle: string | vue.CSSProperties;
@@ -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";
76
77
  initialIndex: number;
77
78
  showPlaylist: boolean;
78
79
  showCover: boolean;
79
80
  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";
76
77
  initialIndex: number;
77
78
  showPlaylist: boolean;
78
79
  showCover: boolean;
79
80
  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
@@ -23,20 +23,20 @@ declare const __VLS_export: vue.DefineComponent<Props, {
23
23
  copyCode: typeof copyCode;
24
24
  toggleFullscreen: typeof toggleFullscreen;
25
25
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
26
- fullscreen: (isFullscreen: boolean) => any;
27
- click: (event: MouseEvent) => any;
28
26
  copy: (code: string) => any;
27
+ click: (event: MouseEvent) => any;
28
+ fullscreen: (isFullscreen: boolean) => any;
29
29
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
30
- onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
31
- onClick?: ((event: MouseEvent) => any) | undefined;
32
30
  onCopy?: ((code: string) => any) | undefined;
31
+ onClick?: ((event: MouseEvent) => any) | undefined;
32
+ onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
33
33
  }>, {
34
- trim: boolean;
35
34
  code: string;
36
35
  language: string;
37
36
  showHeader: boolean;
38
37
  showLineNumbers: boolean;
39
38
  wordWrap: boolean;
39
+ trim: boolean;
40
40
  showFullscreen: boolean;
41
41
  autoLoadLanguage: boolean;
42
42
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -76,12 +76,12 @@ declare const __VLS_export: vue.DefineComponent<ContextMenuProps, {
76
76
  onSelect?: ((item: ContextMenuItem) => any) | undefined;
77
77
  }>, {
78
78
  disabled: boolean;
79
- minWidth: number;
80
79
  items: ContextMenuItem[];
80
+ zIndex: number;
81
+ minWidth: number;
81
82
  maxWidth: number;
82
83
  subMenuPlacement: "right" | "left";
83
84
  autoClose: boolean;
84
- zIndex: number;
85
85
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
86
86
  declare const _default: typeof __VLS_export;
87
87
  //#endregion
@@ -76,12 +76,12 @@ declare const __VLS_export: vue.DefineComponent<ContextMenuProps, {
76
76
  onSelect?: ((item: ContextMenuItem) => any) | undefined;
77
77
  }>, {
78
78
  disabled: boolean;
79
- minWidth: number;
80
79
  items: ContextMenuItem[];
80
+ zIndex: number;
81
+ minWidth: number;
81
82
  maxWidth: number;
82
83
  subMenuPlacement: "right" | "left";
83
84
  autoClose: boolean;
84
- zIndex: number;
85
85
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
86
86
  declare const _default: typeof __VLS_export;
87
87
  //#endregion
@@ -1109,8 +1109,8 @@ interface DataPickerEmits<T extends object> {
1109
1109
  //#region src/components/C_DataPicker/index.vue.d.ts
1110
1110
  declare const __VLS_export: <T extends object>(__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<{
1111
1111
  props: vue.PublicProps & __VLS_PrettifyLocal<DataPickerProps<T> & {
1112
- onSelect?: ((rows: T[]) => any) | undefined;
1113
1112
  "onUpdate:modelValue"?: ((value: DataPickerValue | DataPickerValue[] | null) => any) | undefined;
1113
+ onSelect?: ((rows: T[]) => any) | undefined;
1114
1114
  }> & (typeof globalThis extends {
1115
1115
  __VLS_PROPS_FALLBACK: infer P;
1116
1116
  } ? P : {});
@@ -1120,7 +1120,7 @@ declare const __VLS_export: <T extends object>(__VLS_props: NonNullable<Awaited<
1120
1120
  }>) => void;
1121
1121
  attrs: any;
1122
1122
  slots: {};
1123
- emit: ((evt: "select", rows: T[]) => void) & ((evt: "update:modelValue", value: DataPickerValue | DataPickerValue[] | null) => void);
1123
+ emit: ((evt: "update:modelValue", value: DataPickerValue | DataPickerValue[] | null) => void) & ((evt: "select", rows: T[]) => void);
1124
1124
  }>) => vue.VNode & {
1125
1125
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
1126
1126
  };
@@ -1109,8 +1109,8 @@ interface DataPickerEmits<T extends object> {
1109
1109
  //#region src/components/C_DataPicker/index.vue.d.ts
1110
1110
  declare const __VLS_export: <T extends object>(__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<{
1111
1111
  props: vue.PublicProps & __VLS_PrettifyLocal<DataPickerProps<T> & {
1112
- onSelect?: ((rows: T[]) => any) | undefined;
1113
1112
  "onUpdate:modelValue"?: ((value: DataPickerValue | DataPickerValue[] | null) => any) | undefined;
1113
+ onSelect?: ((rows: T[]) => any) | undefined;
1114
1114
  }> & (typeof globalThis extends {
1115
1115
  __VLS_PROPS_FALLBACK: infer P;
1116
1116
  } ? P : {});
@@ -1120,7 +1120,7 @@ declare const __VLS_export: <T extends object>(__VLS_props: NonNullable<Awaited<
1120
1120
  }>) => void;
1121
1121
  attrs: any;
1122
1122
  slots: {};
1123
- emit: ((evt: "select", rows: T[]) => void) & ((evt: "update:modelValue", value: DataPickerValue | DataPickerValue[] | null) => void);
1123
+ emit: ((evt: "update:modelValue", value: DataPickerValue | DataPickerValue[] | null) => void) & ((evt: "select", rows: T[]) => void);
1124
1124
  }>) => vue.VNode & {
1125
1125
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
1126
1126
  };
@@ -54,10 +54,10 @@ declare const __VLS_export: vue.DefineComponent<Props, {
54
54
  }>, {
55
55
  disabled: boolean;
56
56
  height: number;
57
- readonly: boolean;
58
- placeholder: string;
59
57
  modelValue: string;
60
58
  theme: "light" | "dark";
59
+ placeholder: string;
60
+ readonly: boolean;
61
61
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
62
62
  declare const _default: typeof __VLS_export;
63
63
  //#endregion
@@ -54,10 +54,10 @@ declare const __VLS_export: vue.DefineComponent<Props, {
54
54
  }>, {
55
55
  disabled: boolean;
56
56
  height: number;
57
- readonly: boolean;
58
- placeholder: string;
59
57
  modelValue: string;
60
58
  theme: "light" | "dark";
59
+ placeholder: string;
60
+ readonly: boolean;
61
61
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
62
62
  declare const _default: typeof __VLS_export;
63
63
  //#endregion
@@ -30,29 +30,29 @@ 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;
33
+ click: (event: MouseEvent | KeyboardEvent) => any;
34
34
  load: () => any;
35
- click: (event: KeyboardEvent | MouseEvent) => any;
35
+ error: (type: string, error?: unknown) => any;
36
36
  }, string, vue.PublicProps, Readonly<IconProps> & Readonly<{
37
- onError?: ((type: string, error?: unknown) => any) | undefined;
37
+ onClick?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
38
38
  onLoad?: (() => any) | undefined;
39
- onClick?: ((event: KeyboardEvent | MouseEvent) => any) | undefined;
39
+ onError?: ((type: string, error?: unknown) => any) | undefined;
40
40
  }>, {
41
41
  title: string;
42
- loading: boolean;
43
42
  type: "iconify" | "unocss" | "component" | "svg" | "image";
44
- rotate: number;
45
43
  size: number | string;
46
- clickable: boolean;
44
+ rotate: number;
47
45
  color: string;
48
- flip: "horizontal" | "vertical" | "both";
49
- ariaLabel: string;
50
46
  svgPath: string;
51
47
  viewBox: string;
52
48
  alt: string;
49
+ clickable: boolean;
50
+ loading: boolean;
53
51
  fallbackIcon: string;
54
52
  loadTimeout: number;
53
+ ariaLabel: string;
55
54
  customClass: string;
55
+ flip: "horizontal" | "vertical" | "both";
56
56
  componentProps: Record<string, unknown>;
57
57
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
58
58
  declare const _default: typeof __VLS_export;
@@ -30,29 +30,29 @@ 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;
33
+ click: (event: MouseEvent | KeyboardEvent) => any;
34
34
  load: () => any;
35
- click: (event: KeyboardEvent | MouseEvent) => any;
35
+ error: (type: string, error?: unknown) => any;
36
36
  }, string, vue.PublicProps, Readonly<IconProps> & Readonly<{
37
- onError?: ((type: string, error?: unknown) => any) | undefined;
37
+ onClick?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
38
38
  onLoad?: (() => any) | undefined;
39
- onClick?: ((event: KeyboardEvent | MouseEvent) => any) | undefined;
39
+ onError?: ((type: string, error?: unknown) => any) | undefined;
40
40
  }>, {
41
41
  title: string;
42
- loading: boolean;
43
42
  type: "iconify" | "unocss" | "component" | "svg" | "image";
44
- rotate: number;
45
43
  size: number | string;
46
- clickable: boolean;
44
+ rotate: number;
47
45
  color: string;
48
- flip: "horizontal" | "vertical" | "both";
49
- ariaLabel: string;
50
46
  svgPath: string;
51
47
  viewBox: string;
52
48
  alt: string;
49
+ clickable: boolean;
50
+ loading: boolean;
53
51
  fallbackIcon: string;
54
52
  loadTimeout: number;
53
+ ariaLabel: string;
55
54
  customClass: string;
55
+ flip: "horizontal" | "vertical" | "both";
56
56
  componentProps: Record<string, unknown>;
57
57
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
58
58
  declare const _default: typeof __VLS_export;
@@ -111,8 +111,8 @@ declare const __VLS_export: vue.DefineComponent<GuideProps, {
111
111
  onSkip?: ((currentStep: number) => any) | undefined;
112
112
  "onStep-change"?: ((stepIndex: number, step: GuideStep) => any) | undefined;
113
113
  }>, {
114
- steps: GuideStep[];
115
114
  keyboard: boolean;
115
+ steps: GuideStep[];
116
116
  doneBtnText: string;
117
117
  nextBtnText: string;
118
118
  prevBtnText: string;
@@ -111,8 +111,8 @@ declare const __VLS_export: vue.DefineComponent<GuideProps, {
111
111
  onSkip?: ((currentStep: number) => any) | undefined;
112
112
  "onStep-change"?: ((stepIndex: number, step: GuideStep) => any) | undefined;
113
113
  }>, {
114
- steps: GuideStep[];
115
114
  keyboard: boolean;
115
+ steps: GuideStep[];
116
116
  doneBtnText: string;
117
117
  nextBtnText: string;
118
118
  prevBtnText: string;
@@ -35,12 +35,12 @@ type __VLS_Slots = {} & {
35
35
  };
36
36
  declare const __VLS_base: vue.DefineComponent<Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<Props> & Readonly<{}>, {
37
37
  status: "default" | "success" | "error" | "warning" | "info";
38
+ strokeWidth: number;
39
+ time: number;
38
40
  percentage: number | number[];
39
41
  isAnimation: boolean;
40
- time: number;
41
42
  indicatorPlacement: "inside" | "outside";
42
43
  showIndicator: boolean;
43
- strokeWidth: number;
44
44
  unit: string;
45
45
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
46
46
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -35,12 +35,12 @@ type __VLS_Slots = {} & {
35
35
  };
36
36
  declare const __VLS_base: vue.DefineComponent<Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<Props> & Readonly<{}>, {
37
37
  status: "default" | "success" | "error" | "warning" | "info";
38
+ strokeWidth: number;
39
+ time: number;
38
40
  percentage: number | number[];
39
41
  isAnimation: boolean;
40
- time: number;
41
42
  indicatorPlacement: "inside" | "outside";
42
43
  showIndicator: boolean;
43
- strokeWidth: number;
44
44
  unit: string;
45
45
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
46
46
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -35,9 +35,9 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
35
35
  onChange?: ((args_0: number) => any) | undefined;
36
36
  "onUpdate:current"?: ((args_0: number) => any) | undefined;
37
37
  }>, {
38
+ clickable: boolean;
38
39
  direction: "horizontal" | "vertical";
39
40
  current: number;
40
- clickable: boolean;
41
41
  connected: boolean;
42
42
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
43
43
  declare const _default: typeof __VLS_export;
@@ -72,11 +72,11 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
72
72
  onItemClick?: ((item: AvatarItem) => any) | undefined;
73
73
  onOverflowClick?: ((hiddenItems: AvatarItem[]) => any) | undefined;
74
74
  }>, {
75
- max: number;
76
75
  size: number;
77
- direction: "ltr" | "rtl";
78
76
  clickable: boolean;
77
+ direction: "ltr" | "rtl";
79
78
  overlap: number;
79
+ max: number;
80
80
  shape: "circle" | "square";
81
81
  showStatus: boolean;
82
82
  showTooltip: boolean;
@@ -72,11 +72,11 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
72
72
  onItemClick?: ((item: AvatarItem) => any) | undefined;
73
73
  onOverflowClick?: ((hiddenItems: AvatarItem[]) => any) | undefined;
74
74
  }>, {
75
- max: number;
76
75
  size: number;
77
- direction: "ltr" | "rtl";
78
76
  clickable: boolean;
77
+ direction: "ltr" | "rtl";
79
78
  overlap: number;
79
+ max: number;
80
80
  shape: "circle" | "square";
81
81
  showStatus: boolean;
82
82
  showTooltip: boolean;
@@ -35,9 +35,9 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
35
35
  onChange?: ((args_0: number) => any) | undefined;
36
36
  "onUpdate:current"?: ((args_0: number) => any) | undefined;
37
37
  }>, {
38
+ clickable: boolean;
38
39
  direction: "horizontal" | "vertical";
39
40
  current: number;
40
- clickable: boolean;
41
41
  connected: boolean;
42
42
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
43
43
  declare const _default: typeof __VLS_export;
@@ -19,14 +19,14 @@ type __VLS_Props = {
19
19
  tooltip?: string;
20
20
  };
21
21
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
22
- change: (key: string) => any;
23
22
  "update:modelValue": (key: string) => any;
23
+ change: (key: string) => any;
24
24
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
25
- onChange?: ((key: string) => any) | undefined;
26
25
  "onUpdate:modelValue"?: ((key: string) => any) | undefined;
26
+ onChange?: ((key: string) => any) | undefined;
27
27
  }>, {
28
- options: LegacyLanguageOption[];
29
28
  modelValue: string;
29
+ options: LegacyLanguageOption[];
30
30
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
31
31
  declare const _default: typeof __VLS_export;
32
32
  //#endregion
@@ -19,14 +19,14 @@ type __VLS_Props = {
19
19
  tooltip?: string;
20
20
  };
21
21
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
22
- change: (key: string) => any;
23
22
  "update:modelValue": (key: string) => any;
23
+ change: (key: string) => any;
24
24
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
25
- onChange?: ((key: string) => any) | undefined;
26
25
  "onUpdate:modelValue"?: ((key: string) => any) | undefined;
26
+ onChange?: ((key: string) => any) | undefined;
27
27
  }>, {
28
- options: LegacyLanguageOption[];
29
28
  modelValue: string;
29
+ options: LegacyLanguageOption[];
30
30
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
31
31
  declare const _default: typeof __VLS_export;
32
32
  //#endregion
@@ -41,8 +41,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
41
41
  insertText: (text: string) => void;
42
42
  wordCount: vue.ComputedRef<number>;
43
43
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
44
- change: (text: string, html: string) => any;
45
44
  "update:modelValue": (value: string) => any;
45
+ change: (text: string, html: string) => any;
46
46
  save: (text: string, html: string) => any;
47
47
  "upload-image": (event: Event, insertImage: InsertImageFunction, files: FileList) => any;
48
48
  "fullscreen-change": (isFullscreen: boolean) => any;
@@ -51,8 +51,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
51
51
  "auto-save": (text: string) => any;
52
52
  "max-length-exceeded": (currentLength: number, maxLength: number) => any;
53
53
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
54
- onChange?: ((text: string, html: string) => any) | undefined;
55
54
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
55
+ onChange?: ((text: string, html: string) => any) | undefined;
56
56
  onSave?: ((text: string, html: string) => any) | undefined;
57
57
  "onUpload-image"?: ((event: Event, insertImage: InsertImageFunction, files: FileList) => any) | undefined;
58
58
  "onFullscreen-change"?: ((isFullscreen: boolean) => any) | undefined;
@@ -63,8 +63,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
63
63
  }>, {
64
64
  disabled: boolean;
65
65
  height: string | number;
66
- placeholder: string;
67
66
  modelValue: string;
67
+ placeholder: string;
68
68
  mode: "edit" | "editable" | "preview";
69
69
  tocNavPosition: "left" | "right";
70
70
  defaultFullscreen: boolean;
@@ -41,8 +41,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
41
41
  insertText: (text: string) => void;
42
42
  wordCount: vue.ComputedRef<number>;
43
43
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
44
- change: (text: string, html: string) => any;
45
44
  "update:modelValue": (value: string) => any;
45
+ change: (text: string, html: string) => any;
46
46
  save: (text: string, html: string) => any;
47
47
  "upload-image": (event: Event, insertImage: InsertImageFunction, files: FileList) => any;
48
48
  "fullscreen-change": (isFullscreen: boolean) => any;
@@ -51,8 +51,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
51
51
  "auto-save": (text: string) => any;
52
52
  "max-length-exceeded": (currentLength: number, maxLength: number) => any;
53
53
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
54
- onChange?: ((text: string, html: string) => any) | undefined;
55
54
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
55
+ onChange?: ((text: string, html: string) => any) | undefined;
56
56
  onSave?: ((text: string, html: string) => any) | undefined;
57
57
  "onUpload-image"?: ((event: Event, insertImage: InsertImageFunction, files: FileList) => any) | undefined;
58
58
  "onFullscreen-change"?: ((isFullscreen: boolean) => any) | undefined;
@@ -63,8 +63,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
63
63
  }>, {
64
64
  disabled: boolean;
65
65
  height: string | number;
66
- placeholder: string;
67
66
  modelValue: string;
67
+ placeholder: string;
68
68
  mode: "edit" | "editable" | "preview";
69
69
  tocNavPosition: "left" | "right";
70
70
  defaultFullscreen: boolean;
@@ -53,11 +53,11 @@ interface MenuExpose {
53
53
  //#region src/components/C_Menu/index.vue.d.ts
54
54
  declare const __VLS_export: <Options extends MenuOption[] | undefined = undefined>(__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<{
55
55
  props: vue.PublicProps & __VLS_PrettifyLocal<MenuProps<Options> & {
56
- onSelect?: ((key: MenuSelectionKey<Options>) => any) | undefined;
57
56
  "onUpdate:modelValue"?: ((key: MenuSelectionKey<Options> | null) => any) | undefined;
57
+ onSelect?: ((key: MenuSelectionKey<Options>) => any) | undefined;
58
+ "onUpdate:expandedKeys"?: ((keys: MenuSelectionKey<Options>[]) => any) | undefined;
58
59
  onIntent?: ((key: MenuSelectionKey<Options>) => any) | undefined;
59
60
  "onUpdate:value"?: ((key: MenuSelectionKey<Options> | null) => any) | undefined;
60
- "onUpdate:expandedKeys"?: ((keys: MenuSelectionKey<Options>[]) => any) | undefined;
61
61
  }> & (typeof globalThis extends {
62
62
  __VLS_PROPS_FALLBACK: infer P;
63
63
  } ? P : {});
@@ -67,7 +67,7 @@ declare const __VLS_export: <Options extends MenuOption[] | undefined = undefine
67
67
  }>) => void;
68
68
  attrs: any;
69
69
  slots: {};
70
- emit: ((evt: "select", key: MenuSelectionKey<Options>) => void) & ((evt: "update:modelValue", key: MenuSelectionKey<Options> | null) => void) & ((evt: "intent", key: MenuSelectionKey<Options>) => void) & ((evt: "update:value", key: MenuSelectionKey<Options> | null) => void) & ((evt: "update:expandedKeys", keys: MenuSelectionKey<Options>[]) => void);
70
+ emit: ((evt: "update:modelValue", key: MenuSelectionKey<Options> | null) => void) & ((evt: "select", key: MenuSelectionKey<Options>) => void) & ((evt: "update:expandedKeys", keys: MenuSelectionKey<Options>[]) => void) & ((evt: "intent", key: MenuSelectionKey<Options>) => void) & ((evt: "update:value", key: MenuSelectionKey<Options> | null) => void);
71
71
  }>) => vue.VNode & {
72
72
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
73
73
  };
@@ -85,10 +85,10 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {
85
85
  onClose?: ((fallbackPath: string) => any) | undefined;
86
86
  onCloseAll?: (() => any) | undefined;
87
87
  }>, {
88
- persistKey: string;
89
88
  homePath: string;
90
89
  homeTitle: string;
91
90
  homeIcon: string;
91
+ persistKey: string;
92
92
  contextMenuLabels: LegacyContextMenuLabels;
93
93
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
94
94
  declare const _default: typeof __VLS_export;
@@ -85,10 +85,10 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {
85
85
  onClose?: ((fallbackPath: string) => any) | undefined;
86
86
  onCloseAll?: (() => any) | undefined;
87
87
  }>, {
88
- persistKey: string;
89
88
  homePath: string;
90
89
  homeTitle: string;
91
90
  homeIcon: string;
91
+ persistKey: string;
92
92
  contextMenuLabels: LegacyContextMenuLabels;
93
93
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
94
94
  declare const _default: typeof __VLS_export;
@@ -117,8 +117,8 @@ declare const __VLS_base: vue.DefineComponent<LoginProps, {
117
117
  "onUsername-change"?: ((username: string) => any) | undefined;
118
118
  }>, {
119
119
  title: string;
120
- storageKey: string;
121
120
  loading: boolean;
121
+ storageKey: string;
122
122
  defaultUsername: string;
123
123
  defaultPassword: string;
124
124
  captchaProvider: CaptchaProvider;
@@ -117,8 +117,8 @@ declare const __VLS_base: vue.DefineComponent<LoginProps, {
117
117
  "onUsername-change"?: ((username: string) => any) | undefined;
118
118
  }>, {
119
119
  title: string;
120
- storageKey: string;
121
120
  loading: boolean;
121
+ storageKey: string;
122
122
  defaultUsername: string;
123
123
  defaultPassword: string;
124
124
  captchaProvider: CaptchaProvider;