bkui-vue 2.0.2-beta.12 → 2.0.2-beta.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +159 -133
- package/dist/index.esm.js +21441 -17749
- package/dist/index.umd.js +159 -133
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.variable.css +1 -0
- package/lib/affix/index.js +30 -22
- package/lib/alert/alert.variable.css +1 -0
- package/lib/alert/index.js +30 -22
- package/lib/animate-number/index.js +14 -10
- package/lib/backtop/backtop.variable.css +1 -0
- package/lib/backtop/index.js +32 -22
- package/lib/badge/badge.variable.css +1 -0
- package/lib/badge/index.js +24 -18
- package/lib/breadcrumb/breadcrumb.variable.css +1 -0
- package/lib/breadcrumb/index.js +31 -23
- package/lib/button/button.variable.css +1 -0
- package/lib/button/index.js +36 -26
- package/lib/card/card.variable.css +1 -0
- package/lib/card/index.js +47 -33
- package/lib/cascader/cascader.variable.css +1 -0
- package/lib/cascader/index.js +651 -625
- package/lib/checkbox/checkbox.variable.css +1 -0
- package/lib/checkbox/index.js +45 -35
- package/lib/code-diff/code-diff.variable.css +1 -0
- package/lib/code-diff/index.js +83 -79
- package/lib/collapse/collapse.variable.css +1 -0
- package/lib/collapse/index.js +39 -33
- package/lib/collapse-transition/collapse-transition.variable.css +1 -0
- package/lib/collapse-transition/index.js +20 -14
- package/lib/color-picker/color-picker.variable.css +1 -0
- package/lib/color-picker/index.js +610 -597
- package/lib/config-provider/config-provider.variable.css +1 -0
- package/lib/config-provider/index.js +34 -26
- package/lib/container/container.variable.css +1 -0
- package/lib/container/index.js +27 -21
- package/lib/date-picker/date-picker.variable.css +1 -0
- package/lib/date-picker/index.js +642 -623
- package/lib/dialog/dialog.variable.css +1 -0
- package/lib/dialog/index.js +101 -87
- package/lib/directives/index.js +439 -434
- package/lib/divider/divider.variable.css +1 -0
- package/lib/divider/index.js +21 -15
- package/lib/dropdown/dropdown.variable.css +1 -0
- package/lib/dropdown/index.js +43 -31
- package/lib/exception/exception.variable.css +1 -0
- package/lib/exception/index.js +55 -49
- package/lib/fixed-navbar/fixed-navbar.variable.css +1 -0
- package/lib/fixed-navbar/index.js +20 -14
- package/lib/form/form.variable.css +1 -0
- package/lib/form/index.js +632 -611
- package/lib/icon/angle-double-down-line.js +14 -12
- package/lib/icon/angle-double-left-line.js +14 -12
- package/lib/icon/angle-double-left.js +14 -12
- package/lib/icon/angle-double-right-line.js +14 -12
- package/lib/icon/angle-double-right.js +14 -12
- package/lib/icon/angle-double-up-line.js +14 -12
- package/lib/icon/angle-down-fill.js +14 -12
- package/lib/icon/angle-down-line.js +14 -12
- package/lib/icon/angle-down.js +14 -12
- package/lib/icon/angle-left.js +14 -12
- package/lib/icon/angle-right.js +14 -12
- package/lib/icon/angle-up-fill.js +14 -12
- package/lib/icon/angle-up.js +14 -12
- package/lib/icon/archive-fill.js +14 -12
- package/lib/icon/arrows-left.js +14 -12
- package/lib/icon/arrows-right.js +14 -12
- package/lib/icon/assistant.js +14 -12
- package/lib/icon/audio-fill.js +14 -12
- package/lib/icon/bk.js +14 -12
- package/lib/icon/circle.js +14 -12
- package/lib/icon/close-line.js +14 -12
- package/lib/icon/close.js +14 -12
- package/lib/icon/code.js +14 -12
- package/lib/icon/cog-shape.js +14 -12
- package/lib/icon/collapse-left.js +14 -12
- package/lib/icon/copy-shape.js +14 -12
- package/lib/icon/copy.js +14 -12
- package/lib/icon/data-shape.js +14 -12
- package/lib/icon/del.js +14 -12
- package/lib/icon/doc-fill.js +14 -12
- package/lib/icon/done.js +14 -12
- package/lib/icon/down-shape.js +14 -12
- package/lib/icon/down-small.js +14 -12
- package/lib/icon/edit-line.js +14 -12
- package/lib/icon/ellipsis.js +14 -12
- package/lib/icon/enlarge-line.js +14 -12
- package/lib/icon/error.js +14 -12
- package/lib/icon/excel-fill.js +14 -12
- package/lib/icon/exclamation-circle-shape.js +14 -12
- package/lib/icon/eye.js +14 -12
- package/lib/icon/filliscreen-line.js +14 -12
- package/lib/icon/fix-line.js +14 -12
- package/lib/icon/fix-shape.js +14 -12
- package/lib/icon/folder-open.js +14 -12
- package/lib/icon/folder-shape-open.js +14 -12
- package/lib/icon/folder-shape.js +14 -12
- package/lib/icon/folder.js +14 -12
- package/lib/icon/funnel.js +14 -12
- package/lib/icon/grag-fill.js +14 -12
- package/lib/icon/help-document-fill.js +14 -12
- package/lib/icon/help-fill.js +14 -12
- package/lib/icon/help.js +14 -12
- package/lib/icon/image-fill.js +14 -12
- package/lib/icon/img-error.js +14 -12
- package/lib/icon/img-placehoulder.js +14 -12
- package/lib/icon/info-line.js +14 -12
- package/lib/icon/info.js +14 -12
- package/lib/icon/left-shape.js +14 -12
- package/lib/icon/left-turn-line.js +14 -12
- package/lib/icon/loading.js +14 -12
- package/lib/icon/narrow-line.js +14 -12
- package/lib/icon/original.js +14 -12
- package/lib/icon/pdf-fill.js +14 -12
- package/lib/icon/play-shape.js +14 -12
- package/lib/icon/plus.js +14 -12
- package/lib/icon/ppt-fill.js +14 -12
- package/lib/icon/qq.js +14 -12
- package/lib/icon/right-shape.js +14 -12
- package/lib/icon/right-turn-line.js +14 -12
- package/lib/icon/search.js +14 -12
- package/lib/icon/share.js +14 -12
- package/lib/icon/spinner.js +14 -12
- package/lib/icon/success.js +14 -12
- package/lib/icon/switcher-loading.js +14 -12
- package/lib/icon/text-all.js +14 -12
- package/lib/icon/text-file.js +14 -12
- package/lib/icon/text-fill.js +14 -12
- package/lib/icon/transfer.js +14 -12
- package/lib/icon/tree-application-shape.js +14 -12
- package/lib/icon/unfull-screen.js +14 -12
- package/lib/icon/unvisible.js +14 -12
- package/lib/icon/up-shape.js +14 -12
- package/lib/icon/upload.js +14 -12
- package/lib/icon/video-fill.js +14 -12
- package/lib/icon/warn.js +14 -12
- package/lib/icon/weixin-pro.js +14 -12
- package/lib/icon/weixin.js +14 -12
- package/lib/image/image-viewer.variable.css +1 -0
- package/lib/image/image.variable.css +1 -0
- package/lib/image/index.js +341 -328
- package/lib/index.js +1 -1
- package/lib/info-box/index.js +101 -87
- package/lib/info-box/info-box.variable.css +1 -0
- package/lib/input/index.js +334 -325
- package/lib/input/input.variable.css +1 -0
- package/lib/link/index.js +26 -18
- package/lib/link/link.variable.css +1 -0
- package/lib/loading/index.js +25 -19
- package/lib/loading/loading.variable.css +1 -0
- package/lib/locale/index.js +3 -3
- package/lib/menu/index.js +40 -32
- package/lib/menu/menu.variable.css +1 -0
- package/lib/menu/submenu.variable.css +1 -0
- package/lib/message/index.js +48 -42
- package/lib/message/message.variable.css +1 -0
- package/lib/modal/index.js +39 -29
- package/lib/modal/modal.variable.css +1 -0
- package/lib/navigation/index.js +27 -19
- package/lib/navigation/navigation.variable.css +1 -0
- package/lib/notify/index.js +37 -27
- package/lib/notify/notify.variable.css +1 -0
- package/lib/overflow-title/index.js +41 -29
- package/lib/pagination/index.js +62 -46
- package/lib/pagination/pagination.variable.css +1 -0
- package/lib/pop-confirm/index.d.ts +584 -0
- package/lib/pop-confirm/index.js +56 -36
- package/lib/pop-confirm/pop-confirm.d.ts +292 -0
- package/lib/pop-confirm/pop-confirm.variable.css +1 -0
- package/lib/pop-confirm/props.d.ts +146 -0
- package/lib/popover/index.js +362 -349
- package/lib/popover/popover.variable.css +1 -0
- package/lib/popover2/index.js +14 -10
- package/lib/process/index.js +78 -74
- package/lib/process/process.variable.css +1 -0
- package/lib/progress/index.js +26 -20
- package/lib/progress/progress.variable.css +1 -0
- package/lib/radio/index.js +39 -31
- package/lib/radio/radio.variable.css +1 -0
- package/lib/rate/index.js +25 -19
- package/lib/rate/rate.variable.css +1 -0
- package/lib/resize-layout/index.js +30 -22
- package/lib/resize-layout/resize-layout.variable.css +1 -0
- package/lib/scrollbar/css/scrollbar.variable.css +1 -0
- package/lib/scrollbar/index.js +25 -25
- package/lib/search-select/index.js +435 -416
- package/lib/search-select/search-select.variable.css +1 -0
- package/lib/select/index.js +489 -450
- package/lib/select/select.variable.css +1 -0
- package/lib/shared/index.js +57 -49
- package/lib/sideslider/index.js +89 -79
- package/lib/sideslider/sideslider.variable.css +1 -0
- package/lib/slider/index.js +85 -75
- package/lib/slider/slider.variable.css +1 -0
- package/lib/steps/index.js +78 -72
- package/lib/steps/steps.variable.css +1 -0
- package/lib/styles/mixins/animate.variable.css +1 -0
- package/lib/styles/mixins/popper.variable.css +1 -0
- package/lib/styles/mixins/scroll.variable.css +1 -0
- package/lib/styles/reset.variable.css +1 -0
- package/lib/swiper/index.js +24 -18
- package/lib/swiper/swiper.variable.css +1 -0
- package/lib/switcher/index.js +30 -22
- package/lib/switcher/switcher.variable.css +1 -0
- package/lib/tab/index.js +336 -325
- package/lib/tab/tab.variable.css +1 -0
- package/lib/table/index.js +564 -509
- package/lib/table/plugins/head-filter.variable.css +1 -0
- package/lib/table/plugins/head-sort.variable.css +1 -0
- package/lib/table/plugins/settings.variable.css +1 -0
- package/lib/table/table.variable.css +1 -0
- package/lib/table-column/index.js +13 -9
- package/lib/tag/index.js +36 -26
- package/lib/tag/tag.variable.css +1 -0
- package/lib/tag-input/index.js +375 -352
- package/lib/tag-input/tag-input.variable.css +1 -0
- package/lib/time-picker/index.js +13 -9
- package/lib/time-picker/time-picker.variable.css +1 -0
- package/lib/timeline/index.js +21 -15
- package/lib/timeline/timeline.variable.css +1 -0
- package/lib/transfer/index.js +56 -40
- package/lib/transfer/transfer.variable.css +1 -0
- package/lib/tree/index.js +17431 -91
- package/lib/tree/tree.css +28 -0
- package/lib/tree/tree.less +33 -2
- package/lib/tree/tree.variable.css +29 -0
- package/lib/upload/index.js +584 -572
- package/lib/upload/upload.variable.css +1 -0
- package/lib/virtual-render/index.js +55 -43
- package/lib/virtual-render/virtual-render.variable.css +1 -0
- package/package.json +1 -1
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";
|
3
4
|
import * as __WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__ from "@popperjs/core";
|
4
5
|
import * as __WEBPACK_EXTERNAL_MODULE__loading_4d683b23__ from "../loading";
|
5
6
|
import * as __WEBPACK_EXTERNAL_MODULE__overflow_title_f9bafa47__ from "../overflow-title";
|
6
|
-
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__ from "../popover";
|
7
7
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
|
8
8
|
import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
|
9
9
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
|
@@ -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,10 +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__(
|
331
|
+
var esm_typeof = __webpack_require__(7545);
|
158
332
|
// EXTERNAL MODULE: external "../popover"
|
159
|
-
var popover_ = __webpack_require__(
|
160
|
-
;//
|
333
|
+
var popover_ = __webpack_require__(592);
|
334
|
+
;// ../../packages/directives/src/ellipsis.ts
|
161
335
|
|
162
336
|
/*
|
163
337
|
* Tencent is pleased to support the open source community by making
|
@@ -268,9 +442,9 @@ var ellipsis = {
|
|
268
442
|
};
|
269
443
|
/* harmony default export */ const src_ellipsis = ((/* unused pure expression or super */ null && (ellipsis)));
|
270
444
|
// EXTERNAL MODULE: ../../node_modules/normalize-wheel/index.js
|
271
|
-
var normalize_wheel = __webpack_require__(
|
445
|
+
var normalize_wheel = __webpack_require__(8283);
|
272
446
|
var normalize_wheel_default = /*#__PURE__*/__webpack_require__.n(normalize_wheel);
|
273
|
-
;//
|
447
|
+
;// ../../packages/directives/src/mousewheel.ts
|
274
448
|
/*
|
275
449
|
* Tencent is pleased to support the open source community by making
|
276
450
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -313,18 +487,20 @@ var mousewheel = {
|
|
313
487
|
};
|
314
488
|
/* harmony default export */ const src_mousewheel = ((/* unused pure expression or super */ null && (mousewheel)));
|
315
489
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
316
|
-
var defineProperty = __webpack_require__(
|
490
|
+
var defineProperty = __webpack_require__(4586);
|
317
491
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
318
|
-
var toConsumableArray = __webpack_require__(
|
492
|
+
var toConsumableArray = __webpack_require__(5153);
|
319
493
|
// EXTERNAL MODULE: external "vue"
|
320
|
-
var external_vue_ = __webpack_require__(
|
494
|
+
var external_vue_ = __webpack_require__(5286);
|
321
495
|
// EXTERNAL MODULE: external "../shared"
|
322
|
-
var shared_ = __webpack_require__(
|
323
|
-
;//
|
324
|
-
var x = y => {
|
325
|
-
var
|
326
|
-
|
327
|
-
|
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
|
328
504
|
|
329
505
|
|
330
506
|
|
@@ -389,9 +565,6 @@ var tooltips = {
|
|
389
565
|
hide(el);
|
390
566
|
}, 100);
|
391
567
|
});
|
392
|
-
el.addEventListener('click', function () {
|
393
|
-
hide(el);
|
394
|
-
});
|
395
568
|
popper.addEventListener('mouseleave', function () {
|
396
569
|
clearTimeout(delayTimeout);
|
397
570
|
hideTimeout = setTimeout(function () {
|
@@ -405,7 +578,7 @@ var tooltips = {
|
|
405
578
|
show(el);
|
406
579
|
clearTimeout(delayTimeout);
|
407
580
|
}, opts.delay);
|
408
|
-
} else if (popper.hasAttribute('data-show')) {
|
581
|
+
} else if (!el.contains(event.target) && popper.hasAttribute('data-show')) {
|
409
582
|
hide(el);
|
410
583
|
}
|
411
584
|
});
|
@@ -616,15 +789,19 @@ function hide(el) {
|
|
616
789
|
}
|
617
790
|
}
|
618
791
|
/* harmony default export */ const src_tooltips = (tooltips);
|
619
|
-
;//
|
620
|
-
var external_loading_x = y => {
|
621
|
-
var
|
792
|
+
;// external "../loading"
|
793
|
+
var external_loading_x = (y) => {
|
794
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
795
|
+
}
|
796
|
+
var external_loading_y = (x) => (() => (x))
|
622
797
|
const external_loading_namespaceObject = external_loading_x({ });
|
623
|
-
;//
|
624
|
-
var external_overflow_title_x = y => {
|
625
|
-
var
|
798
|
+
;// external "../overflow-title"
|
799
|
+
var external_overflow_title_x = (y) => {
|
800
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
801
|
+
}
|
802
|
+
var external_overflow_title_y = (x) => (() => (x))
|
626
803
|
const external_overflow_title_namespaceObject = external_overflow_title_x({ });
|
627
|
-
;//
|
804
|
+
;// ../../packages/directives/src/index.ts
|
628
805
|
/*
|
629
806
|
* Tencent is pleased to support the open source community by making
|
630
807
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -660,16 +837,45 @@ const external_overflow_title_namespaceObject = external_overflow_title_x({ });
|
|
660
837
|
|
661
838
|
/***/ }),
|
662
839
|
|
663
|
-
/***/
|
664
|
-
/***/ ((
|
840
|
+
/***/ 4430:
|
841
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
842
|
+
|
843
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
844
|
+
/* harmony export */ "default": () => (/* binding */ _iterableToArray)
|
845
|
+
/* harmony export */ });
|
846
|
+
function _iterableToArray(iter) {
|
847
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
848
|
+
}
|
849
|
+
|
850
|
+
/***/ }),
|
851
|
+
|
852
|
+
/***/ 4586:
|
853
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
665
854
|
|
666
|
-
|
855
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
856
|
+
/* harmony export */ "default": () => (/* binding */ _defineProperty)
|
857
|
+
/* harmony export */ });
|
858
|
+
/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(205);
|
667
859
|
|
860
|
+
function _defineProperty(obj, key, value) {
|
861
|
+
key = (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["default"])(key);
|
862
|
+
if (key in obj) {
|
863
|
+
Object.defineProperty(obj, key, {
|
864
|
+
value: value,
|
865
|
+
enumerable: true,
|
866
|
+
configurable: true,
|
867
|
+
writable: true
|
868
|
+
});
|
869
|
+
} else {
|
870
|
+
obj[key] = value;
|
871
|
+
}
|
872
|
+
return obj;
|
873
|
+
}
|
668
874
|
|
669
875
|
/***/ }),
|
670
876
|
|
671
|
-
/***/
|
672
|
-
/***/ ((module) => {
|
877
|
+
/***/ 5022:
|
878
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
673
879
|
|
674
880
|
/**
|
675
881
|
* Copyright (c) 2015, Facebook, Inc.
|
@@ -679,445 +885,36 @@ module.exports = __webpack_require__(2527);
|
|
679
885
|
* LICENSE file in the root directory of this source tree. An additional grant
|
680
886
|
* of patent rights can be found in the PATENTS file in the same directory.
|
681
887
|
*
|
682
|
-
* @providesModule
|
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.
|
888
|
+
* @providesModule normalizeWheel
|
889
|
+
* @typechecks
|
700
890
|
*/
|
701
|
-
var ExecutionEnvironment = {
|
702
|
-
|
703
|
-
canUseDOM: canUseDOM,
|
704
|
-
|
705
|
-
canUseWorkers: typeof Worker !== 'undefined',
|
706
|
-
|
707
|
-
canUseEventListeners:
|
708
|
-
canUseDOM && !!(window.addEventListener || window.attachEvent),
|
709
|
-
|
710
|
-
canUseViewport: canUseDOM && !!window.screen,
|
711
891
|
|
712
|
-
isInWorker: !canUseDOM // For now, this is true - might change in the future.
|
713
892
|
|
714
|
-
};
|
715
893
|
|
716
|
-
|
894
|
+
var UserAgent_DEPRECATED = __webpack_require__(7416);
|
717
895
|
|
896
|
+
var isEventSupported = __webpack_require__(2586);
|
718
897
|
|
719
|
-
/***/ }),
|
720
898
|
|
721
|
-
|
722
|
-
|
899
|
+
// Reasonable defaults
|
900
|
+
var PIXEL_STEP = 10;
|
901
|
+
var LINE_HEIGHT = 40;
|
902
|
+
var PAGE_HEIGHT = 800;
|
723
903
|
|
724
904
|
/**
|
725
|
-
*
|
905
|
+
* Mouse wheel (and 2-finger trackpad) support on the web sucks. It is
|
906
|
+
* complicated, thus this doc is long and (hopefully) detailed enough to answer
|
907
|
+
* your questions.
|
726
908
|
*
|
727
|
-
*
|
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.
|
909
|
+
* If you need to react to the mouse wheel in a predictable way, this code is
|
910
|
+
* like your bestest friend. * hugs *
|
734
911
|
*
|
735
|
-
*
|
912
|
+
* As of today, there are 4 DOM event types you can listen to:
|
736
913
|
*
|
737
|
-
*
|
738
|
-
*
|
739
|
-
*
|
740
|
-
*
|
741
|
-
* You can also do version checks:
|
742
|
-
*
|
743
|
-
* if (UserAgent_DEPRECATED.ie() >= 7) {
|
744
|
-
* // IE7 or better
|
745
|
-
* }
|
746
|
-
*
|
747
|
-
* The browser functions will return NaN if the browser does not match, so
|
748
|
-
* you can also do version compares the other way:
|
749
|
-
*
|
750
|
-
* if (UserAgent_DEPRECATED.ie() < 7) {
|
751
|
-
* // IE6 or worse
|
752
|
-
* }
|
753
|
-
*
|
754
|
-
* Note that the version is a float and may include a minor version number,
|
755
|
-
* so you should always use range operators to perform comparisons, not
|
756
|
-
* strict equality.
|
757
|
-
*
|
758
|
-
* **Note:** You should **strongly** prefer capability detection to browser
|
759
|
-
* version detection where it's reasonable:
|
760
|
-
*
|
761
|
-
* http://www.quirksmode.org/js/support.html
|
762
|
-
*
|
763
|
-
* Further, we have a large number of mature wrapper functions and classes
|
764
|
-
* which abstract away many browser irregularities. Check the documentation,
|
765
|
-
* grep for things, or ask on javascript@lists.facebook.com before writing yet
|
766
|
-
* another copy of "event || window.event".
|
767
|
-
*
|
768
|
-
*/
|
769
|
-
|
770
|
-
var _populated = false;
|
771
|
-
|
772
|
-
// Browsers
|
773
|
-
var _ie, _firefox, _opera, _webkit, _chrome;
|
774
|
-
|
775
|
-
// Actual IE browser for compatibility mode
|
776
|
-
var _ie_real_version;
|
777
|
-
|
778
|
-
// Platforms
|
779
|
-
var _osx, _windows, _linux, _android;
|
780
|
-
|
781
|
-
// Architectures
|
782
|
-
var _win64;
|
783
|
-
|
784
|
-
// Devices
|
785
|
-
var _iphone, _ipad, _native;
|
786
|
-
|
787
|
-
var _mobile;
|
788
|
-
|
789
|
-
function _populate() {
|
790
|
-
if (_populated) {
|
791
|
-
return;
|
792
|
-
}
|
793
|
-
|
794
|
-
_populated = true;
|
795
|
-
|
796
|
-
// To work around buggy JS libraries that can't handle multi-digit
|
797
|
-
// version numbers, Opera 10's user agent string claims it's Opera
|
798
|
-
// 9, then later includes a Version/X.Y field:
|
799
|
-
//
|
800
|
-
// Opera/9.80 (foo) Presto/2.2.15 Version/10.10
|
801
|
-
var uas = navigator.userAgent;
|
802
|
-
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);
|
803
|
-
var os = /(Mac OS X)|(Windows)|(Linux)/.exec(uas);
|
804
|
-
|
805
|
-
_iphone = /\b(iPhone|iP[ao]d)/.exec(uas);
|
806
|
-
_ipad = /\b(iP[ao]d)/.exec(uas);
|
807
|
-
_android = /Android/i.exec(uas);
|
808
|
-
_native = /FBAN\/\w+;/i.exec(uas);
|
809
|
-
_mobile = /Mobile/i.exec(uas);
|
810
|
-
|
811
|
-
// Note that the IE team blog would have you believe you should be checking
|
812
|
-
// for 'Win64; x64'. But MSDN then reveals that you can actually be coming
|
813
|
-
// from either x64 or ia64; so ultimately, you should just check for Win64
|
814
|
-
// as in indicator of whether you're in 64-bit IE. 32-bit IE on 64-bit
|
815
|
-
// Windows will send 'WOW64' instead.
|
816
|
-
_win64 = !!(/Win64/.exec(uas));
|
817
|
-
|
818
|
-
if (agent) {
|
819
|
-
_ie = agent[1] ? parseFloat(agent[1]) : (
|
820
|
-
agent[5] ? parseFloat(agent[5]) : NaN);
|
821
|
-
// IE compatibility mode
|
822
|
-
if (_ie && document && document.documentMode) {
|
823
|
-
_ie = document.documentMode;
|
824
|
-
}
|
825
|
-
// grab the "true" ie version from the trident token if available
|
826
|
-
var trident = /(?:Trident\/(\d+.\d+))/.exec(uas);
|
827
|
-
_ie_real_version = trident ? parseFloat(trident[1]) + 4 : _ie;
|
828
|
-
|
829
|
-
_firefox = agent[2] ? parseFloat(agent[2]) : NaN;
|
830
|
-
_opera = agent[3] ? parseFloat(agent[3]) : NaN;
|
831
|
-
_webkit = agent[4] ? parseFloat(agent[4]) : NaN;
|
832
|
-
if (_webkit) {
|
833
|
-
// We do not add the regexp to the above test, because it will always
|
834
|
-
// match 'safari' only since 'AppleWebKit' appears before 'Chrome' in
|
835
|
-
// the userAgent string.
|
836
|
-
agent = /(?:Chrome\/(\d+\.\d+))/.exec(uas);
|
837
|
-
_chrome = agent && agent[1] ? parseFloat(agent[1]) : NaN;
|
838
|
-
} else {
|
839
|
-
_chrome = NaN;
|
840
|
-
}
|
841
|
-
} else {
|
842
|
-
_ie = _firefox = _opera = _chrome = _webkit = NaN;
|
843
|
-
}
|
844
|
-
|
845
|
-
if (os) {
|
846
|
-
if (os[1]) {
|
847
|
-
// Detect OS X version. If no version number matches, set _osx to true.
|
848
|
-
// Version examples: 10, 10_6_1, 10.7
|
849
|
-
// Parses version number as a float, taking only first two sets of
|
850
|
-
// digits. If only one set of digits is found, returns just the major
|
851
|
-
// version number.
|
852
|
-
var ver = /(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(uas);
|
853
|
-
|
854
|
-
_osx = ver ? parseFloat(ver[1].replace('_', '.')) : true;
|
855
|
-
} else {
|
856
|
-
_osx = false;
|
857
|
-
}
|
858
|
-
_windows = !!os[2];
|
859
|
-
_linux = !!os[3];
|
860
|
-
} else {
|
861
|
-
_osx = _windows = _linux = false;
|
862
|
-
}
|
863
|
-
}
|
864
|
-
|
865
|
-
var UserAgent_DEPRECATED = {
|
866
|
-
|
867
|
-
/**
|
868
|
-
* Check if the UA is Internet Explorer.
|
869
|
-
*
|
870
|
-
*
|
871
|
-
* @return float|NaN Version number (if match) or NaN.
|
872
|
-
*/
|
873
|
-
ie: function() {
|
874
|
-
return _populate() || _ie;
|
875
|
-
},
|
876
|
-
|
877
|
-
/**
|
878
|
-
* Check if we're in Internet Explorer compatibility mode.
|
879
|
-
*
|
880
|
-
* @return bool true if in compatibility mode, false if
|
881
|
-
* not compatibility mode or not ie
|
882
|
-
*/
|
883
|
-
ieCompatibilityMode: function() {
|
884
|
-
return _populate() || (_ie_real_version > _ie);
|
885
|
-
},
|
886
|
-
|
887
|
-
|
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
|
914
|
+
* 'wheel' -- Chrome(31+), FF(17+), IE(9+)
|
915
|
+
* 'mousewheel' -- Chrome, IE(6+), Opera, Safari
|
916
|
+
* 'MozMousePixelScroll' -- FF(3.5 only!) (2010-2013) -- don't bother!
|
917
|
+
* 'DOMMouseScroll' -- FF(0.9.7+) since 2003
|
1121
918
|
*
|
1122
919
|
* So what to do? The is the best:
|
1123
920
|
*
|
@@ -1265,34 +1062,49 @@ module.exports = normalizeWheel;
|
|
1265
1062
|
|
1266
1063
|
/***/ }),
|
1267
1064
|
|
1268
|
-
/***/
|
1269
|
-
/***/ ((
|
1065
|
+
/***/ 5153:
|
1066
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1067
|
+
|
1068
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1069
|
+
/* harmony export */ "default": () => (/* binding */ _toConsumableArray)
|
1070
|
+
/* harmony export */ });
|
1071
|
+
/* harmony import */ var _arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3492);
|
1072
|
+
/* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4430);
|
1073
|
+
/* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7985);
|
1074
|
+
/* harmony import */ var _nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(2880);
|
1270
1075
|
|
1271
|
-
|
1272
|
-
|
1273
|
-
|
1076
|
+
|
1077
|
+
|
1078
|
+
|
1079
|
+
function _toConsumableArray(arr) {
|
1080
|
+
return (0,_arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__["default"])(arr) || (0,_iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__["default"])(arr) || (0,_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__["default"])(arr) || (0,_nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__["default"])();
|
1081
|
+
}
|
1274
1082
|
|
1275
1083
|
/***/ }),
|
1276
1084
|
|
1277
|
-
/***/
|
1085
|
+
/***/ 5166:
|
1278
1086
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1279
1087
|
|
1280
|
-
var x = y => {
|
1281
|
-
var
|
1282
|
-
|
1088
|
+
var x = (y) => {
|
1089
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1090
|
+
}
|
1091
|
+
var y = (x) => (() => (x))
|
1092
|
+
module.exports = x({ ["PropTypes"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes), ["bkZIndexManager"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.bkZIndexManager), ["classes"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.classes), ["formItemKey"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.formItemKey), ["formKey"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.formKey), ["resolveClassName"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.resolveClassName), ["useForm"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.useForm), ["useFormItem"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.useFormItem), ["withInstallProps"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstallProps) });
|
1283
1093
|
|
1284
1094
|
/***/ }),
|
1285
1095
|
|
1286
|
-
/***/
|
1096
|
+
/***/ 5286:
|
1287
1097
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1288
1098
|
|
1289
|
-
var x = y => {
|
1290
|
-
var
|
1291
|
-
|
1099
|
+
var x = (y) => {
|
1100
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1101
|
+
}
|
1102
|
+
var y = (x) => (() => (x))
|
1103
|
+
module.exports = x({ ["computed"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.computed), ["createVNode"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.createVNode), ["defineComponent"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.defineComponent), ["getCurrentInstance"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.getCurrentInstance), ["h"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.h), ["nextTick"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.nextTick), ["onBeforeUnmount"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount), ["onMounted"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.onMounted), ["provide"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.provide), ["reactive"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.reactive), ["render"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.render), ["resolveDirective"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective), ["toRefs"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.toRefs), ["withDirectives"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.withDirectives) });
|
1292
1104
|
|
1293
1105
|
/***/ }),
|
1294
1106
|
|
1295
|
-
/***/
|
1107
|
+
/***/ 6284:
|
1296
1108
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1297
1109
|
|
1298
1110
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
@@ -1306,128 +1118,296 @@ function _arrayLikeToArray(arr, len) {
|
|
1306
1118
|
|
1307
1119
|
/***/ }),
|
1308
1120
|
|
1309
|
-
/***/
|
1310
|
-
/***/ ((
|
1121
|
+
/***/ 7416:
|
1122
|
+
/***/ ((module) => {
|
1311
1123
|
|
1312
|
-
|
1313
|
-
|
1314
|
-
|
1315
|
-
|
1124
|
+
/**
|
1125
|
+
* Copyright 2004-present Facebook. All Rights Reserved.
|
1126
|
+
*
|
1127
|
+
* @providesModule UserAgent_DEPRECATED
|
1128
|
+
*/
|
1316
1129
|
|
1317
|
-
|
1318
|
-
|
1319
|
-
|
1130
|
+
/**
|
1131
|
+
* Provides entirely client-side User Agent and OS detection. You should prefer
|
1132
|
+
* the non-deprecated UserAgent module when possible, which exposes our
|
1133
|
+
* authoritative server-side PHP-based detection to the client.
|
1134
|
+
*
|
1135
|
+
* Usage is straightforward:
|
1136
|
+
*
|
1137
|
+
* if (UserAgent_DEPRECATED.ie()) {
|
1138
|
+
* // IE
|
1139
|
+
* }
|
1140
|
+
*
|
1141
|
+
* You can also do version checks:
|
1142
|
+
*
|
1143
|
+
* if (UserAgent_DEPRECATED.ie() >= 7) {
|
1144
|
+
* // IE7 or better
|
1145
|
+
* }
|
1146
|
+
*
|
1147
|
+
* The browser functions will return NaN if the browser does not match, so
|
1148
|
+
* you can also do version compares the other way:
|
1149
|
+
*
|
1150
|
+
* if (UserAgent_DEPRECATED.ie() < 7) {
|
1151
|
+
* // IE6 or worse
|
1152
|
+
* }
|
1153
|
+
*
|
1154
|
+
* Note that the version is a float and may include a minor version number,
|
1155
|
+
* so you should always use range operators to perform comparisons, not
|
1156
|
+
* strict equality.
|
1157
|
+
*
|
1158
|
+
* **Note:** You should **strongly** prefer capability detection to browser
|
1159
|
+
* version detection where it's reasonable:
|
1160
|
+
*
|
1161
|
+
* http://www.quirksmode.org/js/support.html
|
1162
|
+
*
|
1163
|
+
* Further, we have a large number of mature wrapper functions and classes
|
1164
|
+
* which abstract away many browser irregularities. Check the documentation,
|
1165
|
+
* grep for things, or ask on javascript@lists.facebook.com before writing yet
|
1166
|
+
* another copy of "event || window.event".
|
1167
|
+
*
|
1168
|
+
*/
|
1169
|
+
|
1170
|
+
var _populated = false;
|
1171
|
+
|
1172
|
+
// Browsers
|
1173
|
+
var _ie, _firefox, _opera, _webkit, _chrome;
|
1174
|
+
|
1175
|
+
// Actual IE browser for compatibility mode
|
1176
|
+
var _ie_real_version;
|
1177
|
+
|
1178
|
+
// Platforms
|
1179
|
+
var _osx, _windows, _linux, _android;
|
1180
|
+
|
1181
|
+
// Architectures
|
1182
|
+
var _win64;
|
1183
|
+
|
1184
|
+
// Devices
|
1185
|
+
var _iphone, _ipad, _native;
|
1186
|
+
|
1187
|
+
var _mobile;
|
1188
|
+
|
1189
|
+
function _populate() {
|
1190
|
+
if (_populated) {
|
1191
|
+
return;
|
1192
|
+
}
|
1193
|
+
|
1194
|
+
_populated = true;
|
1195
|
+
|
1196
|
+
// To work around buggy JS libraries that can't handle multi-digit
|
1197
|
+
// version numbers, Opera 10's user agent string claims it's Opera
|
1198
|
+
// 9, then later includes a Version/X.Y field:
|
1199
|
+
//
|
1200
|
+
// Opera/9.80 (foo) Presto/2.2.15 Version/10.10
|
1201
|
+
var uas = navigator.userAgent;
|
1202
|
+
var agent = /(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(uas);
|
1203
|
+
var os = /(Mac OS X)|(Windows)|(Linux)/.exec(uas);
|
1204
|
+
|
1205
|
+
_iphone = /\b(iPhone|iP[ao]d)/.exec(uas);
|
1206
|
+
_ipad = /\b(iP[ao]d)/.exec(uas);
|
1207
|
+
_android = /Android/i.exec(uas);
|
1208
|
+
_native = /FBAN\/\w+;/i.exec(uas);
|
1209
|
+
_mobile = /Mobile/i.exec(uas);
|
1210
|
+
|
1211
|
+
// Note that the IE team blog would have you believe you should be checking
|
1212
|
+
// for 'Win64; x64'. But MSDN then reveals that you can actually be coming
|
1213
|
+
// from either x64 or ia64; so ultimately, you should just check for Win64
|
1214
|
+
// as in indicator of whether you're in 64-bit IE. 32-bit IE on 64-bit
|
1215
|
+
// Windows will send 'WOW64' instead.
|
1216
|
+
_win64 = !!(/Win64/.exec(uas));
|
1320
1217
|
|
1321
|
-
|
1218
|
+
if (agent) {
|
1219
|
+
_ie = agent[1] ? parseFloat(agent[1]) : (
|
1220
|
+
agent[5] ? parseFloat(agent[5]) : NaN);
|
1221
|
+
// IE compatibility mode
|
1222
|
+
if (_ie && document && document.documentMode) {
|
1223
|
+
_ie = document.documentMode;
|
1224
|
+
}
|
1225
|
+
// grab the "true" ie version from the trident token if available
|
1226
|
+
var trident = /(?:Trident\/(\d+.\d+))/.exec(uas);
|
1227
|
+
_ie_real_version = trident ? parseFloat(trident[1]) + 4 : _ie;
|
1322
1228
|
|
1323
|
-
|
1324
|
-
|
1229
|
+
_firefox = agent[2] ? parseFloat(agent[2]) : NaN;
|
1230
|
+
_opera = agent[3] ? parseFloat(agent[3]) : NaN;
|
1231
|
+
_webkit = agent[4] ? parseFloat(agent[4]) : NaN;
|
1232
|
+
if (_webkit) {
|
1233
|
+
// We do not add the regexp to the above test, because it will always
|
1234
|
+
// match 'safari' only since 'AppleWebKit' appears before 'Chrome' in
|
1235
|
+
// the userAgent string.
|
1236
|
+
agent = /(?:Chrome\/(\d+\.\d+))/.exec(uas);
|
1237
|
+
_chrome = agent && agent[1] ? parseFloat(agent[1]) : NaN;
|
1238
|
+
} else {
|
1239
|
+
_chrome = NaN;
|
1240
|
+
}
|
1241
|
+
} else {
|
1242
|
+
_ie = _firefox = _opera = _chrome = _webkit = NaN;
|
1243
|
+
}
|
1325
1244
|
|
1326
|
-
|
1327
|
-
|
1328
|
-
|
1329
|
-
|
1245
|
+
if (os) {
|
1246
|
+
if (os[1]) {
|
1247
|
+
// Detect OS X version. If no version number matches, set _osx to true.
|
1248
|
+
// Version examples: 10, 10_6_1, 10.7
|
1249
|
+
// Parses version number as a float, taking only first two sets of
|
1250
|
+
// digits. If only one set of digits is found, returns just the major
|
1251
|
+
// version number.
|
1252
|
+
var ver = /(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(uas);
|
1330
1253
|
|
1331
|
-
|
1332
|
-
|
1333
|
-
|
1334
|
-
|
1335
|
-
|
1336
|
-
|
1337
|
-
configurable: true,
|
1338
|
-
writable: true
|
1339
|
-
});
|
1254
|
+
_osx = ver ? parseFloat(ver[1].replace('_', '.')) : true;
|
1255
|
+
} else {
|
1256
|
+
_osx = false;
|
1257
|
+
}
|
1258
|
+
_windows = !!os[2];
|
1259
|
+
_linux = !!os[3];
|
1340
1260
|
} else {
|
1341
|
-
|
1261
|
+
_osx = _windows = _linux = false;
|
1342
1262
|
}
|
1343
|
-
return obj;
|
1344
1263
|
}
|
1345
1264
|
|
1346
|
-
|
1265
|
+
var UserAgent_DEPRECATED = {
|
1347
1266
|
|
1348
|
-
|
1349
|
-
|
1267
|
+
/**
|
1268
|
+
* Check if the UA is Internet Explorer.
|
1269
|
+
*
|
1270
|
+
*
|
1271
|
+
* @return float|NaN Version number (if match) or NaN.
|
1272
|
+
*/
|
1273
|
+
ie: function() {
|
1274
|
+
return _populate() || _ie;
|
1275
|
+
},
|
1350
1276
|
|
1351
|
-
|
1352
|
-
|
1353
|
-
|
1354
|
-
|
1355
|
-
|
1356
|
-
|
1277
|
+
/**
|
1278
|
+
* Check if we're in Internet Explorer compatibility mode.
|
1279
|
+
*
|
1280
|
+
* @return bool true if in compatibility mode, false if
|
1281
|
+
* not compatibility mode or not ie
|
1282
|
+
*/
|
1283
|
+
ieCompatibilityMode: function() {
|
1284
|
+
return _populate() || (_ie_real_version > _ie);
|
1285
|
+
},
|
1357
1286
|
|
1358
|
-
/***/ }),
|
1359
1287
|
|
1360
|
-
|
1361
|
-
|
1288
|
+
/**
|
1289
|
+
* Whether the browser is 64-bit IE. Really, this is kind of weak sauce; we
|
1290
|
+
* only need this because Skype can't handle 64-bit IE yet. We need to remove
|
1291
|
+
* this when we don't need it -- tracked by #601957.
|
1292
|
+
*/
|
1293
|
+
ie64: function() {
|
1294
|
+
return UserAgent_DEPRECATED.ie() && _win64;
|
1295
|
+
},
|
1362
1296
|
|
1363
|
-
|
1364
|
-
|
1365
|
-
|
1366
|
-
|
1367
|
-
|
1368
|
-
|
1297
|
+
/**
|
1298
|
+
* Check if the UA is Firefox.
|
1299
|
+
*
|
1300
|
+
*
|
1301
|
+
* @return float|NaN Version number (if match) or NaN.
|
1302
|
+
*/
|
1303
|
+
firefox: function() {
|
1304
|
+
return _populate() || _firefox;
|
1305
|
+
},
|
1369
1306
|
|
1370
|
-
/***/ }),
|
1371
1307
|
|
1372
|
-
|
1373
|
-
|
1308
|
+
/**
|
1309
|
+
* Check if the UA is Opera.
|
1310
|
+
*
|
1311
|
+
*
|
1312
|
+
* @return float|NaN Version number (if match) or NaN.
|
1313
|
+
*/
|
1314
|
+
opera: function() {
|
1315
|
+
return _populate() || _opera;
|
1316
|
+
},
|
1374
1317
|
|
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
1318
|
|
1319
|
+
/**
|
1320
|
+
* Check if the UA is WebKit.
|
1321
|
+
*
|
1322
|
+
*
|
1323
|
+
* @return float|NaN Version number (if match) or NaN.
|
1324
|
+
*/
|
1325
|
+
webkit: function() {
|
1326
|
+
return _populate() || _webkit;
|
1327
|
+
},
|
1328
|
+
|
1329
|
+
/**
|
1330
|
+
* For Push
|
1331
|
+
* WILL BE REMOVED VERY SOON. Use UserAgent_DEPRECATED.webkit
|
1332
|
+
*/
|
1333
|
+
safari: function() {
|
1334
|
+
return UserAgent_DEPRECATED.webkit();
|
1335
|
+
},
|
1383
1336
|
|
1337
|
+
/**
|
1338
|
+
* Check if the UA is a Chrome browser.
|
1339
|
+
*
|
1340
|
+
*
|
1341
|
+
* @return float|NaN Version number (if match) or NaN.
|
1342
|
+
*/
|
1343
|
+
chrome : function() {
|
1344
|
+
return _populate() || _chrome;
|
1345
|
+
},
|
1384
1346
|
|
1385
1347
|
|
1386
|
-
|
1387
|
-
|
1388
|
-
|
1348
|
+
/**
|
1349
|
+
* Check if the user is running Windows.
|
1350
|
+
*
|
1351
|
+
* @return bool `true' if the user's OS is Windows.
|
1352
|
+
*/
|
1353
|
+
windows: function() {
|
1354
|
+
return _populate() || _windows;
|
1355
|
+
},
|
1389
1356
|
|
1390
|
-
/***/ }),
|
1391
1357
|
|
1392
|
-
|
1393
|
-
|
1358
|
+
/**
|
1359
|
+
* Check if the user is running Mac OS X.
|
1360
|
+
*
|
1361
|
+
* @return float|bool Returns a float if a version number is detected,
|
1362
|
+
* otherwise true/false.
|
1363
|
+
*/
|
1364
|
+
osx: function() {
|
1365
|
+
return _populate() || _osx;
|
1366
|
+
},
|
1394
1367
|
|
1395
|
-
|
1396
|
-
|
1397
|
-
|
1398
|
-
|
1368
|
+
/**
|
1369
|
+
* Check if the user is running Linux.
|
1370
|
+
*
|
1371
|
+
* @return bool `true' if the user's OS is some flavor of Linux.
|
1372
|
+
*/
|
1373
|
+
linux: function() {
|
1374
|
+
return _populate() || _linux;
|
1375
|
+
},
|
1399
1376
|
|
1400
|
-
|
1401
|
-
|
1402
|
-
|
1403
|
-
|
1404
|
-
|
1405
|
-
|
1406
|
-
|
1407
|
-
|
1408
|
-
|
1409
|
-
}
|
1377
|
+
/**
|
1378
|
+
* Check if the user is running on an iPhone or iPod platform.
|
1379
|
+
*
|
1380
|
+
* @return bool `true' if the user is running some flavor of the
|
1381
|
+
* iPhone OS.
|
1382
|
+
*/
|
1383
|
+
iphone: function() {
|
1384
|
+
return _populate() || _iphone;
|
1385
|
+
},
|
1410
1386
|
|
1411
|
-
|
1387
|
+
mobile: function() {
|
1388
|
+
return _populate() || (_iphone || _ipad || _android || _mobile);
|
1389
|
+
},
|
1412
1390
|
|
1413
|
-
|
1414
|
-
|
1391
|
+
nativeApp: function() {
|
1392
|
+
// webviews inside of the native apps
|
1393
|
+
return _populate() || _native;
|
1394
|
+
},
|
1415
1395
|
|
1416
|
-
|
1417
|
-
|
1418
|
-
|
1419
|
-
|
1420
|
-
|
1396
|
+
android: function() {
|
1397
|
+
return _populate() || _android;
|
1398
|
+
},
|
1399
|
+
|
1400
|
+
ipad: function() {
|
1401
|
+
return _populate() || _ipad;
|
1402
|
+
}
|
1403
|
+
};
|
1421
1404
|
|
1405
|
+
module.exports = UserAgent_DEPRECATED;
|
1422
1406
|
|
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
1407
|
|
1428
1408
|
/***/ }),
|
1429
1409
|
|
1430
|
-
/***/
|
1410
|
+
/***/ 7545:
|
1431
1411
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1432
1412
|
|
1433
1413
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
@@ -1445,13 +1425,13 @@ function _typeof(o) {
|
|
1445
1425
|
|
1446
1426
|
/***/ }),
|
1447
1427
|
|
1448
|
-
/***/
|
1428
|
+
/***/ 7985:
|
1449
1429
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1450
1430
|
|
1451
1431
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1452
1432
|
/* harmony export */ "default": () => (/* binding */ _unsupportedIterableToArray)
|
1453
1433
|
/* harmony export */ });
|
1454
|
-
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
1434
|
+
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6284);
|
1455
1435
|
|
1456
1436
|
function _unsupportedIterableToArray(o, minLen) {
|
1457
1437
|
if (!o) return;
|
@@ -1462,6 +1442,35 @@ function _unsupportedIterableToArray(o, minLen) {
|
|
1462
1442
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(o, minLen);
|
1463
1443
|
}
|
1464
1444
|
|
1445
|
+
/***/ }),
|
1446
|
+
|
1447
|
+
/***/ 8283:
|
1448
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1449
|
+
|
1450
|
+
module.exports = __webpack_require__(5022);
|
1451
|
+
|
1452
|
+
|
1453
|
+
/***/ }),
|
1454
|
+
|
1455
|
+
/***/ 9824:
|
1456
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1457
|
+
|
1458
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1459
|
+
/* harmony export */ "default": () => (/* binding */ toPrimitive)
|
1460
|
+
/* harmony export */ });
|
1461
|
+
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7545);
|
1462
|
+
|
1463
|
+
function toPrimitive(t, r) {
|
1464
|
+
if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t) || !t) return t;
|
1465
|
+
var e = t[Symbol.toPrimitive];
|
1466
|
+
if (void 0 !== e) {
|
1467
|
+
var i = e.call(t, r || "default");
|
1468
|
+
if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(i)) return i;
|
1469
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
1470
|
+
}
|
1471
|
+
return ("string" === r ? String : Number)(t);
|
1472
|
+
}
|
1473
|
+
|
1465
1474
|
/***/ })
|
1466
1475
|
|
1467
1476
|
/******/ });
|
@@ -1522,8 +1531,6 @@ function _unsupportedIterableToArray(o, minLen) {
|
|
1522
1531
|
/******/
|
1523
1532
|
/************************************************************************/
|
1524
1533
|
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
|
-
(() => {
|
1527
1534
|
|
1528
1535
|
// EXPORTS
|
1529
1536
|
__webpack_require__.d(__webpack_exports__, {
|
@@ -1537,14 +1544,16 @@ __webpack_require__.d(__webpack_exports__, {
|
|
1537
1544
|
});
|
1538
1545
|
|
1539
1546
|
// EXTERNAL MODULE: external "../shared"
|
1540
|
-
var shared_ = __webpack_require__(
|
1547
|
+
var shared_ = __webpack_require__(5166);
|
1541
1548
|
// EXTERNAL MODULE: external "vue"
|
1542
|
-
var external_vue_ = __webpack_require__(
|
1543
|
-
;//
|
1544
|
-
var x = y => {
|
1545
|
-
var
|
1546
|
-
|
1547
|
-
|
1549
|
+
var external_vue_ = __webpack_require__(5286);
|
1550
|
+
;// external "../config-provider"
|
1551
|
+
var x = (y) => {
|
1552
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1553
|
+
}
|
1554
|
+
var y = (x) => (() => (x))
|
1555
|
+
const config_provider_namespaceObject = x({ ["useLocale"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.useLocale), ["usePrefix"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix) });
|
1556
|
+
;// ../../packages/form/src/compose-form-item.tsx
|
1548
1557
|
/*
|
1549
1558
|
* Tencent is pleased to support the open source community by making
|
1550
1559
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -1651,16 +1660,20 @@ var isCustomComponent = function isCustomComponent(node) {
|
|
1651
1660
|
}
|
1652
1661
|
}));
|
1653
1662
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
1654
|
-
var defineProperty = __webpack_require__(
|
1655
|
-
;//
|
1656
|
-
var isBoolean_x = y => {
|
1657
|
-
var
|
1658
|
-
|
1659
|
-
|
1660
|
-
|
1661
|
-
|
1662
|
-
|
1663
|
-
|
1663
|
+
var defineProperty = __webpack_require__(4586);
|
1664
|
+
;// external "lodash/isBoolean"
|
1665
|
+
var isBoolean_x = (y) => {
|
1666
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1667
|
+
}
|
1668
|
+
var isBoolean_y = (x) => (() => (x))
|
1669
|
+
const isBoolean_namespaceObject = isBoolean_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_lodash_isBoolean_dcb66997__["default"]) });
|
1670
|
+
;// external "lodash/isString"
|
1671
|
+
var isString_x = (y) => {
|
1672
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1673
|
+
}
|
1674
|
+
var isString_y = (x) => (() => (x))
|
1675
|
+
const isString_namespaceObject = isString_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_lodash_isString_e6fa8a5b__["default"]) });
|
1676
|
+
;// ../../packages/form/src/form.tsx
|
1664
1677
|
|
1665
1678
|
|
1666
1679
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
@@ -1826,22 +1839,28 @@ var formEvents = {
|
|
1826
1839
|
}
|
1827
1840
|
}));
|
1828
1841
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
1829
|
-
var toConsumableArray = __webpack_require__(
|
1842
|
+
var toConsumableArray = __webpack_require__(5153);
|
1830
1843
|
// EXTERNAL MODULE: ../../packages/directives/src/index.ts + 7 modules
|
1831
|
-
var src = __webpack_require__(
|
1832
|
-
;//
|
1833
|
-
var icon_x = y => {
|
1834
|
-
var
|
1835
|
-
|
1836
|
-
|
1837
|
-
|
1838
|
-
|
1839
|
-
|
1840
|
-
|
1841
|
-
|
1842
|
-
var
|
1843
|
-
const
|
1844
|
-
;//
|
1844
|
+
var src = __webpack_require__(4193);
|
1845
|
+
;// external "../icon"
|
1846
|
+
var icon_x = (y) => {
|
1847
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1848
|
+
}
|
1849
|
+
var icon_y = (x) => (() => (x))
|
1850
|
+
const icon_namespaceObject = icon_x({ ["ExclamationCircleShape"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.ExclamationCircleShape) });
|
1851
|
+
;// external "lodash/get"
|
1852
|
+
var get_x = (y) => {
|
1853
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1854
|
+
}
|
1855
|
+
var get_y = (x) => (() => (x))
|
1856
|
+
const get_namespaceObject = get_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_lodash_get_9427f899__["default"]) });
|
1857
|
+
;// external "lodash/isFunction"
|
1858
|
+
var isFunction_x = (y) => {
|
1859
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1860
|
+
}
|
1861
|
+
var isFunction_y = (x) => (() => (x))
|
1862
|
+
const isFunction_namespaceObject = isFunction_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_lodash_isFunction_f90b20d6__["default"]) });
|
1863
|
+
;// ../../packages/form/src/utils.ts
|
1845
1864
|
/*
|
1846
1865
|
* Tencent is pleased to support the open source community by making
|
1847
1866
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -1873,15 +1892,19 @@ var getRuleMessage = function getRuleMessage(rule) {
|
|
1873
1892
|
}
|
1874
1893
|
return rule.message;
|
1875
1894
|
};
|
1876
|
-
;//
|
1877
|
-
var isDate_x = y => {
|
1878
|
-
var
|
1879
|
-
|
1880
|
-
|
1881
|
-
|
1882
|
-
|
1883
|
-
|
1884
|
-
|
1895
|
+
;// external "lodash/isDate"
|
1896
|
+
var isDate_x = (y) => {
|
1897
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1898
|
+
}
|
1899
|
+
var isDate_y = (x) => (() => (x))
|
1900
|
+
const isDate_namespaceObject = isDate_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_lodash_isDate_b457317b__["default"]) });
|
1901
|
+
;// external "lodash/isEmpty"
|
1902
|
+
var isEmpty_x = (y) => {
|
1903
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1904
|
+
}
|
1905
|
+
var isEmpty_y = (x) => (() => (x))
|
1906
|
+
const isEmpty_namespaceObject = isEmpty_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_lodash_isEmpty_e109fd6b__["default"]) });
|
1907
|
+
;// ../../packages/form/src/validator.ts
|
1885
1908
|
/*
|
1886
1909
|
* Tencent is pleased to support the open source community by making
|
1887
1910
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -1934,7 +1957,7 @@ const isEmpty_namespaceObject = isEmpty_x({ ["default"]: () => __WEBPACK_EXTERNA
|
|
1934
1957
|
return result;
|
1935
1958
|
}
|
1936
1959
|
});
|
1937
|
-
;//
|
1960
|
+
;// ../../packages/form/src/form-item.tsx
|
1938
1961
|
|
1939
1962
|
|
1940
1963
|
|
@@ -2318,7 +2341,7 @@ var isValid = function isValid(value) {
|
|
2318
2341
|
}, [(_this$$slots$default = (_this$$slots2 = this.$slots)["default"]) === null || _this$$slots$default === void 0 ? void 0 : _this$$slots$default.call(_this$$slots2), renderError()])]);
|
2319
2342
|
}
|
2320
2343
|
}));
|
2321
|
-
;//
|
2344
|
+
;// ../../packages/form/src/index.ts
|
2322
2345
|
/*
|
2323
2346
|
* Tencent is pleased to support the open source community by making
|
2324
2347
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -2355,8 +2378,6 @@ var BkForm = (0,shared_.withInstallProps)(src_form, {
|
|
2355
2378
|
});
|
2356
2379
|
/* harmony default export */ const form_src = (BkForm);
|
2357
2380
|
|
2358
|
-
})();
|
2359
|
-
|
2360
2381
|
var __webpack_exports__BkComposeFormItem = __webpack_exports__.BkComposeFormItem;
|
2361
2382
|
var __webpack_exports__BkForm = __webpack_exports__.BkForm;
|
2362
2383
|
var __webpack_exports__BkFormItem = __webpack_exports__.BkFormItem;
|