@jswork/antd-components 1.0.105 → 1.0.107

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.
package/dist/main.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import React, { HTMLAttributes, Component, ReactNode } from 'react';
1
+ import React, { HTMLAttributes, Component, FC, ReactNode } from 'react';
2
2
  import { BreadcrumbProps, MenuProps, CheckboxProps, PopconfirmProps, ButtonProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, SelectProps, SliderSingleProps, SwitchProps, TableProps, TimePickerProps, TransferProps, TreeProps, TreeSelectProps, UploadFile, UploadProps } from 'antd';
3
3
  import { TemplateArgs } from '@jswork/react-list';
4
4
  import { SizeType } from 'antd/es/config-provider/SizeContext';
@@ -74,14 +74,14 @@ type StdEventTarget$q = {
74
74
  };
75
75
  };
76
76
  type StdCallback$q = (inEvent: StdEventTarget$q) => void;
77
- type Props$q = {
77
+ type Props$3 = {
78
78
  className?: string;
79
79
  items?: any[];
80
80
  template?: (args: TemplateArgs) => React.ReactNode;
81
81
  value?: number;
82
82
  onChange?: StdCallback$q;
83
83
  } & BreadcrumbProps;
84
- declare class AcBreadcrumb extends React.Component<Props$q> {
84
+ declare class AcBreadcrumb extends React.Component<Props$3> {
85
85
  static displayName: string;
86
86
  static defaultProps: {
87
87
  onChange: any;
@@ -100,7 +100,7 @@ type StdEventTarget$p = {
100
100
  };
101
101
  };
102
102
  type StdCallback$p = (inEvent: StdEventTarget$p) => void;
103
- type Props$p = {
103
+ type Props$2 = {
104
104
  className?: string;
105
105
  lang?: string;
106
106
  items?: any[];
@@ -110,7 +110,7 @@ type Props$p = {
110
110
  disabled?: boolean;
111
111
  onChange?: StdCallback$p;
112
112
  };
113
- declare class AcCheckableDropdown extends React.Component<Props$p> {
113
+ declare class AcCheckableDropdown extends React.Component<Props$2> {
114
114
  static displayName: string;
115
115
  static formSchema: string;
116
116
  static id: number;
@@ -152,7 +152,7 @@ type StdCallback$o = (inEvent: StdEventTarget$o) => void;
152
152
  /**
153
153
  * @see https://ant.design/components/tag-cn/#Tag.CheckableTag
154
154
  */
155
- type Props$o = {
155
+ type AcCheckableTagProps = {
156
156
  className?: string;
157
157
  value?: boolean;
158
158
  disabled?: boolean;
@@ -162,7 +162,7 @@ type Props$o = {
162
162
  onChange?: StdCallback$o;
163
163
  onCloseClick?: StdCallback$o;
164
164
  } & Omit<CheckableTagProps, 'checked'>;
165
- declare class AcCheckableTag extends React.Component<Props$o> {
165
+ declare class AcCheckableTag extends React.Component<AcCheckableTagProps> {
166
166
  static displayName: string;
167
167
  static formSchema: string;
168
168
  static defaultProps: {
@@ -178,11 +178,12 @@ declare class AcCheckableTag extends React.Component<Props$o> {
178
178
  value: boolean;
179
179
  };
180
180
  get closeIcon(): React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
181
- shouldComponentUpdate(nextProps: Readonly<Props$o>): boolean;
181
+ shouldComponentUpdate(nextProps: Readonly<AcCheckableTagProps>): boolean;
182
182
  handleChange: (inEvent: any) => void;
183
183
  handleCloseClick: (inEvent: any) => void;
184
184
  render(): React.JSX.Element;
185
185
  }
186
+ declare const AcCheckableTagFc: (props: AcCheckableTagProps) => React.JSX.Element;
186
187
 
187
188
  type StdEventTarget$n = {
188
189
  target: {
@@ -190,7 +191,7 @@ type StdEventTarget$n = {
190
191
  };
191
192
  };
192
193
  type StdCallback$n = (inEvent: StdEventTarget$n) => void;
193
- type Props$n = {
194
+ type AcCheckableTagListProps = {
194
195
  /**
195
196
  * Main className.
196
197
  */
@@ -216,7 +217,7 @@ type Props$n = {
216
217
  */
217
218
  disabled?: boolean;
218
219
  };
219
- declare class AcCheckableTagList extends React.Component<Props$n> {
220
+ declare class AcCheckableTagList extends React.Component<AcCheckableTagListProps> {
220
221
  static displayName: string;
221
222
  static formSchema: string;
222
223
  static defaultProps: {
@@ -228,11 +229,12 @@ declare class AcCheckableTagList extends React.Component<Props$n> {
228
229
  value: any[] | undefined;
229
230
  };
230
231
  t: (inKey: string) => any;
231
- shouldComponentUpdate(nextProps: Readonly<Props$n>): boolean;
232
+ shouldComponentUpdate(nextProps: Readonly<AcCheckableTagListProps>): boolean;
232
233
  handleChange: (inEvent: any) => void;
233
234
  handleClearAll: () => void;
234
235
  render(): React.JSX.Element;
235
236
  }
237
+ declare const AcCheckableTagListFc: (props: AcCheckableTagListProps) => React.JSX.Element;
236
238
 
237
239
  type StdEventTarget$m = {
238
240
  target: {
@@ -240,12 +242,12 @@ type StdEventTarget$m = {
240
242
  };
241
243
  };
242
244
  type StdCallback$m = (inEvent: StdEventTarget$m) => void;
243
- type Props$m = {
245
+ type AcCheckboxProps = {
244
246
  className?: string;
245
247
  value?: boolean;
246
248
  onChange?: StdCallback$m;
247
249
  } & CheckboxProps & HTMLAttributes<any>;
248
- declare class AcCheckbox extends React.Component<Props$m> {
250
+ declare class AcCheckbox extends React.Component<AcCheckboxProps> {
249
251
  static displayName: string;
250
252
  static formSchema: string;
251
253
  static defaultProps: {
@@ -254,10 +256,11 @@ declare class AcCheckbox extends React.Component<Props$m> {
254
256
  state: {
255
257
  value: any;
256
258
  };
257
- shouldComponentUpdate(nextProps: Readonly<Props$m>): boolean;
259
+ shouldComponentUpdate(nextProps: Readonly<AcCheckboxProps>): boolean;
258
260
  handleChange: (inEvent: any) => void;
259
261
  render(): React.JSX.Element;
260
262
  }
263
+ declare const AcCheckboxFc: (props: AcCheckboxProps) => React.JSX.Element;
261
264
 
262
265
  type StdEventTarget$l = {
263
266
  target: {
@@ -294,14 +297,17 @@ declare class AcCheckboxGroup extends React.Component<AcCheckboxGroupProps> {
294
297
  handleChange: (inEvent: any) => void;
295
298
  render(): React.JSX.Element;
296
299
  }
300
+ declare const AcCheckboxGroupFc: (props: AcCheckboxGroupProps) => React.JSX.Element;
297
301
 
298
- interface AcCodeFlaskProps {
299
- onChange?: (code: string) => void;
300
- value?: string;
301
- height?: number;
302
- [key: string]: any;
302
+ declare class AcCodeFlask extends React.Component {
303
+ static displayName: string;
304
+ static formSchema: string;
305
+ static defaultProps: {
306
+ onChange: any;
307
+ };
308
+ render(): React.JSX.Element;
303
309
  }
304
- declare const AcCodeFlask: React.FC<AcCodeFlaskProps>;
310
+ declare const AcCodeFlaskFc: (props: any) => React.JSX.Element;
305
311
 
306
312
  interface AcConfirmButtonProps extends Omit<PopconfirmProps, 'title'> {
307
313
  className?: string;
@@ -332,20 +338,21 @@ type StdEventTarget$k = {
332
338
  };
333
339
  };
334
340
  type StdCallback$k = (inEvent: StdEventTarget$k) => void;
335
- type Props$l = {
341
+ type AcDatePickerProps = Omit<DatePickerProps, 'value' | 'onChange' | 'ref'> & {
336
342
  className?: string;
337
343
  value?: any;
338
344
  onChange?: StdCallback$k;
339
- } & DatePickerProps;
340
- declare class AcDatePicker extends React.Component<Props$l> {
345
+ };
346
+ declare class AcDatePicker extends React.Component<AcDatePickerProps> {
341
347
  static displayName: string;
342
348
  static formSchema: string;
343
- static defaultProps: Props$l;
349
+ static defaultProps: AcDatePickerProps;
344
350
  get valueFormat(): any;
345
351
  get value(): any;
346
352
  handleChange: (value: any) => void;
347
353
  render(): React.JSX.Element;
348
354
  }
355
+ declare const AcDatePickerFc: (props: AcDatePickerProps) => React.JSX.Element;
349
356
 
350
357
  type StdEventTarget$j = {
351
358
  target: {
@@ -353,7 +360,7 @@ type StdEventTarget$j = {
353
360
  };
354
361
  };
355
362
  type StdCallback$j = (inEvent: StdEventTarget$j) => void;
356
- type Props$k = {
363
+ type AcEditableTagGroupProps = {
357
364
  /**
358
365
  * The extended className for component.
359
366
  */
@@ -387,7 +394,7 @@ type Props$k = {
387
394
  */
388
395
  triggers?: string[];
389
396
  };
390
- declare class AcEditableTagGroup extends React.Component<Props$k> {
397
+ declare class AcEditableTagGroup extends React.Component<AcEditableTagGroupProps> {
391
398
  static displayName: string;
392
399
  static formSchema: string;
393
400
  static defaultProps: {
@@ -433,9 +440,10 @@ declare class AcEditableTagGroup extends React.Component<Props$k> {
433
440
  handleChange: (inValue: any, inCallback?: any) => void;
434
441
  componentDidMount(): void;
435
442
  componentWillUnmount(): void;
436
- shouldComponentUpdate(nextProps: Readonly<Props$k>): boolean;
443
+ shouldComponentUpdate(nextProps: Readonly<AcEditableTagGroupProps>): boolean;
437
444
  render(): React.JSX.Element;
438
445
  }
446
+ declare const AcEditableTagGroupFc: (props: AcEditableTagGroupProps) => React.JSX.Element;
439
447
 
440
448
  type StdEventTarget$i = {
441
449
  target: {
@@ -443,12 +451,12 @@ type StdEventTarget$i = {
443
451
  };
444
452
  };
445
453
  type StdCallback$i = (inEvent: StdEventTarget$i) => void;
446
- type Props$j = {
454
+ type AcInputProps = {
447
455
  className?: string;
448
456
  onChange?: StdCallback$i;
449
457
  autoComplete?: boolean;
450
458
  } & InputProps;
451
- declare class AcInput extends React.Component<Props$j> {
459
+ declare class AcInput extends React.Component<AcInputProps> {
452
460
  static displayName: string;
453
461
  static formSchema: string;
454
462
  static defaultProps: {
@@ -458,11 +466,12 @@ declare class AcInput extends React.Component<Props$j> {
458
466
  state: {
459
467
  value: rc_input_lib_interface.ValueType;
460
468
  };
461
- shouldComponentUpdate(inProps: Readonly<Props$j>): boolean;
469
+ shouldComponentUpdate(inProps: Readonly<AcInputProps>): boolean;
462
470
  handleChange: (inEvent: any) => void;
463
471
  get complete(): "off" | "on";
464
472
  render(): React.JSX.Element;
465
473
  }
474
+ declare const AcInputFc: (props: AcInputProps) => React.JSX.Element;
466
475
 
467
476
  declare class AcInputHidden extends React.Component {
468
477
  static displayName: string;
@@ -470,6 +479,7 @@ declare class AcInputHidden extends React.Component {
470
479
  static defaultProps: {};
471
480
  render(): React.JSX.Element;
472
481
  }
482
+ declare const AcInputHiddenFc: (props: InputProps) => React.JSX.Element;
473
483
 
474
484
  type StdEventTarget$h = {
475
485
  target: {
@@ -477,12 +487,12 @@ type StdEventTarget$h = {
477
487
  };
478
488
  };
479
489
  type StdCallback$h = (inEvent: StdEventTarget$h) => void;
480
- type Props$i = {
490
+ type AcInputNumberProps = {
481
491
  className?: string;
482
492
  value?: number;
483
493
  onChange?: StdCallback$h;
484
494
  } & InputNumberProps;
485
- declare class AcInputNumber extends React.Component<Props$i> {
495
+ declare class AcInputNumber extends React.Component<AcInputNumberProps> {
486
496
  static displayName: string;
487
497
  static formSchema: string;
488
498
  static defaultProps: {
@@ -491,10 +501,11 @@ declare class AcInputNumber extends React.Component<Props$i> {
491
501
  state: {
492
502
  value: number | undefined;
493
503
  };
494
- shouldComponentUpdate(inProps: Readonly<Props$i>): boolean;
504
+ shouldComponentUpdate(inProps: Readonly<AcInputNumberProps>): boolean;
495
505
  handleChange: (inEvent: any) => void;
496
506
  render(): React.JSX.Element;
497
507
  }
508
+ declare const AcInputNumberFc: (props: AcInputNumberProps) => React.JSX.Element;
498
509
 
499
510
  type StdEventTarget$g = {
500
511
  target: {
@@ -502,7 +513,7 @@ type StdEventTarget$g = {
502
513
  };
503
514
  };
504
515
  type StdCallback$g = (inEvent: StdEventTarget$g) => void;
505
- type Props$h = {
516
+ type AcInputTagsProps = {
506
517
  className?: string;
507
518
  items?: string[];
508
519
  disabled?: boolean;
@@ -513,7 +524,7 @@ type State$1 = {
513
524
  inputValue: string;
514
525
  isComposite: boolean;
515
526
  };
516
- declare class AcInputTags extends React.Component<Props$h, State$1> {
527
+ declare class AcInputTags extends React.Component<AcInputTagsProps, State$1> {
517
528
  static displayName: string;
518
529
  static formSchema: string;
519
530
  static defaultProps: {
@@ -523,7 +534,7 @@ declare class AcInputTags extends React.Component<Props$h, State$1> {
523
534
  };
524
535
  inputRef: React.RefObject<HTMLInputElement>;
525
536
  constructor(inProps: any);
526
- shouldComponentUpdate(nextProps: Readonly<Props$h>): boolean;
537
+ shouldComponentUpdate(nextProps: Readonly<AcInputTagsProps>): boolean;
527
538
  handleInputChange: (inEvent: any) => void;
528
539
  handleInputKeyAction: (inEvent: any) => false | void;
529
540
  handleTagRemove: (inIndex: any, inForce?: boolean) => void;
@@ -531,6 +542,7 @@ declare class AcInputTags extends React.Component<Props$h, State$1> {
531
542
  execChange: (inItems: any) => void;
532
543
  render(): React.JSX.Element;
533
544
  }
545
+ declare const AcInputTagsFc: (props: AcInputTagsProps) => React.JSX.Element;
534
546
 
535
547
  type StdEventTarget$f = {
536
548
  target: {
@@ -538,7 +550,7 @@ type StdEventTarget$f = {
538
550
  };
539
551
  };
540
552
  type StdCallback$f = (inEvent: StdEventTarget$f) => void;
541
- type Props$g = {
553
+ type AcInputTokenProps = {
542
554
  className?: string;
543
555
  value?: string;
544
556
  onChange?: StdCallback$f;
@@ -546,7 +558,7 @@ type Props$g = {
546
558
  labelCreate?: string;
547
559
  labelRemove?: string;
548
560
  } & InputProps;
549
- declare class AcInputToken extends React.Component<Props$g> {
561
+ declare class AcInputToken extends React.Component<AcInputTokenProps> {
550
562
  static displayName: string;
551
563
  static formSchema: string;
552
564
  static defaultProps: {
@@ -559,7 +571,7 @@ declare class AcInputToken extends React.Component<Props$g> {
559
571
  state: {
560
572
  value: string | (string & readonly string[]) | undefined;
561
573
  };
562
- shouldComponentUpdate(nextProps: Readonly<Props$g>): boolean;
574
+ shouldComponentUpdate(nextProps: Readonly<AcInputTokenProps>): boolean;
563
575
  get complete(): "off" | "on";
564
576
  get tokenView(): React.JSX.Element;
565
577
  handleTokenCreate: () => void;
@@ -568,6 +580,7 @@ declare class AcInputToken extends React.Component<Props$g> {
568
580
  doChange: (inValue: any) => void;
569
581
  render(): React.JSX.Element;
570
582
  }
583
+ declare const AcInputTokenFc: (props: AcInputTokenProps) => React.JSX.Element;
571
584
 
572
585
  interface Value {
573
586
  option: string;
@@ -625,6 +638,7 @@ declare class AcPreSelect extends React.Component<AcPreSelectProps> {
625
638
  handleSearch: (inField: any, inEvent: any) => void;
626
639
  render(): React.JSX.Element;
627
640
  }
641
+ declare const AcPreSelectFc: (props: AcPreSelectProps) => React.JSX.Element;
628
642
 
629
643
  type StdEventTarget$e = {
630
644
  target: {
@@ -636,7 +650,7 @@ type TemplateCallback$2 = (item: {
636
650
  item: any;
637
651
  index: number;
638
652
  }, opts?: any) => React.ReactNode;
639
- type Props$f = {
653
+ type AcRadioGroupProps = {
640
654
  className?: string;
641
655
  value?: any;
642
656
  defaultValue?: any;
@@ -647,7 +661,7 @@ type Props$f = {
647
661
  templateOptions?: any;
648
662
  buttonStyle?: 'solid' | 'outline';
649
663
  } & RadioGroupProps & HTMLAttributes<any>;
650
- declare class AcRadioGroup extends React.Component<Props$f> {
664
+ declare class AcRadioGroup extends React.Component<AcRadioGroupProps> {
651
665
  static displayName: string;
652
666
  static formSchema: string;
653
667
  static defaultProps: {
@@ -660,12 +674,13 @@ declare class AcRadioGroup extends React.Component<Props$f> {
660
674
  state: {
661
675
  value: any;
662
676
  };
663
- static getDerivedStateFromProps(inProps: Readonly<Props$f>, inState: any): {
677
+ static getDerivedStateFromProps(inProps: Readonly<AcRadioGroupProps>, inState: any): {
664
678
  value: any;
665
679
  } | null;
666
680
  handleChange: (inEvent: any) => void;
667
681
  render(): React.JSX.Element;
668
682
  }
683
+ declare const AcRadioGroupFc: (props: AcRadioGroupProps) => React.JSX.Element;
669
684
 
670
685
  type StdEventTarget$d = {
671
686
  target: {
@@ -673,13 +688,13 @@ type StdEventTarget$d = {
673
688
  };
674
689
  };
675
690
  type StdCallback$d = (inEvent: StdEventTarget$d) => void;
676
- type Props$e = {
691
+ type AcRangePickerProps = {
677
692
  className?: string;
678
693
  value?: any;
679
694
  defaultValue?: any;
680
695
  onChange?: StdCallback$d;
681
696
  } & RangePickerProps;
682
- declare class AcRangePicker extends React.Component<Props$e> {
697
+ declare class AcRangePicker extends React.Component<AcRangePickerProps> {
683
698
  static displayName: string;
684
699
  static formSchema: string;
685
700
  static defaultProps: {
@@ -691,6 +706,7 @@ declare class AcRangePicker extends React.Component<Props$e> {
691
706
  stringify: (inValue: any) => any;
692
707
  render(): React.JSX.Element;
693
708
  }
709
+ declare const AcRangePickerFc: (props: AcRangePickerProps) => React.JSX.Element;
694
710
 
695
711
  type StdEventTarget$c = {
696
712
  target: {
@@ -698,12 +714,12 @@ type StdEventTarget$c = {
698
714
  };
699
715
  };
700
716
  type StdCallback$c = (inEvent: StdEventTarget$c) => void;
701
- type Props$d = {
717
+ type AcRateProps = {
702
718
  className?: string;
703
719
  value?: number;
704
720
  onChange?: StdCallback$c;
705
721
  } & RateProps;
706
- declare class AcRate extends React.Component<Props$d> {
722
+ declare class AcRate extends React.Component<AcRateProps> {
707
723
  static displayName: string;
708
724
  static formSchema: string;
709
725
  static defaultProps: {
@@ -712,6 +728,7 @@ declare class AcRate extends React.Component<Props$d> {
712
728
  handleChange: (inEvent: any) => void;
713
729
  render(): React.JSX.Element;
714
730
  }
731
+ declare const AcRateFc: (props: AcRateProps) => React.JSX.Element;
715
732
 
716
733
  type StdEventTarget$b = {
717
734
  target: {
@@ -719,14 +736,14 @@ type StdEventTarget$b = {
719
736
  };
720
737
  };
721
738
  type StdCallback$b = (inEvent: StdEventTarget$b) => void;
722
- type Props$c = {
739
+ type AcSearchProps = {
723
740
  className?: string;
724
741
  value?: boolean;
725
742
  onChange?: StdCallback$b;
726
743
  onSearch?: StdCallback$b;
727
744
  autoComplete?: boolean;
728
745
  } & SearchProps;
729
- declare class AcSearch extends React.Component<Props$c> {
746
+ declare class AcSearch extends React.Component<AcSearchProps> {
730
747
  static displayName: string;
731
748
  static formSchema: string;
732
749
  static defaultProps: {
@@ -739,6 +756,7 @@ declare class AcSearch extends React.Component<Props$c> {
739
756
  handleSearch: (inEvent: any) => void;
740
757
  render(): React.JSX.Element;
741
758
  }
759
+ declare const AcSearchFc: (props: AcSearchProps) => React.JSX.Element;
742
760
 
743
761
  type StdEventTarget$a = {
744
762
  target: {
@@ -750,7 +768,7 @@ type TemplateCallback$1 = (item: {
750
768
  item: any;
751
769
  index: number;
752
770
  }) => React.ReactNode;
753
- type Props$b = {
771
+ type AcSelectProps = {
754
772
  className?: string;
755
773
  items?: any[];
756
774
  kv?: Record<string, string>;
@@ -758,7 +776,7 @@ type Props$b = {
758
776
  onSearch?: StdCallback$a;
759
777
  template?: TemplateCallback$1;
760
778
  } & Omit<SelectProps, 'options'>;
761
- declare class AcSelect extends React.Component<Props$b> {
779
+ declare class AcSelect extends React.Component<AcSelectProps> {
762
780
  static displayName: string;
763
781
  static formSchema: string;
764
782
  static defaultProps: {
@@ -775,11 +793,12 @@ declare class AcSelect extends React.Component<Props$b> {
775
793
  state: {
776
794
  value: any;
777
795
  };
778
- shouldComponentUpdate(nextProps: Readonly<Props$b>): boolean;
796
+ shouldComponentUpdate(nextProps: Readonly<AcSelectProps>): boolean;
779
797
  handleChange: (inValue: any) => void;
780
798
  template: (args: any) => string | number | boolean | React.JSX.Element | Iterable<React.ReactNode> | null | undefined;
781
799
  render(): React.JSX.Element;
782
800
  }
801
+ declare const AcSelectFc: (props: AcSelectProps) => React.JSX.Element;
783
802
 
784
803
  type StdEventTarget$9 = {
785
804
  target: {
@@ -787,11 +806,11 @@ type StdEventTarget$9 = {
787
806
  };
788
807
  };
789
808
  type StdCallback$9 = (inEvent: StdEventTarget$9) => void;
790
- type Props$a = {
809
+ type AcSliderProps = {
791
810
  className?: string;
792
811
  onChange?: StdCallback$9;
793
812
  } & SliderSingleProps;
794
- declare class AcSlider extends React.Component<Props$a> {
813
+ declare class AcSlider extends React.Component<AcSliderProps> {
795
814
  static displayName: string;
796
815
  static formSchema: string;
797
816
  static defaultProps: {
@@ -800,6 +819,7 @@ declare class AcSlider extends React.Component<Props$a> {
800
819
  handleChange: (inEvent: any) => void;
801
820
  render(): React.JSX.Element;
802
821
  }
822
+ declare const AcSliderFc: (props: AcSliderProps) => React.JSX.Element;
803
823
 
804
824
  type StdEventTarget$8 = {
805
825
  target: {
@@ -807,12 +827,12 @@ type StdEventTarget$8 = {
807
827
  };
808
828
  };
809
829
  type StdCallback$8 = (inEvent: StdEventTarget$8) => void;
810
- type Props$9 = {
830
+ type AcSliderRangeProps = {
811
831
  className?: string;
812
832
  range?: true;
813
833
  onChange?: StdCallback$8;
814
834
  } & Omit<SliderRangeProps, 'range'>;
815
- declare class AcSliderRange extends React.Component<Props$9> {
835
+ declare class AcSliderRange extends React.Component<AcSliderRangeProps> {
816
836
  static displayName: string;
817
837
  static formSchema: string;
818
838
  static defaultProps: {
@@ -821,6 +841,7 @@ declare class AcSliderRange extends React.Component<Props$9> {
821
841
  handleChange: (inEvent: any) => void;
822
842
  render(): React.JSX.Element;
823
843
  }
844
+ declare const AcSliderRangeFc: (props: AcSliderRangeProps) => React.JSX.Element;
824
845
 
825
846
  type StdEventTarget$7 = {
826
847
  target: {
@@ -828,12 +849,12 @@ type StdEventTarget$7 = {
828
849
  };
829
850
  };
830
851
  type StdCallback$7 = (inEvent: StdEventTarget$7) => void;
831
- type Props$8 = {
852
+ type AcSwitchProps = {
832
853
  className?: string;
833
854
  value?: boolean;
834
855
  onChange?: StdCallback$7;
835
856
  } & SwitchProps;
836
- declare class AcSwitch extends React.Component<Props$8> {
857
+ declare class AcSwitch extends React.Component<AcSwitchProps> {
837
858
  static displayName: string;
838
859
  static formSchema: string;
839
860
  static defaultProps: {
@@ -842,10 +863,11 @@ declare class AcSwitch extends React.Component<Props$8> {
842
863
  state: {
843
864
  value: boolean;
844
865
  };
845
- shouldComponentUpdate(nextProps: Readonly<Props$8>): boolean;
866
+ shouldComponentUpdate(nextProps: Readonly<AcSwitchProps>): boolean;
846
867
  handleChange: (value: any) => void;
847
868
  render(): React.JSX.Element;
848
869
  }
870
+ declare const AcSwitchFc: (props: AcSwitchProps) => React.JSX.Element;
849
871
 
850
872
  /**
851
873
  * @Author: aric 1290657123@qq.com
@@ -899,6 +921,12 @@ declare class AcTable extends React.Component<AcTableProps, any> {
899
921
  reset: () => Promise<void>;
900
922
  render(): React.JSX.Element;
901
923
  }
924
+ type AcTableMainProps = Omit<AcTableProps, 'fetcher'> & {
925
+ name: string;
926
+ dataPath?: string;
927
+ totalPath?: string;
928
+ };
929
+ declare const AcTableMain: FC<AcTableMainProps>;
902
930
 
903
931
  type StdEventTarget$6 = {
904
932
  target: {
@@ -906,12 +934,12 @@ type StdEventTarget$6 = {
906
934
  };
907
935
  };
908
936
  type StdCallback$6 = (inEvent: StdEventTarget$6) => void;
909
- type Props$7 = {
937
+ type AcTextareaProps = {
910
938
  className?: string;
911
939
  value?: boolean;
912
940
  onChange?: StdCallback$6;
913
941
  } & TextAreaProps;
914
- declare class AcTextarea extends React.Component<Props$7> {
942
+ declare class AcTextarea extends React.Component<AcTextareaProps> {
915
943
  static displayName: string;
916
944
  static formSchema: string;
917
945
  static defaultProps: {
@@ -919,6 +947,7 @@ declare class AcTextarea extends React.Component<Props$7> {
919
947
  };
920
948
  render(): React.JSX.Element;
921
949
  }
950
+ declare const AcTextareaFc: (props: AcTextareaProps) => React.JSX.Element;
922
951
 
923
952
  type StdEventTarget$5 = {
924
953
  target: {
@@ -926,13 +955,13 @@ type StdEventTarget$5 = {
926
955
  };
927
956
  };
928
957
  type StdCallback$5 = (inEvent: StdEventTarget$5) => void;
929
- type Props$6 = {
958
+ type AcTimePickerProps = {
930
959
  className?: string;
931
960
  value?: string | dayjs.Dayjs;
932
961
  defaultValue?: string | dayjs.Dayjs;
933
962
  onChange?: StdCallback$5;
934
- } & Omit<TimePickerProps, 'value' | 'defaultValue'>;
935
- declare class AcTimePicker extends React.Component<Props$6> {
963
+ } & Omit<TimePickerProps, 'value' | 'defaultValue' | 'onChange' | 'ref'>;
964
+ declare class AcTimePicker extends React.Component<AcTimePickerProps> {
936
965
  static displayName: string;
937
966
  static formSchema: string;
938
967
  static defaultProps: {
@@ -945,6 +974,7 @@ declare class AcTimePicker extends React.Component<Props$6> {
945
974
  normalize: (inValues: any) => any;
946
975
  render(): React.JSX.Element;
947
976
  }
977
+ declare const AcTimePickerFc: (props: AcTimePickerProps) => React.JSX.Element;
948
978
 
949
979
  type StdEventTarget$4 = {
950
980
  target: {
@@ -955,14 +985,14 @@ type StdCallback$4 = (inEvent: StdEventTarget$4) => void;
955
985
  type TemplateCallback = (item: {
956
986
  item: any;
957
987
  }, options?: any) => React.ReactNode;
958
- type Props$5 = {
988
+ type AcTransferProps = {
959
989
  className?: string;
960
990
  items?: any[];
961
991
  template: TemplateCallback;
962
992
  value?: any[];
963
993
  onChange?: StdCallback$4;
964
994
  } & TransferProps<any>;
965
- declare class AcTransfer extends React.Component<Props$5> {
995
+ declare class AcTransfer extends React.Component<AcTransferProps> {
966
996
  static displayName: string;
967
997
  static formSchema: string;
968
998
  static defaultProps: {
@@ -976,12 +1006,13 @@ declare class AcTransfer extends React.Component<Props$5> {
976
1006
  state: {
977
1007
  value: any[] | undefined;
978
1008
  };
979
- shouldComponentUpdate(nextProps: Readonly<Props$5>): boolean;
1009
+ shouldComponentUpdate(nextProps: Readonly<AcTransferProps>): boolean;
980
1010
  handleChange: (inEvent: any) => void;
981
1011
  render(): React.JSX.Element;
982
1012
  }
1013
+ declare const AcTransferFc: (props: AcTransferProps) => React.JSX.Element;
983
1014
 
984
- type Props$4 = {
1015
+ type Props$1 = {
985
1016
  className?: string;
986
1017
  items?: any[];
987
1018
  kv?: Record<string, string>;
@@ -989,7 +1020,7 @@ type Props$4 = {
989
1020
  itemsKey?: string | ((index: number, item: any) => any);
990
1021
  directory?: boolean;
991
1022
  } & TreeProps;
992
- declare class AcTree extends React.Component<Props$4> {
1023
+ declare class AcTree extends React.Component<Props$1> {
993
1024
  static displayName: string;
994
1025
  static formSchema: string;
995
1026
  static defaultProps: {
@@ -1015,14 +1046,14 @@ type StdEventTarget$3 = {
1015
1046
  };
1016
1047
  };
1017
1048
  type StdCallback$3 = (inEvent: StdEventTarget$3) => void;
1018
- type Props$3 = {
1049
+ type AcTreeSelectProps = {
1019
1050
  className?: string;
1020
1051
  items?: any[];
1021
1052
  template?: any;
1022
1053
  itemsKey?: string | ((index: number, item: any) => any);
1023
1054
  onChange?: StdCallback$3;
1024
1055
  } & TreeSelectProps;
1025
- declare class AcTreeSelect extends React.Component<Props$3> {
1056
+ declare class AcTreeSelect extends React.Component<AcTreeSelectProps> {
1026
1057
  static displayName: string;
1027
1058
  static formSchema: string;
1028
1059
  static defaultProps: {
@@ -1037,6 +1068,7 @@ declare class AcTreeSelect extends React.Component<Props$3> {
1037
1068
  handleChange: (inValue: any) => void;
1038
1069
  render(): React.JSX.Element;
1039
1070
  }
1071
+ declare const AcTreeSelectFc: (props: AcTreeSelectProps) => React.JSX.Element;
1040
1072
 
1041
1073
  type StdEventTarget$2 = {
1042
1074
  target: {
@@ -1045,14 +1077,14 @@ type StdEventTarget$2 = {
1045
1077
  };
1046
1078
  type StdCallback$2 = (inEvent: StdEventTarget$2) => void;
1047
1079
  type CustomRequest$1 = (inEvent: any) => Promise<any>;
1048
- type Props$2 = {
1080
+ type AcUploadDraggerProps = {
1049
1081
  className?: string;
1050
1082
  value?: any[];
1051
1083
  defaultValue?: any[];
1052
1084
  onChange?: StdCallback$2;
1053
1085
  onRequest?: CustomRequest$1;
1054
1086
  } & DraggerProps;
1055
- declare class AcUploadDragger extends React.Component<Props$2> {
1087
+ declare class AcUploadDragger extends React.Component<AcUploadDraggerProps> {
1056
1088
  static displayName: string;
1057
1089
  static formSchema: string;
1058
1090
  static defaultProps: {
@@ -1063,6 +1095,7 @@ declare class AcUploadDragger extends React.Component<Props$2> {
1063
1095
  handleCustomRequest: (inRequestOption: any) => void;
1064
1096
  render(): React.JSX.Element;
1065
1097
  }
1098
+ declare const AcUploadDraggerFc: (props: AcUploadDraggerProps) => React.JSX.Element;
1066
1099
 
1067
1100
  type StdEventTarget$1 = {
1068
1101
  target: {
@@ -1070,7 +1103,7 @@ type StdEventTarget$1 = {
1070
1103
  };
1071
1104
  };
1072
1105
  type StdCallback$1 = (inEvent: StdEventTarget$1) => void;
1073
- type Props$1 = {
1106
+ type Props = {
1074
1107
  className?: string;
1075
1108
  value?: any[] | [];
1076
1109
  onChange?: StdCallback$1;
@@ -1080,14 +1113,14 @@ type Props$1 = {
1080
1113
  type State = {
1081
1114
  fileList: any[];
1082
1115
  };
1083
- declare class AcAbstractUpload extends React.Component<Props$1, State> {
1116
+ declare class AcAbstractUpload extends React.Component<Props, State> {
1084
1117
  protected rootRef: React.RefObject<HTMLDivElement>;
1085
1118
  protected sortable: any;
1086
1119
  protected viewer: any;
1087
1120
  toFileList: (inUrls: any[] | any) => any[];
1088
1121
  constructor(inProps: any);
1089
1122
  componentDidMount(): Promise<void>;
1090
- shouldComponentUpdate(nextProps: Readonly<Props$1>): boolean;
1123
+ shouldComponentUpdate(nextProps: Readonly<Props>): boolean;
1091
1124
  mountSortable(el: any): void;
1092
1125
  mountViewer(el: any): Promise<void>;
1093
1126
  componentWillUnmount(): void;
@@ -1111,6 +1144,7 @@ declare class AcUploadPicture extends AcAbstractUpload {
1111
1144
  };
1112
1145
  render(): React.JSX.Element;
1113
1146
  }
1147
+ declare const AcUploadPictureFc: (props: any) => React.JSX.Element;
1114
1148
 
1115
1149
  declare class AcUploadPictureCard extends AcAbstractUpload {
1116
1150
  static displayName: string;
@@ -1123,6 +1157,7 @@ declare class AcUploadPictureCard extends AcAbstractUpload {
1123
1157
  };
1124
1158
  render(): React.JSX.Element;
1125
1159
  }
1160
+ declare const AcUploadPictureCardFc: (props: any) => React.JSX.Element;
1126
1161
 
1127
1162
  type StdEventTarget = {
1128
1163
  target: {
@@ -1131,14 +1166,14 @@ type StdEventTarget = {
1131
1166
  };
1132
1167
  type StdCallback = (inEvent: StdEventTarget) => void;
1133
1168
  type CustomRequest = (inEvent: any) => Promise<any>;
1134
- type Props = {
1169
+ type AcUploadProps = {
1135
1170
  className?: string;
1136
1171
  value?: number;
1137
1172
  onChange?: StdCallback;
1138
1173
  onRequest?: CustomRequest;
1139
1174
  btnProps?: ButtonProps;
1140
1175
  } & UploadProps;
1141
- declare class AcUpload extends React.Component<Props> {
1176
+ declare class AcUpload extends React.Component<AcUploadProps> {
1142
1177
  static displayName: string;
1143
1178
  static formSchema: string;
1144
1179
  static defaultProps: {
@@ -1149,6 +1184,7 @@ declare class AcUpload extends React.Component<Props> {
1149
1184
  handleCustomRequest: (inRequestOption: any) => void;
1150
1185
  render(): React.JSX.Element;
1151
1186
  }
1187
+ declare const AcUploadFc: (props: AcUploadProps) => React.JSX.Element;
1152
1188
 
1153
1189
  declare global {
1154
1190
  interface NxStatic {
@@ -1165,4 +1201,4 @@ declare const useCommand: (inName?: string) => {
1165
1201
  reset: () => void;
1166
1202
  };
1167
1203
 
1168
- export { AcBreadcrumb, AcCheckableDropdown, AcCheckableTag, AcCheckableTagList, AcCheckbox, AcCheckboxGroup, AcCodeFlask, AcConfirmButton, AcDatePicker, AcEditableTagGroup, AcInput, AcInputHidden, AcInputNumber, AcInputTags, AcInputToken, AcPreSelect, AcRadioGroup, AcRangePicker, AcRate, AcSearch, AcSelect, AcSlider, AcSliderRange, AcSwitch, AcTable, AcTextarea, AcTimePicker, AcTransfer, AcTree, AcTreeSelect, AcUpload, AcUploadDragger, AcUploadPicture, AcUploadPictureCard, breadcrumbDefault, checkboxKv, checkboxRaw, kv, radioKv, radioRaw, raw, selectKv, selectRaw, transferLabel, treeKv, treeSelectKv, useCommand as useTableCommand };
1204
+ export { AcBreadcrumb, AcCheckableDropdown, AcCheckableTag, AcCheckableTagFc, AcCheckableTagList, AcCheckableTagListFc, AcCheckbox, AcCheckboxFc, AcCheckboxGroup, AcCheckboxGroupFc, AcCodeFlask, AcCodeFlaskFc, AcConfirmButton, AcDatePicker, AcDatePickerFc, AcEditableTagGroup, AcEditableTagGroupFc, AcInput, AcInputFc, AcInputHidden, AcInputHiddenFc, AcInputNumber, AcInputNumberFc, AcInputTags, AcInputTagsFc, AcInputToken, AcInputTokenFc, AcPreSelect, AcPreSelectFc, AcRadioGroup, AcRadioGroupFc, AcRangePicker, AcRangePickerFc, AcRate, AcRateFc, AcSearch, AcSearchFc, AcSelect, AcSelectFc, AcSlider, AcSliderFc, AcSliderRange, AcSliderRangeFc, AcSwitch, AcSwitchFc, AcTable, AcTableMain, AcTextarea, AcTextareaFc, AcTimePicker, AcTimePickerFc, AcTransfer, AcTransferFc, AcTree, AcTreeSelect, AcTreeSelectFc, AcUpload, AcUploadDragger, AcUploadDraggerFc, AcUploadFc, AcUploadPicture, AcUploadPictureCard, AcUploadPictureCardFc, AcUploadPictureFc, breadcrumbDefault, checkboxKv, checkboxRaw, kv, radioKv, radioRaw, raw, selectKv, selectRaw, transferLabel, treeKv, treeSelectKv, useCommand as useTableCommand };