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

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 (160) hide show
  1. package/CHANGELOG.md +16 -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 +247 -246
  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 +2 -1
  14. package/dist/C_Code.css +15 -14
  15. package/dist/C_CollapsePanel.css +12 -11
  16. package/dist/C_ContextMenu.css +29 -29
  17. package/dist/C_Cron.cjs +1 -1
  18. package/dist/C_Cron.css +475 -253
  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 +12 -10
  26. package/dist/C_Editor.css +2 -1
  27. package/dist/C_FilePreview.css +216 -214
  28. package/dist/C_Form.base.css +207 -205
  29. package/dist/C_Form.css +206 -205
  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 +428 -271
  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 +69 -67
  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 +272 -270
  49. package/dist/C_OrgChart.css +6 -5
  50. package/dist/C_PageLoading.css +8 -6
  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 +2 -1
  56. package/dist/C_Steps.css +7 -5
  57. package/dist/C_Table.base.css +409 -410
  58. package/dist/C_Table.css +367 -369
  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 +18 -16
  66. package/dist/C_Upload.css +152 -150
  67. package/dist/C_VideoPlayer.css +223 -221
  68. package/dist/C_VtableGantt.css +2 -1
  69. package/dist/C_WaterFall.css +19 -17
  70. package/dist/C_WorkFlow.css +1047 -1047
  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/constants4.d.cts +5 -5
  76. package/dist/constants4.d.ts +5 -5
  77. package/dist/constants5.d.cts +2 -2
  78. package/dist/constants5.d.ts +2 -2
  79. package/dist/data.d.cts +6 -6
  80. package/dist/data.d.ts +6 -6
  81. package/dist/index.cjs +1 -1
  82. package/dist/index.d.cts +3 -3
  83. package/dist/index.d.ts +3 -3
  84. package/dist/index.js +1 -1
  85. package/dist/index.vue.d.cts +1 -1
  86. package/dist/index.vue.d.ts +1 -1
  87. package/dist/index10.vue.d.cts +6 -6
  88. package/dist/index10.vue.d.ts +3 -3
  89. package/dist/index11.vue.d.cts +3 -3
  90. package/dist/index11.vue.d.ts +5 -5
  91. package/dist/index12.vue.d.cts +5 -5
  92. package/dist/index12.vue.d.ts +2 -2
  93. package/dist/index13.vue.d.cts +2 -2
  94. package/dist/index13.vue.d.ts +5 -5
  95. package/dist/index14.vue.d.cts +5 -5
  96. package/dist/index14.vue.d.ts +5 -5
  97. package/dist/index15.vue.d.cts +5 -5
  98. package/dist/index15.vue.d.ts +1 -1
  99. package/dist/index16.vue.d.cts +1 -1
  100. package/dist/index17.vue.d.ts +1 -1
  101. package/dist/index18.vue.d.cts +1 -1
  102. package/dist/index18.vue.d.ts +4 -4
  103. package/dist/index19.vue.d.cts +4 -4
  104. package/dist/index19.vue.d.ts +3 -3
  105. package/dist/index2.vue.d.cts +2 -2
  106. package/dist/index2.vue.d.ts +2 -2
  107. package/dist/index21.vue.d.cts +2 -2
  108. package/dist/index21.vue.d.ts +2 -2
  109. package/dist/index22.vue.d.cts +2 -2
  110. package/dist/index22.vue.d.ts +2 -2
  111. package/dist/index23.vue.d.cts +2 -2
  112. package/dist/index23.vue.d.ts +2 -2
  113. package/dist/index25.vue.d.cts +4 -4
  114. package/dist/index25.vue.d.ts +4 -4
  115. package/dist/index27.vue.d.cts +3 -3
  116. package/dist/index27.vue.d.ts +3 -3
  117. package/dist/index28.vue.d.cts +3 -3
  118. package/dist/index28.vue.d.ts +3 -3
  119. package/dist/index3.vue.d.cts +3 -3
  120. package/dist/index3.vue.d.ts +3 -3
  121. package/dist/index4.vue.d.cts +3 -3
  122. package/dist/index6.vue.d.ts +2 -2
  123. package/dist/index7.vue.d.cts +2 -2
  124. package/dist/index8.vue.d.ts +3 -3
  125. package/dist/index9.vue.d.cts +3 -3
  126. package/dist/index9.vue.d.ts +6 -6
  127. package/dist/mapUtils.d.cts +4 -4
  128. package/dist/mapUtils.d.ts +4 -4
  129. package/dist/presets.d.cts +1 -1
  130. package/dist/presets.d.ts +1 -1
  131. package/dist/style.css +9875 -9705
  132. package/dist/useCalendarEvents.d.cts +1 -1
  133. package/dist/useCalendarEvents.d.ts +1 -1
  134. package/dist/useCollapsePanel.d.cts +2 -2
  135. package/dist/useCollapsePanel.d.ts +2 -2
  136. package/dist/useCropperCore.d.cts +10 -10
  137. package/dist/useCropperCore.d.ts +10 -10
  138. package/dist/useDraggableLayout.d.cts +6 -6
  139. package/dist/useDraggableLayout.d.ts +6 -6
  140. package/dist/useEdgeInteraction.d.cts +3 -3
  141. package/dist/useEdgeInteraction.d.ts +3 -3
  142. package/dist/useFormulaEvaluator.cjs +2 -0
  143. package/dist/useFormulaEvaluator.js +2 -0
  144. package/dist/useSearchState.d.cts +13 -13
  145. package/dist/useSearchState.d.ts +13 -13
  146. package/dist/useSignatureHistory.d.cts +5 -5
  147. package/dist/useSignatureHistory.d.ts +5 -5
  148. package/dist/useSplitResize.d.cts +3 -3
  149. package/dist/useSplitResize.d.ts +3 -3
  150. package/dist/useTableQuery.d.cts +1 -1
  151. package/dist/useTableQuery.d.ts +1 -1
  152. package/dist/useTimeSelection.d.cts +2 -2
  153. package/dist/useTimeSelection.d.ts +2 -2
  154. package/dist/useTreeOperations.d.cts +6 -6
  155. package/dist/useTreeOperations.d.ts +6 -6
  156. package/dist/useWorkflowValidation.d.cts +3 -3
  157. package/dist/useWorkflowValidation.d.ts +3 -3
  158. package/package.json +1 -1
  159. package/dist/C_FormulaEditor2.cjs +0 -2
  160. 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;
@@ -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;
@@ -61,22 +61,22 @@ 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
+ placeholder: string;
65
+ isDark: boolean;
64
66
  height: string | number;
65
67
  modelValue: string;
66
- mode: "edit" | "editable" | "preview";
67
68
  disabled: boolean;
68
- placeholder: string;
69
+ mode: "edit" | "editable" | "preview";
70
+ maxLength: number;
69
71
  tocNavPosition: "left" | "right";
70
72
  defaultFullscreen: boolean;
71
73
  autofocus: boolean;
72
74
  includeLevel: number[];
73
75
  leftToolbar: string;
74
76
  rightToolbar: string;
75
- maxLength: number;
76
77
  showWordCount: boolean;
77
78
  autoSave: boolean;
78
79
  autoSaveInterval: number;
79
- isDark: boolean;
80
80
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
81
81
  declare const _default: typeof __VLS_export;
82
82
  //#endregion
@@ -61,22 +61,22 @@ 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
+ placeholder: string;
65
+ isDark: boolean;
64
66
  height: string | number;
65
67
  modelValue: string;
66
- mode: "edit" | "editable" | "preview";
67
68
  disabled: boolean;
68
- placeholder: string;
69
+ mode: "edit" | "editable" | "preview";
70
+ maxLength: number;
69
71
  tocNavPosition: "left" | "right";
70
72
  defaultFullscreen: boolean;
71
73
  autofocus: boolean;
72
74
  includeLevel: number[];
73
75
  leftToolbar: string;
74
76
  rightToolbar: string;
75
- maxLength: number;
76
77
  showWordCount: boolean;
77
78
  autoSave: boolean;
78
79
  autoSaveInterval: number;
79
- isDark: boolean;
80
80
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
81
81
  declare const _default: typeof __VLS_export;
82
82
  //#endregion
@@ -52,25 +52,25 @@ declare const __VLS_export: vue.DefineComponent<MenuProps, {
52
52
  deriveResponsiveState: () => void;
53
53
  } | null>;
54
54
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
55
- "update:modelValue": (key: MenuValue) => any;
56
55
  select: (key: string) => any;
56
+ "update:modelValue": (key: MenuValue) => any;
57
57
  intent: (key: string) => any;
58
58
  "update:value": (key: MenuValue) => any;
59
59
  "update:expandedKeys": (keys: string[]) => any;
60
60
  }, string, vue.PublicProps, Readonly<MenuProps> & Readonly<{
61
- "onUpdate:modelValue"?: ((key: MenuValue) => any) | undefined;
62
61
  onSelect?: ((key: string) => any) | undefined;
62
+ "onUpdate:modelValue"?: ((key: MenuValue) => any) | undefined;
63
63
  onIntent?: ((key: string) => any) | undefined;
64
64
  "onUpdate:value"?: ((key: MenuValue) => any) | undefined;
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,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
- size: number;
76
75
  direction: "ltr" | "rtl";
76
+ size: number;
77
77
  clickable: boolean;
78
- max: number;
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
- size: number;
76
75
  direction: "ltr" | "rtl";
76
+ size: number;
77
77
  clickable: boolean;
78
- max: number;
79
78
  overlap: number;
79
+ max: number;
80
80
  shape: "circle" | "square";
81
81
  showStatus: boolean;
82
82
  showTooltip: 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
+ time: number;
37
38
  status: "default" | "success" | "error" | "warning" | "info";
39
+ strokeWidth: 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
+ time: number;
37
38
  status: "default" | "success" | "error" | "warning" | "info";
39
+ strokeWidth: 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>;
@@ -86,11 +86,11 @@ type __VLS_Slots = {} & {
86
86
  default?: (props: typeof __VLS_1) => any;
87
87
  };
88
88
  declare const __VLS_base: vue.DefineComponent<SkeletonProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SkeletonProps> & Readonly<{}>, {
89
+ loading: boolean;
89
90
  repeat: number;
91
+ borderRadius: string;
90
92
  preset: SkeletonPreset;
91
- loading: boolean;
92
93
  animation: SkeletonAnimation;
93
- borderRadius: string;
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;
@@ -86,11 +86,11 @@ type __VLS_Slots = {} & {
86
86
  default?: (props: typeof __VLS_1) => any;
87
87
  };
88
88
  declare const __VLS_base: vue.DefineComponent<SkeletonProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SkeletonProps> & Readonly<{}>, {
89
+ loading: boolean;
89
90
  repeat: number;
91
+ borderRadius: string;
90
92
  preset: SkeletonPreset;
91
- loading: boolean;
92
93
  animation: SkeletonAnimation;
93
- borderRadius: string;
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
38
  direction: "horizontal" | "vertical";
40
- current: number;
41
39
  clickable: boolean;
40
+ connected: boolean;
41
+ current: number;
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
38
  direction: "horizontal" | "vertical";
40
- current: number;
41
39
  clickable: boolean;
40
+ connected: boolean;
41
+ current: number;
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;
651
+ theme: "light" | "dark";
650
652
  title: string;
651
- data: GanttTask[];
652
653
  height: string | number;
653
- showToolbar: boolean;
654
- theme: "light" | "dark";
654
+ data: GanttTask[];
655
655
  preset: GanttPreset;
656
- options: GanttOptions;
656
+ showToolbar: boolean;
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;
651
+ theme: "light" | "dark";
650
652
  title: string;
651
- data: GanttTask[];
652
653
  height: string | number;
653
- showToolbar: boolean;
654
- theme: "light" | "dark";
654
+ data: GanttTask[];
655
655
  preset: GanttPreset;
656
- options: GanttOptions;
656
+ showToolbar: boolean;
657
657
  showFullscreenButton: boolean;
658
658
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
659
659
  declare const _default: typeof __VLS_export;
@@ -84,16 +84,16 @@ 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
93
  reverse: boolean;
94
94
  size: "small" | "medium" | "large";
95
- mode: "vertical" | "horizontal";
96
95
  items: TimelineItem[];
96
+ mode: "vertical" | "horizontal";
97
97
  labelPlacement: "left" | "right" | "alternate";
98
98
  pending: boolean;
99
99
  pendingText: string;
@@ -84,16 +84,16 @@ 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
93
  reverse: boolean;
94
94
  size: "small" | "medium" | "large";
95
- mode: "vertical" | "horizontal";
96
95
  items: TimelineItem[];
96
+ mode: "vertical" | "horizontal";
97
97
  labelPlacement: "left" | "right" | "alternate";
98
98
  pending: boolean;
99
99
  pendingText: string;
@@ -62,14 +62,14 @@ type __VLS_Props = {
62
62
  };
63
63
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
64
64
  "update:modelValue": (value: (string | number)[]) => any;
65
- change: (targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any;
65
+ change: (targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any;
66
66
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
67
67
  "onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
68
- onChange?: ((targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any) | undefined;
68
+ onChange?: ((targetKeys: (string | number)[], direction: "right" | "left", 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;
@@ -62,14 +62,14 @@ type __VLS_Props = {
62
62
  };
63
63
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
64
64
  "update:modelValue": (value: (string | number)[]) => any;
65
- change: (targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any;
65
+ change: (targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any;
66
66
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
67
67
  "onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
68
- onChange?: ((targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any) | undefined;
68
+ onChange?: ((targetKeys: (string | number)[], direction: "right" | "left", 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;
@@ -21,12 +21,12 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
21
21
  onError?: ((error: Error) => any) | undefined;
22
22
  }>, {
23
23
  label: string;
24
- lineColor: string;
25
- width: number;
26
24
  height: number;
25
+ width: number;
26
+ fontSize: number;
27
27
  showBorder: boolean;
28
28
  showLabel: boolean;
29
- fontSize: number;
29
+ lineColor: string;
30
30
  format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
31
31
  showText: boolean;
32
32
  textPosition: "bottom" | "top";
@@ -21,12 +21,12 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
21
21
  onError?: ((error: Error) => any) | undefined;
22
22
  }>, {
23
23
  label: string;
24
- lineColor: string;
25
- width: number;
26
24
  height: number;
25
+ width: number;
26
+ fontSize: number;
27
27
  showBorder: boolean;
28
28
  showLabel: boolean;
29
- fontSize: number;
29
+ lineColor: string;
30
30
  format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
31
31
  showText: boolean;
32
32
  textPosition: "bottom" | "top";
@@ -110,25 +110,25 @@ declare const __VLS_export: vue.DefineComponent<MenuProps, {
110
110
  deriveResponsiveState: () => void;
111
111
  } | null>;
112
112
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
113
- "update:modelValue": (key: MenuValue) => any;
114
113
  select: (key: string) => any;
114
+ "update:modelValue": (key: MenuValue) => any;
115
115
  intent: (key: string) => any;
116
116
  "update:value": (key: MenuValue) => any;
117
117
  "update:expandedKeys": (keys: string[]) => any;
118
118
  }, string, vue.PublicProps, Readonly<MenuProps> & Readonly<{
119
- "onUpdate:modelValue"?: ((key: MenuValue) => any) | undefined;
120
119
  onSelect?: ((key: string) => any) | undefined;
120
+ "onUpdate:modelValue"?: ((key: MenuValue) => any) | undefined;
121
121
  onIntent?: ((key: string) => any) | undefined;
122
122
  "onUpdate:value"?: ((key: MenuValue) => any) | undefined;
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>;
@@ -104,14 +104,14 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
104
104
  "onEmoji-click"?: (() => any) | undefined;
105
105
  onResend?: ((msg: ChatMessage) => any) | undefined;
106
106
  }>, {
107
- title: string;
108
107
  placeholder: string;
109
- messages: ChatMessage[];
108
+ title: string;
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;
@@ -104,14 +104,14 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
104
104
  "onEmoji-click"?: (() => any) | undefined;
105
105
  onResend?: ((msg: ChatMessage) => any) | undefined;
106
106
  }>, {
107
- title: string;
108
107
  placeholder: string;
109
- messages: ChatMessage[];
108
+ title: string;
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;
@@ -25,17 +25,17 @@ declare const __VLS_export: vue.DefineComponent<Props, {
25
25
  copyCode: typeof copyCode;
26
26
  toggleFullscreen: typeof toggleFullscreen;
27
27
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
28
- click: (event: MouseEvent) => any;
29
28
  fullscreen: (isFullscreen: boolean) => any;
29
+ click: (event: MouseEvent) => any;
30
30
  copy: (code: string) => any;
31
31
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
32
- onClick?: ((event: MouseEvent) => any) | undefined;
33
32
  onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
33
+ onClick?: ((event: MouseEvent) => any) | undefined;
34
34
  onCopy?: ((code: string) => any) | undefined;
35
35
  }>, {
36
+ language: string;
36
37
  trim: boolean;
37
38
  code: string;
38
- language: string;
39
39
  showHeader: boolean;
40
40
  showLineNumbers: boolean;
41
41
  wordWrap: boolean;
@@ -25,17 +25,17 @@ declare const __VLS_export: vue.DefineComponent<Props, {
25
25
  copyCode: typeof copyCode;
26
26
  toggleFullscreen: typeof toggleFullscreen;
27
27
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
28
- click: (event: MouseEvent) => any;
29
28
  fullscreen: (isFullscreen: boolean) => any;
29
+ click: (event: MouseEvent) => any;
30
30
  copy: (code: string) => any;
31
31
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
32
- onClick?: ((event: MouseEvent) => any) | undefined;
33
32
  onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
33
+ onClick?: ((event: MouseEvent) => any) | undefined;
34
34
  onCopy?: ((code: string) => any) | undefined;
35
35
  }>, {
36
+ language: string;
36
37
  trim: boolean;
37
38
  code: string;
38
- language: string;
39
39
  showHeader: boolean;
40
40
  showLineNumbers: boolean;
41
41
  wordWrap: boolean;
@@ -61,27 +61,27 @@ 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
- disabled: boolean;
79
78
  items: ContextMenuItem[];
80
- zIndex: number;
81
79
  minWidth: number;
82
80
  maxWidth: number;
83
81
  subMenuPlacement: "right" | "left";
84
82
  autoClose: boolean;
83
+ disabled: boolean;
84
+ zIndex: number;
85
85
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
86
86
  declare const _default: typeof __VLS_export;
87
87
  //#endregion
@@ -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
94
  height: string;
95
+ ariaLabel: string;
96
+ zoom: number;
96
97
  center: MapCoordinate;
97
98
  mapType: MapType;
98
- ariaLabel: string;
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
94
  height: string;
95
+ ariaLabel: string;
96
+ zoom: number;
96
97
  center: MapCoordinate;
97
98
  mapType: MapType;
98
- ariaLabel: string;
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>;