bkui-vue 2.0.2-beta.16 → 2.0.2-beta.18
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 +61 -61
- package/dist/index.esm.js +19388 -18179
- package/dist/index.umd.js +68 -68
- package/lib/affix/index.js +22 -30
- package/lib/alert/index.js +22 -30
- package/lib/animate-number/index.js +10 -14
- package/lib/backtop/index.js +22 -32
- package/lib/badge/index.js +18 -24
- package/lib/breadcrumb/index.js +23 -31
- package/lib/button/index.js +26 -36
- package/lib/card/index.js +33 -47
- package/lib/cascader/index.js +647 -674
- package/lib/checkbox/index.js +34 -44
- package/lib/code-diff/index.js +79 -83
- package/lib/collapse/index.js +33 -39
- package/lib/collapse-transition/index.js +14 -20
- package/lib/color-picker/index.js +624 -640
- package/lib/config-provider/index.js +26 -34
- package/lib/container/index.js +21 -27
- package/lib/date-picker/index.js +650 -672
- package/lib/dialog/index.js +87 -101
- package/lib/directives/index.js +512 -520
- package/lib/divider/index.js +15 -21
- package/lib/dropdown/index.js +31 -43
- package/lib/exception/index.js +49 -55
- package/lib/fixed-navbar/index.js +14 -20
- package/lib/form/index.js +638 -662
- package/lib/icon/angle-double-down-line.js +12 -14
- package/lib/icon/angle-double-left-line.js +12 -14
- package/lib/icon/angle-double-left.js +12 -14
- package/lib/icon/angle-double-right-line.js +12 -14
- package/lib/icon/angle-double-right.js +12 -14
- package/lib/icon/angle-double-up-line.js +12 -14
- package/lib/icon/angle-down-fill.js +12 -14
- package/lib/icon/angle-down-line.js +12 -14
- package/lib/icon/angle-down.js +12 -14
- package/lib/icon/angle-left.js +12 -14
- package/lib/icon/angle-right.js +12 -14
- package/lib/icon/angle-up-fill.js +12 -14
- package/lib/icon/angle-up.js +12 -14
- package/lib/icon/archive-fill.js +12 -14
- package/lib/icon/arrows-left.js +12 -14
- package/lib/icon/arrows-right.js +12 -14
- package/lib/icon/assistant.js +12 -14
- package/lib/icon/audio-fill.js +12 -14
- package/lib/icon/bk.js +12 -14
- package/lib/icon/circle.js +12 -14
- package/lib/icon/close-line.js +12 -14
- package/lib/icon/close.js +12 -14
- package/lib/icon/code.js +12 -14
- package/lib/icon/cog-shape.js +12 -14
- package/lib/icon/collapse-left.js +12 -14
- package/lib/icon/copy-shape.js +12 -14
- package/lib/icon/copy.js +12 -14
- package/lib/icon/data-shape.js +12 -14
- package/lib/icon/del.js +12 -14
- package/lib/icon/doc-fill.js +12 -14
- package/lib/icon/done.js +12 -14
- package/lib/icon/down-shape.js +12 -14
- package/lib/icon/down-small.js +12 -14
- package/lib/icon/edit-line.js +12 -14
- package/lib/icon/ellipsis.js +12 -14
- package/lib/icon/enlarge-line.js +12 -14
- package/lib/icon/error.js +12 -14
- package/lib/icon/excel-fill.js +12 -14
- package/lib/icon/exclamation-circle-shape.js +12 -14
- package/lib/icon/eye.js +12 -14
- package/lib/icon/filliscreen-line.js +12 -14
- package/lib/icon/fix-line.js +12 -14
- package/lib/icon/fix-shape.js +12 -14
- package/lib/icon/folder-open.js +12 -14
- package/lib/icon/folder-shape-open.js +12 -14
- package/lib/icon/folder-shape.js +12 -14
- package/lib/icon/folder.js +12 -14
- package/lib/icon/funnel.js +12 -14
- package/lib/icon/grag-fill.js +12 -14
- package/lib/icon/help-document-fill.js +12 -14
- package/lib/icon/help-fill.js +12 -14
- package/lib/icon/help.js +12 -14
- package/lib/icon/image-fill.js +12 -14
- package/lib/icon/img-error.js +12 -14
- package/lib/icon/img-placehoulder.js +12 -14
- package/lib/icon/info-line.js +12 -14
- package/lib/icon/info.js +12 -14
- package/lib/icon/left-shape.js +12 -14
- package/lib/icon/left-turn-line.js +12 -14
- package/lib/icon/loading.js +12 -14
- package/lib/icon/narrow-line.js +12 -14
- package/lib/icon/original.js +12 -14
- package/lib/icon/pdf-fill.js +12 -14
- package/lib/icon/play-shape.js +12 -14
- package/lib/icon/plus.js +12 -14
- package/lib/icon/ppt-fill.js +12 -14
- package/lib/icon/qq.js +12 -14
- package/lib/icon/right-shape.js +12 -14
- package/lib/icon/right-turn-line.js +12 -14
- package/lib/icon/search.js +12 -14
- package/lib/icon/share.js +12 -14
- package/lib/icon/spinner.js +12 -14
- package/lib/icon/success.js +12 -14
- package/lib/icon/switcher-loading.js +12 -14
- package/lib/icon/text-all.js +12 -14
- package/lib/icon/text-file.js +12 -14
- package/lib/icon/text-fill.js +12 -14
- package/lib/icon/transfer.js +12 -14
- package/lib/icon/tree-application-shape.js +12 -14
- package/lib/icon/unfull-screen.js +12 -14
- package/lib/icon/unvisible.js +12 -14
- package/lib/icon/up-shape.js +12 -14
- package/lib/icon/upload.js +12 -14
- package/lib/icon/video-fill.js +12 -14
- package/lib/icon/warn.js +12 -14
- package/lib/icon/weixin-pro.js +12 -14
- package/lib/icon/weixin.js +12 -14
- package/lib/image/index.js +324 -340
- package/lib/index.js +1 -1
- package/lib/info-box/index.js +87 -101
- package/lib/input/index.js +321 -333
- package/lib/link/index.js +18 -26
- package/lib/loading/index.js +19 -25
- package/lib/locale/index.js +3 -3
- package/lib/menu/index.js +32 -40
- package/lib/message/index.js +41 -47
- package/lib/modal/index.js +30 -41
- package/lib/navigation/index.js +19 -27
- package/lib/notify/index.js +27 -37
- package/lib/overflow-title/index.js +29 -41
- package/lib/pagination/index.js +46 -62
- package/lib/pop-confirm/index.js +33 -49
- package/lib/popover/index.js +345 -361
- package/lib/popover2/index.js +10 -14
- package/lib/process/index.js +74 -78
- package/lib/progress/index.js +20 -26
- package/lib/radio/index.js +31 -39
- package/lib/rate/index.js +19 -25
- package/lib/resize-layout/index.js +22 -30
- package/lib/scrollbar/index.js +25 -25
- package/lib/search-select/index.js +509 -531
- package/lib/select/index.js +543 -585
- package/lib/shared/index.js +49 -57
- package/lib/sideslider/index.js +79 -89
- package/lib/slider/index.js +75 -85
- package/lib/steps/index.js +72 -78
- package/lib/swiper/index.js +18 -24
- package/lib/switcher/index.js +22 -30
- package/lib/tab/index.js +321 -335
- package/lib/table/index.js +602 -660
- package/lib/table-column/index.js +9 -13
- package/lib/tag/index.js +26 -36
- package/lib/tag-input/index.js +348 -374
- package/lib/time-picker/index.js +9 -13
- package/lib/timeline/index.js +15 -21
- package/lib/transfer/index.js +40 -56
- package/lib/tree/index.js +82 -102
- package/lib/tree/use-node-drag.d.ts +1 -1
- package/lib/upload/index.js +562 -574
- package/lib/virtual-render/index.js +43 -55
- package/package.json +1 -1
- /package/dist/{style.css → cli.css} +0 -0
package/lib/cascader/index.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
import "../styles/reset.css";
|
2
2
|
import "./cascader.less";
|
3
|
-
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__ from "../popover";
|
4
3
|
import * as __WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__ from "@popperjs/core";
|
5
4
|
import * as __WEBPACK_EXTERNAL_MODULE__loading_4d683b23__ from "../loading";
|
6
5
|
import * as __WEBPACK_EXTERNAL_MODULE__overflow_title_f9bafa47__ from "../overflow-title";
|
6
|
+
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__ from "../popover";
|
7
7
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
|
8
8
|
import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
|
9
9
|
import * as __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__ from "vue-types";
|
@@ -18,181 +18,7 @@ import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_checkbox_13b1cb4a__ from "../
|
|
18
18
|
import "../checkbox/checkbox.less";
|
19
19
|
/******/ var __webpack_modules__ = ({
|
20
20
|
|
21
|
-
/***/
|
22
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
23
|
-
|
24
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
25
|
-
/* harmony export */ "default": () => (/* binding */ toPropertyKey)
|
26
|
-
/* harmony export */ });
|
27
|
-
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7545);
|
28
|
-
/* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9824);
|
29
|
-
|
30
|
-
|
31
|
-
function toPropertyKey(t) {
|
32
|
-
var i = (0,_toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t, "string");
|
33
|
-
return "symbol" == (0,_typeof_js__WEBPACK_IMPORTED_MODULE_1__["default"])(i) ? i : String(i);
|
34
|
-
}
|
35
|
-
|
36
|
-
/***/ }),
|
37
|
-
|
38
|
-
/***/ 592:
|
39
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
40
|
-
|
41
|
-
var x = (y) => {
|
42
|
-
var x = {}; __webpack_require__.d(x, y); return x
|
43
|
-
}
|
44
|
-
var y = (x) => (() => (x))
|
45
|
-
module.exports = x({ ["$bkPopover"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__.$bkPopover), ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__["default"]) });
|
46
|
-
|
47
|
-
/***/ }),
|
48
|
-
|
49
|
-
/***/ 1043:
|
50
|
-
/***/ ((module) => {
|
51
|
-
|
52
|
-
/**
|
53
|
-
* Copyright (c) 2015, Facebook, Inc.
|
54
|
-
* All rights reserved.
|
55
|
-
*
|
56
|
-
* This source code is licensed under the BSD-style license found in the
|
57
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
58
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
59
|
-
*
|
60
|
-
* @providesModule ExecutionEnvironment
|
61
|
-
*/
|
62
|
-
|
63
|
-
/*jslint evil: true */
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
var canUseDOM = !!(
|
68
|
-
typeof window !== 'undefined' &&
|
69
|
-
window.document &&
|
70
|
-
window.document.createElement
|
71
|
-
);
|
72
|
-
|
73
|
-
/**
|
74
|
-
* Simple, lightweight module assisting with the detection and context of
|
75
|
-
* Worker. Helps avoid circular dependencies and allows code to reason about
|
76
|
-
* whether or not they are in a Worker, even if they never include the main
|
77
|
-
* `ReactWorker` dependency.
|
78
|
-
*/
|
79
|
-
var ExecutionEnvironment = {
|
80
|
-
|
81
|
-
canUseDOM: canUseDOM,
|
82
|
-
|
83
|
-
canUseWorkers: typeof Worker !== 'undefined',
|
84
|
-
|
85
|
-
canUseEventListeners:
|
86
|
-
canUseDOM && !!(window.addEventListener || window.attachEvent),
|
87
|
-
|
88
|
-
canUseViewport: canUseDOM && !!window.screen,
|
89
|
-
|
90
|
-
isInWorker: !canUseDOM // For now, this is true - might change in the future.
|
91
|
-
|
92
|
-
};
|
93
|
-
|
94
|
-
module.exports = ExecutionEnvironment;
|
95
|
-
|
96
|
-
|
97
|
-
/***/ }),
|
98
|
-
|
99
|
-
/***/ 2586:
|
100
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
101
|
-
|
102
|
-
/**
|
103
|
-
* Copyright 2013-2015, Facebook, Inc.
|
104
|
-
* All rights reserved.
|
105
|
-
*
|
106
|
-
* This source code is licensed under the BSD-style license found in the
|
107
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
108
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
109
|
-
*
|
110
|
-
* @providesModule isEventSupported
|
111
|
-
*/
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
var ExecutionEnvironment = __webpack_require__(1043);
|
116
|
-
|
117
|
-
var useHasFeature;
|
118
|
-
if (ExecutionEnvironment.canUseDOM) {
|
119
|
-
useHasFeature =
|
120
|
-
document.implementation &&
|
121
|
-
document.implementation.hasFeature &&
|
122
|
-
// always returns true in newer browsers as per the standard.
|
123
|
-
// @see http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature
|
124
|
-
document.implementation.hasFeature('', '') !== true;
|
125
|
-
}
|
126
|
-
|
127
|
-
/**
|
128
|
-
* Checks if an event is supported in the current execution environment.
|
129
|
-
*
|
130
|
-
* NOTE: This will not work correctly for non-generic events such as `change`,
|
131
|
-
* `reset`, `load`, `error`, and `select`.
|
132
|
-
*
|
133
|
-
* Borrows from Modernizr.
|
134
|
-
*
|
135
|
-
* @param {string} eventNameSuffix Event name, e.g. "click".
|
136
|
-
* @param {?boolean} capture Check if the capture phase is supported.
|
137
|
-
* @return {boolean} True if the event is supported.
|
138
|
-
* @internal
|
139
|
-
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
140
|
-
*/
|
141
|
-
function isEventSupported(eventNameSuffix, capture) {
|
142
|
-
if (!ExecutionEnvironment.canUseDOM ||
|
143
|
-
capture && !('addEventListener' in document)) {
|
144
|
-
return false;
|
145
|
-
}
|
146
|
-
|
147
|
-
var eventName = 'on' + eventNameSuffix;
|
148
|
-
var isSupported = eventName in document;
|
149
|
-
|
150
|
-
if (!isSupported) {
|
151
|
-
var element = document.createElement('div');
|
152
|
-
element.setAttribute(eventName, 'return;');
|
153
|
-
isSupported = typeof element[eventName] === 'function';
|
154
|
-
}
|
155
|
-
|
156
|
-
if (!isSupported && useHasFeature && eventNameSuffix === 'wheel') {
|
157
|
-
// This is the only way to test support for the `wheel` event in IE9+.
|
158
|
-
isSupported = document.implementation.hasFeature('Events.wheel', '3.0');
|
159
|
-
}
|
160
|
-
|
161
|
-
return isSupported;
|
162
|
-
}
|
163
|
-
|
164
|
-
module.exports = isEventSupported;
|
165
|
-
|
166
|
-
|
167
|
-
/***/ }),
|
168
|
-
|
169
|
-
/***/ 2880:
|
170
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
171
|
-
|
172
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
173
|
-
/* harmony export */ "default": () => (/* binding */ _nonIterableSpread)
|
174
|
-
/* harmony export */ });
|
175
|
-
function _nonIterableSpread() {
|
176
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
177
|
-
}
|
178
|
-
|
179
|
-
/***/ }),
|
180
|
-
|
181
|
-
/***/ 3492:
|
182
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
183
|
-
|
184
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
185
|
-
/* harmony export */ "default": () => (/* binding */ _arrayWithoutHoles)
|
186
|
-
/* harmony export */ });
|
187
|
-
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6284);
|
188
|
-
|
189
|
-
function _arrayWithoutHoles(arr) {
|
190
|
-
if (Array.isArray(arr)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(arr);
|
191
|
-
}
|
192
|
-
|
193
|
-
/***/ }),
|
194
|
-
|
195
|
-
/***/ 4193:
|
21
|
+
/***/ 668:
|
196
22
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
197
23
|
|
198
24
|
|
@@ -203,7 +29,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
203
29
|
|
204
30
|
// UNUSED EXPORTS: bkEllipsis, bkEllipsisInstance, bkLoading, clickoutside, mousewheel, overflowTitle
|
205
31
|
|
206
|
-
;// ../../packages/directives/src/clickoutside.ts
|
32
|
+
;// CONCATENATED MODULE: ../../packages/directives/src/clickoutside.ts
|
207
33
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
208
34
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
209
35
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
@@ -330,10 +156,10 @@ ClickOutside.install = function (app) {
|
|
330
156
|
};
|
331
157
|
/* harmony default export */ const clickoutside = ((/* unused pure expression or super */ null && (ClickOutside)));
|
332
158
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
333
|
-
var esm_typeof = __webpack_require__(
|
159
|
+
var esm_typeof = __webpack_require__(6522);
|
334
160
|
// EXTERNAL MODULE: external "../popover"
|
335
|
-
var popover_ = __webpack_require__(
|
336
|
-
;// ../../packages/directives/src/ellipsis.ts
|
161
|
+
var popover_ = __webpack_require__(563);
|
162
|
+
;// CONCATENATED MODULE: ../../packages/directives/src/ellipsis.ts
|
337
163
|
|
338
164
|
/*
|
339
165
|
* Tencent is pleased to support the open source community by making
|
@@ -444,9 +270,9 @@ var ellipsis = {
|
|
444
270
|
};
|
445
271
|
/* harmony default export */ const src_ellipsis = ((/* unused pure expression or super */ null && (ellipsis)));
|
446
272
|
// EXTERNAL MODULE: ../../node_modules/normalize-wheel/index.js
|
447
|
-
var normalize_wheel = __webpack_require__(
|
273
|
+
var normalize_wheel = __webpack_require__(2439);
|
448
274
|
var normalize_wheel_default = /*#__PURE__*/__webpack_require__.n(normalize_wheel);
|
449
|
-
;// ../../packages/directives/src/mousewheel.ts
|
275
|
+
;// CONCATENATED MODULE: ../../packages/directives/src/mousewheel.ts
|
450
276
|
/*
|
451
277
|
* Tencent is pleased to support the open source community by making
|
452
278
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -489,20 +315,18 @@ var mousewheel = {
|
|
489
315
|
};
|
490
316
|
/* harmony default export */ const src_mousewheel = ((/* unused pure expression or super */ null && (mousewheel)));
|
491
317
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
492
|
-
var defineProperty = __webpack_require__(
|
318
|
+
var defineProperty = __webpack_require__(6666);
|
493
319
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
494
|
-
var toConsumableArray = __webpack_require__(
|
320
|
+
var toConsumableArray = __webpack_require__(7930);
|
495
321
|
// EXTERNAL MODULE: external "vue"
|
496
|
-
var external_vue_ = __webpack_require__(
|
322
|
+
var external_vue_ = __webpack_require__(6609);
|
497
323
|
// EXTERNAL MODULE: external "../shared"
|
498
|
-
var shared_ = __webpack_require__(
|
499
|
-
;// external "@popperjs/core"
|
500
|
-
var x = (y)
|
501
|
-
|
502
|
-
}
|
503
|
-
|
504
|
-
const core_namespaceObject = x({ ["createPopper"]: () => (__WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__.createPopper) });
|
505
|
-
;// ../../packages/directives/src/tooltips.ts
|
324
|
+
var shared_ = __webpack_require__(9253);
|
325
|
+
;// CONCATENATED MODULE: external "@popperjs/core"
|
326
|
+
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
327
|
+
var y = x => () => x
|
328
|
+
const core_namespaceObject = x({ ["createPopper"]: () => __WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__.createPopper });
|
329
|
+
;// CONCATENATED MODULE: ../../packages/directives/src/tooltips.ts
|
506
330
|
|
507
331
|
|
508
332
|
|
@@ -791,19 +615,15 @@ function hide(el) {
|
|
791
615
|
}
|
792
616
|
}
|
793
617
|
/* harmony default export */ const src_tooltips = (tooltips);
|
794
|
-
;// external "../loading"
|
795
|
-
var external_loading_x = (y)
|
796
|
-
|
797
|
-
}
|
798
|
-
var external_loading_y = (x) => (() => (x))
|
618
|
+
;// CONCATENATED MODULE: external "../loading"
|
619
|
+
var external_loading_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
620
|
+
var external_loading_y = x => () => x
|
799
621
|
const external_loading_namespaceObject = external_loading_x({ });
|
800
|
-
;// external "../overflow-title"
|
801
|
-
var external_overflow_title_x = (y)
|
802
|
-
|
803
|
-
}
|
804
|
-
var external_overflow_title_y = (x) => (() => (x))
|
622
|
+
;// CONCATENATED MODULE: external "../overflow-title"
|
623
|
+
var external_overflow_title_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
624
|
+
var external_overflow_title_y = x => () => x
|
805
625
|
const external_overflow_title_namespaceObject = external_overflow_title_x({ });
|
806
|
-
;// ../../packages/directives/src/index.ts
|
626
|
+
;// CONCATENATED MODULE: ../../packages/directives/src/index.ts
|
807
627
|
/*
|
808
628
|
* Tencent is pleased to support the open source community by making
|
809
629
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -839,45 +659,16 @@ const external_overflow_title_namespaceObject = external_overflow_title_x({ });
|
|
839
659
|
|
840
660
|
/***/ }),
|
841
661
|
|
842
|
-
/***/
|
843
|
-
/***/ ((
|
844
|
-
|
845
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
846
|
-
/* harmony export */ "default": () => (/* binding */ _iterableToArray)
|
847
|
-
/* harmony export */ });
|
848
|
-
function _iterableToArray(iter) {
|
849
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
850
|
-
}
|
851
|
-
|
852
|
-
/***/ }),
|
853
|
-
|
854
|
-
/***/ 4586:
|
855
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
662
|
+
/***/ 2439:
|
663
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
856
664
|
|
857
|
-
|
858
|
-
/* harmony export */ "default": () => (/* binding */ _defineProperty)
|
859
|
-
/* harmony export */ });
|
860
|
-
/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(205);
|
665
|
+
module.exports = __webpack_require__(2527);
|
861
666
|
|
862
|
-
function _defineProperty(obj, key, value) {
|
863
|
-
key = (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["default"])(key);
|
864
|
-
if (key in obj) {
|
865
|
-
Object.defineProperty(obj, key, {
|
866
|
-
value: value,
|
867
|
-
enumerable: true,
|
868
|
-
configurable: true,
|
869
|
-
writable: true
|
870
|
-
});
|
871
|
-
} else {
|
872
|
-
obj[key] = value;
|
873
|
-
}
|
874
|
-
return obj;
|
875
|
-
}
|
876
667
|
|
877
668
|
/***/ }),
|
878
669
|
|
879
|
-
/***/
|
880
|
-
/***/ ((module
|
670
|
+
/***/ 7430:
|
671
|
+
/***/ ((module) => {
|
881
672
|
|
882
673
|
/**
|
883
674
|
* Copyright (c) 2015, Facebook, Inc.
|
@@ -887,260 +678,66 @@ function _defineProperty(obj, key, value) {
|
|
887
678
|
* LICENSE file in the root directory of this source tree. An additional grant
|
888
679
|
* of patent rights can be found in the PATENTS file in the same directory.
|
889
680
|
*
|
890
|
-
* @providesModule
|
891
|
-
|
681
|
+
* @providesModule ExecutionEnvironment
|
682
|
+
*/
|
683
|
+
|
684
|
+
/*jslint evil: true */
|
685
|
+
|
686
|
+
|
687
|
+
|
688
|
+
var canUseDOM = !!(
|
689
|
+
typeof window !== 'undefined' &&
|
690
|
+
window.document &&
|
691
|
+
window.document.createElement
|
692
|
+
);
|
693
|
+
|
694
|
+
/**
|
695
|
+
* Simple, lightweight module assisting with the detection and context of
|
696
|
+
* Worker. Helps avoid circular dependencies and allows code to reason about
|
697
|
+
* whether or not they are in a Worker, even if they never include the main
|
698
|
+
* `ReactWorker` dependency.
|
892
699
|
*/
|
700
|
+
var ExecutionEnvironment = {
|
893
701
|
|
702
|
+
canUseDOM: canUseDOM,
|
894
703
|
|
704
|
+
canUseWorkers: typeof Worker !== 'undefined',
|
895
705
|
|
896
|
-
|
706
|
+
canUseEventListeners:
|
707
|
+
canUseDOM && !!(window.addEventListener || window.attachEvent),
|
897
708
|
|
898
|
-
|
709
|
+
canUseViewport: canUseDOM && !!window.screen,
|
899
710
|
|
711
|
+
isInWorker: !canUseDOM // For now, this is true - might change in the future.
|
900
712
|
|
901
|
-
|
902
|
-
|
903
|
-
|
904
|
-
|
713
|
+
};
|
714
|
+
|
715
|
+
module.exports = ExecutionEnvironment;
|
716
|
+
|
717
|
+
|
718
|
+
/***/ }),
|
719
|
+
|
720
|
+
/***/ 6377:
|
721
|
+
/***/ ((module) => {
|
905
722
|
|
906
723
|
/**
|
907
|
-
*
|
908
|
-
* complicated, thus this doc is long and (hopefully) detailed enough to answer
|
909
|
-
* your questions.
|
724
|
+
* Copyright 2004-present Facebook. All Rights Reserved.
|
910
725
|
*
|
911
|
-
*
|
912
|
-
|
726
|
+
* @providesModule UserAgent_DEPRECATED
|
727
|
+
*/
|
728
|
+
|
729
|
+
/**
|
730
|
+
* Provides entirely client-side User Agent and OS detection. You should prefer
|
731
|
+
* the non-deprecated UserAgent module when possible, which exposes our
|
732
|
+
* authoritative server-side PHP-based detection to the client.
|
913
733
|
*
|
914
|
-
*
|
734
|
+
* Usage is straightforward:
|
915
735
|
*
|
916
|
-
*
|
917
|
-
*
|
918
|
-
*
|
919
|
-
* 'DOMMouseScroll' -- FF(0.9.7+) since 2003
|
736
|
+
* if (UserAgent_DEPRECATED.ie()) {
|
737
|
+
* // IE
|
738
|
+
* }
|
920
739
|
*
|
921
|
-
*
|
922
|
-
*
|
923
|
-
* normalizeWheel.getEventType();
|
924
|
-
*
|
925
|
-
* In your event callback, use this code to get sane interpretation of the
|
926
|
-
* deltas. This code will return an object with properties:
|
927
|
-
*
|
928
|
-
* spinX -- normalized spin speed (use for zoom) - x plane
|
929
|
-
* spinY -- " - y plane
|
930
|
-
* pixelX -- normalized distance (to pixels) - x plane
|
931
|
-
* pixelY -- " - y plane
|
932
|
-
*
|
933
|
-
* Wheel values are provided by the browser assuming you are using the wheel to
|
934
|
-
* scroll a web page by a number of lines or pixels (or pages). Values can vary
|
935
|
-
* significantly on different platforms and browsers, forgetting that you can
|
936
|
-
* scroll at different speeds. Some devices (like trackpads) emit more events
|
937
|
-
* at smaller increments with fine granularity, and some emit massive jumps with
|
938
|
-
* linear speed or acceleration.
|
939
|
-
*
|
940
|
-
* This code does its best to normalize the deltas for you:
|
941
|
-
*
|
942
|
-
* - spin is trying to normalize how far the wheel was spun (or trackpad
|
943
|
-
* dragged). This is super useful for zoom support where you want to
|
944
|
-
* throw away the chunky scroll steps on the PC and make those equal to
|
945
|
-
* the slow and smooth tiny steps on the Mac. Key data: This code tries to
|
946
|
-
* resolve a single slow step on a wheel to 1.
|
947
|
-
*
|
948
|
-
* - pixel is normalizing the desired scroll delta in pixel units. You'll
|
949
|
-
* get the crazy differences between browsers, but at least it'll be in
|
950
|
-
* pixels!
|
951
|
-
*
|
952
|
-
* - positive value indicates scrolling DOWN/RIGHT, negative UP/LEFT. This
|
953
|
-
* should translate to positive value zooming IN, negative zooming OUT.
|
954
|
-
* This matches the newer 'wheel' event.
|
955
|
-
*
|
956
|
-
* Why are there spinX, spinY (or pixels)?
|
957
|
-
*
|
958
|
-
* - spinX is a 2-finger side drag on the trackpad, and a shift + wheel turn
|
959
|
-
* with a mouse. It results in side-scrolling in the browser by default.
|
960
|
-
*
|
961
|
-
* - spinY is what you expect -- it's the classic axis of a mouse wheel.
|
962
|
-
*
|
963
|
-
* - I dropped spinZ/pixelZ. It is supported by the DOM 3 'wheel' event and
|
964
|
-
* probably is by browsers in conjunction with fancy 3D controllers .. but
|
965
|
-
* you know.
|
966
|
-
*
|
967
|
-
* Implementation info:
|
968
|
-
*
|
969
|
-
* Examples of 'wheel' event if you scroll slowly (down) by one step with an
|
970
|
-
* average mouse:
|
971
|
-
*
|
972
|
-
* OS X + Chrome (mouse) - 4 pixel delta (wheelDelta -120)
|
973
|
-
* OS X + Safari (mouse) - N/A pixel delta (wheelDelta -12)
|
974
|
-
* OS X + Firefox (mouse) - 0.1 line delta (wheelDelta N/A)
|
975
|
-
* Win8 + Chrome (mouse) - 100 pixel delta (wheelDelta -120)
|
976
|
-
* Win8 + Firefox (mouse) - 3 line delta (wheelDelta -120)
|
977
|
-
*
|
978
|
-
* On the trackpad:
|
979
|
-
*
|
980
|
-
* OS X + Chrome (trackpad) - 2 pixel delta (wheelDelta -6)
|
981
|
-
* OS X + Firefox (trackpad) - 1 pixel delta (wheelDelta N/A)
|
982
|
-
*
|
983
|
-
* On other/older browsers.. it's more complicated as there can be multiple and
|
984
|
-
* also missing delta values.
|
985
|
-
*
|
986
|
-
* The 'wheel' event is more standard:
|
987
|
-
*
|
988
|
-
* http://www.w3.org/TR/DOM-Level-3-Events/#events-wheelevents
|
989
|
-
*
|
990
|
-
* The basics is that it includes a unit, deltaMode (pixels, lines, pages), and
|
991
|
-
* deltaX, deltaY and deltaZ. Some browsers provide other values to maintain
|
992
|
-
* backward compatibility with older events. Those other values help us
|
993
|
-
* better normalize spin speed. Example of what the browsers provide:
|
994
|
-
*
|
995
|
-
* | event.wheelDelta | event.detail
|
996
|
-
* ------------------+------------------+--------------
|
997
|
-
* Safari v5/OS X | -120 | 0
|
998
|
-
* Safari v5/Win7 | -120 | 0
|
999
|
-
* Chrome v17/OS X | -120 | 0
|
1000
|
-
* Chrome v17/Win7 | -120 | 0
|
1001
|
-
* IE9/Win7 | -120 | undefined
|
1002
|
-
* Firefox v4/OS X | undefined | 1
|
1003
|
-
* Firefox v4/Win7 | undefined | 3
|
1004
|
-
*
|
1005
|
-
*/
|
1006
|
-
function normalizeWheel(/*object*/ event) /*object*/ {
|
1007
|
-
var sX = 0, sY = 0, // spinX, spinY
|
1008
|
-
pX = 0, pY = 0; // pixelX, pixelY
|
1009
|
-
|
1010
|
-
// Legacy
|
1011
|
-
if ('detail' in event) { sY = event.detail; }
|
1012
|
-
if ('wheelDelta' in event) { sY = -event.wheelDelta / 120; }
|
1013
|
-
if ('wheelDeltaY' in event) { sY = -event.wheelDeltaY / 120; }
|
1014
|
-
if ('wheelDeltaX' in event) { sX = -event.wheelDeltaX / 120; }
|
1015
|
-
|
1016
|
-
// side scrolling on FF with DOMMouseScroll
|
1017
|
-
if ( 'axis' in event && event.axis === event.HORIZONTAL_AXIS ) {
|
1018
|
-
sX = sY;
|
1019
|
-
sY = 0;
|
1020
|
-
}
|
1021
|
-
|
1022
|
-
pX = sX * PIXEL_STEP;
|
1023
|
-
pY = sY * PIXEL_STEP;
|
1024
|
-
|
1025
|
-
if ('deltaY' in event) { pY = event.deltaY; }
|
1026
|
-
if ('deltaX' in event) { pX = event.deltaX; }
|
1027
|
-
|
1028
|
-
if ((pX || pY) && event.deltaMode) {
|
1029
|
-
if (event.deltaMode == 1) { // delta in LINE units
|
1030
|
-
pX *= LINE_HEIGHT;
|
1031
|
-
pY *= LINE_HEIGHT;
|
1032
|
-
} else { // delta in PAGE units
|
1033
|
-
pX *= PAGE_HEIGHT;
|
1034
|
-
pY *= PAGE_HEIGHT;
|
1035
|
-
}
|
1036
|
-
}
|
1037
|
-
|
1038
|
-
// Fall-back if spin cannot be determined
|
1039
|
-
if (pX && !sX) { sX = (pX < 1) ? -1 : 1; }
|
1040
|
-
if (pY && !sY) { sY = (pY < 1) ? -1 : 1; }
|
1041
|
-
|
1042
|
-
return { spinX : sX,
|
1043
|
-
spinY : sY,
|
1044
|
-
pixelX : pX,
|
1045
|
-
pixelY : pY };
|
1046
|
-
}
|
1047
|
-
|
1048
|
-
|
1049
|
-
/**
|
1050
|
-
* The best combination if you prefer spinX + spinY normalization. It favors
|
1051
|
-
* the older DOMMouseScroll for Firefox, as FF does not include wheelDelta with
|
1052
|
-
* 'wheel' event, making spin speed determination impossible.
|
1053
|
-
*/
|
1054
|
-
normalizeWheel.getEventType = function() /*string*/ {
|
1055
|
-
return (UserAgent_DEPRECATED.firefox())
|
1056
|
-
? 'DOMMouseScroll'
|
1057
|
-
: (isEventSupported('wheel'))
|
1058
|
-
? 'wheel'
|
1059
|
-
: 'mousewheel';
|
1060
|
-
};
|
1061
|
-
|
1062
|
-
module.exports = normalizeWheel;
|
1063
|
-
|
1064
|
-
|
1065
|
-
/***/ }),
|
1066
|
-
|
1067
|
-
/***/ 5153:
|
1068
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1069
|
-
|
1070
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1071
|
-
/* harmony export */ "default": () => (/* binding */ _toConsumableArray)
|
1072
|
-
/* harmony export */ });
|
1073
|
-
/* harmony import */ var _arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3492);
|
1074
|
-
/* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4430);
|
1075
|
-
/* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7985);
|
1076
|
-
/* harmony import */ var _nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(2880);
|
1077
|
-
|
1078
|
-
|
1079
|
-
|
1080
|
-
|
1081
|
-
function _toConsumableArray(arr) {
|
1082
|
-
return (0,_arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__["default"])(arr) || (0,_iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__["default"])(arr) || (0,_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__["default"])(arr) || (0,_nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__["default"])();
|
1083
|
-
}
|
1084
|
-
|
1085
|
-
/***/ }),
|
1086
|
-
|
1087
|
-
/***/ 5166:
|
1088
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1089
|
-
|
1090
|
-
var x = (y) => {
|
1091
|
-
var x = {}; __webpack_require__.d(x, y); return x
|
1092
|
-
}
|
1093
|
-
var y = (x) => (() => (x))
|
1094
|
-
module.exports = x({ ["PropTypes"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes), ["arrayEqual"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.arrayEqual), ["bkZIndexManager"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.bkZIndexManager), ["capitalize"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.capitalize), ["debounce"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.debounce), ["resolveClassName"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.resolveClassName), ["withInstallProps"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstallProps) });
|
1095
|
-
|
1096
|
-
/***/ }),
|
1097
|
-
|
1098
|
-
/***/ 5286:
|
1099
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1100
|
-
|
1101
|
-
var x = (y) => {
|
1102
|
-
var x = {}; __webpack_require__.d(x, y); return x
|
1103
|
-
}
|
1104
|
-
var y = (x) => (() => (x))
|
1105
|
-
module.exports = x({ ["computed"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.computed), ["createTextVNode"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode), ["createVNode"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.createVNode), ["defineComponent"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.defineComponent), ["h"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.h), ["mergeProps"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.mergeProps), ["nextTick"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.nextTick), ["reactive"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.reactive), ["ref"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.ref), ["render"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.render), ["resolveDirective"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective), ["toRefs"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.toRefs), ["watch"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.watch), ["withDirectives"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.withDirectives) });
|
1106
|
-
|
1107
|
-
/***/ }),
|
1108
|
-
|
1109
|
-
/***/ 6284:
|
1110
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1111
|
-
|
1112
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1113
|
-
/* harmony export */ "default": () => (/* binding */ _arrayLikeToArray)
|
1114
|
-
/* harmony export */ });
|
1115
|
-
function _arrayLikeToArray(arr, len) {
|
1116
|
-
if (len == null || len > arr.length) len = arr.length;
|
1117
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
1118
|
-
return arr2;
|
1119
|
-
}
|
1120
|
-
|
1121
|
-
/***/ }),
|
1122
|
-
|
1123
|
-
/***/ 7416:
|
1124
|
-
/***/ ((module) => {
|
1125
|
-
|
1126
|
-
/**
|
1127
|
-
* Copyright 2004-present Facebook. All Rights Reserved.
|
1128
|
-
*
|
1129
|
-
* @providesModule UserAgent_DEPRECATED
|
1130
|
-
*/
|
1131
|
-
|
1132
|
-
/**
|
1133
|
-
* Provides entirely client-side User Agent and OS detection. You should prefer
|
1134
|
-
* the non-deprecated UserAgent module when possible, which exposes our
|
1135
|
-
* authoritative server-side PHP-based detection to the client.
|
1136
|
-
*
|
1137
|
-
* Usage is straightforward:
|
1138
|
-
*
|
1139
|
-
* if (UserAgent_DEPRECATED.ie()) {
|
1140
|
-
* // IE
|
1141
|
-
* }
|
1142
|
-
*
|
1143
|
-
* You can also do version checks:
|
740
|
+
* You can also do version checks:
|
1144
741
|
*
|
1145
742
|
* if (UserAgent_DEPRECATED.ie() >= 7) {
|
1146
743
|
* // IE7 or better
|
@@ -1287,180 +884,517 @@ var UserAgent_DEPRECATED = {
|
|
1287
884
|
},
|
1288
885
|
|
1289
886
|
|
1290
|
-
/**
|
1291
|
-
* Whether the browser is 64-bit IE. Really, this is kind of weak sauce; we
|
1292
|
-
* only need this because Skype can't handle 64-bit IE yet. We need to remove
|
1293
|
-
* this when we don't need it -- tracked by #601957.
|
1294
|
-
*/
|
1295
|
-
ie64: function() {
|
1296
|
-
return UserAgent_DEPRECATED.ie() && _win64;
|
1297
|
-
},
|
887
|
+
/**
|
888
|
+
* Whether the browser is 64-bit IE. Really, this is kind of weak sauce; we
|
889
|
+
* only need this because Skype can't handle 64-bit IE yet. We need to remove
|
890
|
+
* this when we don't need it -- tracked by #601957.
|
891
|
+
*/
|
892
|
+
ie64: function() {
|
893
|
+
return UserAgent_DEPRECATED.ie() && _win64;
|
894
|
+
},
|
895
|
+
|
896
|
+
/**
|
897
|
+
* Check if the UA is Firefox.
|
898
|
+
*
|
899
|
+
*
|
900
|
+
* @return float|NaN Version number (if match) or NaN.
|
901
|
+
*/
|
902
|
+
firefox: function() {
|
903
|
+
return _populate() || _firefox;
|
904
|
+
},
|
905
|
+
|
906
|
+
|
907
|
+
/**
|
908
|
+
* Check if the UA is Opera.
|
909
|
+
*
|
910
|
+
*
|
911
|
+
* @return float|NaN Version number (if match) or NaN.
|
912
|
+
*/
|
913
|
+
opera: function() {
|
914
|
+
return _populate() || _opera;
|
915
|
+
},
|
916
|
+
|
917
|
+
|
918
|
+
/**
|
919
|
+
* Check if the UA is WebKit.
|
920
|
+
*
|
921
|
+
*
|
922
|
+
* @return float|NaN Version number (if match) or NaN.
|
923
|
+
*/
|
924
|
+
webkit: function() {
|
925
|
+
return _populate() || _webkit;
|
926
|
+
},
|
927
|
+
|
928
|
+
/**
|
929
|
+
* For Push
|
930
|
+
* WILL BE REMOVED VERY SOON. Use UserAgent_DEPRECATED.webkit
|
931
|
+
*/
|
932
|
+
safari: function() {
|
933
|
+
return UserAgent_DEPRECATED.webkit();
|
934
|
+
},
|
935
|
+
|
936
|
+
/**
|
937
|
+
* Check if the UA is a Chrome browser.
|
938
|
+
*
|
939
|
+
*
|
940
|
+
* @return float|NaN Version number (if match) or NaN.
|
941
|
+
*/
|
942
|
+
chrome : function() {
|
943
|
+
return _populate() || _chrome;
|
944
|
+
},
|
945
|
+
|
946
|
+
|
947
|
+
/**
|
948
|
+
* Check if the user is running Windows.
|
949
|
+
*
|
950
|
+
* @return bool `true' if the user's OS is Windows.
|
951
|
+
*/
|
952
|
+
windows: function() {
|
953
|
+
return _populate() || _windows;
|
954
|
+
},
|
955
|
+
|
956
|
+
|
957
|
+
/**
|
958
|
+
* Check if the user is running Mac OS X.
|
959
|
+
*
|
960
|
+
* @return float|bool Returns a float if a version number is detected,
|
961
|
+
* otherwise true/false.
|
962
|
+
*/
|
963
|
+
osx: function() {
|
964
|
+
return _populate() || _osx;
|
965
|
+
},
|
966
|
+
|
967
|
+
/**
|
968
|
+
* Check if the user is running Linux.
|
969
|
+
*
|
970
|
+
* @return bool `true' if the user's OS is some flavor of Linux.
|
971
|
+
*/
|
972
|
+
linux: function() {
|
973
|
+
return _populate() || _linux;
|
974
|
+
},
|
975
|
+
|
976
|
+
/**
|
977
|
+
* Check if the user is running on an iPhone or iPod platform.
|
978
|
+
*
|
979
|
+
* @return bool `true' if the user is running some flavor of the
|
980
|
+
* iPhone OS.
|
981
|
+
*/
|
982
|
+
iphone: function() {
|
983
|
+
return _populate() || _iphone;
|
984
|
+
},
|
985
|
+
|
986
|
+
mobile: function() {
|
987
|
+
return _populate() || (_iphone || _ipad || _android || _mobile);
|
988
|
+
},
|
989
|
+
|
990
|
+
nativeApp: function() {
|
991
|
+
// webviews inside of the native apps
|
992
|
+
return _populate() || _native;
|
993
|
+
},
|
994
|
+
|
995
|
+
android: function() {
|
996
|
+
return _populate() || _android;
|
997
|
+
},
|
998
|
+
|
999
|
+
ipad: function() {
|
1000
|
+
return _populate() || _ipad;
|
1001
|
+
}
|
1002
|
+
};
|
1003
|
+
|
1004
|
+
module.exports = UserAgent_DEPRECATED;
|
1005
|
+
|
1006
|
+
|
1007
|
+
/***/ }),
|
1008
|
+
|
1009
|
+
/***/ 3541:
|
1010
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1011
|
+
|
1012
|
+
/**
|
1013
|
+
* Copyright 2013-2015, Facebook, Inc.
|
1014
|
+
* All rights reserved.
|
1015
|
+
*
|
1016
|
+
* This source code is licensed under the BSD-style license found in the
|
1017
|
+
* LICENSE file in the root directory of this source tree. An additional grant
|
1018
|
+
* of patent rights can be found in the PATENTS file in the same directory.
|
1019
|
+
*
|
1020
|
+
* @providesModule isEventSupported
|
1021
|
+
*/
|
1022
|
+
|
1023
|
+
|
1024
|
+
|
1025
|
+
var ExecutionEnvironment = __webpack_require__(7430);
|
1026
|
+
|
1027
|
+
var useHasFeature;
|
1028
|
+
if (ExecutionEnvironment.canUseDOM) {
|
1029
|
+
useHasFeature =
|
1030
|
+
document.implementation &&
|
1031
|
+
document.implementation.hasFeature &&
|
1032
|
+
// always returns true in newer browsers as per the standard.
|
1033
|
+
// @see http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature
|
1034
|
+
document.implementation.hasFeature('', '') !== true;
|
1035
|
+
}
|
1036
|
+
|
1037
|
+
/**
|
1038
|
+
* Checks if an event is supported in the current execution environment.
|
1039
|
+
*
|
1040
|
+
* NOTE: This will not work correctly for non-generic events such as `change`,
|
1041
|
+
* `reset`, `load`, `error`, and `select`.
|
1042
|
+
*
|
1043
|
+
* Borrows from Modernizr.
|
1044
|
+
*
|
1045
|
+
* @param {string} eventNameSuffix Event name, e.g. "click".
|
1046
|
+
* @param {?boolean} capture Check if the capture phase is supported.
|
1047
|
+
* @return {boolean} True if the event is supported.
|
1048
|
+
* @internal
|
1049
|
+
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
1050
|
+
*/
|
1051
|
+
function isEventSupported(eventNameSuffix, capture) {
|
1052
|
+
if (!ExecutionEnvironment.canUseDOM ||
|
1053
|
+
capture && !('addEventListener' in document)) {
|
1054
|
+
return false;
|
1055
|
+
}
|
1056
|
+
|
1057
|
+
var eventName = 'on' + eventNameSuffix;
|
1058
|
+
var isSupported = eventName in document;
|
1059
|
+
|
1060
|
+
if (!isSupported) {
|
1061
|
+
var element = document.createElement('div');
|
1062
|
+
element.setAttribute(eventName, 'return;');
|
1063
|
+
isSupported = typeof element[eventName] === 'function';
|
1064
|
+
}
|
1065
|
+
|
1066
|
+
if (!isSupported && useHasFeature && eventNameSuffix === 'wheel') {
|
1067
|
+
// This is the only way to test support for the `wheel` event in IE9+.
|
1068
|
+
isSupported = document.implementation.hasFeature('Events.wheel', '3.0');
|
1069
|
+
}
|
1070
|
+
|
1071
|
+
return isSupported;
|
1072
|
+
}
|
1073
|
+
|
1074
|
+
module.exports = isEventSupported;
|
1075
|
+
|
1076
|
+
|
1077
|
+
/***/ }),
|
1078
|
+
|
1079
|
+
/***/ 2527:
|
1080
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1081
|
+
|
1082
|
+
/**
|
1083
|
+
* Copyright (c) 2015, Facebook, Inc.
|
1084
|
+
* All rights reserved.
|
1085
|
+
*
|
1086
|
+
* This source code is licensed under the BSD-style license found in the
|
1087
|
+
* LICENSE file in the root directory of this source tree. An additional grant
|
1088
|
+
* of patent rights can be found in the PATENTS file in the same directory.
|
1089
|
+
*
|
1090
|
+
* @providesModule normalizeWheel
|
1091
|
+
* @typechecks
|
1092
|
+
*/
|
1093
|
+
|
1094
|
+
|
1095
|
+
|
1096
|
+
var UserAgent_DEPRECATED = __webpack_require__(6377);
|
1097
|
+
|
1098
|
+
var isEventSupported = __webpack_require__(3541);
|
1099
|
+
|
1100
|
+
|
1101
|
+
// Reasonable defaults
|
1102
|
+
var PIXEL_STEP = 10;
|
1103
|
+
var LINE_HEIGHT = 40;
|
1104
|
+
var PAGE_HEIGHT = 800;
|
1105
|
+
|
1106
|
+
/**
|
1107
|
+
* Mouse wheel (and 2-finger trackpad) support on the web sucks. It is
|
1108
|
+
* complicated, thus this doc is long and (hopefully) detailed enough to answer
|
1109
|
+
* your questions.
|
1110
|
+
*
|
1111
|
+
* If you need to react to the mouse wheel in a predictable way, this code is
|
1112
|
+
* like your bestest friend. * hugs *
|
1113
|
+
*
|
1114
|
+
* As of today, there are 4 DOM event types you can listen to:
|
1115
|
+
*
|
1116
|
+
* 'wheel' -- Chrome(31+), FF(17+), IE(9+)
|
1117
|
+
* 'mousewheel' -- Chrome, IE(6+), Opera, Safari
|
1118
|
+
* 'MozMousePixelScroll' -- FF(3.5 only!) (2010-2013) -- don't bother!
|
1119
|
+
* 'DOMMouseScroll' -- FF(0.9.7+) since 2003
|
1120
|
+
*
|
1121
|
+
* So what to do? The is the best:
|
1122
|
+
*
|
1123
|
+
* normalizeWheel.getEventType();
|
1124
|
+
*
|
1125
|
+
* In your event callback, use this code to get sane interpretation of the
|
1126
|
+
* deltas. This code will return an object with properties:
|
1127
|
+
*
|
1128
|
+
* spinX -- normalized spin speed (use for zoom) - x plane
|
1129
|
+
* spinY -- " - y plane
|
1130
|
+
* pixelX -- normalized distance (to pixels) - x plane
|
1131
|
+
* pixelY -- " - y plane
|
1132
|
+
*
|
1133
|
+
* Wheel values are provided by the browser assuming you are using the wheel to
|
1134
|
+
* scroll a web page by a number of lines or pixels (or pages). Values can vary
|
1135
|
+
* significantly on different platforms and browsers, forgetting that you can
|
1136
|
+
* scroll at different speeds. Some devices (like trackpads) emit more events
|
1137
|
+
* at smaller increments with fine granularity, and some emit massive jumps with
|
1138
|
+
* linear speed or acceleration.
|
1139
|
+
*
|
1140
|
+
* This code does its best to normalize the deltas for you:
|
1141
|
+
*
|
1142
|
+
* - spin is trying to normalize how far the wheel was spun (or trackpad
|
1143
|
+
* dragged). This is super useful for zoom support where you want to
|
1144
|
+
* throw away the chunky scroll steps on the PC and make those equal to
|
1145
|
+
* the slow and smooth tiny steps on the Mac. Key data: This code tries to
|
1146
|
+
* resolve a single slow step on a wheel to 1.
|
1147
|
+
*
|
1148
|
+
* - pixel is normalizing the desired scroll delta in pixel units. You'll
|
1149
|
+
* get the crazy differences between browsers, but at least it'll be in
|
1150
|
+
* pixels!
|
1151
|
+
*
|
1152
|
+
* - positive value indicates scrolling DOWN/RIGHT, negative UP/LEFT. This
|
1153
|
+
* should translate to positive value zooming IN, negative zooming OUT.
|
1154
|
+
* This matches the newer 'wheel' event.
|
1155
|
+
*
|
1156
|
+
* Why are there spinX, spinY (or pixels)?
|
1157
|
+
*
|
1158
|
+
* - spinX is a 2-finger side drag on the trackpad, and a shift + wheel turn
|
1159
|
+
* with a mouse. It results in side-scrolling in the browser by default.
|
1160
|
+
*
|
1161
|
+
* - spinY is what you expect -- it's the classic axis of a mouse wheel.
|
1162
|
+
*
|
1163
|
+
* - I dropped spinZ/pixelZ. It is supported by the DOM 3 'wheel' event and
|
1164
|
+
* probably is by browsers in conjunction with fancy 3D controllers .. but
|
1165
|
+
* you know.
|
1166
|
+
*
|
1167
|
+
* Implementation info:
|
1168
|
+
*
|
1169
|
+
* Examples of 'wheel' event if you scroll slowly (down) by one step with an
|
1170
|
+
* average mouse:
|
1171
|
+
*
|
1172
|
+
* OS X + Chrome (mouse) - 4 pixel delta (wheelDelta -120)
|
1173
|
+
* OS X + Safari (mouse) - N/A pixel delta (wheelDelta -12)
|
1174
|
+
* OS X + Firefox (mouse) - 0.1 line delta (wheelDelta N/A)
|
1175
|
+
* Win8 + Chrome (mouse) - 100 pixel delta (wheelDelta -120)
|
1176
|
+
* Win8 + Firefox (mouse) - 3 line delta (wheelDelta -120)
|
1177
|
+
*
|
1178
|
+
* On the trackpad:
|
1179
|
+
*
|
1180
|
+
* OS X + Chrome (trackpad) - 2 pixel delta (wheelDelta -6)
|
1181
|
+
* OS X + Firefox (trackpad) - 1 pixel delta (wheelDelta N/A)
|
1182
|
+
*
|
1183
|
+
* On other/older browsers.. it's more complicated as there can be multiple and
|
1184
|
+
* also missing delta values.
|
1185
|
+
*
|
1186
|
+
* The 'wheel' event is more standard:
|
1187
|
+
*
|
1188
|
+
* http://www.w3.org/TR/DOM-Level-3-Events/#events-wheelevents
|
1189
|
+
*
|
1190
|
+
* The basics is that it includes a unit, deltaMode (pixels, lines, pages), and
|
1191
|
+
* deltaX, deltaY and deltaZ. Some browsers provide other values to maintain
|
1192
|
+
* backward compatibility with older events. Those other values help us
|
1193
|
+
* better normalize spin speed. Example of what the browsers provide:
|
1194
|
+
*
|
1195
|
+
* | event.wheelDelta | event.detail
|
1196
|
+
* ------------------+------------------+--------------
|
1197
|
+
* Safari v5/OS X | -120 | 0
|
1198
|
+
* Safari v5/Win7 | -120 | 0
|
1199
|
+
* Chrome v17/OS X | -120 | 0
|
1200
|
+
* Chrome v17/Win7 | -120 | 0
|
1201
|
+
* IE9/Win7 | -120 | undefined
|
1202
|
+
* Firefox v4/OS X | undefined | 1
|
1203
|
+
* Firefox v4/Win7 | undefined | 3
|
1204
|
+
*
|
1205
|
+
*/
|
1206
|
+
function normalizeWheel(/*object*/ event) /*object*/ {
|
1207
|
+
var sX = 0, sY = 0, // spinX, spinY
|
1208
|
+
pX = 0, pY = 0; // pixelX, pixelY
|
1209
|
+
|
1210
|
+
// Legacy
|
1211
|
+
if ('detail' in event) { sY = event.detail; }
|
1212
|
+
if ('wheelDelta' in event) { sY = -event.wheelDelta / 120; }
|
1213
|
+
if ('wheelDeltaY' in event) { sY = -event.wheelDeltaY / 120; }
|
1214
|
+
if ('wheelDeltaX' in event) { sX = -event.wheelDeltaX / 120; }
|
1215
|
+
|
1216
|
+
// side scrolling on FF with DOMMouseScroll
|
1217
|
+
if ( 'axis' in event && event.axis === event.HORIZONTAL_AXIS ) {
|
1218
|
+
sX = sY;
|
1219
|
+
sY = 0;
|
1220
|
+
}
|
1221
|
+
|
1222
|
+
pX = sX * PIXEL_STEP;
|
1223
|
+
pY = sY * PIXEL_STEP;
|
1224
|
+
|
1225
|
+
if ('deltaY' in event) { pY = event.deltaY; }
|
1226
|
+
if ('deltaX' in event) { pX = event.deltaX; }
|
1227
|
+
|
1228
|
+
if ((pX || pY) && event.deltaMode) {
|
1229
|
+
if (event.deltaMode == 1) { // delta in LINE units
|
1230
|
+
pX *= LINE_HEIGHT;
|
1231
|
+
pY *= LINE_HEIGHT;
|
1232
|
+
} else { // delta in PAGE units
|
1233
|
+
pX *= PAGE_HEIGHT;
|
1234
|
+
pY *= PAGE_HEIGHT;
|
1235
|
+
}
|
1236
|
+
}
|
1237
|
+
|
1238
|
+
// Fall-back if spin cannot be determined
|
1239
|
+
if (pX && !sX) { sX = (pX < 1) ? -1 : 1; }
|
1240
|
+
if (pY && !sY) { sY = (pY < 1) ? -1 : 1; }
|
1241
|
+
|
1242
|
+
return { spinX : sX,
|
1243
|
+
spinY : sY,
|
1244
|
+
pixelX : pX,
|
1245
|
+
pixelY : pY };
|
1246
|
+
}
|
1298
1247
|
|
1299
|
-
/**
|
1300
|
-
* Check if the UA is Firefox.
|
1301
|
-
*
|
1302
|
-
*
|
1303
|
-
* @return float|NaN Version number (if match) or NaN.
|
1304
|
-
*/
|
1305
|
-
firefox: function() {
|
1306
|
-
return _populate() || _firefox;
|
1307
|
-
},
|
1308
1248
|
|
1249
|
+
/**
|
1250
|
+
* The best combination if you prefer spinX + spinY normalization. It favors
|
1251
|
+
* the older DOMMouseScroll for Firefox, as FF does not include wheelDelta with
|
1252
|
+
* 'wheel' event, making spin speed determination impossible.
|
1253
|
+
*/
|
1254
|
+
normalizeWheel.getEventType = function() /*string*/ {
|
1255
|
+
return (UserAgent_DEPRECATED.firefox())
|
1256
|
+
? 'DOMMouseScroll'
|
1257
|
+
: (isEventSupported('wheel'))
|
1258
|
+
? 'wheel'
|
1259
|
+
: 'mousewheel';
|
1260
|
+
};
|
1309
1261
|
|
1310
|
-
|
1311
|
-
* Check if the UA is Opera.
|
1312
|
-
*
|
1313
|
-
*
|
1314
|
-
* @return float|NaN Version number (if match) or NaN.
|
1315
|
-
*/
|
1316
|
-
opera: function() {
|
1317
|
-
return _populate() || _opera;
|
1318
|
-
},
|
1262
|
+
module.exports = normalizeWheel;
|
1319
1263
|
|
1320
1264
|
|
1321
|
-
|
1322
|
-
* Check if the UA is WebKit.
|
1323
|
-
*
|
1324
|
-
*
|
1325
|
-
* @return float|NaN Version number (if match) or NaN.
|
1326
|
-
*/
|
1327
|
-
webkit: function() {
|
1328
|
-
return _populate() || _webkit;
|
1329
|
-
},
|
1265
|
+
/***/ }),
|
1330
1266
|
|
1331
|
-
|
1332
|
-
|
1333
|
-
* WILL BE REMOVED VERY SOON. Use UserAgent_DEPRECATED.webkit
|
1334
|
-
*/
|
1335
|
-
safari: function() {
|
1336
|
-
return UserAgent_DEPRECATED.webkit();
|
1337
|
-
},
|
1267
|
+
/***/ 563:
|
1268
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1338
1269
|
|
1339
|
-
|
1340
|
-
|
1341
|
-
|
1342
|
-
*
|
1343
|
-
* @return float|NaN Version number (if match) or NaN.
|
1344
|
-
*/
|
1345
|
-
chrome : function() {
|
1346
|
-
return _populate() || _chrome;
|
1347
|
-
},
|
1270
|
+
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1271
|
+
var y = x => () => x
|
1272
|
+
module.exports = x({ ["$bkPopover"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__.$bkPopover, ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__["default"] });
|
1348
1273
|
|
1274
|
+
/***/ }),
|
1349
1275
|
|
1350
|
-
|
1351
|
-
|
1352
|
-
*
|
1353
|
-
* @return bool `true' if the user's OS is Windows.
|
1354
|
-
*/
|
1355
|
-
windows: function() {
|
1356
|
-
return _populate() || _windows;
|
1357
|
-
},
|
1276
|
+
/***/ 9253:
|
1277
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1358
1278
|
|
1279
|
+
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1280
|
+
var y = x => () => x
|
1281
|
+
module.exports = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["arrayEqual"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.arrayEqual, ["bkZIndexManager"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.bkZIndexManager, ["capitalize"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.capitalize, ["debounce"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.debounce, ["resolveClassName"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.resolveClassName, ["withInstallProps"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstallProps });
|
1359
1282
|
|
1360
|
-
|
1361
|
-
* Check if the user is running Mac OS X.
|
1362
|
-
*
|
1363
|
-
* @return float|bool Returns a float if a version number is detected,
|
1364
|
-
* otherwise true/false.
|
1365
|
-
*/
|
1366
|
-
osx: function() {
|
1367
|
-
return _populate() || _osx;
|
1368
|
-
},
|
1283
|
+
/***/ }),
|
1369
1284
|
|
1370
|
-
|
1371
|
-
|
1372
|
-
*
|
1373
|
-
* @return bool `true' if the user's OS is some flavor of Linux.
|
1374
|
-
*/
|
1375
|
-
linux: function() {
|
1376
|
-
return _populate() || _linux;
|
1377
|
-
},
|
1285
|
+
/***/ 6609:
|
1286
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1378
1287
|
|
1379
|
-
|
1380
|
-
|
1381
|
-
|
1382
|
-
* @return bool `true' if the user is running some flavor of the
|
1383
|
-
* iPhone OS.
|
1384
|
-
*/
|
1385
|
-
iphone: function() {
|
1386
|
-
return _populate() || _iphone;
|
1387
|
-
},
|
1288
|
+
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1289
|
+
var y = x => () => x
|
1290
|
+
module.exports = x({ ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createTextVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["h"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.h, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["nextTick"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.nextTick, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["render"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.render, ["resolveDirective"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective, ["toRefs"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRefs, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
|
1388
1291
|
|
1389
|
-
|
1390
|
-
return _populate() || (_iphone || _ipad || _android || _mobile);
|
1391
|
-
},
|
1292
|
+
/***/ }),
|
1392
1293
|
|
1393
|
-
|
1394
|
-
|
1395
|
-
return _populate() || _native;
|
1396
|
-
},
|
1294
|
+
/***/ 926:
|
1295
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1397
1296
|
|
1398
|
-
|
1399
|
-
|
1400
|
-
|
1297
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1298
|
+
/* harmony export */ "default": () => (/* binding */ _arrayLikeToArray)
|
1299
|
+
/* harmony export */ });
|
1300
|
+
function _arrayLikeToArray(arr, len) {
|
1301
|
+
if (len == null || len > arr.length) len = arr.length;
|
1302
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
1303
|
+
return arr2;
|
1304
|
+
}
|
1401
1305
|
|
1402
|
-
|
1403
|
-
return _populate() || _ipad;
|
1404
|
-
}
|
1405
|
-
};
|
1306
|
+
/***/ }),
|
1406
1307
|
|
1407
|
-
|
1308
|
+
/***/ 74:
|
1309
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1310
|
+
|
1311
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1312
|
+
/* harmony export */ "default": () => (/* binding */ _arrayWithoutHoles)
|
1313
|
+
/* harmony export */ });
|
1314
|
+
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(926);
|
1408
1315
|
|
1316
|
+
function _arrayWithoutHoles(arr) {
|
1317
|
+
if (Array.isArray(arr)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(arr);
|
1318
|
+
}
|
1409
1319
|
|
1410
1320
|
/***/ }),
|
1411
1321
|
|
1412
|
-
/***/
|
1322
|
+
/***/ 6666:
|
1413
1323
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1414
1324
|
|
1415
1325
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1416
|
-
/* harmony export */ "default": () => (/* binding */
|
1326
|
+
/* harmony export */ "default": () => (/* binding */ _defineProperty)
|
1417
1327
|
/* harmony export */ });
|
1418
|
-
|
1419
|
-
"@babel/helpers - typeof";
|
1328
|
+
/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3795);
|
1420
1329
|
|
1421
|
-
|
1422
|
-
|
1423
|
-
|
1424
|
-
|
1425
|
-
|
1330
|
+
function _defineProperty(obj, key, value) {
|
1331
|
+
key = (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["default"])(key);
|
1332
|
+
if (key in obj) {
|
1333
|
+
Object.defineProperty(obj, key, {
|
1334
|
+
value: value,
|
1335
|
+
enumerable: true,
|
1336
|
+
configurable: true,
|
1337
|
+
writable: true
|
1338
|
+
});
|
1339
|
+
} else {
|
1340
|
+
obj[key] = value;
|
1341
|
+
}
|
1342
|
+
return obj;
|
1426
1343
|
}
|
1427
1344
|
|
1428
1345
|
/***/ }),
|
1429
1346
|
|
1430
|
-
/***/
|
1347
|
+
/***/ 1079:
|
1431
1348
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1432
1349
|
|
1433
1350
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1434
|
-
/* harmony export */ "default": () => (/* binding */
|
1351
|
+
/* harmony export */ "default": () => (/* binding */ _iterableToArray)
|
1435
1352
|
/* harmony export */ });
|
1436
|
-
|
1353
|
+
function _iterableToArray(iter) {
|
1354
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
1355
|
+
}
|
1437
1356
|
|
1438
|
-
|
1439
|
-
|
1440
|
-
|
1441
|
-
|
1442
|
-
|
1443
|
-
|
1444
|
-
|
1357
|
+
/***/ }),
|
1358
|
+
|
1359
|
+
/***/ 6098:
|
1360
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1361
|
+
|
1362
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1363
|
+
/* harmony export */ "default": () => (/* binding */ _nonIterableSpread)
|
1364
|
+
/* harmony export */ });
|
1365
|
+
function _nonIterableSpread() {
|
1366
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
1445
1367
|
}
|
1446
1368
|
|
1447
1369
|
/***/ }),
|
1448
1370
|
|
1449
|
-
/***/
|
1450
|
-
/***/ ((
|
1371
|
+
/***/ 7930:
|
1372
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1373
|
+
|
1374
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1375
|
+
/* harmony export */ "default": () => (/* binding */ _toConsumableArray)
|
1376
|
+
/* harmony export */ });
|
1377
|
+
/* harmony import */ var _arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(74);
|
1378
|
+
/* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1079);
|
1379
|
+
/* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9147);
|
1380
|
+
/* harmony import */ var _nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6098);
|
1381
|
+
|
1382
|
+
|
1451
1383
|
|
1452
|
-
module.exports = __webpack_require__(5022);
|
1453
1384
|
|
1385
|
+
function _toConsumableArray(arr) {
|
1386
|
+
return (0,_arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__["default"])(arr) || (0,_iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__["default"])(arr) || (0,_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__["default"])(arr) || (0,_nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__["default"])();
|
1387
|
+
}
|
1454
1388
|
|
1455
1389
|
/***/ }),
|
1456
1390
|
|
1457
|
-
/***/
|
1391
|
+
/***/ 9745:
|
1458
1392
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1459
1393
|
|
1460
1394
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1461
1395
|
/* harmony export */ "default": () => (/* binding */ toPrimitive)
|
1462
1396
|
/* harmony export */ });
|
1463
|
-
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
1397
|
+
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6522);
|
1464
1398
|
|
1465
1399
|
function toPrimitive(t, r) {
|
1466
1400
|
if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t) || !t) return t;
|
@@ -1473,6 +1407,60 @@ function toPrimitive(t, r) {
|
|
1473
1407
|
return ("string" === r ? String : Number)(t);
|
1474
1408
|
}
|
1475
1409
|
|
1410
|
+
/***/ }),
|
1411
|
+
|
1412
|
+
/***/ 3795:
|
1413
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1414
|
+
|
1415
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1416
|
+
/* harmony export */ "default": () => (/* binding */ toPropertyKey)
|
1417
|
+
/* harmony export */ });
|
1418
|
+
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6522);
|
1419
|
+
/* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9745);
|
1420
|
+
|
1421
|
+
|
1422
|
+
function toPropertyKey(t) {
|
1423
|
+
var i = (0,_toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t, "string");
|
1424
|
+
return "symbol" == (0,_typeof_js__WEBPACK_IMPORTED_MODULE_1__["default"])(i) ? i : String(i);
|
1425
|
+
}
|
1426
|
+
|
1427
|
+
/***/ }),
|
1428
|
+
|
1429
|
+
/***/ 6522:
|
1430
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1431
|
+
|
1432
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1433
|
+
/* harmony export */ "default": () => (/* binding */ _typeof)
|
1434
|
+
/* harmony export */ });
|
1435
|
+
function _typeof(o) {
|
1436
|
+
"@babel/helpers - typeof";
|
1437
|
+
|
1438
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
1439
|
+
return typeof o;
|
1440
|
+
} : function (o) {
|
1441
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
1442
|
+
}, _typeof(o);
|
1443
|
+
}
|
1444
|
+
|
1445
|
+
/***/ }),
|
1446
|
+
|
1447
|
+
/***/ 9147:
|
1448
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1449
|
+
|
1450
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1451
|
+
/* harmony export */ "default": () => (/* binding */ _unsupportedIterableToArray)
|
1452
|
+
/* harmony export */ });
|
1453
|
+
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(926);
|
1454
|
+
|
1455
|
+
function _unsupportedIterableToArray(o, minLen) {
|
1456
|
+
if (!o) return;
|
1457
|
+
if (typeof o === "string") return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(o, minLen);
|
1458
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
1459
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
1460
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
1461
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(o, minLen);
|
1462
|
+
}
|
1463
|
+
|
1476
1464
|
/***/ })
|
1477
1465
|
|
1478
1466
|
/******/ });
|
@@ -1533,6 +1521,8 @@ function toPrimitive(t, r) {
|
|
1533
1521
|
/******/
|
1534
1522
|
/************************************************************************/
|
1535
1523
|
var __webpack_exports__ = {};
|
1524
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
1525
|
+
(() => {
|
1536
1526
|
|
1537
1527
|
// EXPORTS
|
1538
1528
|
__webpack_require__.d(__webpack_exports__, {
|
@@ -1542,74 +1532,54 @@ __webpack_require__.d(__webpack_exports__, {
|
|
1542
1532
|
});
|
1543
1533
|
|
1544
1534
|
// EXTERNAL MODULE: external "../shared"
|
1545
|
-
var shared_ = __webpack_require__(
|
1535
|
+
var shared_ = __webpack_require__(9253);
|
1546
1536
|
// EXTERNAL MODULE: external "vue"
|
1547
|
-
var external_vue_ = __webpack_require__(
|
1548
|
-
;// external "vue-types"
|
1549
|
-
var x = (y)
|
1550
|
-
|
1551
|
-
}
|
1552
|
-
|
1553
|
-
|
1554
|
-
|
1555
|
-
|
1556
|
-
var x = {}; __webpack_require__.d(x, y); return x
|
1557
|
-
}
|
1558
|
-
var config_provider_y = (x) => (() => (x))
|
1559
|
-
const config_provider_namespaceObject = config_provider_x({ ["useLocale"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.useLocale), ["usePrefix"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix) });
|
1537
|
+
var external_vue_ = __webpack_require__(6609);
|
1538
|
+
;// CONCATENATED MODULE: external "vue-types"
|
1539
|
+
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1540
|
+
var y = x => () => x
|
1541
|
+
const external_vue_types_namespaceObject = x({ ["array"]: () => __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__.array, ["object"]: () => __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__.object });
|
1542
|
+
;// CONCATENATED MODULE: external "../config-provider"
|
1543
|
+
var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1544
|
+
var config_provider_y = x => () => x
|
1545
|
+
const config_provider_namespaceObject = config_provider_x({ ["useLocale"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.useLocale, ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix });
|
1560
1546
|
// EXTERNAL MODULE: ../../packages/directives/src/index.ts + 7 modules
|
1561
|
-
var src = __webpack_require__(
|
1562
|
-
;// external "../icon"
|
1563
|
-
var icon_x = (y)
|
1564
|
-
|
1565
|
-
}
|
1566
|
-
var icon_y = (x) => (() => (x))
|
1567
|
-
const icon_namespaceObject = icon_x({ ["AngleRight"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleRight), ["AngleUp"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleUp), ["Close"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Close), ["Error"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Error), ["Spinner"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Spinner) });
|
1547
|
+
var src = __webpack_require__(668);
|
1548
|
+
;// CONCATENATED MODULE: external "../icon"
|
1549
|
+
var icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1550
|
+
var icon_y = x => () => x
|
1551
|
+
const icon_namespaceObject = icon_x({ ["AngleRight"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleRight, ["AngleUp"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleUp, ["Close"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Close, ["Error"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Error, ["Spinner"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Spinner });
|
1568
1552
|
// EXTERNAL MODULE: external "../popover"
|
1569
|
-
var popover_ = __webpack_require__(
|
1570
|
-
;// external "../popover/popover.less"
|
1571
|
-
var popover_less_x = (y)
|
1572
|
-
|
1573
|
-
}
|
1574
|
-
var popover_less_y = (x) => (() => (x))
|
1553
|
+
var popover_ = __webpack_require__(563);
|
1554
|
+
;// CONCATENATED MODULE: external "../popover/popover.less"
|
1555
|
+
var popover_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1556
|
+
var popover_less_y = x => () => x
|
1575
1557
|
const popover_less_namespaceObject = popover_less_x({ });
|
1576
|
-
;// external "../select"
|
1577
|
-
var select_x = (y)
|
1578
|
-
|
1579
|
-
}
|
1580
|
-
|
1581
|
-
|
1582
|
-
|
1583
|
-
|
1584
|
-
|
1585
|
-
}
|
1586
|
-
var
|
1587
|
-
const tag_namespaceObject = tag_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_tag_d74826be__["default"]) });
|
1588
|
-
;// external "../tag/tag.less"
|
1589
|
-
var tag_less_x = (y) => {
|
1590
|
-
var x = {}; __webpack_require__.d(x, y); return x
|
1591
|
-
}
|
1592
|
-
var tag_less_y = (x) => (() => (x))
|
1558
|
+
;// CONCATENATED MODULE: external "../select"
|
1559
|
+
var select_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1560
|
+
var select_y = x => () => x
|
1561
|
+
const select_namespaceObject = select_x({ ["useHover"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_select_1a0d1ad7__.useHover });
|
1562
|
+
;// CONCATENATED MODULE: external "../tag"
|
1563
|
+
var tag_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1564
|
+
var tag_y = x => () => x
|
1565
|
+
const tag_namespaceObject = tag_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_tag_d74826be__["default"] });
|
1566
|
+
;// CONCATENATED MODULE: external "../tag/tag.less"
|
1567
|
+
var tag_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1568
|
+
var tag_less_y = x => () => x
|
1593
1569
|
const tag_less_namespaceObject = tag_less_x({ });
|
1594
|
-
;// external "../tag-input"
|
1595
|
-
var tag_input_x = (y)
|
1596
|
-
|
1597
|
-
}
|
1598
|
-
|
1599
|
-
|
1600
|
-
|
1601
|
-
|
1602
|
-
|
1603
|
-
}
|
1604
|
-
var
|
1605
|
-
const checkbox_namespaceObject = checkbox_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_checkbox_13b1cb4a__["default"]) });
|
1606
|
-
;// external "../checkbox/checkbox.less"
|
1607
|
-
var checkbox_less_x = (y) => {
|
1608
|
-
var x = {}; __webpack_require__.d(x, y); return x
|
1609
|
-
}
|
1610
|
-
var checkbox_less_y = (x) => (() => (x))
|
1570
|
+
;// CONCATENATED MODULE: external "../tag-input"
|
1571
|
+
var tag_input_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1572
|
+
var tag_input_y = x => () => x
|
1573
|
+
const tag_input_namespaceObject = tag_input_x({ ["useTagsOverflow"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_tag_input_bee9f515__.useTagsOverflow });
|
1574
|
+
;// CONCATENATED MODULE: external "../checkbox"
|
1575
|
+
var checkbox_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1576
|
+
var checkbox_y = x => () => x
|
1577
|
+
const checkbox_namespaceObject = checkbox_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_checkbox_13b1cb4a__["default"] });
|
1578
|
+
;// CONCATENATED MODULE: external "../checkbox/checkbox.less"
|
1579
|
+
var checkbox_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1580
|
+
var checkbox_less_y = x => () => x
|
1611
1581
|
const checkbox_less_namespaceObject = checkbox_less_x({ });
|
1612
|
-
;// ../../packages/cascader/src/cascader-panel.tsx
|
1582
|
+
;// CONCATENATED MODULE: ../../packages/cascader/src/cascader-panel.tsx
|
1613
1583
|
|
1614
1584
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
1615
1585
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
@@ -2009,15 +1979,15 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
2009
1979
|
})]);
|
2010
1980
|
}
|
2011
1981
|
}));
|
2012
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/classCallCheck.js
|
1982
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/classCallCheck.js
|
2013
1983
|
function _classCallCheck(instance, Constructor) {
|
2014
1984
|
if (!(instance instanceof Constructor)) {
|
2015
1985
|
throw new TypeError("Cannot call a class as a function");
|
2016
1986
|
}
|
2017
1987
|
}
|
2018
1988
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
2019
|
-
var toPropertyKey = __webpack_require__(
|
2020
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/createClass.js
|
1989
|
+
var toPropertyKey = __webpack_require__(3795);
|
1990
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/createClass.js
|
2021
1991
|
|
2022
1992
|
function _defineProperties(target, props) {
|
2023
1993
|
for (var i = 0; i < props.length; i++) {
|
@@ -2036,7 +2006,7 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
2036
2006
|
});
|
2037
2007
|
return Constructor;
|
2038
2008
|
}
|
2039
|
-
;// ../../packages/cascader/src/node.ts
|
2009
|
+
;// CONCATENATED MODULE: ../../packages/cascader/src/node.ts
|
2040
2010
|
|
2041
2011
|
|
2042
2012
|
/*
|
@@ -2233,7 +2203,7 @@ var Node = /*#__PURE__*/function () {
|
|
2233
2203
|
return Node;
|
2234
2204
|
}();
|
2235
2205
|
/* harmony default export */ const src_node = (Node);
|
2236
|
-
;// ../../packages/cascader/src/store.ts
|
2206
|
+
;// CONCATENATED MODULE: ../../packages/cascader/src/store.ts
|
2237
2207
|
|
2238
2208
|
|
2239
2209
|
/*
|
@@ -2387,7 +2357,7 @@ var Store = /*#__PURE__*/function () {
|
|
2387
2357
|
return Store;
|
2388
2358
|
}();
|
2389
2359
|
/* harmony default export */ const src_store = (Store);
|
2390
|
-
;// ../../packages/cascader/src/cascader.tsx
|
2360
|
+
;// CONCATENATED MODULE: ../../packages/cascader/src/cascader.tsx
|
2391
2361
|
|
2392
2362
|
/*
|
2393
2363
|
* Tencent is pleased to support the open source community by making
|
@@ -2741,7 +2711,8 @@ var Store = /*#__PURE__*/function () {
|
|
2741
2711
|
var _this = this;
|
2742
2712
|
// 定义suffixIcon函数,用于根据不同情况渲染后缀图标
|
2743
2713
|
var suffixIcon = function suffixIcon() {
|
2744
|
-
|
2714
|
+
var _this$modelValue;
|
2715
|
+
if (_this.clearable && _this.isHover && !_this.disabled && ((_this$modelValue = _this.modelValue) === null || _this$modelValue === void 0 ? void 0 : _this$modelValue.length) > 0) {
|
2745
2716
|
// 当可清空、鼠标悬浮且未禁用时,渲染清空图标
|
2746
2717
|
return (0,external_vue_.createVNode)(icon_namespaceObject.Close, {
|
2747
2718
|
"class": _this.resolveClassName('icon-clear-icon'),
|
@@ -2870,7 +2841,7 @@ var Store = /*#__PURE__*/function () {
|
|
2870
2841
|
}, [this.$slots.trigger ? popoverRender() : (0,external_vue_.createVNode)("div", {
|
2871
2842
|
"ref": "bkCascaderRef",
|
2872
2843
|
"class": [this.resolveClassName('cascader'), this.extCls, {
|
2873
|
-
'is-unselected': this.modelValue.length === 0,
|
2844
|
+
'is-unselected': !this.modelValue || this.modelValue.length === 0,
|
2874
2845
|
'is-hover': this.isHover,
|
2875
2846
|
'is-filterable': this.filterable,
|
2876
2847
|
'is-focus': this.isFocus,
|
@@ -2884,7 +2855,7 @@ var Store = /*#__PURE__*/function () {
|
|
2884
2855
|
}, [suffixIcon(), popoverRender()])]);
|
2885
2856
|
}
|
2886
2857
|
}));
|
2887
|
-
;// ../../packages/cascader/src/index.ts
|
2858
|
+
;// CONCATENATED MODULE: ../../packages/cascader/src/index.ts
|
2888
2859
|
/*
|
2889
2860
|
* Tencent is pleased to support the open source community by making
|
2890
2861
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -2918,6 +2889,8 @@ var BkCascader = (0,shared_.withInstallProps)(cascader, {
|
|
2918
2889
|
});
|
2919
2890
|
/* harmony default export */ const cascader_src = (BkCascader);
|
2920
2891
|
|
2892
|
+
})();
|
2893
|
+
|
2921
2894
|
var __webpack_exports__BkCascader = __webpack_exports__.BkCascader;
|
2922
2895
|
var __webpack_exports__BkCascaderPanel = __webpack_exports__.BkCascaderPanel;
|
2923
2896
|
var __webpack_exports__default = __webpack_exports__["default"];
|