@robot-admin/naive-ui-components 0.6.16 → 0.6.17

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.
@@ -121,9 +121,9 @@ declare const __VLS_export: vue.DefineComponent<CronProps, {
121
121
  modelValue: string;
122
122
  disabled: boolean;
123
123
  height: string | number;
124
- showPreview: boolean;
125
124
  previewCount: number;
126
125
  showTemplates: boolean;
126
+ showPreview: boolean;
127
127
  showSecond: boolean;
128
128
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
129
129
  declare const _default: typeof __VLS_export;
@@ -124,10 +124,10 @@ declare const __VLS_export: vue.DefineComponent<FormulaEditorProps, FormulaEdito
124
124
  placeholder: string;
125
125
  disabled: boolean;
126
126
  height: string | number;
127
+ showPreview: boolean;
127
128
  variables: FormulaVariable[];
128
129
  functions: FormulaFunction[];
129
130
  sampleData: Record<string, number | string | boolean>;
130
- showPreview: boolean;
131
131
  showKeyboard: boolean;
132
132
  showVariablePanel: boolean;
133
133
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -150,8 +150,8 @@ interface NotificationCenterExpose {
150
150
  //#endregion
151
151
  //#region src/components/C_NotificationCenter/index.vue.d.ts
152
152
  declare const __VLS_export: vue.DefineComponent<NotificationCenterProps, NotificationCenterExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
153
- itemClick: (message: NotificationMessage) => any;
154
153
  delete: (ids: string[]) => any;
154
+ itemClick: (message: NotificationMessage) => any;
155
155
  read: (ids: string[]) => any;
156
156
  allRead: (category?: NotificationCategory | undefined) => any;
157
157
  unreadChange: (count: number) => any;
@@ -159,8 +159,8 @@ declare const __VLS_export: vue.DefineComponent<NotificationCenterProps, Notific
159
159
  newMessage: (message: NotificationMessage) => any;
160
160
  navigate: (url: string) => any;
161
161
  }, string, vue.PublicProps, Readonly<NotificationCenterProps> & Readonly<{
162
- onItemClick?: ((message: NotificationMessage) => any) | undefined;
163
162
  onDelete?: ((ids: string[]) => any) | undefined;
163
+ onItemClick?: ((message: NotificationMessage) => any) | undefined;
164
164
  onRead?: ((ids: string[]) => any) | undefined;
165
165
  onAllRead?: ((category?: NotificationCategory | undefined) => any) | undefined;
166
166
  onUnreadChange?: ((count: number) => any) | undefined;
@@ -168,11 +168,11 @@ declare const __VLS_export: vue.DefineComponent<NotificationCenterProps, Notific
168
168
  onNewMessage?: ((message: NotificationMessage) => any) | undefined;
169
169
  onNavigate?: ((url: string) => any) | undefined;
170
170
  }>, {
171
+ storageKey: string;
171
172
  desktopNotification: boolean;
172
173
  maxBadgeCount: number;
173
174
  pollingInterval: number;
174
175
  pageSize: number;
175
- storageKey: string;
176
176
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
177
177
  declare const _default: typeof __VLS_export;
178
178
  //#endregion
@@ -217,7 +217,7 @@ declare function useNotificationCore(props: NotificationCenterProps): {
217
217
  actionText?: string | undefined;
218
218
  extra?: Record<string, unknown> | undefined;
219
219
  }[]>;
220
- activeCategory: vue.Ref<NotificationCategory | "all", NotificationCategory | "all">;
220
+ activeCategory: vue.Ref<"all" | NotificationCategory, "all" | NotificationCategory>;
221
221
  loading: vue.Ref<boolean, boolean>;
222
222
  total: vue.Ref<number, number>;
223
223
  page: vue.Ref<number, number>;
@@ -215,13 +215,13 @@ declare const __VLS_base: vue.DefineComponent<UploadProps, UploadExpose, {}, {},
215
215
  disabled: boolean;
216
216
  multiple: boolean;
217
217
  data: Record<string, any>;
218
- draggable: boolean;
219
- maxSize: number;
220
218
  action: string;
221
219
  headers: Record<string, string>;
222
220
  directory: boolean;
223
221
  accept: string;
222
+ maxSize: number;
224
223
  maxCount: number;
224
+ draggable: boolean;
225
225
  pasteable: boolean;
226
226
  chunked: boolean;
227
227
  chunkSize: number;
@@ -260,8 +260,8 @@ 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
- ready: () => any;
264
263
  ended: () => any;
264
+ ready: () => any;
265
265
  stateChange: (state: PlayerState) => any;
266
266
  timeUpdate: (currentTime: number, duration: number) => any;
267
267
  qualityChange: (quality: QualityLevel) => any;
@@ -273,8 +273,8 @@ 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
- onReady?: (() => any) | undefined;
277
276
  onEnded?: (() => any) | undefined;
277
+ onReady?: (() => any) | undefined;
278
278
  onStateChange?: ((state: PlayerState) => any) | undefined;
279
279
  onTimeUpdate?: ((currentTime: number, duration: number) => any) | undefined;
280
280
  onQualityChange?: ((quality: QualityLevel) => any) | undefined;
package/dist/data.d.ts CHANGED
@@ -23,11 +23,11 @@ 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
+ markers: MapMarker$1[];
27
+ amapKey: string;
26
28
  center: [number, number];
27
29
  zoom: number;
28
- markers: MapMarker$1[];
29
30
  mapType: "osm" | "amap";
30
- amapKey: string;
31
31
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
32
32
  declare const _default: typeof __VLS_export;
33
33
  //#endregion
@@ -25,12 +25,12 @@ declare const __VLS_export: vue.DefineComponent<Props, {
25
25
  copyCode: typeof copyCode;
26
26
  toggleFullscreen: typeof toggleFullscreen;
27
27
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
28
- click: (event: MouseEvent) => any;
29
28
  copy: (code: string) => any;
29
+ click: (event: MouseEvent) => any;
30
30
  fullscreen: (isFullscreen: boolean) => any;
31
31
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
32
- onClick?: ((event: MouseEvent) => any) | undefined;
33
32
  onCopy?: ((code: string) => any) | undefined;
33
+ onClick?: ((event: MouseEvent) => any) | undefined;
34
34
  onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
35
35
  }>, {
36
36
  trim: boolean;
@@ -62,18 +62,18 @@ declare const __VLS_export: vue.DefineComponent<ContextMenuProps, {
62
62
  visible: vue.ComputedRef<boolean>;
63
63
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
64
64
  select: (item: ContextMenuItem) => any;
65
+ close: () => any;
65
66
  open: (position: {
66
67
  x: number;
67
68
  y: number;
68
69
  }) => any;
69
- close: () => any;
70
70
  }, string, vue.PublicProps, Readonly<ContextMenuProps> & Readonly<{
71
71
  onSelect?: ((item: ContextMenuItem) => any) | undefined;
72
+ onClose?: (() => any) | undefined;
72
73
  onOpen?: ((position: {
73
74
  x: number;
74
75
  y: number;
75
76
  }) => any) | undefined;
76
- onClose?: (() => any) | undefined;
77
77
  }>, {
78
78
  disabled: boolean;
79
79
  items: ContextMenuItem[];
@@ -55,11 +55,11 @@ declare const __VLS_export: vue.DefineComponent<IconProps, {
55
55
  color: string;
56
56
  loading: boolean;
57
57
  flip: "horizontal" | "vertical" | "both";
58
- clickable: boolean;
59
58
  title: string;
60
59
  svgPath: string;
61
60
  viewBox: string;
62
61
  alt: string;
62
+ clickable: boolean;
63
63
  fallbackIcon: string;
64
64
  ariaLabel: string;
65
65
  customClass: string;
@@ -71,11 +71,11 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
71
71
  onModeChange?: ((mode: string) => any) | undefined;
72
72
  }>, {
73
73
  theme: "default" | "minimal";
74
- mode: "list" | "loop" | "single" | "shuffle";
75
74
  initialIndex: number;
76
75
  showPlaylist: boolean;
77
76
  showCover: boolean;
78
77
  autoplay: boolean;
78
+ mode: "list" | "loop" | "single" | "shuffle";
79
79
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
80
80
  declare const _default: typeof __VLS_export;
81
81
  //#endregion
@@ -35,12 +35,12 @@ type __VLS_Slots = {} & {
35
35
  };
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
+ time: number;
39
+ strokeWidth: number;
38
40
  percentage: number | number[];
39
41
  isAnimation: boolean;
40
- time: number;
41
42
  indicatorPlacement: "inside" | "outside";
42
43
  showIndicator: boolean;
43
- strokeWidth: number;
44
44
  unit: string;
45
45
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
46
46
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -84,18 +84,18 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
84
84
  /** 展开全部 */expandAll: () => void; /** 折叠全部 */
85
85
  collapseAll: () => void;
86
86
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
87
- expand: (item: TimelineItem, expanded: boolean) => any;
88
87
  "item-click": (item: TimelineItem, index: number) => any;
88
+ expand: (item: TimelineItem, expanded: boolean) => any;
89
89
  }, string, vue.PublicProps, Readonly<TimelineProps> & Readonly<{
90
- onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
91
90
  "onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
91
+ onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
92
92
  }>, {
93
93
  reverse: boolean;
94
94
  size: "small" | "medium" | "large";
95
95
  items: TimelineItem[];
96
96
  mode: "vertical" | "horizontal";
97
- labelPlacement: "left" | "right" | "alternate";
98
97
  pending: boolean;
98
+ labelPlacement: "left" | "right" | "alternate";
99
99
  pendingText: string;
100
100
  lineType: "solid" | "dashed" | "dotted";
101
101
  showTime: boolean;
@@ -650,9 +650,9 @@ declare const __VLS_export: vue.DefineComponent<Props, {
650
650
  theme: "light" | "dark";
651
651
  options: GanttOptions;
652
652
  height: string | number;
653
+ title: string;
653
654
  data: GanttTask[];
654
655
  showToolbar: boolean;
655
- title: string;
656
656
  preset: GanttPreset;
657
657
  showFullscreenButton: boolean;
658
658
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -74,11 +74,11 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
74
74
  }>, {
75
75
  size: number;
76
76
  overlap: number;
77
+ clickable: boolean;
77
78
  max: number;
78
79
  shape: "circle" | "square";
79
80
  showStatus: boolean;
80
81
  showTooltip: boolean;
81
- clickable: boolean;
82
82
  overflowClickable: boolean;
83
83
  direction: "ltr" | "rtl";
84
84
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -105,11 +105,11 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
105
105
  onResend?: ((msg: ChatMessage) => any) | undefined;
106
106
  }>, {
107
107
  placeholder: string;
108
+ title: string;
108
109
  showContacts: boolean;
109
110
  showTimestamp: boolean;
110
111
  showSendBtn: boolean;
111
112
  loadingHistory: boolean;
112
- title: string;
113
113
  contacts: ChatContact[];
114
114
  messages: ChatMessage[];
115
115
  currentContactId: string;
@@ -69,13 +69,13 @@ declare var __VLS_7: `header-${string}`, __VLS_8: {
69
69
  type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_7>]?: (props: typeof __VLS_8) => any } & { [K in NonNullable<typeof __VLS_16>]?: (props: typeof __VLS_17) => any } & { [K in NonNullable<typeof __VLS_31>]?: (props: typeof __VLS_32) => any };
70
70
  declare const __VLS_base: vue.DefineComponent<Props, CollapsePanelExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
71
71
  change: (activeKeys: string[]) => any;
72
- "update:activeKeys": (keys: string[]) => any;
73
72
  expand: (key: string) => any;
73
+ "update:activeKeys": (keys: string[]) => any;
74
74
  collapse: (key: string) => any;
75
75
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
76
76
  onChange?: ((activeKeys: string[]) => any) | undefined;
77
- "onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
78
77
  onExpand?: ((key: string) => any) | undefined;
78
+ "onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
79
79
  onCollapse?: ((key: string) => any) | undefined;
80
80
  }>, {
81
81
  bordered: boolean;
@@ -66,9 +66,9 @@ declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperE
66
66
  disabled: boolean;
67
67
  height: string | number;
68
68
  showToolbar: boolean;
69
+ showPreview: boolean;
69
70
  src: string;
70
71
  aspectRatio: number;
71
- showPreview: boolean;
72
72
  outputFormat: CropOutputFormat;
73
73
  outputQuality: number;
74
74
  maxOutputWidth: number;
@@ -120,6 +120,7 @@ declare const __VLS_base: vue.DefineComponent<DraggableProps, {
120
120
  sort: boolean;
121
121
  disabled: boolean;
122
122
  delay: number;
123
+ itemClass: string;
123
124
  direction: "vertical" | "horizontal";
124
125
  group: string | GroupOptions;
125
126
  animation: number;
@@ -130,7 +131,6 @@ declare const __VLS_base: vue.DefineComponent<DraggableProps, {
130
131
  dragClass: string;
131
132
  wrapperClass: string;
132
133
  listClass: string;
133
- itemClass: string;
134
134
  showEmptyState: boolean;
135
135
  emptyText: string;
136
136
  swapThreshold: number;
@@ -430,13 +430,13 @@ declare const __VLS_base: vue.DefineComponent<CFormProps, {
430
430
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
431
431
  "update:modelValue": (model: Record<string, any>) => any;
432
432
  submit: (payload: SubmitEventPayload) => any;
433
- "validate-success": (model: Record<string, any>) => any;
434
433
  "validate-error": (errors: unknown) => any;
434
+ "validate-success": (model: Record<string, any>) => any;
435
435
  }, string, vue.PublicProps, Readonly<CFormProps> & Readonly<{
436
436
  "onUpdate:modelValue"?: ((model: Record<string, any>) => any) | undefined;
437
437
  onSubmit?: ((payload: SubmitEventPayload) => any) | undefined;
438
- "onValidate-success"?: ((model: Record<string, any>) => any) | undefined;
439
438
  "onValidate-error"?: ((errors: unknown) => any) | undefined;
439
+ "onValidate-success"?: ((model: Record<string, any>) => any) | undefined;
440
440
  }>, {
441
441
  config: FormConfig;
442
442
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -1353,8 +1353,9 @@ declare const useDynamicFormState: () => {
1353
1353
  readonly trigger?: string | readonly string[] | undefined;
1354
1354
  readonly pattern?: (RegExp | string) | undefined;
1355
1355
  readonly required?: boolean | undefined;
1356
- readonly max?: number | undefined;
1357
1356
  readonly key?: string | undefined;
1357
+ readonly max?: number | undefined;
1358
+ readonly message?: string | ((a?: string) => string) | undefined;
1358
1359
  readonly level?: "warning" | "error" | undefined;
1359
1360
  readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
1360
1361
  readonly min?: number | undefined;
@@ -1930,7 +1931,6 @@ declare const useDynamicFormState: () => {
1930
1931
  readonly validator?: ((rule: InternalRuleItem, value: Value, callback: (error?: string | Error) => void, source: Values, options: ValidateOption) => SyncValidateResult | void) | undefined;
1931
1932
  }[] | undefined;
1932
1933
  readonly transform?: ((value: Value) => Value) | undefined;
1933
- readonly message?: string | ((a?: string) => string) | undefined;
1934
1934
  readonly renderMessage?: (() => vue.VNodeChild) | undefined;
1935
1935
  readonly validator: NonNullable<naive_ui0.FormItemRule["validator"]>;
1936
1936
  }[] | undefined;
@@ -3630,8 +3630,9 @@ declare const useDynamicFormState: () => {
3630
3630
  readonly trigger?: string | readonly string[] | undefined;
3631
3631
  readonly pattern?: (RegExp | string) | undefined;
3632
3632
  readonly required?: boolean | undefined;
3633
- readonly max?: number | undefined;
3634
3633
  readonly key?: string | undefined;
3634
+ readonly max?: number | undefined;
3635
+ readonly message?: string | ((a?: string) => string) | undefined;
3635
3636
  readonly level?: "warning" | "error" | undefined;
3636
3637
  readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
3637
3638
  readonly min?: number | undefined;
@@ -4207,7 +4208,6 @@ declare const useDynamicFormState: () => {
4207
4208
  readonly validator?: ((rule: InternalRuleItem, value: Value, callback: (error?: string | Error) => void, source: Values, options: ValidateOption) => SyncValidateResult | void) | undefined;
4208
4209
  }[] | undefined;
4209
4210
  readonly transform?: ((value: Value) => Value) | undefined;
4210
- readonly message?: string | ((a?: string) => string) | undefined;
4211
4211
  readonly renderMessage?: (() => vue.VNodeChild) | undefined;
4212
4212
  readonly validator: NonNullable<naive_ui0.FormItemRule["validator"]>;
4213
4213
  }[] | undefined;
@@ -79,13 +79,13 @@ 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
  }>, {
@@ -595,8 +595,8 @@ declare const __VLS_base: vue.DefineComponent<__VLS_Props, {
595
595
  clearAllSelections(): void;
596
596
  };
597
597
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
598
- save: (rowData: DataRecord, rowIndex: number, columnKey?: string | undefined) => any;
599
598
  cancel: (rowData: DataRecord, rowIndex: number) => any;
599
+ save: (rowData: DataRecord, rowIndex: number, columnKey?: string | undefined) => any;
600
600
  "pagination-change": (...args: unknown[]) => any;
601
601
  "row-delete": (...args: unknown[]) => any;
602
602
  "expand-change": (expandedKeys: DataTableRowKey$1[], row?: DataRecord | undefined, expanded?: boolean | undefined) => any;
@@ -611,8 +611,8 @@ declare const __VLS_base: vue.DefineComponent<__VLS_Props, {
611
611
  "view-detail": (data: DataRecord) => any;
612
612
  "column-change": (columns: TableColumn[]) => any;
613
613
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
614
- onSave?: ((rowData: DataRecord, rowIndex: number, columnKey?: string | undefined) => any) | undefined;
615
614
  onCancel?: ((rowData: DataRecord, rowIndex: number) => any) | undefined;
615
+ onSave?: ((rowData: DataRecord, rowIndex: number, columnKey?: string | undefined) => any) | undefined;
616
616
  "onPagination-change"?: ((...args: unknown[]) => any) | undefined;
617
617
  "onRow-delete"?: ((...args: unknown[]) => any) | undefined;
618
618
  "onExpand-change"?: ((expandedKeys: DataTableRowKey$1[], row?: DataRecord | undefined, expanded?: boolean | undefined) => any) | undefined;
@@ -53,10 +53,10 @@ declare const __VLS_export: vue.DefineComponent<Props, QRCodeExpose, {}, {}, {},
53
53
  label: string;
54
54
  size: number;
55
55
  color: string;
56
- showBorder: boolean;
57
- showLabel: boolean;
58
56
  mode: RenderMode;
59
57
  margin: number;
58
+ showBorder: boolean;
59
+ showLabel: boolean;
60
60
  bgColor: string;
61
61
  errorCorrectionLevel: ErrorCorrectionLevel;
62
62
  logo: LogoOptions;
@@ -67,26 +67,26 @@ type __VLS_Slots = {} & {
67
67
  };
68
68
  declare const __VLS_base: vue.DefineComponent<Props, SplitPaneExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
69
69
  expand: (target: CollapseTarget) => any;
70
- collapse: (target: CollapseTarget) => any;
70
+ resize: (firstSize: number, secondSize: number) => any;
71
71
  "drag-start": (size: number) => any;
72
72
  "drag-end": (size: number) => any;
73
- resize: (firstSize: number, secondSize: number) => any;
73
+ collapse: (target: CollapseTarget) => any;
74
74
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
75
75
  onExpand?: ((target: CollapseTarget) => any) | undefined;
76
- onCollapse?: ((target: CollapseTarget) => any) | undefined;
76
+ onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
77
77
  "onDrag-start"?: ((size: number) => any) | undefined;
78
78
  "onDrag-end"?: ((size: number) => any) | undefined;
79
- onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
79
+ onCollapse?: ((target: CollapseTarget) => any) | undefined;
80
80
  }>, {
81
81
  disabled: boolean;
82
+ step: number;
83
+ maxSize: number;
82
84
  direction: SplitDirection;
83
85
  defaultSize: number;
84
86
  minSize: number;
85
- maxSize: number;
86
87
  collapsible: boolean;
87
88
  showCollapseButton: boolean;
88
89
  gutterSize: number;
89
- step: number;
90
90
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
91
91
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
92
92
  declare const _default: typeof __VLS_export;
@@ -49,10 +49,11 @@ declare const __VLS_export: vue.DefineComponent<TimeProps, TimeExpose, {}, {}, {
49
49
  "onChange-end"?: ((time: number | null) => any) | undefined;
50
50
  }>, {
51
51
  placeholder: string;
52
- format: string;
53
52
  mode: TimeMode;
53
+ attrs: Record<string, any>;
54
54
  startPlaceholder: string;
55
55
  endPlaceholder: string;
56
+ format: string;
56
57
  useHours: boolean;
57
58
  useMinutes: boolean;
58
59
  useSeconds: boolean;
@@ -61,7 +62,6 @@ declare const __VLS_export: vue.DefineComponent<TimeProps, TimeExpose, {}, {}, {
61
62
  secondStep: number;
62
63
  startTimeProps: Record<string, any>;
63
64
  endTimeProps: Record<string, any>;
64
- attrs: Record<string, any>;
65
65
  defaultStartTime: number | null;
66
66
  defaultEndTime: number | null;
67
67
  defaultSingleTime: number | null;
@@ -91,24 +91,24 @@ type __VLS_Slots = {} & {
91
91
  };
92
92
  declare const __VLS_base: vue.DefineComponent<TreeProps, TreeExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
93
93
  add: (parentNode?: TreeNodeData | undefined) => any;
94
- refresh: () => any;
95
94
  "node-select": (node: TreeNodeData | null, selectedKeys: (string | number)[]) => any;
96
95
  "node-action": (action: string, node: TreeNodeData) => any;
97
96
  "node-drop": (info: DropInfo) => any;
97
+ refresh: () => any;
98
98
  }, string, vue.PublicProps, Readonly<TreeProps> & Readonly<{
99
99
  onAdd?: ((parentNode?: TreeNodeData | undefined) => any) | undefined;
100
- onRefresh?: (() => any) | undefined;
101
100
  "onNode-select"?: ((node: TreeNodeData | null, selectedKeys: (string | number)[]) => any) | undefined;
102
101
  "onNode-action"?: ((action: string, node: TreeNodeData) => any) | undefined;
103
102
  "onNode-drop"?: ((info: DropInfo) => any) | undefined;
103
+ onRefresh?: (() => any) | undefined;
104
104
  }>, {
105
105
  labelField: string;
106
106
  childrenField: string;
107
- showToolbar: boolean;
108
107
  mode: TreeMode;
109
- keyField: string;
110
- draggable: boolean;
108
+ showToolbar: boolean;
111
109
  actions: ActionConfig[];
110
+ draggable: boolean;
111
+ keyField: string;
112
112
  searchPattern: string;
113
113
  searchable: boolean;
114
114
  searchPlaceholder: string;
@@ -240,16 +240,16 @@ 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;
244
243
  "node-click": (node: WorkflowNode) => any;
245
244
  "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;
251
250
  "onNode-click"?: ((node: WorkflowNode) => any) | undefined;
252
251
  "onEdge-click"?: ((edge: WorkflowEdge) => any) | undefined;
252
+ "onValidate-error"?: ((errors: ValidationError[]) => any) | undefined;
253
253
  }>, {
254
254
  theme: "light" | "dark";
255
255
  readonly: boolean;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.6.16",
6
+ "version": "0.6.17",
7
7
  "description": "基于 Naive UI 的 Vue 3 组件库",
8
8
  "type": "module",
9
9
  "main": "dist/index.cjs",