bkui-vue 2.0.2-beta.1 → 2.0.2-beta.10
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 +23 -23
- package/dist/index.esm.js +5684 -5650
- package/dist/index.umd.js +27 -27
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- 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 +705 -699
- 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 +630 -639
- package/lib/components.d.ts +1 -2
- package/lib/components.js +1 -2
- package/lib/config-provider/index.js +26 -34
- package/lib/container/index.js +21 -27
- package/lib/date-picker/date-picker.css +220 -4
- package/lib/date-picker/date-picker.less +5 -5
- package/lib/date-picker/date-picker.variable.css +237 -21
- package/lib/date-picker/index.js +656 -671
- package/lib/dialog/index.js +87 -101
- package/lib/directives/index.js +515 -516
- 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 +644 -661
- 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 +326 -342
- package/lib/index.d.ts +0 -1
- package/lib/index.js +1 -2
- package/lib/info-box/index.js +87 -101
- package/lib/input/index.js +323 -335
- 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 +29 -39
- 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.d.ts +16 -2
- package/lib/pop-confirm/index.js +46 -54
- package/lib/pop-confirm/pop-confirm.d.ts +5 -1
- package/lib/popover/index.js +347 -363
- 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 +511 -540
- package/lib/select/index.js +545 -594
- package/lib/shared/index.js +49 -57
- package/lib/sideslider/index.js +79 -89
- package/lib/slider/index.js +77 -86
- 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 +323 -337
- package/lib/table/index.js +604 -669
- package/lib/table-column/index.js +9 -13
- package/lib/tag/index.js +26 -36
- package/lib/tag-input/index.js +350 -383
- 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.d.ts +4 -0
- package/lib/tree/index.js +123 -123
- package/lib/tree/props.d.ts +1 -0
- package/lib/tree/tree.css +18 -0
- package/lib/tree/tree.d.ts +2 -0
- package/lib/tree/tree.less +24 -0
- package/lib/tree/tree.variable.css +18 -0
- package/lib/tree/use-node-action.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/lib/plugin-popover/index.d.ts +0 -27
- package/lib/plugin-popover/index.js +0 -67
- package/lib/plugins/index.d.ts +0 -1
- package/lib/plugins/index.js +0 -66
package/lib/cascader/index.js
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
import "../styles/reset.css";
|
2
2
|
import "./cascader.less";
|
3
|
-
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_plugin_popover_300e25d0__ from "../plugin-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";
|
10
10
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
|
11
11
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__ from "../icon";
|
12
|
-
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__ from "../popover";
|
13
12
|
import "../popover/popover.less";
|
14
13
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_select_1a0d1ad7__ from "../select";
|
15
14
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_tag_d74826be__ from "../tag";
|
@@ -19,207 +18,7 @@ import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_checkbox_13b1cb4a__ from "../
|
|
19
18
|
import "../checkbox/checkbox.less";
|
20
19
|
/******/ var __webpack_modules__ = ({
|
21
20
|
|
22
|
-
/***/
|
23
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
24
|
-
|
25
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
26
|
-
/* harmony export */ "default": () => (/* binding */ toPropertyKey)
|
27
|
-
/* harmony export */ });
|
28
|
-
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7545);
|
29
|
-
/* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9824);
|
30
|
-
|
31
|
-
|
32
|
-
function toPropertyKey(t) {
|
33
|
-
var i = (0,_toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t, "string");
|
34
|
-
return "symbol" == (0,_typeof_js__WEBPACK_IMPORTED_MODULE_1__["default"])(i) ? i : String(i);
|
35
|
-
}
|
36
|
-
|
37
|
-
/***/ }),
|
38
|
-
|
39
|
-
/***/ 1043:
|
40
|
-
/***/ ((module) => {
|
41
|
-
|
42
|
-
/**
|
43
|
-
* Copyright (c) 2015, Facebook, Inc.
|
44
|
-
* All rights reserved.
|
45
|
-
*
|
46
|
-
* This source code is licensed under the BSD-style license found in the
|
47
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
48
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
49
|
-
*
|
50
|
-
* @providesModule ExecutionEnvironment
|
51
|
-
*/
|
52
|
-
|
53
|
-
/*jslint evil: true */
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
var canUseDOM = !!(
|
58
|
-
typeof window !== 'undefined' &&
|
59
|
-
window.document &&
|
60
|
-
window.document.createElement
|
61
|
-
);
|
62
|
-
|
63
|
-
/**
|
64
|
-
* Simple, lightweight module assisting with the detection and context of
|
65
|
-
* Worker. Helps avoid circular dependencies and allows code to reason about
|
66
|
-
* whether or not they are in a Worker, even if they never include the main
|
67
|
-
* `ReactWorker` dependency.
|
68
|
-
*/
|
69
|
-
var ExecutionEnvironment = {
|
70
|
-
|
71
|
-
canUseDOM: canUseDOM,
|
72
|
-
|
73
|
-
canUseWorkers: typeof Worker !== 'undefined',
|
74
|
-
|
75
|
-
canUseEventListeners:
|
76
|
-
canUseDOM && !!(window.addEventListener || window.attachEvent),
|
77
|
-
|
78
|
-
canUseViewport: canUseDOM && !!window.screen,
|
79
|
-
|
80
|
-
isInWorker: !canUseDOM // For now, this is true - might change in the future.
|
81
|
-
|
82
|
-
};
|
83
|
-
|
84
|
-
module.exports = ExecutionEnvironment;
|
85
|
-
|
86
|
-
|
87
|
-
/***/ }),
|
88
|
-
|
89
|
-
/***/ 2586:
|
90
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
91
|
-
|
92
|
-
/**
|
93
|
-
* Copyright 2013-2015, Facebook, Inc.
|
94
|
-
* All rights reserved.
|
95
|
-
*
|
96
|
-
* This source code is licensed under the BSD-style license found in the
|
97
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
98
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
99
|
-
*
|
100
|
-
* @providesModule isEventSupported
|
101
|
-
*/
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
var ExecutionEnvironment = __webpack_require__(1043);
|
106
|
-
|
107
|
-
var useHasFeature;
|
108
|
-
if (ExecutionEnvironment.canUseDOM) {
|
109
|
-
useHasFeature =
|
110
|
-
document.implementation &&
|
111
|
-
document.implementation.hasFeature &&
|
112
|
-
// always returns true in newer browsers as per the standard.
|
113
|
-
// @see http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature
|
114
|
-
document.implementation.hasFeature('', '') !== true;
|
115
|
-
}
|
116
|
-
|
117
|
-
/**
|
118
|
-
* Checks if an event is supported in the current execution environment.
|
119
|
-
*
|
120
|
-
* NOTE: This will not work correctly for non-generic events such as `change`,
|
121
|
-
* `reset`, `load`, `error`, and `select`.
|
122
|
-
*
|
123
|
-
* Borrows from Modernizr.
|
124
|
-
*
|
125
|
-
* @param {string} eventNameSuffix Event name, e.g. "click".
|
126
|
-
* @param {?boolean} capture Check if the capture phase is supported.
|
127
|
-
* @return {boolean} True if the event is supported.
|
128
|
-
* @internal
|
129
|
-
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
130
|
-
*/
|
131
|
-
function isEventSupported(eventNameSuffix, capture) {
|
132
|
-
if (!ExecutionEnvironment.canUseDOM ||
|
133
|
-
capture && !('addEventListener' in document)) {
|
134
|
-
return false;
|
135
|
-
}
|
136
|
-
|
137
|
-
var eventName = 'on' + eventNameSuffix;
|
138
|
-
var isSupported = eventName in document;
|
139
|
-
|
140
|
-
if (!isSupported) {
|
141
|
-
var element = document.createElement('div');
|
142
|
-
element.setAttribute(eventName, 'return;');
|
143
|
-
isSupported = typeof element[eventName] === 'function';
|
144
|
-
}
|
145
|
-
|
146
|
-
if (!isSupported && useHasFeature && eventNameSuffix === 'wheel') {
|
147
|
-
// This is the only way to test support for the `wheel` event in IE9+.
|
148
|
-
isSupported = document.implementation.hasFeature('Events.wheel', '3.0');
|
149
|
-
}
|
150
|
-
|
151
|
-
return isSupported;
|
152
|
-
}
|
153
|
-
|
154
|
-
module.exports = isEventSupported;
|
155
|
-
|
156
|
-
|
157
|
-
/***/ }),
|
158
|
-
|
159
|
-
/***/ 2880:
|
160
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
161
|
-
|
162
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
163
|
-
/* harmony export */ "default": () => (/* binding */ _nonIterableSpread)
|
164
|
-
/* harmony export */ });
|
165
|
-
function _nonIterableSpread() {
|
166
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
167
|
-
}
|
168
|
-
|
169
|
-
/***/ }),
|
170
|
-
|
171
|
-
/***/ 3492:
|
172
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
173
|
-
|
174
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
175
|
-
/* harmony export */ "default": () => (/* binding */ _arrayWithoutHoles)
|
176
|
-
/* harmony export */ });
|
177
|
-
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6284);
|
178
|
-
|
179
|
-
function _arrayWithoutHoles(arr) {
|
180
|
-
if (Array.isArray(arr)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(arr);
|
181
|
-
}
|
182
|
-
|
183
|
-
/***/ }),
|
184
|
-
|
185
|
-
/***/ 4430:
|
186
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
187
|
-
|
188
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
189
|
-
/* harmony export */ "default": () => (/* binding */ _iterableToArray)
|
190
|
-
/* harmony export */ });
|
191
|
-
function _iterableToArray(iter) {
|
192
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
193
|
-
}
|
194
|
-
|
195
|
-
/***/ }),
|
196
|
-
|
197
|
-
/***/ 4586:
|
198
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
199
|
-
|
200
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
201
|
-
/* harmony export */ "default": () => (/* binding */ _defineProperty)
|
202
|
-
/* harmony export */ });
|
203
|
-
/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(205);
|
204
|
-
|
205
|
-
function _defineProperty(obj, key, value) {
|
206
|
-
key = (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["default"])(key);
|
207
|
-
if (key in obj) {
|
208
|
-
Object.defineProperty(obj, key, {
|
209
|
-
value: value,
|
210
|
-
enumerable: true,
|
211
|
-
configurable: true,
|
212
|
-
writable: true
|
213
|
-
});
|
214
|
-
} else {
|
215
|
-
obj[key] = value;
|
216
|
-
}
|
217
|
-
return obj;
|
218
|
-
}
|
219
|
-
|
220
|
-
/***/ }),
|
221
|
-
|
222
|
-
/***/ 4923:
|
21
|
+
/***/ 668:
|
223
22
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
224
23
|
|
225
24
|
|
@@ -230,7 +29,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
230
29
|
|
231
30
|
// UNUSED EXPORTS: bkEllipsis, bkEllipsisInstance, bkLoading, clickoutside, mousewheel, overflowTitle
|
232
31
|
|
233
|
-
;// ../../packages/directives/src/clickoutside.ts
|
32
|
+
;// CONCATENATED MODULE: ../../packages/directives/src/clickoutside.ts
|
234
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; } } }; }
|
235
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); }
|
236
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; }
|
@@ -357,14 +156,10 @@ ClickOutside.install = function (app) {
|
|
357
156
|
};
|
358
157
|
/* harmony default export */ const clickoutside = ((/* unused pure expression or super */ null && (ClickOutside)));
|
359
158
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
360
|
-
var esm_typeof = __webpack_require__(
|
361
|
-
|
362
|
-
var
|
363
|
-
|
364
|
-
}
|
365
|
-
var y = (x) => (() => (x))
|
366
|
-
const plugin_popover_namespaceObject = x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_plugin_popover_300e25d0__["default"]) });
|
367
|
-
;// ../../packages/directives/src/ellipsis.ts
|
159
|
+
var esm_typeof = __webpack_require__(6522);
|
160
|
+
// EXTERNAL MODULE: external "../popover"
|
161
|
+
var popover_ = __webpack_require__(563);
|
162
|
+
;// CONCATENATED MODULE: ../../packages/directives/src/ellipsis.ts
|
368
163
|
|
369
164
|
/*
|
370
165
|
* Tencent is pleased to support the open source community by making
|
@@ -441,7 +236,7 @@ var createInstance = function createInstance(el, binding) {
|
|
441
236
|
onContentMouseenter: handleContentEnter,
|
442
237
|
onContentMouseleave: handleContentLeave
|
443
238
|
});
|
444
|
-
instance = (0,
|
239
|
+
instance = (0,popover_.$bkPopover)(targetOptions);
|
445
240
|
}, 300);
|
446
241
|
};
|
447
242
|
var handleMouseLeave = function handleMouseLeave() {
|
@@ -475,9 +270,9 @@ var ellipsis = {
|
|
475
270
|
};
|
476
271
|
/* harmony default export */ const src_ellipsis = ((/* unused pure expression or super */ null && (ellipsis)));
|
477
272
|
// EXTERNAL MODULE: ../../node_modules/normalize-wheel/index.js
|
478
|
-
var normalize_wheel = __webpack_require__(
|
273
|
+
var normalize_wheel = __webpack_require__(2439);
|
479
274
|
var normalize_wheel_default = /*#__PURE__*/__webpack_require__.n(normalize_wheel);
|
480
|
-
;// ../../packages/directives/src/mousewheel.ts
|
275
|
+
;// CONCATENATED MODULE: ../../packages/directives/src/mousewheel.ts
|
481
276
|
/*
|
482
277
|
* Tencent is pleased to support the open source community by making
|
483
278
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -520,20 +315,18 @@ var mousewheel = {
|
|
520
315
|
};
|
521
316
|
/* harmony default export */ const src_mousewheel = ((/* unused pure expression or super */ null && (mousewheel)));
|
522
317
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
523
|
-
var defineProperty = __webpack_require__(
|
318
|
+
var defineProperty = __webpack_require__(6666);
|
524
319
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
525
|
-
var toConsumableArray = __webpack_require__(
|
320
|
+
var toConsumableArray = __webpack_require__(7930);
|
526
321
|
// EXTERNAL MODULE: external "vue"
|
527
|
-
var external_vue_ = __webpack_require__(
|
322
|
+
var external_vue_ = __webpack_require__(6609);
|
528
323
|
// EXTERNAL MODULE: external "../shared"
|
529
|
-
var shared_ = __webpack_require__(
|
530
|
-
;// external "@popperjs/core"
|
531
|
-
var
|
532
|
-
|
533
|
-
}
|
534
|
-
|
535
|
-
const core_namespaceObject = core_x({ ["createPopper"]: () => (__WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__.createPopper) });
|
536
|
-
;// ../../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
|
537
330
|
|
538
331
|
|
539
332
|
|
@@ -825,19 +618,15 @@ function hide(el) {
|
|
825
618
|
}
|
826
619
|
}
|
827
620
|
/* harmony default export */ const src_tooltips = (tooltips);
|
828
|
-
;// external "../loading"
|
829
|
-
var external_loading_x = (y)
|
830
|
-
|
831
|
-
}
|
832
|
-
var external_loading_y = (x) => (() => (x))
|
621
|
+
;// CONCATENATED MODULE: external "../loading"
|
622
|
+
var external_loading_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
623
|
+
var external_loading_y = x => () => x
|
833
624
|
const external_loading_namespaceObject = external_loading_x({ });
|
834
|
-
;// external "../overflow-title"
|
835
|
-
var external_overflow_title_x = (y)
|
836
|
-
|
837
|
-
}
|
838
|
-
var external_overflow_title_y = (x) => (() => (x))
|
625
|
+
;// CONCATENATED MODULE: external "../overflow-title"
|
626
|
+
var external_overflow_title_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
627
|
+
var external_overflow_title_y = x => () => x
|
839
628
|
const external_overflow_title_namespaceObject = external_overflow_title_x({ });
|
840
|
-
;// ../../packages/directives/src/index.ts
|
629
|
+
;// CONCATENATED MODULE: ../../packages/directives/src/index.ts
|
841
630
|
/*
|
842
631
|
* Tencent is pleased to support the open source community by making
|
843
632
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -873,9 +662,17 @@ const external_overflow_title_namespaceObject = external_overflow_title_x({ });
|
|
873
662
|
|
874
663
|
/***/ }),
|
875
664
|
|
876
|
-
/***/
|
665
|
+
/***/ 2439:
|
877
666
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
878
667
|
|
668
|
+
module.exports = __webpack_require__(2527);
|
669
|
+
|
670
|
+
|
671
|
+
/***/ }),
|
672
|
+
|
673
|
+
/***/ 7430:
|
674
|
+
/***/ ((module) => {
|
675
|
+
|
879
676
|
/**
|
880
677
|
* Copyright (c) 2015, Facebook, Inc.
|
881
678
|
* All rights reserved.
|
@@ -884,254 +681,60 @@ const external_overflow_title_namespaceObject = external_overflow_title_x({ });
|
|
884
681
|
* LICENSE file in the root directory of this source tree. An additional grant
|
885
682
|
* of patent rights can be found in the PATENTS file in the same directory.
|
886
683
|
*
|
887
|
-
* @providesModule
|
888
|
-
* @typechecks
|
684
|
+
* @providesModule ExecutionEnvironment
|
889
685
|
*/
|
890
686
|
|
687
|
+
/*jslint evil: true */
|
688
|
+
|
689
|
+
|
690
|
+
|
691
|
+
var canUseDOM = !!(
|
692
|
+
typeof window !== 'undefined' &&
|
693
|
+
window.document &&
|
694
|
+
window.document.createElement
|
695
|
+
);
|
891
696
|
|
697
|
+
/**
|
698
|
+
* Simple, lightweight module assisting with the detection and context of
|
699
|
+
* Worker. Helps avoid circular dependencies and allows code to reason about
|
700
|
+
* whether or not they are in a Worker, even if they never include the main
|
701
|
+
* `ReactWorker` dependency.
|
702
|
+
*/
|
703
|
+
var ExecutionEnvironment = {
|
892
704
|
|
893
|
-
|
705
|
+
canUseDOM: canUseDOM,
|
894
706
|
|
895
|
-
|
707
|
+
canUseWorkers: typeof Worker !== 'undefined',
|
896
708
|
|
709
|
+
canUseEventListeners:
|
710
|
+
canUseDOM && !!(window.addEventListener || window.attachEvent),
|
897
711
|
|
898
|
-
|
899
|
-
|
900
|
-
|
901
|
-
|
712
|
+
canUseViewport: canUseDOM && !!window.screen,
|
713
|
+
|
714
|
+
isInWorker: !canUseDOM // For now, this is true - might change in the future.
|
715
|
+
|
716
|
+
};
|
717
|
+
|
718
|
+
module.exports = ExecutionEnvironment;
|
719
|
+
|
720
|
+
|
721
|
+
/***/ }),
|
722
|
+
|
723
|
+
/***/ 6377:
|
724
|
+
/***/ ((module) => {
|
902
725
|
|
903
726
|
/**
|
904
|
-
*
|
905
|
-
* complicated, thus this doc is long and (hopefully) detailed enough to answer
|
906
|
-
* your questions.
|
907
|
-
*
|
908
|
-
* If you need to react to the mouse wheel in a predictable way, this code is
|
909
|
-
* like your bestest friend. * hugs *
|
727
|
+
* Copyright 2004-present Facebook. All Rights Reserved.
|
910
728
|
*
|
911
|
-
*
|
729
|
+
* @providesModule UserAgent_DEPRECATED
|
730
|
+
*/
|
731
|
+
|
732
|
+
/**
|
733
|
+
* Provides entirely client-side User Agent and OS detection. You should prefer
|
734
|
+
* the non-deprecated UserAgent module when possible, which exposes our
|
735
|
+
* authoritative server-side PHP-based detection to the client.
|
912
736
|
*
|
913
|
-
*
|
914
|
-
* 'mousewheel' -- Chrome, IE(6+), Opera, Safari
|
915
|
-
* 'MozMousePixelScroll' -- FF(3.5 only!) (2010-2013) -- don't bother!
|
916
|
-
* 'DOMMouseScroll' -- FF(0.9.7+) since 2003
|
917
|
-
*
|
918
|
-
* So what to do? The is the best:
|
919
|
-
*
|
920
|
-
* normalizeWheel.getEventType();
|
921
|
-
*
|
922
|
-
* In your event callback, use this code to get sane interpretation of the
|
923
|
-
* deltas. This code will return an object with properties:
|
924
|
-
*
|
925
|
-
* spinX -- normalized spin speed (use for zoom) - x plane
|
926
|
-
* spinY -- " - y plane
|
927
|
-
* pixelX -- normalized distance (to pixels) - x plane
|
928
|
-
* pixelY -- " - y plane
|
929
|
-
*
|
930
|
-
* Wheel values are provided by the browser assuming you are using the wheel to
|
931
|
-
* scroll a web page by a number of lines or pixels (or pages). Values can vary
|
932
|
-
* significantly on different platforms and browsers, forgetting that you can
|
933
|
-
* scroll at different speeds. Some devices (like trackpads) emit more events
|
934
|
-
* at smaller increments with fine granularity, and some emit massive jumps with
|
935
|
-
* linear speed or acceleration.
|
936
|
-
*
|
937
|
-
* This code does its best to normalize the deltas for you:
|
938
|
-
*
|
939
|
-
* - spin is trying to normalize how far the wheel was spun (or trackpad
|
940
|
-
* dragged). This is super useful for zoom support where you want to
|
941
|
-
* throw away the chunky scroll steps on the PC and make those equal to
|
942
|
-
* the slow and smooth tiny steps on the Mac. Key data: This code tries to
|
943
|
-
* resolve a single slow step on a wheel to 1.
|
944
|
-
*
|
945
|
-
* - pixel is normalizing the desired scroll delta in pixel units. You'll
|
946
|
-
* get the crazy differences between browsers, but at least it'll be in
|
947
|
-
* pixels!
|
948
|
-
*
|
949
|
-
* - positive value indicates scrolling DOWN/RIGHT, negative UP/LEFT. This
|
950
|
-
* should translate to positive value zooming IN, negative zooming OUT.
|
951
|
-
* This matches the newer 'wheel' event.
|
952
|
-
*
|
953
|
-
* Why are there spinX, spinY (or pixels)?
|
954
|
-
*
|
955
|
-
* - spinX is a 2-finger side drag on the trackpad, and a shift + wheel turn
|
956
|
-
* with a mouse. It results in side-scrolling in the browser by default.
|
957
|
-
*
|
958
|
-
* - spinY is what you expect -- it's the classic axis of a mouse wheel.
|
959
|
-
*
|
960
|
-
* - I dropped spinZ/pixelZ. It is supported by the DOM 3 'wheel' event and
|
961
|
-
* probably is by browsers in conjunction with fancy 3D controllers .. but
|
962
|
-
* you know.
|
963
|
-
*
|
964
|
-
* Implementation info:
|
965
|
-
*
|
966
|
-
* Examples of 'wheel' event if you scroll slowly (down) by one step with an
|
967
|
-
* average mouse:
|
968
|
-
*
|
969
|
-
* OS X + Chrome (mouse) - 4 pixel delta (wheelDelta -120)
|
970
|
-
* OS X + Safari (mouse) - N/A pixel delta (wheelDelta -12)
|
971
|
-
* OS X + Firefox (mouse) - 0.1 line delta (wheelDelta N/A)
|
972
|
-
* Win8 + Chrome (mouse) - 100 pixel delta (wheelDelta -120)
|
973
|
-
* Win8 + Firefox (mouse) - 3 line delta (wheelDelta -120)
|
974
|
-
*
|
975
|
-
* On the trackpad:
|
976
|
-
*
|
977
|
-
* OS X + Chrome (trackpad) - 2 pixel delta (wheelDelta -6)
|
978
|
-
* OS X + Firefox (trackpad) - 1 pixel delta (wheelDelta N/A)
|
979
|
-
*
|
980
|
-
* On other/older browsers.. it's more complicated as there can be multiple and
|
981
|
-
* also missing delta values.
|
982
|
-
*
|
983
|
-
* The 'wheel' event is more standard:
|
984
|
-
*
|
985
|
-
* http://www.w3.org/TR/DOM-Level-3-Events/#events-wheelevents
|
986
|
-
*
|
987
|
-
* The basics is that it includes a unit, deltaMode (pixels, lines, pages), and
|
988
|
-
* deltaX, deltaY and deltaZ. Some browsers provide other values to maintain
|
989
|
-
* backward compatibility with older events. Those other values help us
|
990
|
-
* better normalize spin speed. Example of what the browsers provide:
|
991
|
-
*
|
992
|
-
* | event.wheelDelta | event.detail
|
993
|
-
* ------------------+------------------+--------------
|
994
|
-
* Safari v5/OS X | -120 | 0
|
995
|
-
* Safari v5/Win7 | -120 | 0
|
996
|
-
* Chrome v17/OS X | -120 | 0
|
997
|
-
* Chrome v17/Win7 | -120 | 0
|
998
|
-
* IE9/Win7 | -120 | undefined
|
999
|
-
* Firefox v4/OS X | undefined | 1
|
1000
|
-
* Firefox v4/Win7 | undefined | 3
|
1001
|
-
*
|
1002
|
-
*/
|
1003
|
-
function normalizeWheel(/*object*/ event) /*object*/ {
|
1004
|
-
var sX = 0, sY = 0, // spinX, spinY
|
1005
|
-
pX = 0, pY = 0; // pixelX, pixelY
|
1006
|
-
|
1007
|
-
// Legacy
|
1008
|
-
if ('detail' in event) { sY = event.detail; }
|
1009
|
-
if ('wheelDelta' in event) { sY = -event.wheelDelta / 120; }
|
1010
|
-
if ('wheelDeltaY' in event) { sY = -event.wheelDeltaY / 120; }
|
1011
|
-
if ('wheelDeltaX' in event) { sX = -event.wheelDeltaX / 120; }
|
1012
|
-
|
1013
|
-
// side scrolling on FF with DOMMouseScroll
|
1014
|
-
if ( 'axis' in event && event.axis === event.HORIZONTAL_AXIS ) {
|
1015
|
-
sX = sY;
|
1016
|
-
sY = 0;
|
1017
|
-
}
|
1018
|
-
|
1019
|
-
pX = sX * PIXEL_STEP;
|
1020
|
-
pY = sY * PIXEL_STEP;
|
1021
|
-
|
1022
|
-
if ('deltaY' in event) { pY = event.deltaY; }
|
1023
|
-
if ('deltaX' in event) { pX = event.deltaX; }
|
1024
|
-
|
1025
|
-
if ((pX || pY) && event.deltaMode) {
|
1026
|
-
if (event.deltaMode == 1) { // delta in LINE units
|
1027
|
-
pX *= LINE_HEIGHT;
|
1028
|
-
pY *= LINE_HEIGHT;
|
1029
|
-
} else { // delta in PAGE units
|
1030
|
-
pX *= PAGE_HEIGHT;
|
1031
|
-
pY *= PAGE_HEIGHT;
|
1032
|
-
}
|
1033
|
-
}
|
1034
|
-
|
1035
|
-
// Fall-back if spin cannot be determined
|
1036
|
-
if (pX && !sX) { sX = (pX < 1) ? -1 : 1; }
|
1037
|
-
if (pY && !sY) { sY = (pY < 1) ? -1 : 1; }
|
1038
|
-
|
1039
|
-
return { spinX : sX,
|
1040
|
-
spinY : sY,
|
1041
|
-
pixelX : pX,
|
1042
|
-
pixelY : pY };
|
1043
|
-
}
|
1044
|
-
|
1045
|
-
|
1046
|
-
/**
|
1047
|
-
* The best combination if you prefer spinX + spinY normalization. It favors
|
1048
|
-
* the older DOMMouseScroll for Firefox, as FF does not include wheelDelta with
|
1049
|
-
* 'wheel' event, making spin speed determination impossible.
|
1050
|
-
*/
|
1051
|
-
normalizeWheel.getEventType = function() /*string*/ {
|
1052
|
-
return (UserAgent_DEPRECATED.firefox())
|
1053
|
-
? 'DOMMouseScroll'
|
1054
|
-
: (isEventSupported('wheel'))
|
1055
|
-
? 'wheel'
|
1056
|
-
: 'mousewheel';
|
1057
|
-
};
|
1058
|
-
|
1059
|
-
module.exports = normalizeWheel;
|
1060
|
-
|
1061
|
-
|
1062
|
-
/***/ }),
|
1063
|
-
|
1064
|
-
/***/ 5153:
|
1065
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1066
|
-
|
1067
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1068
|
-
/* harmony export */ "default": () => (/* binding */ _toConsumableArray)
|
1069
|
-
/* harmony export */ });
|
1070
|
-
/* harmony import */ var _arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3492);
|
1071
|
-
/* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4430);
|
1072
|
-
/* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7985);
|
1073
|
-
/* harmony import */ var _nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(2880);
|
1074
|
-
|
1075
|
-
|
1076
|
-
|
1077
|
-
|
1078
|
-
function _toConsumableArray(arr) {
|
1079
|
-
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"])();
|
1080
|
-
}
|
1081
|
-
|
1082
|
-
/***/ }),
|
1083
|
-
|
1084
|
-
/***/ 5166:
|
1085
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1086
|
-
|
1087
|
-
var x = (y) => {
|
1088
|
-
var x = {}; __webpack_require__.d(x, y); return x
|
1089
|
-
}
|
1090
|
-
var y = (x) => (() => (x))
|
1091
|
-
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) });
|
1092
|
-
|
1093
|
-
/***/ }),
|
1094
|
-
|
1095
|
-
/***/ 5286:
|
1096
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1097
|
-
|
1098
|
-
var x = (y) => {
|
1099
|
-
var x = {}; __webpack_require__.d(x, y); return x
|
1100
|
-
}
|
1101
|
-
var y = (x) => (() => (x))
|
1102
|
-
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) });
|
1103
|
-
|
1104
|
-
/***/ }),
|
1105
|
-
|
1106
|
-
/***/ 6284:
|
1107
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1108
|
-
|
1109
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1110
|
-
/* harmony export */ "default": () => (/* binding */ _arrayLikeToArray)
|
1111
|
-
/* harmony export */ });
|
1112
|
-
function _arrayLikeToArray(arr, len) {
|
1113
|
-
if (len == null || len > arr.length) len = arr.length;
|
1114
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
1115
|
-
return arr2;
|
1116
|
-
}
|
1117
|
-
|
1118
|
-
/***/ }),
|
1119
|
-
|
1120
|
-
/***/ 7416:
|
1121
|
-
/***/ ((module) => {
|
1122
|
-
|
1123
|
-
/**
|
1124
|
-
* Copyright 2004-present Facebook. All Rights Reserved.
|
1125
|
-
*
|
1126
|
-
* @providesModule UserAgent_DEPRECATED
|
1127
|
-
*/
|
1128
|
-
|
1129
|
-
/**
|
1130
|
-
* Provides entirely client-side User Agent and OS detection. You should prefer
|
1131
|
-
* the non-deprecated UserAgent module when possible, which exposes our
|
1132
|
-
* authoritative server-side PHP-based detection to the client.
|
1133
|
-
*
|
1134
|
-
* Usage is straightforward:
|
737
|
+
* Usage is straightforward:
|
1135
738
|
*
|
1136
739
|
* if (UserAgent_DEPRECATED.ie()) {
|
1137
740
|
* // IE
|
@@ -1284,180 +887,517 @@ var UserAgent_DEPRECATED = {
|
|
1284
887
|
},
|
1285
888
|
|
1286
889
|
|
1287
|
-
/**
|
1288
|
-
* Whether the browser is 64-bit IE. Really, this is kind of weak sauce; we
|
1289
|
-
* only need this because Skype can't handle 64-bit IE yet. We need to remove
|
1290
|
-
* this when we don't need it -- tracked by #601957.
|
1291
|
-
*/
|
1292
|
-
ie64: function() {
|
1293
|
-
return UserAgent_DEPRECATED.ie() && _win64;
|
1294
|
-
},
|
890
|
+
/**
|
891
|
+
* Whether the browser is 64-bit IE. Really, this is kind of weak sauce; we
|
892
|
+
* only need this because Skype can't handle 64-bit IE yet. We need to remove
|
893
|
+
* this when we don't need it -- tracked by #601957.
|
894
|
+
*/
|
895
|
+
ie64: function() {
|
896
|
+
return UserAgent_DEPRECATED.ie() && _win64;
|
897
|
+
},
|
898
|
+
|
899
|
+
/**
|
900
|
+
* Check if the UA is Firefox.
|
901
|
+
*
|
902
|
+
*
|
903
|
+
* @return float|NaN Version number (if match) or NaN.
|
904
|
+
*/
|
905
|
+
firefox: function() {
|
906
|
+
return _populate() || _firefox;
|
907
|
+
},
|
908
|
+
|
909
|
+
|
910
|
+
/**
|
911
|
+
* Check if the UA is Opera.
|
912
|
+
*
|
913
|
+
*
|
914
|
+
* @return float|NaN Version number (if match) or NaN.
|
915
|
+
*/
|
916
|
+
opera: function() {
|
917
|
+
return _populate() || _opera;
|
918
|
+
},
|
919
|
+
|
920
|
+
|
921
|
+
/**
|
922
|
+
* Check if the UA is WebKit.
|
923
|
+
*
|
924
|
+
*
|
925
|
+
* @return float|NaN Version number (if match) or NaN.
|
926
|
+
*/
|
927
|
+
webkit: function() {
|
928
|
+
return _populate() || _webkit;
|
929
|
+
},
|
930
|
+
|
931
|
+
/**
|
932
|
+
* For Push
|
933
|
+
* WILL BE REMOVED VERY SOON. Use UserAgent_DEPRECATED.webkit
|
934
|
+
*/
|
935
|
+
safari: function() {
|
936
|
+
return UserAgent_DEPRECATED.webkit();
|
937
|
+
},
|
938
|
+
|
939
|
+
/**
|
940
|
+
* Check if the UA is a Chrome browser.
|
941
|
+
*
|
942
|
+
*
|
943
|
+
* @return float|NaN Version number (if match) or NaN.
|
944
|
+
*/
|
945
|
+
chrome : function() {
|
946
|
+
return _populate() || _chrome;
|
947
|
+
},
|
948
|
+
|
949
|
+
|
950
|
+
/**
|
951
|
+
* Check if the user is running Windows.
|
952
|
+
*
|
953
|
+
* @return bool `true' if the user's OS is Windows.
|
954
|
+
*/
|
955
|
+
windows: function() {
|
956
|
+
return _populate() || _windows;
|
957
|
+
},
|
958
|
+
|
959
|
+
|
960
|
+
/**
|
961
|
+
* Check if the user is running Mac OS X.
|
962
|
+
*
|
963
|
+
* @return float|bool Returns a float if a version number is detected,
|
964
|
+
* otherwise true/false.
|
965
|
+
*/
|
966
|
+
osx: function() {
|
967
|
+
return _populate() || _osx;
|
968
|
+
},
|
969
|
+
|
970
|
+
/**
|
971
|
+
* Check if the user is running Linux.
|
972
|
+
*
|
973
|
+
* @return bool `true' if the user's OS is some flavor of Linux.
|
974
|
+
*/
|
975
|
+
linux: function() {
|
976
|
+
return _populate() || _linux;
|
977
|
+
},
|
978
|
+
|
979
|
+
/**
|
980
|
+
* Check if the user is running on an iPhone or iPod platform.
|
981
|
+
*
|
982
|
+
* @return bool `true' if the user is running some flavor of the
|
983
|
+
* iPhone OS.
|
984
|
+
*/
|
985
|
+
iphone: function() {
|
986
|
+
return _populate() || _iphone;
|
987
|
+
},
|
988
|
+
|
989
|
+
mobile: function() {
|
990
|
+
return _populate() || (_iphone || _ipad || _android || _mobile);
|
991
|
+
},
|
992
|
+
|
993
|
+
nativeApp: function() {
|
994
|
+
// webviews inside of the native apps
|
995
|
+
return _populate() || _native;
|
996
|
+
},
|
997
|
+
|
998
|
+
android: function() {
|
999
|
+
return _populate() || _android;
|
1000
|
+
},
|
1001
|
+
|
1002
|
+
ipad: function() {
|
1003
|
+
return _populate() || _ipad;
|
1004
|
+
}
|
1005
|
+
};
|
1006
|
+
|
1007
|
+
module.exports = UserAgent_DEPRECATED;
|
1008
|
+
|
1009
|
+
|
1010
|
+
/***/ }),
|
1011
|
+
|
1012
|
+
/***/ 3541:
|
1013
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1014
|
+
|
1015
|
+
/**
|
1016
|
+
* Copyright 2013-2015, Facebook, Inc.
|
1017
|
+
* All rights reserved.
|
1018
|
+
*
|
1019
|
+
* This source code is licensed under the BSD-style license found in the
|
1020
|
+
* LICENSE file in the root directory of this source tree. An additional grant
|
1021
|
+
* of patent rights can be found in the PATENTS file in the same directory.
|
1022
|
+
*
|
1023
|
+
* @providesModule isEventSupported
|
1024
|
+
*/
|
1025
|
+
|
1026
|
+
|
1027
|
+
|
1028
|
+
var ExecutionEnvironment = __webpack_require__(7430);
|
1029
|
+
|
1030
|
+
var useHasFeature;
|
1031
|
+
if (ExecutionEnvironment.canUseDOM) {
|
1032
|
+
useHasFeature =
|
1033
|
+
document.implementation &&
|
1034
|
+
document.implementation.hasFeature &&
|
1035
|
+
// always returns true in newer browsers as per the standard.
|
1036
|
+
// @see http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature
|
1037
|
+
document.implementation.hasFeature('', '') !== true;
|
1038
|
+
}
|
1039
|
+
|
1040
|
+
/**
|
1041
|
+
* Checks if an event is supported in the current execution environment.
|
1042
|
+
*
|
1043
|
+
* NOTE: This will not work correctly for non-generic events such as `change`,
|
1044
|
+
* `reset`, `load`, `error`, and `select`.
|
1045
|
+
*
|
1046
|
+
* Borrows from Modernizr.
|
1047
|
+
*
|
1048
|
+
* @param {string} eventNameSuffix Event name, e.g. "click".
|
1049
|
+
* @param {?boolean} capture Check if the capture phase is supported.
|
1050
|
+
* @return {boolean} True if the event is supported.
|
1051
|
+
* @internal
|
1052
|
+
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
1053
|
+
*/
|
1054
|
+
function isEventSupported(eventNameSuffix, capture) {
|
1055
|
+
if (!ExecutionEnvironment.canUseDOM ||
|
1056
|
+
capture && !('addEventListener' in document)) {
|
1057
|
+
return false;
|
1058
|
+
}
|
1059
|
+
|
1060
|
+
var eventName = 'on' + eventNameSuffix;
|
1061
|
+
var isSupported = eventName in document;
|
1062
|
+
|
1063
|
+
if (!isSupported) {
|
1064
|
+
var element = document.createElement('div');
|
1065
|
+
element.setAttribute(eventName, 'return;');
|
1066
|
+
isSupported = typeof element[eventName] === 'function';
|
1067
|
+
}
|
1068
|
+
|
1069
|
+
if (!isSupported && useHasFeature && eventNameSuffix === 'wheel') {
|
1070
|
+
// This is the only way to test support for the `wheel` event in IE9+.
|
1071
|
+
isSupported = document.implementation.hasFeature('Events.wheel', '3.0');
|
1072
|
+
}
|
1073
|
+
|
1074
|
+
return isSupported;
|
1075
|
+
}
|
1076
|
+
|
1077
|
+
module.exports = isEventSupported;
|
1078
|
+
|
1079
|
+
|
1080
|
+
/***/ }),
|
1081
|
+
|
1082
|
+
/***/ 2527:
|
1083
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1084
|
+
|
1085
|
+
/**
|
1086
|
+
* Copyright (c) 2015, Facebook, Inc.
|
1087
|
+
* All rights reserved.
|
1088
|
+
*
|
1089
|
+
* This source code is licensed under the BSD-style license found in the
|
1090
|
+
* LICENSE file in the root directory of this source tree. An additional grant
|
1091
|
+
* of patent rights can be found in the PATENTS file in the same directory.
|
1092
|
+
*
|
1093
|
+
* @providesModule normalizeWheel
|
1094
|
+
* @typechecks
|
1095
|
+
*/
|
1096
|
+
|
1097
|
+
|
1098
|
+
|
1099
|
+
var UserAgent_DEPRECATED = __webpack_require__(6377);
|
1100
|
+
|
1101
|
+
var isEventSupported = __webpack_require__(3541);
|
1102
|
+
|
1103
|
+
|
1104
|
+
// Reasonable defaults
|
1105
|
+
var PIXEL_STEP = 10;
|
1106
|
+
var LINE_HEIGHT = 40;
|
1107
|
+
var PAGE_HEIGHT = 800;
|
1108
|
+
|
1109
|
+
/**
|
1110
|
+
* Mouse wheel (and 2-finger trackpad) support on the web sucks. It is
|
1111
|
+
* complicated, thus this doc is long and (hopefully) detailed enough to answer
|
1112
|
+
* your questions.
|
1113
|
+
*
|
1114
|
+
* If you need to react to the mouse wheel in a predictable way, this code is
|
1115
|
+
* like your bestest friend. * hugs *
|
1116
|
+
*
|
1117
|
+
* As of today, there are 4 DOM event types you can listen to:
|
1118
|
+
*
|
1119
|
+
* 'wheel' -- Chrome(31+), FF(17+), IE(9+)
|
1120
|
+
* 'mousewheel' -- Chrome, IE(6+), Opera, Safari
|
1121
|
+
* 'MozMousePixelScroll' -- FF(3.5 only!) (2010-2013) -- don't bother!
|
1122
|
+
* 'DOMMouseScroll' -- FF(0.9.7+) since 2003
|
1123
|
+
*
|
1124
|
+
* So what to do? The is the best:
|
1125
|
+
*
|
1126
|
+
* normalizeWheel.getEventType();
|
1127
|
+
*
|
1128
|
+
* In your event callback, use this code to get sane interpretation of the
|
1129
|
+
* deltas. This code will return an object with properties:
|
1130
|
+
*
|
1131
|
+
* spinX -- normalized spin speed (use for zoom) - x plane
|
1132
|
+
* spinY -- " - y plane
|
1133
|
+
* pixelX -- normalized distance (to pixels) - x plane
|
1134
|
+
* pixelY -- " - y plane
|
1135
|
+
*
|
1136
|
+
* Wheel values are provided by the browser assuming you are using the wheel to
|
1137
|
+
* scroll a web page by a number of lines or pixels (or pages). Values can vary
|
1138
|
+
* significantly on different platforms and browsers, forgetting that you can
|
1139
|
+
* scroll at different speeds. Some devices (like trackpads) emit more events
|
1140
|
+
* at smaller increments with fine granularity, and some emit massive jumps with
|
1141
|
+
* linear speed or acceleration.
|
1142
|
+
*
|
1143
|
+
* This code does its best to normalize the deltas for you:
|
1144
|
+
*
|
1145
|
+
* - spin is trying to normalize how far the wheel was spun (or trackpad
|
1146
|
+
* dragged). This is super useful for zoom support where you want to
|
1147
|
+
* throw away the chunky scroll steps on the PC and make those equal to
|
1148
|
+
* the slow and smooth tiny steps on the Mac. Key data: This code tries to
|
1149
|
+
* resolve a single slow step on a wheel to 1.
|
1150
|
+
*
|
1151
|
+
* - pixel is normalizing the desired scroll delta in pixel units. You'll
|
1152
|
+
* get the crazy differences between browsers, but at least it'll be in
|
1153
|
+
* pixels!
|
1154
|
+
*
|
1155
|
+
* - positive value indicates scrolling DOWN/RIGHT, negative UP/LEFT. This
|
1156
|
+
* should translate to positive value zooming IN, negative zooming OUT.
|
1157
|
+
* This matches the newer 'wheel' event.
|
1158
|
+
*
|
1159
|
+
* Why are there spinX, spinY (or pixels)?
|
1160
|
+
*
|
1161
|
+
* - spinX is a 2-finger side drag on the trackpad, and a shift + wheel turn
|
1162
|
+
* with a mouse. It results in side-scrolling in the browser by default.
|
1163
|
+
*
|
1164
|
+
* - spinY is what you expect -- it's the classic axis of a mouse wheel.
|
1165
|
+
*
|
1166
|
+
* - I dropped spinZ/pixelZ. It is supported by the DOM 3 'wheel' event and
|
1167
|
+
* probably is by browsers in conjunction with fancy 3D controllers .. but
|
1168
|
+
* you know.
|
1169
|
+
*
|
1170
|
+
* Implementation info:
|
1171
|
+
*
|
1172
|
+
* Examples of 'wheel' event if you scroll slowly (down) by one step with an
|
1173
|
+
* average mouse:
|
1174
|
+
*
|
1175
|
+
* OS X + Chrome (mouse) - 4 pixel delta (wheelDelta -120)
|
1176
|
+
* OS X + Safari (mouse) - N/A pixel delta (wheelDelta -12)
|
1177
|
+
* OS X + Firefox (mouse) - 0.1 line delta (wheelDelta N/A)
|
1178
|
+
* Win8 + Chrome (mouse) - 100 pixel delta (wheelDelta -120)
|
1179
|
+
* Win8 + Firefox (mouse) - 3 line delta (wheelDelta -120)
|
1180
|
+
*
|
1181
|
+
* On the trackpad:
|
1182
|
+
*
|
1183
|
+
* OS X + Chrome (trackpad) - 2 pixel delta (wheelDelta -6)
|
1184
|
+
* OS X + Firefox (trackpad) - 1 pixel delta (wheelDelta N/A)
|
1185
|
+
*
|
1186
|
+
* On other/older browsers.. it's more complicated as there can be multiple and
|
1187
|
+
* also missing delta values.
|
1188
|
+
*
|
1189
|
+
* The 'wheel' event is more standard:
|
1190
|
+
*
|
1191
|
+
* http://www.w3.org/TR/DOM-Level-3-Events/#events-wheelevents
|
1192
|
+
*
|
1193
|
+
* The basics is that it includes a unit, deltaMode (pixels, lines, pages), and
|
1194
|
+
* deltaX, deltaY and deltaZ. Some browsers provide other values to maintain
|
1195
|
+
* backward compatibility with older events. Those other values help us
|
1196
|
+
* better normalize spin speed. Example of what the browsers provide:
|
1197
|
+
*
|
1198
|
+
* | event.wheelDelta | event.detail
|
1199
|
+
* ------------------+------------------+--------------
|
1200
|
+
* Safari v5/OS X | -120 | 0
|
1201
|
+
* Safari v5/Win7 | -120 | 0
|
1202
|
+
* Chrome v17/OS X | -120 | 0
|
1203
|
+
* Chrome v17/Win7 | -120 | 0
|
1204
|
+
* IE9/Win7 | -120 | undefined
|
1205
|
+
* Firefox v4/OS X | undefined | 1
|
1206
|
+
* Firefox v4/Win7 | undefined | 3
|
1207
|
+
*
|
1208
|
+
*/
|
1209
|
+
function normalizeWheel(/*object*/ event) /*object*/ {
|
1210
|
+
var sX = 0, sY = 0, // spinX, spinY
|
1211
|
+
pX = 0, pY = 0; // pixelX, pixelY
|
1212
|
+
|
1213
|
+
// Legacy
|
1214
|
+
if ('detail' in event) { sY = event.detail; }
|
1215
|
+
if ('wheelDelta' in event) { sY = -event.wheelDelta / 120; }
|
1216
|
+
if ('wheelDeltaY' in event) { sY = -event.wheelDeltaY / 120; }
|
1217
|
+
if ('wheelDeltaX' in event) { sX = -event.wheelDeltaX / 120; }
|
1218
|
+
|
1219
|
+
// side scrolling on FF with DOMMouseScroll
|
1220
|
+
if ( 'axis' in event && event.axis === event.HORIZONTAL_AXIS ) {
|
1221
|
+
sX = sY;
|
1222
|
+
sY = 0;
|
1223
|
+
}
|
1224
|
+
|
1225
|
+
pX = sX * PIXEL_STEP;
|
1226
|
+
pY = sY * PIXEL_STEP;
|
1227
|
+
|
1228
|
+
if ('deltaY' in event) { pY = event.deltaY; }
|
1229
|
+
if ('deltaX' in event) { pX = event.deltaX; }
|
1230
|
+
|
1231
|
+
if ((pX || pY) && event.deltaMode) {
|
1232
|
+
if (event.deltaMode == 1) { // delta in LINE units
|
1233
|
+
pX *= LINE_HEIGHT;
|
1234
|
+
pY *= LINE_HEIGHT;
|
1235
|
+
} else { // delta in PAGE units
|
1236
|
+
pX *= PAGE_HEIGHT;
|
1237
|
+
pY *= PAGE_HEIGHT;
|
1238
|
+
}
|
1239
|
+
}
|
1240
|
+
|
1241
|
+
// Fall-back if spin cannot be determined
|
1242
|
+
if (pX && !sX) { sX = (pX < 1) ? -1 : 1; }
|
1243
|
+
if (pY && !sY) { sY = (pY < 1) ? -1 : 1; }
|
1244
|
+
|
1245
|
+
return { spinX : sX,
|
1246
|
+
spinY : sY,
|
1247
|
+
pixelX : pX,
|
1248
|
+
pixelY : pY };
|
1249
|
+
}
|
1295
1250
|
|
1296
|
-
/**
|
1297
|
-
* Check if the UA is Firefox.
|
1298
|
-
*
|
1299
|
-
*
|
1300
|
-
* @return float|NaN Version number (if match) or NaN.
|
1301
|
-
*/
|
1302
|
-
firefox: function() {
|
1303
|
-
return _populate() || _firefox;
|
1304
|
-
},
|
1305
1251
|
|
1252
|
+
/**
|
1253
|
+
* The best combination if you prefer spinX + spinY normalization. It favors
|
1254
|
+
* the older DOMMouseScroll for Firefox, as FF does not include wheelDelta with
|
1255
|
+
* 'wheel' event, making spin speed determination impossible.
|
1256
|
+
*/
|
1257
|
+
normalizeWheel.getEventType = function() /*string*/ {
|
1258
|
+
return (UserAgent_DEPRECATED.firefox())
|
1259
|
+
? 'DOMMouseScroll'
|
1260
|
+
: (isEventSupported('wheel'))
|
1261
|
+
? 'wheel'
|
1262
|
+
: 'mousewheel';
|
1263
|
+
};
|
1306
1264
|
|
1307
|
-
|
1308
|
-
* Check if the UA is Opera.
|
1309
|
-
*
|
1310
|
-
*
|
1311
|
-
* @return float|NaN Version number (if match) or NaN.
|
1312
|
-
*/
|
1313
|
-
opera: function() {
|
1314
|
-
return _populate() || _opera;
|
1315
|
-
},
|
1265
|
+
module.exports = normalizeWheel;
|
1316
1266
|
|
1317
1267
|
|
1318
|
-
|
1319
|
-
* Check if the UA is WebKit.
|
1320
|
-
*
|
1321
|
-
*
|
1322
|
-
* @return float|NaN Version number (if match) or NaN.
|
1323
|
-
*/
|
1324
|
-
webkit: function() {
|
1325
|
-
return _populate() || _webkit;
|
1326
|
-
},
|
1268
|
+
/***/ }),
|
1327
1269
|
|
1328
|
-
|
1329
|
-
|
1330
|
-
* WILL BE REMOVED VERY SOON. Use UserAgent_DEPRECATED.webkit
|
1331
|
-
*/
|
1332
|
-
safari: function() {
|
1333
|
-
return UserAgent_DEPRECATED.webkit();
|
1334
|
-
},
|
1270
|
+
/***/ 563:
|
1271
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1335
1272
|
|
1336
|
-
|
1337
|
-
|
1338
|
-
|
1339
|
-
*
|
1340
|
-
* @return float|NaN Version number (if match) or NaN.
|
1341
|
-
*/
|
1342
|
-
chrome : function() {
|
1343
|
-
return _populate() || _chrome;
|
1344
|
-
},
|
1273
|
+
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1274
|
+
var y = x => () => x
|
1275
|
+
module.exports = x({ ["$bkPopover"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__.$bkPopover, ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__["default"] });
|
1345
1276
|
|
1277
|
+
/***/ }),
|
1346
1278
|
|
1347
|
-
|
1348
|
-
|
1349
|
-
*
|
1350
|
-
* @return bool `true' if the user's OS is Windows.
|
1351
|
-
*/
|
1352
|
-
windows: function() {
|
1353
|
-
return _populate() || _windows;
|
1354
|
-
},
|
1279
|
+
/***/ 9253:
|
1280
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1355
1281
|
|
1282
|
+
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1283
|
+
var y = x => () => x
|
1284
|
+
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 });
|
1356
1285
|
|
1357
|
-
|
1358
|
-
* Check if the user is running Mac OS X.
|
1359
|
-
*
|
1360
|
-
* @return float|bool Returns a float if a version number is detected,
|
1361
|
-
* otherwise true/false.
|
1362
|
-
*/
|
1363
|
-
osx: function() {
|
1364
|
-
return _populate() || _osx;
|
1365
|
-
},
|
1286
|
+
/***/ }),
|
1366
1287
|
|
1367
|
-
|
1368
|
-
|
1369
|
-
*
|
1370
|
-
* @return bool `true' if the user's OS is some flavor of Linux.
|
1371
|
-
*/
|
1372
|
-
linux: function() {
|
1373
|
-
return _populate() || _linux;
|
1374
|
-
},
|
1288
|
+
/***/ 6609:
|
1289
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1375
1290
|
|
1376
|
-
|
1377
|
-
|
1378
|
-
|
1379
|
-
* @return bool `true' if the user is running some flavor of the
|
1380
|
-
* iPhone OS.
|
1381
|
-
*/
|
1382
|
-
iphone: function() {
|
1383
|
-
return _populate() || _iphone;
|
1384
|
-
},
|
1291
|
+
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1292
|
+
var y = x => () => x
|
1293
|
+
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 });
|
1385
1294
|
|
1386
|
-
|
1387
|
-
return _populate() || (_iphone || _ipad || _android || _mobile);
|
1388
|
-
},
|
1295
|
+
/***/ }),
|
1389
1296
|
|
1390
|
-
|
1391
|
-
|
1392
|
-
return _populate() || _native;
|
1393
|
-
},
|
1297
|
+
/***/ 926:
|
1298
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1394
1299
|
|
1395
|
-
|
1396
|
-
|
1397
|
-
|
1300
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1301
|
+
/* harmony export */ "default": () => (/* binding */ _arrayLikeToArray)
|
1302
|
+
/* harmony export */ });
|
1303
|
+
function _arrayLikeToArray(arr, len) {
|
1304
|
+
if (len == null || len > arr.length) len = arr.length;
|
1305
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
1306
|
+
return arr2;
|
1307
|
+
}
|
1398
1308
|
|
1399
|
-
|
1400
|
-
return _populate() || _ipad;
|
1401
|
-
}
|
1402
|
-
};
|
1309
|
+
/***/ }),
|
1403
1310
|
|
1404
|
-
|
1311
|
+
/***/ 74:
|
1312
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1313
|
+
|
1314
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1315
|
+
/* harmony export */ "default": () => (/* binding */ _arrayWithoutHoles)
|
1316
|
+
/* harmony export */ });
|
1317
|
+
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(926);
|
1405
1318
|
|
1319
|
+
function _arrayWithoutHoles(arr) {
|
1320
|
+
if (Array.isArray(arr)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(arr);
|
1321
|
+
}
|
1406
1322
|
|
1407
1323
|
/***/ }),
|
1408
1324
|
|
1409
|
-
/***/
|
1325
|
+
/***/ 6666:
|
1410
1326
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1411
1327
|
|
1412
1328
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1413
|
-
/* harmony export */ "default": () => (/* binding */
|
1329
|
+
/* harmony export */ "default": () => (/* binding */ _defineProperty)
|
1414
1330
|
/* harmony export */ });
|
1415
|
-
|
1416
|
-
"@babel/helpers - typeof";
|
1331
|
+
/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3795);
|
1417
1332
|
|
1418
|
-
|
1419
|
-
|
1420
|
-
|
1421
|
-
|
1422
|
-
|
1333
|
+
function _defineProperty(obj, key, value) {
|
1334
|
+
key = (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["default"])(key);
|
1335
|
+
if (key in obj) {
|
1336
|
+
Object.defineProperty(obj, key, {
|
1337
|
+
value: value,
|
1338
|
+
enumerable: true,
|
1339
|
+
configurable: true,
|
1340
|
+
writable: true
|
1341
|
+
});
|
1342
|
+
} else {
|
1343
|
+
obj[key] = value;
|
1344
|
+
}
|
1345
|
+
return obj;
|
1423
1346
|
}
|
1424
1347
|
|
1425
1348
|
/***/ }),
|
1426
1349
|
|
1427
|
-
/***/
|
1350
|
+
/***/ 1079:
|
1428
1351
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1429
1352
|
|
1430
1353
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1431
|
-
/* harmony export */ "default": () => (/* binding */
|
1354
|
+
/* harmony export */ "default": () => (/* binding */ _iterableToArray)
|
1432
1355
|
/* harmony export */ });
|
1433
|
-
|
1356
|
+
function _iterableToArray(iter) {
|
1357
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
1358
|
+
}
|
1434
1359
|
|
1435
|
-
|
1436
|
-
|
1437
|
-
|
1438
|
-
|
1439
|
-
|
1440
|
-
|
1441
|
-
|
1360
|
+
/***/ }),
|
1361
|
+
|
1362
|
+
/***/ 6098:
|
1363
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1364
|
+
|
1365
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1366
|
+
/* harmony export */ "default": () => (/* binding */ _nonIterableSpread)
|
1367
|
+
/* harmony export */ });
|
1368
|
+
function _nonIterableSpread() {
|
1369
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
1442
1370
|
}
|
1443
1371
|
|
1444
1372
|
/***/ }),
|
1445
1373
|
|
1446
|
-
/***/
|
1447
|
-
/***/ ((
|
1374
|
+
/***/ 7930:
|
1375
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1376
|
+
|
1377
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1378
|
+
/* harmony export */ "default": () => (/* binding */ _toConsumableArray)
|
1379
|
+
/* harmony export */ });
|
1380
|
+
/* harmony import */ var _arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(74);
|
1381
|
+
/* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1079);
|
1382
|
+
/* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9147);
|
1383
|
+
/* harmony import */ var _nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6098);
|
1384
|
+
|
1385
|
+
|
1448
1386
|
|
1449
|
-
module.exports = __webpack_require__(5022);
|
1450
1387
|
|
1388
|
+
function _toConsumableArray(arr) {
|
1389
|
+
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"])();
|
1390
|
+
}
|
1451
1391
|
|
1452
1392
|
/***/ }),
|
1453
1393
|
|
1454
|
-
/***/
|
1394
|
+
/***/ 9745:
|
1455
1395
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1456
1396
|
|
1457
1397
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1458
1398
|
/* harmony export */ "default": () => (/* binding */ toPrimitive)
|
1459
1399
|
/* harmony export */ });
|
1460
|
-
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
1400
|
+
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6522);
|
1461
1401
|
|
1462
1402
|
function toPrimitive(t, r) {
|
1463
1403
|
if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t) || !t) return t;
|
@@ -1470,6 +1410,60 @@ function toPrimitive(t, r) {
|
|
1470
1410
|
return ("string" === r ? String : Number)(t);
|
1471
1411
|
}
|
1472
1412
|
|
1413
|
+
/***/ }),
|
1414
|
+
|
1415
|
+
/***/ 3795:
|
1416
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1417
|
+
|
1418
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1419
|
+
/* harmony export */ "default": () => (/* binding */ toPropertyKey)
|
1420
|
+
/* harmony export */ });
|
1421
|
+
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6522);
|
1422
|
+
/* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9745);
|
1423
|
+
|
1424
|
+
|
1425
|
+
function toPropertyKey(t) {
|
1426
|
+
var i = (0,_toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t, "string");
|
1427
|
+
return "symbol" == (0,_typeof_js__WEBPACK_IMPORTED_MODULE_1__["default"])(i) ? i : String(i);
|
1428
|
+
}
|
1429
|
+
|
1430
|
+
/***/ }),
|
1431
|
+
|
1432
|
+
/***/ 6522:
|
1433
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1434
|
+
|
1435
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1436
|
+
/* harmony export */ "default": () => (/* binding */ _typeof)
|
1437
|
+
/* harmony export */ });
|
1438
|
+
function _typeof(o) {
|
1439
|
+
"@babel/helpers - typeof";
|
1440
|
+
|
1441
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
1442
|
+
return typeof o;
|
1443
|
+
} : function (o) {
|
1444
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
1445
|
+
}, _typeof(o);
|
1446
|
+
}
|
1447
|
+
|
1448
|
+
/***/ }),
|
1449
|
+
|
1450
|
+
/***/ 9147:
|
1451
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1452
|
+
|
1453
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1454
|
+
/* harmony export */ "default": () => (/* binding */ _unsupportedIterableToArray)
|
1455
|
+
/* harmony export */ });
|
1456
|
+
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(926);
|
1457
|
+
|
1458
|
+
function _unsupportedIterableToArray(o, minLen) {
|
1459
|
+
if (!o) return;
|
1460
|
+
if (typeof o === "string") return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(o, minLen);
|
1461
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
1462
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
1463
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
1464
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(o, minLen);
|
1465
|
+
}
|
1466
|
+
|
1473
1467
|
/***/ })
|
1474
1468
|
|
1475
1469
|
/******/ });
|
@@ -1530,6 +1524,8 @@ function toPrimitive(t, r) {
|
|
1530
1524
|
/******/
|
1531
1525
|
/************************************************************************/
|
1532
1526
|
var __webpack_exports__ = {};
|
1527
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
1528
|
+
(() => {
|
1533
1529
|
|
1534
1530
|
// EXPORTS
|
1535
1531
|
__webpack_require__.d(__webpack_exports__, {
|
@@ -1539,78 +1535,54 @@ __webpack_require__.d(__webpack_exports__, {
|
|
1539
1535
|
});
|
1540
1536
|
|
1541
1537
|
// EXTERNAL MODULE: external "../shared"
|
1542
|
-
var shared_ = __webpack_require__(
|
1538
|
+
var shared_ = __webpack_require__(9253);
|
1543
1539
|
// EXTERNAL MODULE: external "vue"
|
1544
|
-
var external_vue_ = __webpack_require__(
|
1545
|
-
;// external "vue-types"
|
1546
|
-
var x = (y)
|
1547
|
-
|
1548
|
-
}
|
1549
|
-
|
1550
|
-
|
1551
|
-
|
1552
|
-
|
1553
|
-
|
1554
|
-
|
1555
|
-
|
1556
|
-
|
1557
|
-
|
1558
|
-
|
1559
|
-
|
1560
|
-
var
|
1561
|
-
|
1562
|
-
}
|
1563
|
-
var
|
1564
|
-
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) });
|
1565
|
-
;// external "../popover"
|
1566
|
-
var popover_x = (y) => {
|
1567
|
-
var x = {}; __webpack_require__.d(x, y); return x
|
1568
|
-
}
|
1569
|
-
var popover_y = (x) => (() => (x))
|
1570
|
-
const popover_namespaceObject = popover_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__["default"]) });
|
1571
|
-
;// external "../popover/popover.less"
|
1572
|
-
var popover_less_x = (y) => {
|
1573
|
-
var x = {}; __webpack_require__.d(x, y); return x
|
1574
|
-
}
|
1575
|
-
var popover_less_y = (x) => (() => (x))
|
1540
|
+
var external_vue_ = __webpack_require__(6609);
|
1541
|
+
;// CONCATENATED MODULE: external "vue-types"
|
1542
|
+
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1543
|
+
var y = x => () => x
|
1544
|
+
const external_vue_types_namespaceObject = x({ ["array"]: () => __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__.array, ["object"]: () => __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__.object });
|
1545
|
+
;// CONCATENATED MODULE: external "../config-provider"
|
1546
|
+
var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1547
|
+
var config_provider_y = x => () => x
|
1548
|
+
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 });
|
1549
|
+
// EXTERNAL MODULE: ../../packages/directives/src/index.ts + 7 modules
|
1550
|
+
var src = __webpack_require__(668);
|
1551
|
+
;// CONCATENATED MODULE: external "../icon"
|
1552
|
+
var icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1553
|
+
var icon_y = x => () => x
|
1554
|
+
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 });
|
1555
|
+
// EXTERNAL MODULE: external "../popover"
|
1556
|
+
var popover_ = __webpack_require__(563);
|
1557
|
+
;// CONCATENATED MODULE: external "../popover/popover.less"
|
1558
|
+
var popover_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1559
|
+
var popover_less_y = x => () => x
|
1576
1560
|
const popover_less_namespaceObject = popover_less_x({ });
|
1577
|
-
;// external "../select"
|
1578
|
-
var select_x = (y)
|
1579
|
-
|
1580
|
-
}
|
1581
|
-
|
1582
|
-
|
1583
|
-
|
1584
|
-
|
1585
|
-
|
1586
|
-
}
|
1587
|
-
var
|
1588
|
-
const tag_namespaceObject = tag_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_tag_d74826be__["default"]) });
|
1589
|
-
;// external "../tag/tag.less"
|
1590
|
-
var tag_less_x = (y) => {
|
1591
|
-
var x = {}; __webpack_require__.d(x, y); return x
|
1592
|
-
}
|
1593
|
-
var tag_less_y = (x) => (() => (x))
|
1561
|
+
;// CONCATENATED MODULE: external "../select"
|
1562
|
+
var select_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1563
|
+
var select_y = x => () => x
|
1564
|
+
const select_namespaceObject = select_x({ ["useHover"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_select_1a0d1ad7__.useHover });
|
1565
|
+
;// CONCATENATED MODULE: external "../tag"
|
1566
|
+
var tag_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1567
|
+
var tag_y = x => () => x
|
1568
|
+
const tag_namespaceObject = tag_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_tag_d74826be__["default"] });
|
1569
|
+
;// CONCATENATED MODULE: external "../tag/tag.less"
|
1570
|
+
var tag_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1571
|
+
var tag_less_y = x => () => x
|
1594
1572
|
const tag_less_namespaceObject = tag_less_x({ });
|
1595
|
-
;// external "../tag-input"
|
1596
|
-
var tag_input_x = (y)
|
1597
|
-
|
1598
|
-
}
|
1599
|
-
|
1600
|
-
|
1601
|
-
|
1602
|
-
|
1603
|
-
|
1604
|
-
}
|
1605
|
-
var
|
1606
|
-
const checkbox_namespaceObject = checkbox_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_checkbox_13b1cb4a__["default"]) });
|
1607
|
-
;// external "../checkbox/checkbox.less"
|
1608
|
-
var checkbox_less_x = (y) => {
|
1609
|
-
var x = {}; __webpack_require__.d(x, y); return x
|
1610
|
-
}
|
1611
|
-
var checkbox_less_y = (x) => (() => (x))
|
1573
|
+
;// CONCATENATED MODULE: external "../tag-input"
|
1574
|
+
var tag_input_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1575
|
+
var tag_input_y = x => () => x
|
1576
|
+
const tag_input_namespaceObject = tag_input_x({ ["useTagsOverflow"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_tag_input_bee9f515__.useTagsOverflow });
|
1577
|
+
;// CONCATENATED MODULE: external "../checkbox"
|
1578
|
+
var checkbox_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1579
|
+
var checkbox_y = x => () => x
|
1580
|
+
const checkbox_namespaceObject = checkbox_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_checkbox_13b1cb4a__["default"] });
|
1581
|
+
;// CONCATENATED MODULE: external "../checkbox/checkbox.less"
|
1582
|
+
var checkbox_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1583
|
+
var checkbox_less_y = x => () => x
|
1612
1584
|
const checkbox_less_namespaceObject = checkbox_less_x({ });
|
1613
|
-
;// ../../packages/cascader/src/cascader-panel.tsx
|
1585
|
+
;// CONCATENATED MODULE: ../../packages/cascader/src/cascader-panel.tsx
|
1614
1586
|
|
1615
1587
|
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; } } }; }
|
1616
1588
|
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); }
|
@@ -1705,31 +1677,63 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
1705
1677
|
* @param value - 节点ID数组
|
1706
1678
|
*/
|
1707
1679
|
var expandByNodeList = function expandByNodeList(value) {
|
1708
|
-
|
1709
|
-
|
1710
|
-
|
1711
|
-
|
1712
|
-
|
1713
|
-
|
1714
|
-
|
1715
|
-
|
1716
|
-
|
1717
|
-
|
1680
|
+
// 判断是否为初始加载
|
1681
|
+
var isInitialLoad = checkValue.value.length === 0;
|
1682
|
+
// 如果是初始加载或单选情况,按原来的逻辑处理
|
1683
|
+
if (isInitialLoad || !store.config.multiple) {
|
1684
|
+
var targetList = [];
|
1685
|
+
// 处理多选情况
|
1686
|
+
if (store.config.multiple) {
|
1687
|
+
var _iterator = _createForOfIteratorHelper(value),
|
1688
|
+
_step;
|
1689
|
+
try {
|
1690
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
1691
|
+
var subArray = _step.value;
|
1692
|
+
if (subArray.length > targetList.length) {
|
1693
|
+
targetList = subArray;
|
1694
|
+
}
|
1718
1695
|
}
|
1696
|
+
} catch (err) {
|
1697
|
+
_iterator.e(err);
|
1698
|
+
} finally {
|
1699
|
+
_iterator.f();
|
1719
1700
|
}
|
1720
|
-
}
|
1721
|
-
|
1722
|
-
|
1723
|
-
_iterator.f();
|
1701
|
+
} else {
|
1702
|
+
// 单选情况
|
1703
|
+
targetList = value;
|
1724
1704
|
}
|
1725
|
-
|
1726
|
-
targetList
|
1705
|
+
// 执行展开操作
|
1706
|
+
targetList.forEach(function (id) {
|
1707
|
+
var node = store.getNodeById(id);
|
1708
|
+
if (node) {
|
1709
|
+
// 只展开,不需要重复触发
|
1710
|
+
var expandNode = function expandNode(node) {
|
1711
|
+
var _node$children;
|
1712
|
+
if (!node || node !== null && node !== void 0 && node.isDisabled) return;
|
1713
|
+
var level = node.level;
|
1714
|
+
// 确保面板只更新到当前节点层级
|
1715
|
+
menus.list = menus.list.slice(0, level);
|
1716
|
+
activePath.value = activePath.value.slice(0, level - 1);
|
1717
|
+
// 如果节点有子节点,直接添加到面板
|
1718
|
+
if ((_node$children = node.children) !== null && _node$children !== void 0 && _node$children.length) {
|
1719
|
+
if (menus.list.length === level) {
|
1720
|
+
menus.list.push(node.children);
|
1721
|
+
activePath.value.push(node);
|
1722
|
+
}
|
1723
|
+
}
|
1724
|
+
};
|
1725
|
+
// 展开节点的所有父节点
|
1726
|
+
var expandParents = function expandParents(node) {
|
1727
|
+
if (node.parent) {
|
1728
|
+
expandParents(node.parent);
|
1729
|
+
}
|
1730
|
+
expandNode(node);
|
1731
|
+
};
|
1732
|
+
expandParents(node);
|
1733
|
+
}
|
1734
|
+
});
|
1727
1735
|
}
|
1728
|
-
//
|
1729
|
-
targetList.forEach(function (id) {
|
1730
|
-
var node = store.getNodeById(id);
|
1731
|
-
nodeExpandHandler(node);
|
1732
|
-
});
|
1736
|
+
// 用户交互过程中的选择由nodeExpandHandler单独处理,这里不干预
|
1733
1737
|
};
|
1734
1738
|
/** 节点选中回调
|
1735
1739
|
* 根据单选、多选配置checkValue
|
@@ -1752,14 +1756,14 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
1752
1756
|
};
|
1753
1757
|
/** node点击展开回调 */
|
1754
1758
|
var nodeExpandHandler = function nodeExpandHandler(node) {
|
1755
|
-
var _node$
|
1759
|
+
var _node$children2;
|
1756
1760
|
if (!node || node !== null && node !== void 0 && node.isDisabled) return;
|
1757
1761
|
menus.list = menus.list.slice(0, node.level);
|
1758
1762
|
activePath.value = activePath.value.slice(0, node.level - 1);
|
1759
1763
|
/** 如果所点击的node具有children元素,则直接展开
|
1760
1764
|
* 否则判断是否开启了远程加载,进行远程加载列表
|
1761
1765
|
*/
|
1762
|
-
if ((_node$
|
1766
|
+
if ((_node$children2 = node.children) !== null && _node$children2 !== void 0 && _node$children2.length) {
|
1763
1767
|
menus.list.push(node.children);
|
1764
1768
|
activePath.value.push(node);
|
1765
1769
|
return;
|
@@ -1977,15 +1981,15 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
1977
1981
|
})]);
|
1978
1982
|
}
|
1979
1983
|
}));
|
1980
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/classCallCheck.js
|
1984
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/classCallCheck.js
|
1981
1985
|
function _classCallCheck(instance, Constructor) {
|
1982
1986
|
if (!(instance instanceof Constructor)) {
|
1983
1987
|
throw new TypeError("Cannot call a class as a function");
|
1984
1988
|
}
|
1985
1989
|
}
|
1986
1990
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
1987
|
-
var toPropertyKey = __webpack_require__(
|
1988
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/createClass.js
|
1991
|
+
var toPropertyKey = __webpack_require__(3795);
|
1992
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/createClass.js
|
1989
1993
|
|
1990
1994
|
function _defineProperties(target, props) {
|
1991
1995
|
for (var i = 0; i < props.length; i++) {
|
@@ -2004,7 +2008,7 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
2004
2008
|
});
|
2005
2009
|
return Constructor;
|
2006
2010
|
}
|
2007
|
-
;// ../../packages/cascader/src/node.ts
|
2011
|
+
;// CONCATENATED MODULE: ../../packages/cascader/src/node.ts
|
2008
2012
|
|
2009
2013
|
|
2010
2014
|
/*
|
@@ -2201,7 +2205,7 @@ var Node = /*#__PURE__*/function () {
|
|
2201
2205
|
return Node;
|
2202
2206
|
}();
|
2203
2207
|
/* harmony default export */ const src_node = (Node);
|
2204
|
-
;// ../../packages/cascader/src/store.ts
|
2208
|
+
;// CONCATENATED MODULE: ../../packages/cascader/src/store.ts
|
2205
2209
|
|
2206
2210
|
|
2207
2211
|
/*
|
@@ -2355,7 +2359,7 @@ var Store = /*#__PURE__*/function () {
|
|
2355
2359
|
return Store;
|
2356
2360
|
}();
|
2357
2361
|
/* harmony default export */ const src_store = (Store);
|
2358
|
-
;// ../../packages/cascader/src/cascader.tsx
|
2362
|
+
;// CONCATENATED MODULE: ../../packages/cascader/src/cascader.tsx
|
2359
2363
|
|
2360
2364
|
/*
|
2361
2365
|
* Tencent is pleased to support the open source community by making
|
@@ -2709,7 +2713,7 @@ var Store = /*#__PURE__*/function () {
|
|
2709
2713
|
var _this = this;
|
2710
2714
|
// 定义suffixIcon函数,用于根据不同情况渲染后缀图标
|
2711
2715
|
var suffixIcon = function suffixIcon() {
|
2712
|
-
if (_this.clearable && _this.isHover && !_this.disabled) {
|
2716
|
+
if (_this.clearable && _this.isHover && !_this.disabled && _this.modelValue.length > 0) {
|
2713
2717
|
// 当可清空、鼠标悬浮且未禁用时,渲染清空图标
|
2714
2718
|
return (0,external_vue_.createVNode)(icon_namespaceObject.Close, {
|
2715
2719
|
"class": _this.resolveClassName('icon-clear-icon'),
|
@@ -2774,7 +2778,7 @@ var Store = /*#__PURE__*/function () {
|
|
2774
2778
|
};
|
2775
2779
|
// 定义popoverRender函数,用于渲染弹出框
|
2776
2780
|
var popoverRender = function popoverRender() {
|
2777
|
-
return (0,external_vue_.createVNode)(
|
2781
|
+
return (0,external_vue_.createVNode)(popover_["default"], {
|
2778
2782
|
"ref": "popover",
|
2779
2783
|
"class": _this.resolveClassName('cascader-popover-wrapper'),
|
2780
2784
|
"arrow": false,
|
@@ -2852,7 +2856,7 @@ var Store = /*#__PURE__*/function () {
|
|
2852
2856
|
}, [suffixIcon(), popoverRender()])]);
|
2853
2857
|
}
|
2854
2858
|
}));
|
2855
|
-
;// ../../packages/cascader/src/index.ts
|
2859
|
+
;// CONCATENATED MODULE: ../../packages/cascader/src/index.ts
|
2856
2860
|
/*
|
2857
2861
|
* Tencent is pleased to support the open source community by making
|
2858
2862
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -2886,6 +2890,8 @@ var BkCascader = (0,shared_.withInstallProps)(cascader, {
|
|
2886
2890
|
});
|
2887
2891
|
/* harmony default export */ const cascader_src = (BkCascader);
|
2888
2892
|
|
2893
|
+
})();
|
2894
|
+
|
2889
2895
|
var __webpack_exports__BkCascader = __webpack_exports__.BkCascader;
|
2890
2896
|
var __webpack_exports__BkCascaderPanel = __webpack_exports__.BkCascaderPanel;
|
2891
2897
|
var __webpack_exports__default = __webpack_exports__["default"];
|