bkui-vue 2.0.2-beta.4 → 2.0.2-beta.6
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 +21 -21
- package/dist/index.esm.js +1588 -1583
- package/dist/index.umd.js +16 -16
- 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/index.js +651 -619
- package/lib/checkbox/index.js +44 -34
- 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 +617 -594
- 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/index.js +649 -620
- package/lib/dialog/index.js +101 -87
- package/lib/directives/index.js +445 -430
- 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/index.js +639 -608
- 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 +342 -326
- 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.js +335 -323
- 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 +47 -41
- package/lib/modal/index.js +39 -29
- 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 +16 -2
- package/lib/pop-confirm/index.js +62 -38
- package/lib/pop-confirm/pop-confirm.d.ts +5 -1
- package/lib/popover/index.js +363 -347
- 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 +436 -419
- package/lib/select/index.js +490 -453
- package/lib/shared/index.js +57 -49
- package/lib/sideslider/index.js +89 -79
- package/lib/slider/index.js +85 -75
- 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 +337 -323
- package/lib/table/index.js +565 -512
- package/lib/table-column/index.js +13 -9
- package/lib/tag/index.js +36 -26
- package/lib/tag-input/index.js +376 -355
- 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.js +100 -76
- 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
|
|
@@ -618,15 +792,19 @@ function hide(el) {
|
|
618
792
|
}
|
619
793
|
}
|
620
794
|
/* harmony default export */ const src_tooltips = (tooltips);
|
621
|
-
;//
|
622
|
-
var external_loading_x = y => {
|
623
|
-
var
|
795
|
+
;// external "../loading"
|
796
|
+
var external_loading_x = (y) => {
|
797
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
798
|
+
}
|
799
|
+
var external_loading_y = (x) => (() => (x))
|
624
800
|
const external_loading_namespaceObject = external_loading_x({ });
|
625
|
-
;//
|
626
|
-
var external_overflow_title_x = y => {
|
627
|
-
var
|
801
|
+
;// external "../overflow-title"
|
802
|
+
var external_overflow_title_x = (y) => {
|
803
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
804
|
+
}
|
805
|
+
var external_overflow_title_y = (x) => (() => (x))
|
628
806
|
const external_overflow_title_namespaceObject = external_overflow_title_x({ });
|
629
|
-
;//
|
807
|
+
;// ../../packages/directives/src/index.ts
|
630
808
|
/*
|
631
809
|
* Tencent is pleased to support the open source community by making
|
632
810
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -662,16 +840,45 @@ const external_overflow_title_namespaceObject = external_overflow_title_x({ });
|
|
662
840
|
|
663
841
|
/***/ }),
|
664
842
|
|
665
|
-
/***/
|
666
|
-
/***/ ((
|
843
|
+
/***/ 4430:
|
844
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
845
|
+
|
846
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
847
|
+
/* harmony export */ "default": () => (/* binding */ _iterableToArray)
|
848
|
+
/* harmony export */ });
|
849
|
+
function _iterableToArray(iter) {
|
850
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
851
|
+
}
|
667
852
|
|
668
|
-
|
853
|
+
/***/ }),
|
854
|
+
|
855
|
+
/***/ 4586:
|
856
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
857
|
+
|
858
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
859
|
+
/* harmony export */ "default": () => (/* binding */ _defineProperty)
|
860
|
+
/* harmony export */ });
|
861
|
+
/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(205);
|
669
862
|
|
863
|
+
function _defineProperty(obj, key, value) {
|
864
|
+
key = (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["default"])(key);
|
865
|
+
if (key in obj) {
|
866
|
+
Object.defineProperty(obj, key, {
|
867
|
+
value: value,
|
868
|
+
enumerable: true,
|
869
|
+
configurable: true,
|
870
|
+
writable: true
|
871
|
+
});
|
872
|
+
} else {
|
873
|
+
obj[key] = value;
|
874
|
+
}
|
875
|
+
return obj;
|
876
|
+
}
|
670
877
|
|
671
878
|
/***/ }),
|
672
879
|
|
673
|
-
/***/
|
674
|
-
/***/ ((module) => {
|
880
|
+
/***/ 5022:
|
881
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
675
882
|
|
676
883
|
/**
|
677
884
|
* Copyright (c) 2015, Facebook, Inc.
|
@@ -681,447 +888,38 @@ module.exports = __webpack_require__(2527);
|
|
681
888
|
* LICENSE file in the root directory of this source tree. An additional grant
|
682
889
|
* of patent rights can be found in the PATENTS file in the same directory.
|
683
890
|
*
|
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.
|
891
|
+
* @providesModule normalizeWheel
|
892
|
+
* @typechecks
|
702
893
|
*/
|
703
|
-
var ExecutionEnvironment = {
|
704
|
-
|
705
|
-
canUseDOM: canUseDOM,
|
706
|
-
|
707
|
-
canUseWorkers: typeof Worker !== 'undefined',
|
708
894
|
|
709
|
-
canUseEventListeners:
|
710
|
-
canUseDOM && !!(window.addEventListener || window.attachEvent),
|
711
|
-
|
712
|
-
canUseViewport: canUseDOM && !!window.screen,
|
713
895
|
|
714
|
-
isInWorker: !canUseDOM // For now, this is true - might change in the future.
|
715
|
-
|
716
|
-
};
|
717
896
|
|
718
|
-
|
897
|
+
var UserAgent_DEPRECATED = __webpack_require__(7416);
|
719
898
|
|
899
|
+
var isEventSupported = __webpack_require__(2586);
|
720
900
|
|
721
|
-
/***/ }),
|
722
901
|
|
723
|
-
|
724
|
-
|
902
|
+
// Reasonable defaults
|
903
|
+
var PIXEL_STEP = 10;
|
904
|
+
var LINE_HEIGHT = 40;
|
905
|
+
var PAGE_HEIGHT = 800;
|
725
906
|
|
726
907
|
/**
|
727
|
-
*
|
908
|
+
* Mouse wheel (and 2-finger trackpad) support on the web sucks. It is
|
909
|
+
* complicated, thus this doc is long and (hopefully) detailed enough to answer
|
910
|
+
* your questions.
|
728
911
|
*
|
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.
|
912
|
+
* If you need to react to the mouse wheel in a predictable way, this code is
|
913
|
+
* like your bestest friend. * hugs *
|
736
914
|
*
|
737
|
-
*
|
915
|
+
* As of today, there are 4 DOM event types you can listen to:
|
738
916
|
*
|
739
|
-
*
|
740
|
-
*
|
741
|
-
*
|
917
|
+
* 'wheel' -- Chrome(31+), FF(17+), IE(9+)
|
918
|
+
* 'mousewheel' -- Chrome, IE(6+), Opera, Safari
|
919
|
+
* 'MozMousePixelScroll' -- FF(3.5 only!) (2010-2013) -- don't bother!
|
920
|
+
* 'DOMMouseScroll' -- FF(0.9.7+) since 2003
|
742
921
|
*
|
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:
|
922
|
+
* So what to do? The is the best:
|
1125
923
|
*
|
1126
924
|
* normalizeWheel.getEventType();
|
1127
925
|
*
|
@@ -1267,25 +1065,49 @@ module.exports = normalizeWheel;
|
|
1267
1065
|
|
1268
1066
|
/***/ }),
|
1269
1067
|
|
1270
|
-
/***/
|
1068
|
+
/***/ 5153:
|
1069
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1070
|
+
|
1071
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1072
|
+
/* harmony export */ "default": () => (/* binding */ _toConsumableArray)
|
1073
|
+
/* harmony export */ });
|
1074
|
+
/* harmony import */ var _arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3492);
|
1075
|
+
/* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4430);
|
1076
|
+
/* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7985);
|
1077
|
+
/* harmony import */ var _nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(2880);
|
1078
|
+
|
1079
|
+
|
1080
|
+
|
1081
|
+
|
1082
|
+
function _toConsumableArray(arr) {
|
1083
|
+
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"])();
|
1084
|
+
}
|
1085
|
+
|
1086
|
+
/***/ }),
|
1087
|
+
|
1088
|
+
/***/ 5166:
|
1271
1089
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1272
1090
|
|
1273
|
-
var x = y => {
|
1274
|
-
var
|
1275
|
-
|
1091
|
+
var x = (y) => {
|
1092
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1093
|
+
}
|
1094
|
+
var y = (x) => (() => (x))
|
1095
|
+
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
1096
|
|
1277
1097
|
/***/ }),
|
1278
1098
|
|
1279
|
-
/***/
|
1099
|
+
/***/ 5286:
|
1280
1100
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1281
1101
|
|
1282
|
-
var x = y => {
|
1283
|
-
var
|
1284
|
-
|
1102
|
+
var x = (y) => {
|
1103
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1104
|
+
}
|
1105
|
+
var y = (x) => (() => (x))
|
1106
|
+
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
1107
|
|
1286
1108
|
/***/ }),
|
1287
1109
|
|
1288
|
-
/***/
|
1110
|
+
/***/ 6284:
|
1289
1111
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1290
1112
|
|
1291
1113
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
@@ -1299,128 +1121,296 @@ function _arrayLikeToArray(arr, len) {
|
|
1299
1121
|
|
1300
1122
|
/***/ }),
|
1301
1123
|
|
1302
|
-
/***/
|
1303
|
-
/***/ ((
|
1124
|
+
/***/ 7416:
|
1125
|
+
/***/ ((module) => {
|
1304
1126
|
|
1305
|
-
|
1306
|
-
|
1307
|
-
|
1308
|
-
|
1127
|
+
/**
|
1128
|
+
* Copyright 2004-present Facebook. All Rights Reserved.
|
1129
|
+
*
|
1130
|
+
* @providesModule UserAgent_DEPRECATED
|
1131
|
+
*/
|
1309
1132
|
|
1310
|
-
|
1311
|
-
|
1312
|
-
|
1133
|
+
/**
|
1134
|
+
* Provides entirely client-side User Agent and OS detection. You should prefer
|
1135
|
+
* the non-deprecated UserAgent module when possible, which exposes our
|
1136
|
+
* authoritative server-side PHP-based detection to the client.
|
1137
|
+
*
|
1138
|
+
* Usage is straightforward:
|
1139
|
+
*
|
1140
|
+
* if (UserAgent_DEPRECATED.ie()) {
|
1141
|
+
* // IE
|
1142
|
+
* }
|
1143
|
+
*
|
1144
|
+
* You can also do version checks:
|
1145
|
+
*
|
1146
|
+
* if (UserAgent_DEPRECATED.ie() >= 7) {
|
1147
|
+
* // IE7 or better
|
1148
|
+
* }
|
1149
|
+
*
|
1150
|
+
* The browser functions will return NaN if the browser does not match, so
|
1151
|
+
* you can also do version compares the other way:
|
1152
|
+
*
|
1153
|
+
* if (UserAgent_DEPRECATED.ie() < 7) {
|
1154
|
+
* // IE6 or worse
|
1155
|
+
* }
|
1156
|
+
*
|
1157
|
+
* Note that the version is a float and may include a minor version number,
|
1158
|
+
* so you should always use range operators to perform comparisons, not
|
1159
|
+
* strict equality.
|
1160
|
+
*
|
1161
|
+
* **Note:** You should **strongly** prefer capability detection to browser
|
1162
|
+
* version detection where it's reasonable:
|
1163
|
+
*
|
1164
|
+
* http://www.quirksmode.org/js/support.html
|
1165
|
+
*
|
1166
|
+
* Further, we have a large number of mature wrapper functions and classes
|
1167
|
+
* which abstract away many browser irregularities. Check the documentation,
|
1168
|
+
* grep for things, or ask on javascript@lists.facebook.com before writing yet
|
1169
|
+
* another copy of "event || window.event".
|
1170
|
+
*
|
1171
|
+
*/
|
1172
|
+
|
1173
|
+
var _populated = false;
|
1174
|
+
|
1175
|
+
// Browsers
|
1176
|
+
var _ie, _firefox, _opera, _webkit, _chrome;
|
1177
|
+
|
1178
|
+
// Actual IE browser for compatibility mode
|
1179
|
+
var _ie_real_version;
|
1180
|
+
|
1181
|
+
// Platforms
|
1182
|
+
var _osx, _windows, _linux, _android;
|
1183
|
+
|
1184
|
+
// Architectures
|
1185
|
+
var _win64;
|
1186
|
+
|
1187
|
+
// Devices
|
1188
|
+
var _iphone, _ipad, _native;
|
1189
|
+
|
1190
|
+
var _mobile;
|
1191
|
+
|
1192
|
+
function _populate() {
|
1193
|
+
if (_populated) {
|
1194
|
+
return;
|
1195
|
+
}
|
1196
|
+
|
1197
|
+
_populated = true;
|
1198
|
+
|
1199
|
+
// To work around buggy JS libraries that can't handle multi-digit
|
1200
|
+
// version numbers, Opera 10's user agent string claims it's Opera
|
1201
|
+
// 9, then later includes a Version/X.Y field:
|
1202
|
+
//
|
1203
|
+
// Opera/9.80 (foo) Presto/2.2.15 Version/10.10
|
1204
|
+
var uas = navigator.userAgent;
|
1205
|
+
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);
|
1206
|
+
var os = /(Mac OS X)|(Windows)|(Linux)/.exec(uas);
|
1207
|
+
|
1208
|
+
_iphone = /\b(iPhone|iP[ao]d)/.exec(uas);
|
1209
|
+
_ipad = /\b(iP[ao]d)/.exec(uas);
|
1210
|
+
_android = /Android/i.exec(uas);
|
1211
|
+
_native = /FBAN\/\w+;/i.exec(uas);
|
1212
|
+
_mobile = /Mobile/i.exec(uas);
|
1213
|
+
|
1214
|
+
// Note that the IE team blog would have you believe you should be checking
|
1215
|
+
// for 'Win64; x64'. But MSDN then reveals that you can actually be coming
|
1216
|
+
// from either x64 or ia64; so ultimately, you should just check for Win64
|
1217
|
+
// as in indicator of whether you're in 64-bit IE. 32-bit IE on 64-bit
|
1218
|
+
// Windows will send 'WOW64' instead.
|
1219
|
+
_win64 = !!(/Win64/.exec(uas));
|
1313
1220
|
|
1314
|
-
|
1221
|
+
if (agent) {
|
1222
|
+
_ie = agent[1] ? parseFloat(agent[1]) : (
|
1223
|
+
agent[5] ? parseFloat(agent[5]) : NaN);
|
1224
|
+
// IE compatibility mode
|
1225
|
+
if (_ie && document && document.documentMode) {
|
1226
|
+
_ie = document.documentMode;
|
1227
|
+
}
|
1228
|
+
// grab the "true" ie version from the trident token if available
|
1229
|
+
var trident = /(?:Trident\/(\d+.\d+))/.exec(uas);
|
1230
|
+
_ie_real_version = trident ? parseFloat(trident[1]) + 4 : _ie;
|
1315
1231
|
|
1316
|
-
|
1317
|
-
|
1232
|
+
_firefox = agent[2] ? parseFloat(agent[2]) : NaN;
|
1233
|
+
_opera = agent[3] ? parseFloat(agent[3]) : NaN;
|
1234
|
+
_webkit = agent[4] ? parseFloat(agent[4]) : NaN;
|
1235
|
+
if (_webkit) {
|
1236
|
+
// We do not add the regexp to the above test, because it will always
|
1237
|
+
// match 'safari' only since 'AppleWebKit' appears before 'Chrome' in
|
1238
|
+
// the userAgent string.
|
1239
|
+
agent = /(?:Chrome\/(\d+\.\d+))/.exec(uas);
|
1240
|
+
_chrome = agent && agent[1] ? parseFloat(agent[1]) : NaN;
|
1241
|
+
} else {
|
1242
|
+
_chrome = NaN;
|
1243
|
+
}
|
1244
|
+
} else {
|
1245
|
+
_ie = _firefox = _opera = _chrome = _webkit = NaN;
|
1246
|
+
}
|
1318
1247
|
|
1319
|
-
|
1320
|
-
|
1321
|
-
|
1322
|
-
|
1248
|
+
if (os) {
|
1249
|
+
if (os[1]) {
|
1250
|
+
// Detect OS X version. If no version number matches, set _osx to true.
|
1251
|
+
// Version examples: 10, 10_6_1, 10.7
|
1252
|
+
// Parses version number as a float, taking only first two sets of
|
1253
|
+
// digits. If only one set of digits is found, returns just the major
|
1254
|
+
// version number.
|
1255
|
+
var ver = /(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(uas);
|
1323
1256
|
|
1324
|
-
|
1325
|
-
|
1326
|
-
|
1327
|
-
|
1328
|
-
|
1329
|
-
|
1330
|
-
configurable: true,
|
1331
|
-
writable: true
|
1332
|
-
});
|
1257
|
+
_osx = ver ? parseFloat(ver[1].replace('_', '.')) : true;
|
1258
|
+
} else {
|
1259
|
+
_osx = false;
|
1260
|
+
}
|
1261
|
+
_windows = !!os[2];
|
1262
|
+
_linux = !!os[3];
|
1333
1263
|
} else {
|
1334
|
-
|
1264
|
+
_osx = _windows = _linux = false;
|
1335
1265
|
}
|
1336
|
-
return obj;
|
1337
1266
|
}
|
1338
1267
|
|
1339
|
-
|
1268
|
+
var UserAgent_DEPRECATED = {
|
1340
1269
|
|
1341
|
-
|
1342
|
-
|
1270
|
+
/**
|
1271
|
+
* Check if the UA is Internet Explorer.
|
1272
|
+
*
|
1273
|
+
*
|
1274
|
+
* @return float|NaN Version number (if match) or NaN.
|
1275
|
+
*/
|
1276
|
+
ie: function() {
|
1277
|
+
return _populate() || _ie;
|
1278
|
+
},
|
1343
1279
|
|
1344
|
-
|
1345
|
-
|
1346
|
-
|
1347
|
-
|
1348
|
-
|
1349
|
-
|
1280
|
+
/**
|
1281
|
+
* Check if we're in Internet Explorer compatibility mode.
|
1282
|
+
*
|
1283
|
+
* @return bool true if in compatibility mode, false if
|
1284
|
+
* not compatibility mode or not ie
|
1285
|
+
*/
|
1286
|
+
ieCompatibilityMode: function() {
|
1287
|
+
return _populate() || (_ie_real_version > _ie);
|
1288
|
+
},
|
1350
1289
|
|
1351
|
-
/***/ }),
|
1352
1290
|
|
1353
|
-
|
1354
|
-
|
1291
|
+
/**
|
1292
|
+
* Whether the browser is 64-bit IE. Really, this is kind of weak sauce; we
|
1293
|
+
* only need this because Skype can't handle 64-bit IE yet. We need to remove
|
1294
|
+
* this when we don't need it -- tracked by #601957.
|
1295
|
+
*/
|
1296
|
+
ie64: function() {
|
1297
|
+
return UserAgent_DEPRECATED.ie() && _win64;
|
1298
|
+
},
|
1355
1299
|
|
1356
|
-
|
1357
|
-
|
1358
|
-
|
1359
|
-
|
1360
|
-
|
1361
|
-
|
1300
|
+
/**
|
1301
|
+
* Check if the UA is Firefox.
|
1302
|
+
*
|
1303
|
+
*
|
1304
|
+
* @return float|NaN Version number (if match) or NaN.
|
1305
|
+
*/
|
1306
|
+
firefox: function() {
|
1307
|
+
return _populate() || _firefox;
|
1308
|
+
},
|
1362
1309
|
|
1363
|
-
/***/ }),
|
1364
1310
|
|
1365
|
-
|
1366
|
-
|
1311
|
+
/**
|
1312
|
+
* Check if the UA is Opera.
|
1313
|
+
*
|
1314
|
+
*
|
1315
|
+
* @return float|NaN Version number (if match) or NaN.
|
1316
|
+
*/
|
1317
|
+
opera: function() {
|
1318
|
+
return _populate() || _opera;
|
1319
|
+
},
|
1367
1320
|
|
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
1321
|
|
1322
|
+
/**
|
1323
|
+
* Check if the UA is WebKit.
|
1324
|
+
*
|
1325
|
+
*
|
1326
|
+
* @return float|NaN Version number (if match) or NaN.
|
1327
|
+
*/
|
1328
|
+
webkit: function() {
|
1329
|
+
return _populate() || _webkit;
|
1330
|
+
},
|
1331
|
+
|
1332
|
+
/**
|
1333
|
+
* For Push
|
1334
|
+
* WILL BE REMOVED VERY SOON. Use UserAgent_DEPRECATED.webkit
|
1335
|
+
*/
|
1336
|
+
safari: function() {
|
1337
|
+
return UserAgent_DEPRECATED.webkit();
|
1338
|
+
},
|
1376
1339
|
|
1340
|
+
/**
|
1341
|
+
* Check if the UA is a Chrome browser.
|
1342
|
+
*
|
1343
|
+
*
|
1344
|
+
* @return float|NaN Version number (if match) or NaN.
|
1345
|
+
*/
|
1346
|
+
chrome : function() {
|
1347
|
+
return _populate() || _chrome;
|
1348
|
+
},
|
1377
1349
|
|
1378
1350
|
|
1379
|
-
|
1380
|
-
|
1381
|
-
|
1351
|
+
/**
|
1352
|
+
* Check if the user is running Windows.
|
1353
|
+
*
|
1354
|
+
* @return bool `true' if the user's OS is Windows.
|
1355
|
+
*/
|
1356
|
+
windows: function() {
|
1357
|
+
return _populate() || _windows;
|
1358
|
+
},
|
1382
1359
|
|
1383
|
-
/***/ }),
|
1384
1360
|
|
1385
|
-
|
1386
|
-
|
1361
|
+
/**
|
1362
|
+
* Check if the user is running Mac OS X.
|
1363
|
+
*
|
1364
|
+
* @return float|bool Returns a float if a version number is detected,
|
1365
|
+
* otherwise true/false.
|
1366
|
+
*/
|
1367
|
+
osx: function() {
|
1368
|
+
return _populate() || _osx;
|
1369
|
+
},
|
1387
1370
|
|
1388
|
-
|
1389
|
-
|
1390
|
-
|
1391
|
-
|
1371
|
+
/**
|
1372
|
+
* Check if the user is running Linux.
|
1373
|
+
*
|
1374
|
+
* @return bool `true' if the user's OS is some flavor of Linux.
|
1375
|
+
*/
|
1376
|
+
linux: function() {
|
1377
|
+
return _populate() || _linux;
|
1378
|
+
},
|
1392
1379
|
|
1393
|
-
|
1394
|
-
|
1395
|
-
|
1396
|
-
|
1397
|
-
|
1398
|
-
|
1399
|
-
|
1400
|
-
|
1401
|
-
|
1402
|
-
}
|
1380
|
+
/**
|
1381
|
+
* Check if the user is running on an iPhone or iPod platform.
|
1382
|
+
*
|
1383
|
+
* @return bool `true' if the user is running some flavor of the
|
1384
|
+
* iPhone OS.
|
1385
|
+
*/
|
1386
|
+
iphone: function() {
|
1387
|
+
return _populate() || _iphone;
|
1388
|
+
},
|
1403
1389
|
|
1404
|
-
|
1390
|
+
mobile: function() {
|
1391
|
+
return _populate() || (_iphone || _ipad || _android || _mobile);
|
1392
|
+
},
|
1405
1393
|
|
1406
|
-
|
1407
|
-
|
1394
|
+
nativeApp: function() {
|
1395
|
+
// webviews inside of the native apps
|
1396
|
+
return _populate() || _native;
|
1397
|
+
},
|
1408
1398
|
|
1409
|
-
|
1410
|
-
|
1411
|
-
|
1412
|
-
|
1413
|
-
|
1399
|
+
android: function() {
|
1400
|
+
return _populate() || _android;
|
1401
|
+
},
|
1402
|
+
|
1403
|
+
ipad: function() {
|
1404
|
+
return _populate() || _ipad;
|
1405
|
+
}
|
1406
|
+
};
|
1414
1407
|
|
1408
|
+
module.exports = UserAgent_DEPRECATED;
|
1415
1409
|
|
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
1410
|
|
1421
1411
|
/***/ }),
|
1422
1412
|
|
1423
|
-
/***/
|
1413
|
+
/***/ 7545:
|
1424
1414
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1425
1415
|
|
1426
1416
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
@@ -1438,13 +1428,13 @@ function _typeof(o) {
|
|
1438
1428
|
|
1439
1429
|
/***/ }),
|
1440
1430
|
|
1441
|
-
/***/
|
1431
|
+
/***/ 7985:
|
1442
1432
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1443
1433
|
|
1444
1434
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1445
1435
|
/* harmony export */ "default": () => (/* binding */ _unsupportedIterableToArray)
|
1446
1436
|
/* harmony export */ });
|
1447
|
-
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
1437
|
+
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6284);
|
1448
1438
|
|
1449
1439
|
function _unsupportedIterableToArray(o, minLen) {
|
1450
1440
|
if (!o) return;
|
@@ -1455,6 +1445,35 @@ function _unsupportedIterableToArray(o, minLen) {
|
|
1455
1445
|
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
1446
|
}
|
1457
1447
|
|
1448
|
+
/***/ }),
|
1449
|
+
|
1450
|
+
/***/ 8283:
|
1451
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1452
|
+
|
1453
|
+
module.exports = __webpack_require__(5022);
|
1454
|
+
|
1455
|
+
|
1456
|
+
/***/ }),
|
1457
|
+
|
1458
|
+
/***/ 9824:
|
1459
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1460
|
+
|
1461
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1462
|
+
/* harmony export */ "default": () => (/* binding */ toPrimitive)
|
1463
|
+
/* harmony export */ });
|
1464
|
+
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7545);
|
1465
|
+
|
1466
|
+
function toPrimitive(t, r) {
|
1467
|
+
if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t) || !t) return t;
|
1468
|
+
var e = t[Symbol.toPrimitive];
|
1469
|
+
if (void 0 !== e) {
|
1470
|
+
var i = e.call(t, r || "default");
|
1471
|
+
if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(i)) return i;
|
1472
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
1473
|
+
}
|
1474
|
+
return ("string" === r ? String : Number)(t);
|
1475
|
+
}
|
1476
|
+
|
1458
1477
|
/***/ })
|
1459
1478
|
|
1460
1479
|
/******/ });
|
@@ -1515,8 +1534,6 @@ function _unsupportedIterableToArray(o, minLen) {
|
|
1515
1534
|
/******/
|
1516
1535
|
/************************************************************************/
|
1517
1536
|
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
1537
|
|
1521
1538
|
// EXPORTS
|
1522
1539
|
__webpack_require__.d(__webpack_exports__, {
|
@@ -1530,14 +1547,16 @@ __webpack_require__.d(__webpack_exports__, {
|
|
1530
1547
|
});
|
1531
1548
|
|
1532
1549
|
// EXTERNAL MODULE: external "../shared"
|
1533
|
-
var shared_ = __webpack_require__(
|
1550
|
+
var shared_ = __webpack_require__(5166);
|
1534
1551
|
// EXTERNAL MODULE: external "vue"
|
1535
|
-
var external_vue_ = __webpack_require__(
|
1536
|
-
;//
|
1537
|
-
var x = y => {
|
1538
|
-
var
|
1539
|
-
|
1540
|
-
|
1552
|
+
var external_vue_ = __webpack_require__(5286);
|
1553
|
+
;// external "../config-provider"
|
1554
|
+
var x = (y) => {
|
1555
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1556
|
+
}
|
1557
|
+
var y = (x) => (() => (x))
|
1558
|
+
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) });
|
1559
|
+
;// ../../packages/form/src/compose-form-item.tsx
|
1541
1560
|
/*
|
1542
1561
|
* Tencent is pleased to support the open source community by making
|
1543
1562
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -1644,16 +1663,20 @@ var isCustomComponent = function isCustomComponent(node) {
|
|
1644
1663
|
}
|
1645
1664
|
}));
|
1646
1665
|
// 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
|
-
|
1666
|
+
var defineProperty = __webpack_require__(4586);
|
1667
|
+
;// external "lodash/isBoolean"
|
1668
|
+
var isBoolean_x = (y) => {
|
1669
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1670
|
+
}
|
1671
|
+
var isBoolean_y = (x) => (() => (x))
|
1672
|
+
const isBoolean_namespaceObject = isBoolean_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_lodash_isBoolean_dcb66997__["default"]) });
|
1673
|
+
;// external "lodash/isString"
|
1674
|
+
var isString_x = (y) => {
|
1675
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1676
|
+
}
|
1677
|
+
var isString_y = (x) => (() => (x))
|
1678
|
+
const isString_namespaceObject = isString_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_lodash_isString_e6fa8a5b__["default"]) });
|
1679
|
+
;// ../../packages/form/src/form.tsx
|
1657
1680
|
|
1658
1681
|
|
1659
1682
|
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 +1842,28 @@ var formEvents = {
|
|
1819
1842
|
}
|
1820
1843
|
}));
|
1821
1844
|
// 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
|
-
;//
|
1845
|
+
var toConsumableArray = __webpack_require__(5153);
|
1846
|
+
// EXTERNAL MODULE: ../../packages/directives/src/index.ts + 7 modules
|
1847
|
+
var src = __webpack_require__(4193);
|
1848
|
+
;// external "../icon"
|
1849
|
+
var icon_x = (y) => {
|
1850
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1851
|
+
}
|
1852
|
+
var icon_y = (x) => (() => (x))
|
1853
|
+
const icon_namespaceObject = icon_x({ ["ExclamationCircleShape"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.ExclamationCircleShape) });
|
1854
|
+
;// external "lodash/get"
|
1855
|
+
var get_x = (y) => {
|
1856
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1857
|
+
}
|
1858
|
+
var get_y = (x) => (() => (x))
|
1859
|
+
const get_namespaceObject = get_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_lodash_get_9427f899__["default"]) });
|
1860
|
+
;// external "lodash/isFunction"
|
1861
|
+
var isFunction_x = (y) => {
|
1862
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1863
|
+
}
|
1864
|
+
var isFunction_y = (x) => (() => (x))
|
1865
|
+
const isFunction_namespaceObject = isFunction_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_lodash_isFunction_f90b20d6__["default"]) });
|
1866
|
+
;// ../../packages/form/src/utils.ts
|
1838
1867
|
/*
|
1839
1868
|
* Tencent is pleased to support the open source community by making
|
1840
1869
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -1866,15 +1895,19 @@ var getRuleMessage = function getRuleMessage(rule) {
|
|
1866
1895
|
}
|
1867
1896
|
return rule.message;
|
1868
1897
|
};
|
1869
|
-
;//
|
1870
|
-
var isDate_x = y => {
|
1871
|
-
var
|
1872
|
-
|
1873
|
-
|
1874
|
-
|
1875
|
-
|
1876
|
-
|
1877
|
-
|
1898
|
+
;// external "lodash/isDate"
|
1899
|
+
var isDate_x = (y) => {
|
1900
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1901
|
+
}
|
1902
|
+
var isDate_y = (x) => (() => (x))
|
1903
|
+
const isDate_namespaceObject = isDate_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_lodash_isDate_b457317b__["default"]) });
|
1904
|
+
;// external "lodash/isEmpty"
|
1905
|
+
var isEmpty_x = (y) => {
|
1906
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1907
|
+
}
|
1908
|
+
var isEmpty_y = (x) => (() => (x))
|
1909
|
+
const isEmpty_namespaceObject = isEmpty_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_lodash_isEmpty_e109fd6b__["default"]) });
|
1910
|
+
;// ../../packages/form/src/validator.ts
|
1878
1911
|
/*
|
1879
1912
|
* Tencent is pleased to support the open source community by making
|
1880
1913
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -1927,7 +1960,7 @@ const isEmpty_namespaceObject = isEmpty_x({ ["default"]: () => __WEBPACK_EXTERNA
|
|
1927
1960
|
return result;
|
1928
1961
|
}
|
1929
1962
|
});
|
1930
|
-
;//
|
1963
|
+
;// ../../packages/form/src/form-item.tsx
|
1931
1964
|
|
1932
1965
|
|
1933
1966
|
|
@@ -2311,7 +2344,7 @@ var isValid = function isValid(value) {
|
|
2311
2344
|
}, [(_this$$slots$default = (_this$$slots2 = this.$slots)["default"]) === null || _this$$slots$default === void 0 ? void 0 : _this$$slots$default.call(_this$$slots2), renderError()])]);
|
2312
2345
|
}
|
2313
2346
|
}));
|
2314
|
-
;//
|
2347
|
+
;// ../../packages/form/src/index.ts
|
2315
2348
|
/*
|
2316
2349
|
* Tencent is pleased to support the open source community by making
|
2317
2350
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -2348,8 +2381,6 @@ var BkForm = (0,shared_.withInstallProps)(src_form, {
|
|
2348
2381
|
});
|
2349
2382
|
/* harmony default export */ const form_src = (BkForm);
|
2350
2383
|
|
2351
|
-
})();
|
2352
|
-
|
2353
2384
|
var __webpack_exports__BkComposeFormItem = __webpack_exports__.BkComposeFormItem;
|
2354
2385
|
var __webpack_exports__BkForm = __webpack_exports__.BkForm;
|
2355
2386
|
var __webpack_exports__BkFormItem = __webpack_exports__.BkFormItem;
|