@robot-admin/naive-ui-components 0.13.1 → 0.13.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (234) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/README.md +4 -0
  3. package/README_EN.md +4 -0
  4. package/dist/C_ActionBar.css +75 -63
  5. package/dist/C_ActionBar2.cjs +1 -1
  6. package/dist/C_ActionBar2.js +1 -1
  7. package/dist/C_AntV.css +249 -79
  8. package/dist/C_AntV2.cjs +3 -3
  9. package/dist/C_AntV2.js +2 -2
  10. package/dist/C_AudioPlayer.css +88 -76
  11. package/dist/C_AudioPlayer2.cjs +1 -1
  12. package/dist/C_AudioPlayer2.js +1 -1
  13. package/dist/C_AvatarGroup.css +32 -28
  14. package/dist/C_AvatarGroup2.cjs +1 -1
  15. package/dist/C_AvatarGroup2.js +1 -1
  16. package/dist/C_Breadcrumb.css +35 -17
  17. package/dist/C_Breadcrumb2.cjs +1 -1
  18. package/dist/C_Breadcrumb2.js +1 -1
  19. package/dist/C_Captcha.css +66 -53
  20. package/dist/C_Captcha2.cjs +1 -1
  21. package/dist/C_Captcha2.js +1 -1
  22. package/dist/C_Cascade.css +6 -2
  23. package/dist/C_Cascade2.cjs +1 -1
  24. package/dist/C_Cascade2.js +1 -1
  25. package/dist/C_Chat.css +40 -33
  26. package/dist/C_City.css +37 -32
  27. package/dist/C_City2.cjs +1 -1
  28. package/dist/C_City2.js +1 -1
  29. package/dist/C_Code.css +53 -40
  30. package/dist/C_Code2.cjs +1 -1
  31. package/dist/C_Code2.js +1 -1
  32. package/dist/C_CollapsePanel.css +68 -55
  33. package/dist/C_CollapsePanel2.cjs +1 -1
  34. package/dist/C_CollapsePanel2.js +1 -1
  35. package/dist/C_ContextMenu.css +68 -26
  36. package/dist/C_ContextMenu2.cjs +1 -1
  37. package/dist/C_ContextMenu2.js +1 -1
  38. package/dist/C_Cron.css +95 -68
  39. package/dist/C_Cron2.cjs +1 -1
  40. package/dist/C_Cron2.js +1 -1
  41. package/dist/C_Date.css +8 -1
  42. package/dist/C_Date2.cjs +1 -1
  43. package/dist/C_Date2.js +1 -1
  44. package/dist/C_Draggable.css +60 -51
  45. package/dist/C_Draggable2.cjs +1 -1
  46. package/dist/C_Draggable2.js +1 -1
  47. package/dist/C_Editor.css +23 -15
  48. package/dist/C_Editor2.cjs +1 -1
  49. package/dist/C_Editor2.js +1 -1
  50. package/dist/C_FilePreview.css +200 -90
  51. package/dist/C_FilePreview2.cjs +1 -1
  52. package/dist/C_FilePreview2.js +1 -1
  53. package/dist/C_Form.base.css +284 -224
  54. package/dist/C_Form.css +307 -239
  55. package/dist/C_Form2.cjs +1 -1
  56. package/dist/C_Form2.js +1 -1
  57. package/dist/C_FormModal.css +18 -8
  58. package/dist/C_FormModal2.cjs +1 -1
  59. package/dist/C_FormModal2.js +1 -1
  60. package/dist/C_FormSearch.css +58 -45
  61. package/dist/C_FormSearch2.cjs +1 -1
  62. package/dist/C_FormSearch2.js +1 -1
  63. package/dist/C_FormulaEditor.css +62 -37
  64. package/dist/C_FormulaEditor2.cjs +1 -1
  65. package/dist/C_FormulaEditor2.js +1 -1
  66. package/dist/C_FullCalendar.css +16 -3
  67. package/dist/C_FullCalendar2.cjs +1 -1
  68. package/dist/C_FullCalendar2.js +1 -1
  69. package/dist/C_GlobalSearch.css +121 -112
  70. package/dist/C_GlobalSearch2.cjs +1 -1
  71. package/dist/C_GlobalSearch2.js +1 -1
  72. package/dist/C_Guide.css +30 -18
  73. package/dist/C_Guide2.cjs +1 -1
  74. package/dist/C_Guide2.js +1 -1
  75. package/dist/C_Icon.css +24 -17
  76. package/dist/C_Icon2.cjs +1 -1
  77. package/dist/C_Icon2.js +1 -1
  78. package/dist/C_ImageCropper.css +39 -22
  79. package/dist/C_ImageCropper2.cjs +1 -1
  80. package/dist/C_ImageCropper2.js +1 -1
  81. package/dist/C_Language.css +30 -17
  82. package/dist/C_Language2.cjs +1 -1
  83. package/dist/C_Language2.js +1 -1
  84. package/dist/C_Login.css +162 -137
  85. package/dist/C_Login2.cjs +1 -1
  86. package/dist/C_Login2.js +1 -1
  87. package/dist/C_Map.css +25 -4
  88. package/dist/C_Map2.cjs +1 -1
  89. package/dist/C_Map2.js +1 -1
  90. package/dist/C_Markdown.css +47 -42
  91. package/dist/C_Markdown2.cjs +1 -1
  92. package/dist/C_Markdown2.js +1 -1
  93. package/dist/C_Menu.css +7 -1
  94. package/dist/C_Menu2.cjs +1 -1
  95. package/dist/C_Menu2.js +1 -1
  96. package/dist/C_NotificationCenter.css +134 -90
  97. package/dist/C_NotificationCenter2.cjs +1 -1
  98. package/dist/C_NotificationCenter2.js +1 -1
  99. package/dist/C_OrgChart.css +10 -0
  100. package/dist/C_OrgChart2.cjs +1 -1
  101. package/dist/C_OrgChart2.js +1 -1
  102. package/dist/C_QRCode.css +12 -8
  103. package/dist/C_QRCode2.cjs +1 -1
  104. package/dist/C_QRCode2.js +1 -1
  105. package/dist/C_Signature.css +18 -14
  106. package/dist/C_Signature2.cjs +1 -1
  107. package/dist/C_Signature2.js +1 -1
  108. package/dist/C_Skeleton.css +5 -0
  109. package/dist/C_Skeleton2.cjs +1 -1
  110. package/dist/C_Skeleton2.js +1 -1
  111. package/dist/C_SplitPane.css +61 -39
  112. package/dist/C_SplitPane2.cjs +1 -1
  113. package/dist/C_SplitPane2.js +1 -1
  114. package/dist/C_Steps.css +42 -38
  115. package/dist/C_Steps2.cjs +1 -1
  116. package/dist/C_Steps2.js +1 -1
  117. package/dist/C_Table.base.css +465 -352
  118. package/dist/C_Table.css +488 -367
  119. package/dist/C_TagsView.css +93 -55
  120. package/dist/C_TagsView2.cjs +1 -1
  121. package/dist/C_TagsView2.js +1 -1
  122. package/dist/C_Theme.css +24 -17
  123. package/dist/C_Timeline.css +47 -36
  124. package/dist/C_Transfer.css +86 -67
  125. package/dist/C_Transfer2.cjs +1 -1
  126. package/dist/C_Transfer2.js +1 -1
  127. package/dist/C_Tree.css +48 -33
  128. package/dist/C_Tree2.cjs +1 -1
  129. package/dist/C_Tree2.js +1 -1
  130. package/dist/C_Upload.css +104 -51
  131. package/dist/C_Upload2.cjs +1 -1
  132. package/dist/C_Upload2.js +1 -1
  133. package/dist/C_VideoPlayer.css +140 -69
  134. package/dist/C_VideoPlayer2.cjs +1 -1
  135. package/dist/C_VideoPlayer2.js +1 -1
  136. package/dist/C_VtableGantt.css +42 -19
  137. package/dist/C_VtableGantt2.cjs +1 -1
  138. package/dist/C_VtableGantt2.js +1 -1
  139. package/dist/C_WaterFall.css +32 -16
  140. package/dist/C_WaterFall2.cjs +1 -1
  141. package/dist/C_WaterFall2.js +1 -1
  142. package/dist/C_WorkFlow.css +332 -221
  143. package/dist/C_WorkFlow2.cjs +1 -1
  144. package/dist/C_WorkFlow2.js +1 -1
  145. package/dist/constants.d.cts +4 -4
  146. package/dist/constants.d.ts +4 -4
  147. package/dist/constants2.d.cts +3 -3
  148. package/dist/constants2.d.ts +3 -3
  149. package/dist/constants3.d.cts +2 -2
  150. package/dist/constants3.d.ts +2 -2
  151. package/dist/constants4.d.cts +5 -5
  152. package/dist/constants4.d.ts +5 -5
  153. package/dist/constants5.d.cts +4 -4
  154. package/dist/constants5.d.ts +4 -4
  155. package/dist/data.d.cts +9 -9
  156. package/dist/data.d.ts +9 -9
  157. package/dist/data2.cjs +1 -1
  158. package/dist/data2.js +1 -1
  159. package/dist/index.vue.d.cts +3 -3
  160. package/dist/index.vue.d.ts +3 -3
  161. package/dist/index10.vue.d.cts +3 -3
  162. package/dist/index10.vue.d.ts +3 -3
  163. package/dist/index11.vue.d.cts +3 -3
  164. package/dist/index11.vue.d.ts +1 -1
  165. package/dist/index12.vue.d.cts +1 -1
  166. package/dist/index12.vue.d.ts +2 -2
  167. package/dist/index13.vue.d.cts +2 -2
  168. package/dist/index13.vue.d.ts +2 -2
  169. package/dist/index14.vue.d.cts +2 -2
  170. package/dist/index14.vue.d.ts +14 -12
  171. package/dist/index15.vue.d.cts +14 -12
  172. package/dist/index15.vue.d.ts +2 -2
  173. package/dist/index16.vue.d.cts +2 -2
  174. package/dist/index16.vue.d.ts +11 -2
  175. package/dist/index17.vue.d.cts +11 -2
  176. package/dist/index17.vue.d.ts +5 -5
  177. package/dist/index18.vue.d.cts +5 -5
  178. package/dist/index2.vue.d.cts +1 -1
  179. package/dist/index2.vue.d.ts +1 -1
  180. package/dist/index20.vue.d.cts +1 -1
  181. package/dist/index20.vue.d.ts +1 -1
  182. package/dist/index21.vue.d.cts +2 -2
  183. package/dist/index21.vue.d.ts +2 -2
  184. package/dist/index24.vue.d.cts +4 -4
  185. package/dist/index24.vue.d.ts +4 -4
  186. package/dist/index26.vue.d.cts +1 -1
  187. package/dist/index26.vue.d.ts +1 -1
  188. package/dist/index27.vue.d.cts +3 -3
  189. package/dist/index27.vue.d.ts +3 -3
  190. package/dist/index3.vue.d.cts +4 -4
  191. package/dist/index3.vue.d.ts +4 -4
  192. package/dist/index5.vue.d.ts +2 -2
  193. package/dist/index6.vue.d.cts +2 -2
  194. package/dist/index6.vue.d.ts +2 -2
  195. package/dist/index7.vue.d.cts +2 -2
  196. package/dist/index7.vue.d.ts +2 -2
  197. package/dist/index8.vue.d.cts +2 -2
  198. package/dist/index8.vue.d.ts +3 -3
  199. package/dist/index9.vue.d.cts +3 -3
  200. package/dist/index9.vue.d.ts +3 -3
  201. package/dist/mapUtils.d.cts +4 -4
  202. package/dist/mapUtils.d.ts +4 -4
  203. package/dist/presets.d.cts +1 -1
  204. package/dist/presets.d.ts +1 -1
  205. package/dist/style.css +3083 -1982
  206. package/dist/useCollapsePanel.d.cts +7 -7
  207. package/dist/useCollapsePanel.d.ts +7 -7
  208. package/dist/useCropperCore.d.cts +10 -10
  209. package/dist/useCropperCore.d.ts +10 -10
  210. package/dist/useDraggableLayout.d.cts +5 -5
  211. package/dist/useDraggableLayout.d.ts +5 -5
  212. package/dist/useEdgeInteraction.d.cts +1 -1
  213. package/dist/useEdgeInteraction.d.ts +1 -1
  214. package/dist/useFullscreen.d.cts +2 -2
  215. package/dist/useFullscreen.d.ts +2 -2
  216. package/dist/useInfiniteScroll.d.cts +3 -3
  217. package/dist/useInfiniteScroll.d.ts +3 -3
  218. package/dist/useQRCode.d.cts +4 -4
  219. package/dist/useQRCode.d.ts +4 -4
  220. package/dist/useSearchState.d.cts +27 -27
  221. package/dist/useSearchState.d.ts +27 -27
  222. package/dist/useSignatureHistory.d.cts +3 -3
  223. package/dist/useSignatureHistory.d.ts +3 -3
  224. package/dist/useSplitResize.d.cts +6 -6
  225. package/dist/useSplitResize.d.ts +6 -6
  226. package/dist/useTableQuery.cjs +1 -1
  227. package/dist/useTableQuery.js +1 -1
  228. package/dist/useTimeSelection.d.cts +4 -4
  229. package/dist/useTimeSelection.d.ts +4 -4
  230. package/dist/useTreeOperations.d.cts +5 -5
  231. package/dist/useTreeOperations.d.ts +5 -5
  232. package/dist/useWorkflowValidation.d.cts +2 -2
  233. package/dist/useWorkflowValidation.d.ts +2 -2
  234. package/package.json +8 -1
@@ -61,6 +61,8 @@ interface LoginProps {
61
61
  storageKey?: string;
62
62
  /** 外部传入的 loading 状态 */
63
63
  loading?: boolean;
64
+ /** 宿主扩展字段未就绪时阻止按钮和回车提交 */
65
+ submitDisabled?: boolean;
64
66
  /** 表单默认用户名(Demo / 预填场景) */
65
67
  defaultUsername?: string;
66
68
  /** 表单默认密码(Demo / 预填场景) */
@@ -80,9 +82,14 @@ declare const DEFAULT_SOCIAL_PROVIDERS: SocialProvider[];
80
82
  declare const DEFAULT_FEATURES: Required<LoginFeatures>;
81
83
  //#endregion
82
84
  //#region src/components/C_Login/index.vue.d.ts
83
- declare var __VLS_1: {};
85
+ declare var __VLS_1: {}, __VLS_54: {
86
+ username: string;
87
+ loading: boolean;
88
+ };
84
89
  type __VLS_Slots = {} & {
85
90
  logo?: (props: typeof __VLS_1) => any;
91
+ } & {
92
+ 'password-fields'?: (props: typeof __VLS_54) => any;
86
93
  };
87
94
  declare const __VLS_base: vue.DefineComponent<LoginProps, {
88
95
  resetCaptcha: () => void;
@@ -96,6 +103,7 @@ declare const __VLS_base: vue.DefineComponent<LoginProps, {
96
103
  "register-submit": (data: RegisterFormData) => any;
97
104
  "register-send-code": (phone: string) => any;
98
105
  "captcha-visible-change": (visible: boolean) => any;
106
+ "username-change": (username: string) => any;
99
107
  }, string, vue.PublicProps, Readonly<LoginProps> & Readonly<{
100
108
  onSubmit?: ((data: PasswordFormData) => any) | undefined;
101
109
  "onCaptcha-submit"?: ((data: CaptchaFormData) => any) | undefined;
@@ -106,9 +114,10 @@ declare const __VLS_base: vue.DefineComponent<LoginProps, {
106
114
  "onRegister-submit"?: ((data: RegisterFormData) => any) | undefined;
107
115
  "onRegister-send-code"?: ((phone: string) => any) | undefined;
108
116
  "onCaptcha-visible-change"?: ((visible: boolean) => any) | undefined;
117
+ "onUsername-change"?: ((username: string) => any) | undefined;
109
118
  }>, {
110
- title: string;
111
119
  loading: boolean;
120
+ title: string;
112
121
  storageKey: string;
113
122
  defaultUsername: string;
114
123
  defaultPassword: string;
@@ -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;
@@ -61,12 +61,12 @@ 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
64
  modelValue: string;
66
- mode: "edit" | "editable" | "preview";
67
65
  disabled: boolean;
68
- height: string | number;
66
+ placeholder: string;
67
+ mode: "edit" | "editable" | "preview";
69
68
  isDark: boolean;
69
+ height: string | number;
70
70
  tocNavPosition: "left" | "right";
71
71
  defaultFullscreen: boolean;
72
72
  autofocus: 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;
@@ -61,12 +61,12 @@ 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
64
  modelValue: string;
66
- mode: "edit" | "editable" | "preview";
67
65
  disabled: boolean;
68
- height: string | number;
66
+ placeholder: string;
67
+ mode: "edit" | "editable" | "preview";
69
68
  isDark: boolean;
69
+ height: string | number;
70
70
  tocNavPosition: "left" | "right";
71
71
  defaultFullscreen: boolean;
72
72
  autofocus: boolean;
@@ -75,11 +75,11 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
75
75
  size: number;
76
76
  direction: "ltr" | "rtl";
77
77
  max: number;
78
- clickable: boolean;
79
78
  overlap: number;
80
79
  shape: "circle" | "square";
81
80
  showStatus: boolean;
82
81
  showTooltip: boolean;
82
+ clickable: boolean;
83
83
  overflowClickable: boolean;
84
84
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
85
85
  declare const _default: typeof __VLS_export;
@@ -75,11 +75,11 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
75
75
  size: number;
76
76
  direction: "ltr" | "rtl";
77
77
  max: number;
78
- clickable: boolean;
79
78
  overlap: number;
80
79
  shape: "circle" | "square";
81
80
  showStatus: boolean;
82
81
  showTooltip: boolean;
82
+ clickable: boolean;
83
83
  overflowClickable: boolean;
84
84
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
85
85
  declare const _default: typeof __VLS_export;
@@ -35,10 +35,10 @@ 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
  strokeWidth: number;
38
- time: number;
39
38
  status: "default" | "success" | "error" | "warning" | "info";
40
39
  percentage: number | number[];
41
40
  isAnimation: boolean;
41
+ time: number;
42
42
  indicatorPlacement: "inside" | "outside";
43
43
  showIndicator: boolean;
44
44
  unit: string;
@@ -35,10 +35,10 @@ 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
  strokeWidth: number;
38
- time: number;
39
38
  status: "default" | "success" | "error" | "warning" | "info";
40
39
  percentage: number | number[];
41
40
  isAnimation: boolean;
41
+ time: number;
42
42
  indicatorPlacement: "inside" | "outside";
43
43
  showIndicator: boolean;
44
44
  unit: string;
@@ -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
- repeat: number;
90
- animation: SkeletonAnimation;
91
89
  loading: boolean;
90
+ repeat: number;
92
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;
@@ -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
- repeat: number;
90
- animation: SkeletonAnimation;
91
89
  loading: boolean;
90
+ repeat: number;
92
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;
@@ -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
- title: string;
651
- height: string | number;
650
+ data: GanttTask[];
652
651
  options: GanttOptions;
652
+ showToolbar: boolean;
653
+ height: string | number;
654
+ title: string;
653
655
  preset: GanttPreset;
654
656
  theme: "light" | "dark";
655
- data: GanttTask[];
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
- title: string;
651
- height: string | number;
650
+ data: GanttTask[];
652
651
  options: GanttOptions;
652
+ showToolbar: boolean;
653
+ height: string | number;
654
+ title: string;
653
655
  preset: GanttPreset;
654
656
  theme: "light" | "dark";
655
- data: GanttTask[];
656
- showToolbar: boolean;
657
657
  showFullscreenButton: boolean;
658
658
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
659
659
  declare const _default: typeof __VLS_export;
@@ -90,8 +90,8 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
90
90
  onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
91
91
  "onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
92
92
  }>, {
93
- reverse: boolean;
94
93
  size: "small" | "medium" | "large";
94
+ reverse: boolean;
95
95
  items: TimelineItem[];
96
96
  mode: "vertical" | "horizontal";
97
97
  labelPlacement: "left" | "right" | "alternate";
@@ -90,8 +90,8 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
90
90
  onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
91
91
  "onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
92
92
  }>, {
93
- reverse: boolean;
94
93
  size: "small" | "medium" | "large";
94
+ reverse: boolean;
95
95
  items: TimelineItem[];
96
96
  mode: "vertical" | "horizontal";
97
97
  labelPlacement: "left" | "right" | "alternate";
@@ -61,19 +61,19 @@ type __VLS_Props = {
61
61
  size?: TransferProps['size'];
62
62
  };
63
63
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
64
- change: (targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any;
65
64
  "update:modelValue": (value: (string | number)[]) => any;
65
+ change: (targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any;
66
66
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
67
- onChange?: ((targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any) | undefined;
68
67
  "onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
68
+ onChange?: ((targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any) | undefined;
69
69
  }>, {
70
- size: "small" | "medium" | "large";
71
70
  titles: [string, string];
72
71
  filterable: boolean;
73
72
  filterPlaceholder: string;
74
73
  showSelectAll: boolean;
75
74
  sourceEmptyText: string;
76
75
  targetEmptyText: string;
76
+ size: "small" | "medium" | "large";
77
77
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
78
78
  declare const _default: typeof __VLS_export;
79
79
  //#endregion
@@ -61,19 +61,19 @@ type __VLS_Props = {
61
61
  size?: TransferProps['size'];
62
62
  };
63
63
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
64
- change: (targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any;
65
64
  "update:modelValue": (value: (string | number)[]) => any;
65
+ change: (targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any;
66
66
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
67
- onChange?: ((targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any) | undefined;
68
67
  "onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
68
+ onChange?: ((targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any) | undefined;
69
69
  }>, {
70
- size: "small" | "medium" | "large";
71
70
  titles: [string, string];
72
71
  filterable: boolean;
73
72
  filterPlaceholder: string;
74
73
  showSelectAll: boolean;
75
74
  sourceEmptyText: string;
76
75
  targetEmptyText: string;
76
+ size: "small" | "medium" | "large";
77
77
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
78
78
  declare const _default: typeof __VLS_export;
79
79
  //#endregion
@@ -21,16 +21,16 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
21
21
  onError?: ((error: Error) => any) | undefined;
22
22
  }>, {
23
23
  label: string;
24
+ format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
24
25
  height: number;
25
26
  width: number;
26
- fontSize: number;
27
- format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
28
27
  lineColor: string;
29
- showBorder: boolean;
30
- showLabel: boolean;
31
28
  showText: boolean;
29
+ fontSize: number;
32
30
  textPosition: "bottom" | "top";
33
31
  background: string;
32
+ showBorder: boolean;
33
+ showLabel: boolean;
34
34
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
35
35
  declare const _default: typeof __VLS_export;
36
36
  //#endregion
@@ -21,16 +21,16 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
21
21
  onError?: ((error: Error) => any) | undefined;
22
22
  }>, {
23
23
  label: string;
24
+ format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
24
25
  height: number;
25
26
  width: number;
26
- fontSize: number;
27
- format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
28
27
  lineColor: string;
29
- showBorder: boolean;
30
- showLabel: boolean;
31
28
  showText: boolean;
29
+ fontSize: number;
32
30
  textPosition: "bottom" | "top";
33
31
  background: string;
32
+ showBorder: boolean;
33
+ showLabel: boolean;
34
34
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
35
35
  declare const _default: typeof __VLS_export;
36
36
  //#endregion
@@ -19,11 +19,11 @@ type __VLS_Props = {
19
19
  modelValue?: CascadeValue;
20
20
  };
21
21
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
22
- change: (value: CascadeValue) => any;
23
22
  "update:modelValue": (value: CascadeValue) => any;
23
+ change: (value: CascadeValue) => any;
24
24
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
25
- onChange?: ((value: CascadeValue) => any) | undefined;
26
25
  "onUpdate:modelValue"?: ((value: CascadeValue) => any) | undefined;
26
+ onChange?: ((value: CascadeValue) => any) | undefined;
27
27
  }>, {
28
28
  placeholders: string[];
29
29
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -19,11 +19,11 @@ type __VLS_Props = {
19
19
  modelValue?: CascadeValue;
20
20
  };
21
21
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
22
- change: (value: CascadeValue) => any;
23
22
  "update:modelValue": (value: CascadeValue) => any;
23
+ change: (value: CascadeValue) => any;
24
24
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
25
- onChange?: ((value: CascadeValue) => any) | undefined;
26
25
  "onUpdate:modelValue"?: ((value: CascadeValue) => any) | undefined;
26
+ onChange?: ((value: CascadeValue) => any) | undefined;
27
27
  }>, {
28
28
  placeholders: string[];
29
29
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -105,13 +105,13 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
105
105
  onResend?: ((msg: ChatMessage) => any) | undefined;
106
106
  }>, {
107
107
  placeholder: string;
108
+ messages: ChatMessage[];
109
+ title: string;
108
110
  showContacts: boolean;
109
111
  showTimestamp: boolean;
110
112
  showSendBtn: boolean;
111
113
  loadingHistory: boolean;
112
- title: string;
113
114
  contacts: ChatContact[];
114
- messages: ChatMessage[];
115
115
  currentContactId: string;
116
116
  selfAvatar: string;
117
117
  selfName: string;
@@ -105,13 +105,13 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
105
105
  onResend?: ((msg: ChatMessage) => any) | undefined;
106
106
  }>, {
107
107
  placeholder: string;
108
+ messages: ChatMessage[];
109
+ title: string;
108
110
  showContacts: boolean;
109
111
  showTimestamp: boolean;
110
112
  showSendBtn: boolean;
111
113
  loadingHistory: boolean;
112
- title: string;
113
114
  contacts: ChatContact[];
114
- messages: ChatMessage[];
115
115
  currentContactId: string;
116
116
  selfAvatar: string;
117
117
  selfName: string;
@@ -14,11 +14,11 @@ type __VLS_Slots = {} & {
14
14
  trigger?: (props: typeof __VLS_9) => any;
15
15
  };
16
16
  declare const __VLS_base: vue.DefineComponent<Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
17
- change: (value: string) => any;
18
17
  "update:modelValue": (value: string) => any;
18
+ change: (value: string) => any;
19
19
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
20
- onChange?: ((value: string) => any) | undefined;
21
20
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
21
+ onChange?: ((value: string) => any) | undefined;
22
22
  }>, {
23
23
  placeholder: string;
24
24
  showLetters: boolean;
@@ -14,11 +14,11 @@ type __VLS_Slots = {} & {
14
14
  trigger?: (props: typeof __VLS_9) => any;
15
15
  };
16
16
  declare const __VLS_base: vue.DefineComponent<Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
17
- change: (value: string) => any;
18
17
  "update:modelValue": (value: string) => any;
18
+ change: (value: string) => any;
19
19
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
20
- onChange?: ((value: string) => any) | undefined;
21
20
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
21
+ onChange?: ((value: string) => any) | undefined;
22
22
  }>, {
23
23
  placeholder: string;
24
24
  showLetters: 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
+ copy: (code: string) => any;
28
29
  click: (event: MouseEvent) => any;
29
30
  fullscreen: (isFullscreen: boolean) => any;
30
- copy: (code: string) => any;
31
31
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
32
+ onCopy?: ((code: string) => any) | undefined;
32
33
  onClick?: ((event: MouseEvent) => any) | undefined;
33
34
  onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
34
- onCopy?: ((code: string) => any) | undefined;
35
35
  }>, {
36
36
  trim: boolean;
37
- language: string;
38
37
  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
+ copy: (code: string) => any;
28
29
  click: (event: MouseEvent) => any;
29
30
  fullscreen: (isFullscreen: boolean) => any;
30
- copy: (code: string) => any;
31
31
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
32
+ onCopy?: ((code: string) => any) | undefined;
32
33
  onClick?: ((event: MouseEvent) => any) | undefined;
33
34
  onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
34
- onCopy?: ((code: string) => any) | undefined;
35
35
  }>, {
36
36
  trim: boolean;
37
- language: string;
38
37
  code: string;
38
+ language: string;
39
39
  showHeader: boolean;
40
40
  showLineNumbers: boolean;
41
41
  wordWrap: boolean;
@@ -61,22 +61,22 @@ 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
64
  select: (item: ContextMenuItem) => any;
66
65
  open: (position: {
67
66
  x: number;
68
67
  y: number;
69
68
  }) => any;
69
+ close: () => any;
70
70
  }, string, vue.PublicProps, Readonly<ContextMenuProps> & Readonly<{
71
- onClose?: (() => any) | undefined;
72
71
  onSelect?: ((item: ContextMenuItem) => any) | undefined;
73
72
  onOpen?: ((position: {
74
73
  x: number;
75
74
  y: number;
76
75
  }) => any) | undefined;
76
+ onClose?: (() => any) | undefined;
77
77
  }>, {
78
- items: ContextMenuItem[];
79
78
  disabled: boolean;
79
+ items: ContextMenuItem[];
80
80
  zIndex: number;
81
81
  minWidth: number;
82
82
  maxWidth: 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
- center: MapCoordinate;
95
94
  height: string;
96
95
  zoom: number;
97
- ariaLabel: string;
96
+ center: MapCoordinate;
98
97
  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
- center: MapCoordinate;
95
94
  height: string;
96
95
  zoom: number;
97
- ariaLabel: string;
96
+ center: MapCoordinate;
98
97
  mapType: MapType;
98
+ ariaLabel: string;
99
99
  markers: MapMarker[];
100
100
  amapKey: string;
101
101
  amapLoadTimeout: number;
@@ -67,10 +67,10 @@ 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
+ config: ActionBarConfig;
70
71
  actions: ActionItem[];
71
72
  leftActions: ActionItem[];
72
73
  rightActions: ActionItem[];
73
- config: ActionBarConfig;
74
74
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
75
75
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
76
76
  declare const _default: typeof __VLS_export;
package/dist/presets.d.ts CHANGED
@@ -67,10 +67,10 @@ 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
+ config: ActionBarConfig;
70
71
  actions: ActionItem[];
71
72
  leftActions: ActionItem[];
72
73
  rightActions: ActionItem[];
73
- config: ActionBarConfig;
74
74
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
75
75
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
76
76
  declare const _default: typeof __VLS_export;