@jswork/antd-components 1.0.218 → 1.0.220

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 (43) hide show
  1. package/dist/main.cjs.js +1 -1
  2. package/dist/main.cjs.js.map +1 -1
  3. package/dist/main.d.mts +110 -109
  4. package/dist/main.d.ts +110 -109
  5. package/dist/main.esm.js +1 -1
  6. package/dist/main.esm.js.map +1 -1
  7. package/package.json +1 -2
  8. package/src/lib/_abstract-upload.tsx +6 -6
  9. package/src/lib/breadcrumb.tsx +0 -2
  10. package/src/lib/button.tsx +112 -66
  11. package/src/lib/card-extras.tsx +13 -8
  12. package/src/lib/checkable-dropdown.tsx +8 -10
  13. package/src/lib/checkable-tag-list.tsx +4 -7
  14. package/src/lib/checkable-tag.tsx +5 -8
  15. package/src/lib/checkbox-group.tsx +4 -8
  16. package/src/lib/checkbox.tsx +3 -8
  17. package/src/lib/codeflask.tsx +0 -2
  18. package/src/lib/color-picker.tsx +61 -0
  19. package/src/lib/editable-tag-group.tsx +5 -9
  20. package/src/lib/input-copyable.tsx +27 -5
  21. package/src/lib/input-number.tsx +3 -8
  22. package/src/lib/input-tags.tsx +2 -5
  23. package/src/lib/input-token.tsx +1 -3
  24. package/src/lib/input.tsx +2 -5
  25. package/src/lib/interactive-list.tsx +1 -7
  26. package/src/lib/pre-select.tsx +0 -3
  27. package/src/lib/radio-group.tsx +5 -8
  28. package/src/lib/range-picker.tsx +4 -12
  29. package/src/lib/rate.tsx +4 -14
  30. package/src/lib/search.tsx +1 -4
  31. package/src/lib/select.tsx +4 -8
  32. package/src/lib/slider-range.tsx +4 -9
  33. package/src/lib/slider.tsx +4 -15
  34. package/src/lib/switch.tsx +3 -7
  35. package/src/lib/textarea.tsx +3 -7
  36. package/src/lib/time-picker.tsx +2 -5
  37. package/src/lib/transfer.tsx +3 -6
  38. package/src/lib/tree-select.tsx +5 -17
  39. package/src/lib/upload-dragger.tsx +4 -7
  40. package/src/lib/upload-picture-card.tsx +0 -2
  41. package/src/lib/upload-picture.tsx +0 -2
  42. package/src/lib/upload.tsx +5 -8
  43. package/src/main.ts +5 -0
package/dist/main.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import React, { HTMLAttributes, Component, ReactNode, FC } from 'react';
2
- import { BreadcrumbProps, MenuProps, CheckboxProps, PopconfirmProps, ButtonProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, SelectProps, SliderSingleProps, SwitchProps, TableProps, TimePickerProps, TransferProps, TreeProps, TreeSelectProps, UploadProps, UploadFile, SpaceProps } from 'antd';
2
+ import { BreadcrumbProps, MenuProps, CheckboxProps, ColorPickerProps, PopconfirmProps, ButtonProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, SelectProps, SliderSingleProps, SwitchProps, TableProps, TimePickerProps, TransferProps, TreeProps, TreeSelectProps, UploadProps, UploadFile, SpaceProps } from 'antd';
3
3
  import { TemplateArgs } from '@jswork/react-list';
4
4
  import { SizeType } from 'antd/es/config-provider/SizeContext';
5
5
  import { CheckableTagProps } from 'antd/es/tag';
@@ -20,23 +20,22 @@ import { UploadChangeParam } from 'antd/es/upload/interface';
20
20
  import { ReactComponent } from '@ebay/nice-form-react';
21
21
  import { ReactAntStatusSwitchProps } from '@jswork/react-ant-status-switch/dist/components';
22
22
 
23
- type StdEventTarget$q = {
23
+ type StdEventTarget$r = {
24
24
  target: {
25
25
  value: any;
26
26
  };
27
27
  };
28
- type StdCallback$q = (inEvent: StdEventTarget$q) => void;
28
+ type StdCallback$r = (inEvent: StdEventTarget$r) => void;
29
29
  type AcBreadcrumbProps = {
30
30
  className?: string;
31
31
  items?: any[];
32
32
  template?: (args: TemplateArgs) => React.ReactNode;
33
33
  value?: number;
34
- onChange?: StdCallback$q;
34
+ onChange?: StdCallback$r;
35
35
  } & BreadcrumbProps;
36
36
  declare class AcBreadcrumb extends React.Component<AcBreadcrumbProps> {
37
37
  static displayName: string;
38
38
  static defaultProps: {
39
- onChange: any;
40
39
  template: ({ item, index, items }: {
41
40
  item: any;
42
41
  index: any;
@@ -46,12 +45,12 @@ declare class AcBreadcrumb extends React.Component<AcBreadcrumbProps> {
46
45
  render(): React.JSX.Element;
47
46
  }
48
47
 
49
- type StdEventTarget$p = {
48
+ type StdEventTarget$q = {
50
49
  target: {
51
50
  value: any;
52
51
  };
53
52
  };
54
- type StdCallback$p = (inEvent: StdEventTarget$p) => void;
53
+ type StdCallback$q = (inEvent: StdEventTarget$q) => void;
55
54
  type AcCheckableDropdownProps = {
56
55
  className?: string;
57
56
  lang?: string;
@@ -60,7 +59,7 @@ type AcCheckableDropdownProps = {
60
59
  width?: number;
61
60
  size?: SizeType;
62
61
  disabled?: boolean;
63
- onChange?: StdCallback$p;
62
+ onChange?: StdCallback$q;
64
63
  };
65
64
  declare class AcCheckableDropdown extends React.Component<AcCheckableDropdownProps> {
66
65
  static displayName: string;
@@ -68,7 +67,6 @@ declare class AcCheckableDropdown extends React.Component<AcCheckableDropdownPro
68
67
  static id: number;
69
68
  static defaultProps: {
70
69
  lang: string;
71
- onChange: any;
72
70
  items: never[];
73
71
  value: never[];
74
72
  width: number;
@@ -95,12 +93,12 @@ declare class AcCheckableDropdown extends React.Component<AcCheckableDropdownPro
95
93
  render(): React.JSX.Element;
96
94
  }
97
95
 
98
- type StdEventTarget$o = {
96
+ type StdEventTarget$p = {
99
97
  target: {
100
98
  value: any;
101
99
  };
102
100
  };
103
- type StdCallback$o = (inEvent: StdEventTarget$o) => void;
101
+ type StdCallback$p = (inEvent: StdEventTarget$p) => void;
104
102
  /**
105
103
  * @see https://ant.design/components/tag-cn/#Tag.CheckableTag
106
104
  */
@@ -111,8 +109,8 @@ type AcCheckableTagProps = {
111
109
  closeable?: boolean;
112
110
  toggleable?: boolean;
113
111
  propagation?: boolean;
114
- onChange?: StdCallback$o;
115
- onCloseClick?: StdCallback$o;
112
+ onChange?: StdCallback$p;
113
+ onCloseClick?: StdCallback$p;
116
114
  } & Omit<CheckableTagProps, 'checked'>;
117
115
  declare class AcCheckableTag extends React.Component<AcCheckableTagProps> {
118
116
  static displayName: string;
@@ -123,8 +121,6 @@ declare class AcCheckableTag extends React.Component<AcCheckableTagProps> {
123
121
  disabled: boolean;
124
122
  toggleable: boolean;
125
123
  propagation: boolean;
126
- onChange: any;
127
- onCloseClick: any;
128
124
  };
129
125
  state: {
130
126
  value: boolean;
@@ -137,12 +133,12 @@ declare class AcCheckableTag extends React.Component<AcCheckableTagProps> {
137
133
  }
138
134
  declare const AcCheckableTagFc: (props: AcCheckableTagProps) => React.JSX.Element;
139
135
 
140
- type StdEventTarget$n = {
136
+ type StdEventTarget$o = {
141
137
  target: {
142
138
  value: any;
143
139
  };
144
140
  };
145
- type StdCallback$n = (inEvent: StdEventTarget$n) => void;
141
+ type StdCallback$o = (inEvent: StdEventTarget$o) => void;
146
142
  type AcCheckableTagListProps = {
147
143
  /**
148
144
  * Main className.
@@ -163,7 +159,7 @@ type AcCheckableTagListProps = {
163
159
  /**
164
160
  * The event handler for `change`.
165
161
  */
166
- onChange?: StdCallback$n;
162
+ onChange?: StdCallback$o;
167
163
  /**
168
164
  * The disabled state.
169
165
  */
@@ -175,7 +171,6 @@ declare class AcCheckableTagList extends React.Component<AcCheckableTagListProps
175
171
  static defaultProps: {
176
172
  lang: string;
177
173
  value: never[];
178
- onChange: any;
179
174
  };
180
175
  state: {
181
176
  value: any[] | undefined;
@@ -188,23 +183,21 @@ declare class AcCheckableTagList extends React.Component<AcCheckableTagListProps
188
183
  }
189
184
  declare const AcCheckableTagListFc: (props: AcCheckableTagListProps) => React.JSX.Element;
190
185
 
191
- type StdEventTarget$m = {
186
+ type StdEventTarget$n = {
192
187
  target: {
193
188
  value: any;
194
189
  };
195
190
  };
196
- type StdCallback$m = (inEvent: StdEventTarget$m) => void;
191
+ type StdCallback$n = (inEvent: StdEventTarget$n) => void;
197
192
  type AcCheckboxProps = {
198
193
  className?: string;
199
194
  value?: boolean;
200
- onChange?: StdCallback$m;
195
+ onChange?: StdCallback$n;
201
196
  } & CheckboxProps & HTMLAttributes<any>;
202
197
  declare class AcCheckbox extends React.Component<AcCheckboxProps> {
203
198
  static displayName: string;
204
199
  static formSchema: string;
205
- static defaultProps: {
206
- onChange: any;
207
- };
200
+ static defaultProps: {};
208
201
  state: {
209
202
  value: any;
210
203
  };
@@ -214,12 +207,12 @@ declare class AcCheckbox extends React.Component<AcCheckboxProps> {
214
207
  }
215
208
  declare const AcCheckboxFc: (props: AcCheckboxProps) => React.JSX.Element;
216
209
 
217
- type StdEventTarget$l = {
210
+ type StdEventTarget$m = {
218
211
  target: {
219
212
  value: any;
220
213
  };
221
214
  };
222
- type StdCallback$l = (inEvent: StdEventTarget$l) => void;
215
+ type StdCallback$m = (inEvent: StdEventTarget$m) => void;
223
216
  type TemplateCallback$3 = (item: {
224
217
  item: any;
225
218
  index: number;
@@ -228,8 +221,8 @@ type AcCheckboxGroupProps = {
228
221
  className?: string;
229
222
  value?: any[];
230
223
  items?: any[];
231
- onChange?: StdCallback$l;
232
- onSearch?: StdCallback$l;
224
+ onChange?: StdCallback$m;
225
+ onSearch?: StdCallback$m;
233
226
  template?: TemplateCallback$3;
234
227
  } & CheckboxGroupProps;
235
228
  declare class AcCheckboxGroup extends React.Component<AcCheckboxGroupProps> {
@@ -239,8 +232,6 @@ declare class AcCheckboxGroup extends React.Component<AcCheckboxGroupProps> {
239
232
  items: never[];
240
233
  value: never[];
241
234
  template: (args: any) => React.JSX.Element;
242
- onChange: any;
243
- onSearch: any;
244
235
  };
245
236
  state: {
246
237
  value: any[] | undefined;
@@ -254,13 +245,36 @@ declare const AcCheckboxGroupFc: (props: AcCheckboxGroupProps) => React.JSX.Elem
254
245
  declare class AcCodeFlask extends React.Component {
255
246
  static displayName: string;
256
247
  static formSchema: string;
257
- static defaultProps: {
258
- onChange: any;
259
- };
248
+ static defaultProps: {};
260
249
  render(): React.JSX.Element;
261
250
  }
262
251
  declare const AcCodeFlaskFc: (props: any) => React.JSX.Element;
263
252
 
253
+ type StdEventTarget$l = {
254
+ target: {
255
+ value: string;
256
+ };
257
+ };
258
+ type StdCallback$l = (inEvent: StdEventTarget$l) => void;
259
+ type AcColorPickerProps = {
260
+ className?: string;
261
+ value?: string;
262
+ onChange?: StdCallback$l;
263
+ } & Omit<ColorPickerProps, 'value' | 'onChange'>;
264
+ declare class AcColorPicker extends React.Component<AcColorPickerProps> {
265
+ static displayName: string;
266
+ static formSchema: string;
267
+ static defaultProps: {};
268
+ state: {
269
+ value: string | undefined;
270
+ };
271
+ shouldComponentUpdate(inProps: Readonly<AcColorPickerProps>): boolean;
272
+ handleChange: (inColor: any) => void;
273
+ handleClear: () => void;
274
+ render(): React.JSX.Element;
275
+ }
276
+ declare const AcColorPickerFc: (props: AcColorPickerProps) => React.JSX.Element;
277
+
264
278
  interface AcConfirmButtonProps extends Omit<PopconfirmProps, 'title'> {
265
279
  className?: string;
266
280
  lang?: string;
@@ -353,7 +367,6 @@ declare class AcEditableTagGroup extends React.Component<AcEditableTagGroupProps
353
367
  value: never[];
354
368
  min: number;
355
369
  max: number;
356
- onChange: any;
357
370
  triggers: string[];
358
371
  };
359
372
  private inputRef;
@@ -412,7 +425,6 @@ declare class AcInput extends React.Component<AcInputProps> {
412
425
  static displayName: string;
413
426
  static formSchema: string;
414
427
  static defaultProps: {
415
- onChange: any;
416
428
  autoComplete: boolean;
417
429
  };
418
430
  state: {
@@ -425,20 +437,27 @@ declare class AcInput extends React.Component<AcInputProps> {
425
437
  }
426
438
  declare const AcInputFc: (props: AcInputProps) => React.JSX.Element;
427
439
 
440
+ type AcInputCopyableValueType = 'text' | 'link';
441
+ interface AcInputCopyableProps extends AcInputProps {
442
+ valueType?: AcInputCopyableValueType;
443
+ }
428
444
  interface AcInputCopyableState {
429
445
  value?: ValueType;
430
446
  }
431
- declare class AcInputCopyable extends React.Component<AcInputProps, AcInputCopyableState> {
447
+ declare class AcInputCopyable extends React.Component<AcInputCopyableProps, AcInputCopyableState> {
432
448
  static displayName: string;
433
449
  static formSchema: string;
434
- static defaultProps: {};
435
- constructor(props: any);
450
+ static defaultProps: {
451
+ valueType: string;
452
+ };
453
+ constructor(props: AcInputCopyableProps);
436
454
  get copyView(): React.JSX.Element;
455
+ get linkView(): React.JSX.Element | null;
437
456
  shouldComponentUpdate(props: Readonly<AcInputProps>): boolean;
438
457
  handleInputChange: (e: any) => void;
439
458
  render(): React.JSX.Element;
440
459
  }
441
- declare const AcInputCopyableFc: (props: AcInputProps) => React.JSX.Element;
460
+ declare const AcInputCopyableFc: (props: AcInputCopyableProps) => React.JSX.Element;
442
461
 
443
462
  declare class AcInputHidden extends React.Component {
444
463
  static displayName: string;
@@ -462,9 +481,7 @@ type AcInputNumberProps = {
462
481
  declare class AcInputNumber extends React.Component<AcInputNumberProps> {
463
482
  static displayName: string;
464
483
  static formSchema: string;
465
- static defaultProps: {
466
- onChange: any;
467
- };
484
+ static defaultProps: {};
468
485
  state: {
469
486
  value: number | undefined;
470
487
  };
@@ -497,7 +514,6 @@ declare class AcInputTags extends React.Component<AcInputTagsProps, State$1> {
497
514
  static defaultProps: {
498
515
  items: never[];
499
516
  disabled: boolean;
500
- onChange: any;
501
517
  };
502
518
  inputRef: React.RefObject<HTMLInputElement>;
503
519
  constructor(inProps: any);
@@ -529,7 +545,6 @@ declare class AcInputToken extends React.Component<AcInputTokenProps> {
529
545
  static displayName: string;
530
546
  static formSchema: string;
531
547
  static defaultProps: {
532
- onChange: any;
533
548
  autoComplete: boolean;
534
549
  labelCreate: string;
535
550
  labelRemove: string;
@@ -592,8 +607,6 @@ declare class AcPreSelect extends React.Component<AcPreSelectProps> {
592
607
  static formSchema: string;
593
608
  static version: string;
594
609
  static defaultProps: {
595
- onChange: any;
596
- onSearch: any;
597
610
  searchable: boolean;
598
611
  };
599
612
  state: {
@@ -634,8 +647,6 @@ declare class AcRadioGroup extends React.Component<AcRadioGroupProps> {
634
647
  static defaultProps: {
635
648
  items: never[];
636
649
  template: (args: any, opts: any) => React.JSX.Element;
637
- onChange: any;
638
- onSearch: any;
639
650
  };
640
651
  get templateCallback(): (item: any) => React.ReactNode;
641
652
  state: {
@@ -665,7 +676,6 @@ declare class AcRangePicker extends React.Component<AcRangePickerProps> {
665
676
  static displayName: string;
666
677
  static formSchema: string;
667
678
  static defaultProps: {
668
- onChange: any;
669
679
  format: string;
670
680
  };
671
681
  handleChange: (inEvent: any) => void;
@@ -689,9 +699,7 @@ type AcRateProps = {
689
699
  declare class AcRate extends React.Component<AcRateProps> {
690
700
  static displayName: string;
691
701
  static formSchema: string;
692
- static defaultProps: {
693
- onChange: any;
694
- };
702
+ static defaultProps: {};
695
703
  handleChange: (inEvent: any) => void;
696
704
  render(): React.JSX.Element;
697
705
  }
@@ -713,8 +721,6 @@ declare class AcSearch extends React.Component<AcSearchProps> {
713
721
  static displayName: string;
714
722
  static formSchema: string;
715
723
  static defaultProps: {
716
- onChange: any;
717
- onSearch: any;
718
724
  autoComplete: boolean;
719
725
  placeholder: string;
720
726
  };
@@ -753,8 +759,6 @@ declare class AcSelect extends React.Component<AcSelectProps> {
753
759
  value: string;
754
760
  };
755
761
  template: (args: any) => React.JSX.Element;
756
- onChange: any;
757
- onSearch: any;
758
762
  };
759
763
  state: {
760
764
  value: any;
@@ -779,9 +783,7 @@ type AcSliderProps = {
779
783
  declare class AcSlider extends React.Component<AcSliderProps> {
780
784
  static displayName: string;
781
785
  static formSchema: string;
782
- static defaultProps: {
783
- onChange: any;
784
- };
786
+ static defaultProps: {};
785
787
  handleChange: (inEvent: any) => void;
786
788
  render(): React.JSX.Element;
787
789
  }
@@ -801,9 +803,7 @@ type AcSliderRangeProps = {
801
803
  declare class AcSliderRange extends React.Component<AcSliderRangeProps> {
802
804
  static displayName: string;
803
805
  static formSchema: string;
804
- static defaultProps: {
805
- onChange: any;
806
- };
806
+ static defaultProps: {};
807
807
  handleChange: (inEvent: any) => void;
808
808
  render(): React.JSX.Element;
809
809
  }
@@ -823,9 +823,7 @@ type AcSwitchProps = {
823
823
  declare class AcSwitch extends React.Component<AcSwitchProps> {
824
824
  static displayName: string;
825
825
  static formSchema: string;
826
- static defaultProps: {
827
- onChange: any;
828
- };
826
+ static defaultProps: {};
829
827
  state: {
830
828
  value: boolean;
831
829
  };
@@ -1043,9 +1041,7 @@ type AcTextareaProps = {
1043
1041
  declare class AcTextarea extends React.Component<AcTextareaProps> {
1044
1042
  static displayName: string;
1045
1043
  static formSchema: string;
1046
- static defaultProps: {
1047
- onChange: any;
1048
- };
1044
+ static defaultProps: {};
1049
1045
  render(): React.JSX.Element;
1050
1046
  }
1051
1047
  declare const AcTextareaFc: (props: AcTextareaProps) => React.JSX.Element;
@@ -1066,7 +1062,6 @@ declare class AcTimePicker extends React.Component<AcTimePickerProps> {
1066
1062
  static displayName: string;
1067
1063
  static formSchema: string;
1068
1064
  static defaultProps: {
1069
- onChange: any;
1070
1065
  format: string;
1071
1066
  };
1072
1067
  handleChange: (inEvent: any) => void;
@@ -1101,7 +1096,6 @@ declare class AcTransfer extends React.Component<AcTransferProps> {
1101
1096
  template: ({ item }: {
1102
1097
  item: any;
1103
1098
  }, options?: any) => React.ReactNode;
1104
- onChange: any;
1105
1099
  };
1106
1100
  get templateCallback(): any;
1107
1101
  state: {
@@ -1163,7 +1157,6 @@ declare class AcTreeSelect extends React.Component<AcTreeSelectProps> {
1163
1157
  item: any;
1164
1158
  }, cb: any) => React.JSX.Element;
1165
1159
  itemsKey: string;
1166
- onChange: any;
1167
1160
  };
1168
1161
  get childView(): any;
1169
1162
  handleChange: (inValue: any) => void;
@@ -1189,7 +1182,6 @@ declare class AcUpload extends React.Component<AcUploadProps> {
1189
1182
  static displayName: string;
1190
1183
  static formSchema: string;
1191
1184
  static defaultProps: {
1192
- onChange: any;
1193
1185
  onRequest: (inEvent: any) => Promise<any>;
1194
1186
  };
1195
1187
  handleChange: (inEvent: any) => void;
@@ -1216,7 +1208,6 @@ declare class AcUploadDragger extends React.Component<AcUploadDraggerProps> {
1216
1208
  static displayName: string;
1217
1209
  static formSchema: string;
1218
1210
  static defaultProps: {
1219
- onChange: any;
1220
1211
  onRequest: (inEvent: any) => Promise<any>;
1221
1212
  };
1222
1213
  handleChange: (inEvent: any) => void;
@@ -1264,7 +1255,6 @@ declare class AcUploadPicture extends AcAbstractUpload {
1264
1255
  static displayName: string;
1265
1256
  static formSchema: string;
1266
1257
  static defaultProps: {
1267
- onChange: any;
1268
1258
  value: never[];
1269
1259
  maxCount: number;
1270
1260
  transformURL: (pid: any) => any;
@@ -1278,7 +1268,6 @@ declare class AcUploadPictureCard extends AcAbstractUpload {
1278
1268
  static displayName: string;
1279
1269
  static formSchema: string;
1280
1270
  static defaultProps: {
1281
- onChange: any;
1282
1271
  value: never[];
1283
1272
  transformURL: (pid: any) => any;
1284
1273
  transformResponse: (inFileList: any) => any;
@@ -1352,12 +1341,49 @@ declare global {
1352
1341
  }
1353
1342
  }
1354
1343
 
1355
- /**
1356
- * @Author: aric 1290657123@qq.com
1357
- * @Date: 2025-10-24 20:40:55
1358
- * @LastEditors: aric 1290657123@qq.com
1359
- * @LastEditTime: 2025-10-31 14:07:56
1360
- */
1344
+ type Locale = 'zh-CN' | 'en-US';
1345
+ declare const BtnCreate: (props: ButtonProps & {
1346
+ lang?: Locale;
1347
+ }) => React.JSX.Element;
1348
+ declare const BtnEdit: (props: ButtonProps & {
1349
+ lang?: Locale;
1350
+ }) => React.JSX.Element;
1351
+ declare const BtnDelete: (props: ButtonProps & {
1352
+ lang?: Locale;
1353
+ }) => React.JSX.Element;
1354
+ declare const BtnView: (props: ButtonProps & {
1355
+ lang?: Locale;
1356
+ }) => React.JSX.Element;
1357
+ declare const BtnPreview: (props: ButtonProps & {
1358
+ lang?: Locale;
1359
+ }) => React.JSX.Element;
1360
+ declare const BtnSave: (props: ButtonProps & {
1361
+ lang?: Locale;
1362
+ }) => React.JSX.Element;
1363
+ declare const BtnExport: (props: ButtonProps & {
1364
+ lang?: Locale;
1365
+ }) => React.JSX.Element;
1366
+ declare const BtnImport: (props: ButtonProps & {
1367
+ lang?: Locale;
1368
+ }) => React.JSX.Element;
1369
+ declare const BtnRefresh: (props: ButtonProps & {
1370
+ lang?: Locale;
1371
+ }) => React.JSX.Element;
1372
+ declare const BtnBack: (props: ButtonProps & {
1373
+ lang?: Locale;
1374
+ }) => React.JSX.Element;
1375
+ declare const BtnSubmit: (props: ButtonProps & {
1376
+ lang?: Locale;
1377
+ }) => React.JSX.Element;
1378
+ declare const BtnCancel: (props: ButtonProps & {
1379
+ lang?: Locale;
1380
+ }) => React.JSX.Element;
1381
+ declare const BtnSync: (props: ButtonProps & {
1382
+ lang?: Locale;
1383
+ }) => React.JSX.Element;
1384
+ declare const BtnCopy: (props: ButtonProps & {
1385
+ lang?: Locale;
1386
+ }) => React.JSX.Element;
1361
1387
 
1362
1388
  declare global {
1363
1389
  interface NxStatic {
@@ -1366,7 +1392,7 @@ declare global {
1366
1392
  }
1367
1393
  type AcCardExtrasProps = SpaceProps & {
1368
1394
  name: string;
1369
- lang?: string;
1395
+ lang?: Locale;
1370
1396
  as?: React.ComponentType<any>;
1371
1397
  extraBefore?: React.ReactNode;
1372
1398
  extraAfter?: React.ReactNode;
@@ -1504,29 +1530,4 @@ declare const useCommand: (inName?: string) => {
1504
1530
  draft: (payload: Payload) => void;
1505
1531
  };
1506
1532
 
1507
- /**
1508
- * @Author: aric 1290657123@qq.com
1509
- * @Date: 2025-10-18 07:09:31
1510
- * @LastEditors: aric 1290657123@qq.com
1511
- * @LastEditTime: 2025-10-25 07:32:18
1512
- */
1513
-
1514
- type AcButtonProps = ButtonProps & {
1515
- lang?: string;
1516
- };
1517
- declare const BtnCreate: FC<AcButtonProps>;
1518
- declare const BtnEdit: FC<AcButtonProps>;
1519
- declare const BtnDelete: FC<AcButtonProps>;
1520
- declare const BtnView: FC<AcButtonProps>;
1521
- declare const BtnPreview: FC<AcButtonProps>;
1522
- declare const BtnSave: FC<AcButtonProps>;
1523
- declare const BtnExport: FC<AcButtonProps>;
1524
- declare const BtnImport: FC<AcButtonProps>;
1525
- declare const BtnRefresh: FC<AcButtonProps>;
1526
- declare const BtnBack: FC<AcButtonProps>;
1527
- declare const BtnSubmit: FC<AcButtonProps>;
1528
- declare const BtnCancel: FC<AcButtonProps>;
1529
- declare const BtnSync: FC<AcButtonProps>;
1530
- declare const BtnCopy: FC<AcButtonProps>;
1531
-
1532
- export { AcBreadcrumb, type AcBreadcrumbProps, AcCardExtras, type AcCardExtrasProps, AcCheckableDropdown, type AcCheckableDropdownProps, AcCheckableTag, AcCheckableTagFc, AcCheckableTagList, AcCheckableTagListFc, type AcCheckableTagListProps, type AcCheckableTagProps, AcCheckbox, AcCheckboxFc, AcCheckboxGroup, AcCheckboxGroupFc, type AcCheckboxGroupProps, type AcCheckboxProps, AcCodeFlask, AcCodeFlaskFc, AcConfirmButton, type AcConfirmButtonProps, AcDatePicker, AcDatePickerFc, type AcDatePickerProps, AcEditableTagGroup, AcEditableTagGroupFc, type AcEditableTagGroupProps, AcExtraSearch, type AcExtraSearchProps, AcInput, AcInputCopyable, AcInputCopyableFc, AcInputFc, AcInputHidden, AcInputHiddenFc, AcInputNumber, AcInputNumberFc, type AcInputNumberProps, type AcInputProps, AcInputTags, AcInputTagsFc, type AcInputTagsProps, AcInputToken, AcInputTokenFc, type AcInputTokenProps, AcPreSelect, AcPreSelectFc, type AcPreSelectProps, AcRadioGroup, AcRadioGroupFc, type AcRadioGroupProps, AcRangePicker, AcRangePickerFc, type AcRangePickerProps, AcRate, AcRateFc, type AcRateProps, AcSearch, AcSearchFc, type AcSearchProps, AcSelect, AcSelectFc, type AcSelectProps, AcSlider, AcSliderFc, type AcSliderProps, AcSliderRange, AcSliderRangeFc, type AcSliderRangeProps, AcSwitch, AcSwitchFc, type AcSwitchProps, AcTable, AcTableLinks, type AcTableLinksProps, type AcTableProps, AcTableStatusSwitcher, type AcTableStatusSwitcherProps, AcTableToggleSwitcher, type AcTableToggleSwitcherProps, AcTextarea, AcTextareaFc, type AcTextareaProps, AcTimePicker, AcTimePickerFc, type AcTimePickerProps, AcTransfer, AcTransferFc, type AcTransferProps, AcTree, type AcTreeProps, AcTreeSelect, AcTreeSelectFc, type AcTreeSelectProps, AcUpload, AcUploadDragger, AcUploadDraggerFc, type AcUploadDraggerProps, AcUploadFc, AcUploadPicture, AcUploadPictureCard, AcUploadPictureCardFc, AcUploadPictureFc, type AcUploadProps, BtnBack, BtnCancel, BtnCopy, BtnCreate, BtnDelete, BtnEdit, BtnExport, BtnImport, BtnPreview, BtnRefresh, BtnSave, BtnSubmit, BtnSync, BtnView, FormActions, type FormActionsProps, breadcrumbDefault, checkboxKv, checkboxRaw, initWidgets, kv, radioKv, radioRaw, raw, selectKv, selectRaw, transferLabel, treeKv, treeSelectKv, useCommand as useTableCommand };
1533
+ export { AcBreadcrumb, type AcBreadcrumbProps, AcCardExtras, type AcCardExtrasProps, AcCheckableDropdown, type AcCheckableDropdownProps, AcCheckableTag, AcCheckableTagFc, AcCheckableTagList, AcCheckableTagListFc, type AcCheckableTagListProps, type AcCheckableTagProps, AcCheckbox, AcCheckboxFc, AcCheckboxGroup, AcCheckboxGroupFc, type AcCheckboxGroupProps, type AcCheckboxProps, AcCodeFlask, AcCodeFlaskFc, AcColorPicker, AcColorPickerFc, type AcColorPickerProps, AcConfirmButton, type AcConfirmButtonProps, AcDatePicker, AcDatePickerFc, type AcDatePickerProps, AcEditableTagGroup, AcEditableTagGroupFc, type AcEditableTagGroupProps, AcExtraSearch, type AcExtraSearchProps, AcInput, AcInputCopyable, AcInputCopyableFc, AcInputFc, AcInputHidden, AcInputHiddenFc, AcInputNumber, AcInputNumberFc, type AcInputNumberProps, type AcInputProps, AcInputTags, AcInputTagsFc, type AcInputTagsProps, AcInputToken, AcInputTokenFc, type AcInputTokenProps, AcPreSelect, AcPreSelectFc, type AcPreSelectProps, AcRadioGroup, AcRadioGroupFc, type AcRadioGroupProps, AcRangePicker, AcRangePickerFc, type AcRangePickerProps, AcRate, AcRateFc, type AcRateProps, AcSearch, AcSearchFc, type AcSearchProps, AcSelect, AcSelectFc, type AcSelectProps, AcSlider, AcSliderFc, type AcSliderProps, AcSliderRange, AcSliderRangeFc, type AcSliderRangeProps, AcSwitch, AcSwitchFc, type AcSwitchProps, AcTable, AcTableLinks, type AcTableLinksProps, type AcTableProps, AcTableStatusSwitcher, type AcTableStatusSwitcherProps, AcTableToggleSwitcher, type AcTableToggleSwitcherProps, AcTextarea, AcTextareaFc, type AcTextareaProps, AcTimePicker, AcTimePickerFc, type AcTimePickerProps, AcTransfer, AcTransferFc, type AcTransferProps, AcTree, type AcTreeProps, AcTreeSelect, AcTreeSelectFc, type AcTreeSelectProps, AcUpload, AcUploadDragger, AcUploadDraggerFc, type AcUploadDraggerProps, AcUploadFc, AcUploadPicture, AcUploadPictureCard, AcUploadPictureCardFc, AcUploadPictureFc, type AcUploadProps, BtnBack, BtnCancel, BtnCopy, BtnCreate, BtnDelete, BtnEdit, BtnExport, BtnImport, BtnPreview, BtnRefresh, BtnSave, BtnSubmit, BtnSync, BtnView, FormActions, type FormActionsProps, type Locale, breadcrumbDefault, checkboxKv, checkboxRaw, initWidgets, kv, radioKv, radioRaw, raw, selectKv, selectRaw, transferLabel, treeKv, treeSelectKv, useCommand as useTableCommand };