@jswork/antd-components 1.0.104 → 1.0.106

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.mts CHANGED
@@ -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,6 +297,7 @@ 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
302
  declare class AcCodeFlask extends React.Component {
299
303
  static displayName: string;
@@ -303,6 +307,7 @@ declare class AcCodeFlask extends React.Component {
303
307
  };
304
308
  render(): React.JSX.Element;
305
309
  }
310
+ declare const AcCodeFlaskFc: (props: any) => React.JSX.Element;
306
311
 
307
312
  interface AcConfirmButtonProps extends Omit<PopconfirmProps, 'title'> {
308
313
  className?: string;
@@ -333,20 +338,21 @@ type StdEventTarget$k = {
333
338
  };
334
339
  };
335
340
  type StdCallback$k = (inEvent: StdEventTarget$k) => void;
336
- type Props$l = {
341
+ type AcDatePickerProps = Omit<DatePickerProps, 'value' | 'onChange' | 'ref'> & {
337
342
  className?: string;
338
343
  value?: any;
339
344
  onChange?: StdCallback$k;
340
- } & DatePickerProps;
341
- declare class AcDatePicker extends React.Component<Props$l> {
345
+ };
346
+ declare class AcDatePicker extends React.Component<AcDatePickerProps> {
342
347
  static displayName: string;
343
348
  static formSchema: string;
344
- static defaultProps: Props$l;
349
+ static defaultProps: AcDatePickerProps;
345
350
  get valueFormat(): any;
346
351
  get value(): any;
347
352
  handleChange: (value: any) => void;
348
353
  render(): React.JSX.Element;
349
354
  }
355
+ declare const AcDatePickerFc: (props: AcDatePickerProps) => React.JSX.Element;
350
356
 
351
357
  type StdEventTarget$j = {
352
358
  target: {
@@ -354,7 +360,7 @@ type StdEventTarget$j = {
354
360
  };
355
361
  };
356
362
  type StdCallback$j = (inEvent: StdEventTarget$j) => void;
357
- type Props$k = {
363
+ type AcEditableTagGroupProps = {
358
364
  /**
359
365
  * The extended className for component.
360
366
  */
@@ -388,7 +394,7 @@ type Props$k = {
388
394
  */
389
395
  triggers?: string[];
390
396
  };
391
- declare class AcEditableTagGroup extends React.Component<Props$k> {
397
+ declare class AcEditableTagGroup extends React.Component<AcEditableTagGroupProps> {
392
398
  static displayName: string;
393
399
  static formSchema: string;
394
400
  static defaultProps: {
@@ -434,9 +440,10 @@ declare class AcEditableTagGroup extends React.Component<Props$k> {
434
440
  handleChange: (inValue: any, inCallback?: any) => void;
435
441
  componentDidMount(): void;
436
442
  componentWillUnmount(): void;
437
- shouldComponentUpdate(nextProps: Readonly<Props$k>): boolean;
443
+ shouldComponentUpdate(nextProps: Readonly<AcEditableTagGroupProps>): boolean;
438
444
  render(): React.JSX.Element;
439
445
  }
446
+ declare const AcEditableTagGroupFc: (props: AcEditableTagGroupProps) => React.JSX.Element;
440
447
 
441
448
  type StdEventTarget$i = {
442
449
  target: {
@@ -444,12 +451,12 @@ type StdEventTarget$i = {
444
451
  };
445
452
  };
446
453
  type StdCallback$i = (inEvent: StdEventTarget$i) => void;
447
- type Props$j = {
454
+ type AcInputProps = {
448
455
  className?: string;
449
456
  onChange?: StdCallback$i;
450
457
  autoComplete?: boolean;
451
458
  } & InputProps;
452
- declare class AcInput extends React.Component<Props$j> {
459
+ declare class AcInput extends React.Component<AcInputProps> {
453
460
  static displayName: string;
454
461
  static formSchema: string;
455
462
  static defaultProps: {
@@ -459,11 +466,12 @@ declare class AcInput extends React.Component<Props$j> {
459
466
  state: {
460
467
  value: rc_input_lib_interface.ValueType;
461
468
  };
462
- shouldComponentUpdate(inProps: Readonly<Props$j>): boolean;
469
+ shouldComponentUpdate(inProps: Readonly<AcInputProps>): boolean;
463
470
  handleChange: (inEvent: any) => void;
464
471
  get complete(): "off" | "on";
465
472
  render(): React.JSX.Element;
466
473
  }
474
+ declare const AcInputFc: (props: AcInputProps) => React.JSX.Element;
467
475
 
468
476
  declare class AcInputHidden extends React.Component {
469
477
  static displayName: string;
@@ -471,6 +479,7 @@ declare class AcInputHidden extends React.Component {
471
479
  static defaultProps: {};
472
480
  render(): React.JSX.Element;
473
481
  }
482
+ declare const AcInputHiddenFc: (props: InputProps) => React.JSX.Element;
474
483
 
475
484
  type StdEventTarget$h = {
476
485
  target: {
@@ -478,12 +487,12 @@ type StdEventTarget$h = {
478
487
  };
479
488
  };
480
489
  type StdCallback$h = (inEvent: StdEventTarget$h) => void;
481
- type Props$i = {
490
+ type AcInputNumberProps = {
482
491
  className?: string;
483
492
  value?: number;
484
493
  onChange?: StdCallback$h;
485
494
  } & InputNumberProps;
486
- declare class AcInputNumber extends React.Component<Props$i> {
495
+ declare class AcInputNumber extends React.Component<AcInputNumberProps> {
487
496
  static displayName: string;
488
497
  static formSchema: string;
489
498
  static defaultProps: {
@@ -492,10 +501,11 @@ declare class AcInputNumber extends React.Component<Props$i> {
492
501
  state: {
493
502
  value: number | undefined;
494
503
  };
495
- shouldComponentUpdate(inProps: Readonly<Props$i>): boolean;
504
+ shouldComponentUpdate(inProps: Readonly<AcInputNumberProps>): boolean;
496
505
  handleChange: (inEvent: any) => void;
497
506
  render(): React.JSX.Element;
498
507
  }
508
+ declare const AcInputNumberFc: (props: AcInputNumberProps) => React.JSX.Element;
499
509
 
500
510
  type StdEventTarget$g = {
501
511
  target: {
@@ -503,7 +513,7 @@ type StdEventTarget$g = {
503
513
  };
504
514
  };
505
515
  type StdCallback$g = (inEvent: StdEventTarget$g) => void;
506
- type Props$h = {
516
+ type AcInputTagsProps = {
507
517
  className?: string;
508
518
  items?: string[];
509
519
  disabled?: boolean;
@@ -514,7 +524,7 @@ type State$1 = {
514
524
  inputValue: string;
515
525
  isComposite: boolean;
516
526
  };
517
- declare class AcInputTags extends React.Component<Props$h, State$1> {
527
+ declare class AcInputTags extends React.Component<AcInputTagsProps, State$1> {
518
528
  static displayName: string;
519
529
  static formSchema: string;
520
530
  static defaultProps: {
@@ -524,7 +534,7 @@ declare class AcInputTags extends React.Component<Props$h, State$1> {
524
534
  };
525
535
  inputRef: React.RefObject<HTMLInputElement>;
526
536
  constructor(inProps: any);
527
- shouldComponentUpdate(nextProps: Readonly<Props$h>): boolean;
537
+ shouldComponentUpdate(nextProps: Readonly<AcInputTagsProps>): boolean;
528
538
  handleInputChange: (inEvent: any) => void;
529
539
  handleInputKeyAction: (inEvent: any) => false | void;
530
540
  handleTagRemove: (inIndex: any, inForce?: boolean) => void;
@@ -532,6 +542,7 @@ declare class AcInputTags extends React.Component<Props$h, State$1> {
532
542
  execChange: (inItems: any) => void;
533
543
  render(): React.JSX.Element;
534
544
  }
545
+ declare const AcInputTagsFc: (props: AcInputTagsProps) => React.JSX.Element;
535
546
 
536
547
  type StdEventTarget$f = {
537
548
  target: {
@@ -539,7 +550,7 @@ type StdEventTarget$f = {
539
550
  };
540
551
  };
541
552
  type StdCallback$f = (inEvent: StdEventTarget$f) => void;
542
- type Props$g = {
553
+ type AcInputTokenProps = {
543
554
  className?: string;
544
555
  value?: string;
545
556
  onChange?: StdCallback$f;
@@ -547,7 +558,7 @@ type Props$g = {
547
558
  labelCreate?: string;
548
559
  labelRemove?: string;
549
560
  } & InputProps;
550
- declare class AcInputToken extends React.Component<Props$g> {
561
+ declare class AcInputToken extends React.Component<AcInputTokenProps> {
551
562
  static displayName: string;
552
563
  static formSchema: string;
553
564
  static defaultProps: {
@@ -560,7 +571,7 @@ declare class AcInputToken extends React.Component<Props$g> {
560
571
  state: {
561
572
  value: string | (string & readonly string[]) | undefined;
562
573
  };
563
- shouldComponentUpdate(nextProps: Readonly<Props$g>): boolean;
574
+ shouldComponentUpdate(nextProps: Readonly<AcInputTokenProps>): boolean;
564
575
  get complete(): "off" | "on";
565
576
  get tokenView(): React.JSX.Element;
566
577
  handleTokenCreate: () => void;
@@ -569,6 +580,7 @@ declare class AcInputToken extends React.Component<Props$g> {
569
580
  doChange: (inValue: any) => void;
570
581
  render(): React.JSX.Element;
571
582
  }
583
+ declare const AcInputTokenFc: (props: AcInputTokenProps) => React.JSX.Element;
572
584
 
573
585
  interface Value {
574
586
  option: string;
@@ -626,6 +638,7 @@ declare class AcPreSelect extends React.Component<AcPreSelectProps> {
626
638
  handleSearch: (inField: any, inEvent: any) => void;
627
639
  render(): React.JSX.Element;
628
640
  }
641
+ declare const AcPreSelectFc: (props: AcPreSelectProps) => React.JSX.Element;
629
642
 
630
643
  type StdEventTarget$e = {
631
644
  target: {
@@ -637,7 +650,7 @@ type TemplateCallback$2 = (item: {
637
650
  item: any;
638
651
  index: number;
639
652
  }, opts?: any) => React.ReactNode;
640
- type Props$f = {
653
+ type AcRadioGroupProps = {
641
654
  className?: string;
642
655
  value?: any;
643
656
  defaultValue?: any;
@@ -648,7 +661,7 @@ type Props$f = {
648
661
  templateOptions?: any;
649
662
  buttonStyle?: 'solid' | 'outline';
650
663
  } & RadioGroupProps & HTMLAttributes<any>;
651
- declare class AcRadioGroup extends React.Component<Props$f> {
664
+ declare class AcRadioGroup extends React.Component<AcRadioGroupProps> {
652
665
  static displayName: string;
653
666
  static formSchema: string;
654
667
  static defaultProps: {
@@ -661,12 +674,13 @@ declare class AcRadioGroup extends React.Component<Props$f> {
661
674
  state: {
662
675
  value: any;
663
676
  };
664
- static getDerivedStateFromProps(inProps: Readonly<Props$f>, inState: any): {
677
+ static getDerivedStateFromProps(inProps: Readonly<AcRadioGroupProps>, inState: any): {
665
678
  value: any;
666
679
  } | null;
667
680
  handleChange: (inEvent: any) => void;
668
681
  render(): React.JSX.Element;
669
682
  }
683
+ declare const AcRadioGroupFc: (props: AcRadioGroupProps) => React.JSX.Element;
670
684
 
671
685
  type StdEventTarget$d = {
672
686
  target: {
@@ -674,13 +688,13 @@ type StdEventTarget$d = {
674
688
  };
675
689
  };
676
690
  type StdCallback$d = (inEvent: StdEventTarget$d) => void;
677
- type Props$e = {
691
+ type AcRangePickerProps = {
678
692
  className?: string;
679
693
  value?: any;
680
694
  defaultValue?: any;
681
695
  onChange?: StdCallback$d;
682
696
  } & RangePickerProps;
683
- declare class AcRangePicker extends React.Component<Props$e> {
697
+ declare class AcRangePicker extends React.Component<AcRangePickerProps> {
684
698
  static displayName: string;
685
699
  static formSchema: string;
686
700
  static defaultProps: {
@@ -692,6 +706,7 @@ declare class AcRangePicker extends React.Component<Props$e> {
692
706
  stringify: (inValue: any) => any;
693
707
  render(): React.JSX.Element;
694
708
  }
709
+ declare const AcRangePickerFc: (props: AcRangePickerProps) => React.JSX.Element;
695
710
 
696
711
  type StdEventTarget$c = {
697
712
  target: {
@@ -699,12 +714,12 @@ type StdEventTarget$c = {
699
714
  };
700
715
  };
701
716
  type StdCallback$c = (inEvent: StdEventTarget$c) => void;
702
- type Props$d = {
717
+ type AcRateProps = {
703
718
  className?: string;
704
719
  value?: number;
705
720
  onChange?: StdCallback$c;
706
721
  } & RateProps;
707
- declare class AcRate extends React.Component<Props$d> {
722
+ declare class AcRate extends React.Component<AcRateProps> {
708
723
  static displayName: string;
709
724
  static formSchema: string;
710
725
  static defaultProps: {
@@ -713,6 +728,7 @@ declare class AcRate extends React.Component<Props$d> {
713
728
  handleChange: (inEvent: any) => void;
714
729
  render(): React.JSX.Element;
715
730
  }
731
+ declare const AcRateFc: (props: AcRateProps) => React.JSX.Element;
716
732
 
717
733
  type StdEventTarget$b = {
718
734
  target: {
@@ -720,14 +736,14 @@ type StdEventTarget$b = {
720
736
  };
721
737
  };
722
738
  type StdCallback$b = (inEvent: StdEventTarget$b) => void;
723
- type Props$c = {
739
+ type AcSearchProps = {
724
740
  className?: string;
725
741
  value?: boolean;
726
742
  onChange?: StdCallback$b;
727
743
  onSearch?: StdCallback$b;
728
744
  autoComplete?: boolean;
729
745
  } & SearchProps;
730
- declare class AcSearch extends React.Component<Props$c> {
746
+ declare class AcSearch extends React.Component<AcSearchProps> {
731
747
  static displayName: string;
732
748
  static formSchema: string;
733
749
  static defaultProps: {
@@ -740,6 +756,7 @@ declare class AcSearch extends React.Component<Props$c> {
740
756
  handleSearch: (inEvent: any) => void;
741
757
  render(): React.JSX.Element;
742
758
  }
759
+ declare const AcSearchFc: (props: AcSearchProps) => React.JSX.Element;
743
760
 
744
761
  type StdEventTarget$a = {
745
762
  target: {
@@ -751,7 +768,7 @@ type TemplateCallback$1 = (item: {
751
768
  item: any;
752
769
  index: number;
753
770
  }) => React.ReactNode;
754
- type Props$b = {
771
+ type AcSelectProps = {
755
772
  className?: string;
756
773
  items?: any[];
757
774
  kv?: Record<string, string>;
@@ -759,7 +776,7 @@ type Props$b = {
759
776
  onSearch?: StdCallback$a;
760
777
  template?: TemplateCallback$1;
761
778
  } & Omit<SelectProps, 'options'>;
762
- declare class AcSelect extends React.Component<Props$b> {
779
+ declare class AcSelect extends React.Component<AcSelectProps> {
763
780
  static displayName: string;
764
781
  static formSchema: string;
765
782
  static defaultProps: {
@@ -776,11 +793,12 @@ declare class AcSelect extends React.Component<Props$b> {
776
793
  state: {
777
794
  value: any;
778
795
  };
779
- shouldComponentUpdate(nextProps: Readonly<Props$b>): boolean;
796
+ shouldComponentUpdate(nextProps: Readonly<AcSelectProps>): boolean;
780
797
  handleChange: (inValue: any) => void;
781
798
  template: (args: any) => string | number | boolean | React.JSX.Element | Iterable<React.ReactNode> | null | undefined;
782
799
  render(): React.JSX.Element;
783
800
  }
801
+ declare const AcSelectFc: (props: AcSelectProps) => React.JSX.Element;
784
802
 
785
803
  type StdEventTarget$9 = {
786
804
  target: {
@@ -788,11 +806,11 @@ type StdEventTarget$9 = {
788
806
  };
789
807
  };
790
808
  type StdCallback$9 = (inEvent: StdEventTarget$9) => void;
791
- type Props$a = {
809
+ type AcSliderProps = {
792
810
  className?: string;
793
811
  onChange?: StdCallback$9;
794
812
  } & SliderSingleProps;
795
- declare class AcSlider extends React.Component<Props$a> {
813
+ declare class AcSlider extends React.Component<AcSliderProps> {
796
814
  static displayName: string;
797
815
  static formSchema: string;
798
816
  static defaultProps: {
@@ -801,6 +819,7 @@ declare class AcSlider extends React.Component<Props$a> {
801
819
  handleChange: (inEvent: any) => void;
802
820
  render(): React.JSX.Element;
803
821
  }
822
+ declare const AcSliderFc: (props: AcSliderProps) => React.JSX.Element;
804
823
 
805
824
  type StdEventTarget$8 = {
806
825
  target: {
@@ -808,12 +827,12 @@ type StdEventTarget$8 = {
808
827
  };
809
828
  };
810
829
  type StdCallback$8 = (inEvent: StdEventTarget$8) => void;
811
- type Props$9 = {
830
+ type AcSliderRangeProps = {
812
831
  className?: string;
813
832
  range?: true;
814
833
  onChange?: StdCallback$8;
815
834
  } & Omit<SliderRangeProps, 'range'>;
816
- declare class AcSliderRange extends React.Component<Props$9> {
835
+ declare class AcSliderRange extends React.Component<AcSliderRangeProps> {
817
836
  static displayName: string;
818
837
  static formSchema: string;
819
838
  static defaultProps: {
@@ -822,6 +841,7 @@ declare class AcSliderRange extends React.Component<Props$9> {
822
841
  handleChange: (inEvent: any) => void;
823
842
  render(): React.JSX.Element;
824
843
  }
844
+ declare const AcSliderRangeFc: (props: AcSliderRangeProps) => React.JSX.Element;
825
845
 
826
846
  type StdEventTarget$7 = {
827
847
  target: {
@@ -829,12 +849,12 @@ type StdEventTarget$7 = {
829
849
  };
830
850
  };
831
851
  type StdCallback$7 = (inEvent: StdEventTarget$7) => void;
832
- type Props$8 = {
852
+ type AcSwitchProps = {
833
853
  className?: string;
834
854
  value?: boolean;
835
855
  onChange?: StdCallback$7;
836
856
  } & SwitchProps;
837
- declare class AcSwitch extends React.Component<Props$8> {
857
+ declare class AcSwitch extends React.Component<AcSwitchProps> {
838
858
  static displayName: string;
839
859
  static formSchema: string;
840
860
  static defaultProps: {
@@ -843,10 +863,11 @@ declare class AcSwitch extends React.Component<Props$8> {
843
863
  state: {
844
864
  value: boolean;
845
865
  };
846
- shouldComponentUpdate(nextProps: Readonly<Props$8>): boolean;
866
+ shouldComponentUpdate(nextProps: Readonly<AcSwitchProps>): boolean;
847
867
  handleChange: (value: any) => void;
848
868
  render(): React.JSX.Element;
849
869
  }
870
+ declare const AcSwitchFc: (props: AcSwitchProps) => React.JSX.Element;
850
871
 
851
872
  /**
852
873
  * @Author: aric 1290657123@qq.com
@@ -907,12 +928,12 @@ type StdEventTarget$6 = {
907
928
  };
908
929
  };
909
930
  type StdCallback$6 = (inEvent: StdEventTarget$6) => void;
910
- type Props$7 = {
931
+ type AcTextareaProps = {
911
932
  className?: string;
912
933
  value?: boolean;
913
934
  onChange?: StdCallback$6;
914
935
  } & TextAreaProps;
915
- declare class AcTextarea extends React.Component<Props$7> {
936
+ declare class AcTextarea extends React.Component<AcTextareaProps> {
916
937
  static displayName: string;
917
938
  static formSchema: string;
918
939
  static defaultProps: {
@@ -920,6 +941,7 @@ declare class AcTextarea extends React.Component<Props$7> {
920
941
  };
921
942
  render(): React.JSX.Element;
922
943
  }
944
+ declare const AcTextareaFc: (props: AcTextareaProps) => React.JSX.Element;
923
945
 
924
946
  type StdEventTarget$5 = {
925
947
  target: {
@@ -927,13 +949,13 @@ type StdEventTarget$5 = {
927
949
  };
928
950
  };
929
951
  type StdCallback$5 = (inEvent: StdEventTarget$5) => void;
930
- type Props$6 = {
952
+ type AcTimePickerProps = {
931
953
  className?: string;
932
954
  value?: string | dayjs.Dayjs;
933
955
  defaultValue?: string | dayjs.Dayjs;
934
956
  onChange?: StdCallback$5;
935
- } & Omit<TimePickerProps, 'value' | 'defaultValue'>;
936
- declare class AcTimePicker extends React.Component<Props$6> {
957
+ } & Omit<TimePickerProps, 'value' | 'defaultValue' | 'onChange' | 'ref'>;
958
+ declare class AcTimePicker extends React.Component<AcTimePickerProps> {
937
959
  static displayName: string;
938
960
  static formSchema: string;
939
961
  static defaultProps: {
@@ -946,6 +968,7 @@ declare class AcTimePicker extends React.Component<Props$6> {
946
968
  normalize: (inValues: any) => any;
947
969
  render(): React.JSX.Element;
948
970
  }
971
+ declare const AcTimePickerFc: (props: AcTimePickerProps) => React.JSX.Element;
949
972
 
950
973
  type StdEventTarget$4 = {
951
974
  target: {
@@ -956,14 +979,14 @@ type StdCallback$4 = (inEvent: StdEventTarget$4) => void;
956
979
  type TemplateCallback = (item: {
957
980
  item: any;
958
981
  }, options?: any) => React.ReactNode;
959
- type Props$5 = {
982
+ type AcTransferProps = {
960
983
  className?: string;
961
984
  items?: any[];
962
985
  template: TemplateCallback;
963
986
  value?: any[];
964
987
  onChange?: StdCallback$4;
965
988
  } & TransferProps<any>;
966
- declare class AcTransfer extends React.Component<Props$5> {
989
+ declare class AcTransfer extends React.Component<AcTransferProps> {
967
990
  static displayName: string;
968
991
  static formSchema: string;
969
992
  static defaultProps: {
@@ -977,12 +1000,13 @@ declare class AcTransfer extends React.Component<Props$5> {
977
1000
  state: {
978
1001
  value: any[] | undefined;
979
1002
  };
980
- shouldComponentUpdate(nextProps: Readonly<Props$5>): boolean;
1003
+ shouldComponentUpdate(nextProps: Readonly<AcTransferProps>): boolean;
981
1004
  handleChange: (inEvent: any) => void;
982
1005
  render(): React.JSX.Element;
983
1006
  }
1007
+ declare const AcTransferFc: (props: AcTransferProps) => React.JSX.Element;
984
1008
 
985
- type Props$4 = {
1009
+ type Props$1 = {
986
1010
  className?: string;
987
1011
  items?: any[];
988
1012
  kv?: Record<string, string>;
@@ -990,7 +1014,7 @@ type Props$4 = {
990
1014
  itemsKey?: string | ((index: number, item: any) => any);
991
1015
  directory?: boolean;
992
1016
  } & TreeProps;
993
- declare class AcTree extends React.Component<Props$4> {
1017
+ declare class AcTree extends React.Component<Props$1> {
994
1018
  static displayName: string;
995
1019
  static formSchema: string;
996
1020
  static defaultProps: {
@@ -1016,14 +1040,14 @@ type StdEventTarget$3 = {
1016
1040
  };
1017
1041
  };
1018
1042
  type StdCallback$3 = (inEvent: StdEventTarget$3) => void;
1019
- type Props$3 = {
1043
+ type AcTreeSelectProps = {
1020
1044
  className?: string;
1021
1045
  items?: any[];
1022
1046
  template?: any;
1023
1047
  itemsKey?: string | ((index: number, item: any) => any);
1024
1048
  onChange?: StdCallback$3;
1025
1049
  } & TreeSelectProps;
1026
- declare class AcTreeSelect extends React.Component<Props$3> {
1050
+ declare class AcTreeSelect extends React.Component<AcTreeSelectProps> {
1027
1051
  static displayName: string;
1028
1052
  static formSchema: string;
1029
1053
  static defaultProps: {
@@ -1038,6 +1062,7 @@ declare class AcTreeSelect extends React.Component<Props$3> {
1038
1062
  handleChange: (inValue: any) => void;
1039
1063
  render(): React.JSX.Element;
1040
1064
  }
1065
+ declare const AcTreeSelectFc: (props: AcTreeSelectProps) => React.JSX.Element;
1041
1066
 
1042
1067
  type StdEventTarget$2 = {
1043
1068
  target: {
@@ -1046,14 +1071,14 @@ type StdEventTarget$2 = {
1046
1071
  };
1047
1072
  type StdCallback$2 = (inEvent: StdEventTarget$2) => void;
1048
1073
  type CustomRequest$1 = (inEvent: any) => Promise<any>;
1049
- type Props$2 = {
1074
+ type AcUploadDraggerProps = {
1050
1075
  className?: string;
1051
1076
  value?: any[];
1052
1077
  defaultValue?: any[];
1053
1078
  onChange?: StdCallback$2;
1054
1079
  onRequest?: CustomRequest$1;
1055
1080
  } & DraggerProps;
1056
- declare class AcUploadDragger extends React.Component<Props$2> {
1081
+ declare class AcUploadDragger extends React.Component<AcUploadDraggerProps> {
1057
1082
  static displayName: string;
1058
1083
  static formSchema: string;
1059
1084
  static defaultProps: {
@@ -1064,6 +1089,7 @@ declare class AcUploadDragger extends React.Component<Props$2> {
1064
1089
  handleCustomRequest: (inRequestOption: any) => void;
1065
1090
  render(): React.JSX.Element;
1066
1091
  }
1092
+ declare const AcUploadDraggerFc: (props: AcUploadDraggerProps) => React.JSX.Element;
1067
1093
 
1068
1094
  type StdEventTarget$1 = {
1069
1095
  target: {
@@ -1071,7 +1097,7 @@ type StdEventTarget$1 = {
1071
1097
  };
1072
1098
  };
1073
1099
  type StdCallback$1 = (inEvent: StdEventTarget$1) => void;
1074
- type Props$1 = {
1100
+ type Props = {
1075
1101
  className?: string;
1076
1102
  value?: any[] | [];
1077
1103
  onChange?: StdCallback$1;
@@ -1081,14 +1107,14 @@ type Props$1 = {
1081
1107
  type State = {
1082
1108
  fileList: any[];
1083
1109
  };
1084
- declare class AcAbstractUpload extends React.Component<Props$1, State> {
1110
+ declare class AcAbstractUpload extends React.Component<Props, State> {
1085
1111
  protected rootRef: React.RefObject<HTMLDivElement>;
1086
1112
  protected sortable: any;
1087
1113
  protected viewer: any;
1088
1114
  toFileList: (inUrls: any[] | any) => any[];
1089
1115
  constructor(inProps: any);
1090
1116
  componentDidMount(): Promise<void>;
1091
- shouldComponentUpdate(nextProps: Readonly<Props$1>): boolean;
1117
+ shouldComponentUpdate(nextProps: Readonly<Props>): boolean;
1092
1118
  mountSortable(el: any): void;
1093
1119
  mountViewer(el: any): Promise<void>;
1094
1120
  componentWillUnmount(): void;
@@ -1112,6 +1138,7 @@ declare class AcUploadPicture extends AcAbstractUpload {
1112
1138
  };
1113
1139
  render(): React.JSX.Element;
1114
1140
  }
1141
+ declare const AcUploadPictureFc: (props: any) => React.JSX.Element;
1115
1142
 
1116
1143
  declare class AcUploadPictureCard extends AcAbstractUpload {
1117
1144
  static displayName: string;
@@ -1124,6 +1151,7 @@ declare class AcUploadPictureCard extends AcAbstractUpload {
1124
1151
  };
1125
1152
  render(): React.JSX.Element;
1126
1153
  }
1154
+ declare const AcUploadPictureCardFc: (props: any) => React.JSX.Element;
1127
1155
 
1128
1156
  type StdEventTarget = {
1129
1157
  target: {
@@ -1132,14 +1160,14 @@ type StdEventTarget = {
1132
1160
  };
1133
1161
  type StdCallback = (inEvent: StdEventTarget) => void;
1134
1162
  type CustomRequest = (inEvent: any) => Promise<any>;
1135
- type Props = {
1163
+ type AcUploadProps = {
1136
1164
  className?: string;
1137
1165
  value?: number;
1138
1166
  onChange?: StdCallback;
1139
1167
  onRequest?: CustomRequest;
1140
1168
  btnProps?: ButtonProps;
1141
1169
  } & UploadProps;
1142
- declare class AcUpload extends React.Component<Props> {
1170
+ declare class AcUpload extends React.Component<AcUploadProps> {
1143
1171
  static displayName: string;
1144
1172
  static formSchema: string;
1145
1173
  static defaultProps: {
@@ -1150,6 +1178,7 @@ declare class AcUpload extends React.Component<Props> {
1150
1178
  handleCustomRequest: (inRequestOption: any) => void;
1151
1179
  render(): React.JSX.Element;
1152
1180
  }
1181
+ declare const AcUploadFc: (props: AcUploadProps) => React.JSX.Element;
1153
1182
 
1154
1183
  declare global {
1155
1184
  interface NxStatic {
@@ -1166,4 +1195,4 @@ declare const useCommand: (inName?: string) => {
1166
1195
  reset: () => void;
1167
1196
  };
1168
1197
 
1169
- 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 };
1198
+ 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, 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 };