node-karin 1.3.4 → 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/CHANGELOG.md +7 -0
- package/dist/index.d.ts +1466 -817
- package/dist/index.js +485 -925
- 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
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EventEmitter } from 'node:events';
|
|
1
2
|
import * as chalk from 'chalk';
|
|
2
3
|
import chalk__default from 'chalk';
|
|
3
4
|
import { Logger as Logger$1, Configuration } from 'log4js';
|
|
@@ -10073,6 +10074,38 @@ interface TitleField extends BaseField {
|
|
|
10073
10074
|
}
|
|
10074
10075
|
/** 组件 */
|
|
10075
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;
|
|
10076
10109
|
|
|
10077
10110
|
/**
|
|
10078
10111
|
* 组件类型
|
|
@@ -10082,8 +10115,12 @@ type FormField = TextField | NumberField | SwitchField | SelectField | RadioFiel
|
|
|
10082
10115
|
* - accordion: 手风琴
|
|
10083
10116
|
* - accordion-item: 手风琴项
|
|
10084
10117
|
* - accordion-pro: 手风琴Pro
|
|
10118
|
+
* - checkbox: 复选框
|
|
10119
|
+
* - checkbox-group: 复选框组
|
|
10120
|
+
* - radio: 单选框
|
|
10121
|
+
* - radio-group: 单选框组
|
|
10085
10122
|
*/
|
|
10086
|
-
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';
|
|
10087
10124
|
/** 组件通用属性 */
|
|
10088
10125
|
interface ComponentProps {
|
|
10089
10126
|
/** 唯一标识符 */
|
|
@@ -10092,6 +10129,8 @@ interface ComponentProps {
|
|
|
10092
10129
|
componentType: ComponentType;
|
|
10093
10130
|
/** 描述 */
|
|
10094
10131
|
description?: string;
|
|
10132
|
+
/** 每个渲染的组件都包裹了一个div,这里可以自定义这个div的className */
|
|
10133
|
+
className?: string;
|
|
10095
10134
|
}
|
|
10096
10135
|
|
|
10097
10136
|
/**
|
|
@@ -10269,12 +10308,153 @@ interface SwitchProps extends ComponentProps {
|
|
|
10269
10308
|
disableAnimation?: boolean;
|
|
10270
10309
|
}
|
|
10271
10310
|
|
|
10272
|
-
|
|
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;
|
|
10273
10453
|
|
|
10274
10454
|
/**
|
|
10275
10455
|
* 手风琴(折叠面板) 类型
|
|
10276
10456
|
*/
|
|
10277
|
-
interface Accordion
|
|
10457
|
+
interface Accordion extends ComponentProps {
|
|
10278
10458
|
/** 子组件 */
|
|
10279
10459
|
children?: AccordionItemProps[];
|
|
10280
10460
|
/** 标题 */
|
|
@@ -10331,7 +10511,7 @@ interface Accordion$1 extends ComponentProps {
|
|
|
10331
10511
|
interface AccordionItemProps extends ComponentProps {
|
|
10332
10512
|
componentType: 'accordion-item';
|
|
10333
10513
|
/** 子组件 */
|
|
10334
|
-
children
|
|
10514
|
+
children: Children[];
|
|
10335
10515
|
/** 标题 */
|
|
10336
10516
|
title?: string;
|
|
10337
10517
|
/** 副标题 */
|
|
@@ -10355,78 +10535,185 @@ interface AccordionItemProps extends ComponentProps {
|
|
|
10355
10535
|
disableIndicatorAnimation?: boolean;
|
|
10356
10536
|
}
|
|
10357
10537
|
/** 手风琴 */
|
|
10358
|
-
interface AccordionProps extends Accordion
|
|
10538
|
+
interface AccordionProps extends Accordion {
|
|
10359
10539
|
componentType: 'accordion';
|
|
10360
10540
|
}
|
|
10361
10541
|
/**
|
|
10362
10542
|
* 手风琴Pro
|
|
10363
10543
|
*/
|
|
10364
|
-
interface AccordionProProps extends Accordion
|
|
10544
|
+
interface AccordionProProps extends Omit<Accordion, 'children'> {
|
|
10365
10545
|
componentType: 'accordion-pro';
|
|
10366
10546
|
/** 渲染数据 */
|
|
10367
10547
|
data: Record<string, any>[];
|
|
10548
|
+
/** 子组件 pro只有一个 因为是模板 */
|
|
10549
|
+
children: Omit<AccordionItemProps, 'componentType'>;
|
|
10368
10550
|
}
|
|
10369
10551
|
|
|
10370
|
-
|
|
10371
|
-
|
|
10372
|
-
|
|
10373
|
-
|
|
10374
|
-
/**
|
|
10375
|
-
* 转换为JSON字符串
|
|
10376
|
-
*/
|
|
10377
|
-
toString(): string;
|
|
10378
|
-
/**
|
|
10379
|
-
* 转换为JSON对象
|
|
10380
|
-
*/
|
|
10381
|
-
toJSON(): T;
|
|
10382
|
-
}
|
|
10383
|
-
|
|
10384
|
-
declare class Input extends Component<InputProps> {
|
|
10385
|
-
_config: InputProps;
|
|
10386
|
-
constructor(key: string);
|
|
10387
|
-
/**
|
|
10388
|
-
* 内部属性 仅在`options`中可手动设置,其他方法请不要调用
|
|
10389
|
-
*/
|
|
10390
|
-
_type(dataType: InputDataType): this;
|
|
10391
|
-
/**
|
|
10392
|
-
* 设置标签
|
|
10393
|
-
*/
|
|
10394
|
-
label(label: string): this;
|
|
10395
|
-
/**
|
|
10396
|
-
* 设置占位符
|
|
10397
|
-
*/
|
|
10398
|
-
placeholder(placeholder: string): this;
|
|
10399
|
-
/**
|
|
10400
|
-
* 设置验证规则
|
|
10401
|
-
*/
|
|
10402
|
-
validate(rules: ValidationRule | ValidationRule[]): this;
|
|
10552
|
+
/**
|
|
10553
|
+
* 手风琴组件
|
|
10554
|
+
*/
|
|
10555
|
+
declare const accordion: {
|
|
10403
10556
|
/**
|
|
10404
|
-
*
|
|
10405
|
-
* @param
|
|
10406
|
-
* @
|
|
10557
|
+
* 创建基础手风琴组件
|
|
10558
|
+
* @param key 唯一标识符
|
|
10559
|
+
* @param options 手风琴配置
|
|
10407
10560
|
*/
|
|
10408
|
-
|
|
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
|
+
};
|
|
10409
10584
|
/**
|
|
10410
|
-
*
|
|
10585
|
+
* 创建默认配置的手风琴组件
|
|
10586
|
+
* @param key 唯一标识符
|
|
10411
10587
|
*/
|
|
10412
|
-
|
|
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
|
+
};
|
|
10413
10611
|
/**
|
|
10414
|
-
*
|
|
10612
|
+
* 创建手风琴子项
|
|
10613
|
+
* @param key 唯一标识符
|
|
10614
|
+
* @param options 手风琴子项配置
|
|
10415
10615
|
*/
|
|
10416
|
-
|
|
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: {
|
|
10417
10637
|
/**
|
|
10418
|
-
*
|
|
10638
|
+
* 创建基础手风琴Pro组件
|
|
10639
|
+
* @param key 唯一标识符
|
|
10640
|
+
* @param data 渲染数据
|
|
10641
|
+
* @param options 手风琴Pro配置
|
|
10419
10642
|
*/
|
|
10420
|
-
|
|
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: {
|
|
10421
10672
|
/**
|
|
10422
|
-
*
|
|
10673
|
+
* 创建手风琴子项
|
|
10674
|
+
* @param key 唯一标识符
|
|
10675
|
+
* @param options 手风琴子项配置
|
|
10423
10676
|
*/
|
|
10424
|
-
|
|
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
|
+
};
|
|
10425
10693
|
/**
|
|
10426
|
-
*
|
|
10694
|
+
* 创建默认配置的手风琴子项
|
|
10695
|
+
* @param key 唯一标识符
|
|
10696
|
+
* @param title 标题
|
|
10697
|
+
* @param children 子组件
|
|
10427
10698
|
*/
|
|
10428
|
-
|
|
10429
|
-
|
|
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
|
+
|
|
10430
10717
|
/**
|
|
10431
10718
|
* 输入框
|
|
10432
10719
|
*/
|
|
@@ -10434,863 +10721,1225 @@ declare const input: {
|
|
|
10434
10721
|
/**
|
|
10435
10722
|
* 创建基础输入框
|
|
10436
10723
|
* @param key 唯一标识符
|
|
10724
|
+
* @param options 输入框配置
|
|
10437
10725
|
*/
|
|
10438
|
-
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
|
+
};
|
|
10439
10759
|
/**
|
|
10440
|
-
*
|
|
10760
|
+
* 字符串输入框
|
|
10441
10761
|
* @param key 唯一标识符
|
|
10762
|
+
* @param config 输入框配置
|
|
10442
10763
|
*/
|
|
10443
|
-
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
|
+
};
|
|
10444
10797
|
/**
|
|
10445
|
-
*
|
|
10798
|
+
* 数字输入框
|
|
10446
10799
|
* @param key 唯一标识符
|
|
10800
|
+
* @param config 输入框配置
|
|
10447
10801
|
*/
|
|
10448
|
-
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
|
+
};
|
|
10449
10835
|
/**
|
|
10450
|
-
*
|
|
10836
|
+
* 布尔值输入框
|
|
10451
10837
|
* @param key 唯一标识符
|
|
10838
|
+
* @param config 输入框配置
|
|
10452
10839
|
*/
|
|
10453
|
-
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
|
+
};
|
|
10454
10873
|
/**
|
|
10455
|
-
*
|
|
10874
|
+
* 日期输入框
|
|
10456
10875
|
* @param key 唯一标识符
|
|
10876
|
+
* @param config 输入框配置
|
|
10457
10877
|
*/
|
|
10458
|
-
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
|
+
};
|
|
10459
10911
|
/**
|
|
10460
|
-
*
|
|
10912
|
+
* 时间输入框
|
|
10461
10913
|
* @param key 唯一标识符
|
|
10914
|
+
* @param config 输入框配置
|
|
10462
10915
|
*/
|
|
10463
|
-
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
|
+
};
|
|
10464
10949
|
/**
|
|
10465
|
-
*
|
|
10950
|
+
* 日期时间输入框
|
|
10466
10951
|
* @param key 唯一标识符
|
|
10952
|
+
* @param config 输入框配置
|
|
10467
10953
|
*/
|
|
10468
|
-
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
|
+
};
|
|
10469
10987
|
/**
|
|
10470
|
-
*
|
|
10988
|
+
* 邮箱输入框
|
|
10471
10989
|
* @param key 唯一标识符
|
|
10990
|
+
* @param config 输入框配置
|
|
10472
10991
|
*/
|
|
10473
|
-
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
|
+
};
|
|
10474
11025
|
/**
|
|
10475
|
-
* URL
|
|
11026
|
+
* URL输入框
|
|
10476
11027
|
* @param key 唯一标识符
|
|
11028
|
+
* @param config 输入框配置
|
|
10477
11029
|
*/
|
|
10478
|
-
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
|
+
};
|
|
10479
11063
|
/**
|
|
10480
|
-
*
|
|
11064
|
+
* 电话输入框
|
|
10481
11065
|
* @param key 唯一标识符
|
|
11066
|
+
* @param config 输入框配置
|
|
10482
11067
|
*/
|
|
10483
|
-
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
|
+
};
|
|
10484
11101
|
/**
|
|
10485
|
-
*
|
|
11102
|
+
* 密码输入框
|
|
10486
11103
|
* @param key 唯一标识符
|
|
11104
|
+
* @param config 输入框配置
|
|
10487
11105
|
*/
|
|
10488
|
-
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
|
+
};
|
|
10489
11139
|
/**
|
|
10490
|
-
*
|
|
11140
|
+
* 颜色输入框
|
|
10491
11141
|
* @param key 唯一标识符
|
|
11142
|
+
* @param config 输入框配置
|
|
10492
11143
|
*/
|
|
10493
|
-
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
|
+
};
|
|
10494
11177
|
/**
|
|
10495
|
-
* JSON
|
|
11178
|
+
* JSON输入框
|
|
10496
11179
|
* @param key 唯一标识符
|
|
11180
|
+
* @param config 输入框配置
|
|
10497
11181
|
*/
|
|
10498
|
-
json: (key: string) =>
|
|
10499
|
-
|
|
10500
|
-
|
|
10501
|
-
|
|
10502
|
-
|
|
10503
|
-
|
|
10504
|
-
|
|
10505
|
-
|
|
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
|
+
};
|
|
10506
11215
|
};
|
|
10507
11216
|
|
|
10508
|
-
declare class Divider extends Component<DividerProps> {
|
|
10509
|
-
_config: DividerProps;
|
|
10510
|
-
constructor();
|
|
10511
|
-
/**
|
|
10512
|
-
* 设置透明
|
|
10513
|
-
* @param transparent 是否透明 默认不透明
|
|
10514
|
-
*/
|
|
10515
|
-
transparent(transparent: boolean): this;
|
|
10516
|
-
/**
|
|
10517
|
-
* 设置竖向分隔线
|
|
10518
|
-
* @param orientation 是否使用竖向分隔线 默认使用横向
|
|
10519
|
-
*/
|
|
10520
|
-
vertical(orientation: boolean): this;
|
|
10521
|
-
/**
|
|
10522
|
-
* 转换为 JSON 对象
|
|
10523
|
-
* @returns JSON 对象
|
|
10524
|
-
*/
|
|
10525
|
-
toJSON(): DividerProps;
|
|
10526
|
-
}
|
|
10527
11217
|
/**
|
|
10528
|
-
*
|
|
10529
|
-
* @returns 分隔线组件
|
|
11218
|
+
* 开关组件
|
|
10530
11219
|
*/
|
|
10531
|
-
declare const
|
|
10532
|
-
|
|
10533
|
-
declare class Switch extends Component<SwitchProps> {
|
|
10534
|
-
_config: SwitchProps;
|
|
10535
|
-
constructor(key: string);
|
|
10536
|
-
/**
|
|
10537
|
-
* 设置开始文本
|
|
10538
|
-
* @param text 开始文本
|
|
10539
|
-
*/
|
|
10540
|
-
startText: (text: string) => this;
|
|
10541
|
-
/**
|
|
10542
|
-
* 设置结束文本
|
|
10543
|
-
* @param text 结束文本
|
|
10544
|
-
*/
|
|
10545
|
-
endText: (text: string) => this;
|
|
10546
|
-
/**
|
|
10547
|
-
* 设置大小
|
|
10548
|
-
* @param size 大小
|
|
10549
|
-
*/
|
|
10550
|
-
size: (size: "sm" | "md" | "lg") => this;
|
|
10551
|
-
/**
|
|
10552
|
-
* 设置颜色
|
|
10553
|
-
* @param color 颜色
|
|
10554
|
-
*/
|
|
10555
|
-
color: (color: "default" | "primary" | "secondary" | "success" | "warning" | "danger") => this;
|
|
10556
|
-
/**
|
|
10557
|
-
* 设置开关图标
|
|
10558
|
-
* @param icon 图标
|
|
10559
|
-
*/
|
|
10560
|
-
thumbIcon: (icon: string) => this;
|
|
10561
|
-
/**
|
|
10562
|
-
* 设置开始内容图标
|
|
10563
|
-
* @param icon 图标
|
|
10564
|
-
*/
|
|
10565
|
-
startContent: (icon: string) => this;
|
|
10566
|
-
/**
|
|
10567
|
-
* 设置结束内容图标
|
|
10568
|
-
* @param icon 图标
|
|
10569
|
-
*/
|
|
10570
|
-
endContent: (icon: string) => this;
|
|
10571
|
-
/**
|
|
10572
|
-
* 设置是否被选中(只读)
|
|
10573
|
-
* @param selected 是否被选中
|
|
10574
|
-
*/
|
|
10575
|
-
selected: (selected?: boolean) => this;
|
|
10576
|
-
/**
|
|
10577
|
-
* 设置默认选中状态
|
|
10578
|
-
* @param selected 是否默认选中
|
|
10579
|
-
*/
|
|
10580
|
-
defaultSelected: (selected?: boolean) => this;
|
|
10581
|
-
/**
|
|
10582
|
-
* 设置是否只读
|
|
10583
|
-
* @param readonly 是否只读
|
|
10584
|
-
*/
|
|
10585
|
-
readonly: (readonly?: boolean) => this;
|
|
10586
|
-
/**
|
|
10587
|
-
* 设置是否禁用
|
|
10588
|
-
* @param disabled 是否禁用
|
|
10589
|
-
*/
|
|
10590
|
-
disabled: (disabled?: boolean) => this;
|
|
11220
|
+
declare const switchComponent: {
|
|
10591
11221
|
/**
|
|
10592
|
-
*
|
|
10593
|
-
* @param
|
|
10594
|
-
|
|
10595
|
-
|
|
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
|
+
};
|
|
10596
11244
|
/**
|
|
10597
|
-
*
|
|
10598
|
-
* @param
|
|
10599
|
-
|
|
10600
|
-
|
|
10601
|
-
|
|
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
|
+
|
|
10602
11269
|
/**
|
|
10603
|
-
*
|
|
11270
|
+
* 分隔线组件
|
|
10604
11271
|
*/
|
|
10605
|
-
declare const
|
|
11272
|
+
declare const divider: {
|
|
10606
11273
|
/**
|
|
10607
|
-
*
|
|
11274
|
+
* 创建基础分隔线
|
|
10608
11275
|
* @param key 唯一标识符
|
|
11276
|
+
* @param options 分隔线配置
|
|
10609
11277
|
*/
|
|
10610
|
-
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
|
+
};
|
|
10611
11286
|
/**
|
|
10612
|
-
*
|
|
11287
|
+
* 创建水平分隔线
|
|
10613
11288
|
* @param key 唯一标识符
|
|
10614
|
-
* @param
|
|
11289
|
+
* @param config 分隔线配置
|
|
10615
11290
|
*/
|
|
10616
|
-
|
|
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
|
+
};
|
|
10617
11312
|
};
|
|
10618
11313
|
|
|
10619
11314
|
declare const components: {
|
|
10620
11315
|
/** 分隔线 */
|
|
10621
11316
|
divider: {
|
|
10622
|
-
|
|
10623
|
-
|
|
10624
|
-
|
|
10625
|
-
|
|
10626
|
-
|
|
10627
|
-
|
|
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
|
+
};
|
|
10628
11341
|
};
|
|
10629
11342
|
/** 输入框 */
|
|
10630
11343
|
input: {
|
|
10631
|
-
create: (key: string) => {
|
|
10632
|
-
|
|
10633
|
-
|
|
10634
|
-
|
|
10635
|
-
|
|
10636
|
-
|
|
10637
|
-
|
|
10638
|
-
color
|
|
10639
|
-
|
|
10640
|
-
|
|
10641
|
-
|
|
10642
|
-
|
|
10643
|
-
|
|
10644
|
-
|
|
10645
|
-
|
|
10646
|
-
|
|
10647
|
-
|
|
10648
|
-
|
|
10649
|
-
|
|
10650
|
-
|
|
10651
|
-
|
|
10652
|
-
|
|
10653
|
-
|
|
10654
|
-
|
|
10655
|
-
|
|
10656
|
-
|
|
10657
|
-
|
|
10658
|
-
|
|
10659
|
-
|
|
10660
|
-
|
|
10661
|
-
|
|
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;
|
|
10662
11376
|
};
|
|
10663
|
-
|
|
10664
|
-
|
|
10665
|
-
|
|
10666
|
-
|
|
10667
|
-
|
|
10668
|
-
|
|
10669
|
-
|
|
10670
|
-
color
|
|
10671
|
-
|
|
10672
|
-
|
|
10673
|
-
|
|
10674
|
-
|
|
10675
|
-
|
|
10676
|
-
|
|
10677
|
-
|
|
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;
|
|
10678
11409
|
};
|
|
10679
|
-
|
|
10680
|
-
|
|
10681
|
-
|
|
10682
|
-
|
|
10683
|
-
|
|
10684
|
-
|
|
10685
|
-
|
|
10686
|
-
color
|
|
10687
|
-
|
|
10688
|
-
|
|
10689
|
-
|
|
10690
|
-
|
|
10691
|
-
|
|
10692
|
-
|
|
10693
|
-
|
|
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;
|
|
10694
11442
|
};
|
|
10695
|
-
|
|
10696
|
-
|
|
10697
|
-
|
|
10698
|
-
|
|
10699
|
-
|
|
10700
|
-
|
|
10701
|
-
|
|
10702
|
-
color
|
|
10703
|
-
|
|
10704
|
-
|
|
10705
|
-
|
|
10706
|
-
|
|
10707
|
-
|
|
10708
|
-
|
|
10709
|
-
|
|
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;
|
|
10710
11475
|
};
|
|
10711
|
-
|
|
10712
|
-
|
|
10713
|
-
|
|
10714
|
-
|
|
10715
|
-
|
|
10716
|
-
|
|
10717
|
-
|
|
10718
|
-
color
|
|
10719
|
-
|
|
10720
|
-
|
|
10721
|
-
|
|
10722
|
-
|
|
10723
|
-
|
|
10724
|
-
|
|
10725
|
-
|
|
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;
|
|
10726
11508
|
};
|
|
10727
|
-
|
|
10728
|
-
|
|
10729
|
-
|
|
10730
|
-
|
|
10731
|
-
|
|
10732
|
-
|
|
10733
|
-
|
|
10734
|
-
color
|
|
10735
|
-
|
|
10736
|
-
|
|
10737
|
-
|
|
10738
|
-
|
|
10739
|
-
|
|
10740
|
-
|
|
10741
|
-
|
|
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;
|
|
10742
11541
|
};
|
|
10743
|
-
|
|
10744
|
-
|
|
10745
|
-
|
|
10746
|
-
|
|
10747
|
-
|
|
10748
|
-
|
|
10749
|
-
|
|
10750
|
-
color
|
|
10751
|
-
|
|
10752
|
-
|
|
10753
|
-
|
|
10754
|
-
|
|
10755
|
-
|
|
10756
|
-
|
|
10757
|
-
|
|
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;
|
|
10758
11574
|
};
|
|
10759
|
-
|
|
10760
|
-
|
|
10761
|
-
|
|
10762
|
-
|
|
10763
|
-
|
|
10764
|
-
|
|
10765
|
-
|
|
10766
|
-
color
|
|
10767
|
-
|
|
10768
|
-
|
|
10769
|
-
|
|
10770
|
-
|
|
10771
|
-
|
|
10772
|
-
|
|
10773
|
-
|
|
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;
|
|
10774
11607
|
};
|
|
10775
|
-
|
|
10776
|
-
|
|
10777
|
-
|
|
10778
|
-
|
|
10779
|
-
|
|
10780
|
-
|
|
10781
|
-
|
|
10782
|
-
color
|
|
10783
|
-
|
|
10784
|
-
|
|
10785
|
-
|
|
10786
|
-
|
|
10787
|
-
|
|
10788
|
-
|
|
10789
|
-
|
|
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;
|
|
10790
11640
|
};
|
|
10791
|
-
|
|
10792
|
-
|
|
10793
|
-
|
|
10794
|
-
|
|
10795
|
-
|
|
10796
|
-
|
|
10797
|
-
|
|
10798
|
-
color
|
|
10799
|
-
|
|
10800
|
-
|
|
10801
|
-
|
|
10802
|
-
|
|
10803
|
-
|
|
10804
|
-
|
|
10805
|
-
|
|
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;
|
|
10806
11673
|
};
|
|
10807
|
-
|
|
10808
|
-
|
|
10809
|
-
|
|
10810
|
-
|
|
10811
|
-
|
|
10812
|
-
|
|
10813
|
-
|
|
10814
|
-
color
|
|
10815
|
-
|
|
10816
|
-
|
|
10817
|
-
|
|
10818
|
-
|
|
10819
|
-
|
|
10820
|
-
|
|
10821
|
-
|
|
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;
|
|
10822
11706
|
};
|
|
10823
|
-
|
|
10824
|
-
|
|
10825
|
-
|
|
10826
|
-
|
|
10827
|
-
|
|
10828
|
-
|
|
10829
|
-
|
|
10830
|
-
color
|
|
10831
|
-
|
|
10832
|
-
|
|
10833
|
-
|
|
10834
|
-
|
|
10835
|
-
|
|
10836
|
-
|
|
10837
|
-
|
|
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;
|
|
10838
11739
|
};
|
|
10839
|
-
|
|
10840
|
-
|
|
10841
|
-
|
|
10842
|
-
|
|
10843
|
-
|
|
10844
|
-
|
|
10845
|
-
|
|
10846
|
-
color
|
|
10847
|
-
|
|
10848
|
-
|
|
10849
|
-
|
|
10850
|
-
|
|
10851
|
-
|
|
10852
|
-
|
|
10853
|
-
|
|
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;
|
|
10854
11772
|
};
|
|
10855
11773
|
};
|
|
10856
11774
|
/** 开关 */
|
|
10857
11775
|
switch: {
|
|
10858
|
-
create: (key: string) => {
|
|
10859
|
-
|
|
10860
|
-
|
|
10861
|
-
|
|
10862
|
-
|
|
10863
|
-
|
|
10864
|
-
|
|
10865
|
-
|
|
10866
|
-
|
|
10867
|
-
|
|
10868
|
-
|
|
10869
|
-
|
|
10870
|
-
|
|
10871
|
-
|
|
10872
|
-
|
|
10873
|
-
|
|
10874
|
-
|
|
10875
|
-
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;
|
|
10876
11793
|
};
|
|
10877
|
-
options: (key: string,
|
|
10878
|
-
|
|
10879
|
-
|
|
10880
|
-
|
|
10881
|
-
|
|
10882
|
-
|
|
10883
|
-
|
|
10884
|
-
|
|
10885
|
-
|
|
10886
|
-
|
|
10887
|
-
|
|
10888
|
-
|
|
10889
|
-
|
|
10890
|
-
|
|
10891
|
-
|
|
10892
|
-
|
|
10893
|
-
|
|
10894
|
-
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;
|
|
10895
11811
|
};
|
|
10896
11812
|
};
|
|
10897
11813
|
/** 手风琴 */
|
|
10898
11814
|
accordion: {
|
|
10899
|
-
create: (key: string) => {
|
|
10900
|
-
|
|
10901
|
-
title
|
|
10902
|
-
|
|
10903
|
-
|
|
10904
|
-
|
|
10905
|
-
|
|
10906
|
-
|
|
10907
|
-
|
|
10908
|
-
|
|
10909
|
-
|
|
10910
|
-
|
|
10911
|
-
|
|
10912
|
-
|
|
10913
|
-
|
|
10914
|
-
|
|
10915
|
-
|
|
10916
|
-
|
|
10917
|
-
|
|
10918
|
-
|
|
10919
|
-
|
|
10920
|
-
|
|
10921
|
-
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;
|
|
10922
11837
|
};
|
|
10923
11838
|
default: (key: string) => {
|
|
10924
|
-
|
|
10925
|
-
title
|
|
10926
|
-
|
|
10927
|
-
|
|
10928
|
-
|
|
10929
|
-
|
|
10930
|
-
|
|
10931
|
-
|
|
10932
|
-
|
|
10933
|
-
|
|
10934
|
-
|
|
10935
|
-
|
|
10936
|
-
|
|
10937
|
-
|
|
10938
|
-
|
|
10939
|
-
|
|
10940
|
-
|
|
10941
|
-
|
|
10942
|
-
|
|
10943
|
-
|
|
10944
|
-
|
|
10945
|
-
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;
|
|
10946
11860
|
};
|
|
10947
|
-
|
|
10948
|
-
|
|
10949
|
-
title
|
|
10950
|
-
|
|
10951
|
-
|
|
10952
|
-
|
|
10953
|
-
|
|
10954
|
-
|
|
10955
|
-
|
|
10956
|
-
|
|
10957
|
-
|
|
10958
|
-
|
|
10959
|
-
|
|
10960
|
-
|
|
10961
|
-
|
|
10962
|
-
fullWidth: (full?: boolean) => /*elided*/ any;
|
|
10963
|
-
disabledKeys: (keys: string[]) => /*elided*/ any;
|
|
10964
|
-
selectedKeys: (keys: string[]) => /*elided*/ any;
|
|
10965
|
-
defaultSelectedKeys: (keys: string[]) => /*elided*/ any;
|
|
10966
|
-
options: (options: AccordionProps) => /*elided*/ any;
|
|
10967
|
-
toJSON: () => AccordionProps;
|
|
10968
|
-
_componentType: ComponentType;
|
|
10969
|
-
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;
|
|
10970
11876
|
};
|
|
10971
|
-
createItem: (key: string) => AccordionItem;
|
|
10972
11877
|
};
|
|
10973
11878
|
/** 手风琴Pro */
|
|
10974
11879
|
accordionPro: {
|
|
10975
|
-
create: (key: string, data: Record<string, any>[]) => {
|
|
10976
|
-
|
|
10977
|
-
|
|
10978
|
-
title
|
|
10979
|
-
|
|
10980
|
-
|
|
10981
|
-
|
|
10982
|
-
|
|
10983
|
-
|
|
10984
|
-
|
|
10985
|
-
|
|
10986
|
-
|
|
10987
|
-
|
|
10988
|
-
|
|
10989
|
-
|
|
10990
|
-
|
|
10991
|
-
|
|
10992
|
-
|
|
10993
|
-
|
|
10994
|
-
|
|
10995
|
-
|
|
10996
|
-
|
|
10997
|
-
|
|
10998
|
-
toString(): string;
|
|
10999
|
-
};
|
|
11000
|
-
default: (key: string) => {
|
|
11001
|
-
data: (data: Record<string, any>[]) => /*elided*/ any;
|
|
11002
|
-
_config: AccordionProProps;
|
|
11003
|
-
title: (title: string) => /*elided*/ any;
|
|
11004
|
-
children: (children: AccordionItem[]) => /*elided*/ any;
|
|
11005
|
-
variant: (variant: AccordionProps["variant"]) => /*elided*/ any;
|
|
11006
|
-
selectionMode: (mode: AccordionProps["selectionMode"]) => /*elided*/ any;
|
|
11007
|
-
selectionBehavior: (behavior: AccordionProps["selectionBehavior"]) => /*elided*/ any;
|
|
11008
|
-
compact: (isCompact?: boolean) => /*elided*/ any;
|
|
11009
|
-
disabled: (isDisabled?: boolean) => /*elided*/ any;
|
|
11010
|
-
showDivider: (show?: boolean) => /*elided*/ any;
|
|
11011
|
-
hideIndicator: (hide?: boolean) => /*elided*/ any;
|
|
11012
|
-
disableAnimation: (disable?: boolean) => /*elided*/ any;
|
|
11013
|
-
disableIndicatorAnimation: (disable?: boolean) => /*elided*/ any;
|
|
11014
|
-
disallowEmptySelection: (disallow?: boolean) => /*elided*/ any;
|
|
11015
|
-
keepContentMounted: (keep?: boolean) => /*elided*/ any;
|
|
11016
|
-
fullWidth: (full?: boolean) => /*elided*/ any;
|
|
11017
|
-
disabledKeys: (keys: string[]) => /*elided*/ any;
|
|
11018
|
-
selectedKeys: (keys: string[]) => /*elided*/ any;
|
|
11019
|
-
defaultSelectedKeys: (keys: string[]) => /*elided*/ any;
|
|
11020
|
-
options: (options: AccordionProProps) => /*elided*/ any;
|
|
11021
|
-
toJSON: () => AccordionProProps;
|
|
11022
|
-
_componentType: ComponentType;
|
|
11023
|
-
toString(): string;
|
|
11024
|
-
};
|
|
11025
|
-
options: (key: string, options: AccordionProProps) => {
|
|
11026
|
-
data: (data: Record<string, any>[]) => /*elided*/ any;
|
|
11027
|
-
_config: AccordionProProps;
|
|
11028
|
-
title: (title: string) => /*elided*/ any;
|
|
11029
|
-
children: (children: AccordionItem[]) => /*elided*/ any;
|
|
11030
|
-
variant: (variant: AccordionProps["variant"]) => /*elided*/ any;
|
|
11031
|
-
selectionMode: (mode: AccordionProps["selectionMode"]) => /*elided*/ any;
|
|
11032
|
-
selectionBehavior: (behavior: AccordionProps["selectionBehavior"]) => /*elided*/ any;
|
|
11033
|
-
compact: (isCompact?: boolean) => /*elided*/ any;
|
|
11034
|
-
disabled: (isDisabled?: boolean) => /*elided*/ any;
|
|
11035
|
-
showDivider: (show?: boolean) => /*elided*/ any;
|
|
11036
|
-
hideIndicator: (hide?: boolean) => /*elided*/ any;
|
|
11037
|
-
disableAnimation: (disable?: boolean) => /*elided*/ any;
|
|
11038
|
-
disableIndicatorAnimation: (disable?: boolean) => /*elided*/ any;
|
|
11039
|
-
disallowEmptySelection: (disallow?: boolean) => /*elided*/ any;
|
|
11040
|
-
keepContentMounted: (keep?: boolean) => /*elided*/ any;
|
|
11041
|
-
fullWidth: (full?: boolean) => /*elided*/ any;
|
|
11042
|
-
disabledKeys: (keys: string[]) => /*elided*/ any;
|
|
11043
|
-
selectedKeys: (keys: string[]) => /*elided*/ any;
|
|
11044
|
-
defaultSelectedKeys: (keys: string[]) => /*elided*/ any;
|
|
11045
|
-
options: (options: AccordionProProps) => /*elided*/ any;
|
|
11046
|
-
toJSON: () => AccordionProProps;
|
|
11047
|
-
_componentType: ComponentType;
|
|
11048
|
-
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;
|
|
11049
11903
|
};
|
|
11050
11904
|
};
|
|
11051
11905
|
/** 手风琴项 */
|
|
11052
11906
|
accordionItem: {
|
|
11053
|
-
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
|
+
};
|
|
11054
11939
|
};
|
|
11055
11940
|
};
|
|
11056
11941
|
type ComponentsClass = typeof divider | ReturnType<typeof input.create> | ReturnType<typeof switchComponent.create>;
|
|
11057
11942
|
|
|
11058
|
-
type AccordionType<T extends 'accordion' | 'accordion-pro'> = T extends 'accordion' ? AccordionProps : AccordionProProps;
|
|
11059
|
-
declare class AccordionBase<T extends 'accordion' | 'accordion-pro'> extends Component<AccordionType<T>> {
|
|
11060
|
-
_config: AccordionType<T>;
|
|
11061
|
-
constructor(key: string, componentType: T);
|
|
11062
|
-
/**
|
|
11063
|
-
* 设置标题
|
|
11064
|
-
* @param title - 标题文本
|
|
11065
|
-
*/
|
|
11066
|
-
title: (title: string) => this;
|
|
11067
|
-
/**
|
|
11068
|
-
* 设置子组件
|
|
11069
|
-
* @param children - 子组件数组
|
|
11070
|
-
*/
|
|
11071
|
-
children: (children: AccordionItem[]) => this;
|
|
11072
|
-
/**
|
|
11073
|
-
* 设置样式变体
|
|
11074
|
-
* @param variant - 样式类型
|
|
11075
|
-
*/
|
|
11076
|
-
variant: (variant: AccordionProps["variant"]) => this;
|
|
11077
|
-
/**
|
|
11078
|
-
* 设置选择模式
|
|
11079
|
-
* @param mode - 选择模式
|
|
11080
|
-
* - none: 无
|
|
11081
|
-
* - single: 单选
|
|
11082
|
-
* - multiple: 多选
|
|
11083
|
-
*/
|
|
11084
|
-
selectionMode: (mode: AccordionProps["selectionMode"]) => this;
|
|
11085
|
-
/**
|
|
11086
|
-
* 设置选择行为
|
|
11087
|
-
* @param behavior - 选择行为
|
|
11088
|
-
* - toggle: 切换
|
|
11089
|
-
* - replace: 替换
|
|
11090
|
-
*/
|
|
11091
|
-
selectionBehavior: (behavior: AccordionProps["selectionBehavior"]) => this;
|
|
11092
|
-
/**
|
|
11093
|
-
* 设置是否紧凑模式
|
|
11094
|
-
* @param isCompact - 是否紧凑
|
|
11095
|
-
*/
|
|
11096
|
-
compact: (isCompact?: boolean) => this;
|
|
11097
|
-
/**
|
|
11098
|
-
* 设置是否禁用
|
|
11099
|
-
* @param isDisabled - 是否禁用
|
|
11100
|
-
*/
|
|
11101
|
-
disabled: (isDisabled?: boolean) => this;
|
|
11102
|
-
/**
|
|
11103
|
-
* 设置是否显示分隔线
|
|
11104
|
-
* @param show - 是否显示
|
|
11105
|
-
*/
|
|
11106
|
-
showDivider: (show?: boolean) => this;
|
|
11107
|
-
/**
|
|
11108
|
-
* 设置是否隐藏指示器
|
|
11109
|
-
* @param hide - 是否隐藏
|
|
11110
|
-
*/
|
|
11111
|
-
hideIndicator: (hide?: boolean) => this;
|
|
11112
|
-
/**
|
|
11113
|
-
* 设置是否禁用动画
|
|
11114
|
-
* @param disable - 是否禁用
|
|
11115
|
-
*/
|
|
11116
|
-
disableAnimation: (disable?: boolean) => this;
|
|
11117
|
-
/**
|
|
11118
|
-
* 设置是否禁用指示器动画
|
|
11119
|
-
* @param disable - 是否禁用
|
|
11120
|
-
*/
|
|
11121
|
-
disableIndicatorAnimation: (disable?: boolean) => this;
|
|
11122
|
-
/**
|
|
11123
|
-
* 设置是否不允许空选择
|
|
11124
|
-
* @param disallow - 是否不允许
|
|
11125
|
-
*/
|
|
11126
|
-
disallowEmptySelection: (disallow?: boolean) => this;
|
|
11127
|
-
/**
|
|
11128
|
-
* 设置是否保持内容挂载
|
|
11129
|
-
* @param keep - 是否保持
|
|
11130
|
-
*/
|
|
11131
|
-
keepContentMounted: (keep?: boolean) => this;
|
|
11132
|
-
/**
|
|
11133
|
-
* 设置是否全宽
|
|
11134
|
-
* @param full - 是否全宽
|
|
11135
|
-
*/
|
|
11136
|
-
fullWidth: (full?: boolean) => this;
|
|
11137
|
-
/**
|
|
11138
|
-
* 设置禁用的键
|
|
11139
|
-
* @param keys - 禁用的键数组
|
|
11140
|
-
*/
|
|
11141
|
-
disabledKeys: (keys: string[]) => this;
|
|
11142
|
-
/**
|
|
11143
|
-
* 设置选中项
|
|
11144
|
-
* @param keys - 选中的键数组
|
|
11145
|
-
*/
|
|
11146
|
-
selectedKeys: (keys: string[]) => this;
|
|
11147
|
-
/**
|
|
11148
|
-
* 设置默认选中项
|
|
11149
|
-
* @param keys - 默认选中的键数组
|
|
11150
|
-
*/
|
|
11151
|
-
defaultSelectedKeys: (keys: string[]) => this;
|
|
11152
|
-
/**
|
|
11153
|
-
* 自定义配置
|
|
11154
|
-
* @param options - 配置选项
|
|
11155
|
-
*/
|
|
11156
|
-
options: (options: AccordionType<T>) => this;
|
|
11157
|
-
/**
|
|
11158
|
-
* 转换为JSON对象
|
|
11159
|
-
* @description 手风琴比较特殊 需要子组件也进行转换
|
|
11160
|
-
*/
|
|
11161
|
-
toJSON: () => AccordionType<T>;
|
|
11162
|
-
}
|
|
11163
|
-
declare class Accordion extends AccordionBase<'accordion'> {
|
|
11164
|
-
constructor(key: string);
|
|
11165
|
-
}
|
|
11166
|
-
declare class AccordionPro extends AccordionBase<'accordion-pro'> {
|
|
11167
|
-
constructor(key: string);
|
|
11168
|
-
/**
|
|
11169
|
-
* 设置渲染数据
|
|
11170
|
-
* @param data - 渲染数据
|
|
11171
|
-
*/
|
|
11172
|
-
data: (data: Record<string, any>[]) => this;
|
|
11173
|
-
}
|
|
11174
|
-
/**
|
|
11175
|
-
* 手风琴子组件
|
|
11176
|
-
*/
|
|
11177
|
-
declare class AccordionItem extends Component<AccordionItemProps> {
|
|
11178
|
-
_config: AccordionItemProps;
|
|
11179
|
-
constructor(key: string);
|
|
11180
|
-
/**
|
|
11181
|
-
* 设置子组件
|
|
11182
|
-
* @param children - 子组件数组
|
|
11183
|
-
*/
|
|
11184
|
-
children: (children: ComponentsClass | ComponentsClass[]) => this;
|
|
11185
|
-
/**
|
|
11186
|
-
* 设置标题
|
|
11187
|
-
* @param title - 标题文本
|
|
11188
|
-
*/
|
|
11189
|
-
title: (title: string) => this;
|
|
11190
|
-
/**
|
|
11191
|
-
* 设置副标题
|
|
11192
|
-
* @param subtitle - 副标题文本
|
|
11193
|
-
*/
|
|
11194
|
-
subtitle: (subtitle: string) => this;
|
|
11195
|
-
/**
|
|
11196
|
-
* 设置是否显示指示器
|
|
11197
|
-
* @param hide - 是否隐藏
|
|
11198
|
-
*/
|
|
11199
|
-
hideIndicator: (hide?: boolean) => this;
|
|
11200
|
-
/**
|
|
11201
|
-
* 设置是否紧凑模式
|
|
11202
|
-
* @param isCompact - 是否紧凑
|
|
11203
|
-
*/
|
|
11204
|
-
compact: (isCompact?: boolean) => this;
|
|
11205
|
-
/**
|
|
11206
|
-
* 设置是否禁用
|
|
11207
|
-
* @param isDisabled - 是否禁用
|
|
11208
|
-
*/
|
|
11209
|
-
disabled: (isDisabled?: boolean) => this;
|
|
11210
|
-
/**
|
|
11211
|
-
* 设置是否保持内容挂载
|
|
11212
|
-
* @param keep - 是否保持
|
|
11213
|
-
*/
|
|
11214
|
-
keepContentMounted: (keep?: boolean) => this;
|
|
11215
|
-
/**
|
|
11216
|
-
* 设置是否禁用动画
|
|
11217
|
-
* @param disable - 是否禁用
|
|
11218
|
-
*/
|
|
11219
|
-
disableAnimation: (disable?: boolean) => this;
|
|
11220
|
-
/**
|
|
11221
|
-
* 设置是否禁用指示器动画
|
|
11222
|
-
* @param disable - 是否禁用
|
|
11223
|
-
*/
|
|
11224
|
-
disableIndicatorAnimation: (disable?: boolean) => this;
|
|
11225
|
-
/**
|
|
11226
|
-
* 自定义配置
|
|
11227
|
-
* @param options - 配置选项
|
|
11228
|
-
*/
|
|
11229
|
-
options: (options: AccordionItemProps) => this;
|
|
11230
|
-
/**
|
|
11231
|
-
* 转换为JSON对象
|
|
11232
|
-
* @description 手风琴比较特殊 需要子组件也进行转换
|
|
11233
|
-
*/
|
|
11234
|
-
toJSON: () => AccordionItemProps;
|
|
11235
|
-
}
|
|
11236
|
-
/**
|
|
11237
|
-
* 手风琴组件构建器
|
|
11238
|
-
*/
|
|
11239
|
-
declare const accordion: {
|
|
11240
|
-
/**
|
|
11241
|
-
* 创建基础手风琴组件
|
|
11242
|
-
* @param key - 唯一标识符
|
|
11243
|
-
*/
|
|
11244
|
-
create: (key: string) => Accordion;
|
|
11245
|
-
/**
|
|
11246
|
-
* 创建默认配置的手风琴组件
|
|
11247
|
-
* @param key - 唯一标识符
|
|
11248
|
-
*/
|
|
11249
|
-
default: (key: string) => Accordion;
|
|
11250
|
-
/**
|
|
11251
|
-
* 使用自定义配置创建手风琴组件
|
|
11252
|
-
* @param key - 唯一标识符
|
|
11253
|
-
* @param options - 配置选项
|
|
11254
|
-
*/
|
|
11255
|
-
options: (key: string, options: AccordionProps) => Accordion;
|
|
11256
|
-
/**
|
|
11257
|
-
* 创建手风琴子项
|
|
11258
|
-
* @param key - 唯一标识符
|
|
11259
|
-
*/
|
|
11260
|
-
createItem: (key: string) => AccordionItem;
|
|
11261
|
-
};
|
|
11262
|
-
/**
|
|
11263
|
-
* 手风琴Pro组件构建器
|
|
11264
|
-
*/
|
|
11265
|
-
declare const accordionPro: {
|
|
11266
|
-
/**
|
|
11267
|
-
* 创建基础手风琴组件
|
|
11268
|
-
* @param key - 唯一标识符
|
|
11269
|
-
*/
|
|
11270
|
-
create: (key: string, data: Record<string, any>[]) => AccordionPro;
|
|
11271
|
-
/**
|
|
11272
|
-
* 创建默认配置的手风琴组件
|
|
11273
|
-
* @param key - 唯一标识符
|
|
11274
|
-
*/
|
|
11275
|
-
default: (key: string) => AccordionPro;
|
|
11276
|
-
/**
|
|
11277
|
-
* 使用自定义配置创建手风琴组件
|
|
11278
|
-
* @param key - 唯一标识符
|
|
11279
|
-
* @param options - 配置选项
|
|
11280
|
-
*/
|
|
11281
|
-
options: (key: string, options: AccordionProProps) => AccordionPro;
|
|
11282
|
-
};
|
|
11283
|
-
/**
|
|
11284
|
-
* 手风琴子组件构建器
|
|
11285
|
-
*/
|
|
11286
|
-
declare const accordionItem: {
|
|
11287
|
-
/**
|
|
11288
|
-
* 创建手风琴子项
|
|
11289
|
-
* @param key - 唯一标识符
|
|
11290
|
-
*/
|
|
11291
|
-
create: (key: string) => AccordionItem;
|
|
11292
|
-
};
|
|
11293
|
-
|
|
11294
11943
|
/**
|
|
11295
11944
|
* 获取插件
|
|
11296
11945
|
* @param type 获取插件的方式
|
|
@@ -11551,4 +12200,4 @@ declare let level: ReturnType<typeof createLevelDB>;
|
|
|
11551
12200
|
*/
|
|
11552
12201
|
declare const start: () => Promise<void>;
|
|
11553
12202
|
|
|
11554
|
-
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 };
|