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

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.
@@ -119,8 +119,8 @@ declare const __VLS_export: vue.DefineComponent<CronProps, {
119
119
  "onValidation-change"?: ((result: CronValidation) => any) | undefined;
120
120
  }>, {
121
121
  modelValue: string;
122
- height: string | number;
123
122
  disabled: boolean;
123
+ height: string | number;
124
124
  showPreview: boolean;
125
125
  previewCount: number;
126
126
  showTemplates: boolean;
@@ -121,13 +121,13 @@ declare const __VLS_export: vue.DefineComponent<FormulaEditorProps, FormulaEdito
121
121
  "onValidation-change"?: ((result: FormulaValidation) => any) | undefined;
122
122
  }>, {
123
123
  modelValue: string;
124
- height: string | number;
125
- disabled: boolean;
126
124
  placeholder: string;
127
- showPreview: boolean;
125
+ disabled: boolean;
126
+ height: string | number;
128
127
  variables: FormulaVariable[];
129
128
  functions: FormulaFunction[];
130
129
  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
- delete: (ids: string[]) => any;
154
153
  itemClick: (message: NotificationMessage) => any;
154
+ delete: (ids: string[]) => 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
- onDelete?: ((ids: string[]) => any) | undefined;
163
162
  onItemClick?: ((message: NotificationMessage) => any) | undefined;
163
+ onDelete?: ((ids: string[]) => 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
- pageSize: number;
172
- storageKey: string;
173
171
  desktopNotification: boolean;
174
172
  maxBadgeCount: number;
175
173
  pollingInterval: number;
174
+ pageSize: number;
175
+ storageKey: string;
176
176
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
177
177
  declare const _default: typeof __VLS_export;
178
178
  //#endregion
@@ -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<"all" | NotificationCategory, "all" | NotificationCategory>;
220
+ activeCategory: vue.Ref<NotificationCategory | "all", NotificationCategory | "all">;
221
221
  loading: vue.Ref<boolean, boolean>;
222
222
  total: vue.Ref<number, number>;
223
223
  page: vue.Ref<number, number>;
@@ -213,9 +213,9 @@ declare const __VLS_base: vue.DefineComponent<UploadProps, UploadExpose, {}, {},
213
213
  onExceed?: ((files: File[], fileList: UploadFileItem[]) => any) | undefined;
214
214
  }>, {
215
215
  disabled: boolean;
216
- draggable: boolean;
217
- data: Record<string, any>;
218
216
  multiple: boolean;
217
+ data: Record<string, any>;
218
+ draggable: boolean;
219
219
  maxSize: number;
220
220
  action: string;
221
221
  headers: Record<string, string>;
package/dist/data.d.ts CHANGED
@@ -24,10 +24,10 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
24
24
  }>, {
25
25
  height: string;
26
26
  center: [number, number];
27
- markers: MapMarker$1[];
28
- amapKey: string;
29
27
  zoom: number;
28
+ markers: MapMarker$1[];
30
29
  mapType: "osm" | "amap";
30
+ amapKey: string;
31
31
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
32
32
  declare const _default: typeof __VLS_export;
33
33
  //#endregion
@@ -63,10 +63,10 @@ declare const __VLS_base: vue.DefineComponent<TableActionsProps, {}, {}, {}, {},
63
63
  "onDropdown-click"?: ((item: ActionDropdownItem, action: ActionItem) => any) | undefined;
64
64
  "onAction-click"?: ((action: ActionItem) => any) | undefined;
65
65
  }>, {
66
- config: ActionBarConfig;
67
66
  actions: ActionItem[];
68
67
  leftActions: ActionItem[];
69
68
  rightActions: ActionItem[];
69
+ config: ActionBarConfig;
70
70
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
71
71
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
72
72
  declare const _default: typeof __VLS_export;
@@ -62,24 +62,24 @@ 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;
66
65
  open: (position: {
67
66
  x: number;
68
67
  y: number;
69
68
  }) => any;
69
+ close: () => any;
70
70
  }, string, vue.PublicProps, Readonly<ContextMenuProps> & Readonly<{
71
71
  onSelect?: ((item: ContextMenuItem) => any) | undefined;
72
- onClose?: (() => any) | undefined;
73
72
  onOpen?: ((position: {
74
73
  x: number;
75
74
  y: number;
76
75
  }) => any) | undefined;
76
+ onClose?: (() => any) | undefined;
77
77
  }>, {
78
78
  disabled: boolean;
79
+ items: ContextMenuItem[];
79
80
  zIndex: number;
80
81
  minWidth: number;
81
82
  maxWidth: number;
82
- items: ContextMenuItem[];
83
83
  subMenuPlacement: "right" | "left";
84
84
  autoClose: boolean;
85
85
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -38,8 +38,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
38
38
  "onUpdate:dateTimeRange"?: ((value: DateRangeValue) => any) | undefined;
39
39
  "onUpdate:smartRange"?: ((value: DateRangeValue) => any) | undefined;
40
40
  }>, {
41
- disabled: boolean;
42
41
  placeholder: string;
42
+ disabled: boolean;
43
43
  mode: DatePickerMode;
44
44
  startPlaceholder: string;
45
45
  endPlaceholder: string;
@@ -29,10 +29,10 @@ declare const __VLS_export: vue.DefineComponent<Props, {
29
29
  "onEditor-change"?: ((html: string) => any) | undefined;
30
30
  }>, {
31
31
  modelValue: string;
32
- height: number;
33
- disabled: boolean;
34
32
  placeholder: string;
33
+ disabled: boolean;
35
34
  theme: "light" | "dark";
35
+ height: number;
36
36
  readonly: boolean;
37
37
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
38
38
  declare const _default: typeof __VLS_export;
@@ -41,22 +41,22 @@ declare const __VLS_export: vue.DefineComponent<IconProps, {
41
41
  errorMessage: Readonly<vue.Ref<string, string>>; /** DOM引用 */
42
42
  el: vue.Ref<HTMLElement | undefined, HTMLElement | undefined>;
43
43
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
44
- click: (event: MouseEvent) => any;
45
44
  error: (type: string, error?: any) => any;
45
+ click: (event: MouseEvent) => any;
46
46
  load: () => any;
47
47
  }, string, vue.PublicProps, Readonly<IconProps> & Readonly<{
48
- onClick?: ((event: MouseEvent) => any) | undefined;
49
48
  onError?: ((type: string, error?: any) => any) | undefined;
49
+ onClick?: ((event: MouseEvent) => any) | undefined;
50
50
  onLoad?: (() => any) | undefined;
51
51
  }>, {
52
52
  type: "iconify" | "unocss" | "component" | "svg" | "image";
53
+ name: string | any;
53
54
  size: number | string;
54
- flip: "horizontal" | "vertical" | "both";
55
55
  color: string;
56
- title: string;
57
- clickable: boolean;
58
56
  loading: boolean;
59
- name: string | any;
57
+ flip: "horizontal" | "vertical" | "both";
58
+ clickable: boolean;
59
+ title: string;
60
60
  svgPath: string;
61
61
  viewBox: string;
62
62
  alt: string;
@@ -99,8 +99,8 @@ declare const __VLS_base: vue.DefineComponent<LoginProps, {
99
99
  "onRegister-submit"?: ((data: RegisterFormData) => any) | undefined;
100
100
  "onRegister-send-code"?: ((phone: string) => any) | undefined;
101
101
  }>, {
102
- title: string;
103
102
  loading: boolean;
103
+ title: string;
104
104
  storageKey: string;
105
105
  defaultUsername: string;
106
106
  defaultPassword: string;
@@ -59,9 +59,9 @@ declare const __VLS_export: vue.DefineComponent<Props, {
59
59
  "onMax-length-exceeded"?: ((currentLength: number, maxLength: number) => any) | undefined;
60
60
  }>, {
61
61
  modelValue: string;
62
- height: string | number;
63
- disabled: boolean;
64
62
  placeholder: string;
63
+ disabled: boolean;
64
+ height: string | number;
65
65
  mode: "edit" | "editable" | "preview";
66
66
  tocNavPosition: "left" | "right";
67
67
  defaultFullscreen: boolean;
@@ -60,18 +60,18 @@ type __VLS_Props = {
60
60
  theme?: AudioPlayerProps['theme'];
61
61
  };
62
62
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
63
- ended: (index: number) => any;
64
- pause: () => any;
65
63
  play: (index: number) => any;
64
+ pause: () => any;
65
+ ended: (index: number) => any;
66
66
  modeChange: (mode: string) => any;
67
67
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
68
- onEnded?: ((index: number) => any) | undefined;
69
- onPause?: (() => any) | undefined;
70
68
  onPlay?: ((index: number) => any) | undefined;
69
+ onPause?: (() => any) | undefined;
70
+ onEnded?: ((index: number) => any) | undefined;
71
71
  onModeChange?: ((mode: string) => any) | undefined;
72
72
  }>, {
73
- mode: "list" | "single" | "loop" | "shuffle";
74
73
  theme: "default" | "minimal";
74
+ mode: "list" | "loop" | "single" | "shuffle";
75
75
  initialIndex: number;
76
76
  showPlaylist: boolean;
77
77
  showCover: boolean;
@@ -34,13 +34,13 @@ type __VLS_Slots = {} & {
34
34
  indicator?: (props: typeof __VLS_9) => any;
35
35
  };
36
36
  declare const __VLS_base: vue.DefineComponent<Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<Props> & Readonly<{}>, {
37
- time: number;
38
- strokeWidth: number;
37
+ status: "default" | "success" | "error" | "warning" | "info";
39
38
  percentage: number | number[];
40
39
  isAnimation: boolean;
40
+ time: number;
41
41
  indicatorPlacement: "inside" | "outside";
42
42
  showIndicator: boolean;
43
- status: "default" | "success" | "error" | "warning" | "info";
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>;
@@ -24,9 +24,9 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
24
24
  onChange?: ((args_0: number) => any) | undefined;
25
25
  "onUpdate:current"?: ((args_0: number) => any) | undefined;
26
26
  }>, {
27
- current: number;
28
- direction: "horizontal" | "vertical";
29
27
  clickable: boolean;
28
+ direction: "horizontal" | "vertical";
29
+ current: number;
30
30
  connected: boolean;
31
31
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
32
32
  declare const _default: typeof __VLS_export;
@@ -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;
79
80
  homePath: string;
80
81
  homeTitle: string;
81
82
  homeIcon: string;
82
- persistKey: string;
83
83
  contextMenuLabels: ContextMenuLabels;
84
84
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
85
85
  declare const _default: typeof __VLS_export;
@@ -84,16 +84,16 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
84
84
  /** 展开全部 */expandAll: () => void; /** 折叠全部 */
85
85
  collapseAll: () => void;
86
86
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
87
- "item-click": (item: TimelineItem, index: number) => any;
88
87
  expand: (item: TimelineItem, expanded: boolean) => any;
88
+ "item-click": (item: TimelineItem, index: number) => any;
89
89
  }, string, vue.PublicProps, Readonly<TimelineProps> & Readonly<{
90
- "onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
91
90
  onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
91
+ "onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
92
92
  }>, {
93
- mode: "vertical" | "horizontal";
94
93
  reverse: boolean;
95
94
  size: "small" | "medium" | "large";
96
95
  items: TimelineItem[];
96
+ mode: "vertical" | "horizontal";
97
97
  labelPlacement: "left" | "right" | "alternate";
98
98
  pending: boolean;
99
99
  pendingText: string;
@@ -647,12 +647,12 @@ declare const __VLS_export: vue.DefineComponent<Props, {
647
647
  onTaskClick?: ((task: GanttTask, event: Event) => any) | undefined;
648
648
  onTaskChange?: ((task: GanttTask, changes: any) => any) | undefined;
649
649
  }>, {
650
- height: string | number;
651
650
  theme: "light" | "dark";
652
651
  options: GanttOptions;
653
- title: string;
652
+ height: string | number;
654
653
  data: GanttTask[];
655
654
  showToolbar: boolean;
655
+ title: string;
656
656
  preset: GanttPreset;
657
657
  showFullscreenButton: boolean;
658
658
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -74,13 +74,13 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
74
74
  }>, {
75
75
  size: number;
76
76
  overlap: number;
77
- direction: "ltr" | "rtl";
78
- clickable: boolean;
79
77
  max: number;
80
78
  shape: "circle" | "square";
81
79
  showStatus: boolean;
82
80
  showTooltip: boolean;
81
+ clickable: boolean;
83
82
  overflowClickable: boolean;
83
+ direction: "ltr" | "rtl";
84
84
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
85
85
  declare const _default: typeof __VLS_export;
86
86
  //#endregion
@@ -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
- height: number;
24
- width: number;
25
23
  label: string;
26
- showBorder: boolean;
27
- showLabel: boolean;
28
- format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
24
+ width: number;
25
+ height: number;
29
26
  fontSize: number;
30
- background: string;
27
+ format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
31
28
  showText: boolean;
32
29
  textPosition: "bottom" | "top";
33
30
  lineColor: string;
31
+ background: string;
32
+ showBorder: boolean;
33
+ showLabel: boolean;
34
34
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
35
35
  declare const _default: typeof __VLS_export;
36
36
  //#endregion
@@ -35,9 +35,9 @@ declare const __VLS_export: vue.DefineComponent<CaptchaProps, {
35
35
  onReset?: (() => any) | undefined;
36
36
  }>, {
37
37
  disabled: boolean;
38
+ theme: "light" | "dark";
38
39
  triggerText: string;
39
40
  images: string[];
40
- theme: "light" | "dark";
41
41
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
42
42
  declare const _default: typeof __VLS_export;
43
43
  //#endregion
@@ -86,18 +86,18 @@ type __VLS_Slots = {} & {
86
86
  declare const __VLS_base: vue.DefineComponent<ChatProps, {
87
87
  scrollToBottom: () => void;
88
88
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
89
- "load-more": () => any;
90
89
  send: (content: string) => any;
91
90
  "select-contact": (id: string) => any;
91
+ "load-more": () => any;
92
92
  "image-preview": (url: string) => any;
93
93
  "file-click": (msg: ChatMessage) => any;
94
94
  "file-upload": () => any;
95
95
  "emoji-click": () => any;
96
96
  resend: (msg: ChatMessage) => any;
97
97
  }, string, vue.PublicProps, Readonly<ChatProps> & Readonly<{
98
- "onLoad-more"?: (() => any) | undefined;
99
98
  onSend?: ((content: string) => any) | undefined;
100
99
  "onSelect-contact"?: ((id: string) => any) | undefined;
100
+ "onLoad-more"?: (() => any) | undefined;
101
101
  "onImage-preview"?: ((url: string) => any) | undefined;
102
102
  "onFile-click"?: ((msg: ChatMessage) => any) | undefined;
103
103
  "onFile-upload"?: (() => any) | undefined;
@@ -105,13 +105,13 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
105
105
  onResend?: ((msg: ChatMessage) => any) | undefined;
106
106
  }>, {
107
107
  placeholder: string;
108
- title: string;
109
- messages: ChatMessage[];
110
108
  showContacts: boolean;
111
109
  showTimestamp: boolean;
112
110
  showSendBtn: boolean;
113
111
  loadingHistory: boolean;
112
+ title: string;
114
113
  contacts: ChatContact[];
114
+ messages: ChatMessage[];
115
115
  currentContactId: string;
116
116
  selfAvatar: string;
117
117
  selfName: string;
@@ -69,22 +69,22 @@ 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
- collapse: (key: string) => any;
73
72
  "update:activeKeys": (keys: string[]) => any;
74
73
  expand: (key: string) => any;
74
+ collapse: (key: string) => any;
75
75
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
76
76
  onChange?: ((activeKeys: string[]) => any) | undefined;
77
- onCollapse?: ((key: string) => any) | undefined;
78
77
  "onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
79
78
  onExpand?: ((key: string) => any) | undefined;
79
+ onCollapse?: ((key: string) => any) | undefined;
80
80
  }>, {
81
- persistKey: string;
82
81
  bordered: boolean;
83
82
  activeKeys: string[];
84
83
  defaultActiveKeys: string[];
85
84
  accordion: boolean;
86
85
  variant: CollapsePanelVariant;
87
86
  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;
@@ -63,16 +63,16 @@ declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperE
63
63
  onCrop?: ((result: any) => any) | undefined;
64
64
  onConfirm?: ((result: any) => any) | undefined;
65
65
  }>, {
66
- height: string | number;
67
66
  disabled: boolean;
68
- aspectRatio: number;
67
+ height: string | number;
69
68
  showToolbar: boolean;
70
69
  src: string;
70
+ aspectRatio: number;
71
+ showPreview: boolean;
71
72
  outputFormat: CropOutputFormat;
72
73
  outputQuality: number;
73
74
  maxOutputWidth: number;
74
75
  maxOutputHeight: number;
75
- showPreview: boolean;
76
76
  circular: boolean;
77
77
  modal: boolean;
78
78
  modalTitle: string;
@@ -117,8 +117,8 @@ declare const __VLS_base: vue.DefineComponent<DraggableProps, {
117
117
  "onList-change"?: ((list: DraggableItem[]) => any) | undefined;
118
118
  }>, {
119
119
  modelValue: DraggableItem[];
120
- disabled: boolean;
121
120
  sort: boolean;
121
+ disabled: boolean;
122
122
  delay: number;
123
123
  direction: "vertical" | "horizontal";
124
124
  group: string | GroupOptions;
@@ -1351,12 +1351,13 @@ declare const useDynamicFormState: () => {
1351
1351
  readonly error?: ((rule: InternalRuleItem, message: string) => ValidateError) | undefined;
1352
1352
  } | undefined;
1353
1353
  readonly trigger?: string | readonly string[] | undefined;
1354
- readonly key?: string | undefined;
1354
+ readonly pattern?: (RegExp | string) | undefined;
1355
1355
  readonly required?: boolean | undefined;
1356
+ readonly max?: number | undefined;
1357
+ readonly key?: string | undefined;
1358
+ readonly level?: "warning" | "error" | undefined;
1356
1359
  readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
1357
- readonly pattern?: (RegExp | string) | undefined;
1358
1360
  readonly min?: number | undefined;
1359
- readonly max?: number | undefined;
1360
1361
  readonly len?: number | undefined;
1361
1362
  readonly enum?: readonly (string | number | boolean | null | undefined)[] | undefined;
1362
1363
  readonly whitespace?: boolean | undefined;
@@ -1931,7 +1932,6 @@ declare const useDynamicFormState: () => {
1931
1932
  readonly transform?: ((value: Value) => Value) | undefined;
1932
1933
  readonly message?: string | ((a?: string) => string) | undefined;
1933
1934
  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,13 @@ declare const useDynamicFormState: () => {
3628
3628
  readonly error?: ((rule: InternalRuleItem, message: string) => ValidateError) | undefined;
3629
3629
  } | undefined;
3630
3630
  readonly trigger?: string | readonly string[] | undefined;
3631
- readonly key?: string | undefined;
3631
+ readonly pattern?: (RegExp | string) | undefined;
3632
3632
  readonly required?: boolean | undefined;
3633
+ readonly max?: number | undefined;
3634
+ readonly key?: string | undefined;
3635
+ readonly level?: "warning" | "error" | undefined;
3633
3636
  readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
3634
- readonly pattern?: (RegExp | string) | undefined;
3635
3637
  readonly min?: number | undefined;
3636
- readonly max?: number | undefined;
3637
3638
  readonly len?: number | undefined;
3638
3639
  readonly enum?: readonly (string | number | boolean | null | undefined)[] | undefined;
3639
3640
  readonly whitespace?: boolean | undefined;
@@ -4208,7 +4209,6 @@ declare const useDynamicFormState: () => {
4208
4209
  readonly transform?: ((value: Value) => Value) | undefined;
4209
4210
  readonly message?: string | ((a?: string) => string) | undefined;
4210
4211
  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,9 +259,9 @@ 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
  theme: "light" | "dark";
264
263
  width: string | number;
264
+ height: string | number;
265
265
  readonly: boolean;
266
266
  showToolbar: boolean;
267
267
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -91,12 +91,12 @@ declare const __VLS_base: vue.DefineComponent<WaterFallProps, WaterFallExpose, {
91
91
  }>, {
92
92
  loading: boolean;
93
93
  gap: number;
94
- animationDuration: number;
95
94
  columns: 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>;
@@ -397,20 +397,25 @@ interface DynamicRowsReturn<T extends DataRecord = DataRecord> {
397
397
  declare function useDynamicRows<T extends DataRecord = DataRecord>(data: Ref<T[]>, options?: DynamicRowsOptions<T>): DynamicRowsReturn<T>;
398
398
  //#endregion
399
399
  //#region src/components/C_Table/composables/useTableConfig.d.ts
400
- /** 可绑定到 C_Table 的 CRUD 对象接口 */
401
- interface CrudBinding {
402
- data: Ref<DataRecord[]>;
400
+ /**
401
+ * 可绑定到 C_Table 的 CRUD 对象接口
402
+ * 默认泛型参数为 any — 使 Ref/ComputedRef 类型协变兼容,
403
+ * 允许 useTableCrud<Employee>() 等任意子类型直接传入而无需类型断言。
404
+ * C_Table 内部已将数据规范化为 DataRecord,安全无副作用。
405
+ */
406
+ interface CrudBinding<T extends DataRecord = any> {
407
+ data: Ref<T[]>;
403
408
  loading: Ref<boolean>;
404
- columns: ComputedRef<TableColumn[]>;
405
- actions?: ComputedRef<SimpleTableActions>;
406
- pagination?: ComputedRef<PaginationConfig | null>;
409
+ columns: ComputedRef<TableColumn<T>[]>;
410
+ actions?: ComputedRef<SimpleTableActions<T>>;
411
+ pagination?: ComputedRef<PaginationConfig | false | null>;
407
412
  tableRef?: Ref<unknown>;
408
- save?: (...args: unknown[]) => unknown;
413
+ save?: (...args: any[]) => any;
409
414
  handleCancel?: () => void;
410
415
  handlePaginationChange?: (page: number, pageSize: number) => void;
411
- handleRowDelete?: (...args: unknown[]) => void;
416
+ handleRowDelete?: (...args: any[]) => any;
412
417
  detail?: {
413
- show: (...args: unknown[]) => void;
418
+ show: (...args: any[]) => void;
414
419
  };
415
420
  }
416
421
  /** C_Table :config prop 的类型 — 所有功能配置收拢在此 */
@@ -50,16 +50,16 @@ 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;
53
+ label: string;
54
54
  size: number;
55
55
  color: string;
56
- label: string;
56
+ showBorder: boolean;
57
+ showLabel: boolean;
58
+ mode: RenderMode;
57
59
  margin: number;
58
60
  bgColor: string;
59
61
  errorCorrectionLevel: ErrorCorrectionLevel;
60
62
  logo: LogoOptions;
61
- showBorder: boolean;
62
- showLabel: boolean;
63
63
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
64
64
  declare const _default: typeof __VLS_export;
65
65
  //#endregion
@@ -107,9 +107,9 @@ declare const __VLS_export: vue.DefineComponent<SignatureProps, SignatureExpose,
107
107
  onUndo?: (() => any) | undefined;
108
108
  onRedo?: (() => any) | undefined;
109
109
  }>, {
110
- height: number | string;
111
110
  disabled: boolean;
112
111
  width: number | string;
112
+ height: number | string;
113
113
  readonly: boolean;
114
114
  showToolbar: boolean;
115
115
  maxHistory: number;