@robot-admin/naive-ui-components 0.17.2 → 0.17.3

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 (82) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/C_VideoPlayer2.cjs +1 -1
  3. package/dist/C_VideoPlayer2.js +1 -1
  4. package/dist/constants.d.cts +1 -1
  5. package/dist/constants.d.ts +1 -1
  6. package/dist/constants4.d.cts +4 -4
  7. package/dist/constants4.d.ts +4 -4
  8. package/dist/data.d.cts +5 -5
  9. package/dist/data.d.ts +5 -5
  10. package/dist/index.vue.d.cts +2 -2
  11. package/dist/index.vue.d.ts +2 -2
  12. package/dist/index10.vue.d.cts +4 -4
  13. package/dist/index10.vue.d.ts +2 -2
  14. package/dist/index11.vue.d.cts +2 -2
  15. package/dist/index11.vue.d.ts +2 -2
  16. package/dist/index12.vue.d.cts +2 -2
  17. package/dist/index12.vue.d.ts +2 -2
  18. package/dist/index13.vue.d.cts +2 -2
  19. package/dist/index13.vue.d.ts +3 -3
  20. package/dist/index14.vue.d.cts +3 -3
  21. package/dist/index14.vue.d.ts +8 -8
  22. package/dist/index15.vue.d.cts +8 -8
  23. package/dist/index16.vue.d.ts +1 -1
  24. package/dist/index17.vue.d.cts +1 -1
  25. package/dist/index17.vue.d.ts +2 -2
  26. package/dist/index18.vue.d.cts +2 -2
  27. package/dist/index18.vue.d.ts +2 -2
  28. package/dist/index19.vue.d.cts +2 -2
  29. package/dist/index19.vue.d.ts +1 -1
  30. package/dist/index2.vue.d.cts +1 -1
  31. package/dist/index2.vue.d.ts +1 -1
  32. package/dist/index20.vue.d.cts +1 -1
  33. package/dist/index20.vue.d.ts +1 -1
  34. package/dist/index21.vue.d.cts +1 -1
  35. package/dist/index21.vue.d.ts +1 -1
  36. package/dist/index22.vue.d.cts +2 -2
  37. package/dist/index22.vue.d.ts +2 -2
  38. package/dist/index23.vue.d.cts +1 -1
  39. package/dist/index23.vue.d.ts +1 -1
  40. package/dist/index25.vue.d.cts +2 -2
  41. package/dist/index25.vue.d.ts +2 -2
  42. package/dist/index27.vue.d.cts +1 -1
  43. package/dist/index27.vue.d.ts +1 -1
  44. package/dist/index28.vue.d.cts +4 -4
  45. package/dist/index28.vue.d.ts +4 -4
  46. package/dist/index3.vue.d.cts +4 -4
  47. package/dist/index3.vue.d.ts +4 -4
  48. package/dist/index4.vue.d.cts +1 -1
  49. package/dist/index6.vue.d.ts +1 -1
  50. package/dist/index7.vue.d.cts +1 -1
  51. package/dist/index8.vue.d.ts +3 -3
  52. package/dist/index9.vue.d.cts +3 -3
  53. package/dist/index9.vue.d.ts +4 -4
  54. package/dist/mapUtils.d.cts +1 -1
  55. package/dist/mapUtils.d.ts +1 -1
  56. package/dist/useCalendarEvents.d.cts +1 -1
  57. package/dist/useCalendarEvents.d.ts +1 -1
  58. package/dist/useCropperCore.d.cts +7 -7
  59. package/dist/useCropperCore.d.ts +7 -7
  60. package/dist/useDraggableLayout.d.cts +7 -7
  61. package/dist/useDraggableLayout.d.ts +7 -7
  62. package/dist/useDynamicFormState.d.cts +2 -2
  63. package/dist/useDynamicFormState.d.ts +2 -2
  64. package/dist/useEdgeInteraction.d.cts +2 -2
  65. package/dist/useEdgeInteraction.d.ts +2 -2
  66. package/dist/useFullscreen.d.cts +2 -2
  67. package/dist/useFullscreen.d.ts +2 -2
  68. package/dist/useInfiniteScroll.d.cts +4 -4
  69. package/dist/useInfiniteScroll.d.ts +4 -4
  70. package/dist/useQRCode.d.cts +3 -3
  71. package/dist/useQRCode.d.ts +3 -3
  72. package/dist/useSignatureHistory.d.cts +2 -2
  73. package/dist/useSignatureHistory.d.ts +2 -2
  74. package/dist/useSplitResize.d.cts +3 -3
  75. package/dist/useSplitResize.d.ts +3 -3
  76. package/dist/useTableQuery.d.cts +6 -6
  77. package/dist/useTableQuery.d.ts +6 -6
  78. package/dist/useTimeSelection.d.cts +1 -1
  79. package/dist/useTimeSelection.d.ts +1 -1
  80. package/dist/useWorkflowValidation.d.cts +5 -5
  81. package/dist/useWorkflowValidation.d.ts +5 -5
  82. package/package.json +1 -1
@@ -72,8 +72,8 @@ declare const __VLS_export: vue.DefineComponent<CalendarProps, CalendarExpose, {
72
72
  }) => any) | undefined;
73
73
  "onEvent-dropped"?: ((event: Partial<CalendarEvent>) => any) | undefined;
74
74
  }>, {
75
- initialView: CalendarViewType;
76
75
  editable: boolean;
76
+ initialView: CalendarViewType;
77
77
  events: CalendarEvent[];
78
78
  showAddDialog: boolean;
79
79
  showEditDialog: boolean;
@@ -53,29 +53,29 @@ interface ImageCropperEmits {
53
53
  declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
54
54
  error: (error: Error) => any;
55
55
  ready: () => any;
56
- cancel: () => any;
57
- confirm: (result: CropResult) => any;
58
56
  crop: (result: CropResult) => any;
57
+ confirm: (result: CropResult) => any;
58
+ cancel: () => any;
59
59
  }, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
60
60
  onError?: ((error: Error) => any) | undefined;
61
61
  onReady?: (() => any) | undefined;
62
- onCancel?: (() => any) | undefined;
63
- onConfirm?: ((result: CropResult) => any) | undefined;
64
62
  onCrop?: ((result: CropResult) => any) | undefined;
63
+ onConfirm?: ((result: CropResult) => any) | undefined;
64
+ onCancel?: (() => any) | undefined;
65
65
  }>, {
66
66
  disabled: boolean;
67
67
  height: string | number;
68
- showPreview: boolean;
69
- showToolbar: boolean;
70
68
  src: string;
71
- modalTitle: string;
69
+ showPreview: boolean;
72
70
  aspectRatio: number;
73
71
  outputFormat: CropOutputFormat;
74
72
  outputQuality: number;
75
73
  maxOutputWidth: number;
76
74
  maxOutputHeight: number;
75
+ showToolbar: boolean;
77
76
  circular: boolean;
78
77
  modal: boolean;
78
+ modalTitle: string;
79
79
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
80
80
  declare const _default: typeof __VLS_export;
81
81
  //#endregion
@@ -53,29 +53,29 @@ interface ImageCropperEmits {
53
53
  declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
54
54
  error: (error: Error) => any;
55
55
  ready: () => any;
56
- cancel: () => any;
57
- confirm: (result: CropResult) => any;
58
56
  crop: (result: CropResult) => any;
57
+ confirm: (result: CropResult) => any;
58
+ cancel: () => any;
59
59
  }, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
60
60
  onError?: ((error: Error) => any) | undefined;
61
61
  onReady?: (() => any) | undefined;
62
- onCancel?: (() => any) | undefined;
63
- onConfirm?: ((result: CropResult) => any) | undefined;
64
62
  onCrop?: ((result: CropResult) => any) | undefined;
63
+ onConfirm?: ((result: CropResult) => any) | undefined;
64
+ onCancel?: (() => any) | undefined;
65
65
  }>, {
66
66
  disabled: boolean;
67
67
  height: string | number;
68
- showPreview: boolean;
69
- showToolbar: boolean;
70
68
  src: string;
71
- modalTitle: string;
69
+ showPreview: boolean;
72
70
  aspectRatio: number;
73
71
  outputFormat: CropOutputFormat;
74
72
  outputQuality: number;
75
73
  maxOutputWidth: number;
76
74
  maxOutputHeight: number;
75
+ showToolbar: boolean;
77
76
  circular: boolean;
78
77
  modal: boolean;
78
+ modalTitle: string;
79
79
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
80
80
  declare const _default: typeof __VLS_export;
81
81
  //#endregion
@@ -118,12 +118,16 @@ declare const __VLS_base: vue.DefineComponent<DraggableProps, {
118
118
  "onList-change"?: ((list: DraggableItem[]) => any) | undefined;
119
119
  }>, {
120
120
  modelValue: DraggableItem[];
121
- disabled: boolean;
122
121
  sort: boolean;
123
122
  direction: "vertical" | "horizontal";
124
- group: string | GroupOptions;
125
- animation: number;
123
+ disabled: boolean;
124
+ justifyContent: JustifyContent;
125
+ gap: string | number;
126
126
  delay: number;
127
+ animation: number;
128
+ emptyText: string;
129
+ layout: LayoutMode;
130
+ group: string | GroupOptions;
127
131
  handle: string;
128
132
  showHandle: boolean;
129
133
  ghostClass: string;
@@ -133,15 +137,11 @@ declare const __VLS_base: vue.DefineComponent<DraggableProps, {
133
137
  listClass: string;
134
138
  itemClass: string;
135
139
  showEmptyState: boolean;
136
- emptyText: string;
137
140
  swapThreshold: number;
138
141
  invertSwap: boolean;
139
- layout: LayoutMode;
140
142
  gridColumns: number;
141
143
  gridRows: number;
142
- gap: string | number;
143
144
  flexWrap: boolean;
144
- justifyContent: JustifyContent;
145
145
  alignItems: AlignItems;
146
146
  customStyles: Record<string, string | number>;
147
147
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -118,12 +118,16 @@ declare const __VLS_base: vue.DefineComponent<DraggableProps, {
118
118
  "onList-change"?: ((list: DraggableItem[]) => any) | undefined;
119
119
  }>, {
120
120
  modelValue: DraggableItem[];
121
- disabled: boolean;
122
121
  sort: boolean;
123
122
  direction: "vertical" | "horizontal";
124
- group: string | GroupOptions;
125
- animation: number;
123
+ disabled: boolean;
124
+ justifyContent: JustifyContent;
125
+ gap: string | number;
126
126
  delay: number;
127
+ animation: number;
128
+ emptyText: string;
129
+ layout: LayoutMode;
130
+ group: string | GroupOptions;
127
131
  handle: string;
128
132
  showHandle: boolean;
129
133
  ghostClass: string;
@@ -133,15 +137,11 @@ declare const __VLS_base: vue.DefineComponent<DraggableProps, {
133
137
  listClass: string;
134
138
  itemClass: string;
135
139
  showEmptyState: boolean;
136
- emptyText: string;
137
140
  swapThreshold: number;
138
141
  invertSwap: boolean;
139
- layout: LayoutMode;
140
142
  gridColumns: number;
141
143
  gridRows: number;
142
- gap: string | number;
143
144
  flexWrap: boolean;
144
- justifyContent: JustifyContent;
145
145
  alignItems: AlignItems;
146
146
  customStyles: Record<string, string | number>;
147
147
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -638,9 +638,9 @@ declare const __VLS_export: <T extends object = FormRecord>(__VLS_props: NonNull
638
638
  renderers?: Record<string, FormRenderer>;
639
639
  } & {
640
640
  "onUpdate:modelValue"?: ((model: T) => any) | undefined;
641
+ "onValidate-error"?: ((errors: unknown) => any) | undefined;
641
642
  onSubmit?: ((payload: SubmitEventPayload<T>) => any) | undefined;
642
643
  "onValidate-success"?: ((model: T) => any) | undefined;
643
- "onValidate-error"?: ((errors: unknown) => any) | undefined;
644
644
  }> & (typeof globalThis extends {
645
645
  __VLS_PROPS_FALLBACK: infer P;
646
646
  } ? P : {});
@@ -675,7 +675,7 @@ declare const __VLS_export: <T extends object = FormRecord>(__VLS_props: NonNull
675
675
  }>) => void;
676
676
  attrs: any;
677
677
  slots: FormSlots<T>;
678
- emit: ((evt: "update:modelValue", model: T) => void) & ((evt: "submit", payload: SubmitEventPayload<T>) => void) & ((evt: "validate-success", model: T) => void) & ((evt: "validate-error", errors: unknown) => void);
678
+ emit: ((evt: "update:modelValue", model: T) => void) & ((evt: "validate-error", errors: unknown) => void) & ((evt: "submit", payload: SubmitEventPayload<T>) => void) & ((evt: "validate-success", model: T) => void);
679
679
  }>) => vue.VNode & {
680
680
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
681
681
  };
@@ -638,9 +638,9 @@ declare const __VLS_export: <T extends object = FormRecord>(__VLS_props: NonNull
638
638
  renderers?: Record<string, FormRenderer>;
639
639
  } & {
640
640
  "onUpdate:modelValue"?: ((model: T) => any) | undefined;
641
+ "onValidate-error"?: ((errors: unknown) => any) | undefined;
641
642
  onSubmit?: ((payload: SubmitEventPayload<T>) => any) | undefined;
642
643
  "onValidate-success"?: ((model: T) => any) | undefined;
643
- "onValidate-error"?: ((errors: unknown) => any) | undefined;
644
644
  }> & (typeof globalThis extends {
645
645
  __VLS_PROPS_FALLBACK: infer P;
646
646
  } ? P : {});
@@ -675,7 +675,7 @@ declare const __VLS_export: <T extends object = FormRecord>(__VLS_props: NonNull
675
675
  }>) => void;
676
676
  attrs: any;
677
677
  slots: FormSlots<T>;
678
- emit: ((evt: "update:modelValue", model: T) => void) & ((evt: "submit", payload: SubmitEventPayload<T>) => void) & ((evt: "validate-success", model: T) => void) & ((evt: "validate-error", errors: unknown) => void);
678
+ emit: ((evt: "update:modelValue", model: T) => void) & ((evt: "validate-error", errors: unknown) => void) & ((evt: "submit", payload: SubmitEventPayload<T>) => void) & ((evt: "validate-success", model: T) => void);
679
679
  }>) => vue.VNode & {
680
680
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
681
681
  };
@@ -259,11 +259,11 @@ declare const __VLS_export: vue.DefineComponent<Props, {
259
259
  onReady?: ((graph: Graph) => any) | undefined;
260
260
  "onData-change"?: ((data: DiagramData) => any) | undefined;
261
261
  }>, {
262
- height: string | number;
263
262
  width: string | number;
264
- readonly: boolean;
263
+ height: string | number;
265
264
  showToolbar: boolean;
266
265
  theme: "light" | "dark";
266
+ readonly: boolean;
267
267
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
268
268
  declare const _default: typeof __VLS_export;
269
269
  //#endregion
@@ -259,11 +259,11 @@ declare const __VLS_export: vue.DefineComponent<Props, {
259
259
  onReady?: ((graph: Graph) => any) | undefined;
260
260
  "onData-change"?: ((data: DiagramData) => any) | undefined;
261
261
  }>, {
262
- height: string | number;
263
262
  width: string | number;
264
- readonly: boolean;
263
+ height: string | number;
265
264
  showToolbar: boolean;
266
265
  theme: "light" | "dark";
266
+ readonly: boolean;
267
267
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
268
268
  declare const _default: typeof __VLS_export;
269
269
  //#endregion
@@ -10,11 +10,11 @@ type __VLS_Props = {
10
10
  inline?: boolean;
11
11
  };
12
12
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
13
- download: (file: string | File) => any;
14
13
  preview: (file: string | File) => any;
14
+ download: (file: string | File) => any;
15
15
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
16
- onDownload?: ((file: string | File) => any) | undefined;
17
16
  onPreview?: ((file: string | File) => any) | undefined;
17
+ onDownload?: ((file: string | File) => any) | undefined;
18
18
  }>, {
19
19
  inline: boolean;
20
20
  fileName: string;
@@ -10,11 +10,11 @@ type __VLS_Props = {
10
10
  inline?: boolean;
11
11
  };
12
12
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
13
- download: (file: string | File) => any;
14
13
  preview: (file: string | File) => any;
14
+ download: (file: string | File) => any;
15
15
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
16
- onDownload?: ((file: string | File) => any) | undefined;
17
16
  onPreview?: ((file: string | File) => any) | undefined;
17
+ onDownload?: ((file: string | File) => any) | undefined;
18
18
  }>, {
19
19
  inline: boolean;
20
20
  fileName: string;
@@ -79,25 +79,25 @@ type __VLS_Slots = {} & {
79
79
  footer?: (props: typeof __VLS_5) => any;
80
80
  };
81
81
  declare const __VLS_base: vue.DefineComponent<WaterFallProps, WaterFallExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
82
- "load-more": () => any;
83
82
  "item-click": (item: WaterFallItem, index: number) => any;
83
+ "load-more": () => any;
84
84
  "image-loaded": (item: WaterFallItem) => any;
85
85
  "image-error": (item: WaterFallItem) => any;
86
86
  }, string, vue.PublicProps, Readonly<WaterFallProps> & Readonly<{
87
- "onLoad-more"?: (() => any) | undefined;
88
87
  "onItem-click"?: ((item: WaterFallItem, index: number) => any) | undefined;
88
+ "onLoad-more"?: (() => any) | undefined;
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
  columns: number;
94
+ gap: number;
94
95
  lazy: boolean;
95
96
  infinite: boolean;
96
97
  skeleton: boolean;
97
98
  skeletonCount: number;
98
99
  animationDuration: number;
99
100
  breakpoints: WaterFallBreakpoint[];
100
- loading: boolean;
101
101
  noMore: boolean;
102
102
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
103
103
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -79,25 +79,25 @@ type __VLS_Slots = {} & {
79
79
  footer?: (props: typeof __VLS_5) => any;
80
80
  };
81
81
  declare const __VLS_base: vue.DefineComponent<WaterFallProps, WaterFallExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
82
- "load-more": () => any;
83
82
  "item-click": (item: WaterFallItem, index: number) => any;
83
+ "load-more": () => any;
84
84
  "image-loaded": (item: WaterFallItem) => any;
85
85
  "image-error": (item: WaterFallItem) => any;
86
86
  }, string, vue.PublicProps, Readonly<WaterFallProps> & Readonly<{
87
- "onLoad-more"?: (() => any) | undefined;
88
87
  "onItem-click"?: ((item: WaterFallItem, index: number) => any) | undefined;
88
+ "onLoad-more"?: (() => any) | undefined;
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
  columns: number;
94
+ gap: number;
94
95
  lazy: boolean;
95
96
  infinite: boolean;
96
97
  skeleton: boolean;
97
98
  skeletonCount: number;
98
99
  animationDuration: number;
99
100
  breakpoints: WaterFallBreakpoint[];
100
- loading: boolean;
101
101
  noMore: boolean;
102
102
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
103
103
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -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
- label: string;
54
- color: string;
55
53
  size: number;
54
+ color: string;
55
+ label: string;
56
+ mode: RenderMode;
56
57
  bgColor: string;
57
58
  errorCorrectionLevel: ErrorCorrectionLevel;
58
59
  margin: number;
59
- mode: RenderMode;
60
60
  logo: LogoOptions;
61
61
  showBorder: boolean;
62
62
  showLabel: boolean;
@@ -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
- label: string;
54
- color: string;
55
53
  size: number;
54
+ color: string;
55
+ label: string;
56
+ mode: RenderMode;
56
57
  bgColor: string;
57
58
  errorCorrectionLevel: ErrorCorrectionLevel;
58
59
  margin: number;
59
- mode: RenderMode;
60
60
  logo: LogoOptions;
61
61
  showBorder: boolean;
62
62
  showLabel: boolean;
@@ -111,10 +111,10 @@ declare const __VLS_export: vue.DefineComponent<SignatureProps, SignatureExpose,
111
111
  onRedo?: (() => any) | undefined;
112
112
  }>, {
113
113
  disabled: boolean;
114
- height: number | string;
115
114
  width: number | string;
116
- readonly: boolean;
115
+ height: number | string;
117
116
  showToolbar: boolean;
117
+ readonly: boolean;
118
118
  maxHistory: number;
119
119
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
120
120
  declare const _default: typeof __VLS_export;
@@ -111,10 +111,10 @@ declare const __VLS_export: vue.DefineComponent<SignatureProps, SignatureExpose,
111
111
  onRedo?: (() => any) | undefined;
112
112
  }>, {
113
113
  disabled: boolean;
114
- height: number | string;
115
114
  width: number | string;
116
- readonly: boolean;
115
+ height: number | string;
117
116
  showToolbar: boolean;
117
+ readonly: boolean;
118
118
  maxHistory: number;
119
119
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
120
120
  declare const _default: typeof __VLS_export;
@@ -69,15 +69,15 @@ declare const __VLS_base: vue.DefineComponent<SplitPaneProps, SplitPaneExpose, {
69
69
  "onDrag-start"?: ((size: number) => any) | undefined;
70
70
  "onDrag-end"?: ((size: number) => any) | undefined;
71
71
  }>, {
72
- disabled: boolean;
73
- direction: SplitDirection;
74
- collapsible: boolean;
75
72
  ariaLabel: string;
73
+ direction: SplitDirection;
76
74
  defaultSize: number;
77
75
  minSize: number;
78
76
  maxSize: number;
79
77
  minFirstSize: number;
80
78
  minSecondSize: number;
79
+ disabled: boolean;
80
+ collapsible: boolean;
81
81
  showCollapseButton: boolean;
82
82
  gutterSize: number;
83
83
  step: number;
@@ -69,15 +69,15 @@ declare const __VLS_base: vue.DefineComponent<SplitPaneProps, SplitPaneExpose, {
69
69
  "onDrag-start"?: ((size: number) => any) | undefined;
70
70
  "onDrag-end"?: ((size: number) => any) | undefined;
71
71
  }>, {
72
- disabled: boolean;
73
- direction: SplitDirection;
74
- collapsible: boolean;
75
72
  ariaLabel: string;
73
+ direction: SplitDirection;
76
74
  defaultSize: number;
77
75
  minSize: number;
78
76
  maxSize: number;
79
77
  minFirstSize: number;
80
78
  minSecondSize: number;
79
+ disabled: boolean;
80
+ collapsible: boolean;
81
81
  showCollapseButton: boolean;
82
82
  gutterSize: number;
83
83
  step: number;
@@ -1742,35 +1742,35 @@ declare const __VLS_base: vue.DefineComponent<TreeProps$1, TreeExpose, {}, {}, {
1742
1742
  refresh: () => any;
1743
1743
  "load-error": (error: unknown, node: TreeOption$1) => any;
1744
1744
  "update:expandedKeys": (keys: TreeKey[], options: (TreeOption$1 | null)[], meta: TreeUpdateMeta) => any;
1745
+ "node-drop": (info: DropInfo) => any;
1745
1746
  "update:searchPattern": (pattern: string) => any;
1746
1747
  "update:selectedKeys": (keys: TreeKey[], options: (TreeOption$1 | null)[], meta: TreeUpdateMeta) => any;
1747
1748
  "update:checkedKeys": (keys: TreeKey[], options: (TreeOption$1 | null)[], meta: TreeUpdateMeta) => any;
1748
1749
  "node-select": (node: TreeNodeData | null, selectedKeys: TreeKey[]) => any;
1749
1750
  "node-action": (action: string, node: TreeNodeData) => any;
1750
- "node-drop": (info: DropInfo) => any;
1751
1751
  }, string, vue.PublicProps, Readonly<TreeProps$1> & Readonly<{
1752
1752
  onAdd?: ((parentNode?: TreeNodeData | undefined) => any) | undefined;
1753
1753
  onRefresh?: (() => any) | undefined;
1754
1754
  "onLoad-error"?: ((error: unknown, node: TreeOption$1) => any) | undefined;
1755
1755
  "onUpdate:expandedKeys"?: ((keys: TreeKey[], options: (TreeOption$1 | null)[], meta: TreeUpdateMeta) => any) | undefined;
1756
+ "onNode-drop"?: ((info: DropInfo) => any) | undefined;
1756
1757
  "onUpdate:searchPattern"?: ((pattern: string) => any) | undefined;
1757
1758
  "onUpdate:selectedKeys"?: ((keys: TreeKey[], options: (TreeOption$1 | null)[], meta: TreeUpdateMeta) => any) | undefined;
1758
1759
  "onUpdate:checkedKeys"?: ((keys: TreeKey[], options: (TreeOption$1 | null)[], meta: TreeUpdateMeta) => any) | undefined;
1759
1760
  "onNode-select"?: ((node: TreeNodeData | null, selectedKeys: TreeKey[]) => any) | undefined;
1760
1761
  "onNode-action"?: ((action: string, node: TreeNodeData) => any) | undefined;
1761
- "onNode-drop"?: ((info: DropInfo) => any) | undefined;
1762
1762
  }>, {
1763
- draggable: boolean;
1764
1763
  mode: TreeMode;
1765
1764
  showToolbar: boolean;
1766
- density: ComponentDensity;
1767
1765
  addable: boolean;
1766
+ draggable: boolean;
1767
+ density: ComponentDensity;
1768
+ defaultExpandAll: boolean;
1769
+ showLine: boolean;
1768
1770
  searchable: boolean;
1769
1771
  searchPlaceholder: string;
1770
- showLine: boolean;
1771
1772
  addText: string;
1772
1773
  refreshable: boolean;
1773
- defaultExpandAll: boolean;
1774
1774
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
1775
1775
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
1776
1776
  declare const _default: typeof __VLS_export;
@@ -1742,35 +1742,35 @@ declare const __VLS_base: vue.DefineComponent<TreeProps$1, TreeExpose, {}, {}, {
1742
1742
  refresh: () => any;
1743
1743
  "load-error": (error: unknown, node: TreeOption$1) => any;
1744
1744
  "update:expandedKeys": (keys: TreeKey[], options: (TreeOption$1 | null)[], meta: TreeUpdateMeta) => any;
1745
+ "node-drop": (info: DropInfo) => any;
1745
1746
  "update:searchPattern": (pattern: string) => any;
1746
1747
  "update:selectedKeys": (keys: TreeKey[], options: (TreeOption$1 | null)[], meta: TreeUpdateMeta) => any;
1747
1748
  "update:checkedKeys": (keys: TreeKey[], options: (TreeOption$1 | null)[], meta: TreeUpdateMeta) => any;
1748
1749
  "node-select": (node: TreeNodeData | null, selectedKeys: TreeKey[]) => any;
1749
1750
  "node-action": (action: string, node: TreeNodeData) => any;
1750
- "node-drop": (info: DropInfo) => any;
1751
1751
  }, string, vue.PublicProps, Readonly<TreeProps$1> & Readonly<{
1752
1752
  onAdd?: ((parentNode?: TreeNodeData | undefined) => any) | undefined;
1753
1753
  onRefresh?: (() => any) | undefined;
1754
1754
  "onLoad-error"?: ((error: unknown, node: TreeOption$1) => any) | undefined;
1755
1755
  "onUpdate:expandedKeys"?: ((keys: TreeKey[], options: (TreeOption$1 | null)[], meta: TreeUpdateMeta) => any) | undefined;
1756
+ "onNode-drop"?: ((info: DropInfo) => any) | undefined;
1756
1757
  "onUpdate:searchPattern"?: ((pattern: string) => any) | undefined;
1757
1758
  "onUpdate:selectedKeys"?: ((keys: TreeKey[], options: (TreeOption$1 | null)[], meta: TreeUpdateMeta) => any) | undefined;
1758
1759
  "onUpdate:checkedKeys"?: ((keys: TreeKey[], options: (TreeOption$1 | null)[], meta: TreeUpdateMeta) => any) | undefined;
1759
1760
  "onNode-select"?: ((node: TreeNodeData | null, selectedKeys: TreeKey[]) => any) | undefined;
1760
1761
  "onNode-action"?: ((action: string, node: TreeNodeData) => any) | undefined;
1761
- "onNode-drop"?: ((info: DropInfo) => any) | undefined;
1762
1762
  }>, {
1763
- draggable: boolean;
1764
1763
  mode: TreeMode;
1765
1764
  showToolbar: boolean;
1766
- density: ComponentDensity;
1767
1765
  addable: boolean;
1766
+ draggable: boolean;
1767
+ density: ComponentDensity;
1768
+ defaultExpandAll: boolean;
1769
+ showLine: boolean;
1768
1770
  searchable: boolean;
1769
1771
  searchPlaceholder: string;
1770
- showLine: boolean;
1771
1772
  addText: string;
1772
1773
  refreshable: boolean;
1773
- defaultExpandAll: boolean;
1774
1774
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
1775
1775
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
1776
1776
  declare const _default: typeof __VLS_export;
@@ -58,8 +58,8 @@ declare const __VLS_export: vue.DefineComponent<TimeProps, TimeExpose, {}, {}, {
58
58
  "onChange-start"?: ((time: number | null) => any) | undefined;
59
59
  "onChange-end"?: ((time: number | null) => any) | undefined;
60
60
  }>, {
61
- placeholder: string;
62
61
  mode: TimeMode;
62
+ placeholder: string;
63
63
  startPlaceholder: string;
64
64
  endPlaceholder: string;
65
65
  format: string;
@@ -58,8 +58,8 @@ declare const __VLS_export: vue.DefineComponent<TimeProps, TimeExpose, {}, {}, {
58
58
  "onChange-start"?: ((time: number | null) => any) | undefined;
59
59
  "onChange-end"?: ((time: number | null) => any) | undefined;
60
60
  }>, {
61
- placeholder: string;
62
61
  mode: TimeMode;
62
+ placeholder: string;
63
63
  startPlaceholder: string;
64
64
  endPlaceholder: string;
65
65
  format: string;
@@ -241,20 +241,20 @@ declare const __VLS_export: vue.DefineComponent<WorkflowProps, {
241
241
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
242
242
  "update:modelValue": (value: WorkflowData) => any;
243
243
  change: (value: WorkflowData) => any;
244
- "node-click": (node: WorkflowNode) => any;
245
244
  save: (data: WorkflowData) => any;
246
- "validate-error": (errors: ValidationError[]) => any;
245
+ "node-click": (node: WorkflowNode) => any;
247
246
  "edge-click": (edge: WorkflowEdge) => any;
247
+ "validate-error": (errors: ValidationError[]) => any;
248
248
  }, string, vue.PublicProps, Readonly<WorkflowProps> & Readonly<{
249
249
  "onUpdate:modelValue"?: ((value: WorkflowData) => any) | undefined;
250
250
  onChange?: ((value: WorkflowData) => any) | undefined;
251
- "onNode-click"?: ((node: WorkflowNode) => any) | undefined;
252
251
  onSave?: ((data: WorkflowData) => any) | undefined;
253
- "onValidate-error"?: ((errors: ValidationError[]) => any) | undefined;
252
+ "onNode-click"?: ((node: WorkflowNode) => any) | undefined;
254
253
  "onEdge-click"?: ((edge: WorkflowEdge) => any) | undefined;
254
+ "onValidate-error"?: ((errors: ValidationError[]) => any) | undefined;
255
255
  }>, {
256
- readonly: boolean;
257
256
  theme: "light" | "dark";
257
+ readonly: boolean;
258
258
  users: User[];
259
259
  roles: Role[];
260
260
  departments: Department[];
@@ -241,20 +241,20 @@ declare const __VLS_export: vue.DefineComponent<WorkflowProps, {
241
241
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
242
242
  "update:modelValue": (value: WorkflowData) => any;
243
243
  change: (value: WorkflowData) => any;
244
- "node-click": (node: WorkflowNode) => any;
245
244
  save: (data: WorkflowData) => any;
246
- "validate-error": (errors: ValidationError[]) => any;
245
+ "node-click": (node: WorkflowNode) => any;
247
246
  "edge-click": (edge: WorkflowEdge) => any;
247
+ "validate-error": (errors: ValidationError[]) => any;
248
248
  }, string, vue.PublicProps, Readonly<WorkflowProps> & Readonly<{
249
249
  "onUpdate:modelValue"?: ((value: WorkflowData) => any) | undefined;
250
250
  onChange?: ((value: WorkflowData) => any) | undefined;
251
- "onNode-click"?: ((node: WorkflowNode) => any) | undefined;
252
251
  onSave?: ((data: WorkflowData) => any) | undefined;
253
- "onValidate-error"?: ((errors: ValidationError[]) => any) | undefined;
252
+ "onNode-click"?: ((node: WorkflowNode) => any) | undefined;
254
253
  "onEdge-click"?: ((edge: WorkflowEdge) => any) | undefined;
254
+ "onValidate-error"?: ((errors: ValidationError[]) => any) | undefined;
255
255
  }>, {
256
- readonly: boolean;
257
256
  theme: "light" | "dark";
257
+ readonly: boolean;
258
258
  users: User[];
259
259
  roles: Role[];
260
260
  departments: Department[];
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.17.2",
6
+ "version": "0.17.3",
7
7
  "description": "基于 Naive UI 的 Vue 3 组件库",
8
8
  "packageManager": "bun@1.3.14",
9
9
  "engines": {