node-karin 1.3.6 → 1.3.7
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/CHANGELOG.md +7 -0
- package/dist/index.d.ts +66 -1540
- package/dist/index.js +40 -51
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -10552,7 +10552,7 @@ interface AccordionProProps extends Omit<Accordion, 'children'> {
|
|
|
10552
10552
|
/** 渲染数据 */
|
|
10553
10553
|
data: Record<string, any>[];
|
|
10554
10554
|
/** 子组件 pro只有一个 因为是模板 */
|
|
10555
|
-
children
|
|
10555
|
+
children?: Omit<AccordionItemProps, 'componentType'>;
|
|
10556
10556
|
}
|
|
10557
10557
|
|
|
10558
10558
|
/**
|
|
@@ -10564,79 +10564,18 @@ declare const accordion: {
|
|
|
10564
10564
|
* @param key 唯一标识符
|
|
10565
10565
|
* @param options 手风琴配置
|
|
10566
10566
|
*/
|
|
10567
|
-
create: (key: string, options?: Omit<AccordionProps, "key" | "componentType">) =>
|
|
10568
|
-
componentType: string;
|
|
10569
|
-
title?: string;
|
|
10570
|
-
label?: string;
|
|
10571
|
-
description?: string;
|
|
10572
|
-
children?: AccordionItemProps[];
|
|
10573
|
-
variant?: "light" | "shadow" | "bordered" | "splitted";
|
|
10574
|
-
selectionMode?: "none" | "single" | "multiple";
|
|
10575
|
-
selectionBehavior?: "toggle" | "replace";
|
|
10576
|
-
isCompact?: boolean;
|
|
10577
|
-
isDisabled?: boolean;
|
|
10578
|
-
showDivider?: boolean;
|
|
10579
|
-
hideIndicator?: boolean;
|
|
10580
|
-
disableAnimation?: boolean;
|
|
10581
|
-
disableIndicatorAnimation?: boolean;
|
|
10582
|
-
disallowEmptySelection?: boolean;
|
|
10583
|
-
keepContentMounted?: boolean;
|
|
10584
|
-
fullWidth?: boolean;
|
|
10585
|
-
disabledKeys?: string[];
|
|
10586
|
-
selectedKeys?: string[];
|
|
10587
|
-
defaultSelectedKeys?: string[];
|
|
10588
|
-
className?: string;
|
|
10589
|
-
key: string;
|
|
10590
|
-
};
|
|
10567
|
+
create: (key: string, options?: Omit<AccordionProps, "key" | "componentType">) => AccordionProps;
|
|
10591
10568
|
/**
|
|
10592
10569
|
* 创建默认配置的手风琴组件
|
|
10593
10570
|
* @param key 唯一标识符
|
|
10594
10571
|
*/
|
|
10595
|
-
default: (key: string) =>
|
|
10596
|
-
componentType: string;
|
|
10597
|
-
title?: string;
|
|
10598
|
-
label?: string;
|
|
10599
|
-
description?: string;
|
|
10600
|
-
children?: AccordionItemProps[];
|
|
10601
|
-
variant?: "light" | "shadow" | "bordered" | "splitted";
|
|
10602
|
-
selectionMode?: "none" | "single" | "multiple";
|
|
10603
|
-
selectionBehavior?: "toggle" | "replace";
|
|
10604
|
-
isCompact?: boolean;
|
|
10605
|
-
isDisabled?: boolean;
|
|
10606
|
-
showDivider?: boolean;
|
|
10607
|
-
hideIndicator?: boolean;
|
|
10608
|
-
disableAnimation?: boolean;
|
|
10609
|
-
disableIndicatorAnimation?: boolean;
|
|
10610
|
-
disallowEmptySelection?: boolean;
|
|
10611
|
-
keepContentMounted?: boolean;
|
|
10612
|
-
fullWidth?: boolean;
|
|
10613
|
-
disabledKeys?: string[];
|
|
10614
|
-
selectedKeys?: string[];
|
|
10615
|
-
defaultSelectedKeys?: string[];
|
|
10616
|
-
className?: string;
|
|
10617
|
-
key: string;
|
|
10618
|
-
};
|
|
10572
|
+
default: (key: string) => AccordionProps;
|
|
10619
10573
|
/**
|
|
10620
10574
|
* 创建手风琴子项
|
|
10621
10575
|
* @param key 唯一标识符
|
|
10622
10576
|
* @param options 手风琴子项配置
|
|
10623
10577
|
*/
|
|
10624
|
-
createItem: (key: string, options?: Omit<AccordionItemProps, "key" | "componentType">) =>
|
|
10625
|
-
componentType: string;
|
|
10626
|
-
title?: string;
|
|
10627
|
-
description?: string;
|
|
10628
|
-
children?: Children[] | undefined;
|
|
10629
|
-
isCompact?: boolean;
|
|
10630
|
-
isDisabled?: boolean;
|
|
10631
|
-
hideIndicator?: boolean;
|
|
10632
|
-
disableAnimation?: boolean;
|
|
10633
|
-
disableIndicatorAnimation?: boolean;
|
|
10634
|
-
keepContentMounted?: boolean;
|
|
10635
|
-
className?: string;
|
|
10636
|
-
subtitle?: string;
|
|
10637
|
-
indicator?: boolean;
|
|
10638
|
-
key: string;
|
|
10639
|
-
};
|
|
10578
|
+
createItem: (key: string, options?: Omit<AccordionItemProps, "key" | "componentType">) => AccordionItemProps;
|
|
10640
10579
|
};
|
|
10641
10580
|
/**
|
|
10642
10581
|
* 手风琴Pro组件
|
|
@@ -10648,31 +10587,7 @@ declare const accordionPro: {
|
|
|
10648
10587
|
* @param data 渲染数据
|
|
10649
10588
|
* @param options 手风琴Pro配置
|
|
10650
10589
|
*/
|
|
10651
|
-
create: (key: string, data: Record<string, any>[], options?: Omit<AccordionProProps, "key" | "componentType" | "data">) =>
|
|
10652
|
-
componentType: string;
|
|
10653
|
-
data?: Record<string, any>[] | undefined;
|
|
10654
|
-
title?: string;
|
|
10655
|
-
label?: string;
|
|
10656
|
-
description?: string;
|
|
10657
|
-
children?: Omit<AccordionItemProps, "componentType"> | undefined;
|
|
10658
|
-
variant?: "light" | "shadow" | "bordered" | "splitted";
|
|
10659
|
-
selectionMode?: "none" | "single" | "multiple";
|
|
10660
|
-
selectionBehavior?: "toggle" | "replace";
|
|
10661
|
-
isCompact?: boolean;
|
|
10662
|
-
isDisabled?: boolean;
|
|
10663
|
-
showDivider?: boolean;
|
|
10664
|
-
hideIndicator?: boolean;
|
|
10665
|
-
disableAnimation?: boolean;
|
|
10666
|
-
disableIndicatorAnimation?: boolean;
|
|
10667
|
-
disallowEmptySelection?: boolean;
|
|
10668
|
-
keepContentMounted?: boolean;
|
|
10669
|
-
fullWidth?: boolean;
|
|
10670
|
-
disabledKeys?: string[];
|
|
10671
|
-
selectedKeys?: string[];
|
|
10672
|
-
defaultSelectedKeys?: string[];
|
|
10673
|
-
className?: string;
|
|
10674
|
-
key: string;
|
|
10675
|
-
};
|
|
10590
|
+
create: (key: string, data: Record<string, any>[], options?: Omit<AccordionProProps, "key" | "componentType" | "data">) => AccordionProProps;
|
|
10676
10591
|
};
|
|
10677
10592
|
/**
|
|
10678
10593
|
* 手风琴子项组件
|
|
@@ -10683,44 +10598,14 @@ declare const accordionItem: {
|
|
|
10683
10598
|
* @param key 唯一标识符
|
|
10684
10599
|
* @param options 手风琴子项配置
|
|
10685
10600
|
*/
|
|
10686
|
-
create: (key: string, options?: Omit<AccordionItemProps, "key" | "componentType">) =>
|
|
10687
|
-
componentType: string;
|
|
10688
|
-
title?: string;
|
|
10689
|
-
description?: string;
|
|
10690
|
-
children?: Children[] | undefined;
|
|
10691
|
-
isCompact?: boolean;
|
|
10692
|
-
isDisabled?: boolean;
|
|
10693
|
-
hideIndicator?: boolean;
|
|
10694
|
-
disableAnimation?: boolean;
|
|
10695
|
-
disableIndicatorAnimation?: boolean;
|
|
10696
|
-
keepContentMounted?: boolean;
|
|
10697
|
-
className?: string;
|
|
10698
|
-
subtitle?: string;
|
|
10699
|
-
indicator?: boolean;
|
|
10700
|
-
key: string;
|
|
10701
|
-
};
|
|
10601
|
+
create: (key: string, options?: Omit<AccordionItemProps, "key" | "componentType">) => AccordionItemProps;
|
|
10702
10602
|
/**
|
|
10703
10603
|
* 创建默认配置的手风琴子项
|
|
10704
10604
|
* @param key 唯一标识符
|
|
10705
10605
|
* @param title 标题
|
|
10706
10606
|
* @param children 子组件
|
|
10707
10607
|
*/
|
|
10708
|
-
default: (key: string, title: string, children?: Children[]) =>
|
|
10709
|
-
componentType: string;
|
|
10710
|
-
title?: string;
|
|
10711
|
-
description?: string;
|
|
10712
|
-
children?: Children[] | undefined;
|
|
10713
|
-
isCompact?: boolean;
|
|
10714
|
-
isDisabled?: boolean;
|
|
10715
|
-
hideIndicator?: boolean;
|
|
10716
|
-
disableAnimation?: boolean;
|
|
10717
|
-
disableIndicatorAnimation?: boolean;
|
|
10718
|
-
keepContentMounted?: boolean;
|
|
10719
|
-
className?: string;
|
|
10720
|
-
subtitle?: string;
|
|
10721
|
-
indicator?: boolean;
|
|
10722
|
-
key: string;
|
|
10723
|
-
};
|
|
10608
|
+
default: (key: string, title: string, children?: Children[]) => AccordionItemProps;
|
|
10724
10609
|
};
|
|
10725
10610
|
|
|
10726
10611
|
/**
|
|
@@ -10732,495 +10617,79 @@ declare const input: {
|
|
|
10732
10617
|
* @param key 唯一标识符
|
|
10733
10618
|
* @param options 输入框配置
|
|
10734
10619
|
*/
|
|
10735
|
-
create: (key: string, options: Omit<InputProps, "key" | "componentType">) =>
|
|
10736
|
-
componentType: string;
|
|
10737
|
-
type: string;
|
|
10738
|
-
pattern?: string;
|
|
10739
|
-
size?: "sm" | "md" | "lg";
|
|
10740
|
-
width?: string;
|
|
10741
|
-
height?: string;
|
|
10742
|
-
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
10743
|
-
label?: string;
|
|
10744
|
-
description?: string;
|
|
10745
|
-
errorMessage?: string;
|
|
10746
|
-
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
10747
|
-
isDisabled?: boolean;
|
|
10748
|
-
disableAnimation?: boolean;
|
|
10749
|
-
fullWidth?: boolean;
|
|
10750
|
-
className?: string;
|
|
10751
|
-
defaultValue?: string;
|
|
10752
|
-
rules?: ValidationRule[];
|
|
10753
|
-
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
10754
|
-
placeholder?: string;
|
|
10755
|
-
validationBehavior?: "native" | "aria";
|
|
10756
|
-
minLength?: number;
|
|
10757
|
-
maxLength?: number;
|
|
10758
|
-
startContent?: string;
|
|
10759
|
-
endContent?: string;
|
|
10760
|
-
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
10761
|
-
isClearable?: boolean;
|
|
10762
|
-
isRequired?: boolean;
|
|
10763
|
-
isReadOnly?: boolean;
|
|
10764
|
-
isInvalid?: boolean;
|
|
10765
|
-
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
10766
|
-
key: string;
|
|
10767
|
-
};
|
|
10620
|
+
create: (key: string, options: Omit<InputProps, "key" | "componentType">) => InputProps;
|
|
10768
10621
|
/**
|
|
10769
10622
|
* 字符串输入框
|
|
10770
10623
|
* @param key 唯一标识符
|
|
10771
10624
|
* @param config 输入框配置
|
|
10772
10625
|
*/
|
|
10773
|
-
string: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) =>
|
|
10774
|
-
componentType: string;
|
|
10775
|
-
type: string;
|
|
10776
|
-
pattern?: string;
|
|
10777
|
-
size?: "sm" | "md" | "lg";
|
|
10778
|
-
width?: string;
|
|
10779
|
-
height?: string;
|
|
10780
|
-
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
10781
|
-
label?: string;
|
|
10782
|
-
description?: string;
|
|
10783
|
-
errorMessage?: string;
|
|
10784
|
-
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
10785
|
-
isDisabled?: boolean;
|
|
10786
|
-
disableAnimation?: boolean;
|
|
10787
|
-
fullWidth?: boolean;
|
|
10788
|
-
className?: string;
|
|
10789
|
-
defaultValue?: string;
|
|
10790
|
-
rules?: ValidationRule[];
|
|
10791
|
-
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
10792
|
-
placeholder?: string;
|
|
10793
|
-
validationBehavior?: "native" | "aria";
|
|
10794
|
-
minLength?: number;
|
|
10795
|
-
maxLength?: number;
|
|
10796
|
-
startContent?: string;
|
|
10797
|
-
endContent?: string;
|
|
10798
|
-
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
10799
|
-
isClearable?: boolean;
|
|
10800
|
-
isRequired?: boolean;
|
|
10801
|
-
isReadOnly?: boolean;
|
|
10802
|
-
isInvalid?: boolean;
|
|
10803
|
-
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
10804
|
-
key: string;
|
|
10805
|
-
};
|
|
10626
|
+
string: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => InputProps;
|
|
10806
10627
|
/**
|
|
10807
10628
|
* 数字输入框
|
|
10808
10629
|
* @param key 唯一标识符
|
|
10809
10630
|
* @param config 输入框配置
|
|
10810
10631
|
*/
|
|
10811
|
-
number: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) =>
|
|
10812
|
-
componentType: string;
|
|
10813
|
-
type: string;
|
|
10814
|
-
pattern?: string;
|
|
10815
|
-
size?: "sm" | "md" | "lg";
|
|
10816
|
-
width?: string;
|
|
10817
|
-
height?: string;
|
|
10818
|
-
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
10819
|
-
label?: string;
|
|
10820
|
-
description?: string;
|
|
10821
|
-
errorMessage?: string;
|
|
10822
|
-
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
10823
|
-
isDisabled?: boolean;
|
|
10824
|
-
disableAnimation?: boolean;
|
|
10825
|
-
fullWidth?: boolean;
|
|
10826
|
-
className?: string;
|
|
10827
|
-
defaultValue?: string;
|
|
10828
|
-
rules?: ValidationRule[];
|
|
10829
|
-
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
10830
|
-
placeholder?: string;
|
|
10831
|
-
validationBehavior?: "native" | "aria";
|
|
10832
|
-
minLength?: number;
|
|
10833
|
-
maxLength?: number;
|
|
10834
|
-
startContent?: string;
|
|
10835
|
-
endContent?: string;
|
|
10836
|
-
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
10837
|
-
isClearable?: boolean;
|
|
10838
|
-
isRequired?: boolean;
|
|
10839
|
-
isReadOnly?: boolean;
|
|
10840
|
-
isInvalid?: boolean;
|
|
10841
|
-
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
10842
|
-
key: string;
|
|
10843
|
-
};
|
|
10632
|
+
number: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => InputProps;
|
|
10844
10633
|
/**
|
|
10845
10634
|
* 布尔值输入框
|
|
10846
10635
|
* @param key 唯一标识符
|
|
10847
10636
|
* @param config 输入框配置
|
|
10848
10637
|
*/
|
|
10849
|
-
boolean: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) =>
|
|
10850
|
-
componentType: string;
|
|
10851
|
-
type: string;
|
|
10852
|
-
pattern?: string;
|
|
10853
|
-
size?: "sm" | "md" | "lg";
|
|
10854
|
-
width?: string;
|
|
10855
|
-
height?: string;
|
|
10856
|
-
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
10857
|
-
label?: string;
|
|
10858
|
-
description?: string;
|
|
10859
|
-
errorMessage?: string;
|
|
10860
|
-
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
10861
|
-
isDisabled?: boolean;
|
|
10862
|
-
disableAnimation?: boolean;
|
|
10863
|
-
fullWidth?: boolean;
|
|
10864
|
-
className?: string;
|
|
10865
|
-
defaultValue?: string;
|
|
10866
|
-
rules?: ValidationRule[];
|
|
10867
|
-
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
10868
|
-
placeholder?: string;
|
|
10869
|
-
validationBehavior?: "native" | "aria";
|
|
10870
|
-
minLength?: number;
|
|
10871
|
-
maxLength?: number;
|
|
10872
|
-
startContent?: string;
|
|
10873
|
-
endContent?: string;
|
|
10874
|
-
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
10875
|
-
isClearable?: boolean;
|
|
10876
|
-
isRequired?: boolean;
|
|
10877
|
-
isReadOnly?: boolean;
|
|
10878
|
-
isInvalid?: boolean;
|
|
10879
|
-
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
10880
|
-
key: string;
|
|
10881
|
-
};
|
|
10638
|
+
boolean: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => InputProps;
|
|
10882
10639
|
/**
|
|
10883
10640
|
* 日期输入框
|
|
10884
10641
|
* @param key 唯一标识符
|
|
10885
10642
|
* @param config 输入框配置
|
|
10886
10643
|
*/
|
|
10887
|
-
date: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) =>
|
|
10888
|
-
componentType: string;
|
|
10889
|
-
type: string;
|
|
10890
|
-
pattern?: string;
|
|
10891
|
-
size?: "sm" | "md" | "lg";
|
|
10892
|
-
width?: string;
|
|
10893
|
-
height?: string;
|
|
10894
|
-
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
10895
|
-
label?: string;
|
|
10896
|
-
description?: string;
|
|
10897
|
-
errorMessage?: string;
|
|
10898
|
-
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
10899
|
-
isDisabled?: boolean;
|
|
10900
|
-
disableAnimation?: boolean;
|
|
10901
|
-
fullWidth?: boolean;
|
|
10902
|
-
className?: string;
|
|
10903
|
-
defaultValue?: string;
|
|
10904
|
-
rules?: ValidationRule[];
|
|
10905
|
-
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
10906
|
-
placeholder?: string;
|
|
10907
|
-
validationBehavior?: "native" | "aria";
|
|
10908
|
-
minLength?: number;
|
|
10909
|
-
maxLength?: number;
|
|
10910
|
-
startContent?: string;
|
|
10911
|
-
endContent?: string;
|
|
10912
|
-
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
10913
|
-
isClearable?: boolean;
|
|
10914
|
-
isRequired?: boolean;
|
|
10915
|
-
isReadOnly?: boolean;
|
|
10916
|
-
isInvalid?: boolean;
|
|
10917
|
-
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
10918
|
-
key: string;
|
|
10919
|
-
};
|
|
10644
|
+
date: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => InputProps;
|
|
10920
10645
|
/**
|
|
10921
10646
|
* 时间输入框
|
|
10922
10647
|
* @param key 唯一标识符
|
|
10923
10648
|
* @param config 输入框配置
|
|
10924
10649
|
*/
|
|
10925
|
-
time: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) =>
|
|
10926
|
-
componentType: string;
|
|
10927
|
-
type: string;
|
|
10928
|
-
pattern?: string;
|
|
10929
|
-
size?: "sm" | "md" | "lg";
|
|
10930
|
-
width?: string;
|
|
10931
|
-
height?: string;
|
|
10932
|
-
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
10933
|
-
label?: string;
|
|
10934
|
-
description?: string;
|
|
10935
|
-
errorMessage?: string;
|
|
10936
|
-
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
10937
|
-
isDisabled?: boolean;
|
|
10938
|
-
disableAnimation?: boolean;
|
|
10939
|
-
fullWidth?: boolean;
|
|
10940
|
-
className?: string;
|
|
10941
|
-
defaultValue?: string;
|
|
10942
|
-
rules?: ValidationRule[];
|
|
10943
|
-
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
10944
|
-
placeholder?: string;
|
|
10945
|
-
validationBehavior?: "native" | "aria";
|
|
10946
|
-
minLength?: number;
|
|
10947
|
-
maxLength?: number;
|
|
10948
|
-
startContent?: string;
|
|
10949
|
-
endContent?: string;
|
|
10950
|
-
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
10951
|
-
isClearable?: boolean;
|
|
10952
|
-
isRequired?: boolean;
|
|
10953
|
-
isReadOnly?: boolean;
|
|
10954
|
-
isInvalid?: boolean;
|
|
10955
|
-
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
10956
|
-
key: string;
|
|
10957
|
-
};
|
|
10650
|
+
time: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => InputProps;
|
|
10958
10651
|
/**
|
|
10959
10652
|
* 日期时间输入框
|
|
10960
10653
|
* @param key 唯一标识符
|
|
10961
10654
|
* @param config 输入框配置
|
|
10962
10655
|
*/
|
|
10963
|
-
datetime: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) =>
|
|
10964
|
-
componentType: string;
|
|
10965
|
-
type: string;
|
|
10966
|
-
pattern?: string;
|
|
10967
|
-
size?: "sm" | "md" | "lg";
|
|
10968
|
-
width?: string;
|
|
10969
|
-
height?: string;
|
|
10970
|
-
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
10971
|
-
label?: string;
|
|
10972
|
-
description?: string;
|
|
10973
|
-
errorMessage?: string;
|
|
10974
|
-
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
10975
|
-
isDisabled?: boolean;
|
|
10976
|
-
disableAnimation?: boolean;
|
|
10977
|
-
fullWidth?: boolean;
|
|
10978
|
-
className?: string;
|
|
10979
|
-
defaultValue?: string;
|
|
10980
|
-
rules?: ValidationRule[];
|
|
10981
|
-
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
10982
|
-
placeholder?: string;
|
|
10983
|
-
validationBehavior?: "native" | "aria";
|
|
10984
|
-
minLength?: number;
|
|
10985
|
-
maxLength?: number;
|
|
10986
|
-
startContent?: string;
|
|
10987
|
-
endContent?: string;
|
|
10988
|
-
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
10989
|
-
isClearable?: boolean;
|
|
10990
|
-
isRequired?: boolean;
|
|
10991
|
-
isReadOnly?: boolean;
|
|
10992
|
-
isInvalid?: boolean;
|
|
10993
|
-
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
10994
|
-
key: string;
|
|
10995
|
-
};
|
|
10656
|
+
datetime: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => InputProps;
|
|
10996
10657
|
/**
|
|
10997
10658
|
* 邮箱输入框
|
|
10998
10659
|
* @param key 唯一标识符
|
|
10999
10660
|
* @param config 输入框配置
|
|
11000
10661
|
*/
|
|
11001
|
-
email: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) =>
|
|
11002
|
-
componentType: string;
|
|
11003
|
-
type: string;
|
|
11004
|
-
pattern?: string;
|
|
11005
|
-
size?: "sm" | "md" | "lg";
|
|
11006
|
-
width?: string;
|
|
11007
|
-
height?: string;
|
|
11008
|
-
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
11009
|
-
label?: string;
|
|
11010
|
-
description?: string;
|
|
11011
|
-
errorMessage?: string;
|
|
11012
|
-
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
11013
|
-
isDisabled?: boolean;
|
|
11014
|
-
disableAnimation?: boolean;
|
|
11015
|
-
fullWidth?: boolean;
|
|
11016
|
-
className?: string;
|
|
11017
|
-
defaultValue?: string;
|
|
11018
|
-
rules?: ValidationRule[];
|
|
11019
|
-
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
11020
|
-
placeholder?: string;
|
|
11021
|
-
validationBehavior?: "native" | "aria";
|
|
11022
|
-
minLength?: number;
|
|
11023
|
-
maxLength?: number;
|
|
11024
|
-
startContent?: string;
|
|
11025
|
-
endContent?: string;
|
|
11026
|
-
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
11027
|
-
isClearable?: boolean;
|
|
11028
|
-
isRequired?: boolean;
|
|
11029
|
-
isReadOnly?: boolean;
|
|
11030
|
-
isInvalid?: boolean;
|
|
11031
|
-
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
11032
|
-
key: string;
|
|
11033
|
-
};
|
|
10662
|
+
email: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => InputProps;
|
|
11034
10663
|
/**
|
|
11035
10664
|
* URL输入框
|
|
11036
10665
|
* @param key 唯一标识符
|
|
11037
10666
|
* @param config 输入框配置
|
|
11038
10667
|
*/
|
|
11039
|
-
url: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) =>
|
|
11040
|
-
componentType: string;
|
|
11041
|
-
type: string;
|
|
11042
|
-
pattern?: string;
|
|
11043
|
-
size?: "sm" | "md" | "lg";
|
|
11044
|
-
width?: string;
|
|
11045
|
-
height?: string;
|
|
11046
|
-
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
11047
|
-
label?: string;
|
|
11048
|
-
description?: string;
|
|
11049
|
-
errorMessage?: string;
|
|
11050
|
-
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
11051
|
-
isDisabled?: boolean;
|
|
11052
|
-
disableAnimation?: boolean;
|
|
11053
|
-
fullWidth?: boolean;
|
|
11054
|
-
className?: string;
|
|
11055
|
-
defaultValue?: string;
|
|
11056
|
-
rules?: ValidationRule[];
|
|
11057
|
-
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
11058
|
-
placeholder?: string;
|
|
11059
|
-
validationBehavior?: "native" | "aria";
|
|
11060
|
-
minLength?: number;
|
|
11061
|
-
maxLength?: number;
|
|
11062
|
-
startContent?: string;
|
|
11063
|
-
endContent?: string;
|
|
11064
|
-
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
11065
|
-
isClearable?: boolean;
|
|
11066
|
-
isRequired?: boolean;
|
|
11067
|
-
isReadOnly?: boolean;
|
|
11068
|
-
isInvalid?: boolean;
|
|
11069
|
-
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
11070
|
-
key: string;
|
|
11071
|
-
};
|
|
10668
|
+
url: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => InputProps;
|
|
11072
10669
|
/**
|
|
11073
10670
|
* 电话输入框
|
|
11074
10671
|
* @param key 唯一标识符
|
|
11075
10672
|
* @param config 输入框配置
|
|
11076
10673
|
*/
|
|
11077
|
-
tel: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) =>
|
|
11078
|
-
componentType: string;
|
|
11079
|
-
type: string;
|
|
11080
|
-
pattern?: string;
|
|
11081
|
-
size?: "sm" | "md" | "lg";
|
|
11082
|
-
width?: string;
|
|
11083
|
-
height?: string;
|
|
11084
|
-
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
11085
|
-
label?: string;
|
|
11086
|
-
description?: string;
|
|
11087
|
-
errorMessage?: string;
|
|
11088
|
-
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
11089
|
-
isDisabled?: boolean;
|
|
11090
|
-
disableAnimation?: boolean;
|
|
11091
|
-
fullWidth?: boolean;
|
|
11092
|
-
className?: string;
|
|
11093
|
-
defaultValue?: string;
|
|
11094
|
-
rules?: ValidationRule[];
|
|
11095
|
-
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
11096
|
-
placeholder?: string;
|
|
11097
|
-
validationBehavior?: "native" | "aria";
|
|
11098
|
-
minLength?: number;
|
|
11099
|
-
maxLength?: number;
|
|
11100
|
-
startContent?: string;
|
|
11101
|
-
endContent?: string;
|
|
11102
|
-
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
11103
|
-
isClearable?: boolean;
|
|
11104
|
-
isRequired?: boolean;
|
|
11105
|
-
isReadOnly?: boolean;
|
|
11106
|
-
isInvalid?: boolean;
|
|
11107
|
-
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
11108
|
-
key: string;
|
|
11109
|
-
};
|
|
10674
|
+
tel: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => InputProps;
|
|
11110
10675
|
/**
|
|
11111
10676
|
* 密码输入框
|
|
11112
10677
|
* @param key 唯一标识符
|
|
11113
10678
|
* @param config 输入框配置
|
|
11114
10679
|
*/
|
|
11115
|
-
password: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) =>
|
|
11116
|
-
componentType: string;
|
|
11117
|
-
type: string;
|
|
11118
|
-
pattern?: string;
|
|
11119
|
-
size?: "sm" | "md" | "lg";
|
|
11120
|
-
width?: string;
|
|
11121
|
-
height?: string;
|
|
11122
|
-
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
11123
|
-
label?: string;
|
|
11124
|
-
description?: string;
|
|
11125
|
-
errorMessage?: string;
|
|
11126
|
-
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
11127
|
-
isDisabled?: boolean;
|
|
11128
|
-
disableAnimation?: boolean;
|
|
11129
|
-
fullWidth?: boolean;
|
|
11130
|
-
className?: string;
|
|
11131
|
-
defaultValue?: string;
|
|
11132
|
-
rules?: ValidationRule[];
|
|
11133
|
-
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
11134
|
-
placeholder?: string;
|
|
11135
|
-
validationBehavior?: "native" | "aria";
|
|
11136
|
-
minLength?: number;
|
|
11137
|
-
maxLength?: number;
|
|
11138
|
-
startContent?: string;
|
|
11139
|
-
endContent?: string;
|
|
11140
|
-
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
11141
|
-
isClearable?: boolean;
|
|
11142
|
-
isRequired?: boolean;
|
|
11143
|
-
isReadOnly?: boolean;
|
|
11144
|
-
isInvalid?: boolean;
|
|
11145
|
-
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
11146
|
-
key: string;
|
|
11147
|
-
};
|
|
10680
|
+
password: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => InputProps;
|
|
11148
10681
|
/**
|
|
11149
10682
|
* 颜色输入框
|
|
11150
10683
|
* @param key 唯一标识符
|
|
11151
10684
|
* @param config 输入框配置
|
|
11152
10685
|
*/
|
|
11153
|
-
color: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) =>
|
|
11154
|
-
componentType: string;
|
|
11155
|
-
type: string;
|
|
11156
|
-
pattern?: string;
|
|
11157
|
-
size?: "sm" | "md" | "lg";
|
|
11158
|
-
width?: string;
|
|
11159
|
-
height?: string;
|
|
11160
|
-
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
11161
|
-
label?: string;
|
|
11162
|
-
description?: string;
|
|
11163
|
-
errorMessage?: string;
|
|
11164
|
-
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
11165
|
-
isDisabled?: boolean;
|
|
11166
|
-
disableAnimation?: boolean;
|
|
11167
|
-
fullWidth?: boolean;
|
|
11168
|
-
className?: string;
|
|
11169
|
-
defaultValue?: string;
|
|
11170
|
-
rules?: ValidationRule[];
|
|
11171
|
-
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
11172
|
-
placeholder?: string;
|
|
11173
|
-
validationBehavior?: "native" | "aria";
|
|
11174
|
-
minLength?: number;
|
|
11175
|
-
maxLength?: number;
|
|
11176
|
-
startContent?: string;
|
|
11177
|
-
endContent?: string;
|
|
11178
|
-
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
11179
|
-
isClearable?: boolean;
|
|
11180
|
-
isRequired?: boolean;
|
|
11181
|
-
isReadOnly?: boolean;
|
|
11182
|
-
isInvalid?: boolean;
|
|
11183
|
-
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
11184
|
-
key: string;
|
|
11185
|
-
};
|
|
10686
|
+
color: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => InputProps;
|
|
11186
10687
|
/**
|
|
11187
10688
|
* JSON输入框
|
|
11188
10689
|
* @param key 唯一标识符
|
|
11189
10690
|
* @param config 输入框配置
|
|
11190
10691
|
*/
|
|
11191
|
-
json: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) =>
|
|
11192
|
-
componentType: string;
|
|
11193
|
-
type: string;
|
|
11194
|
-
pattern?: string;
|
|
11195
|
-
size?: "sm" | "md" | "lg";
|
|
11196
|
-
width?: string;
|
|
11197
|
-
height?: string;
|
|
11198
|
-
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
11199
|
-
label?: string;
|
|
11200
|
-
description?: string;
|
|
11201
|
-
errorMessage?: string;
|
|
11202
|
-
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
11203
|
-
isDisabled?: boolean;
|
|
11204
|
-
disableAnimation?: boolean;
|
|
11205
|
-
fullWidth?: boolean;
|
|
11206
|
-
className?: string;
|
|
11207
|
-
defaultValue?: string;
|
|
11208
|
-
rules?: ValidationRule[];
|
|
11209
|
-
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
11210
|
-
placeholder?: string;
|
|
11211
|
-
validationBehavior?: "native" | "aria";
|
|
11212
|
-
minLength?: number;
|
|
11213
|
-
maxLength?: number;
|
|
11214
|
-
startContent?: string;
|
|
11215
|
-
endContent?: string;
|
|
11216
|
-
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
11217
|
-
isClearable?: boolean;
|
|
11218
|
-
isRequired?: boolean;
|
|
11219
|
-
isReadOnly?: boolean;
|
|
11220
|
-
isInvalid?: boolean;
|
|
11221
|
-
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
11222
|
-
key: string;
|
|
11223
|
-
};
|
|
10692
|
+
json: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => InputProps;
|
|
11224
10693
|
};
|
|
11225
10694
|
|
|
11226
10695
|
/**
|
|
@@ -11232,47 +10701,13 @@ declare const switchComponent: {
|
|
|
11232
10701
|
* @param key 唯一标识符
|
|
11233
10702
|
* @param options 开关配置
|
|
11234
10703
|
*/
|
|
11235
|
-
create: (key: string, options?: Omit<SwitchProps, "key" | "componentType">) =>
|
|
11236
|
-
componentType: string;
|
|
11237
|
-
size?: "sm" | "md" | "lg" | undefined;
|
|
11238
|
-
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | undefined;
|
|
11239
|
-
description?: string | undefined;
|
|
11240
|
-
isDisabled?: boolean | undefined;
|
|
11241
|
-
disableAnimation?: boolean | undefined;
|
|
11242
|
-
className?: string | undefined;
|
|
11243
|
-
startContent?: string | undefined;
|
|
11244
|
-
endContent?: string | undefined;
|
|
11245
|
-
isReadOnly?: boolean | undefined;
|
|
11246
|
-
startText?: string | undefined;
|
|
11247
|
-
endText?: string | undefined;
|
|
11248
|
-
thumbIcon?: string | undefined;
|
|
11249
|
-
isSelected?: boolean | undefined;
|
|
11250
|
-
defaultSelected?: boolean | undefined;
|
|
11251
|
-
key: string;
|
|
11252
|
-
};
|
|
10704
|
+
create: (key: string, options?: Omit<SwitchProps, "key" | "componentType">) => SwitchProps;
|
|
11253
10705
|
/**
|
|
11254
10706
|
* 自定义开关
|
|
11255
10707
|
* @param key 唯一标识符
|
|
11256
10708
|
* @param config 开关配置
|
|
11257
10709
|
*/
|
|
11258
|
-
options: (key: string, config?: Partial<Omit<SwitchProps, "key" | "componentType">>) =>
|
|
11259
|
-
componentType: string;
|
|
11260
|
-
size?: "sm" | "md" | "lg" | undefined;
|
|
11261
|
-
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | undefined;
|
|
11262
|
-
description?: string | undefined;
|
|
11263
|
-
isDisabled?: boolean | undefined;
|
|
11264
|
-
disableAnimation?: boolean | undefined;
|
|
11265
|
-
className?: string | undefined;
|
|
11266
|
-
startContent?: string | undefined;
|
|
11267
|
-
endContent?: string | undefined;
|
|
11268
|
-
isReadOnly?: boolean | undefined;
|
|
11269
|
-
startText?: string | undefined;
|
|
11270
|
-
endText?: string | undefined;
|
|
11271
|
-
thumbIcon?: string | undefined;
|
|
11272
|
-
isSelected?: boolean | undefined;
|
|
11273
|
-
defaultSelected?: boolean | undefined;
|
|
11274
|
-
key: string;
|
|
11275
|
-
};
|
|
10710
|
+
options: (key: string, config?: Partial<Omit<SwitchProps, "key" | "componentType">>) => SwitchProps;
|
|
11276
10711
|
};
|
|
11277
10712
|
|
|
11278
10713
|
/**
|
|
@@ -11284,995 +10719,86 @@ declare const divider: {
|
|
|
11284
10719
|
* @param key 唯一标识符
|
|
11285
10720
|
* @param options 分隔线配置
|
|
11286
10721
|
*/
|
|
11287
|
-
create: (key: string, options
|
|
11288
|
-
description?: string;
|
|
11289
|
-
className?: string;
|
|
11290
|
-
transparent: boolean;
|
|
11291
|
-
orientation: string;
|
|
11292
|
-
key: string;
|
|
11293
|
-
componentType: string;
|
|
11294
|
-
};
|
|
10722
|
+
create: (key: string, options?: Omit<DividerProps, "key" | "componentType">) => DividerProps;
|
|
11295
10723
|
/**
|
|
11296
10724
|
* 创建水平分隔线
|
|
11297
10725
|
* @param key 唯一标识符
|
|
11298
10726
|
* @param config 分隔线配置
|
|
11299
10727
|
*/
|
|
11300
|
-
horizontal: (key: string, config?: Partial<Omit<DividerProps, "key" | "componentType">>) =>
|
|
11301
|
-
description?: string;
|
|
11302
|
-
className?: string;
|
|
11303
|
-
transparent: boolean;
|
|
11304
|
-
orientation: string;
|
|
11305
|
-
key: string;
|
|
11306
|
-
componentType: string;
|
|
11307
|
-
};
|
|
10728
|
+
horizontal: (key: string, config?: Partial<Omit<DividerProps, "key" | "componentType">>) => DividerProps;
|
|
11308
10729
|
/**
|
|
11309
10730
|
* 创建垂直分隔线
|
|
11310
10731
|
* @param key 唯一标识符
|
|
11311
10732
|
* @param config 分隔线配置
|
|
11312
10733
|
*/
|
|
11313
|
-
vertical: (key: string, config?: Partial<Omit<DividerProps, "key" | "componentType">>) =>
|
|
11314
|
-
description?: string;
|
|
11315
|
-
className?: string;
|
|
11316
|
-
transparent: boolean;
|
|
11317
|
-
orientation: string;
|
|
11318
|
-
key: string;
|
|
11319
|
-
componentType: string;
|
|
11320
|
-
};
|
|
10734
|
+
vertical: (key: string, config?: Partial<Omit<DividerProps, "key" | "componentType">>) => DividerProps;
|
|
11321
10735
|
};
|
|
11322
10736
|
|
|
11323
10737
|
declare const components: {
|
|
11324
10738
|
/** 分隔线 */
|
|
11325
10739
|
divider: {
|
|
11326
|
-
create: (key: string, options
|
|
11327
|
-
|
|
11328
|
-
|
|
11329
|
-
transparent: boolean;
|
|
11330
|
-
orientation: string;
|
|
11331
|
-
key: string;
|
|
11332
|
-
componentType: string;
|
|
11333
|
-
};
|
|
11334
|
-
horizontal: (key: string, config?: Partial<Omit<DividerProps, "key" | "componentType">>) => {
|
|
11335
|
-
description?: string;
|
|
11336
|
-
className?: string;
|
|
11337
|
-
transparent: boolean;
|
|
11338
|
-
orientation: string;
|
|
11339
|
-
key: string;
|
|
11340
|
-
componentType: string;
|
|
11341
|
-
};
|
|
11342
|
-
vertical: (key: string, config?: Partial<Omit<DividerProps, "key" | "componentType">>) => {
|
|
11343
|
-
description?: string;
|
|
11344
|
-
className?: string;
|
|
11345
|
-
transparent: boolean;
|
|
11346
|
-
orientation: string;
|
|
11347
|
-
key: string;
|
|
11348
|
-
componentType: string;
|
|
11349
|
-
};
|
|
10740
|
+
create: (key: string, options?: Omit<DividerProps, "key" | "componentType">) => DividerProps;
|
|
10741
|
+
horizontal: (key: string, config?: Partial<Omit<DividerProps, "key" | "componentType">>) => DividerProps;
|
|
10742
|
+
vertical: (key: string, config?: Partial<Omit<DividerProps, "key" | "componentType">>) => DividerProps;
|
|
11350
10743
|
};
|
|
11351
10744
|
/** 输入框 */
|
|
11352
10745
|
input: {
|
|
11353
|
-
create: (key: string, options: Omit<InputProps, "key" | "componentType">) =>
|
|
11354
|
-
|
|
11355
|
-
|
|
11356
|
-
|
|
11357
|
-
|
|
11358
|
-
|
|
11359
|
-
|
|
11360
|
-
|
|
11361
|
-
|
|
11362
|
-
|
|
11363
|
-
|
|
11364
|
-
|
|
11365
|
-
|
|
11366
|
-
disableAnimation?: boolean;
|
|
11367
|
-
fullWidth?: boolean;
|
|
11368
|
-
className?: string;
|
|
11369
|
-
defaultValue?: string;
|
|
11370
|
-
rules?: ValidationRule[];
|
|
11371
|
-
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
11372
|
-
placeholder?: string;
|
|
11373
|
-
validationBehavior?: "native" | "aria";
|
|
11374
|
-
minLength?: number;
|
|
11375
|
-
maxLength?: number;
|
|
11376
|
-
startContent?: string;
|
|
11377
|
-
endContent?: string;
|
|
11378
|
-
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
11379
|
-
isClearable?: boolean;
|
|
11380
|
-
isRequired?: boolean;
|
|
11381
|
-
isReadOnly?: boolean;
|
|
11382
|
-
isInvalid?: boolean;
|
|
11383
|
-
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
11384
|
-
key: string;
|
|
11385
|
-
};
|
|
11386
|
-
string: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => {
|
|
11387
|
-
componentType: string;
|
|
11388
|
-
type: string;
|
|
11389
|
-
pattern?: string;
|
|
11390
|
-
size?: "sm" | "md" | "lg";
|
|
11391
|
-
width?: string;
|
|
11392
|
-
height?: string;
|
|
11393
|
-
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
11394
|
-
label?: string;
|
|
11395
|
-
description?: string;
|
|
11396
|
-
errorMessage?: string;
|
|
11397
|
-
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
11398
|
-
isDisabled?: boolean;
|
|
11399
|
-
disableAnimation?: boolean;
|
|
11400
|
-
fullWidth?: boolean;
|
|
11401
|
-
className?: string;
|
|
11402
|
-
defaultValue?: string;
|
|
11403
|
-
rules?: ValidationRule[];
|
|
11404
|
-
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
11405
|
-
placeholder?: string;
|
|
11406
|
-
validationBehavior?: "native" | "aria";
|
|
11407
|
-
minLength?: number;
|
|
11408
|
-
maxLength?: number;
|
|
11409
|
-
startContent?: string;
|
|
11410
|
-
endContent?: string;
|
|
11411
|
-
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
11412
|
-
isClearable?: boolean;
|
|
11413
|
-
isRequired?: boolean;
|
|
11414
|
-
isReadOnly?: boolean;
|
|
11415
|
-
isInvalid?: boolean;
|
|
11416
|
-
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
11417
|
-
key: string;
|
|
11418
|
-
};
|
|
11419
|
-
number: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => {
|
|
11420
|
-
componentType: string;
|
|
11421
|
-
type: string;
|
|
11422
|
-
pattern?: string;
|
|
11423
|
-
size?: "sm" | "md" | "lg";
|
|
11424
|
-
width?: string;
|
|
11425
|
-
height?: string;
|
|
11426
|
-
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
11427
|
-
label?: string;
|
|
11428
|
-
description?: string;
|
|
11429
|
-
errorMessage?: string;
|
|
11430
|
-
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
11431
|
-
isDisabled?: boolean;
|
|
11432
|
-
disableAnimation?: boolean;
|
|
11433
|
-
fullWidth?: boolean;
|
|
11434
|
-
className?: string;
|
|
11435
|
-
defaultValue?: string;
|
|
11436
|
-
rules?: ValidationRule[];
|
|
11437
|
-
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
11438
|
-
placeholder?: string;
|
|
11439
|
-
validationBehavior?: "native" | "aria";
|
|
11440
|
-
minLength?: number;
|
|
11441
|
-
maxLength?: number;
|
|
11442
|
-
startContent?: string;
|
|
11443
|
-
endContent?: string;
|
|
11444
|
-
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
11445
|
-
isClearable?: boolean;
|
|
11446
|
-
isRequired?: boolean;
|
|
11447
|
-
isReadOnly?: boolean;
|
|
11448
|
-
isInvalid?: boolean;
|
|
11449
|
-
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
11450
|
-
key: string;
|
|
11451
|
-
};
|
|
11452
|
-
boolean: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => {
|
|
11453
|
-
componentType: string;
|
|
11454
|
-
type: string;
|
|
11455
|
-
pattern?: string;
|
|
11456
|
-
size?: "sm" | "md" | "lg";
|
|
11457
|
-
width?: string;
|
|
11458
|
-
height?: string;
|
|
11459
|
-
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
11460
|
-
label?: string;
|
|
11461
|
-
description?: string;
|
|
11462
|
-
errorMessage?: string;
|
|
11463
|
-
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
11464
|
-
isDisabled?: boolean;
|
|
11465
|
-
disableAnimation?: boolean;
|
|
11466
|
-
fullWidth?: boolean;
|
|
11467
|
-
className?: string;
|
|
11468
|
-
defaultValue?: string;
|
|
11469
|
-
rules?: ValidationRule[];
|
|
11470
|
-
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
11471
|
-
placeholder?: string;
|
|
11472
|
-
validationBehavior?: "native" | "aria";
|
|
11473
|
-
minLength?: number;
|
|
11474
|
-
maxLength?: number;
|
|
11475
|
-
startContent?: string;
|
|
11476
|
-
endContent?: string;
|
|
11477
|
-
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
11478
|
-
isClearable?: boolean;
|
|
11479
|
-
isRequired?: boolean;
|
|
11480
|
-
isReadOnly?: boolean;
|
|
11481
|
-
isInvalid?: boolean;
|
|
11482
|
-
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
11483
|
-
key: string;
|
|
11484
|
-
};
|
|
11485
|
-
date: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => {
|
|
11486
|
-
componentType: string;
|
|
11487
|
-
type: string;
|
|
11488
|
-
pattern?: string;
|
|
11489
|
-
size?: "sm" | "md" | "lg";
|
|
11490
|
-
width?: string;
|
|
11491
|
-
height?: string;
|
|
11492
|
-
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
11493
|
-
label?: string;
|
|
11494
|
-
description?: string;
|
|
11495
|
-
errorMessage?: string;
|
|
11496
|
-
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
11497
|
-
isDisabled?: boolean;
|
|
11498
|
-
disableAnimation?: boolean;
|
|
11499
|
-
fullWidth?: boolean;
|
|
11500
|
-
className?: string;
|
|
11501
|
-
defaultValue?: string;
|
|
11502
|
-
rules?: ValidationRule[];
|
|
11503
|
-
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
11504
|
-
placeholder?: string;
|
|
11505
|
-
validationBehavior?: "native" | "aria";
|
|
11506
|
-
minLength?: number;
|
|
11507
|
-
maxLength?: number;
|
|
11508
|
-
startContent?: string;
|
|
11509
|
-
endContent?: string;
|
|
11510
|
-
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
11511
|
-
isClearable?: boolean;
|
|
11512
|
-
isRequired?: boolean;
|
|
11513
|
-
isReadOnly?: boolean;
|
|
11514
|
-
isInvalid?: boolean;
|
|
11515
|
-
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
11516
|
-
key: string;
|
|
11517
|
-
};
|
|
11518
|
-
time: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => {
|
|
11519
|
-
componentType: string;
|
|
11520
|
-
type: string;
|
|
11521
|
-
pattern?: string;
|
|
11522
|
-
size?: "sm" | "md" | "lg";
|
|
11523
|
-
width?: string;
|
|
11524
|
-
height?: string;
|
|
11525
|
-
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
11526
|
-
label?: string;
|
|
11527
|
-
description?: string;
|
|
11528
|
-
errorMessage?: string;
|
|
11529
|
-
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
11530
|
-
isDisabled?: boolean;
|
|
11531
|
-
disableAnimation?: boolean;
|
|
11532
|
-
fullWidth?: boolean;
|
|
11533
|
-
className?: string;
|
|
11534
|
-
defaultValue?: string;
|
|
11535
|
-
rules?: ValidationRule[];
|
|
11536
|
-
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
11537
|
-
placeholder?: string;
|
|
11538
|
-
validationBehavior?: "native" | "aria";
|
|
11539
|
-
minLength?: number;
|
|
11540
|
-
maxLength?: number;
|
|
11541
|
-
startContent?: string;
|
|
11542
|
-
endContent?: string;
|
|
11543
|
-
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
11544
|
-
isClearable?: boolean;
|
|
11545
|
-
isRequired?: boolean;
|
|
11546
|
-
isReadOnly?: boolean;
|
|
11547
|
-
isInvalid?: boolean;
|
|
11548
|
-
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
11549
|
-
key: string;
|
|
11550
|
-
};
|
|
11551
|
-
datetime: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => {
|
|
11552
|
-
componentType: string;
|
|
11553
|
-
type: string;
|
|
11554
|
-
pattern?: string;
|
|
11555
|
-
size?: "sm" | "md" | "lg";
|
|
11556
|
-
width?: string;
|
|
11557
|
-
height?: string;
|
|
11558
|
-
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
11559
|
-
label?: string;
|
|
11560
|
-
description?: string;
|
|
11561
|
-
errorMessage?: string;
|
|
11562
|
-
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
11563
|
-
isDisabled?: boolean;
|
|
11564
|
-
disableAnimation?: boolean;
|
|
11565
|
-
fullWidth?: boolean;
|
|
11566
|
-
className?: string;
|
|
11567
|
-
defaultValue?: string;
|
|
11568
|
-
rules?: ValidationRule[];
|
|
11569
|
-
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
11570
|
-
placeholder?: string;
|
|
11571
|
-
validationBehavior?: "native" | "aria";
|
|
11572
|
-
minLength?: number;
|
|
11573
|
-
maxLength?: number;
|
|
11574
|
-
startContent?: string;
|
|
11575
|
-
endContent?: string;
|
|
11576
|
-
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
11577
|
-
isClearable?: boolean;
|
|
11578
|
-
isRequired?: boolean;
|
|
11579
|
-
isReadOnly?: boolean;
|
|
11580
|
-
isInvalid?: boolean;
|
|
11581
|
-
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
11582
|
-
key: string;
|
|
11583
|
-
};
|
|
11584
|
-
email: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => {
|
|
11585
|
-
componentType: string;
|
|
11586
|
-
type: string;
|
|
11587
|
-
pattern?: string;
|
|
11588
|
-
size?: "sm" | "md" | "lg";
|
|
11589
|
-
width?: string;
|
|
11590
|
-
height?: string;
|
|
11591
|
-
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
11592
|
-
label?: string;
|
|
11593
|
-
description?: string;
|
|
11594
|
-
errorMessage?: string;
|
|
11595
|
-
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
11596
|
-
isDisabled?: boolean;
|
|
11597
|
-
disableAnimation?: boolean;
|
|
11598
|
-
fullWidth?: boolean;
|
|
11599
|
-
className?: string;
|
|
11600
|
-
defaultValue?: string;
|
|
11601
|
-
rules?: ValidationRule[];
|
|
11602
|
-
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
11603
|
-
placeholder?: string;
|
|
11604
|
-
validationBehavior?: "native" | "aria";
|
|
11605
|
-
minLength?: number;
|
|
11606
|
-
maxLength?: number;
|
|
11607
|
-
startContent?: string;
|
|
11608
|
-
endContent?: string;
|
|
11609
|
-
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
11610
|
-
isClearable?: boolean;
|
|
11611
|
-
isRequired?: boolean;
|
|
11612
|
-
isReadOnly?: boolean;
|
|
11613
|
-
isInvalid?: boolean;
|
|
11614
|
-
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
11615
|
-
key: string;
|
|
11616
|
-
};
|
|
11617
|
-
url: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => {
|
|
11618
|
-
componentType: string;
|
|
11619
|
-
type: string;
|
|
11620
|
-
pattern?: string;
|
|
11621
|
-
size?: "sm" | "md" | "lg";
|
|
11622
|
-
width?: string;
|
|
11623
|
-
height?: string;
|
|
11624
|
-
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
11625
|
-
label?: string;
|
|
11626
|
-
description?: string;
|
|
11627
|
-
errorMessage?: string;
|
|
11628
|
-
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
11629
|
-
isDisabled?: boolean;
|
|
11630
|
-
disableAnimation?: boolean;
|
|
11631
|
-
fullWidth?: boolean;
|
|
11632
|
-
className?: string;
|
|
11633
|
-
defaultValue?: string;
|
|
11634
|
-
rules?: ValidationRule[];
|
|
11635
|
-
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
11636
|
-
placeholder?: string;
|
|
11637
|
-
validationBehavior?: "native" | "aria";
|
|
11638
|
-
minLength?: number;
|
|
11639
|
-
maxLength?: number;
|
|
11640
|
-
startContent?: string;
|
|
11641
|
-
endContent?: string;
|
|
11642
|
-
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
11643
|
-
isClearable?: boolean;
|
|
11644
|
-
isRequired?: boolean;
|
|
11645
|
-
isReadOnly?: boolean;
|
|
11646
|
-
isInvalid?: boolean;
|
|
11647
|
-
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
11648
|
-
key: string;
|
|
11649
|
-
};
|
|
11650
|
-
tel: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => {
|
|
11651
|
-
componentType: string;
|
|
11652
|
-
type: string;
|
|
11653
|
-
pattern?: string;
|
|
11654
|
-
size?: "sm" | "md" | "lg";
|
|
11655
|
-
width?: string;
|
|
11656
|
-
height?: string;
|
|
11657
|
-
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
11658
|
-
label?: string;
|
|
11659
|
-
description?: string;
|
|
11660
|
-
errorMessage?: string;
|
|
11661
|
-
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
11662
|
-
isDisabled?: boolean;
|
|
11663
|
-
disableAnimation?: boolean;
|
|
11664
|
-
fullWidth?: boolean;
|
|
11665
|
-
className?: string;
|
|
11666
|
-
defaultValue?: string;
|
|
11667
|
-
rules?: ValidationRule[];
|
|
11668
|
-
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
11669
|
-
placeholder?: string;
|
|
11670
|
-
validationBehavior?: "native" | "aria";
|
|
11671
|
-
minLength?: number;
|
|
11672
|
-
maxLength?: number;
|
|
11673
|
-
startContent?: string;
|
|
11674
|
-
endContent?: string;
|
|
11675
|
-
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
11676
|
-
isClearable?: boolean;
|
|
11677
|
-
isRequired?: boolean;
|
|
11678
|
-
isReadOnly?: boolean;
|
|
11679
|
-
isInvalid?: boolean;
|
|
11680
|
-
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
11681
|
-
key: string;
|
|
11682
|
-
};
|
|
11683
|
-
password: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => {
|
|
11684
|
-
componentType: string;
|
|
11685
|
-
type: string;
|
|
11686
|
-
pattern?: string;
|
|
11687
|
-
size?: "sm" | "md" | "lg";
|
|
11688
|
-
width?: string;
|
|
11689
|
-
height?: string;
|
|
11690
|
-
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
11691
|
-
label?: string;
|
|
11692
|
-
description?: string;
|
|
11693
|
-
errorMessage?: string;
|
|
11694
|
-
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
11695
|
-
isDisabled?: boolean;
|
|
11696
|
-
disableAnimation?: boolean;
|
|
11697
|
-
fullWidth?: boolean;
|
|
11698
|
-
className?: string;
|
|
11699
|
-
defaultValue?: string;
|
|
11700
|
-
rules?: ValidationRule[];
|
|
11701
|
-
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
11702
|
-
placeholder?: string;
|
|
11703
|
-
validationBehavior?: "native" | "aria";
|
|
11704
|
-
minLength?: number;
|
|
11705
|
-
maxLength?: number;
|
|
11706
|
-
startContent?: string;
|
|
11707
|
-
endContent?: string;
|
|
11708
|
-
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
11709
|
-
isClearable?: boolean;
|
|
11710
|
-
isRequired?: boolean;
|
|
11711
|
-
isReadOnly?: boolean;
|
|
11712
|
-
isInvalid?: boolean;
|
|
11713
|
-
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
11714
|
-
key: string;
|
|
11715
|
-
};
|
|
11716
|
-
color: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => {
|
|
11717
|
-
componentType: string;
|
|
11718
|
-
type: string;
|
|
11719
|
-
pattern?: string;
|
|
11720
|
-
size?: "sm" | "md" | "lg";
|
|
11721
|
-
width?: string;
|
|
11722
|
-
height?: string;
|
|
11723
|
-
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
11724
|
-
label?: string;
|
|
11725
|
-
description?: string;
|
|
11726
|
-
errorMessage?: string;
|
|
11727
|
-
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
11728
|
-
isDisabled?: boolean;
|
|
11729
|
-
disableAnimation?: boolean;
|
|
11730
|
-
fullWidth?: boolean;
|
|
11731
|
-
className?: string;
|
|
11732
|
-
defaultValue?: string;
|
|
11733
|
-
rules?: ValidationRule[];
|
|
11734
|
-
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
11735
|
-
placeholder?: string;
|
|
11736
|
-
validationBehavior?: "native" | "aria";
|
|
11737
|
-
minLength?: number;
|
|
11738
|
-
maxLength?: number;
|
|
11739
|
-
startContent?: string;
|
|
11740
|
-
endContent?: string;
|
|
11741
|
-
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
11742
|
-
isClearable?: boolean;
|
|
11743
|
-
isRequired?: boolean;
|
|
11744
|
-
isReadOnly?: boolean;
|
|
11745
|
-
isInvalid?: boolean;
|
|
11746
|
-
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
11747
|
-
key: string;
|
|
11748
|
-
};
|
|
11749
|
-
json: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => {
|
|
11750
|
-
componentType: string;
|
|
11751
|
-
type: string;
|
|
11752
|
-
pattern?: string;
|
|
11753
|
-
size?: "sm" | "md" | "lg";
|
|
11754
|
-
width?: string;
|
|
11755
|
-
height?: string;
|
|
11756
|
-
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
11757
|
-
label?: string;
|
|
11758
|
-
description?: string;
|
|
11759
|
-
errorMessage?: string;
|
|
11760
|
-
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
11761
|
-
isDisabled?: boolean;
|
|
11762
|
-
disableAnimation?: boolean;
|
|
11763
|
-
fullWidth?: boolean;
|
|
11764
|
-
className?: string;
|
|
11765
|
-
defaultValue?: string;
|
|
11766
|
-
rules?: ValidationRule[];
|
|
11767
|
-
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
11768
|
-
placeholder?: string;
|
|
11769
|
-
validationBehavior?: "native" | "aria";
|
|
11770
|
-
minLength?: number;
|
|
11771
|
-
maxLength?: number;
|
|
11772
|
-
startContent?: string;
|
|
11773
|
-
endContent?: string;
|
|
11774
|
-
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
11775
|
-
isClearable?: boolean;
|
|
11776
|
-
isRequired?: boolean;
|
|
11777
|
-
isReadOnly?: boolean;
|
|
11778
|
-
isInvalid?: boolean;
|
|
11779
|
-
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
11780
|
-
key: string;
|
|
11781
|
-
};
|
|
10746
|
+
create: (key: string, options: Omit<InputProps, "key" | "componentType">) => InputProps;
|
|
10747
|
+
string: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => InputProps;
|
|
10748
|
+
number: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => InputProps;
|
|
10749
|
+
boolean: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => InputProps;
|
|
10750
|
+
date: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => InputProps;
|
|
10751
|
+
time: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => InputProps;
|
|
10752
|
+
datetime: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => InputProps;
|
|
10753
|
+
email: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => InputProps;
|
|
10754
|
+
url: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => InputProps;
|
|
10755
|
+
tel: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => InputProps;
|
|
10756
|
+
password: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => InputProps;
|
|
10757
|
+
color: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => InputProps;
|
|
10758
|
+
json: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => InputProps;
|
|
11782
10759
|
};
|
|
11783
10760
|
/** 开关 */
|
|
11784
10761
|
switch: {
|
|
11785
|
-
create: (key: string, options?: Omit<SwitchProps, "key" | "componentType">) =>
|
|
11786
|
-
|
|
11787
|
-
size?: "sm" | "md" | "lg" | undefined;
|
|
11788
|
-
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | undefined;
|
|
11789
|
-
description?: string | undefined;
|
|
11790
|
-
isDisabled?: boolean | undefined;
|
|
11791
|
-
disableAnimation?: boolean | undefined;
|
|
11792
|
-
className?: string | undefined;
|
|
11793
|
-
startContent?: string | undefined;
|
|
11794
|
-
endContent?: string | undefined;
|
|
11795
|
-
isReadOnly?: boolean | undefined;
|
|
11796
|
-
startText?: string | undefined;
|
|
11797
|
-
endText?: string | undefined;
|
|
11798
|
-
thumbIcon?: string | undefined;
|
|
11799
|
-
isSelected?: boolean | undefined;
|
|
11800
|
-
defaultSelected?: boolean | undefined;
|
|
11801
|
-
key: string;
|
|
11802
|
-
};
|
|
11803
|
-
options: (key: string, config?: Partial<Omit<SwitchProps, "key" | "componentType">>) => {
|
|
11804
|
-
componentType: string;
|
|
11805
|
-
size?: "sm" | "md" | "lg" | undefined;
|
|
11806
|
-
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | undefined;
|
|
11807
|
-
description?: string | undefined;
|
|
11808
|
-
isDisabled?: boolean | undefined;
|
|
11809
|
-
disableAnimation?: boolean | undefined;
|
|
11810
|
-
className?: string | undefined;
|
|
11811
|
-
startContent?: string | undefined;
|
|
11812
|
-
endContent?: string | undefined;
|
|
11813
|
-
isReadOnly?: boolean | undefined;
|
|
11814
|
-
startText?: string | undefined;
|
|
11815
|
-
endText?: string | undefined;
|
|
11816
|
-
thumbIcon?: string | undefined;
|
|
11817
|
-
isSelected?: boolean | undefined;
|
|
11818
|
-
defaultSelected?: boolean | undefined;
|
|
11819
|
-
key: string;
|
|
11820
|
-
};
|
|
10762
|
+
create: (key: string, options?: Omit<SwitchProps, "key" | "componentType">) => SwitchProps;
|
|
10763
|
+
options: (key: string, config?: Partial<Omit<SwitchProps, "key" | "componentType">>) => SwitchProps;
|
|
11821
10764
|
};
|
|
11822
10765
|
/** 手风琴 */
|
|
11823
10766
|
accordion: {
|
|
11824
|
-
create: (key: string, options?: Omit<AccordionProps, "key" | "componentType">) =>
|
|
11825
|
-
|
|
11826
|
-
|
|
11827
|
-
label?: string;
|
|
11828
|
-
description?: string;
|
|
11829
|
-
children?: AccordionItemProps[];
|
|
11830
|
-
variant?: "light" | "shadow" | "bordered" | "splitted";
|
|
11831
|
-
selectionMode?: "none" | "single" | "multiple";
|
|
11832
|
-
selectionBehavior?: "toggle" | "replace";
|
|
11833
|
-
isCompact?: boolean;
|
|
11834
|
-
isDisabled?: boolean;
|
|
11835
|
-
showDivider?: boolean;
|
|
11836
|
-
hideIndicator?: boolean;
|
|
11837
|
-
disableAnimation?: boolean;
|
|
11838
|
-
disableIndicatorAnimation?: boolean;
|
|
11839
|
-
disallowEmptySelection?: boolean;
|
|
11840
|
-
keepContentMounted?: boolean;
|
|
11841
|
-
fullWidth?: boolean;
|
|
11842
|
-
disabledKeys?: string[];
|
|
11843
|
-
selectedKeys?: string[];
|
|
11844
|
-
defaultSelectedKeys?: string[];
|
|
11845
|
-
className?: string;
|
|
11846
|
-
key: string;
|
|
11847
|
-
};
|
|
11848
|
-
default: (key: string) => {
|
|
11849
|
-
componentType: string;
|
|
11850
|
-
title?: string;
|
|
11851
|
-
label?: string;
|
|
11852
|
-
description?: string;
|
|
11853
|
-
children?: AccordionItemProps[];
|
|
11854
|
-
variant?: "light" | "shadow" | "bordered" | "splitted";
|
|
11855
|
-
selectionMode?: "none" | "single" | "multiple";
|
|
11856
|
-
selectionBehavior?: "toggle" | "replace";
|
|
11857
|
-
isCompact?: boolean;
|
|
11858
|
-
isDisabled?: boolean;
|
|
11859
|
-
showDivider?: boolean;
|
|
11860
|
-
hideIndicator?: boolean;
|
|
11861
|
-
disableAnimation?: boolean;
|
|
11862
|
-
disableIndicatorAnimation?: boolean;
|
|
11863
|
-
disallowEmptySelection?: boolean;
|
|
11864
|
-
keepContentMounted?: boolean;
|
|
11865
|
-
fullWidth?: boolean;
|
|
11866
|
-
disabledKeys?: string[];
|
|
11867
|
-
selectedKeys?: string[];
|
|
11868
|
-
defaultSelectedKeys?: string[];
|
|
11869
|
-
className?: string;
|
|
11870
|
-
key: string;
|
|
11871
|
-
};
|
|
11872
|
-
createItem: (key: string, options?: Omit<AccordionItemProps, "key" | "componentType">) => {
|
|
11873
|
-
componentType: string;
|
|
11874
|
-
title?: string;
|
|
11875
|
-
description?: string;
|
|
11876
|
-
children?: Children[] | undefined;
|
|
11877
|
-
isCompact?: boolean;
|
|
11878
|
-
isDisabled?: boolean;
|
|
11879
|
-
hideIndicator?: boolean;
|
|
11880
|
-
disableAnimation?: boolean;
|
|
11881
|
-
disableIndicatorAnimation?: boolean;
|
|
11882
|
-
keepContentMounted?: boolean;
|
|
11883
|
-
className?: string;
|
|
11884
|
-
subtitle?: string;
|
|
11885
|
-
indicator?: boolean;
|
|
11886
|
-
key: string;
|
|
11887
|
-
};
|
|
10767
|
+
create: (key: string, options?: Omit<AccordionProps, "key" | "componentType">) => AccordionProps;
|
|
10768
|
+
default: (key: string) => AccordionProps;
|
|
10769
|
+
createItem: (key: string, options?: Omit<AccordionItemProps, "key" | "componentType">) => AccordionItemProps;
|
|
11888
10770
|
};
|
|
11889
10771
|
/** 手风琴Pro */
|
|
11890
10772
|
accordionPro: {
|
|
11891
|
-
create: (key: string, data: Record<string, any>[], options?: Omit<AccordionProProps, "key" | "componentType" | "data">) =>
|
|
11892
|
-
componentType: string;
|
|
11893
|
-
data?: Record<string, any>[] | undefined;
|
|
11894
|
-
title?: string;
|
|
11895
|
-
label?: string;
|
|
11896
|
-
description?: string;
|
|
11897
|
-
children?: Omit<AccordionItemProps, "componentType"> | undefined;
|
|
11898
|
-
variant?: "light" | "shadow" | "bordered" | "splitted";
|
|
11899
|
-
selectionMode?: "none" | "single" | "multiple";
|
|
11900
|
-
selectionBehavior?: "toggle" | "replace";
|
|
11901
|
-
isCompact?: boolean;
|
|
11902
|
-
isDisabled?: boolean;
|
|
11903
|
-
showDivider?: boolean;
|
|
11904
|
-
hideIndicator?: boolean;
|
|
11905
|
-
disableAnimation?: boolean;
|
|
11906
|
-
disableIndicatorAnimation?: boolean;
|
|
11907
|
-
disallowEmptySelection?: boolean;
|
|
11908
|
-
keepContentMounted?: boolean;
|
|
11909
|
-
fullWidth?: boolean;
|
|
11910
|
-
disabledKeys?: string[];
|
|
11911
|
-
selectedKeys?: string[];
|
|
11912
|
-
defaultSelectedKeys?: string[];
|
|
11913
|
-
className?: string;
|
|
11914
|
-
key: string;
|
|
11915
|
-
};
|
|
10773
|
+
create: (key: string, data: Record<string, any>[], options?: Omit<AccordionProProps, "key" | "componentType" | "data">) => AccordionProProps;
|
|
11916
10774
|
};
|
|
11917
10775
|
/** 手风琴项 */
|
|
11918
10776
|
accordionItem: {
|
|
11919
|
-
create: (key: string, options?: Omit<AccordionItemProps, "key" | "componentType">) =>
|
|
11920
|
-
|
|
11921
|
-
title?: string;
|
|
11922
|
-
description?: string;
|
|
11923
|
-
children?: Children[] | undefined;
|
|
11924
|
-
isCompact?: boolean;
|
|
11925
|
-
isDisabled?: boolean;
|
|
11926
|
-
hideIndicator?: boolean;
|
|
11927
|
-
disableAnimation?: boolean;
|
|
11928
|
-
disableIndicatorAnimation?: boolean;
|
|
11929
|
-
keepContentMounted?: boolean;
|
|
11930
|
-
className?: string;
|
|
11931
|
-
subtitle?: string;
|
|
11932
|
-
indicator?: boolean;
|
|
11933
|
-
key: string;
|
|
11934
|
-
};
|
|
11935
|
-
default: (key: string, title: string, children?: Children[]) => {
|
|
11936
|
-
componentType: string;
|
|
11937
|
-
title?: string;
|
|
11938
|
-
description?: string;
|
|
11939
|
-
children?: Children[] | undefined;
|
|
11940
|
-
isCompact?: boolean;
|
|
11941
|
-
isDisabled?: boolean;
|
|
11942
|
-
hideIndicator?: boolean;
|
|
11943
|
-
disableAnimation?: boolean;
|
|
11944
|
-
disableIndicatorAnimation?: boolean;
|
|
11945
|
-
keepContentMounted?: boolean;
|
|
11946
|
-
className?: string;
|
|
11947
|
-
subtitle?: string;
|
|
11948
|
-
indicator?: boolean;
|
|
11949
|
-
key: string;
|
|
11950
|
-
};
|
|
10777
|
+
create: (key: string, options?: Omit<AccordionItemProps, "key" | "componentType">) => AccordionItemProps;
|
|
10778
|
+
default: (key: string, title: string, children?: Children[]) => AccordionItemProps;
|
|
11951
10779
|
};
|
|
11952
10780
|
/** 单选框 */
|
|
11953
10781
|
radio: {
|
|
11954
|
-
create: (key: string, options: Omit<Radio, "key" | "componentType" | "className">) =>
|
|
11955
|
-
|
|
11956
|
-
|
|
11957
|
-
|
|
11958
|
-
|
|
11959
|
-
|
|
11960
|
-
|
|
11961
|
-
|
|
11962
|
-
disableAnimation?: boolean;
|
|
11963
|
-
className?: string;
|
|
11964
|
-
isRequired?: boolean;
|
|
11965
|
-
isReadOnly?: boolean;
|
|
11966
|
-
isInvalid?: boolean;
|
|
11967
|
-
key: string;
|
|
11968
|
-
};
|
|
11969
|
-
group: (key: string, options: Omit<RadioGroupProps, "key" | "componentType">) => {
|
|
11970
|
-
componentType: string;
|
|
11971
|
-
size?: "sm" | "md" | "lg";
|
|
11972
|
-
name?: string;
|
|
11973
|
-
value?: string;
|
|
11974
|
-
radio?: Radio[] | undefined;
|
|
11975
|
-
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
11976
|
-
label?: string;
|
|
11977
|
-
description?: string;
|
|
11978
|
-
errorMessage?: string;
|
|
11979
|
-
isDisabled?: boolean;
|
|
11980
|
-
disableAnimation?: boolean;
|
|
11981
|
-
className?: string;
|
|
11982
|
-
defaultValue?: string;
|
|
11983
|
-
isRequired?: boolean;
|
|
11984
|
-
isReadOnly?: boolean;
|
|
11985
|
-
isInvalid?: boolean;
|
|
11986
|
-
orientation?: "horizontal" | "vertical";
|
|
11987
|
-
key: string;
|
|
11988
|
-
};
|
|
11989
|
-
defaultGroup: (key: string, config?: Partial<Omit<RadioGroupProps, "key" | "componentType">>) => {
|
|
11990
|
-
componentType: string;
|
|
11991
|
-
size?: "sm" | "md" | "lg";
|
|
11992
|
-
name?: string;
|
|
11993
|
-
value?: string;
|
|
11994
|
-
radio?: Radio[] | undefined;
|
|
11995
|
-
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
11996
|
-
label?: string;
|
|
11997
|
-
description?: string;
|
|
11998
|
-
errorMessage?: string;
|
|
11999
|
-
isDisabled?: boolean;
|
|
12000
|
-
disableAnimation?: boolean;
|
|
12001
|
-
className?: string;
|
|
12002
|
-
defaultValue?: string;
|
|
12003
|
-
isRequired?: boolean;
|
|
12004
|
-
isReadOnly?: boolean;
|
|
12005
|
-
isInvalid?: boolean;
|
|
12006
|
-
orientation?: "horizontal" | "vertical";
|
|
12007
|
-
key: string;
|
|
12008
|
-
};
|
|
12009
|
-
default: (key: string, config?: Partial<Omit<Radio, "key" | "componentType" | "className">>) => {
|
|
12010
|
-
componentType: string;
|
|
12011
|
-
size?: "sm" | "md" | "lg";
|
|
12012
|
-
value?: string | undefined;
|
|
12013
|
-
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
12014
|
-
label?: string;
|
|
12015
|
-
description?: string;
|
|
12016
|
-
isDisabled?: boolean;
|
|
12017
|
-
disableAnimation?: boolean;
|
|
12018
|
-
className?: string;
|
|
12019
|
-
isRequired?: boolean;
|
|
12020
|
-
isReadOnly?: boolean;
|
|
12021
|
-
isInvalid?: boolean;
|
|
12022
|
-
key: string;
|
|
12023
|
-
};
|
|
12024
|
-
required: (key: string, config?: Partial<Omit<Radio, "key" | "componentType" | "className">>) => {
|
|
12025
|
-
componentType: string;
|
|
12026
|
-
size?: "sm" | "md" | "lg";
|
|
12027
|
-
value?: string | undefined;
|
|
12028
|
-
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
12029
|
-
label?: string;
|
|
12030
|
-
description?: string;
|
|
12031
|
-
isDisabled?: boolean;
|
|
12032
|
-
disableAnimation?: boolean;
|
|
12033
|
-
className?: string;
|
|
12034
|
-
isRequired?: boolean;
|
|
12035
|
-
isReadOnly?: boolean;
|
|
12036
|
-
isInvalid?: boolean;
|
|
12037
|
-
key: string;
|
|
12038
|
-
};
|
|
12039
|
-
disabled: (key: string, config?: Partial<Omit<Radio, "key" | "componentType" | "className">>) => {
|
|
12040
|
-
componentType: string;
|
|
12041
|
-
size?: "sm" | "md" | "lg";
|
|
12042
|
-
value?: string | undefined;
|
|
12043
|
-
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
12044
|
-
label?: string;
|
|
12045
|
-
description?: string;
|
|
12046
|
-
isDisabled?: boolean;
|
|
12047
|
-
disableAnimation?: boolean;
|
|
12048
|
-
className?: string;
|
|
12049
|
-
isRequired?: boolean;
|
|
12050
|
-
isReadOnly?: boolean;
|
|
12051
|
-
isInvalid?: boolean;
|
|
12052
|
-
key: string;
|
|
12053
|
-
};
|
|
12054
|
-
readonly: (key: string, config?: Partial<Omit<Radio, "key" | "componentType" | "className">>) => {
|
|
12055
|
-
componentType: string;
|
|
12056
|
-
size?: "sm" | "md" | "lg";
|
|
12057
|
-
value?: string | undefined;
|
|
12058
|
-
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
12059
|
-
label?: string;
|
|
12060
|
-
description?: string;
|
|
12061
|
-
isDisabled?: boolean;
|
|
12062
|
-
disableAnimation?: boolean;
|
|
12063
|
-
className?: string;
|
|
12064
|
-
isRequired?: boolean;
|
|
12065
|
-
isReadOnly?: boolean;
|
|
12066
|
-
isInvalid?: boolean;
|
|
12067
|
-
key: string;
|
|
12068
|
-
};
|
|
12069
|
-
invalid: (key: string, config?: Partial<Omit<Radio, "key" | "componentType" | "className">>) => {
|
|
12070
|
-
componentType: string;
|
|
12071
|
-
size?: "sm" | "md" | "lg";
|
|
12072
|
-
value?: string | undefined;
|
|
12073
|
-
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
12074
|
-
label?: string;
|
|
12075
|
-
description?: string;
|
|
12076
|
-
isDisabled?: boolean;
|
|
12077
|
-
disableAnimation?: boolean;
|
|
12078
|
-
className?: string;
|
|
12079
|
-
isRequired?: boolean;
|
|
12080
|
-
isReadOnly?: boolean;
|
|
12081
|
-
isInvalid?: boolean;
|
|
12082
|
-
key: string;
|
|
12083
|
-
};
|
|
10782
|
+
create: (key: string, options: Omit<Radio, "key" | "componentType" | "className">) => Radio;
|
|
10783
|
+
group: (key: string, options: Omit<RadioGroupProps, "key" | "componentType">) => RadioGroupProps;
|
|
10784
|
+
defaultGroup: (key: string, config?: Partial<Omit<RadioGroupProps, "key" | "componentType">>) => RadioGroupProps;
|
|
10785
|
+
default: (key: string, config?: Partial<Omit<Radio, "key" | "componentType" | "className">>) => Radio;
|
|
10786
|
+
required: (key: string, config?: Partial<Omit<Radio, "key" | "componentType" | "className">>) => Radio;
|
|
10787
|
+
disabled: (key: string, config?: Partial<Omit<Radio, "key" | "componentType" | "className">>) => Radio;
|
|
10788
|
+
readonly: (key: string, config?: Partial<Omit<Radio, "key" | "componentType" | "className">>) => Radio;
|
|
10789
|
+
invalid: (key: string, config?: Partial<Omit<Radio, "key" | "componentType" | "className">>) => Radio;
|
|
12084
10790
|
};
|
|
12085
10791
|
/** 多选框 */
|
|
12086
10792
|
checkbox: {
|
|
12087
|
-
create: (key: string, options: Omit<CheckboxProps, "key" | "componentType" | "className">) =>
|
|
12088
|
-
|
|
12089
|
-
|
|
12090
|
-
|
|
12091
|
-
|
|
12092
|
-
|
|
12093
|
-
|
|
12094
|
-
|
|
12095
|
-
|
|
12096
|
-
disableAnimation?: boolean;
|
|
12097
|
-
className?: string;
|
|
12098
|
-
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
12099
|
-
isRequired?: boolean;
|
|
12100
|
-
isReadOnly?: boolean;
|
|
12101
|
-
isInvalid?: boolean;
|
|
12102
|
-
isSelected?: boolean;
|
|
12103
|
-
defaultSelected?: boolean;
|
|
12104
|
-
lineThrough?: boolean;
|
|
12105
|
-
isIndeterminate?: boolean;
|
|
12106
|
-
key: string;
|
|
12107
|
-
};
|
|
12108
|
-
group: (key: string, options: Omit<CheckboxGroupProps, "key" | "componentType">) => {
|
|
12109
|
-
componentType: string;
|
|
12110
|
-
size?: "sm" | "md" | "lg";
|
|
12111
|
-
name?: string;
|
|
12112
|
-
value?: string[];
|
|
12113
|
-
checkbox?: CheckboxProps[] | undefined;
|
|
12114
|
-
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
12115
|
-
label?: string;
|
|
12116
|
-
description?: string;
|
|
12117
|
-
isDisabled?: boolean;
|
|
12118
|
-
disableAnimation?: boolean;
|
|
12119
|
-
className?: string;
|
|
12120
|
-
defaultValue?: string[];
|
|
12121
|
-
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
12122
|
-
isRequired?: boolean;
|
|
12123
|
-
isReadOnly?: boolean;
|
|
12124
|
-
isInvalid?: boolean;
|
|
12125
|
-
orientation?: "vertical" | "horizontal";
|
|
12126
|
-
lineThrough?: boolean;
|
|
12127
|
-
key: string;
|
|
12128
|
-
};
|
|
12129
|
-
defaultGroup: (key: string, config?: Partial<Omit<CheckboxGroupProps, "key" | "componentType">>) => {
|
|
12130
|
-
componentType: string;
|
|
12131
|
-
size?: "sm" | "md" | "lg";
|
|
12132
|
-
name?: string;
|
|
12133
|
-
value?: string[];
|
|
12134
|
-
checkbox?: CheckboxProps[] | undefined;
|
|
12135
|
-
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
12136
|
-
label?: string;
|
|
12137
|
-
description?: string;
|
|
12138
|
-
isDisabled?: boolean;
|
|
12139
|
-
disableAnimation?: boolean;
|
|
12140
|
-
className?: string;
|
|
12141
|
-
defaultValue?: string[];
|
|
12142
|
-
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
12143
|
-
isRequired?: boolean;
|
|
12144
|
-
isReadOnly?: boolean;
|
|
12145
|
-
isInvalid?: boolean;
|
|
12146
|
-
orientation?: "vertical" | "horizontal";
|
|
12147
|
-
lineThrough?: boolean;
|
|
12148
|
-
key: string;
|
|
12149
|
-
};
|
|
12150
|
-
default: (key: string, config?: Partial<Omit<CheckboxProps, "key" | "componentType" | "className">>) => {
|
|
12151
|
-
componentType: string;
|
|
12152
|
-
size?: "sm" | "md" | "lg";
|
|
12153
|
-
name?: string;
|
|
12154
|
-
value?: string;
|
|
12155
|
-
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
12156
|
-
label?: string;
|
|
12157
|
-
description?: string;
|
|
12158
|
-
isDisabled?: boolean;
|
|
12159
|
-
disableAnimation?: boolean;
|
|
12160
|
-
className?: string;
|
|
12161
|
-
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
12162
|
-
isRequired?: boolean;
|
|
12163
|
-
isReadOnly?: boolean;
|
|
12164
|
-
isInvalid?: boolean;
|
|
12165
|
-
isSelected?: boolean;
|
|
12166
|
-
defaultSelected?: boolean;
|
|
12167
|
-
lineThrough?: boolean;
|
|
12168
|
-
isIndeterminate?: boolean;
|
|
12169
|
-
key: string;
|
|
12170
|
-
};
|
|
12171
|
-
required: (key: string, config?: Partial<Omit<CheckboxProps, "key" | "componentType" | "className">>) => {
|
|
12172
|
-
componentType: string;
|
|
12173
|
-
size?: "sm" | "md" | "lg";
|
|
12174
|
-
name?: string;
|
|
12175
|
-
value?: string;
|
|
12176
|
-
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
12177
|
-
label?: string;
|
|
12178
|
-
description?: string;
|
|
12179
|
-
isDisabled?: boolean;
|
|
12180
|
-
disableAnimation?: boolean;
|
|
12181
|
-
className?: string;
|
|
12182
|
-
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
12183
|
-
isRequired?: boolean;
|
|
12184
|
-
isReadOnly?: boolean;
|
|
12185
|
-
isInvalid?: boolean;
|
|
12186
|
-
isSelected?: boolean;
|
|
12187
|
-
defaultSelected?: boolean;
|
|
12188
|
-
lineThrough?: boolean;
|
|
12189
|
-
isIndeterminate?: boolean;
|
|
12190
|
-
key: string;
|
|
12191
|
-
};
|
|
12192
|
-
disabled: (key: string, config?: Partial<Omit<CheckboxProps, "key" | "componentType" | "className">>) => {
|
|
12193
|
-
componentType: string;
|
|
12194
|
-
size?: "sm" | "md" | "lg";
|
|
12195
|
-
name?: string;
|
|
12196
|
-
value?: string;
|
|
12197
|
-
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
12198
|
-
label?: string;
|
|
12199
|
-
description?: string;
|
|
12200
|
-
isDisabled?: boolean;
|
|
12201
|
-
disableAnimation?: boolean;
|
|
12202
|
-
className?: string;
|
|
12203
|
-
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
12204
|
-
isRequired?: boolean;
|
|
12205
|
-
isReadOnly?: boolean;
|
|
12206
|
-
isInvalid?: boolean;
|
|
12207
|
-
isSelected?: boolean;
|
|
12208
|
-
defaultSelected?: boolean;
|
|
12209
|
-
lineThrough?: boolean;
|
|
12210
|
-
isIndeterminate?: boolean;
|
|
12211
|
-
key: string;
|
|
12212
|
-
};
|
|
12213
|
-
readonly: (key: string, config?: Partial<Omit<CheckboxProps, "key" | "componentType" | "className">>) => {
|
|
12214
|
-
componentType: string;
|
|
12215
|
-
size?: "sm" | "md" | "lg";
|
|
12216
|
-
name?: string;
|
|
12217
|
-
value?: string;
|
|
12218
|
-
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
12219
|
-
label?: string;
|
|
12220
|
-
description?: string;
|
|
12221
|
-
isDisabled?: boolean;
|
|
12222
|
-
disableAnimation?: boolean;
|
|
12223
|
-
className?: string;
|
|
12224
|
-
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
12225
|
-
isRequired?: boolean;
|
|
12226
|
-
isReadOnly?: boolean;
|
|
12227
|
-
isInvalid?: boolean;
|
|
12228
|
-
isSelected?: boolean;
|
|
12229
|
-
defaultSelected?: boolean;
|
|
12230
|
-
lineThrough?: boolean;
|
|
12231
|
-
isIndeterminate?: boolean;
|
|
12232
|
-
key: string;
|
|
12233
|
-
};
|
|
12234
|
-
indeterminate: (key: string, config?: Partial<Omit<CheckboxProps, "key" | "componentType" | "className">>) => {
|
|
12235
|
-
componentType: string;
|
|
12236
|
-
size?: "sm" | "md" | "lg";
|
|
12237
|
-
name?: string;
|
|
12238
|
-
value?: string;
|
|
12239
|
-
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
12240
|
-
label?: string;
|
|
12241
|
-
description?: string;
|
|
12242
|
-
isDisabled?: boolean;
|
|
12243
|
-
disableAnimation?: boolean;
|
|
12244
|
-
className?: string;
|
|
12245
|
-
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
12246
|
-
isRequired?: boolean;
|
|
12247
|
-
isReadOnly?: boolean;
|
|
12248
|
-
isInvalid?: boolean;
|
|
12249
|
-
isSelected?: boolean;
|
|
12250
|
-
defaultSelected?: boolean;
|
|
12251
|
-
lineThrough?: boolean;
|
|
12252
|
-
isIndeterminate?: boolean;
|
|
12253
|
-
key: string;
|
|
12254
|
-
};
|
|
12255
|
-
invalid: (key: string, config?: Partial<Omit<CheckboxProps, "key" | "componentType" | "className">>) => {
|
|
12256
|
-
componentType: string;
|
|
12257
|
-
size?: "sm" | "md" | "lg";
|
|
12258
|
-
name?: string;
|
|
12259
|
-
value?: string;
|
|
12260
|
-
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
12261
|
-
label?: string;
|
|
12262
|
-
description?: string;
|
|
12263
|
-
isDisabled?: boolean;
|
|
12264
|
-
disableAnimation?: boolean;
|
|
12265
|
-
className?: string;
|
|
12266
|
-
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
12267
|
-
isRequired?: boolean;
|
|
12268
|
-
isReadOnly?: boolean;
|
|
12269
|
-
isInvalid?: boolean;
|
|
12270
|
-
isSelected?: boolean;
|
|
12271
|
-
defaultSelected?: boolean;
|
|
12272
|
-
lineThrough?: boolean;
|
|
12273
|
-
isIndeterminate?: boolean;
|
|
12274
|
-
key: string;
|
|
12275
|
-
};
|
|
10793
|
+
create: (key: string, options: Omit<CheckboxProps, "key" | "componentType" | "className">) => CheckboxProps;
|
|
10794
|
+
group: (key: string, options: Omit<CheckboxGroupProps, "key" | "componentType">) => CheckboxGroupProps;
|
|
10795
|
+
defaultGroup: (key: string, config?: Partial<Omit<CheckboxGroupProps, "key" | "componentType">>) => CheckboxGroupProps;
|
|
10796
|
+
default: (key: string, config?: Partial<Omit<CheckboxProps, "key" | "componentType" | "className">>) => CheckboxProps;
|
|
10797
|
+
required: (key: string, config?: Partial<Omit<CheckboxProps, "key" | "componentType" | "className">>) => CheckboxProps;
|
|
10798
|
+
disabled: (key: string, config?: Partial<Omit<CheckboxProps, "key" | "componentType" | "className">>) => CheckboxProps;
|
|
10799
|
+
readonly: (key: string, config?: Partial<Omit<CheckboxProps, "key" | "componentType" | "className">>) => CheckboxProps;
|
|
10800
|
+
indeterminate: (key: string, config?: Partial<Omit<CheckboxProps, "key" | "componentType" | "className">>) => CheckboxProps;
|
|
10801
|
+
invalid: (key: string, config?: Partial<Omit<CheckboxProps, "key" | "componentType" | "className">>) => CheckboxProps;
|
|
12276
10802
|
};
|
|
12277
10803
|
};
|
|
12278
10804
|
type ComponentsClass = typeof divider | ReturnType<typeof input.create> | ReturnType<typeof switchComponent.create>;
|