@robot-admin/naive-ui-components 0.6.4 → 0.6.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.
@@ -118,13 +118,13 @@ declare const __VLS_export: vue.DefineComponent<CronProps, {
118
118
  onChange?: ((value: string) => any) | undefined;
119
119
  "onValidation-change"?: ((result: CronValidation) => any) | undefined;
120
120
  }>, {
121
- height: string | number;
122
121
  modelValue: string;
123
122
  disabled: boolean;
124
123
  previewCount: number;
125
124
  showTemplates: boolean;
126
125
  showPreview: boolean;
127
126
  showSecond: boolean;
127
+ height: string | number;
128
128
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
129
129
  declare const _default: typeof __VLS_export;
130
130
  //#endregion
@@ -120,11 +120,11 @@ declare const __VLS_export: vue.DefineComponent<FormulaEditorProps, FormulaEdito
120
120
  onChange?: ((value: string) => any) | undefined;
121
121
  "onValidation-change"?: ((result: FormulaValidation) => any) | undefined;
122
122
  }>, {
123
- height: string | number;
124
123
  modelValue: string;
125
- placeholder: string;
126
124
  disabled: boolean;
127
125
  showPreview: boolean;
126
+ height: string | number;
127
+ placeholder: string;
128
128
  variables: FormulaVariable[];
129
129
  functions: FormulaFunction[];
130
130
  sampleData: Record<string, number | string | boolean>;
@@ -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,16 +160,16 @@ 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
- storageKey: string;
172
171
  pageSize: number;
172
+ storageKey: string;
173
173
  desktopNotification: boolean;
174
174
  maxBadgeCount: number;
175
175
  pollingInterval: number;
@@ -196,16 +196,16 @@ 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;
200
199
  change: (fileList: UploadFileItem[]) => any;
200
+ error: (file: UploadFileItem, error: Error) => any;
201
201
  success: (file: UploadFileItem, response: any) => 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;
208
207
  onChange?: ((fileList: UploadFileItem[]) => any) | undefined;
208
+ onError?: ((file: UploadFileItem, error: Error) => any) | undefined;
209
209
  onSuccess?: ((file: UploadFileItem, response: any) => any) | undefined;
210
210
  onProgress?: ((file: UploadFileItem, percent: number) => any) | undefined;
211
211
  onRemove?: ((file: UploadFileItem) => any) | undefined;
@@ -213,15 +213,15 @@ declare const __VLS_base: vue.DefineComponent<UploadProps, UploadExpose, {}, {},
213
213
  onExceed?: ((files: File[], fileList: UploadFileItem[]) => any) | undefined;
214
214
  }>, {
215
215
  disabled: boolean;
216
- multiple: boolean;
217
- data: Record<string, any>;
218
- draggable: boolean;
219
216
  maxSize: number;
220
217
  action: string;
221
218
  headers: Record<string, string>;
219
+ data: Record<string, any>;
220
+ multiple: boolean;
222
221
  directory: boolean;
223
222
  accept: string;
224
223
  maxCount: number;
224
+ draggable: boolean;
225
225
  pasteable: boolean;
226
226
  chunked: boolean;
227
227
  chunkSize: number;
@@ -260,10 +260,10 @@ type PlayerInstance = InstanceType<typeof xgplayer.default>;
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
262
  error: (error: Error) => any;
263
- ended: () => any;
264
263
  ready: () => any;
265
264
  stateChange: (state: PlayerState) => any;
266
265
  timeUpdate: (currentTime: number, duration: number) => any;
266
+ ended: () => any;
267
267
  qualityChange: (quality: QualityLevel) => any;
268
268
  rateChange: (rate: number) => any;
269
269
  fullscreenChange: (isFullscreen: boolean) => any;
@@ -273,10 +273,10 @@ declare const __VLS_export: vue.DefineComponent<VideoPlayerProps, VideoPlayerExp
273
273
  progressUpdate: (data: ProgressData) => any;
274
274
  }, string, vue.PublicProps, Readonly<VideoPlayerProps> & Readonly<{
275
275
  onError?: ((error: Error) => any) | undefined;
276
- onEnded?: (() => any) | undefined;
277
276
  onReady?: (() => any) | undefined;
278
277
  onStateChange?: ((state: PlayerState) => any) | undefined;
279
278
  onTimeUpdate?: ((currentTime: number, duration: number) => any) | undefined;
279
+ onEnded?: (() => any) | undefined;
280
280
  onQualityChange?: ((quality: QualityLevel) => any) | undefined;
281
281
  onRateChange?: ((rate: number) => any) | undefined;
282
282
  onFullscreenChange?: ((isFullscreen: boolean) => any) | undefined;
package/dist/data.d.ts CHANGED
@@ -23,8 +23,8 @@ 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
- zoom: number;
27
26
  center: [number, number];
27
+ zoom: number;
28
28
  markers: MapMarker$1[];
29
29
  amapKey: string;
30
30
  mapType: "osm" | "amap";
@@ -50,20 +50,20 @@ 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
- color: string;
56
- loading: boolean;
57
- flip: "horizontal" | "vertical" | "both";
58
- rotate: number;
54
+ name: string | any;
59
55
  title: string;
56
+ rotate: number;
57
+ clickable: boolean;
58
+ color: string;
60
59
  svgPath: string;
61
60
  viewBox: string;
62
61
  alt: string;
63
- clickable: boolean;
62
+ loading: boolean;
64
63
  fallbackIcon: string;
65
64
  ariaLabel: string;
66
65
  customClass: string;
66
+ flip: "horizontal" | "vertical" | "both";
67
67
  componentProps: Record<string, any>;
68
68
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
69
69
  declare const _default: typeof __VLS_export;
@@ -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
61
  modelValue: string;
63
- placeholder: string;
64
62
  disabled: boolean;
65
- autoSave: boolean;
63
+ height: string | number;
66
64
  mode: "edit" | "editable" | "preview";
65
+ placeholder: string;
67
66
  tocNavPosition: "left" | "right";
68
67
  defaultFullscreen: boolean;
69
68
  autofocus: boolean;
@@ -72,6 +71,7 @@ declare const __VLS_export: vue.DefineComponent<Props, {
72
71
  rightToolbar: string;
73
72
  maxLength: number;
74
73
  showWordCount: boolean;
74
+ autoSave: boolean;
75
75
  autoSaveInterval: number;
76
76
  isDark: boolean;
77
77
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -36,9 +36,9 @@ type __VLS_Slots = {} & {
36
36
  declare const __VLS_base: vue.DefineComponent<Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<Props> & Readonly<{}>, {
37
37
  status: "default" | "success" | "error" | "warning" | "info";
38
38
  strokeWidth: number;
39
- time: number;
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;
@@ -24,8 +24,8 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
24
24
  "onUpdate:current"?: ((args_0: number) => any) | undefined;
25
25
  }>, {
26
26
  direction: "horizontal" | "vertical";
27
- clickable: boolean;
28
27
  current: number;
28
+ clickable: boolean;
29
29
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
30
30
  declare const _default: typeof __VLS_export;
31
31
  //#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;
80
79
  homePath: string;
81
80
  homeTitle: string;
82
81
  homeIcon: string;
82
+ persistKey: string;
83
83
  contextMenuLabels: ContextMenuLabels;
84
84
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
85
85
  declare const _default: typeof __VLS_export;
@@ -648,11 +648,11 @@ declare const __VLS_export: vue.DefineComponent<Props, {
648
648
  onTaskChange?: ((task: GanttTask, changes: any) => any) | undefined;
649
649
  }>, {
650
650
  height: string | number;
651
- theme: "light" | "dark";
652
- options: GanttOptions;
653
651
  data: GanttTask[];
654
652
  title: string;
655
653
  showToolbar: boolean;
654
+ theme: "light" | "dark";
655
+ options: GanttOptions;
656
656
  preset: GanttPreset;
657
657
  showFullscreenButton: boolean;
658
658
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -20,17 +20,17 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
20
20
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
21
21
  onError?: ((error: Error) => any) | undefined;
22
22
  }>, {
23
- format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
24
- width: number;
25
23
  height: number;
26
- showText: boolean;
24
+ label: string;
25
+ width: number;
27
26
  fontSize: number;
28
- textPosition: "bottom" | "top";
29
- lineColor: string;
27
+ format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
30
28
  background: string;
31
29
  showBorder: boolean;
32
- label: string;
33
30
  showLabel: boolean;
31
+ showText: boolean;
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
@@ -19,19 +19,19 @@ declare const __VLS_export: vue.DefineComponent<CaptchaProps, {
19
19
  show: () => void;
20
20
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
21
21
  change: (valid: boolean) => any;
22
+ reset: () => any;
22
23
  success: (data: {
23
24
  token: string;
24
25
  timestamp: number;
25
26
  }) => any;
26
- reset: () => any;
27
27
  fail: (error: string) => any;
28
28
  }, string, vue.PublicProps, Readonly<CaptchaProps> & Readonly<{
29
29
  onChange?: ((valid: boolean) => any) | undefined;
30
+ onReset?: (() => any) | undefined;
30
31
  onSuccess?: ((data: {
31
32
  token: string;
32
33
  timestamp: number;
33
34
  }) => any) | undefined;
34
- onReset?: (() => any) | undefined;
35
35
  onFail?: ((error: string) => any) | undefined;
36
36
  }>, {
37
37
  disabled: 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
- wordWrap: boolean;
38
37
  code: string;
39
38
  language: string;
40
39
  showHeader: boolean;
41
40
  showLineNumbers: boolean;
41
+ wordWrap: boolean;
42
42
  showFullscreen: boolean;
43
43
  autoLoadLanguage: boolean;
44
44
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -39,9 +39,9 @@ declare const __VLS_export: vue.DefineComponent<Props, {
39
39
  "onUpdate:dateTimeRange"?: ((value: DateRangeValue) => any) | undefined;
40
40
  "onUpdate:smartRange"?: ((value: DateRangeValue) => any) | undefined;
41
41
  }>, {
42
- placeholder: string;
43
42
  disabled: boolean;
44
43
  mode: DatePickerMode;
44
+ placeholder: string;
45
45
  startPlaceholder: string;
46
46
  endPlaceholder: string;
47
47
  disabledBeforeToday: boolean;
@@ -28,12 +28,12 @@ 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
31
  modelValue: string;
33
- placeholder: string;
34
32
  disabled: boolean;
35
- theme: "light" | "dark";
33
+ height: number;
34
+ placeholder: string;
36
35
  readonly: boolean;
36
+ theme: "light" | "dark";
37
37
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
38
38
  declare const _default: typeof __VLS_export;
39
39
  //#endregion
@@ -66,8 +66,8 @@ declare const __VLS_export: vue.DefineComponent<CalendarProps, CalendarExpose, {
66
66
  }) => any) | undefined;
67
67
  "onEvent-dropped"?: ((event: Partial<CalendarEvent>) => any) | undefined;
68
68
  }>, {
69
- editable: boolean;
70
69
  initialView: CalendarViewType;
70
+ editable: boolean;
71
71
  events: CalendarEvent[];
72
72
  showAddDialog: boolean;
73
73
  showEditDialog: boolean;
@@ -70,21 +70,21 @@ type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_7>]?: (props: typeof __
70
70
  declare const __VLS_base: vue.DefineComponent<Props, CollapsePanelExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
71
71
  change: (activeKeys: string[]) => any;
72
72
  collapse: (key: string) => any;
73
- "update:activeKeys": (keys: string[]) => any;
74
73
  expand: (key: string) => any;
74
+ "update:activeKeys": (keys: string[]) => any;
75
75
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
76
76
  onChange?: ((activeKeys: string[]) => any) | undefined;
77
77
  onCollapse?: ((key: string) => any) | undefined;
78
- "onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
79
78
  onExpand?: ((key: string) => any) | undefined;
79
+ "onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
80
80
  }>, {
81
+ persistKey: string;
81
82
  bordered: boolean;
82
83
  activeKeys: string[];
83
84
  defaultActiveKeys: string[];
84
85
  accordion: boolean;
85
86
  variant: CollapsePanelVariant;
86
87
  expandIconPosition: ExpandIconPosition;
87
- persistKey: string;
88
88
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
89
89
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
90
90
  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
  error: (error: Event) => any;
55
- cancel: () => any;
56
- ready: () => any;
57
55
  crop: (result: any) => any;
56
+ ready: () => any;
58
57
  confirm: (result: any) => any;
58
+ cancel: () => any;
59
59
  }, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
60
60
  onError?: ((error: Event) => any) | undefined;
61
- onCancel?: (() => any) | undefined;
62
- onReady?: (() => any) | undefined;
63
61
  onCrop?: ((result: any) => any) | undefined;
62
+ onReady?: (() => any) | undefined;
64
63
  onConfirm?: ((result: any) => any) | undefined;
64
+ onCancel?: (() => any) | undefined;
65
65
  }>, {
66
- height: string | number;
67
66
  disabled: boolean;
68
- aspectRatio: number;
69
67
  showPreview: boolean;
70
- showToolbar: boolean;
68
+ height: string | number;
71
69
  src: string;
70
+ aspectRatio: number;
72
71
  outputFormat: CropOutputFormat;
73
72
  outputQuality: number;
74
73
  maxOutputWidth: number;
75
74
  maxOutputHeight: number;
75
+ showToolbar: boolean;
76
76
  circular: boolean;
77
77
  modal: boolean;
78
78
  modalTitle: string;
@@ -116,19 +116,13 @@ 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
- sort: boolean;
120
119
  modelValue: DraggableItem[];
121
120
  disabled: boolean;
122
- delay: number;
123
- layout: LayoutMode;
124
- group: string | GroupOptions;
125
- alignItems: AlignItems;
121
+ sort: boolean;
126
122
  direction: "vertical" | "horizontal";
127
- flexWrap: boolean;
128
- justifyContent: JustifyContent;
123
+ group: string | GroupOptions;
129
124
  animation: number;
130
- gap: string | number;
131
- itemClass: string;
125
+ delay: number;
132
126
  handle: string;
133
127
  showHandle: boolean;
134
128
  ghostClass: string;
@@ -136,12 +130,18 @@ declare const __VLS_base: vue.DefineComponent<DraggableProps, {
136
130
  dragClass: string;
137
131
  wrapperClass: string;
138
132
  listClass: string;
133
+ itemClass: string;
139
134
  showEmptyState: boolean;
140
135
  emptyText: string;
141
136
  swapThreshold: number;
142
137
  invertSwap: boolean;
138
+ layout: LayoutMode;
143
139
  gridColumns: number;
144
140
  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>;
@@ -429,14 +429,14 @@ declare const __VLS_base: vue.DefineComponent<CFormProps, {
429
429
  shouldShowDefaultActions: vue.ComputedRef<boolean>;
430
430
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
431
431
  "update:modelValue": (model: Record<string, any>) => any;
432
+ "validate-error": (errors: unknown) => any;
432
433
  submit: (payload: SubmitEventPayload) => any;
433
434
  "validate-success": (model: Record<string, any>) => any;
434
- "validate-error": (errors: unknown) => any;
435
435
  }, string, vue.PublicProps, Readonly<CFormProps> & Readonly<{
436
436
  "onUpdate:modelValue"?: ((model: Record<string, any>) => any) | undefined;
437
+ "onValidate-error"?: ((errors: unknown) => any) | undefined;
437
438
  onSubmit?: ((payload: SubmitEventPayload) => any) | undefined;
438
439
  "onValidate-success"?: ((model: Record<string, any>) => any) | undefined;
439
- "onValidate-error"?: ((errors: unknown) => any) | undefined;
440
440
  }>, {
441
441
  config: FormConfig;
442
442
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -1296,6 +1296,7 @@ declare const useDynamicFormState: () => {
1296
1296
  readonly rules?: readonly {
1297
1297
  readonly type?: RuleType | undefined;
1298
1298
  readonly required?: boolean | undefined;
1299
+ readonly message?: string | ((a?: string) => string) | undefined;
1299
1300
  readonly options?: {
1300
1301
  readonly suppressWarning?: boolean | undefined;
1301
1302
  readonly suppressValidatorError?: boolean | undefined;
@@ -1353,6 +1354,7 @@ declare const useDynamicFormState: () => {
1353
1354
  } | undefined;
1354
1355
  readonly trigger?: string | readonly string[] | undefined;
1355
1356
  readonly pattern?: (RegExp | string) | undefined;
1357
+ readonly key?: string | undefined;
1356
1358
  readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
1357
1359
  readonly min?: number | undefined;
1358
1360
  readonly max?: number | undefined;
@@ -1928,8 +1930,6 @@ declare const useDynamicFormState: () => {
1928
1930
  readonly validator?: ((rule: InternalRuleItem, value: Value, callback: (error?: string | Error) => void, source: Values, options: ValidateOption) => SyncValidateResult | void) | undefined;
1929
1931
  }[] | undefined;
1930
1932
  readonly transform?: ((value: Value) => Value) | undefined;
1931
- readonly message?: string | ((a?: string) => string) | undefined;
1932
- readonly key?: 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"]>;
@@ -3573,6 +3573,7 @@ declare const useDynamicFormState: () => {
3573
3573
  readonly rules?: readonly {
3574
3574
  readonly type?: RuleType | undefined;
3575
3575
  readonly required?: boolean | undefined;
3576
+ readonly message?: string | ((a?: string) => string) | undefined;
3576
3577
  readonly options?: {
3577
3578
  readonly suppressWarning?: boolean | undefined;
3578
3579
  readonly suppressValidatorError?: boolean | undefined;
@@ -3630,6 +3631,7 @@ declare const useDynamicFormState: () => {
3630
3631
  } | undefined;
3631
3632
  readonly trigger?: string | readonly string[] | undefined;
3632
3633
  readonly pattern?: (RegExp | string) | undefined;
3634
+ readonly key?: string | undefined;
3633
3635
  readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
3634
3636
  readonly min?: number | undefined;
3635
3637
  readonly max?: number | undefined;
@@ -4205,8 +4207,6 @@ declare const useDynamicFormState: () => {
4205
4207
  readonly validator?: ((rule: InternalRuleItem, value: Value, callback: (error?: string | Error) => void, source: Values, options: ValidateOption) => SyncValidateResult | void) | undefined;
4206
4208
  }[] | undefined;
4207
4209
  readonly transform?: ((value: Value) => Value) | undefined;
4208
- readonly message?: string | ((a?: string) => string) | undefined;
4209
- readonly key?: 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
- width: string | number;
263
262
  height: string | number;
264
- theme: "light" | "dark";
265
- readonly: boolean;
266
263
  showToolbar: boolean;
264
+ readonly: boolean;
265
+ theme: "light" | "dark";
266
+ width: string | number;
267
267
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
268
268
  declare const _default: typeof __VLS_export;
269
269
  //#endregion
@@ -89,14 +89,14 @@ 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
93
  loading: boolean;
93
- animationDuration: number;
94
94
  columns: number;
95
- gap: number;
96
- infinite: boolean;
97
95
  lazy: boolean;
96
+ infinite: boolean;
98
97
  skeleton: boolean;
99
98
  skeletonCount: number;
99
+ animationDuration: number;
100
100
  breakpoints: WaterFallBreakpoint[];
101
101
  noMore: boolean;
102
102
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -50,13 +50,13 @@ declare const __VLS_export: vue.DefineComponent<Props, QRCodeExpose, {}, {}, {},
50
50
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
51
51
  onError?: ((error: Error) => any) | undefined;
52
52
  }>, {
53
- showBorder: boolean;
54
- label: string;
55
- showLabel: boolean;
53
+ mode: RenderMode;
56
54
  size: number;
55
+ label: string;
57
56
  color: string;
58
57
  margin: number;
59
- mode: RenderMode;
58
+ showBorder: boolean;
59
+ showLabel: boolean;
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";
@@ -107,11 +107,11 @@ declare const __VLS_export: vue.DefineComponent<SignatureProps, SignatureExpose,
107
107
  onUndo?: (() => any) | undefined;
108
108
  onRedo?: (() => any) | undefined;
109
109
  }>, {
110
- width: number | string;
111
- height: number | string;
112
110
  disabled: boolean;
113
- readonly: boolean;
111
+ height: number | string;
114
112
  showToolbar: boolean;
113
+ readonly: boolean;
114
+ width: number | string;
115
115
  maxHistory: number;
116
116
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
117
117
  declare const _default: typeof __VLS_export;
@@ -80,8 +80,8 @@ declare const __VLS_base: vue.DefineComponent<Props, SplitPaneExpose, {}, {}, {}
80
80
  }>, {
81
81
  disabled: boolean;
82
82
  step: number;
83
- direction: SplitDirection;
84
83
  defaultSize: number;
84
+ direction: SplitDirection;
85
85
  minSize: number;
86
86
  maxSize: number;
87
87
  collapsible: 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
- format: string;
52
- placeholder: string;
53
- attrs: Record<string, any>;
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;
@@ -102,23 +102,23 @@ declare const __VLS_base: vue.DefineComponent<TreeProps, TreeExpose, {}, {}, {},
102
102
  "onNode-drop"?: ((info: DropInfo) => any) | undefined;
103
103
  onRefresh?: (() => any) | undefined;
104
104
  }>, {
105
+ mode: TreeMode;
106
+ draggable: boolean;
107
+ showToolbar: boolean;
105
108
  labelField: string;
106
109
  childrenField: string;
107
- mode: TreeMode;
110
+ actions: ActionConfig[];
108
111
  keyField: string;
109
112
  searchPattern: string;
110
113
  searchable: boolean;
111
114
  searchPlaceholder: string;
112
- draggable: boolean;
113
115
  showLine: boolean;
114
- showToolbar: boolean;
115
116
  addable: boolean;
116
117
  addText: string;
117
118
  refreshable: boolean;
118
119
  iconField: string;
119
120
  iconConfig: IconConfig;
120
121
  statusConfigs: StatusConfig[];
121
- actions: ActionConfig[];
122
122
  defaultExpandAll: boolean;
123
123
  defaultExpandedKeys: (string | number)[];
124
124
  defaultSelectedKeys: (string | number)[];
@@ -239,20 +239,20 @@ declare const __VLS_export: vue.DefineComponent<WorkflowProps, {
239
239
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
240
240
  "update:modelValue": (value: WorkflowData) => any;
241
241
  change: (value: WorkflowData) => any;
242
- "validate-error": (errors: ValidationError[]) => any;
243
- save: (data: WorkflowData) => any;
244
242
  "node-click": (node: WorkflowNode) => any;
245
243
  "edge-click": (edge: WorkflowEdge) => any;
244
+ save: (data: WorkflowData) => any;
245
+ "validate-error": (errors: ValidationError[]) => any;
246
246
  }, string, vue.PublicProps, Readonly<WorkflowProps> & Readonly<{
247
247
  "onUpdate:modelValue"?: ((value: WorkflowData) => any) | undefined;
248
248
  onChange?: ((value: WorkflowData) => any) | undefined;
249
- "onValidate-error"?: ((errors: ValidationError[]) => any) | undefined;
250
- onSave?: ((data: WorkflowData) => any) | undefined;
251
249
  "onNode-click"?: ((node: WorkflowNode) => any) | undefined;
252
250
  "onEdge-click"?: ((edge: WorkflowEdge) => any) | undefined;
251
+ onSave?: ((data: WorkflowData) => any) | undefined;
252
+ "onValidate-error"?: ((errors: ValidationError[]) => any) | undefined;
253
253
  }>, {
254
- theme: "light" | "dark";
255
254
  readonly: boolean;
255
+ theme: "light" | "dark";
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.6.4",
6
+ "version": "0.6.5",
7
7
  "description": "基于 Naive UI 的 Vue 3 组件库",
8
8
  "type": "module",
9
9
  "main": "dist/index.cjs",