bkui-vue 0.0.2-beta.39 → 0.0.2-beta.40
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.cjs.js +47 -47
- package/dist/index.esm.js +9244 -9199
- package/dist/index.umd.js +47 -47
- package/dist/locale/en.esm.js +1 -1
- package/dist/locale/en.esm.js.map +1 -1
- package/dist/locale/en.umd.js +1 -1
- package/dist/locale/en.umd.js.map +1 -1
- package/dist/locale/zh-cn.esm.js +1 -1
- package/dist/locale/zh-cn.esm.js.map +1 -1
- package/dist/locale/zh-cn.umd.js +1 -1
- package/dist/locale/zh-cn.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/config-provider/config-provider.d.ts +3 -0
- package/lib/config-provider/index.d.ts +4 -0
- package/lib/config-provider/token.d.ts +1 -0
- package/lib/locale/index.js +1 -1
- package/lib/locale/lang/en.d.ts +1 -0
- package/lib/preset.d.ts +2 -0
- package/lib/search-select/index.d.ts +51 -21
- package/lib/search-select/index.js +1 -1
- package/lib/search-select/input.d.ts +5 -1
- package/lib/search-select/menu.d.ts +33 -2
- package/lib/search-select/search-select.css +31 -11
- package/lib/search-select/search-select.d.ts +18 -16
- package/lib/search-select/search-select.less +29 -10
- package/lib/search-select/search-select.variable.css +31 -11
- package/lib/search-select/selected.d.ts +5 -1
- package/lib/search-select/utils.d.ts +12 -5
- package/package.json +1 -1
@@ -64,6 +64,7 @@ export declare const configProviderProps: {
|
|
64
64
|
cancel: string;
|
65
65
|
or: string;
|
66
66
|
and: string;
|
67
|
+
logical: string;
|
67
68
|
};
|
68
69
|
select: {
|
69
70
|
noData: string;
|
@@ -197,6 +198,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
197
198
|
cancel: string;
|
198
199
|
or: string;
|
199
200
|
and: string;
|
201
|
+
logical: string;
|
200
202
|
};
|
201
203
|
select: {
|
202
204
|
noData: string;
|
@@ -330,6 +332,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
330
332
|
cancel: string;
|
331
333
|
or: string;
|
332
334
|
and: string;
|
335
|
+
logical: string;
|
333
336
|
};
|
334
337
|
select: {
|
335
338
|
noData: string;
|
@@ -92,6 +92,7 @@ declare const BkConfigProvider: {
|
|
92
92
|
cancel: string;
|
93
93
|
or: string;
|
94
94
|
and: string;
|
95
|
+
logical: string;
|
95
96
|
};
|
96
97
|
select: {
|
97
98
|
noData: string;
|
@@ -276,6 +277,7 @@ declare const BkConfigProvider: {
|
|
276
277
|
cancel: string;
|
277
278
|
or: string;
|
278
279
|
and: string;
|
280
|
+
logical: string;
|
279
281
|
};
|
280
282
|
select: {
|
281
283
|
noData: string;
|
@@ -431,6 +433,7 @@ declare const BkConfigProvider: {
|
|
431
433
|
cancel: string;
|
432
434
|
or: string;
|
433
435
|
and: string;
|
436
|
+
logical: string;
|
434
437
|
};
|
435
438
|
select: {
|
436
439
|
noData: string;
|
@@ -568,6 +571,7 @@ declare const BkConfigProvider: {
|
|
568
571
|
cancel: string;
|
569
572
|
or: string;
|
570
573
|
and: string;
|
574
|
+
logical: string;
|
571
575
|
};
|
572
576
|
select: {
|
573
577
|
noData: string;
|
package/lib/locale/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var a=t();for(var l in a)("object"==typeof exports?exports:e)[l]=a[l]}}(self,(()=>(()=>{"use strict";var e={d:(t,a)=>{for(var l in a)e.o(a,l)&&!e.o(t,l)&&Object.defineProperty(t,l,{enumerable:!0,get:a[l]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{en:()=>a,zhCn:()=>l});const a={lang:"en",steps:{step1:"step1",step2:"step2",step3:"step3"},datePicker:{selectDate:"Select Date",selectTime:"Select Time",clear:"Clear",ok:"OK",weekdays:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},hour:"Hour",min:"Minute",sec:"Second",toNow:"Now"},dialog:{ok:"OK",cancel:"Cancel",prev:"prev",next:"next"},popConfirm:{ok:"OK",cancel:"Cancel"},form:{notBeEmpty:"cannot be empty",incorrectFormat:"incorrect format",max:"maximum value",min:"minimum value",maxLen:"maximum length",verifyError:"verify error"},pagination:{eachPage:"Each Page",strip:"",total:"Total"},process:{step1:"step1",step2:"step2",step3:"step3",step4:"step4"},searchSelect:{pleaseSelect:"Please Select",loading:"Loading...",filterQueryMustHasValue:"Filter query containing key value must have value",ok:"OK",cancel:"Cancel",or:"Or",and:"And"},select:{noData:"No data",noMatchedData:"No matched data",loading:"Loading...",pleaseSelect:"Please select",enterKeywords:"Please enter keywords",all:"All"},table:{emptyText:"No Data",confirm:"Confirm",reset:"Reset",setting:{title:"Table Settings",fields:{title:"Displaying Fields Setting",subtitle:function(e){return"(".concat(e," fields most)")},selectAll:"All"},lineHeight:{title:"Table Line Height",small:"small",medium:"medium",large:"large"},options:{ok:"OK",cancel:"Cancel"}}},transfer:{sourceList:"Source List",targetList:"Target List",removeAll:"Remove All",selectAll:"Select All",noData:"No Data",noSelected:"No Selected",search:"Search"},upload:{uploadSuccess:"Upload Success",uploadFailed:"Upload Failed",drapFileOr:"Drag files here or ",clickUpload:"Click Upload",uploadLabel:"Upload Files"},input:{placeholder:"Please input"},tagInput:{placeholder:"Please input and press ENTER to finish"},message:{assistant:"Assistant",details:"Details",copySuccess:"Successfully",copyFailed:"Copy Failed"}},l={lang:"zh-cn",steps:{step1:"步骤1",step2:"步骤2",step3:"步骤3"},datePicker:{selectDate:"选择日期",selectTime:"选择时间",clear:"清除",ok:"确定",weekdays:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},hour:"时",min:"分",sec:"秒",toNow:"至今"},dialog:{ok:"确定",cancel:"取消",prev:"上一步",next:"下一步"},popConfirm:{ok:"确定",cancel:"取消"},form:{notBeEmpty:"不能为空",incorrectFormat:"格式不正确",max:"最大值",min:"最小值",maxLen:"最大长度",verifyError:"验证错误"},pagination:{eachPage:"每页",strip:"条",total:"共计"},process:{step1:"步骤1",step2:"步骤2",step3:"步骤3",step4:"步骤4"},searchSelect:{pleaseSelect:"请选择",loading:"加载中...",filterQueryMustHasValue:"包含键值的过滤查询必须有一个值",ok:"确认",cancel:"取消",or:"或",and:"且"},select:{noData:"无数据",noMatchedData:"无匹配数据",loading:"加载中...",pleaseSelect:"请选择",enterKeywords:"请输入关键字",all:"全部"},table:{emptyText:"暂无数据",confirm:"确定",reset:"重置",setting:{title:"表格设置",fields:{title:"字段显示设置",subtitle:function(e){return"(最多".concat(e,"项)")},selectAll:"全选"},lineHeight:{title:"表格行高",small:"小",medium:"中",large:"大"},options:{ok:"确认",cancel:"取消"}}},transfer:{sourceList:"源列表",targetList:"目标列表",removeAll:"清空",selectAll:"选择全部",noData:"无数据",noSelected:"未选择任何项",search:"搜索"},upload:{uploadSuccess:"上传成功",uploadFailed:"上传失败",drapFileOr:"将文件拖到此处或",clickUpload:"点击上传",uploadLabel:"上传文件"},input:{placeholder:"请输入"},tagInput:{placeholder:"请输入并按Enter结束"},message:{assistant:"助手",details:"详情",copySuccess:"复制成功",copyFailed:"复制失败"}};return t})()));
|
1
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var a=t();for(var l in a)("object"==typeof exports?exports:e)[l]=a[l]}}(self,(()=>(()=>{"use strict";var e={d:(t,a)=>{for(var l in a)e.o(a,l)&&!e.o(t,l)&&Object.defineProperty(t,l,{enumerable:!0,get:a[l]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{en:()=>a,zhCn:()=>l});const a={lang:"en",steps:{step1:"step1",step2:"step2",step3:"step3"},datePicker:{selectDate:"Select Date",selectTime:"Select Time",clear:"Clear",ok:"OK",weekdays:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},hour:"Hour",min:"Minute",sec:"Second",toNow:"Now"},dialog:{ok:"OK",cancel:"Cancel",prev:"prev",next:"next"},popConfirm:{ok:"OK",cancel:"Cancel"},form:{notBeEmpty:"cannot be empty",incorrectFormat:"incorrect format",max:"maximum value",min:"minimum value",maxLen:"maximum length",verifyError:"verify error"},pagination:{eachPage:"Each Page",strip:"",total:"Total"},process:{step1:"step1",step2:"step2",step3:"step3",step4:"step4"},searchSelect:{pleaseSelect:"Please Select",loading:"Loading...",filterQueryMustHasValue:"Filter query containing key value must have value",ok:"OK",cancel:"Cancel",or:"Or",and:"And",logical:"Logical:"},select:{noData:"No data",noMatchedData:"No matched data",loading:"Loading...",pleaseSelect:"Please select",enterKeywords:"Please enter keywords",all:"All"},table:{emptyText:"No Data",confirm:"Confirm",reset:"Reset",setting:{title:"Table Settings",fields:{title:"Displaying Fields Setting",subtitle:function(e){return"(".concat(e," fields most)")},selectAll:"All"},lineHeight:{title:"Table Line Height",small:"small",medium:"medium",large:"large"},options:{ok:"OK",cancel:"Cancel"}}},transfer:{sourceList:"Source List",targetList:"Target List",removeAll:"Remove All",selectAll:"Select All",noData:"No Data",noSelected:"No Selected",search:"Search"},upload:{uploadSuccess:"Upload Success",uploadFailed:"Upload Failed",drapFileOr:"Drag files here or ",clickUpload:"Click Upload",uploadLabel:"Upload Files"},input:{placeholder:"Please input"},tagInput:{placeholder:"Please input and press ENTER to finish"},message:{assistant:"Assistant",details:"Details",copySuccess:"Successfully",copyFailed:"Copy Failed"}},l={lang:"zh-cn",steps:{step1:"步骤1",step2:"步骤2",step3:"步骤3"},datePicker:{selectDate:"选择日期",selectTime:"选择时间",clear:"清除",ok:"确定",weekdays:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},hour:"时",min:"分",sec:"秒",toNow:"至今"},dialog:{ok:"确定",cancel:"取消",prev:"上一步",next:"下一步"},popConfirm:{ok:"确定",cancel:"取消"},form:{notBeEmpty:"不能为空",incorrectFormat:"格式不正确",max:"最大值",min:"最小值",maxLen:"最大长度",verifyError:"验证错误"},pagination:{eachPage:"每页",strip:"条",total:"共计"},process:{step1:"步骤1",step2:"步骤2",step3:"步骤3",step4:"步骤4"},searchSelect:{pleaseSelect:"请选择",loading:"加载中...",filterQueryMustHasValue:"包含键值的过滤查询必须有一个值",ok:"确认",cancel:"取消",or:"或",and:"且",logical:"逻辑:"},select:{noData:"无数据",noMatchedData:"无匹配数据",loading:"加载中...",pleaseSelect:"请选择",enterKeywords:"请输入关键字",all:"全部"},table:{emptyText:"暂无数据",confirm:"确定",reset:"重置",setting:{title:"表格设置",fields:{title:"字段显示设置",subtitle:function(e){return"(最多".concat(e,"项)")},selectAll:"全选"},lineHeight:{title:"表格行高",small:"小",medium:"中",large:"大"},options:{ok:"确认",cancel:"取消"}}},transfer:{sourceList:"源列表",targetList:"目标列表",removeAll:"清空",selectAll:"选择全部",noData:"无数据",noSelected:"未选择任何项",search:"搜索"},upload:{uploadSuccess:"上传成功",uploadFailed:"上传失败",drapFileOr:"将文件拖到此处或",clickUpload:"点击上传",uploadLabel:"上传文件"},input:{placeholder:"请输入"},tagInput:{placeholder:"请输入并按Enter结束"},message:{assistant:"助手",details:"详情",copySuccess:"复制成功",copyFailed:"复制失败"}};return t})()));
|
package/lib/locale/lang/en.d.ts
CHANGED
package/lib/preset.d.ts
CHANGED
@@ -65,6 +65,7 @@ declare const _default: {
|
|
65
65
|
cancel: string;
|
66
66
|
or: string;
|
67
67
|
and: string;
|
68
|
+
logical: string;
|
68
69
|
};
|
69
70
|
select: {
|
70
71
|
noData: string;
|
@@ -197,6 +198,7 @@ declare const _default: {
|
|
197
198
|
cancel: string;
|
198
199
|
or: string;
|
199
200
|
and: string;
|
201
|
+
logical: string;
|
200
202
|
};
|
201
203
|
select: {
|
202
204
|
noData: string;
|
@@ -10,7 +10,6 @@ declare const BkSearchSelect: {
|
|
10
10
|
modelValue?: import("./utils").ISearchValue[];
|
11
11
|
conditions?: import("./utils").ICommonItem[];
|
12
12
|
valueBehavior?: import("./utils").ValueBehavior;
|
13
|
-
valueSplitCode?: string;
|
14
13
|
shrink?: boolean;
|
15
14
|
uniqueSelect?: boolean;
|
16
15
|
class?: unknown;
|
@@ -108,10 +107,6 @@ declare const BkSearchSelect: {
|
|
108
107
|
placeholder: StringConstructor;
|
109
108
|
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
110
109
|
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
111
|
-
valueSplitCode: {
|
112
|
-
type: StringConstructor;
|
113
|
-
default: string;
|
114
|
-
};
|
115
110
|
uniqueSelect: {
|
116
111
|
type: BooleanConstructor;
|
117
112
|
default: boolean;
|
@@ -161,8 +156,10 @@ declare const BkSearchSelect: {
|
|
161
156
|
id: string;
|
162
157
|
realId?: string;
|
163
158
|
isSelected?: boolean;
|
159
|
+
logical?: import("./utils").SearchLogical;
|
164
160
|
};
|
165
161
|
isSelected?: boolean;
|
162
|
+
logical?: import("./utils").SearchLogical;
|
166
163
|
}[]>;
|
167
164
|
menuList: import("vue").Ref<import("./utils").ISearchItem[]>;
|
168
165
|
menuHoverId: import("vue").Ref<string>;
|
@@ -178,6 +175,7 @@ declare const BkSearchSelect: {
|
|
178
175
|
handleClickOutside: (e: MouseEvent) => void;
|
179
176
|
handleInputFocus: (e: FocusEvent) => void;
|
180
177
|
handleInputChange: (event: Event) => void;
|
178
|
+
handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
|
181
179
|
handleInputKeyup: (event: KeyboardEvent) => void;
|
182
180
|
handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
|
183
181
|
handleSelectCondtionItem: (item: import("./utils").ICommonItem) => void;
|
@@ -191,6 +189,7 @@ declare const BkSearchSelect: {
|
|
191
189
|
cancel: string;
|
192
190
|
or: string;
|
193
191
|
and: string;
|
192
|
+
logical: string;
|
194
193
|
}>;
|
195
194
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "add" | "delete")[], "focus" | "add" | "delete", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
196
195
|
data: {
|
@@ -239,10 +238,13 @@ declare const BkSearchSelect: {
|
|
239
238
|
id: string;
|
240
239
|
realId?: string;
|
241
240
|
isSelected?: boolean;
|
241
|
+
logical?: import("./utils").SearchLogical;
|
242
242
|
};
|
243
243
|
isSelected?: boolean;
|
244
|
+
logical?: import("./utils").SearchLogical;
|
244
245
|
}[];
|
245
246
|
condition: string;
|
247
|
+
logical: import("./utils").SearchLogical;
|
246
248
|
searchItem: {
|
247
249
|
id: string;
|
248
250
|
name: string;
|
@@ -256,8 +258,10 @@ declare const BkSearchSelect: {
|
|
256
258
|
id: string;
|
257
259
|
realId?: string;
|
258
260
|
isSelected?: boolean;
|
261
|
+
logical?: import("./utils").SearchLogical;
|
259
262
|
};
|
260
263
|
isSelected?: boolean;
|
264
|
+
logical?: import("./utils").SearchLogical;
|
261
265
|
}[];
|
262
266
|
multiple?: boolean;
|
263
267
|
async?: boolean;
|
@@ -274,14 +278,17 @@ declare const BkSearchSelect: {
|
|
274
278
|
id: string;
|
275
279
|
realId?: string;
|
276
280
|
isSelected?: boolean;
|
281
|
+
logical?: import("./utils").SearchLogical;
|
277
282
|
};
|
278
283
|
isSelected?: boolean;
|
284
|
+
logical?: import("./utils").SearchLogical;
|
279
285
|
};
|
280
286
|
isSelected?: boolean;
|
281
287
|
onlyRecommendChildren?: boolean;
|
288
|
+
logical?: import("./utils").SearchLogical;
|
289
|
+
showLogicalPanel?: boolean;
|
282
290
|
};
|
283
291
|
type: import("./utils").SearchItemType;
|
284
|
-
splitCode: string;
|
285
292
|
readonly multiple: boolean;
|
286
293
|
readonly placeholder: string;
|
287
294
|
readonly children: {
|
@@ -294,14 +301,17 @@ declare const BkSearchSelect: {
|
|
294
301
|
id: string;
|
295
302
|
realId?: string;
|
296
303
|
isSelected?: boolean;
|
304
|
+
logical?: import("./utils").SearchLogical;
|
297
305
|
};
|
298
306
|
isSelected?: boolean;
|
307
|
+
logical?: import("./utils").SearchLogical;
|
299
308
|
}[];
|
300
309
|
readonly validate: boolean;
|
301
310
|
readonly inputInnerHtml: string;
|
302
311
|
readonly inputInnerText: string;
|
303
312
|
readonly keyInnerHtml: string;
|
304
313
|
readonly keyInnerText: string;
|
314
|
+
readonly showLogical: boolean;
|
305
315
|
isSpecialType: () => boolean;
|
306
316
|
addValue: (item: import("./utils").ICommonItem) => void;
|
307
317
|
toValue: () => import("./utils").ISearchValue;
|
@@ -310,7 +320,6 @@ declare const BkSearchSelect: {
|
|
310
320
|
}[]>;
|
311
321
|
overflowIndex: import("vue").Ref<number>;
|
312
322
|
validateStr: import("vue").Ref<string>;
|
313
|
-
splitCode: import("vue").ComputedRef<string>;
|
314
323
|
onEditClick: (item: import("./utils").SelectedItem, index: number) => void;
|
315
324
|
onEditEnter: (item: import("./utils").SelectedItem, index: number) => void;
|
316
325
|
handleWrapClick: () => void;
|
@@ -331,6 +340,7 @@ declare const BkSearchSelect: {
|
|
331
340
|
cancel: string;
|
332
341
|
or: string;
|
333
342
|
and: string;
|
343
|
+
logical: string;
|
334
344
|
}>;
|
335
345
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "update:modelValue")[], string, {
|
336
346
|
data: import("./utils").ISearchItem[];
|
@@ -340,7 +350,6 @@ declare const BkSearchSelect: {
|
|
340
350
|
modelValue: import("./utils").ISearchValue[];
|
341
351
|
conditions: import("./utils").ICommonItem[];
|
342
352
|
valueBehavior: import("./utils").ValueBehavior;
|
343
|
-
valueSplitCode: string;
|
344
353
|
shrink: boolean;
|
345
354
|
uniqueSelect: boolean;
|
346
355
|
}, {}, string, {}> & {
|
@@ -395,10 +404,6 @@ declare const BkSearchSelect: {
|
|
395
404
|
placeholder: StringConstructor;
|
396
405
|
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
397
406
|
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
398
|
-
valueSplitCode: {
|
399
|
-
type: StringConstructor;
|
400
|
-
default: string;
|
401
|
-
};
|
402
407
|
uniqueSelect: {
|
403
408
|
type: BooleanConstructor;
|
404
409
|
default: boolean;
|
@@ -448,8 +453,10 @@ declare const BkSearchSelect: {
|
|
448
453
|
id: string;
|
449
454
|
realId?: string;
|
450
455
|
isSelected?: boolean;
|
456
|
+
logical?: import("./utils").SearchLogical;
|
451
457
|
};
|
452
458
|
isSelected?: boolean;
|
459
|
+
logical?: import("./utils").SearchLogical;
|
453
460
|
}[]>;
|
454
461
|
menuList: import("vue").Ref<import("./utils").ISearchItem[]>;
|
455
462
|
menuHoverId: import("vue").Ref<string>;
|
@@ -465,6 +472,7 @@ declare const BkSearchSelect: {
|
|
465
472
|
handleClickOutside: (e: MouseEvent) => void;
|
466
473
|
handleInputFocus: (e: FocusEvent) => void;
|
467
474
|
handleInputChange: (event: Event) => void;
|
475
|
+
handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
|
468
476
|
handleInputKeyup: (event: KeyboardEvent) => void;
|
469
477
|
handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
|
470
478
|
handleSelectCondtionItem: (item: import("./utils").ICommonItem) => void;
|
@@ -478,6 +486,7 @@ declare const BkSearchSelect: {
|
|
478
486
|
cancel: string;
|
479
487
|
or: string;
|
480
488
|
and: string;
|
489
|
+
logical: string;
|
481
490
|
}>;
|
482
491
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "add" | "delete")[], "focus" | "add" | "delete", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
483
492
|
data: {
|
@@ -526,10 +535,13 @@ declare const BkSearchSelect: {
|
|
526
535
|
id: string;
|
527
536
|
realId?: string;
|
528
537
|
isSelected?: boolean;
|
538
|
+
logical?: import("./utils").SearchLogical;
|
529
539
|
};
|
530
540
|
isSelected?: boolean;
|
541
|
+
logical?: import("./utils").SearchLogical;
|
531
542
|
}[];
|
532
543
|
condition: string;
|
544
|
+
logical: import("./utils").SearchLogical;
|
533
545
|
searchItem: {
|
534
546
|
id: string;
|
535
547
|
name: string;
|
@@ -543,8 +555,10 @@ declare const BkSearchSelect: {
|
|
543
555
|
id: string;
|
544
556
|
realId?: string;
|
545
557
|
isSelected?: boolean;
|
558
|
+
logical?: import("./utils").SearchLogical;
|
546
559
|
};
|
547
560
|
isSelected?: boolean;
|
561
|
+
logical?: import("./utils").SearchLogical;
|
548
562
|
}[];
|
549
563
|
multiple?: boolean;
|
550
564
|
async?: boolean;
|
@@ -561,14 +575,17 @@ declare const BkSearchSelect: {
|
|
561
575
|
id: string;
|
562
576
|
realId?: string;
|
563
577
|
isSelected?: boolean;
|
578
|
+
logical?: import("./utils").SearchLogical;
|
564
579
|
};
|
565
580
|
isSelected?: boolean;
|
581
|
+
logical?: import("./utils").SearchLogical;
|
566
582
|
};
|
567
583
|
isSelected?: boolean;
|
568
584
|
onlyRecommendChildren?: boolean;
|
585
|
+
logical?: import("./utils").SearchLogical;
|
586
|
+
showLogicalPanel?: boolean;
|
569
587
|
};
|
570
588
|
type: import("./utils").SearchItemType;
|
571
|
-
splitCode: string;
|
572
589
|
readonly multiple: boolean;
|
573
590
|
readonly placeholder: string;
|
574
591
|
readonly children: {
|
@@ -581,14 +598,17 @@ declare const BkSearchSelect: {
|
|
581
598
|
id: string;
|
582
599
|
realId?: string;
|
583
600
|
isSelected?: boolean;
|
601
|
+
logical?: import("./utils").SearchLogical;
|
584
602
|
};
|
585
603
|
isSelected?: boolean;
|
604
|
+
logical?: import("./utils").SearchLogical;
|
586
605
|
}[];
|
587
606
|
readonly validate: boolean;
|
588
607
|
readonly inputInnerHtml: string;
|
589
608
|
readonly inputInnerText: string;
|
590
609
|
readonly keyInnerHtml: string;
|
591
610
|
readonly keyInnerText: string;
|
611
|
+
readonly showLogical: boolean;
|
592
612
|
isSpecialType: () => boolean;
|
593
613
|
addValue: (item: import("./utils").ICommonItem) => void;
|
594
614
|
toValue: () => import("./utils").ISearchValue;
|
@@ -597,7 +617,6 @@ declare const BkSearchSelect: {
|
|
597
617
|
}[]>;
|
598
618
|
overflowIndex: import("vue").Ref<number>;
|
599
619
|
validateStr: import("vue").Ref<string>;
|
600
|
-
splitCode: import("vue").ComputedRef<string>;
|
601
620
|
onEditClick: (item: import("./utils").SelectedItem, index: number) => void;
|
602
621
|
onEditEnter: (item: import("./utils").SelectedItem, index: number) => void;
|
603
622
|
handleWrapClick: () => void;
|
@@ -618,6 +637,7 @@ declare const BkSearchSelect: {
|
|
618
637
|
cancel: string;
|
619
638
|
or: string;
|
620
639
|
and: string;
|
640
|
+
logical: string;
|
621
641
|
}>;
|
622
642
|
}> & {} & import("vue").ComponentCustomProperties & {};
|
623
643
|
__isFragment?: never;
|
@@ -655,10 +675,6 @@ declare const BkSearchSelect: {
|
|
655
675
|
placeholder: StringConstructor;
|
656
676
|
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
657
677
|
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
658
|
-
valueSplitCode: {
|
659
|
-
type: StringConstructor;
|
660
|
-
default: string;
|
661
|
-
};
|
662
678
|
uniqueSelect: {
|
663
679
|
type: BooleanConstructor;
|
664
680
|
default: boolean;
|
@@ -708,8 +724,10 @@ declare const BkSearchSelect: {
|
|
708
724
|
id: string;
|
709
725
|
realId?: string;
|
710
726
|
isSelected?: boolean;
|
727
|
+
logical?: import("./utils").SearchLogical;
|
711
728
|
};
|
712
729
|
isSelected?: boolean;
|
730
|
+
logical?: import("./utils").SearchLogical;
|
713
731
|
}[]>;
|
714
732
|
menuList: import("vue").Ref<import("./utils").ISearchItem[]>;
|
715
733
|
menuHoverId: import("vue").Ref<string>;
|
@@ -725,6 +743,7 @@ declare const BkSearchSelect: {
|
|
725
743
|
handleClickOutside: (e: MouseEvent) => void;
|
726
744
|
handleInputFocus: (e: FocusEvent) => void;
|
727
745
|
handleInputChange: (event: Event) => void;
|
746
|
+
handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
|
728
747
|
handleInputKeyup: (event: KeyboardEvent) => void;
|
729
748
|
handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
|
730
749
|
handleSelectCondtionItem: (item: import("./utils").ICommonItem) => void;
|
@@ -738,6 +757,7 @@ declare const BkSearchSelect: {
|
|
738
757
|
cancel: string;
|
739
758
|
or: string;
|
740
759
|
and: string;
|
760
|
+
logical: string;
|
741
761
|
}>;
|
742
762
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "add" | "delete")[], "focus" | "add" | "delete", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
743
763
|
data: {
|
@@ -786,10 +806,13 @@ declare const BkSearchSelect: {
|
|
786
806
|
id: string;
|
787
807
|
realId?: string;
|
788
808
|
isSelected?: boolean;
|
809
|
+
logical?: import("./utils").SearchLogical;
|
789
810
|
};
|
790
811
|
isSelected?: boolean;
|
812
|
+
logical?: import("./utils").SearchLogical;
|
791
813
|
}[];
|
792
814
|
condition: string;
|
815
|
+
logical: import("./utils").SearchLogical;
|
793
816
|
searchItem: {
|
794
817
|
id: string;
|
795
818
|
name: string;
|
@@ -803,8 +826,10 @@ declare const BkSearchSelect: {
|
|
803
826
|
id: string;
|
804
827
|
realId?: string;
|
805
828
|
isSelected?: boolean;
|
829
|
+
logical?: import("./utils").SearchLogical;
|
806
830
|
};
|
807
831
|
isSelected?: boolean;
|
832
|
+
logical?: import("./utils").SearchLogical;
|
808
833
|
}[];
|
809
834
|
multiple?: boolean;
|
810
835
|
async?: boolean;
|
@@ -821,14 +846,17 @@ declare const BkSearchSelect: {
|
|
821
846
|
id: string;
|
822
847
|
realId?: string;
|
823
848
|
isSelected?: boolean;
|
849
|
+
logical?: import("./utils").SearchLogical;
|
824
850
|
};
|
825
851
|
isSelected?: boolean;
|
852
|
+
logical?: import("./utils").SearchLogical;
|
826
853
|
};
|
827
854
|
isSelected?: boolean;
|
828
855
|
onlyRecommendChildren?: boolean;
|
856
|
+
logical?: import("./utils").SearchLogical;
|
857
|
+
showLogicalPanel?: boolean;
|
829
858
|
};
|
830
859
|
type: import("./utils").SearchItemType;
|
831
|
-
splitCode: string;
|
832
860
|
readonly multiple: boolean;
|
833
861
|
readonly placeholder: string;
|
834
862
|
readonly children: {
|
@@ -841,14 +869,17 @@ declare const BkSearchSelect: {
|
|
841
869
|
id: string;
|
842
870
|
realId?: string;
|
843
871
|
isSelected?: boolean;
|
872
|
+
logical?: import("./utils").SearchLogical;
|
844
873
|
};
|
845
874
|
isSelected?: boolean;
|
875
|
+
logical?: import("./utils").SearchLogical;
|
846
876
|
}[];
|
847
877
|
readonly validate: boolean;
|
848
878
|
readonly inputInnerHtml: string;
|
849
879
|
readonly inputInnerText: string;
|
850
880
|
readonly keyInnerHtml: string;
|
851
881
|
readonly keyInnerText: string;
|
882
|
+
readonly showLogical: boolean;
|
852
883
|
isSpecialType: () => boolean;
|
853
884
|
addValue: (item: import("./utils").ICommonItem) => void;
|
854
885
|
toValue: () => import("./utils").ISearchValue;
|
@@ -857,7 +888,6 @@ declare const BkSearchSelect: {
|
|
857
888
|
}[]>;
|
858
889
|
overflowIndex: import("vue").Ref<number>;
|
859
890
|
validateStr: import("vue").Ref<string>;
|
860
|
-
splitCode: import("vue").ComputedRef<string>;
|
861
891
|
onEditClick: (item: import("./utils").SelectedItem, index: number) => void;
|
862
892
|
onEditEnter: (item: import("./utils").SelectedItem, index: number) => void;
|
863
893
|
handleWrapClick: () => void;
|
@@ -878,6 +908,7 @@ declare const BkSearchSelect: {
|
|
878
908
|
cancel: string;
|
879
909
|
or: string;
|
880
910
|
and: string;
|
911
|
+
logical: string;
|
881
912
|
}>;
|
882
913
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "update:modelValue")[], "search" | "update:modelValue", {
|
883
914
|
data: import("./utils").ISearchItem[];
|
@@ -887,7 +918,6 @@ declare const BkSearchSelect: {
|
|
887
918
|
modelValue: import("./utils").ISearchValue[];
|
888
919
|
conditions: import("./utils").ICommonItem[];
|
889
920
|
valueBehavior: import("./utils").ValueBehavior;
|
890
|
-
valueSplitCode: string;
|
891
921
|
shrink: boolean;
|
892
922
|
uniqueSelect: boolean;
|
893
923
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
|