bkui-vue 1.0.3-beta.62 → 1.0.3-beta.63
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 +21 -21
- package/dist/index.esm.js +943 -940
- package/dist/index.umd.js +21 -21
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/index.js +1 -1
- package/lib/alert/index.js +1 -1
- package/lib/animate-number/index.js +7 -8
- package/lib/badge/index.js +1 -1
- package/lib/breadcrumb/index.js +1 -1
- package/lib/button/index.js +1 -1
- package/lib/card/index.js +1 -1
- package/lib/cascader/index.js +38 -42
- package/lib/checkbox/index.js +10 -11
- package/lib/collapse/index.js +11 -12
- package/lib/collapse-transition/index.js +3 -4
- package/lib/color-picker/index.js +10 -13
- package/lib/config-provider/index.js +1 -1
- package/lib/container/index.js +10 -12
- package/lib/date-picker/index.js +1 -1
- package/lib/dialog/index.js +4 -4
- package/lib/directives/index.js +1 -1
- package/lib/divider/index.js +2 -3
- package/lib/dropdown/index.js +6 -8
- package/lib/exception/index.js +1 -1
- package/lib/fixed-navbar/index.js +2 -3
- package/lib/form/index.js +1 -1
- package/lib/icon/angle-double-down-line.js +1 -1
- package/lib/icon/angle-double-left-line.js +1 -1
- package/lib/icon/angle-double-left.js +1 -1
- package/lib/icon/angle-double-right-line.js +1 -1
- package/lib/icon/angle-double-right.js +1 -1
- package/lib/icon/angle-double-up-line.js +1 -1
- package/lib/icon/angle-down-fill.js +1 -1
- package/lib/icon/angle-down-line.js +1 -1
- package/lib/icon/angle-down.js +1 -1
- package/lib/icon/angle-left.js +1 -1
- package/lib/icon/angle-right.js +1 -1
- package/lib/icon/angle-up-fill.js +1 -1
- package/lib/icon/angle-up.js +1 -1
- package/lib/icon/archive-fill.js +1 -1
- package/lib/icon/arrows-left.js +1 -1
- package/lib/icon/arrows-right.js +1 -1
- package/lib/icon/assistant.js +1 -1
- package/lib/icon/audio-fill.js +1 -1
- package/lib/icon/bk.js +1 -1
- package/lib/icon/circle.js +1 -1
- package/lib/icon/close-line.js +1 -1
- package/lib/icon/close.js +1 -1
- package/lib/icon/code.js +1 -1
- package/lib/icon/cog-shape.js +1 -1
- package/lib/icon/collapse-left.js +1 -1
- package/lib/icon/copy-shape.js +1 -1
- package/lib/icon/copy.js +1 -1
- package/lib/icon/data-shape.js +1 -1
- package/lib/icon/del.js +1 -1
- package/lib/icon/doc-fill.js +1 -1
- package/lib/icon/done.js +1 -1
- package/lib/icon/down-shape.js +1 -1
- package/lib/icon/down-small.js +1 -1
- package/lib/icon/edit-line.js +1 -1
- package/lib/icon/ellipsis.js +1 -1
- package/lib/icon/enlarge-line.js +1 -1
- package/lib/icon/error.js +1 -1
- package/lib/icon/excel-fill.js +1 -1
- package/lib/icon/exclamation-circle-shape.js +1 -1
- package/lib/icon/eye.js +1 -1
- package/lib/icon/filliscreen-line.js +1 -1
- package/lib/icon/fix-line.js +1 -1
- package/lib/icon/fix-shape.js +1 -1
- package/lib/icon/folder-open.js +1 -1
- package/lib/icon/folder-shape-open.js +1 -1
- package/lib/icon/folder-shape.js +1 -1
- package/lib/icon/folder.js +1 -1
- package/lib/icon/funnel.js +1 -1
- package/lib/icon/grag-fill.js +1 -1
- package/lib/icon/help-document-fill.js +1 -1
- package/lib/icon/help-fill.js +1 -1
- package/lib/icon/help.js +1 -1
- package/lib/icon/image-fill.js +1 -1
- package/lib/icon/img-error.js +1 -1
- package/lib/icon/img-placehoulder.js +1 -1
- package/lib/icon/info-line.js +1 -1
- package/lib/icon/info.js +1 -1
- package/lib/icon/left-shape.js +1 -1
- package/lib/icon/left-turn-line.js +1 -1
- package/lib/icon/loading.js +1 -1
- package/lib/icon/narrow-line.js +1 -1
- package/lib/icon/original.js +1 -1
- package/lib/icon/pdf-fill.js +1 -1
- package/lib/icon/play-shape.js +1 -1
- package/lib/icon/plus.js +1 -1
- package/lib/icon/ppt-fill.js +1 -1
- package/lib/icon/qq.js +1 -1
- package/lib/icon/right-shape.js +1 -1
- package/lib/icon/right-turn-line.js +1 -1
- package/lib/icon/search.js +1 -1
- package/lib/icon/share.js +1 -1
- package/lib/icon/spinner.js +1 -1
- package/lib/icon/success.js +1 -1
- package/lib/icon/switcher-loading.js +1 -1
- package/lib/icon/text-all.js +1 -1
- package/lib/icon/text-file.js +1 -1
- package/lib/icon/text-fill.js +1 -1
- package/lib/icon/transfer.js +1 -1
- package/lib/icon/tree-application-shape.js +1 -1
- package/lib/icon/unfull-screen.js +1 -1
- package/lib/icon/unvisible.js +1 -1
- package/lib/icon/up-shape.js +1 -1
- package/lib/icon/upload.js +1 -1
- package/lib/icon/video-fill.js +1 -1
- package/lib/icon/warn.js +1 -1
- package/lib/icon/weixin-pro.js +1 -1
- package/lib/icon/weixin.js +1 -1
- package/lib/image/index.js +10 -11
- package/lib/info-box/index.js +4 -4
- package/lib/input/index.js +4 -4
- package/lib/link/index.js +2 -2
- package/lib/loading/index.js +11 -12
- package/lib/menu/index.js +2 -3
- package/lib/message/index.js +1 -1
- package/lib/modal/index.js +4 -4
- package/lib/navigation/index.js +7 -9
- package/lib/notify/index.js +1 -1
- package/lib/overflow-title/index.js +9 -10
- package/lib/pagination/index.js +1 -1
- package/lib/plugin-popover/index.js +26 -30
- package/lib/pop-confirm/index.js +4 -5
- package/lib/popover/index.js +26 -30
- package/lib/popover2/index.js +2 -2
- package/lib/process/index.js +4 -4
- package/lib/progress/index.js +5 -6
- package/lib/radio/index.js +11 -12
- package/lib/rate/index.js +1 -1
- package/lib/resize-layout/index.js +1 -1
- package/lib/search-select/index.js +11 -14
- package/lib/select/index.d.ts +33 -0
- package/lib/select/index.js +8 -6
- package/lib/select/select.css +19 -5
- package/lib/select/select.d.ts +11 -0
- package/lib/select/select.less +26 -6
- package/lib/select/select.variable.css +19 -5
- package/lib/select/selectTagInput.d.ts +7 -0
- package/lib/shared/index.js +5 -8
- package/lib/sideslider/index.js +4 -4
- package/lib/slider/index.js +19 -20
- package/lib/steps/index.js +4 -4
- package/lib/swiper/index.js +1 -1
- package/lib/switcher/index.js +1 -1
- package/lib/tab/index.js +3 -4
- package/lib/table/index.js +6 -8
- package/lib/table-column/index.js +1 -1
- package/lib/tag/index.js +1 -1
- package/lib/tag-input/index.js +3 -4
- package/lib/tree/index.js +10 -12
- package/lib/upload/index.js +4 -4
- package/lib/virtual-render/index.js +2 -3
- package/package.json +1 -1
package/lib/select/index.js
CHANGED
@@ -135,7 +135,7 @@ function _regeneratorRuntime() {
|
|
135
135
|
function makeInvokeMethod(e, r, n) {
|
136
136
|
var o = h;
|
137
137
|
return function (i, a) {
|
138
|
-
if (o === f) throw
|
138
|
+
if (o === f) throw Error("Generator is already running");
|
139
139
|
if (o === s) {
|
140
140
|
if ("throw" === i) throw a;
|
141
141
|
return {
|
@@ -277,7 +277,7 @@ function _regeneratorRuntime() {
|
|
277
277
|
} else if (c) {
|
278
278
|
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
279
279
|
} else {
|
280
|
-
if (!u) throw
|
280
|
+
if (!u) throw Error("try statement without catch or finally");
|
281
281
|
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
282
282
|
}
|
283
283
|
}
|
@@ -317,7 +317,7 @@ function _regeneratorRuntime() {
|
|
317
317
|
return o;
|
318
318
|
}
|
319
319
|
}
|
320
|
-
throw
|
320
|
+
throw Error("illegal catch attempt");
|
321
321
|
},
|
322
322
|
delegateYield: function delegateYield(e, r, n) {
|
323
323
|
return this.delegate = {
|
@@ -470,7 +470,7 @@ function toPrimitive(t, r) {
|
|
470
470
|
|
471
471
|
function toPropertyKey(t) {
|
472
472
|
var i = toPrimitive(t, "string");
|
473
|
-
return "symbol" == _typeof(i) ? i :
|
473
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
474
474
|
}
|
475
475
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
476
476
|
|
@@ -2362,7 +2362,8 @@ const tag_less_namespaceObject = tag_less_x({ });
|
|
2362
2362
|
allowCreate: shared_namespaceObject.PropTypes.bool.def(false),
|
2363
2363
|
disabled: shared_namespaceObject.PropTypes.bool.def(false),
|
2364
2364
|
modelValue: shared_namespaceObject.PropTypes.any,
|
2365
|
-
collapseTags: shared_namespaceObject.PropTypes.bool.def(false)
|
2365
|
+
collapseTags: shared_namespaceObject.PropTypes.bool.def(false),
|
2366
|
+
behavior: (0,shared_namespaceObject.InputBehaviorType)()
|
2366
2367
|
},
|
2367
2368
|
emits: ['update:modelValue', 'remove', 'enter', 'keydown'],
|
2368
2369
|
setup: function setup(props, _ref) {
|
@@ -2487,7 +2488,7 @@ const tag_less_namespaceObject = tag_less_x({ });
|
|
2487
2488
|
_this$$slots4,
|
2488
2489
|
_this$$slots4$suffix;
|
2489
2490
|
var prefix = (_this$$slots = this.$slots) === null || _this$$slots === void 0 || (_this$$slots$prefix = _this$$slots.prefix) === null || _this$$slots$prefix === void 0 ? void 0 : _this$$slots$prefix.call(_this$$slots);
|
2490
|
-
var selectTagClass = (0,shared_namespaceObject.classes)(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, this.resolveClassName('select-tag'), true), this.resolveClassName('select-tag--default'), true), 'is-disabled', this.disabled), 'collapse-tag', this.collapseTags), 'has-prefix', !!prefix));
|
2491
|
+
var selectTagClass = (0,shared_namespaceObject.classes)(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, this.resolveClassName('select-tag'), true), this.resolveClassName('select-tag--default'), true), 'is-disabled', this.disabled), 'collapse-tag', this.collapseTags), 'has-prefix', !!prefix), 'is-simplicity', this.behavior === 'simplicity'));
|
2491
2492
|
var tagWrapperClass = (0,shared_namespaceObject.classes)(_defineProperty({}, this.resolveClassName('select-tag-wrapper'), true));
|
2492
2493
|
var inputStyle = {
|
2493
2494
|
display: this.selected.length && !this.filterable ? 'none' : ''
|
@@ -3477,6 +3478,7 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
|
|
3477
3478
|
"placeholder": _this.localPlaceholder,
|
3478
3479
|
"filterable": _this.isInput,
|
3479
3480
|
"disabled": _this.isDisabled,
|
3481
|
+
"behavior": _this.behavior,
|
3480
3482
|
"onRemove": _this.handleDeleteTag,
|
3481
3483
|
"collapseTags": _this.isCollapseTags,
|
3482
3484
|
"onEnter": _this.handleCreateCustomOption
|
package/lib/select/select.css
CHANGED
@@ -34,21 +34,24 @@
|
|
34
34
|
.bk-select.large .bk-select-content-wrapper {
|
35
35
|
font-size: 14px;
|
36
36
|
}
|
37
|
-
.bk-select.is-focus.normal .bk-select-trigger .bk-select-tag
|
37
|
+
.bk-select.is-focus:not(.is-disabled).normal .bk-select-trigger .bk-select-tag {
|
38
38
|
border-color: #3a84ff;
|
39
39
|
box-shadow: 0px 0px 3px 0px #a3c5fd;
|
40
40
|
}
|
41
|
-
.bk-select.is-focus .bk-
|
41
|
+
.bk-select.is-focus:not(.is-disabled).simplicity .bk-select-trigger .bk-select-tag {
|
42
|
+
border-bottom-color: #3a84ff;
|
43
|
+
}
|
44
|
+
.bk-select.is-focus .bk-input {
|
42
45
|
border-color: #3a84ff;
|
43
46
|
outline: 0;
|
44
47
|
box-shadow: 0px 0px 3px 0px #a3c5fd;
|
45
48
|
}
|
46
|
-
.bk-select.is-focus .bk-input
|
49
|
+
.bk-select.is-focus .bk-input.is-simplicity {
|
47
50
|
border-color: transparent;
|
48
51
|
border-bottom-color: #3a84ff;
|
49
52
|
box-shadow: none;
|
50
53
|
}
|
51
|
-
.bk-select.is-focus .bk-input
|
54
|
+
.bk-select.is-focus .bk-input.is-simplicity .bk-input--text {
|
52
55
|
background-color: #f5f7fa;
|
53
56
|
}
|
54
57
|
.bk-select.popover-show .bk-select-trigger .angle-up {
|
@@ -108,6 +111,17 @@
|
|
108
111
|
.bk-select .bk-select-trigger .bk-select-tag::placeholder {
|
109
112
|
color: #c4c6cc;
|
110
113
|
}
|
114
|
+
.bk-select .bk-select-trigger .bk-select-tag.is-simplicity {
|
115
|
+
background-color: transparent;
|
116
|
+
border-color: transparent;
|
117
|
+
border-bottom-color: #c4c6cc;
|
118
|
+
}
|
119
|
+
.bk-select .bk-select-trigger .bk-select-tag.is-simplicity:hover {
|
120
|
+
background-color: #f5f7fa;
|
121
|
+
border-color: transparent;
|
122
|
+
border-bottom-color: #c4c6cc;
|
123
|
+
box-shadow: none;
|
124
|
+
}
|
111
125
|
.bk-select .bk-select-trigger .bk-select-tag.has-prefix {
|
112
126
|
padding-left: 0;
|
113
127
|
}
|
@@ -129,7 +143,7 @@
|
|
129
143
|
min-height: 32px;
|
130
144
|
flex-wrap: wrap;
|
131
145
|
}
|
132
|
-
.bk-select .bk-select-trigger .bk-select-tag:not(.is-disabled):hover {
|
146
|
+
.bk-select .bk-select-trigger .bk-select-tag:not(.is-disabled,.is-simplicity):hover {
|
133
147
|
border-color: #979ba5;
|
134
148
|
}
|
135
149
|
.bk-select .bk-select-trigger .bk-select-tag.is-disabled {
|
package/lib/select/select.d.ts
CHANGED
@@ -370,6 +370,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
370
370
|
} & {
|
371
371
|
default: boolean;
|
372
372
|
};
|
373
|
+
behavior: import("vue-types").VueTypeDef<"normal" | "simplicity"> & {
|
374
|
+
default: "normal" | "simplicity";
|
375
|
+
};
|
373
376
|
}>> & {
|
374
377
|
onKeydown?: (...args: any[]) => any;
|
375
378
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
@@ -424,6 +427,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
424
427
|
} & {
|
425
428
|
default: boolean;
|
426
429
|
};
|
430
|
+
behavior: import("vue-types").VueTypeDef<"normal" | "simplicity"> & {
|
431
|
+
default: "normal" | "simplicity";
|
432
|
+
};
|
427
433
|
}>> & {
|
428
434
|
onKeydown?: (...args: any[]) => any;
|
429
435
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
@@ -433,6 +439,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
433
439
|
disabled: boolean;
|
434
440
|
placeholder: string;
|
435
441
|
tagTheme: "" | "info" | "success" | "warning" | "danger";
|
442
|
+
behavior: "normal" | "simplicity";
|
436
443
|
selected: ISelected[];
|
437
444
|
filterable: boolean;
|
438
445
|
allowCreate: boolean;
|
@@ -478,6 +485,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
478
485
|
} & {
|
479
486
|
default: boolean;
|
480
487
|
};
|
488
|
+
behavior: import("vue-types").VueTypeDef<"normal" | "simplicity"> & {
|
489
|
+
default: "normal" | "simplicity";
|
490
|
+
};
|
481
491
|
}>> & {
|
482
492
|
onKeydown?: (...args: any[]) => any;
|
483
493
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
@@ -502,6 +512,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
502
512
|
disabled: boolean;
|
503
513
|
placeholder: string;
|
504
514
|
tagTheme: "" | "info" | "success" | "warning" | "danger";
|
515
|
+
behavior: "normal" | "simplicity";
|
505
516
|
selected: ISelected[];
|
506
517
|
filterable: boolean;
|
507
518
|
allowCreate: boolean;
|
package/lib/select/select.less
CHANGED
@@ -96,14 +96,21 @@
|
|
96
96
|
}
|
97
97
|
}
|
98
98
|
|
99
|
-
&.is-focus.
|
100
|
-
|
101
|
-
|
102
|
-
|
99
|
+
&.is-focus:not(.is-disabled) {
|
100
|
+
&.normal {
|
101
|
+
.@{bk-prefix}-select-trigger .@{bk-prefix}-select-tag {
|
102
|
+
border-color: @primary-color;
|
103
|
+
box-shadow: 0px 0px 3px 0px #a3c5fd;
|
104
|
+
}
|
105
|
+
}
|
106
|
+
&.simplicity {
|
107
|
+
.@{bk-prefix}-select-trigger .@{bk-prefix}-select-tag {
|
108
|
+
border-bottom-color: @primary-color;
|
109
|
+
}
|
103
110
|
}
|
104
111
|
}
|
105
112
|
|
106
|
-
&.is-focus .@{bk-prefix}-input
|
113
|
+
&.is-focus .@{bk-prefix}-input {
|
107
114
|
border-color: @primary-color;
|
108
115
|
outline: 0;
|
109
116
|
box-shadow: 0px 0px 3px 0px @input-shadow-color;
|
@@ -164,6 +171,19 @@
|
|
164
171
|
width: auto;
|
165
172
|
align-items: center;
|
166
173
|
|
174
|
+
&.is-simplicity {
|
175
|
+
background-color: transparent;
|
176
|
+
border-color: transparent;
|
177
|
+
border-bottom-color: @input-border-color;
|
178
|
+
|
179
|
+
&:hover {
|
180
|
+
background-color: @input-block-color;
|
181
|
+
border-color: transparent;
|
182
|
+
border-bottom-color: @light-gray;
|
183
|
+
box-shadow: none;
|
184
|
+
}
|
185
|
+
}
|
186
|
+
|
167
187
|
&.has-prefix {
|
168
188
|
padding-left: 0;
|
169
189
|
}
|
@@ -189,7 +209,7 @@
|
|
189
209
|
flex-wrap: wrap;
|
190
210
|
}
|
191
211
|
|
192
|
-
&:not(.is-disabled):hover {
|
212
|
+
&:not(.is-disabled,.is-simplicity):hover {
|
193
213
|
border-color: #979ba5;
|
194
214
|
}
|
195
215
|
|
@@ -163,21 +163,24 @@
|
|
163
163
|
.bk-select.large .bk-select-content-wrapper {
|
164
164
|
font-size: 14px;
|
165
165
|
}
|
166
|
-
.bk-select.is-focus.normal .bk-select-trigger .bk-select-tag
|
166
|
+
.bk-select.is-focus:not(.is-disabled).normal .bk-select-trigger .bk-select-tag {
|
167
167
|
border-color: #3a84ff;
|
168
168
|
box-shadow: 0px 0px 3px 0px #a3c5fd;
|
169
169
|
}
|
170
|
-
.bk-select.is-focus .bk-
|
170
|
+
.bk-select.is-focus:not(.is-disabled).simplicity .bk-select-trigger .bk-select-tag {
|
171
|
+
border-bottom-color: #3a84ff;
|
172
|
+
}
|
173
|
+
.bk-select.is-focus .bk-input {
|
171
174
|
border-color: #3a84ff;
|
172
175
|
outline: 0;
|
173
176
|
box-shadow: 0px 0px 3px 0px #a3c5fd;
|
174
177
|
}
|
175
|
-
.bk-select.is-focus .bk-input
|
178
|
+
.bk-select.is-focus .bk-input.is-simplicity {
|
176
179
|
border-color: transparent;
|
177
180
|
border-bottom-color: #3a84ff;
|
178
181
|
box-shadow: none;
|
179
182
|
}
|
180
|
-
.bk-select.is-focus .bk-input
|
183
|
+
.bk-select.is-focus .bk-input.is-simplicity .bk-input--text {
|
181
184
|
background-color: #f5f7fa;
|
182
185
|
}
|
183
186
|
.bk-select.popover-show .bk-select-trigger .angle-up {
|
@@ -237,6 +240,17 @@
|
|
237
240
|
.bk-select .bk-select-trigger .bk-select-tag::placeholder {
|
238
241
|
color: #c4c6cc;
|
239
242
|
}
|
243
|
+
.bk-select .bk-select-trigger .bk-select-tag.is-simplicity {
|
244
|
+
background-color: transparent;
|
245
|
+
border-color: transparent;
|
246
|
+
border-bottom-color: #c4c6cc;
|
247
|
+
}
|
248
|
+
.bk-select .bk-select-trigger .bk-select-tag.is-simplicity:hover {
|
249
|
+
background-color: #f5f7fa;
|
250
|
+
border-color: transparent;
|
251
|
+
border-bottom-color: #c4c6cc;
|
252
|
+
box-shadow: none;
|
253
|
+
}
|
240
254
|
.bk-select .bk-select-trigger .bk-select-tag.has-prefix {
|
241
255
|
padding-left: 0;
|
242
256
|
}
|
@@ -258,7 +272,7 @@
|
|
258
272
|
min-height: 32px;
|
259
273
|
flex-wrap: wrap;
|
260
274
|
}
|
261
|
-
.bk-select .bk-select-trigger .bk-select-tag:not(.is-disabled):hover {
|
275
|
+
.bk-select .bk-select-trigger .bk-select-tag:not(.is-disabled,.is-simplicity):hover {
|
262
276
|
border-color: #979ba5;
|
263
277
|
}
|
264
278
|
.bk-select .bk-select-trigger .bk-select-tag.is-disabled {
|
@@ -34,6 +34,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
34
34
|
} & {
|
35
35
|
default: boolean;
|
36
36
|
};
|
37
|
+
behavior: import("vue-types/dist/types").VueTypeDef<"normal" | "simplicity"> & {
|
38
|
+
default: "normal" | "simplicity";
|
39
|
+
};
|
37
40
|
}, {
|
38
41
|
collapseTagRef: import("vue").Ref<any>;
|
39
42
|
tagWrapperRef: import("vue").Ref<any>;
|
@@ -83,6 +86,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
83
86
|
} & {
|
84
87
|
default: boolean;
|
85
88
|
};
|
89
|
+
behavior: import("vue-types/dist/types").VueTypeDef<"normal" | "simplicity"> & {
|
90
|
+
default: "normal" | "simplicity";
|
91
|
+
};
|
86
92
|
}>> & {
|
87
93
|
onKeydown?: (...args: any[]) => any;
|
88
94
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
@@ -92,6 +98,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
92
98
|
disabled: boolean;
|
93
99
|
placeholder: string;
|
94
100
|
tagTheme: "" | "info" | "success" | "warning" | "danger";
|
101
|
+
behavior: "normal" | "simplicity";
|
95
102
|
selected: ISelected[];
|
96
103
|
filterable: boolean;
|
97
104
|
allowCreate: boolean;
|
package/lib/shared/index.js
CHANGED
@@ -625,7 +625,7 @@ function toPrimitive(t, r) {
|
|
625
625
|
|
626
626
|
function toPropertyKey(t) {
|
627
627
|
var i = toPrimitive(t, "string");
|
628
|
-
return "symbol" == _typeof(i) ? i :
|
628
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
629
629
|
}
|
630
630
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/createClass.js
|
631
631
|
|
@@ -848,7 +848,7 @@ var BKPopover = /*#__PURE__*/function () {
|
|
848
848
|
}
|
849
849
|
// Synchronously updates the popper instance. Use this for low-frequency
|
850
850
|
// updates.
|
851
|
-
_createClass(BKPopover, [{
|
851
|
+
return _createClass(BKPopover, [{
|
852
852
|
key: "forceUpdate",
|
853
853
|
value: function forceUpdate() {
|
854
854
|
var _this$instance;
|
@@ -1143,7 +1143,6 @@ var BKPopover = /*#__PURE__*/function () {
|
|
1143
1143
|
return source && (source === target || source === target.firstElementChild);
|
1144
1144
|
}
|
1145
1145
|
}]);
|
1146
|
-
return BKPopover;
|
1147
1146
|
}();
|
1148
1147
|
var popContainerId = null;
|
1149
1148
|
var getPopContainerId = function getPopContainerId() {
|
@@ -1613,12 +1612,12 @@ function InputBehaviorType() {
|
|
1613
1612
|
return (0,external_vue_types_namespaceObject.toType)('behavior', {}).def(InputBehaviorEnum.NORMAL);
|
1614
1613
|
}
|
1615
1614
|
var PropTypes = /*#__PURE__*/function (_propTypesNS) {
|
1616
|
-
_inherits(PropTypes, _propTypesNS);
|
1617
1615
|
function PropTypes() {
|
1618
1616
|
_classCallCheck(this, PropTypes);
|
1619
1617
|
return _callSuper(this, PropTypes, arguments);
|
1620
1618
|
}
|
1621
|
-
|
1619
|
+
_inherits(PropTypes, _propTypesNS);
|
1620
|
+
return _createClass(PropTypes, null, [{
|
1622
1621
|
key: "size",
|
1623
1622
|
value: function size() {
|
1624
1623
|
var defaultList = ['small', 'default', 'large', 'huge'];
|
@@ -1711,7 +1710,6 @@ var PropTypes = /*#__PURE__*/function (_propTypesNS) {
|
|
1711
1710
|
});
|
1712
1711
|
}
|
1713
1712
|
}]);
|
1714
|
-
return PropTypes;
|
1715
1713
|
}(propTypesNS);
|
1716
1714
|
var SelectedTypeEnum;
|
1717
1715
|
(function (SelectedTypeEnum) {
|
@@ -1785,7 +1783,7 @@ var BKZIndexManager = /*#__PURE__*/function () {
|
|
1785
1783
|
* @param type
|
1786
1784
|
* @returns
|
1787
1785
|
*/
|
1788
|
-
_createClass(BKZIndexManager, [{
|
1786
|
+
return _createClass(BKZIndexManager, [{
|
1789
1787
|
key: "getNextIndex",
|
1790
1788
|
value: function getNextIndex(type) {
|
1791
1789
|
if (Object.prototype.hasOwnProperty.call(this.storageLayerIndexValue, type)) {
|
@@ -1869,7 +1867,6 @@ var BKZIndexManager = /*#__PURE__*/function () {
|
|
1869
1867
|
this.storageLayerIndexValue = Object.create(BKLAYERD_INDEX_EFAULT_VALUE, properties);
|
1870
1868
|
}
|
1871
1869
|
}]);
|
1872
|
-
return BKZIndexManager;
|
1873
1870
|
}();
|
1874
1871
|
var bkZIndexManager = new BKZIndexManager();
|
1875
1872
|
;// CONCATENATED MODULE: ../../packages/shared/src/mask.ts
|
package/lib/sideslider/index.js
CHANGED
@@ -120,7 +120,7 @@ function _regeneratorRuntime() {
|
|
120
120
|
function makeInvokeMethod(e, r, n) {
|
121
121
|
var o = h;
|
122
122
|
return function (i, a) {
|
123
|
-
if (o === f) throw
|
123
|
+
if (o === f) throw Error("Generator is already running");
|
124
124
|
if (o === s) {
|
125
125
|
if ("throw" === i) throw a;
|
126
126
|
return {
|
@@ -262,7 +262,7 @@ function _regeneratorRuntime() {
|
|
262
262
|
} else if (c) {
|
263
263
|
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
264
264
|
} else {
|
265
|
-
if (!u) throw
|
265
|
+
if (!u) throw Error("try statement without catch or finally");
|
266
266
|
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
267
267
|
}
|
268
268
|
}
|
@@ -302,7 +302,7 @@ function _regeneratorRuntime() {
|
|
302
302
|
return o;
|
303
303
|
}
|
304
304
|
}
|
305
|
-
throw
|
305
|
+
throw Error("illegal catch attempt");
|
306
306
|
},
|
307
307
|
delegateYield: function delegateYield(e, r, n) {
|
308
308
|
return this.delegate = {
|
@@ -483,7 +483,7 @@ function toPrimitive(t, r) {
|
|
483
483
|
|
484
484
|
function toPropertyKey(t) {
|
485
485
|
var i = toPrimitive(t, "string");
|
486
|
-
return "symbol" == _typeof(i) ? i :
|
486
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
487
487
|
}
|
488
488
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
489
489
|
|
package/lib/slider/index.js
CHANGED
@@ -122,7 +122,7 @@ function _regeneratorRuntime() {
|
|
122
122
|
function makeInvokeMethod(e, r, n) {
|
123
123
|
var o = h;
|
124
124
|
return function (i, a) {
|
125
|
-
if (o === f) throw
|
125
|
+
if (o === f) throw Error("Generator is already running");
|
126
126
|
if (o === s) {
|
127
127
|
if ("throw" === i) throw a;
|
128
128
|
return {
|
@@ -264,7 +264,7 @@ function _regeneratorRuntime() {
|
|
264
264
|
} else if (c) {
|
265
265
|
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
266
266
|
} else {
|
267
|
-
if (!u) throw
|
267
|
+
if (!u) throw Error("try statement without catch or finally");
|
268
268
|
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
269
269
|
}
|
270
270
|
}
|
@@ -304,7 +304,7 @@ function _regeneratorRuntime() {
|
|
304
304
|
return o;
|
305
305
|
}
|
306
306
|
}
|
307
|
-
throw
|
307
|
+
throw Error("illegal catch attempt");
|
308
308
|
},
|
309
309
|
delegateYield: function delegateYield(e, r, n) {
|
310
310
|
return this.delegate = {
|
@@ -517,8 +517,7 @@ const popover_less_namespaceObject = popover_less_x({ });
|
|
517
517
|
|
518
518
|
|
519
519
|
|
520
|
-
|
521
|
-
/* harmony default export */ const slider_button = ((0,external_vue_namespaceObject.defineComponent)({
|
520
|
+
/* harmony default export */ const slider_button = (defineComponent({
|
522
521
|
name: 'SliderButton',
|
523
522
|
props: {
|
524
523
|
modelValue: {
|
@@ -535,18 +534,18 @@ const popover_less_namespaceObject = popover_less_x({ });
|
|
535
534
|
emits: ['emitChange', 'resetSize', 'update:modelValue'],
|
536
535
|
setup: function setup(props, _ref) {
|
537
536
|
var emit = _ref.emit;
|
538
|
-
var dragging =
|
539
|
-
var isClick =
|
540
|
-
var startY =
|
541
|
-
var startX =
|
542
|
-
var startPosition =
|
543
|
-
var newPosition =
|
544
|
-
var oldValue =
|
545
|
-
var currentY =
|
546
|
-
var currentX =
|
547
|
-
var isMove =
|
548
|
-
var button =
|
549
|
-
var tip =
|
537
|
+
var dragging = ref(false);
|
538
|
+
var isClick = ref(false);
|
539
|
+
var startY = ref(0);
|
540
|
+
var startX = ref(0);
|
541
|
+
var startPosition = ref(0);
|
542
|
+
var newPosition = ref(null);
|
543
|
+
var oldValue = ref(props.modelValue);
|
544
|
+
var currentY = ref(0);
|
545
|
+
var currentX = ref(0);
|
546
|
+
var isMove = ref(false);
|
547
|
+
var button = ref(null);
|
548
|
+
var tip = computed(function () {
|
550
549
|
var _props$params$customC, _props$params;
|
551
550
|
var tip = '';
|
552
551
|
if ((_props$params$customC = props.params.customContent) !== null && _props$params$customC !== void 0 && _props$params$customC[props.modelValue]) {
|
@@ -565,17 +564,17 @@ const popover_less_namespaceObject = popover_less_x({ });
|
|
565
564
|
placement: placement
|
566
565
|
};
|
567
566
|
});
|
568
|
-
var currentPosition =
|
567
|
+
var currentPosition = computed(function () {
|
569
568
|
return "".concat((props.modelValue - props.params.minValue) / (props.params.maxValue - props.params.minValue) * 100, "%");
|
570
569
|
});
|
571
|
-
var wrapperStyle =
|
570
|
+
var wrapperStyle = computed(function () {
|
572
571
|
return props.params.vertical ? {
|
573
572
|
bottom: currentPosition.value
|
574
573
|
} : {
|
575
574
|
left: currentPosition.value
|
576
575
|
};
|
577
576
|
});
|
578
|
-
var buttonLabel =
|
577
|
+
var buttonLabel = computed(function () {
|
579
578
|
return props.params.formatterButtonLabel(props.modelValue);
|
580
579
|
});
|
581
580
|
var onButtonDown = function onButtonDown(event) {
|
package/lib/steps/index.js
CHANGED
@@ -120,7 +120,7 @@ function _regeneratorRuntime() {
|
|
120
120
|
function makeInvokeMethod(e, r, n) {
|
121
121
|
var o = h;
|
122
122
|
return function (i, a) {
|
123
|
-
if (o === f) throw
|
123
|
+
if (o === f) throw Error("Generator is already running");
|
124
124
|
if (o === s) {
|
125
125
|
if ("throw" === i) throw a;
|
126
126
|
return {
|
@@ -262,7 +262,7 @@ function _regeneratorRuntime() {
|
|
262
262
|
} else if (c) {
|
263
263
|
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
264
264
|
} else {
|
265
|
-
if (!u) throw
|
265
|
+
if (!u) throw Error("try statement without catch or finally");
|
266
266
|
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
267
267
|
}
|
268
268
|
}
|
@@ -302,7 +302,7 @@ function _regeneratorRuntime() {
|
|
302
302
|
return o;
|
303
303
|
}
|
304
304
|
}
|
305
|
-
throw
|
305
|
+
throw Error("illegal catch attempt");
|
306
306
|
},
|
307
307
|
delegateYield: function delegateYield(e, r, n) {
|
308
308
|
return this.delegate = {
|
@@ -452,7 +452,7 @@ function toPrimitive(t, r) {
|
|
452
452
|
|
453
453
|
function toPropertyKey(t) {
|
454
454
|
var i = toPrimitive(t, "string");
|
455
|
-
return "symbol" == _typeof(i) ? i :
|
455
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
456
456
|
}
|
457
457
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
458
458
|
|
package/lib/swiper/index.js
CHANGED
@@ -63,7 +63,7 @@ function toPrimitive(t, r) {
|
|
63
63
|
|
64
64
|
function toPropertyKey(t) {
|
65
65
|
var i = toPrimitive(t, "string");
|
66
|
-
return "symbol" == _typeof(i) ? i :
|
66
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
67
67
|
}
|
68
68
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
69
69
|
|
package/lib/switcher/index.js
CHANGED
@@ -64,7 +64,7 @@ function toPrimitive(t, r) {
|
|
64
64
|
|
65
65
|
function toPropertyKey(t) {
|
66
66
|
var i = toPrimitive(t, "string");
|
67
|
-
return "symbol" == _typeof(i) ? i :
|
67
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
68
68
|
}
|
69
69
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
70
70
|
|
package/lib/tab/index.js
CHANGED
@@ -70,7 +70,7 @@ function toPrimitive(t, r) {
|
|
70
70
|
|
71
71
|
function toPropertyKey(t) {
|
72
72
|
var i = toPrimitive(t, "string");
|
73
|
-
return "symbol" == _typeof(i) ? i :
|
73
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
74
74
|
}
|
75
75
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
76
76
|
|
@@ -865,8 +865,7 @@ function tab_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var
|
|
865
865
|
*/
|
866
866
|
|
867
867
|
|
868
|
-
|
869
|
-
/* harmony default export */ const tab_panel = ((0,external_vue_namespaceObject.defineComponent)({
|
868
|
+
/* harmony default export */ const tab_panel = (defineComponent({
|
870
869
|
name: 'TabPanel',
|
871
870
|
props: tabPanelProps,
|
872
871
|
render: function render() {
|
@@ -878,7 +877,7 @@ function tab_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var
|
|
878
877
|
return null;
|
879
878
|
}
|
880
879
|
if (typeof _this.panel === 'function') {
|
881
|
-
return _this.panel(
|
880
|
+
return _this.panel(h);
|
882
881
|
}
|
883
882
|
if (typeof _this.$slots["default"] === 'function') {
|
884
883
|
return _this.$slots["default"](null);
|
package/lib/table/index.js
CHANGED
@@ -101,7 +101,7 @@ function toPrimitive(t, r) {
|
|
101
101
|
|
102
102
|
function toPropertyKey(t) {
|
103
103
|
var i = toPrimitive(t, "string");
|
104
|
-
return "symbol" == typeof_typeof(i) ? i :
|
104
|
+
return "symbol" == typeof_typeof(i) ? i : i + "";
|
105
105
|
}
|
106
106
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
107
107
|
|
@@ -1051,7 +1051,7 @@ var BkTableCache = /*#__PURE__*/function () {
|
|
1051
1051
|
defineProperty_defineProperty(this, "defKey", Symbol('bk-table-cache-def-key'));
|
1052
1052
|
this.storage = new WeakMap();
|
1053
1053
|
}
|
1054
|
-
_createClass(BkTableCache, [{
|
1054
|
+
return _createClass(BkTableCache, [{
|
1055
1055
|
key: "queueStack",
|
1056
1056
|
value: function queueStack(methodName) {
|
1057
1057
|
var _target$methodName;
|
@@ -1085,7 +1085,6 @@ var BkTableCache = /*#__PURE__*/function () {
|
|
1085
1085
|
}
|
1086
1086
|
}
|
1087
1087
|
}]);
|
1088
|
-
return BkTableCache;
|
1089
1088
|
}();
|
1090
1089
|
|
1091
1090
|
;// CONCATENATED MODULE: ../../packages/table/src/events.ts
|
@@ -4808,7 +4807,7 @@ const directives_namespaceObject = directives_x({ ["bkEllipsisInstance"]: () =>
|
|
4808
4807
|
* IN THE SOFTWARE.
|
4809
4808
|
*/
|
4810
4809
|
|
4811
|
-
/* harmony default export */ const table_row = (
|
4810
|
+
/* harmony default export */ const table_row = (defineComponent({
|
4812
4811
|
name: 'TableRow',
|
4813
4812
|
render: function render() {
|
4814
4813
|
var _this$$slots$default, _this$$slots;
|
@@ -4854,8 +4853,7 @@ const exception_less_namespaceObject = exception_less_x({ });
|
|
4854
4853
|
|
4855
4854
|
|
4856
4855
|
|
4857
|
-
|
4858
|
-
/* harmony default export */ const body_empty = ((0,external_vue_namespaceObject.defineComponent)({
|
4856
|
+
/* harmony default export */ const body_empty = (defineComponent({
|
4859
4857
|
name: 'BodyEmpty',
|
4860
4858
|
props: {
|
4861
4859
|
list: shared_namespaceObject.PropTypes.array.def([]),
|
@@ -4865,13 +4863,13 @@ const exception_less_namespaceObject = exception_less_x({ });
|
|
4865
4863
|
emits: ['change'],
|
4866
4864
|
setup: function setup(props) {
|
4867
4865
|
var t = (0,config_provider_namespaceObject.useLocale)('table');
|
4868
|
-
var localEmptyText =
|
4866
|
+
var localEmptyText = computed(function () {
|
4869
4867
|
if (props.emptyText === undefined) {
|
4870
4868
|
return t.value.emptyText;
|
4871
4869
|
}
|
4872
4870
|
return props.emptyText;
|
4873
4871
|
});
|
4874
|
-
var type =
|
4872
|
+
var type = computed(function () {
|
4875
4873
|
return props.list.length === 0 ? 'empty' : 'search-empty';
|
4876
4874
|
});
|
4877
4875
|
return function () {
|
@@ -62,7 +62,7 @@ function toPrimitive(t, r) {
|
|
62
62
|
|
63
63
|
function toPropertyKey(t) {
|
64
64
|
var i = toPrimitive(t, "string");
|
65
|
-
return "symbol" == _typeof(i) ? i :
|
65
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
66
66
|
}
|
67
67
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
68
68
|
|
package/lib/tag/index.js
CHANGED
@@ -65,7 +65,7 @@ function toPrimitive(t, r) {
|
|
65
65
|
|
66
66
|
function toPropertyKey(t) {
|
67
67
|
var i = toPrimitive(t, "string");
|
68
|
-
return "symbol" == _typeof(i) ? i :
|
68
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
69
69
|
}
|
70
70
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
71
71
|
|