node-karin 1.3.13 → 1.3.15
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 +35 -0
- package/dist/index.d.ts +233 -180
- package/dist/index.js +112 -21
- package/dist/web/assets/index-BfgPXZy4.css +7 -0
- package/dist/web/assets/index-BmnBcE97.js +1 -0
- package/dist/web/assets/index-DV7QXb5W.js +1 -0
- package/dist/web/assets/index-rfe-HAu1.js +445 -0
- package/dist/web/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2 +0 -0
- package/dist/web/icon.css +25 -0
- package/dist/web/index.html +20 -19
- package/package.json +3 -3
- package/dist/web/assets/index-CzI4cWVg.js +0 -1
- package/dist/web/assets/index-DWR0WNwJ.js +0 -458
- package/dist/web/assets/index-Dhun9ZvA.css +0 -7
- package/dist/web/assets/index-tlrEvQNU.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,40 @@
|
|
|
1
1
|
# 更新日志
|
|
2
2
|
|
|
3
|
+
## [1.3.16](https://github.com/KarinJS/Karin/compare/core-v1.3.15...core-v1.3.16) (2025-02-23)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### 🐛 Bug Fixes
|
|
7
|
+
|
|
8
|
+
* ci ([7606096](https://github.com/KarinJS/Karin/commit/76060969ea778e9a79543514a2fa1f45a0d2ea3a))
|
|
9
|
+
|
|
10
|
+
## [1.3.15](https://github.com/KarinJS/Karin/compare/core-v1.3.14...core-v1.3.15) (2025-02-23)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### 🐛 Bug Fixes
|
|
14
|
+
|
|
15
|
+
* 补充api 获取本地插件列表 ([181daf6](https://github.com/KarinJS/Karin/commit/181daf6e8ac3ca7acb41853c51e21d2c4d1b7310))
|
|
16
|
+
* 重构插件配置页面 ([47f423e](https://github.com/KarinJS/Karin/commit/47f423e37e748dee9c83ee6fa38c913e1d126545))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### 💄 Styles
|
|
20
|
+
|
|
21
|
+
* 手风琴pro ([1cc4085](https://github.com/KarinJS/Karin/commit/1cc40855c88e67be5f9cb5bd993fc9db9ddce24a))
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### ✅ Tests
|
|
25
|
+
|
|
26
|
+
* 重构插件配置组件 ([e49fde0](https://github.com/KarinJS/Karin/commit/e49fde0dae4c97e7f720e8dfa849362eef38a33e))
|
|
27
|
+
|
|
28
|
+
## [1.3.14](https://github.com/KarinJS/Karin/compare/core-v1.3.13...core-v1.3.14) (2025-02-18)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### 🐛 Bug Fixes
|
|
32
|
+
|
|
33
|
+
* connectTime ([b6ec69e](https://github.com/KarinJS/Karin/commit/b6ec69e04acbf043ccd1724e583de7e4c19b4d24))
|
|
34
|
+
* redis.setEx ([f6f69ed](https://github.com/KarinJS/Karin/commit/f6f69ed1a4b35826011954a2df229514456a9958))
|
|
35
|
+
* 手风琴适配输入框组 ([1e33a72](https://github.com/KarinJS/Karin/commit/1e33a72157fd1c4420f3c97a45bce0412bc31cb0))
|
|
36
|
+
* 新增组件输入框组 ([834a2bd](https://github.com/KarinJS/Karin/commit/834a2bd558670ebff54ef948c1f3fd15d026077b))
|
|
37
|
+
|
|
3
38
|
## [1.3.13](https://github.com/KarinJS/Karin/compare/core-v1.3.12...core-v1.3.13) (2025-02-16)
|
|
4
39
|
|
|
5
40
|
|
package/dist/index.d.ts
CHANGED
|
@@ -9975,142 +9975,6 @@ declare const render: RenderCache;
|
|
|
9975
9975
|
*/
|
|
9976
9976
|
declare const Renderer: RenderCache;
|
|
9977
9977
|
|
|
9978
|
-
type Option = {
|
|
9979
|
-
label: string;
|
|
9980
|
-
value: string | number;
|
|
9981
|
-
disabled?: boolean;
|
|
9982
|
-
};
|
|
9983
|
-
/** 组件类型 */
|
|
9984
|
-
type FieldType = 'text' | 'number' | 'switch' | 'select' | 'object' | 'divider' | 'array' | 'objectArray' | 'colorPicker' | 'radio' | 'checkbox' | 'section' | 'title';
|
|
9985
|
-
/** 值类型 */
|
|
9986
|
-
type ValueType = 'string' | 'number' | 'boolean' | 'object';
|
|
9987
|
-
interface BaseField {
|
|
9988
|
-
/** 组件类型 */
|
|
9989
|
-
type: FieldType;
|
|
9990
|
-
/** 字段 */
|
|
9991
|
-
key: string;
|
|
9992
|
-
/** 显示文本 */
|
|
9993
|
-
label?: string;
|
|
9994
|
-
/** 是否必填 */
|
|
9995
|
-
required?: boolean;
|
|
9996
|
-
/** 描述 */
|
|
9997
|
-
description?: string;
|
|
9998
|
-
}
|
|
9999
|
-
/** 文本组件 */
|
|
10000
|
-
interface TextField extends BaseField {
|
|
10001
|
-
type: 'text';
|
|
10002
|
-
/** 默认值 */
|
|
10003
|
-
defaultValue?: string;
|
|
10004
|
-
}
|
|
10005
|
-
/** 数字输入框 */
|
|
10006
|
-
interface NumberField extends BaseField {
|
|
10007
|
-
type: 'number';
|
|
10008
|
-
/** 默认值 */
|
|
10009
|
-
defaultValue?: number;
|
|
10010
|
-
}
|
|
10011
|
-
/** 开关 */
|
|
10012
|
-
interface SwitchField extends BaseField {
|
|
10013
|
-
type: 'switch';
|
|
10014
|
-
/** 默认值 */
|
|
10015
|
-
defaultValue?: boolean;
|
|
10016
|
-
}
|
|
10017
|
-
/** 下拉框选择器 */
|
|
10018
|
-
interface SelectField extends BaseField {
|
|
10019
|
-
type: 'select';
|
|
10020
|
-
/** 是否多选 */
|
|
10021
|
-
multiple?: boolean;
|
|
10022
|
-
/** 选项 */
|
|
10023
|
-
options?: Option[];
|
|
10024
|
-
/** 默认值 */
|
|
10025
|
-
defaultValue?: string | number;
|
|
10026
|
-
}
|
|
10027
|
-
/** 分隔符 */
|
|
10028
|
-
interface DividerField extends BaseField {
|
|
10029
|
-
type: 'divider';
|
|
10030
|
-
}
|
|
10031
|
-
/** 单选框 */
|
|
10032
|
-
interface RadioField extends BaseField {
|
|
10033
|
-
type: 'radio';
|
|
10034
|
-
/** 选项 */
|
|
10035
|
-
options: Option[];
|
|
10036
|
-
/** 默认值 */
|
|
10037
|
-
defaultValue?: string | number;
|
|
10038
|
-
}
|
|
10039
|
-
/** 多选框 */
|
|
10040
|
-
interface CheckboxField extends BaseField {
|
|
10041
|
-
type: 'checkbox';
|
|
10042
|
-
/** 选项 */
|
|
10043
|
-
options: Option[];
|
|
10044
|
-
/** 默认值 */
|
|
10045
|
-
defaultValue?: string[] | number[];
|
|
10046
|
-
}
|
|
10047
|
-
/** 数组 */
|
|
10048
|
-
interface ArrayField extends BaseField {
|
|
10049
|
-
type: 'array';
|
|
10050
|
-
/** 值类型 */
|
|
10051
|
-
elementType: 'text' | 'number';
|
|
10052
|
-
/** 默认值 */
|
|
10053
|
-
defaultValue?: string | number;
|
|
10054
|
-
}
|
|
10055
|
-
/** 对象 */
|
|
10056
|
-
interface ObjectField extends BaseField {
|
|
10057
|
-
type: 'object';
|
|
10058
|
-
/** 子组件配置 */
|
|
10059
|
-
fields: FormField[];
|
|
10060
|
-
}
|
|
10061
|
-
/** 对象数组 */
|
|
10062
|
-
interface ObjectArrayField extends BaseField {
|
|
10063
|
-
type: 'objectArray';
|
|
10064
|
-
/** 子组件配置 */
|
|
10065
|
-
fields: FormField[];
|
|
10066
|
-
}
|
|
10067
|
-
/** 分组 */
|
|
10068
|
-
interface SectionField extends BaseField {
|
|
10069
|
-
type: 'section';
|
|
10070
|
-
/** 子组件 */
|
|
10071
|
-
children: FormField[];
|
|
10072
|
-
}
|
|
10073
|
-
/** 标题 */
|
|
10074
|
-
interface TitleField extends BaseField {
|
|
10075
|
-
type: 'title';
|
|
10076
|
-
/** 显示文本 */
|
|
10077
|
-
text: string;
|
|
10078
|
-
}
|
|
10079
|
-
/** 组件 */
|
|
10080
|
-
type FormField = TextField | NumberField | SwitchField | SelectField | RadioField | CheckboxField | ArrayField | ObjectField | ObjectArrayField | SectionField | TitleField | DividerField;
|
|
10081
|
-
/**
|
|
10082
|
-
* 输入框返回类型
|
|
10083
|
-
*/
|
|
10084
|
-
type InputResult = Record<string, string | undefined>;
|
|
10085
|
-
/**
|
|
10086
|
-
* 开关返回类型
|
|
10087
|
-
*/
|
|
10088
|
-
type SwitchResult = Record<string, boolean>;
|
|
10089
|
-
/**
|
|
10090
|
-
* 单选框返回类型
|
|
10091
|
-
*/
|
|
10092
|
-
type RadioResult = Record<string, string | undefined>;
|
|
10093
|
-
/**
|
|
10094
|
-
* 多选框返回类型
|
|
10095
|
-
*/
|
|
10096
|
-
type CheckboxResult = Record<string, Record<string, boolean>>;
|
|
10097
|
-
/**
|
|
10098
|
-
* 手风琴kv类型
|
|
10099
|
-
*/
|
|
10100
|
-
type AccordionKV = string | boolean | Record<string, boolean>;
|
|
10101
|
-
/**
|
|
10102
|
-
* 手风琴返回类型
|
|
10103
|
-
*/
|
|
10104
|
-
type AccordionResult = Record<string, AccordionKV[]>;
|
|
10105
|
-
/**
|
|
10106
|
-
* 手风琴pro返回类型
|
|
10107
|
-
*/
|
|
10108
|
-
type AccordionProResult = AccordionResult;
|
|
10109
|
-
/**
|
|
10110
|
-
* save 方法返回的类型
|
|
10111
|
-
*/
|
|
10112
|
-
type SaveResult = InputResult | SwitchResult | RadioResult | CheckboxResult | AccordionResult | AccordionProResult;
|
|
10113
|
-
|
|
10114
9978
|
/**
|
|
10115
9979
|
* 组件类型
|
|
10116
9980
|
* - input: 输入框
|
|
@@ -10124,7 +9988,7 @@ type SaveResult = InputResult | SwitchResult | RadioResult | CheckboxResult | Ac
|
|
|
10124
9988
|
* - radio: 单选框
|
|
10125
9989
|
* - radio-group: 单选框组
|
|
10126
9990
|
*/
|
|
10127
|
-
type ComponentType = 'input' | 'switch' | 'divider' | 'accordion' | 'accordion-item' | 'accordion-pro' | 'checkbox' | 'checkbox-group' | 'radio' | 'radio-group';
|
|
9991
|
+
type ComponentType = 'input' | 'switch' | 'divider' | 'accordion' | 'accordion-item' | 'accordion-pro' | 'checkbox' | 'checkbox-group' | 'radio' | 'radio-group' | 'input-group';
|
|
10128
9992
|
/** 组件通用属性 */
|
|
10129
9993
|
interface ComponentProps {
|
|
10130
9994
|
/** 唯一标识符 */
|
|
@@ -10135,37 +9999,23 @@ interface ComponentProps {
|
|
|
10135
9999
|
description?: string;
|
|
10136
10000
|
/** 每个渲染的组件都包裹了一个div,这里可以自定义这个div的className */
|
|
10137
10001
|
className?: string;
|
|
10002
|
+
/** 组件本身的className */
|
|
10003
|
+
componentClassName?: string;
|
|
10138
10004
|
}
|
|
10139
10005
|
|
|
10140
10006
|
/**
|
|
10141
|
-
*
|
|
10142
|
-
*/
|
|
10143
|
-
|
|
10144
|
-
|
|
10145
|
-
|
|
10146
|
-
|
|
10147
|
-
|
|
10148
|
-
|
|
10149
|
-
|
|
10150
|
-
|
|
10151
|
-
DATE = "date",
|
|
10152
|
-
/** 时间 */
|
|
10153
|
-
TIME = "time",
|
|
10154
|
-
/** 日期时间 */
|
|
10155
|
-
DATETIME = "datetime",
|
|
10156
|
-
/** 邮箱 */
|
|
10157
|
-
EMAIL = "email",
|
|
10158
|
-
/** URL */
|
|
10159
|
-
URL = "url",
|
|
10160
|
-
/** 电话 */
|
|
10161
|
-
TEL = "tel",
|
|
10162
|
-
/** 密码 */
|
|
10163
|
-
PASSWORD = "password",
|
|
10164
|
-
/** 颜色 */
|
|
10165
|
-
COLOR = "color",
|
|
10166
|
-
/** JSON */
|
|
10167
|
-
JSON = "json"
|
|
10007
|
+
* 分隔线
|
|
10008
|
+
*/
|
|
10009
|
+
interface DividerProps extends ComponentProps {
|
|
10010
|
+
componentType: 'divider';
|
|
10011
|
+
/** 是否透明 */
|
|
10012
|
+
transparent?: boolean;
|
|
10013
|
+
/** 方向 */
|
|
10014
|
+
orientation?: 'horizontal' | 'vertical';
|
|
10015
|
+
/** 描述文本位置 0-100的数字 */
|
|
10016
|
+
descPosition?: number;
|
|
10168
10017
|
}
|
|
10018
|
+
|
|
10169
10019
|
/**
|
|
10170
10020
|
* 验证规则接口
|
|
10171
10021
|
*/
|
|
@@ -10224,6 +10074,8 @@ interface InputProps extends ComponentProps {
|
|
|
10224
10074
|
radius?: 'none' | 'sm' | 'md' | 'lg' | 'full';
|
|
10225
10075
|
/** 标签 */
|
|
10226
10076
|
label?: string;
|
|
10077
|
+
/** 值 */
|
|
10078
|
+
value?: string;
|
|
10227
10079
|
/** 默认值 */
|
|
10228
10080
|
defaultValue?: string;
|
|
10229
10081
|
/** 提示信息 */
|
|
@@ -10260,27 +10112,34 @@ interface InputProps extends ComponentProps {
|
|
|
10260
10112
|
isInvalid?: boolean;
|
|
10261
10113
|
/** 禁用动画 */
|
|
10262
10114
|
disableAnimation?: boolean;
|
|
10263
|
-
/** 类名 */
|
|
10264
|
-
classNames?: Partial<Record<'base' | 'label' | 'inputWrapper' | 'innerWrapper' | 'mainWrapper' | 'input' | 'clearButton' | 'helperWrapper' | 'description' | 'errorMessage', string>>;
|
|
10265
10115
|
/** 自定义字段 验证规则 */
|
|
10266
10116
|
rules?: ValidationRule[];
|
|
10267
10117
|
/** 自定义字段 输入框宽度 */
|
|
10268
10118
|
width?: string;
|
|
10269
10119
|
/** 自定义字段 输入框高度 */
|
|
10270
10120
|
height?: string;
|
|
10121
|
+
/** 自动补全 */
|
|
10122
|
+
autoComplete?: string;
|
|
10271
10123
|
}
|
|
10272
|
-
|
|
10273
10124
|
/**
|
|
10274
|
-
*
|
|
10125
|
+
* 输入框组类型
|
|
10275
10126
|
*/
|
|
10276
|
-
interface
|
|
10277
|
-
componentType: '
|
|
10278
|
-
/**
|
|
10279
|
-
|
|
10280
|
-
/**
|
|
10281
|
-
|
|
10282
|
-
/**
|
|
10283
|
-
|
|
10127
|
+
interface InputGroupProps extends ComponentProps {
|
|
10128
|
+
componentType: 'input-group';
|
|
10129
|
+
/** 标签 */
|
|
10130
|
+
label?: string;
|
|
10131
|
+
/** 输入框模板 */
|
|
10132
|
+
template: InputProps;
|
|
10133
|
+
/** 数据 */
|
|
10134
|
+
data: string[];
|
|
10135
|
+
/** 输入框一行最多显示多少个 默认3个 */
|
|
10136
|
+
itemsPerRow?: number;
|
|
10137
|
+
/** 输入框最大显示多少行 超出后滚动 默认3行 */
|
|
10138
|
+
maxRows?: number;
|
|
10139
|
+
/** 输入框最大输入框数量 默认100 0不限制 */
|
|
10140
|
+
maxInputs?: number;
|
|
10141
|
+
/** 删除输入框提示 默认: 删除成功 */
|
|
10142
|
+
deleteSuccessTips?: string;
|
|
10284
10143
|
}
|
|
10285
10144
|
|
|
10286
10145
|
/**
|
|
@@ -10312,6 +10171,8 @@ interface SwitchProps extends ComponentProps {
|
|
|
10312
10171
|
isDisabled?: boolean;
|
|
10313
10172
|
/** 是否禁用动画 */
|
|
10314
10173
|
disableAnimation?: boolean;
|
|
10174
|
+
/** 标签 */
|
|
10175
|
+
label?: string;
|
|
10315
10176
|
}
|
|
10316
10177
|
|
|
10317
10178
|
/**
|
|
@@ -10455,8 +10316,6 @@ interface Radio extends ComponentProps {
|
|
|
10455
10316
|
disableAnimation?: boolean;
|
|
10456
10317
|
}
|
|
10457
10318
|
|
|
10458
|
-
type Children = InputProps | SwitchProps | DividerProps | CheckboxProps | CheckboxGroupProps | RadioGroupProps;
|
|
10459
|
-
|
|
10460
10319
|
/**
|
|
10461
10320
|
* 手风琴(折叠面板) 类型
|
|
10462
10321
|
*/
|
|
@@ -10554,9 +10413,149 @@ interface AccordionProProps extends Omit<Accordion, 'children'> {
|
|
|
10554
10413
|
/** 渲染数据 */
|
|
10555
10414
|
data: Record<string, any>[];
|
|
10556
10415
|
/** 子组件 pro只有一个 因为是模板 */
|
|
10557
|
-
children
|
|
10416
|
+
children: Omit<AccordionItemProps, 'componentType'>;
|
|
10558
10417
|
}
|
|
10559
10418
|
|
|
10419
|
+
type Children = InputProps | SwitchProps | DividerProps | CheckboxProps | CheckboxGroupProps | RadioGroupProps | InputGroupProps;
|
|
10420
|
+
/** 组件配置类型 */
|
|
10421
|
+
type ComponentConfig = InputProps | SwitchProps | RadioGroupProps | CheckboxGroupProps | AccordionProps | AccordionProProps | AccordionItemProps | DividerProps | InputGroupProps;
|
|
10422
|
+
|
|
10423
|
+
type Option = {
|
|
10424
|
+
label: string;
|
|
10425
|
+
value: string | number;
|
|
10426
|
+
disabled?: boolean;
|
|
10427
|
+
};
|
|
10428
|
+
/** 组件类型 */
|
|
10429
|
+
type FieldType = 'text' | 'number' | 'switch' | 'select' | 'object' | 'divider' | 'array' | 'objectArray' | 'colorPicker' | 'radio' | 'checkbox' | 'section' | 'title';
|
|
10430
|
+
/** 值类型 */
|
|
10431
|
+
type ValueType = 'string' | 'number' | 'boolean' | 'object';
|
|
10432
|
+
interface BaseField {
|
|
10433
|
+
/** 组件类型 */
|
|
10434
|
+
type: FieldType;
|
|
10435
|
+
/** 字段 */
|
|
10436
|
+
key: string;
|
|
10437
|
+
/** 显示文本 */
|
|
10438
|
+
label?: string;
|
|
10439
|
+
/** 是否必填 */
|
|
10440
|
+
required?: boolean;
|
|
10441
|
+
/** 描述 */
|
|
10442
|
+
description?: string;
|
|
10443
|
+
}
|
|
10444
|
+
/** 文本组件 */
|
|
10445
|
+
interface TextField extends BaseField {
|
|
10446
|
+
type: 'text';
|
|
10447
|
+
/** 默认值 */
|
|
10448
|
+
defaultValue?: string;
|
|
10449
|
+
}
|
|
10450
|
+
/** 数字输入框 */
|
|
10451
|
+
interface NumberField extends BaseField {
|
|
10452
|
+
type: 'number';
|
|
10453
|
+
/** 默认值 */
|
|
10454
|
+
defaultValue?: number;
|
|
10455
|
+
}
|
|
10456
|
+
/** 开关 */
|
|
10457
|
+
interface SwitchField extends BaseField {
|
|
10458
|
+
type: 'switch';
|
|
10459
|
+
/** 默认值 */
|
|
10460
|
+
defaultValue?: boolean;
|
|
10461
|
+
}
|
|
10462
|
+
/** 下拉框选择器 */
|
|
10463
|
+
interface SelectField extends BaseField {
|
|
10464
|
+
type: 'select';
|
|
10465
|
+
/** 是否多选 */
|
|
10466
|
+
multiple?: boolean;
|
|
10467
|
+
/** 选项 */
|
|
10468
|
+
options?: Option[];
|
|
10469
|
+
/** 默认值 */
|
|
10470
|
+
defaultValue?: string | number;
|
|
10471
|
+
}
|
|
10472
|
+
/** 分隔符 */
|
|
10473
|
+
interface DividerField extends BaseField {
|
|
10474
|
+
type: 'divider';
|
|
10475
|
+
}
|
|
10476
|
+
/** 单选框 */
|
|
10477
|
+
interface RadioField extends BaseField {
|
|
10478
|
+
type: 'radio';
|
|
10479
|
+
/** 选项 */
|
|
10480
|
+
options: Option[];
|
|
10481
|
+
/** 默认值 */
|
|
10482
|
+
defaultValue?: string | number;
|
|
10483
|
+
}
|
|
10484
|
+
/** 多选框 */
|
|
10485
|
+
interface CheckboxField extends BaseField {
|
|
10486
|
+
type: 'checkbox';
|
|
10487
|
+
/** 选项 */
|
|
10488
|
+
options: Option[];
|
|
10489
|
+
/** 默认值 */
|
|
10490
|
+
defaultValue?: string[] | number[];
|
|
10491
|
+
}
|
|
10492
|
+
/** 数组 */
|
|
10493
|
+
interface ArrayField extends BaseField {
|
|
10494
|
+
type: 'array';
|
|
10495
|
+
/** 值类型 */
|
|
10496
|
+
elementType: 'text' | 'number';
|
|
10497
|
+
/** 默认值 */
|
|
10498
|
+
defaultValue?: string | number;
|
|
10499
|
+
}
|
|
10500
|
+
/** 对象 */
|
|
10501
|
+
interface ObjectField extends BaseField {
|
|
10502
|
+
type: 'object';
|
|
10503
|
+
/** 子组件配置 */
|
|
10504
|
+
fields: FormField[];
|
|
10505
|
+
}
|
|
10506
|
+
/** 对象数组 */
|
|
10507
|
+
interface ObjectArrayField extends BaseField {
|
|
10508
|
+
type: 'objectArray';
|
|
10509
|
+
/** 子组件配置 */
|
|
10510
|
+
fields: FormField[];
|
|
10511
|
+
}
|
|
10512
|
+
/** 分组 */
|
|
10513
|
+
interface SectionField extends BaseField {
|
|
10514
|
+
type: 'section';
|
|
10515
|
+
/** 子组件 */
|
|
10516
|
+
children: FormField[];
|
|
10517
|
+
}
|
|
10518
|
+
/** 标题 */
|
|
10519
|
+
interface TitleField extends BaseField {
|
|
10520
|
+
type: 'title';
|
|
10521
|
+
/** 显示文本 */
|
|
10522
|
+
text: string;
|
|
10523
|
+
}
|
|
10524
|
+
/** 组件 */
|
|
10525
|
+
type FormField = TextField | NumberField | SwitchField | SelectField | RadioField | CheckboxField | ArrayField | ObjectField | ObjectArrayField | SectionField | TitleField | DividerField;
|
|
10526
|
+
/**
|
|
10527
|
+
* 输入框返回类型
|
|
10528
|
+
*/
|
|
10529
|
+
type InputResult = Record<string, string | undefined>;
|
|
10530
|
+
/**
|
|
10531
|
+
* 开关返回类型
|
|
10532
|
+
*/
|
|
10533
|
+
type SwitchResult = Record<string, boolean>;
|
|
10534
|
+
/**
|
|
10535
|
+
* 单选框返回类型
|
|
10536
|
+
*/
|
|
10537
|
+
type RadioResult = Record<string, string | undefined>;
|
|
10538
|
+
/**
|
|
10539
|
+
* 多选框返回类型
|
|
10540
|
+
*/
|
|
10541
|
+
type CheckboxResult = Record<string, Record<string, boolean>>;
|
|
10542
|
+
/**
|
|
10543
|
+
* 手风琴kv类型
|
|
10544
|
+
*/
|
|
10545
|
+
type AccordionKV = string | boolean | Record<string, boolean>;
|
|
10546
|
+
/**
|
|
10547
|
+
* 手风琴返回类型
|
|
10548
|
+
*/
|
|
10549
|
+
type AccordionResult = Record<string, AccordionKV[]>;
|
|
10550
|
+
/**
|
|
10551
|
+
* 手风琴pro返回类型
|
|
10552
|
+
*/
|
|
10553
|
+
type AccordionProResult = AccordionResult;
|
|
10554
|
+
/**
|
|
10555
|
+
* save 方法返回的类型
|
|
10556
|
+
*/
|
|
10557
|
+
type SaveResult = InputResult | SwitchResult | RadioResult | CheckboxResult | AccordionResult | AccordionProResult;
|
|
10558
|
+
|
|
10560
10559
|
/**
|
|
10561
10560
|
* 手风琴组件
|
|
10562
10561
|
*/
|
|
@@ -10620,6 +10619,12 @@ declare const input: {
|
|
|
10620
10619
|
* @param options 输入框配置
|
|
10621
10620
|
*/
|
|
10622
10621
|
create: (key: string, options: Omit<InputProps, "key" | "componentType">) => InputProps;
|
|
10622
|
+
/**
|
|
10623
|
+
* 创建输入框组
|
|
10624
|
+
* @param key 唯一标识符
|
|
10625
|
+
* @param options 输入框组配置
|
|
10626
|
+
*/
|
|
10627
|
+
group: (key: string, options: Omit<InputGroupProps, "key" | "componentType">) => InputGroupProps;
|
|
10623
10628
|
/**
|
|
10624
10629
|
* 字符串输入框
|
|
10625
10630
|
* @param key 唯一标识符
|
|
@@ -11110,6 +11115,54 @@ interface PluginUpdateInfo extends PluginLists {
|
|
|
11110
11115
|
updateCount?: number;
|
|
11111
11116
|
}
|
|
11112
11117
|
|
|
11118
|
+
/** 本地插件列表 请自行添加[] */
|
|
11119
|
+
interface LocalApiResponse {
|
|
11120
|
+
/** 插件id */
|
|
11121
|
+
id: string;
|
|
11122
|
+
/** 是否存在配置文件 无需配置 */
|
|
11123
|
+
hasConfig?: boolean;
|
|
11124
|
+
/** 插件类型 无需配置 */
|
|
11125
|
+
type?: 'git' | 'npm' | 'app';
|
|
11126
|
+
/** 插件名称 前端优先展示 */
|
|
11127
|
+
name?: string;
|
|
11128
|
+
/** 插件版本 可不填 会自动读取package.json中的version */
|
|
11129
|
+
version?: string;
|
|
11130
|
+
/** 插件描述 可不填 会自动读取package.json中的version */
|
|
11131
|
+
description?: string;
|
|
11132
|
+
/** 插件作者 */
|
|
11133
|
+
author?: {
|
|
11134
|
+
/** 名字 */
|
|
11135
|
+
name?: string;
|
|
11136
|
+
/** 主页 */
|
|
11137
|
+
home?: string;
|
|
11138
|
+
/** 头像 */
|
|
11139
|
+
avatar?: string;
|
|
11140
|
+
}[];
|
|
11141
|
+
/** 插件图标 前端优先展示 */
|
|
11142
|
+
icon?: {
|
|
11143
|
+
/** 图标名称 */
|
|
11144
|
+
name?: string;
|
|
11145
|
+
/** 图标大小 */
|
|
11146
|
+
size?: number;
|
|
11147
|
+
/** 图标颜色 */
|
|
11148
|
+
color?: string;
|
|
11149
|
+
};
|
|
11150
|
+
}
|
|
11151
|
+
/** 获取配置请求参数 */
|
|
11152
|
+
interface GetConfigRequest {
|
|
11153
|
+
/** 插件名称 */
|
|
11154
|
+
name: string;
|
|
11155
|
+
/** 插件类型 */
|
|
11156
|
+
type: 'git' | 'npm' | 'app';
|
|
11157
|
+
}
|
|
11158
|
+
/** 获取配置响应 */
|
|
11159
|
+
interface GetConfigResponse {
|
|
11160
|
+
/** 组件配置参数 */
|
|
11161
|
+
options: ComponentConfig[];
|
|
11162
|
+
/** 插件信息 */
|
|
11163
|
+
info: LocalApiResponse;
|
|
11164
|
+
}
|
|
11165
|
+
|
|
11113
11166
|
/**
|
|
11114
11167
|
* @public
|
|
11115
11168
|
* @description 日志管理器
|
|
@@ -11131,4 +11184,4 @@ declare let level: ReturnType<typeof createLevelDB>;
|
|
|
11131
11184
|
*/
|
|
11132
11185
|
declare const start: () => Promise<void>;
|
|
11133
11186
|
|
|
11134
|
-
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 Components, 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 };
|
|
11187
|
+
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 ComponentConfig, type ComponentProps, type ComponentType, type Components, 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 GetConfigRequest, type GetConfigResponse, 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, type InputGroupProps, type InputProps, type InputResult, type JsonElement, type JsonSegment, type KarinButton, type KeyboardElement, type LocalApiResponse, 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 };
|