@robot-admin/naive-ui-components 0.13.9 → 0.14.0

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 (170) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +42 -1
  3. package/README_EN.md +42 -1
  4. package/dist/C_ActionBar.css +11 -10
  5. package/dist/C_AntV.css +206 -204
  6. package/dist/C_AudioPlayer.css +11 -10
  7. package/dist/C_AvatarGroup.css +7 -5
  8. package/dist/C_Barcode.css +3 -1
  9. package/dist/C_Breadcrumb.css +17 -16
  10. package/dist/C_Captcha.css +14 -13
  11. package/dist/C_Cascade.css +7 -5
  12. package/dist/C_Chat.css +9 -8
  13. package/dist/C_City.css +8 -6
  14. package/dist/C_Code.css +15 -14
  15. package/dist/C_CollapsePanel.css +12 -11
  16. package/dist/C_ContextMenu.css +28 -28
  17. package/dist/C_Cron.cjs +1 -1
  18. package/dist/C_Cron.css +472 -251
  19. package/dist/C_Cron.d.cts +2 -2
  20. package/dist/C_Cron.d.ts +2 -2
  21. package/dist/C_Cron.js +1 -1
  22. package/dist/C_Cron2.cjs +1 -1
  23. package/dist/C_Cron2.js +1 -1
  24. package/dist/C_Date.css +2 -1
  25. package/dist/C_Draggable.css +2 -1
  26. package/dist/C_Editor.css +2 -1
  27. package/dist/C_FilePreview.css +185 -184
  28. package/dist/C_Form.base.css +334 -332
  29. package/dist/C_Form.css +333 -332
  30. package/dist/C_FormModal.css +13 -11
  31. package/dist/C_FormSearch.css +2 -1
  32. package/dist/C_FormulaEditor.cjs +1 -1
  33. package/dist/C_FormulaEditor.css +430 -273
  34. package/dist/C_FormulaEditor.d.cts +2 -2
  35. package/dist/C_FormulaEditor.d.ts +2 -2
  36. package/dist/C_FormulaEditor.js +1 -1
  37. package/dist/C_FullCalendar.css +12 -11
  38. package/dist/C_GlobalSearch.css +13 -11
  39. package/dist/C_Guide.css +8 -8
  40. package/dist/C_Icon.css +9 -7
  41. package/dist/C_ImageCropper.css +70 -68
  42. package/dist/C_Language.css +8 -8
  43. package/dist/C_Loading.css +10 -8
  44. package/dist/C_Login.css +20 -21
  45. package/dist/C_Map.css +24 -22
  46. package/dist/C_Markdown.css +8 -6
  47. package/dist/C_Menu.css +2 -1
  48. package/dist/C_NotificationCenter.css +362 -360
  49. package/dist/C_OrgChart.css +6 -5
  50. package/dist/C_PageLoading.css +2 -1
  51. package/dist/C_Progress.css +1 -1
  52. package/dist/C_QRCode.css +7 -5
  53. package/dist/C_Signature.css +7 -5
  54. package/dist/C_Skeleton.css +8 -6
  55. package/dist/C_SplitPane.css +25 -23
  56. package/dist/C_Steps.css +7 -5
  57. package/dist/C_Table.base.css +536 -537
  58. package/dist/C_Table.css +536 -538
  59. package/dist/C_Tabs.css +78 -1
  60. package/dist/C_TagsView.css +8 -8
  61. package/dist/C_Theme.css +9 -7
  62. package/dist/C_Time.css +3 -1
  63. package/dist/C_Timeline.css +9 -8
  64. package/dist/C_Transfer.css +10 -9
  65. package/dist/C_Tree.css +2 -1
  66. package/dist/C_Upload.css +176 -174
  67. package/dist/C_VideoPlayer.css +186 -184
  68. package/dist/C_VtableGantt.css +2 -1
  69. package/dist/C_WaterFall.css +19 -17
  70. package/dist/C_WorkFlow.css +976 -976
  71. package/dist/constants.d.cts +15 -20
  72. package/dist/constants.d.ts +15 -20
  73. package/dist/constants2.d.cts +44 -19
  74. package/dist/constants2.d.ts +44 -19
  75. package/dist/constants3.d.cts +4 -4
  76. package/dist/constants3.d.ts +4 -4
  77. package/dist/constants4.d.cts +7 -7
  78. package/dist/constants4.d.ts +7 -7
  79. package/dist/constants5.d.cts +2 -2
  80. package/dist/constants5.d.ts +2 -2
  81. package/dist/data.d.cts +9 -9
  82. package/dist/data.d.ts +9 -9
  83. package/dist/index.cjs +1 -1
  84. package/dist/index.d.cts +3 -3
  85. package/dist/index.d.ts +3 -3
  86. package/dist/index.js +1 -1
  87. package/dist/index.vue.d.cts +2 -2
  88. package/dist/index.vue.d.ts +2 -2
  89. package/dist/index10.vue.d.cts +5 -5
  90. package/dist/index10.vue.d.ts +2 -2
  91. package/dist/index11.vue.d.cts +2 -2
  92. package/dist/index11.vue.d.ts +5 -5
  93. package/dist/index12.vue.d.cts +5 -5
  94. package/dist/index13.vue.d.ts +2 -2
  95. package/dist/index14.vue.d.cts +2 -2
  96. package/dist/index14.vue.d.ts +4 -4
  97. package/dist/index15.vue.d.cts +4 -4
  98. package/dist/index15.vue.d.ts +1 -1
  99. package/dist/index16.vue.d.cts +1 -1
  100. package/dist/index16.vue.d.ts +1 -1
  101. package/dist/index17.vue.d.cts +1 -1
  102. package/dist/index17.vue.d.ts +1 -1
  103. package/dist/index18.vue.d.cts +1 -1
  104. package/dist/index18.vue.d.ts +4 -4
  105. package/dist/index19.vue.d.cts +4 -4
  106. package/dist/index19.vue.d.ts +1 -1
  107. package/dist/index2.vue.d.cts +1 -1
  108. package/dist/index2.vue.d.ts +1 -1
  109. package/dist/index21.vue.d.cts +2 -2
  110. package/dist/index21.vue.d.ts +2 -2
  111. package/dist/index22.vue.d.cts +2 -2
  112. package/dist/index22.vue.d.ts +2 -2
  113. package/dist/index23.vue.d.cts +2 -2
  114. package/dist/index23.vue.d.ts +2 -2
  115. package/dist/index25.vue.d.cts +3 -3
  116. package/dist/index25.vue.d.ts +3 -3
  117. package/dist/index27.vue.d.cts +4 -4
  118. package/dist/index27.vue.d.ts +4 -4
  119. package/dist/index28.vue.d.cts +1 -1
  120. package/dist/index28.vue.d.ts +1 -1
  121. package/dist/index3.vue.d.cts +3 -3
  122. package/dist/index3.vue.d.ts +3 -3
  123. package/dist/index4.vue.d.cts +1 -1
  124. package/dist/index6.vue.d.ts +1 -1
  125. package/dist/index7.vue.d.cts +1 -1
  126. package/dist/index8.vue.d.ts +2 -2
  127. package/dist/index9.vue.d.cts +2 -2
  128. package/dist/index9.vue.d.ts +5 -5
  129. package/dist/mapUtils.d.cts +5 -5
  130. package/dist/mapUtils.d.ts +5 -5
  131. package/dist/presets.d.cts +1 -1
  132. package/dist/presets.d.ts +1 -1
  133. package/dist/style.css +9934 -9765
  134. package/dist/useCollapsePanel.d.cts +2 -2
  135. package/dist/useCollapsePanel.d.ts +2 -2
  136. package/dist/useCropperCore.d.cts +9 -9
  137. package/dist/useCropperCore.d.ts +9 -9
  138. package/dist/useDraggableLayout.d.cts +7 -7
  139. package/dist/useDraggableLayout.d.ts +7 -7
  140. package/dist/useDynamicFormState.d.cts +2 -2
  141. package/dist/useDynamicFormState.d.ts +2 -2
  142. package/dist/useEdgeInteraction.d.cts +2 -2
  143. package/dist/useEdgeInteraction.d.ts +2 -2
  144. package/dist/useFormulaEvaluator.cjs +2 -0
  145. package/dist/useFormulaEvaluator.js +2 -0
  146. package/dist/useFullscreen.d.cts +2 -2
  147. package/dist/useFullscreen.d.ts +2 -2
  148. package/dist/useInfiniteScroll.d.cts +2 -2
  149. package/dist/useInfiniteScroll.d.ts +2 -2
  150. package/dist/useQRCode.d.cts +6 -6
  151. package/dist/useQRCode.d.ts +6 -6
  152. package/dist/useSearchState.d.cts +6 -6
  153. package/dist/useSearchState.d.ts +6 -6
  154. package/dist/useSignatureHistory.d.cts +4 -4
  155. package/dist/useSignatureHistory.d.ts +4 -4
  156. package/dist/useSplitResize.d.cts +7 -7
  157. package/dist/useSplitResize.d.ts +7 -7
  158. package/dist/useTableQuery.d.cts +1 -1
  159. package/dist/useTableQuery.d.ts +1 -1
  160. package/dist/useTimeSelection.d.cts +2 -2
  161. package/dist/useTimeSelection.d.ts +2 -2
  162. package/dist/useTreeOperations.d.cts +5 -5
  163. package/dist/useTreeOperations.d.ts +5 -5
  164. package/dist/useWorkflowValidation.d.cts +6 -6
  165. package/dist/useWorkflowValidation.d.ts +6 -6
  166. package/dist/verification.d.cts +5 -5
  167. package/dist/verification.d.ts +5 -5
  168. package/package.json +1 -1
  169. package/dist/C_FormulaEditor2.cjs +0 -2
  170. package/dist/C_FormulaEditor2.js +0 -2
@@ -25,8 +25,8 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
25
25
  "onUpdate:modelValue"?: ((key: string) => any) | undefined;
26
26
  onChange?: ((key: string) => any) | undefined;
27
27
  }>, {
28
- modelValue: string;
29
28
  options: LegacyLanguageOption[];
29
+ modelValue: string;
30
30
  tooltip: string;
31
31
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
32
32
  declare const _default: typeof __VLS_export;
@@ -25,8 +25,8 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
25
25
  "onUpdate:modelValue"?: ((key: string) => any) | undefined;
26
26
  onChange?: ((key: string) => any) | undefined;
27
27
  }>, {
28
- modelValue: string;
29
28
  options: LegacyLanguageOption[];
29
+ modelValue: string;
30
30
  tooltip: string;
31
31
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
32
32
  declare const _default: typeof __VLS_export;
@@ -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
- label: string;
16
15
  size: number;
16
+ label: string;
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
- label: string;
16
15
  size: number;
16
+ label: string;
17
17
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
18
18
  declare const _default: typeof __VLS_export;
19
19
  //#endregion
@@ -116,9 +116,9 @@ declare const __VLS_base: vue.DefineComponent<LoginProps, {
116
116
  "onCaptcha-visible-change"?: ((visible: boolean) => any) | undefined;
117
117
  "onUsername-change"?: ((username: string) => any) | undefined;
118
118
  }>, {
119
- storageKey: string;
120
119
  title: string;
121
120
  loading: boolean;
121
+ storageKey: string;
122
122
  defaultUsername: string;
123
123
  defaultPassword: string;
124
124
  captchaProvider: CaptchaProvider;
@@ -116,9 +116,9 @@ declare const __VLS_base: vue.DefineComponent<LoginProps, {
116
116
  "onCaptcha-visible-change"?: ((visible: boolean) => any) | undefined;
117
117
  "onUsername-change"?: ((username: string) => any) | undefined;
118
118
  }>, {
119
- storageKey: string;
120
119
  title: string;
121
120
  loading: boolean;
121
+ storageKey: string;
122
122
  defaultUsername: string;
123
123
  defaultPassword: string;
124
124
  captchaProvider: CaptchaProvider;
@@ -41,9 +41,9 @@ 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
+ save: (text: string, html: string) => any;
44
45
  "update:modelValue": (value: string) => any;
45
46
  change: (text: string, html: string) => any;
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;
49
49
  "copy-code-success": (text: string) => any;
@@ -51,9 +51,9 @@ 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
+ onSave?: ((text: string, html: string) => any) | undefined;
54
55
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
55
56
  onChange?: ((text: string, html: string) => any) | undefined;
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;
59
59
  "onCopy-code-success"?: ((text: string) => any) | undefined;
@@ -61,11 +61,11 @@ declare const __VLS_export: vue.DefineComponent<Props, {
61
61
  "onAuto-save"?: ((text: string) => any) | undefined;
62
62
  "onMax-length-exceeded"?: ((currentLength: number, maxLength: number) => any) | undefined;
63
63
  }>, {
64
- height: string | number;
65
64
  modelValue: string;
66
- mode: "edit" | "editable" | "preview";
67
65
  disabled: boolean;
66
+ mode: "edit" | "editable" | "preview";
68
67
  placeholder: string;
68
+ height: string | number;
69
69
  tocNavPosition: "left" | "right";
70
70
  defaultFullscreen: boolean;
71
71
  autofocus: boolean;
@@ -41,9 +41,9 @@ 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
+ save: (text: string, html: string) => any;
44
45
  "update:modelValue": (value: string) => any;
45
46
  change: (text: string, html: string) => any;
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;
49
49
  "copy-code-success": (text: string) => any;
@@ -51,9 +51,9 @@ 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
+ onSave?: ((text: string, html: string) => any) | undefined;
54
55
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
55
56
  onChange?: ((text: string, html: string) => any) | undefined;
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;
59
59
  "onCopy-code-success"?: ((text: string) => any) | undefined;
@@ -61,11 +61,11 @@ declare const __VLS_export: vue.DefineComponent<Props, {
61
61
  "onAuto-save"?: ((text: string) => any) | undefined;
62
62
  "onMax-length-exceeded"?: ((currentLength: number, maxLength: number) => any) | undefined;
63
63
  }>, {
64
- height: string | number;
65
64
  modelValue: string;
66
- mode: "edit" | "editable" | "preview";
67
65
  disabled: boolean;
66
+ mode: "edit" | "editable" | "preview";
68
67
  placeholder: string;
68
+ height: string | number;
69
69
  tocNavPosition: "left" | "right";
70
70
  defaultFullscreen: boolean;
71
71
  autofocus: boolean;
@@ -65,12 +65,12 @@ declare const __VLS_export: vue.DefineComponent<MenuProps, {
65
65
  "onUpdate:expandedKeys"?: ((keys: string[]) => any) | undefined;
66
66
  }>, {
67
67
  mode: "vertical" | "horizontal";
68
+ indent: number;
68
69
  defaultExpandedKeys: string[];
69
70
  collapsed: boolean;
70
71
  collapsedWidth: number;
71
72
  collapsedIconSize: number;
72
73
  inverted: boolean;
73
- indent: number;
74
74
  rootIndent: number;
75
75
  dropdownProps: naive_ui0.DropdownProps;
76
76
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -72,10 +72,10 @@ 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;
75
76
  size: number;
76
77
  direction: "ltr" | "rtl";
77
78
  clickable: boolean;
78
- max: number;
79
79
  overlap: number;
80
80
  shape: "circle" | "square";
81
81
  showStatus: boolean;
@@ -72,10 +72,10 @@ 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;
75
76
  size: number;
76
77
  direction: "ltr" | "rtl";
77
78
  clickable: boolean;
78
- max: number;
79
79
  overlap: number;
80
80
  shape: "circle" | "square";
81
81
  showStatus: boolean;
@@ -34,13 +34,13 @@ type __VLS_Slots = {} & {
34
34
  indicator?: (props: typeof __VLS_9) => any;
35
35
  };
36
36
  declare const __VLS_base: vue.DefineComponent<Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<Props> & Readonly<{}>, {
37
+ strokeWidth: number;
37
38
  status: "default" | "success" | "error" | "warning" | "info";
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>;
@@ -34,13 +34,13 @@ type __VLS_Slots = {} & {
34
34
  indicator?: (props: typeof __VLS_9) => any;
35
35
  };
36
36
  declare const __VLS_base: vue.DefineComponent<Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<Props> & Readonly<{}>, {
37
+ strokeWidth: number;
37
38
  status: "default" | "success" | "error" | "warning" | "info";
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>;
@@ -87,10 +87,10 @@ type __VLS_Slots = {} & {
87
87
  };
88
88
  declare const __VLS_base: vue.DefineComponent<SkeletonProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SkeletonProps> & Readonly<{}>, {
89
89
  repeat: number;
90
- preset: SkeletonPreset;
91
90
  loading: boolean;
92
- animation: SkeletonAnimation;
91
+ preset: SkeletonPreset;
93
92
  borderRadius: string;
93
+ animation: SkeletonAnimation;
94
94
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
95
95
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
96
96
  declare const _default: typeof __VLS_export;
@@ -87,10 +87,10 @@ type __VLS_Slots = {} & {
87
87
  };
88
88
  declare const __VLS_base: vue.DefineComponent<SkeletonProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SkeletonProps> & Readonly<{}>, {
89
89
  repeat: number;
90
- preset: SkeletonPreset;
91
90
  loading: boolean;
92
- animation: SkeletonAnimation;
91
+ preset: SkeletonPreset;
93
92
  borderRadius: string;
93
+ animation: SkeletonAnimation;
94
94
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
95
95
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
96
96
  declare const _default: typeof __VLS_export;
@@ -35,10 +35,10 @@ 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
- connected: boolean;
39
- direction: "horizontal" | "vertical";
40
38
  current: number;
39
+ direction: "horizontal" | "vertical";
41
40
  clickable: boolean;
41
+ connected: boolean;
42
42
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
43
43
  declare const _default: typeof __VLS_export;
44
44
  //#endregion
@@ -35,10 +35,10 @@ 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
- connected: boolean;
39
- direction: "horizontal" | "vertical";
40
38
  current: number;
39
+ direction: "horizontal" | "vertical";
41
40
  clickable: boolean;
41
+ connected: boolean;
42
42
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
43
43
  declare const _default: typeof __VLS_export;
44
44
  //#endregion
@@ -647,13 +647,13 @@ declare const __VLS_export: vue.DefineComponent<Props, {
647
647
  onTaskClick?: ((task: GanttTask, event: Event) => any) | undefined;
648
648
  onTaskChange?: ((task: GanttTask, changes: any) => any) | undefined;
649
649
  }>, {
650
+ options: GanttOptions;
650
651
  title: string;
652
+ preset: GanttPreset;
653
+ theme: "light" | "dark";
651
654
  data: GanttTask[];
652
655
  height: string | number;
653
656
  showToolbar: boolean;
654
- theme: "light" | "dark";
655
- preset: GanttPreset;
656
- options: GanttOptions;
657
657
  showFullscreenButton: boolean;
658
658
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
659
659
  declare const _default: typeof __VLS_export;
@@ -647,13 +647,13 @@ declare const __VLS_export: vue.DefineComponent<Props, {
647
647
  onTaskClick?: ((task: GanttTask, event: Event) => any) | undefined;
648
648
  onTaskChange?: ((task: GanttTask, changes: any) => any) | undefined;
649
649
  }>, {
650
+ options: GanttOptions;
650
651
  title: string;
652
+ preset: GanttPreset;
653
+ theme: "light" | "dark";
651
654
  data: GanttTask[];
652
655
  height: string | number;
653
656
  showToolbar: boolean;
654
- theme: "light" | "dark";
655
- preset: GanttPreset;
656
- options: GanttOptions;
657
657
  showFullscreenButton: boolean;
658
658
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
659
659
  declare const _default: typeof __VLS_export;
@@ -84,17 +84,17 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
84
84
  /** 展开全部 */expandAll: () => void; /** 折叠全部 */
85
85
  collapseAll: () => void;
86
86
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
87
- expand: (item: TimelineItem, expanded: boolean) => any;
88
87
  "item-click": (item: TimelineItem, index: number) => any;
88
+ expand: (item: TimelineItem, expanded: boolean) => any;
89
89
  }, string, vue.PublicProps, Readonly<TimelineProps> & Readonly<{
90
- onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
91
90
  "onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
91
+ onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
92
92
  }>, {
93
- reverse: boolean;
93
+ labelPlacement: "left" | "right" | "alternate";
94
94
  size: "small" | "medium" | "large";
95
95
  mode: "vertical" | "horizontal";
96
+ reverse: boolean;
96
97
  items: TimelineItem[];
97
- labelPlacement: "left" | "right" | "alternate";
98
98
  pending: boolean;
99
99
  pendingText: string;
100
100
  lineType: "solid" | "dashed" | "dotted";
@@ -84,17 +84,17 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
84
84
  /** 展开全部 */expandAll: () => void; /** 折叠全部 */
85
85
  collapseAll: () => void;
86
86
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
87
- expand: (item: TimelineItem, expanded: boolean) => any;
88
87
  "item-click": (item: TimelineItem, index: number) => any;
88
+ expand: (item: TimelineItem, expanded: boolean) => any;
89
89
  }, string, vue.PublicProps, Readonly<TimelineProps> & Readonly<{
90
- onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
91
90
  "onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
91
+ onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
92
92
  }>, {
93
- reverse: boolean;
93
+ labelPlacement: "left" | "right" | "alternate";
94
94
  size: "small" | "medium" | "large";
95
95
  mode: "vertical" | "horizontal";
96
+ reverse: boolean;
96
97
  items: TimelineItem[];
97
- labelPlacement: "left" | "right" | "alternate";
98
98
  pending: boolean;
99
99
  pendingText: string;
100
100
  lineType: "solid" | "dashed" | "dotted";
@@ -68,8 +68,8 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
68
68
  onChange?: ((targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any) | undefined;
69
69
  }>, {
70
70
  size: "small" | "medium" | "large";
71
- titles: [string, string];
72
71
  filterable: boolean;
72
+ titles: [string, string];
73
73
  filterPlaceholder: string;
74
74
  showSelectAll: boolean;
75
75
  sourceEmptyText: string;
@@ -68,8 +68,8 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
68
68
  onChange?: ((targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any) | undefined;
69
69
  }>, {
70
70
  size: "small" | "medium" | "large";
71
- titles: [string, string];
72
71
  filterable: boolean;
72
+ titles: [string, string];
73
73
  filterPlaceholder: string;
74
74
  showSelectAll: boolean;
75
75
  sourceEmptyText: string;
@@ -20,17 +20,17 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
20
20
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
21
21
  onError?: ((error: Error) => any) | undefined;
22
22
  }>, {
23
- label: string;
24
- lineColor: string;
25
23
  width: number;
26
24
  height: number;
27
25
  showBorder: boolean;
28
- showLabel: boolean;
26
+ label: string;
29
27
  fontSize: number;
28
+ lineColor: string;
30
29
  format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
31
30
  showText: boolean;
32
31
  textPosition: "bottom" | "top";
33
32
  background: string;
33
+ showLabel: boolean;
34
34
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
35
35
  declare const _default: typeof __VLS_export;
36
36
  //#endregion
@@ -20,17 +20,17 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
20
20
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
21
21
  onError?: ((error: Error) => any) | undefined;
22
22
  }>, {
23
- label: string;
24
- lineColor: string;
25
23
  width: number;
26
24
  height: number;
27
25
  showBorder: boolean;
28
- showLabel: boolean;
26
+ label: string;
29
27
  fontSize: number;
28
+ lineColor: string;
30
29
  format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
31
30
  showText: boolean;
32
31
  textPosition: "bottom" | "top";
33
32
  background: string;
33
+ showLabel: boolean;
34
34
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
35
35
  declare const _default: typeof __VLS_export;
36
36
  //#endregion
@@ -123,12 +123,12 @@ declare const __VLS_export: vue.DefineComponent<MenuProps, {
123
123
  "onUpdate:expandedKeys"?: ((keys: string[]) => any) | undefined;
124
124
  }>, {
125
125
  mode: "vertical" | "horizontal";
126
+ indent: number;
126
127
  defaultExpandedKeys: string[];
127
128
  collapsed: boolean;
128
129
  collapsedWidth: number;
129
130
  collapsedIconSize: number;
130
131
  inverted: boolean;
131
- indent: number;
132
132
  rootIndent: number;
133
133
  dropdownProps: naive_ui0.DropdownProps;
134
134
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -106,12 +106,12 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
106
106
  }>, {
107
107
  title: string;
108
108
  placeholder: string;
109
- messages: ChatMessage[];
110
109
  showContacts: boolean;
111
110
  showTimestamp: boolean;
112
111
  showSendBtn: boolean;
113
112
  loadingHistory: boolean;
114
113
  contacts: ChatContact[];
114
+ messages: ChatMessage[];
115
115
  currentContactId: string;
116
116
  selfAvatar: string;
117
117
  selfName: string;
@@ -106,12 +106,12 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
106
106
  }>, {
107
107
  title: string;
108
108
  placeholder: string;
109
- messages: ChatMessage[];
110
109
  showContacts: boolean;
111
110
  showTimestamp: boolean;
112
111
  showSendBtn: boolean;
113
112
  loadingHistory: boolean;
114
113
  contacts: ChatContact[];
114
+ messages: ChatMessage[];
115
115
  currentContactId: string;
116
116
  selfAvatar: string;
117
117
  selfName: string;
@@ -26,12 +26,12 @@ declare const __VLS_export: vue.DefineComponent<Props, {
26
26
  toggleFullscreen: typeof toggleFullscreen;
27
27
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
28
28
  click: (event: MouseEvent) => any;
29
- fullscreen: (isFullscreen: boolean) => any;
30
29
  copy: (code: string) => any;
30
+ fullscreen: (isFullscreen: boolean) => any;
31
31
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
32
32
  onClick?: ((event: MouseEvent) => any) | undefined;
33
- onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
34
33
  onCopy?: ((code: string) => any) | undefined;
34
+ onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
35
35
  }>, {
36
36
  trim: boolean;
37
37
  code: string;
@@ -26,12 +26,12 @@ declare const __VLS_export: vue.DefineComponent<Props, {
26
26
  toggleFullscreen: typeof toggleFullscreen;
27
27
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
28
28
  click: (event: MouseEvent) => any;
29
- fullscreen: (isFullscreen: boolean) => any;
30
29
  copy: (code: string) => any;
30
+ fullscreen: (isFullscreen: boolean) => any;
31
31
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
32
32
  onClick?: ((event: MouseEvent) => any) | undefined;
33
- onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
34
33
  onCopy?: ((code: string) => any) | undefined;
34
+ onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
35
35
  }>, {
36
36
  trim: boolean;
37
37
  code: string;
@@ -61,23 +61,23 @@ declare const __VLS_export: vue.DefineComponent<ContextMenuProps, {
61
61
  close: () => void; /** 当前是否可见 */
62
62
  visible: vue.ComputedRef<boolean>;
63
63
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
64
+ close: () => any;
65
+ select: (item: ContextMenuItem) => any;
64
66
  open: (position: {
65
67
  x: number;
66
68
  y: number;
67
69
  }) => any;
68
- close: () => any;
69
- select: (item: ContextMenuItem) => any;
70
70
  }, string, vue.PublicProps, Readonly<ContextMenuProps> & Readonly<{
71
+ onClose?: (() => any) | undefined;
72
+ onSelect?: ((item: ContextMenuItem) => any) | undefined;
71
73
  onOpen?: ((position: {
72
74
  x: number;
73
75
  y: number;
74
76
  }) => any) | undefined;
75
- onClose?: (() => any) | undefined;
76
- onSelect?: ((item: ContextMenuItem) => any) | undefined;
77
77
  }>, {
78
78
  disabled: boolean;
79
- items: ContextMenuItem[];
80
79
  zIndex: number;
80
+ items: ContextMenuItem[];
81
81
  minWidth: number;
82
82
  maxWidth: number;
83
83
  subMenuPlacement: "right" | "left";
@@ -83,19 +83,19 @@ interface MapExpose {
83
83
  //#endregion
84
84
  //#region src/components/C_Map/index.vue.d.ts
85
85
  declare const __VLS_export: vue.DefineComponent<MapProps, MapExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
86
- ready: (map: MapInstance) => any;
87
86
  error: (error: Error) => any;
87
+ ready: (map: MapInstance) => any;
88
88
  markerClick: (marker: MapMarker, event: MapMarkerEvent) => any;
89
89
  }, string, vue.PublicProps, Readonly<MapProps> & Readonly<{
90
- onReady?: ((map: MapInstance) => any) | undefined;
91
90
  onError?: ((error: Error) => any) | undefined;
91
+ onReady?: ((map: MapInstance) => any) | undefined;
92
92
  onMarkerClick?: ((marker: MapMarker, event: MapMarkerEvent) => any) | undefined;
93
93
  }>, {
94
- zoom: number;
95
- height: string;
96
94
  center: MapCoordinate;
97
- mapType: MapType;
95
+ height: string;
96
+ zoom: number;
98
97
  ariaLabel: string;
98
+ mapType: MapType;
99
99
  markers: MapMarker[];
100
100
  amapKey: string;
101
101
  amapLoadTimeout: number;
@@ -83,19 +83,19 @@ interface MapExpose {
83
83
  //#endregion
84
84
  //#region src/components/C_Map/index.vue.d.ts
85
85
  declare const __VLS_export: vue.DefineComponent<MapProps, MapExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
86
- ready: (map: MapInstance) => any;
87
86
  error: (error: Error) => any;
87
+ ready: (map: MapInstance) => any;
88
88
  markerClick: (marker: MapMarker, event: MapMarkerEvent) => any;
89
89
  }, string, vue.PublicProps, Readonly<MapProps> & Readonly<{
90
- onReady?: ((map: MapInstance) => any) | undefined;
91
90
  onError?: ((error: Error) => any) | undefined;
91
+ onReady?: ((map: MapInstance) => any) | undefined;
92
92
  onMarkerClick?: ((marker: MapMarker, event: MapMarkerEvent) => any) | undefined;
93
93
  }>, {
94
- zoom: number;
95
- height: string;
96
94
  center: MapCoordinate;
97
- mapType: MapType;
95
+ height: string;
96
+ zoom: number;
98
97
  ariaLabel: string;
98
+ mapType: MapType;
99
99
  markers: MapMarker[];
100
100
  amapKey: string;
101
101
  amapLoadTimeout: number;
@@ -67,8 +67,8 @@ declare const __VLS_base: vue.DefineComponent<TableActionsProps, {}, {}, {}, {},
67
67
  "onDropdown-click"?: ((item: ActionDropdownItem, action: ActionItem) => any) | undefined;
68
68
  "onAction-click"?: ((action: ActionItem) => any) | undefined;
69
69
  }>, {
70
- actions: ActionItem[];
71
70
  config: ActionBarConfig;
71
+ actions: ActionItem[];
72
72
  leftActions: ActionItem[];
73
73
  rightActions: ActionItem[];
74
74
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
package/dist/presets.d.ts CHANGED
@@ -67,8 +67,8 @@ declare const __VLS_base: vue.DefineComponent<TableActionsProps, {}, {}, {}, {},
67
67
  "onDropdown-click"?: ((item: ActionDropdownItem, action: ActionItem) => any) | undefined;
68
68
  "onAction-click"?: ((action: ActionItem) => any) | undefined;
69
69
  }>, {
70
- actions: ActionItem[];
71
70
  config: ActionBarConfig;
71
+ actions: ActionItem[];
72
72
  leftActions: ActionItem[];
73
73
  rightActions: ActionItem[];
74
74
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;