bkui-vue 1.0.3-beta.60 → 1.0.3-beta.60.scrollbar.3
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 +52 -50
- package/dist/index.esm.js +14664 -13976
- package/dist/index.umd.js +52 -50
- 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 +6 -7
- 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/components.d.ts +0 -1
- package/lib/components.js +1 -2
- package/lib/config-provider/index.js +1 -1
- package/lib/container/index.js +10 -12
- package/lib/date-picker/index.js +2 -2
- package/lib/dialog/dialog.css +9 -7
- package/lib/dialog/dialog.variable.css +9 -7
- 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 -5
- 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/hooks.d.ts +1 -1
- package/lib/modal/index.d.ts +0 -3
- package/lib/modal/index.js +26 -25
- package/lib/modal/modal.css +9 -7
- package/lib/modal/modal.d.ts +0 -1
- package/lib/modal/modal.less +18 -11
- package/lib/modal/modal.variable.css +9 -7
- 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 +6 -7
- package/lib/rate/index.js +1 -1
- package/lib/resize-layout/index.js +1 -1
- package/lib/search-select/index.d.ts +12 -327
- package/lib/search-select/index.js +350 -633
- package/lib/search-select/input.d.ts +1 -6
- package/lib/search-select/search-select.css +6 -20
- package/lib/search-select/search-select.d.ts +4 -109
- package/lib/search-select/search-select.less +12 -16
- package/lib/search-select/search-select.variable.css +6 -20
- package/lib/search-select/selected.d.ts +5 -107
- package/lib/search-select/utils.d.ts +1 -13
- package/lib/select/index.d.ts +0 -23
- package/lib/select/index.js +5 -8
- package/lib/select/select.d.ts +0 -11
- package/lib/shared/index.js +5 -8
- package/lib/sideslider/index.js +4 -4
- package/lib/sideslider/sideslider.css +5 -0
- package/lib/sideslider/sideslider.less +14 -8
- package/lib/sideslider/sideslider.variable.css +5 -0
- 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/const.d.ts +1 -1
- package/lib/table/index.js +24 -26
- package/lib/table/plugins/use-fixed-column.d.ts +1 -1
- package/lib/table/table.css +96 -42
- package/lib/table/table.less +41 -56
- package/lib/table/table.variable.css +96 -42
- package/lib/table/use-render.d.ts +1 -1
- package/lib/table-column/index.js +2 -2
- package/lib/tag/index.js +1 -1
- package/lib/tag-input/index.js +3 -4
- package/lib/timeline/index.js +0 -1
- package/lib/tree/index.js +10 -12
- package/lib/tree/tree.css +75 -2
- package/lib/tree/tree.variable.css +75 -2
- package/lib/upload/index.d.ts +0 -12
- package/lib/upload/index.js +34 -25
- package/lib/upload/props.d.ts +0 -3
- package/lib/upload/upload-trigger.d.ts +0 -6
- package/lib/upload/upload.d.ts +0 -6
- package/lib/virtual-render/bk-scrollbar.css +74 -0
- package/lib/virtual-render/bk-scrollbar.d.ts +10 -0
- package/lib/virtual-render/bk-scrollbar.less +93 -0
- package/lib/virtual-render/bk-scrollbar.variable.css +203 -0
- package/lib/virtual-render/index.d.ts +4 -0
- package/lib/virtual-render/index.js +2346 -233
- package/lib/virtual-render/props.d.ts +7 -0
- package/lib/virtual-render/scrollbar-core/can-use-dom.d.ts +2 -0
- package/lib/virtual-render/scrollbar-core/helpers.d.ts +5 -0
- package/lib/virtual-render/scrollbar-core/index.d.ts +213 -0
- package/lib/virtual-render/scrollbar-core/mouse-wheel.d.ts +5 -0
- package/lib/virtual-render/scrollbar-core/scrollbar-width.d.ts +1 -0
- package/lib/virtual-render/use-fix-top.d.ts +2 -7
- package/lib/virtual-render/use-scrollbar.d.ts +23 -0
- package/lib/virtual-render/v-virtual-render.d.ts +2 -1
- package/lib/virtual-render/virtual-render.css +75 -2
- package/lib/virtual-render/virtual-render.d.ts +2 -0
- package/lib/virtual-render/virtual-render.less +2 -2
- package/lib/virtual-render/virtual-render.variable.css +75 -2
- package/package.json +4 -1
package/lib/select/index.d.ts
CHANGED
@@ -283,11 +283,6 @@ declare const BkSelect: {
|
|
283
283
|
} & {
|
284
284
|
default: boolean;
|
285
285
|
};
|
286
|
-
disableFocusBehavior: import("vue-types").VueTypeValidableDef<boolean> & {
|
287
|
-
default: boolean;
|
288
|
-
} & {
|
289
|
-
default: boolean;
|
290
|
-
};
|
291
286
|
keepSearchValue: import("vue-types").VueTypeValidableDef<boolean> & {
|
292
287
|
default: boolean;
|
293
288
|
} & {
|
@@ -975,11 +970,6 @@ declare const BkSelect: {
|
|
975
970
|
} & {
|
976
971
|
default: boolean;
|
977
972
|
};
|
978
|
-
disableFocusBehavior: import("vue-types").VueTypeValidableDef<boolean> & {
|
979
|
-
default: boolean;
|
980
|
-
} & {
|
981
|
-
default: boolean;
|
982
|
-
};
|
983
973
|
keepSearchValue: import("vue-types").VueTypeValidableDef<boolean> & {
|
984
974
|
default: boolean;
|
985
975
|
} & {
|
@@ -1055,7 +1045,6 @@ declare const BkSelect: {
|
|
1055
1045
|
enableVirtualRender: boolean;
|
1056
1046
|
allowEmptyValues: unknown[];
|
1057
1047
|
autoFocus: boolean;
|
1058
|
-
disableFocusBehavior: boolean;
|
1059
1048
|
keepSearchValue: boolean;
|
1060
1049
|
searchWithPinyin: boolean;
|
1061
1050
|
}, true, {}, {}, {
|
@@ -1347,11 +1336,6 @@ declare const BkSelect: {
|
|
1347
1336
|
} & {
|
1348
1337
|
default: boolean;
|
1349
1338
|
};
|
1350
|
-
disableFocusBehavior: import("vue-types").VueTypeValidableDef<boolean> & {
|
1351
|
-
default: boolean;
|
1352
|
-
} & {
|
1353
|
-
default: boolean;
|
1354
|
-
};
|
1355
1339
|
keepSearchValue: import("vue-types").VueTypeValidableDef<boolean> & {
|
1356
1340
|
default: boolean;
|
1357
1341
|
} & {
|
@@ -1796,7 +1780,6 @@ declare const BkSelect: {
|
|
1796
1780
|
enableVirtualRender: boolean;
|
1797
1781
|
allowEmptyValues: unknown[];
|
1798
1782
|
autoFocus: boolean;
|
1799
|
-
disableFocusBehavior: boolean;
|
1800
1783
|
keepSearchValue: boolean;
|
1801
1784
|
searchWithPinyin: boolean;
|
1802
1785
|
}>;
|
@@ -2085,11 +2068,6 @@ declare const BkSelect: {
|
|
2085
2068
|
} & {
|
2086
2069
|
default: boolean;
|
2087
2070
|
};
|
2088
|
-
disableFocusBehavior: import("vue-types").VueTypeValidableDef<boolean> & {
|
2089
|
-
default: boolean;
|
2090
|
-
} & {
|
2091
|
-
default: boolean;
|
2092
|
-
};
|
2093
2071
|
keepSearchValue: import("vue-types").VueTypeValidableDef<boolean> & {
|
2094
2072
|
default: boolean;
|
2095
2073
|
} & {
|
@@ -2534,7 +2512,6 @@ declare const BkSelect: {
|
|
2534
2512
|
enableVirtualRender: boolean;
|
2535
2513
|
allowEmptyValues: unknown[];
|
2536
2514
|
autoFocus: boolean;
|
2537
|
-
disableFocusBehavior: boolean;
|
2538
2515
|
keepSearchValue: boolean;
|
2539
2516
|
searchWithPinyin: boolean;
|
2540
2517
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Readonly<{
|
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
|
|
@@ -2644,7 +2644,6 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
|
|
2644
2644
|
enableVirtualRender: shared_namespaceObject.PropTypes.bool.def(false),
|
2645
2645
|
allowEmptyValues: shared_namespaceObject.PropTypes.array.def([]),
|
2646
2646
|
autoFocus: shared_namespaceObject.PropTypes.bool.def(false),
|
2647
|
-
disableFocusBehavior: shared_namespaceObject.PropTypes.bool.def(false),
|
2648
2647
|
keepSearchValue: shared_namespaceObject.PropTypes.bool.def(false),
|
2649
2648
|
prefix: shared_namespaceObject.PropTypes.string,
|
2650
2649
|
selectedStyle: (0,shared_namespaceObject.SelectedType)(),
|
@@ -2691,8 +2690,7 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
|
|
2691
2690
|
selectedStyle = _toRefs.selectedStyle,
|
2692
2691
|
filterOption = _toRefs.filterOption,
|
2693
2692
|
searchWithPinyin = _toRefs.searchWithPinyin,
|
2694
|
-
highlightKeyword = _toRefs.highlightKeyword
|
2695
|
-
disableFocusBehavior = _toRefs.disableFocusBehavior;
|
2693
|
+
highlightKeyword = _toRefs.highlightKeyword;
|
2696
2694
|
var localNoDataText = (0,external_vue_namespaceObject.computed)(function () {
|
2697
2695
|
if (props.noDataText === undefined) {
|
2698
2696
|
return t.value.noData;
|
@@ -3094,7 +3092,6 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
|
|
3094
3092
|
};
|
3095
3093
|
// 聚焦输入框
|
3096
3094
|
var focusInput = function focusInput() {
|
3097
|
-
if (disableFocusBehavior.value) return;
|
3098
3095
|
setTimeout(function () {
|
3099
3096
|
if (!inputSearch.value && !allowCreate.value) {
|
3100
3097
|
var _searchRef$value;
|
package/lib/select/select.d.ts
CHANGED
@@ -282,11 +282,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
282
282
|
} & {
|
283
283
|
default: boolean;
|
284
284
|
};
|
285
|
-
disableFocusBehavior: import("vue-types").VueTypeValidableDef<boolean> & {
|
286
|
-
default: boolean;
|
287
|
-
} & {
|
288
|
-
default: boolean;
|
289
|
-
};
|
290
285
|
keepSearchValue: import("vue-types").VueTypeValidableDef<boolean> & {
|
291
286
|
default: boolean;
|
292
287
|
} & {
|
@@ -962,11 +957,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
962
957
|
} & {
|
963
958
|
default: boolean;
|
964
959
|
};
|
965
|
-
disableFocusBehavior: import("vue-types").VueTypeValidableDef<boolean> & {
|
966
|
-
default: boolean;
|
967
|
-
} & {
|
968
|
-
default: boolean;
|
969
|
-
};
|
970
960
|
keepSearchValue: import("vue-types").VueTypeValidableDef<boolean> & {
|
971
961
|
default: boolean;
|
972
962
|
} & {
|
@@ -1042,7 +1032,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
1042
1032
|
enableVirtualRender: boolean;
|
1043
1033
|
allowEmptyValues: unknown[];
|
1044
1034
|
autoFocus: boolean;
|
1045
|
-
disableFocusBehavior: boolean;
|
1046
1035
|
keepSearchValue: boolean;
|
1047
1036
|
searchWithPinyin: boolean;
|
1048
1037
|
}, {}>;
|
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
|
|
@@ -24,7 +24,7 @@
|
|
24
24
|
&.is-fixed {
|
25
25
|
.@{bk-prefix}-sideslider-footer {
|
26
26
|
height: 54px;
|
27
|
-
margin: 0
|
27
|
+
margin: 0;;
|
28
28
|
border-top: 1px solid transparent;
|
29
29
|
box-shadow: rgb(0 0 0 / 6%) 0 -2px 4px 0;
|
30
30
|
}
|
@@ -98,8 +98,11 @@
|
|
98
98
|
}
|
99
99
|
}
|
100
100
|
|
101
|
-
|
102
|
-
|
101
|
+
.@{bk-prefix}-sideslider-content {
|
102
|
+
padding-right: 24px;
|
103
|
+
padding-left: 24px;
|
104
|
+
overflow-y: scroll;
|
105
|
+
}
|
103
106
|
|
104
107
|
.@{bk-prefix}-sideslider-footer {
|
105
108
|
display: flex;
|
@@ -118,27 +121,27 @@
|
|
118
121
|
.slide-leave-active,
|
119
122
|
.@{bk-prefix}-modal-body {
|
120
123
|
transform: translateX(0);
|
121
|
-
transition: transform
|
124
|
+
transition: transform .25s;
|
122
125
|
}
|
123
126
|
|
124
127
|
.slide-enter-active {
|
125
|
-
animation: slider-fade-in
|
128
|
+
animation: slider-fade-in .25s;
|
126
129
|
}
|
127
130
|
|
128
131
|
.slide-leave-active {
|
129
|
-
animation: slider-fade-in
|
132
|
+
animation: slider-fade-in .25s reverse;
|
130
133
|
}
|
131
134
|
|
132
135
|
.slide-enter-from,
|
133
136
|
.slide-leave-to {
|
134
137
|
&.left {
|
135
138
|
transform: translateX(-100%);
|
136
|
-
transition: transform
|
139
|
+
transition: transform .25s;
|
137
140
|
}
|
138
141
|
|
139
142
|
&.right {
|
140
143
|
transform: translateX(100%);
|
141
|
-
transition: transform
|
144
|
+
transition: transform .25s;
|
142
145
|
}
|
143
146
|
}
|
144
147
|
|
@@ -151,3 +154,6 @@
|
|
151
154
|
opacity: 1;
|
152
155
|
}
|
153
156
|
}
|
157
|
+
|
158
|
+
|
159
|
+
|
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);
|