bkui-vue 1.0.3-beta.60.scrollbar.2 → 1.0.3-beta.60.scrollbar.4
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/lib/affix/index.js +1 -1
- package/lib/alert/index.js +1 -1
- package/lib/animate-number/index.js +8 -7
- 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 +42 -38
- package/lib/checkbox/index.js +7 -6
- package/lib/collapse/index.js +12 -11
- package/lib/collapse-transition/index.js +4 -3
- package/lib/color-picker/index.js +13 -10
- package/lib/config-provider/index.js +1 -1
- package/lib/container/index.js +12 -10
- 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 +3 -2
- package/lib/dropdown/index.js +8 -6
- package/lib/exception/index.js +1 -1
- package/lib/fixed-navbar/index.js +3 -2
- 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 +11 -10
- 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 +12 -11
- package/lib/menu/index.js +3 -2
- package/lib/message/index.js +1 -1
- package/lib/modal/index.js +4 -4
- package/lib/navigation/index.js +9 -7
- package/lib/notify/index.js +1 -1
- package/lib/overflow-title/index.js +10 -9
- package/lib/pagination/index.js +1 -1
- package/lib/plugin-popover/index.js +30 -26
- package/lib/pop-confirm/index.js +5 -4
- package/lib/popover/index.js +30 -26
- package/lib/popover2/index.js +2 -2
- package/lib/process/index.js +4 -4
- package/lib/progress/index.js +6 -5
- package/lib/radio/index.js +7 -6
- package/lib/rate/index.js +1 -1
- package/lib/resize-layout/index.js +1 -1
- package/lib/search-select/index.d.ts +3 -3
- package/lib/search-select/index.js +13 -10
- package/lib/search-select/input.d.ts +1 -1
- package/lib/search-select/search-select.d.ts +1 -1
- package/lib/search-select/selected.d.ts +1 -1
- package/lib/select/index.d.ts +9 -9
- package/lib/select/index.js +4 -4
- package/lib/select/select.d.ts +3 -3
- package/lib/shared/index.js +8 -5
- package/lib/sideslider/index.js +4 -4
- package/lib/slider/index.d.ts +3 -3
- package/lib/slider/index.js +20 -19
- package/lib/slider/slider.d.ts +1 -1
- package/lib/steps/index.d.ts +3 -3
- package/lib/steps/index.js +4 -4
- package/lib/steps/steps.d.ts +1 -1
- package/lib/swiper/index.js +1 -1
- package/lib/switcher/index.js +1 -1
- package/lib/tab/index.d.ts +4 -4
- package/lib/tab/index.js +4 -3
- package/lib/tab/tab.d.ts +1 -1
- package/lib/table/index.d.ts +9 -9
- package/lib/table/index.js +8 -6
- package/lib/table/table.d.ts +3 -3
- package/lib/table-column/index.js +1 -1
- package/lib/tag/index.js +1 -1
- package/lib/tag-input/index.js +4 -3
- package/lib/transfer/index.d.ts +3 -3
- package/lib/transfer/transfer.d.ts +1 -1
- package/lib/tree/index.js +12 -10
- package/lib/upload/index.d.ts +4 -4
- package/lib/upload/index.js +4 -4
- package/lib/upload/upload.d.ts +1 -1
- package/lib/virtual-render/index.js +11 -118
- package/package.json +1 -1
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 : i
|
628
|
+
return "symbol" == _typeof(i) ? i : String(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
|
-
|
851
|
+
_createClass(BKPopover, [{
|
852
852
|
key: "forceUpdate",
|
853
853
|
value: function forceUpdate() {
|
854
854
|
var _this$instance;
|
@@ -1143,6 +1143,7 @@ var BKPopover = /*#__PURE__*/function () {
|
|
1143
1143
|
return source && (source === target || source === target.firstElementChild);
|
1144
1144
|
}
|
1145
1145
|
}]);
|
1146
|
+
return BKPopover;
|
1146
1147
|
}();
|
1147
1148
|
var popContainerId = null;
|
1148
1149
|
var getPopContainerId = function getPopContainerId() {
|
@@ -1612,12 +1613,12 @@ function InputBehaviorType() {
|
|
1612
1613
|
return (0,external_vue_types_namespaceObject.toType)('behavior', {}).def(InputBehaviorEnum.NORMAL);
|
1613
1614
|
}
|
1614
1615
|
var PropTypes = /*#__PURE__*/function (_propTypesNS) {
|
1616
|
+
_inherits(PropTypes, _propTypesNS);
|
1615
1617
|
function PropTypes() {
|
1616
1618
|
_classCallCheck(this, PropTypes);
|
1617
1619
|
return _callSuper(this, PropTypes, arguments);
|
1618
1620
|
}
|
1619
|
-
|
1620
|
-
return _createClass(PropTypes, null, [{
|
1621
|
+
_createClass(PropTypes, null, [{
|
1621
1622
|
key: "size",
|
1622
1623
|
value: function size() {
|
1623
1624
|
var defaultList = ['small', 'default', 'large', 'huge'];
|
@@ -1710,6 +1711,7 @@ var PropTypes = /*#__PURE__*/function (_propTypesNS) {
|
|
1710
1711
|
});
|
1711
1712
|
}
|
1712
1713
|
}]);
|
1714
|
+
return PropTypes;
|
1713
1715
|
}(propTypesNS);
|
1714
1716
|
var SelectedTypeEnum;
|
1715
1717
|
(function (SelectedTypeEnum) {
|
@@ -1783,7 +1785,7 @@ var BKZIndexManager = /*#__PURE__*/function () {
|
|
1783
1785
|
* @param type
|
1784
1786
|
* @returns
|
1785
1787
|
*/
|
1786
|
-
|
1788
|
+
_createClass(BKZIndexManager, [{
|
1787
1789
|
key: "getNextIndex",
|
1788
1790
|
value: function getNextIndex(type) {
|
1789
1791
|
if (Object.prototype.hasOwnProperty.call(this.storageLayerIndexValue, type)) {
|
@@ -1867,6 +1869,7 @@ var BKZIndexManager = /*#__PURE__*/function () {
|
|
1867
1869
|
this.storageLayerIndexValue = Object.create(BKLAYERD_INDEX_EFAULT_VALUE, properties);
|
1868
1870
|
}
|
1869
1871
|
}]);
|
1872
|
+
return BKZIndexManager;
|
1870
1873
|
}();
|
1871
1874
|
var bkZIndexManager = new BKZIndexManager();
|
1872
1875
|
;// 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 Error("Generator is already running");
|
123
|
+
if (o === f) throw new 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 Error("try statement without catch or finally");
|
265
|
+
if (!u) throw new 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 Error("illegal catch attempt");
|
305
|
+
throw new 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 : i
|
486
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
487
487
|
}
|
488
488
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
489
489
|
|
package/lib/slider/index.d.ts
CHANGED
@@ -187,6 +187,7 @@ declare const Slider: {
|
|
187
187
|
range: boolean;
|
188
188
|
step: number;
|
189
189
|
showInput: boolean;
|
190
|
+
customContent: Record<string, any>;
|
190
191
|
disable: boolean;
|
191
192
|
showTip: boolean;
|
192
193
|
maxValue: number;
|
@@ -195,7 +196,6 @@ declare const Slider: {
|
|
195
196
|
showIntervalLabel: boolean;
|
196
197
|
showButtonLabel: boolean;
|
197
198
|
showBetweenLabel: boolean;
|
198
|
-
customContent: Record<string, any>;
|
199
199
|
formatterLabel: Function;
|
200
200
|
formatterButtonLabel: Function;
|
201
201
|
formatterTipLabel: Function;
|
@@ -292,6 +292,7 @@ declare const Slider: {
|
|
292
292
|
range: boolean;
|
293
293
|
step: number;
|
294
294
|
showInput: boolean;
|
295
|
+
customContent: Record<string, any>;
|
295
296
|
disable: boolean;
|
296
297
|
showTip: boolean;
|
297
298
|
maxValue: number;
|
@@ -300,7 +301,6 @@ declare const Slider: {
|
|
300
301
|
showIntervalLabel: boolean;
|
301
302
|
showButtonLabel: boolean;
|
302
303
|
showBetweenLabel: boolean;
|
303
|
-
customContent: Record<string, any>;
|
304
304
|
formatterLabel: Function;
|
305
305
|
formatterButtonLabel: Function;
|
306
306
|
formatterTipLabel: Function;
|
@@ -394,6 +394,7 @@ declare const Slider: {
|
|
394
394
|
range: boolean;
|
395
395
|
step: number;
|
396
396
|
showInput: boolean;
|
397
|
+
customContent: Record<string, any>;
|
397
398
|
disable: boolean;
|
398
399
|
showTip: boolean;
|
399
400
|
maxValue: number;
|
@@ -402,7 +403,6 @@ declare const Slider: {
|
|
402
403
|
showIntervalLabel: boolean;
|
403
404
|
showButtonLabel: boolean;
|
404
405
|
showBetweenLabel: boolean;
|
405
|
-
customContent: Record<string, any>;
|
406
406
|
formatterLabel: Function;
|
407
407
|
formatterButtonLabel: Function;
|
408
408
|
formatterTipLabel: Function;
|
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 Error("Generator is already running");
|
125
|
+
if (o === f) throw new 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 Error("try statement without catch or finally");
|
267
|
+
if (!u) throw new 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 Error("illegal catch attempt");
|
307
|
+
throw new Error("illegal catch attempt");
|
308
308
|
},
|
309
309
|
delegateYield: function delegateYield(e, r, n) {
|
310
310
|
return this.delegate = {
|
@@ -517,7 +517,8 @@ const popover_less_namespaceObject = popover_less_x({ });
|
|
517
517
|
|
518
518
|
|
519
519
|
|
520
|
-
|
520
|
+
|
521
|
+
/* harmony default export */ const slider_button = ((0,external_vue_namespaceObject.defineComponent)({
|
521
522
|
name: 'SliderButton',
|
522
523
|
props: {
|
523
524
|
modelValue: {
|
@@ -534,18 +535,18 @@ const popover_less_namespaceObject = popover_less_x({ });
|
|
534
535
|
emits: ['emitChange', 'resetSize', 'update:modelValue'],
|
535
536
|
setup: function setup(props, _ref) {
|
536
537
|
var emit = _ref.emit;
|
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 () {
|
538
|
+
var dragging = (0,external_vue_namespaceObject.ref)(false);
|
539
|
+
var isClick = (0,external_vue_namespaceObject.ref)(false);
|
540
|
+
var startY = (0,external_vue_namespaceObject.ref)(0);
|
541
|
+
var startX = (0,external_vue_namespaceObject.ref)(0);
|
542
|
+
var startPosition = (0,external_vue_namespaceObject.ref)(0);
|
543
|
+
var newPosition = (0,external_vue_namespaceObject.ref)(null);
|
544
|
+
var oldValue = (0,external_vue_namespaceObject.ref)(props.modelValue);
|
545
|
+
var currentY = (0,external_vue_namespaceObject.ref)(0);
|
546
|
+
var currentX = (0,external_vue_namespaceObject.ref)(0);
|
547
|
+
var isMove = (0,external_vue_namespaceObject.ref)(false);
|
548
|
+
var button = (0,external_vue_namespaceObject.ref)(null);
|
549
|
+
var tip = (0,external_vue_namespaceObject.computed)(function () {
|
549
550
|
var _props$params$customC, _props$params;
|
550
551
|
var tip = '';
|
551
552
|
if ((_props$params$customC = props.params.customContent) !== null && _props$params$customC !== void 0 && _props$params$customC[props.modelValue]) {
|
@@ -564,17 +565,17 @@ const popover_less_namespaceObject = popover_less_x({ });
|
|
564
565
|
placement: placement
|
565
566
|
};
|
566
567
|
});
|
567
|
-
var currentPosition = computed(function () {
|
568
|
+
var currentPosition = (0,external_vue_namespaceObject.computed)(function () {
|
568
569
|
return "".concat((props.modelValue - props.params.minValue) / (props.params.maxValue - props.params.minValue) * 100, "%");
|
569
570
|
});
|
570
|
-
var wrapperStyle = computed(function () {
|
571
|
+
var wrapperStyle = (0,external_vue_namespaceObject.computed)(function () {
|
571
572
|
return props.params.vertical ? {
|
572
573
|
bottom: currentPosition.value
|
573
574
|
} : {
|
574
575
|
left: currentPosition.value
|
575
576
|
};
|
576
577
|
});
|
577
|
-
var buttonLabel = computed(function () {
|
578
|
+
var buttonLabel = (0,external_vue_namespaceObject.computed)(function () {
|
578
579
|
return props.params.formatterButtonLabel(props.modelValue);
|
579
580
|
});
|
580
581
|
var onButtonDown = function onButtonDown(event) {
|
package/lib/slider/slider.d.ts
CHANGED
@@ -185,6 +185,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
185
185
|
range: boolean;
|
186
186
|
step: number;
|
187
187
|
showInput: boolean;
|
188
|
+
customContent: Record<string, any>;
|
188
189
|
disable: boolean;
|
189
190
|
showTip: boolean;
|
190
191
|
maxValue: number;
|
@@ -193,7 +194,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
193
194
|
showIntervalLabel: boolean;
|
194
195
|
showButtonLabel: boolean;
|
195
196
|
showBetweenLabel: boolean;
|
196
|
-
customContent: Record<string, any>;
|
197
197
|
formatterLabel: Function;
|
198
198
|
formatterButtonLabel: Function;
|
199
199
|
formatterTipLabel: Function;
|
package/lib/steps/index.d.ts
CHANGED
@@ -93,9 +93,9 @@ declare const BkSteps: {
|
|
93
93
|
direction: "horizontal" | "vertical";
|
94
94
|
lineType: "dashed" | "solid";
|
95
95
|
beforeChange: (...args: any[]) => any;
|
96
|
+
controllable: boolean;
|
96
97
|
status: "" | "error" | "loading";
|
97
98
|
curStep: number;
|
98
|
-
controllable: boolean;
|
99
99
|
}, true, {}, {}, {
|
100
100
|
P: {};
|
101
101
|
B: {};
|
@@ -156,9 +156,9 @@ declare const BkSteps: {
|
|
156
156
|
direction: "horizontal" | "vertical";
|
157
157
|
lineType: "dashed" | "solid";
|
158
158
|
beforeChange: (...args: any[]) => any;
|
159
|
+
controllable: boolean;
|
159
160
|
status: "" | "error" | "loading";
|
160
161
|
curStep: number;
|
161
|
-
controllable: boolean;
|
162
162
|
}>;
|
163
163
|
__isFragment?: never;
|
164
164
|
__isTeleport?: never;
|
@@ -216,8 +216,8 @@ declare const BkSteps: {
|
|
216
216
|
direction: "horizontal" | "vertical";
|
217
217
|
lineType: "dashed" | "solid";
|
218
218
|
beforeChange: (...args: any[]) => any;
|
219
|
+
controllable: boolean;
|
219
220
|
status: "" | "error" | "loading";
|
220
221
|
curStep: number;
|
221
|
-
controllable: boolean;
|
222
222
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
|
223
223
|
export default BkSteps;
|
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 Error("Generator is already running");
|
123
|
+
if (o === f) throw new 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 Error("try statement without catch or finally");
|
265
|
+
if (!u) throw new 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 Error("illegal catch attempt");
|
305
|
+
throw new 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 : i
|
455
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
456
456
|
}
|
457
457
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
458
458
|
|
package/lib/steps/steps.d.ts
CHANGED
@@ -155,8 +155,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
155
155
|
direction: "horizontal" | "vertical";
|
156
156
|
lineType: "dashed" | "solid";
|
157
157
|
beforeChange: (...args: any[]) => any;
|
158
|
+
controllable: boolean;
|
158
159
|
status: "" | "error" | "loading";
|
159
160
|
curStep: number;
|
160
|
-
controllable: boolean;
|
161
161
|
}, {}>;
|
162
162
|
export default _default;
|
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 : i
|
66
|
+
return "symbol" == _typeof(i) ? i : String(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 : i
|
67
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
68
68
|
}
|
69
69
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
70
70
|
|
package/lib/tab/index.d.ts
CHANGED
@@ -69,8 +69,8 @@ declare const BkTab: {
|
|
69
69
|
onDrag?: (...args: any[]) => any;
|
70
70
|
onChange?: (...args: any[]) => any;
|
71
71
|
onRemove?: (...args: any[]) => any;
|
72
|
-
onSort?: (...args: any[]) => any;
|
73
72
|
onAdd?: (...args: any[]) => any;
|
73
|
+
onSort?: (...args: any[]) => any;
|
74
74
|
"onAdd-panel"?: (...args: any[]) => any;
|
75
75
|
"onTab-change"?: (...args: any[]) => any;
|
76
76
|
"onRemove-panel"?: (...args: any[]) => any;
|
@@ -151,8 +151,8 @@ declare const BkTab: {
|
|
151
151
|
onDrag?: (...args: any[]) => any;
|
152
152
|
onChange?: (...args: any[]) => any;
|
153
153
|
onRemove?: (...args: any[]) => any;
|
154
|
-
onSort?: (...args: any[]) => any;
|
155
154
|
onAdd?: (...args: any[]) => any;
|
155
|
+
onSort?: (...args: any[]) => any;
|
156
156
|
"onAdd-panel"?: (...args: any[]) => any;
|
157
157
|
"onTab-change"?: (...args: any[]) => any;
|
158
158
|
"onRemove-panel"?: (...args: any[]) => any;
|
@@ -248,8 +248,8 @@ declare const BkTab: {
|
|
248
248
|
onDrag?: (...args: any[]) => any;
|
249
249
|
onChange?: (...args: any[]) => any;
|
250
250
|
onRemove?: (...args: any[]) => any;
|
251
|
-
onSort?: (...args: any[]) => any;
|
252
251
|
onAdd?: (...args: any[]) => any;
|
252
|
+
onSort?: (...args: any[]) => any;
|
253
253
|
"onAdd-panel"?: (...args: any[]) => any;
|
254
254
|
"onTab-change"?: (...args: any[]) => any;
|
255
255
|
"onRemove-panel"?: (...args: any[]) => any;
|
@@ -351,8 +351,8 @@ declare const BkTab: {
|
|
351
351
|
onDrag?: (...args: any[]) => any;
|
352
352
|
onChange?: (...args: any[]) => any;
|
353
353
|
onRemove?: (...args: any[]) => any;
|
354
|
-
onSort?: (...args: any[]) => any;
|
355
354
|
onAdd?: (...args: any[]) => any;
|
355
|
+
onSort?: (...args: any[]) => any;
|
356
356
|
"onAdd-panel"?: (...args: any[]) => any;
|
357
357
|
"onTab-change"?: (...args: any[]) => any;
|
358
358
|
"onRemove-panel"?: (...args: any[]) => any;
|
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 : i
|
73
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
74
74
|
}
|
75
75
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
76
76
|
|
@@ -865,7 +865,8 @@ function tab_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var
|
|
865
865
|
*/
|
866
866
|
|
867
867
|
|
868
|
-
|
868
|
+
|
869
|
+
/* harmony default export */ const tab_panel = ((0,external_vue_namespaceObject.defineComponent)({
|
869
870
|
name: 'TabPanel',
|
870
871
|
props: tabPanelProps,
|
871
872
|
render: function render() {
|
@@ -877,7 +878,7 @@ function tab_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var
|
|
877
878
|
return null;
|
878
879
|
}
|
879
880
|
if (typeof _this.panel === 'function') {
|
880
|
-
return _this.panel(h);
|
881
|
+
return _this.panel(external_vue_namespaceObject.h);
|
881
882
|
}
|
882
883
|
if (typeof _this.$slots["default"] === 'function') {
|
883
884
|
return _this.$slots["default"](null);
|
package/lib/tab/tab.d.ts
CHANGED
@@ -133,8 +133,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
133
133
|
onDrag?: (...args: any[]) => any;
|
134
134
|
onChange?: (...args: any[]) => any;
|
135
135
|
onRemove?: (...args: any[]) => any;
|
136
|
-
onSort?: (...args: any[]) => any;
|
137
136
|
onAdd?: (...args: any[]) => any;
|
137
|
+
onSort?: (...args: any[]) => any;
|
138
138
|
"onAdd-panel"?: (...args: any[]) => any;
|
139
139
|
"onTab-change"?: (...args: any[]) => any;
|
140
140
|
"onRemove-panel"?: (...args: any[]) => any;
|
package/lib/table/index.d.ts
CHANGED
@@ -584,6 +584,9 @@ declare const BkTable: {
|
|
584
584
|
cellClass: any;
|
585
585
|
headHeight: number;
|
586
586
|
rowKey: any;
|
587
|
+
scrollLoading: boolean | {
|
588
|
+
[key: string]: any;
|
589
|
+
};
|
587
590
|
columnPick: "disabled" | "single" | "multi";
|
588
591
|
columns: import("./props").Column[];
|
589
592
|
stripe: boolean;
|
@@ -598,9 +601,6 @@ declare const BkTable: {
|
|
598
601
|
rowClass: any;
|
599
602
|
rowStyle: any;
|
600
603
|
cellStyle: any;
|
601
|
-
scrollLoading: boolean | {
|
602
|
-
[key: string]: any;
|
603
|
-
};
|
604
604
|
reserveExpand: boolean;
|
605
605
|
selectionKey: string;
|
606
606
|
isSelectedFn: (...args: any[]) => any;
|
@@ -875,6 +875,9 @@ declare const BkTable: {
|
|
875
875
|
cellClass: any;
|
876
876
|
headHeight: number;
|
877
877
|
rowKey: any;
|
878
|
+
scrollLoading: boolean | {
|
879
|
+
[key: string]: any;
|
880
|
+
};
|
878
881
|
columnPick: "disabled" | "single" | "multi";
|
879
882
|
columns: import("./props").Column[];
|
880
883
|
stripe: boolean;
|
@@ -889,9 +892,6 @@ declare const BkTable: {
|
|
889
892
|
rowClass: any;
|
890
893
|
rowStyle: any;
|
891
894
|
cellStyle: any;
|
892
|
-
scrollLoading: boolean | {
|
893
|
-
[key: string]: any;
|
894
|
-
};
|
895
895
|
reserveExpand: boolean;
|
896
896
|
selectionKey: string;
|
897
897
|
isSelectedFn: (...args: any[]) => any;
|
@@ -1246,6 +1246,9 @@ declare const BkTable: {
|
|
1246
1246
|
cellClass: any;
|
1247
1247
|
headHeight: number;
|
1248
1248
|
rowKey: any;
|
1249
|
+
scrollLoading: boolean | {
|
1250
|
+
[key: string]: any;
|
1251
|
+
};
|
1249
1252
|
columnPick: "disabled" | "single" | "multi";
|
1250
1253
|
columns: import("./props").Column[];
|
1251
1254
|
stripe: boolean;
|
@@ -1260,9 +1263,6 @@ declare const BkTable: {
|
|
1260
1263
|
rowClass: any;
|
1261
1264
|
rowStyle: any;
|
1262
1265
|
cellStyle: any;
|
1263
|
-
scrollLoading: boolean | {
|
1264
|
-
[key: string]: any;
|
1265
|
-
};
|
1266
1266
|
reserveExpand: boolean;
|
1267
1267
|
selectionKey: string;
|
1268
1268
|
isSelectedFn: (...args: any[]) => any;
|
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 : i
|
104
|
+
return "symbol" == typeof_typeof(i) ? i : String(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
|
-
|
1054
|
+
_createClass(BkTableCache, [{
|
1055
1055
|
key: "queueStack",
|
1056
1056
|
value: function queueStack(methodName) {
|
1057
1057
|
var _target$methodName;
|
@@ -1085,6 +1085,7 @@ var BkTableCache = /*#__PURE__*/function () {
|
|
1085
1085
|
}
|
1086
1086
|
}
|
1087
1087
|
}]);
|
1088
|
+
return BkTableCache;
|
1088
1089
|
}();
|
1089
1090
|
|
1090
1091
|
;// CONCATENATED MODULE: ../../packages/table/src/events.ts
|
@@ -4805,7 +4806,7 @@ const directives_namespaceObject = directives_x({ ["bkEllipsisInstance"]: () =>
|
|
4805
4806
|
* IN THE SOFTWARE.
|
4806
4807
|
*/
|
4807
4808
|
|
4808
|
-
/* harmony default export */ const table_row = (defineComponent({
|
4809
|
+
/* harmony default export */ const table_row = ((0,external_vue_namespaceObject.defineComponent)({
|
4809
4810
|
name: 'TableRow',
|
4810
4811
|
render: function render() {
|
4811
4812
|
var _this$$slots$default, _this$$slots;
|
@@ -4851,7 +4852,8 @@ const exception_less_namespaceObject = exception_less_x({ });
|
|
4851
4852
|
|
4852
4853
|
|
4853
4854
|
|
4854
|
-
|
4855
|
+
|
4856
|
+
/* harmony default export */ const body_empty = ((0,external_vue_namespaceObject.defineComponent)({
|
4855
4857
|
name: 'BodyEmpty',
|
4856
4858
|
props: {
|
4857
4859
|
list: shared_namespaceObject.PropTypes.array.def([]),
|
@@ -4861,13 +4863,13 @@ const exception_less_namespaceObject = exception_less_x({ });
|
|
4861
4863
|
emits: ['change'],
|
4862
4864
|
setup: function setup(props) {
|
4863
4865
|
var t = (0,config_provider_namespaceObject.useLocale)('table');
|
4864
|
-
var localEmptyText = computed(function () {
|
4866
|
+
var localEmptyText = (0,external_vue_namespaceObject.computed)(function () {
|
4865
4867
|
if (props.emptyText === undefined) {
|
4866
4868
|
return t.value.emptyText;
|
4867
4869
|
}
|
4868
4870
|
return props.emptyText;
|
4869
4871
|
});
|
4870
|
-
var type = computed(function () {
|
4872
|
+
var type = (0,external_vue_namespaceObject.computed)(function () {
|
4871
4873
|
return props.list.length === 0 ? 'empty' : 'search-empty';
|
4872
4874
|
});
|
4873
4875
|
return function () {
|
package/lib/table/table.d.ts
CHANGED
@@ -496,6 +496,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
496
496
|
cellClass: any;
|
497
497
|
headHeight: number;
|
498
498
|
rowKey: any;
|
499
|
+
scrollLoading: boolean | {
|
500
|
+
[key: string]: any;
|
501
|
+
};
|
499
502
|
columnPick: "disabled" | "single" | "multi";
|
500
503
|
columns: Column[];
|
501
504
|
stripe: boolean;
|
@@ -510,9 +513,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
510
513
|
rowClass: any;
|
511
514
|
rowStyle: any;
|
512
515
|
cellStyle: any;
|
513
|
-
scrollLoading: boolean | {
|
514
|
-
[key: string]: any;
|
515
|
-
};
|
516
516
|
reserveExpand: boolean;
|
517
517
|
selectionKey: string;
|
518
518
|
isSelectedFn: (...args: any[]) => any;
|
@@ -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 : i
|
65
|
+
return "symbol" == _typeof(i) ? i : String(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 : i
|
68
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
69
69
|
}
|
70
70
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
71
71
|
|
package/lib/tag-input/index.js
CHANGED
@@ -17424,7 +17424,7 @@ function toPrimitive(t, r) {
|
|
17424
17424
|
|
17425
17425
|
function toPropertyKey(t) {
|
17426
17426
|
var i = toPrimitive(t, "string");
|
17427
|
-
return "symbol" == _typeof(i) ? i : i
|
17427
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
17428
17428
|
}
|
17429
17429
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
17430
17430
|
|
@@ -17688,7 +17688,8 @@ var useTagsOverflow = function useTagsOverflow(tagInputRef, collapseTags, select
|
|
17688
17688
|
*/
|
17689
17689
|
|
17690
17690
|
|
17691
|
-
|
17691
|
+
|
17692
|
+
/* harmony default export */ const list_tag_render = ((0,external_vue_namespaceObject.defineComponent)({
|
17692
17693
|
name: 'ListTagRender',
|
17693
17694
|
props: {
|
17694
17695
|
node: shared_namespaceObject.PropTypes.object,
|
@@ -17712,7 +17713,7 @@ var useTagsOverflow = function useTagsOverflow(tagInputRef, collapseTags, select
|
|
17712
17713
|
return value;
|
17713
17714
|
};
|
17714
17715
|
if (this.tpl) {
|
17715
|
-
return this.tpl(this.node, highlightKeyword, h, this);
|
17716
|
+
return this.tpl(this.node, highlightKeyword, external_vue_namespaceObject.h, this);
|
17716
17717
|
}
|
17717
17718
|
var displayText = this.node[this.displayKey];
|
17718
17719
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
package/lib/transfer/index.d.ts
CHANGED
@@ -183,8 +183,8 @@ declare const Transfer: {
|
|
183
183
|
extCls: string;
|
184
184
|
multiple: boolean;
|
185
185
|
displayKey: string;
|
186
|
-
sortable: boolean;
|
187
186
|
searchPlaceholder: string;
|
187
|
+
sortable: boolean;
|
188
188
|
settingKey: string;
|
189
189
|
sortKey: string;
|
190
190
|
showOverflowTips: boolean;
|
@@ -297,8 +297,8 @@ declare const Transfer: {
|
|
297
297
|
extCls: string;
|
298
298
|
multiple: boolean;
|
299
299
|
displayKey: string;
|
300
|
-
sortable: boolean;
|
301
300
|
searchPlaceholder: string;
|
301
|
+
sortable: boolean;
|
302
302
|
settingKey: string;
|
303
303
|
sortKey: string;
|
304
304
|
showOverflowTips: boolean;
|
@@ -408,8 +408,8 @@ declare const Transfer: {
|
|
408
408
|
extCls: string;
|
409
409
|
multiple: boolean;
|
410
410
|
displayKey: string;
|
411
|
-
sortable: boolean;
|
412
411
|
searchPlaceholder: string;
|
412
|
+
sortable: boolean;
|
413
413
|
settingKey: string;
|
414
414
|
sortKey: string;
|
415
415
|
showOverflowTips: boolean;
|
@@ -179,8 +179,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
179
179
|
extCls: string;
|
180
180
|
multiple: boolean;
|
181
181
|
displayKey: string;
|
182
|
-
sortable: boolean;
|
183
182
|
searchPlaceholder: string;
|
183
|
+
sortable: boolean;
|
184
184
|
settingKey: string;
|
185
185
|
sortKey: string;
|
186
186
|
showOverflowTips: boolean;
|