bkui-vue 2.0.2-beta.2 → 2.0.2-beta.21
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 +159 -133
- package/dist/index.esm.js +21564 -17815
- package/dist/index.umd.js +159 -133
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/index.js +30 -22
- package/lib/alert/index.js +30 -22
- package/lib/animate-number/index.js +14 -10
- package/lib/backtop/index.js +32 -22
- package/lib/badge/index.js +24 -18
- package/lib/breadcrumb/index.js +31 -23
- package/lib/button/index.js +36 -26
- package/lib/card/index.js +47 -33
- package/lib/cascader/cascader.d.ts +1 -0
- package/lib/cascader/index.d.ts +3 -0
- package/lib/cascader/index.js +725 -654
- package/lib/checkbox/index.js +45 -35
- package/lib/code-diff/index.js +83 -79
- package/lib/collapse/index.js +39 -33
- package/lib/collapse-transition/index.js +20 -14
- package/lib/color-picker/index.js +618 -598
- package/lib/components.d.ts +1 -2
- package/lib/components.js +1 -2
- package/lib/config-provider/index.js +34 -26
- package/lib/container/index.js +27 -21
- 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 +650 -624
- package/lib/dialog/index.js +101 -87
- package/lib/directives/index.js +446 -434
- package/lib/divider/index.js +21 -15
- package/lib/dropdown/index.js +43 -31
- package/lib/exception/index.js +55 -49
- package/lib/fixed-navbar/index.js +20 -14
- package/lib/form/form-item.d.ts +16 -0
- package/lib/form/index.d.ts +11 -0
- package/lib/form/index.js +646 -614
- package/lib/icon/angle-double-down-line.js +14 -12
- package/lib/icon/angle-double-left-line.js +14 -12
- package/lib/icon/angle-double-left.js +14 -12
- package/lib/icon/angle-double-right-line.js +14 -12
- package/lib/icon/angle-double-right.js +14 -12
- package/lib/icon/angle-double-up-line.js +14 -12
- package/lib/icon/angle-down-fill.js +14 -12
- package/lib/icon/angle-down-line.js +14 -12
- package/lib/icon/angle-down.js +14 -12
- package/lib/icon/angle-left.js +14 -12
- package/lib/icon/angle-right.js +14 -12
- package/lib/icon/angle-up-fill.js +14 -12
- package/lib/icon/angle-up.js +14 -12
- package/lib/icon/archive-fill.js +14 -12
- package/lib/icon/arrows-left.js +14 -12
- package/lib/icon/arrows-right.js +14 -12
- package/lib/icon/assistant.js +14 -12
- package/lib/icon/audio-fill.js +14 -12
- package/lib/icon/bk.js +14 -12
- package/lib/icon/circle.js +14 -12
- package/lib/icon/close-line.js +14 -12
- package/lib/icon/close.js +14 -12
- package/lib/icon/code.js +14 -12
- package/lib/icon/cog-shape.js +14 -12
- package/lib/icon/collapse-left.js +14 -12
- package/lib/icon/copy-shape.js +14 -12
- package/lib/icon/copy.js +14 -12
- package/lib/icon/data-shape.js +14 -12
- package/lib/icon/del.js +14 -12
- package/lib/icon/doc-fill.js +14 -12
- package/lib/icon/done.js +14 -12
- package/lib/icon/down-shape.js +14 -12
- package/lib/icon/down-small.js +14 -12
- package/lib/icon/edit-line.js +14 -12
- package/lib/icon/ellipsis.js +14 -12
- package/lib/icon/enlarge-line.js +14 -12
- package/lib/icon/error.js +14 -12
- package/lib/icon/excel-fill.js +14 -12
- package/lib/icon/exclamation-circle-shape.js +14 -12
- package/lib/icon/eye.js +14 -12
- package/lib/icon/filliscreen-line.js +14 -12
- package/lib/icon/fix-line.js +14 -12
- package/lib/icon/fix-shape.js +14 -12
- package/lib/icon/folder-open.js +14 -12
- package/lib/icon/folder-shape-open.js +14 -12
- package/lib/icon/folder-shape.js +14 -12
- package/lib/icon/folder.js +14 -12
- package/lib/icon/funnel.js +14 -12
- package/lib/icon/grag-fill.js +14 -12
- package/lib/icon/help-document-fill.js +14 -12
- package/lib/icon/help-fill.js +14 -12
- package/lib/icon/help.js +14 -12
- package/lib/icon/image-fill.js +14 -12
- package/lib/icon/img-error.js +14 -12
- package/lib/icon/img-placehoulder.js +14 -12
- package/lib/icon/info-line.js +14 -12
- package/lib/icon/info.js +14 -12
- package/lib/icon/left-shape.js +14 -12
- package/lib/icon/left-turn-line.js +14 -12
- package/lib/icon/loading.js +14 -12
- package/lib/icon/narrow-line.js +14 -12
- package/lib/icon/original.js +14 -12
- package/lib/icon/pdf-fill.js +14 -12
- package/lib/icon/play-shape.js +14 -12
- package/lib/icon/plus.js +14 -12
- package/lib/icon/ppt-fill.js +14 -12
- package/lib/icon/qq.js +14 -12
- package/lib/icon/right-shape.js +14 -12
- package/lib/icon/right-turn-line.js +14 -12
- package/lib/icon/search.js +14 -12
- package/lib/icon/share.js +14 -12
- package/lib/icon/spinner.js +14 -12
- package/lib/icon/success.js +14 -12
- package/lib/icon/switcher-loading.js +14 -12
- package/lib/icon/text-all.js +14 -12
- package/lib/icon/text-file.js +14 -12
- package/lib/icon/text-fill.js +14 -12
- package/lib/icon/transfer.js +14 -12
- package/lib/icon/tree-application-shape.js +14 -12
- package/lib/icon/unfull-screen.js +14 -12
- package/lib/icon/unvisible.js +14 -12
- package/lib/icon/up-shape.js +14 -12
- package/lib/icon/upload.js +14 -12
- package/lib/icon/video-fill.js +14 -12
- package/lib/icon/warn.js +14 -12
- package/lib/icon/weixin-pro.js +14 -12
- package/lib/icon/weixin.js +14 -12
- package/lib/image/index.js +343 -330
- package/lib/index.d.ts +0 -1
- package/lib/index.js +1 -2
- package/lib/info-box/index.js +101 -87
- package/lib/input/index.d.ts +19 -0
- package/lib/input/index.js +347 -332
- package/lib/input/input.d.ts +15 -1
- package/lib/link/index.js +26 -18
- package/lib/loading/index.js +25 -19
- package/lib/locale/index.js +3 -3
- package/lib/menu/index.js +40 -32
- package/lib/message/index.js +48 -42
- package/lib/modal/index.js +41 -30
- package/lib/navigation/index.js +27 -19
- package/lib/notify/index.js +37 -27
- package/lib/overflow-title/index.js +41 -29
- package/lib/pagination/index.js +62 -46
- package/lib/pop-confirm/index.d.ts +600 -2
- package/lib/pop-confirm/index.js +69 -41
- package/lib/pop-confirm/pop-confirm.d.ts +297 -1
- package/lib/pop-confirm/props.d.ts +146 -0
- package/lib/popover/index.js +365 -351
- package/lib/popover2/index.js +14 -10
- package/lib/process/index.js +78 -74
- package/lib/progress/index.js +26 -20
- package/lib/radio/index.js +39 -31
- package/lib/rate/index.js +25 -19
- package/lib/resize-layout/index.js +30 -22
- package/lib/scrollbar/index.js +25 -25
- package/lib/search-select/index.js +437 -423
- package/lib/select/index.d.ts +19 -0
- package/lib/select/index.js +499 -458
- package/lib/select/select.d.ts +10 -0
- package/lib/shared/index.js +57 -49
- package/lib/sideslider/index.js +89 -79
- package/lib/slider/index.js +87 -76
- package/lib/steps/index.js +78 -72
- package/lib/swiper/index.js +24 -18
- package/lib/switcher/index.js +30 -22
- package/lib/tab/index.js +338 -327
- package/lib/table/index.js +566 -516
- package/lib/table-column/index.js +13 -9
- package/lib/tag/index.js +36 -26
- package/lib/tag-input/index.js +377 -359
- package/lib/time-picker/index.js +13 -9
- package/lib/timeline/index.js +21 -15
- package/lib/transfer/index.js +56 -40
- package/lib/tree/index.d.ts +4 -0
- package/lib/tree/index.js +17492 -133
- package/lib/tree/props.d.ts +1 -0
- package/lib/tree/tree.css +46 -0
- package/lib/tree/tree.d.ts +2 -0
- package/lib/tree/tree.less +57 -2
- package/lib/tree/tree.variable.css +46 -0
- package/lib/tree/use-node-action.d.ts +2 -2
- package/lib/upload/index.js +584 -572
- package/lib/virtual-render/index.js +55 -43
- package/package.json +1 -1
- package/lib/plugin-popover/index.d.ts +0 -27
- package/lib/plugin-popover/index.js +0 -65
- package/lib/plugins/index.d.ts +0 -1
- package/lib/plugins/index.js +0 -64
package/lib/date-picker/index.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import "../styles/reset.css";
|
2
2
|
import "./date-picker.less";
|
3
|
-
import * as
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__ from "../popover";
|
4
4
|
import * as __WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__ from "@popperjs/core";
|
5
5
|
import * as __WEBPACK_EXTERNAL_MODULE__loading_4d683b23__ from "../loading";
|
6
6
|
import * as __WEBPACK_EXTERNAL_MODULE__overflow_title_f9bafa47__ from "../overflow-title";
|
@@ -15,7 +15,181 @@ import * as __WEBPACK_EXTERNAL_MODULE_date_fns_f4130be9__ from "date-fns";
|
|
15
15
|
import * as __WEBPACK_EXTERNAL_MODULE_lodash_debounce_3540babe__ from "lodash/debounce";
|
16
16
|
/******/ var __webpack_modules__ = ({
|
17
17
|
|
18
|
-
/***/
|
18
|
+
/***/ 205:
|
19
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
20
|
+
|
21
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
22
|
+
/* harmony export */ "default": () => (/* binding */ toPropertyKey)
|
23
|
+
/* harmony export */ });
|
24
|
+
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7545);
|
25
|
+
/* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9824);
|
26
|
+
|
27
|
+
|
28
|
+
function toPropertyKey(t) {
|
29
|
+
var i = (0,_toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t, "string");
|
30
|
+
return "symbol" == (0,_typeof_js__WEBPACK_IMPORTED_MODULE_1__["default"])(i) ? i : String(i);
|
31
|
+
}
|
32
|
+
|
33
|
+
/***/ }),
|
34
|
+
|
35
|
+
/***/ 592:
|
36
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
37
|
+
|
38
|
+
var x = (y) => {
|
39
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
40
|
+
}
|
41
|
+
var y = (x) => (() => (x))
|
42
|
+
module.exports = x({ ["$bkPopover"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__.$bkPopover) });
|
43
|
+
|
44
|
+
/***/ }),
|
45
|
+
|
46
|
+
/***/ 1043:
|
47
|
+
/***/ ((module) => {
|
48
|
+
|
49
|
+
/**
|
50
|
+
* Copyright (c) 2015, Facebook, Inc.
|
51
|
+
* All rights reserved.
|
52
|
+
*
|
53
|
+
* This source code is licensed under the BSD-style license found in the
|
54
|
+
* LICENSE file in the root directory of this source tree. An additional grant
|
55
|
+
* of patent rights can be found in the PATENTS file in the same directory.
|
56
|
+
*
|
57
|
+
* @providesModule ExecutionEnvironment
|
58
|
+
*/
|
59
|
+
|
60
|
+
/*jslint evil: true */
|
61
|
+
|
62
|
+
|
63
|
+
|
64
|
+
var canUseDOM = !!(
|
65
|
+
typeof window !== 'undefined' &&
|
66
|
+
window.document &&
|
67
|
+
window.document.createElement
|
68
|
+
);
|
69
|
+
|
70
|
+
/**
|
71
|
+
* Simple, lightweight module assisting with the detection and context of
|
72
|
+
* Worker. Helps avoid circular dependencies and allows code to reason about
|
73
|
+
* whether or not they are in a Worker, even if they never include the main
|
74
|
+
* `ReactWorker` dependency.
|
75
|
+
*/
|
76
|
+
var ExecutionEnvironment = {
|
77
|
+
|
78
|
+
canUseDOM: canUseDOM,
|
79
|
+
|
80
|
+
canUseWorkers: typeof Worker !== 'undefined',
|
81
|
+
|
82
|
+
canUseEventListeners:
|
83
|
+
canUseDOM && !!(window.addEventListener || window.attachEvent),
|
84
|
+
|
85
|
+
canUseViewport: canUseDOM && !!window.screen,
|
86
|
+
|
87
|
+
isInWorker: !canUseDOM // For now, this is true - might change in the future.
|
88
|
+
|
89
|
+
};
|
90
|
+
|
91
|
+
module.exports = ExecutionEnvironment;
|
92
|
+
|
93
|
+
|
94
|
+
/***/ }),
|
95
|
+
|
96
|
+
/***/ 2586:
|
97
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
98
|
+
|
99
|
+
/**
|
100
|
+
* Copyright 2013-2015, Facebook, Inc.
|
101
|
+
* All rights reserved.
|
102
|
+
*
|
103
|
+
* This source code is licensed under the BSD-style license found in the
|
104
|
+
* LICENSE file in the root directory of this source tree. An additional grant
|
105
|
+
* of patent rights can be found in the PATENTS file in the same directory.
|
106
|
+
*
|
107
|
+
* @providesModule isEventSupported
|
108
|
+
*/
|
109
|
+
|
110
|
+
|
111
|
+
|
112
|
+
var ExecutionEnvironment = __webpack_require__(1043);
|
113
|
+
|
114
|
+
var useHasFeature;
|
115
|
+
if (ExecutionEnvironment.canUseDOM) {
|
116
|
+
useHasFeature =
|
117
|
+
document.implementation &&
|
118
|
+
document.implementation.hasFeature &&
|
119
|
+
// always returns true in newer browsers as per the standard.
|
120
|
+
// @see http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature
|
121
|
+
document.implementation.hasFeature('', '') !== true;
|
122
|
+
}
|
123
|
+
|
124
|
+
/**
|
125
|
+
* Checks if an event is supported in the current execution environment.
|
126
|
+
*
|
127
|
+
* NOTE: This will not work correctly for non-generic events such as `change`,
|
128
|
+
* `reset`, `load`, `error`, and `select`.
|
129
|
+
*
|
130
|
+
* Borrows from Modernizr.
|
131
|
+
*
|
132
|
+
* @param {string} eventNameSuffix Event name, e.g. "click".
|
133
|
+
* @param {?boolean} capture Check if the capture phase is supported.
|
134
|
+
* @return {boolean} True if the event is supported.
|
135
|
+
* @internal
|
136
|
+
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
137
|
+
*/
|
138
|
+
function isEventSupported(eventNameSuffix, capture) {
|
139
|
+
if (!ExecutionEnvironment.canUseDOM ||
|
140
|
+
capture && !('addEventListener' in document)) {
|
141
|
+
return false;
|
142
|
+
}
|
143
|
+
|
144
|
+
var eventName = 'on' + eventNameSuffix;
|
145
|
+
var isSupported = eventName in document;
|
146
|
+
|
147
|
+
if (!isSupported) {
|
148
|
+
var element = document.createElement('div');
|
149
|
+
element.setAttribute(eventName, 'return;');
|
150
|
+
isSupported = typeof element[eventName] === 'function';
|
151
|
+
}
|
152
|
+
|
153
|
+
if (!isSupported && useHasFeature && eventNameSuffix === 'wheel') {
|
154
|
+
// This is the only way to test support for the `wheel` event in IE9+.
|
155
|
+
isSupported = document.implementation.hasFeature('Events.wheel', '3.0');
|
156
|
+
}
|
157
|
+
|
158
|
+
return isSupported;
|
159
|
+
}
|
160
|
+
|
161
|
+
module.exports = isEventSupported;
|
162
|
+
|
163
|
+
|
164
|
+
/***/ }),
|
165
|
+
|
166
|
+
/***/ 2880:
|
167
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
168
|
+
|
169
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
170
|
+
/* harmony export */ "default": () => (/* binding */ _nonIterableSpread)
|
171
|
+
/* harmony export */ });
|
172
|
+
function _nonIterableSpread() {
|
173
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
174
|
+
}
|
175
|
+
|
176
|
+
/***/ }),
|
177
|
+
|
178
|
+
/***/ 3492:
|
179
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
180
|
+
|
181
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
182
|
+
/* harmony export */ "default": () => (/* binding */ _arrayWithoutHoles)
|
183
|
+
/* harmony export */ });
|
184
|
+
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6284);
|
185
|
+
|
186
|
+
function _arrayWithoutHoles(arr) {
|
187
|
+
if (Array.isArray(arr)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(arr);
|
188
|
+
}
|
189
|
+
|
190
|
+
/***/ }),
|
191
|
+
|
192
|
+
/***/ 4193:
|
19
193
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
20
194
|
|
21
195
|
|
@@ -26,7 +200,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
26
200
|
|
27
201
|
// UNUSED EXPORTS: bkEllipsis, bkEllipsisInstance, bkLoading, bkTooltips, mousewheel, overflowTitle
|
28
202
|
|
29
|
-
;//
|
203
|
+
;// ../../packages/directives/src/clickoutside.ts
|
30
204
|
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; } } }; }
|
31
205
|
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); }
|
32
206
|
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; }
|
@@ -153,12 +327,10 @@ ClickOutside.install = function (app) {
|
|
153
327
|
};
|
154
328
|
/* harmony default export */ const clickoutside = (ClickOutside);
|
155
329
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
156
|
-
var esm_typeof = __webpack_require__(
|
157
|
-
|
158
|
-
var
|
159
|
-
|
160
|
-
const plugin_popover_namespaceObject = x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_plugin_popover_300e25d0__["default"] });
|
161
|
-
;// CONCATENATED MODULE: ../../packages/directives/src/ellipsis.ts
|
330
|
+
var esm_typeof = __webpack_require__(7545);
|
331
|
+
// EXTERNAL MODULE: external "../popover"
|
332
|
+
var popover_ = __webpack_require__(592);
|
333
|
+
;// ../../packages/directives/src/ellipsis.ts
|
162
334
|
|
163
335
|
/*
|
164
336
|
* Tencent is pleased to support the open source community by making
|
@@ -235,7 +407,7 @@ var createInstance = function createInstance(el, binding) {
|
|
235
407
|
onContentMouseenter: handleContentEnter,
|
236
408
|
onContentMouseleave: handleContentLeave
|
237
409
|
});
|
238
|
-
instance = (0,
|
410
|
+
instance = (0,popover_.$bkPopover)(targetOptions);
|
239
411
|
}, 300);
|
240
412
|
};
|
241
413
|
var handleMouseLeave = function handleMouseLeave() {
|
@@ -269,9 +441,9 @@ var ellipsis = {
|
|
269
441
|
};
|
270
442
|
/* harmony default export */ const src_ellipsis = ((/* unused pure expression or super */ null && (ellipsis)));
|
271
443
|
// EXTERNAL MODULE: ../../node_modules/normalize-wheel/index.js
|
272
|
-
var normalize_wheel = __webpack_require__(
|
444
|
+
var normalize_wheel = __webpack_require__(8283);
|
273
445
|
var normalize_wheel_default = /*#__PURE__*/__webpack_require__.n(normalize_wheel);
|
274
|
-
;//
|
446
|
+
;// ../../packages/directives/src/mousewheel.ts
|
275
447
|
/*
|
276
448
|
* Tencent is pleased to support the open source community by making
|
277
449
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -314,18 +486,20 @@ var mousewheel = {
|
|
314
486
|
};
|
315
487
|
/* harmony default export */ const src_mousewheel = ((/* unused pure expression or super */ null && (mousewheel)));
|
316
488
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
317
|
-
var defineProperty = __webpack_require__(
|
489
|
+
var defineProperty = __webpack_require__(4586);
|
318
490
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
319
|
-
var toConsumableArray = __webpack_require__(
|
491
|
+
var toConsumableArray = __webpack_require__(5153);
|
320
492
|
// EXTERNAL MODULE: external "vue"
|
321
|
-
var external_vue_ = __webpack_require__(
|
493
|
+
var external_vue_ = __webpack_require__(5286);
|
322
494
|
// EXTERNAL MODULE: external "../shared"
|
323
|
-
var shared_ = __webpack_require__(
|
324
|
-
;//
|
325
|
-
var
|
326
|
-
var
|
327
|
-
|
328
|
-
|
495
|
+
var shared_ = __webpack_require__(5166);
|
496
|
+
;// external "@popperjs/core"
|
497
|
+
var x = (y) => {
|
498
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
499
|
+
}
|
500
|
+
var y = (x) => (() => (x))
|
501
|
+
const core_namespaceObject = x({ ["createPopper"]: () => (__WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__.createPopper) });
|
502
|
+
;// ../../packages/directives/src/tooltips.ts
|
329
503
|
|
330
504
|
|
331
505
|
|
@@ -390,9 +564,6 @@ var tooltips = {
|
|
390
564
|
hide(el);
|
391
565
|
}, 100);
|
392
566
|
});
|
393
|
-
el.addEventListener('click', function () {
|
394
|
-
hide(el);
|
395
|
-
});
|
396
567
|
popper.addEventListener('mouseleave', function () {
|
397
568
|
clearTimeout(delayTimeout);
|
398
569
|
hideTimeout = setTimeout(function () {
|
@@ -406,7 +577,7 @@ var tooltips = {
|
|
406
577
|
show(el);
|
407
578
|
clearTimeout(delayTimeout);
|
408
579
|
}, opts.delay);
|
409
|
-
} else if (popper.hasAttribute('data-show')) {
|
580
|
+
} else if (!el.contains(event.target) && popper.hasAttribute('data-show')) {
|
410
581
|
hide(el);
|
411
582
|
}
|
412
583
|
});
|
@@ -617,15 +788,19 @@ function hide(el) {
|
|
617
788
|
}
|
618
789
|
}
|
619
790
|
/* harmony default export */ const src_tooltips = ((/* unused pure expression or super */ null && (tooltips)));
|
620
|
-
;//
|
621
|
-
var external_loading_x = y => {
|
622
|
-
var
|
791
|
+
;// external "../loading"
|
792
|
+
var external_loading_x = (y) => {
|
793
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
794
|
+
}
|
795
|
+
var external_loading_y = (x) => (() => (x))
|
623
796
|
const external_loading_namespaceObject = external_loading_x({ });
|
624
|
-
;//
|
625
|
-
var external_overflow_title_x = y => {
|
626
|
-
var
|
797
|
+
;// external "../overflow-title"
|
798
|
+
var external_overflow_title_x = (y) => {
|
799
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
800
|
+
}
|
801
|
+
var external_overflow_title_y = (x) => (() => (x))
|
627
802
|
const external_overflow_title_namespaceObject = external_overflow_title_x({ });
|
628
|
-
;//
|
803
|
+
;// ../../packages/directives/src/index.ts
|
629
804
|
/*
|
630
805
|
* Tencent is pleased to support the open source community by making
|
631
806
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -661,16 +836,45 @@ const external_overflow_title_namespaceObject = external_overflow_title_x({ });
|
|
661
836
|
|
662
837
|
/***/ }),
|
663
838
|
|
664
|
-
/***/
|
665
|
-
/***/ ((
|
839
|
+
/***/ 4430:
|
840
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
841
|
+
|
842
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
843
|
+
/* harmony export */ "default": () => (/* binding */ _iterableToArray)
|
844
|
+
/* harmony export */ });
|
845
|
+
function _iterableToArray(iter) {
|
846
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
847
|
+
}
|
848
|
+
|
849
|
+
/***/ }),
|
850
|
+
|
851
|
+
/***/ 4586:
|
852
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
666
853
|
|
667
|
-
|
854
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
855
|
+
/* harmony export */ "default": () => (/* binding */ _defineProperty)
|
856
|
+
/* harmony export */ });
|
857
|
+
/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(205);
|
668
858
|
|
859
|
+
function _defineProperty(obj, key, value) {
|
860
|
+
key = (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["default"])(key);
|
861
|
+
if (key in obj) {
|
862
|
+
Object.defineProperty(obj, key, {
|
863
|
+
value: value,
|
864
|
+
enumerable: true,
|
865
|
+
configurable: true,
|
866
|
+
writable: true
|
867
|
+
});
|
868
|
+
} else {
|
869
|
+
obj[key] = value;
|
870
|
+
}
|
871
|
+
return obj;
|
872
|
+
}
|
669
873
|
|
670
874
|
/***/ }),
|
671
875
|
|
672
|
-
/***/
|
673
|
-
/***/ ((module) => {
|
876
|
+
/***/ 5022:
|
877
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
674
878
|
|
675
879
|
/**
|
676
880
|
* Copyright (c) 2015, Facebook, Inc.
|
@@ -680,447 +884,38 @@ module.exports = __webpack_require__(2527);
|
|
680
884
|
* LICENSE file in the root directory of this source tree. An additional grant
|
681
885
|
* of patent rights can be found in the PATENTS file in the same directory.
|
682
886
|
*
|
683
|
-
* @providesModule
|
684
|
-
|
685
|
-
|
686
|
-
/*jslint evil: true */
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
var canUseDOM = !!(
|
691
|
-
typeof window !== 'undefined' &&
|
692
|
-
window.document &&
|
693
|
-
window.document.createElement
|
694
|
-
);
|
695
|
-
|
696
|
-
/**
|
697
|
-
* Simple, lightweight module assisting with the detection and context of
|
698
|
-
* Worker. Helps avoid circular dependencies and allows code to reason about
|
699
|
-
* whether or not they are in a Worker, even if they never include the main
|
700
|
-
* `ReactWorker` dependency.
|
887
|
+
* @providesModule normalizeWheel
|
888
|
+
* @typechecks
|
701
889
|
*/
|
702
|
-
var ExecutionEnvironment = {
|
703
|
-
|
704
|
-
canUseDOM: canUseDOM,
|
705
|
-
|
706
|
-
canUseWorkers: typeof Worker !== 'undefined',
|
707
|
-
|
708
|
-
canUseEventListeners:
|
709
|
-
canUseDOM && !!(window.addEventListener || window.attachEvent),
|
710
890
|
|
711
|
-
canUseViewport: canUseDOM && !!window.screen,
|
712
|
-
|
713
|
-
isInWorker: !canUseDOM // For now, this is true - might change in the future.
|
714
891
|
|
715
|
-
};
|
716
892
|
|
717
|
-
|
893
|
+
var UserAgent_DEPRECATED = __webpack_require__(7416);
|
718
894
|
|
895
|
+
var isEventSupported = __webpack_require__(2586);
|
719
896
|
|
720
|
-
/***/ }),
|
721
897
|
|
722
|
-
|
723
|
-
|
898
|
+
// Reasonable defaults
|
899
|
+
var PIXEL_STEP = 10;
|
900
|
+
var LINE_HEIGHT = 40;
|
901
|
+
var PAGE_HEIGHT = 800;
|
724
902
|
|
725
903
|
/**
|
726
|
-
*
|
904
|
+
* Mouse wheel (and 2-finger trackpad) support on the web sucks. It is
|
905
|
+
* complicated, thus this doc is long and (hopefully) detailed enough to answer
|
906
|
+
* your questions.
|
727
907
|
*
|
728
|
-
*
|
729
|
-
|
730
|
-
|
731
|
-
/**
|
732
|
-
* Provides entirely client-side User Agent and OS detection. You should prefer
|
733
|
-
* the non-deprecated UserAgent module when possible, which exposes our
|
734
|
-
* authoritative server-side PHP-based detection to the client.
|
908
|
+
* If you need to react to the mouse wheel in a predictable way, this code is
|
909
|
+
* like your bestest friend. * hugs *
|
735
910
|
*
|
736
|
-
*
|
911
|
+
* As of today, there are 4 DOM event types you can listen to:
|
737
912
|
*
|
738
|
-
*
|
739
|
-
*
|
740
|
-
*
|
913
|
+
* 'wheel' -- Chrome(31+), FF(17+), IE(9+)
|
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
|
741
917
|
*
|
742
|
-
*
|
743
|
-
*
|
744
|
-
* if (UserAgent_DEPRECATED.ie() >= 7) {
|
745
|
-
* // IE7 or better
|
746
|
-
* }
|
747
|
-
*
|
748
|
-
* The browser functions will return NaN if the browser does not match, so
|
749
|
-
* you can also do version compares the other way:
|
750
|
-
*
|
751
|
-
* if (UserAgent_DEPRECATED.ie() < 7) {
|
752
|
-
* // IE6 or worse
|
753
|
-
* }
|
754
|
-
*
|
755
|
-
* Note that the version is a float and may include a minor version number,
|
756
|
-
* so you should always use range operators to perform comparisons, not
|
757
|
-
* strict equality.
|
758
|
-
*
|
759
|
-
* **Note:** You should **strongly** prefer capability detection to browser
|
760
|
-
* version detection where it's reasonable:
|
761
|
-
*
|
762
|
-
* http://www.quirksmode.org/js/support.html
|
763
|
-
*
|
764
|
-
* Further, we have a large number of mature wrapper functions and classes
|
765
|
-
* which abstract away many browser irregularities. Check the documentation,
|
766
|
-
* grep for things, or ask on javascript@lists.facebook.com before writing yet
|
767
|
-
* another copy of "event || window.event".
|
768
|
-
*
|
769
|
-
*/
|
770
|
-
|
771
|
-
var _populated = false;
|
772
|
-
|
773
|
-
// Browsers
|
774
|
-
var _ie, _firefox, _opera, _webkit, _chrome;
|
775
|
-
|
776
|
-
// Actual IE browser for compatibility mode
|
777
|
-
var _ie_real_version;
|
778
|
-
|
779
|
-
// Platforms
|
780
|
-
var _osx, _windows, _linux, _android;
|
781
|
-
|
782
|
-
// Architectures
|
783
|
-
var _win64;
|
784
|
-
|
785
|
-
// Devices
|
786
|
-
var _iphone, _ipad, _native;
|
787
|
-
|
788
|
-
var _mobile;
|
789
|
-
|
790
|
-
function _populate() {
|
791
|
-
if (_populated) {
|
792
|
-
return;
|
793
|
-
}
|
794
|
-
|
795
|
-
_populated = true;
|
796
|
-
|
797
|
-
// To work around buggy JS libraries that can't handle multi-digit
|
798
|
-
// version numbers, Opera 10's user agent string claims it's Opera
|
799
|
-
// 9, then later includes a Version/X.Y field:
|
800
|
-
//
|
801
|
-
// Opera/9.80 (foo) Presto/2.2.15 Version/10.10
|
802
|
-
var uas = navigator.userAgent;
|
803
|
-
var agent = /(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(uas);
|
804
|
-
var os = /(Mac OS X)|(Windows)|(Linux)/.exec(uas);
|
805
|
-
|
806
|
-
_iphone = /\b(iPhone|iP[ao]d)/.exec(uas);
|
807
|
-
_ipad = /\b(iP[ao]d)/.exec(uas);
|
808
|
-
_android = /Android/i.exec(uas);
|
809
|
-
_native = /FBAN\/\w+;/i.exec(uas);
|
810
|
-
_mobile = /Mobile/i.exec(uas);
|
811
|
-
|
812
|
-
// Note that the IE team blog would have you believe you should be checking
|
813
|
-
// for 'Win64; x64'. But MSDN then reveals that you can actually be coming
|
814
|
-
// from either x64 or ia64; so ultimately, you should just check for Win64
|
815
|
-
// as in indicator of whether you're in 64-bit IE. 32-bit IE on 64-bit
|
816
|
-
// Windows will send 'WOW64' instead.
|
817
|
-
_win64 = !!(/Win64/.exec(uas));
|
818
|
-
|
819
|
-
if (agent) {
|
820
|
-
_ie = agent[1] ? parseFloat(agent[1]) : (
|
821
|
-
agent[5] ? parseFloat(agent[5]) : NaN);
|
822
|
-
// IE compatibility mode
|
823
|
-
if (_ie && document && document.documentMode) {
|
824
|
-
_ie = document.documentMode;
|
825
|
-
}
|
826
|
-
// grab the "true" ie version from the trident token if available
|
827
|
-
var trident = /(?:Trident\/(\d+.\d+))/.exec(uas);
|
828
|
-
_ie_real_version = trident ? parseFloat(trident[1]) + 4 : _ie;
|
829
|
-
|
830
|
-
_firefox = agent[2] ? parseFloat(agent[2]) : NaN;
|
831
|
-
_opera = agent[3] ? parseFloat(agent[3]) : NaN;
|
832
|
-
_webkit = agent[4] ? parseFloat(agent[4]) : NaN;
|
833
|
-
if (_webkit) {
|
834
|
-
// We do not add the regexp to the above test, because it will always
|
835
|
-
// match 'safari' only since 'AppleWebKit' appears before 'Chrome' in
|
836
|
-
// the userAgent string.
|
837
|
-
agent = /(?:Chrome\/(\d+\.\d+))/.exec(uas);
|
838
|
-
_chrome = agent && agent[1] ? parseFloat(agent[1]) : NaN;
|
839
|
-
} else {
|
840
|
-
_chrome = NaN;
|
841
|
-
}
|
842
|
-
} else {
|
843
|
-
_ie = _firefox = _opera = _chrome = _webkit = NaN;
|
844
|
-
}
|
845
|
-
|
846
|
-
if (os) {
|
847
|
-
if (os[1]) {
|
848
|
-
// Detect OS X version. If no version number matches, set _osx to true.
|
849
|
-
// Version examples: 10, 10_6_1, 10.7
|
850
|
-
// Parses version number as a float, taking only first two sets of
|
851
|
-
// digits. If only one set of digits is found, returns just the major
|
852
|
-
// version number.
|
853
|
-
var ver = /(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(uas);
|
854
|
-
|
855
|
-
_osx = ver ? parseFloat(ver[1].replace('_', '.')) : true;
|
856
|
-
} else {
|
857
|
-
_osx = false;
|
858
|
-
}
|
859
|
-
_windows = !!os[2];
|
860
|
-
_linux = !!os[3];
|
861
|
-
} else {
|
862
|
-
_osx = _windows = _linux = false;
|
863
|
-
}
|
864
|
-
}
|
865
|
-
|
866
|
-
var UserAgent_DEPRECATED = {
|
867
|
-
|
868
|
-
/**
|
869
|
-
* Check if the UA is Internet Explorer.
|
870
|
-
*
|
871
|
-
*
|
872
|
-
* @return float|NaN Version number (if match) or NaN.
|
873
|
-
*/
|
874
|
-
ie: function() {
|
875
|
-
return _populate() || _ie;
|
876
|
-
},
|
877
|
-
|
878
|
-
/**
|
879
|
-
* Check if we're in Internet Explorer compatibility mode.
|
880
|
-
*
|
881
|
-
* @return bool true if in compatibility mode, false if
|
882
|
-
* not compatibility mode or not ie
|
883
|
-
*/
|
884
|
-
ieCompatibilityMode: function() {
|
885
|
-
return _populate() || (_ie_real_version > _ie);
|
886
|
-
},
|
887
|
-
|
888
|
-
|
889
|
-
/**
|
890
|
-
* Whether the browser is 64-bit IE. Really, this is kind of weak sauce; we
|
891
|
-
* only need this because Skype can't handle 64-bit IE yet. We need to remove
|
892
|
-
* this when we don't need it -- tracked by #601957.
|
893
|
-
*/
|
894
|
-
ie64: function() {
|
895
|
-
return UserAgent_DEPRECATED.ie() && _win64;
|
896
|
-
},
|
897
|
-
|
898
|
-
/**
|
899
|
-
* Check if the UA is Firefox.
|
900
|
-
*
|
901
|
-
*
|
902
|
-
* @return float|NaN Version number (if match) or NaN.
|
903
|
-
*/
|
904
|
-
firefox: function() {
|
905
|
-
return _populate() || _firefox;
|
906
|
-
},
|
907
|
-
|
908
|
-
|
909
|
-
/**
|
910
|
-
* Check if the UA is Opera.
|
911
|
-
*
|
912
|
-
*
|
913
|
-
* @return float|NaN Version number (if match) or NaN.
|
914
|
-
*/
|
915
|
-
opera: function() {
|
916
|
-
return _populate() || _opera;
|
917
|
-
},
|
918
|
-
|
919
|
-
|
920
|
-
/**
|
921
|
-
* Check if the UA is WebKit.
|
922
|
-
*
|
923
|
-
*
|
924
|
-
* @return float|NaN Version number (if match) or NaN.
|
925
|
-
*/
|
926
|
-
webkit: function() {
|
927
|
-
return _populate() || _webkit;
|
928
|
-
},
|
929
|
-
|
930
|
-
/**
|
931
|
-
* For Push
|
932
|
-
* WILL BE REMOVED VERY SOON. Use UserAgent_DEPRECATED.webkit
|
933
|
-
*/
|
934
|
-
safari: function() {
|
935
|
-
return UserAgent_DEPRECATED.webkit();
|
936
|
-
},
|
937
|
-
|
938
|
-
/**
|
939
|
-
* Check if the UA is a Chrome browser.
|
940
|
-
*
|
941
|
-
*
|
942
|
-
* @return float|NaN Version number (if match) or NaN.
|
943
|
-
*/
|
944
|
-
chrome : function() {
|
945
|
-
return _populate() || _chrome;
|
946
|
-
},
|
947
|
-
|
948
|
-
|
949
|
-
/**
|
950
|
-
* Check if the user is running Windows.
|
951
|
-
*
|
952
|
-
* @return bool `true' if the user's OS is Windows.
|
953
|
-
*/
|
954
|
-
windows: function() {
|
955
|
-
return _populate() || _windows;
|
956
|
-
},
|
957
|
-
|
958
|
-
|
959
|
-
/**
|
960
|
-
* Check if the user is running Mac OS X.
|
961
|
-
*
|
962
|
-
* @return float|bool Returns a float if a version number is detected,
|
963
|
-
* otherwise true/false.
|
964
|
-
*/
|
965
|
-
osx: function() {
|
966
|
-
return _populate() || _osx;
|
967
|
-
},
|
968
|
-
|
969
|
-
/**
|
970
|
-
* Check if the user is running Linux.
|
971
|
-
*
|
972
|
-
* @return bool `true' if the user's OS is some flavor of Linux.
|
973
|
-
*/
|
974
|
-
linux: function() {
|
975
|
-
return _populate() || _linux;
|
976
|
-
},
|
977
|
-
|
978
|
-
/**
|
979
|
-
* Check if the user is running on an iPhone or iPod platform.
|
980
|
-
*
|
981
|
-
* @return bool `true' if the user is running some flavor of the
|
982
|
-
* iPhone OS.
|
983
|
-
*/
|
984
|
-
iphone: function() {
|
985
|
-
return _populate() || _iphone;
|
986
|
-
},
|
987
|
-
|
988
|
-
mobile: function() {
|
989
|
-
return _populate() || (_iphone || _ipad || _android || _mobile);
|
990
|
-
},
|
991
|
-
|
992
|
-
nativeApp: function() {
|
993
|
-
// webviews inside of the native apps
|
994
|
-
return _populate() || _native;
|
995
|
-
},
|
996
|
-
|
997
|
-
android: function() {
|
998
|
-
return _populate() || _android;
|
999
|
-
},
|
1000
|
-
|
1001
|
-
ipad: function() {
|
1002
|
-
return _populate() || _ipad;
|
1003
|
-
}
|
1004
|
-
};
|
1005
|
-
|
1006
|
-
module.exports = UserAgent_DEPRECATED;
|
1007
|
-
|
1008
|
-
|
1009
|
-
/***/ }),
|
1010
|
-
|
1011
|
-
/***/ 3541:
|
1012
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1013
|
-
|
1014
|
-
/**
|
1015
|
-
* Copyright 2013-2015, Facebook, Inc.
|
1016
|
-
* All rights reserved.
|
1017
|
-
*
|
1018
|
-
* This source code is licensed under the BSD-style license found in the
|
1019
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
1020
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
1021
|
-
*
|
1022
|
-
* @providesModule isEventSupported
|
1023
|
-
*/
|
1024
|
-
|
1025
|
-
|
1026
|
-
|
1027
|
-
var ExecutionEnvironment = __webpack_require__(7430);
|
1028
|
-
|
1029
|
-
var useHasFeature;
|
1030
|
-
if (ExecutionEnvironment.canUseDOM) {
|
1031
|
-
useHasFeature =
|
1032
|
-
document.implementation &&
|
1033
|
-
document.implementation.hasFeature &&
|
1034
|
-
// always returns true in newer browsers as per the standard.
|
1035
|
-
// @see http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature
|
1036
|
-
document.implementation.hasFeature('', '') !== true;
|
1037
|
-
}
|
1038
|
-
|
1039
|
-
/**
|
1040
|
-
* Checks if an event is supported in the current execution environment.
|
1041
|
-
*
|
1042
|
-
* NOTE: This will not work correctly for non-generic events such as `change`,
|
1043
|
-
* `reset`, `load`, `error`, and `select`.
|
1044
|
-
*
|
1045
|
-
* Borrows from Modernizr.
|
1046
|
-
*
|
1047
|
-
* @param {string} eventNameSuffix Event name, e.g. "click".
|
1048
|
-
* @param {?boolean} capture Check if the capture phase is supported.
|
1049
|
-
* @return {boolean} True if the event is supported.
|
1050
|
-
* @internal
|
1051
|
-
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
1052
|
-
*/
|
1053
|
-
function isEventSupported(eventNameSuffix, capture) {
|
1054
|
-
if (!ExecutionEnvironment.canUseDOM ||
|
1055
|
-
capture && !('addEventListener' in document)) {
|
1056
|
-
return false;
|
1057
|
-
}
|
1058
|
-
|
1059
|
-
var eventName = 'on' + eventNameSuffix;
|
1060
|
-
var isSupported = eventName in document;
|
1061
|
-
|
1062
|
-
if (!isSupported) {
|
1063
|
-
var element = document.createElement('div');
|
1064
|
-
element.setAttribute(eventName, 'return;');
|
1065
|
-
isSupported = typeof element[eventName] === 'function';
|
1066
|
-
}
|
1067
|
-
|
1068
|
-
if (!isSupported && useHasFeature && eventNameSuffix === 'wheel') {
|
1069
|
-
// This is the only way to test support for the `wheel` event in IE9+.
|
1070
|
-
isSupported = document.implementation.hasFeature('Events.wheel', '3.0');
|
1071
|
-
}
|
1072
|
-
|
1073
|
-
return isSupported;
|
1074
|
-
}
|
1075
|
-
|
1076
|
-
module.exports = isEventSupported;
|
1077
|
-
|
1078
|
-
|
1079
|
-
/***/ }),
|
1080
|
-
|
1081
|
-
/***/ 2527:
|
1082
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1083
|
-
|
1084
|
-
/**
|
1085
|
-
* Copyright (c) 2015, Facebook, Inc.
|
1086
|
-
* All rights reserved.
|
1087
|
-
*
|
1088
|
-
* This source code is licensed under the BSD-style license found in the
|
1089
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
1090
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
1091
|
-
*
|
1092
|
-
* @providesModule normalizeWheel
|
1093
|
-
* @typechecks
|
1094
|
-
*/
|
1095
|
-
|
1096
|
-
|
1097
|
-
|
1098
|
-
var UserAgent_DEPRECATED = __webpack_require__(6377);
|
1099
|
-
|
1100
|
-
var isEventSupported = __webpack_require__(3541);
|
1101
|
-
|
1102
|
-
|
1103
|
-
// Reasonable defaults
|
1104
|
-
var PIXEL_STEP = 10;
|
1105
|
-
var LINE_HEIGHT = 40;
|
1106
|
-
var PAGE_HEIGHT = 800;
|
1107
|
-
|
1108
|
-
/**
|
1109
|
-
* Mouse wheel (and 2-finger trackpad) support on the web sucks. It is
|
1110
|
-
* complicated, thus this doc is long and (hopefully) detailed enough to answer
|
1111
|
-
* your questions.
|
1112
|
-
*
|
1113
|
-
* If you need to react to the mouse wheel in a predictable way, this code is
|
1114
|
-
* like your bestest friend. * hugs *
|
1115
|
-
*
|
1116
|
-
* As of today, there are 4 DOM event types you can listen to:
|
1117
|
-
*
|
1118
|
-
* 'wheel' -- Chrome(31+), FF(17+), IE(9+)
|
1119
|
-
* 'mousewheel' -- Chrome, IE(6+), Opera, Safari
|
1120
|
-
* 'MozMousePixelScroll' -- FF(3.5 only!) (2010-2013) -- don't bother!
|
1121
|
-
* 'DOMMouseScroll' -- FF(0.9.7+) since 2003
|
1122
|
-
*
|
1123
|
-
* So what to do? The is the best:
|
918
|
+
* So what to do? The is the best:
|
1124
919
|
*
|
1125
920
|
* normalizeWheel.getEventType();
|
1126
921
|
*
|
@@ -1266,25 +1061,49 @@ module.exports = normalizeWheel;
|
|
1266
1061
|
|
1267
1062
|
/***/ }),
|
1268
1063
|
|
1269
|
-
/***/
|
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:
|
1270
1085
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1271
1086
|
|
1272
|
-
var x = y => {
|
1273
|
-
var
|
1274
|
-
|
1087
|
+
var x = (y) => {
|
1088
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1089
|
+
}
|
1090
|
+
var y = (x) => (() => (x))
|
1091
|
+
module.exports = x({ ["BKPopover"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.BKPopover), ["bkZIndexManager"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.bkZIndexManager), ["capitalize"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.capitalize), ["getFullscreenRoot"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.getFullscreenRoot), ["resolveClassName"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.resolveClassName), ["scrollTop"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.scrollTop), ["useFormItem"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.useFormItem), ["withInstall"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall) });
|
1275
1092
|
|
1276
1093
|
/***/ }),
|
1277
1094
|
|
1278
|
-
/***/
|
1095
|
+
/***/ 5286:
|
1279
1096
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1280
1097
|
|
1281
|
-
var x = y => {
|
1282
|
-
var
|
1283
|
-
|
1098
|
+
var x = (y) => {
|
1099
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1100
|
+
}
|
1101
|
+
var y = (x) => (() => (x))
|
1102
|
+
module.exports = x({ ["Fragment"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.Fragment), ["Teleport"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.Teleport), ["Transition"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.Transition), ["computed"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.computed), ["createVNode"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.createVNode), ["defineComponent"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.defineComponent), ["getCurrentInstance"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.getCurrentInstance), ["h"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.h), ["inject"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.inject), ["mergeProps"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.mergeProps), ["nextTick"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.nextTick), ["onBeforeUnmount"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount), ["onMounted"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.onMounted), ["provide"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.provide), ["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), ["vShow"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.vShow), ["watch"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.watch), ["withDirectives"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.withDirectives) });
|
1284
1103
|
|
1285
1104
|
/***/ }),
|
1286
1105
|
|
1287
|
-
/***/
|
1106
|
+
/***/ 6284:
|
1288
1107
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1289
1108
|
|
1290
1109
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
@@ -1298,128 +1117,296 @@ function _arrayLikeToArray(arr, len) {
|
|
1298
1117
|
|
1299
1118
|
/***/ }),
|
1300
1119
|
|
1301
|
-
/***/
|
1302
|
-
/***/ ((
|
1120
|
+
/***/ 7416:
|
1121
|
+
/***/ ((module) => {
|
1303
1122
|
|
1304
|
-
|
1305
|
-
|
1306
|
-
|
1307
|
-
|
1123
|
+
/**
|
1124
|
+
* Copyright 2004-present Facebook. All Rights Reserved.
|
1125
|
+
*
|
1126
|
+
* @providesModule UserAgent_DEPRECATED
|
1127
|
+
*/
|
1308
1128
|
|
1309
|
-
|
1310
|
-
|
1311
|
-
|
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:
|
1135
|
+
*
|
1136
|
+
* if (UserAgent_DEPRECATED.ie()) {
|
1137
|
+
* // IE
|
1138
|
+
* }
|
1139
|
+
*
|
1140
|
+
* You can also do version checks:
|
1141
|
+
*
|
1142
|
+
* if (UserAgent_DEPRECATED.ie() >= 7) {
|
1143
|
+
* // IE7 or better
|
1144
|
+
* }
|
1145
|
+
*
|
1146
|
+
* The browser functions will return NaN if the browser does not match, so
|
1147
|
+
* you can also do version compares the other way:
|
1148
|
+
*
|
1149
|
+
* if (UserAgent_DEPRECATED.ie() < 7) {
|
1150
|
+
* // IE6 or worse
|
1151
|
+
* }
|
1152
|
+
*
|
1153
|
+
* Note that the version is a float and may include a minor version number,
|
1154
|
+
* so you should always use range operators to perform comparisons, not
|
1155
|
+
* strict equality.
|
1156
|
+
*
|
1157
|
+
* **Note:** You should **strongly** prefer capability detection to browser
|
1158
|
+
* version detection where it's reasonable:
|
1159
|
+
*
|
1160
|
+
* http://www.quirksmode.org/js/support.html
|
1161
|
+
*
|
1162
|
+
* Further, we have a large number of mature wrapper functions and classes
|
1163
|
+
* which abstract away many browser irregularities. Check the documentation,
|
1164
|
+
* grep for things, or ask on javascript@lists.facebook.com before writing yet
|
1165
|
+
* another copy of "event || window.event".
|
1166
|
+
*
|
1167
|
+
*/
|
1168
|
+
|
1169
|
+
var _populated = false;
|
1170
|
+
|
1171
|
+
// Browsers
|
1172
|
+
var _ie, _firefox, _opera, _webkit, _chrome;
|
1173
|
+
|
1174
|
+
// Actual IE browser for compatibility mode
|
1175
|
+
var _ie_real_version;
|
1176
|
+
|
1177
|
+
// Platforms
|
1178
|
+
var _osx, _windows, _linux, _android;
|
1179
|
+
|
1180
|
+
// Architectures
|
1181
|
+
var _win64;
|
1182
|
+
|
1183
|
+
// Devices
|
1184
|
+
var _iphone, _ipad, _native;
|
1185
|
+
|
1186
|
+
var _mobile;
|
1187
|
+
|
1188
|
+
function _populate() {
|
1189
|
+
if (_populated) {
|
1190
|
+
return;
|
1191
|
+
}
|
1192
|
+
|
1193
|
+
_populated = true;
|
1194
|
+
|
1195
|
+
// To work around buggy JS libraries that can't handle multi-digit
|
1196
|
+
// version numbers, Opera 10's user agent string claims it's Opera
|
1197
|
+
// 9, then later includes a Version/X.Y field:
|
1198
|
+
//
|
1199
|
+
// Opera/9.80 (foo) Presto/2.2.15 Version/10.10
|
1200
|
+
var uas = navigator.userAgent;
|
1201
|
+
var agent = /(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(uas);
|
1202
|
+
var os = /(Mac OS X)|(Windows)|(Linux)/.exec(uas);
|
1203
|
+
|
1204
|
+
_iphone = /\b(iPhone|iP[ao]d)/.exec(uas);
|
1205
|
+
_ipad = /\b(iP[ao]d)/.exec(uas);
|
1206
|
+
_android = /Android/i.exec(uas);
|
1207
|
+
_native = /FBAN\/\w+;/i.exec(uas);
|
1208
|
+
_mobile = /Mobile/i.exec(uas);
|
1209
|
+
|
1210
|
+
// Note that the IE team blog would have you believe you should be checking
|
1211
|
+
// for 'Win64; x64'. But MSDN then reveals that you can actually be coming
|
1212
|
+
// from either x64 or ia64; so ultimately, you should just check for Win64
|
1213
|
+
// as in indicator of whether you're in 64-bit IE. 32-bit IE on 64-bit
|
1214
|
+
// Windows will send 'WOW64' instead.
|
1215
|
+
_win64 = !!(/Win64/.exec(uas));
|
1312
1216
|
|
1313
|
-
|
1217
|
+
if (agent) {
|
1218
|
+
_ie = agent[1] ? parseFloat(agent[1]) : (
|
1219
|
+
agent[5] ? parseFloat(agent[5]) : NaN);
|
1220
|
+
// IE compatibility mode
|
1221
|
+
if (_ie && document && document.documentMode) {
|
1222
|
+
_ie = document.documentMode;
|
1223
|
+
}
|
1224
|
+
// grab the "true" ie version from the trident token if available
|
1225
|
+
var trident = /(?:Trident\/(\d+.\d+))/.exec(uas);
|
1226
|
+
_ie_real_version = trident ? parseFloat(trident[1]) + 4 : _ie;
|
1314
1227
|
|
1315
|
-
|
1316
|
-
|
1228
|
+
_firefox = agent[2] ? parseFloat(agent[2]) : NaN;
|
1229
|
+
_opera = agent[3] ? parseFloat(agent[3]) : NaN;
|
1230
|
+
_webkit = agent[4] ? parseFloat(agent[4]) : NaN;
|
1231
|
+
if (_webkit) {
|
1232
|
+
// We do not add the regexp to the above test, because it will always
|
1233
|
+
// match 'safari' only since 'AppleWebKit' appears before 'Chrome' in
|
1234
|
+
// the userAgent string.
|
1235
|
+
agent = /(?:Chrome\/(\d+\.\d+))/.exec(uas);
|
1236
|
+
_chrome = agent && agent[1] ? parseFloat(agent[1]) : NaN;
|
1237
|
+
} else {
|
1238
|
+
_chrome = NaN;
|
1239
|
+
}
|
1240
|
+
} else {
|
1241
|
+
_ie = _firefox = _opera = _chrome = _webkit = NaN;
|
1242
|
+
}
|
1317
1243
|
|
1318
|
-
|
1319
|
-
|
1320
|
-
|
1321
|
-
|
1244
|
+
if (os) {
|
1245
|
+
if (os[1]) {
|
1246
|
+
// Detect OS X version. If no version number matches, set _osx to true.
|
1247
|
+
// Version examples: 10, 10_6_1, 10.7
|
1248
|
+
// Parses version number as a float, taking only first two sets of
|
1249
|
+
// digits. If only one set of digits is found, returns just the major
|
1250
|
+
// version number.
|
1251
|
+
var ver = /(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(uas);
|
1322
1252
|
|
1323
|
-
|
1324
|
-
|
1325
|
-
|
1326
|
-
|
1327
|
-
|
1328
|
-
|
1329
|
-
configurable: true,
|
1330
|
-
writable: true
|
1331
|
-
});
|
1253
|
+
_osx = ver ? parseFloat(ver[1].replace('_', '.')) : true;
|
1254
|
+
} else {
|
1255
|
+
_osx = false;
|
1256
|
+
}
|
1257
|
+
_windows = !!os[2];
|
1258
|
+
_linux = !!os[3];
|
1332
1259
|
} else {
|
1333
|
-
|
1260
|
+
_osx = _windows = _linux = false;
|
1334
1261
|
}
|
1335
|
-
return obj;
|
1336
1262
|
}
|
1337
1263
|
|
1338
|
-
|
1264
|
+
var UserAgent_DEPRECATED = {
|
1339
1265
|
|
1340
|
-
|
1341
|
-
|
1266
|
+
/**
|
1267
|
+
* Check if the UA is Internet Explorer.
|
1268
|
+
*
|
1269
|
+
*
|
1270
|
+
* @return float|NaN Version number (if match) or NaN.
|
1271
|
+
*/
|
1272
|
+
ie: function() {
|
1273
|
+
return _populate() || _ie;
|
1274
|
+
},
|
1342
1275
|
|
1343
|
-
|
1344
|
-
|
1345
|
-
|
1346
|
-
|
1347
|
-
|
1348
|
-
|
1276
|
+
/**
|
1277
|
+
* Check if we're in Internet Explorer compatibility mode.
|
1278
|
+
*
|
1279
|
+
* @return bool true if in compatibility mode, false if
|
1280
|
+
* not compatibility mode or not ie
|
1281
|
+
*/
|
1282
|
+
ieCompatibilityMode: function() {
|
1283
|
+
return _populate() || (_ie_real_version > _ie);
|
1284
|
+
},
|
1349
1285
|
|
1350
|
-
/***/ }),
|
1351
1286
|
|
1352
|
-
|
1353
|
-
|
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
|
+
},
|
1354
1295
|
|
1355
|
-
|
1356
|
-
|
1357
|
-
|
1358
|
-
|
1359
|
-
|
1360
|
-
|
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
|
+
},
|
1361
1305
|
|
1362
|
-
/***/ }),
|
1363
1306
|
|
1364
|
-
|
1365
|
-
|
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
|
+
},
|
1366
1316
|
|
1367
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1368
|
-
/* harmony export */ "default": () => (/* binding */ _toConsumableArray)
|
1369
|
-
/* harmony export */ });
|
1370
|
-
/* harmony import */ var _arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(74);
|
1371
|
-
/* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1079);
|
1372
|
-
/* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9147);
|
1373
|
-
/* harmony import */ var _nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6098);
|
1374
1317
|
|
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
|
+
},
|
1327
|
+
|
1328
|
+
/**
|
1329
|
+
* For Push
|
1330
|
+
* WILL BE REMOVED VERY SOON. Use UserAgent_DEPRECATED.webkit
|
1331
|
+
*/
|
1332
|
+
safari: function() {
|
1333
|
+
return UserAgent_DEPRECATED.webkit();
|
1334
|
+
},
|
1375
1335
|
|
1336
|
+
/**
|
1337
|
+
* Check if the UA is a Chrome browser.
|
1338
|
+
*
|
1339
|
+
*
|
1340
|
+
* @return float|NaN Version number (if match) or NaN.
|
1341
|
+
*/
|
1342
|
+
chrome : function() {
|
1343
|
+
return _populate() || _chrome;
|
1344
|
+
},
|
1376
1345
|
|
1377
1346
|
|
1378
|
-
|
1379
|
-
|
1380
|
-
|
1347
|
+
/**
|
1348
|
+
* Check if the user is running Windows.
|
1349
|
+
*
|
1350
|
+
* @return bool `true' if the user's OS is Windows.
|
1351
|
+
*/
|
1352
|
+
windows: function() {
|
1353
|
+
return _populate() || _windows;
|
1354
|
+
},
|
1381
1355
|
|
1382
|
-
/***/ }),
|
1383
1356
|
|
1384
|
-
|
1385
|
-
|
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
|
+
},
|
1386
1366
|
|
1387
|
-
|
1388
|
-
|
1389
|
-
|
1390
|
-
|
1367
|
+
/**
|
1368
|
+
* Check if the user is running Linux.
|
1369
|
+
*
|
1370
|
+
* @return bool `true' if the user's OS is some flavor of Linux.
|
1371
|
+
*/
|
1372
|
+
linux: function() {
|
1373
|
+
return _populate() || _linux;
|
1374
|
+
},
|
1391
1375
|
|
1392
|
-
|
1393
|
-
|
1394
|
-
|
1395
|
-
|
1396
|
-
|
1397
|
-
|
1398
|
-
|
1399
|
-
|
1400
|
-
|
1401
|
-
}
|
1376
|
+
/**
|
1377
|
+
* Check if the user is running on an iPhone or iPod platform.
|
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
|
+
},
|
1402
1385
|
|
1403
|
-
|
1386
|
+
mobile: function() {
|
1387
|
+
return _populate() || (_iphone || _ipad || _android || _mobile);
|
1388
|
+
},
|
1404
1389
|
|
1405
|
-
|
1406
|
-
|
1390
|
+
nativeApp: function() {
|
1391
|
+
// webviews inside of the native apps
|
1392
|
+
return _populate() || _native;
|
1393
|
+
},
|
1407
1394
|
|
1408
|
-
|
1409
|
-
|
1410
|
-
|
1411
|
-
|
1412
|
-
|
1395
|
+
android: function() {
|
1396
|
+
return _populate() || _android;
|
1397
|
+
},
|
1398
|
+
|
1399
|
+
ipad: function() {
|
1400
|
+
return _populate() || _ipad;
|
1401
|
+
}
|
1402
|
+
};
|
1413
1403
|
|
1404
|
+
module.exports = UserAgent_DEPRECATED;
|
1414
1405
|
|
1415
|
-
function toPropertyKey(t) {
|
1416
|
-
var i = (0,_toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t, "string");
|
1417
|
-
return "symbol" == (0,_typeof_js__WEBPACK_IMPORTED_MODULE_1__["default"])(i) ? i : String(i);
|
1418
|
-
}
|
1419
1406
|
|
1420
1407
|
/***/ }),
|
1421
1408
|
|
1422
|
-
/***/
|
1409
|
+
/***/ 7545:
|
1423
1410
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1424
1411
|
|
1425
1412
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
@@ -1437,13 +1424,13 @@ function _typeof(o) {
|
|
1437
1424
|
|
1438
1425
|
/***/ }),
|
1439
1426
|
|
1440
|
-
/***/
|
1427
|
+
/***/ 7985:
|
1441
1428
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1442
1429
|
|
1443
1430
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1444
1431
|
/* harmony export */ "default": () => (/* binding */ _unsupportedIterableToArray)
|
1445
1432
|
/* harmony export */ });
|
1446
|
-
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
1433
|
+
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6284);
|
1447
1434
|
|
1448
1435
|
function _unsupportedIterableToArray(o, minLen) {
|
1449
1436
|
if (!o) return;
|
@@ -1454,6 +1441,35 @@ function _unsupportedIterableToArray(o, minLen) {
|
|
1454
1441
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(o, minLen);
|
1455
1442
|
}
|
1456
1443
|
|
1444
|
+
/***/ }),
|
1445
|
+
|
1446
|
+
/***/ 8283:
|
1447
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1448
|
+
|
1449
|
+
module.exports = __webpack_require__(5022);
|
1450
|
+
|
1451
|
+
|
1452
|
+
/***/ }),
|
1453
|
+
|
1454
|
+
/***/ 9824:
|
1455
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1456
|
+
|
1457
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1458
|
+
/* harmony export */ "default": () => (/* binding */ toPrimitive)
|
1459
|
+
/* harmony export */ });
|
1460
|
+
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7545);
|
1461
|
+
|
1462
|
+
function toPrimitive(t, r) {
|
1463
|
+
if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t) || !t) return t;
|
1464
|
+
var e = t[Symbol.toPrimitive];
|
1465
|
+
if (void 0 !== e) {
|
1466
|
+
var i = e.call(t, r || "default");
|
1467
|
+
if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(i)) return i;
|
1468
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
1469
|
+
}
|
1470
|
+
return ("string" === r ? String : Number)(t);
|
1471
|
+
}
|
1472
|
+
|
1457
1473
|
/***/ })
|
1458
1474
|
|
1459
1475
|
/******/ });
|
@@ -1514,8 +1530,6 @@ function _unsupportedIterableToArray(o, minLen) {
|
|
1514
1530
|
/******/
|
1515
1531
|
/************************************************************************/
|
1516
1532
|
var __webpack_exports__ = {};
|
1517
|
-
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
1518
|
-
(() => {
|
1519
1533
|
|
1520
1534
|
// EXPORTS
|
1521
1535
|
__webpack_require__.d(__webpack_exports__, {
|
@@ -1525,16 +1539,18 @@ __webpack_require__.d(__webpack_exports__, {
|
|
1525
1539
|
});
|
1526
1540
|
|
1527
1541
|
// EXTERNAL MODULE: external "../shared"
|
1528
|
-
var shared_ = __webpack_require__(
|
1542
|
+
var shared_ = __webpack_require__(5166);
|
1529
1543
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
1530
|
-
var defineProperty = __webpack_require__(
|
1544
|
+
var defineProperty = __webpack_require__(4586);
|
1531
1545
|
// EXTERNAL MODULE: external "vue"
|
1532
|
-
var external_vue_ = __webpack_require__(
|
1533
|
-
;//
|
1534
|
-
var x = y => {
|
1535
|
-
var
|
1536
|
-
|
1537
|
-
|
1546
|
+
var external_vue_ = __webpack_require__(5286);
|
1547
|
+
;// external "../config-provider"
|
1548
|
+
var x = (y) => {
|
1549
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1550
|
+
}
|
1551
|
+
var y = (x) => (() => (x))
|
1552
|
+
const config_provider_namespaceObject = x({ ["useLocale"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.useLocale), ["usePrefix"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix) });
|
1553
|
+
;// ../../packages/date-picker/src/base/picker-dropdown.tsx
|
1538
1554
|
|
1539
1555
|
|
1540
1556
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
@@ -1785,11 +1801,11 @@ var pickerDropdownProps = {
|
|
1785
1801
|
}, [(_this$$slots$default = (_this$$slots$default2 = (_this$$slots = this.$slots)["default"]) === null || _this$$slots$default2 === void 0 ? void 0 : _this$$slots$default2.call(_this$$slots)) !== null && _this$$slots$default !== void 0 ? _this$$slots$default : '']);
|
1786
1802
|
}
|
1787
1803
|
}));
|
1788
|
-
;//
|
1804
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
1789
1805
|
function _arrayWithHoles(arr) {
|
1790
1806
|
if (Array.isArray(arr)) return arr;
|
1791
1807
|
}
|
1792
|
-
;//
|
1808
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
|
1793
1809
|
function _iterableToArrayLimit(r, l) {
|
1794
1810
|
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
1795
1811
|
if (null != t) {
|
@@ -1818,12 +1834,12 @@ function _iterableToArrayLimit(r, l) {
|
|
1818
1834
|
}
|
1819
1835
|
}
|
1820
1836
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
1821
|
-
var unsupportedIterableToArray = __webpack_require__(
|
1822
|
-
;//
|
1837
|
+
var unsupportedIterableToArray = __webpack_require__(7985);
|
1838
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
1823
1839
|
function _nonIterableRest() {
|
1824
1840
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
1825
1841
|
}
|
1826
|
-
;//
|
1842
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js
|
1827
1843
|
|
1828
1844
|
|
1829
1845
|
|
@@ -1832,16 +1848,18 @@ function _slicedToArray(arr, i) {
|
|
1832
1848
|
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || (0,unsupportedIterableToArray["default"])(arr, i) || _nonIterableRest();
|
1833
1849
|
}
|
1834
1850
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
1835
|
-
var toConsumableArray = __webpack_require__(
|
1851
|
+
var toConsumableArray = __webpack_require__(5153);
|
1836
1852
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
1837
|
-
var esm_typeof = __webpack_require__(
|
1838
|
-
// EXTERNAL MODULE: ../../packages/directives/src/index.ts +
|
1839
|
-
var src = __webpack_require__(
|
1840
|
-
;//
|
1841
|
-
var icon_x = y => {
|
1842
|
-
var
|
1843
|
-
|
1844
|
-
|
1853
|
+
var esm_typeof = __webpack_require__(7545);
|
1854
|
+
// EXTERNAL MODULE: ../../packages/directives/src/index.ts + 7 modules
|
1855
|
+
var src = __webpack_require__(4193);
|
1856
|
+
;// external "../icon"
|
1857
|
+
var icon_x = (y) => {
|
1858
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1859
|
+
}
|
1860
|
+
var icon_y = (x) => (() => (x))
|
1861
|
+
const icon_namespaceObject = icon_x({ ["AngleDoubleLeft"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleDoubleLeft), ["AngleDoubleRight"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleDoubleRight), ["AngleLeft"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleLeft), ["AngleRight"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleRight), ["Close"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Close) });
|
1862
|
+
;// ../../packages/date-picker/src/common.tsx
|
1845
1863
|
|
1846
1864
|
/*
|
1847
1865
|
* Tencent is pleased to support the open source community by making
|
@@ -1896,15 +1914,19 @@ var timeIcon = (0,external_vue_.createVNode)(external_vue_.Fragment, null, [(0,e
|
|
1896
1914
|
"fill": "#c4c6cc",
|
1897
1915
|
"points": "512,512 512,256 448,256 448,512 448,576 512,576 768,576 768,512"
|
1898
1916
|
}, null)])])]);
|
1899
|
-
;//
|
1900
|
-
var button_x = y => {
|
1901
|
-
var
|
1902
|
-
|
1903
|
-
|
1904
|
-
|
1905
|
-
|
1917
|
+
;// external "../button"
|
1918
|
+
var button_x = (y) => {
|
1919
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1920
|
+
}
|
1921
|
+
var button_y = (x) => (() => (x))
|
1922
|
+
const button_namespaceObject = button_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_button_a2ea7c9a__["default"]) });
|
1923
|
+
;// external "../button/button.less"
|
1924
|
+
var button_less_x = (y) => {
|
1925
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1926
|
+
}
|
1927
|
+
var button_less_y = (x) => (() => (x))
|
1906
1928
|
const button_less_namespaceObject = button_less_x({ });
|
1907
|
-
;//
|
1929
|
+
;// ../../packages/date-picker/src/base/confirm.tsx
|
1908
1930
|
|
1909
1931
|
|
1910
1932
|
/*
|
@@ -2038,15 +2060,19 @@ var confirmProps = {
|
|
2038
2060
|
}), [this.labels.ok])])]);
|
2039
2061
|
}
|
2040
2062
|
}));
|
2041
|
-
;//
|
2042
|
-
var external_js_calendar_x = y => {
|
2043
|
-
var
|
2044
|
-
|
2045
|
-
|
2046
|
-
|
2047
|
-
|
2048
|
-
|
2049
|
-
|
2063
|
+
;// external "js-calendar"
|
2064
|
+
var external_js_calendar_x = (y) => {
|
2065
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
2066
|
+
}
|
2067
|
+
var external_js_calendar_y = (x) => (() => (x))
|
2068
|
+
const external_js_calendar_namespaceObject = external_js_calendar_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_js_calendar_b62d9a01__["default"]) });
|
2069
|
+
;// external "date-fns"
|
2070
|
+
var external_date_fns_x = (y) => {
|
2071
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
2072
|
+
}
|
2073
|
+
var external_date_fns_y = (x) => (() => (x))
|
2074
|
+
const external_date_fns_namespaceObject = external_date_fns_x({ ["format"]: () => (__WEBPACK_EXTERNAL_MODULE_date_fns_f4130be9__.format), ["toDate"]: () => (__WEBPACK_EXTERNAL_MODULE_date_fns_f4130be9__.toDate) });
|
2075
|
+
;// ../../packages/date-picker/src/fecha.ts
|
2050
2076
|
/*
|
2051
2077
|
* Tencent is pleased to support the open source community by making
|
2052
2078
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -2351,7 +2377,7 @@ fecha.parse = function (dateStr, format, i18nSettings) {
|
|
2351
2377
|
return date;
|
2352
2378
|
};
|
2353
2379
|
/* harmony default export */ const src_fecha = (fecha);
|
2354
|
-
;//
|
2380
|
+
;// ../../packages/date-picker/src/utils.ts
|
2355
2381
|
|
2356
2382
|
/*
|
2357
2383
|
* Tencent is pleased to support the open source community by making
|
@@ -2817,7 +2843,7 @@ var mergeDateHMS = function mergeDateHMS(date) {
|
|
2817
2843
|
var capitalize = function capitalize(str) {
|
2818
2844
|
return str[0].toUpperCase() + str.slice(1);
|
2819
2845
|
};
|
2820
|
-
;//
|
2846
|
+
;// ../../packages/date-picker/src/base/date-table.tsx
|
2821
2847
|
|
2822
2848
|
|
2823
2849
|
|
@@ -2983,7 +3009,7 @@ var dateTableProps = {
|
|
2983
3009
|
})]);
|
2984
3010
|
}
|
2985
3011
|
}));
|
2986
|
-
;//
|
3012
|
+
;// ../../packages/date-picker/src/base/month-table.tsx
|
2987
3013
|
|
2988
3014
|
|
2989
3015
|
|
@@ -3163,7 +3189,7 @@ var monthTableProps = {
|
|
3163
3189
|
})]);
|
3164
3190
|
}
|
3165
3191
|
}));
|
3166
|
-
;//
|
3192
|
+
;// ../../packages/date-picker/src/base/year-table.tsx
|
3167
3193
|
|
3168
3194
|
|
3169
3195
|
|
@@ -3342,11 +3368,13 @@ var yearTableProps = {
|
|
3342
3368
|
);
|
3343
3369
|
}
|
3344
3370
|
}));
|
3345
|
-
;//
|
3346
|
-
var debounce_x = y => {
|
3347
|
-
var
|
3348
|
-
|
3349
|
-
|
3371
|
+
;// external "lodash/debounce"
|
3372
|
+
var debounce_x = (y) => {
|
3373
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
3374
|
+
}
|
3375
|
+
var debounce_y = (x) => (() => (x))
|
3376
|
+
const debounce_namespaceObject = debounce_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_lodash_debounce_3540babe__["default"]) });
|
3377
|
+
;// ../../packages/date-picker/src/props.ts
|
3350
3378
|
/*
|
3351
3379
|
* Tencent is pleased to support the open source community by making
|
3352
3380
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -3569,7 +3597,7 @@ var timePickerProps = {
|
|
3569
3597
|
"default": false
|
3570
3598
|
}
|
3571
3599
|
};
|
3572
|
-
;//
|
3600
|
+
;// ../../packages/date-picker/src/base/time-spinner.tsx
|
3573
3601
|
|
3574
3602
|
|
3575
3603
|
function time_spinner_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
@@ -3993,7 +4021,7 @@ var timeParts = ['hours', 'minutes', 'seconds'];
|
|
3993
4021
|
})])]), [[external_vue_.vShow, this.showSeconds]])]);
|
3994
4022
|
}
|
3995
4023
|
}));
|
3996
|
-
;//
|
4024
|
+
;// ../../packages/date-picker/src/panel/time.tsx
|
3997
4025
|
|
3998
4026
|
|
3999
4027
|
|
@@ -4215,7 +4243,7 @@ var timeProps = {
|
|
4215
4243
|
}, null)])])]);
|
4216
4244
|
}
|
4217
4245
|
}));
|
4218
|
-
;//
|
4246
|
+
;// ../../packages/date-picker/src/panel/date.tsx
|
4219
4247
|
|
4220
4248
|
|
4221
4249
|
function date_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
@@ -4647,7 +4675,7 @@ var datePanelProps = {
|
|
4647
4675
|
}, [(_this$$slots$shortcut = (_this$$slots$shortcut2 = (_this$$slots = this.$slots).shortcuts) === null || _this$$slots$shortcut2 === void 0 ? void 0 : _this$$slots$shortcut2.call(_this$$slots)) !== null && _this$$slots$shortcut !== void 0 ? _this$$slots$shortcut : null]) : null]);
|
4648
4676
|
}
|
4649
4677
|
}));
|
4650
|
-
;//
|
4678
|
+
;// ../../packages/date-picker/src/panel/time-range.tsx
|
4651
4679
|
|
4652
4680
|
|
4653
4681
|
|
@@ -4911,7 +4939,7 @@ var timeRangeProps = {
|
|
4911
4939
|
}, null)])])]);
|
4912
4940
|
}
|
4913
4941
|
}));
|
4914
|
-
;//
|
4942
|
+
;// ../../packages/date-picker/src/panel/date-range.tsx
|
4915
4943
|
|
4916
4944
|
|
4917
4945
|
|
@@ -5715,7 +5743,7 @@ var dateRangePanelProps = {
|
|
5715
5743
|
}, this.$slots) : '']), shortcuts]);
|
5716
5744
|
}
|
5717
5745
|
}));
|
5718
|
-
;//
|
5746
|
+
;// ../../packages/date-picker/src/date-picker.tsx
|
5719
5747
|
|
5720
5748
|
|
5721
5749
|
|
@@ -6444,7 +6472,7 @@ function date_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
6444
6472
|
})]), [[(0,external_vue_.resolveDirective)("clickoutside"), this.handleClose]]);
|
6445
6473
|
}
|
6446
6474
|
}));
|
6447
|
-
;//
|
6475
|
+
;// ../../packages/date-picker/src/time-picker.tsx
|
6448
6476
|
|
6449
6477
|
|
6450
6478
|
|
@@ -7153,7 +7181,7 @@ function time_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
7153
7181
|
})]), [[(0,external_vue_.resolveDirective)("clickoutside"), this.handleClose]]);
|
7154
7182
|
}
|
7155
7183
|
}));
|
7156
|
-
;//
|
7184
|
+
;// ../../packages/date-picker/src/index.ts
|
7157
7185
|
/*
|
7158
7186
|
* Tencent is pleased to support the open source community by making
|
7159
7187
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -7186,8 +7214,6 @@ function time_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
7186
7214
|
var BkDatePicker = (0,shared_.withInstall)(date_picker);
|
7187
7215
|
/* harmony default export */ const date_picker_src = (BkDatePicker);
|
7188
7216
|
|
7189
|
-
})();
|
7190
|
-
|
7191
7217
|
var __webpack_exports__PickerDropdown = __webpack_exports__.PickerDropdown;
|
7192
7218
|
var __webpack_exports__TimePicker = __webpack_exports__.TimePicker;
|
7193
7219
|
var __webpack_exports__default = __webpack_exports__["default"];
|