bkui-vue 2.0.2-beta.1 → 2.0.2-beta.11
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 +5609 -5575
- 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 +132 -129
- 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 +2 -2
- 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
@@ -1,9 +1,9 @@
|
|
1
1
|
import "../styles/reset.css";
|
2
2
|
import "./color-picker.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";
|
@@ -12,207 +12,7 @@ import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_date_picker_d04526d6__ from "
|
|
12
12
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__ from "../icon";
|
13
13
|
/******/ var __webpack_modules__ = ({
|
14
14
|
|
15
|
-
/***/
|
16
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
17
|
-
|
18
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
19
|
-
/* harmony export */ "default": () => (/* binding */ toPropertyKey)
|
20
|
-
/* harmony export */ });
|
21
|
-
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7545);
|
22
|
-
/* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9824);
|
23
|
-
|
24
|
-
|
25
|
-
function toPropertyKey(t) {
|
26
|
-
var i = (0,_toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t, "string");
|
27
|
-
return "symbol" == (0,_typeof_js__WEBPACK_IMPORTED_MODULE_1__["default"])(i) ? i : String(i);
|
28
|
-
}
|
29
|
-
|
30
|
-
/***/ }),
|
31
|
-
|
32
|
-
/***/ 1043:
|
33
|
-
/***/ ((module) => {
|
34
|
-
|
35
|
-
/**
|
36
|
-
* Copyright (c) 2015, Facebook, Inc.
|
37
|
-
* All rights reserved.
|
38
|
-
*
|
39
|
-
* This source code is licensed under the BSD-style license found in the
|
40
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
41
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
42
|
-
*
|
43
|
-
* @providesModule ExecutionEnvironment
|
44
|
-
*/
|
45
|
-
|
46
|
-
/*jslint evil: true */
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
var canUseDOM = !!(
|
51
|
-
typeof window !== 'undefined' &&
|
52
|
-
window.document &&
|
53
|
-
window.document.createElement
|
54
|
-
);
|
55
|
-
|
56
|
-
/**
|
57
|
-
* Simple, lightweight module assisting with the detection and context of
|
58
|
-
* Worker. Helps avoid circular dependencies and allows code to reason about
|
59
|
-
* whether or not they are in a Worker, even if they never include the main
|
60
|
-
* `ReactWorker` dependency.
|
61
|
-
*/
|
62
|
-
var ExecutionEnvironment = {
|
63
|
-
|
64
|
-
canUseDOM: canUseDOM,
|
65
|
-
|
66
|
-
canUseWorkers: typeof Worker !== 'undefined',
|
67
|
-
|
68
|
-
canUseEventListeners:
|
69
|
-
canUseDOM && !!(window.addEventListener || window.attachEvent),
|
70
|
-
|
71
|
-
canUseViewport: canUseDOM && !!window.screen,
|
72
|
-
|
73
|
-
isInWorker: !canUseDOM // For now, this is true - might change in the future.
|
74
|
-
|
75
|
-
};
|
76
|
-
|
77
|
-
module.exports = ExecutionEnvironment;
|
78
|
-
|
79
|
-
|
80
|
-
/***/ }),
|
81
|
-
|
82
|
-
/***/ 2586:
|
83
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
84
|
-
|
85
|
-
/**
|
86
|
-
* Copyright 2013-2015, Facebook, Inc.
|
87
|
-
* All rights reserved.
|
88
|
-
*
|
89
|
-
* This source code is licensed under the BSD-style license found in the
|
90
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
91
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
92
|
-
*
|
93
|
-
* @providesModule isEventSupported
|
94
|
-
*/
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
var ExecutionEnvironment = __webpack_require__(1043);
|
99
|
-
|
100
|
-
var useHasFeature;
|
101
|
-
if (ExecutionEnvironment.canUseDOM) {
|
102
|
-
useHasFeature =
|
103
|
-
document.implementation &&
|
104
|
-
document.implementation.hasFeature &&
|
105
|
-
// always returns true in newer browsers as per the standard.
|
106
|
-
// @see http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature
|
107
|
-
document.implementation.hasFeature('', '') !== true;
|
108
|
-
}
|
109
|
-
|
110
|
-
/**
|
111
|
-
* Checks if an event is supported in the current execution environment.
|
112
|
-
*
|
113
|
-
* NOTE: This will not work correctly for non-generic events such as `change`,
|
114
|
-
* `reset`, `load`, `error`, and `select`.
|
115
|
-
*
|
116
|
-
* Borrows from Modernizr.
|
117
|
-
*
|
118
|
-
* @param {string} eventNameSuffix Event name, e.g. "click".
|
119
|
-
* @param {?boolean} capture Check if the capture phase is supported.
|
120
|
-
* @return {boolean} True if the event is supported.
|
121
|
-
* @internal
|
122
|
-
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
123
|
-
*/
|
124
|
-
function isEventSupported(eventNameSuffix, capture) {
|
125
|
-
if (!ExecutionEnvironment.canUseDOM ||
|
126
|
-
capture && !('addEventListener' in document)) {
|
127
|
-
return false;
|
128
|
-
}
|
129
|
-
|
130
|
-
var eventName = 'on' + eventNameSuffix;
|
131
|
-
var isSupported = eventName in document;
|
132
|
-
|
133
|
-
if (!isSupported) {
|
134
|
-
var element = document.createElement('div');
|
135
|
-
element.setAttribute(eventName, 'return;');
|
136
|
-
isSupported = typeof element[eventName] === 'function';
|
137
|
-
}
|
138
|
-
|
139
|
-
if (!isSupported && useHasFeature && eventNameSuffix === 'wheel') {
|
140
|
-
// This is the only way to test support for the `wheel` event in IE9+.
|
141
|
-
isSupported = document.implementation.hasFeature('Events.wheel', '3.0');
|
142
|
-
}
|
143
|
-
|
144
|
-
return isSupported;
|
145
|
-
}
|
146
|
-
|
147
|
-
module.exports = isEventSupported;
|
148
|
-
|
149
|
-
|
150
|
-
/***/ }),
|
151
|
-
|
152
|
-
/***/ 2880:
|
153
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
154
|
-
|
155
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
156
|
-
/* harmony export */ "default": () => (/* binding */ _nonIterableSpread)
|
157
|
-
/* harmony export */ });
|
158
|
-
function _nonIterableSpread() {
|
159
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
160
|
-
}
|
161
|
-
|
162
|
-
/***/ }),
|
163
|
-
|
164
|
-
/***/ 3492:
|
165
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
166
|
-
|
167
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
168
|
-
/* harmony export */ "default": () => (/* binding */ _arrayWithoutHoles)
|
169
|
-
/* harmony export */ });
|
170
|
-
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6284);
|
171
|
-
|
172
|
-
function _arrayWithoutHoles(arr) {
|
173
|
-
if (Array.isArray(arr)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(arr);
|
174
|
-
}
|
175
|
-
|
176
|
-
/***/ }),
|
177
|
-
|
178
|
-
/***/ 4430:
|
179
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
180
|
-
|
181
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
182
|
-
/* harmony export */ "default": () => (/* binding */ _iterableToArray)
|
183
|
-
/* harmony export */ });
|
184
|
-
function _iterableToArray(iter) {
|
185
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
186
|
-
}
|
187
|
-
|
188
|
-
/***/ }),
|
189
|
-
|
190
|
-
/***/ 4586:
|
191
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
192
|
-
|
193
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
194
|
-
/* harmony export */ "default": () => (/* binding */ _defineProperty)
|
195
|
-
/* harmony export */ });
|
196
|
-
/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(205);
|
197
|
-
|
198
|
-
function _defineProperty(obj, key, value) {
|
199
|
-
key = (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["default"])(key);
|
200
|
-
if (key in obj) {
|
201
|
-
Object.defineProperty(obj, key, {
|
202
|
-
value: value,
|
203
|
-
enumerable: true,
|
204
|
-
configurable: true,
|
205
|
-
writable: true
|
206
|
-
});
|
207
|
-
} else {
|
208
|
-
obj[key] = value;
|
209
|
-
}
|
210
|
-
return obj;
|
211
|
-
}
|
212
|
-
|
213
|
-
/***/ }),
|
214
|
-
|
215
|
-
/***/ 4923:
|
15
|
+
/***/ 668:
|
216
16
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
217
17
|
|
218
18
|
|
@@ -223,7 +23,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
223
23
|
|
224
24
|
// UNUSED EXPORTS: bkEllipsis, bkEllipsisInstance, bkLoading, bkTooltips, mousewheel, overflowTitle
|
225
25
|
|
226
|
-
;// ../../packages/directives/src/clickoutside.ts
|
26
|
+
;// CONCATENATED MODULE: ../../packages/directives/src/clickoutside.ts
|
227
27
|
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; } } }; }
|
228
28
|
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); }
|
229
29
|
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; }
|
@@ -350,14 +150,10 @@ ClickOutside.install = function (app) {
|
|
350
150
|
};
|
351
151
|
/* harmony default export */ const clickoutside = (ClickOutside);
|
352
152
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
353
|
-
var esm_typeof = __webpack_require__(
|
354
|
-
|
355
|
-
var
|
356
|
-
|
357
|
-
}
|
358
|
-
var y = (x) => (() => (x))
|
359
|
-
const plugin_popover_namespaceObject = x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_plugin_popover_300e25d0__["default"]) });
|
360
|
-
;// ../../packages/directives/src/ellipsis.ts
|
153
|
+
var esm_typeof = __webpack_require__(6522);
|
154
|
+
// EXTERNAL MODULE: external "../popover"
|
155
|
+
var popover_ = __webpack_require__(563);
|
156
|
+
;// CONCATENATED MODULE: ../../packages/directives/src/ellipsis.ts
|
361
157
|
|
362
158
|
/*
|
363
159
|
* Tencent is pleased to support the open source community by making
|
@@ -434,7 +230,7 @@ var createInstance = function createInstance(el, binding) {
|
|
434
230
|
onContentMouseenter: handleContentEnter,
|
435
231
|
onContentMouseleave: handleContentLeave
|
436
232
|
});
|
437
|
-
instance = (0,
|
233
|
+
instance = (0,popover_.$bkPopover)(targetOptions);
|
438
234
|
}, 300);
|
439
235
|
};
|
440
236
|
var handleMouseLeave = function handleMouseLeave() {
|
@@ -468,9 +264,9 @@ var ellipsis = {
|
|
468
264
|
};
|
469
265
|
/* harmony default export */ const src_ellipsis = ((/* unused pure expression or super */ null && (ellipsis)));
|
470
266
|
// EXTERNAL MODULE: ../../node_modules/normalize-wheel/index.js
|
471
|
-
var normalize_wheel = __webpack_require__(
|
267
|
+
var normalize_wheel = __webpack_require__(2439);
|
472
268
|
var normalize_wheel_default = /*#__PURE__*/__webpack_require__.n(normalize_wheel);
|
473
|
-
;// ../../packages/directives/src/mousewheel.ts
|
269
|
+
;// CONCATENATED MODULE: ../../packages/directives/src/mousewheel.ts
|
474
270
|
/*
|
475
271
|
* Tencent is pleased to support the open source community by making
|
476
272
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -513,20 +309,18 @@ var mousewheel = {
|
|
513
309
|
};
|
514
310
|
/* harmony default export */ const src_mousewheel = ((/* unused pure expression or super */ null && (mousewheel)));
|
515
311
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
516
|
-
var defineProperty = __webpack_require__(
|
312
|
+
var defineProperty = __webpack_require__(6666);
|
517
313
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
518
|
-
var toConsumableArray = __webpack_require__(
|
314
|
+
var toConsumableArray = __webpack_require__(7930);
|
519
315
|
// EXTERNAL MODULE: external "vue"
|
520
|
-
var external_vue_ = __webpack_require__(
|
316
|
+
var external_vue_ = __webpack_require__(6609);
|
521
317
|
// EXTERNAL MODULE: external "../shared"
|
522
|
-
var shared_ = __webpack_require__(
|
523
|
-
;// external "@popperjs/core"
|
524
|
-
var
|
525
|
-
|
526
|
-
}
|
527
|
-
|
528
|
-
const core_namespaceObject = core_x({ ["createPopper"]: () => (__WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__.createPopper) });
|
529
|
-
;// ../../packages/directives/src/tooltips.ts
|
318
|
+
var shared_ = __webpack_require__(9253);
|
319
|
+
;// CONCATENATED MODULE: external "@popperjs/core"
|
320
|
+
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
321
|
+
var y = x => () => x
|
322
|
+
const core_namespaceObject = x({ ["createPopper"]: () => __WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__.createPopper });
|
323
|
+
;// CONCATENATED MODULE: ../../packages/directives/src/tooltips.ts
|
530
324
|
|
531
325
|
|
532
326
|
|
@@ -818,19 +612,15 @@ function hide(el) {
|
|
818
612
|
}
|
819
613
|
}
|
820
614
|
/* harmony default export */ const src_tooltips = ((/* unused pure expression or super */ null && (tooltips)));
|
821
|
-
;// external "../loading"
|
822
|
-
var external_loading_x = (y)
|
823
|
-
|
824
|
-
}
|
825
|
-
var external_loading_y = (x) => (() => (x))
|
615
|
+
;// CONCATENATED MODULE: external "../loading"
|
616
|
+
var external_loading_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
617
|
+
var external_loading_y = x => () => x
|
826
618
|
const external_loading_namespaceObject = external_loading_x({ });
|
827
|
-
;// external "../overflow-title"
|
828
|
-
var external_overflow_title_x = (y)
|
829
|
-
|
830
|
-
}
|
831
|
-
var external_overflow_title_y = (x) => (() => (x))
|
619
|
+
;// CONCATENATED MODULE: external "../overflow-title"
|
620
|
+
var external_overflow_title_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
621
|
+
var external_overflow_title_y = x => () => x
|
832
622
|
const external_overflow_title_namespaceObject = external_overflow_title_x({ });
|
833
|
-
;// ../../packages/directives/src/index.ts
|
623
|
+
;// CONCATENATED MODULE: ../../packages/directives/src/index.ts
|
834
624
|
/*
|
835
625
|
* Tencent is pleased to support the open source community by making
|
836
626
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -866,9 +656,17 @@ const external_overflow_title_namespaceObject = external_overflow_title_x({ });
|
|
866
656
|
|
867
657
|
/***/ }),
|
868
658
|
|
869
|
-
/***/
|
659
|
+
/***/ 2439:
|
870
660
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
871
661
|
|
662
|
+
module.exports = __webpack_require__(2527);
|
663
|
+
|
664
|
+
|
665
|
+
/***/ }),
|
666
|
+
|
667
|
+
/***/ 7430:
|
668
|
+
/***/ ((module) => {
|
669
|
+
|
872
670
|
/**
|
873
671
|
* Copyright (c) 2015, Facebook, Inc.
|
874
672
|
* All rights reserved.
|
@@ -877,258 +675,64 @@ const external_overflow_title_namespaceObject = external_overflow_title_x({ });
|
|
877
675
|
* LICENSE file in the root directory of this source tree. An additional grant
|
878
676
|
* of patent rights can be found in the PATENTS file in the same directory.
|
879
677
|
*
|
880
|
-
* @providesModule
|
881
|
-
* @typechecks
|
678
|
+
* @providesModule ExecutionEnvironment
|
882
679
|
*/
|
883
680
|
|
681
|
+
/*jslint evil: true */
|
682
|
+
|
683
|
+
|
684
|
+
|
685
|
+
var canUseDOM = !!(
|
686
|
+
typeof window !== 'undefined' &&
|
687
|
+
window.document &&
|
688
|
+
window.document.createElement
|
689
|
+
);
|
690
|
+
|
691
|
+
/**
|
692
|
+
* Simple, lightweight module assisting with the detection and context of
|
693
|
+
* Worker. Helps avoid circular dependencies and allows code to reason about
|
694
|
+
* whether or not they are in a Worker, even if they never include the main
|
695
|
+
* `ReactWorker` dependency.
|
696
|
+
*/
|
697
|
+
var ExecutionEnvironment = {
|
884
698
|
|
699
|
+
canUseDOM: canUseDOM,
|
885
700
|
|
886
|
-
|
701
|
+
canUseWorkers: typeof Worker !== 'undefined',
|
887
702
|
|
888
|
-
|
703
|
+
canUseEventListeners:
|
704
|
+
canUseDOM && !!(window.addEventListener || window.attachEvent),
|
889
705
|
|
706
|
+
canUseViewport: canUseDOM && !!window.screen,
|
890
707
|
|
891
|
-
//
|
892
|
-
|
893
|
-
|
894
|
-
|
708
|
+
isInWorker: !canUseDOM // For now, this is true - might change in the future.
|
709
|
+
|
710
|
+
};
|
711
|
+
|
712
|
+
module.exports = ExecutionEnvironment;
|
713
|
+
|
714
|
+
|
715
|
+
/***/ }),
|
716
|
+
|
717
|
+
/***/ 6377:
|
718
|
+
/***/ ((module) => {
|
895
719
|
|
896
720
|
/**
|
897
|
-
*
|
898
|
-
* complicated, thus this doc is long and (hopefully) detailed enough to answer
|
899
|
-
* your questions.
|
721
|
+
* Copyright 2004-present Facebook. All Rights Reserved.
|
900
722
|
*
|
901
|
-
*
|
902
|
-
|
723
|
+
* @providesModule UserAgent_DEPRECATED
|
724
|
+
*/
|
725
|
+
|
726
|
+
/**
|
727
|
+
* Provides entirely client-side User Agent and OS detection. You should prefer
|
728
|
+
* the non-deprecated UserAgent module when possible, which exposes our
|
729
|
+
* authoritative server-side PHP-based detection to the client.
|
903
730
|
*
|
904
|
-
*
|
731
|
+
* Usage is straightforward:
|
905
732
|
*
|
906
|
-
*
|
907
|
-
*
|
908
|
-
*
|
909
|
-
* 'DOMMouseScroll' -- FF(0.9.7+) since 2003
|
910
|
-
*
|
911
|
-
* So what to do? The is the best:
|
912
|
-
*
|
913
|
-
* normalizeWheel.getEventType();
|
914
|
-
*
|
915
|
-
* In your event callback, use this code to get sane interpretation of the
|
916
|
-
* deltas. This code will return an object with properties:
|
917
|
-
*
|
918
|
-
* spinX -- normalized spin speed (use for zoom) - x plane
|
919
|
-
* spinY -- " - y plane
|
920
|
-
* pixelX -- normalized distance (to pixels) - x plane
|
921
|
-
* pixelY -- " - y plane
|
922
|
-
*
|
923
|
-
* Wheel values are provided by the browser assuming you are using the wheel to
|
924
|
-
* scroll a web page by a number of lines or pixels (or pages). Values can vary
|
925
|
-
* significantly on different platforms and browsers, forgetting that you can
|
926
|
-
* scroll at different speeds. Some devices (like trackpads) emit more events
|
927
|
-
* at smaller increments with fine granularity, and some emit massive jumps with
|
928
|
-
* linear speed or acceleration.
|
929
|
-
*
|
930
|
-
* This code does its best to normalize the deltas for you:
|
931
|
-
*
|
932
|
-
* - spin is trying to normalize how far the wheel was spun (or trackpad
|
933
|
-
* dragged). This is super useful for zoom support where you want to
|
934
|
-
* throw away the chunky scroll steps on the PC and make those equal to
|
935
|
-
* the slow and smooth tiny steps on the Mac. Key data: This code tries to
|
936
|
-
* resolve a single slow step on a wheel to 1.
|
937
|
-
*
|
938
|
-
* - pixel is normalizing the desired scroll delta in pixel units. You'll
|
939
|
-
* get the crazy differences between browsers, but at least it'll be in
|
940
|
-
* pixels!
|
941
|
-
*
|
942
|
-
* - positive value indicates scrolling DOWN/RIGHT, negative UP/LEFT. This
|
943
|
-
* should translate to positive value zooming IN, negative zooming OUT.
|
944
|
-
* This matches the newer 'wheel' event.
|
945
|
-
*
|
946
|
-
* Why are there spinX, spinY (or pixels)?
|
947
|
-
*
|
948
|
-
* - spinX is a 2-finger side drag on the trackpad, and a shift + wheel turn
|
949
|
-
* with a mouse. It results in side-scrolling in the browser by default.
|
950
|
-
*
|
951
|
-
* - spinY is what you expect -- it's the classic axis of a mouse wheel.
|
952
|
-
*
|
953
|
-
* - I dropped spinZ/pixelZ. It is supported by the DOM 3 'wheel' event and
|
954
|
-
* probably is by browsers in conjunction with fancy 3D controllers .. but
|
955
|
-
* you know.
|
956
|
-
*
|
957
|
-
* Implementation info:
|
958
|
-
*
|
959
|
-
* Examples of 'wheel' event if you scroll slowly (down) by one step with an
|
960
|
-
* average mouse:
|
961
|
-
*
|
962
|
-
* OS X + Chrome (mouse) - 4 pixel delta (wheelDelta -120)
|
963
|
-
* OS X + Safari (mouse) - N/A pixel delta (wheelDelta -12)
|
964
|
-
* OS X + Firefox (mouse) - 0.1 line delta (wheelDelta N/A)
|
965
|
-
* Win8 + Chrome (mouse) - 100 pixel delta (wheelDelta -120)
|
966
|
-
* Win8 + Firefox (mouse) - 3 line delta (wheelDelta -120)
|
967
|
-
*
|
968
|
-
* On the trackpad:
|
969
|
-
*
|
970
|
-
* OS X + Chrome (trackpad) - 2 pixel delta (wheelDelta -6)
|
971
|
-
* OS X + Firefox (trackpad) - 1 pixel delta (wheelDelta N/A)
|
972
|
-
*
|
973
|
-
* On other/older browsers.. it's more complicated as there can be multiple and
|
974
|
-
* also missing delta values.
|
975
|
-
*
|
976
|
-
* The 'wheel' event is more standard:
|
977
|
-
*
|
978
|
-
* http://www.w3.org/TR/DOM-Level-3-Events/#events-wheelevents
|
979
|
-
*
|
980
|
-
* The basics is that it includes a unit, deltaMode (pixels, lines, pages), and
|
981
|
-
* deltaX, deltaY and deltaZ. Some browsers provide other values to maintain
|
982
|
-
* backward compatibility with older events. Those other values help us
|
983
|
-
* better normalize spin speed. Example of what the browsers provide:
|
984
|
-
*
|
985
|
-
* | event.wheelDelta | event.detail
|
986
|
-
* ------------------+------------------+--------------
|
987
|
-
* Safari v5/OS X | -120 | 0
|
988
|
-
* Safari v5/Win7 | -120 | 0
|
989
|
-
* Chrome v17/OS X | -120 | 0
|
990
|
-
* Chrome v17/Win7 | -120 | 0
|
991
|
-
* IE9/Win7 | -120 | undefined
|
992
|
-
* Firefox v4/OS X | undefined | 1
|
993
|
-
* Firefox v4/Win7 | undefined | 3
|
994
|
-
*
|
995
|
-
*/
|
996
|
-
function normalizeWheel(/*object*/ event) /*object*/ {
|
997
|
-
var sX = 0, sY = 0, // spinX, spinY
|
998
|
-
pX = 0, pY = 0; // pixelX, pixelY
|
999
|
-
|
1000
|
-
// Legacy
|
1001
|
-
if ('detail' in event) { sY = event.detail; }
|
1002
|
-
if ('wheelDelta' in event) { sY = -event.wheelDelta / 120; }
|
1003
|
-
if ('wheelDeltaY' in event) { sY = -event.wheelDeltaY / 120; }
|
1004
|
-
if ('wheelDeltaX' in event) { sX = -event.wheelDeltaX / 120; }
|
1005
|
-
|
1006
|
-
// side scrolling on FF with DOMMouseScroll
|
1007
|
-
if ( 'axis' in event && event.axis === event.HORIZONTAL_AXIS ) {
|
1008
|
-
sX = sY;
|
1009
|
-
sY = 0;
|
1010
|
-
}
|
1011
|
-
|
1012
|
-
pX = sX * PIXEL_STEP;
|
1013
|
-
pY = sY * PIXEL_STEP;
|
1014
|
-
|
1015
|
-
if ('deltaY' in event) { pY = event.deltaY; }
|
1016
|
-
if ('deltaX' in event) { pX = event.deltaX; }
|
1017
|
-
|
1018
|
-
if ((pX || pY) && event.deltaMode) {
|
1019
|
-
if (event.deltaMode == 1) { // delta in LINE units
|
1020
|
-
pX *= LINE_HEIGHT;
|
1021
|
-
pY *= LINE_HEIGHT;
|
1022
|
-
} else { // delta in PAGE units
|
1023
|
-
pX *= PAGE_HEIGHT;
|
1024
|
-
pY *= PAGE_HEIGHT;
|
1025
|
-
}
|
1026
|
-
}
|
1027
|
-
|
1028
|
-
// Fall-back if spin cannot be determined
|
1029
|
-
if (pX && !sX) { sX = (pX < 1) ? -1 : 1; }
|
1030
|
-
if (pY && !sY) { sY = (pY < 1) ? -1 : 1; }
|
1031
|
-
|
1032
|
-
return { spinX : sX,
|
1033
|
-
spinY : sY,
|
1034
|
-
pixelX : pX,
|
1035
|
-
pixelY : pY };
|
1036
|
-
}
|
1037
|
-
|
1038
|
-
|
1039
|
-
/**
|
1040
|
-
* The best combination if you prefer spinX + spinY normalization. It favors
|
1041
|
-
* the older DOMMouseScroll for Firefox, as FF does not include wheelDelta with
|
1042
|
-
* 'wheel' event, making spin speed determination impossible.
|
1043
|
-
*/
|
1044
|
-
normalizeWheel.getEventType = function() /*string*/ {
|
1045
|
-
return (UserAgent_DEPRECATED.firefox())
|
1046
|
-
? 'DOMMouseScroll'
|
1047
|
-
: (isEventSupported('wheel'))
|
1048
|
-
? 'wheel'
|
1049
|
-
: 'mousewheel';
|
1050
|
-
};
|
1051
|
-
|
1052
|
-
module.exports = normalizeWheel;
|
1053
|
-
|
1054
|
-
|
1055
|
-
/***/ }),
|
1056
|
-
|
1057
|
-
/***/ 5153:
|
1058
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1059
|
-
|
1060
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1061
|
-
/* harmony export */ "default": () => (/* binding */ _toConsumableArray)
|
1062
|
-
/* harmony export */ });
|
1063
|
-
/* harmony import */ var _arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3492);
|
1064
|
-
/* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4430);
|
1065
|
-
/* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7985);
|
1066
|
-
/* harmony import */ var _nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(2880);
|
1067
|
-
|
1068
|
-
|
1069
|
-
|
1070
|
-
|
1071
|
-
function _toConsumableArray(arr) {
|
1072
|
-
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"])();
|
1073
|
-
}
|
1074
|
-
|
1075
|
-
/***/ }),
|
1076
|
-
|
1077
|
-
/***/ 5166:
|
1078
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1079
|
-
|
1080
|
-
var x = (y) => {
|
1081
|
-
var x = {}; __webpack_require__.d(x, y); return x
|
1082
|
-
}
|
1083
|
-
var y = (x) => (() => (x))
|
1084
|
-
module.exports = x({ ["PropTypes"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes), ["bkZIndexManager"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.bkZIndexManager), ["classes"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.classes), ["resolveClassName"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.resolveClassName), ["useFormItem"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.useFormItem), ["withInstall"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall) });
|
1085
|
-
|
1086
|
-
/***/ }),
|
1087
|
-
|
1088
|
-
/***/ 5286:
|
1089
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1090
|
-
|
1091
|
-
var x = (y) => {
|
1092
|
-
var x = {}; __webpack_require__.d(x, y); return x
|
1093
|
-
}
|
1094
|
-
var y = (x) => (() => (x))
|
1095
|
-
module.exports = x({ ["Fragment"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.Fragment), ["Transition"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.Transition), ["computed"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.computed), ["createVNode"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.createVNode), ["defineComponent"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.defineComponent), ["h"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.h), ["nextTick"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.nextTick), ["onBeforeMount"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.onBeforeMount), ["reactive"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.reactive), ["ref"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.ref), ["render"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.render), ["resolveDirective"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective), ["vShow"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.vShow), ["watch"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.watch), ["withDirectives"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.withDirectives) });
|
1096
|
-
|
1097
|
-
/***/ }),
|
1098
|
-
|
1099
|
-
/***/ 6284:
|
1100
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1101
|
-
|
1102
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1103
|
-
/* harmony export */ "default": () => (/* binding */ _arrayLikeToArray)
|
1104
|
-
/* harmony export */ });
|
1105
|
-
function _arrayLikeToArray(arr, len) {
|
1106
|
-
if (len == null || len > arr.length) len = arr.length;
|
1107
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
1108
|
-
return arr2;
|
1109
|
-
}
|
1110
|
-
|
1111
|
-
/***/ }),
|
1112
|
-
|
1113
|
-
/***/ 7416:
|
1114
|
-
/***/ ((module) => {
|
1115
|
-
|
1116
|
-
/**
|
1117
|
-
* Copyright 2004-present Facebook. All Rights Reserved.
|
1118
|
-
*
|
1119
|
-
* @providesModule UserAgent_DEPRECATED
|
1120
|
-
*/
|
1121
|
-
|
1122
|
-
/**
|
1123
|
-
* Provides entirely client-side User Agent and OS detection. You should prefer
|
1124
|
-
* the non-deprecated UserAgent module when possible, which exposes our
|
1125
|
-
* authoritative server-side PHP-based detection to the client.
|
1126
|
-
*
|
1127
|
-
* Usage is straightforward:
|
1128
|
-
*
|
1129
|
-
* if (UserAgent_DEPRECATED.ie()) {
|
1130
|
-
* // IE
|
1131
|
-
* }
|
733
|
+
* if (UserAgent_DEPRECATED.ie()) {
|
734
|
+
* // IE
|
735
|
+
* }
|
1132
736
|
*
|
1133
737
|
* You can also do version checks:
|
1134
738
|
*
|
@@ -1277,180 +881,517 @@ var UserAgent_DEPRECATED = {
|
|
1277
881
|
},
|
1278
882
|
|
1279
883
|
|
1280
|
-
/**
|
1281
|
-
* Whether the browser is 64-bit IE. Really, this is kind of weak sauce; we
|
1282
|
-
* only need this because Skype can't handle 64-bit IE yet. We need to remove
|
1283
|
-
* this when we don't need it -- tracked by #601957.
|
1284
|
-
*/
|
1285
|
-
ie64: function() {
|
1286
|
-
return UserAgent_DEPRECATED.ie() && _win64;
|
1287
|
-
},
|
884
|
+
/**
|
885
|
+
* Whether the browser is 64-bit IE. Really, this is kind of weak sauce; we
|
886
|
+
* only need this because Skype can't handle 64-bit IE yet. We need to remove
|
887
|
+
* this when we don't need it -- tracked by #601957.
|
888
|
+
*/
|
889
|
+
ie64: function() {
|
890
|
+
return UserAgent_DEPRECATED.ie() && _win64;
|
891
|
+
},
|
892
|
+
|
893
|
+
/**
|
894
|
+
* Check if the UA is Firefox.
|
895
|
+
*
|
896
|
+
*
|
897
|
+
* @return float|NaN Version number (if match) or NaN.
|
898
|
+
*/
|
899
|
+
firefox: function() {
|
900
|
+
return _populate() || _firefox;
|
901
|
+
},
|
902
|
+
|
903
|
+
|
904
|
+
/**
|
905
|
+
* Check if the UA is Opera.
|
906
|
+
*
|
907
|
+
*
|
908
|
+
* @return float|NaN Version number (if match) or NaN.
|
909
|
+
*/
|
910
|
+
opera: function() {
|
911
|
+
return _populate() || _opera;
|
912
|
+
},
|
913
|
+
|
914
|
+
|
915
|
+
/**
|
916
|
+
* Check if the UA is WebKit.
|
917
|
+
*
|
918
|
+
*
|
919
|
+
* @return float|NaN Version number (if match) or NaN.
|
920
|
+
*/
|
921
|
+
webkit: function() {
|
922
|
+
return _populate() || _webkit;
|
923
|
+
},
|
924
|
+
|
925
|
+
/**
|
926
|
+
* For Push
|
927
|
+
* WILL BE REMOVED VERY SOON. Use UserAgent_DEPRECATED.webkit
|
928
|
+
*/
|
929
|
+
safari: function() {
|
930
|
+
return UserAgent_DEPRECATED.webkit();
|
931
|
+
},
|
932
|
+
|
933
|
+
/**
|
934
|
+
* Check if the UA is a Chrome browser.
|
935
|
+
*
|
936
|
+
*
|
937
|
+
* @return float|NaN Version number (if match) or NaN.
|
938
|
+
*/
|
939
|
+
chrome : function() {
|
940
|
+
return _populate() || _chrome;
|
941
|
+
},
|
942
|
+
|
943
|
+
|
944
|
+
/**
|
945
|
+
* Check if the user is running Windows.
|
946
|
+
*
|
947
|
+
* @return bool `true' if the user's OS is Windows.
|
948
|
+
*/
|
949
|
+
windows: function() {
|
950
|
+
return _populate() || _windows;
|
951
|
+
},
|
952
|
+
|
953
|
+
|
954
|
+
/**
|
955
|
+
* Check if the user is running Mac OS X.
|
956
|
+
*
|
957
|
+
* @return float|bool Returns a float if a version number is detected,
|
958
|
+
* otherwise true/false.
|
959
|
+
*/
|
960
|
+
osx: function() {
|
961
|
+
return _populate() || _osx;
|
962
|
+
},
|
963
|
+
|
964
|
+
/**
|
965
|
+
* Check if the user is running Linux.
|
966
|
+
*
|
967
|
+
* @return bool `true' if the user's OS is some flavor of Linux.
|
968
|
+
*/
|
969
|
+
linux: function() {
|
970
|
+
return _populate() || _linux;
|
971
|
+
},
|
972
|
+
|
973
|
+
/**
|
974
|
+
* Check if the user is running on an iPhone or iPod platform.
|
975
|
+
*
|
976
|
+
* @return bool `true' if the user is running some flavor of the
|
977
|
+
* iPhone OS.
|
978
|
+
*/
|
979
|
+
iphone: function() {
|
980
|
+
return _populate() || _iphone;
|
981
|
+
},
|
982
|
+
|
983
|
+
mobile: function() {
|
984
|
+
return _populate() || (_iphone || _ipad || _android || _mobile);
|
985
|
+
},
|
986
|
+
|
987
|
+
nativeApp: function() {
|
988
|
+
// webviews inside of the native apps
|
989
|
+
return _populate() || _native;
|
990
|
+
},
|
991
|
+
|
992
|
+
android: function() {
|
993
|
+
return _populate() || _android;
|
994
|
+
},
|
995
|
+
|
996
|
+
ipad: function() {
|
997
|
+
return _populate() || _ipad;
|
998
|
+
}
|
999
|
+
};
|
1000
|
+
|
1001
|
+
module.exports = UserAgent_DEPRECATED;
|
1002
|
+
|
1003
|
+
|
1004
|
+
/***/ }),
|
1005
|
+
|
1006
|
+
/***/ 3541:
|
1007
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1008
|
+
|
1009
|
+
/**
|
1010
|
+
* Copyright 2013-2015, Facebook, Inc.
|
1011
|
+
* All rights reserved.
|
1012
|
+
*
|
1013
|
+
* This source code is licensed under the BSD-style license found in the
|
1014
|
+
* LICENSE file in the root directory of this source tree. An additional grant
|
1015
|
+
* of patent rights can be found in the PATENTS file in the same directory.
|
1016
|
+
*
|
1017
|
+
* @providesModule isEventSupported
|
1018
|
+
*/
|
1019
|
+
|
1020
|
+
|
1021
|
+
|
1022
|
+
var ExecutionEnvironment = __webpack_require__(7430);
|
1023
|
+
|
1024
|
+
var useHasFeature;
|
1025
|
+
if (ExecutionEnvironment.canUseDOM) {
|
1026
|
+
useHasFeature =
|
1027
|
+
document.implementation &&
|
1028
|
+
document.implementation.hasFeature &&
|
1029
|
+
// always returns true in newer browsers as per the standard.
|
1030
|
+
// @see http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature
|
1031
|
+
document.implementation.hasFeature('', '') !== true;
|
1032
|
+
}
|
1033
|
+
|
1034
|
+
/**
|
1035
|
+
* Checks if an event is supported in the current execution environment.
|
1036
|
+
*
|
1037
|
+
* NOTE: This will not work correctly for non-generic events such as `change`,
|
1038
|
+
* `reset`, `load`, `error`, and `select`.
|
1039
|
+
*
|
1040
|
+
* Borrows from Modernizr.
|
1041
|
+
*
|
1042
|
+
* @param {string} eventNameSuffix Event name, e.g. "click".
|
1043
|
+
* @param {?boolean} capture Check if the capture phase is supported.
|
1044
|
+
* @return {boolean} True if the event is supported.
|
1045
|
+
* @internal
|
1046
|
+
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
1047
|
+
*/
|
1048
|
+
function isEventSupported(eventNameSuffix, capture) {
|
1049
|
+
if (!ExecutionEnvironment.canUseDOM ||
|
1050
|
+
capture && !('addEventListener' in document)) {
|
1051
|
+
return false;
|
1052
|
+
}
|
1053
|
+
|
1054
|
+
var eventName = 'on' + eventNameSuffix;
|
1055
|
+
var isSupported = eventName in document;
|
1056
|
+
|
1057
|
+
if (!isSupported) {
|
1058
|
+
var element = document.createElement('div');
|
1059
|
+
element.setAttribute(eventName, 'return;');
|
1060
|
+
isSupported = typeof element[eventName] === 'function';
|
1061
|
+
}
|
1062
|
+
|
1063
|
+
if (!isSupported && useHasFeature && eventNameSuffix === 'wheel') {
|
1064
|
+
// This is the only way to test support for the `wheel` event in IE9+.
|
1065
|
+
isSupported = document.implementation.hasFeature('Events.wheel', '3.0');
|
1066
|
+
}
|
1067
|
+
|
1068
|
+
return isSupported;
|
1069
|
+
}
|
1070
|
+
|
1071
|
+
module.exports = isEventSupported;
|
1072
|
+
|
1073
|
+
|
1074
|
+
/***/ }),
|
1075
|
+
|
1076
|
+
/***/ 2527:
|
1077
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1078
|
+
|
1079
|
+
/**
|
1080
|
+
* Copyright (c) 2015, Facebook, Inc.
|
1081
|
+
* All rights reserved.
|
1082
|
+
*
|
1083
|
+
* This source code is licensed under the BSD-style license found in the
|
1084
|
+
* LICENSE file in the root directory of this source tree. An additional grant
|
1085
|
+
* of patent rights can be found in the PATENTS file in the same directory.
|
1086
|
+
*
|
1087
|
+
* @providesModule normalizeWheel
|
1088
|
+
* @typechecks
|
1089
|
+
*/
|
1090
|
+
|
1091
|
+
|
1092
|
+
|
1093
|
+
var UserAgent_DEPRECATED = __webpack_require__(6377);
|
1094
|
+
|
1095
|
+
var isEventSupported = __webpack_require__(3541);
|
1096
|
+
|
1097
|
+
|
1098
|
+
// Reasonable defaults
|
1099
|
+
var PIXEL_STEP = 10;
|
1100
|
+
var LINE_HEIGHT = 40;
|
1101
|
+
var PAGE_HEIGHT = 800;
|
1102
|
+
|
1103
|
+
/**
|
1104
|
+
* Mouse wheel (and 2-finger trackpad) support on the web sucks. It is
|
1105
|
+
* complicated, thus this doc is long and (hopefully) detailed enough to answer
|
1106
|
+
* your questions.
|
1107
|
+
*
|
1108
|
+
* If you need to react to the mouse wheel in a predictable way, this code is
|
1109
|
+
* like your bestest friend. * hugs *
|
1110
|
+
*
|
1111
|
+
* As of today, there are 4 DOM event types you can listen to:
|
1112
|
+
*
|
1113
|
+
* 'wheel' -- Chrome(31+), FF(17+), IE(9+)
|
1114
|
+
* 'mousewheel' -- Chrome, IE(6+), Opera, Safari
|
1115
|
+
* 'MozMousePixelScroll' -- FF(3.5 only!) (2010-2013) -- don't bother!
|
1116
|
+
* 'DOMMouseScroll' -- FF(0.9.7+) since 2003
|
1117
|
+
*
|
1118
|
+
* So what to do? The is the best:
|
1119
|
+
*
|
1120
|
+
* normalizeWheel.getEventType();
|
1121
|
+
*
|
1122
|
+
* In your event callback, use this code to get sane interpretation of the
|
1123
|
+
* deltas. This code will return an object with properties:
|
1124
|
+
*
|
1125
|
+
* spinX -- normalized spin speed (use for zoom) - x plane
|
1126
|
+
* spinY -- " - y plane
|
1127
|
+
* pixelX -- normalized distance (to pixels) - x plane
|
1128
|
+
* pixelY -- " - y plane
|
1129
|
+
*
|
1130
|
+
* Wheel values are provided by the browser assuming you are using the wheel to
|
1131
|
+
* scroll a web page by a number of lines or pixels (or pages). Values can vary
|
1132
|
+
* significantly on different platforms and browsers, forgetting that you can
|
1133
|
+
* scroll at different speeds. Some devices (like trackpads) emit more events
|
1134
|
+
* at smaller increments with fine granularity, and some emit massive jumps with
|
1135
|
+
* linear speed or acceleration.
|
1136
|
+
*
|
1137
|
+
* This code does its best to normalize the deltas for you:
|
1138
|
+
*
|
1139
|
+
* - spin is trying to normalize how far the wheel was spun (or trackpad
|
1140
|
+
* dragged). This is super useful for zoom support where you want to
|
1141
|
+
* throw away the chunky scroll steps on the PC and make those equal to
|
1142
|
+
* the slow and smooth tiny steps on the Mac. Key data: This code tries to
|
1143
|
+
* resolve a single slow step on a wheel to 1.
|
1144
|
+
*
|
1145
|
+
* - pixel is normalizing the desired scroll delta in pixel units. You'll
|
1146
|
+
* get the crazy differences between browsers, but at least it'll be in
|
1147
|
+
* pixels!
|
1148
|
+
*
|
1149
|
+
* - positive value indicates scrolling DOWN/RIGHT, negative UP/LEFT. This
|
1150
|
+
* should translate to positive value zooming IN, negative zooming OUT.
|
1151
|
+
* This matches the newer 'wheel' event.
|
1152
|
+
*
|
1153
|
+
* Why are there spinX, spinY (or pixels)?
|
1154
|
+
*
|
1155
|
+
* - spinX is a 2-finger side drag on the trackpad, and a shift + wheel turn
|
1156
|
+
* with a mouse. It results in side-scrolling in the browser by default.
|
1157
|
+
*
|
1158
|
+
* - spinY is what you expect -- it's the classic axis of a mouse wheel.
|
1159
|
+
*
|
1160
|
+
* - I dropped spinZ/pixelZ. It is supported by the DOM 3 'wheel' event and
|
1161
|
+
* probably is by browsers in conjunction with fancy 3D controllers .. but
|
1162
|
+
* you know.
|
1163
|
+
*
|
1164
|
+
* Implementation info:
|
1165
|
+
*
|
1166
|
+
* Examples of 'wheel' event if you scroll slowly (down) by one step with an
|
1167
|
+
* average mouse:
|
1168
|
+
*
|
1169
|
+
* OS X + Chrome (mouse) - 4 pixel delta (wheelDelta -120)
|
1170
|
+
* OS X + Safari (mouse) - N/A pixel delta (wheelDelta -12)
|
1171
|
+
* OS X + Firefox (mouse) - 0.1 line delta (wheelDelta N/A)
|
1172
|
+
* Win8 + Chrome (mouse) - 100 pixel delta (wheelDelta -120)
|
1173
|
+
* Win8 + Firefox (mouse) - 3 line delta (wheelDelta -120)
|
1174
|
+
*
|
1175
|
+
* On the trackpad:
|
1176
|
+
*
|
1177
|
+
* OS X + Chrome (trackpad) - 2 pixel delta (wheelDelta -6)
|
1178
|
+
* OS X + Firefox (trackpad) - 1 pixel delta (wheelDelta N/A)
|
1179
|
+
*
|
1180
|
+
* On other/older browsers.. it's more complicated as there can be multiple and
|
1181
|
+
* also missing delta values.
|
1182
|
+
*
|
1183
|
+
* The 'wheel' event is more standard:
|
1184
|
+
*
|
1185
|
+
* http://www.w3.org/TR/DOM-Level-3-Events/#events-wheelevents
|
1186
|
+
*
|
1187
|
+
* The basics is that it includes a unit, deltaMode (pixels, lines, pages), and
|
1188
|
+
* deltaX, deltaY and deltaZ. Some browsers provide other values to maintain
|
1189
|
+
* backward compatibility with older events. Those other values help us
|
1190
|
+
* better normalize spin speed. Example of what the browsers provide:
|
1191
|
+
*
|
1192
|
+
* | event.wheelDelta | event.detail
|
1193
|
+
* ------------------+------------------+--------------
|
1194
|
+
* Safari v5/OS X | -120 | 0
|
1195
|
+
* Safari v5/Win7 | -120 | 0
|
1196
|
+
* Chrome v17/OS X | -120 | 0
|
1197
|
+
* Chrome v17/Win7 | -120 | 0
|
1198
|
+
* IE9/Win7 | -120 | undefined
|
1199
|
+
* Firefox v4/OS X | undefined | 1
|
1200
|
+
* Firefox v4/Win7 | undefined | 3
|
1201
|
+
*
|
1202
|
+
*/
|
1203
|
+
function normalizeWheel(/*object*/ event) /*object*/ {
|
1204
|
+
var sX = 0, sY = 0, // spinX, spinY
|
1205
|
+
pX = 0, pY = 0; // pixelX, pixelY
|
1206
|
+
|
1207
|
+
// Legacy
|
1208
|
+
if ('detail' in event) { sY = event.detail; }
|
1209
|
+
if ('wheelDelta' in event) { sY = -event.wheelDelta / 120; }
|
1210
|
+
if ('wheelDeltaY' in event) { sY = -event.wheelDeltaY / 120; }
|
1211
|
+
if ('wheelDeltaX' in event) { sX = -event.wheelDeltaX / 120; }
|
1212
|
+
|
1213
|
+
// side scrolling on FF with DOMMouseScroll
|
1214
|
+
if ( 'axis' in event && event.axis === event.HORIZONTAL_AXIS ) {
|
1215
|
+
sX = sY;
|
1216
|
+
sY = 0;
|
1217
|
+
}
|
1218
|
+
|
1219
|
+
pX = sX * PIXEL_STEP;
|
1220
|
+
pY = sY * PIXEL_STEP;
|
1221
|
+
|
1222
|
+
if ('deltaY' in event) { pY = event.deltaY; }
|
1223
|
+
if ('deltaX' in event) { pX = event.deltaX; }
|
1224
|
+
|
1225
|
+
if ((pX || pY) && event.deltaMode) {
|
1226
|
+
if (event.deltaMode == 1) { // delta in LINE units
|
1227
|
+
pX *= LINE_HEIGHT;
|
1228
|
+
pY *= LINE_HEIGHT;
|
1229
|
+
} else { // delta in PAGE units
|
1230
|
+
pX *= PAGE_HEIGHT;
|
1231
|
+
pY *= PAGE_HEIGHT;
|
1232
|
+
}
|
1233
|
+
}
|
1234
|
+
|
1235
|
+
// Fall-back if spin cannot be determined
|
1236
|
+
if (pX && !sX) { sX = (pX < 1) ? -1 : 1; }
|
1237
|
+
if (pY && !sY) { sY = (pY < 1) ? -1 : 1; }
|
1238
|
+
|
1239
|
+
return { spinX : sX,
|
1240
|
+
spinY : sY,
|
1241
|
+
pixelX : pX,
|
1242
|
+
pixelY : pY };
|
1243
|
+
}
|
1288
1244
|
|
1289
|
-
/**
|
1290
|
-
* Check if the UA is Firefox.
|
1291
|
-
*
|
1292
|
-
*
|
1293
|
-
* @return float|NaN Version number (if match) or NaN.
|
1294
|
-
*/
|
1295
|
-
firefox: function() {
|
1296
|
-
return _populate() || _firefox;
|
1297
|
-
},
|
1298
1245
|
|
1246
|
+
/**
|
1247
|
+
* The best combination if you prefer spinX + spinY normalization. It favors
|
1248
|
+
* the older DOMMouseScroll for Firefox, as FF does not include wheelDelta with
|
1249
|
+
* 'wheel' event, making spin speed determination impossible.
|
1250
|
+
*/
|
1251
|
+
normalizeWheel.getEventType = function() /*string*/ {
|
1252
|
+
return (UserAgent_DEPRECATED.firefox())
|
1253
|
+
? 'DOMMouseScroll'
|
1254
|
+
: (isEventSupported('wheel'))
|
1255
|
+
? 'wheel'
|
1256
|
+
: 'mousewheel';
|
1257
|
+
};
|
1299
1258
|
|
1300
|
-
|
1301
|
-
* Check if the UA is Opera.
|
1302
|
-
*
|
1303
|
-
*
|
1304
|
-
* @return float|NaN Version number (if match) or NaN.
|
1305
|
-
*/
|
1306
|
-
opera: function() {
|
1307
|
-
return _populate() || _opera;
|
1308
|
-
},
|
1259
|
+
module.exports = normalizeWheel;
|
1309
1260
|
|
1310
1261
|
|
1311
|
-
|
1312
|
-
* Check if the UA is WebKit.
|
1313
|
-
*
|
1314
|
-
*
|
1315
|
-
* @return float|NaN Version number (if match) or NaN.
|
1316
|
-
*/
|
1317
|
-
webkit: function() {
|
1318
|
-
return _populate() || _webkit;
|
1319
|
-
},
|
1262
|
+
/***/ }),
|
1320
1263
|
|
1321
|
-
|
1322
|
-
|
1323
|
-
* WILL BE REMOVED VERY SOON. Use UserAgent_DEPRECATED.webkit
|
1324
|
-
*/
|
1325
|
-
safari: function() {
|
1326
|
-
return UserAgent_DEPRECATED.webkit();
|
1327
|
-
},
|
1264
|
+
/***/ 563:
|
1265
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1328
1266
|
|
1329
|
-
|
1330
|
-
|
1331
|
-
|
1332
|
-
*
|
1333
|
-
* @return float|NaN Version number (if match) or NaN.
|
1334
|
-
*/
|
1335
|
-
chrome : function() {
|
1336
|
-
return _populate() || _chrome;
|
1337
|
-
},
|
1267
|
+
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1268
|
+
var y = x => () => x
|
1269
|
+
module.exports = x({ ["$bkPopover"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__.$bkPopover });
|
1338
1270
|
|
1271
|
+
/***/ }),
|
1339
1272
|
|
1340
|
-
|
1341
|
-
|
1342
|
-
*
|
1343
|
-
* @return bool `true' if the user's OS is Windows.
|
1344
|
-
*/
|
1345
|
-
windows: function() {
|
1346
|
-
return _populate() || _windows;
|
1347
|
-
},
|
1273
|
+
/***/ 9253:
|
1274
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1348
1275
|
|
1276
|
+
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1277
|
+
var y = x => () => x
|
1278
|
+
module.exports = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["bkZIndexManager"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.bkZIndexManager, ["classes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.classes, ["resolveClassName"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.resolveClassName, ["useFormItem"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.useFormItem, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall });
|
1349
1279
|
|
1350
|
-
|
1351
|
-
* Check if the user is running Mac OS X.
|
1352
|
-
*
|
1353
|
-
* @return float|bool Returns a float if a version number is detected,
|
1354
|
-
* otherwise true/false.
|
1355
|
-
*/
|
1356
|
-
osx: function() {
|
1357
|
-
return _populate() || _osx;
|
1358
|
-
},
|
1280
|
+
/***/ }),
|
1359
1281
|
|
1360
|
-
|
1361
|
-
|
1362
|
-
*
|
1363
|
-
* @return bool `true' if the user's OS is some flavor of Linux.
|
1364
|
-
*/
|
1365
|
-
linux: function() {
|
1366
|
-
return _populate() || _linux;
|
1367
|
-
},
|
1282
|
+
/***/ 6609:
|
1283
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1368
1284
|
|
1369
|
-
|
1370
|
-
|
1371
|
-
|
1372
|
-
* @return bool `true' if the user is running some flavor of the
|
1373
|
-
* iPhone OS.
|
1374
|
-
*/
|
1375
|
-
iphone: function() {
|
1376
|
-
return _populate() || _iphone;
|
1377
|
-
},
|
1285
|
+
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1286
|
+
var y = x => () => x
|
1287
|
+
module.exports = x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["Transition"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Transition, ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["h"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.h, ["nextTick"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.nextTick, ["onBeforeMount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeMount, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["render"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.render, ["resolveDirective"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective, ["vShow"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.vShow, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
|
1378
1288
|
|
1379
|
-
|
1380
|
-
return _populate() || (_iphone || _ipad || _android || _mobile);
|
1381
|
-
},
|
1289
|
+
/***/ }),
|
1382
1290
|
|
1383
|
-
|
1384
|
-
|
1385
|
-
return _populate() || _native;
|
1386
|
-
},
|
1291
|
+
/***/ 926:
|
1292
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1387
1293
|
|
1388
|
-
|
1389
|
-
|
1390
|
-
|
1294
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1295
|
+
/* harmony export */ "default": () => (/* binding */ _arrayLikeToArray)
|
1296
|
+
/* harmony export */ });
|
1297
|
+
function _arrayLikeToArray(arr, len) {
|
1298
|
+
if (len == null || len > arr.length) len = arr.length;
|
1299
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
1300
|
+
return arr2;
|
1301
|
+
}
|
1391
1302
|
|
1392
|
-
|
1393
|
-
return _populate() || _ipad;
|
1394
|
-
}
|
1395
|
-
};
|
1303
|
+
/***/ }),
|
1396
1304
|
|
1397
|
-
|
1305
|
+
/***/ 74:
|
1306
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1307
|
+
|
1308
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1309
|
+
/* harmony export */ "default": () => (/* binding */ _arrayWithoutHoles)
|
1310
|
+
/* harmony export */ });
|
1311
|
+
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(926);
|
1398
1312
|
|
1313
|
+
function _arrayWithoutHoles(arr) {
|
1314
|
+
if (Array.isArray(arr)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(arr);
|
1315
|
+
}
|
1399
1316
|
|
1400
1317
|
/***/ }),
|
1401
1318
|
|
1402
|
-
/***/
|
1319
|
+
/***/ 6666:
|
1403
1320
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1404
1321
|
|
1405
1322
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1406
|
-
/* harmony export */ "default": () => (/* binding */
|
1323
|
+
/* harmony export */ "default": () => (/* binding */ _defineProperty)
|
1407
1324
|
/* harmony export */ });
|
1408
|
-
|
1409
|
-
"@babel/helpers - typeof";
|
1325
|
+
/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3795);
|
1410
1326
|
|
1411
|
-
|
1412
|
-
|
1413
|
-
|
1414
|
-
|
1415
|
-
|
1327
|
+
function _defineProperty(obj, key, value) {
|
1328
|
+
key = (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["default"])(key);
|
1329
|
+
if (key in obj) {
|
1330
|
+
Object.defineProperty(obj, key, {
|
1331
|
+
value: value,
|
1332
|
+
enumerable: true,
|
1333
|
+
configurable: true,
|
1334
|
+
writable: true
|
1335
|
+
});
|
1336
|
+
} else {
|
1337
|
+
obj[key] = value;
|
1338
|
+
}
|
1339
|
+
return obj;
|
1416
1340
|
}
|
1417
1341
|
|
1418
1342
|
/***/ }),
|
1419
1343
|
|
1420
|
-
/***/
|
1344
|
+
/***/ 1079:
|
1421
1345
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1422
1346
|
|
1423
1347
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1424
|
-
/* harmony export */ "default": () => (/* binding */
|
1348
|
+
/* harmony export */ "default": () => (/* binding */ _iterableToArray)
|
1425
1349
|
/* harmony export */ });
|
1426
|
-
|
1350
|
+
function _iterableToArray(iter) {
|
1351
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
1352
|
+
}
|
1427
1353
|
|
1428
|
-
|
1429
|
-
|
1430
|
-
|
1431
|
-
|
1432
|
-
|
1433
|
-
|
1434
|
-
|
1354
|
+
/***/ }),
|
1355
|
+
|
1356
|
+
/***/ 6098:
|
1357
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1358
|
+
|
1359
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1360
|
+
/* harmony export */ "default": () => (/* binding */ _nonIterableSpread)
|
1361
|
+
/* harmony export */ });
|
1362
|
+
function _nonIterableSpread() {
|
1363
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
1435
1364
|
}
|
1436
1365
|
|
1437
1366
|
/***/ }),
|
1438
1367
|
|
1439
|
-
/***/
|
1440
|
-
/***/ ((
|
1368
|
+
/***/ 7930:
|
1369
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1370
|
+
|
1371
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1372
|
+
/* harmony export */ "default": () => (/* binding */ _toConsumableArray)
|
1373
|
+
/* harmony export */ });
|
1374
|
+
/* harmony import */ var _arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(74);
|
1375
|
+
/* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1079);
|
1376
|
+
/* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9147);
|
1377
|
+
/* harmony import */ var _nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6098);
|
1378
|
+
|
1379
|
+
|
1441
1380
|
|
1442
|
-
module.exports = __webpack_require__(5022);
|
1443
1381
|
|
1382
|
+
function _toConsumableArray(arr) {
|
1383
|
+
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"])();
|
1384
|
+
}
|
1444
1385
|
|
1445
1386
|
/***/ }),
|
1446
1387
|
|
1447
|
-
/***/
|
1388
|
+
/***/ 9745:
|
1448
1389
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1449
1390
|
|
1450
1391
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1451
1392
|
/* harmony export */ "default": () => (/* binding */ toPrimitive)
|
1452
1393
|
/* harmony export */ });
|
1453
|
-
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
1394
|
+
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6522);
|
1454
1395
|
|
1455
1396
|
function toPrimitive(t, r) {
|
1456
1397
|
if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t) || !t) return t;
|
@@ -1463,6 +1404,60 @@ function toPrimitive(t, r) {
|
|
1463
1404
|
return ("string" === r ? String : Number)(t);
|
1464
1405
|
}
|
1465
1406
|
|
1407
|
+
/***/ }),
|
1408
|
+
|
1409
|
+
/***/ 3795:
|
1410
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1411
|
+
|
1412
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1413
|
+
/* harmony export */ "default": () => (/* binding */ toPropertyKey)
|
1414
|
+
/* harmony export */ });
|
1415
|
+
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6522);
|
1416
|
+
/* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9745);
|
1417
|
+
|
1418
|
+
|
1419
|
+
function toPropertyKey(t) {
|
1420
|
+
var i = (0,_toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t, "string");
|
1421
|
+
return "symbol" == (0,_typeof_js__WEBPACK_IMPORTED_MODULE_1__["default"])(i) ? i : String(i);
|
1422
|
+
}
|
1423
|
+
|
1424
|
+
/***/ }),
|
1425
|
+
|
1426
|
+
/***/ 6522:
|
1427
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1428
|
+
|
1429
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1430
|
+
/* harmony export */ "default": () => (/* binding */ _typeof)
|
1431
|
+
/* harmony export */ });
|
1432
|
+
function _typeof(o) {
|
1433
|
+
"@babel/helpers - typeof";
|
1434
|
+
|
1435
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
1436
|
+
return typeof o;
|
1437
|
+
} : function (o) {
|
1438
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
1439
|
+
}, _typeof(o);
|
1440
|
+
}
|
1441
|
+
|
1442
|
+
/***/ }),
|
1443
|
+
|
1444
|
+
/***/ 9147:
|
1445
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1446
|
+
|
1447
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1448
|
+
/* harmony export */ "default": () => (/* binding */ _unsupportedIterableToArray)
|
1449
|
+
/* harmony export */ });
|
1450
|
+
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(926);
|
1451
|
+
|
1452
|
+
function _unsupportedIterableToArray(o, minLen) {
|
1453
|
+
if (!o) return;
|
1454
|
+
if (typeof o === "string") return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(o, minLen);
|
1455
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
1456
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
1457
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
1458
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(o, minLen);
|
1459
|
+
}
|
1460
|
+
|
1466
1461
|
/***/ })
|
1467
1462
|
|
1468
1463
|
/******/ });
|
@@ -1523,6 +1518,8 @@ function toPrimitive(t, r) {
|
|
1523
1518
|
/******/
|
1524
1519
|
/************************************************************************/
|
1525
1520
|
var __webpack_exports__ = {};
|
1521
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
1522
|
+
(() => {
|
1526
1523
|
|
1527
1524
|
// EXPORTS
|
1528
1525
|
__webpack_require__.d(__webpack_exports__, {
|
@@ -1530,38 +1527,30 @@ __webpack_require__.d(__webpack_exports__, {
|
|
1530
1527
|
});
|
1531
1528
|
|
1532
1529
|
// EXTERNAL MODULE: external "../shared"
|
1533
|
-
var shared_ = __webpack_require__(
|
1530
|
+
var shared_ = __webpack_require__(9253);
|
1534
1531
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
1535
|
-
var defineProperty = __webpack_require__(
|
1532
|
+
var defineProperty = __webpack_require__(6666);
|
1536
1533
|
// EXTERNAL MODULE: external "vue"
|
1537
|
-
var external_vue_ = __webpack_require__(
|
1538
|
-
;// external "vue-types"
|
1539
|
-
var x = (y)
|
1540
|
-
|
1541
|
-
}
|
1542
|
-
|
1543
|
-
|
1544
|
-
|
1545
|
-
|
1546
|
-
|
1547
|
-
}
|
1548
|
-
var
|
1549
|
-
const
|
1550
|
-
|
1551
|
-
var
|
1552
|
-
|
1553
|
-
}
|
1554
|
-
var
|
1555
|
-
const
|
1556
|
-
|
1557
|
-
var src = __webpack_require__(4923);
|
1558
|
-
;// external "../icon"
|
1559
|
-
var icon_x = (y) => {
|
1560
|
-
var x = {}; __webpack_require__.d(x, y); return x
|
1561
|
-
}
|
1562
|
-
var icon_y = (x) => (() => (x))
|
1563
|
-
const icon_namespaceObject = icon_x({ ["AngleUp"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleUp) });
|
1564
|
-
;// ../../node_modules/tinycolor2/esm/tinycolor.js
|
1534
|
+
var external_vue_ = __webpack_require__(6609);
|
1535
|
+
;// CONCATENATED MODULE: external "vue-types"
|
1536
|
+
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1537
|
+
var y = x => () => x
|
1538
|
+
const external_vue_types_namespaceObject = x({ ["toType"]: () => __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__.toType });
|
1539
|
+
;// CONCATENATED MODULE: external "../config-provider"
|
1540
|
+
var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1541
|
+
var config_provider_y = x => () => x
|
1542
|
+
const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix });
|
1543
|
+
;// CONCATENATED MODULE: external "../date-picker"
|
1544
|
+
var date_picker_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1545
|
+
var date_picker_y = x => () => x
|
1546
|
+
const date_picker_namespaceObject = date_picker_x({ ["PickerDropdown"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_date_picker_d04526d6__.PickerDropdown });
|
1547
|
+
// EXTERNAL MODULE: ../../packages/directives/src/index.ts + 7 modules
|
1548
|
+
var src = __webpack_require__(668);
|
1549
|
+
;// CONCATENATED MODULE: external "../icon"
|
1550
|
+
var icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1551
|
+
var icon_y = x => () => x
|
1552
|
+
const icon_namespaceObject = icon_x({ ["AngleUp"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleUp });
|
1553
|
+
;// CONCATENATED MODULE: ../../node_modules/tinycolor2/esm/tinycolor.js
|
1565
1554
|
// This file is autogenerated. It's used to publish ESM to npm.
|
1566
1555
|
function _typeof(obj) {
|
1567
1556
|
"@babel/helpers - typeof";
|
@@ -2743,7 +2732,7 @@ function validateWCAG2Parms(parms) {
|
|
2743
2732
|
|
2744
2733
|
|
2745
2734
|
|
2746
|
-
;// ../../packages/color-picker/src/components/input-container.tsx
|
2735
|
+
;// CONCATENATED MODULE: ../../packages/color-picker/src/components/input-container.tsx
|
2747
2736
|
|
2748
2737
|
/*
|
2749
2738
|
* Tencent is pleased to support the open source community by making
|
@@ -2813,7 +2802,7 @@ var inputContainerProps = {
|
|
2813
2802
|
};
|
2814
2803
|
}
|
2815
2804
|
}));
|
2816
|
-
;// ../../packages/color-picker/src/components/color-input.tsx
|
2805
|
+
;// CONCATENATED MODULE: ../../packages/color-picker/src/components/color-input.tsx
|
2817
2806
|
|
2818
2807
|
/*
|
2819
2808
|
* Tencent is pleased to support the open source community by making
|
@@ -2982,7 +2971,7 @@ var colorPickerProps = {
|
|
2982
2971
|
};
|
2983
2972
|
}
|
2984
2973
|
}));
|
2985
|
-
;// ../../packages/color-picker/src/utils.ts
|
2974
|
+
;// CONCATENATED MODULE: ../../packages/color-picker/src/utils.ts
|
2986
2975
|
/*
|
2987
2976
|
* Tencent is pleased to support the open source community by making
|
2988
2977
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -3088,7 +3077,7 @@ var toRGBAString = function toRGBAString(rgba) {
|
|
3088
3077
|
a = rgba.a;
|
3089
3078
|
return "rgba(".concat([r, g, b, a].join(','), ")");
|
3090
3079
|
};
|
3091
|
-
;// ../../packages/color-picker/src/components/hue-slider.tsx
|
3080
|
+
;// CONCATENATED MODULE: ../../packages/color-picker/src/components/hue-slider.tsx
|
3092
3081
|
|
3093
3082
|
/*
|
3094
3083
|
* Tencent is pleased to support the open source community by making
|
@@ -3226,7 +3215,7 @@ var hue_slider_colorPickerProps = {
|
|
3226
3215
|
};
|
3227
3216
|
}
|
3228
3217
|
}));
|
3229
|
-
;// ../../packages/color-picker/src/components/recommend-colors.tsx
|
3218
|
+
;// CONCATENATED MODULE: ../../packages/color-picker/src/components/recommend-colors.tsx
|
3230
3219
|
|
3231
3220
|
|
3232
3221
|
/*
|
@@ -3378,7 +3367,7 @@ var recommend_colors_colorPickerProps = {
|
|
3378
3367
|
};
|
3379
3368
|
}
|
3380
3369
|
}));
|
3381
|
-
;// ../../packages/color-picker/src/components/saturation-panel.tsx
|
3370
|
+
;// CONCATENATED MODULE: ../../packages/color-picker/src/components/saturation-panel.tsx
|
3382
3371
|
|
3383
3372
|
/*
|
3384
3373
|
* Tencent is pleased to support the open source community by making
|
@@ -3530,7 +3519,7 @@ var saturation_panel_colorPickerProps = {
|
|
3530
3519
|
};
|
3531
3520
|
}
|
3532
3521
|
}));
|
3533
|
-
;// ../../packages/color-picker/src/color-picker.tsx
|
3522
|
+
;// CONCATENATED MODULE: ../../packages/color-picker/src/color-picker.tsx
|
3534
3523
|
|
3535
3524
|
|
3536
3525
|
/*
|
@@ -3843,7 +3832,7 @@ var whiteColorObj = formatColor('#FFFFFF');
|
|
3843
3832
|
};
|
3844
3833
|
}
|
3845
3834
|
}));
|
3846
|
-
;// ../../packages/color-picker/src/index.ts
|
3835
|
+
;// CONCATENATED MODULE: ../../packages/color-picker/src/index.ts
|
3847
3836
|
/*
|
3848
3837
|
* Tencent is pleased to support the open source community by making
|
3849
3838
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -3873,5 +3862,7 @@ var whiteColorObj = formatColor('#FFFFFF');
|
|
3873
3862
|
|
3874
3863
|
var BkColorPicker = (0,shared_.withInstall)(color_picker);
|
3875
3864
|
/* harmony default export */ const color_picker_src = (BkColorPicker);
|
3865
|
+
})();
|
3866
|
+
|
3876
3867
|
var __webpack_exports__default = __webpack_exports__["default"];
|
3877
3868
|
export { __webpack_exports__default as default };
|