@robot-admin/naive-ui-components 0.6.24 → 0.6.26

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 (45) hide show
  1. package/dist/C_Signature.js.map +1 -1
  2. package/dist/C_Signature2.js.map +1 -1
  3. package/dist/C_Timeline-Dyz8kXos.css.map +1 -0
  4. package/dist/C_Timeline-sNlECAsx.css.map +1 -0
  5. package/dist/C_Timeline.css +52 -78
  6. package/dist/C_Timeline.js.map +1 -1
  7. package/dist/C_Timeline2.js +1 -1
  8. package/dist/C_Timeline2.js.map +1 -1
  9. package/dist/constants.d.ts +2 -2
  10. package/dist/constants2.d.ts +1 -1
  11. package/dist/constants3.d.ts +4 -4
  12. package/dist/constants4.d.ts +5 -5
  13. package/dist/index10.vue.d.ts +4 -4
  14. package/dist/index11.vue.d.ts +1 -1
  15. package/dist/index12.vue.d.ts +1 -1
  16. package/dist/index13.vue.d.ts +2 -2
  17. package/dist/index15.vue.d.ts +3 -3
  18. package/dist/index17.vue.d.ts +1 -1
  19. package/dist/index18.vue.d.ts +3 -3
  20. package/dist/index2.vue.d.ts +1 -1
  21. package/dist/index20.vue.d.ts +1 -1
  22. package/dist/index21.vue.d.ts +3 -3
  23. package/dist/index24.vue.d.ts +2 -2
  24. package/dist/index25.vue.d.ts +2 -2
  25. package/dist/index26.vue.d.ts +2 -2
  26. package/dist/index3.vue.d.ts +2 -2
  27. package/dist/index4.vue.d.ts +3 -3
  28. package/dist/index6.vue.d.ts +1 -1
  29. package/dist/style.css +53 -79
  30. package/dist/useCollapsePanel.d.ts +1 -1
  31. package/dist/useCropperCore.d.ts +7 -7
  32. package/dist/useDraggableLayout.d.ts +1 -1
  33. package/dist/useDynamicFormState.d.ts +12 -12
  34. package/dist/useEdgeInteraction.d.ts +1 -1
  35. package/dist/useFullscreen.d.ts +2 -2
  36. package/dist/useInfiniteScroll.d.ts +2 -2
  37. package/dist/useQRCode.d.ts +4 -4
  38. package/dist/useSignatureHistory.d.ts +3 -3
  39. package/dist/useSplitResize.d.ts +6 -6
  40. package/dist/useTimeSelection.d.ts +2 -2
  41. package/dist/useTreeOperations.d.ts +2 -2
  42. package/dist/useWorkflowValidation.d.ts +2 -2
  43. package/package.json +1 -1
  44. package/dist/C_Timeline-Cmn2NxVG.css.map +0 -1
  45. package/dist/C_Timeline-WYLx0DmS.css.map +0 -1
@@ -151,8 +151,8 @@ interface NotificationCenterExpose {
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
153
  delete: (ids: string[]) => any;
154
- itemClick: (message: NotificationMessage) => any;
155
154
  read: (ids: string[]) => any;
155
+ itemClick: (message: NotificationMessage) => any;
156
156
  allRead: (category?: NotificationCategory | undefined) => any;
157
157
  unreadChange: (count: number) => any;
158
158
  wsStatusChange: (status: string) => any;
@@ -160,19 +160,19 @@ declare const __VLS_export: vue.DefineComponent<NotificationCenterProps, Notific
160
160
  navigate: (url: string) => any;
161
161
  }, string, vue.PublicProps, Readonly<NotificationCenterProps> & Readonly<{
162
162
  onDelete?: ((ids: string[]) => any) | undefined;
163
- onItemClick?: ((message: NotificationMessage) => any) | undefined;
164
163
  onRead?: ((ids: string[]) => any) | undefined;
164
+ onItemClick?: ((message: NotificationMessage) => any) | undefined;
165
165
  onAllRead?: ((category?: NotificationCategory | undefined) => any) | undefined;
166
166
  onUnreadChange?: ((count: number) => any) | undefined;
167
167
  onWsStatusChange?: ((status: string) => any) | undefined;
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
@@ -196,31 +196,31 @@ type __VLS_Slots = {} & {
196
196
  area?: (props: typeof __VLS_11) => any;
197
197
  };
198
198
  declare const __VLS_base: vue.DefineComponent<UploadProps, UploadExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
199
+ error: (file: UploadFileItem, error: Error) => any;
199
200
  change: (fileList: UploadFileItem[]) => any;
200
201
  success: (file: UploadFileItem, response: any) => any;
201
- error: (file: UploadFileItem, error: Error) => any;
202
202
  progress: (file: UploadFileItem, percent: number) => any;
203
203
  remove: (file: UploadFileItem) => any;
204
204
  finish: (fileList: UploadFileItem[]) => any;
205
205
  exceed: (files: File[], fileList: UploadFileItem[]) => any;
206
206
  }, string, vue.PublicProps, Readonly<UploadProps> & Readonly<{
207
+ onError?: ((file: UploadFileItem, error: Error) => any) | undefined;
207
208
  onChange?: ((fileList: UploadFileItem[]) => any) | undefined;
208
209
  onSuccess?: ((file: UploadFileItem, response: any) => any) | undefined;
209
- onError?: ((file: UploadFileItem, error: Error) => any) | undefined;
210
210
  onProgress?: ((file: UploadFileItem, percent: number) => any) | undefined;
211
211
  onRemove?: ((file: UploadFileItem) => any) | undefined;
212
212
  onFinish?: ((fileList: UploadFileItem[]) => any) | undefined;
213
213
  onExceed?: ((files: File[], fileList: UploadFileItem[]) => any) | undefined;
214
214
  }>, {
215
215
  disabled: boolean;
216
- multiple: boolean;
217
- draggable: boolean;
218
216
  data: Record<string, any>;
217
+ draggable: boolean;
218
+ maxSize: number;
219
+ multiple: boolean;
219
220
  action: string;
220
221
  headers: Record<string, string>;
221
222
  directory: boolean;
222
223
  accept: string;
223
- maxSize: number;
224
224
  maxCount: number;
225
225
  pasteable: boolean;
226
226
  chunked: boolean;
@@ -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
- code: string;
38
37
  language: string;
38
+ wordWrap: boolean;
39
+ code: 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>;
@@ -75,8 +75,8 @@ declare const __VLS_export: vue.DefineComponent<ContextMenuProps, {
75
75
  }) => any) | undefined;
76
76
  onClose?: (() => any) | undefined;
77
77
  }>, {
78
- disabled: boolean;
79
78
  items: ContextMenuItem[];
79
+ disabled: boolean;
80
80
  zIndex: number;
81
81
  minWidth: number;
82
82
  maxWidth: number;
@@ -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
  placeholder: string;
42
43
  disabled: boolean;
43
- mode: DatePickerMode;
44
44
  startPlaceholder: string;
45
45
  endPlaceholder: string;
46
46
  disabledBeforeToday: boolean;
@@ -28,11 +28,11 @@ 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
+ theme: "light" | "dark";
31
33
  modelValue: string;
32
34
  placeholder: string;
33
35
  disabled: boolean;
34
- theme: "light" | "dark";
35
- height: number;
36
36
  readonly: boolean;
37
37
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
38
38
  declare const _default: typeof __VLS_export;
@@ -50,13 +50,13 @@ declare const __VLS_export: vue.DefineComponent<IconProps, {
50
50
  onLoad?: (() => any) | undefined;
51
51
  }>, {
52
52
  type: "iconify" | "unocss" | "component" | "svg" | "image";
53
- name: string | any;
54
53
  size: number | string;
55
54
  color: string;
56
- loading: boolean;
57
- flip: "horizontal" | "vertical" | "both";
58
55
  title: string;
56
+ loading: boolean;
59
57
  clickable: boolean;
58
+ flip: "horizontal" | "vertical" | "both";
59
+ name: string | any;
60
60
  svgPath: string;
61
61
  viewBox: string;
62
62
  alt: string;
@@ -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
- loading: boolean;
103
102
  title: string;
103
+ loading: boolean;
104
104
  storageKey: string;
105
105
  defaultUsername: string;
106
106
  defaultPassword: string;
@@ -58,12 +58,11 @@ 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;
62
+ mode: "edit" | "editable" | "preview";
61
63
  modelValue: string;
62
64
  placeholder: string;
63
65
  disabled: boolean;
64
- height: string | number;
65
- mode: "edit" | "editable" | "preview";
66
- isDark: boolean;
67
66
  tocNavPosition: "left" | "right";
68
67
  defaultFullscreen: boolean;
69
68
  autofocus: boolean;
@@ -74,6 +73,7 @@ declare const __VLS_export: vue.DefineComponent<Props, {
74
73
  showWordCount: boolean;
75
74
  autoSave: boolean;
76
75
  autoSaveInterval: number;
76
+ isDark: boolean;
77
77
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
78
78
  declare const _default: typeof __VLS_export;
79
79
  //#endregion
@@ -70,12 +70,12 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
70
70
  onEnded?: ((index: number) => any) | undefined;
71
71
  onModeChange?: ((mode: string) => any) | undefined;
72
72
  }>, {
73
- theme: "default" | "minimal";
74
73
  initialIndex: number;
75
74
  showPlaylist: boolean;
76
75
  showCover: boolean;
77
76
  autoplay: boolean;
78
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
@@ -34,12 +34,12 @@ 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";
38
37
  percentage: number | number[];
39
38
  isAnimation: boolean;
40
39
  time: number;
41
40
  indicatorPlacement: "inside" | "outside";
42
41
  showIndicator: boolean;
42
+ status: "default" | "success" | "error" | "warning" | "info";
43
43
  strokeWidth: number;
44
44
  unit: string;
45
45
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -18,15 +18,15 @@ type __VLS_Props = {
18
18
  connected?: boolean;
19
19
  };
20
20
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
21
- change: (args_0: number) => any;
22
21
  "update:current": (args_0: number) => any;
22
+ change: (args_0: number) => any;
23
23
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
24
- onChange?: ((args_0: number) => any) | undefined;
25
24
  "onUpdate:current"?: ((args_0: number) => any) | undefined;
25
+ onChange?: ((args_0: number) => any) | undefined;
26
26
  }>, {
27
27
  direction: "horizontal" | "vertical";
28
- clickable: boolean;
29
28
  current: number;
29
+ clickable: boolean;
30
30
  connected: boolean;
31
31
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
32
32
  declare const _default: typeof __VLS_export;
@@ -90,10 +90,10 @@ 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
- size: "small" | "medium" | "large";
95
93
  items: TimelineItem[];
94
+ reverse: boolean;
96
95
  mode: "vertical" | "horizontal";
96
+ size: "small" | "medium" | "large";
97
97
  pending: boolean;
98
98
  labelPlacement: "left" | "right" | "alternate";
99
99
  pendingText: string;
@@ -62,10 +62,10 @@ type __VLS_Props = {
62
62
  };
63
63
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
64
64
  "update:modelValue": (value: (string | number)[]) => any;
65
- change: (targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (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
67
  "onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
68
- onChange?: ((targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any) | undefined;
68
+ onChange?: ((targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any) | undefined;
69
69
  }>, {
70
70
  size: "small" | "medium" | "large";
71
71
  filterable: boolean;
@@ -647,10 +647,10 @@ 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";
651
- options: GanttOptions;
652
650
  height: string | number;
651
+ theme: "light" | "dark";
653
652
  title: string;
653
+ options: GanttOptions;
654
654
  data: GanttTask[];
655
655
  showToolbar: boolean;
656
656
  preset: GanttPreset;
@@ -73,13 +73,13 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
73
73
  onOverflowClick?: ((hiddenItems: AvatarItem[]) => any) | undefined;
74
74
  }>, {
75
75
  size: number;
76
- overlap: number;
77
76
  direction: "ltr" | "rtl";
77
+ clickable: boolean;
78
+ overlap: number;
78
79
  max: number;
79
80
  shape: "circle" | "square";
80
81
  showStatus: boolean;
81
82
  showTooltip: boolean;
82
- clickable: boolean;
83
83
  overflowClickable: boolean;
84
84
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
85
85
  declare const _default: typeof __VLS_export;
@@ -20,16 +20,16 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
20
20
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
21
21
  onError?: ((error: Error) => any) | undefined;
22
22
  }>, {
23
- label: string;
23
+ format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
24
24
  width: number;
25
25
  height: number;
26
- fontSize: number;
27
- format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
28
26
  showText: boolean;
27
+ fontSize: number;
29
28
  textPosition: "bottom" | "top";
30
29
  lineColor: string;
31
30
  background: string;
32
31
  showBorder: boolean;
32
+ label: string;
33
33
  showLabel: boolean;
34
34
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
35
35
  declare const _default: typeof __VLS_export;
@@ -34,8 +34,8 @@ declare const __VLS_export: vue.DefineComponent<CaptchaProps, {
34
34
  onReset?: (() => any) | undefined;
35
35
  onFail?: ((error: string) => any) | undefined;
36
36
  }>, {
37
- disabled: boolean;
38
37
  theme: "light" | "dark";
38
+ disabled: boolean;
39
39
  triggerText: string;
40
40
  images: string[];
41
41
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;