node-karin 1.3.6-pr.260.358d4c0 → 1.3.6-pr.260.3bcd7a3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -185,7 +185,7 @@ type AdapterStandard = 'onebot11' | 'onebot12' | 'oicq' | 'icqq' | 'other';
185
185
  * - `conwechat`: https://justundertaker.github.io/ComWeChatBotClient/
186
186
  * - `lagrange`: https://lagrangedev.github.io/Lagrange.Doc/Lagrange.OneBot/
187
187
  */
188
- type AdapterProtocol = 'qqbot' | 'icqq' | 'gocq-http' | 'napcat' | 'oicq' | 'llonebot' | 'conwechat' | 'lagrange' | 'console' | 'other';
188
+ type AdapterProtocol = 'qqbot' | 'icqq' | 'gocq-http' | 'napcat' | 'oicq' | 'llonebot' | 'conwechat' | 'lagrange' | 'console';
189
189
  /**
190
190
  * 适配器通信方式
191
191
  * - `http`: HTTP 通信
@@ -6362,12 +6362,8 @@ interface PkgData {
6362
6362
  main?: string;
6363
6363
  /** 插件app列表 */
6364
6364
  apps?: string | string[];
6365
- /** web配置文件 */
6366
- web?: string;
6367
6365
  /** ts插件app列表 ts专属 仅在ts开发模式下生效 */
6368
6366
  ['ts-apps']?: string | string[];
6369
- /** ts-web */
6370
- ['ts-web']?: string;
6371
6367
  /** 静态资源目录 */
6372
6368
  static?: string | string[];
6373
6369
  /** 基本文件夹结构 */
@@ -10459,8 +10455,6 @@ type Children = InputProps | SwitchProps | DividerProps | CheckboxProps | Checkb
10459
10455
  * 手风琴(折叠面板) 类型
10460
10456
  */
10461
10457
  interface Accordion extends ComponentProps {
10462
- /** 标签 */
10463
- label?: string;
10464
10458
  /** 子组件 */
10465
10459
  children?: AccordionItemProps[];
10466
10460
  /** 标题 */
@@ -10567,7 +10561,6 @@ declare const accordion: {
10567
10561
  create: (key: string, options?: Omit<AccordionProps, "key" | "componentType">) => {
10568
10562
  componentType: string;
10569
10563
  title?: string;
10570
- label?: string;
10571
10564
  description?: string;
10572
10565
  children?: AccordionItemProps[];
10573
10566
  variant?: "light" | "shadow" | "bordered" | "splitted";
@@ -10595,7 +10588,6 @@ declare const accordion: {
10595
10588
  default: (key: string) => {
10596
10589
  componentType: string;
10597
10590
  title?: string;
10598
- label?: string;
10599
10591
  description?: string;
10600
10592
  children?: AccordionItemProps[];
10601
10593
  variant?: "light" | "shadow" | "bordered" | "splitted";
@@ -10652,7 +10644,6 @@ declare const accordionPro: {
10652
10644
  componentType: string;
10653
10645
  data?: Record<string, any>[] | undefined;
10654
10646
  title?: string;
10655
- label?: string;
10656
10647
  description?: string;
10657
10648
  children?: Omit<AccordionItemProps, "componentType"> | undefined;
10658
10649
  variant?: "light" | "shadow" | "bordered" | "splitted";
@@ -11824,7 +11815,6 @@ declare const components: {
11824
11815
  create: (key: string, options?: Omit<AccordionProps, "key" | "componentType">) => {
11825
11816
  componentType: string;
11826
11817
  title?: string;
11827
- label?: string;
11828
11818
  description?: string;
11829
11819
  children?: AccordionItemProps[];
11830
11820
  variant?: "light" | "shadow" | "bordered" | "splitted";
@@ -11848,7 +11838,6 @@ declare const components: {
11848
11838
  default: (key: string) => {
11849
11839
  componentType: string;
11850
11840
  title?: string;
11851
- label?: string;
11852
11841
  description?: string;
11853
11842
  children?: AccordionItemProps[];
11854
11843
  variant?: "light" | "shadow" | "bordered" | "splitted";
@@ -11892,7 +11881,6 @@ declare const components: {
11892
11881
  componentType: string;
11893
11882
  data?: Record<string, any>[] | undefined;
11894
11883
  title?: string;
11895
- label?: string;
11896
11884
  description?: string;
11897
11885
  children?: Omit<AccordionItemProps, "componentType"> | undefined;
11898
11886
  variant?: "light" | "shadow" | "bordered" | "splitted";
@@ -11949,331 +11937,6 @@ declare const components: {
11949
11937
  key: string;
11950
11938
  };
11951
11939
  };
11952
- /** 单选框 */
11953
- radio: {
11954
- create: (key: string, options: Omit<Radio, "key" | "componentType" | "className">) => {
11955
- componentType: string;
11956
- size?: "sm" | "md" | "lg";
11957
- value?: string | undefined;
11958
- color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
11959
- label?: string;
11960
- description?: string;
11961
- isDisabled?: boolean;
11962
- disableAnimation?: boolean;
11963
- className?: string;
11964
- isRequired?: boolean;
11965
- isReadOnly?: boolean;
11966
- isInvalid?: boolean;
11967
- key: string;
11968
- };
11969
- group: (key: string, options: Omit<RadioGroupProps, "key" | "componentType">) => {
11970
- componentType: string;
11971
- size?: "sm" | "md" | "lg";
11972
- name?: string;
11973
- value?: string;
11974
- radio?: Radio[] | undefined;
11975
- color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
11976
- label?: string;
11977
- description?: string;
11978
- errorMessage?: string;
11979
- isDisabled?: boolean;
11980
- disableAnimation?: boolean;
11981
- className?: string;
11982
- defaultValue?: string;
11983
- isRequired?: boolean;
11984
- isReadOnly?: boolean;
11985
- isInvalid?: boolean;
11986
- orientation?: "horizontal" | "vertical";
11987
- key: string;
11988
- };
11989
- defaultGroup: (key: string, config?: Partial<Omit<RadioGroupProps, "key" | "componentType">>) => {
11990
- componentType: string;
11991
- size?: "sm" | "md" | "lg";
11992
- name?: string;
11993
- value?: string;
11994
- radio?: Radio[] | undefined;
11995
- color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
11996
- label?: string;
11997
- description?: string;
11998
- errorMessage?: string;
11999
- isDisabled?: boolean;
12000
- disableAnimation?: boolean;
12001
- className?: string;
12002
- defaultValue?: string;
12003
- isRequired?: boolean;
12004
- isReadOnly?: boolean;
12005
- isInvalid?: boolean;
12006
- orientation?: "horizontal" | "vertical";
12007
- key: string;
12008
- };
12009
- default: (key: string, config?: Partial<Omit<Radio, "key" | "componentType" | "className">>) => {
12010
- componentType: string;
12011
- size?: "sm" | "md" | "lg";
12012
- value?: string | undefined;
12013
- color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
12014
- label?: string;
12015
- description?: string;
12016
- isDisabled?: boolean;
12017
- disableAnimation?: boolean;
12018
- className?: string;
12019
- isRequired?: boolean;
12020
- isReadOnly?: boolean;
12021
- isInvalid?: boolean;
12022
- key: string;
12023
- };
12024
- required: (key: string, config?: Partial<Omit<Radio, "key" | "componentType" | "className">>) => {
12025
- componentType: string;
12026
- size?: "sm" | "md" | "lg";
12027
- value?: string | undefined;
12028
- color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
12029
- label?: string;
12030
- description?: string;
12031
- isDisabled?: boolean;
12032
- disableAnimation?: boolean;
12033
- className?: string;
12034
- isRequired?: boolean;
12035
- isReadOnly?: boolean;
12036
- isInvalid?: boolean;
12037
- key: string;
12038
- };
12039
- disabled: (key: string, config?: Partial<Omit<Radio, "key" | "componentType" | "className">>) => {
12040
- componentType: string;
12041
- size?: "sm" | "md" | "lg";
12042
- value?: string | undefined;
12043
- color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
12044
- label?: string;
12045
- description?: string;
12046
- isDisabled?: boolean;
12047
- disableAnimation?: boolean;
12048
- className?: string;
12049
- isRequired?: boolean;
12050
- isReadOnly?: boolean;
12051
- isInvalid?: boolean;
12052
- key: string;
12053
- };
12054
- readonly: (key: string, config?: Partial<Omit<Radio, "key" | "componentType" | "className">>) => {
12055
- componentType: string;
12056
- size?: "sm" | "md" | "lg";
12057
- value?: string | undefined;
12058
- color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
12059
- label?: string;
12060
- description?: string;
12061
- isDisabled?: boolean;
12062
- disableAnimation?: boolean;
12063
- className?: string;
12064
- isRequired?: boolean;
12065
- isReadOnly?: boolean;
12066
- isInvalid?: boolean;
12067
- key: string;
12068
- };
12069
- invalid: (key: string, config?: Partial<Omit<Radio, "key" | "componentType" | "className">>) => {
12070
- componentType: string;
12071
- size?: "sm" | "md" | "lg";
12072
- value?: string | undefined;
12073
- color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
12074
- label?: string;
12075
- description?: string;
12076
- isDisabled?: boolean;
12077
- disableAnimation?: boolean;
12078
- className?: string;
12079
- isRequired?: boolean;
12080
- isReadOnly?: boolean;
12081
- isInvalid?: boolean;
12082
- key: string;
12083
- };
12084
- };
12085
- /** 多选框 */
12086
- checkbox: {
12087
- create: (key: string, options: Omit<CheckboxProps, "key" | "componentType" | "className">) => {
12088
- componentType: string;
12089
- size?: "sm" | "md" | "lg";
12090
- name?: string;
12091
- value?: string;
12092
- color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
12093
- label?: string;
12094
- description?: string;
12095
- isDisabled?: boolean;
12096
- disableAnimation?: boolean;
12097
- className?: string;
12098
- radius?: "none" | "sm" | "md" | "lg" | "full";
12099
- isRequired?: boolean;
12100
- isReadOnly?: boolean;
12101
- isInvalid?: boolean;
12102
- isSelected?: boolean;
12103
- defaultSelected?: boolean;
12104
- lineThrough?: boolean;
12105
- isIndeterminate?: boolean;
12106
- key: string;
12107
- };
12108
- group: (key: string, options: Omit<CheckboxGroupProps, "key" | "componentType">) => {
12109
- componentType: string;
12110
- size?: "sm" | "md" | "lg";
12111
- name?: string;
12112
- value?: string[];
12113
- checkbox?: CheckboxProps[] | undefined;
12114
- color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
12115
- label?: string;
12116
- description?: string;
12117
- isDisabled?: boolean;
12118
- disableAnimation?: boolean;
12119
- className?: string;
12120
- defaultValue?: string[];
12121
- radius?: "none" | "sm" | "md" | "lg" | "full";
12122
- isRequired?: boolean;
12123
- isReadOnly?: boolean;
12124
- isInvalid?: boolean;
12125
- orientation?: "vertical" | "horizontal";
12126
- lineThrough?: boolean;
12127
- key: string;
12128
- };
12129
- defaultGroup: (key: string, config?: Partial<Omit<CheckboxGroupProps, "key" | "componentType">>) => {
12130
- componentType: string;
12131
- size?: "sm" | "md" | "lg";
12132
- name?: string;
12133
- value?: string[];
12134
- checkbox?: CheckboxProps[] | undefined;
12135
- color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
12136
- label?: string;
12137
- description?: string;
12138
- isDisabled?: boolean;
12139
- disableAnimation?: boolean;
12140
- className?: string;
12141
- defaultValue?: string[];
12142
- radius?: "none" | "sm" | "md" | "lg" | "full";
12143
- isRequired?: boolean;
12144
- isReadOnly?: boolean;
12145
- isInvalid?: boolean;
12146
- orientation?: "vertical" | "horizontal";
12147
- lineThrough?: boolean;
12148
- key: string;
12149
- };
12150
- default: (key: string, config?: Partial<Omit<CheckboxProps, "key" | "componentType" | "className">>) => {
12151
- componentType: string;
12152
- size?: "sm" | "md" | "lg";
12153
- name?: string;
12154
- value?: string;
12155
- color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
12156
- label?: string;
12157
- description?: string;
12158
- isDisabled?: boolean;
12159
- disableAnimation?: boolean;
12160
- className?: string;
12161
- radius?: "none" | "sm" | "md" | "lg" | "full";
12162
- isRequired?: boolean;
12163
- isReadOnly?: boolean;
12164
- isInvalid?: boolean;
12165
- isSelected?: boolean;
12166
- defaultSelected?: boolean;
12167
- lineThrough?: boolean;
12168
- isIndeterminate?: boolean;
12169
- key: string;
12170
- };
12171
- required: (key: string, config?: Partial<Omit<CheckboxProps, "key" | "componentType" | "className">>) => {
12172
- componentType: string;
12173
- size?: "sm" | "md" | "lg";
12174
- name?: string;
12175
- value?: string;
12176
- color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
12177
- label?: string;
12178
- description?: string;
12179
- isDisabled?: boolean;
12180
- disableAnimation?: boolean;
12181
- className?: string;
12182
- radius?: "none" | "sm" | "md" | "lg" | "full";
12183
- isRequired?: boolean;
12184
- isReadOnly?: boolean;
12185
- isInvalid?: boolean;
12186
- isSelected?: boolean;
12187
- defaultSelected?: boolean;
12188
- lineThrough?: boolean;
12189
- isIndeterminate?: boolean;
12190
- key: string;
12191
- };
12192
- disabled: (key: string, config?: Partial<Omit<CheckboxProps, "key" | "componentType" | "className">>) => {
12193
- componentType: string;
12194
- size?: "sm" | "md" | "lg";
12195
- name?: string;
12196
- value?: string;
12197
- color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
12198
- label?: string;
12199
- description?: string;
12200
- isDisabled?: boolean;
12201
- disableAnimation?: boolean;
12202
- className?: string;
12203
- radius?: "none" | "sm" | "md" | "lg" | "full";
12204
- isRequired?: boolean;
12205
- isReadOnly?: boolean;
12206
- isInvalid?: boolean;
12207
- isSelected?: boolean;
12208
- defaultSelected?: boolean;
12209
- lineThrough?: boolean;
12210
- isIndeterminate?: boolean;
12211
- key: string;
12212
- };
12213
- readonly: (key: string, config?: Partial<Omit<CheckboxProps, "key" | "componentType" | "className">>) => {
12214
- componentType: string;
12215
- size?: "sm" | "md" | "lg";
12216
- name?: string;
12217
- value?: string;
12218
- color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
12219
- label?: string;
12220
- description?: string;
12221
- isDisabled?: boolean;
12222
- disableAnimation?: boolean;
12223
- className?: string;
12224
- radius?: "none" | "sm" | "md" | "lg" | "full";
12225
- isRequired?: boolean;
12226
- isReadOnly?: boolean;
12227
- isInvalid?: boolean;
12228
- isSelected?: boolean;
12229
- defaultSelected?: boolean;
12230
- lineThrough?: boolean;
12231
- isIndeterminate?: boolean;
12232
- key: string;
12233
- };
12234
- indeterminate: (key: string, config?: Partial<Omit<CheckboxProps, "key" | "componentType" | "className">>) => {
12235
- componentType: string;
12236
- size?: "sm" | "md" | "lg";
12237
- name?: string;
12238
- value?: string;
12239
- color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
12240
- label?: string;
12241
- description?: string;
12242
- isDisabled?: boolean;
12243
- disableAnimation?: boolean;
12244
- className?: string;
12245
- radius?: "none" | "sm" | "md" | "lg" | "full";
12246
- isRequired?: boolean;
12247
- isReadOnly?: boolean;
12248
- isInvalid?: boolean;
12249
- isSelected?: boolean;
12250
- defaultSelected?: boolean;
12251
- lineThrough?: boolean;
12252
- isIndeterminate?: boolean;
12253
- key: string;
12254
- };
12255
- invalid: (key: string, config?: Partial<Omit<CheckboxProps, "key" | "componentType" | "className">>) => {
12256
- componentType: string;
12257
- size?: "sm" | "md" | "lg";
12258
- name?: string;
12259
- value?: string;
12260
- color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
12261
- label?: string;
12262
- description?: string;
12263
- isDisabled?: boolean;
12264
- disableAnimation?: boolean;
12265
- className?: string;
12266
- radius?: "none" | "sm" | "md" | "lg" | "full";
12267
- isRequired?: boolean;
12268
- isReadOnly?: boolean;
12269
- isInvalid?: boolean;
12270
- isSelected?: boolean;
12271
- defaultSelected?: boolean;
12272
- lineThrough?: boolean;
12273
- isIndeterminate?: boolean;
12274
- key: string;
12275
- };
12276
- };
12277
11940
  };
12278
11941
  type ComponentsClass = typeof divider | ReturnType<typeof input.create> | ReturnType<typeof switchComponent.create>;
12279
11942