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/form/index.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import "../styles/reset.css";
|
2
2
|
import "./form.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";
|
@@ -16,7 +16,181 @@ import * as __WEBPACK_EXTERNAL_MODULE_lodash_isDate_b457317b__ from "lodash/isDa
|
|
16
16
|
import * as __WEBPACK_EXTERNAL_MODULE_lodash_isEmpty_e109fd6b__ from "lodash/isEmpty";
|
17
17
|
/******/ var __webpack_modules__ = ({
|
18
18
|
|
19
|
-
/***/
|
19
|
+
/***/ 205:
|
20
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
21
|
+
|
22
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
23
|
+
/* harmony export */ "default": () => (/* binding */ toPropertyKey)
|
24
|
+
/* harmony export */ });
|
25
|
+
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7545);
|
26
|
+
/* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9824);
|
27
|
+
|
28
|
+
|
29
|
+
function toPropertyKey(t) {
|
30
|
+
var i = (0,_toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t, "string");
|
31
|
+
return "symbol" == (0,_typeof_js__WEBPACK_IMPORTED_MODULE_1__["default"])(i) ? i : String(i);
|
32
|
+
}
|
33
|
+
|
34
|
+
/***/ }),
|
35
|
+
|
36
|
+
/***/ 592:
|
37
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
38
|
+
|
39
|
+
var x = (y) => {
|
40
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
41
|
+
}
|
42
|
+
var y = (x) => (() => (x))
|
43
|
+
module.exports = x({ ["$bkPopover"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__.$bkPopover) });
|
44
|
+
|
45
|
+
/***/ }),
|
46
|
+
|
47
|
+
/***/ 1043:
|
48
|
+
/***/ ((module) => {
|
49
|
+
|
50
|
+
/**
|
51
|
+
* Copyright (c) 2015, Facebook, Inc.
|
52
|
+
* All rights reserved.
|
53
|
+
*
|
54
|
+
* This source code is licensed under the BSD-style license found in the
|
55
|
+
* LICENSE file in the root directory of this source tree. An additional grant
|
56
|
+
* of patent rights can be found in the PATENTS file in the same directory.
|
57
|
+
*
|
58
|
+
* @providesModule ExecutionEnvironment
|
59
|
+
*/
|
60
|
+
|
61
|
+
/*jslint evil: true */
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
var canUseDOM = !!(
|
66
|
+
typeof window !== 'undefined' &&
|
67
|
+
window.document &&
|
68
|
+
window.document.createElement
|
69
|
+
);
|
70
|
+
|
71
|
+
/**
|
72
|
+
* Simple, lightweight module assisting with the detection and context of
|
73
|
+
* Worker. Helps avoid circular dependencies and allows code to reason about
|
74
|
+
* whether or not they are in a Worker, even if they never include the main
|
75
|
+
* `ReactWorker` dependency.
|
76
|
+
*/
|
77
|
+
var ExecutionEnvironment = {
|
78
|
+
|
79
|
+
canUseDOM: canUseDOM,
|
80
|
+
|
81
|
+
canUseWorkers: typeof Worker !== 'undefined',
|
82
|
+
|
83
|
+
canUseEventListeners:
|
84
|
+
canUseDOM && !!(window.addEventListener || window.attachEvent),
|
85
|
+
|
86
|
+
canUseViewport: canUseDOM && !!window.screen,
|
87
|
+
|
88
|
+
isInWorker: !canUseDOM // For now, this is true - might change in the future.
|
89
|
+
|
90
|
+
};
|
91
|
+
|
92
|
+
module.exports = ExecutionEnvironment;
|
93
|
+
|
94
|
+
|
95
|
+
/***/ }),
|
96
|
+
|
97
|
+
/***/ 2586:
|
98
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
99
|
+
|
100
|
+
/**
|
101
|
+
* Copyright 2013-2015, Facebook, Inc.
|
102
|
+
* All rights reserved.
|
103
|
+
*
|
104
|
+
* This source code is licensed under the BSD-style license found in the
|
105
|
+
* LICENSE file in the root directory of this source tree. An additional grant
|
106
|
+
* of patent rights can be found in the PATENTS file in the same directory.
|
107
|
+
*
|
108
|
+
* @providesModule isEventSupported
|
109
|
+
*/
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
var ExecutionEnvironment = __webpack_require__(1043);
|
114
|
+
|
115
|
+
var useHasFeature;
|
116
|
+
if (ExecutionEnvironment.canUseDOM) {
|
117
|
+
useHasFeature =
|
118
|
+
document.implementation &&
|
119
|
+
document.implementation.hasFeature &&
|
120
|
+
// always returns true in newer browsers as per the standard.
|
121
|
+
// @see http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature
|
122
|
+
document.implementation.hasFeature('', '') !== true;
|
123
|
+
}
|
124
|
+
|
125
|
+
/**
|
126
|
+
* Checks if an event is supported in the current execution environment.
|
127
|
+
*
|
128
|
+
* NOTE: This will not work correctly for non-generic events such as `change`,
|
129
|
+
* `reset`, `load`, `error`, and `select`.
|
130
|
+
*
|
131
|
+
* Borrows from Modernizr.
|
132
|
+
*
|
133
|
+
* @param {string} eventNameSuffix Event name, e.g. "click".
|
134
|
+
* @param {?boolean} capture Check if the capture phase is supported.
|
135
|
+
* @return {boolean} True if the event is supported.
|
136
|
+
* @internal
|
137
|
+
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
138
|
+
*/
|
139
|
+
function isEventSupported(eventNameSuffix, capture) {
|
140
|
+
if (!ExecutionEnvironment.canUseDOM ||
|
141
|
+
capture && !('addEventListener' in document)) {
|
142
|
+
return false;
|
143
|
+
}
|
144
|
+
|
145
|
+
var eventName = 'on' + eventNameSuffix;
|
146
|
+
var isSupported = eventName in document;
|
147
|
+
|
148
|
+
if (!isSupported) {
|
149
|
+
var element = document.createElement('div');
|
150
|
+
element.setAttribute(eventName, 'return;');
|
151
|
+
isSupported = typeof element[eventName] === 'function';
|
152
|
+
}
|
153
|
+
|
154
|
+
if (!isSupported && useHasFeature && eventNameSuffix === 'wheel') {
|
155
|
+
// This is the only way to test support for the `wheel` event in IE9+.
|
156
|
+
isSupported = document.implementation.hasFeature('Events.wheel', '3.0');
|
157
|
+
}
|
158
|
+
|
159
|
+
return isSupported;
|
160
|
+
}
|
161
|
+
|
162
|
+
module.exports = isEventSupported;
|
163
|
+
|
164
|
+
|
165
|
+
/***/ }),
|
166
|
+
|
167
|
+
/***/ 2880:
|
168
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
169
|
+
|
170
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
171
|
+
/* harmony export */ "default": () => (/* binding */ _nonIterableSpread)
|
172
|
+
/* harmony export */ });
|
173
|
+
function _nonIterableSpread() {
|
174
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
175
|
+
}
|
176
|
+
|
177
|
+
/***/ }),
|
178
|
+
|
179
|
+
/***/ 3492:
|
180
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
181
|
+
|
182
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
183
|
+
/* harmony export */ "default": () => (/* binding */ _arrayWithoutHoles)
|
184
|
+
/* harmony export */ });
|
185
|
+
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6284);
|
186
|
+
|
187
|
+
function _arrayWithoutHoles(arr) {
|
188
|
+
if (Array.isArray(arr)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(arr);
|
189
|
+
}
|
190
|
+
|
191
|
+
/***/ }),
|
192
|
+
|
193
|
+
/***/ 4193:
|
20
194
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
21
195
|
|
22
196
|
|
@@ -27,7 +201,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
27
201
|
|
28
202
|
// UNUSED EXPORTS: bkEllipsis, bkEllipsisInstance, bkLoading, clickoutside, mousewheel, overflowTitle
|
29
203
|
|
30
|
-
;//
|
204
|
+
;// ../../packages/directives/src/clickoutside.ts
|
31
205
|
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; } } }; }
|
32
206
|
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); }
|
33
207
|
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; }
|
@@ -154,12 +328,10 @@ ClickOutside.install = function (app) {
|
|
154
328
|
};
|
155
329
|
/* harmony default export */ const clickoutside = ((/* unused pure expression or super */ null && (ClickOutside)));
|
156
330
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
157
|
-
var esm_typeof = __webpack_require__(
|
158
|
-
|
159
|
-
var
|
160
|
-
|
161
|
-
const plugin_popover_namespaceObject = x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_plugin_popover_300e25d0__["default"] });
|
162
|
-
;// CONCATENATED MODULE: ../../packages/directives/src/ellipsis.ts
|
331
|
+
var esm_typeof = __webpack_require__(7545);
|
332
|
+
// EXTERNAL MODULE: external "../popover"
|
333
|
+
var popover_ = __webpack_require__(592);
|
334
|
+
;// ../../packages/directives/src/ellipsis.ts
|
163
335
|
|
164
336
|
/*
|
165
337
|
* Tencent is pleased to support the open source community by making
|
@@ -236,7 +408,7 @@ var createInstance = function createInstance(el, binding) {
|
|
236
408
|
onContentMouseenter: handleContentEnter,
|
237
409
|
onContentMouseleave: handleContentLeave
|
238
410
|
});
|
239
|
-
instance = (0,
|
411
|
+
instance = (0,popover_.$bkPopover)(targetOptions);
|
240
412
|
}, 300);
|
241
413
|
};
|
242
414
|
var handleMouseLeave = function handleMouseLeave() {
|
@@ -270,9 +442,9 @@ var ellipsis = {
|
|
270
442
|
};
|
271
443
|
/* harmony default export */ const src_ellipsis = ((/* unused pure expression or super */ null && (ellipsis)));
|
272
444
|
// EXTERNAL MODULE: ../../node_modules/normalize-wheel/index.js
|
273
|
-
var normalize_wheel = __webpack_require__(
|
445
|
+
var normalize_wheel = __webpack_require__(8283);
|
274
446
|
var normalize_wheel_default = /*#__PURE__*/__webpack_require__.n(normalize_wheel);
|
275
|
-
;//
|
447
|
+
;// ../../packages/directives/src/mousewheel.ts
|
276
448
|
/*
|
277
449
|
* Tencent is pleased to support the open source community by making
|
278
450
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -315,18 +487,20 @@ var mousewheel = {
|
|
315
487
|
};
|
316
488
|
/* harmony default export */ const src_mousewheel = ((/* unused pure expression or super */ null && (mousewheel)));
|
317
489
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
318
|
-
var defineProperty = __webpack_require__(
|
490
|
+
var defineProperty = __webpack_require__(4586);
|
319
491
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
320
|
-
var toConsumableArray = __webpack_require__(
|
492
|
+
var toConsumableArray = __webpack_require__(5153);
|
321
493
|
// EXTERNAL MODULE: external "vue"
|
322
|
-
var external_vue_ = __webpack_require__(
|
494
|
+
var external_vue_ = __webpack_require__(5286);
|
323
495
|
// EXTERNAL MODULE: external "../shared"
|
324
|
-
var shared_ = __webpack_require__(
|
325
|
-
;//
|
326
|
-
var
|
327
|
-
var
|
328
|
-
|
329
|
-
|
496
|
+
var shared_ = __webpack_require__(5166);
|
497
|
+
;// external "@popperjs/core"
|
498
|
+
var x = (y) => {
|
499
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
500
|
+
}
|
501
|
+
var y = (x) => (() => (x))
|
502
|
+
const core_namespaceObject = x({ ["createPopper"]: () => (__WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__.createPopper) });
|
503
|
+
;// ../../packages/directives/src/tooltips.ts
|
330
504
|
|
331
505
|
|
332
506
|
|
@@ -391,9 +565,6 @@ var tooltips = {
|
|
391
565
|
hide(el);
|
392
566
|
}, 100);
|
393
567
|
});
|
394
|
-
el.addEventListener('click', function () {
|
395
|
-
hide(el);
|
396
|
-
});
|
397
568
|
popper.addEventListener('mouseleave', function () {
|
398
569
|
clearTimeout(delayTimeout);
|
399
570
|
hideTimeout = setTimeout(function () {
|
@@ -407,7 +578,7 @@ var tooltips = {
|
|
407
578
|
show(el);
|
408
579
|
clearTimeout(delayTimeout);
|
409
580
|
}, opts.delay);
|
410
|
-
} else if (popper.hasAttribute('data-show')) {
|
581
|
+
} else if (!el.contains(event.target) && popper.hasAttribute('data-show')) {
|
411
582
|
hide(el);
|
412
583
|
}
|
413
584
|
});
|
@@ -618,15 +789,19 @@ function hide(el) {
|
|
618
789
|
}
|
619
790
|
}
|
620
791
|
/* harmony default export */ const src_tooltips = (tooltips);
|
621
|
-
;//
|
622
|
-
var external_loading_x = y => {
|
623
|
-
var
|
792
|
+
;// external "../loading"
|
793
|
+
var external_loading_x = (y) => {
|
794
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
795
|
+
}
|
796
|
+
var external_loading_y = (x) => (() => (x))
|
624
797
|
const external_loading_namespaceObject = external_loading_x({ });
|
625
|
-
;//
|
626
|
-
var external_overflow_title_x = y => {
|
627
|
-
var
|
798
|
+
;// external "../overflow-title"
|
799
|
+
var external_overflow_title_x = (y) => {
|
800
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
801
|
+
}
|
802
|
+
var external_overflow_title_y = (x) => (() => (x))
|
628
803
|
const external_overflow_title_namespaceObject = external_overflow_title_x({ });
|
629
|
-
;//
|
804
|
+
;// ../../packages/directives/src/index.ts
|
630
805
|
/*
|
631
806
|
* Tencent is pleased to support the open source community by making
|
632
807
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -662,16 +837,45 @@ const external_overflow_title_namespaceObject = external_overflow_title_x({ });
|
|
662
837
|
|
663
838
|
/***/ }),
|
664
839
|
|
665
|
-
/***/
|
666
|
-
/***/ ((
|
840
|
+
/***/ 4430:
|
841
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
842
|
+
|
843
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
844
|
+
/* harmony export */ "default": () => (/* binding */ _iterableToArray)
|
845
|
+
/* harmony export */ });
|
846
|
+
function _iterableToArray(iter) {
|
847
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
848
|
+
}
|
849
|
+
|
850
|
+
/***/ }),
|
851
|
+
|
852
|
+
/***/ 4586:
|
853
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
667
854
|
|
668
|
-
|
855
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
856
|
+
/* harmony export */ "default": () => (/* binding */ _defineProperty)
|
857
|
+
/* harmony export */ });
|
858
|
+
/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(205);
|
669
859
|
|
860
|
+
function _defineProperty(obj, key, value) {
|
861
|
+
key = (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["default"])(key);
|
862
|
+
if (key in obj) {
|
863
|
+
Object.defineProperty(obj, key, {
|
864
|
+
value: value,
|
865
|
+
enumerable: true,
|
866
|
+
configurable: true,
|
867
|
+
writable: true
|
868
|
+
});
|
869
|
+
} else {
|
870
|
+
obj[key] = value;
|
871
|
+
}
|
872
|
+
return obj;
|
873
|
+
}
|
670
874
|
|
671
875
|
/***/ }),
|
672
876
|
|
673
|
-
/***/
|
674
|
-
/***/ ((module) => {
|
877
|
+
/***/ 5022:
|
878
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
675
879
|
|
676
880
|
/**
|
677
881
|
* Copyright (c) 2015, Facebook, Inc.
|
@@ -681,447 +885,38 @@ module.exports = __webpack_require__(2527);
|
|
681
885
|
* LICENSE file in the root directory of this source tree. An additional grant
|
682
886
|
* of patent rights can be found in the PATENTS file in the same directory.
|
683
887
|
*
|
684
|
-
* @providesModule
|
685
|
-
|
686
|
-
|
687
|
-
/*jslint evil: true */
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
var canUseDOM = !!(
|
692
|
-
typeof window !== 'undefined' &&
|
693
|
-
window.document &&
|
694
|
-
window.document.createElement
|
695
|
-
);
|
696
|
-
|
697
|
-
/**
|
698
|
-
* Simple, lightweight module assisting with the detection and context of
|
699
|
-
* Worker. Helps avoid circular dependencies and allows code to reason about
|
700
|
-
* whether or not they are in a Worker, even if they never include the main
|
701
|
-
* `ReactWorker` dependency.
|
888
|
+
* @providesModule normalizeWheel
|
889
|
+
* @typechecks
|
702
890
|
*/
|
703
|
-
var ExecutionEnvironment = {
|
704
|
-
|
705
|
-
canUseDOM: canUseDOM,
|
706
|
-
|
707
|
-
canUseWorkers: typeof Worker !== 'undefined',
|
708
|
-
|
709
|
-
canUseEventListeners:
|
710
|
-
canUseDOM && !!(window.addEventListener || window.attachEvent),
|
711
891
|
|
712
|
-
canUseViewport: canUseDOM && !!window.screen,
|
713
|
-
|
714
|
-
isInWorker: !canUseDOM // For now, this is true - might change in the future.
|
715
892
|
|
716
|
-
};
|
717
893
|
|
718
|
-
|
894
|
+
var UserAgent_DEPRECATED = __webpack_require__(7416);
|
719
895
|
|
896
|
+
var isEventSupported = __webpack_require__(2586);
|
720
897
|
|
721
|
-
/***/ }),
|
722
898
|
|
723
|
-
|
724
|
-
|
899
|
+
// Reasonable defaults
|
900
|
+
var PIXEL_STEP = 10;
|
901
|
+
var LINE_HEIGHT = 40;
|
902
|
+
var PAGE_HEIGHT = 800;
|
725
903
|
|
726
904
|
/**
|
727
|
-
*
|
905
|
+
* Mouse wheel (and 2-finger trackpad) support on the web sucks. It is
|
906
|
+
* complicated, thus this doc is long and (hopefully) detailed enough to answer
|
907
|
+
* your questions.
|
728
908
|
*
|
729
|
-
*
|
730
|
-
|
731
|
-
|
732
|
-
/**
|
733
|
-
* Provides entirely client-side User Agent and OS detection. You should prefer
|
734
|
-
* the non-deprecated UserAgent module when possible, which exposes our
|
735
|
-
* authoritative server-side PHP-based detection to the client.
|
909
|
+
* If you need to react to the mouse wheel in a predictable way, this code is
|
910
|
+
* like your bestest friend. * hugs *
|
736
911
|
*
|
737
|
-
*
|
912
|
+
* As of today, there are 4 DOM event types you can listen to:
|
738
913
|
*
|
739
|
-
*
|
740
|
-
*
|
741
|
-
*
|
914
|
+
* 'wheel' -- Chrome(31+), FF(17+), IE(9+)
|
915
|
+
* 'mousewheel' -- Chrome, IE(6+), Opera, Safari
|
916
|
+
* 'MozMousePixelScroll' -- FF(3.5 only!) (2010-2013) -- don't bother!
|
917
|
+
* 'DOMMouseScroll' -- FF(0.9.7+) since 2003
|
742
918
|
*
|
743
|
-
*
|
744
|
-
*
|
745
|
-
* if (UserAgent_DEPRECATED.ie() >= 7) {
|
746
|
-
* // IE7 or better
|
747
|
-
* }
|
748
|
-
*
|
749
|
-
* The browser functions will return NaN if the browser does not match, so
|
750
|
-
* you can also do version compares the other way:
|
751
|
-
*
|
752
|
-
* if (UserAgent_DEPRECATED.ie() < 7) {
|
753
|
-
* // IE6 or worse
|
754
|
-
* }
|
755
|
-
*
|
756
|
-
* Note that the version is a float and may include a minor version number,
|
757
|
-
* so you should always use range operators to perform comparisons, not
|
758
|
-
* strict equality.
|
759
|
-
*
|
760
|
-
* **Note:** You should **strongly** prefer capability detection to browser
|
761
|
-
* version detection where it's reasonable:
|
762
|
-
*
|
763
|
-
* http://www.quirksmode.org/js/support.html
|
764
|
-
*
|
765
|
-
* Further, we have a large number of mature wrapper functions and classes
|
766
|
-
* which abstract away many browser irregularities. Check the documentation,
|
767
|
-
* grep for things, or ask on javascript@lists.facebook.com before writing yet
|
768
|
-
* another copy of "event || window.event".
|
769
|
-
*
|
770
|
-
*/
|
771
|
-
|
772
|
-
var _populated = false;
|
773
|
-
|
774
|
-
// Browsers
|
775
|
-
var _ie, _firefox, _opera, _webkit, _chrome;
|
776
|
-
|
777
|
-
// Actual IE browser for compatibility mode
|
778
|
-
var _ie_real_version;
|
779
|
-
|
780
|
-
// Platforms
|
781
|
-
var _osx, _windows, _linux, _android;
|
782
|
-
|
783
|
-
// Architectures
|
784
|
-
var _win64;
|
785
|
-
|
786
|
-
// Devices
|
787
|
-
var _iphone, _ipad, _native;
|
788
|
-
|
789
|
-
var _mobile;
|
790
|
-
|
791
|
-
function _populate() {
|
792
|
-
if (_populated) {
|
793
|
-
return;
|
794
|
-
}
|
795
|
-
|
796
|
-
_populated = true;
|
797
|
-
|
798
|
-
// To work around buggy JS libraries that can't handle multi-digit
|
799
|
-
// version numbers, Opera 10's user agent string claims it's Opera
|
800
|
-
// 9, then later includes a Version/X.Y field:
|
801
|
-
//
|
802
|
-
// Opera/9.80 (foo) Presto/2.2.15 Version/10.10
|
803
|
-
var uas = navigator.userAgent;
|
804
|
-
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);
|
805
|
-
var os = /(Mac OS X)|(Windows)|(Linux)/.exec(uas);
|
806
|
-
|
807
|
-
_iphone = /\b(iPhone|iP[ao]d)/.exec(uas);
|
808
|
-
_ipad = /\b(iP[ao]d)/.exec(uas);
|
809
|
-
_android = /Android/i.exec(uas);
|
810
|
-
_native = /FBAN\/\w+;/i.exec(uas);
|
811
|
-
_mobile = /Mobile/i.exec(uas);
|
812
|
-
|
813
|
-
// Note that the IE team blog would have you believe you should be checking
|
814
|
-
// for 'Win64; x64'. But MSDN then reveals that you can actually be coming
|
815
|
-
// from either x64 or ia64; so ultimately, you should just check for Win64
|
816
|
-
// as in indicator of whether you're in 64-bit IE. 32-bit IE on 64-bit
|
817
|
-
// Windows will send 'WOW64' instead.
|
818
|
-
_win64 = !!(/Win64/.exec(uas));
|
819
|
-
|
820
|
-
if (agent) {
|
821
|
-
_ie = agent[1] ? parseFloat(agent[1]) : (
|
822
|
-
agent[5] ? parseFloat(agent[5]) : NaN);
|
823
|
-
// IE compatibility mode
|
824
|
-
if (_ie && document && document.documentMode) {
|
825
|
-
_ie = document.documentMode;
|
826
|
-
}
|
827
|
-
// grab the "true" ie version from the trident token if available
|
828
|
-
var trident = /(?:Trident\/(\d+.\d+))/.exec(uas);
|
829
|
-
_ie_real_version = trident ? parseFloat(trident[1]) + 4 : _ie;
|
830
|
-
|
831
|
-
_firefox = agent[2] ? parseFloat(agent[2]) : NaN;
|
832
|
-
_opera = agent[3] ? parseFloat(agent[3]) : NaN;
|
833
|
-
_webkit = agent[4] ? parseFloat(agent[4]) : NaN;
|
834
|
-
if (_webkit) {
|
835
|
-
// We do not add the regexp to the above test, because it will always
|
836
|
-
// match 'safari' only since 'AppleWebKit' appears before 'Chrome' in
|
837
|
-
// the userAgent string.
|
838
|
-
agent = /(?:Chrome\/(\d+\.\d+))/.exec(uas);
|
839
|
-
_chrome = agent && agent[1] ? parseFloat(agent[1]) : NaN;
|
840
|
-
} else {
|
841
|
-
_chrome = NaN;
|
842
|
-
}
|
843
|
-
} else {
|
844
|
-
_ie = _firefox = _opera = _chrome = _webkit = NaN;
|
845
|
-
}
|
846
|
-
|
847
|
-
if (os) {
|
848
|
-
if (os[1]) {
|
849
|
-
// Detect OS X version. If no version number matches, set _osx to true.
|
850
|
-
// Version examples: 10, 10_6_1, 10.7
|
851
|
-
// Parses version number as a float, taking only first two sets of
|
852
|
-
// digits. If only one set of digits is found, returns just the major
|
853
|
-
// version number.
|
854
|
-
var ver = /(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(uas);
|
855
|
-
|
856
|
-
_osx = ver ? parseFloat(ver[1].replace('_', '.')) : true;
|
857
|
-
} else {
|
858
|
-
_osx = false;
|
859
|
-
}
|
860
|
-
_windows = !!os[2];
|
861
|
-
_linux = !!os[3];
|
862
|
-
} else {
|
863
|
-
_osx = _windows = _linux = false;
|
864
|
-
}
|
865
|
-
}
|
866
|
-
|
867
|
-
var UserAgent_DEPRECATED = {
|
868
|
-
|
869
|
-
/**
|
870
|
-
* Check if the UA is Internet Explorer.
|
871
|
-
*
|
872
|
-
*
|
873
|
-
* @return float|NaN Version number (if match) or NaN.
|
874
|
-
*/
|
875
|
-
ie: function() {
|
876
|
-
return _populate() || _ie;
|
877
|
-
},
|
878
|
-
|
879
|
-
/**
|
880
|
-
* Check if we're in Internet Explorer compatibility mode.
|
881
|
-
*
|
882
|
-
* @return bool true if in compatibility mode, false if
|
883
|
-
* not compatibility mode or not ie
|
884
|
-
*/
|
885
|
-
ieCompatibilityMode: function() {
|
886
|
-
return _populate() || (_ie_real_version > _ie);
|
887
|
-
},
|
888
|
-
|
889
|
-
|
890
|
-
/**
|
891
|
-
* Whether the browser is 64-bit IE. Really, this is kind of weak sauce; we
|
892
|
-
* only need this because Skype can't handle 64-bit IE yet. We need to remove
|
893
|
-
* this when we don't need it -- tracked by #601957.
|
894
|
-
*/
|
895
|
-
ie64: function() {
|
896
|
-
return UserAgent_DEPRECATED.ie() && _win64;
|
897
|
-
},
|
898
|
-
|
899
|
-
/**
|
900
|
-
* Check if the UA is Firefox.
|
901
|
-
*
|
902
|
-
*
|
903
|
-
* @return float|NaN Version number (if match) or NaN.
|
904
|
-
*/
|
905
|
-
firefox: function() {
|
906
|
-
return _populate() || _firefox;
|
907
|
-
},
|
908
|
-
|
909
|
-
|
910
|
-
/**
|
911
|
-
* Check if the UA is Opera.
|
912
|
-
*
|
913
|
-
*
|
914
|
-
* @return float|NaN Version number (if match) or NaN.
|
915
|
-
*/
|
916
|
-
opera: function() {
|
917
|
-
return _populate() || _opera;
|
918
|
-
},
|
919
|
-
|
920
|
-
|
921
|
-
/**
|
922
|
-
* Check if the UA is WebKit.
|
923
|
-
*
|
924
|
-
*
|
925
|
-
* @return float|NaN Version number (if match) or NaN.
|
926
|
-
*/
|
927
|
-
webkit: function() {
|
928
|
-
return _populate() || _webkit;
|
929
|
-
},
|
930
|
-
|
931
|
-
/**
|
932
|
-
* For Push
|
933
|
-
* WILL BE REMOVED VERY SOON. Use UserAgent_DEPRECATED.webkit
|
934
|
-
*/
|
935
|
-
safari: function() {
|
936
|
-
return UserAgent_DEPRECATED.webkit();
|
937
|
-
},
|
938
|
-
|
939
|
-
/**
|
940
|
-
* Check if the UA is a Chrome browser.
|
941
|
-
*
|
942
|
-
*
|
943
|
-
* @return float|NaN Version number (if match) or NaN.
|
944
|
-
*/
|
945
|
-
chrome : function() {
|
946
|
-
return _populate() || _chrome;
|
947
|
-
},
|
948
|
-
|
949
|
-
|
950
|
-
/**
|
951
|
-
* Check if the user is running Windows.
|
952
|
-
*
|
953
|
-
* @return bool `true' if the user's OS is Windows.
|
954
|
-
*/
|
955
|
-
windows: function() {
|
956
|
-
return _populate() || _windows;
|
957
|
-
},
|
958
|
-
|
959
|
-
|
960
|
-
/**
|
961
|
-
* Check if the user is running Mac OS X.
|
962
|
-
*
|
963
|
-
* @return float|bool Returns a float if a version number is detected,
|
964
|
-
* otherwise true/false.
|
965
|
-
*/
|
966
|
-
osx: function() {
|
967
|
-
return _populate() || _osx;
|
968
|
-
},
|
969
|
-
|
970
|
-
/**
|
971
|
-
* Check if the user is running Linux.
|
972
|
-
*
|
973
|
-
* @return bool `true' if the user's OS is some flavor of Linux.
|
974
|
-
*/
|
975
|
-
linux: function() {
|
976
|
-
return _populate() || _linux;
|
977
|
-
},
|
978
|
-
|
979
|
-
/**
|
980
|
-
* Check if the user is running on an iPhone or iPod platform.
|
981
|
-
*
|
982
|
-
* @return bool `true' if the user is running some flavor of the
|
983
|
-
* iPhone OS.
|
984
|
-
*/
|
985
|
-
iphone: function() {
|
986
|
-
return _populate() || _iphone;
|
987
|
-
},
|
988
|
-
|
989
|
-
mobile: function() {
|
990
|
-
return _populate() || (_iphone || _ipad || _android || _mobile);
|
991
|
-
},
|
992
|
-
|
993
|
-
nativeApp: function() {
|
994
|
-
// webviews inside of the native apps
|
995
|
-
return _populate() || _native;
|
996
|
-
},
|
997
|
-
|
998
|
-
android: function() {
|
999
|
-
return _populate() || _android;
|
1000
|
-
},
|
1001
|
-
|
1002
|
-
ipad: function() {
|
1003
|
-
return _populate() || _ipad;
|
1004
|
-
}
|
1005
|
-
};
|
1006
|
-
|
1007
|
-
module.exports = UserAgent_DEPRECATED;
|
1008
|
-
|
1009
|
-
|
1010
|
-
/***/ }),
|
1011
|
-
|
1012
|
-
/***/ 3541:
|
1013
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1014
|
-
|
1015
|
-
/**
|
1016
|
-
* Copyright 2013-2015, Facebook, Inc.
|
1017
|
-
* All rights reserved.
|
1018
|
-
*
|
1019
|
-
* This source code is licensed under the BSD-style license found in the
|
1020
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
1021
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
1022
|
-
*
|
1023
|
-
* @providesModule isEventSupported
|
1024
|
-
*/
|
1025
|
-
|
1026
|
-
|
1027
|
-
|
1028
|
-
var ExecutionEnvironment = __webpack_require__(7430);
|
1029
|
-
|
1030
|
-
var useHasFeature;
|
1031
|
-
if (ExecutionEnvironment.canUseDOM) {
|
1032
|
-
useHasFeature =
|
1033
|
-
document.implementation &&
|
1034
|
-
document.implementation.hasFeature &&
|
1035
|
-
// always returns true in newer browsers as per the standard.
|
1036
|
-
// @see http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature
|
1037
|
-
document.implementation.hasFeature('', '') !== true;
|
1038
|
-
}
|
1039
|
-
|
1040
|
-
/**
|
1041
|
-
* Checks if an event is supported in the current execution environment.
|
1042
|
-
*
|
1043
|
-
* NOTE: This will not work correctly for non-generic events such as `change`,
|
1044
|
-
* `reset`, `load`, `error`, and `select`.
|
1045
|
-
*
|
1046
|
-
* Borrows from Modernizr.
|
1047
|
-
*
|
1048
|
-
* @param {string} eventNameSuffix Event name, e.g. "click".
|
1049
|
-
* @param {?boolean} capture Check if the capture phase is supported.
|
1050
|
-
* @return {boolean} True if the event is supported.
|
1051
|
-
* @internal
|
1052
|
-
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
1053
|
-
*/
|
1054
|
-
function isEventSupported(eventNameSuffix, capture) {
|
1055
|
-
if (!ExecutionEnvironment.canUseDOM ||
|
1056
|
-
capture && !('addEventListener' in document)) {
|
1057
|
-
return false;
|
1058
|
-
}
|
1059
|
-
|
1060
|
-
var eventName = 'on' + eventNameSuffix;
|
1061
|
-
var isSupported = eventName in document;
|
1062
|
-
|
1063
|
-
if (!isSupported) {
|
1064
|
-
var element = document.createElement('div');
|
1065
|
-
element.setAttribute(eventName, 'return;');
|
1066
|
-
isSupported = typeof element[eventName] === 'function';
|
1067
|
-
}
|
1068
|
-
|
1069
|
-
if (!isSupported && useHasFeature && eventNameSuffix === 'wheel') {
|
1070
|
-
// This is the only way to test support for the `wheel` event in IE9+.
|
1071
|
-
isSupported = document.implementation.hasFeature('Events.wheel', '3.0');
|
1072
|
-
}
|
1073
|
-
|
1074
|
-
return isSupported;
|
1075
|
-
}
|
1076
|
-
|
1077
|
-
module.exports = isEventSupported;
|
1078
|
-
|
1079
|
-
|
1080
|
-
/***/ }),
|
1081
|
-
|
1082
|
-
/***/ 2527:
|
1083
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1084
|
-
|
1085
|
-
/**
|
1086
|
-
* Copyright (c) 2015, Facebook, Inc.
|
1087
|
-
* All rights reserved.
|
1088
|
-
*
|
1089
|
-
* This source code is licensed under the BSD-style license found in the
|
1090
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
1091
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
1092
|
-
*
|
1093
|
-
* @providesModule normalizeWheel
|
1094
|
-
* @typechecks
|
1095
|
-
*/
|
1096
|
-
|
1097
|
-
|
1098
|
-
|
1099
|
-
var UserAgent_DEPRECATED = __webpack_require__(6377);
|
1100
|
-
|
1101
|
-
var isEventSupported = __webpack_require__(3541);
|
1102
|
-
|
1103
|
-
|
1104
|
-
// Reasonable defaults
|
1105
|
-
var PIXEL_STEP = 10;
|
1106
|
-
var LINE_HEIGHT = 40;
|
1107
|
-
var PAGE_HEIGHT = 800;
|
1108
|
-
|
1109
|
-
/**
|
1110
|
-
* Mouse wheel (and 2-finger trackpad) support on the web sucks. It is
|
1111
|
-
* complicated, thus this doc is long and (hopefully) detailed enough to answer
|
1112
|
-
* your questions.
|
1113
|
-
*
|
1114
|
-
* If you need to react to the mouse wheel in a predictable way, this code is
|
1115
|
-
* like your bestest friend. * hugs *
|
1116
|
-
*
|
1117
|
-
* As of today, there are 4 DOM event types you can listen to:
|
1118
|
-
*
|
1119
|
-
* 'wheel' -- Chrome(31+), FF(17+), IE(9+)
|
1120
|
-
* 'mousewheel' -- Chrome, IE(6+), Opera, Safari
|
1121
|
-
* 'MozMousePixelScroll' -- FF(3.5 only!) (2010-2013) -- don't bother!
|
1122
|
-
* 'DOMMouseScroll' -- FF(0.9.7+) since 2003
|
1123
|
-
*
|
1124
|
-
* So what to do? The is the best:
|
919
|
+
* So what to do? The is the best:
|
1125
920
|
*
|
1126
921
|
* normalizeWheel.getEventType();
|
1127
922
|
*
|
@@ -1267,25 +1062,49 @@ module.exports = normalizeWheel;
|
|
1267
1062
|
|
1268
1063
|
/***/ }),
|
1269
1064
|
|
1270
|
-
/***/
|
1065
|
+
/***/ 5153:
|
1066
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1067
|
+
|
1068
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1069
|
+
/* harmony export */ "default": () => (/* binding */ _toConsumableArray)
|
1070
|
+
/* harmony export */ });
|
1071
|
+
/* harmony import */ var _arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3492);
|
1072
|
+
/* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4430);
|
1073
|
+
/* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7985);
|
1074
|
+
/* harmony import */ var _nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(2880);
|
1075
|
+
|
1076
|
+
|
1077
|
+
|
1078
|
+
|
1079
|
+
function _toConsumableArray(arr) {
|
1080
|
+
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"])();
|
1081
|
+
}
|
1082
|
+
|
1083
|
+
/***/ }),
|
1084
|
+
|
1085
|
+
/***/ 5166:
|
1271
1086
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1272
1087
|
|
1273
|
-
var x = y => {
|
1274
|
-
var
|
1275
|
-
|
1088
|
+
var x = (y) => {
|
1089
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1090
|
+
}
|
1091
|
+
var y = (x) => (() => (x))
|
1092
|
+
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), ["formItemKey"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.formItemKey), ["formKey"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.formKey), ["resolveClassName"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.resolveClassName), ["useForm"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.useForm), ["useFormItem"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.useFormItem), ["withInstallProps"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstallProps) });
|
1276
1093
|
|
1277
1094
|
/***/ }),
|
1278
1095
|
|
1279
|
-
/***/
|
1096
|
+
/***/ 5286:
|
1280
1097
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1281
1098
|
|
1282
|
-
var x = y => {
|
1283
|
-
var
|
1284
|
-
|
1099
|
+
var x = (y) => {
|
1100
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1101
|
+
}
|
1102
|
+
var y = (x) => (() => (x))
|
1103
|
+
module.exports = x({ ["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), ["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), ["render"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.render), ["resolveDirective"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective), ["toRefs"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.toRefs), ["withDirectives"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.withDirectives) });
|
1285
1104
|
|
1286
1105
|
/***/ }),
|
1287
1106
|
|
1288
|
-
/***/
|
1107
|
+
/***/ 6284:
|
1289
1108
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1290
1109
|
|
1291
1110
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
@@ -1299,128 +1118,296 @@ function _arrayLikeToArray(arr, len) {
|
|
1299
1118
|
|
1300
1119
|
/***/ }),
|
1301
1120
|
|
1302
|
-
/***/
|
1303
|
-
/***/ ((
|
1121
|
+
/***/ 7416:
|
1122
|
+
/***/ ((module) => {
|
1304
1123
|
|
1305
|
-
|
1306
|
-
|
1307
|
-
|
1308
|
-
|
1124
|
+
/**
|
1125
|
+
* Copyright 2004-present Facebook. All Rights Reserved.
|
1126
|
+
*
|
1127
|
+
* @providesModule UserAgent_DEPRECATED
|
1128
|
+
*/
|
1309
1129
|
|
1310
|
-
|
1311
|
-
|
1312
|
-
|
1130
|
+
/**
|
1131
|
+
* Provides entirely client-side User Agent and OS detection. You should prefer
|
1132
|
+
* the non-deprecated UserAgent module when possible, which exposes our
|
1133
|
+
* authoritative server-side PHP-based detection to the client.
|
1134
|
+
*
|
1135
|
+
* Usage is straightforward:
|
1136
|
+
*
|
1137
|
+
* if (UserAgent_DEPRECATED.ie()) {
|
1138
|
+
* // IE
|
1139
|
+
* }
|
1140
|
+
*
|
1141
|
+
* You can also do version checks:
|
1142
|
+
*
|
1143
|
+
* if (UserAgent_DEPRECATED.ie() >= 7) {
|
1144
|
+
* // IE7 or better
|
1145
|
+
* }
|
1146
|
+
*
|
1147
|
+
* The browser functions will return NaN if the browser does not match, so
|
1148
|
+
* you can also do version compares the other way:
|
1149
|
+
*
|
1150
|
+
* if (UserAgent_DEPRECATED.ie() < 7) {
|
1151
|
+
* // IE6 or worse
|
1152
|
+
* }
|
1153
|
+
*
|
1154
|
+
* Note that the version is a float and may include a minor version number,
|
1155
|
+
* so you should always use range operators to perform comparisons, not
|
1156
|
+
* strict equality.
|
1157
|
+
*
|
1158
|
+
* **Note:** You should **strongly** prefer capability detection to browser
|
1159
|
+
* version detection where it's reasonable:
|
1160
|
+
*
|
1161
|
+
* http://www.quirksmode.org/js/support.html
|
1162
|
+
*
|
1163
|
+
* Further, we have a large number of mature wrapper functions and classes
|
1164
|
+
* which abstract away many browser irregularities. Check the documentation,
|
1165
|
+
* grep for things, or ask on javascript@lists.facebook.com before writing yet
|
1166
|
+
* another copy of "event || window.event".
|
1167
|
+
*
|
1168
|
+
*/
|
1169
|
+
|
1170
|
+
var _populated = false;
|
1171
|
+
|
1172
|
+
// Browsers
|
1173
|
+
var _ie, _firefox, _opera, _webkit, _chrome;
|
1174
|
+
|
1175
|
+
// Actual IE browser for compatibility mode
|
1176
|
+
var _ie_real_version;
|
1177
|
+
|
1178
|
+
// Platforms
|
1179
|
+
var _osx, _windows, _linux, _android;
|
1180
|
+
|
1181
|
+
// Architectures
|
1182
|
+
var _win64;
|
1183
|
+
|
1184
|
+
// Devices
|
1185
|
+
var _iphone, _ipad, _native;
|
1186
|
+
|
1187
|
+
var _mobile;
|
1188
|
+
|
1189
|
+
function _populate() {
|
1190
|
+
if (_populated) {
|
1191
|
+
return;
|
1192
|
+
}
|
1193
|
+
|
1194
|
+
_populated = true;
|
1195
|
+
|
1196
|
+
// To work around buggy JS libraries that can't handle multi-digit
|
1197
|
+
// version numbers, Opera 10's user agent string claims it's Opera
|
1198
|
+
// 9, then later includes a Version/X.Y field:
|
1199
|
+
//
|
1200
|
+
// Opera/9.80 (foo) Presto/2.2.15 Version/10.10
|
1201
|
+
var uas = navigator.userAgent;
|
1202
|
+
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);
|
1203
|
+
var os = /(Mac OS X)|(Windows)|(Linux)/.exec(uas);
|
1204
|
+
|
1205
|
+
_iphone = /\b(iPhone|iP[ao]d)/.exec(uas);
|
1206
|
+
_ipad = /\b(iP[ao]d)/.exec(uas);
|
1207
|
+
_android = /Android/i.exec(uas);
|
1208
|
+
_native = /FBAN\/\w+;/i.exec(uas);
|
1209
|
+
_mobile = /Mobile/i.exec(uas);
|
1210
|
+
|
1211
|
+
// Note that the IE team blog would have you believe you should be checking
|
1212
|
+
// for 'Win64; x64'. But MSDN then reveals that you can actually be coming
|
1213
|
+
// from either x64 or ia64; so ultimately, you should just check for Win64
|
1214
|
+
// as in indicator of whether you're in 64-bit IE. 32-bit IE on 64-bit
|
1215
|
+
// Windows will send 'WOW64' instead.
|
1216
|
+
_win64 = !!(/Win64/.exec(uas));
|
1313
1217
|
|
1314
|
-
|
1218
|
+
if (agent) {
|
1219
|
+
_ie = agent[1] ? parseFloat(agent[1]) : (
|
1220
|
+
agent[5] ? parseFloat(agent[5]) : NaN);
|
1221
|
+
// IE compatibility mode
|
1222
|
+
if (_ie && document && document.documentMode) {
|
1223
|
+
_ie = document.documentMode;
|
1224
|
+
}
|
1225
|
+
// grab the "true" ie version from the trident token if available
|
1226
|
+
var trident = /(?:Trident\/(\d+.\d+))/.exec(uas);
|
1227
|
+
_ie_real_version = trident ? parseFloat(trident[1]) + 4 : _ie;
|
1315
1228
|
|
1316
|
-
|
1317
|
-
|
1229
|
+
_firefox = agent[2] ? parseFloat(agent[2]) : NaN;
|
1230
|
+
_opera = agent[3] ? parseFloat(agent[3]) : NaN;
|
1231
|
+
_webkit = agent[4] ? parseFloat(agent[4]) : NaN;
|
1232
|
+
if (_webkit) {
|
1233
|
+
// We do not add the regexp to the above test, because it will always
|
1234
|
+
// match 'safari' only since 'AppleWebKit' appears before 'Chrome' in
|
1235
|
+
// the userAgent string.
|
1236
|
+
agent = /(?:Chrome\/(\d+\.\d+))/.exec(uas);
|
1237
|
+
_chrome = agent && agent[1] ? parseFloat(agent[1]) : NaN;
|
1238
|
+
} else {
|
1239
|
+
_chrome = NaN;
|
1240
|
+
}
|
1241
|
+
} else {
|
1242
|
+
_ie = _firefox = _opera = _chrome = _webkit = NaN;
|
1243
|
+
}
|
1318
1244
|
|
1319
|
-
|
1320
|
-
|
1321
|
-
|
1322
|
-
|
1245
|
+
if (os) {
|
1246
|
+
if (os[1]) {
|
1247
|
+
// Detect OS X version. If no version number matches, set _osx to true.
|
1248
|
+
// Version examples: 10, 10_6_1, 10.7
|
1249
|
+
// Parses version number as a float, taking only first two sets of
|
1250
|
+
// digits. If only one set of digits is found, returns just the major
|
1251
|
+
// version number.
|
1252
|
+
var ver = /(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(uas);
|
1323
1253
|
|
1324
|
-
|
1325
|
-
|
1326
|
-
|
1327
|
-
|
1328
|
-
|
1329
|
-
|
1330
|
-
configurable: true,
|
1331
|
-
writable: true
|
1332
|
-
});
|
1254
|
+
_osx = ver ? parseFloat(ver[1].replace('_', '.')) : true;
|
1255
|
+
} else {
|
1256
|
+
_osx = false;
|
1257
|
+
}
|
1258
|
+
_windows = !!os[2];
|
1259
|
+
_linux = !!os[3];
|
1333
1260
|
} else {
|
1334
|
-
|
1261
|
+
_osx = _windows = _linux = false;
|
1335
1262
|
}
|
1336
|
-
return obj;
|
1337
1263
|
}
|
1338
1264
|
|
1339
|
-
|
1265
|
+
var UserAgent_DEPRECATED = {
|
1340
1266
|
|
1341
|
-
|
1342
|
-
|
1267
|
+
/**
|
1268
|
+
* Check if the UA is Internet Explorer.
|
1269
|
+
*
|
1270
|
+
*
|
1271
|
+
* @return float|NaN Version number (if match) or NaN.
|
1272
|
+
*/
|
1273
|
+
ie: function() {
|
1274
|
+
return _populate() || _ie;
|
1275
|
+
},
|
1343
1276
|
|
1344
|
-
|
1345
|
-
|
1346
|
-
|
1347
|
-
|
1348
|
-
|
1349
|
-
|
1277
|
+
/**
|
1278
|
+
* Check if we're in Internet Explorer compatibility mode.
|
1279
|
+
*
|
1280
|
+
* @return bool true if in compatibility mode, false if
|
1281
|
+
* not compatibility mode or not ie
|
1282
|
+
*/
|
1283
|
+
ieCompatibilityMode: function() {
|
1284
|
+
return _populate() || (_ie_real_version > _ie);
|
1285
|
+
},
|
1350
1286
|
|
1351
|
-
/***/ }),
|
1352
1287
|
|
1353
|
-
|
1354
|
-
|
1288
|
+
/**
|
1289
|
+
* Whether the browser is 64-bit IE. Really, this is kind of weak sauce; we
|
1290
|
+
* only need this because Skype can't handle 64-bit IE yet. We need to remove
|
1291
|
+
* this when we don't need it -- tracked by #601957.
|
1292
|
+
*/
|
1293
|
+
ie64: function() {
|
1294
|
+
return UserAgent_DEPRECATED.ie() && _win64;
|
1295
|
+
},
|
1355
1296
|
|
1356
|
-
|
1357
|
-
|
1358
|
-
|
1359
|
-
|
1360
|
-
|
1361
|
-
|
1297
|
+
/**
|
1298
|
+
* Check if the UA is Firefox.
|
1299
|
+
*
|
1300
|
+
*
|
1301
|
+
* @return float|NaN Version number (if match) or NaN.
|
1302
|
+
*/
|
1303
|
+
firefox: function() {
|
1304
|
+
return _populate() || _firefox;
|
1305
|
+
},
|
1362
1306
|
|
1363
|
-
/***/ }),
|
1364
1307
|
|
1365
|
-
|
1366
|
-
|
1308
|
+
/**
|
1309
|
+
* Check if the UA is Opera.
|
1310
|
+
*
|
1311
|
+
*
|
1312
|
+
* @return float|NaN Version number (if match) or NaN.
|
1313
|
+
*/
|
1314
|
+
opera: function() {
|
1315
|
+
return _populate() || _opera;
|
1316
|
+
},
|
1367
1317
|
|
1368
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1369
|
-
/* harmony export */ "default": () => (/* binding */ _toConsumableArray)
|
1370
|
-
/* harmony export */ });
|
1371
|
-
/* harmony import */ var _arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(74);
|
1372
|
-
/* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1079);
|
1373
|
-
/* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9147);
|
1374
|
-
/* harmony import */ var _nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6098);
|
1375
1318
|
|
1319
|
+
/**
|
1320
|
+
* Check if the UA is WebKit.
|
1321
|
+
*
|
1322
|
+
*
|
1323
|
+
* @return float|NaN Version number (if match) or NaN.
|
1324
|
+
*/
|
1325
|
+
webkit: function() {
|
1326
|
+
return _populate() || _webkit;
|
1327
|
+
},
|
1328
|
+
|
1329
|
+
/**
|
1330
|
+
* For Push
|
1331
|
+
* WILL BE REMOVED VERY SOON. Use UserAgent_DEPRECATED.webkit
|
1332
|
+
*/
|
1333
|
+
safari: function() {
|
1334
|
+
return UserAgent_DEPRECATED.webkit();
|
1335
|
+
},
|
1376
1336
|
|
1337
|
+
/**
|
1338
|
+
* Check if the UA is a Chrome browser.
|
1339
|
+
*
|
1340
|
+
*
|
1341
|
+
* @return float|NaN Version number (if match) or NaN.
|
1342
|
+
*/
|
1343
|
+
chrome : function() {
|
1344
|
+
return _populate() || _chrome;
|
1345
|
+
},
|
1377
1346
|
|
1378
1347
|
|
1379
|
-
|
1380
|
-
|
1381
|
-
|
1348
|
+
/**
|
1349
|
+
* Check if the user is running Windows.
|
1350
|
+
*
|
1351
|
+
* @return bool `true' if the user's OS is Windows.
|
1352
|
+
*/
|
1353
|
+
windows: function() {
|
1354
|
+
return _populate() || _windows;
|
1355
|
+
},
|
1382
1356
|
|
1383
|
-
/***/ }),
|
1384
1357
|
|
1385
|
-
|
1386
|
-
|
1358
|
+
/**
|
1359
|
+
* Check if the user is running Mac OS X.
|
1360
|
+
*
|
1361
|
+
* @return float|bool Returns a float if a version number is detected,
|
1362
|
+
* otherwise true/false.
|
1363
|
+
*/
|
1364
|
+
osx: function() {
|
1365
|
+
return _populate() || _osx;
|
1366
|
+
},
|
1387
1367
|
|
1388
|
-
|
1389
|
-
|
1390
|
-
|
1391
|
-
|
1368
|
+
/**
|
1369
|
+
* Check if the user is running Linux.
|
1370
|
+
*
|
1371
|
+
* @return bool `true' if the user's OS is some flavor of Linux.
|
1372
|
+
*/
|
1373
|
+
linux: function() {
|
1374
|
+
return _populate() || _linux;
|
1375
|
+
},
|
1392
1376
|
|
1393
|
-
|
1394
|
-
|
1395
|
-
|
1396
|
-
|
1397
|
-
|
1398
|
-
|
1399
|
-
|
1400
|
-
|
1401
|
-
|
1402
|
-
}
|
1377
|
+
/**
|
1378
|
+
* Check if the user is running on an iPhone or iPod platform.
|
1379
|
+
*
|
1380
|
+
* @return bool `true' if the user is running some flavor of the
|
1381
|
+
* iPhone OS.
|
1382
|
+
*/
|
1383
|
+
iphone: function() {
|
1384
|
+
return _populate() || _iphone;
|
1385
|
+
},
|
1403
1386
|
|
1404
|
-
|
1387
|
+
mobile: function() {
|
1388
|
+
return _populate() || (_iphone || _ipad || _android || _mobile);
|
1389
|
+
},
|
1405
1390
|
|
1406
|
-
|
1407
|
-
|
1391
|
+
nativeApp: function() {
|
1392
|
+
// webviews inside of the native apps
|
1393
|
+
return _populate() || _native;
|
1394
|
+
},
|
1408
1395
|
|
1409
|
-
|
1410
|
-
|
1411
|
-
|
1412
|
-
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6522);
|
1413
|
-
/* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9745);
|
1396
|
+
android: function() {
|
1397
|
+
return _populate() || _android;
|
1398
|
+
},
|
1414
1399
|
|
1400
|
+
ipad: function() {
|
1401
|
+
return _populate() || _ipad;
|
1402
|
+
}
|
1403
|
+
};
|
1404
|
+
|
1405
|
+
module.exports = UserAgent_DEPRECATED;
|
1415
1406
|
|
1416
|
-
function toPropertyKey(t) {
|
1417
|
-
var i = (0,_toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t, "string");
|
1418
|
-
return "symbol" == (0,_typeof_js__WEBPACK_IMPORTED_MODULE_1__["default"])(i) ? i : String(i);
|
1419
|
-
}
|
1420
1407
|
|
1421
1408
|
/***/ }),
|
1422
1409
|
|
1423
|
-
/***/
|
1410
|
+
/***/ 7545:
|
1424
1411
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1425
1412
|
|
1426
1413
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
@@ -1438,13 +1425,13 @@ function _typeof(o) {
|
|
1438
1425
|
|
1439
1426
|
/***/ }),
|
1440
1427
|
|
1441
|
-
/***/
|
1428
|
+
/***/ 7985:
|
1442
1429
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1443
1430
|
|
1444
1431
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1445
1432
|
/* harmony export */ "default": () => (/* binding */ _unsupportedIterableToArray)
|
1446
1433
|
/* harmony export */ });
|
1447
|
-
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
1434
|
+
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6284);
|
1448
1435
|
|
1449
1436
|
function _unsupportedIterableToArray(o, minLen) {
|
1450
1437
|
if (!o) return;
|
@@ -1455,6 +1442,35 @@ function _unsupportedIterableToArray(o, minLen) {
|
|
1455
1442
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(o, minLen);
|
1456
1443
|
}
|
1457
1444
|
|
1445
|
+
/***/ }),
|
1446
|
+
|
1447
|
+
/***/ 8283:
|
1448
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1449
|
+
|
1450
|
+
module.exports = __webpack_require__(5022);
|
1451
|
+
|
1452
|
+
|
1453
|
+
/***/ }),
|
1454
|
+
|
1455
|
+
/***/ 9824:
|
1456
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1457
|
+
|
1458
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1459
|
+
/* harmony export */ "default": () => (/* binding */ toPrimitive)
|
1460
|
+
/* harmony export */ });
|
1461
|
+
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7545);
|
1462
|
+
|
1463
|
+
function toPrimitive(t, r) {
|
1464
|
+
if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t) || !t) return t;
|
1465
|
+
var e = t[Symbol.toPrimitive];
|
1466
|
+
if (void 0 !== e) {
|
1467
|
+
var i = e.call(t, r || "default");
|
1468
|
+
if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(i)) return i;
|
1469
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
1470
|
+
}
|
1471
|
+
return ("string" === r ? String : Number)(t);
|
1472
|
+
}
|
1473
|
+
|
1458
1474
|
/***/ })
|
1459
1475
|
|
1460
1476
|
/******/ });
|
@@ -1515,8 +1531,6 @@ function _unsupportedIterableToArray(o, minLen) {
|
|
1515
1531
|
/******/
|
1516
1532
|
/************************************************************************/
|
1517
1533
|
var __webpack_exports__ = {};
|
1518
|
-
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
1519
|
-
(() => {
|
1520
1534
|
|
1521
1535
|
// EXPORTS
|
1522
1536
|
__webpack_require__.d(__webpack_exports__, {
|
@@ -1530,14 +1544,16 @@ __webpack_require__.d(__webpack_exports__, {
|
|
1530
1544
|
});
|
1531
1545
|
|
1532
1546
|
// EXTERNAL MODULE: external "../shared"
|
1533
|
-
var shared_ = __webpack_require__(
|
1547
|
+
var shared_ = __webpack_require__(5166);
|
1534
1548
|
// EXTERNAL MODULE: external "vue"
|
1535
|
-
var external_vue_ = __webpack_require__(
|
1536
|
-
;//
|
1537
|
-
var x = y => {
|
1538
|
-
var
|
1539
|
-
|
1540
|
-
|
1549
|
+
var external_vue_ = __webpack_require__(5286);
|
1550
|
+
;// external "../config-provider"
|
1551
|
+
var x = (y) => {
|
1552
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1553
|
+
}
|
1554
|
+
var y = (x) => (() => (x))
|
1555
|
+
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) });
|
1556
|
+
;// ../../packages/form/src/compose-form-item.tsx
|
1541
1557
|
/*
|
1542
1558
|
* Tencent is pleased to support the open source community by making
|
1543
1559
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -1644,16 +1660,20 @@ var isCustomComponent = function isCustomComponent(node) {
|
|
1644
1660
|
}
|
1645
1661
|
}));
|
1646
1662
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
1647
|
-
var defineProperty = __webpack_require__(
|
1648
|
-
;//
|
1649
|
-
var isBoolean_x = y => {
|
1650
|
-
var
|
1651
|
-
|
1652
|
-
|
1653
|
-
|
1654
|
-
|
1655
|
-
|
1656
|
-
|
1663
|
+
var defineProperty = __webpack_require__(4586);
|
1664
|
+
;// external "lodash/isBoolean"
|
1665
|
+
var isBoolean_x = (y) => {
|
1666
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1667
|
+
}
|
1668
|
+
var isBoolean_y = (x) => (() => (x))
|
1669
|
+
const isBoolean_namespaceObject = isBoolean_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_lodash_isBoolean_dcb66997__["default"]) });
|
1670
|
+
;// external "lodash/isString"
|
1671
|
+
var isString_x = (y) => {
|
1672
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1673
|
+
}
|
1674
|
+
var isString_y = (x) => (() => (x))
|
1675
|
+
const isString_namespaceObject = isString_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_lodash_isString_e6fa8a5b__["default"]) });
|
1676
|
+
;// ../../packages/form/src/form.tsx
|
1657
1677
|
|
1658
1678
|
|
1659
1679
|
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; }
|
@@ -1819,22 +1839,28 @@ var formEvents = {
|
|
1819
1839
|
}
|
1820
1840
|
}));
|
1821
1841
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
1822
|
-
var toConsumableArray = __webpack_require__(
|
1823
|
-
// EXTERNAL MODULE: ../../packages/directives/src/index.ts +
|
1824
|
-
var src = __webpack_require__(
|
1825
|
-
;//
|
1826
|
-
var icon_x = y => {
|
1827
|
-
var
|
1828
|
-
|
1829
|
-
|
1830
|
-
|
1831
|
-
|
1832
|
-
|
1833
|
-
|
1834
|
-
|
1835
|
-
var
|
1836
|
-
const
|
1837
|
-
;//
|
1842
|
+
var toConsumableArray = __webpack_require__(5153);
|
1843
|
+
// EXTERNAL MODULE: ../../packages/directives/src/index.ts + 7 modules
|
1844
|
+
var src = __webpack_require__(4193);
|
1845
|
+
;// external "../icon"
|
1846
|
+
var icon_x = (y) => {
|
1847
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1848
|
+
}
|
1849
|
+
var icon_y = (x) => (() => (x))
|
1850
|
+
const icon_namespaceObject = icon_x({ ["ExclamationCircleShape"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.ExclamationCircleShape) });
|
1851
|
+
;// external "lodash/get"
|
1852
|
+
var get_x = (y) => {
|
1853
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1854
|
+
}
|
1855
|
+
var get_y = (x) => (() => (x))
|
1856
|
+
const get_namespaceObject = get_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_lodash_get_9427f899__["default"]) });
|
1857
|
+
;// external "lodash/isFunction"
|
1858
|
+
var isFunction_x = (y) => {
|
1859
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1860
|
+
}
|
1861
|
+
var isFunction_y = (x) => (() => (x))
|
1862
|
+
const isFunction_namespaceObject = isFunction_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_lodash_isFunction_f90b20d6__["default"]) });
|
1863
|
+
;// ../../packages/form/src/utils.ts
|
1838
1864
|
/*
|
1839
1865
|
* Tencent is pleased to support the open source community by making
|
1840
1866
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -1866,15 +1892,19 @@ var getRuleMessage = function getRuleMessage(rule) {
|
|
1866
1892
|
}
|
1867
1893
|
return rule.message;
|
1868
1894
|
};
|
1869
|
-
;//
|
1870
|
-
var isDate_x = y => {
|
1871
|
-
var
|
1872
|
-
|
1873
|
-
|
1874
|
-
|
1875
|
-
|
1876
|
-
|
1877
|
-
|
1895
|
+
;// external "lodash/isDate"
|
1896
|
+
var isDate_x = (y) => {
|
1897
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1898
|
+
}
|
1899
|
+
var isDate_y = (x) => (() => (x))
|
1900
|
+
const isDate_namespaceObject = isDate_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_lodash_isDate_b457317b__["default"]) });
|
1901
|
+
;// external "lodash/isEmpty"
|
1902
|
+
var isEmpty_x = (y) => {
|
1903
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1904
|
+
}
|
1905
|
+
var isEmpty_y = (x) => (() => (x))
|
1906
|
+
const isEmpty_namespaceObject = isEmpty_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_lodash_isEmpty_e109fd6b__["default"]) });
|
1907
|
+
;// ../../packages/form/src/validator.ts
|
1878
1908
|
/*
|
1879
1909
|
* Tencent is pleased to support the open source community by making
|
1880
1910
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -1927,7 +1957,7 @@ const isEmpty_namespaceObject = isEmpty_x({ ["default"]: () => __WEBPACK_EXTERNA
|
|
1927
1957
|
return result;
|
1928
1958
|
}
|
1929
1959
|
});
|
1930
|
-
;//
|
1960
|
+
;// ../../packages/form/src/form-item.tsx
|
1931
1961
|
|
1932
1962
|
|
1933
1963
|
|
@@ -1979,7 +2009,8 @@ var formItemProps = {
|
|
1979
2009
|
maxlength: shared_.PropTypes.number,
|
1980
2010
|
rules: shared_.PropTypes.array,
|
1981
2011
|
description: shared_.PropTypes.string,
|
1982
|
-
errorDisplayType: shared_.PropTypes.oneOf(['tooltips', 'normal']).def('normal')
|
2012
|
+
errorDisplayType: shared_.PropTypes.oneOf(['tooltips', 'normal']).def('normal'),
|
2013
|
+
errorTipAppendToParent: shared_.PropTypes.bool.def(false)
|
1983
2014
|
};
|
1984
2015
|
var hasOwn = function hasOwn(obj, key) {
|
1985
2016
|
return Object.prototype.hasOwnProperty.call(obj, key);
|
@@ -2294,7 +2325,10 @@ var isValid = function isValid(value) {
|
|
2294
2325
|
if (_this.errorDisplayType === 'tooltips') {
|
2295
2326
|
return (0,external_vue_.withDirectives)((0,external_vue_.createVNode)("div", {
|
2296
2327
|
"class": "".concat(_this.resolveClassName('form-error-tips'))
|
2297
|
-
}, [(0,external_vue_.createVNode)(icon_namespaceObject.ExclamationCircleShape, null, null)]), [[(0,external_vue_.resolveDirective)("bk-tooltips"),
|
2328
|
+
}, [(0,external_vue_.createVNode)(icon_namespaceObject.ExclamationCircleShape, null, null)]), [[(0,external_vue_.resolveDirective)("bk-tooltips"), {
|
2329
|
+
content: _this.errorMessage,
|
2330
|
+
boundary: _this.errorTipAppendToParent ? 'parent' : document.body
|
2331
|
+
}]]);
|
2298
2332
|
}
|
2299
2333
|
return (0,external_vue_.createVNode)("div", {
|
2300
2334
|
"class": "".concat(_this.resolveClassName('form-error'))
|
@@ -2311,7 +2345,7 @@ var isValid = function isValid(value) {
|
|
2311
2345
|
}, [(_this$$slots$default = (_this$$slots2 = this.$slots)["default"]) === null || _this$$slots$default === void 0 ? void 0 : _this$$slots$default.call(_this$$slots2), renderError()])]);
|
2312
2346
|
}
|
2313
2347
|
}));
|
2314
|
-
;//
|
2348
|
+
;// ../../packages/form/src/index.ts
|
2315
2349
|
/*
|
2316
2350
|
* Tencent is pleased to support the open source community by making
|
2317
2351
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -2348,8 +2382,6 @@ var BkForm = (0,shared_.withInstallProps)(src_form, {
|
|
2348
2382
|
});
|
2349
2383
|
/* harmony default export */ const form_src = (BkForm);
|
2350
2384
|
|
2351
|
-
})();
|
2352
|
-
|
2353
2385
|
var __webpack_exports__BkComposeFormItem = __webpack_exports__.BkComposeFormItem;
|
2354
2386
|
var __webpack_exports__BkForm = __webpack_exports__.BkForm;
|
2355
2387
|
var __webpack_exports__BkFormItem = __webpack_exports__.BkFormItem;
|