node-karin 1.3.5 → 1.3.6-pr.260.041eab9
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/index.d.ts +1465 -817
- package/dist/index.js +476 -918
- package/package.json +1 -1
- package/dist/web/assets/favicon-BoqZd694.ico +0 -0
- package/dist/web/assets/index-Bpwek5mg.css +0 -7
- package/dist/web/assets/index-Bt2E67aR.js +0 -1
- package/dist/web/assets/index-fw2lmBGj.js +0 -437
- package/dist/web/assets/index-pxwQwvI8.js +0 -1
- package/dist/web/grid.svg +0 -6
- package/dist/web/index.html +0 -24
- package/dist/web/karin.png +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -10074,6 +10074,38 @@ interface TitleField extends BaseField {
|
|
|
10074
10074
|
}
|
|
10075
10075
|
/** 组件 */
|
|
10076
10076
|
type FormField = TextField | NumberField | SwitchField | SelectField | RadioField | CheckboxField | ArrayField | ObjectField | ObjectArrayField | SectionField | TitleField | DividerField;
|
|
10077
|
+
/**
|
|
10078
|
+
* 输入框返回类型
|
|
10079
|
+
*/
|
|
10080
|
+
type InputResult = Record<string, string | undefined>;
|
|
10081
|
+
/**
|
|
10082
|
+
* 开关返回类型
|
|
10083
|
+
*/
|
|
10084
|
+
type SwitchResult = Record<string, boolean>;
|
|
10085
|
+
/**
|
|
10086
|
+
* 单选框返回类型
|
|
10087
|
+
*/
|
|
10088
|
+
type RadioResult = Record<string, string | undefined>;
|
|
10089
|
+
/**
|
|
10090
|
+
* 多选框返回类型
|
|
10091
|
+
*/
|
|
10092
|
+
type CheckboxResult = Record<string, Record<string, boolean>>;
|
|
10093
|
+
/**
|
|
10094
|
+
* 手风琴kv类型
|
|
10095
|
+
*/
|
|
10096
|
+
type AccordionKV = string | boolean | Record<string, boolean>;
|
|
10097
|
+
/**
|
|
10098
|
+
* 手风琴返回类型
|
|
10099
|
+
*/
|
|
10100
|
+
type AccordionResult = Record<string, AccordionKV[]>;
|
|
10101
|
+
/**
|
|
10102
|
+
* 手风琴pro返回类型
|
|
10103
|
+
*/
|
|
10104
|
+
type AccordionProResult = AccordionResult;
|
|
10105
|
+
/**
|
|
10106
|
+
* save 方法返回的类型
|
|
10107
|
+
*/
|
|
10108
|
+
type SaveResult = InputResult | SwitchResult | RadioResult | CheckboxResult | AccordionResult | AccordionProResult;
|
|
10077
10109
|
|
|
10078
10110
|
/**
|
|
10079
10111
|
* 组件类型
|
|
@@ -10083,8 +10115,12 @@ type FormField = TextField | NumberField | SwitchField | SelectField | RadioFiel
|
|
|
10083
10115
|
* - accordion: 手风琴
|
|
10084
10116
|
* - accordion-item: 手风琴项
|
|
10085
10117
|
* - accordion-pro: 手风琴Pro
|
|
10118
|
+
* - checkbox: 复选框
|
|
10119
|
+
* - checkbox-group: 复选框组
|
|
10120
|
+
* - radio: 单选框
|
|
10121
|
+
* - radio-group: 单选框组
|
|
10086
10122
|
*/
|
|
10087
|
-
type ComponentType = 'input' | 'switch' | 'divider' | 'accordion' | 'accordion-item' | 'accordion-pro';
|
|
10123
|
+
type ComponentType = 'input' | 'switch' | 'divider' | 'accordion' | 'accordion-item' | 'accordion-pro' | 'checkbox' | 'checkbox-group' | 'radio' | 'radio-group';
|
|
10088
10124
|
/** 组件通用属性 */
|
|
10089
10125
|
interface ComponentProps {
|
|
10090
10126
|
/** 唯一标识符 */
|
|
@@ -10093,6 +10129,8 @@ interface ComponentProps {
|
|
|
10093
10129
|
componentType: ComponentType;
|
|
10094
10130
|
/** 描述 */
|
|
10095
10131
|
description?: string;
|
|
10132
|
+
/** 每个渲染的组件都包裹了一个div,这里可以自定义这个div的className */
|
|
10133
|
+
className?: string;
|
|
10096
10134
|
}
|
|
10097
10135
|
|
|
10098
10136
|
/**
|
|
@@ -10270,12 +10308,153 @@ interface SwitchProps extends ComponentProps {
|
|
|
10270
10308
|
disableAnimation?: boolean;
|
|
10271
10309
|
}
|
|
10272
10310
|
|
|
10273
|
-
|
|
10311
|
+
/**
|
|
10312
|
+
* 复选框组
|
|
10313
|
+
*/
|
|
10314
|
+
interface CheckboxGroupProps extends ComponentProps {
|
|
10315
|
+
componentType: 'checkbox-group';
|
|
10316
|
+
/** 方向 垂直或水平 默认水平 */
|
|
10317
|
+
orientation?: 'vertical' | 'horizontal';
|
|
10318
|
+
/** 颜色 */
|
|
10319
|
+
color?: 'default' | 'primary' | 'secondary' | 'success' | 'warning' | 'danger';
|
|
10320
|
+
/** 大小 */
|
|
10321
|
+
size?: 'sm' | 'md' | 'lg';
|
|
10322
|
+
/** 半径 */
|
|
10323
|
+
radius?: 'none' | 'sm' | 'md' | 'lg' | 'full';
|
|
10324
|
+
/** 名称 */
|
|
10325
|
+
name?: string;
|
|
10326
|
+
/** 标签 */
|
|
10327
|
+
label?: string;
|
|
10328
|
+
/** 值 */
|
|
10329
|
+
value?: string[];
|
|
10330
|
+
/** 是否划线 */
|
|
10331
|
+
lineThrough?: boolean;
|
|
10332
|
+
/** 默认值 */
|
|
10333
|
+
defaultValue?: string[];
|
|
10334
|
+
/** 是否无效 */
|
|
10335
|
+
isInvalid?: boolean;
|
|
10336
|
+
/** 是否禁用 */
|
|
10337
|
+
isDisabled?: boolean;
|
|
10338
|
+
/** 是否必填 */
|
|
10339
|
+
isRequired?: boolean;
|
|
10340
|
+
/** 是否只读 */
|
|
10341
|
+
isReadOnly?: boolean;
|
|
10342
|
+
/** 禁用动画 */
|
|
10343
|
+
disableAnimation?: boolean;
|
|
10344
|
+
/** 选项列表 */
|
|
10345
|
+
checkbox: CheckboxProps[];
|
|
10346
|
+
}
|
|
10347
|
+
/**
|
|
10348
|
+
* 复选框
|
|
10349
|
+
*/
|
|
10350
|
+
interface CheckboxProps extends ComponentProps {
|
|
10351
|
+
componentType: 'checkbox';
|
|
10352
|
+
/** 值 */
|
|
10353
|
+
value?: string;
|
|
10354
|
+
/** 标签 */
|
|
10355
|
+
label?: string;
|
|
10356
|
+
/** 提交 HTML 表单时使用的 checkbox 元素的名称 */
|
|
10357
|
+
name?: string;
|
|
10358
|
+
/** 复选框的大小 */
|
|
10359
|
+
size?: 'sm' | 'md' | 'lg';
|
|
10360
|
+
/** 复选框的颜色 */
|
|
10361
|
+
color?: 'default' | 'primary' | 'secondary' | 'success' | 'warning' | 'danger';
|
|
10362
|
+
/**
|
|
10363
|
+
* 复选框的半径
|
|
10364
|
+
* - none: 无
|
|
10365
|
+
* - sm: 小
|
|
10366
|
+
* - md: 中
|
|
10367
|
+
* - lg: 大
|
|
10368
|
+
* - full: 全
|
|
10369
|
+
*/
|
|
10370
|
+
radius?: 'none' | 'sm' | 'md' | 'lg' | 'full';
|
|
10371
|
+
/** 是否划线 */
|
|
10372
|
+
lineThrough?: boolean;
|
|
10373
|
+
/** 是否选中 */
|
|
10374
|
+
isSelected?: boolean;
|
|
10375
|
+
/** 默认选中 */
|
|
10376
|
+
defaultSelected?: boolean;
|
|
10377
|
+
/** 是否必填 */
|
|
10378
|
+
isRequired?: boolean;
|
|
10379
|
+
/** 是否只读 */
|
|
10380
|
+
isReadOnly?: boolean;
|
|
10381
|
+
/** 是否禁用 */
|
|
10382
|
+
isDisabled?: boolean;
|
|
10383
|
+
/** 不确定性只是呈现性的。无论用户是否进行交互,不确定的视觉呈现都会保持不变 */
|
|
10384
|
+
isIndeterminate?: boolean;
|
|
10385
|
+
/** 是否无效 */
|
|
10386
|
+
isInvalid?: boolean;
|
|
10387
|
+
/** 禁用动画 */
|
|
10388
|
+
disableAnimation?: boolean;
|
|
10389
|
+
}
|
|
10390
|
+
|
|
10391
|
+
/**
|
|
10392
|
+
* 单选框组
|
|
10393
|
+
*/
|
|
10394
|
+
interface RadioGroupProps extends ComponentProps {
|
|
10395
|
+
componentType: 'radio-group';
|
|
10396
|
+
/** 标签 */
|
|
10397
|
+
label?: string;
|
|
10398
|
+
/** 复选框的大小 */
|
|
10399
|
+
size?: 'sm' | 'md' | 'lg';
|
|
10400
|
+
/** 复选框的颜色 */
|
|
10401
|
+
color?: 'default' | 'primary' | 'secondary' | 'success' | 'warning' | 'danger';
|
|
10402
|
+
/** 方向 */
|
|
10403
|
+
orientation?: 'horizontal' | 'vertical';
|
|
10404
|
+
/** 提交 HTML 表单时使用的 checkbox 元素的名称 */
|
|
10405
|
+
name?: string;
|
|
10406
|
+
/** 值 */
|
|
10407
|
+
value?: string;
|
|
10408
|
+
/** 默认值 */
|
|
10409
|
+
defaultValue?: string;
|
|
10410
|
+
/** 错误信息 */
|
|
10411
|
+
errorMessage?: string;
|
|
10412
|
+
/** 是否禁用 */
|
|
10413
|
+
isDisabled?: boolean;
|
|
10414
|
+
/** 是否必填 */
|
|
10415
|
+
isRequired?: boolean;
|
|
10416
|
+
/** 是否只读 */
|
|
10417
|
+
isReadOnly?: boolean;
|
|
10418
|
+
/** 是否无效 */
|
|
10419
|
+
isInvalid?: boolean;
|
|
10420
|
+
/** 禁用动画 */
|
|
10421
|
+
disableAnimation?: boolean;
|
|
10422
|
+
/** 单选框列表 */
|
|
10423
|
+
radio: Radio[];
|
|
10424
|
+
}
|
|
10425
|
+
/**
|
|
10426
|
+
* 单选框
|
|
10427
|
+
*/
|
|
10428
|
+
interface Radio extends ComponentProps {
|
|
10429
|
+
componentType: 'radio';
|
|
10430
|
+
/** 值 */
|
|
10431
|
+
value: string;
|
|
10432
|
+
/** 标签 */
|
|
10433
|
+
label?: string;
|
|
10434
|
+
/** 大小 */
|
|
10435
|
+
size?: 'sm' | 'md' | 'lg';
|
|
10436
|
+
/** 颜色 */
|
|
10437
|
+
color?: 'default' | 'primary' | 'secondary' | 'success' | 'warning' | 'danger';
|
|
10438
|
+
/** 描述 */
|
|
10439
|
+
description?: string;
|
|
10440
|
+
/** 是否禁用 */
|
|
10441
|
+
isDisabled?: boolean;
|
|
10442
|
+
/** 是否必填 */
|
|
10443
|
+
isRequired?: boolean;
|
|
10444
|
+
/** 是否只读 */
|
|
10445
|
+
isReadOnly?: boolean;
|
|
10446
|
+
/** 是否无效 */
|
|
10447
|
+
isInvalid?: boolean;
|
|
10448
|
+
/** 禁用动画 */
|
|
10449
|
+
disableAnimation?: boolean;
|
|
10450
|
+
}
|
|
10451
|
+
|
|
10452
|
+
type Children = InputProps | SwitchProps | DividerProps | CheckboxProps | CheckboxGroupProps | RadioGroupProps;
|
|
10274
10453
|
|
|
10275
10454
|
/**
|
|
10276
10455
|
* 手风琴(折叠面板) 类型
|
|
10277
10456
|
*/
|
|
10278
|
-
interface Accordion
|
|
10457
|
+
interface Accordion extends ComponentProps {
|
|
10279
10458
|
/** 子组件 */
|
|
10280
10459
|
children?: AccordionItemProps[];
|
|
10281
10460
|
/** 标题 */
|
|
@@ -10332,7 +10511,7 @@ interface Accordion$1 extends ComponentProps {
|
|
|
10332
10511
|
interface AccordionItemProps extends ComponentProps {
|
|
10333
10512
|
componentType: 'accordion-item';
|
|
10334
10513
|
/** 子组件 */
|
|
10335
|
-
children
|
|
10514
|
+
children: Children[];
|
|
10336
10515
|
/** 标题 */
|
|
10337
10516
|
title?: string;
|
|
10338
10517
|
/** 副标题 */
|
|
@@ -10356,78 +10535,185 @@ interface AccordionItemProps extends ComponentProps {
|
|
|
10356
10535
|
disableIndicatorAnimation?: boolean;
|
|
10357
10536
|
}
|
|
10358
10537
|
/** 手风琴 */
|
|
10359
|
-
interface AccordionProps extends Accordion
|
|
10538
|
+
interface AccordionProps extends Accordion {
|
|
10360
10539
|
componentType: 'accordion';
|
|
10361
10540
|
}
|
|
10362
10541
|
/**
|
|
10363
10542
|
* 手风琴Pro
|
|
10364
10543
|
*/
|
|
10365
|
-
interface AccordionProProps extends Accordion
|
|
10544
|
+
interface AccordionProProps extends Omit<Accordion, 'children'> {
|
|
10366
10545
|
componentType: 'accordion-pro';
|
|
10367
10546
|
/** 渲染数据 */
|
|
10368
10547
|
data: Record<string, any>[];
|
|
10548
|
+
/** 子组件 pro只有一个 因为是模板 */
|
|
10549
|
+
children: Omit<AccordionItemProps, 'componentType'>;
|
|
10369
10550
|
}
|
|
10370
10551
|
|
|
10371
|
-
|
|
10372
|
-
|
|
10373
|
-
|
|
10374
|
-
|
|
10375
|
-
/**
|
|
10376
|
-
* 转换为JSON字符串
|
|
10377
|
-
*/
|
|
10378
|
-
toString(): string;
|
|
10379
|
-
/**
|
|
10380
|
-
* 转换为JSON对象
|
|
10381
|
-
*/
|
|
10382
|
-
toJSON(): T;
|
|
10383
|
-
}
|
|
10384
|
-
|
|
10385
|
-
declare class Input extends Component<InputProps> {
|
|
10386
|
-
_config: InputProps;
|
|
10387
|
-
constructor(key: string);
|
|
10388
|
-
/**
|
|
10389
|
-
* 内部属性 仅在`options`中可手动设置,其他方法请不要调用
|
|
10390
|
-
*/
|
|
10391
|
-
_type(dataType: InputDataType): this;
|
|
10392
|
-
/**
|
|
10393
|
-
* 设置标签
|
|
10394
|
-
*/
|
|
10395
|
-
label(label: string): this;
|
|
10396
|
-
/**
|
|
10397
|
-
* 设置占位符
|
|
10398
|
-
*/
|
|
10399
|
-
placeholder(placeholder: string): this;
|
|
10400
|
-
/**
|
|
10401
|
-
* 设置验证规则
|
|
10402
|
-
*/
|
|
10403
|
-
validate(rules: ValidationRule | ValidationRule[]): this;
|
|
10552
|
+
/**
|
|
10553
|
+
* 手风琴组件
|
|
10554
|
+
*/
|
|
10555
|
+
declare const accordion: {
|
|
10404
10556
|
/**
|
|
10405
|
-
*
|
|
10406
|
-
* @param
|
|
10407
|
-
* @
|
|
10557
|
+
* 创建基础手风琴组件
|
|
10558
|
+
* @param key 唯一标识符
|
|
10559
|
+
* @param options 手风琴配置
|
|
10408
10560
|
*/
|
|
10409
|
-
|
|
10561
|
+
create: (key: string, options?: Omit<AccordionProps, "key" | "componentType">) => {
|
|
10562
|
+
componentType: string;
|
|
10563
|
+
title?: string;
|
|
10564
|
+
description?: string;
|
|
10565
|
+
children?: AccordionItemProps[];
|
|
10566
|
+
variant?: "light" | "shadow" | "bordered" | "splitted";
|
|
10567
|
+
selectionMode?: "none" | "single" | "multiple";
|
|
10568
|
+
selectionBehavior?: "toggle" | "replace";
|
|
10569
|
+
isCompact?: boolean;
|
|
10570
|
+
isDisabled?: boolean;
|
|
10571
|
+
showDivider?: boolean;
|
|
10572
|
+
hideIndicator?: boolean;
|
|
10573
|
+
disableAnimation?: boolean;
|
|
10574
|
+
disableIndicatorAnimation?: boolean;
|
|
10575
|
+
disallowEmptySelection?: boolean;
|
|
10576
|
+
keepContentMounted?: boolean;
|
|
10577
|
+
fullWidth?: boolean;
|
|
10578
|
+
disabledKeys?: string[];
|
|
10579
|
+
selectedKeys?: string[];
|
|
10580
|
+
defaultSelectedKeys?: string[];
|
|
10581
|
+
className?: string;
|
|
10582
|
+
key: string;
|
|
10583
|
+
};
|
|
10410
10584
|
/**
|
|
10411
|
-
*
|
|
10585
|
+
* 创建默认配置的手风琴组件
|
|
10586
|
+
* @param key 唯一标识符
|
|
10412
10587
|
*/
|
|
10413
|
-
|
|
10588
|
+
default: (key: string) => {
|
|
10589
|
+
componentType: string;
|
|
10590
|
+
title?: string;
|
|
10591
|
+
description?: string;
|
|
10592
|
+
children?: AccordionItemProps[];
|
|
10593
|
+
variant?: "light" | "shadow" | "bordered" | "splitted";
|
|
10594
|
+
selectionMode?: "none" | "single" | "multiple";
|
|
10595
|
+
selectionBehavior?: "toggle" | "replace";
|
|
10596
|
+
isCompact?: boolean;
|
|
10597
|
+
isDisabled?: boolean;
|
|
10598
|
+
showDivider?: boolean;
|
|
10599
|
+
hideIndicator?: boolean;
|
|
10600
|
+
disableAnimation?: boolean;
|
|
10601
|
+
disableIndicatorAnimation?: boolean;
|
|
10602
|
+
disallowEmptySelection?: boolean;
|
|
10603
|
+
keepContentMounted?: boolean;
|
|
10604
|
+
fullWidth?: boolean;
|
|
10605
|
+
disabledKeys?: string[];
|
|
10606
|
+
selectedKeys?: string[];
|
|
10607
|
+
defaultSelectedKeys?: string[];
|
|
10608
|
+
className?: string;
|
|
10609
|
+
key: string;
|
|
10610
|
+
};
|
|
10414
10611
|
/**
|
|
10415
|
-
*
|
|
10612
|
+
* 创建手风琴子项
|
|
10613
|
+
* @param key 唯一标识符
|
|
10614
|
+
* @param options 手风琴子项配置
|
|
10416
10615
|
*/
|
|
10417
|
-
|
|
10616
|
+
createItem: (key: string, options?: Omit<AccordionItemProps, "key" | "componentType">) => {
|
|
10617
|
+
componentType: string;
|
|
10618
|
+
title?: string;
|
|
10619
|
+
description?: string;
|
|
10620
|
+
children?: Children[] | undefined;
|
|
10621
|
+
isCompact?: boolean;
|
|
10622
|
+
isDisabled?: boolean;
|
|
10623
|
+
hideIndicator?: boolean;
|
|
10624
|
+
disableAnimation?: boolean;
|
|
10625
|
+
disableIndicatorAnimation?: boolean;
|
|
10626
|
+
keepContentMounted?: boolean;
|
|
10627
|
+
className?: string;
|
|
10628
|
+
subtitle?: string;
|
|
10629
|
+
indicator?: boolean;
|
|
10630
|
+
key: string;
|
|
10631
|
+
};
|
|
10632
|
+
};
|
|
10633
|
+
/**
|
|
10634
|
+
* 手风琴Pro组件
|
|
10635
|
+
*/
|
|
10636
|
+
declare const accordionPro: {
|
|
10418
10637
|
/**
|
|
10419
|
-
*
|
|
10638
|
+
* 创建基础手风琴Pro组件
|
|
10639
|
+
* @param key 唯一标识符
|
|
10640
|
+
* @param data 渲染数据
|
|
10641
|
+
* @param options 手风琴Pro配置
|
|
10420
10642
|
*/
|
|
10421
|
-
|
|
10643
|
+
create: (key: string, data: Record<string, any>[], options?: Omit<AccordionProProps, "key" | "componentType" | "data">) => {
|
|
10644
|
+
componentType: string;
|
|
10645
|
+
data?: Record<string, any>[] | undefined;
|
|
10646
|
+
title?: string;
|
|
10647
|
+
description?: string;
|
|
10648
|
+
children?: Omit<AccordionItemProps, "componentType"> | undefined;
|
|
10649
|
+
variant?: "light" | "shadow" | "bordered" | "splitted";
|
|
10650
|
+
selectionMode?: "none" | "single" | "multiple";
|
|
10651
|
+
selectionBehavior?: "toggle" | "replace";
|
|
10652
|
+
isCompact?: boolean;
|
|
10653
|
+
isDisabled?: boolean;
|
|
10654
|
+
showDivider?: boolean;
|
|
10655
|
+
hideIndicator?: boolean;
|
|
10656
|
+
disableAnimation?: boolean;
|
|
10657
|
+
disableIndicatorAnimation?: boolean;
|
|
10658
|
+
disallowEmptySelection?: boolean;
|
|
10659
|
+
keepContentMounted?: boolean;
|
|
10660
|
+
fullWidth?: boolean;
|
|
10661
|
+
disabledKeys?: string[];
|
|
10662
|
+
selectedKeys?: string[];
|
|
10663
|
+
defaultSelectedKeys?: string[];
|
|
10664
|
+
className?: string;
|
|
10665
|
+
key: string;
|
|
10666
|
+
};
|
|
10667
|
+
};
|
|
10668
|
+
/**
|
|
10669
|
+
* 手风琴子项组件
|
|
10670
|
+
*/
|
|
10671
|
+
declare const accordionItem: {
|
|
10422
10672
|
/**
|
|
10423
|
-
*
|
|
10673
|
+
* 创建手风琴子项
|
|
10674
|
+
* @param key 唯一标识符
|
|
10675
|
+
* @param options 手风琴子项配置
|
|
10424
10676
|
*/
|
|
10425
|
-
|
|
10677
|
+
create: (key: string, options?: Omit<AccordionItemProps, "key" | "componentType">) => {
|
|
10678
|
+
componentType: string;
|
|
10679
|
+
title?: string;
|
|
10680
|
+
description?: string;
|
|
10681
|
+
children?: Children[] | undefined;
|
|
10682
|
+
isCompact?: boolean;
|
|
10683
|
+
isDisabled?: boolean;
|
|
10684
|
+
hideIndicator?: boolean;
|
|
10685
|
+
disableAnimation?: boolean;
|
|
10686
|
+
disableIndicatorAnimation?: boolean;
|
|
10687
|
+
keepContentMounted?: boolean;
|
|
10688
|
+
className?: string;
|
|
10689
|
+
subtitle?: string;
|
|
10690
|
+
indicator?: boolean;
|
|
10691
|
+
key: string;
|
|
10692
|
+
};
|
|
10426
10693
|
/**
|
|
10427
|
-
*
|
|
10694
|
+
* 创建默认配置的手风琴子项
|
|
10695
|
+
* @param key 唯一标识符
|
|
10696
|
+
* @param title 标题
|
|
10697
|
+
* @param children 子组件
|
|
10428
10698
|
*/
|
|
10429
|
-
|
|
10430
|
-
|
|
10699
|
+
default: (key: string, title: string, children?: Children[]) => {
|
|
10700
|
+
componentType: string;
|
|
10701
|
+
title?: string;
|
|
10702
|
+
description?: string;
|
|
10703
|
+
children?: Children[] | undefined;
|
|
10704
|
+
isCompact?: boolean;
|
|
10705
|
+
isDisabled?: boolean;
|
|
10706
|
+
hideIndicator?: boolean;
|
|
10707
|
+
disableAnimation?: boolean;
|
|
10708
|
+
disableIndicatorAnimation?: boolean;
|
|
10709
|
+
keepContentMounted?: boolean;
|
|
10710
|
+
className?: string;
|
|
10711
|
+
subtitle?: string;
|
|
10712
|
+
indicator?: boolean;
|
|
10713
|
+
key: string;
|
|
10714
|
+
};
|
|
10715
|
+
};
|
|
10716
|
+
|
|
10431
10717
|
/**
|
|
10432
10718
|
* 输入框
|
|
10433
10719
|
*/
|
|
@@ -10435,863 +10721,1225 @@ declare const input: {
|
|
|
10435
10721
|
/**
|
|
10436
10722
|
* 创建基础输入框
|
|
10437
10723
|
* @param key 唯一标识符
|
|
10724
|
+
* @param options 输入框配置
|
|
10438
10725
|
*/
|
|
10439
|
-
create: (key: string) =>
|
|
10726
|
+
create: (key: string, options: Omit<InputProps, "key" | "componentType">) => {
|
|
10727
|
+
componentType: string;
|
|
10728
|
+
type: string;
|
|
10729
|
+
pattern?: string;
|
|
10730
|
+
size?: "sm" | "md" | "lg";
|
|
10731
|
+
width?: string;
|
|
10732
|
+
height?: string;
|
|
10733
|
+
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
10734
|
+
label?: string;
|
|
10735
|
+
description?: string;
|
|
10736
|
+
errorMessage?: string;
|
|
10737
|
+
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
10738
|
+
isDisabled?: boolean;
|
|
10739
|
+
disableAnimation?: boolean;
|
|
10740
|
+
fullWidth?: boolean;
|
|
10741
|
+
className?: string;
|
|
10742
|
+
defaultValue?: string;
|
|
10743
|
+
rules?: ValidationRule[];
|
|
10744
|
+
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
10745
|
+
placeholder?: string;
|
|
10746
|
+
validationBehavior?: "native" | "aria";
|
|
10747
|
+
minLength?: number;
|
|
10748
|
+
maxLength?: number;
|
|
10749
|
+
startContent?: string;
|
|
10750
|
+
endContent?: string;
|
|
10751
|
+
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
10752
|
+
isClearable?: boolean;
|
|
10753
|
+
isRequired?: boolean;
|
|
10754
|
+
isReadOnly?: boolean;
|
|
10755
|
+
isInvalid?: boolean;
|
|
10756
|
+
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
10757
|
+
key: string;
|
|
10758
|
+
};
|
|
10440
10759
|
/**
|
|
10441
|
-
*
|
|
10760
|
+
* 字符串输入框
|
|
10442
10761
|
* @param key 唯一标识符
|
|
10762
|
+
* @param config 输入框配置
|
|
10443
10763
|
*/
|
|
10444
|
-
string: (key: string) =>
|
|
10764
|
+
string: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => {
|
|
10765
|
+
componentType: string;
|
|
10766
|
+
type: string;
|
|
10767
|
+
pattern?: string;
|
|
10768
|
+
size?: "sm" | "md" | "lg";
|
|
10769
|
+
width?: string;
|
|
10770
|
+
height?: string;
|
|
10771
|
+
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
10772
|
+
label?: string;
|
|
10773
|
+
description?: string;
|
|
10774
|
+
errorMessage?: string;
|
|
10775
|
+
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
10776
|
+
isDisabled?: boolean;
|
|
10777
|
+
disableAnimation?: boolean;
|
|
10778
|
+
fullWidth?: boolean;
|
|
10779
|
+
className?: string;
|
|
10780
|
+
defaultValue?: string;
|
|
10781
|
+
rules?: ValidationRule[];
|
|
10782
|
+
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
10783
|
+
placeholder?: string;
|
|
10784
|
+
validationBehavior?: "native" | "aria";
|
|
10785
|
+
minLength?: number;
|
|
10786
|
+
maxLength?: number;
|
|
10787
|
+
startContent?: string;
|
|
10788
|
+
endContent?: string;
|
|
10789
|
+
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
10790
|
+
isClearable?: boolean;
|
|
10791
|
+
isRequired?: boolean;
|
|
10792
|
+
isReadOnly?: boolean;
|
|
10793
|
+
isInvalid?: boolean;
|
|
10794
|
+
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
10795
|
+
key: string;
|
|
10796
|
+
};
|
|
10445
10797
|
/**
|
|
10446
|
-
*
|
|
10798
|
+
* 数字输入框
|
|
10447
10799
|
* @param key 唯一标识符
|
|
10800
|
+
* @param config 输入框配置
|
|
10448
10801
|
*/
|
|
10449
|
-
number: (key: string) =>
|
|
10802
|
+
number: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => {
|
|
10803
|
+
componentType: string;
|
|
10804
|
+
type: string;
|
|
10805
|
+
pattern?: string;
|
|
10806
|
+
size?: "sm" | "md" | "lg";
|
|
10807
|
+
width?: string;
|
|
10808
|
+
height?: string;
|
|
10809
|
+
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
10810
|
+
label?: string;
|
|
10811
|
+
description?: string;
|
|
10812
|
+
errorMessage?: string;
|
|
10813
|
+
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
10814
|
+
isDisabled?: boolean;
|
|
10815
|
+
disableAnimation?: boolean;
|
|
10816
|
+
fullWidth?: boolean;
|
|
10817
|
+
className?: string;
|
|
10818
|
+
defaultValue?: string;
|
|
10819
|
+
rules?: ValidationRule[];
|
|
10820
|
+
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
10821
|
+
placeholder?: string;
|
|
10822
|
+
validationBehavior?: "native" | "aria";
|
|
10823
|
+
minLength?: number;
|
|
10824
|
+
maxLength?: number;
|
|
10825
|
+
startContent?: string;
|
|
10826
|
+
endContent?: string;
|
|
10827
|
+
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
10828
|
+
isClearable?: boolean;
|
|
10829
|
+
isRequired?: boolean;
|
|
10830
|
+
isReadOnly?: boolean;
|
|
10831
|
+
isInvalid?: boolean;
|
|
10832
|
+
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
10833
|
+
key: string;
|
|
10834
|
+
};
|
|
10450
10835
|
/**
|
|
10451
|
-
*
|
|
10836
|
+
* 布尔值输入框
|
|
10452
10837
|
* @param key 唯一标识符
|
|
10838
|
+
* @param config 输入框配置
|
|
10453
10839
|
*/
|
|
10454
|
-
boolean: (key: string) =>
|
|
10840
|
+
boolean: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => {
|
|
10841
|
+
componentType: string;
|
|
10842
|
+
type: string;
|
|
10843
|
+
pattern?: string;
|
|
10844
|
+
size?: "sm" | "md" | "lg";
|
|
10845
|
+
width?: string;
|
|
10846
|
+
height?: string;
|
|
10847
|
+
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
10848
|
+
label?: string;
|
|
10849
|
+
description?: string;
|
|
10850
|
+
errorMessage?: string;
|
|
10851
|
+
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
10852
|
+
isDisabled?: boolean;
|
|
10853
|
+
disableAnimation?: boolean;
|
|
10854
|
+
fullWidth?: boolean;
|
|
10855
|
+
className?: string;
|
|
10856
|
+
defaultValue?: string;
|
|
10857
|
+
rules?: ValidationRule[];
|
|
10858
|
+
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
10859
|
+
placeholder?: string;
|
|
10860
|
+
validationBehavior?: "native" | "aria";
|
|
10861
|
+
minLength?: number;
|
|
10862
|
+
maxLength?: number;
|
|
10863
|
+
startContent?: string;
|
|
10864
|
+
endContent?: string;
|
|
10865
|
+
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
10866
|
+
isClearable?: boolean;
|
|
10867
|
+
isRequired?: boolean;
|
|
10868
|
+
isReadOnly?: boolean;
|
|
10869
|
+
isInvalid?: boolean;
|
|
10870
|
+
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
10871
|
+
key: string;
|
|
10872
|
+
};
|
|
10455
10873
|
/**
|
|
10456
|
-
*
|
|
10874
|
+
* 日期输入框
|
|
10457
10875
|
* @param key 唯一标识符
|
|
10876
|
+
* @param config 输入框配置
|
|
10458
10877
|
*/
|
|
10459
|
-
date: (key: string) =>
|
|
10878
|
+
date: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => {
|
|
10879
|
+
componentType: string;
|
|
10880
|
+
type: string;
|
|
10881
|
+
pattern?: string;
|
|
10882
|
+
size?: "sm" | "md" | "lg";
|
|
10883
|
+
width?: string;
|
|
10884
|
+
height?: string;
|
|
10885
|
+
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
10886
|
+
label?: string;
|
|
10887
|
+
description?: string;
|
|
10888
|
+
errorMessage?: string;
|
|
10889
|
+
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
10890
|
+
isDisabled?: boolean;
|
|
10891
|
+
disableAnimation?: boolean;
|
|
10892
|
+
fullWidth?: boolean;
|
|
10893
|
+
className?: string;
|
|
10894
|
+
defaultValue?: string;
|
|
10895
|
+
rules?: ValidationRule[];
|
|
10896
|
+
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
10897
|
+
placeholder?: string;
|
|
10898
|
+
validationBehavior?: "native" | "aria";
|
|
10899
|
+
minLength?: number;
|
|
10900
|
+
maxLength?: number;
|
|
10901
|
+
startContent?: string;
|
|
10902
|
+
endContent?: string;
|
|
10903
|
+
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
10904
|
+
isClearable?: boolean;
|
|
10905
|
+
isRequired?: boolean;
|
|
10906
|
+
isReadOnly?: boolean;
|
|
10907
|
+
isInvalid?: boolean;
|
|
10908
|
+
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
10909
|
+
key: string;
|
|
10910
|
+
};
|
|
10460
10911
|
/**
|
|
10461
|
-
*
|
|
10912
|
+
* 时间输入框
|
|
10462
10913
|
* @param key 唯一标识符
|
|
10914
|
+
* @param config 输入框配置
|
|
10463
10915
|
*/
|
|
10464
|
-
time: (key: string) =>
|
|
10916
|
+
time: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => {
|
|
10917
|
+
componentType: string;
|
|
10918
|
+
type: string;
|
|
10919
|
+
pattern?: string;
|
|
10920
|
+
size?: "sm" | "md" | "lg";
|
|
10921
|
+
width?: string;
|
|
10922
|
+
height?: string;
|
|
10923
|
+
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
10924
|
+
label?: string;
|
|
10925
|
+
description?: string;
|
|
10926
|
+
errorMessage?: string;
|
|
10927
|
+
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
10928
|
+
isDisabled?: boolean;
|
|
10929
|
+
disableAnimation?: boolean;
|
|
10930
|
+
fullWidth?: boolean;
|
|
10931
|
+
className?: string;
|
|
10932
|
+
defaultValue?: string;
|
|
10933
|
+
rules?: ValidationRule[];
|
|
10934
|
+
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
10935
|
+
placeholder?: string;
|
|
10936
|
+
validationBehavior?: "native" | "aria";
|
|
10937
|
+
minLength?: number;
|
|
10938
|
+
maxLength?: number;
|
|
10939
|
+
startContent?: string;
|
|
10940
|
+
endContent?: string;
|
|
10941
|
+
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
10942
|
+
isClearable?: boolean;
|
|
10943
|
+
isRequired?: boolean;
|
|
10944
|
+
isReadOnly?: boolean;
|
|
10945
|
+
isInvalid?: boolean;
|
|
10946
|
+
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
10947
|
+
key: string;
|
|
10948
|
+
};
|
|
10465
10949
|
/**
|
|
10466
|
-
*
|
|
10950
|
+
* 日期时间输入框
|
|
10467
10951
|
* @param key 唯一标识符
|
|
10952
|
+
* @param config 输入框配置
|
|
10468
10953
|
*/
|
|
10469
|
-
datetime: (key: string) =>
|
|
10954
|
+
datetime: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => {
|
|
10955
|
+
componentType: string;
|
|
10956
|
+
type: string;
|
|
10957
|
+
pattern?: string;
|
|
10958
|
+
size?: "sm" | "md" | "lg";
|
|
10959
|
+
width?: string;
|
|
10960
|
+
height?: string;
|
|
10961
|
+
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
10962
|
+
label?: string;
|
|
10963
|
+
description?: string;
|
|
10964
|
+
errorMessage?: string;
|
|
10965
|
+
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
10966
|
+
isDisabled?: boolean;
|
|
10967
|
+
disableAnimation?: boolean;
|
|
10968
|
+
fullWidth?: boolean;
|
|
10969
|
+
className?: string;
|
|
10970
|
+
defaultValue?: string;
|
|
10971
|
+
rules?: ValidationRule[];
|
|
10972
|
+
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
10973
|
+
placeholder?: string;
|
|
10974
|
+
validationBehavior?: "native" | "aria";
|
|
10975
|
+
minLength?: number;
|
|
10976
|
+
maxLength?: number;
|
|
10977
|
+
startContent?: string;
|
|
10978
|
+
endContent?: string;
|
|
10979
|
+
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
10980
|
+
isClearable?: boolean;
|
|
10981
|
+
isRequired?: boolean;
|
|
10982
|
+
isReadOnly?: boolean;
|
|
10983
|
+
isInvalid?: boolean;
|
|
10984
|
+
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
10985
|
+
key: string;
|
|
10986
|
+
};
|
|
10470
10987
|
/**
|
|
10471
|
-
*
|
|
10988
|
+
* 邮箱输入框
|
|
10472
10989
|
* @param key 唯一标识符
|
|
10990
|
+
* @param config 输入框配置
|
|
10473
10991
|
*/
|
|
10474
|
-
email: (key: string) =>
|
|
10992
|
+
email: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => {
|
|
10993
|
+
componentType: string;
|
|
10994
|
+
type: string;
|
|
10995
|
+
pattern?: string;
|
|
10996
|
+
size?: "sm" | "md" | "lg";
|
|
10997
|
+
width?: string;
|
|
10998
|
+
height?: string;
|
|
10999
|
+
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
11000
|
+
label?: string;
|
|
11001
|
+
description?: string;
|
|
11002
|
+
errorMessage?: string;
|
|
11003
|
+
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
11004
|
+
isDisabled?: boolean;
|
|
11005
|
+
disableAnimation?: boolean;
|
|
11006
|
+
fullWidth?: boolean;
|
|
11007
|
+
className?: string;
|
|
11008
|
+
defaultValue?: string;
|
|
11009
|
+
rules?: ValidationRule[];
|
|
11010
|
+
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
11011
|
+
placeholder?: string;
|
|
11012
|
+
validationBehavior?: "native" | "aria";
|
|
11013
|
+
minLength?: number;
|
|
11014
|
+
maxLength?: number;
|
|
11015
|
+
startContent?: string;
|
|
11016
|
+
endContent?: string;
|
|
11017
|
+
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
11018
|
+
isClearable?: boolean;
|
|
11019
|
+
isRequired?: boolean;
|
|
11020
|
+
isReadOnly?: boolean;
|
|
11021
|
+
isInvalid?: boolean;
|
|
11022
|
+
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
11023
|
+
key: string;
|
|
11024
|
+
};
|
|
10475
11025
|
/**
|
|
10476
|
-
* URL
|
|
11026
|
+
* URL输入框
|
|
10477
11027
|
* @param key 唯一标识符
|
|
11028
|
+
* @param config 输入框配置
|
|
10478
11029
|
*/
|
|
10479
|
-
url: (key: string) =>
|
|
11030
|
+
url: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => {
|
|
11031
|
+
componentType: string;
|
|
11032
|
+
type: string;
|
|
11033
|
+
pattern?: string;
|
|
11034
|
+
size?: "sm" | "md" | "lg";
|
|
11035
|
+
width?: string;
|
|
11036
|
+
height?: string;
|
|
11037
|
+
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
11038
|
+
label?: string;
|
|
11039
|
+
description?: string;
|
|
11040
|
+
errorMessage?: string;
|
|
11041
|
+
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
11042
|
+
isDisabled?: boolean;
|
|
11043
|
+
disableAnimation?: boolean;
|
|
11044
|
+
fullWidth?: boolean;
|
|
11045
|
+
className?: string;
|
|
11046
|
+
defaultValue?: string;
|
|
11047
|
+
rules?: ValidationRule[];
|
|
11048
|
+
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
11049
|
+
placeholder?: string;
|
|
11050
|
+
validationBehavior?: "native" | "aria";
|
|
11051
|
+
minLength?: number;
|
|
11052
|
+
maxLength?: number;
|
|
11053
|
+
startContent?: string;
|
|
11054
|
+
endContent?: string;
|
|
11055
|
+
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
11056
|
+
isClearable?: boolean;
|
|
11057
|
+
isRequired?: boolean;
|
|
11058
|
+
isReadOnly?: boolean;
|
|
11059
|
+
isInvalid?: boolean;
|
|
11060
|
+
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
11061
|
+
key: string;
|
|
11062
|
+
};
|
|
10480
11063
|
/**
|
|
10481
|
-
*
|
|
11064
|
+
* 电话输入框
|
|
10482
11065
|
* @param key 唯一标识符
|
|
11066
|
+
* @param config 输入框配置
|
|
10483
11067
|
*/
|
|
10484
|
-
tel: (key: string) =>
|
|
11068
|
+
tel: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => {
|
|
11069
|
+
componentType: string;
|
|
11070
|
+
type: string;
|
|
11071
|
+
pattern?: string;
|
|
11072
|
+
size?: "sm" | "md" | "lg";
|
|
11073
|
+
width?: string;
|
|
11074
|
+
height?: string;
|
|
11075
|
+
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
11076
|
+
label?: string;
|
|
11077
|
+
description?: string;
|
|
11078
|
+
errorMessage?: string;
|
|
11079
|
+
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
11080
|
+
isDisabled?: boolean;
|
|
11081
|
+
disableAnimation?: boolean;
|
|
11082
|
+
fullWidth?: boolean;
|
|
11083
|
+
className?: string;
|
|
11084
|
+
defaultValue?: string;
|
|
11085
|
+
rules?: ValidationRule[];
|
|
11086
|
+
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
11087
|
+
placeholder?: string;
|
|
11088
|
+
validationBehavior?: "native" | "aria";
|
|
11089
|
+
minLength?: number;
|
|
11090
|
+
maxLength?: number;
|
|
11091
|
+
startContent?: string;
|
|
11092
|
+
endContent?: string;
|
|
11093
|
+
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
11094
|
+
isClearable?: boolean;
|
|
11095
|
+
isRequired?: boolean;
|
|
11096
|
+
isReadOnly?: boolean;
|
|
11097
|
+
isInvalid?: boolean;
|
|
11098
|
+
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
11099
|
+
key: string;
|
|
11100
|
+
};
|
|
10485
11101
|
/**
|
|
10486
|
-
*
|
|
11102
|
+
* 密码输入框
|
|
10487
11103
|
* @param key 唯一标识符
|
|
11104
|
+
* @param config 输入框配置
|
|
10488
11105
|
*/
|
|
10489
|
-
password: (key: string) =>
|
|
11106
|
+
password: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => {
|
|
11107
|
+
componentType: string;
|
|
11108
|
+
type: string;
|
|
11109
|
+
pattern?: string;
|
|
11110
|
+
size?: "sm" | "md" | "lg";
|
|
11111
|
+
width?: string;
|
|
11112
|
+
height?: string;
|
|
11113
|
+
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
11114
|
+
label?: string;
|
|
11115
|
+
description?: string;
|
|
11116
|
+
errorMessage?: string;
|
|
11117
|
+
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
11118
|
+
isDisabled?: boolean;
|
|
11119
|
+
disableAnimation?: boolean;
|
|
11120
|
+
fullWidth?: boolean;
|
|
11121
|
+
className?: string;
|
|
11122
|
+
defaultValue?: string;
|
|
11123
|
+
rules?: ValidationRule[];
|
|
11124
|
+
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
11125
|
+
placeholder?: string;
|
|
11126
|
+
validationBehavior?: "native" | "aria";
|
|
11127
|
+
minLength?: number;
|
|
11128
|
+
maxLength?: number;
|
|
11129
|
+
startContent?: string;
|
|
11130
|
+
endContent?: string;
|
|
11131
|
+
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
11132
|
+
isClearable?: boolean;
|
|
11133
|
+
isRequired?: boolean;
|
|
11134
|
+
isReadOnly?: boolean;
|
|
11135
|
+
isInvalid?: boolean;
|
|
11136
|
+
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
11137
|
+
key: string;
|
|
11138
|
+
};
|
|
10490
11139
|
/**
|
|
10491
|
-
*
|
|
11140
|
+
* 颜色输入框
|
|
10492
11141
|
* @param key 唯一标识符
|
|
11142
|
+
* @param config 输入框配置
|
|
10493
11143
|
*/
|
|
10494
|
-
color: (key: string) =>
|
|
11144
|
+
color: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => {
|
|
11145
|
+
componentType: string;
|
|
11146
|
+
type: string;
|
|
11147
|
+
pattern?: string;
|
|
11148
|
+
size?: "sm" | "md" | "lg";
|
|
11149
|
+
width?: string;
|
|
11150
|
+
height?: string;
|
|
11151
|
+
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
11152
|
+
label?: string;
|
|
11153
|
+
description?: string;
|
|
11154
|
+
errorMessage?: string;
|
|
11155
|
+
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
11156
|
+
isDisabled?: boolean;
|
|
11157
|
+
disableAnimation?: boolean;
|
|
11158
|
+
fullWidth?: boolean;
|
|
11159
|
+
className?: string;
|
|
11160
|
+
defaultValue?: string;
|
|
11161
|
+
rules?: ValidationRule[];
|
|
11162
|
+
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
11163
|
+
placeholder?: string;
|
|
11164
|
+
validationBehavior?: "native" | "aria";
|
|
11165
|
+
minLength?: number;
|
|
11166
|
+
maxLength?: number;
|
|
11167
|
+
startContent?: string;
|
|
11168
|
+
endContent?: string;
|
|
11169
|
+
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
11170
|
+
isClearable?: boolean;
|
|
11171
|
+
isRequired?: boolean;
|
|
11172
|
+
isReadOnly?: boolean;
|
|
11173
|
+
isInvalid?: boolean;
|
|
11174
|
+
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
11175
|
+
key: string;
|
|
11176
|
+
};
|
|
10495
11177
|
/**
|
|
10496
|
-
* JSON
|
|
11178
|
+
* JSON输入框
|
|
10497
11179
|
* @param key 唯一标识符
|
|
11180
|
+
* @param config 输入框配置
|
|
10498
11181
|
*/
|
|
10499
|
-
json: (key: string) =>
|
|
10500
|
-
|
|
10501
|
-
|
|
10502
|
-
|
|
10503
|
-
|
|
10504
|
-
|
|
10505
|
-
|
|
10506
|
-
|
|
11182
|
+
json: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => {
|
|
11183
|
+
componentType: string;
|
|
11184
|
+
type: string;
|
|
11185
|
+
pattern?: string;
|
|
11186
|
+
size?: "sm" | "md" | "lg";
|
|
11187
|
+
width?: string;
|
|
11188
|
+
height?: string;
|
|
11189
|
+
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
11190
|
+
label?: string;
|
|
11191
|
+
description?: string;
|
|
11192
|
+
errorMessage?: string;
|
|
11193
|
+
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
11194
|
+
isDisabled?: boolean;
|
|
11195
|
+
disableAnimation?: boolean;
|
|
11196
|
+
fullWidth?: boolean;
|
|
11197
|
+
className?: string;
|
|
11198
|
+
defaultValue?: string;
|
|
11199
|
+
rules?: ValidationRule[];
|
|
11200
|
+
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
11201
|
+
placeholder?: string;
|
|
11202
|
+
validationBehavior?: "native" | "aria";
|
|
11203
|
+
minLength?: number;
|
|
11204
|
+
maxLength?: number;
|
|
11205
|
+
startContent?: string;
|
|
11206
|
+
endContent?: string;
|
|
11207
|
+
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
11208
|
+
isClearable?: boolean;
|
|
11209
|
+
isRequired?: boolean;
|
|
11210
|
+
isReadOnly?: boolean;
|
|
11211
|
+
isInvalid?: boolean;
|
|
11212
|
+
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
11213
|
+
key: string;
|
|
11214
|
+
};
|
|
10507
11215
|
};
|
|
10508
11216
|
|
|
10509
|
-
declare class Divider extends Component<DividerProps> {
|
|
10510
|
-
_config: DividerProps;
|
|
10511
|
-
constructor();
|
|
10512
|
-
/**
|
|
10513
|
-
* 设置透明
|
|
10514
|
-
* @param transparent 是否透明 默认不透明
|
|
10515
|
-
*/
|
|
10516
|
-
transparent(transparent: boolean): this;
|
|
10517
|
-
/**
|
|
10518
|
-
* 设置竖向分隔线
|
|
10519
|
-
* @param orientation 是否使用竖向分隔线 默认使用横向
|
|
10520
|
-
*/
|
|
10521
|
-
vertical(orientation: boolean): this;
|
|
10522
|
-
/**
|
|
10523
|
-
* 转换为 JSON 对象
|
|
10524
|
-
* @returns JSON 对象
|
|
10525
|
-
*/
|
|
10526
|
-
toJSON(): DividerProps;
|
|
10527
|
-
}
|
|
10528
11217
|
/**
|
|
10529
|
-
*
|
|
10530
|
-
* @returns 分隔线组件
|
|
11218
|
+
* 开关组件
|
|
10531
11219
|
*/
|
|
10532
|
-
declare const
|
|
10533
|
-
|
|
10534
|
-
declare class Switch extends Component<SwitchProps> {
|
|
10535
|
-
_config: SwitchProps;
|
|
10536
|
-
constructor(key: string);
|
|
10537
|
-
/**
|
|
10538
|
-
* 设置开始文本
|
|
10539
|
-
* @param text 开始文本
|
|
10540
|
-
*/
|
|
10541
|
-
startText: (text: string) => this;
|
|
10542
|
-
/**
|
|
10543
|
-
* 设置结束文本
|
|
10544
|
-
* @param text 结束文本
|
|
10545
|
-
*/
|
|
10546
|
-
endText: (text: string) => this;
|
|
10547
|
-
/**
|
|
10548
|
-
* 设置大小
|
|
10549
|
-
* @param size 大小
|
|
10550
|
-
*/
|
|
10551
|
-
size: (size: "sm" | "md" | "lg") => this;
|
|
10552
|
-
/**
|
|
10553
|
-
* 设置颜色
|
|
10554
|
-
* @param color 颜色
|
|
10555
|
-
*/
|
|
10556
|
-
color: (color: "default" | "primary" | "secondary" | "success" | "warning" | "danger") => this;
|
|
10557
|
-
/**
|
|
10558
|
-
* 设置开关图标
|
|
10559
|
-
* @param icon 图标
|
|
10560
|
-
*/
|
|
10561
|
-
thumbIcon: (icon: string) => this;
|
|
10562
|
-
/**
|
|
10563
|
-
* 设置开始内容图标
|
|
10564
|
-
* @param icon 图标
|
|
10565
|
-
*/
|
|
10566
|
-
startContent: (icon: string) => this;
|
|
10567
|
-
/**
|
|
10568
|
-
* 设置结束内容图标
|
|
10569
|
-
* @param icon 图标
|
|
10570
|
-
*/
|
|
10571
|
-
endContent: (icon: string) => this;
|
|
10572
|
-
/**
|
|
10573
|
-
* 设置是否被选中(只读)
|
|
10574
|
-
* @param selected 是否被选中
|
|
10575
|
-
*/
|
|
10576
|
-
selected: (selected?: boolean) => this;
|
|
10577
|
-
/**
|
|
10578
|
-
* 设置默认选中状态
|
|
10579
|
-
* @param selected 是否默认选中
|
|
10580
|
-
*/
|
|
10581
|
-
defaultSelected: (selected?: boolean) => this;
|
|
10582
|
-
/**
|
|
10583
|
-
* 设置是否只读
|
|
10584
|
-
* @param readonly 是否只读
|
|
10585
|
-
*/
|
|
10586
|
-
readonly: (readonly?: boolean) => this;
|
|
10587
|
-
/**
|
|
10588
|
-
* 设置是否禁用
|
|
10589
|
-
* @param disabled 是否禁用
|
|
10590
|
-
*/
|
|
10591
|
-
disabled: (disabled?: boolean) => this;
|
|
11220
|
+
declare const switchComponent: {
|
|
10592
11221
|
/**
|
|
10593
|
-
*
|
|
10594
|
-
* @param
|
|
10595
|
-
|
|
10596
|
-
|
|
11222
|
+
* 创建基础开关
|
|
11223
|
+
* @param key 唯一标识符
|
|
11224
|
+
* @param options 开关配置
|
|
11225
|
+
*/
|
|
11226
|
+
create: (key: string, options?: Omit<SwitchProps, "key" | "componentType">) => {
|
|
11227
|
+
componentType: string;
|
|
11228
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
11229
|
+
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | undefined;
|
|
11230
|
+
description?: string | undefined;
|
|
11231
|
+
isDisabled?: boolean | undefined;
|
|
11232
|
+
disableAnimation?: boolean | undefined;
|
|
11233
|
+
className?: string | undefined;
|
|
11234
|
+
startContent?: string | undefined;
|
|
11235
|
+
endContent?: string | undefined;
|
|
11236
|
+
isReadOnly?: boolean | undefined;
|
|
11237
|
+
startText?: string | undefined;
|
|
11238
|
+
endText?: string | undefined;
|
|
11239
|
+
thumbIcon?: string | undefined;
|
|
11240
|
+
isSelected?: boolean | undefined;
|
|
11241
|
+
defaultSelected?: boolean | undefined;
|
|
11242
|
+
key: string;
|
|
11243
|
+
};
|
|
10597
11244
|
/**
|
|
10598
|
-
*
|
|
10599
|
-
* @param
|
|
10600
|
-
|
|
10601
|
-
|
|
10602
|
-
|
|
11245
|
+
* 自定义开关
|
|
11246
|
+
* @param key 唯一标识符
|
|
11247
|
+
* @param config 开关配置
|
|
11248
|
+
*/
|
|
11249
|
+
options: (key: string, config?: Partial<Omit<SwitchProps, "key" | "componentType">>) => {
|
|
11250
|
+
componentType: string;
|
|
11251
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
11252
|
+
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | undefined;
|
|
11253
|
+
description?: string | undefined;
|
|
11254
|
+
isDisabled?: boolean | undefined;
|
|
11255
|
+
disableAnimation?: boolean | undefined;
|
|
11256
|
+
className?: string | undefined;
|
|
11257
|
+
startContent?: string | undefined;
|
|
11258
|
+
endContent?: string | undefined;
|
|
11259
|
+
isReadOnly?: boolean | undefined;
|
|
11260
|
+
startText?: string | undefined;
|
|
11261
|
+
endText?: string | undefined;
|
|
11262
|
+
thumbIcon?: string | undefined;
|
|
11263
|
+
isSelected?: boolean | undefined;
|
|
11264
|
+
defaultSelected?: boolean | undefined;
|
|
11265
|
+
key: string;
|
|
11266
|
+
};
|
|
11267
|
+
};
|
|
11268
|
+
|
|
10603
11269
|
/**
|
|
10604
|
-
*
|
|
11270
|
+
* 分隔线组件
|
|
10605
11271
|
*/
|
|
10606
|
-
declare const
|
|
11272
|
+
declare const divider: {
|
|
10607
11273
|
/**
|
|
10608
|
-
*
|
|
11274
|
+
* 创建基础分隔线
|
|
10609
11275
|
* @param key 唯一标识符
|
|
11276
|
+
* @param options 分隔线配置
|
|
10610
11277
|
*/
|
|
10611
|
-
create: (key: string) =>
|
|
11278
|
+
create: (key: string, options: Omit<DividerProps, "key" | "componentType">) => {
|
|
11279
|
+
description?: string;
|
|
11280
|
+
className?: string;
|
|
11281
|
+
transparent: boolean;
|
|
11282
|
+
orientation: string;
|
|
11283
|
+
key: string;
|
|
11284
|
+
componentType: string;
|
|
11285
|
+
};
|
|
10612
11286
|
/**
|
|
10613
|
-
*
|
|
11287
|
+
* 创建水平分隔线
|
|
10614
11288
|
* @param key 唯一标识符
|
|
10615
|
-
* @param
|
|
11289
|
+
* @param config 分隔线配置
|
|
10616
11290
|
*/
|
|
10617
|
-
|
|
11291
|
+
horizontal: (key: string, config?: Partial<Omit<DividerProps, "key" | "componentType">>) => {
|
|
11292
|
+
description?: string;
|
|
11293
|
+
className?: string;
|
|
11294
|
+
transparent: boolean;
|
|
11295
|
+
orientation: string;
|
|
11296
|
+
key: string;
|
|
11297
|
+
componentType: string;
|
|
11298
|
+
};
|
|
11299
|
+
/**
|
|
11300
|
+
* 创建垂直分隔线
|
|
11301
|
+
* @param key 唯一标识符
|
|
11302
|
+
* @param config 分隔线配置
|
|
11303
|
+
*/
|
|
11304
|
+
vertical: (key: string, config?: Partial<Omit<DividerProps, "key" | "componentType">>) => {
|
|
11305
|
+
description?: string;
|
|
11306
|
+
className?: string;
|
|
11307
|
+
transparent: boolean;
|
|
11308
|
+
orientation: string;
|
|
11309
|
+
key: string;
|
|
11310
|
+
componentType: string;
|
|
11311
|
+
};
|
|
10618
11312
|
};
|
|
10619
11313
|
|
|
10620
11314
|
declare const components: {
|
|
10621
11315
|
/** 分隔线 */
|
|
10622
11316
|
divider: {
|
|
10623
|
-
|
|
10624
|
-
|
|
10625
|
-
|
|
10626
|
-
|
|
10627
|
-
|
|
10628
|
-
|
|
11317
|
+
create: (key: string, options: Omit<DividerProps, "key" | "componentType">) => {
|
|
11318
|
+
description?: string;
|
|
11319
|
+
className?: string;
|
|
11320
|
+
transparent: boolean;
|
|
11321
|
+
orientation: string;
|
|
11322
|
+
key: string;
|
|
11323
|
+
componentType: string;
|
|
11324
|
+
};
|
|
11325
|
+
horizontal: (key: string, config?: Partial<Omit<DividerProps, "key" | "componentType">>) => {
|
|
11326
|
+
description?: string;
|
|
11327
|
+
className?: string;
|
|
11328
|
+
transparent: boolean;
|
|
11329
|
+
orientation: string;
|
|
11330
|
+
key: string;
|
|
11331
|
+
componentType: string;
|
|
11332
|
+
};
|
|
11333
|
+
vertical: (key: string, config?: Partial<Omit<DividerProps, "key" | "componentType">>) => {
|
|
11334
|
+
description?: string;
|
|
11335
|
+
className?: string;
|
|
11336
|
+
transparent: boolean;
|
|
11337
|
+
orientation: string;
|
|
11338
|
+
key: string;
|
|
11339
|
+
componentType: string;
|
|
11340
|
+
};
|
|
10629
11341
|
};
|
|
10630
11342
|
/** 输入框 */
|
|
10631
11343
|
input: {
|
|
10632
|
-
create: (key: string) => {
|
|
10633
|
-
|
|
10634
|
-
|
|
10635
|
-
|
|
10636
|
-
|
|
10637
|
-
|
|
10638
|
-
|
|
10639
|
-
color
|
|
10640
|
-
|
|
10641
|
-
|
|
10642
|
-
|
|
10643
|
-
|
|
10644
|
-
|
|
10645
|
-
|
|
10646
|
-
|
|
10647
|
-
|
|
10648
|
-
|
|
10649
|
-
|
|
10650
|
-
|
|
10651
|
-
|
|
10652
|
-
|
|
10653
|
-
|
|
10654
|
-
|
|
10655
|
-
|
|
10656
|
-
|
|
10657
|
-
|
|
10658
|
-
|
|
10659
|
-
|
|
10660
|
-
|
|
10661
|
-
|
|
10662
|
-
|
|
11344
|
+
create: (key: string, options: Omit<InputProps, "key" | "componentType">) => {
|
|
11345
|
+
componentType: string;
|
|
11346
|
+
type: string;
|
|
11347
|
+
pattern?: string;
|
|
11348
|
+
size?: "sm" | "md" | "lg";
|
|
11349
|
+
width?: string;
|
|
11350
|
+
height?: string;
|
|
11351
|
+
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
11352
|
+
label?: string;
|
|
11353
|
+
description?: string;
|
|
11354
|
+
errorMessage?: string;
|
|
11355
|
+
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
11356
|
+
isDisabled?: boolean;
|
|
11357
|
+
disableAnimation?: boolean;
|
|
11358
|
+
fullWidth?: boolean;
|
|
11359
|
+
className?: string;
|
|
11360
|
+
defaultValue?: string;
|
|
11361
|
+
rules?: ValidationRule[];
|
|
11362
|
+
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
11363
|
+
placeholder?: string;
|
|
11364
|
+
validationBehavior?: "native" | "aria";
|
|
11365
|
+
minLength?: number;
|
|
11366
|
+
maxLength?: number;
|
|
11367
|
+
startContent?: string;
|
|
11368
|
+
endContent?: string;
|
|
11369
|
+
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
11370
|
+
isClearable?: boolean;
|
|
11371
|
+
isRequired?: boolean;
|
|
11372
|
+
isReadOnly?: boolean;
|
|
11373
|
+
isInvalid?: boolean;
|
|
11374
|
+
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
11375
|
+
key: string;
|
|
10663
11376
|
};
|
|
10664
|
-
|
|
10665
|
-
|
|
10666
|
-
|
|
10667
|
-
|
|
10668
|
-
|
|
10669
|
-
|
|
10670
|
-
|
|
10671
|
-
color
|
|
10672
|
-
|
|
10673
|
-
|
|
10674
|
-
|
|
10675
|
-
|
|
10676
|
-
|
|
10677
|
-
|
|
10678
|
-
|
|
11377
|
+
string: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => {
|
|
11378
|
+
componentType: string;
|
|
11379
|
+
type: string;
|
|
11380
|
+
pattern?: string;
|
|
11381
|
+
size?: "sm" | "md" | "lg";
|
|
11382
|
+
width?: string;
|
|
11383
|
+
height?: string;
|
|
11384
|
+
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
11385
|
+
label?: string;
|
|
11386
|
+
description?: string;
|
|
11387
|
+
errorMessage?: string;
|
|
11388
|
+
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
11389
|
+
isDisabled?: boolean;
|
|
11390
|
+
disableAnimation?: boolean;
|
|
11391
|
+
fullWidth?: boolean;
|
|
11392
|
+
className?: string;
|
|
11393
|
+
defaultValue?: string;
|
|
11394
|
+
rules?: ValidationRule[];
|
|
11395
|
+
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
11396
|
+
placeholder?: string;
|
|
11397
|
+
validationBehavior?: "native" | "aria";
|
|
11398
|
+
minLength?: number;
|
|
11399
|
+
maxLength?: number;
|
|
11400
|
+
startContent?: string;
|
|
11401
|
+
endContent?: string;
|
|
11402
|
+
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
11403
|
+
isClearable?: boolean;
|
|
11404
|
+
isRequired?: boolean;
|
|
11405
|
+
isReadOnly?: boolean;
|
|
11406
|
+
isInvalid?: boolean;
|
|
11407
|
+
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
11408
|
+
key: string;
|
|
10679
11409
|
};
|
|
10680
|
-
|
|
10681
|
-
|
|
10682
|
-
|
|
10683
|
-
|
|
10684
|
-
|
|
10685
|
-
|
|
10686
|
-
|
|
10687
|
-
color
|
|
10688
|
-
|
|
10689
|
-
|
|
10690
|
-
|
|
10691
|
-
|
|
10692
|
-
|
|
10693
|
-
|
|
10694
|
-
|
|
11410
|
+
number: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => {
|
|
11411
|
+
componentType: string;
|
|
11412
|
+
type: string;
|
|
11413
|
+
pattern?: string;
|
|
11414
|
+
size?: "sm" | "md" | "lg";
|
|
11415
|
+
width?: string;
|
|
11416
|
+
height?: string;
|
|
11417
|
+
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
11418
|
+
label?: string;
|
|
11419
|
+
description?: string;
|
|
11420
|
+
errorMessage?: string;
|
|
11421
|
+
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
11422
|
+
isDisabled?: boolean;
|
|
11423
|
+
disableAnimation?: boolean;
|
|
11424
|
+
fullWidth?: boolean;
|
|
11425
|
+
className?: string;
|
|
11426
|
+
defaultValue?: string;
|
|
11427
|
+
rules?: ValidationRule[];
|
|
11428
|
+
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
11429
|
+
placeholder?: string;
|
|
11430
|
+
validationBehavior?: "native" | "aria";
|
|
11431
|
+
minLength?: number;
|
|
11432
|
+
maxLength?: number;
|
|
11433
|
+
startContent?: string;
|
|
11434
|
+
endContent?: string;
|
|
11435
|
+
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
11436
|
+
isClearable?: boolean;
|
|
11437
|
+
isRequired?: boolean;
|
|
11438
|
+
isReadOnly?: boolean;
|
|
11439
|
+
isInvalid?: boolean;
|
|
11440
|
+
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
11441
|
+
key: string;
|
|
10695
11442
|
};
|
|
10696
|
-
|
|
10697
|
-
|
|
10698
|
-
|
|
10699
|
-
|
|
10700
|
-
|
|
10701
|
-
|
|
10702
|
-
|
|
10703
|
-
color
|
|
10704
|
-
|
|
10705
|
-
|
|
10706
|
-
|
|
10707
|
-
|
|
10708
|
-
|
|
10709
|
-
|
|
10710
|
-
|
|
11443
|
+
boolean: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => {
|
|
11444
|
+
componentType: string;
|
|
11445
|
+
type: string;
|
|
11446
|
+
pattern?: string;
|
|
11447
|
+
size?: "sm" | "md" | "lg";
|
|
11448
|
+
width?: string;
|
|
11449
|
+
height?: string;
|
|
11450
|
+
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
11451
|
+
label?: string;
|
|
11452
|
+
description?: string;
|
|
11453
|
+
errorMessage?: string;
|
|
11454
|
+
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
11455
|
+
isDisabled?: boolean;
|
|
11456
|
+
disableAnimation?: boolean;
|
|
11457
|
+
fullWidth?: boolean;
|
|
11458
|
+
className?: string;
|
|
11459
|
+
defaultValue?: string;
|
|
11460
|
+
rules?: ValidationRule[];
|
|
11461
|
+
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
11462
|
+
placeholder?: string;
|
|
11463
|
+
validationBehavior?: "native" | "aria";
|
|
11464
|
+
minLength?: number;
|
|
11465
|
+
maxLength?: number;
|
|
11466
|
+
startContent?: string;
|
|
11467
|
+
endContent?: string;
|
|
11468
|
+
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
11469
|
+
isClearable?: boolean;
|
|
11470
|
+
isRequired?: boolean;
|
|
11471
|
+
isReadOnly?: boolean;
|
|
11472
|
+
isInvalid?: boolean;
|
|
11473
|
+
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
11474
|
+
key: string;
|
|
10711
11475
|
};
|
|
10712
|
-
|
|
10713
|
-
|
|
10714
|
-
|
|
10715
|
-
|
|
10716
|
-
|
|
10717
|
-
|
|
10718
|
-
|
|
10719
|
-
color
|
|
10720
|
-
|
|
10721
|
-
|
|
10722
|
-
|
|
10723
|
-
|
|
10724
|
-
|
|
10725
|
-
|
|
10726
|
-
|
|
11476
|
+
date: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => {
|
|
11477
|
+
componentType: string;
|
|
11478
|
+
type: string;
|
|
11479
|
+
pattern?: string;
|
|
11480
|
+
size?: "sm" | "md" | "lg";
|
|
11481
|
+
width?: string;
|
|
11482
|
+
height?: string;
|
|
11483
|
+
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
11484
|
+
label?: string;
|
|
11485
|
+
description?: string;
|
|
11486
|
+
errorMessage?: string;
|
|
11487
|
+
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
11488
|
+
isDisabled?: boolean;
|
|
11489
|
+
disableAnimation?: boolean;
|
|
11490
|
+
fullWidth?: boolean;
|
|
11491
|
+
className?: string;
|
|
11492
|
+
defaultValue?: string;
|
|
11493
|
+
rules?: ValidationRule[];
|
|
11494
|
+
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
11495
|
+
placeholder?: string;
|
|
11496
|
+
validationBehavior?: "native" | "aria";
|
|
11497
|
+
minLength?: number;
|
|
11498
|
+
maxLength?: number;
|
|
11499
|
+
startContent?: string;
|
|
11500
|
+
endContent?: string;
|
|
11501
|
+
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
11502
|
+
isClearable?: boolean;
|
|
11503
|
+
isRequired?: boolean;
|
|
11504
|
+
isReadOnly?: boolean;
|
|
11505
|
+
isInvalid?: boolean;
|
|
11506
|
+
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
11507
|
+
key: string;
|
|
10727
11508
|
};
|
|
10728
|
-
|
|
10729
|
-
|
|
10730
|
-
|
|
10731
|
-
|
|
10732
|
-
|
|
10733
|
-
|
|
10734
|
-
|
|
10735
|
-
color
|
|
10736
|
-
|
|
10737
|
-
|
|
10738
|
-
|
|
10739
|
-
|
|
10740
|
-
|
|
10741
|
-
|
|
10742
|
-
|
|
11509
|
+
time: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => {
|
|
11510
|
+
componentType: string;
|
|
11511
|
+
type: string;
|
|
11512
|
+
pattern?: string;
|
|
11513
|
+
size?: "sm" | "md" | "lg";
|
|
11514
|
+
width?: string;
|
|
11515
|
+
height?: string;
|
|
11516
|
+
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
11517
|
+
label?: string;
|
|
11518
|
+
description?: string;
|
|
11519
|
+
errorMessage?: string;
|
|
11520
|
+
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
11521
|
+
isDisabled?: boolean;
|
|
11522
|
+
disableAnimation?: boolean;
|
|
11523
|
+
fullWidth?: boolean;
|
|
11524
|
+
className?: string;
|
|
11525
|
+
defaultValue?: string;
|
|
11526
|
+
rules?: ValidationRule[];
|
|
11527
|
+
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
11528
|
+
placeholder?: string;
|
|
11529
|
+
validationBehavior?: "native" | "aria";
|
|
11530
|
+
minLength?: number;
|
|
11531
|
+
maxLength?: number;
|
|
11532
|
+
startContent?: string;
|
|
11533
|
+
endContent?: string;
|
|
11534
|
+
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
11535
|
+
isClearable?: boolean;
|
|
11536
|
+
isRequired?: boolean;
|
|
11537
|
+
isReadOnly?: boolean;
|
|
11538
|
+
isInvalid?: boolean;
|
|
11539
|
+
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
11540
|
+
key: string;
|
|
10743
11541
|
};
|
|
10744
|
-
|
|
10745
|
-
|
|
10746
|
-
|
|
10747
|
-
|
|
10748
|
-
|
|
10749
|
-
|
|
10750
|
-
|
|
10751
|
-
color
|
|
10752
|
-
|
|
10753
|
-
|
|
10754
|
-
|
|
10755
|
-
|
|
10756
|
-
|
|
10757
|
-
|
|
10758
|
-
|
|
11542
|
+
datetime: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => {
|
|
11543
|
+
componentType: string;
|
|
11544
|
+
type: string;
|
|
11545
|
+
pattern?: string;
|
|
11546
|
+
size?: "sm" | "md" | "lg";
|
|
11547
|
+
width?: string;
|
|
11548
|
+
height?: string;
|
|
11549
|
+
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
11550
|
+
label?: string;
|
|
11551
|
+
description?: string;
|
|
11552
|
+
errorMessage?: string;
|
|
11553
|
+
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
11554
|
+
isDisabled?: boolean;
|
|
11555
|
+
disableAnimation?: boolean;
|
|
11556
|
+
fullWidth?: boolean;
|
|
11557
|
+
className?: string;
|
|
11558
|
+
defaultValue?: string;
|
|
11559
|
+
rules?: ValidationRule[];
|
|
11560
|
+
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
11561
|
+
placeholder?: string;
|
|
11562
|
+
validationBehavior?: "native" | "aria";
|
|
11563
|
+
minLength?: number;
|
|
11564
|
+
maxLength?: number;
|
|
11565
|
+
startContent?: string;
|
|
11566
|
+
endContent?: string;
|
|
11567
|
+
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
11568
|
+
isClearable?: boolean;
|
|
11569
|
+
isRequired?: boolean;
|
|
11570
|
+
isReadOnly?: boolean;
|
|
11571
|
+
isInvalid?: boolean;
|
|
11572
|
+
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
11573
|
+
key: string;
|
|
10759
11574
|
};
|
|
10760
|
-
|
|
10761
|
-
|
|
10762
|
-
|
|
10763
|
-
|
|
10764
|
-
|
|
10765
|
-
|
|
10766
|
-
|
|
10767
|
-
color
|
|
10768
|
-
|
|
10769
|
-
|
|
10770
|
-
|
|
10771
|
-
|
|
10772
|
-
|
|
10773
|
-
|
|
10774
|
-
|
|
11575
|
+
email: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => {
|
|
11576
|
+
componentType: string;
|
|
11577
|
+
type: string;
|
|
11578
|
+
pattern?: string;
|
|
11579
|
+
size?: "sm" | "md" | "lg";
|
|
11580
|
+
width?: string;
|
|
11581
|
+
height?: string;
|
|
11582
|
+
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
11583
|
+
label?: string;
|
|
11584
|
+
description?: string;
|
|
11585
|
+
errorMessage?: string;
|
|
11586
|
+
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
11587
|
+
isDisabled?: boolean;
|
|
11588
|
+
disableAnimation?: boolean;
|
|
11589
|
+
fullWidth?: boolean;
|
|
11590
|
+
className?: string;
|
|
11591
|
+
defaultValue?: string;
|
|
11592
|
+
rules?: ValidationRule[];
|
|
11593
|
+
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
11594
|
+
placeholder?: string;
|
|
11595
|
+
validationBehavior?: "native" | "aria";
|
|
11596
|
+
minLength?: number;
|
|
11597
|
+
maxLength?: number;
|
|
11598
|
+
startContent?: string;
|
|
11599
|
+
endContent?: string;
|
|
11600
|
+
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
11601
|
+
isClearable?: boolean;
|
|
11602
|
+
isRequired?: boolean;
|
|
11603
|
+
isReadOnly?: boolean;
|
|
11604
|
+
isInvalid?: boolean;
|
|
11605
|
+
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
11606
|
+
key: string;
|
|
10775
11607
|
};
|
|
10776
|
-
|
|
10777
|
-
|
|
10778
|
-
|
|
10779
|
-
|
|
10780
|
-
|
|
10781
|
-
|
|
10782
|
-
|
|
10783
|
-
color
|
|
10784
|
-
|
|
10785
|
-
|
|
10786
|
-
|
|
10787
|
-
|
|
10788
|
-
|
|
10789
|
-
|
|
10790
|
-
|
|
11608
|
+
url: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => {
|
|
11609
|
+
componentType: string;
|
|
11610
|
+
type: string;
|
|
11611
|
+
pattern?: string;
|
|
11612
|
+
size?: "sm" | "md" | "lg";
|
|
11613
|
+
width?: string;
|
|
11614
|
+
height?: string;
|
|
11615
|
+
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
11616
|
+
label?: string;
|
|
11617
|
+
description?: string;
|
|
11618
|
+
errorMessage?: string;
|
|
11619
|
+
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
11620
|
+
isDisabled?: boolean;
|
|
11621
|
+
disableAnimation?: boolean;
|
|
11622
|
+
fullWidth?: boolean;
|
|
11623
|
+
className?: string;
|
|
11624
|
+
defaultValue?: string;
|
|
11625
|
+
rules?: ValidationRule[];
|
|
11626
|
+
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
11627
|
+
placeholder?: string;
|
|
11628
|
+
validationBehavior?: "native" | "aria";
|
|
11629
|
+
minLength?: number;
|
|
11630
|
+
maxLength?: number;
|
|
11631
|
+
startContent?: string;
|
|
11632
|
+
endContent?: string;
|
|
11633
|
+
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
11634
|
+
isClearable?: boolean;
|
|
11635
|
+
isRequired?: boolean;
|
|
11636
|
+
isReadOnly?: boolean;
|
|
11637
|
+
isInvalid?: boolean;
|
|
11638
|
+
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
11639
|
+
key: string;
|
|
10791
11640
|
};
|
|
10792
|
-
|
|
10793
|
-
|
|
10794
|
-
|
|
10795
|
-
|
|
10796
|
-
|
|
10797
|
-
|
|
10798
|
-
|
|
10799
|
-
color
|
|
10800
|
-
|
|
10801
|
-
|
|
10802
|
-
|
|
10803
|
-
|
|
10804
|
-
|
|
10805
|
-
|
|
10806
|
-
|
|
11641
|
+
tel: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => {
|
|
11642
|
+
componentType: string;
|
|
11643
|
+
type: string;
|
|
11644
|
+
pattern?: string;
|
|
11645
|
+
size?: "sm" | "md" | "lg";
|
|
11646
|
+
width?: string;
|
|
11647
|
+
height?: string;
|
|
11648
|
+
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
11649
|
+
label?: string;
|
|
11650
|
+
description?: string;
|
|
11651
|
+
errorMessage?: string;
|
|
11652
|
+
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
11653
|
+
isDisabled?: boolean;
|
|
11654
|
+
disableAnimation?: boolean;
|
|
11655
|
+
fullWidth?: boolean;
|
|
11656
|
+
className?: string;
|
|
11657
|
+
defaultValue?: string;
|
|
11658
|
+
rules?: ValidationRule[];
|
|
11659
|
+
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
11660
|
+
placeholder?: string;
|
|
11661
|
+
validationBehavior?: "native" | "aria";
|
|
11662
|
+
minLength?: number;
|
|
11663
|
+
maxLength?: number;
|
|
11664
|
+
startContent?: string;
|
|
11665
|
+
endContent?: string;
|
|
11666
|
+
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
11667
|
+
isClearable?: boolean;
|
|
11668
|
+
isRequired?: boolean;
|
|
11669
|
+
isReadOnly?: boolean;
|
|
11670
|
+
isInvalid?: boolean;
|
|
11671
|
+
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
11672
|
+
key: string;
|
|
10807
11673
|
};
|
|
10808
|
-
|
|
10809
|
-
|
|
10810
|
-
|
|
10811
|
-
|
|
10812
|
-
|
|
10813
|
-
|
|
10814
|
-
|
|
10815
|
-
color
|
|
10816
|
-
|
|
10817
|
-
|
|
10818
|
-
|
|
10819
|
-
|
|
10820
|
-
|
|
10821
|
-
|
|
10822
|
-
|
|
11674
|
+
password: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => {
|
|
11675
|
+
componentType: string;
|
|
11676
|
+
type: string;
|
|
11677
|
+
pattern?: string;
|
|
11678
|
+
size?: "sm" | "md" | "lg";
|
|
11679
|
+
width?: string;
|
|
11680
|
+
height?: string;
|
|
11681
|
+
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
11682
|
+
label?: string;
|
|
11683
|
+
description?: string;
|
|
11684
|
+
errorMessage?: string;
|
|
11685
|
+
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
11686
|
+
isDisabled?: boolean;
|
|
11687
|
+
disableAnimation?: boolean;
|
|
11688
|
+
fullWidth?: boolean;
|
|
11689
|
+
className?: string;
|
|
11690
|
+
defaultValue?: string;
|
|
11691
|
+
rules?: ValidationRule[];
|
|
11692
|
+
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
11693
|
+
placeholder?: string;
|
|
11694
|
+
validationBehavior?: "native" | "aria";
|
|
11695
|
+
minLength?: number;
|
|
11696
|
+
maxLength?: number;
|
|
11697
|
+
startContent?: string;
|
|
11698
|
+
endContent?: string;
|
|
11699
|
+
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
11700
|
+
isClearable?: boolean;
|
|
11701
|
+
isRequired?: boolean;
|
|
11702
|
+
isReadOnly?: boolean;
|
|
11703
|
+
isInvalid?: boolean;
|
|
11704
|
+
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
11705
|
+
key: string;
|
|
10823
11706
|
};
|
|
10824
|
-
|
|
10825
|
-
|
|
10826
|
-
|
|
10827
|
-
|
|
10828
|
-
|
|
10829
|
-
|
|
10830
|
-
|
|
10831
|
-
color
|
|
10832
|
-
|
|
10833
|
-
|
|
10834
|
-
|
|
10835
|
-
|
|
10836
|
-
|
|
10837
|
-
|
|
10838
|
-
|
|
11707
|
+
color: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => {
|
|
11708
|
+
componentType: string;
|
|
11709
|
+
type: string;
|
|
11710
|
+
pattern?: string;
|
|
11711
|
+
size?: "sm" | "md" | "lg";
|
|
11712
|
+
width?: string;
|
|
11713
|
+
height?: string;
|
|
11714
|
+
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
11715
|
+
label?: string;
|
|
11716
|
+
description?: string;
|
|
11717
|
+
errorMessage?: string;
|
|
11718
|
+
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
11719
|
+
isDisabled?: boolean;
|
|
11720
|
+
disableAnimation?: boolean;
|
|
11721
|
+
fullWidth?: boolean;
|
|
11722
|
+
className?: string;
|
|
11723
|
+
defaultValue?: string;
|
|
11724
|
+
rules?: ValidationRule[];
|
|
11725
|
+
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
11726
|
+
placeholder?: string;
|
|
11727
|
+
validationBehavior?: "native" | "aria";
|
|
11728
|
+
minLength?: number;
|
|
11729
|
+
maxLength?: number;
|
|
11730
|
+
startContent?: string;
|
|
11731
|
+
endContent?: string;
|
|
11732
|
+
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
11733
|
+
isClearable?: boolean;
|
|
11734
|
+
isRequired?: boolean;
|
|
11735
|
+
isReadOnly?: boolean;
|
|
11736
|
+
isInvalid?: boolean;
|
|
11737
|
+
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
11738
|
+
key: string;
|
|
10839
11739
|
};
|
|
10840
|
-
|
|
10841
|
-
|
|
10842
|
-
|
|
10843
|
-
|
|
10844
|
-
|
|
10845
|
-
|
|
10846
|
-
|
|
10847
|
-
color
|
|
10848
|
-
|
|
10849
|
-
|
|
10850
|
-
|
|
10851
|
-
|
|
10852
|
-
|
|
10853
|
-
|
|
10854
|
-
|
|
11740
|
+
json: (key: string, config?: Partial<Omit<InputProps, "key" | "componentType">>) => {
|
|
11741
|
+
componentType: string;
|
|
11742
|
+
type: string;
|
|
11743
|
+
pattern?: string;
|
|
11744
|
+
size?: "sm" | "md" | "lg";
|
|
11745
|
+
width?: string;
|
|
11746
|
+
height?: string;
|
|
11747
|
+
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
11748
|
+
label?: string;
|
|
11749
|
+
description?: string;
|
|
11750
|
+
errorMessage?: string;
|
|
11751
|
+
variant?: "flat" | "bordered" | "underlined" | "faded";
|
|
11752
|
+
isDisabled?: boolean;
|
|
11753
|
+
disableAnimation?: boolean;
|
|
11754
|
+
fullWidth?: boolean;
|
|
11755
|
+
className?: string;
|
|
11756
|
+
defaultValue?: string;
|
|
11757
|
+
rules?: ValidationRule[];
|
|
11758
|
+
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
11759
|
+
placeholder?: string;
|
|
11760
|
+
validationBehavior?: "native" | "aria";
|
|
11761
|
+
minLength?: number;
|
|
11762
|
+
maxLength?: number;
|
|
11763
|
+
startContent?: string;
|
|
11764
|
+
endContent?: string;
|
|
11765
|
+
labelPlacement?: "inside" | "outside" | "outside-left";
|
|
11766
|
+
isClearable?: boolean;
|
|
11767
|
+
isRequired?: boolean;
|
|
11768
|
+
isReadOnly?: boolean;
|
|
11769
|
+
isInvalid?: boolean;
|
|
11770
|
+
classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "innerWrapper" | "mainWrapper" | "input" | "clearButton" | "helperWrapper" | "description" | "errorMessage", string>>;
|
|
11771
|
+
key: string;
|
|
10855
11772
|
};
|
|
10856
11773
|
};
|
|
10857
11774
|
/** 开关 */
|
|
10858
11775
|
switch: {
|
|
10859
|
-
create: (key: string) => {
|
|
10860
|
-
|
|
10861
|
-
|
|
10862
|
-
|
|
10863
|
-
|
|
10864
|
-
|
|
10865
|
-
|
|
10866
|
-
|
|
10867
|
-
|
|
10868
|
-
|
|
10869
|
-
|
|
10870
|
-
|
|
10871
|
-
|
|
10872
|
-
|
|
10873
|
-
|
|
10874
|
-
|
|
10875
|
-
|
|
10876
|
-
toJSON(): SwitchProps;
|
|
11776
|
+
create: (key: string, options?: Omit<SwitchProps, "key" | "componentType">) => {
|
|
11777
|
+
componentType: string;
|
|
11778
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
11779
|
+
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | undefined;
|
|
11780
|
+
description?: string | undefined;
|
|
11781
|
+
isDisabled?: boolean | undefined;
|
|
11782
|
+
disableAnimation?: boolean | undefined;
|
|
11783
|
+
className?: string | undefined;
|
|
11784
|
+
startContent?: string | undefined;
|
|
11785
|
+
endContent?: string | undefined;
|
|
11786
|
+
isReadOnly?: boolean | undefined;
|
|
11787
|
+
startText?: string | undefined;
|
|
11788
|
+
endText?: string | undefined;
|
|
11789
|
+
thumbIcon?: string | undefined;
|
|
11790
|
+
isSelected?: boolean | undefined;
|
|
11791
|
+
defaultSelected?: boolean | undefined;
|
|
11792
|
+
key: string;
|
|
10877
11793
|
};
|
|
10878
|
-
options: (key: string,
|
|
10879
|
-
|
|
10880
|
-
|
|
10881
|
-
|
|
10882
|
-
|
|
10883
|
-
|
|
10884
|
-
|
|
10885
|
-
|
|
10886
|
-
|
|
10887
|
-
|
|
10888
|
-
|
|
10889
|
-
|
|
10890
|
-
|
|
10891
|
-
|
|
10892
|
-
|
|
10893
|
-
|
|
10894
|
-
|
|
10895
|
-
toJSON(): SwitchProps;
|
|
11794
|
+
options: (key: string, config?: Partial<Omit<SwitchProps, "key" | "componentType">>) => {
|
|
11795
|
+
componentType: string;
|
|
11796
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
11797
|
+
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | undefined;
|
|
11798
|
+
description?: string | undefined;
|
|
11799
|
+
isDisabled?: boolean | undefined;
|
|
11800
|
+
disableAnimation?: boolean | undefined;
|
|
11801
|
+
className?: string | undefined;
|
|
11802
|
+
startContent?: string | undefined;
|
|
11803
|
+
endContent?: string | undefined;
|
|
11804
|
+
isReadOnly?: boolean | undefined;
|
|
11805
|
+
startText?: string | undefined;
|
|
11806
|
+
endText?: string | undefined;
|
|
11807
|
+
thumbIcon?: string | undefined;
|
|
11808
|
+
isSelected?: boolean | undefined;
|
|
11809
|
+
defaultSelected?: boolean | undefined;
|
|
11810
|
+
key: string;
|
|
10896
11811
|
};
|
|
10897
11812
|
};
|
|
10898
11813
|
/** 手风琴 */
|
|
10899
11814
|
accordion: {
|
|
10900
|
-
create: (key: string) => {
|
|
10901
|
-
|
|
10902
|
-
title
|
|
10903
|
-
|
|
10904
|
-
|
|
10905
|
-
|
|
10906
|
-
|
|
10907
|
-
|
|
10908
|
-
|
|
10909
|
-
|
|
10910
|
-
|
|
10911
|
-
|
|
10912
|
-
|
|
10913
|
-
|
|
10914
|
-
|
|
10915
|
-
|
|
10916
|
-
|
|
10917
|
-
|
|
10918
|
-
|
|
10919
|
-
|
|
10920
|
-
|
|
10921
|
-
|
|
10922
|
-
toString(): string;
|
|
11815
|
+
create: (key: string, options?: Omit<AccordionProps, "key" | "componentType">) => {
|
|
11816
|
+
componentType: string;
|
|
11817
|
+
title?: string;
|
|
11818
|
+
description?: string;
|
|
11819
|
+
children?: AccordionItemProps[];
|
|
11820
|
+
variant?: "light" | "shadow" | "bordered" | "splitted";
|
|
11821
|
+
selectionMode?: "none" | "single" | "multiple";
|
|
11822
|
+
selectionBehavior?: "toggle" | "replace";
|
|
11823
|
+
isCompact?: boolean;
|
|
11824
|
+
isDisabled?: boolean;
|
|
11825
|
+
showDivider?: boolean;
|
|
11826
|
+
hideIndicator?: boolean;
|
|
11827
|
+
disableAnimation?: boolean;
|
|
11828
|
+
disableIndicatorAnimation?: boolean;
|
|
11829
|
+
disallowEmptySelection?: boolean;
|
|
11830
|
+
keepContentMounted?: boolean;
|
|
11831
|
+
fullWidth?: boolean;
|
|
11832
|
+
disabledKeys?: string[];
|
|
11833
|
+
selectedKeys?: string[];
|
|
11834
|
+
defaultSelectedKeys?: string[];
|
|
11835
|
+
className?: string;
|
|
11836
|
+
key: string;
|
|
10923
11837
|
};
|
|
10924
11838
|
default: (key: string) => {
|
|
10925
|
-
|
|
10926
|
-
title
|
|
10927
|
-
|
|
10928
|
-
|
|
10929
|
-
|
|
10930
|
-
|
|
10931
|
-
|
|
10932
|
-
|
|
10933
|
-
|
|
10934
|
-
|
|
10935
|
-
|
|
10936
|
-
|
|
10937
|
-
|
|
10938
|
-
|
|
10939
|
-
|
|
10940
|
-
|
|
10941
|
-
|
|
10942
|
-
|
|
10943
|
-
|
|
10944
|
-
|
|
10945
|
-
|
|
10946
|
-
toString(): string;
|
|
11839
|
+
componentType: string;
|
|
11840
|
+
title?: string;
|
|
11841
|
+
description?: string;
|
|
11842
|
+
children?: AccordionItemProps[];
|
|
11843
|
+
variant?: "light" | "shadow" | "bordered" | "splitted";
|
|
11844
|
+
selectionMode?: "none" | "single" | "multiple";
|
|
11845
|
+
selectionBehavior?: "toggle" | "replace";
|
|
11846
|
+
isCompact?: boolean;
|
|
11847
|
+
isDisabled?: boolean;
|
|
11848
|
+
showDivider?: boolean;
|
|
11849
|
+
hideIndicator?: boolean;
|
|
11850
|
+
disableAnimation?: boolean;
|
|
11851
|
+
disableIndicatorAnimation?: boolean;
|
|
11852
|
+
disallowEmptySelection?: boolean;
|
|
11853
|
+
keepContentMounted?: boolean;
|
|
11854
|
+
fullWidth?: boolean;
|
|
11855
|
+
disabledKeys?: string[];
|
|
11856
|
+
selectedKeys?: string[];
|
|
11857
|
+
defaultSelectedKeys?: string[];
|
|
11858
|
+
className?: string;
|
|
11859
|
+
key: string;
|
|
10947
11860
|
};
|
|
10948
|
-
|
|
10949
|
-
|
|
10950
|
-
title
|
|
10951
|
-
|
|
10952
|
-
|
|
10953
|
-
|
|
10954
|
-
|
|
10955
|
-
|
|
10956
|
-
|
|
10957
|
-
|
|
10958
|
-
|
|
10959
|
-
|
|
10960
|
-
|
|
10961
|
-
|
|
10962
|
-
|
|
10963
|
-
fullWidth: (full?: boolean) => /*elided*/ any;
|
|
10964
|
-
disabledKeys: (keys: string[]) => /*elided*/ any;
|
|
10965
|
-
selectedKeys: (keys: string[]) => /*elided*/ any;
|
|
10966
|
-
defaultSelectedKeys: (keys: string[]) => /*elided*/ any;
|
|
10967
|
-
options: (options: AccordionProps) => /*elided*/ any;
|
|
10968
|
-
toJSON: () => AccordionProps;
|
|
10969
|
-
_componentType: ComponentType;
|
|
10970
|
-
toString(): string;
|
|
11861
|
+
createItem: (key: string, options?: Omit<AccordionItemProps, "key" | "componentType">) => {
|
|
11862
|
+
componentType: string;
|
|
11863
|
+
title?: string;
|
|
11864
|
+
description?: string;
|
|
11865
|
+
children?: Children[] | undefined;
|
|
11866
|
+
isCompact?: boolean;
|
|
11867
|
+
isDisabled?: boolean;
|
|
11868
|
+
hideIndicator?: boolean;
|
|
11869
|
+
disableAnimation?: boolean;
|
|
11870
|
+
disableIndicatorAnimation?: boolean;
|
|
11871
|
+
keepContentMounted?: boolean;
|
|
11872
|
+
className?: string;
|
|
11873
|
+
subtitle?: string;
|
|
11874
|
+
indicator?: boolean;
|
|
11875
|
+
key: string;
|
|
10971
11876
|
};
|
|
10972
|
-
createItem: (key: string) => AccordionItem;
|
|
10973
11877
|
};
|
|
10974
11878
|
/** 手风琴Pro */
|
|
10975
11879
|
accordionPro: {
|
|
10976
|
-
create: (key: string, data: Record<string, any>[]) => {
|
|
10977
|
-
|
|
10978
|
-
|
|
10979
|
-
title
|
|
10980
|
-
|
|
10981
|
-
|
|
10982
|
-
|
|
10983
|
-
|
|
10984
|
-
|
|
10985
|
-
|
|
10986
|
-
|
|
10987
|
-
|
|
10988
|
-
|
|
10989
|
-
|
|
10990
|
-
|
|
10991
|
-
|
|
10992
|
-
|
|
10993
|
-
|
|
10994
|
-
|
|
10995
|
-
|
|
10996
|
-
|
|
10997
|
-
|
|
10998
|
-
|
|
10999
|
-
toString(): string;
|
|
11000
|
-
};
|
|
11001
|
-
default: (key: string) => {
|
|
11002
|
-
data: (data: Record<string, any>[]) => /*elided*/ any;
|
|
11003
|
-
_config: AccordionProProps;
|
|
11004
|
-
title: (title: string) => /*elided*/ any;
|
|
11005
|
-
children: (children: AccordionItem[]) => /*elided*/ any;
|
|
11006
|
-
variant: (variant: AccordionProps["variant"]) => /*elided*/ any;
|
|
11007
|
-
selectionMode: (mode: AccordionProps["selectionMode"]) => /*elided*/ any;
|
|
11008
|
-
selectionBehavior: (behavior: AccordionProps["selectionBehavior"]) => /*elided*/ any;
|
|
11009
|
-
compact: (isCompact?: boolean) => /*elided*/ any;
|
|
11010
|
-
disabled: (isDisabled?: boolean) => /*elided*/ any;
|
|
11011
|
-
showDivider: (show?: boolean) => /*elided*/ any;
|
|
11012
|
-
hideIndicator: (hide?: boolean) => /*elided*/ any;
|
|
11013
|
-
disableAnimation: (disable?: boolean) => /*elided*/ any;
|
|
11014
|
-
disableIndicatorAnimation: (disable?: boolean) => /*elided*/ any;
|
|
11015
|
-
disallowEmptySelection: (disallow?: boolean) => /*elided*/ any;
|
|
11016
|
-
keepContentMounted: (keep?: boolean) => /*elided*/ any;
|
|
11017
|
-
fullWidth: (full?: boolean) => /*elided*/ any;
|
|
11018
|
-
disabledKeys: (keys: string[]) => /*elided*/ any;
|
|
11019
|
-
selectedKeys: (keys: string[]) => /*elided*/ any;
|
|
11020
|
-
defaultSelectedKeys: (keys: string[]) => /*elided*/ any;
|
|
11021
|
-
options: (options: AccordionProProps) => /*elided*/ any;
|
|
11022
|
-
toJSON: () => AccordionProProps;
|
|
11023
|
-
_componentType: ComponentType;
|
|
11024
|
-
toString(): string;
|
|
11025
|
-
};
|
|
11026
|
-
options: (key: string, options: AccordionProProps) => {
|
|
11027
|
-
data: (data: Record<string, any>[]) => /*elided*/ any;
|
|
11028
|
-
_config: AccordionProProps;
|
|
11029
|
-
title: (title: string) => /*elided*/ any;
|
|
11030
|
-
children: (children: AccordionItem[]) => /*elided*/ any;
|
|
11031
|
-
variant: (variant: AccordionProps["variant"]) => /*elided*/ any;
|
|
11032
|
-
selectionMode: (mode: AccordionProps["selectionMode"]) => /*elided*/ any;
|
|
11033
|
-
selectionBehavior: (behavior: AccordionProps["selectionBehavior"]) => /*elided*/ any;
|
|
11034
|
-
compact: (isCompact?: boolean) => /*elided*/ any;
|
|
11035
|
-
disabled: (isDisabled?: boolean) => /*elided*/ any;
|
|
11036
|
-
showDivider: (show?: boolean) => /*elided*/ any;
|
|
11037
|
-
hideIndicator: (hide?: boolean) => /*elided*/ any;
|
|
11038
|
-
disableAnimation: (disable?: boolean) => /*elided*/ any;
|
|
11039
|
-
disableIndicatorAnimation: (disable?: boolean) => /*elided*/ any;
|
|
11040
|
-
disallowEmptySelection: (disallow?: boolean) => /*elided*/ any;
|
|
11041
|
-
keepContentMounted: (keep?: boolean) => /*elided*/ any;
|
|
11042
|
-
fullWidth: (full?: boolean) => /*elided*/ any;
|
|
11043
|
-
disabledKeys: (keys: string[]) => /*elided*/ any;
|
|
11044
|
-
selectedKeys: (keys: string[]) => /*elided*/ any;
|
|
11045
|
-
defaultSelectedKeys: (keys: string[]) => /*elided*/ any;
|
|
11046
|
-
options: (options: AccordionProProps) => /*elided*/ any;
|
|
11047
|
-
toJSON: () => AccordionProProps;
|
|
11048
|
-
_componentType: ComponentType;
|
|
11049
|
-
toString(): string;
|
|
11880
|
+
create: (key: string, data: Record<string, any>[], options?: Omit<AccordionProProps, "key" | "componentType" | "data">) => {
|
|
11881
|
+
componentType: string;
|
|
11882
|
+
data?: Record<string, any>[] | undefined;
|
|
11883
|
+
title?: string;
|
|
11884
|
+
description?: string;
|
|
11885
|
+
children?: Omit<AccordionItemProps, "componentType"> | undefined;
|
|
11886
|
+
variant?: "light" | "shadow" | "bordered" | "splitted";
|
|
11887
|
+
selectionMode?: "none" | "single" | "multiple";
|
|
11888
|
+
selectionBehavior?: "toggle" | "replace";
|
|
11889
|
+
isCompact?: boolean;
|
|
11890
|
+
isDisabled?: boolean;
|
|
11891
|
+
showDivider?: boolean;
|
|
11892
|
+
hideIndicator?: boolean;
|
|
11893
|
+
disableAnimation?: boolean;
|
|
11894
|
+
disableIndicatorAnimation?: boolean;
|
|
11895
|
+
disallowEmptySelection?: boolean;
|
|
11896
|
+
keepContentMounted?: boolean;
|
|
11897
|
+
fullWidth?: boolean;
|
|
11898
|
+
disabledKeys?: string[];
|
|
11899
|
+
selectedKeys?: string[];
|
|
11900
|
+
defaultSelectedKeys?: string[];
|
|
11901
|
+
className?: string;
|
|
11902
|
+
key: string;
|
|
11050
11903
|
};
|
|
11051
11904
|
};
|
|
11052
11905
|
/** 手风琴项 */
|
|
11053
11906
|
accordionItem: {
|
|
11054
|
-
create: (key: string) =>
|
|
11907
|
+
create: (key: string, options?: Omit<AccordionItemProps, "key" | "componentType">) => {
|
|
11908
|
+
componentType: string;
|
|
11909
|
+
title?: string;
|
|
11910
|
+
description?: string;
|
|
11911
|
+
children?: Children[] | undefined;
|
|
11912
|
+
isCompact?: boolean;
|
|
11913
|
+
isDisabled?: boolean;
|
|
11914
|
+
hideIndicator?: boolean;
|
|
11915
|
+
disableAnimation?: boolean;
|
|
11916
|
+
disableIndicatorAnimation?: boolean;
|
|
11917
|
+
keepContentMounted?: boolean;
|
|
11918
|
+
className?: string;
|
|
11919
|
+
subtitle?: string;
|
|
11920
|
+
indicator?: boolean;
|
|
11921
|
+
key: string;
|
|
11922
|
+
};
|
|
11923
|
+
default: (key: string, title: string, children?: Children[]) => {
|
|
11924
|
+
componentType: string;
|
|
11925
|
+
title?: string;
|
|
11926
|
+
description?: string;
|
|
11927
|
+
children?: Children[] | undefined;
|
|
11928
|
+
isCompact?: boolean;
|
|
11929
|
+
isDisabled?: boolean;
|
|
11930
|
+
hideIndicator?: boolean;
|
|
11931
|
+
disableAnimation?: boolean;
|
|
11932
|
+
disableIndicatorAnimation?: boolean;
|
|
11933
|
+
keepContentMounted?: boolean;
|
|
11934
|
+
className?: string;
|
|
11935
|
+
subtitle?: string;
|
|
11936
|
+
indicator?: boolean;
|
|
11937
|
+
key: string;
|
|
11938
|
+
};
|
|
11055
11939
|
};
|
|
11056
11940
|
};
|
|
11057
11941
|
type ComponentsClass = typeof divider | ReturnType<typeof input.create> | ReturnType<typeof switchComponent.create>;
|
|
11058
11942
|
|
|
11059
|
-
type AccordionType<T extends 'accordion' | 'accordion-pro'> = T extends 'accordion' ? AccordionProps : AccordionProProps;
|
|
11060
|
-
declare class AccordionBase<T extends 'accordion' | 'accordion-pro'> extends Component<AccordionType<T>> {
|
|
11061
|
-
_config: AccordionType<T>;
|
|
11062
|
-
constructor(key: string, componentType: T);
|
|
11063
|
-
/**
|
|
11064
|
-
* 设置标题
|
|
11065
|
-
* @param title - 标题文本
|
|
11066
|
-
*/
|
|
11067
|
-
title: (title: string) => this;
|
|
11068
|
-
/**
|
|
11069
|
-
* 设置子组件
|
|
11070
|
-
* @param children - 子组件数组
|
|
11071
|
-
*/
|
|
11072
|
-
children: (children: AccordionItem[]) => this;
|
|
11073
|
-
/**
|
|
11074
|
-
* 设置样式变体
|
|
11075
|
-
* @param variant - 样式类型
|
|
11076
|
-
*/
|
|
11077
|
-
variant: (variant: AccordionProps["variant"]) => this;
|
|
11078
|
-
/**
|
|
11079
|
-
* 设置选择模式
|
|
11080
|
-
* @param mode - 选择模式
|
|
11081
|
-
* - none: 无
|
|
11082
|
-
* - single: 单选
|
|
11083
|
-
* - multiple: 多选
|
|
11084
|
-
*/
|
|
11085
|
-
selectionMode: (mode: AccordionProps["selectionMode"]) => this;
|
|
11086
|
-
/**
|
|
11087
|
-
* 设置选择行为
|
|
11088
|
-
* @param behavior - 选择行为
|
|
11089
|
-
* - toggle: 切换
|
|
11090
|
-
* - replace: 替换
|
|
11091
|
-
*/
|
|
11092
|
-
selectionBehavior: (behavior: AccordionProps["selectionBehavior"]) => this;
|
|
11093
|
-
/**
|
|
11094
|
-
* 设置是否紧凑模式
|
|
11095
|
-
* @param isCompact - 是否紧凑
|
|
11096
|
-
*/
|
|
11097
|
-
compact: (isCompact?: boolean) => this;
|
|
11098
|
-
/**
|
|
11099
|
-
* 设置是否禁用
|
|
11100
|
-
* @param isDisabled - 是否禁用
|
|
11101
|
-
*/
|
|
11102
|
-
disabled: (isDisabled?: boolean) => this;
|
|
11103
|
-
/**
|
|
11104
|
-
* 设置是否显示分隔线
|
|
11105
|
-
* @param show - 是否显示
|
|
11106
|
-
*/
|
|
11107
|
-
showDivider: (show?: boolean) => this;
|
|
11108
|
-
/**
|
|
11109
|
-
* 设置是否隐藏指示器
|
|
11110
|
-
* @param hide - 是否隐藏
|
|
11111
|
-
*/
|
|
11112
|
-
hideIndicator: (hide?: boolean) => this;
|
|
11113
|
-
/**
|
|
11114
|
-
* 设置是否禁用动画
|
|
11115
|
-
* @param disable - 是否禁用
|
|
11116
|
-
*/
|
|
11117
|
-
disableAnimation: (disable?: boolean) => this;
|
|
11118
|
-
/**
|
|
11119
|
-
* 设置是否禁用指示器动画
|
|
11120
|
-
* @param disable - 是否禁用
|
|
11121
|
-
*/
|
|
11122
|
-
disableIndicatorAnimation: (disable?: boolean) => this;
|
|
11123
|
-
/**
|
|
11124
|
-
* 设置是否不允许空选择
|
|
11125
|
-
* @param disallow - 是否不允许
|
|
11126
|
-
*/
|
|
11127
|
-
disallowEmptySelection: (disallow?: boolean) => this;
|
|
11128
|
-
/**
|
|
11129
|
-
* 设置是否保持内容挂载
|
|
11130
|
-
* @param keep - 是否保持
|
|
11131
|
-
*/
|
|
11132
|
-
keepContentMounted: (keep?: boolean) => this;
|
|
11133
|
-
/**
|
|
11134
|
-
* 设置是否全宽
|
|
11135
|
-
* @param full - 是否全宽
|
|
11136
|
-
*/
|
|
11137
|
-
fullWidth: (full?: boolean) => this;
|
|
11138
|
-
/**
|
|
11139
|
-
* 设置禁用的键
|
|
11140
|
-
* @param keys - 禁用的键数组
|
|
11141
|
-
*/
|
|
11142
|
-
disabledKeys: (keys: string[]) => this;
|
|
11143
|
-
/**
|
|
11144
|
-
* 设置选中项
|
|
11145
|
-
* @param keys - 选中的键数组
|
|
11146
|
-
*/
|
|
11147
|
-
selectedKeys: (keys: string[]) => this;
|
|
11148
|
-
/**
|
|
11149
|
-
* 设置默认选中项
|
|
11150
|
-
* @param keys - 默认选中的键数组
|
|
11151
|
-
*/
|
|
11152
|
-
defaultSelectedKeys: (keys: string[]) => this;
|
|
11153
|
-
/**
|
|
11154
|
-
* 自定义配置
|
|
11155
|
-
* @param options - 配置选项
|
|
11156
|
-
*/
|
|
11157
|
-
options: (options: AccordionType<T>) => this;
|
|
11158
|
-
/**
|
|
11159
|
-
* 转换为JSON对象
|
|
11160
|
-
* @description 手风琴比较特殊 需要子组件也进行转换
|
|
11161
|
-
*/
|
|
11162
|
-
toJSON: () => AccordionType<T>;
|
|
11163
|
-
}
|
|
11164
|
-
declare class Accordion extends AccordionBase<'accordion'> {
|
|
11165
|
-
constructor(key: string);
|
|
11166
|
-
}
|
|
11167
|
-
declare class AccordionPro extends AccordionBase<'accordion-pro'> {
|
|
11168
|
-
constructor(key: string);
|
|
11169
|
-
/**
|
|
11170
|
-
* 设置渲染数据
|
|
11171
|
-
* @param data - 渲染数据
|
|
11172
|
-
*/
|
|
11173
|
-
data: (data: Record<string, any>[]) => this;
|
|
11174
|
-
}
|
|
11175
|
-
/**
|
|
11176
|
-
* 手风琴子组件
|
|
11177
|
-
*/
|
|
11178
|
-
declare class AccordionItem extends Component<AccordionItemProps> {
|
|
11179
|
-
_config: AccordionItemProps;
|
|
11180
|
-
constructor(key: string);
|
|
11181
|
-
/**
|
|
11182
|
-
* 设置子组件
|
|
11183
|
-
* @param children - 子组件数组
|
|
11184
|
-
*/
|
|
11185
|
-
children: (children: ComponentsClass | ComponentsClass[]) => this;
|
|
11186
|
-
/**
|
|
11187
|
-
* 设置标题
|
|
11188
|
-
* @param title - 标题文本
|
|
11189
|
-
*/
|
|
11190
|
-
title: (title: string) => this;
|
|
11191
|
-
/**
|
|
11192
|
-
* 设置副标题
|
|
11193
|
-
* @param subtitle - 副标题文本
|
|
11194
|
-
*/
|
|
11195
|
-
subtitle: (subtitle: string) => this;
|
|
11196
|
-
/**
|
|
11197
|
-
* 设置是否显示指示器
|
|
11198
|
-
* @param hide - 是否隐藏
|
|
11199
|
-
*/
|
|
11200
|
-
hideIndicator: (hide?: boolean) => this;
|
|
11201
|
-
/**
|
|
11202
|
-
* 设置是否紧凑模式
|
|
11203
|
-
* @param isCompact - 是否紧凑
|
|
11204
|
-
*/
|
|
11205
|
-
compact: (isCompact?: boolean) => this;
|
|
11206
|
-
/**
|
|
11207
|
-
* 设置是否禁用
|
|
11208
|
-
* @param isDisabled - 是否禁用
|
|
11209
|
-
*/
|
|
11210
|
-
disabled: (isDisabled?: boolean) => this;
|
|
11211
|
-
/**
|
|
11212
|
-
* 设置是否保持内容挂载
|
|
11213
|
-
* @param keep - 是否保持
|
|
11214
|
-
*/
|
|
11215
|
-
keepContentMounted: (keep?: boolean) => this;
|
|
11216
|
-
/**
|
|
11217
|
-
* 设置是否禁用动画
|
|
11218
|
-
* @param disable - 是否禁用
|
|
11219
|
-
*/
|
|
11220
|
-
disableAnimation: (disable?: boolean) => this;
|
|
11221
|
-
/**
|
|
11222
|
-
* 设置是否禁用指示器动画
|
|
11223
|
-
* @param disable - 是否禁用
|
|
11224
|
-
*/
|
|
11225
|
-
disableIndicatorAnimation: (disable?: boolean) => this;
|
|
11226
|
-
/**
|
|
11227
|
-
* 自定义配置
|
|
11228
|
-
* @param options - 配置选项
|
|
11229
|
-
*/
|
|
11230
|
-
options: (options: AccordionItemProps) => this;
|
|
11231
|
-
/**
|
|
11232
|
-
* 转换为JSON对象
|
|
11233
|
-
* @description 手风琴比较特殊 需要子组件也进行转换
|
|
11234
|
-
*/
|
|
11235
|
-
toJSON: () => AccordionItemProps;
|
|
11236
|
-
}
|
|
11237
|
-
/**
|
|
11238
|
-
* 手风琴组件构建器
|
|
11239
|
-
*/
|
|
11240
|
-
declare const accordion: {
|
|
11241
|
-
/**
|
|
11242
|
-
* 创建基础手风琴组件
|
|
11243
|
-
* @param key - 唯一标识符
|
|
11244
|
-
*/
|
|
11245
|
-
create: (key: string) => Accordion;
|
|
11246
|
-
/**
|
|
11247
|
-
* 创建默认配置的手风琴组件
|
|
11248
|
-
* @param key - 唯一标识符
|
|
11249
|
-
*/
|
|
11250
|
-
default: (key: string) => Accordion;
|
|
11251
|
-
/**
|
|
11252
|
-
* 使用自定义配置创建手风琴组件
|
|
11253
|
-
* @param key - 唯一标识符
|
|
11254
|
-
* @param options - 配置选项
|
|
11255
|
-
*/
|
|
11256
|
-
options: (key: string, options: AccordionProps) => Accordion;
|
|
11257
|
-
/**
|
|
11258
|
-
* 创建手风琴子项
|
|
11259
|
-
* @param key - 唯一标识符
|
|
11260
|
-
*/
|
|
11261
|
-
createItem: (key: string) => AccordionItem;
|
|
11262
|
-
};
|
|
11263
|
-
/**
|
|
11264
|
-
* 手风琴Pro组件构建器
|
|
11265
|
-
*/
|
|
11266
|
-
declare const accordionPro: {
|
|
11267
|
-
/**
|
|
11268
|
-
* 创建基础手风琴组件
|
|
11269
|
-
* @param key - 唯一标识符
|
|
11270
|
-
*/
|
|
11271
|
-
create: (key: string, data: Record<string, any>[]) => AccordionPro;
|
|
11272
|
-
/**
|
|
11273
|
-
* 创建默认配置的手风琴组件
|
|
11274
|
-
* @param key - 唯一标识符
|
|
11275
|
-
*/
|
|
11276
|
-
default: (key: string) => AccordionPro;
|
|
11277
|
-
/**
|
|
11278
|
-
* 使用自定义配置创建手风琴组件
|
|
11279
|
-
* @param key - 唯一标识符
|
|
11280
|
-
* @param options - 配置选项
|
|
11281
|
-
*/
|
|
11282
|
-
options: (key: string, options: AccordionProProps) => AccordionPro;
|
|
11283
|
-
};
|
|
11284
|
-
/**
|
|
11285
|
-
* 手风琴子组件构建器
|
|
11286
|
-
*/
|
|
11287
|
-
declare const accordionItem: {
|
|
11288
|
-
/**
|
|
11289
|
-
* 创建手风琴子项
|
|
11290
|
-
* @param key - 唯一标识符
|
|
11291
|
-
*/
|
|
11292
|
-
create: (key: string) => AccordionItem;
|
|
11293
|
-
};
|
|
11294
|
-
|
|
11295
11943
|
/**
|
|
11296
11944
|
* 获取插件
|
|
11297
11945
|
* @param type 获取插件的方式
|
|
@@ -11552,4 +12200,4 @@ declare let level: ReturnType<typeof createLevelDB>;
|
|
|
11552
12200
|
*/
|
|
11553
12201
|
declare const start: () => Promise<void>;
|
|
11554
12202
|
|
|
11555
|
-
export { type Accept, AccordionItem, type AccordionItemProps, type AccordionProProps, type AccordionProps, type AccountInfo, type Adapter, AdapterBase, type AdapterCommunication, type AdapterInfo, AdapterOneBot, type AdapterOptions, type AdapterPlatform, type AdapterProtocol, type AdapterStandard, type AdapterType, type Adapters, type AllPluginMethods, type AnonymousSegment, type Apps, type ArrayField, type AtElement, type AtSegment, type BaseContact, BaseEvent, type BaseEventOptions, type BaseEventType, type BasketballElement, Bot, type BoundingBox, type BubbleFaceElement, type Button, type ButtonElement, type Cache, type CacheEntry, type CheckboxField, type Children, type CmdFnc, type Command, type CommandClass, type ComponentProps, type ComponentType, type ComponentsClass, type Config, type Contact, type ContactElement, type ContactSegment, type Count, type CreateGroupFolderResponse, type CustomMusicElement, type CustomMusicSegment, type CustomNodeElement, type CustomNodeSegments, type DbStreamStatus, type DbStreams, type DiceElement, type DiceSegment, type DirectContact, DirectMessage, type DirectMessageOptions, type DirectNodeElement, type DirectNodeSegment, type DirectSender, type DividerField, type DividerProps, type DownloadFileOptions, type DownloadFileResponse, EVENT_COUNT, type ElementTypes, type Elements, type Env, type Event, type EventParent, type EventToSubEvent, type ExecOptions, type ExecReturn, type ExecType, FILE_CHANGE, type FaceElement, type FaceSegment, type FieldType, type FileElement, type FileList, type FileListMap, type FileSegment, type FileToUrlHandler, type FileToUrlResult, type FormField, type ForwardOptions, type ForwardSegment, type FriendContact, type FriendData, FriendDecreaseNotice, type FriendDecreaseOptions, FriendIncreaseNotice, type FriendIncreaseOptions, FriendMessage, type FriendMessageOptions, type FriendNoticeEventMap, type FriendRequestEventMap, type FriendRequestOptions, type FriendSender, type GetAtAllCountResponse, type GetBot, type GetGroupFileListResponse, type GetGroupFileSystemInfoResponse, type GetGroupHighlightsResponse, type GetGroupInfo, type GetGroupMemberInfo, type GetGroupMuteListResponse, type GetMsg, type GetPluginReturn, type GetPluginType, type GiftElement, type GoToOptions, GroupAdminChangedNotice, type GroupAdminChangedOptions, GroupApplyRequest, type GroupApplyRequestOptions, GroupCardChangedNotice, type GroupCardChangedOptions, type GroupContact, type GroupData, GroupFileUploadedNotice, type GroupFileUploadedOptions, GroupHlightsChangedNotice, type GroupHlightsChangedOptions, GroupHonorChangedNotice, type GroupHonorChangedOptions, type GroupInfo, GroupInviteRequest, type GroupInviteRequestOptions, GroupLuckKingNotice, type GroupLuckKingOptions, GroupMemberBanNotice, type GroupMemberBanOptions, type GroupMemberData, GroupMemberDecreaseNotice, type GroupMemberDecreaseOptions, GroupMemberIncreaseNotice, type GroupMemberIncreaseOptions, type GroupMemberInfo, GroupMemberTitleUpdatedNotice, type GroupMemberUniqueTitleChangedOptions, GroupMessage, type GroupMessageOptions, GroupMessageReactionNotice, type GroupMessageReactionOptions, GroupNotice, type GroupNoticeEventMap, GroupPokeNotice, type GroupPokeOptions, GroupRecallNotice, type GroupRecallOptions, type GroupRequestEventMap, type GroupSender, GroupSignInNotice, type GroupSignInOptions, type GroupTempContact, GroupTempMessage, type GroupTempMessageOptions, type GroupTempSender, GroupWholeBanNotice, type GroupWholeBanOptions, type Groups, type GroupsObjectValue, type GuildContact, GuildMessage, type GuildMessageOptions, type GuildSender, type Handler, type HandlerType, type HonorInfoList, type ImageElement, type ImageSegment, InputDataType, type InputProps, type JsonElement, type JsonSegment, type KarinButton, type KeyboardElement, type LocationElement, type LocationSegment, type Log, type Logger, type LoggerExpand, type LoggerLevel, type LoggerOptions, type LongMsgElement, type MarkdownElement, type MarkdownTplElement, type MarketFaceElement, type Message$2 as Message, MessageBase, type MessageEventMap, type MessageEventSub, type MessageOptions, type MessageResponse, type MetaEventBase, type MusicElement, type MusicPlatform, type MusicSegment, type NodeElement, type Notice, type NoticeAndRequest, NoticeBase, type NoticeEventMap, type NoticeEventSub, type NoticeOptions, type NumberField, type OB11AllEvent, OB11ApiAction, type OB11ApiParams, type OB11ApiRequest, OB11Event, type OB11EventBase, type OB11FriendSender, type OB11GroupMessage, type OB11GroupSender, type OB11GroupTempMessage, type OB11Message, OB11MessageSubType, OB11MessageType, type OB11Meta, type OB11NodeSegment, type OB11Notice, type OB11NoticeBaseType, OB11NoticeType, type OB11OtherFriendMessage, type OB11PrivateMessage, type OB11Request, type OB11RequestBaseType, OB11RequestType, type OB11Segment, type OB11SegmentBase, type OB11SegmentType, OB11Sex, type OB11serInfo, type ObjectArrayField, type ObjectField, type OneBot11FriendAdd, type OneBot11FriendRecall, type OneBot11FriendRequest, type OneBot11GroupAdmin, type OneBot11GroupBan, type OneBot11GroupCard, type OneBot11GroupDecrease, type OneBot11GroupEssence, type OneBot11GroupIncrease, type OneBot11GroupMessageReaction, type OneBot11GroupMessageReactionLagrange, type OneBot11GroupRecall, type OneBot11GroupRequest, type OneBot11GroupUpload, type OneBot11Heartbeat, type OneBot11Honor, type OneBot11Lifecycle, type OneBot11LuckyKing, type OneBot11Poke, type OnlinePluginInfo, type Option, type Options, type PM2, type Package, type Parser, type PasmsgElement, type Permission, type PkgData, type PkgInfo, Plugin, type PluginFile, type PluginFncTypes, type PluginLists, type PluginOptions, type PluginRule, type PluginUpdateInfo, type Point, type PokeSegment, PrivateApplyRequest, type PrivateApplyRequestOptions, PrivateFileUploadedNotice, type PrivateFileUploadedOptions, PrivatePokeNotice, type PrivatePokeOptions, PrivateRecallNotice, type PrivateRecallOptions, type Privates, type PrivatesObjectValue, type PuppeteerLifeCycleEvent, type QQBotButton, type QQButtonTextType, type QQGroupFileInfo, type QQGroupFolderInfo, type QQGroupHonorInfo, RECV_MSG, type RadioField, type RawElement, type ReadyMusicElement, ReceiveLikeNotice, type ReceiveLikeOptions, type RecordElement, type RecordSegment, type Redis, type Render, type RenderResult, Renderer, type Renders, type Reply, type ReplyElement, type ReplySegment, type Request, RequestBase, type RequestEventMap, type RequestEventSub, type RequestOptions, type RequireFunction, type RequireFunctionSync, type RequireOptions, type Role, type RpsElement, type RpsSegment, SEND_MSG, type SandBoxAccountInfo, type SandboxMsgRecord, type SandboxSendApi, type SandboxSendSendFriendMsg, type SandboxSendSendGroupMsg, type SandboxSendSendMsg, type Scene, type ScreenshotClip, type ScreenshotOptions, type SectionField, type Segment, type SelectField, type SendElement, type SendForwardMessageResponse, type SendMessage, type SendMsgResults, type Sender, type SenderBase, type SenderGroup, type Sex, type ShakeSegment, type ShareElement, type ShareSegment, type SrcReply, type SwitchField, type SwitchProps, type Task, type TextElement, type TextField, type TextSegment, type TitleField, type UnregisterBot, type UserInfo, type ValidationRule, type ValueType, type VideoElement, type VideoSegment, type WaitForOptions, Watch, Watcher, type WeatherElement, type XmlElement, type XmlSegment, type YamlComment, YamlEditor, type YamlValue, absPath, accordion, accordionItem, accordionPro, app, applyComments, base64, buffer, buttonHandle, callRender, changelog, checkGitPluginUpdate, checkPkgUpdate, clearRequire, clearRequireFile, comment, index$1 as common, components, index as config, contact, contactDirect, contactFriend, contactGroup, contactGroupTemp, contactGuild, copyConfig, copyConfigSync, copyFiles, copyFilesSync, createDirectMessage, createFriendDecreaseNotice, createFriendIncreaseNotice, createFriendMessage, createGroupAdminChangedNotice, createGroupApplyRequest, createGroupCardChangedNotice, createGroupFileUploadedNotice, createGroupHlightsChangedNotice, createGroupHonorChangedNotice, createGroupInviteRequest, createGroupLuckKingNotice, createGroupMemberAddNotice, createGroupMemberBanNotice, createGroupMemberDelNotice, createGroupMemberTitleUpdatedNotice, createGroupMessage, createGroupMessageReactionNotice, createGroupPokeNotice, createGroupRecallNotice, createGroupSignInNotice, createGroupTempMessage, createGroupWholeBanNotice, createGuildMessage, createInnerLogger, createPluginDir, createPrivateApplyRequest, createPrivateFileUploadedNotice, createPrivatePokeNotice, createPrivateRecallNotice, createRawMessage, createReceiveLikeNotice, debug, karin as default, divider, downFile, errorToString, exec, existToMkdir, existToMkdirSync, exists, existsSync, ffmpeg, ffplay, ffprobe, fs as file, fileToUrl, fileToUrlHandlerKey, filesByExt, formatTime$1 as formatTime, index$3 as fs, getAllBot, getAllBotID, getAllBotList, getBot, getBotCount, getCommit, getFiles, getHash, getPid, getPkgVersion, getPluginInfo, getPlugins, getRelPath, getRemotePkgVersion, getRender, getRenderCount, getRenderList, getRequestIp, getTime, handler$1 as handler, importModule, initOneBot, input, isClass, isDir, isDirSync, isDocker, isFile, isFileSync, isIPv4Loop, isIPv6Loop, isLinux, isLocalRequest, isLoopback, isMac, isPlugin, isRoot, isStatic, isSubPath, isWin, json$1 as json, karin, karinToQQBot, key, level, lock, lockMethod, lockProp, log, logger, logs, makeForward, makeMessage, type messageType, mkdir, mkdirSync, parseChangelog, pkgRoot, qqbotToKarin, randomStr, range, read, readFile, readJson, readJsonSync, redis, registerBot, registerRender, render, renderHtml, renderMultiHtml, requireFile, requireFileSync, restart, restartDirect, rmSync, save, type screenshot, segment, sendMsg, sender, senderDirect, senderFriend, senderGroup, senderGroupTemp, senderGuild, sep, server, splitPath, start, stream, stringifyError, switchComponent, index$2 as system, unregisterBot, unregisterRender, updateAllGitPlugin, updateAllPkg, updateGitPlugin, updatePkg, uptime$1 as uptime, urlToPath, watch, watchAndMerge, write, writeJson, writeJsonSync, yaml };
|
|
12203
|
+
export { type Accept, type AccordionItemProps, type AccordionKV, type AccordionProProps, type AccordionProResult, type AccordionProps, type AccordionResult, type AccountInfo, type Adapter, AdapterBase, type AdapterCommunication, type AdapterInfo, AdapterOneBot, type AdapterOptions, type AdapterPlatform, type AdapterProtocol, type AdapterStandard, type AdapterType, type Adapters, type AllPluginMethods, type AnonymousSegment, type Apps, type ArrayField, type AtElement, type AtSegment, type BaseContact, BaseEvent, type BaseEventOptions, type BaseEventType, type BasketballElement, Bot, type BoundingBox, type BubbleFaceElement, type Button, type ButtonElement, type Cache, type CacheEntry, type CheckboxField, type CheckboxGroupProps, type CheckboxProps, type CheckboxResult, type Children, type CmdFnc, type Command, type CommandClass, type ComponentProps, type ComponentType, type ComponentsClass, type Config, type Contact, type ContactElement, type ContactSegment, type Count, type CreateGroupFolderResponse, type CustomMusicElement, type CustomMusicSegment, type CustomNodeElement, type CustomNodeSegments, type DbStreamStatus, type DbStreams, type DiceElement, type DiceSegment, type DirectContact, DirectMessage, type DirectMessageOptions, type DirectNodeElement, type DirectNodeSegment, type DirectSender, type DividerField, type DividerProps, type DownloadFileOptions, type DownloadFileResponse, EVENT_COUNT, type ElementTypes, type Elements, type Env, type Event, type EventParent, type EventToSubEvent, type ExecOptions, type ExecReturn, type ExecType, FILE_CHANGE, type FaceElement, type FaceSegment, type FieldType, type FileElement, type FileList, type FileListMap, type FileSegment, type FileToUrlHandler, type FileToUrlResult, type FormField, type ForwardOptions, type ForwardSegment, type FriendContact, type FriendData, FriendDecreaseNotice, type FriendDecreaseOptions, FriendIncreaseNotice, type FriendIncreaseOptions, FriendMessage, type FriendMessageOptions, type FriendNoticeEventMap, type FriendRequestEventMap, type FriendRequestOptions, type FriendSender, type GetAtAllCountResponse, type GetBot, type GetGroupFileListResponse, type GetGroupFileSystemInfoResponse, type GetGroupHighlightsResponse, type GetGroupInfo, type GetGroupMemberInfo, type GetGroupMuteListResponse, type GetMsg, type GetPluginReturn, type GetPluginType, type GiftElement, type GoToOptions, GroupAdminChangedNotice, type GroupAdminChangedOptions, GroupApplyRequest, type GroupApplyRequestOptions, GroupCardChangedNotice, type GroupCardChangedOptions, type GroupContact, type GroupData, GroupFileUploadedNotice, type GroupFileUploadedOptions, GroupHlightsChangedNotice, type GroupHlightsChangedOptions, GroupHonorChangedNotice, type GroupHonorChangedOptions, type GroupInfo, GroupInviteRequest, type GroupInviteRequestOptions, GroupLuckKingNotice, type GroupLuckKingOptions, GroupMemberBanNotice, type GroupMemberBanOptions, type GroupMemberData, GroupMemberDecreaseNotice, type GroupMemberDecreaseOptions, GroupMemberIncreaseNotice, type GroupMemberIncreaseOptions, type GroupMemberInfo, GroupMemberTitleUpdatedNotice, type GroupMemberUniqueTitleChangedOptions, GroupMessage, type GroupMessageOptions, GroupMessageReactionNotice, type GroupMessageReactionOptions, GroupNotice, type GroupNoticeEventMap, GroupPokeNotice, type GroupPokeOptions, GroupRecallNotice, type GroupRecallOptions, type GroupRequestEventMap, type GroupSender, GroupSignInNotice, type GroupSignInOptions, type GroupTempContact, GroupTempMessage, type GroupTempMessageOptions, type GroupTempSender, GroupWholeBanNotice, type GroupWholeBanOptions, type Groups, type GroupsObjectValue, type GuildContact, GuildMessage, type GuildMessageOptions, type GuildSender, type Handler, type HandlerType, type HonorInfoList, type ImageElement, type ImageSegment, InputDataType, type InputProps, type InputResult, type JsonElement, type JsonSegment, type KarinButton, type KeyboardElement, type LocationElement, type LocationSegment, type Log, type Logger, type LoggerExpand, type LoggerLevel, type LoggerOptions, type LongMsgElement, type MarkdownElement, type MarkdownTplElement, type MarketFaceElement, type Message$2 as Message, MessageBase, type MessageEventMap, type MessageEventSub, type MessageOptions, type MessageResponse, type MetaEventBase, type MusicElement, type MusicPlatform, type MusicSegment, type NodeElement, type Notice, type NoticeAndRequest, NoticeBase, type NoticeEventMap, type NoticeEventSub, type NoticeOptions, type NumberField, type OB11AllEvent, OB11ApiAction, type OB11ApiParams, type OB11ApiRequest, OB11Event, type OB11EventBase, type OB11FriendSender, type OB11GroupMessage, type OB11GroupSender, type OB11GroupTempMessage, type OB11Message, OB11MessageSubType, OB11MessageType, type OB11Meta, type OB11NodeSegment, type OB11Notice, type OB11NoticeBaseType, OB11NoticeType, type OB11OtherFriendMessage, type OB11PrivateMessage, type OB11Request, type OB11RequestBaseType, OB11RequestType, type OB11Segment, type OB11SegmentBase, type OB11SegmentType, OB11Sex, type OB11serInfo, type ObjectArrayField, type ObjectField, type OneBot11FriendAdd, type OneBot11FriendRecall, type OneBot11FriendRequest, type OneBot11GroupAdmin, type OneBot11GroupBan, type OneBot11GroupCard, type OneBot11GroupDecrease, type OneBot11GroupEssence, type OneBot11GroupIncrease, type OneBot11GroupMessageReaction, type OneBot11GroupMessageReactionLagrange, type OneBot11GroupRecall, type OneBot11GroupRequest, type OneBot11GroupUpload, type OneBot11Heartbeat, type OneBot11Honor, type OneBot11Lifecycle, type OneBot11LuckyKing, type OneBot11Poke, type OnlinePluginInfo, type Option, type Options, type PM2, type Package, type Parser, type PasmsgElement, type Permission, type PkgData, type PkgInfo, Plugin, type PluginFile, type PluginFncTypes, type PluginLists, type PluginOptions, type PluginRule, type PluginUpdateInfo, type Point, type PokeSegment, PrivateApplyRequest, type PrivateApplyRequestOptions, PrivateFileUploadedNotice, type PrivateFileUploadedOptions, PrivatePokeNotice, type PrivatePokeOptions, PrivateRecallNotice, type PrivateRecallOptions, type Privates, type PrivatesObjectValue, type PuppeteerLifeCycleEvent, type QQBotButton, type QQButtonTextType, type QQGroupFileInfo, type QQGroupFolderInfo, type QQGroupHonorInfo, RECV_MSG, type Radio, type RadioField, type RadioGroupProps, type RadioResult, type RawElement, type ReadyMusicElement, ReceiveLikeNotice, type ReceiveLikeOptions, type RecordElement, type RecordSegment, type Redis, type Render, type RenderResult, Renderer, type Renders, type Reply, type ReplyElement, type ReplySegment, type Request, RequestBase, type RequestEventMap, type RequestEventSub, type RequestOptions, type RequireFunction, type RequireFunctionSync, type RequireOptions, type Role, type RpsElement, type RpsSegment, SEND_MSG, type SandBoxAccountInfo, type SandboxMsgRecord, type SandboxSendApi, type SandboxSendSendFriendMsg, type SandboxSendSendGroupMsg, type SandboxSendSendMsg, type SaveResult, type Scene, type ScreenshotClip, type ScreenshotOptions, type SectionField, type Segment, type SelectField, type SendElement, type SendForwardMessageResponse, type SendMessage, type SendMsgResults, type Sender, type SenderBase, type SenderGroup, type Sex, type ShakeSegment, type ShareElement, type ShareSegment, type SrcReply, type SwitchField, type SwitchProps, type SwitchResult, type Task, type TextElement, type TextField, type TextSegment, type TitleField, type UnregisterBot, type UserInfo, type ValidationRule, type ValueType, type VideoElement, type VideoSegment, type WaitForOptions, Watch, Watcher, type WeatherElement, type XmlElement, type XmlSegment, type YamlComment, YamlEditor, type YamlValue, absPath, accordion, accordionItem, accordionPro, app, applyComments, base64, buffer, buttonHandle, callRender, changelog, checkGitPluginUpdate, checkPkgUpdate, clearRequire, clearRequireFile, comment, index$1 as common, components, index as config, contact, contactDirect, contactFriend, contactGroup, contactGroupTemp, contactGuild, copyConfig, copyConfigSync, copyFiles, copyFilesSync, createDirectMessage, createFriendDecreaseNotice, createFriendIncreaseNotice, createFriendMessage, createGroupAdminChangedNotice, createGroupApplyRequest, createGroupCardChangedNotice, createGroupFileUploadedNotice, createGroupHlightsChangedNotice, createGroupHonorChangedNotice, createGroupInviteRequest, createGroupLuckKingNotice, createGroupMemberAddNotice, createGroupMemberBanNotice, createGroupMemberDelNotice, createGroupMemberTitleUpdatedNotice, createGroupMessage, createGroupMessageReactionNotice, createGroupPokeNotice, createGroupRecallNotice, createGroupSignInNotice, createGroupTempMessage, createGroupWholeBanNotice, createGuildMessage, createInnerLogger, createPluginDir, createPrivateApplyRequest, createPrivateFileUploadedNotice, createPrivatePokeNotice, createPrivateRecallNotice, createRawMessage, createReceiveLikeNotice, debug, karin as default, divider, downFile, errorToString, exec, existToMkdir, existToMkdirSync, exists, existsSync, ffmpeg, ffplay, ffprobe, fs as file, fileToUrl, fileToUrlHandlerKey, filesByExt, formatTime$1 as formatTime, index$3 as fs, getAllBot, getAllBotID, getAllBotList, getBot, getBotCount, getCommit, getFiles, getHash, getPid, getPkgVersion, getPluginInfo, getPlugins, getRelPath, getRemotePkgVersion, getRender, getRenderCount, getRenderList, getRequestIp, getTime, handler$1 as handler, importModule, initOneBot, input, isClass, isDir, isDirSync, isDocker, isFile, isFileSync, isIPv4Loop, isIPv6Loop, isLinux, isLocalRequest, isLoopback, isMac, isPlugin, isRoot, isStatic, isSubPath, isWin, json$1 as json, karin, karinToQQBot, key, level, lock, lockMethod, lockProp, log, logger, logs, makeForward, makeMessage, type messageType, mkdir, mkdirSync, parseChangelog, pkgRoot, qqbotToKarin, randomStr, range, read, readFile, readJson, readJsonSync, redis, registerBot, registerRender, render, renderHtml, renderMultiHtml, requireFile, requireFileSync, restart, restartDirect, rmSync, save, type screenshot, segment, sendMsg, sender, senderDirect, senderFriend, senderGroup, senderGroupTemp, senderGuild, sep, server, splitPath, start, stream, stringifyError, switchComponent, index$2 as system, unregisterBot, unregisterRender, updateAllGitPlugin, updateAllPkg, updateGitPlugin, updatePkg, uptime$1 as uptime, urlToPath, watch, watchAndMerge, write, writeJson, writeJsonSync, yaml };
|