@robot-admin/naive-ui-components 0.6.7 → 0.6.10

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 (47) hide show
  1. package/dist/{C_Breadcrumb-B5PGpP5m.css.map → C_Breadcrumb-BiH0d9AI.css.map} +1 -1
  2. package/dist/{C_Breadcrumb-Cay7qluL.css.map → C_Breadcrumb-Bqqrl8nX.css.map} +1 -1
  3. package/dist/C_Breadcrumb.css +8 -2
  4. package/dist/C_Breadcrumb.js.map +1 -1
  5. package/dist/C_Breadcrumb2.js.map +1 -1
  6. package/dist/C_Icon.js.map +1 -1
  7. package/dist/C_Icon2.js +1 -1
  8. package/dist/C_Icon2.js.map +1 -1
  9. package/dist/C_Language.js.map +1 -1
  10. package/dist/C_Language2.js +1 -1
  11. package/dist/C_Language2.js.map +1 -1
  12. package/dist/constants.d.ts +2 -2
  13. package/dist/constants2.d.ts +2 -2
  14. package/dist/constants3.d.ts +2 -2
  15. package/dist/constants4.d.ts +3 -3
  16. package/dist/constants5.d.ts +2 -2
  17. package/dist/data.d.ts +2 -2
  18. package/dist/index.vue.d.ts +1 -1
  19. package/dist/index11.vue.d.ts +6 -6
  20. package/dist/index12.vue.d.ts +3 -1
  21. package/dist/index13.vue.d.ts +3 -3
  22. package/dist/index15.vue.d.ts +2 -2
  23. package/dist/index16.vue.d.ts +1 -1
  24. package/dist/index19.vue.d.ts +3 -3
  25. package/dist/index2.vue.d.ts +2 -2
  26. package/dist/index4.vue.d.ts +2 -2
  27. package/dist/index7.vue.d.ts +1 -1
  28. package/dist/index8.vue.d.ts +1 -1
  29. package/dist/index9.vue.d.ts +3 -3
  30. package/dist/style.css +9 -3
  31. package/dist/useCalendarEvents.d.ts +1 -1
  32. package/dist/useCollapsePanel.d.ts +1 -1
  33. package/dist/useCropperCore.d.ts +7 -7
  34. package/dist/useDraggableLayout.d.ts +1 -1
  35. package/dist/useDynamicFormState.d.ts +10 -10
  36. package/dist/useEdgeInteraction.d.ts +3 -3
  37. package/dist/useFullscreen.d.ts +2 -2
  38. package/dist/useInfiniteScroll.d.ts +2 -2
  39. package/dist/useModalEdit.d.ts +4 -4
  40. package/dist/useQRCode.d.ts +2 -2
  41. package/dist/useSearchState.d.ts +3 -3
  42. package/dist/useSignatureHistory.d.ts +3 -3
  43. package/dist/useSplitResize.d.ts +6 -6
  44. package/dist/useTimeSelection.d.ts +2 -2
  45. package/dist/useTreeOperations.d.ts +5 -5
  46. package/dist/useWorkflowValidation.d.ts +3 -3
  47. package/package.json +1 -1
@@ -33,12 +33,12 @@ declare const __VLS_export: vue.DefineComponent<Props, {
33
33
  onClick?: ((event: MouseEvent) => any) | undefined;
34
34
  onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
35
35
  }>, {
36
+ trim: boolean;
36
37
  code: string;
37
38
  language: string;
38
39
  showHeader: boolean;
39
40
  showLineNumbers: boolean;
40
41
  wordWrap: boolean;
41
- trim: 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;
42
43
  disabled: boolean;
43
44
  mode: DatePickerMode;
44
- placeholder: string;
45
45
  startPlaceholder: string;
46
46
  endPlaceholder: string;
47
47
  disabledBeforeToday: boolean;
@@ -29,11 +29,11 @@ declare const __VLS_export: vue.DefineComponent<Props, {
29
29
  "onEditor-change"?: ((html: string) => any) | undefined;
30
30
  }>, {
31
31
  modelValue: string;
32
- disabled: boolean;
33
32
  height: number;
34
- readonly: boolean;
35
- theme: "light" | "dark";
36
33
  placeholder: string;
34
+ disabled: boolean;
35
+ theme: "light" | "dark";
36
+ readonly: boolean;
37
37
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
38
38
  declare const _default: typeof __VLS_export;
39
39
  //#endregion
package/dist/style.css CHANGED
@@ -655,7 +655,7 @@ html.dark .action-divider[data-v-f5b5f258]:hover {
655
655
 
656
656
  /*# sourceMappingURL=C_Barcode-DYDRDe2O.css.map*/
657
657
 
658
- /* --- C_Breadcrumb-B5PGpP5m.css --- */
658
+ /* --- C_Breadcrumb-BiH0d9AI.css --- */
659
659
  /* unplugin-vue-components disabled */.c-breadcrumb {
660
660
  --c-breadcrumb-icon-size: 16px;
661
661
  --c-breadcrumb-gap: 4px;
@@ -675,12 +675,18 @@ html.dark .action-divider[data-v-f5b5f258]:hover {
675
675
  .c-breadcrumb .c-icon {
676
676
  flex-shrink: 0;
677
677
  }
678
- .c-breadcrumb .n-breadcrumb-item__separator {
678
+ .c-breadcrumb .n-breadcrumb-item {
679
+ display: inline-flex !important;
680
+ align-items: center;
681
+ }
682
+ .c-breadcrumb .n-breadcrumb-item .n-breadcrumb-item__separator {
679
683
  display: inline-flex;
680
684
  align-items: center;
685
+ line-height: 1;
686
+ margin-top: -4px;
681
687
  }
682
688
 
683
- /*# sourceMappingURL=C_Breadcrumb-B5PGpP5m.css.map*/
689
+ /*# sourceMappingURL=C_Breadcrumb-BiH0d9AI.css.map*/
684
690
 
685
691
  /* --- C_Captcha-9_hk6VmY.css --- */
686
692
  /* unplugin-vue-components disabled */.c-captcha-modern[data-v-a4319836] {
@@ -67,8 +67,8 @@ declare const __VLS_export: vue.DefineComponent<CalendarProps, CalendarExpose, {
67
67
  "onEvent-dropped"?: ((event: Partial<CalendarEvent>) => any) | undefined;
68
68
  }>, {
69
69
  editable: boolean;
70
- initialView: CalendarViewType;
71
70
  events: CalendarEvent[];
71
+ initialView: CalendarViewType;
72
72
  showAddDialog: boolean;
73
73
  showEditDialog: boolean;
74
74
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -78,12 +78,12 @@ declare const __VLS_base: vue.DefineComponent<Props, CollapsePanelExpose, {}, {}
78
78
  onExpand?: ((key: string) => any) | undefined;
79
79
  onCollapse?: ((key: string) => any) | undefined;
80
80
  }>, {
81
+ bordered: boolean;
81
82
  activeKeys: string[];
82
83
  defaultActiveKeys: string[];
83
84
  accordion: boolean;
84
85
  variant: CollapsePanelVariant;
85
86
  expandIconPosition: ExpandIconPosition;
86
- bordered: boolean;
87
87
  persistKey: string;
88
88
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
89
89
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -51,28 +51,28 @@ interface ImageCropperEmits {
51
51
  //#endregion
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
- ready: () => any;
55
54
  error: (error: Event) => any;
56
- cancel: () => any;
55
+ ready: () => any;
57
56
  crop: (result: any) => any;
58
57
  confirm: (result: any) => any;
58
+ cancel: () => any;
59
59
  }, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
60
- onReady?: (() => any) | undefined;
61
60
  onError?: ((error: Event) => any) | undefined;
62
- onCancel?: (() => any) | undefined;
61
+ onReady?: (() => any) | undefined;
63
62
  onCrop?: ((result: any) => any) | undefined;
64
63
  onConfirm?: ((result: any) => any) | undefined;
64
+ onCancel?: (() => any) | undefined;
65
65
  }>, {
66
- disabled: boolean;
67
- showPreview: boolean;
68
66
  height: string | number;
69
- showToolbar: boolean;
67
+ disabled: boolean;
70
68
  src: string;
71
69
  aspectRatio: number;
72
70
  outputFormat: CropOutputFormat;
73
71
  outputQuality: number;
74
72
  maxOutputWidth: number;
75
73
  maxOutputHeight: number;
74
+ showPreview: boolean;
75
+ showToolbar: boolean;
76
76
  circular: boolean;
77
77
  modal: boolean;
78
78
  modalTitle: string;
@@ -119,10 +119,10 @@ declare const __VLS_base: vue.DefineComponent<DraggableProps, {
119
119
  sort: boolean;
120
120
  modelValue: DraggableItem[];
121
121
  disabled: boolean;
122
+ delay: number;
122
123
  direction: "vertical" | "horizontal";
123
124
  group: string | GroupOptions;
124
125
  animation: number;
125
- delay: number;
126
126
  handle: string;
127
127
  showHandle: boolean;
128
128
  ghostClass: string;
@@ -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;
433
432
  submit: (payload: SubmitEventPayload) => any;
434
433
  "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;
438
437
  onSubmit?: ((payload: SubmitEventPayload) => any) | undefined;
439
438
  "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>;
@@ -1351,12 +1351,10 @@ declare const useDynamicFormState: () => {
1351
1351
  readonly keys?: readonly string[] | undefined;
1352
1352
  readonly error?: ((rule: InternalRuleItem, message: string) => ValidateError) | undefined;
1353
1353
  } | undefined;
1354
- readonly level?: "warning" | "error" | undefined;
1355
- readonly key?: string | undefined;
1356
1354
  readonly trigger?: string | readonly string[] | undefined;
1357
- readonly message?: string | ((a?: string) => string) | undefined;
1358
- readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
1359
1355
  readonly pattern?: (RegExp | string) | undefined;
1356
+ readonly key?: string | undefined;
1357
+ readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
1360
1358
  readonly min?: number | undefined;
1361
1359
  readonly max?: number | undefined;
1362
1360
  readonly len?: number | undefined;
@@ -1931,7 +1929,9 @@ declare const useDynamicFormState: () => {
1931
1929
  readonly validator?: ((rule: InternalRuleItem, value: Value, callback: (error?: string | Error) => void, source: Values, options: ValidateOption) => SyncValidateResult | void) | undefined;
1932
1930
  }[] | undefined;
1933
1931
  readonly transform?: ((value: Value) => Value) | undefined;
1932
+ readonly message?: string | ((a?: string) => string) | undefined;
1934
1933
  readonly renderMessage?: (() => vue.VNodeChild) | undefined;
1934
+ readonly level?: "warning" | "error" | undefined;
1935
1935
  readonly validator: NonNullable<naive_ui0.FormItemRule["validator"]>;
1936
1936
  }[] | undefined;
1937
1937
  readonly attrs?: {
@@ -3628,12 +3628,10 @@ declare const useDynamicFormState: () => {
3628
3628
  readonly keys?: readonly string[] | undefined;
3629
3629
  readonly error?: ((rule: InternalRuleItem, message: string) => ValidateError) | undefined;
3630
3630
  } | undefined;
3631
- readonly level?: "warning" | "error" | undefined;
3632
- readonly key?: string | undefined;
3633
3631
  readonly trigger?: string | readonly string[] | undefined;
3634
- readonly message?: string | ((a?: string) => string) | undefined;
3635
- readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
3636
3632
  readonly pattern?: (RegExp | string) | undefined;
3633
+ readonly key?: string | undefined;
3634
+ readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
3637
3635
  readonly min?: number | undefined;
3638
3636
  readonly max?: number | undefined;
3639
3637
  readonly len?: number | undefined;
@@ -4208,7 +4206,9 @@ declare const useDynamicFormState: () => {
4208
4206
  readonly validator?: ((rule: InternalRuleItem, value: Value, callback: (error?: string | Error) => void, source: Values, options: ValidateOption) => SyncValidateResult | void) | undefined;
4209
4207
  }[] | undefined;
4210
4208
  readonly transform?: ((value: Value) => Value) | undefined;
4209
+ readonly message?: string | ((a?: string) => string) | undefined;
4211
4210
  readonly renderMessage?: (() => vue.VNodeChild) | undefined;
4211
+ readonly level?: "warning" | "error" | undefined;
4212
4212
  readonly validator: NonNullable<naive_ui0.FormItemRule["validator"]>;
4213
4213
  }[] | undefined;
4214
4214
  }[];
@@ -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
- height: string | number;
263
262
  width: string | number;
264
- readonly: boolean;
265
- showToolbar: boolean;
263
+ height: string | number;
266
264
  theme: "light" | "dark";
265
+ showToolbar: boolean;
266
+ readonly: boolean;
267
267
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
268
268
  declare const _default: typeof __VLS_export;
269
269
  //#endregion
@@ -9,11 +9,11 @@ type __VLS_Props = {
9
9
  autoPreview?: boolean;
10
10
  };
11
11
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
12
- preview: (file: string | File) => any;
13
12
  download: (file: string | File) => any;
13
+ preview: (file: string | File) => any;
14
14
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
15
- onPreview?: ((file: string | File) => any) | undefined;
16
15
  onDownload?: ((file: string | File) => any) | undefined;
16
+ onPreview?: ((file: string | File) => any) | undefined;
17
17
  }>, {
18
18
  fileName: string;
19
19
  autoPreview: boolean;
@@ -89,9 +89,9 @@ 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
- columns: number;
93
- gap: number;
94
92
  loading: boolean;
93
+ gap: number;
94
+ columns: number;
95
95
  lazy: boolean;
96
96
  infinite: boolean;
97
97
  skeleton: boolean;
@@ -590,6 +590,8 @@ declare const __VLS_base: vue.DefineComponent<__VLS_Props, {
590
590
  clearAllSelections(): void;
591
591
  };
592
592
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
593
+ cancel: (rowData: DataRecord, rowIndex: number) => any;
594
+ save: (rowData: DataRecord, rowIndex: number, columnKey?: string | undefined) => any;
593
595
  "pagination-change": (...args: unknown[]) => any;
594
596
  "row-delete": (...args: unknown[]) => any;
595
597
  "expand-change": (expandedKeys: DataTableRowKey$1[], row?: DataRecord | undefined, expanded?: boolean | undefined) => any;
@@ -597,8 +599,6 @@ declare const __VLS_base: vue.DefineComponent<__VLS_Props, {
597
599
  "child-selection-change": (parentKey: DataTableRowKey$1, childKeys: DataTableRowKey$1[], childRows: any[]) => any;
598
600
  "parent-child-link-change": (parentKey: DataTableRowKey$1, shouldSelect: boolean) => any;
599
601
  "update:data": (data: DataRecord[]) => any;
600
- save: (rowData: DataRecord, rowIndex: number, columnKey?: string | undefined) => any;
601
- cancel: (rowData: DataRecord, rowIndex: number) => any;
602
602
  "row-add": (newRow: DataRecord) => any;
603
603
  "row-copy": (originalRow: DataRecord, newRow: DataRecord) => any;
604
604
  "row-move": (row: DataRecord, fromIndex: number, toIndex: number) => any;
@@ -606,6 +606,8 @@ declare const __VLS_base: vue.DefineComponent<__VLS_Props, {
606
606
  "view-detail": (data: DataRecord) => any;
607
607
  "column-change": (columns: TableColumn[]) => any;
608
608
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
609
+ onCancel?: ((rowData: DataRecord, rowIndex: number) => any) | undefined;
610
+ onSave?: ((rowData: DataRecord, rowIndex: number, columnKey?: string | undefined) => any) | undefined;
609
611
  "onPagination-change"?: ((...args: unknown[]) => any) | undefined;
610
612
  "onRow-delete"?: ((...args: unknown[]) => any) | undefined;
611
613
  "onExpand-change"?: ((expandedKeys: DataTableRowKey$1[], row?: DataRecord | undefined, expanded?: boolean | undefined) => any) | undefined;
@@ -613,8 +615,6 @@ declare const __VLS_base: vue.DefineComponent<__VLS_Props, {
613
615
  "onChild-selection-change"?: ((parentKey: DataTableRowKey$1, childKeys: DataTableRowKey$1[], childRows: any[]) => any) | undefined;
614
616
  "onParent-child-link-change"?: ((parentKey: DataTableRowKey$1, shouldSelect: boolean) => any) | undefined;
615
617
  "onUpdate:data"?: ((data: DataRecord[]) => any) | undefined;
616
- onSave?: ((rowData: DataRecord, rowIndex: number, columnKey?: string | undefined) => any) | undefined;
617
- onCancel?: ((rowData: DataRecord, rowIndex: number) => any) | undefined;
618
618
  "onRow-add"?: ((newRow: DataRecord) => any) | undefined;
619
619
  "onRow-copy"?: ((originalRow: DataRecord, newRow: DataRecord) => any) | undefined;
620
620
  "onRow-move"?: ((row: DataRecord, fromIndex: number, toIndex: number) => any) | undefined;
@@ -50,12 +50,12 @@ 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
- mode: RenderMode;
54
- size: number;
55
53
  showBorder: boolean;
56
54
  label: string;
57
55
  showLabel: boolean;
56
+ size: number;
58
57
  color: string;
58
+ mode: RenderMode;
59
59
  bgColor: string;
60
60
  errorCorrectionLevel: ErrorCorrectionLevel;
61
61
  margin: number;
@@ -55,16 +55,16 @@ declare const __VLS_export: vue.DefineComponent<Props, {
55
55
  cleanFn: () => void;
56
56
  changeFoldState: () => void;
57
57
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
58
- reset: () => any;
59
58
  search: (params: SearchFormParams) => any;
59
+ reset: () => any;
60
60
  "change-params": (params: SearchFormParams) => any;
61
61
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
62
- onReset?: (() => any) | undefined;
63
62
  onSearch?: ((params: SearchFormParams) => any) | undefined;
63
+ onReset?: (() => any) | undefined;
64
64
  "onChange-params"?: ((params: SearchFormParams) => any) | undefined;
65
65
  }>, {
66
- bordered: boolean;
67
66
  size: "small" | "medium" | "large";
67
+ bordered: boolean;
68
68
  formItemList: SearchFormItem[];
69
69
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
70
70
  declare const _default: typeof __VLS_export;
@@ -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
- disabled: boolean;
111
- height: number | string;
112
110
  width: number | string;
113
- readonly: boolean;
111
+ height: number | string;
112
+ disabled: boolean;
114
113
  showToolbar: boolean;
114
+ readonly: boolean;
115
115
  maxHistory: number;
116
116
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
117
117
  declare const _default: typeof __VLS_export;
@@ -66,24 +66,24 @@ 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
+ "drag-start": (size: number) => any;
70
+ "drag-end": (size: number) => any;
69
71
  expand: (target: CollapseTarget) => any;
70
72
  collapse: (target: CollapseTarget) => any;
71
73
  resize: (firstSize: number, secondSize: number) => any;
72
- "drag-start": (size: number) => any;
73
- "drag-end": (size: number) => any;
74
74
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
75
+ "onDrag-start"?: ((size: number) => any) | undefined;
76
+ "onDrag-end"?: ((size: number) => any) | undefined;
75
77
  onExpand?: ((target: CollapseTarget) => any) | undefined;
76
78
  onCollapse?: ((target: CollapseTarget) => any) | undefined;
77
79
  onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
78
- "onDrag-start"?: ((size: number) => any) | undefined;
79
- "onDrag-end"?: ((size: number) => any) | undefined;
80
80
  }>, {
81
81
  disabled: boolean;
82
- step: number;
83
82
  direction: SplitDirection;
83
+ maxSize: number;
84
+ step: number;
84
85
  defaultSize: number;
85
86
  minSize: number;
86
- maxSize: number;
87
87
  collapsible: boolean;
88
88
  showCollapseButton: boolean;
89
89
  gutterSize: number;
@@ -48,11 +48,11 @@ 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
- mode: TimeMode;
51
+ format: string;
52
52
  placeholder: string;
53
+ mode: TimeMode;
53
54
  startPlaceholder: string;
54
55
  endPlaceholder: string;
55
- format: string;
56
56
  useHours: boolean;
57
57
  useMinutes: boolean;
58
58
  useSeconds: boolean;
@@ -102,13 +102,13 @@ declare const __VLS_base: vue.DefineComponent<TreeProps, TreeExpose, {}, {}, {},
102
102
  "onNode-action"?: ((action: string, node: TreeNodeData) => any) | undefined;
103
103
  "onNode-drop"?: ((info: DropInfo) => any) | undefined;
104
104
  }>, {
105
- mode: TreeMode;
106
- showToolbar: boolean;
107
- draggable: boolean;
105
+ actions: ActionConfig[];
108
106
  labelField: string;
109
- keyField: string;
110
107
  childrenField: string;
111
- actions: ActionConfig[];
108
+ draggable: boolean;
109
+ showToolbar: boolean;
110
+ mode: TreeMode;
111
+ keyField: string;
112
112
  searchPattern: string;
113
113
  searchable: boolean;
114
114
  searchPlaceholder: string;
@@ -240,19 +240,19 @@ declare const __VLS_export: vue.DefineComponent<WorkflowProps, {
240
240
  "update:modelValue": (value: WorkflowData) => any;
241
241
  change: (value: WorkflowData) => any;
242
242
  save: (data: WorkflowData) => any;
243
+ "validate-error": (errors: ValidationError[]) => any;
243
244
  "node-click": (node: WorkflowNode) => any;
244
245
  "edge-click": (edge: WorkflowEdge) => 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
249
  onSave?: ((data: WorkflowData) => any) | undefined;
250
+ "onValidate-error"?: ((errors: ValidationError[]) => any) | undefined;
250
251
  "onNode-click"?: ((node: WorkflowNode) => any) | undefined;
251
252
  "onEdge-click"?: ((edge: WorkflowEdge) => any) | undefined;
252
- "onValidate-error"?: ((errors: ValidationError[]) => 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.6.7",
6
+ "version": "0.6.10",
7
7
  "description": "基于 Naive UI 的 Vue 3 组件库",
8
8
  "type": "module",
9
9
  "main": "dist/index.cjs",