bkui-vue 2.0.1-beta.113 → 2.0.1-beta.115
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 +54 -54
- package/dist/index.esm.js +13951 -13942
- package/dist/index.umd.js +54 -54
- package/dist/style.css +1 -1
- package/lib/affix/index.d.ts +57 -111
- package/lib/affix/index.js +47 -39
- package/lib/alert/index.d.ts +73 -126
- package/lib/alert/index.js +50 -42
- package/lib/animate-number/index.d.ts +33 -96
- package/lib/animate-number/index.js +21 -16
- package/lib/backtop/index.d.ts +69 -117
- package/lib/backtop/index.js +42 -31
- package/lib/badge/index.d.ts +119 -152
- package/lib/badge/index.js +43 -37
- package/lib/breadcrumb/index.d.ts +67 -119
- package/lib/breadcrumb/index.js +48 -40
- package/lib/button/button.d.ts +2 -2
- package/lib/button/index.d.ts +119 -155
- package/lib/button/index.js +55 -46
- package/lib/card/index.d.ts +128 -157
- package/lib/card/index.js +67 -55
- package/lib/cascader/cascader.d.ts +3 -3
- package/lib/cascader/index.d.ts +393 -354
- package/lib/cascader/index.js +149 -119
- package/lib/checkbox/checkbox.d.ts +1 -1
- package/lib/checkbox/index.d.ts +143 -175
- package/lib/checkbox/index.js +89 -79
- package/lib/code-diff/index.d.ts +65 -82
- package/lib/code-diff/index.js +464 -517
- package/lib/collapse/index.d.ts +156 -175
- package/lib/collapse/index.js +67 -60
- package/lib/collapse-transition/index.d.ts +19 -94
- package/lib/collapse-transition/index.js +23 -16
- package/lib/color-picker/color-picker.d.ts +1 -1
- package/lib/color-picker/index.d.ts +144 -165
- package/lib/color-picker/index.js +98 -82
- package/lib/config-provider/index.d.ts +160 -227
- package/lib/config-provider/index.js +51 -43
- package/lib/container/container.d.ts +1 -1
- package/lib/container/index.d.ts +74 -85
- package/lib/container/index.js +55 -47
- package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
- package/lib/date-picker/base/time-spinner.d.ts +3 -3
- package/lib/date-picker/date-picker.d.ts +4 -4
- package/lib/date-picker/index.d.ts +380 -351
- package/lib/date-picker/index.js +171 -150
- package/lib/date-picker/panel/date-range.d.ts +1 -1
- package/lib/date-picker/panel/date.d.ts +1 -1
- package/lib/date-picker/panel/time-range.d.ts +2 -2
- package/lib/date-picker/panel/time.d.ts +2 -2
- package/lib/date-picker/time-picker.d.ts +4 -4
- package/lib/dialog/index.d.ts +299 -269
- package/lib/dialog/index.js +323 -310
- package/lib/directives/index.js +344 -336
- package/lib/divider/index.d.ts +57 -111
- package/lib/divider/index.js +23 -16
- package/lib/dropdown/dropdown.d.ts +1 -1
- package/lib/dropdown/index.d.ts +94 -136
- package/lib/dropdown/index.js +66 -52
- package/lib/exception/index.d.ts +41 -102
- package/lib/exception/index.js +76 -70
- package/lib/fixed-navbar/index.d.ts +59 -113
- package/lib/fixed-navbar/index.js +22 -15
- package/lib/form/form.d.ts +1 -1
- package/lib/form/index.d.ts +80 -132
- package/lib/form/index.js +104 -83
- package/lib/icon/angle-double-down-line.js +31 -29
- package/lib/icon/angle-double-left-line.js +31 -29
- package/lib/icon/angle-double-left.js +31 -29
- package/lib/icon/angle-double-right-line.js +31 -29
- package/lib/icon/angle-double-right.js +31 -29
- package/lib/icon/angle-double-up-line.js +31 -29
- package/lib/icon/angle-down-fill.js +31 -29
- package/lib/icon/angle-down-line.js +31 -29
- package/lib/icon/angle-down.js +31 -29
- package/lib/icon/angle-left.js +31 -29
- package/lib/icon/angle-right.js +31 -29
- package/lib/icon/angle-up-fill.js +31 -29
- package/lib/icon/angle-up.js +31 -29
- package/lib/icon/archive-fill.js +31 -29
- package/lib/icon/arrows-left.js +31 -29
- package/lib/icon/arrows-right.js +31 -29
- package/lib/icon/assistant.js +31 -29
- package/lib/icon/audio-fill.js +31 -29
- package/lib/icon/bk.js +31 -29
- package/lib/icon/circle.js +31 -29
- package/lib/icon/close-line.js +31 -29
- package/lib/icon/close.js +31 -29
- package/lib/icon/code.js +31 -29
- package/lib/icon/cog-shape.js +31 -29
- package/lib/icon/collapse-left.js +31 -29
- package/lib/icon/copy-shape.js +31 -29
- package/lib/icon/copy.js +31 -29
- package/lib/icon/data-shape.js +31 -29
- package/lib/icon/del.js +31 -29
- package/lib/icon/doc-fill.js +31 -29
- package/lib/icon/done.js +31 -29
- package/lib/icon/down-shape.js +31 -29
- package/lib/icon/down-small.js +31 -29
- package/lib/icon/edit-line.js +31 -29
- package/lib/icon/ellipsis.js +31 -29
- package/lib/icon/enlarge-line.js +31 -29
- package/lib/icon/error.js +31 -29
- package/lib/icon/excel-fill.js +31 -29
- package/lib/icon/exclamation-circle-shape.js +31 -29
- package/lib/icon/eye.js +31 -29
- package/lib/icon/filliscreen-line.js +31 -29
- package/lib/icon/fix-line.js +31 -29
- package/lib/icon/fix-shape.js +31 -29
- package/lib/icon/folder-open.js +31 -29
- package/lib/icon/folder-shape-open.js +31 -29
- package/lib/icon/folder-shape.js +31 -29
- package/lib/icon/folder.js +31 -29
- package/lib/icon/funnel.js +31 -29
- package/lib/icon/grag-fill.js +31 -29
- package/lib/icon/help-document-fill.js +31 -29
- package/lib/icon/help-fill.js +31 -29
- package/lib/icon/help.js +31 -29
- package/lib/icon/image-fill.js +31 -29
- package/lib/icon/img-error.js +31 -29
- package/lib/icon/img-placehoulder.js +31 -29
- package/lib/icon/info-line.js +31 -29
- package/lib/icon/info.js +31 -29
- package/lib/icon/left-shape.js +31 -29
- package/lib/icon/left-turn-line.js +31 -29
- package/lib/icon/loading.js +31 -29
- package/lib/icon/narrow-line.js +31 -29
- package/lib/icon/original.js +31 -29
- package/lib/icon/pdf-fill.js +31 -29
- package/lib/icon/play-shape.js +31 -29
- package/lib/icon/plus.js +31 -29
- package/lib/icon/ppt-fill.js +31 -29
- package/lib/icon/qq.js +31 -29
- package/lib/icon/right-shape.js +31 -29
- package/lib/icon/right-turn-line.js +31 -29
- package/lib/icon/search.js +31 -29
- package/lib/icon/share.js +31 -29
- package/lib/icon/spinner.js +31 -29
- package/lib/icon/success.js +31 -29
- package/lib/icon/switcher-loading.js +31 -29
- package/lib/icon/text-all.js +31 -29
- package/lib/icon/text-file.js +31 -29
- package/lib/icon/text-fill.js +31 -29
- package/lib/icon/transfer.js +31 -29
- package/lib/icon/tree-application-shape.js +31 -29
- package/lib/icon/unfull-screen.js +31 -29
- package/lib/icon/unvisible.js +31 -29
- package/lib/icon/up-shape.js +31 -29
- package/lib/icon/upload.js +31 -29
- package/lib/icon/video-fill.js +31 -29
- package/lib/icon/warn.js +31 -29
- package/lib/icon/weixin-pro.js +31 -29
- package/lib/icon/weixin.js +31 -29
- package/lib/image/index.d.ts +113 -149
- package/lib/image/index.js +76 -61
- package/lib/index.js +1 -1
- package/lib/info-box/index.js +328 -315
- package/lib/input/index.d.ts +326 -293
- package/lib/input/index.js +91 -83
- package/lib/link/index.d.ts +73 -122
- package/lib/link/index.js +27 -19
- package/lib/loading/index.d.ts +130 -156
- package/lib/loading/index.js +56 -51
- package/lib/loading/loading.d.ts +1 -1
- package/lib/locale/index.js +3 -3
- package/lib/menu/index.d.ts +55 -116
- package/lib/menu/index.js +67 -58
- package/lib/message/index.js +72 -67
- package/lib/message/messageConstructor.d.ts +5 -5
- package/lib/modal/index.d.ts +171 -185
- package/lib/modal/index.js +58 -48
- package/lib/navigation/index.d.ts +152 -188
- package/lib/navigation/index.js +35 -25
- package/lib/notify/index.js +57 -48
- package/lib/overflow-title/index.d.ts +343 -256
- package/lib/overflow-title/index.js +51 -38
- package/lib/pagination/index.d.ts +184 -198
- package/lib/pagination/index.js +112 -103
- package/lib/plugin-popover/index.js +7 -5
- package/lib/plugins/index.js +7 -5
- package/lib/pop-confirm/index.d.ts +115 -153
- package/lib/pop-confirm/index.js +53 -36
- package/lib/pop-confirm/pop-confirm.d.ts +1 -1
- package/lib/popover/content.d.ts +1 -1
- package/lib/popover/index.d.ts +421 -359
- package/lib/popover/index.js +291 -179
- package/lib/popover2/index.d.ts +8 -83
- package/lib/popover2/index.js +15 -11
- package/lib/process/index.d.ts +93 -137
- package/lib/process/index.js +299 -295
- package/lib/progress/index.d.ts +178 -187
- package/lib/progress/index.js +47 -40
- package/lib/progress/progress.d.ts +2 -2
- package/lib/radio/index.d.ts +91 -140
- package/lib/radio/index.js +85 -79
- package/lib/rate/index.d.ts +55 -112
- package/lib/rate/index.js +44 -39
- package/lib/resize-layout/index.d.ts +168 -192
- package/lib/resize-layout/index.js +50 -43
- package/lib/resize-layout/resize-layout.d.ts +2 -2
- package/lib/scrollbar/index.js +63 -63
- package/lib/search-select/index.d.ts +678 -895
- package/lib/search-select/index.js +397 -379
- package/lib/search-select/input.d.ts +2 -2
- package/lib/search-select/search-select.d.ts +133 -188
- package/lib/search-select/selected.d.ts +133 -188
- package/lib/select/index.d.ts +1375 -1217
- package/lib/select/index.js +456 -419
- package/lib/select/select.d.ts +132 -169
- package/lib/select/selectTagInput.d.ts +2 -2
- package/lib/shared/index.js +109 -103
- package/lib/sideslider/index.d.ts +197 -201
- package/lib/sideslider/index.js +312 -303
- package/lib/slider/index.d.ts +214 -210
- package/lib/slider/index.js +305 -294
- package/lib/steps/index.d.ts +110 -149
- package/lib/steps/index.js +303 -298
- package/lib/swiper/index.d.ts +81 -127
- package/lib/swiper/index.js +42 -36
- package/lib/switcher/index.d.ts +152 -174
- package/lib/switcher/index.js +50 -44
- package/lib/tab/index.d.ts +151 -183
- package/lib/tab/index.js +72 -59
- package/lib/table/components/table-column.d.ts +1 -1
- package/lib/table/hooks/use-columns.d.ts +1 -1
- package/lib/table/hooks/use-layout.d.ts +2 -2
- package/lib/table/hooks/use-rows.d.ts +1 -1
- package/lib/table/index.d.ts +457 -362
- package/lib/table/index.js +589 -547
- package/lib/table/table.d.ts +1 -1
- package/lib/table-column/index.d.ts +104 -150
- package/lib/table-column/index.js +13 -9
- package/lib/tag/index.d.ts +95 -142
- package/lib/tag/index.js +56 -46
- package/lib/tag-input/index.d.ts +744 -529
- package/lib/tag-input/index.js +148 -128
- package/lib/tag-input/tag-input.d.ts +5 -5
- package/lib/time-picker/index.d.ts +439 -386
- package/lib/time-picker/index.js +13 -9
- package/lib/timeline/index.d.ts +64 -131
- package/lib/timeline/index.js +27 -21
- package/lib/transfer/index.d.ts +191 -206
- package/lib/transfer/index.js +56 -40
- package/lib/tree/index.d.ts +350 -308
- package/lib/tree/index.js +171 -150
- package/lib/tree/tree.d.ts +1 -1
- package/lib/tree/use-tree-init.d.ts +1 -1
- package/lib/upload/index.d.ts +311 -273
- package/lib/upload/index.js +474 -465
- package/lib/upload/upload.d.ts +2 -2
- package/lib/virtual-render/index.d.ts +333 -241
- package/lib/virtual-render/index.js +84 -72
- package/lib/virtual-render/virtual-render.d.ts +1 -1
- package/package.json +1 -1
package/lib/slider/index.js
CHANGED
@@ -9,352 +9,352 @@ import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__ from "../p
|
|
9
9
|
import "../popover/popover.less";
|
10
10
|
/******/ var __webpack_modules__ = ({
|
11
11
|
|
12
|
-
/***/
|
12
|
+
/***/ 4319:
|
13
|
+
/***/ ((module) => {
|
14
|
+
|
15
|
+
function _typeof(o) {
|
16
|
+
"@babel/helpers - typeof";
|
17
|
+
|
18
|
+
return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
19
|
+
return typeof o;
|
20
|
+
} : function (o) {
|
21
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
22
|
+
}, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(o);
|
23
|
+
}
|
24
|
+
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
25
|
+
|
26
|
+
/***/ }),
|
27
|
+
|
28
|
+
/***/ 5799:
|
29
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
30
|
+
|
31
|
+
// TODO(Babel 8): Remove this file.
|
32
|
+
|
33
|
+
var runtime = __webpack_require__(7048)();
|
34
|
+
module.exports = runtime;
|
35
|
+
|
36
|
+
// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
|
37
|
+
try {
|
38
|
+
regeneratorRuntime = runtime;
|
39
|
+
} catch (accidentalStrictMode) {
|
40
|
+
if (typeof globalThis === "object") {
|
41
|
+
globalThis.regeneratorRuntime = runtime;
|
42
|
+
} else {
|
43
|
+
Function("r", "regeneratorRuntime = r")(runtime);
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
|
48
|
+
/***/ }),
|
49
|
+
|
50
|
+
/***/ 7048:
|
13
51
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
14
52
|
|
15
|
-
var _typeof = (__webpack_require__(
|
53
|
+
var _typeof = (__webpack_require__(4319)["default"]);
|
16
54
|
function _regeneratorRuntime() {
|
17
55
|
"use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
18
56
|
module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
|
19
|
-
return
|
57
|
+
return e;
|
20
58
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
21
|
-
var
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
59
|
+
var t,
|
60
|
+
e = {},
|
61
|
+
r = Object.prototype,
|
62
|
+
n = r.hasOwnProperty,
|
63
|
+
o = Object.defineProperty || function (t, e, r) {
|
64
|
+
t[e] = r.value;
|
26
65
|
},
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
function define(
|
32
|
-
return Object.defineProperty(
|
33
|
-
value:
|
66
|
+
i = "function" == typeof Symbol ? Symbol : {},
|
67
|
+
a = i.iterator || "@@iterator",
|
68
|
+
c = i.asyncIterator || "@@asyncIterator",
|
69
|
+
u = i.toStringTag || "@@toStringTag";
|
70
|
+
function define(t, e, r) {
|
71
|
+
return Object.defineProperty(t, e, {
|
72
|
+
value: r,
|
34
73
|
enumerable: !0,
|
35
74
|
configurable: !0,
|
36
75
|
writable: !0
|
37
|
-
}),
|
76
|
+
}), t[e];
|
38
77
|
}
|
39
78
|
try {
|
40
79
|
define({}, "");
|
41
|
-
} catch (
|
42
|
-
define = function define(
|
43
|
-
return
|
80
|
+
} catch (t) {
|
81
|
+
define = function define(t, e, r) {
|
82
|
+
return t[e] = r;
|
44
83
|
};
|
45
84
|
}
|
46
|
-
function wrap(
|
47
|
-
var
|
48
|
-
|
49
|
-
|
50
|
-
return
|
51
|
-
value: makeInvokeMethod(
|
52
|
-
}),
|
85
|
+
function wrap(t, e, r, n) {
|
86
|
+
var i = e && e.prototype instanceof Generator ? e : Generator,
|
87
|
+
a = Object.create(i.prototype),
|
88
|
+
c = new Context(n || []);
|
89
|
+
return o(a, "_invoke", {
|
90
|
+
value: makeInvokeMethod(t, r, c)
|
91
|
+
}), a;
|
53
92
|
}
|
54
|
-
function tryCatch(
|
93
|
+
function tryCatch(t, e, r) {
|
55
94
|
try {
|
56
95
|
return {
|
57
96
|
type: "normal",
|
58
|
-
arg:
|
97
|
+
arg: t.call(e, r)
|
59
98
|
};
|
60
|
-
} catch (
|
99
|
+
} catch (t) {
|
61
100
|
return {
|
62
101
|
type: "throw",
|
63
|
-
arg:
|
102
|
+
arg: t
|
64
103
|
};
|
65
104
|
}
|
66
105
|
}
|
67
|
-
|
68
|
-
var
|
106
|
+
e.wrap = wrap;
|
107
|
+
var h = "suspendedStart",
|
108
|
+
l = "suspendedYield",
|
109
|
+
f = "executing",
|
110
|
+
s = "completed",
|
111
|
+
y = {};
|
69
112
|
function Generator() {}
|
70
113
|
function GeneratorFunction() {}
|
71
114
|
function GeneratorFunctionPrototype() {}
|
72
|
-
var
|
73
|
-
define(
|
115
|
+
var p = {};
|
116
|
+
define(p, a, function () {
|
74
117
|
return this;
|
75
118
|
});
|
76
|
-
var
|
77
|
-
|
78
|
-
|
79
|
-
var
|
80
|
-
function defineIteratorMethods(
|
81
|
-
["next", "throw", "return"].forEach(function (
|
82
|
-
define(
|
83
|
-
return this._invoke(
|
119
|
+
var d = Object.getPrototypeOf,
|
120
|
+
v = d && d(d(values([])));
|
121
|
+
v && v !== r && n.call(v, a) && (p = v);
|
122
|
+
var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
|
123
|
+
function defineIteratorMethods(t) {
|
124
|
+
["next", "throw", "return"].forEach(function (e) {
|
125
|
+
define(t, e, function (t) {
|
126
|
+
return this._invoke(e, t);
|
84
127
|
});
|
85
128
|
});
|
86
129
|
}
|
87
|
-
function AsyncIterator(
|
88
|
-
function invoke(
|
89
|
-
var
|
90
|
-
if ("throw" !==
|
91
|
-
var
|
92
|
-
|
93
|
-
return
|
94
|
-
invoke("next",
|
95
|
-
}, function (
|
96
|
-
invoke("throw",
|
97
|
-
}) :
|
98
|
-
|
99
|
-
}, function (
|
100
|
-
return invoke("throw",
|
130
|
+
function AsyncIterator(t, e) {
|
131
|
+
function invoke(r, o, i, a) {
|
132
|
+
var c = tryCatch(t[r], t, o);
|
133
|
+
if ("throw" !== c.type) {
|
134
|
+
var u = c.arg,
|
135
|
+
h = u.value;
|
136
|
+
return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
|
137
|
+
invoke("next", t, i, a);
|
138
|
+
}, function (t) {
|
139
|
+
invoke("throw", t, i, a);
|
140
|
+
}) : e.resolve(h).then(function (t) {
|
141
|
+
u.value = t, i(u);
|
142
|
+
}, function (t) {
|
143
|
+
return invoke("throw", t, i, a);
|
101
144
|
});
|
102
145
|
}
|
103
|
-
|
146
|
+
a(c.arg);
|
104
147
|
}
|
105
|
-
var
|
106
|
-
|
107
|
-
value: function value(
|
148
|
+
var r;
|
149
|
+
o(this, "_invoke", {
|
150
|
+
value: function value(t, n) {
|
108
151
|
function callInvokeWithMethodAndArg() {
|
109
|
-
return new
|
110
|
-
invoke(
|
152
|
+
return new e(function (e, r) {
|
153
|
+
invoke(t, n, e, r);
|
111
154
|
});
|
112
155
|
}
|
113
|
-
return
|
156
|
+
return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
114
157
|
}
|
115
158
|
});
|
116
159
|
}
|
117
|
-
function makeInvokeMethod(
|
118
|
-
var
|
119
|
-
return function (
|
120
|
-
if (
|
121
|
-
if (
|
122
|
-
if ("throw" ===
|
123
|
-
return
|
160
|
+
function makeInvokeMethod(e, r, n) {
|
161
|
+
var o = h;
|
162
|
+
return function (i, a) {
|
163
|
+
if (o === f) throw new Error("Generator is already running");
|
164
|
+
if (o === s) {
|
165
|
+
if ("throw" === i) throw a;
|
166
|
+
return {
|
167
|
+
value: t,
|
168
|
+
done: !0
|
169
|
+
};
|
124
170
|
}
|
125
|
-
for (
|
126
|
-
var
|
127
|
-
if (
|
128
|
-
var
|
129
|
-
if (
|
130
|
-
if (
|
131
|
-
return
|
171
|
+
for (n.method = i, n.arg = a;;) {
|
172
|
+
var c = n.delegate;
|
173
|
+
if (c) {
|
174
|
+
var u = maybeInvokeDelegate(c, n);
|
175
|
+
if (u) {
|
176
|
+
if (u === y) continue;
|
177
|
+
return u;
|
132
178
|
}
|
133
179
|
}
|
134
|
-
if ("next" ===
|
135
|
-
if (
|
136
|
-
|
137
|
-
} else "return" ===
|
138
|
-
|
139
|
-
var
|
140
|
-
if ("normal" ===
|
141
|
-
if (
|
180
|
+
if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
|
181
|
+
if (o === h) throw o = s, n.arg;
|
182
|
+
n.dispatchException(n.arg);
|
183
|
+
} else "return" === n.method && n.abrupt("return", n.arg);
|
184
|
+
o = f;
|
185
|
+
var p = tryCatch(e, r, n);
|
186
|
+
if ("normal" === p.type) {
|
187
|
+
if (o = n.done ? s : l, p.arg === y) continue;
|
142
188
|
return {
|
143
|
-
value:
|
144
|
-
done:
|
189
|
+
value: p.arg,
|
190
|
+
done: n.done
|
145
191
|
};
|
146
192
|
}
|
147
|
-
"throw" ===
|
193
|
+
"throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
|
148
194
|
}
|
149
195
|
};
|
150
196
|
}
|
151
|
-
function maybeInvokeDelegate(
|
152
|
-
var
|
153
|
-
|
154
|
-
if (
|
155
|
-
var
|
156
|
-
if ("throw" ===
|
157
|
-
var
|
158
|
-
return
|
197
|
+
function maybeInvokeDelegate(e, r) {
|
198
|
+
var n = r.method,
|
199
|
+
o = e.iterator[n];
|
200
|
+
if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
|
201
|
+
var i = tryCatch(o, e.iterator, r.arg);
|
202
|
+
if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
|
203
|
+
var a = i.arg;
|
204
|
+
return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
|
159
205
|
}
|
160
|
-
function pushTryEntry(
|
161
|
-
var
|
162
|
-
tryLoc:
|
206
|
+
function pushTryEntry(t) {
|
207
|
+
var e = {
|
208
|
+
tryLoc: t[0]
|
163
209
|
};
|
164
|
-
1 in
|
210
|
+
1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
|
165
211
|
}
|
166
|
-
function resetTryEntry(
|
167
|
-
var
|
168
|
-
|
212
|
+
function resetTryEntry(t) {
|
213
|
+
var e = t.completion || {};
|
214
|
+
e.type = "normal", delete e.arg, t.completion = e;
|
169
215
|
}
|
170
|
-
function Context(
|
216
|
+
function Context(t) {
|
171
217
|
this.tryEntries = [{
|
172
218
|
tryLoc: "root"
|
173
|
-
}],
|
219
|
+
}], t.forEach(pushTryEntry, this), this.reset(!0);
|
174
220
|
}
|
175
|
-
function values(
|
176
|
-
if (
|
177
|
-
var
|
178
|
-
if (
|
179
|
-
if ("function" == typeof
|
180
|
-
if (!isNaN(
|
181
|
-
var
|
182
|
-
|
183
|
-
for (; ++
|
184
|
-
return next.value =
|
221
|
+
function values(e) {
|
222
|
+
if (e || "" === e) {
|
223
|
+
var r = e[a];
|
224
|
+
if (r) return r.call(e);
|
225
|
+
if ("function" == typeof e.next) return e;
|
226
|
+
if (!isNaN(e.length)) {
|
227
|
+
var o = -1,
|
228
|
+
i = function next() {
|
229
|
+
for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
|
230
|
+
return next.value = t, next.done = !0, next;
|
185
231
|
};
|
186
|
-
return
|
232
|
+
return i.next = i;
|
187
233
|
}
|
188
234
|
}
|
189
|
-
|
190
|
-
next: doneResult
|
191
|
-
};
|
235
|
+
throw new TypeError(_typeof(e) + " is not iterable");
|
192
236
|
}
|
193
|
-
|
194
|
-
return {
|
195
|
-
value: undefined,
|
196
|
-
done: !0
|
197
|
-
};
|
198
|
-
}
|
199
|
-
return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
|
237
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
|
200
238
|
value: GeneratorFunctionPrototype,
|
201
239
|
configurable: !0
|
202
|
-
}),
|
240
|
+
}), o(GeneratorFunctionPrototype, "constructor", {
|
203
241
|
value: GeneratorFunction,
|
204
242
|
configurable: !0
|
205
|
-
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype,
|
206
|
-
var
|
207
|
-
return !!
|
208
|
-
},
|
209
|
-
return Object.setPrototypeOf ? Object.setPrototypeOf(
|
210
|
-
},
|
243
|
+
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
|
244
|
+
var e = "function" == typeof t && t.constructor;
|
245
|
+
return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
|
246
|
+
}, e.mark = function (t) {
|
247
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
|
248
|
+
}, e.awrap = function (t) {
|
211
249
|
return {
|
212
|
-
__await:
|
250
|
+
__await: t
|
213
251
|
};
|
214
|
-
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype,
|
252
|
+
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
|
215
253
|
return this;
|
216
|
-
}),
|
217
|
-
void 0 ===
|
218
|
-
var
|
219
|
-
return
|
220
|
-
return
|
254
|
+
}), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
|
255
|
+
void 0 === i && (i = Promise);
|
256
|
+
var a = new AsyncIterator(wrap(t, r, n, o), i);
|
257
|
+
return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
|
258
|
+
return t.done ? t.value : a.next();
|
221
259
|
});
|
222
|
-
}, defineIteratorMethods(
|
260
|
+
}, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
|
223
261
|
return this;
|
224
|
-
}), define(
|
262
|
+
}), define(g, "toString", function () {
|
225
263
|
return "[object Generator]";
|
226
|
-
}),
|
227
|
-
var
|
228
|
-
|
229
|
-
for (var
|
230
|
-
return
|
231
|
-
for (;
|
232
|
-
var
|
233
|
-
if (
|
264
|
+
}), e.keys = function (t) {
|
265
|
+
var e = Object(t),
|
266
|
+
r = [];
|
267
|
+
for (var n in e) r.push(n);
|
268
|
+
return r.reverse(), function next() {
|
269
|
+
for (; r.length;) {
|
270
|
+
var t = r.pop();
|
271
|
+
if (t in e) return next.value = t, next.done = !1, next;
|
234
272
|
}
|
235
273
|
return next.done = !0, next;
|
236
274
|
};
|
237
|
-
},
|
275
|
+
}, e.values = values, Context.prototype = {
|
238
276
|
constructor: Context,
|
239
|
-
reset: function reset(
|
240
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent =
|
277
|
+
reset: function reset(e) {
|
278
|
+
if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
|
241
279
|
},
|
242
280
|
stop: function stop() {
|
243
281
|
this.done = !0;
|
244
|
-
var
|
245
|
-
if ("throw" ===
|
282
|
+
var t = this.tryEntries[0].completion;
|
283
|
+
if ("throw" === t.type) throw t.arg;
|
246
284
|
return this.rval;
|
247
285
|
},
|
248
|
-
dispatchException: function dispatchException(
|
249
|
-
if (this.done) throw
|
250
|
-
var
|
251
|
-
function handle(
|
252
|
-
return
|
286
|
+
dispatchException: function dispatchException(e) {
|
287
|
+
if (this.done) throw e;
|
288
|
+
var r = this;
|
289
|
+
function handle(n, o) {
|
290
|
+
return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
|
253
291
|
}
|
254
|
-
for (var
|
255
|
-
var
|
256
|
-
|
257
|
-
if ("root" ===
|
258
|
-
if (
|
259
|
-
var
|
260
|
-
|
261
|
-
if (
|
262
|
-
if (this.prev <
|
263
|
-
if (this.prev <
|
264
|
-
} else if (
|
265
|
-
if (this.prev <
|
292
|
+
for (var o = this.tryEntries.length - 1; o >= 0; --o) {
|
293
|
+
var i = this.tryEntries[o],
|
294
|
+
a = i.completion;
|
295
|
+
if ("root" === i.tryLoc) return handle("end");
|
296
|
+
if (i.tryLoc <= this.prev) {
|
297
|
+
var c = n.call(i, "catchLoc"),
|
298
|
+
u = n.call(i, "finallyLoc");
|
299
|
+
if (c && u) {
|
300
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
301
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
302
|
+
} else if (c) {
|
303
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
266
304
|
} else {
|
267
|
-
if (!
|
268
|
-
if (this.prev <
|
305
|
+
if (!u) throw new Error("try statement without catch or finally");
|
306
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
269
307
|
}
|
270
308
|
}
|
271
309
|
}
|
272
310
|
},
|
273
|
-
abrupt: function abrupt(
|
274
|
-
for (var
|
275
|
-
var
|
276
|
-
if (
|
277
|
-
var
|
311
|
+
abrupt: function abrupt(t, e) {
|
312
|
+
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
|
313
|
+
var o = this.tryEntries[r];
|
314
|
+
if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
|
315
|
+
var i = o;
|
278
316
|
break;
|
279
317
|
}
|
280
318
|
}
|
281
|
-
|
282
|
-
var
|
283
|
-
return
|
319
|
+
i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
|
320
|
+
var a = i ? i.completion : {};
|
321
|
+
return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
|
284
322
|
},
|
285
|
-
complete: function complete(
|
286
|
-
if ("throw" ===
|
287
|
-
return "break" ===
|
323
|
+
complete: function complete(t, e) {
|
324
|
+
if ("throw" === t.type) throw t.arg;
|
325
|
+
return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
|
288
326
|
},
|
289
|
-
finish: function finish(
|
290
|
-
for (var
|
291
|
-
var
|
292
|
-
if (
|
327
|
+
finish: function finish(t) {
|
328
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
329
|
+
var r = this.tryEntries[e];
|
330
|
+
if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
|
293
331
|
}
|
294
332
|
},
|
295
|
-
"catch": function _catch(
|
296
|
-
for (var
|
297
|
-
var
|
298
|
-
if (
|
299
|
-
var
|
300
|
-
if ("throw" ===
|
301
|
-
var
|
302
|
-
resetTryEntry(
|
333
|
+
"catch": function _catch(t) {
|
334
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
335
|
+
var r = this.tryEntries[e];
|
336
|
+
if (r.tryLoc === t) {
|
337
|
+
var n = r.completion;
|
338
|
+
if ("throw" === n.type) {
|
339
|
+
var o = n.arg;
|
340
|
+
resetTryEntry(r);
|
303
341
|
}
|
304
|
-
return
|
342
|
+
return o;
|
305
343
|
}
|
306
344
|
}
|
307
345
|
throw new Error("illegal catch attempt");
|
308
346
|
},
|
309
|
-
delegateYield: function delegateYield(
|
347
|
+
delegateYield: function delegateYield(e, r, n) {
|
310
348
|
return this.delegate = {
|
311
|
-
iterator: values(
|
312
|
-
resultName:
|
313
|
-
nextLoc:
|
314
|
-
}, "next" === this.method && (this.arg =
|
349
|
+
iterator: values(e),
|
350
|
+
resultName: r,
|
351
|
+
nextLoc: n
|
352
|
+
}, "next" === this.method && (this.arg = t), y;
|
315
353
|
}
|
316
|
-
},
|
354
|
+
}, e;
|
317
355
|
}
|
318
356
|
module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
319
357
|
|
320
|
-
/***/ }),
|
321
|
-
|
322
|
-
/***/ 7425:
|
323
|
-
/***/ ((module) => {
|
324
|
-
|
325
|
-
function _typeof(obj) {
|
326
|
-
"@babel/helpers - typeof";
|
327
|
-
|
328
|
-
return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
329
|
-
return typeof obj;
|
330
|
-
} : function (obj) {
|
331
|
-
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
332
|
-
}, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(obj);
|
333
|
-
}
|
334
|
-
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
335
|
-
|
336
|
-
/***/ }),
|
337
|
-
|
338
|
-
/***/ 2841:
|
339
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
340
|
-
|
341
|
-
// TODO(Babel 8): Remove this file.
|
342
|
-
|
343
|
-
var runtime = __webpack_require__(7609)();
|
344
|
-
module.exports = runtime;
|
345
|
-
|
346
|
-
// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
|
347
|
-
try {
|
348
|
-
regeneratorRuntime = runtime;
|
349
|
-
} catch (accidentalStrictMode) {
|
350
|
-
if (typeof globalThis === "object") {
|
351
|
-
globalThis.regeneratorRuntime = runtime;
|
352
|
-
} else {
|
353
|
-
Function("r", "regeneratorRuntime = r")(runtime);
|
354
|
-
}
|
355
|
-
}
|
356
|
-
|
357
|
-
|
358
358
|
/***/ })
|
359
359
|
|
360
360
|
/******/ });
|
@@ -415,19 +415,19 @@ try {
|
|
415
415
|
/******/
|
416
416
|
/************************************************************************/
|
417
417
|
var __webpack_exports__ = {};
|
418
|
-
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
419
|
-
(() => {
|
420
418
|
|
421
419
|
// EXPORTS
|
422
420
|
__webpack_require__.d(__webpack_exports__, {
|
423
421
|
"default": () => (/* binding */ src)
|
424
422
|
});
|
425
423
|
|
426
|
-
;//
|
427
|
-
var x = y => {
|
428
|
-
var
|
429
|
-
|
430
|
-
|
424
|
+
;// external "../shared"
|
425
|
+
var x = (y) => {
|
426
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
427
|
+
}
|
428
|
+
var y = (x) => (() => (x))
|
429
|
+
const shared_namespaceObject = x({ ["PlacementEnum"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PlacementEnum), ["PropTypes"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes), ["withInstall"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall) });
|
430
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
431
431
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
432
432
|
try {
|
433
433
|
var info = gen[key](arg);
|
@@ -458,34 +458,46 @@ function _asyncToGenerator(fn) {
|
|
458
458
|
});
|
459
459
|
};
|
460
460
|
}
|
461
|
-
;//
|
462
|
-
var external_vue_x = y => {
|
463
|
-
var
|
464
|
-
|
461
|
+
;// external "vue"
|
462
|
+
var external_vue_x = (y) => {
|
463
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
464
|
+
}
|
465
|
+
var external_vue_y = (x) => (() => (x))
|
466
|
+
const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.Fragment), ["computed"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.computed), ["createTextVNode"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode), ["createVNode"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.createVNode), ["defineComponent"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.defineComponent), ["nextTick"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.nextTick), ["onMounted"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.onMounted), ["ref"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.ref), ["watch"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.watch) });
|
465
467
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/regenerator/index.js
|
466
|
-
var regenerator = __webpack_require__(
|
468
|
+
var regenerator = __webpack_require__(5799);
|
467
469
|
var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
|
468
|
-
;//
|
469
|
-
var config_provider_x = y => {
|
470
|
-
var
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
var
|
470
|
+
;// external "../config-provider"
|
471
|
+
var config_provider_x = (y) => {
|
472
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
473
|
+
}
|
474
|
+
var config_provider_y = (x) => (() => (x))
|
475
|
+
const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix) });
|
476
|
+
;// external "../input"
|
477
|
+
var input_x = (y) => {
|
478
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
479
|
+
}
|
480
|
+
var input_y = (x) => (() => (x))
|
481
|
+
const input_namespaceObject = input_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_input_d525237e__["default"]) });
|
482
|
+
;// external "../input/input.less"
|
483
|
+
var input_less_x = (y) => {
|
484
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
485
|
+
}
|
486
|
+
var input_less_y = (x) => (() => (x))
|
479
487
|
const input_less_namespaceObject = input_less_x({ });
|
480
|
-
;//
|
481
|
-
var popover_x = y => {
|
482
|
-
var
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
488
|
+
;// external "../popover"
|
489
|
+
var popover_x = (y) => {
|
490
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
491
|
+
}
|
492
|
+
var popover_y = (x) => (() => (x))
|
493
|
+
const popover_namespaceObject = popover_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__["default"]) });
|
494
|
+
;// external "../popover/popover.less"
|
495
|
+
var popover_less_x = (y) => {
|
496
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
497
|
+
}
|
498
|
+
var popover_less_y = (x) => (() => (x))
|
487
499
|
const popover_less_namespaceObject = popover_less_x({ });
|
488
|
-
;//
|
500
|
+
;// ../../packages/slider/src/slider-button.tsx
|
489
501
|
|
490
502
|
/**
|
491
503
|
* Tencent is pleased to support the open source community by making
|
@@ -517,7 +529,8 @@ const popover_less_namespaceObject = popover_less_x({ });
|
|
517
529
|
|
518
530
|
|
519
531
|
|
520
|
-
|
532
|
+
|
533
|
+
/* harmony default export */ const slider_button = ((0,external_vue_namespaceObject.defineComponent)({
|
521
534
|
name: 'SliderButton',
|
522
535
|
props: {
|
523
536
|
modelValue: {
|
@@ -534,18 +547,18 @@ const popover_less_namespaceObject = popover_less_x({ });
|
|
534
547
|
emits: ['emitChange', 'resetSize', 'update:modelValue'],
|
535
548
|
setup: function setup(props, _ref) {
|
536
549
|
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 () {
|
550
|
+
var dragging = (0,external_vue_namespaceObject.ref)(false);
|
551
|
+
var isClick = (0,external_vue_namespaceObject.ref)(false);
|
552
|
+
var startY = (0,external_vue_namespaceObject.ref)(0);
|
553
|
+
var startX = (0,external_vue_namespaceObject.ref)(0);
|
554
|
+
var startPosition = (0,external_vue_namespaceObject.ref)(0);
|
555
|
+
var newPosition = (0,external_vue_namespaceObject.ref)(null);
|
556
|
+
var oldValue = (0,external_vue_namespaceObject.ref)(props.modelValue);
|
557
|
+
var currentY = (0,external_vue_namespaceObject.ref)(0);
|
558
|
+
var currentX = (0,external_vue_namespaceObject.ref)(0);
|
559
|
+
var isMove = (0,external_vue_namespaceObject.ref)(false);
|
560
|
+
var button = (0,external_vue_namespaceObject.ref)(null);
|
561
|
+
var tip = (0,external_vue_namespaceObject.computed)(function () {
|
549
562
|
var _props$params$customC, _props$params;
|
550
563
|
var tip = '';
|
551
564
|
if ((_props$params$customC = props.params.customContent) !== null && _props$params$customC !== void 0 && _props$params$customC[props.modelValue]) {
|
@@ -564,17 +577,17 @@ const popover_less_namespaceObject = popover_less_x({ });
|
|
564
577
|
placement: placement
|
565
578
|
};
|
566
579
|
});
|
567
|
-
var currentPosition = computed(function () {
|
580
|
+
var currentPosition = (0,external_vue_namespaceObject.computed)(function () {
|
568
581
|
return "".concat((props.modelValue - props.params.minValue) / (props.params.maxValue - props.params.minValue) * 100, "%");
|
569
582
|
});
|
570
|
-
var wrapperStyle = computed(function () {
|
583
|
+
var wrapperStyle = (0,external_vue_namespaceObject.computed)(function () {
|
571
584
|
return props.params.vertical ? {
|
572
585
|
bottom: currentPosition.value
|
573
586
|
} : {
|
574
587
|
left: currentPosition.value
|
575
588
|
};
|
576
589
|
});
|
577
|
-
var buttonLabel = computed(function () {
|
590
|
+
var buttonLabel = (0,external_vue_namespaceObject.computed)(function () {
|
578
591
|
return props.params.formatterButtonLabel(props.modelValue);
|
579
592
|
});
|
580
593
|
var onButtonDown = function onButtonDown(event) {
|
@@ -690,7 +703,7 @@ const popover_less_namespaceObject = popover_less_x({ });
|
|
690
703
|
return this.renderDom();
|
691
704
|
}
|
692
705
|
}));
|
693
|
-
;//
|
706
|
+
;// ../../packages/slider/src/slider.tsx
|
694
707
|
|
695
708
|
|
696
709
|
|
@@ -1071,7 +1084,7 @@ var off = function off(element, event, handler) {
|
|
1071
1084
|
};
|
1072
1085
|
/* 派出事件 */
|
1073
1086
|
var emitChange = /*#__PURE__*/function () {
|
1074
|
-
var _ref2 = _asyncToGenerator(/*#__PURE__*/regenerator_default().mark(function _callee() {
|
1087
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee() {
|
1075
1088
|
return regenerator_default().wrap(function _callee$(_context) {
|
1076
1089
|
while (1) switch (_context.prev = _context.next) {
|
1077
1090
|
case 0:
|
@@ -1311,7 +1324,7 @@ var off = function off(element, event, handler) {
|
|
1311
1324
|
return this.renderDom();
|
1312
1325
|
}
|
1313
1326
|
}));
|
1314
|
-
;//
|
1327
|
+
;// ../../packages/slider/src/index.ts
|
1315
1328
|
/**
|
1316
1329
|
* Tencent is pleased to support the open source community by making
|
1317
1330
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -1341,7 +1354,5 @@ var off = function off(element, event, handler) {
|
|
1341
1354
|
|
1342
1355
|
var Slider = (0,shared_namespaceObject.withInstall)(slider);
|
1343
1356
|
/* harmony default export */ const src = (Slider);
|
1344
|
-
})();
|
1345
|
-
|
1346
1357
|
var __webpack_exports__default = __webpack_exports__["default"];
|
1347
1358
|
export { __webpack_exports__default as default };
|