@robot-admin/naive-ui-components 0.7.1 → 0.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/dist/constants.d.ts +4 -4
  3. package/dist/constants2.d.ts +3 -3
  4. package/dist/constants3.d.ts +5 -5
  5. package/dist/constants4.d.ts +2 -2
  6. package/dist/constants5.d.ts +2 -2
  7. package/dist/data.d.ts +2 -2
  8. package/dist/index.vue.d.ts +1 -1
  9. package/dist/index10.vue.d.ts +3 -3
  10. package/dist/index11.vue.d.ts +2 -2
  11. package/dist/index12.vue.d.ts +1 -1
  12. package/dist/index13.vue.d.ts +2 -2
  13. package/dist/index14.vue.d.ts +1 -1
  14. package/dist/index15.vue.d.ts +7 -7
  15. package/dist/index16.vue.d.ts +2 -2
  16. package/dist/index17.vue.d.ts +1 -1
  17. package/dist/index18.vue.d.ts +4 -4
  18. package/dist/index2.vue.d.ts +7 -7
  19. package/dist/index20.vue.d.ts +1 -1
  20. package/dist/index21.vue.d.ts +1 -1
  21. package/dist/index22.vue.d.ts +2 -2
  22. package/dist/index23.vue.d.ts +2 -2
  23. package/dist/index24.vue.d.ts +1 -1
  24. package/dist/index26.vue.d.ts +4 -4
  25. package/dist/index27.vue.d.ts +2 -2
  26. package/dist/index28.vue.d.ts +2 -2
  27. package/dist/index3.vue.d.ts +3 -3
  28. package/dist/index4.vue.d.ts +2 -2
  29. package/dist/index6.vue.d.ts +1 -1
  30. package/dist/index7.vue.d.ts +2 -2
  31. package/dist/index8.vue.d.ts +1 -1
  32. package/dist/index9.vue.d.ts +2 -2
  33. package/dist/useCalendarEvents.d.ts +1 -1
  34. package/dist/useCollapsePanel.d.ts +5 -5
  35. package/dist/useCropperCore.d.ts +7 -7
  36. package/dist/useDraggableLayout.d.ts +9 -9
  37. package/dist/useDynamicFormState.d.ts +116 -116
  38. package/dist/useEdgeInteraction.d.ts +1 -1
  39. package/dist/useGlobalSearch.d.ts +1 -1
  40. package/dist/useInfiniteScroll.d.ts +2 -2
  41. package/dist/useQRCode.d.ts +1 -1
  42. package/dist/useSearchState.d.ts +2 -2
  43. package/dist/useSignatureHistory.d.ts +3 -3
  44. package/dist/useSplitResize.d.ts +8 -8
  45. package/dist/useTimeSelection.d.ts +3 -3
  46. package/dist/useTreeOperations.d.ts +5 -5
  47. package/dist/useWorkflowValidation.d.ts +5 -5
  48. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @robot-admin/naive-ui-components
2
2
 
3
- ## 0.7.1
3
+ ## 0.7.2
4
4
 
5
5
  ### Patch Changes
6
6
 
@@ -110,20 +110,20 @@ declare const __VLS_export: vue.DefineComponent<CronProps, {
110
110
  reset: typeof handleReset;
111
111
  validate: () => CronValidation;
112
112
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
113
- "update:modelValue": (value: string) => any;
114
113
  change: (value: string) => any;
114
+ "update:modelValue": (value: string) => any;
115
115
  "validation-change": (result: CronValidation) => any;
116
116
  }, string, vue.PublicProps, Readonly<CronProps> & Readonly<{
117
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
118
117
  onChange?: ((value: string) => any) | undefined;
118
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
119
119
  "onValidation-change"?: ((result: CronValidation) => any) | undefined;
120
120
  }>, {
121
- height: string | number;
122
121
  disabled: boolean;
122
+ height: string | number;
123
123
  modelValue: string;
124
- showPreview: boolean;
125
124
  previewCount: number;
126
125
  showTemplates: boolean;
126
+ showPreview: boolean;
127
127
  showSecond: boolean;
128
128
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
129
129
  declare const _default: typeof __VLS_export;
@@ -112,16 +112,16 @@ interface FormulaEditorExpose {
112
112
  //#endregion
113
113
  //#region src/components/C_FormulaEditor/index.vue.d.ts
114
114
  declare const __VLS_export: vue.DefineComponent<FormulaEditorProps, FormulaEditorExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
115
- "update:modelValue": (value: string) => any;
116
115
  change: (value: string) => any;
116
+ "update:modelValue": (value: string) => any;
117
117
  "validation-change": (result: FormulaValidation) => any;
118
118
  }, string, vue.PublicProps, Readonly<FormulaEditorProps> & Readonly<{
119
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
120
119
  onChange?: ((value: string) => any) | undefined;
120
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
121
121
  "onValidation-change"?: ((result: FormulaValidation) => any) | undefined;
122
122
  }>, {
123
- height: string | number;
124
123
  disabled: boolean;
124
+ height: string | number;
125
125
  modelValue: string;
126
126
  placeholder: string;
127
127
  showPreview: boolean;
@@ -150,8 +150,8 @@ interface NotificationCenterExpose {
150
150
  //#endregion
151
151
  //#region src/components/C_NotificationCenter/index.vue.d.ts
152
152
  declare const __VLS_export: vue.DefineComponent<NotificationCenterProps, NotificationCenterExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
153
- delete: (ids: string[]) => any;
154
153
  itemClick: (message: NotificationMessage) => any;
154
+ delete: (ids: string[]) => any;
155
155
  read: (ids: string[]) => any;
156
156
  allRead: (category?: NotificationCategory | undefined) => any;
157
157
  unreadChange: (count: number) => any;
@@ -159,8 +159,8 @@ declare const __VLS_export: vue.DefineComponent<NotificationCenterProps, Notific
159
159
  newMessage: (message: NotificationMessage) => any;
160
160
  navigate: (url: string) => any;
161
161
  }, string, vue.PublicProps, Readonly<NotificationCenterProps> & Readonly<{
162
- onDelete?: ((ids: string[]) => any) | undefined;
163
162
  onItemClick?: ((message: NotificationMessage) => any) | undefined;
163
+ onDelete?: ((ids: string[]) => any) | undefined;
164
164
  onRead?: ((ids: string[]) => any) | undefined;
165
165
  onAllRead?: ((category?: NotificationCategory | undefined) => any) | undefined;
166
166
  onUnreadChange?: ((count: number) => any) | undefined;
@@ -168,11 +168,11 @@ declare const __VLS_export: vue.DefineComponent<NotificationCenterProps, Notific
168
168
  onNewMessage?: ((message: NotificationMessage) => any) | undefined;
169
169
  onNavigate?: ((url: string) => any) | undefined;
170
170
  }>, {
171
- pageSize: number;
172
- storageKey: string;
173
171
  desktopNotification: boolean;
174
172
  maxBadgeCount: number;
175
173
  pollingInterval: number;
174
+ pageSize: number;
175
+ storageKey: string;
176
176
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
177
177
  declare const _default: typeof __VLS_export;
178
178
  //#endregion
@@ -217,7 +217,7 @@ declare function useNotificationCore(props: NotificationCenterProps): {
217
217
  actionText?: string | undefined;
218
218
  extra?: Record<string, unknown> | undefined;
219
219
  }[]>;
220
- activeCategory: vue.Ref<"all" | NotificationCategory, "all" | NotificationCategory>;
220
+ activeCategory: vue.Ref<NotificationCategory | "all", NotificationCategory | "all">;
221
221
  loading: vue.Ref<boolean, boolean>;
222
222
  total: vue.Ref<number, number>;
223
223
  page: vue.Ref<number, number>;
@@ -212,10 +212,10 @@ declare const __VLS_base: vue.DefineComponent<UploadProps, UploadExpose, {}, {},
212
212
  onFinish?: ((fileList: UploadFileItem[]) => any) | undefined;
213
213
  onExceed?: ((files: File[], fileList: UploadFileItem[]) => any) | undefined;
214
214
  }>, {
215
- data: Record<string, any>;
216
215
  disabled: boolean;
217
- draggable: boolean;
216
+ data: Record<string, any>;
218
217
  multiple: boolean;
218
+ draggable: boolean;
219
219
  action: string;
220
220
  headers: Record<string, string>;
221
221
  directory: boolean;
@@ -259,9 +259,9 @@ type PlayerInstance = InstanceType<typeof xgplayer.default>;
259
259
  //#endregion
260
260
  //#region src/components/C_VideoPlayer/index.vue.d.ts
261
261
  declare const __VLS_export: vue.DefineComponent<VideoPlayerProps, VideoPlayerExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
262
+ ended: () => any;
262
263
  ready: () => any;
263
264
  error: (error: Error) => any;
264
- ended: () => any;
265
265
  stateChange: (state: PlayerState) => any;
266
266
  timeUpdate: (currentTime: number, duration: number) => any;
267
267
  qualityChange: (quality: QualityLevel) => any;
@@ -272,9 +272,9 @@ declare const __VLS_export: vue.DefineComponent<VideoPlayerProps, VideoPlayerExp
272
272
  chapterChange: (chapter: Chapter) => any;
273
273
  progressUpdate: (data: ProgressData) => any;
274
274
  }, string, vue.PublicProps, Readonly<VideoPlayerProps> & Readonly<{
275
+ onEnded?: (() => any) | undefined;
275
276
  onReady?: (() => any) | undefined;
276
277
  onError?: ((error: Error) => any) | undefined;
277
- onEnded?: (() => any) | undefined;
278
278
  onStateChange?: ((state: PlayerState) => any) | undefined;
279
279
  onTimeUpdate?: ((currentTime: number, duration: number) => any) | undefined;
280
280
  onQualityChange?: ((quality: QualityLevel) => any) | undefined;
package/dist/data.d.ts CHANGED
@@ -23,10 +23,10 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
23
23
  onMarkerClick?: ((marker: MapMarker$1, event: any) => any) | undefined;
24
24
  }>, {
25
25
  height: string;
26
- center: [number, number];
27
- zoom: number;
28
26
  markers: MapMarker$1[];
29
27
  amapKey: string;
28
+ center: [number, number];
29
+ zoom: number;
30
30
  mapType: "osm" | "amap";
31
31
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
32
32
  declare const _default: typeof __VLS_export;
@@ -63,10 +63,10 @@ declare const __VLS_base: vue.DefineComponent<TableActionsProps, {}, {}, {}, {},
63
63
  "onDropdown-click"?: ((item: ActionDropdownItem, action: ActionItem) => any) | undefined;
64
64
  "onAction-click"?: ((action: ActionItem) => any) | undefined;
65
65
  }>, {
66
- config: ActionBarConfig;
67
66
  actions: ActionItem[];
68
67
  leftActions: ActionItem[];
69
68
  rightActions: ActionItem[];
69
+ config: ActionBarConfig;
70
70
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
71
71
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
72
72
  declare const _default: typeof __VLS_export;
@@ -25,20 +25,20 @@ 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;
29
28
  click: (event: MouseEvent) => any;
29
+ copy: (code: string) => any;
30
30
  fullscreen: (isFullscreen: boolean) => any;
31
31
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
32
- onCopy?: ((code: string) => any) | undefined;
33
32
  onClick?: ((event: MouseEvent) => any) | undefined;
33
+ onCopy?: ((code: string) => any) | undefined;
34
34
  onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
35
35
  }>, {
36
36
  trim: boolean;
37
+ wordWrap: boolean;
37
38
  code: string;
38
39
  language: string;
39
40
  showHeader: boolean;
40
41
  showLineNumbers: boolean;
41
- wordWrap: boolean;
42
42
  showFullscreen: boolean;
43
43
  autoLoadLanguage: boolean;
44
44
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -76,12 +76,12 @@ declare const __VLS_export: vue.DefineComponent<ContextMenuProps, {
76
76
  onClose?: (() => any) | undefined;
77
77
  }>, {
78
78
  items: ContextMenuItem[];
79
+ disabled: boolean;
80
+ zIndex: number;
79
81
  minWidth: number;
80
82
  maxWidth: number;
81
83
  subMenuPlacement: "right" | "left";
82
84
  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
@@ -38,9 +38,9 @@ declare const __VLS_export: vue.DefineComponent<Props, {
38
38
  "onUpdate:dateTimeRange"?: ((value: DateRangeValue) => any) | undefined;
39
39
  "onUpdate:smartRange"?: ((value: DateRangeValue) => any) | undefined;
40
40
  }>, {
41
+ mode: DatePickerMode;
41
42
  disabled: boolean;
42
43
  placeholder: string;
43
- mode: DatePickerMode;
44
44
  startPlaceholder: string;
45
45
  endPlaceholder: string;
46
46
  disabledBeforeToday: boolean;
@@ -28,10 +28,10 @@ declare const __VLS_export: vue.DefineComponent<Props, {
28
28
  "onEditor-mounted"?: ((editor: any) => any) | undefined;
29
29
  "onEditor-change"?: ((html: string) => any) | undefined;
30
30
  }>, {
31
- height: number;
32
- readonly: boolean;
33
31
  theme: "light" | "dark";
34
32
  disabled: boolean;
33
+ height: number;
34
+ readonly: boolean;
35
35
  modelValue: string;
36
36
  placeholder: string;
37
37
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -89,8 +89,8 @@ declare const __VLS_export: vue.DefineComponent<GuideProps, {
89
89
  onComplete?: (() => any) | undefined;
90
90
  "onStep-change"?: ((stepIndex: number, step: GuideStep) => any) | undefined;
91
91
  }>, {
92
- steps: GuideStep[];
93
92
  keyboard: boolean;
93
+ steps: GuideStep[];
94
94
  doneBtnText: string;
95
95
  nextBtnText: string;
96
96
  prevBtnText: string;
@@ -41,29 +41,29 @@ declare const __VLS_export: vue.DefineComponent<IconProps, {
41
41
  errorMessage: Readonly<vue.Ref<string, string>>; /** DOM引用 */
42
42
  el: vue.Ref<HTMLElement | undefined, HTMLElement | undefined>;
43
43
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
44
- click: (event: MouseEvent) => any;
45
44
  error: (type: string, error?: any) => any;
45
+ click: (event: MouseEvent) => any;
46
46
  load: () => any;
47
47
  }, string, vue.PublicProps, Readonly<IconProps> & Readonly<{
48
- onClick?: ((event: MouseEvent) => any) | undefined;
49
48
  onError?: ((type: string, error?: any) => any) | undefined;
49
+ onClick?: ((event: MouseEvent) => any) | undefined;
50
50
  onLoad?: (() => any) | undefined;
51
51
  }>, {
52
- type: "iconify" | "unocss" | "component" | "svg" | "image";
53
52
  size: number | string;
54
- title: string;
53
+ clickable: boolean;
54
+ type: "iconify" | "unocss" | "component" | "svg" | "image";
55
55
  name: string | any;
56
- rotate: number;
57
56
  color: string;
58
- flip: "horizontal" | "vertical" | "both";
59
57
  loading: boolean;
58
+ flip: "horizontal" | "vertical" | "both";
59
+ title: string;
60
60
  svgPath: string;
61
61
  viewBox: string;
62
62
  alt: string;
63
- clickable: boolean;
64
63
  fallbackIcon: string;
65
64
  ariaLabel: string;
66
65
  customClass: string;
66
+ rotate: number;
67
67
  componentProps: Record<string, any>;
68
68
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
69
69
  declare const _default: typeof __VLS_export;
@@ -12,11 +12,11 @@ type __VLS_Props = {
12
12
  tooltip?: string;
13
13
  };
14
14
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
15
- "update:modelValue": (key: string) => any;
16
15
  change: (key: string) => any;
16
+ "update:modelValue": (key: string) => any;
17
17
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
18
- "onUpdate:modelValue"?: ((key: string) => any) | undefined;
19
18
  onChange?: ((key: string) => any) | undefined;
19
+ "onUpdate:modelValue"?: ((key: string) => any) | undefined;
20
20
  }>, {
21
21
  modelValue: string;
22
22
  options: LanguageOption[];
@@ -99,8 +99,8 @@ declare const __VLS_base: vue.DefineComponent<LoginProps, {
99
99
  "onRegister-submit"?: ((data: RegisterFormData) => any) | undefined;
100
100
  "onRegister-send-code"?: ((phone: string) => any) | undefined;
101
101
  }>, {
102
- title: string;
103
102
  loading: boolean;
103
+ title: string;
104
104
  storageKey: string;
105
105
  defaultUsername: string;
106
106
  defaultPassword: string;
@@ -38,8 +38,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
38
38
  insertText: (text: string) => void;
39
39
  wordCount: vue.ComputedRef<number>;
40
40
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
41
- "update:modelValue": (value: string) => any;
42
41
  change: (text: string, html: string) => any;
42
+ "update:modelValue": (value: string) => any;
43
43
  save: (text: string, html: string) => any;
44
44
  "upload-image": (event: Event, insertImage: InsertImageFunction, files: FileList) => any;
45
45
  "fullscreen-change": (isFullscreen: boolean) => any;
@@ -48,8 +48,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
48
48
  "auto-save": (text: string) => any;
49
49
  "max-length-exceeded": (currentLength: number, maxLength: number) => any;
50
50
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
51
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
52
51
  onChange?: ((text: string, html: string) => any) | undefined;
52
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
53
53
  onSave?: ((text: string, html: string) => any) | undefined;
54
54
  "onUpload-image"?: ((event: Event, insertImage: InsertImageFunction, files: FileList) => any) | undefined;
55
55
  "onFullscreen-change"?: ((isFullscreen: boolean) => any) | undefined;
@@ -58,12 +58,12 @@ declare const __VLS_export: vue.DefineComponent<Props, {
58
58
  "onAuto-save"?: ((text: string) => any) | undefined;
59
59
  "onMax-length-exceeded"?: ((currentLength: number, maxLength: number) => any) | undefined;
60
60
  }>, {
61
- height: string | number;
61
+ mode: "edit" | "editable" | "preview";
62
62
  disabled: boolean;
63
+ height: string | number;
63
64
  modelValue: string;
64
65
  placeholder: string;
65
66
  autoSave: boolean;
66
- mode: "edit" | "editable" | "preview";
67
67
  isDark: boolean;
68
68
  tocNavPosition: "left" | "right";
69
69
  defaultFullscreen: boolean;
@@ -60,22 +60,22 @@ type __VLS_Props = {
60
60
  theme?: AudioPlayerProps['theme'];
61
61
  };
62
62
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
63
- ended: (index: number) => any;
64
- pause: () => any;
65
63
  play: (index: number) => any;
64
+ pause: () => any;
65
+ ended: (index: number) => any;
66
66
  modeChange: (mode: string) => any;
67
67
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
68
- onEnded?: ((index: number) => any) | undefined;
69
- onPause?: (() => any) | undefined;
70
68
  onPlay?: ((index: number) => any) | undefined;
69
+ onPause?: (() => any) | undefined;
70
+ onEnded?: ((index: number) => any) | undefined;
71
71
  onModeChange?: ((mode: string) => any) | undefined;
72
72
  }>, {
73
- theme: "default" | "minimal";
74
- mode: "list" | "single" | "loop" | "shuffle";
75
- autoplay: boolean;
76
73
  initialIndex: number;
77
74
  showPlaylist: boolean;
78
75
  showCover: boolean;
76
+ autoplay: boolean;
77
+ mode: "list" | "loop" | "single" | "shuffle";
78
+ theme: "default" | "minimal";
79
79
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
80
80
  declare const _default: typeof __VLS_export;
81
81
  //#endregion
@@ -78,8 +78,8 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
78
78
  "onNode-collapse"?: ((node: OrgChartNode) => any) | undefined;
79
79
  }>, {
80
80
  direction: OrgChartDirection;
81
- lineStyle: OrgChartLineStyle;
82
81
  lineColor: string;
82
+ lineStyle: OrgChartLineStyle;
83
83
  lineWidth: number;
84
84
  nodeSpacing: number;
85
85
  levelSpacing: number;
@@ -34,9 +34,9 @@ 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
+ status: "default" | "success" | "error" | "warning" | "info";
37
38
  strokeWidth: number;
38
39
  time: number;
39
- status: "default" | "success" | "error" | "warning" | "info";
40
40
  percentage: number | number[];
41
41
  isAnimation: boolean;
42
42
  indicatorPlacement: "inside" | "outside";
@@ -86,10 +86,10 @@ 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
- animation: SkeletonAnimation;
90
89
  repeat: number;
91
- borderRadius: string;
92
90
  loading: boolean;
91
+ borderRadius: string;
92
+ animation: SkeletonAnimation;
93
93
  preset: SkeletonPreset;
94
94
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
95
95
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -24,10 +24,10 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
24
24
  onChange?: ((args_0: number) => any) | undefined;
25
25
  "onUpdate:current"?: ((args_0: number) => any) | undefined;
26
26
  }>, {
27
- direction: "horizontal" | "vertical";
28
27
  clickable: boolean;
29
- current: number;
28
+ direction: "horizontal" | "vertical";
30
29
  connected: boolean;
30
+ current: number;
31
31
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
32
32
  declare const _default: typeof __VLS_export;
33
33
  //#endregion
@@ -76,10 +76,10 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {
76
76
  onClose?: ((fallbackPath: string) => any) | undefined;
77
77
  onCloseAll?: (() => any) | undefined;
78
78
  }>, {
79
+ persistKey: string;
79
80
  homePath: string;
80
81
  homeTitle: string;
81
82
  homeIcon: string;
82
- persistKey: string;
83
83
  contextMenuLabels: ContextMenuLabels;
84
84
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
85
85
  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
- "item-click": (item: TimelineItem, index: number) => any;
88
87
  expand: (item: TimelineItem, expanded: boolean) => any;
88
+ "item-click": (item: TimelineItem, index: number) => any;
89
89
  }, string, vue.PublicProps, Readonly<TimelineProps> & Readonly<{
90
- "onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
91
90
  onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
91
+ "onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
92
92
  }>, {
93
- reverse: boolean;
94
93
  items: TimelineItem[];
95
94
  size: "small" | "medium" | "large";
96
- labelPlacement: "left" | "right" | "alternate";
95
+ reverse: boolean;
97
96
  mode: "vertical" | "horizontal";
97
+ labelPlacement: "left" | "right" | "alternate";
98
98
  pending: boolean;
99
99
  pendingText: string;
100
100
  lineType: "solid" | "dashed" | "dotted";
@@ -61,11 +61,11 @@ 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
- "update:modelValue": (value: (string | number)[]) => any;
65
64
  change: (targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any;
65
+ "update:modelValue": (value: (string | number)[]) => any;
66
66
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
67
- "onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
68
67
  onChange?: ((targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any) | undefined;
68
+ "onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
69
69
  }>, {
70
70
  size: "small" | "medium" | "large";
71
71
  filterable: boolean;
@@ -647,12 +647,12 @@ 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
+ theme: "light" | "dark";
650
651
  data: GanttTask[];
651
652
  height: string | number;
652
653
  showToolbar: boolean;
653
- theme: "light" | "dark";
654
- title: string;
655
654
  options: GanttOptions;
655
+ title: string;
656
656
  preset: GanttPreset;
657
657
  showFullscreenButton: boolean;
658
658
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -72,15 +72,15 @@ 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
- direction: "ltr" | "rtl";
76
- size: number;
77
75
  max: number;
76
+ size: number;
78
77
  overlap: number;
79
- clickable: boolean;
80
78
  shape: "circle" | "square";
81
79
  showStatus: boolean;
82
80
  showTooltip: boolean;
81
+ clickable: boolean;
83
82
  overflowClickable: boolean;
83
+ direction: "ltr" | "rtl";
84
84
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
85
85
  declare const _default: typeof __VLS_export;
86
86
  //#endregion
@@ -23,14 +23,14 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
23
23
  width: number;
24
24
  height: number;
25
25
  label: string;
26
- format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
27
26
  fontSize: number;
27
+ format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
28
28
  background: string;
29
29
  showBorder: boolean;
30
30
  showLabel: boolean;
31
- lineColor: string;
32
31
  showText: boolean;
33
32
  textPosition: "bottom" | "top";
33
+ lineColor: string;
34
34
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
35
35
  declare const _default: typeof __VLS_export;
36
36
  //#endregion
@@ -35,9 +35,9 @@ declare const __VLS_export: vue.DefineComponent<CaptchaProps, {
35
35
  onReset?: (() => any) | undefined;
36
36
  }>, {
37
37
  theme: "light" | "dark";
38
- disabled: boolean;
39
38
  triggerText: string;
40
39
  images: string[];
40
+ disabled: boolean;
41
41
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
42
42
  declare const _default: typeof __VLS_export;
43
43
  //#endregion
@@ -17,11 +17,11 @@ type __VLS_Props = {
17
17
  modelValue?: CascadeValue;
18
18
  };
19
19
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
20
- "update:modelValue": (value: CascadeValue) => any;
21
20
  change: (value: CascadeValue) => any;
21
+ "update:modelValue": (value: CascadeValue) => any;
22
22
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
23
- "onUpdate:modelValue"?: ((value: CascadeValue) => any) | undefined;
24
23
  onChange?: ((value: CascadeValue) => any) | undefined;
24
+ "onUpdate:modelValue"?: ((value: CascadeValue) => any) | undefined;
25
25
  }>, {
26
26
  placeholders: string[];
27
27
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -104,12 +104,12 @@ 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
108
  showContacts: boolean;
110
109
  showTimestamp: boolean;
111
110
  showSendBtn: boolean;
112
111
  loadingHistory: boolean;
112
+ title: string;
113
113
  contacts: ChatContact[];
114
114
  messages: ChatMessage[];
115
115
  currentContactId: 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
- "update:modelValue": (value: string) => any;
18
17
  change: (value: string) => any;
18
+ "update:modelValue": (value: string) => any;
19
19
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
20
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
21
20
  onChange?: ((value: string) => any) | undefined;
21
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
22
22
  }>, {
23
23
  placeholder: string;
24
24
  showLetters: boolean;
@@ -66,9 +66,9 @@ declare const __VLS_export: vue.DefineComponent<CalendarProps, CalendarExpose, {
66
66
  }) => any) | undefined;
67
67
  "onEvent-dropped"?: ((event: Partial<CalendarEvent>) => any) | undefined;
68
68
  }>, {
69
- events: CalendarEvent[];
70
69
  initialView: CalendarViewType;
71
70
  editable: boolean;
71
+ events: CalendarEvent[];
72
72
  showAddDialog: boolean;
73
73
  showEditDialog: boolean;
74
74
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -71,22 +71,22 @@ declare var __VLS_7: `header-${string}`, __VLS_8: {
71
71
  type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_7>]?: (props: typeof __VLS_8) => any } & { [K in NonNullable<typeof __VLS_16>]?: (props: typeof __VLS_17) => any } & { [K in NonNullable<typeof __VLS_31>]?: (props: typeof __VLS_32) => any };
72
72
  declare const __VLS_base: vue.DefineComponent<Props, CollapsePanelExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
73
73
  change: (activeKeys: string[]) => any;
74
- collapse: (key: string) => any;
75
- expand: (key: string) => any;
76
74
  "update:activeKeys": (keys: string[]) => any;
75
+ expand: (key: string) => any;
76
+ collapse: (key: string) => any;
77
77
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
78
78
  onChange?: ((activeKeys: string[]) => any) | undefined;
79
- onCollapse?: ((key: string) => any) | undefined;
80
- onExpand?: ((key: string) => any) | undefined;
81
79
  "onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
80
+ onExpand?: ((key: string) => any) | undefined;
81
+ onCollapse?: ((key: string) => any) | undefined;
82
82
  }>, {
83
83
  bordered: boolean;
84
- persistKey: string;
85
84
  activeKeys: string[];
86
85
  defaultActiveKeys: string[];
87
86
  accordion: boolean;
88
87
  variant: CollapsePanelVariant;
89
88
  expandIconPosition: ExpandIconPosition;
89
+ persistKey: string;
90
90
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
91
91
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
92
92
  declare const _default: typeof __VLS_export;
@@ -52,27 +52,27 @@ interface ImageCropperEmits {
52
52
  //#region src/components/C_ImageCropper/index.vue.d.ts
53
53
  declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
54
54
  ready: () => any;
55
- crop: (result: any) => any;
56
55
  error: (error: Event) => any;
57
- confirm: (result: any) => any;
58
56
  cancel: () => any;
57
+ confirm: (result: any) => any;
58
+ crop: (result: any) => any;
59
59
  }, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
60
60
  onReady?: (() => any) | undefined;
61
- onCrop?: ((result: any) => any) | undefined;
62
61
  onError?: ((error: Event) => any) | undefined;
63
- onConfirm?: ((result: any) => any) | undefined;
64
62
  onCancel?: (() => any) | undefined;
63
+ onConfirm?: ((result: any) => any) | undefined;
64
+ onCrop?: ((result: any) => any) | undefined;
65
65
  }>, {
66
+ disabled: boolean;
66
67
  height: string | number;
67
68
  showToolbar: boolean;
68
- disabled: boolean;
69
- src: string;
70
69
  aspectRatio: number;
70
+ showPreview: boolean;
71
+ src: string;
71
72
  outputFormat: CropOutputFormat;
72
73
  outputQuality: number;
73
74
  maxOutputWidth: number;
74
75
  maxOutputHeight: number;
75
- showPreview: boolean;
76
76
  circular: boolean;
77
77
  modal: boolean;
78
78
  modalTitle: string;
@@ -116,12 +116,20 @@ declare const __VLS_base: vue.DefineComponent<DraggableProps, {
116
116
  "onItem-remove"?: ((item: DraggableItem, index: number) => any) | undefined;
117
117
  "onList-change"?: ((list: DraggableItem[]) => any) | undefined;
118
118
  }>, {
119
+ direction: "vertical" | "horizontal";
119
120
  sort: boolean;
120
121
  disabled: boolean;
121
122
  modelValue: DraggableItem[];
123
+ delay: number;
124
+ layout: LayoutMode;
122
125
  group: string | GroupOptions;
126
+ alignItems: AlignItems;
127
+ flexWrap: boolean;
128
+ justifyContent: JustifyContent;
123
129
  animation: number;
124
- delay: number;
130
+ gap: string | number;
131
+ itemClass: string;
132
+ emptyText: string;
125
133
  handle: string;
126
134
  showHandle: boolean;
127
135
  ghostClass: string;
@@ -129,19 +137,11 @@ declare const __VLS_base: vue.DefineComponent<DraggableProps, {
129
137
  dragClass: string;
130
138
  wrapperClass: string;
131
139
  listClass: string;
132
- itemClass: string;
133
140
  showEmptyState: boolean;
134
- emptyText: string;
135
141
  swapThreshold: number;
136
142
  invertSwap: boolean;
137
- direction: "vertical" | "horizontal";
138
- layout: LayoutMode;
139
143
  gridColumns: number;
140
144
  gridRows: number;
141
- gap: string | number;
142
- flexWrap: boolean;
143
- justifyContent: JustifyContent;
144
- alignItems: AlignItems;
145
145
  customStyles: Record<string, string | number>;
146
146
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
147
147
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -1294,12 +1294,68 @@ declare const useDynamicFormState: () => {
1294
1294
  readonly value?: any;
1295
1295
  readonly placeholder?: string | undefined;
1296
1296
  readonly rules?: readonly {
1297
+ readonly max?: number | undefined;
1297
1298
  readonly type?: RuleType | undefined;
1298
1299
  readonly required?: boolean | undefined;
1299
- readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
1300
+ readonly options?: {
1301
+ readonly suppressWarning?: boolean | undefined;
1302
+ readonly suppressValidatorError?: boolean | undefined;
1303
+ readonly first?: boolean | undefined;
1304
+ readonly firstFields?: boolean | readonly string[] | undefined;
1305
+ readonly messages?: {
1306
+ readonly default?: (string | ((...args: unknown[]) => string)) | undefined;
1307
+ readonly required?: (string | ((args_0: string | undefined) => string)) | undefined;
1308
+ readonly enum?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
1309
+ readonly whitespace?: (string | ((args_0: string | undefined) => string)) | undefined;
1310
+ readonly date?: {
1311
+ readonly format?: (string | ((...args: unknown[]) => string)) | undefined;
1312
+ readonly parse?: (string | ((...args: unknown[]) => string)) | undefined;
1313
+ readonly invalid?: (string | ((...args: unknown[]) => string)) | undefined;
1314
+ } | undefined;
1315
+ readonly types?: {
1316
+ readonly string?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
1317
+ readonly method?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
1318
+ readonly array?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
1319
+ readonly object?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
1320
+ readonly number?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
1321
+ readonly date?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
1322
+ readonly boolean?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
1323
+ readonly integer?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
1324
+ readonly float?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
1325
+ readonly regexp?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
1326
+ readonly email?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
1327
+ readonly url?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
1328
+ readonly hex?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
1329
+ } | undefined;
1330
+ readonly string?: {
1331
+ readonly len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
1332
+ readonly min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
1333
+ readonly max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
1334
+ readonly range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
1335
+ } | undefined;
1336
+ readonly number?: {
1337
+ readonly len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
1338
+ readonly min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
1339
+ readonly max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
1340
+ readonly range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
1341
+ } | undefined;
1342
+ readonly array?: {
1343
+ readonly len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
1344
+ readonly min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
1345
+ readonly max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
1346
+ readonly range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
1347
+ } | undefined;
1348
+ readonly pattern?: {
1349
+ readonly mismatch?: (string | ((args_0: string | undefined, args_1: any, args_2: string | RegExp | undefined) => string)) | undefined;
1350
+ } | undefined;
1351
+ } | undefined;
1352
+ readonly keys?: readonly string[] | undefined;
1353
+ readonly error?: ((rule: InternalRuleItem, message: string) => ValidateError) | undefined;
1354
+ } | undefined;
1355
+ readonly trigger?: string | readonly string[] | undefined;
1300
1356
  readonly pattern?: (RegExp | string) | undefined;
1357
+ readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
1301
1358
  readonly min?: number | undefined;
1302
- readonly max?: number | undefined;
1303
1359
  readonly len?: number | undefined;
1304
1360
  readonly enum?: readonly (string | number | boolean | null | undefined)[] | undefined;
1305
1361
  readonly whitespace?: boolean | undefined;
@@ -1446,61 +1502,6 @@ declare const useDynamicFormState: () => {
1446
1502
  readonly validator?: ((rule: InternalRuleItem, value: Value, callback: (error?: string | Error) => void, source: Values, options: ValidateOption) => SyncValidateResult | void) | undefined;
1447
1503
  }[];
1448
1504
  } | undefined;
1449
- readonly options?: {
1450
- readonly suppressWarning?: boolean | undefined;
1451
- readonly suppressValidatorError?: boolean | undefined;
1452
- readonly first?: boolean | undefined;
1453
- readonly firstFields?: boolean | readonly string[] | undefined;
1454
- readonly messages?: {
1455
- readonly default?: (string | ((...args: unknown[]) => string)) | undefined;
1456
- readonly required?: (string | ((args_0: string | undefined) => string)) | undefined;
1457
- readonly enum?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
1458
- readonly whitespace?: (string | ((args_0: string | undefined) => string)) | undefined;
1459
- readonly date?: {
1460
- readonly format?: (string | ((...args: unknown[]) => string)) | undefined;
1461
- readonly parse?: (string | ((...args: unknown[]) => string)) | undefined;
1462
- readonly invalid?: (string | ((...args: unknown[]) => string)) | undefined;
1463
- } | undefined;
1464
- readonly types?: {
1465
- readonly string?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
1466
- readonly method?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
1467
- readonly array?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
1468
- readonly object?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
1469
- readonly number?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
1470
- readonly date?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
1471
- readonly boolean?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
1472
- readonly integer?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
1473
- readonly float?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
1474
- readonly regexp?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
1475
- readonly email?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
1476
- readonly url?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
1477
- readonly hex?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
1478
- } | undefined;
1479
- readonly string?: {
1480
- readonly len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
1481
- readonly min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
1482
- readonly max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
1483
- readonly range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
1484
- } | undefined;
1485
- readonly number?: {
1486
- readonly len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
1487
- readonly min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
1488
- readonly max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
1489
- readonly range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
1490
- } | undefined;
1491
- readonly array?: {
1492
- readonly len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
1493
- readonly min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
1494
- readonly max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
1495
- readonly range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
1496
- } | undefined;
1497
- readonly pattern?: {
1498
- readonly mismatch?: (string | ((args_0: string | undefined, args_1: any, args_2: string | RegExp | undefined) => string)) | undefined;
1499
- } | undefined;
1500
- } | undefined;
1501
- readonly keys?: readonly string[] | undefined;
1502
- readonly error?: ((rule: InternalRuleItem, message: string) => ValidateError) | undefined;
1503
- } | undefined;
1504
1505
  readonly defaultField?: {
1505
1506
  readonly type?: RuleType | undefined;
1506
1507
  readonly required?: boolean | undefined;
@@ -1929,7 +1930,6 @@ declare const useDynamicFormState: () => {
1929
1930
  readonly transform?: ((value: Value) => Value) | undefined;
1930
1931
  readonly message?: string | ((a?: string) => string) | undefined;
1931
1932
  readonly key?: string | undefined;
1932
- readonly trigger?: string | readonly string[] | undefined;
1933
1933
  readonly renderMessage?: (() => vue.VNodeChild) | undefined;
1934
1934
  readonly level?: "warning" | "error" | undefined;
1935
1935
  readonly validator: NonNullable<naive_ui0.FormItemRule["validator"]>;
@@ -3571,12 +3571,68 @@ declare const useDynamicFormState: () => {
3571
3571
  readonly span?: number | undefined;
3572
3572
  } | undefined;
3573
3573
  readonly rules?: readonly {
3574
+ readonly max?: number | undefined;
3574
3575
  readonly type?: RuleType | undefined;
3575
3576
  readonly required?: boolean | undefined;
3576
- readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
3577
+ readonly options?: {
3578
+ readonly suppressWarning?: boolean | undefined;
3579
+ readonly suppressValidatorError?: boolean | undefined;
3580
+ readonly first?: boolean | undefined;
3581
+ readonly firstFields?: boolean | readonly string[] | undefined;
3582
+ readonly messages?: {
3583
+ readonly default?: (string | ((...args: unknown[]) => string)) | undefined;
3584
+ readonly required?: (string | ((args_0: string | undefined) => string)) | undefined;
3585
+ readonly enum?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
3586
+ readonly whitespace?: (string | ((args_0: string | undefined) => string)) | undefined;
3587
+ readonly date?: {
3588
+ readonly format?: (string | ((...args: unknown[]) => string)) | undefined;
3589
+ readonly parse?: (string | ((...args: unknown[]) => string)) | undefined;
3590
+ readonly invalid?: (string | ((...args: unknown[]) => string)) | undefined;
3591
+ } | undefined;
3592
+ readonly types?: {
3593
+ readonly string?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
3594
+ readonly method?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
3595
+ readonly array?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
3596
+ readonly object?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
3597
+ readonly number?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
3598
+ readonly date?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
3599
+ readonly boolean?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
3600
+ readonly integer?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
3601
+ readonly float?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
3602
+ readonly regexp?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
3603
+ readonly email?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
3604
+ readonly url?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
3605
+ readonly hex?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
3606
+ } | undefined;
3607
+ readonly string?: {
3608
+ readonly len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
3609
+ readonly min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
3610
+ readonly max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
3611
+ readonly range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
3612
+ } | undefined;
3613
+ readonly number?: {
3614
+ readonly len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
3615
+ readonly min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
3616
+ readonly max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
3617
+ readonly range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
3618
+ } | undefined;
3619
+ readonly array?: {
3620
+ readonly len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
3621
+ readonly min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
3622
+ readonly max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
3623
+ readonly range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
3624
+ } | undefined;
3625
+ readonly pattern?: {
3626
+ readonly mismatch?: (string | ((args_0: string | undefined, args_1: any, args_2: string | RegExp | undefined) => string)) | undefined;
3627
+ } | undefined;
3628
+ } | undefined;
3629
+ readonly keys?: readonly string[] | undefined;
3630
+ readonly error?: ((rule: InternalRuleItem, message: string) => ValidateError) | undefined;
3631
+ } | undefined;
3632
+ readonly trigger?: string | readonly string[] | undefined;
3577
3633
  readonly pattern?: (RegExp | string) | undefined;
3634
+ readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
3578
3635
  readonly min?: number | undefined;
3579
- readonly max?: number | undefined;
3580
3636
  readonly len?: number | undefined;
3581
3637
  readonly enum?: readonly (string | number | boolean | null | undefined)[] | undefined;
3582
3638
  readonly whitespace?: boolean | undefined;
@@ -3723,61 +3779,6 @@ declare const useDynamicFormState: () => {
3723
3779
  readonly validator?: ((rule: InternalRuleItem, value: Value, callback: (error?: string | Error) => void, source: Values, options: ValidateOption) => SyncValidateResult | void) | undefined;
3724
3780
  }[];
3725
3781
  } | undefined;
3726
- readonly options?: {
3727
- readonly suppressWarning?: boolean | undefined;
3728
- readonly suppressValidatorError?: boolean | undefined;
3729
- readonly first?: boolean | undefined;
3730
- readonly firstFields?: boolean | readonly string[] | undefined;
3731
- readonly messages?: {
3732
- readonly default?: (string | ((...args: unknown[]) => string)) | undefined;
3733
- readonly required?: (string | ((args_0: string | undefined) => string)) | undefined;
3734
- readonly enum?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
3735
- readonly whitespace?: (string | ((args_0: string | undefined) => string)) | undefined;
3736
- readonly date?: {
3737
- readonly format?: (string | ((...args: unknown[]) => string)) | undefined;
3738
- readonly parse?: (string | ((...args: unknown[]) => string)) | undefined;
3739
- readonly invalid?: (string | ((...args: unknown[]) => string)) | undefined;
3740
- } | undefined;
3741
- readonly types?: {
3742
- readonly string?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
3743
- readonly method?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
3744
- readonly array?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
3745
- readonly object?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
3746
- readonly number?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
3747
- readonly date?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
3748
- readonly boolean?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
3749
- readonly integer?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
3750
- readonly float?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
3751
- readonly regexp?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
3752
- readonly email?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
3753
- readonly url?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
3754
- readonly hex?: (string | ((args_0: string | undefined, args_1: string | undefined) => string)) | undefined;
3755
- } | undefined;
3756
- readonly string?: {
3757
- readonly len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
3758
- readonly min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
3759
- readonly max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
3760
- readonly range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
3761
- } | undefined;
3762
- readonly number?: {
3763
- readonly len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
3764
- readonly min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
3765
- readonly max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
3766
- readonly range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
3767
- } | undefined;
3768
- readonly array?: {
3769
- readonly len?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
3770
- readonly min?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
3771
- readonly max?: (string | ((args_0: string | undefined, args_1: number | undefined) => string)) | undefined;
3772
- readonly range?: (string | ((args_0: string | undefined, args_1: number | undefined, args_2: number | undefined) => string)) | undefined;
3773
- } | undefined;
3774
- readonly pattern?: {
3775
- readonly mismatch?: (string | ((args_0: string | undefined, args_1: any, args_2: string | RegExp | undefined) => string)) | undefined;
3776
- } | undefined;
3777
- } | undefined;
3778
- readonly keys?: readonly string[] | undefined;
3779
- readonly error?: ((rule: InternalRuleItem, message: string) => ValidateError) | undefined;
3780
- } | undefined;
3781
3782
  readonly defaultField?: {
3782
3783
  readonly type?: RuleType | undefined;
3783
3784
  readonly required?: boolean | undefined;
@@ -4206,7 +4207,6 @@ declare const useDynamicFormState: () => {
4206
4207
  readonly transform?: ((value: Value) => Value) | undefined;
4207
4208
  readonly message?: string | ((a?: string) => string) | undefined;
4208
4209
  readonly key?: string | undefined;
4209
- readonly trigger?: string | readonly string[] | undefined;
4210
4210
  readonly renderMessage?: (() => vue.VNodeChild) | undefined;
4211
4211
  readonly level?: "warning" | "error" | undefined;
4212
4212
  readonly validator: NonNullable<naive_ui0.FormItemRule["validator"]>;
@@ -259,11 +259,11 @@ declare const __VLS_export: vue.DefineComponent<Props, {
259
259
  onReady?: ((graph: any) => any) | undefined;
260
260
  "onData-change"?: ((data: DiagramData) => any) | undefined;
261
261
  }>, {
262
+ theme: "light" | "dark";
262
263
  width: string | number;
263
264
  height: string | number;
264
265
  readonly: boolean;
265
266
  showToolbar: boolean;
266
- theme: "light" | "dark";
267
267
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
268
268
  declare const _default: typeof __VLS_export;
269
269
  //#endregion
@@ -50,8 +50,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
50
50
  openDialog: () => Promise<void>;
51
51
  closeDialog: () => void;
52
52
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<Props> & Readonly<{}>, {
53
- emptyText: string;
54
53
  placeholder: string;
54
+ emptyText: string;
55
55
  resultGroupTitle: string;
56
56
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
57
57
  declare const _default: typeof __VLS_export;
@@ -89,11 +89,11 @@ declare const __VLS_base: vue.DefineComponent<WaterFallProps, WaterFallExpose, {
89
89
  "onImage-loaded"?: ((item: WaterFallItem) => any) | undefined;
90
90
  "onImage-error"?: ((item: WaterFallItem) => any) | undefined;
91
91
  }>, {
92
- gap: number;
92
+ loading: boolean;
93
93
  animationDuration: number;
94
94
  columns: number;
95
+ gap: number;
95
96
  infinite: boolean;
96
- loading: boolean;
97
97
  lazy: boolean;
98
98
  skeleton: boolean;
99
99
  skeletonCount: number;
@@ -51,12 +51,12 @@ declare const __VLS_export: vue.DefineComponent<Props, QRCodeExpose, {}, {}, {},
51
51
  onError?: ((error: Error) => any) | undefined;
52
52
  }>, {
53
53
  size: number;
54
+ mode: RenderMode;
54
55
  label: string;
55
56
  color: string;
56
57
  margin: number;
57
58
  showBorder: boolean;
58
59
  showLabel: boolean;
59
- mode: RenderMode;
60
60
  bgColor: string;
61
61
  errorCorrectionLevel: ErrorCorrectionLevel;
62
62
  logo: LogoOptions;
@@ -55,12 +55,12 @@ declare const __VLS_export: vue.DefineComponent<Props, {
55
55
  cleanFn: () => void;
56
56
  changeFoldState: () => void;
57
57
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
58
- search: (params: SearchFormParams) => any;
59
58
  reset: () => any;
59
+ search: (params: SearchFormParams) => any;
60
60
  "change-params": (params: SearchFormParams) => any;
61
61
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
62
- onSearch?: ((params: SearchFormParams) => any) | undefined;
63
62
  onReset?: (() => any) | undefined;
63
+ onSearch?: ((params: SearchFormParams) => any) | undefined;
64
64
  "onChange-params"?: ((params: SearchFormParams) => any) | undefined;
65
65
  }>, {
66
66
  size: "small" | "medium" | "large";
@@ -91,27 +91,27 @@ interface SignatureEmits {
91
91
  //#endregion
92
92
  //#region src/components/C_Signature/index.vue.d.ts
93
93
  declare const __VLS_export: vue.DefineComponent<SignatureProps, SignatureExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
94
- clear: () => any;
95
94
  change: (data: SignatureStroke[]) => any;
95
+ clear: () => any;
96
96
  "start-draw": () => any;
97
97
  drawing: (point: SignaturePoint) => any;
98
98
  "end-draw": (stroke: SignatureStroke) => any;
99
99
  undo: () => any;
100
100
  redo: () => any;
101
101
  }, string, vue.PublicProps, Readonly<SignatureProps> & Readonly<{
102
- onClear?: (() => any) | undefined;
103
102
  onChange?: ((data: SignatureStroke[]) => any) | undefined;
103
+ onClear?: (() => any) | undefined;
104
104
  "onStart-draw"?: (() => any) | undefined;
105
105
  onDrawing?: ((point: SignaturePoint) => any) | undefined;
106
106
  "onEnd-draw"?: ((stroke: SignatureStroke) => any) | undefined;
107
107
  onUndo?: (() => any) | undefined;
108
108
  onRedo?: (() => any) | undefined;
109
109
  }>, {
110
+ disabled: boolean;
110
111
  width: number | string;
111
112
  height: number | string;
112
113
  readonly: boolean;
113
114
  showToolbar: boolean;
114
- disabled: boolean;
115
115
  maxHistory: number;
116
116
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
117
117
  declare const _default: typeof __VLS_export;
@@ -66,23 +66,23 @@ type __VLS_Slots = {} & {
66
66
  second?: (props: typeof __VLS_13) => any;
67
67
  };
68
68
  declare const __VLS_base: vue.DefineComponent<Props, SplitPaneExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
69
+ expand: (target: CollapseTarget) => any;
70
+ collapse: (target: CollapseTarget) => any;
71
+ resize: (firstSize: number, secondSize: number) => any;
69
72
  "drag-start": (size: number) => any;
70
73
  "drag-end": (size: number) => any;
71
- resize: (firstSize: number, secondSize: number) => any;
72
- collapse: (target: CollapseTarget) => any;
73
- expand: (target: CollapseTarget) => any;
74
74
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
75
+ onExpand?: ((target: CollapseTarget) => any) | undefined;
76
+ onCollapse?: ((target: CollapseTarget) => any) | undefined;
77
+ onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
75
78
  "onDrag-start"?: ((size: number) => any) | undefined;
76
79
  "onDrag-end"?: ((size: number) => any) | undefined;
77
- onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
78
- onCollapse?: ((target: CollapseTarget) => any) | undefined;
79
- onExpand?: ((target: CollapseTarget) => any) | undefined;
80
80
  }>, {
81
- disabled: boolean;
82
81
  direction: SplitDirection;
82
+ disabled: boolean;
83
83
  step: number;
84
- collapsible: boolean;
85
84
  maxSize: number;
85
+ collapsible: boolean;
86
86
  defaultSize: number;
87
87
  minSize: number;
88
88
  showCollapseButton: boolean;
@@ -48,12 +48,12 @@ declare const __VLS_export: vue.DefineComponent<TimeProps, TimeExpose, {}, {}, {
48
48
  "onChange-start"?: ((time: number | null) => any) | undefined;
49
49
  "onChange-end"?: ((time: number | null) => any) | undefined;
50
50
  }>, {
51
- placeholder: string;
52
- attrs: Record<string, any>;
53
- format: string;
54
51
  mode: TimeMode;
52
+ placeholder: string;
55
53
  startPlaceholder: string;
56
54
  endPlaceholder: string;
55
+ attrs: Record<string, any>;
56
+ format: string;
57
57
  useHours: boolean;
58
58
  useMinutes: boolean;
59
59
  useSeconds: boolean;
@@ -91,23 +91,23 @@ type __VLS_Slots = {} & {
91
91
  };
92
92
  declare const __VLS_base: vue.DefineComponent<TreeProps, TreeExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
93
93
  add: (parentNode?: TreeNodeData | undefined) => any;
94
+ refresh: () => any;
94
95
  "node-select": (node: TreeNodeData | null, selectedKeys: (string | number)[]) => any;
95
96
  "node-action": (action: string, node: TreeNodeData) => any;
96
97
  "node-drop": (info: DropInfo) => any;
97
- refresh: () => any;
98
98
  }, string, vue.PublicProps, Readonly<TreeProps> & Readonly<{
99
99
  onAdd?: ((parentNode?: TreeNodeData | undefined) => any) | undefined;
100
+ onRefresh?: (() => any) | undefined;
100
101
  "onNode-select"?: ((node: TreeNodeData | null, selectedKeys: (string | number)[]) => any) | undefined;
101
102
  "onNode-action"?: ((action: string, node: TreeNodeData) => any) | undefined;
102
103
  "onNode-drop"?: ((info: DropInfo) => any) | undefined;
103
- onRefresh?: (() => any) | undefined;
104
104
  }>, {
105
- showToolbar: boolean;
106
- draggable: boolean;
107
- actions: ActionConfig[];
108
105
  mode: TreeMode;
106
+ actions: ActionConfig[];
107
+ showToolbar: boolean;
109
108
  labelField: string;
110
109
  childrenField: string;
110
+ draggable: boolean;
111
111
  keyField: string;
112
112
  searchPattern: string;
113
113
  searchable: boolean;
@@ -237,22 +237,22 @@ declare const __VLS_export: vue.DefineComponent<WorkflowProps, {
237
237
  conditionNodes: number;
238
238
  }>;
239
239
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
240
- "update:modelValue": (value: WorkflowData) => any;
241
240
  change: (value: WorkflowData) => any;
241
+ "update:modelValue": (value: WorkflowData) => any;
242
242
  "validate-error": (errors: ValidationError[]) => any;
243
+ save: (data: WorkflowData) => any;
243
244
  "node-click": (node: WorkflowNode) => any;
244
245
  "edge-click": (edge: WorkflowEdge) => any;
245
- save: (data: WorkflowData) => any;
246
246
  }, string, vue.PublicProps, Readonly<WorkflowProps> & Readonly<{
247
- "onUpdate:modelValue"?: ((value: WorkflowData) => any) | undefined;
248
247
  onChange?: ((value: WorkflowData) => any) | undefined;
248
+ "onUpdate:modelValue"?: ((value: WorkflowData) => any) | undefined;
249
249
  "onValidate-error"?: ((errors: ValidationError[]) => any) | undefined;
250
+ onSave?: ((data: WorkflowData) => any) | undefined;
250
251
  "onNode-click"?: ((node: WorkflowNode) => any) | undefined;
251
252
  "onEdge-click"?: ((edge: WorkflowEdge) => any) | undefined;
252
- onSave?: ((data: WorkflowData) => any) | undefined;
253
253
  }>, {
254
- readonly: boolean;
255
254
  theme: "light" | "dark";
255
+ readonly: boolean;
256
256
  users: User[];
257
257
  roles: Role[];
258
258
  departments: Department[];
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.7.1",
6
+ "version": "0.7.2",
7
7
  "description": "基于 Naive UI 的 Vue 3 组件库",
8
8
  "type": "module",
9
9
  "main": "dist/index.cjs",