bkui-vue 2.0.2-beta.12 → 2.0.2-beta.14
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 +21441 -17749
- package/dist/index.umd.js +159 -133
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.variable.css +1 -0
- package/lib/affix/index.js +30 -22
- package/lib/alert/alert.variable.css +1 -0
- package/lib/alert/index.js +30 -22
- package/lib/animate-number/index.js +14 -10
- package/lib/backtop/backtop.variable.css +1 -0
- package/lib/backtop/index.js +32 -22
- package/lib/badge/badge.variable.css +1 -0
- package/lib/badge/index.js +24 -18
- package/lib/breadcrumb/breadcrumb.variable.css +1 -0
- package/lib/breadcrumb/index.js +31 -23
- package/lib/button/button.variable.css +1 -0
- package/lib/button/index.js +36 -26
- package/lib/card/card.variable.css +1 -0
- package/lib/card/index.js +47 -33
- package/lib/cascader/cascader.variable.css +1 -0
- package/lib/cascader/index.js +651 -625
- package/lib/checkbox/checkbox.variable.css +1 -0
- package/lib/checkbox/index.js +45 -35
- package/lib/code-diff/code-diff.variable.css +1 -0
- package/lib/code-diff/index.js +83 -79
- package/lib/collapse/collapse.variable.css +1 -0
- package/lib/collapse/index.js +39 -33
- package/lib/collapse-transition/collapse-transition.variable.css +1 -0
- package/lib/collapse-transition/index.js +20 -14
- package/lib/color-picker/color-picker.variable.css +1 -0
- package/lib/color-picker/index.js +610 -597
- package/lib/config-provider/config-provider.variable.css +1 -0
- package/lib/config-provider/index.js +34 -26
- package/lib/container/container.variable.css +1 -0
- package/lib/container/index.js +27 -21
- package/lib/date-picker/date-picker.variable.css +1 -0
- package/lib/date-picker/index.js +642 -623
- package/lib/dialog/dialog.variable.css +1 -0
- package/lib/dialog/index.js +101 -87
- package/lib/directives/index.js +439 -434
- package/lib/divider/divider.variable.css +1 -0
- package/lib/divider/index.js +21 -15
- package/lib/dropdown/dropdown.variable.css +1 -0
- package/lib/dropdown/index.js +43 -31
- package/lib/exception/exception.variable.css +1 -0
- package/lib/exception/index.js +55 -49
- package/lib/fixed-navbar/fixed-navbar.variable.css +1 -0
- package/lib/fixed-navbar/index.js +20 -14
- package/lib/form/form.variable.css +1 -0
- package/lib/form/index.js +632 -611
- 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/image-viewer.variable.css +1 -0
- package/lib/image/image.variable.css +1 -0
- package/lib/image/index.js +341 -328
- package/lib/index.js +1 -1
- package/lib/info-box/index.js +101 -87
- package/lib/info-box/info-box.variable.css +1 -0
- package/lib/input/index.js +334 -325
- package/lib/input/input.variable.css +1 -0
- package/lib/link/index.js +26 -18
- package/lib/link/link.variable.css +1 -0
- package/lib/loading/index.js +25 -19
- package/lib/loading/loading.variable.css +1 -0
- package/lib/locale/index.js +3 -3
- package/lib/menu/index.js +40 -32
- package/lib/menu/menu.variable.css +1 -0
- package/lib/menu/submenu.variable.css +1 -0
- package/lib/message/index.js +48 -42
- package/lib/message/message.variable.css +1 -0
- package/lib/modal/index.js +39 -29
- package/lib/modal/modal.variable.css +1 -0
- package/lib/navigation/index.js +27 -19
- package/lib/navigation/navigation.variable.css +1 -0
- package/lib/notify/index.js +37 -27
- package/lib/notify/notify.variable.css +1 -0
- package/lib/overflow-title/index.js +41 -29
- package/lib/pagination/index.js +62 -46
- package/lib/pagination/pagination.variable.css +1 -0
- package/lib/pop-confirm/index.d.ts +584 -0
- package/lib/pop-confirm/index.js +56 -36
- package/lib/pop-confirm/pop-confirm.d.ts +292 -0
- package/lib/pop-confirm/pop-confirm.variable.css +1 -0
- package/lib/pop-confirm/props.d.ts +146 -0
- package/lib/popover/index.js +362 -349
- package/lib/popover/popover.variable.css +1 -0
- package/lib/popover2/index.js +14 -10
- package/lib/process/index.js +78 -74
- package/lib/process/process.variable.css +1 -0
- package/lib/progress/index.js +26 -20
- package/lib/progress/progress.variable.css +1 -0
- package/lib/radio/index.js +39 -31
- package/lib/radio/radio.variable.css +1 -0
- package/lib/rate/index.js +25 -19
- package/lib/rate/rate.variable.css +1 -0
- package/lib/resize-layout/index.js +30 -22
- package/lib/resize-layout/resize-layout.variable.css +1 -0
- package/lib/scrollbar/css/scrollbar.variable.css +1 -0
- package/lib/scrollbar/index.js +25 -25
- package/lib/search-select/index.js +435 -416
- package/lib/search-select/search-select.variable.css +1 -0
- package/lib/select/index.js +489 -450
- package/lib/select/select.variable.css +1 -0
- package/lib/shared/index.js +57 -49
- package/lib/sideslider/index.js +89 -79
- package/lib/sideslider/sideslider.variable.css +1 -0
- package/lib/slider/index.js +85 -75
- package/lib/slider/slider.variable.css +1 -0
- package/lib/steps/index.js +78 -72
- package/lib/steps/steps.variable.css +1 -0
- package/lib/styles/mixins/animate.variable.css +1 -0
- package/lib/styles/mixins/popper.variable.css +1 -0
- package/lib/styles/mixins/scroll.variable.css +1 -0
- package/lib/styles/reset.variable.css +1 -0
- package/lib/swiper/index.js +24 -18
- package/lib/swiper/swiper.variable.css +1 -0
- package/lib/switcher/index.js +30 -22
- package/lib/switcher/switcher.variable.css +1 -0
- package/lib/tab/index.js +336 -325
- package/lib/tab/tab.variable.css +1 -0
- package/lib/table/index.js +564 -509
- package/lib/table/plugins/head-filter.variable.css +1 -0
- package/lib/table/plugins/head-sort.variable.css +1 -0
- package/lib/table/plugins/settings.variable.css +1 -0
- package/lib/table/table.variable.css +1 -0
- package/lib/table-column/index.js +13 -9
- package/lib/tag/index.js +36 -26
- package/lib/tag/tag.variable.css +1 -0
- package/lib/tag-input/index.js +375 -352
- package/lib/tag-input/tag-input.variable.css +1 -0
- package/lib/time-picker/index.js +13 -9
- package/lib/time-picker/time-picker.variable.css +1 -0
- package/lib/timeline/index.js +21 -15
- package/lib/timeline/timeline.variable.css +1 -0
- package/lib/transfer/index.js +56 -40
- package/lib/transfer/transfer.variable.css +1 -0
- package/lib/tree/index.js +17431 -91
- package/lib/tree/tree.css +28 -0
- package/lib/tree/tree.less +33 -2
- package/lib/tree/tree.variable.css +29 -0
- package/lib/upload/index.js +584 -572
- package/lib/upload/upload.variable.css +1 -0
- package/lib/virtual-render/index.js +55 -43
- package/lib/virtual-render/virtual-render.variable.css +1 -0
- package/package.json +1 -1
@@ -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_popover_9b03f19d__ from "../popover";
|
3
4
|
import * as __WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__ from "@popperjs/core";
|
4
5
|
import * as __WEBPACK_EXTERNAL_MODULE__loading_4d683b23__ from "../loading";
|
5
6
|
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,7 +12,181 @@ 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
|
-
/***/
|
15
|
+
/***/ 205:
|
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
|
+
/***/ 592:
|
33
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
34
|
+
|
35
|
+
var x = (y) => {
|
36
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
37
|
+
}
|
38
|
+
var y = (x) => (() => (x))
|
39
|
+
module.exports = x({ ["$bkPopover"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__.$bkPopover) });
|
40
|
+
|
41
|
+
/***/ }),
|
42
|
+
|
43
|
+
/***/ 1043:
|
44
|
+
/***/ ((module) => {
|
45
|
+
|
46
|
+
/**
|
47
|
+
* Copyright (c) 2015, Facebook, Inc.
|
48
|
+
* All rights reserved.
|
49
|
+
*
|
50
|
+
* This source code is licensed under the BSD-style license found in the
|
51
|
+
* LICENSE file in the root directory of this source tree. An additional grant
|
52
|
+
* of patent rights can be found in the PATENTS file in the same directory.
|
53
|
+
*
|
54
|
+
* @providesModule ExecutionEnvironment
|
55
|
+
*/
|
56
|
+
|
57
|
+
/*jslint evil: true */
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
var canUseDOM = !!(
|
62
|
+
typeof window !== 'undefined' &&
|
63
|
+
window.document &&
|
64
|
+
window.document.createElement
|
65
|
+
);
|
66
|
+
|
67
|
+
/**
|
68
|
+
* Simple, lightweight module assisting with the detection and context of
|
69
|
+
* Worker. Helps avoid circular dependencies and allows code to reason about
|
70
|
+
* whether or not they are in a Worker, even if they never include the main
|
71
|
+
* `ReactWorker` dependency.
|
72
|
+
*/
|
73
|
+
var ExecutionEnvironment = {
|
74
|
+
|
75
|
+
canUseDOM: canUseDOM,
|
76
|
+
|
77
|
+
canUseWorkers: typeof Worker !== 'undefined',
|
78
|
+
|
79
|
+
canUseEventListeners:
|
80
|
+
canUseDOM && !!(window.addEventListener || window.attachEvent),
|
81
|
+
|
82
|
+
canUseViewport: canUseDOM && !!window.screen,
|
83
|
+
|
84
|
+
isInWorker: !canUseDOM // For now, this is true - might change in the future.
|
85
|
+
|
86
|
+
};
|
87
|
+
|
88
|
+
module.exports = ExecutionEnvironment;
|
89
|
+
|
90
|
+
|
91
|
+
/***/ }),
|
92
|
+
|
93
|
+
/***/ 2586:
|
94
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
95
|
+
|
96
|
+
/**
|
97
|
+
* Copyright 2013-2015, Facebook, Inc.
|
98
|
+
* All rights reserved.
|
99
|
+
*
|
100
|
+
* This source code is licensed under the BSD-style license found in the
|
101
|
+
* LICENSE file in the root directory of this source tree. An additional grant
|
102
|
+
* of patent rights can be found in the PATENTS file in the same directory.
|
103
|
+
*
|
104
|
+
* @providesModule isEventSupported
|
105
|
+
*/
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
var ExecutionEnvironment = __webpack_require__(1043);
|
110
|
+
|
111
|
+
var useHasFeature;
|
112
|
+
if (ExecutionEnvironment.canUseDOM) {
|
113
|
+
useHasFeature =
|
114
|
+
document.implementation &&
|
115
|
+
document.implementation.hasFeature &&
|
116
|
+
// always returns true in newer browsers as per the standard.
|
117
|
+
// @see http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature
|
118
|
+
document.implementation.hasFeature('', '') !== true;
|
119
|
+
}
|
120
|
+
|
121
|
+
/**
|
122
|
+
* Checks if an event is supported in the current execution environment.
|
123
|
+
*
|
124
|
+
* NOTE: This will not work correctly for non-generic events such as `change`,
|
125
|
+
* `reset`, `load`, `error`, and `select`.
|
126
|
+
*
|
127
|
+
* Borrows from Modernizr.
|
128
|
+
*
|
129
|
+
* @param {string} eventNameSuffix Event name, e.g. "click".
|
130
|
+
* @param {?boolean} capture Check if the capture phase is supported.
|
131
|
+
* @return {boolean} True if the event is supported.
|
132
|
+
* @internal
|
133
|
+
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
134
|
+
*/
|
135
|
+
function isEventSupported(eventNameSuffix, capture) {
|
136
|
+
if (!ExecutionEnvironment.canUseDOM ||
|
137
|
+
capture && !('addEventListener' in document)) {
|
138
|
+
return false;
|
139
|
+
}
|
140
|
+
|
141
|
+
var eventName = 'on' + eventNameSuffix;
|
142
|
+
var isSupported = eventName in document;
|
143
|
+
|
144
|
+
if (!isSupported) {
|
145
|
+
var element = document.createElement('div');
|
146
|
+
element.setAttribute(eventName, 'return;');
|
147
|
+
isSupported = typeof element[eventName] === 'function';
|
148
|
+
}
|
149
|
+
|
150
|
+
if (!isSupported && useHasFeature && eventNameSuffix === 'wheel') {
|
151
|
+
// This is the only way to test support for the `wheel` event in IE9+.
|
152
|
+
isSupported = document.implementation.hasFeature('Events.wheel', '3.0');
|
153
|
+
}
|
154
|
+
|
155
|
+
return isSupported;
|
156
|
+
}
|
157
|
+
|
158
|
+
module.exports = isEventSupported;
|
159
|
+
|
160
|
+
|
161
|
+
/***/ }),
|
162
|
+
|
163
|
+
/***/ 2880:
|
164
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
165
|
+
|
166
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
167
|
+
/* harmony export */ "default": () => (/* binding */ _nonIterableSpread)
|
168
|
+
/* harmony export */ });
|
169
|
+
function _nonIterableSpread() {
|
170
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
171
|
+
}
|
172
|
+
|
173
|
+
/***/ }),
|
174
|
+
|
175
|
+
/***/ 3492:
|
176
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
177
|
+
|
178
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
179
|
+
/* harmony export */ "default": () => (/* binding */ _arrayWithoutHoles)
|
180
|
+
/* harmony export */ });
|
181
|
+
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6284);
|
182
|
+
|
183
|
+
function _arrayWithoutHoles(arr) {
|
184
|
+
if (Array.isArray(arr)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(arr);
|
185
|
+
}
|
186
|
+
|
187
|
+
/***/ }),
|
188
|
+
|
189
|
+
/***/ 4193:
|
16
190
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
17
191
|
|
18
192
|
|
@@ -23,7 +197,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
23
197
|
|
24
198
|
// UNUSED EXPORTS: bkEllipsis, bkEllipsisInstance, bkLoading, bkTooltips, mousewheel, overflowTitle
|
25
199
|
|
26
|
-
;//
|
200
|
+
;// ../../packages/directives/src/clickoutside.ts
|
27
201
|
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; } } }; }
|
28
202
|
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); }
|
29
203
|
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; }
|
@@ -150,10 +324,10 @@ ClickOutside.install = function (app) {
|
|
150
324
|
};
|
151
325
|
/* harmony default export */ const clickoutside = (ClickOutside);
|
152
326
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
153
|
-
var esm_typeof = __webpack_require__(
|
327
|
+
var esm_typeof = __webpack_require__(7545);
|
154
328
|
// EXTERNAL MODULE: external "../popover"
|
155
|
-
var popover_ = __webpack_require__(
|
156
|
-
;//
|
329
|
+
var popover_ = __webpack_require__(592);
|
330
|
+
;// ../../packages/directives/src/ellipsis.ts
|
157
331
|
|
158
332
|
/*
|
159
333
|
* Tencent is pleased to support the open source community by making
|
@@ -264,9 +438,9 @@ var ellipsis = {
|
|
264
438
|
};
|
265
439
|
/* harmony default export */ const src_ellipsis = ((/* unused pure expression or super */ null && (ellipsis)));
|
266
440
|
// EXTERNAL MODULE: ../../node_modules/normalize-wheel/index.js
|
267
|
-
var normalize_wheel = __webpack_require__(
|
441
|
+
var normalize_wheel = __webpack_require__(8283);
|
268
442
|
var normalize_wheel_default = /*#__PURE__*/__webpack_require__.n(normalize_wheel);
|
269
|
-
;//
|
443
|
+
;// ../../packages/directives/src/mousewheel.ts
|
270
444
|
/*
|
271
445
|
* Tencent is pleased to support the open source community by making
|
272
446
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -309,18 +483,20 @@ var mousewheel = {
|
|
309
483
|
};
|
310
484
|
/* harmony default export */ const src_mousewheel = ((/* unused pure expression or super */ null && (mousewheel)));
|
311
485
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
312
|
-
var defineProperty = __webpack_require__(
|
486
|
+
var defineProperty = __webpack_require__(4586);
|
313
487
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
314
|
-
var toConsumableArray = __webpack_require__(
|
488
|
+
var toConsumableArray = __webpack_require__(5153);
|
315
489
|
// EXTERNAL MODULE: external "vue"
|
316
|
-
var external_vue_ = __webpack_require__(
|
490
|
+
var external_vue_ = __webpack_require__(5286);
|
317
491
|
// EXTERNAL MODULE: external "../shared"
|
318
|
-
var shared_ = __webpack_require__(
|
319
|
-
;//
|
320
|
-
var x = y => {
|
321
|
-
var
|
322
|
-
|
323
|
-
|
492
|
+
var shared_ = __webpack_require__(5166);
|
493
|
+
;// external "@popperjs/core"
|
494
|
+
var x = (y) => {
|
495
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
496
|
+
}
|
497
|
+
var y = (x) => (() => (x))
|
498
|
+
const core_namespaceObject = x({ ["createPopper"]: () => (__WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__.createPopper) });
|
499
|
+
;// ../../packages/directives/src/tooltips.ts
|
324
500
|
|
325
501
|
|
326
502
|
|
@@ -385,9 +561,6 @@ var tooltips = {
|
|
385
561
|
hide(el);
|
386
562
|
}, 100);
|
387
563
|
});
|
388
|
-
el.addEventListener('click', function () {
|
389
|
-
hide(el);
|
390
|
-
});
|
391
564
|
popper.addEventListener('mouseleave', function () {
|
392
565
|
clearTimeout(delayTimeout);
|
393
566
|
hideTimeout = setTimeout(function () {
|
@@ -401,7 +574,7 @@ var tooltips = {
|
|
401
574
|
show(el);
|
402
575
|
clearTimeout(delayTimeout);
|
403
576
|
}, opts.delay);
|
404
|
-
} else if (popper.hasAttribute('data-show')) {
|
577
|
+
} else if (!el.contains(event.target) && popper.hasAttribute('data-show')) {
|
405
578
|
hide(el);
|
406
579
|
}
|
407
580
|
});
|
@@ -612,15 +785,19 @@ function hide(el) {
|
|
612
785
|
}
|
613
786
|
}
|
614
787
|
/* harmony default export */ const src_tooltips = ((/* unused pure expression or super */ null && (tooltips)));
|
615
|
-
;//
|
616
|
-
var external_loading_x = y => {
|
617
|
-
var
|
788
|
+
;// external "../loading"
|
789
|
+
var external_loading_x = (y) => {
|
790
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
791
|
+
}
|
792
|
+
var external_loading_y = (x) => (() => (x))
|
618
793
|
const external_loading_namespaceObject = external_loading_x({ });
|
619
|
-
;//
|
620
|
-
var external_overflow_title_x = y => {
|
621
|
-
var
|
794
|
+
;// external "../overflow-title"
|
795
|
+
var external_overflow_title_x = (y) => {
|
796
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
797
|
+
}
|
798
|
+
var external_overflow_title_y = (x) => (() => (x))
|
622
799
|
const external_overflow_title_namespaceObject = external_overflow_title_x({ });
|
623
|
-
;//
|
800
|
+
;// ../../packages/directives/src/index.ts
|
624
801
|
/*
|
625
802
|
* Tencent is pleased to support the open source community by making
|
626
803
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -656,16 +833,45 @@ const external_overflow_title_namespaceObject = external_overflow_title_x({ });
|
|
656
833
|
|
657
834
|
/***/ }),
|
658
835
|
|
659
|
-
/***/
|
660
|
-
/***/ ((
|
836
|
+
/***/ 4430:
|
837
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
838
|
+
|
839
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
840
|
+
/* harmony export */ "default": () => (/* binding */ _iterableToArray)
|
841
|
+
/* harmony export */ });
|
842
|
+
function _iterableToArray(iter) {
|
843
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
844
|
+
}
|
845
|
+
|
846
|
+
/***/ }),
|
847
|
+
|
848
|
+
/***/ 4586:
|
849
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
661
850
|
|
662
|
-
|
851
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
852
|
+
/* harmony export */ "default": () => (/* binding */ _defineProperty)
|
853
|
+
/* harmony export */ });
|
854
|
+
/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(205);
|
663
855
|
|
856
|
+
function _defineProperty(obj, key, value) {
|
857
|
+
key = (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["default"])(key);
|
858
|
+
if (key in obj) {
|
859
|
+
Object.defineProperty(obj, key, {
|
860
|
+
value: value,
|
861
|
+
enumerable: true,
|
862
|
+
configurable: true,
|
863
|
+
writable: true
|
864
|
+
});
|
865
|
+
} else {
|
866
|
+
obj[key] = value;
|
867
|
+
}
|
868
|
+
return obj;
|
869
|
+
}
|
664
870
|
|
665
871
|
/***/ }),
|
666
872
|
|
667
|
-
/***/
|
668
|
-
/***/ ((module) => {
|
873
|
+
/***/ 5022:
|
874
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
669
875
|
|
670
876
|
/**
|
671
877
|
* Copyright (c) 2015, Facebook, Inc.
|
@@ -675,445 +881,36 @@ module.exports = __webpack_require__(2527);
|
|
675
881
|
* LICENSE file in the root directory of this source tree. An additional grant
|
676
882
|
* of patent rights can be found in the PATENTS file in the same directory.
|
677
883
|
*
|
678
|
-
* @providesModule
|
679
|
-
|
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.
|
884
|
+
* @providesModule normalizeWheel
|
885
|
+
* @typechecks
|
696
886
|
*/
|
697
|
-
var ExecutionEnvironment = {
|
698
|
-
|
699
|
-
canUseDOM: canUseDOM,
|
700
|
-
|
701
|
-
canUseWorkers: typeof Worker !== 'undefined',
|
702
|
-
|
703
|
-
canUseEventListeners:
|
704
|
-
canUseDOM && !!(window.addEventListener || window.attachEvent),
|
705
|
-
|
706
|
-
canUseViewport: canUseDOM && !!window.screen,
|
707
887
|
|
708
|
-
isInWorker: !canUseDOM // For now, this is true - might change in the future.
|
709
888
|
|
710
|
-
};
|
711
889
|
|
712
|
-
|
890
|
+
var UserAgent_DEPRECATED = __webpack_require__(7416);
|
713
891
|
|
892
|
+
var isEventSupported = __webpack_require__(2586);
|
714
893
|
|
715
|
-
/***/ }),
|
716
894
|
|
717
|
-
|
718
|
-
|
895
|
+
// Reasonable defaults
|
896
|
+
var PIXEL_STEP = 10;
|
897
|
+
var LINE_HEIGHT = 40;
|
898
|
+
var PAGE_HEIGHT = 800;
|
719
899
|
|
720
900
|
/**
|
721
|
-
*
|
901
|
+
* Mouse wheel (and 2-finger trackpad) support on the web sucks. It is
|
902
|
+
* complicated, thus this doc is long and (hopefully) detailed enough to answer
|
903
|
+
* your questions.
|
722
904
|
*
|
723
|
-
*
|
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.
|
905
|
+
* If you need to react to the mouse wheel in a predictable way, this code is
|
906
|
+
* like your bestest friend. * hugs *
|
730
907
|
*
|
731
|
-
*
|
908
|
+
* As of today, there are 4 DOM event types you can listen to:
|
732
909
|
*
|
733
|
-
*
|
734
|
-
*
|
735
|
-
*
|
736
|
-
*
|
737
|
-
* You can also do version checks:
|
738
|
-
*
|
739
|
-
* if (UserAgent_DEPRECATED.ie() >= 7) {
|
740
|
-
* // IE7 or better
|
741
|
-
* }
|
742
|
-
*
|
743
|
-
* The browser functions will return NaN if the browser does not match, so
|
744
|
-
* you can also do version compares the other way:
|
745
|
-
*
|
746
|
-
* if (UserAgent_DEPRECATED.ie() < 7) {
|
747
|
-
* // IE6 or worse
|
748
|
-
* }
|
749
|
-
*
|
750
|
-
* Note that the version is a float and may include a minor version number,
|
751
|
-
* so you should always use range operators to perform comparisons, not
|
752
|
-
* strict equality.
|
753
|
-
*
|
754
|
-
* **Note:** You should **strongly** prefer capability detection to browser
|
755
|
-
* version detection where it's reasonable:
|
756
|
-
*
|
757
|
-
* http://www.quirksmode.org/js/support.html
|
758
|
-
*
|
759
|
-
* Further, we have a large number of mature wrapper functions and classes
|
760
|
-
* which abstract away many browser irregularities. Check the documentation,
|
761
|
-
* grep for things, or ask on javascript@lists.facebook.com before writing yet
|
762
|
-
* another copy of "event || window.event".
|
763
|
-
*
|
764
|
-
*/
|
765
|
-
|
766
|
-
var _populated = false;
|
767
|
-
|
768
|
-
// Browsers
|
769
|
-
var _ie, _firefox, _opera, _webkit, _chrome;
|
770
|
-
|
771
|
-
// Actual IE browser for compatibility mode
|
772
|
-
var _ie_real_version;
|
773
|
-
|
774
|
-
// Platforms
|
775
|
-
var _osx, _windows, _linux, _android;
|
776
|
-
|
777
|
-
// Architectures
|
778
|
-
var _win64;
|
779
|
-
|
780
|
-
// Devices
|
781
|
-
var _iphone, _ipad, _native;
|
782
|
-
|
783
|
-
var _mobile;
|
784
|
-
|
785
|
-
function _populate() {
|
786
|
-
if (_populated) {
|
787
|
-
return;
|
788
|
-
}
|
789
|
-
|
790
|
-
_populated = true;
|
791
|
-
|
792
|
-
// To work around buggy JS libraries that can't handle multi-digit
|
793
|
-
// version numbers, Opera 10's user agent string claims it's Opera
|
794
|
-
// 9, then later includes a Version/X.Y field:
|
795
|
-
//
|
796
|
-
// Opera/9.80 (foo) Presto/2.2.15 Version/10.10
|
797
|
-
var uas = navigator.userAgent;
|
798
|
-
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);
|
799
|
-
var os = /(Mac OS X)|(Windows)|(Linux)/.exec(uas);
|
800
|
-
|
801
|
-
_iphone = /\b(iPhone|iP[ao]d)/.exec(uas);
|
802
|
-
_ipad = /\b(iP[ao]d)/.exec(uas);
|
803
|
-
_android = /Android/i.exec(uas);
|
804
|
-
_native = /FBAN\/\w+;/i.exec(uas);
|
805
|
-
_mobile = /Mobile/i.exec(uas);
|
806
|
-
|
807
|
-
// Note that the IE team blog would have you believe you should be checking
|
808
|
-
// for 'Win64; x64'. But MSDN then reveals that you can actually be coming
|
809
|
-
// from either x64 or ia64; so ultimately, you should just check for Win64
|
810
|
-
// as in indicator of whether you're in 64-bit IE. 32-bit IE on 64-bit
|
811
|
-
// Windows will send 'WOW64' instead.
|
812
|
-
_win64 = !!(/Win64/.exec(uas));
|
813
|
-
|
814
|
-
if (agent) {
|
815
|
-
_ie = agent[1] ? parseFloat(agent[1]) : (
|
816
|
-
agent[5] ? parseFloat(agent[5]) : NaN);
|
817
|
-
// IE compatibility mode
|
818
|
-
if (_ie && document && document.documentMode) {
|
819
|
-
_ie = document.documentMode;
|
820
|
-
}
|
821
|
-
// grab the "true" ie version from the trident token if available
|
822
|
-
var trident = /(?:Trident\/(\d+.\d+))/.exec(uas);
|
823
|
-
_ie_real_version = trident ? parseFloat(trident[1]) + 4 : _ie;
|
824
|
-
|
825
|
-
_firefox = agent[2] ? parseFloat(agent[2]) : NaN;
|
826
|
-
_opera = agent[3] ? parseFloat(agent[3]) : NaN;
|
827
|
-
_webkit = agent[4] ? parseFloat(agent[4]) : NaN;
|
828
|
-
if (_webkit) {
|
829
|
-
// We do not add the regexp to the above test, because it will always
|
830
|
-
// match 'safari' only since 'AppleWebKit' appears before 'Chrome' in
|
831
|
-
// the userAgent string.
|
832
|
-
agent = /(?:Chrome\/(\d+\.\d+))/.exec(uas);
|
833
|
-
_chrome = agent && agent[1] ? parseFloat(agent[1]) : NaN;
|
834
|
-
} else {
|
835
|
-
_chrome = NaN;
|
836
|
-
}
|
837
|
-
} else {
|
838
|
-
_ie = _firefox = _opera = _chrome = _webkit = NaN;
|
839
|
-
}
|
840
|
-
|
841
|
-
if (os) {
|
842
|
-
if (os[1]) {
|
843
|
-
// Detect OS X version. If no version number matches, set _osx to true.
|
844
|
-
// Version examples: 10, 10_6_1, 10.7
|
845
|
-
// Parses version number as a float, taking only first two sets of
|
846
|
-
// digits. If only one set of digits is found, returns just the major
|
847
|
-
// version number.
|
848
|
-
var ver = /(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(uas);
|
849
|
-
|
850
|
-
_osx = ver ? parseFloat(ver[1].replace('_', '.')) : true;
|
851
|
-
} else {
|
852
|
-
_osx = false;
|
853
|
-
}
|
854
|
-
_windows = !!os[2];
|
855
|
-
_linux = !!os[3];
|
856
|
-
} else {
|
857
|
-
_osx = _windows = _linux = false;
|
858
|
-
}
|
859
|
-
}
|
860
|
-
|
861
|
-
var UserAgent_DEPRECATED = {
|
862
|
-
|
863
|
-
/**
|
864
|
-
* Check if the UA is Internet Explorer.
|
865
|
-
*
|
866
|
-
*
|
867
|
-
* @return float|NaN Version number (if match) or NaN.
|
868
|
-
*/
|
869
|
-
ie: function() {
|
870
|
-
return _populate() || _ie;
|
871
|
-
},
|
872
|
-
|
873
|
-
/**
|
874
|
-
* Check if we're in Internet Explorer compatibility mode.
|
875
|
-
*
|
876
|
-
* @return bool true if in compatibility mode, false if
|
877
|
-
* not compatibility mode or not ie
|
878
|
-
*/
|
879
|
-
ieCompatibilityMode: function() {
|
880
|
-
return _populate() || (_ie_real_version > _ie);
|
881
|
-
},
|
882
|
-
|
883
|
-
|
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
|
910
|
+
* 'wheel' -- Chrome(31+), FF(17+), IE(9+)
|
911
|
+
* 'mousewheel' -- Chrome, IE(6+), Opera, Safari
|
912
|
+
* 'MozMousePixelScroll' -- FF(3.5 only!) (2010-2013) -- don't bother!
|
913
|
+
* 'DOMMouseScroll' -- FF(0.9.7+) since 2003
|
1117
914
|
*
|
1118
915
|
* So what to do? The is the best:
|
1119
916
|
*
|
@@ -1261,34 +1058,49 @@ module.exports = normalizeWheel;
|
|
1261
1058
|
|
1262
1059
|
/***/ }),
|
1263
1060
|
|
1264
|
-
/***/
|
1265
|
-
/***/ ((
|
1061
|
+
/***/ 5153:
|
1062
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1063
|
+
|
1064
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1065
|
+
/* harmony export */ "default": () => (/* binding */ _toConsumableArray)
|
1066
|
+
/* harmony export */ });
|
1067
|
+
/* harmony import */ var _arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3492);
|
1068
|
+
/* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4430);
|
1069
|
+
/* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7985);
|
1070
|
+
/* harmony import */ var _nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(2880);
|
1266
1071
|
|
1267
|
-
|
1268
|
-
|
1269
|
-
|
1072
|
+
|
1073
|
+
|
1074
|
+
|
1075
|
+
function _toConsumableArray(arr) {
|
1076
|
+
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"])();
|
1077
|
+
}
|
1270
1078
|
|
1271
1079
|
/***/ }),
|
1272
1080
|
|
1273
|
-
/***/
|
1081
|
+
/***/ 5166:
|
1274
1082
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1275
1083
|
|
1276
|
-
var x = y => {
|
1277
|
-
var
|
1278
|
-
|
1084
|
+
var x = (y) => {
|
1085
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1086
|
+
}
|
1087
|
+
var y = (x) => (() => (x))
|
1088
|
+
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) });
|
1279
1089
|
|
1280
1090
|
/***/ }),
|
1281
1091
|
|
1282
|
-
/***/
|
1092
|
+
/***/ 5286:
|
1283
1093
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1284
1094
|
|
1285
|
-
var x = y => {
|
1286
|
-
var
|
1287
|
-
|
1095
|
+
var x = (y) => {
|
1096
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1097
|
+
}
|
1098
|
+
var y = (x) => (() => (x))
|
1099
|
+
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) });
|
1288
1100
|
|
1289
1101
|
/***/ }),
|
1290
1102
|
|
1291
|
-
/***/
|
1103
|
+
/***/ 6284:
|
1292
1104
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1293
1105
|
|
1294
1106
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
@@ -1302,128 +1114,296 @@ function _arrayLikeToArray(arr, len) {
|
|
1302
1114
|
|
1303
1115
|
/***/ }),
|
1304
1116
|
|
1305
|
-
/***/
|
1306
|
-
/***/ ((
|
1117
|
+
/***/ 7416:
|
1118
|
+
/***/ ((module) => {
|
1307
1119
|
|
1308
|
-
|
1309
|
-
|
1310
|
-
|
1311
|
-
|
1120
|
+
/**
|
1121
|
+
* Copyright 2004-present Facebook. All Rights Reserved.
|
1122
|
+
*
|
1123
|
+
* @providesModule UserAgent_DEPRECATED
|
1124
|
+
*/
|
1312
1125
|
|
1313
|
-
|
1314
|
-
|
1315
|
-
|
1126
|
+
/**
|
1127
|
+
* Provides entirely client-side User Agent and OS detection. You should prefer
|
1128
|
+
* the non-deprecated UserAgent module when possible, which exposes our
|
1129
|
+
* authoritative server-side PHP-based detection to the client.
|
1130
|
+
*
|
1131
|
+
* Usage is straightforward:
|
1132
|
+
*
|
1133
|
+
* if (UserAgent_DEPRECATED.ie()) {
|
1134
|
+
* // IE
|
1135
|
+
* }
|
1136
|
+
*
|
1137
|
+
* You can also do version checks:
|
1138
|
+
*
|
1139
|
+
* if (UserAgent_DEPRECATED.ie() >= 7) {
|
1140
|
+
* // IE7 or better
|
1141
|
+
* }
|
1142
|
+
*
|
1143
|
+
* The browser functions will return NaN if the browser does not match, so
|
1144
|
+
* you can also do version compares the other way:
|
1145
|
+
*
|
1146
|
+
* if (UserAgent_DEPRECATED.ie() < 7) {
|
1147
|
+
* // IE6 or worse
|
1148
|
+
* }
|
1149
|
+
*
|
1150
|
+
* Note that the version is a float and may include a minor version number,
|
1151
|
+
* so you should always use range operators to perform comparisons, not
|
1152
|
+
* strict equality.
|
1153
|
+
*
|
1154
|
+
* **Note:** You should **strongly** prefer capability detection to browser
|
1155
|
+
* version detection where it's reasonable:
|
1156
|
+
*
|
1157
|
+
* http://www.quirksmode.org/js/support.html
|
1158
|
+
*
|
1159
|
+
* Further, we have a large number of mature wrapper functions and classes
|
1160
|
+
* which abstract away many browser irregularities. Check the documentation,
|
1161
|
+
* grep for things, or ask on javascript@lists.facebook.com before writing yet
|
1162
|
+
* another copy of "event || window.event".
|
1163
|
+
*
|
1164
|
+
*/
|
1165
|
+
|
1166
|
+
var _populated = false;
|
1167
|
+
|
1168
|
+
// Browsers
|
1169
|
+
var _ie, _firefox, _opera, _webkit, _chrome;
|
1170
|
+
|
1171
|
+
// Actual IE browser for compatibility mode
|
1172
|
+
var _ie_real_version;
|
1173
|
+
|
1174
|
+
// Platforms
|
1175
|
+
var _osx, _windows, _linux, _android;
|
1176
|
+
|
1177
|
+
// Architectures
|
1178
|
+
var _win64;
|
1179
|
+
|
1180
|
+
// Devices
|
1181
|
+
var _iphone, _ipad, _native;
|
1182
|
+
|
1183
|
+
var _mobile;
|
1184
|
+
|
1185
|
+
function _populate() {
|
1186
|
+
if (_populated) {
|
1187
|
+
return;
|
1188
|
+
}
|
1189
|
+
|
1190
|
+
_populated = true;
|
1191
|
+
|
1192
|
+
// To work around buggy JS libraries that can't handle multi-digit
|
1193
|
+
// version numbers, Opera 10's user agent string claims it's Opera
|
1194
|
+
// 9, then later includes a Version/X.Y field:
|
1195
|
+
//
|
1196
|
+
// Opera/9.80 (foo) Presto/2.2.15 Version/10.10
|
1197
|
+
var uas = navigator.userAgent;
|
1198
|
+
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);
|
1199
|
+
var os = /(Mac OS X)|(Windows)|(Linux)/.exec(uas);
|
1200
|
+
|
1201
|
+
_iphone = /\b(iPhone|iP[ao]d)/.exec(uas);
|
1202
|
+
_ipad = /\b(iP[ao]d)/.exec(uas);
|
1203
|
+
_android = /Android/i.exec(uas);
|
1204
|
+
_native = /FBAN\/\w+;/i.exec(uas);
|
1205
|
+
_mobile = /Mobile/i.exec(uas);
|
1206
|
+
|
1207
|
+
// Note that the IE team blog would have you believe you should be checking
|
1208
|
+
// for 'Win64; x64'. But MSDN then reveals that you can actually be coming
|
1209
|
+
// from either x64 or ia64; so ultimately, you should just check for Win64
|
1210
|
+
// as in indicator of whether you're in 64-bit IE. 32-bit IE on 64-bit
|
1211
|
+
// Windows will send 'WOW64' instead.
|
1212
|
+
_win64 = !!(/Win64/.exec(uas));
|
1316
1213
|
|
1317
|
-
|
1214
|
+
if (agent) {
|
1215
|
+
_ie = agent[1] ? parseFloat(agent[1]) : (
|
1216
|
+
agent[5] ? parseFloat(agent[5]) : NaN);
|
1217
|
+
// IE compatibility mode
|
1218
|
+
if (_ie && document && document.documentMode) {
|
1219
|
+
_ie = document.documentMode;
|
1220
|
+
}
|
1221
|
+
// grab the "true" ie version from the trident token if available
|
1222
|
+
var trident = /(?:Trident\/(\d+.\d+))/.exec(uas);
|
1223
|
+
_ie_real_version = trident ? parseFloat(trident[1]) + 4 : _ie;
|
1318
1224
|
|
1319
|
-
|
1320
|
-
|
1225
|
+
_firefox = agent[2] ? parseFloat(agent[2]) : NaN;
|
1226
|
+
_opera = agent[3] ? parseFloat(agent[3]) : NaN;
|
1227
|
+
_webkit = agent[4] ? parseFloat(agent[4]) : NaN;
|
1228
|
+
if (_webkit) {
|
1229
|
+
// We do not add the regexp to the above test, because it will always
|
1230
|
+
// match 'safari' only since 'AppleWebKit' appears before 'Chrome' in
|
1231
|
+
// the userAgent string.
|
1232
|
+
agent = /(?:Chrome\/(\d+\.\d+))/.exec(uas);
|
1233
|
+
_chrome = agent && agent[1] ? parseFloat(agent[1]) : NaN;
|
1234
|
+
} else {
|
1235
|
+
_chrome = NaN;
|
1236
|
+
}
|
1237
|
+
} else {
|
1238
|
+
_ie = _firefox = _opera = _chrome = _webkit = NaN;
|
1239
|
+
}
|
1321
1240
|
|
1322
|
-
|
1323
|
-
|
1324
|
-
|
1325
|
-
|
1241
|
+
if (os) {
|
1242
|
+
if (os[1]) {
|
1243
|
+
// Detect OS X version. If no version number matches, set _osx to true.
|
1244
|
+
// Version examples: 10, 10_6_1, 10.7
|
1245
|
+
// Parses version number as a float, taking only first two sets of
|
1246
|
+
// digits. If only one set of digits is found, returns just the major
|
1247
|
+
// version number.
|
1248
|
+
var ver = /(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(uas);
|
1326
1249
|
|
1327
|
-
|
1328
|
-
|
1329
|
-
|
1330
|
-
|
1331
|
-
|
1332
|
-
|
1333
|
-
configurable: true,
|
1334
|
-
writable: true
|
1335
|
-
});
|
1250
|
+
_osx = ver ? parseFloat(ver[1].replace('_', '.')) : true;
|
1251
|
+
} else {
|
1252
|
+
_osx = false;
|
1253
|
+
}
|
1254
|
+
_windows = !!os[2];
|
1255
|
+
_linux = !!os[3];
|
1336
1256
|
} else {
|
1337
|
-
|
1257
|
+
_osx = _windows = _linux = false;
|
1338
1258
|
}
|
1339
|
-
return obj;
|
1340
1259
|
}
|
1341
1260
|
|
1342
|
-
|
1261
|
+
var UserAgent_DEPRECATED = {
|
1343
1262
|
|
1344
|
-
|
1345
|
-
|
1263
|
+
/**
|
1264
|
+
* Check if the UA is Internet Explorer.
|
1265
|
+
*
|
1266
|
+
*
|
1267
|
+
* @return float|NaN Version number (if match) or NaN.
|
1268
|
+
*/
|
1269
|
+
ie: function() {
|
1270
|
+
return _populate() || _ie;
|
1271
|
+
},
|
1346
1272
|
|
1347
|
-
|
1348
|
-
|
1349
|
-
|
1350
|
-
|
1351
|
-
|
1352
|
-
|
1273
|
+
/**
|
1274
|
+
* Check if we're in Internet Explorer compatibility mode.
|
1275
|
+
*
|
1276
|
+
* @return bool true if in compatibility mode, false if
|
1277
|
+
* not compatibility mode or not ie
|
1278
|
+
*/
|
1279
|
+
ieCompatibilityMode: function() {
|
1280
|
+
return _populate() || (_ie_real_version > _ie);
|
1281
|
+
},
|
1353
1282
|
|
1354
|
-
/***/ }),
|
1355
1283
|
|
1356
|
-
|
1357
|
-
|
1284
|
+
/**
|
1285
|
+
* Whether the browser is 64-bit IE. Really, this is kind of weak sauce; we
|
1286
|
+
* only need this because Skype can't handle 64-bit IE yet. We need to remove
|
1287
|
+
* this when we don't need it -- tracked by #601957.
|
1288
|
+
*/
|
1289
|
+
ie64: function() {
|
1290
|
+
return UserAgent_DEPRECATED.ie() && _win64;
|
1291
|
+
},
|
1358
1292
|
|
1359
|
-
|
1360
|
-
|
1361
|
-
|
1362
|
-
|
1363
|
-
|
1364
|
-
|
1293
|
+
/**
|
1294
|
+
* Check if the UA is Firefox.
|
1295
|
+
*
|
1296
|
+
*
|
1297
|
+
* @return float|NaN Version number (if match) or NaN.
|
1298
|
+
*/
|
1299
|
+
firefox: function() {
|
1300
|
+
return _populate() || _firefox;
|
1301
|
+
},
|
1365
1302
|
|
1366
|
-
/***/ }),
|
1367
1303
|
|
1368
|
-
|
1369
|
-
|
1304
|
+
/**
|
1305
|
+
* Check if the UA is Opera.
|
1306
|
+
*
|
1307
|
+
*
|
1308
|
+
* @return float|NaN Version number (if match) or NaN.
|
1309
|
+
*/
|
1310
|
+
opera: function() {
|
1311
|
+
return _populate() || _opera;
|
1312
|
+
},
|
1370
1313
|
|
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
1314
|
|
1315
|
+
/**
|
1316
|
+
* Check if the UA is WebKit.
|
1317
|
+
*
|
1318
|
+
*
|
1319
|
+
* @return float|NaN Version number (if match) or NaN.
|
1320
|
+
*/
|
1321
|
+
webkit: function() {
|
1322
|
+
return _populate() || _webkit;
|
1323
|
+
},
|
1324
|
+
|
1325
|
+
/**
|
1326
|
+
* For Push
|
1327
|
+
* WILL BE REMOVED VERY SOON. Use UserAgent_DEPRECATED.webkit
|
1328
|
+
*/
|
1329
|
+
safari: function() {
|
1330
|
+
return UserAgent_DEPRECATED.webkit();
|
1331
|
+
},
|
1379
1332
|
|
1333
|
+
/**
|
1334
|
+
* Check if the UA is a Chrome browser.
|
1335
|
+
*
|
1336
|
+
*
|
1337
|
+
* @return float|NaN Version number (if match) or NaN.
|
1338
|
+
*/
|
1339
|
+
chrome : function() {
|
1340
|
+
return _populate() || _chrome;
|
1341
|
+
},
|
1380
1342
|
|
1381
1343
|
|
1382
|
-
|
1383
|
-
|
1384
|
-
|
1344
|
+
/**
|
1345
|
+
* Check if the user is running Windows.
|
1346
|
+
*
|
1347
|
+
* @return bool `true' if the user's OS is Windows.
|
1348
|
+
*/
|
1349
|
+
windows: function() {
|
1350
|
+
return _populate() || _windows;
|
1351
|
+
},
|
1385
1352
|
|
1386
|
-
/***/ }),
|
1387
1353
|
|
1388
|
-
|
1389
|
-
|
1354
|
+
/**
|
1355
|
+
* Check if the user is running Mac OS X.
|
1356
|
+
*
|
1357
|
+
* @return float|bool Returns a float if a version number is detected,
|
1358
|
+
* otherwise true/false.
|
1359
|
+
*/
|
1360
|
+
osx: function() {
|
1361
|
+
return _populate() || _osx;
|
1362
|
+
},
|
1390
1363
|
|
1391
|
-
|
1392
|
-
|
1393
|
-
|
1394
|
-
|
1364
|
+
/**
|
1365
|
+
* Check if the user is running Linux.
|
1366
|
+
*
|
1367
|
+
* @return bool `true' if the user's OS is some flavor of Linux.
|
1368
|
+
*/
|
1369
|
+
linux: function() {
|
1370
|
+
return _populate() || _linux;
|
1371
|
+
},
|
1395
1372
|
|
1396
|
-
|
1397
|
-
|
1398
|
-
|
1399
|
-
|
1400
|
-
|
1401
|
-
|
1402
|
-
|
1403
|
-
|
1404
|
-
|
1405
|
-
}
|
1373
|
+
/**
|
1374
|
+
* Check if the user is running on an iPhone or iPod platform.
|
1375
|
+
*
|
1376
|
+
* @return bool `true' if the user is running some flavor of the
|
1377
|
+
* iPhone OS.
|
1378
|
+
*/
|
1379
|
+
iphone: function() {
|
1380
|
+
return _populate() || _iphone;
|
1381
|
+
},
|
1406
1382
|
|
1407
|
-
|
1383
|
+
mobile: function() {
|
1384
|
+
return _populate() || (_iphone || _ipad || _android || _mobile);
|
1385
|
+
},
|
1408
1386
|
|
1409
|
-
|
1410
|
-
|
1387
|
+
nativeApp: function() {
|
1388
|
+
// webviews inside of the native apps
|
1389
|
+
return _populate() || _native;
|
1390
|
+
},
|
1411
1391
|
|
1412
|
-
|
1413
|
-
|
1414
|
-
|
1415
|
-
|
1416
|
-
|
1392
|
+
android: function() {
|
1393
|
+
return _populate() || _android;
|
1394
|
+
},
|
1395
|
+
|
1396
|
+
ipad: function() {
|
1397
|
+
return _populate() || _ipad;
|
1398
|
+
}
|
1399
|
+
};
|
1417
1400
|
|
1401
|
+
module.exports = UserAgent_DEPRECATED;
|
1418
1402
|
|
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
1403
|
|
1424
1404
|
/***/ }),
|
1425
1405
|
|
1426
|
-
/***/
|
1406
|
+
/***/ 7545:
|
1427
1407
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1428
1408
|
|
1429
1409
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
@@ -1441,13 +1421,13 @@ function _typeof(o) {
|
|
1441
1421
|
|
1442
1422
|
/***/ }),
|
1443
1423
|
|
1444
|
-
/***/
|
1424
|
+
/***/ 7985:
|
1445
1425
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1446
1426
|
|
1447
1427
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1448
1428
|
/* harmony export */ "default": () => (/* binding */ _unsupportedIterableToArray)
|
1449
1429
|
/* harmony export */ });
|
1450
|
-
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
1430
|
+
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6284);
|
1451
1431
|
|
1452
1432
|
function _unsupportedIterableToArray(o, minLen) {
|
1453
1433
|
if (!o) return;
|
@@ -1458,6 +1438,35 @@ function _unsupportedIterableToArray(o, minLen) {
|
|
1458
1438
|
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
1439
|
}
|
1460
1440
|
|
1441
|
+
/***/ }),
|
1442
|
+
|
1443
|
+
/***/ 8283:
|
1444
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1445
|
+
|
1446
|
+
module.exports = __webpack_require__(5022);
|
1447
|
+
|
1448
|
+
|
1449
|
+
/***/ }),
|
1450
|
+
|
1451
|
+
/***/ 9824:
|
1452
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1453
|
+
|
1454
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1455
|
+
/* harmony export */ "default": () => (/* binding */ toPrimitive)
|
1456
|
+
/* harmony export */ });
|
1457
|
+
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7545);
|
1458
|
+
|
1459
|
+
function toPrimitive(t, r) {
|
1460
|
+
if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t) || !t) return t;
|
1461
|
+
var e = t[Symbol.toPrimitive];
|
1462
|
+
if (void 0 !== e) {
|
1463
|
+
var i = e.call(t, r || "default");
|
1464
|
+
if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(i)) return i;
|
1465
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
1466
|
+
}
|
1467
|
+
return ("string" === r ? String : Number)(t);
|
1468
|
+
}
|
1469
|
+
|
1461
1470
|
/***/ })
|
1462
1471
|
|
1463
1472
|
/******/ });
|
@@ -1518,8 +1527,6 @@ function _unsupportedIterableToArray(o, minLen) {
|
|
1518
1527
|
/******/
|
1519
1528
|
/************************************************************************/
|
1520
1529
|
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
|
-
(() => {
|
1523
1530
|
|
1524
1531
|
// EXPORTS
|
1525
1532
|
__webpack_require__.d(__webpack_exports__, {
|
@@ -1527,30 +1534,38 @@ __webpack_require__.d(__webpack_exports__, {
|
|
1527
1534
|
});
|
1528
1535
|
|
1529
1536
|
// EXTERNAL MODULE: external "../shared"
|
1530
|
-
var shared_ = __webpack_require__(
|
1537
|
+
var shared_ = __webpack_require__(5166);
|
1531
1538
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
1532
|
-
var defineProperty = __webpack_require__(
|
1539
|
+
var defineProperty = __webpack_require__(4586);
|
1533
1540
|
// EXTERNAL MODULE: external "vue"
|
1534
|
-
var external_vue_ = __webpack_require__(
|
1535
|
-
;//
|
1536
|
-
var x = y => {
|
1537
|
-
var
|
1538
|
-
|
1539
|
-
|
1540
|
-
|
1541
|
-
|
1542
|
-
|
1543
|
-
|
1544
|
-
|
1545
|
-
var
|
1546
|
-
const
|
1541
|
+
var external_vue_ = __webpack_require__(5286);
|
1542
|
+
;// external "vue-types"
|
1543
|
+
var x = (y) => {
|
1544
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1545
|
+
}
|
1546
|
+
var y = (x) => (() => (x))
|
1547
|
+
const external_vue_types_namespaceObject = x({ ["toType"]: () => (__WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__.toType) });
|
1548
|
+
;// external "../config-provider"
|
1549
|
+
var config_provider_x = (y) => {
|
1550
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1551
|
+
}
|
1552
|
+
var config_provider_y = (x) => (() => (x))
|
1553
|
+
const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix) });
|
1554
|
+
;// external "../date-picker"
|
1555
|
+
var date_picker_x = (y) => {
|
1556
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1557
|
+
}
|
1558
|
+
var date_picker_y = (x) => (() => (x))
|
1559
|
+
const date_picker_namespaceObject = date_picker_x({ ["PickerDropdown"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_date_picker_d04526d6__.PickerDropdown) });
|
1547
1560
|
// EXTERNAL MODULE: ../../packages/directives/src/index.ts + 7 modules
|
1548
|
-
var src = __webpack_require__(
|
1549
|
-
;//
|
1550
|
-
var icon_x = y => {
|
1551
|
-
var
|
1552
|
-
|
1553
|
-
|
1561
|
+
var src = __webpack_require__(4193);
|
1562
|
+
;// external "../icon"
|
1563
|
+
var icon_x = (y) => {
|
1564
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1565
|
+
}
|
1566
|
+
var icon_y = (x) => (() => (x))
|
1567
|
+
const icon_namespaceObject = icon_x({ ["AngleUp"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleUp) });
|
1568
|
+
;// ../../node_modules/tinycolor2/esm/tinycolor.js
|
1554
1569
|
// This file is autogenerated. It's used to publish ESM to npm.
|
1555
1570
|
function _typeof(obj) {
|
1556
1571
|
"@babel/helpers - typeof";
|
@@ -2732,7 +2747,7 @@ function validateWCAG2Parms(parms) {
|
|
2732
2747
|
|
2733
2748
|
|
2734
2749
|
|
2735
|
-
;//
|
2750
|
+
;// ../../packages/color-picker/src/components/input-container.tsx
|
2736
2751
|
|
2737
2752
|
/*
|
2738
2753
|
* Tencent is pleased to support the open source community by making
|
@@ -2802,7 +2817,7 @@ var inputContainerProps = {
|
|
2802
2817
|
};
|
2803
2818
|
}
|
2804
2819
|
}));
|
2805
|
-
;//
|
2820
|
+
;// ../../packages/color-picker/src/components/color-input.tsx
|
2806
2821
|
|
2807
2822
|
/*
|
2808
2823
|
* Tencent is pleased to support the open source community by making
|
@@ -2971,7 +2986,7 @@ var colorPickerProps = {
|
|
2971
2986
|
};
|
2972
2987
|
}
|
2973
2988
|
}));
|
2974
|
-
;//
|
2989
|
+
;// ../../packages/color-picker/src/utils.ts
|
2975
2990
|
/*
|
2976
2991
|
* Tencent is pleased to support the open source community by making
|
2977
2992
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -3077,7 +3092,7 @@ var toRGBAString = function toRGBAString(rgba) {
|
|
3077
3092
|
a = rgba.a;
|
3078
3093
|
return "rgba(".concat([r, g, b, a].join(','), ")");
|
3079
3094
|
};
|
3080
|
-
;//
|
3095
|
+
;// ../../packages/color-picker/src/components/hue-slider.tsx
|
3081
3096
|
|
3082
3097
|
/*
|
3083
3098
|
* Tencent is pleased to support the open source community by making
|
@@ -3215,7 +3230,7 @@ var hue_slider_colorPickerProps = {
|
|
3215
3230
|
};
|
3216
3231
|
}
|
3217
3232
|
}));
|
3218
|
-
;//
|
3233
|
+
;// ../../packages/color-picker/src/components/recommend-colors.tsx
|
3219
3234
|
|
3220
3235
|
|
3221
3236
|
/*
|
@@ -3367,7 +3382,7 @@ var recommend_colors_colorPickerProps = {
|
|
3367
3382
|
};
|
3368
3383
|
}
|
3369
3384
|
}));
|
3370
|
-
;//
|
3385
|
+
;// ../../packages/color-picker/src/components/saturation-panel.tsx
|
3371
3386
|
|
3372
3387
|
/*
|
3373
3388
|
* Tencent is pleased to support the open source community by making
|
@@ -3519,7 +3534,7 @@ var saturation_panel_colorPickerProps = {
|
|
3519
3534
|
};
|
3520
3535
|
}
|
3521
3536
|
}));
|
3522
|
-
;//
|
3537
|
+
;// ../../packages/color-picker/src/color-picker.tsx
|
3523
3538
|
|
3524
3539
|
|
3525
3540
|
/*
|
@@ -3832,7 +3847,7 @@ var whiteColorObj = formatColor('#FFFFFF');
|
|
3832
3847
|
};
|
3833
3848
|
}
|
3834
3849
|
}));
|
3835
|
-
;//
|
3850
|
+
;// ../../packages/color-picker/src/index.ts
|
3836
3851
|
/*
|
3837
3852
|
* Tencent is pleased to support the open source community by making
|
3838
3853
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -3862,7 +3877,5 @@ var whiteColorObj = formatColor('#FFFFFF');
|
|
3862
3877
|
|
3863
3878
|
var BkColorPicker = (0,shared_.withInstall)(color_picker);
|
3864
3879
|
/* harmony default export */ const color_picker_src = (BkColorPicker);
|
3865
|
-
})();
|
3866
|
-
|
3867
3880
|
var __webpack_exports__default = __webpack_exports__["default"];
|
3868
3881
|
export { __webpack_exports__default as default };
|