bkui-vue 2.0.2-beta.6 → 2.0.2-beta.7
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 +15 -15
- package/dist/index.esm.js +909 -897
- package/dist/index.umd.js +15 -15
- package/lib/affix/index.js +22 -30
- package/lib/alert/index.js +22 -30
- package/lib/animate-number/index.js +10 -14
- package/lib/backtop/index.js +22 -32
- package/lib/badge/index.js +18 -24
- package/lib/breadcrumb/index.js +23 -31
- package/lib/button/index.js +26 -36
- package/lib/card/index.js +33 -47
- package/lib/cascader/index.js +700 -696
- package/lib/checkbox/index.js +34 -44
- package/lib/code-diff/index.js +79 -83
- package/lib/collapse/index.js +33 -39
- package/lib/collapse-transition/index.js +14 -20
- package/lib/color-picker/index.js +624 -640
- package/lib/config-provider/index.js +26 -34
- package/lib/container/index.js +21 -27
- package/lib/date-picker/index.js +650 -672
- package/lib/dialog/index.js +87 -101
- package/lib/directives/index.js +512 -520
- package/lib/divider/index.js +15 -21
- package/lib/dropdown/index.js +31 -43
- package/lib/exception/index.js +49 -55
- package/lib/fixed-navbar/index.js +14 -20
- package/lib/form/index.js +638 -662
- package/lib/icon/angle-double-down-line.js +12 -14
- package/lib/icon/angle-double-left-line.js +12 -14
- package/lib/icon/angle-double-left.js +12 -14
- package/lib/icon/angle-double-right-line.js +12 -14
- package/lib/icon/angle-double-right.js +12 -14
- package/lib/icon/angle-double-up-line.js +12 -14
- package/lib/icon/angle-down-fill.js +12 -14
- package/lib/icon/angle-down-line.js +12 -14
- package/lib/icon/angle-down.js +12 -14
- package/lib/icon/angle-left.js +12 -14
- package/lib/icon/angle-right.js +12 -14
- package/lib/icon/angle-up-fill.js +12 -14
- package/lib/icon/angle-up.js +12 -14
- package/lib/icon/archive-fill.js +12 -14
- package/lib/icon/arrows-left.js +12 -14
- package/lib/icon/arrows-right.js +12 -14
- package/lib/icon/assistant.js +12 -14
- package/lib/icon/audio-fill.js +12 -14
- package/lib/icon/bk.js +12 -14
- package/lib/icon/circle.js +12 -14
- package/lib/icon/close-line.js +12 -14
- package/lib/icon/close.js +12 -14
- package/lib/icon/code.js +12 -14
- package/lib/icon/cog-shape.js +12 -14
- package/lib/icon/collapse-left.js +12 -14
- package/lib/icon/copy-shape.js +12 -14
- package/lib/icon/copy.js +12 -14
- package/lib/icon/data-shape.js +12 -14
- package/lib/icon/del.js +12 -14
- package/lib/icon/doc-fill.js +12 -14
- package/lib/icon/done.js +12 -14
- package/lib/icon/down-shape.js +12 -14
- package/lib/icon/down-small.js +12 -14
- package/lib/icon/edit-line.js +12 -14
- package/lib/icon/ellipsis.js +12 -14
- package/lib/icon/enlarge-line.js +12 -14
- package/lib/icon/error.js +12 -14
- package/lib/icon/excel-fill.js +12 -14
- package/lib/icon/exclamation-circle-shape.js +12 -14
- package/lib/icon/eye.js +12 -14
- package/lib/icon/filliscreen-line.js +12 -14
- package/lib/icon/fix-line.js +12 -14
- package/lib/icon/fix-shape.js +12 -14
- package/lib/icon/folder-open.js +12 -14
- package/lib/icon/folder-shape-open.js +12 -14
- package/lib/icon/folder-shape.js +12 -14
- package/lib/icon/folder.js +12 -14
- package/lib/icon/funnel.js +12 -14
- package/lib/icon/grag-fill.js +12 -14
- package/lib/icon/help-document-fill.js +12 -14
- package/lib/icon/help-fill.js +12 -14
- package/lib/icon/help.js +12 -14
- package/lib/icon/image-fill.js +12 -14
- package/lib/icon/img-error.js +12 -14
- package/lib/icon/img-placehoulder.js +12 -14
- package/lib/icon/info-line.js +12 -14
- package/lib/icon/info.js +12 -14
- package/lib/icon/left-shape.js +12 -14
- package/lib/icon/left-turn-line.js +12 -14
- package/lib/icon/loading.js +12 -14
- package/lib/icon/narrow-line.js +12 -14
- package/lib/icon/original.js +12 -14
- package/lib/icon/pdf-fill.js +12 -14
- package/lib/icon/play-shape.js +12 -14
- package/lib/icon/plus.js +12 -14
- package/lib/icon/ppt-fill.js +12 -14
- package/lib/icon/qq.js +12 -14
- package/lib/icon/right-shape.js +12 -14
- package/lib/icon/right-turn-line.js +12 -14
- package/lib/icon/search.js +12 -14
- package/lib/icon/share.js +12 -14
- package/lib/icon/spinner.js +12 -14
- package/lib/icon/success.js +12 -14
- package/lib/icon/switcher-loading.js +12 -14
- package/lib/icon/text-all.js +12 -14
- package/lib/icon/text-file.js +12 -14
- package/lib/icon/text-fill.js +12 -14
- package/lib/icon/transfer.js +12 -14
- package/lib/icon/tree-application-shape.js +12 -14
- package/lib/icon/unfull-screen.js +12 -14
- package/lib/icon/unvisible.js +12 -14
- package/lib/icon/up-shape.js +12 -14
- package/lib/icon/upload.js +12 -14
- package/lib/icon/video-fill.js +12 -14
- package/lib/icon/warn.js +12 -14
- package/lib/icon/weixin-pro.js +12 -14
- package/lib/icon/weixin.js +12 -14
- package/lib/image/index.js +324 -340
- package/lib/index.js +1 -1
- package/lib/info-box/index.js +87 -101
- package/lib/input/index.js +321 -333
- package/lib/link/index.js +18 -26
- package/lib/loading/index.js +19 -25
- package/lib/locale/index.js +3 -3
- package/lib/menu/index.js +32 -40
- package/lib/message/index.js +41 -47
- package/lib/modal/index.js +29 -39
- package/lib/navigation/index.js +19 -27
- package/lib/notify/index.js +27 -37
- package/lib/overflow-title/index.js +29 -41
- package/lib/pagination/index.js +46 -62
- package/lib/pop-confirm/index.js +33 -49
- package/lib/popover/index.js +345 -361
- package/lib/popover2/index.js +10 -14
- package/lib/process/index.js +74 -78
- package/lib/progress/index.js +20 -26
- package/lib/radio/index.js +31 -39
- package/lib/rate/index.js +19 -25
- package/lib/resize-layout/index.js +22 -30
- package/lib/scrollbar/index.js +25 -25
- package/lib/search-select/index.js +509 -531
- package/lib/select/index.js +543 -585
- package/lib/shared/index.js +49 -57
- package/lib/sideslider/index.js +79 -89
- package/lib/slider/index.js +75 -85
- package/lib/steps/index.js +72 -78
- package/lib/swiper/index.js +18 -24
- package/lib/switcher/index.js +22 -30
- package/lib/tab/index.js +321 -335
- package/lib/table/index.js +602 -660
- package/lib/table-column/index.js +9 -13
- package/lib/tag/index.js +26 -36
- package/lib/tag-input/index.js +348 -374
- package/lib/time-picker/index.js +9 -13
- package/lib/timeline/index.js +15 -21
- package/lib/transfer/index.js +40 -56
- package/lib/tree/index.js +76 -100
- package/lib/upload/index.js +562 -574
- package/lib/virtual-render/index.js +43 -55
- package/package.json +1 -1
package/lib/form/index.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
import "../styles/reset.css";
|
2
2
|
import "./form.less";
|
3
|
-
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__ from "../popover";
|
4
3
|
import * as __WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__ from "@popperjs/core";
|
5
4
|
import * as __WEBPACK_EXTERNAL_MODULE__loading_4d683b23__ from "../loading";
|
6
5
|
import * as __WEBPACK_EXTERNAL_MODULE__overflow_title_f9bafa47__ from "../overflow-title";
|
6
|
+
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__ from "../popover";
|
7
7
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
|
8
8
|
import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
|
9
9
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
|
@@ -16,181 +16,7 @@ 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
|
-
/***/
|
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:
|
19
|
+
/***/ 668:
|
194
20
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
195
21
|
|
196
22
|
|
@@ -201,7 +27,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
201
27
|
|
202
28
|
// UNUSED EXPORTS: bkEllipsis, bkEllipsisInstance, bkLoading, clickoutside, mousewheel, overflowTitle
|
203
29
|
|
204
|
-
;// ../../packages/directives/src/clickoutside.ts
|
30
|
+
;// CONCATENATED MODULE: ../../packages/directives/src/clickoutside.ts
|
205
31
|
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; } } }; }
|
206
32
|
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); }
|
207
33
|
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; }
|
@@ -328,10 +154,10 @@ ClickOutside.install = function (app) {
|
|
328
154
|
};
|
329
155
|
/* harmony default export */ const clickoutside = ((/* unused pure expression or super */ null && (ClickOutside)));
|
330
156
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
331
|
-
var esm_typeof = __webpack_require__(
|
157
|
+
var esm_typeof = __webpack_require__(6522);
|
332
158
|
// EXTERNAL MODULE: external "../popover"
|
333
|
-
var popover_ = __webpack_require__(
|
334
|
-
;// ../../packages/directives/src/ellipsis.ts
|
159
|
+
var popover_ = __webpack_require__(563);
|
160
|
+
;// CONCATENATED MODULE: ../../packages/directives/src/ellipsis.ts
|
335
161
|
|
336
162
|
/*
|
337
163
|
* Tencent is pleased to support the open source community by making
|
@@ -442,9 +268,9 @@ var ellipsis = {
|
|
442
268
|
};
|
443
269
|
/* harmony default export */ const src_ellipsis = ((/* unused pure expression or super */ null && (ellipsis)));
|
444
270
|
// EXTERNAL MODULE: ../../node_modules/normalize-wheel/index.js
|
445
|
-
var normalize_wheel = __webpack_require__(
|
271
|
+
var normalize_wheel = __webpack_require__(2439);
|
446
272
|
var normalize_wheel_default = /*#__PURE__*/__webpack_require__.n(normalize_wheel);
|
447
|
-
;// ../../packages/directives/src/mousewheel.ts
|
273
|
+
;// CONCATENATED MODULE: ../../packages/directives/src/mousewheel.ts
|
448
274
|
/*
|
449
275
|
* Tencent is pleased to support the open source community by making
|
450
276
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -487,20 +313,18 @@ var mousewheel = {
|
|
487
313
|
};
|
488
314
|
/* harmony default export */ const src_mousewheel = ((/* unused pure expression or super */ null && (mousewheel)));
|
489
315
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
490
|
-
var defineProperty = __webpack_require__(
|
316
|
+
var defineProperty = __webpack_require__(6666);
|
491
317
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
492
|
-
var toConsumableArray = __webpack_require__(
|
318
|
+
var toConsumableArray = __webpack_require__(7930);
|
493
319
|
// EXTERNAL MODULE: external "vue"
|
494
|
-
var external_vue_ = __webpack_require__(
|
320
|
+
var external_vue_ = __webpack_require__(6609);
|
495
321
|
// EXTERNAL MODULE: external "../shared"
|
496
|
-
var shared_ = __webpack_require__(
|
497
|
-
;// external "@popperjs/core"
|
498
|
-
var x = (y)
|
499
|
-
|
500
|
-
}
|
501
|
-
|
502
|
-
const core_namespaceObject = x({ ["createPopper"]: () => (__WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__.createPopper) });
|
503
|
-
;// ../../packages/directives/src/tooltips.ts
|
322
|
+
var shared_ = __webpack_require__(9253);
|
323
|
+
;// CONCATENATED MODULE: external "@popperjs/core"
|
324
|
+
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
325
|
+
var y = x => () => x
|
326
|
+
const core_namespaceObject = x({ ["createPopper"]: () => __WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__.createPopper });
|
327
|
+
;// CONCATENATED MODULE: ../../packages/directives/src/tooltips.ts
|
504
328
|
|
505
329
|
|
506
330
|
|
@@ -792,19 +616,15 @@ function hide(el) {
|
|
792
616
|
}
|
793
617
|
}
|
794
618
|
/* harmony default export */ const src_tooltips = (tooltips);
|
795
|
-
;// external "../loading"
|
796
|
-
var external_loading_x = (y)
|
797
|
-
|
798
|
-
}
|
799
|
-
var external_loading_y = (x) => (() => (x))
|
619
|
+
;// CONCATENATED MODULE: external "../loading"
|
620
|
+
var external_loading_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
621
|
+
var external_loading_y = x => () => x
|
800
622
|
const external_loading_namespaceObject = external_loading_x({ });
|
801
|
-
;// external "../overflow-title"
|
802
|
-
var external_overflow_title_x = (y)
|
803
|
-
|
804
|
-
}
|
805
|
-
var external_overflow_title_y = (x) => (() => (x))
|
623
|
+
;// CONCATENATED MODULE: external "../overflow-title"
|
624
|
+
var external_overflow_title_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
625
|
+
var external_overflow_title_y = x => () => x
|
806
626
|
const external_overflow_title_namespaceObject = external_overflow_title_x({ });
|
807
|
-
;// ../../packages/directives/src/index.ts
|
627
|
+
;// CONCATENATED MODULE: ../../packages/directives/src/index.ts
|
808
628
|
/*
|
809
629
|
* Tencent is pleased to support the open source community by making
|
810
630
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -840,45 +660,16 @@ const external_overflow_title_namespaceObject = external_overflow_title_x({ });
|
|
840
660
|
|
841
661
|
/***/ }),
|
842
662
|
|
843
|
-
/***/
|
844
|
-
/***/ ((
|
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
|
-
}
|
852
|
-
|
853
|
-
/***/ }),
|
854
|
-
|
855
|
-
/***/ 4586:
|
856
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
663
|
+
/***/ 2439:
|
664
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
857
665
|
|
858
|
-
|
859
|
-
/* harmony export */ "default": () => (/* binding */ _defineProperty)
|
860
|
-
/* harmony export */ });
|
861
|
-
/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(205);
|
666
|
+
module.exports = __webpack_require__(2527);
|
862
667
|
|
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
|
-
}
|
877
668
|
|
878
669
|
/***/ }),
|
879
670
|
|
880
|
-
/***/
|
881
|
-
/***/ ((module
|
671
|
+
/***/ 7430:
|
672
|
+
/***/ ((module) => {
|
882
673
|
|
883
674
|
/**
|
884
675
|
* Copyright (c) 2015, Facebook, Inc.
|
@@ -888,260 +679,66 @@ function _defineProperty(obj, key, value) {
|
|
888
679
|
* LICENSE file in the root directory of this source tree. An additional grant
|
889
680
|
* of patent rights can be found in the PATENTS file in the same directory.
|
890
681
|
*
|
891
|
-
* @providesModule
|
892
|
-
|
682
|
+
* @providesModule ExecutionEnvironment
|
683
|
+
*/
|
684
|
+
|
685
|
+
/*jslint evil: true */
|
686
|
+
|
687
|
+
|
688
|
+
|
689
|
+
var canUseDOM = !!(
|
690
|
+
typeof window !== 'undefined' &&
|
691
|
+
window.document &&
|
692
|
+
window.document.createElement
|
693
|
+
);
|
694
|
+
|
695
|
+
/**
|
696
|
+
* Simple, lightweight module assisting with the detection and context of
|
697
|
+
* Worker. Helps avoid circular dependencies and allows code to reason about
|
698
|
+
* whether or not they are in a Worker, even if they never include the main
|
699
|
+
* `ReactWorker` dependency.
|
893
700
|
*/
|
701
|
+
var ExecutionEnvironment = {
|
894
702
|
|
703
|
+
canUseDOM: canUseDOM,
|
895
704
|
|
705
|
+
canUseWorkers: typeof Worker !== 'undefined',
|
896
706
|
|
897
|
-
|
707
|
+
canUseEventListeners:
|
708
|
+
canUseDOM && !!(window.addEventListener || window.attachEvent),
|
898
709
|
|
899
|
-
|
710
|
+
canUseViewport: canUseDOM && !!window.screen,
|
900
711
|
|
712
|
+
isInWorker: !canUseDOM // For now, this is true - might change in the future.
|
901
713
|
|
902
|
-
|
903
|
-
|
904
|
-
|
905
|
-
|
714
|
+
};
|
715
|
+
|
716
|
+
module.exports = ExecutionEnvironment;
|
717
|
+
|
718
|
+
|
719
|
+
/***/ }),
|
720
|
+
|
721
|
+
/***/ 6377:
|
722
|
+
/***/ ((module) => {
|
906
723
|
|
907
724
|
/**
|
908
|
-
*
|
909
|
-
* complicated, thus this doc is long and (hopefully) detailed enough to answer
|
910
|
-
* your questions.
|
725
|
+
* Copyright 2004-present Facebook. All Rights Reserved.
|
911
726
|
*
|
912
|
-
*
|
913
|
-
|
727
|
+
* @providesModule UserAgent_DEPRECATED
|
728
|
+
*/
|
729
|
+
|
730
|
+
/**
|
731
|
+
* Provides entirely client-side User Agent and OS detection. You should prefer
|
732
|
+
* the non-deprecated UserAgent module when possible, which exposes our
|
733
|
+
* authoritative server-side PHP-based detection to the client.
|
914
734
|
*
|
915
|
-
*
|
735
|
+
* Usage is straightforward:
|
916
736
|
*
|
917
|
-
*
|
918
|
-
*
|
919
|
-
*
|
920
|
-
* 'DOMMouseScroll' -- FF(0.9.7+) since 2003
|
737
|
+
* if (UserAgent_DEPRECATED.ie()) {
|
738
|
+
* // IE
|
739
|
+
* }
|
921
740
|
*
|
922
|
-
*
|
923
|
-
*
|
924
|
-
* normalizeWheel.getEventType();
|
925
|
-
*
|
926
|
-
* In your event callback, use this code to get sane interpretation of the
|
927
|
-
* deltas. This code will return an object with properties:
|
928
|
-
*
|
929
|
-
* spinX -- normalized spin speed (use for zoom) - x plane
|
930
|
-
* spinY -- " - y plane
|
931
|
-
* pixelX -- normalized distance (to pixels) - x plane
|
932
|
-
* pixelY -- " - y plane
|
933
|
-
*
|
934
|
-
* Wheel values are provided by the browser assuming you are using the wheel to
|
935
|
-
* scroll a web page by a number of lines or pixels (or pages). Values can vary
|
936
|
-
* significantly on different platforms and browsers, forgetting that you can
|
937
|
-
* scroll at different speeds. Some devices (like trackpads) emit more events
|
938
|
-
* at smaller increments with fine granularity, and some emit massive jumps with
|
939
|
-
* linear speed or acceleration.
|
940
|
-
*
|
941
|
-
* This code does its best to normalize the deltas for you:
|
942
|
-
*
|
943
|
-
* - spin is trying to normalize how far the wheel was spun (or trackpad
|
944
|
-
* dragged). This is super useful for zoom support where you want to
|
945
|
-
* throw away the chunky scroll steps on the PC and make those equal to
|
946
|
-
* the slow and smooth tiny steps on the Mac. Key data: This code tries to
|
947
|
-
* resolve a single slow step on a wheel to 1.
|
948
|
-
*
|
949
|
-
* - pixel is normalizing the desired scroll delta in pixel units. You'll
|
950
|
-
* get the crazy differences between browsers, but at least it'll be in
|
951
|
-
* pixels!
|
952
|
-
*
|
953
|
-
* - positive value indicates scrolling DOWN/RIGHT, negative UP/LEFT. This
|
954
|
-
* should translate to positive value zooming IN, negative zooming OUT.
|
955
|
-
* This matches the newer 'wheel' event.
|
956
|
-
*
|
957
|
-
* Why are there spinX, spinY (or pixels)?
|
958
|
-
*
|
959
|
-
* - spinX is a 2-finger side drag on the trackpad, and a shift + wheel turn
|
960
|
-
* with a mouse. It results in side-scrolling in the browser by default.
|
961
|
-
*
|
962
|
-
* - spinY is what you expect -- it's the classic axis of a mouse wheel.
|
963
|
-
*
|
964
|
-
* - I dropped spinZ/pixelZ. It is supported by the DOM 3 'wheel' event and
|
965
|
-
* probably is by browsers in conjunction with fancy 3D controllers .. but
|
966
|
-
* you know.
|
967
|
-
*
|
968
|
-
* Implementation info:
|
969
|
-
*
|
970
|
-
* Examples of 'wheel' event if you scroll slowly (down) by one step with an
|
971
|
-
* average mouse:
|
972
|
-
*
|
973
|
-
* OS X + Chrome (mouse) - 4 pixel delta (wheelDelta -120)
|
974
|
-
* OS X + Safari (mouse) - N/A pixel delta (wheelDelta -12)
|
975
|
-
* OS X + Firefox (mouse) - 0.1 line delta (wheelDelta N/A)
|
976
|
-
* Win8 + Chrome (mouse) - 100 pixel delta (wheelDelta -120)
|
977
|
-
* Win8 + Firefox (mouse) - 3 line delta (wheelDelta -120)
|
978
|
-
*
|
979
|
-
* On the trackpad:
|
980
|
-
*
|
981
|
-
* OS X + Chrome (trackpad) - 2 pixel delta (wheelDelta -6)
|
982
|
-
* OS X + Firefox (trackpad) - 1 pixel delta (wheelDelta N/A)
|
983
|
-
*
|
984
|
-
* On other/older browsers.. it's more complicated as there can be multiple and
|
985
|
-
* also missing delta values.
|
986
|
-
*
|
987
|
-
* The 'wheel' event is more standard:
|
988
|
-
*
|
989
|
-
* http://www.w3.org/TR/DOM-Level-3-Events/#events-wheelevents
|
990
|
-
*
|
991
|
-
* The basics is that it includes a unit, deltaMode (pixels, lines, pages), and
|
992
|
-
* deltaX, deltaY and deltaZ. Some browsers provide other values to maintain
|
993
|
-
* backward compatibility with older events. Those other values help us
|
994
|
-
* better normalize spin speed. Example of what the browsers provide:
|
995
|
-
*
|
996
|
-
* | event.wheelDelta | event.detail
|
997
|
-
* ------------------+------------------+--------------
|
998
|
-
* Safari v5/OS X | -120 | 0
|
999
|
-
* Safari v5/Win7 | -120 | 0
|
1000
|
-
* Chrome v17/OS X | -120 | 0
|
1001
|
-
* Chrome v17/Win7 | -120 | 0
|
1002
|
-
* IE9/Win7 | -120 | undefined
|
1003
|
-
* Firefox v4/OS X | undefined | 1
|
1004
|
-
* Firefox v4/Win7 | undefined | 3
|
1005
|
-
*
|
1006
|
-
*/
|
1007
|
-
function normalizeWheel(/*object*/ event) /*object*/ {
|
1008
|
-
var sX = 0, sY = 0, // spinX, spinY
|
1009
|
-
pX = 0, pY = 0; // pixelX, pixelY
|
1010
|
-
|
1011
|
-
// Legacy
|
1012
|
-
if ('detail' in event) { sY = event.detail; }
|
1013
|
-
if ('wheelDelta' in event) { sY = -event.wheelDelta / 120; }
|
1014
|
-
if ('wheelDeltaY' in event) { sY = -event.wheelDeltaY / 120; }
|
1015
|
-
if ('wheelDeltaX' in event) { sX = -event.wheelDeltaX / 120; }
|
1016
|
-
|
1017
|
-
// side scrolling on FF with DOMMouseScroll
|
1018
|
-
if ( 'axis' in event && event.axis === event.HORIZONTAL_AXIS ) {
|
1019
|
-
sX = sY;
|
1020
|
-
sY = 0;
|
1021
|
-
}
|
1022
|
-
|
1023
|
-
pX = sX * PIXEL_STEP;
|
1024
|
-
pY = sY * PIXEL_STEP;
|
1025
|
-
|
1026
|
-
if ('deltaY' in event) { pY = event.deltaY; }
|
1027
|
-
if ('deltaX' in event) { pX = event.deltaX; }
|
1028
|
-
|
1029
|
-
if ((pX || pY) && event.deltaMode) {
|
1030
|
-
if (event.deltaMode == 1) { // delta in LINE units
|
1031
|
-
pX *= LINE_HEIGHT;
|
1032
|
-
pY *= LINE_HEIGHT;
|
1033
|
-
} else { // delta in PAGE units
|
1034
|
-
pX *= PAGE_HEIGHT;
|
1035
|
-
pY *= PAGE_HEIGHT;
|
1036
|
-
}
|
1037
|
-
}
|
1038
|
-
|
1039
|
-
// Fall-back if spin cannot be determined
|
1040
|
-
if (pX && !sX) { sX = (pX < 1) ? -1 : 1; }
|
1041
|
-
if (pY && !sY) { sY = (pY < 1) ? -1 : 1; }
|
1042
|
-
|
1043
|
-
return { spinX : sX,
|
1044
|
-
spinY : sY,
|
1045
|
-
pixelX : pX,
|
1046
|
-
pixelY : pY };
|
1047
|
-
}
|
1048
|
-
|
1049
|
-
|
1050
|
-
/**
|
1051
|
-
* The best combination if you prefer spinX + spinY normalization. It favors
|
1052
|
-
* the older DOMMouseScroll for Firefox, as FF does not include wheelDelta with
|
1053
|
-
* 'wheel' event, making spin speed determination impossible.
|
1054
|
-
*/
|
1055
|
-
normalizeWheel.getEventType = function() /*string*/ {
|
1056
|
-
return (UserAgent_DEPRECATED.firefox())
|
1057
|
-
? 'DOMMouseScroll'
|
1058
|
-
: (isEventSupported('wheel'))
|
1059
|
-
? 'wheel'
|
1060
|
-
: 'mousewheel';
|
1061
|
-
};
|
1062
|
-
|
1063
|
-
module.exports = normalizeWheel;
|
1064
|
-
|
1065
|
-
|
1066
|
-
/***/ }),
|
1067
|
-
|
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:
|
1089
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1090
|
-
|
1091
|
-
var x = (y) => {
|
1092
|
-
var x = {}; __webpack_require__.d(x, y); return x
|
1093
|
-
}
|
1094
|
-
var y = (x) => (() => (x))
|
1095
|
-
module.exports = x({ ["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) });
|
1096
|
-
|
1097
|
-
/***/ }),
|
1098
|
-
|
1099
|
-
/***/ 5286:
|
1100
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1101
|
-
|
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) });
|
1107
|
-
|
1108
|
-
/***/ }),
|
1109
|
-
|
1110
|
-
/***/ 6284:
|
1111
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1112
|
-
|
1113
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1114
|
-
/* harmony export */ "default": () => (/* binding */ _arrayLikeToArray)
|
1115
|
-
/* harmony export */ });
|
1116
|
-
function _arrayLikeToArray(arr, len) {
|
1117
|
-
if (len == null || len > arr.length) len = arr.length;
|
1118
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
1119
|
-
return arr2;
|
1120
|
-
}
|
1121
|
-
|
1122
|
-
/***/ }),
|
1123
|
-
|
1124
|
-
/***/ 7416:
|
1125
|
-
/***/ ((module) => {
|
1126
|
-
|
1127
|
-
/**
|
1128
|
-
* Copyright 2004-present Facebook. All Rights Reserved.
|
1129
|
-
*
|
1130
|
-
* @providesModule UserAgent_DEPRECATED
|
1131
|
-
*/
|
1132
|
-
|
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:
|
741
|
+
* You can also do version checks:
|
1145
742
|
*
|
1146
743
|
* if (UserAgent_DEPRECATED.ie() >= 7) {
|
1147
744
|
* // IE7 or better
|
@@ -1288,180 +885,517 @@ var UserAgent_DEPRECATED = {
|
|
1288
885
|
},
|
1289
886
|
|
1290
887
|
|
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
|
-
},
|
888
|
+
/**
|
889
|
+
* Whether the browser is 64-bit IE. Really, this is kind of weak sauce; we
|
890
|
+
* only need this because Skype can't handle 64-bit IE yet. We need to remove
|
891
|
+
* this when we don't need it -- tracked by #601957.
|
892
|
+
*/
|
893
|
+
ie64: function() {
|
894
|
+
return UserAgent_DEPRECATED.ie() && _win64;
|
895
|
+
},
|
896
|
+
|
897
|
+
/**
|
898
|
+
* Check if the UA is Firefox.
|
899
|
+
*
|
900
|
+
*
|
901
|
+
* @return float|NaN Version number (if match) or NaN.
|
902
|
+
*/
|
903
|
+
firefox: function() {
|
904
|
+
return _populate() || _firefox;
|
905
|
+
},
|
906
|
+
|
907
|
+
|
908
|
+
/**
|
909
|
+
* Check if the UA is Opera.
|
910
|
+
*
|
911
|
+
*
|
912
|
+
* @return float|NaN Version number (if match) or NaN.
|
913
|
+
*/
|
914
|
+
opera: function() {
|
915
|
+
return _populate() || _opera;
|
916
|
+
},
|
917
|
+
|
918
|
+
|
919
|
+
/**
|
920
|
+
* Check if the UA is WebKit.
|
921
|
+
*
|
922
|
+
*
|
923
|
+
* @return float|NaN Version number (if match) or NaN.
|
924
|
+
*/
|
925
|
+
webkit: function() {
|
926
|
+
return _populate() || _webkit;
|
927
|
+
},
|
928
|
+
|
929
|
+
/**
|
930
|
+
* For Push
|
931
|
+
* WILL BE REMOVED VERY SOON. Use UserAgent_DEPRECATED.webkit
|
932
|
+
*/
|
933
|
+
safari: function() {
|
934
|
+
return UserAgent_DEPRECATED.webkit();
|
935
|
+
},
|
936
|
+
|
937
|
+
/**
|
938
|
+
* Check if the UA is a Chrome browser.
|
939
|
+
*
|
940
|
+
*
|
941
|
+
* @return float|NaN Version number (if match) or NaN.
|
942
|
+
*/
|
943
|
+
chrome : function() {
|
944
|
+
return _populate() || _chrome;
|
945
|
+
},
|
946
|
+
|
947
|
+
|
948
|
+
/**
|
949
|
+
* Check if the user is running Windows.
|
950
|
+
*
|
951
|
+
* @return bool `true' if the user's OS is Windows.
|
952
|
+
*/
|
953
|
+
windows: function() {
|
954
|
+
return _populate() || _windows;
|
955
|
+
},
|
956
|
+
|
957
|
+
|
958
|
+
/**
|
959
|
+
* Check if the user is running Mac OS X.
|
960
|
+
*
|
961
|
+
* @return float|bool Returns a float if a version number is detected,
|
962
|
+
* otherwise true/false.
|
963
|
+
*/
|
964
|
+
osx: function() {
|
965
|
+
return _populate() || _osx;
|
966
|
+
},
|
967
|
+
|
968
|
+
/**
|
969
|
+
* Check if the user is running Linux.
|
970
|
+
*
|
971
|
+
* @return bool `true' if the user's OS is some flavor of Linux.
|
972
|
+
*/
|
973
|
+
linux: function() {
|
974
|
+
return _populate() || _linux;
|
975
|
+
},
|
976
|
+
|
977
|
+
/**
|
978
|
+
* Check if the user is running on an iPhone or iPod platform.
|
979
|
+
*
|
980
|
+
* @return bool `true' if the user is running some flavor of the
|
981
|
+
* iPhone OS.
|
982
|
+
*/
|
983
|
+
iphone: function() {
|
984
|
+
return _populate() || _iphone;
|
985
|
+
},
|
986
|
+
|
987
|
+
mobile: function() {
|
988
|
+
return _populate() || (_iphone || _ipad || _android || _mobile);
|
989
|
+
},
|
990
|
+
|
991
|
+
nativeApp: function() {
|
992
|
+
// webviews inside of the native apps
|
993
|
+
return _populate() || _native;
|
994
|
+
},
|
995
|
+
|
996
|
+
android: function() {
|
997
|
+
return _populate() || _android;
|
998
|
+
},
|
999
|
+
|
1000
|
+
ipad: function() {
|
1001
|
+
return _populate() || _ipad;
|
1002
|
+
}
|
1003
|
+
};
|
1004
|
+
|
1005
|
+
module.exports = UserAgent_DEPRECATED;
|
1006
|
+
|
1007
|
+
|
1008
|
+
/***/ }),
|
1009
|
+
|
1010
|
+
/***/ 3541:
|
1011
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1012
|
+
|
1013
|
+
/**
|
1014
|
+
* Copyright 2013-2015, Facebook, Inc.
|
1015
|
+
* All rights reserved.
|
1016
|
+
*
|
1017
|
+
* This source code is licensed under the BSD-style license found in the
|
1018
|
+
* LICENSE file in the root directory of this source tree. An additional grant
|
1019
|
+
* of patent rights can be found in the PATENTS file in the same directory.
|
1020
|
+
*
|
1021
|
+
* @providesModule isEventSupported
|
1022
|
+
*/
|
1023
|
+
|
1024
|
+
|
1025
|
+
|
1026
|
+
var ExecutionEnvironment = __webpack_require__(7430);
|
1027
|
+
|
1028
|
+
var useHasFeature;
|
1029
|
+
if (ExecutionEnvironment.canUseDOM) {
|
1030
|
+
useHasFeature =
|
1031
|
+
document.implementation &&
|
1032
|
+
document.implementation.hasFeature &&
|
1033
|
+
// always returns true in newer browsers as per the standard.
|
1034
|
+
// @see http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature
|
1035
|
+
document.implementation.hasFeature('', '') !== true;
|
1036
|
+
}
|
1037
|
+
|
1038
|
+
/**
|
1039
|
+
* Checks if an event is supported in the current execution environment.
|
1040
|
+
*
|
1041
|
+
* NOTE: This will not work correctly for non-generic events such as `change`,
|
1042
|
+
* `reset`, `load`, `error`, and `select`.
|
1043
|
+
*
|
1044
|
+
* Borrows from Modernizr.
|
1045
|
+
*
|
1046
|
+
* @param {string} eventNameSuffix Event name, e.g. "click".
|
1047
|
+
* @param {?boolean} capture Check if the capture phase is supported.
|
1048
|
+
* @return {boolean} True if the event is supported.
|
1049
|
+
* @internal
|
1050
|
+
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
1051
|
+
*/
|
1052
|
+
function isEventSupported(eventNameSuffix, capture) {
|
1053
|
+
if (!ExecutionEnvironment.canUseDOM ||
|
1054
|
+
capture && !('addEventListener' in document)) {
|
1055
|
+
return false;
|
1056
|
+
}
|
1057
|
+
|
1058
|
+
var eventName = 'on' + eventNameSuffix;
|
1059
|
+
var isSupported = eventName in document;
|
1060
|
+
|
1061
|
+
if (!isSupported) {
|
1062
|
+
var element = document.createElement('div');
|
1063
|
+
element.setAttribute(eventName, 'return;');
|
1064
|
+
isSupported = typeof element[eventName] === 'function';
|
1065
|
+
}
|
1066
|
+
|
1067
|
+
if (!isSupported && useHasFeature && eventNameSuffix === 'wheel') {
|
1068
|
+
// This is the only way to test support for the `wheel` event in IE9+.
|
1069
|
+
isSupported = document.implementation.hasFeature('Events.wheel', '3.0');
|
1070
|
+
}
|
1071
|
+
|
1072
|
+
return isSupported;
|
1073
|
+
}
|
1074
|
+
|
1075
|
+
module.exports = isEventSupported;
|
1076
|
+
|
1077
|
+
|
1078
|
+
/***/ }),
|
1079
|
+
|
1080
|
+
/***/ 2527:
|
1081
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1082
|
+
|
1083
|
+
/**
|
1084
|
+
* Copyright (c) 2015, Facebook, Inc.
|
1085
|
+
* All rights reserved.
|
1086
|
+
*
|
1087
|
+
* This source code is licensed under the BSD-style license found in the
|
1088
|
+
* LICENSE file in the root directory of this source tree. An additional grant
|
1089
|
+
* of patent rights can be found in the PATENTS file in the same directory.
|
1090
|
+
*
|
1091
|
+
* @providesModule normalizeWheel
|
1092
|
+
* @typechecks
|
1093
|
+
*/
|
1094
|
+
|
1095
|
+
|
1096
|
+
|
1097
|
+
var UserAgent_DEPRECATED = __webpack_require__(6377);
|
1098
|
+
|
1099
|
+
var isEventSupported = __webpack_require__(3541);
|
1100
|
+
|
1101
|
+
|
1102
|
+
// Reasonable defaults
|
1103
|
+
var PIXEL_STEP = 10;
|
1104
|
+
var LINE_HEIGHT = 40;
|
1105
|
+
var PAGE_HEIGHT = 800;
|
1106
|
+
|
1107
|
+
/**
|
1108
|
+
* Mouse wheel (and 2-finger trackpad) support on the web sucks. It is
|
1109
|
+
* complicated, thus this doc is long and (hopefully) detailed enough to answer
|
1110
|
+
* your questions.
|
1111
|
+
*
|
1112
|
+
* If you need to react to the mouse wheel in a predictable way, this code is
|
1113
|
+
* like your bestest friend. * hugs *
|
1114
|
+
*
|
1115
|
+
* As of today, there are 4 DOM event types you can listen to:
|
1116
|
+
*
|
1117
|
+
* 'wheel' -- Chrome(31+), FF(17+), IE(9+)
|
1118
|
+
* 'mousewheel' -- Chrome, IE(6+), Opera, Safari
|
1119
|
+
* 'MozMousePixelScroll' -- FF(3.5 only!) (2010-2013) -- don't bother!
|
1120
|
+
* 'DOMMouseScroll' -- FF(0.9.7+) since 2003
|
1121
|
+
*
|
1122
|
+
* So what to do? The is the best:
|
1123
|
+
*
|
1124
|
+
* normalizeWheel.getEventType();
|
1125
|
+
*
|
1126
|
+
* In your event callback, use this code to get sane interpretation of the
|
1127
|
+
* deltas. This code will return an object with properties:
|
1128
|
+
*
|
1129
|
+
* spinX -- normalized spin speed (use for zoom) - x plane
|
1130
|
+
* spinY -- " - y plane
|
1131
|
+
* pixelX -- normalized distance (to pixels) - x plane
|
1132
|
+
* pixelY -- " - y plane
|
1133
|
+
*
|
1134
|
+
* Wheel values are provided by the browser assuming you are using the wheel to
|
1135
|
+
* scroll a web page by a number of lines or pixels (or pages). Values can vary
|
1136
|
+
* significantly on different platforms and browsers, forgetting that you can
|
1137
|
+
* scroll at different speeds. Some devices (like trackpads) emit more events
|
1138
|
+
* at smaller increments with fine granularity, and some emit massive jumps with
|
1139
|
+
* linear speed or acceleration.
|
1140
|
+
*
|
1141
|
+
* This code does its best to normalize the deltas for you:
|
1142
|
+
*
|
1143
|
+
* - spin is trying to normalize how far the wheel was spun (or trackpad
|
1144
|
+
* dragged). This is super useful for zoom support where you want to
|
1145
|
+
* throw away the chunky scroll steps on the PC and make those equal to
|
1146
|
+
* the slow and smooth tiny steps on the Mac. Key data: This code tries to
|
1147
|
+
* resolve a single slow step on a wheel to 1.
|
1148
|
+
*
|
1149
|
+
* - pixel is normalizing the desired scroll delta in pixel units. You'll
|
1150
|
+
* get the crazy differences between browsers, but at least it'll be in
|
1151
|
+
* pixels!
|
1152
|
+
*
|
1153
|
+
* - positive value indicates scrolling DOWN/RIGHT, negative UP/LEFT. This
|
1154
|
+
* should translate to positive value zooming IN, negative zooming OUT.
|
1155
|
+
* This matches the newer 'wheel' event.
|
1156
|
+
*
|
1157
|
+
* Why are there spinX, spinY (or pixels)?
|
1158
|
+
*
|
1159
|
+
* - spinX is a 2-finger side drag on the trackpad, and a shift + wheel turn
|
1160
|
+
* with a mouse. It results in side-scrolling in the browser by default.
|
1161
|
+
*
|
1162
|
+
* - spinY is what you expect -- it's the classic axis of a mouse wheel.
|
1163
|
+
*
|
1164
|
+
* - I dropped spinZ/pixelZ. It is supported by the DOM 3 'wheel' event and
|
1165
|
+
* probably is by browsers in conjunction with fancy 3D controllers .. but
|
1166
|
+
* you know.
|
1167
|
+
*
|
1168
|
+
* Implementation info:
|
1169
|
+
*
|
1170
|
+
* Examples of 'wheel' event if you scroll slowly (down) by one step with an
|
1171
|
+
* average mouse:
|
1172
|
+
*
|
1173
|
+
* OS X + Chrome (mouse) - 4 pixel delta (wheelDelta -120)
|
1174
|
+
* OS X + Safari (mouse) - N/A pixel delta (wheelDelta -12)
|
1175
|
+
* OS X + Firefox (mouse) - 0.1 line delta (wheelDelta N/A)
|
1176
|
+
* Win8 + Chrome (mouse) - 100 pixel delta (wheelDelta -120)
|
1177
|
+
* Win8 + Firefox (mouse) - 3 line delta (wheelDelta -120)
|
1178
|
+
*
|
1179
|
+
* On the trackpad:
|
1180
|
+
*
|
1181
|
+
* OS X + Chrome (trackpad) - 2 pixel delta (wheelDelta -6)
|
1182
|
+
* OS X + Firefox (trackpad) - 1 pixel delta (wheelDelta N/A)
|
1183
|
+
*
|
1184
|
+
* On other/older browsers.. it's more complicated as there can be multiple and
|
1185
|
+
* also missing delta values.
|
1186
|
+
*
|
1187
|
+
* The 'wheel' event is more standard:
|
1188
|
+
*
|
1189
|
+
* http://www.w3.org/TR/DOM-Level-3-Events/#events-wheelevents
|
1190
|
+
*
|
1191
|
+
* The basics is that it includes a unit, deltaMode (pixels, lines, pages), and
|
1192
|
+
* deltaX, deltaY and deltaZ. Some browsers provide other values to maintain
|
1193
|
+
* backward compatibility with older events. Those other values help us
|
1194
|
+
* better normalize spin speed. Example of what the browsers provide:
|
1195
|
+
*
|
1196
|
+
* | event.wheelDelta | event.detail
|
1197
|
+
* ------------------+------------------+--------------
|
1198
|
+
* Safari v5/OS X | -120 | 0
|
1199
|
+
* Safari v5/Win7 | -120 | 0
|
1200
|
+
* Chrome v17/OS X | -120 | 0
|
1201
|
+
* Chrome v17/Win7 | -120 | 0
|
1202
|
+
* IE9/Win7 | -120 | undefined
|
1203
|
+
* Firefox v4/OS X | undefined | 1
|
1204
|
+
* Firefox v4/Win7 | undefined | 3
|
1205
|
+
*
|
1206
|
+
*/
|
1207
|
+
function normalizeWheel(/*object*/ event) /*object*/ {
|
1208
|
+
var sX = 0, sY = 0, // spinX, spinY
|
1209
|
+
pX = 0, pY = 0; // pixelX, pixelY
|
1210
|
+
|
1211
|
+
// Legacy
|
1212
|
+
if ('detail' in event) { sY = event.detail; }
|
1213
|
+
if ('wheelDelta' in event) { sY = -event.wheelDelta / 120; }
|
1214
|
+
if ('wheelDeltaY' in event) { sY = -event.wheelDeltaY / 120; }
|
1215
|
+
if ('wheelDeltaX' in event) { sX = -event.wheelDeltaX / 120; }
|
1216
|
+
|
1217
|
+
// side scrolling on FF with DOMMouseScroll
|
1218
|
+
if ( 'axis' in event && event.axis === event.HORIZONTAL_AXIS ) {
|
1219
|
+
sX = sY;
|
1220
|
+
sY = 0;
|
1221
|
+
}
|
1222
|
+
|
1223
|
+
pX = sX * PIXEL_STEP;
|
1224
|
+
pY = sY * PIXEL_STEP;
|
1225
|
+
|
1226
|
+
if ('deltaY' in event) { pY = event.deltaY; }
|
1227
|
+
if ('deltaX' in event) { pX = event.deltaX; }
|
1228
|
+
|
1229
|
+
if ((pX || pY) && event.deltaMode) {
|
1230
|
+
if (event.deltaMode == 1) { // delta in LINE units
|
1231
|
+
pX *= LINE_HEIGHT;
|
1232
|
+
pY *= LINE_HEIGHT;
|
1233
|
+
} else { // delta in PAGE units
|
1234
|
+
pX *= PAGE_HEIGHT;
|
1235
|
+
pY *= PAGE_HEIGHT;
|
1236
|
+
}
|
1237
|
+
}
|
1238
|
+
|
1239
|
+
// Fall-back if spin cannot be determined
|
1240
|
+
if (pX && !sX) { sX = (pX < 1) ? -1 : 1; }
|
1241
|
+
if (pY && !sY) { sY = (pY < 1) ? -1 : 1; }
|
1242
|
+
|
1243
|
+
return { spinX : sX,
|
1244
|
+
spinY : sY,
|
1245
|
+
pixelX : pX,
|
1246
|
+
pixelY : pY };
|
1247
|
+
}
|
1299
1248
|
|
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
|
-
},
|
1309
1249
|
|
1250
|
+
/**
|
1251
|
+
* The best combination if you prefer spinX + spinY normalization. It favors
|
1252
|
+
* the older DOMMouseScroll for Firefox, as FF does not include wheelDelta with
|
1253
|
+
* 'wheel' event, making spin speed determination impossible.
|
1254
|
+
*/
|
1255
|
+
normalizeWheel.getEventType = function() /*string*/ {
|
1256
|
+
return (UserAgent_DEPRECATED.firefox())
|
1257
|
+
? 'DOMMouseScroll'
|
1258
|
+
: (isEventSupported('wheel'))
|
1259
|
+
? 'wheel'
|
1260
|
+
: 'mousewheel';
|
1261
|
+
};
|
1310
1262
|
|
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
|
-
},
|
1263
|
+
module.exports = normalizeWheel;
|
1320
1264
|
|
1321
1265
|
|
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
|
-
},
|
1266
|
+
/***/ }),
|
1331
1267
|
|
1332
|
-
|
1333
|
-
|
1334
|
-
* WILL BE REMOVED VERY SOON. Use UserAgent_DEPRECATED.webkit
|
1335
|
-
*/
|
1336
|
-
safari: function() {
|
1337
|
-
return UserAgent_DEPRECATED.webkit();
|
1338
|
-
},
|
1268
|
+
/***/ 563:
|
1269
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1339
1270
|
|
1340
|
-
|
1341
|
-
|
1342
|
-
|
1343
|
-
*
|
1344
|
-
* @return float|NaN Version number (if match) or NaN.
|
1345
|
-
*/
|
1346
|
-
chrome : function() {
|
1347
|
-
return _populate() || _chrome;
|
1348
|
-
},
|
1271
|
+
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1272
|
+
var y = x => () => x
|
1273
|
+
module.exports = x({ ["$bkPopover"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__.$bkPopover });
|
1349
1274
|
|
1275
|
+
/***/ }),
|
1350
1276
|
|
1351
|
-
|
1352
|
-
|
1353
|
-
*
|
1354
|
-
* @return bool `true' if the user's OS is Windows.
|
1355
|
-
*/
|
1356
|
-
windows: function() {
|
1357
|
-
return _populate() || _windows;
|
1358
|
-
},
|
1277
|
+
/***/ 9253:
|
1278
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1359
1279
|
|
1280
|
+
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1281
|
+
var y = x => () => x
|
1282
|
+
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 });
|
1360
1283
|
|
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
|
-
},
|
1284
|
+
/***/ }),
|
1370
1285
|
|
1371
|
-
|
1372
|
-
|
1373
|
-
*
|
1374
|
-
* @return bool `true' if the user's OS is some flavor of Linux.
|
1375
|
-
*/
|
1376
|
-
linux: function() {
|
1377
|
-
return _populate() || _linux;
|
1378
|
-
},
|
1286
|
+
/***/ 6609:
|
1287
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1379
1288
|
|
1380
|
-
|
1381
|
-
|
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
|
-
},
|
1289
|
+
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1290
|
+
var y = x => () => x
|
1291
|
+
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 });
|
1389
1292
|
|
1390
|
-
|
1391
|
-
return _populate() || (_iphone || _ipad || _android || _mobile);
|
1392
|
-
},
|
1293
|
+
/***/ }),
|
1393
1294
|
|
1394
|
-
|
1395
|
-
|
1396
|
-
return _populate() || _native;
|
1397
|
-
},
|
1295
|
+
/***/ 926:
|
1296
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1398
1297
|
|
1399
|
-
|
1400
|
-
|
1401
|
-
|
1298
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1299
|
+
/* harmony export */ "default": () => (/* binding */ _arrayLikeToArray)
|
1300
|
+
/* harmony export */ });
|
1301
|
+
function _arrayLikeToArray(arr, len) {
|
1302
|
+
if (len == null || len > arr.length) len = arr.length;
|
1303
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
1304
|
+
return arr2;
|
1305
|
+
}
|
1402
1306
|
|
1403
|
-
|
1404
|
-
return _populate() || _ipad;
|
1405
|
-
}
|
1406
|
-
};
|
1307
|
+
/***/ }),
|
1407
1308
|
|
1408
|
-
|
1309
|
+
/***/ 74:
|
1310
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1311
|
+
|
1312
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1313
|
+
/* harmony export */ "default": () => (/* binding */ _arrayWithoutHoles)
|
1314
|
+
/* harmony export */ });
|
1315
|
+
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(926);
|
1409
1316
|
|
1317
|
+
function _arrayWithoutHoles(arr) {
|
1318
|
+
if (Array.isArray(arr)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(arr);
|
1319
|
+
}
|
1410
1320
|
|
1411
1321
|
/***/ }),
|
1412
1322
|
|
1413
|
-
/***/
|
1323
|
+
/***/ 6666:
|
1414
1324
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1415
1325
|
|
1416
1326
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1417
|
-
/* harmony export */ "default": () => (/* binding */
|
1327
|
+
/* harmony export */ "default": () => (/* binding */ _defineProperty)
|
1418
1328
|
/* harmony export */ });
|
1419
|
-
|
1420
|
-
"@babel/helpers - typeof";
|
1329
|
+
/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3795);
|
1421
1330
|
|
1422
|
-
|
1423
|
-
|
1424
|
-
|
1425
|
-
|
1426
|
-
|
1331
|
+
function _defineProperty(obj, key, value) {
|
1332
|
+
key = (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["default"])(key);
|
1333
|
+
if (key in obj) {
|
1334
|
+
Object.defineProperty(obj, key, {
|
1335
|
+
value: value,
|
1336
|
+
enumerable: true,
|
1337
|
+
configurable: true,
|
1338
|
+
writable: true
|
1339
|
+
});
|
1340
|
+
} else {
|
1341
|
+
obj[key] = value;
|
1342
|
+
}
|
1343
|
+
return obj;
|
1427
1344
|
}
|
1428
1345
|
|
1429
1346
|
/***/ }),
|
1430
1347
|
|
1431
|
-
/***/
|
1348
|
+
/***/ 1079:
|
1432
1349
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1433
1350
|
|
1434
1351
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1435
|
-
/* harmony export */ "default": () => (/* binding */
|
1352
|
+
/* harmony export */ "default": () => (/* binding */ _iterableToArray)
|
1436
1353
|
/* harmony export */ });
|
1437
|
-
|
1354
|
+
function _iterableToArray(iter) {
|
1355
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
1356
|
+
}
|
1438
1357
|
|
1439
|
-
|
1440
|
-
|
1441
|
-
|
1442
|
-
|
1443
|
-
|
1444
|
-
|
1445
|
-
|
1358
|
+
/***/ }),
|
1359
|
+
|
1360
|
+
/***/ 6098:
|
1361
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1362
|
+
|
1363
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1364
|
+
/* harmony export */ "default": () => (/* binding */ _nonIterableSpread)
|
1365
|
+
/* harmony export */ });
|
1366
|
+
function _nonIterableSpread() {
|
1367
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
1446
1368
|
}
|
1447
1369
|
|
1448
1370
|
/***/ }),
|
1449
1371
|
|
1450
|
-
/***/
|
1451
|
-
/***/ ((
|
1372
|
+
/***/ 7930:
|
1373
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1374
|
+
|
1375
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1376
|
+
/* harmony export */ "default": () => (/* binding */ _toConsumableArray)
|
1377
|
+
/* harmony export */ });
|
1378
|
+
/* harmony import */ var _arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(74);
|
1379
|
+
/* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1079);
|
1380
|
+
/* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9147);
|
1381
|
+
/* harmony import */ var _nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6098);
|
1382
|
+
|
1383
|
+
|
1452
1384
|
|
1453
|
-
module.exports = __webpack_require__(5022);
|
1454
1385
|
|
1386
|
+
function _toConsumableArray(arr) {
|
1387
|
+
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"])();
|
1388
|
+
}
|
1455
1389
|
|
1456
1390
|
/***/ }),
|
1457
1391
|
|
1458
|
-
/***/
|
1392
|
+
/***/ 9745:
|
1459
1393
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1460
1394
|
|
1461
1395
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1462
1396
|
/* harmony export */ "default": () => (/* binding */ toPrimitive)
|
1463
1397
|
/* harmony export */ });
|
1464
|
-
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
1398
|
+
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6522);
|
1465
1399
|
|
1466
1400
|
function toPrimitive(t, r) {
|
1467
1401
|
if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t) || !t) return t;
|
@@ -1474,6 +1408,60 @@ function toPrimitive(t, r) {
|
|
1474
1408
|
return ("string" === r ? String : Number)(t);
|
1475
1409
|
}
|
1476
1410
|
|
1411
|
+
/***/ }),
|
1412
|
+
|
1413
|
+
/***/ 3795:
|
1414
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1415
|
+
|
1416
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1417
|
+
/* harmony export */ "default": () => (/* binding */ toPropertyKey)
|
1418
|
+
/* harmony export */ });
|
1419
|
+
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6522);
|
1420
|
+
/* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9745);
|
1421
|
+
|
1422
|
+
|
1423
|
+
function toPropertyKey(t) {
|
1424
|
+
var i = (0,_toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t, "string");
|
1425
|
+
return "symbol" == (0,_typeof_js__WEBPACK_IMPORTED_MODULE_1__["default"])(i) ? i : String(i);
|
1426
|
+
}
|
1427
|
+
|
1428
|
+
/***/ }),
|
1429
|
+
|
1430
|
+
/***/ 6522:
|
1431
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1432
|
+
|
1433
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1434
|
+
/* harmony export */ "default": () => (/* binding */ _typeof)
|
1435
|
+
/* harmony export */ });
|
1436
|
+
function _typeof(o) {
|
1437
|
+
"@babel/helpers - typeof";
|
1438
|
+
|
1439
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
1440
|
+
return typeof o;
|
1441
|
+
} : function (o) {
|
1442
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
1443
|
+
}, _typeof(o);
|
1444
|
+
}
|
1445
|
+
|
1446
|
+
/***/ }),
|
1447
|
+
|
1448
|
+
/***/ 9147:
|
1449
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1450
|
+
|
1451
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1452
|
+
/* harmony export */ "default": () => (/* binding */ _unsupportedIterableToArray)
|
1453
|
+
/* harmony export */ });
|
1454
|
+
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(926);
|
1455
|
+
|
1456
|
+
function _unsupportedIterableToArray(o, minLen) {
|
1457
|
+
if (!o) return;
|
1458
|
+
if (typeof o === "string") return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(o, minLen);
|
1459
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
1460
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
1461
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
1462
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(o, minLen);
|
1463
|
+
}
|
1464
|
+
|
1477
1465
|
/***/ })
|
1478
1466
|
|
1479
1467
|
/******/ });
|
@@ -1534,6 +1522,8 @@ function toPrimitive(t, r) {
|
|
1534
1522
|
/******/
|
1535
1523
|
/************************************************************************/
|
1536
1524
|
var __webpack_exports__ = {};
|
1525
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
1526
|
+
(() => {
|
1537
1527
|
|
1538
1528
|
// EXPORTS
|
1539
1529
|
__webpack_require__.d(__webpack_exports__, {
|
@@ -1547,16 +1537,14 @@ __webpack_require__.d(__webpack_exports__, {
|
|
1547
1537
|
});
|
1548
1538
|
|
1549
1539
|
// EXTERNAL MODULE: external "../shared"
|
1550
|
-
var shared_ = __webpack_require__(
|
1540
|
+
var shared_ = __webpack_require__(9253);
|
1551
1541
|
// EXTERNAL MODULE: external "vue"
|
1552
|
-
var external_vue_ = __webpack_require__(
|
1553
|
-
;// external "../config-provider"
|
1554
|
-
var x = (y)
|
1555
|
-
|
1556
|
-
}
|
1557
|
-
|
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
|
1542
|
+
var external_vue_ = __webpack_require__(6609);
|
1543
|
+
;// CONCATENATED MODULE: external "../config-provider"
|
1544
|
+
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1545
|
+
var y = x => () => x
|
1546
|
+
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 });
|
1547
|
+
;// CONCATENATED MODULE: ../../packages/form/src/compose-form-item.tsx
|
1560
1548
|
/*
|
1561
1549
|
* Tencent is pleased to support the open source community by making
|
1562
1550
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -1663,20 +1651,16 @@ var isCustomComponent = function isCustomComponent(node) {
|
|
1663
1651
|
}
|
1664
1652
|
}));
|
1665
1653
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
1666
|
-
var defineProperty = __webpack_require__(
|
1667
|
-
;// external "lodash/isBoolean"
|
1668
|
-
var isBoolean_x = (y)
|
1669
|
-
|
1670
|
-
}
|
1671
|
-
|
1672
|
-
|
1673
|
-
|
1674
|
-
|
1675
|
-
|
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
|
1654
|
+
var defineProperty = __webpack_require__(6666);
|
1655
|
+
;// CONCATENATED MODULE: external "lodash/isBoolean"
|
1656
|
+
var isBoolean_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1657
|
+
var isBoolean_y = x => () => x
|
1658
|
+
const isBoolean_namespaceObject = isBoolean_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_isBoolean_dcb66997__["default"] });
|
1659
|
+
;// CONCATENATED MODULE: external "lodash/isString"
|
1660
|
+
var isString_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1661
|
+
var isString_y = x => () => x
|
1662
|
+
const isString_namespaceObject = isString_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_isString_e6fa8a5b__["default"] });
|
1663
|
+
;// CONCATENATED MODULE: ../../packages/form/src/form.tsx
|
1680
1664
|
|
1681
1665
|
|
1682
1666
|
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; }
|
@@ -1842,28 +1826,22 @@ var formEvents = {
|
|
1842
1826
|
}
|
1843
1827
|
}));
|
1844
1828
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
1845
|
-
var toConsumableArray = __webpack_require__(
|
1829
|
+
var toConsumableArray = __webpack_require__(7930);
|
1846
1830
|
// EXTERNAL MODULE: ../../packages/directives/src/index.ts + 7 modules
|
1847
|
-
var src = __webpack_require__(
|
1848
|
-
;// external "../icon"
|
1849
|
-
var icon_x = (y)
|
1850
|
-
|
1851
|
-
}
|
1852
|
-
|
1853
|
-
|
1854
|
-
|
1855
|
-
|
1856
|
-
|
1857
|
-
}
|
1858
|
-
var
|
1859
|
-
const
|
1860
|
-
;//
|
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
|
1831
|
+
var src = __webpack_require__(668);
|
1832
|
+
;// CONCATENATED MODULE: external "../icon"
|
1833
|
+
var icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1834
|
+
var icon_y = x => () => x
|
1835
|
+
const icon_namespaceObject = icon_x({ ["ExclamationCircleShape"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.ExclamationCircleShape });
|
1836
|
+
;// CONCATENATED MODULE: external "lodash/get"
|
1837
|
+
var get_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1838
|
+
var get_y = x => () => x
|
1839
|
+
const get_namespaceObject = get_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_get_9427f899__["default"] });
|
1840
|
+
;// CONCATENATED MODULE: external "lodash/isFunction"
|
1841
|
+
var isFunction_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1842
|
+
var isFunction_y = x => () => x
|
1843
|
+
const isFunction_namespaceObject = isFunction_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_isFunction_f90b20d6__["default"] });
|
1844
|
+
;// CONCATENATED MODULE: ../../packages/form/src/utils.ts
|
1867
1845
|
/*
|
1868
1846
|
* Tencent is pleased to support the open source community by making
|
1869
1847
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -1895,19 +1873,15 @@ var getRuleMessage = function getRuleMessage(rule) {
|
|
1895
1873
|
}
|
1896
1874
|
return rule.message;
|
1897
1875
|
};
|
1898
|
-
;// external "lodash/isDate"
|
1899
|
-
var isDate_x = (y)
|
1900
|
-
|
1901
|
-
}
|
1902
|
-
|
1903
|
-
|
1904
|
-
|
1905
|
-
|
1906
|
-
|
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
|
1876
|
+
;// CONCATENATED MODULE: external "lodash/isDate"
|
1877
|
+
var isDate_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1878
|
+
var isDate_y = x => () => x
|
1879
|
+
const isDate_namespaceObject = isDate_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_isDate_b457317b__["default"] });
|
1880
|
+
;// CONCATENATED MODULE: external "lodash/isEmpty"
|
1881
|
+
var isEmpty_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1882
|
+
var isEmpty_y = x => () => x
|
1883
|
+
const isEmpty_namespaceObject = isEmpty_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_isEmpty_e109fd6b__["default"] });
|
1884
|
+
;// CONCATENATED MODULE: ../../packages/form/src/validator.ts
|
1911
1885
|
/*
|
1912
1886
|
* Tencent is pleased to support the open source community by making
|
1913
1887
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -1960,7 +1934,7 @@ const isEmpty_namespaceObject = isEmpty_x({ ["default"]: () => (__WEBPACK_EXTERN
|
|
1960
1934
|
return result;
|
1961
1935
|
}
|
1962
1936
|
});
|
1963
|
-
;// ../../packages/form/src/form-item.tsx
|
1937
|
+
;// CONCATENATED MODULE: ../../packages/form/src/form-item.tsx
|
1964
1938
|
|
1965
1939
|
|
1966
1940
|
|
@@ -2344,7 +2318,7 @@ var isValid = function isValid(value) {
|
|
2344
2318
|
}, [(_this$$slots$default = (_this$$slots2 = this.$slots)["default"]) === null || _this$$slots$default === void 0 ? void 0 : _this$$slots$default.call(_this$$slots2), renderError()])]);
|
2345
2319
|
}
|
2346
2320
|
}));
|
2347
|
-
;// ../../packages/form/src/index.ts
|
2321
|
+
;// CONCATENATED MODULE: ../../packages/form/src/index.ts
|
2348
2322
|
/*
|
2349
2323
|
* Tencent is pleased to support the open source community by making
|
2350
2324
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -2381,6 +2355,8 @@ var BkForm = (0,shared_.withInstallProps)(src_form, {
|
|
2381
2355
|
});
|
2382
2356
|
/* harmony default export */ const form_src = (BkForm);
|
2383
2357
|
|
2358
|
+
})();
|
2359
|
+
|
2384
2360
|
var __webpack_exports__BkComposeFormItem = __webpack_exports__.BkComposeFormItem;
|
2385
2361
|
var __webpack_exports__BkForm = __webpack_exports__.BkForm;
|
2386
2362
|
var __webpack_exports__BkFormItem = __webpack_exports__.BkFormItem;
|