bkui-vue 2.0.2-beta.22 → 2.0.2-beta.23
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 +50 -76
- package/dist/index.esm.js +19536 -22010
- package/dist/index.umd.js +50 -76
- 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 +644 -672
- 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 +683 -714
- package/lib/date-picker/panel/time.d.ts +1 -1
- package/lib/date-picker/utils.d.ts +5 -17
- 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 +346 -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 +82 -90
- 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 +84 -17363
- package/lib/upload/index.js +562 -574
- package/lib/virtual-render/index.js +43 -55
- package/package.json +1 -1
- /package/dist/{style.css → cli.css} +0 -0
package/lib/date-picker/index.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
import "../styles/reset.css";
|
2
2
|
import "./date-picker.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";
|
@@ -13,183 +13,10 @@ import "../button/button.less";
|
|
13
13
|
import * as __WEBPACK_EXTERNAL_MODULE_js_calendar_b62d9a01__ from "js-calendar";
|
14
14
|
import * as __WEBPACK_EXTERNAL_MODULE_date_fns_f4130be9__ from "date-fns";
|
15
15
|
import * as __WEBPACK_EXTERNAL_MODULE_lodash_debounce_3540babe__ from "lodash/debounce";
|
16
|
+
import * as __WEBPACK_EXTERNAL_MODULE_lodash_cloneDeep_13f2b125__ from "lodash/cloneDeep";
|
16
17
|
/******/ var __webpack_modules__ = ({
|
17
18
|
|
18
|
-
/***/
|
19
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
20
|
-
|
21
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
22
|
-
/* harmony export */ "default": () => (/* binding */ toPropertyKey)
|
23
|
-
/* harmony export */ });
|
24
|
-
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7545);
|
25
|
-
/* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9824);
|
26
|
-
|
27
|
-
|
28
|
-
function toPropertyKey(t) {
|
29
|
-
var i = (0,_toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t, "string");
|
30
|
-
return "symbol" == (0,_typeof_js__WEBPACK_IMPORTED_MODULE_1__["default"])(i) ? i : String(i);
|
31
|
-
}
|
32
|
-
|
33
|
-
/***/ }),
|
34
|
-
|
35
|
-
/***/ 592:
|
36
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
37
|
-
|
38
|
-
var x = (y) => {
|
39
|
-
var x = {}; __webpack_require__.d(x, y); return x
|
40
|
-
}
|
41
|
-
var y = (x) => (() => (x))
|
42
|
-
module.exports = x({ ["$bkPopover"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__.$bkPopover) });
|
43
|
-
|
44
|
-
/***/ }),
|
45
|
-
|
46
|
-
/***/ 1043:
|
47
|
-
/***/ ((module) => {
|
48
|
-
|
49
|
-
/**
|
50
|
-
* Copyright (c) 2015, Facebook, Inc.
|
51
|
-
* All rights reserved.
|
52
|
-
*
|
53
|
-
* This source code is licensed under the BSD-style license found in the
|
54
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
55
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
56
|
-
*
|
57
|
-
* @providesModule ExecutionEnvironment
|
58
|
-
*/
|
59
|
-
|
60
|
-
/*jslint evil: true */
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
var canUseDOM = !!(
|
65
|
-
typeof window !== 'undefined' &&
|
66
|
-
window.document &&
|
67
|
-
window.document.createElement
|
68
|
-
);
|
69
|
-
|
70
|
-
/**
|
71
|
-
* Simple, lightweight module assisting with the detection and context of
|
72
|
-
* Worker. Helps avoid circular dependencies and allows code to reason about
|
73
|
-
* whether or not they are in a Worker, even if they never include the main
|
74
|
-
* `ReactWorker` dependency.
|
75
|
-
*/
|
76
|
-
var ExecutionEnvironment = {
|
77
|
-
|
78
|
-
canUseDOM: canUseDOM,
|
79
|
-
|
80
|
-
canUseWorkers: typeof Worker !== 'undefined',
|
81
|
-
|
82
|
-
canUseEventListeners:
|
83
|
-
canUseDOM && !!(window.addEventListener || window.attachEvent),
|
84
|
-
|
85
|
-
canUseViewport: canUseDOM && !!window.screen,
|
86
|
-
|
87
|
-
isInWorker: !canUseDOM // For now, this is true - might change in the future.
|
88
|
-
|
89
|
-
};
|
90
|
-
|
91
|
-
module.exports = ExecutionEnvironment;
|
92
|
-
|
93
|
-
|
94
|
-
/***/ }),
|
95
|
-
|
96
|
-
/***/ 2586:
|
97
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
98
|
-
|
99
|
-
/**
|
100
|
-
* Copyright 2013-2015, Facebook, Inc.
|
101
|
-
* All rights reserved.
|
102
|
-
*
|
103
|
-
* This source code is licensed under the BSD-style license found in the
|
104
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
105
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
106
|
-
*
|
107
|
-
* @providesModule isEventSupported
|
108
|
-
*/
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
var ExecutionEnvironment = __webpack_require__(1043);
|
113
|
-
|
114
|
-
var useHasFeature;
|
115
|
-
if (ExecutionEnvironment.canUseDOM) {
|
116
|
-
useHasFeature =
|
117
|
-
document.implementation &&
|
118
|
-
document.implementation.hasFeature &&
|
119
|
-
// always returns true in newer browsers as per the standard.
|
120
|
-
// @see http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature
|
121
|
-
document.implementation.hasFeature('', '') !== true;
|
122
|
-
}
|
123
|
-
|
124
|
-
/**
|
125
|
-
* Checks if an event is supported in the current execution environment.
|
126
|
-
*
|
127
|
-
* NOTE: This will not work correctly for non-generic events such as `change`,
|
128
|
-
* `reset`, `load`, `error`, and `select`.
|
129
|
-
*
|
130
|
-
* Borrows from Modernizr.
|
131
|
-
*
|
132
|
-
* @param {string} eventNameSuffix Event name, e.g. "click".
|
133
|
-
* @param {?boolean} capture Check if the capture phase is supported.
|
134
|
-
* @return {boolean} True if the event is supported.
|
135
|
-
* @internal
|
136
|
-
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
137
|
-
*/
|
138
|
-
function isEventSupported(eventNameSuffix, capture) {
|
139
|
-
if (!ExecutionEnvironment.canUseDOM ||
|
140
|
-
capture && !('addEventListener' in document)) {
|
141
|
-
return false;
|
142
|
-
}
|
143
|
-
|
144
|
-
var eventName = 'on' + eventNameSuffix;
|
145
|
-
var isSupported = eventName in document;
|
146
|
-
|
147
|
-
if (!isSupported) {
|
148
|
-
var element = document.createElement('div');
|
149
|
-
element.setAttribute(eventName, 'return;');
|
150
|
-
isSupported = typeof element[eventName] === 'function';
|
151
|
-
}
|
152
|
-
|
153
|
-
if (!isSupported && useHasFeature && eventNameSuffix === 'wheel') {
|
154
|
-
// This is the only way to test support for the `wheel` event in IE9+.
|
155
|
-
isSupported = document.implementation.hasFeature('Events.wheel', '3.0');
|
156
|
-
}
|
157
|
-
|
158
|
-
return isSupported;
|
159
|
-
}
|
160
|
-
|
161
|
-
module.exports = isEventSupported;
|
162
|
-
|
163
|
-
|
164
|
-
/***/ }),
|
165
|
-
|
166
|
-
/***/ 2880:
|
167
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
168
|
-
|
169
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
170
|
-
/* harmony export */ "default": () => (/* binding */ _nonIterableSpread)
|
171
|
-
/* harmony export */ });
|
172
|
-
function _nonIterableSpread() {
|
173
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
174
|
-
}
|
175
|
-
|
176
|
-
/***/ }),
|
177
|
-
|
178
|
-
/***/ 3492:
|
179
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
180
|
-
|
181
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
182
|
-
/* harmony export */ "default": () => (/* binding */ _arrayWithoutHoles)
|
183
|
-
/* harmony export */ });
|
184
|
-
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6284);
|
185
|
-
|
186
|
-
function _arrayWithoutHoles(arr) {
|
187
|
-
if (Array.isArray(arr)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(arr);
|
188
|
-
}
|
189
|
-
|
190
|
-
/***/ }),
|
191
|
-
|
192
|
-
/***/ 4193:
|
19
|
+
/***/ 668:
|
193
20
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
194
21
|
|
195
22
|
|
@@ -200,7 +27,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
200
27
|
|
201
28
|
// UNUSED EXPORTS: bkEllipsis, bkEllipsisInstance, bkLoading, bkTooltips, mousewheel, overflowTitle
|
202
29
|
|
203
|
-
;// ../../packages/directives/src/clickoutside.ts
|
30
|
+
;// CONCATENATED MODULE: ../../packages/directives/src/clickoutside.ts
|
204
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; } } }; }
|
205
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); }
|
206
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; }
|
@@ -327,10 +154,10 @@ ClickOutside.install = function (app) {
|
|
327
154
|
};
|
328
155
|
/* harmony default export */ const clickoutside = (ClickOutside);
|
329
156
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
330
|
-
var esm_typeof = __webpack_require__(
|
157
|
+
var esm_typeof = __webpack_require__(6522);
|
331
158
|
// EXTERNAL MODULE: external "../popover"
|
332
|
-
var popover_ = __webpack_require__(
|
333
|
-
;// ../../packages/directives/src/ellipsis.ts
|
159
|
+
var popover_ = __webpack_require__(563);
|
160
|
+
;// CONCATENATED MODULE: ../../packages/directives/src/ellipsis.ts
|
334
161
|
|
335
162
|
/*
|
336
163
|
* Tencent is pleased to support the open source community by making
|
@@ -441,9 +268,9 @@ var ellipsis = {
|
|
441
268
|
};
|
442
269
|
/* harmony default export */ const src_ellipsis = ((/* unused pure expression or super */ null && (ellipsis)));
|
443
270
|
// EXTERNAL MODULE: ../../node_modules/normalize-wheel/index.js
|
444
|
-
var normalize_wheel = __webpack_require__(
|
271
|
+
var normalize_wheel = __webpack_require__(2439);
|
445
272
|
var normalize_wheel_default = /*#__PURE__*/__webpack_require__.n(normalize_wheel);
|
446
|
-
;// ../../packages/directives/src/mousewheel.ts
|
273
|
+
;// CONCATENATED MODULE: ../../packages/directives/src/mousewheel.ts
|
447
274
|
/*
|
448
275
|
* Tencent is pleased to support the open source community by making
|
449
276
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -486,20 +313,18 @@ var mousewheel = {
|
|
486
313
|
};
|
487
314
|
/* harmony default export */ const src_mousewheel = ((/* unused pure expression or super */ null && (mousewheel)));
|
488
315
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
489
|
-
var defineProperty = __webpack_require__(
|
316
|
+
var defineProperty = __webpack_require__(6666);
|
490
317
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
491
|
-
var toConsumableArray = __webpack_require__(
|
318
|
+
var toConsumableArray = __webpack_require__(7930);
|
492
319
|
// EXTERNAL MODULE: external "vue"
|
493
|
-
var external_vue_ = __webpack_require__(
|
320
|
+
var external_vue_ = __webpack_require__(6609);
|
494
321
|
// EXTERNAL MODULE: external "../shared"
|
495
|
-
var shared_ = __webpack_require__(
|
496
|
-
;// external "@popperjs/core"
|
497
|
-
var x = (y)
|
498
|
-
|
499
|
-
}
|
500
|
-
|
501
|
-
const core_namespaceObject = x({ ["createPopper"]: () => (__WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__.createPopper) });
|
502
|
-
;// ../../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
|
503
328
|
|
504
329
|
|
505
330
|
|
@@ -788,19 +613,15 @@ function hide(el) {
|
|
788
613
|
}
|
789
614
|
}
|
790
615
|
/* harmony default export */ const src_tooltips = ((/* unused pure expression or super */ null && (tooltips)));
|
791
|
-
;// external "../loading"
|
792
|
-
var external_loading_x = (y)
|
793
|
-
|
794
|
-
}
|
795
|
-
var external_loading_y = (x) => (() => (x))
|
616
|
+
;// CONCATENATED MODULE: external "../loading"
|
617
|
+
var external_loading_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
618
|
+
var external_loading_y = x => () => x
|
796
619
|
const external_loading_namespaceObject = external_loading_x({ });
|
797
|
-
;// external "../overflow-title"
|
798
|
-
var external_overflow_title_x = (y)
|
799
|
-
|
800
|
-
}
|
801
|
-
var external_overflow_title_y = (x) => (() => (x))
|
620
|
+
;// CONCATENATED MODULE: external "../overflow-title"
|
621
|
+
var external_overflow_title_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
622
|
+
var external_overflow_title_y = x => () => x
|
802
623
|
const external_overflow_title_namespaceObject = external_overflow_title_x({ });
|
803
|
-
;// ../../packages/directives/src/index.ts
|
624
|
+
;// CONCATENATED MODULE: ../../packages/directives/src/index.ts
|
804
625
|
/*
|
805
626
|
* Tencent is pleased to support the open source community by making
|
806
627
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -836,45 +657,16 @@ const external_overflow_title_namespaceObject = external_overflow_title_x({ });
|
|
836
657
|
|
837
658
|
/***/ }),
|
838
659
|
|
839
|
-
/***/
|
840
|
-
/***/ ((
|
841
|
-
|
842
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
843
|
-
/* harmony export */ "default": () => (/* binding */ _iterableToArray)
|
844
|
-
/* harmony export */ });
|
845
|
-
function _iterableToArray(iter) {
|
846
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
847
|
-
}
|
848
|
-
|
849
|
-
/***/ }),
|
850
|
-
|
851
|
-
/***/ 4586:
|
852
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
660
|
+
/***/ 2439:
|
661
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
853
662
|
|
854
|
-
|
855
|
-
/* harmony export */ "default": () => (/* binding */ _defineProperty)
|
856
|
-
/* harmony export */ });
|
857
|
-
/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(205);
|
663
|
+
module.exports = __webpack_require__(2527);
|
858
664
|
|
859
|
-
function _defineProperty(obj, key, value) {
|
860
|
-
key = (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["default"])(key);
|
861
|
-
if (key in obj) {
|
862
|
-
Object.defineProperty(obj, key, {
|
863
|
-
value: value,
|
864
|
-
enumerable: true,
|
865
|
-
configurable: true,
|
866
|
-
writable: true
|
867
|
-
});
|
868
|
-
} else {
|
869
|
-
obj[key] = value;
|
870
|
-
}
|
871
|
-
return obj;
|
872
|
-
}
|
873
665
|
|
874
666
|
/***/ }),
|
875
667
|
|
876
|
-
/***/
|
877
|
-
/***/ ((module
|
668
|
+
/***/ 7430:
|
669
|
+
/***/ ((module) => {
|
878
670
|
|
879
671
|
/**
|
880
672
|
* Copyright (c) 2015, Facebook, Inc.
|
@@ -884,260 +676,66 @@ function _defineProperty(obj, key, value) {
|
|
884
676
|
* LICENSE file in the root directory of this source tree. An additional grant
|
885
677
|
* of patent rights can be found in the PATENTS file in the same directory.
|
886
678
|
*
|
887
|
-
* @providesModule
|
888
|
-
|
679
|
+
* @providesModule ExecutionEnvironment
|
680
|
+
*/
|
681
|
+
|
682
|
+
/*jslint evil: true */
|
683
|
+
|
684
|
+
|
685
|
+
|
686
|
+
var canUseDOM = !!(
|
687
|
+
typeof window !== 'undefined' &&
|
688
|
+
window.document &&
|
689
|
+
window.document.createElement
|
690
|
+
);
|
691
|
+
|
692
|
+
/**
|
693
|
+
* Simple, lightweight module assisting with the detection and context of
|
694
|
+
* Worker. Helps avoid circular dependencies and allows code to reason about
|
695
|
+
* whether or not they are in a Worker, even if they never include the main
|
696
|
+
* `ReactWorker` dependency.
|
889
697
|
*/
|
698
|
+
var ExecutionEnvironment = {
|
890
699
|
|
700
|
+
canUseDOM: canUseDOM,
|
891
701
|
|
702
|
+
canUseWorkers: typeof Worker !== 'undefined',
|
892
703
|
|
893
|
-
|
704
|
+
canUseEventListeners:
|
705
|
+
canUseDOM && !!(window.addEventListener || window.attachEvent),
|
894
706
|
|
895
|
-
|
707
|
+
canUseViewport: canUseDOM && !!window.screen,
|
896
708
|
|
709
|
+
isInWorker: !canUseDOM // For now, this is true - might change in the future.
|
897
710
|
|
898
|
-
|
899
|
-
|
900
|
-
|
901
|
-
|
711
|
+
};
|
712
|
+
|
713
|
+
module.exports = ExecutionEnvironment;
|
714
|
+
|
715
|
+
|
716
|
+
/***/ }),
|
717
|
+
|
718
|
+
/***/ 6377:
|
719
|
+
/***/ ((module) => {
|
902
720
|
|
903
721
|
/**
|
904
|
-
*
|
905
|
-
* complicated, thus this doc is long and (hopefully) detailed enough to answer
|
906
|
-
* your questions.
|
722
|
+
* Copyright 2004-present Facebook. All Rights Reserved.
|
907
723
|
*
|
908
|
-
*
|
909
|
-
|
724
|
+
* @providesModule UserAgent_DEPRECATED
|
725
|
+
*/
|
726
|
+
|
727
|
+
/**
|
728
|
+
* Provides entirely client-side User Agent and OS detection. You should prefer
|
729
|
+
* the non-deprecated UserAgent module when possible, which exposes our
|
730
|
+
* authoritative server-side PHP-based detection to the client.
|
910
731
|
*
|
911
|
-
*
|
732
|
+
* Usage is straightforward:
|
912
733
|
*
|
913
|
-
*
|
914
|
-
*
|
915
|
-
*
|
916
|
-
* 'DOMMouseScroll' -- FF(0.9.7+) since 2003
|
734
|
+
* if (UserAgent_DEPRECATED.ie()) {
|
735
|
+
* // IE
|
736
|
+
* }
|
917
737
|
*
|
918
|
-
*
|
919
|
-
*
|
920
|
-
* normalizeWheel.getEventType();
|
921
|
-
*
|
922
|
-
* In your event callback, use this code to get sane interpretation of the
|
923
|
-
* deltas. This code will return an object with properties:
|
924
|
-
*
|
925
|
-
* spinX -- normalized spin speed (use for zoom) - x plane
|
926
|
-
* spinY -- " - y plane
|
927
|
-
* pixelX -- normalized distance (to pixels) - x plane
|
928
|
-
* pixelY -- " - y plane
|
929
|
-
*
|
930
|
-
* Wheel values are provided by the browser assuming you are using the wheel to
|
931
|
-
* scroll a web page by a number of lines or pixels (or pages). Values can vary
|
932
|
-
* significantly on different platforms and browsers, forgetting that you can
|
933
|
-
* scroll at different speeds. Some devices (like trackpads) emit more events
|
934
|
-
* at smaller increments with fine granularity, and some emit massive jumps with
|
935
|
-
* linear speed or acceleration.
|
936
|
-
*
|
937
|
-
* This code does its best to normalize the deltas for you:
|
938
|
-
*
|
939
|
-
* - spin is trying to normalize how far the wheel was spun (or trackpad
|
940
|
-
* dragged). This is super useful for zoom support where you want to
|
941
|
-
* throw away the chunky scroll steps on the PC and make those equal to
|
942
|
-
* the slow and smooth tiny steps on the Mac. Key data: This code tries to
|
943
|
-
* resolve a single slow step on a wheel to 1.
|
944
|
-
*
|
945
|
-
* - pixel is normalizing the desired scroll delta in pixel units. You'll
|
946
|
-
* get the crazy differences between browsers, but at least it'll be in
|
947
|
-
* pixels!
|
948
|
-
*
|
949
|
-
* - positive value indicates scrolling DOWN/RIGHT, negative UP/LEFT. This
|
950
|
-
* should translate to positive value zooming IN, negative zooming OUT.
|
951
|
-
* This matches the newer 'wheel' event.
|
952
|
-
*
|
953
|
-
* Why are there spinX, spinY (or pixels)?
|
954
|
-
*
|
955
|
-
* - spinX is a 2-finger side drag on the trackpad, and a shift + wheel turn
|
956
|
-
* with a mouse. It results in side-scrolling in the browser by default.
|
957
|
-
*
|
958
|
-
* - spinY is what you expect -- it's the classic axis of a mouse wheel.
|
959
|
-
*
|
960
|
-
* - I dropped spinZ/pixelZ. It is supported by the DOM 3 'wheel' event and
|
961
|
-
* probably is by browsers in conjunction with fancy 3D controllers .. but
|
962
|
-
* you know.
|
963
|
-
*
|
964
|
-
* Implementation info:
|
965
|
-
*
|
966
|
-
* Examples of 'wheel' event if you scroll slowly (down) by one step with an
|
967
|
-
* average mouse:
|
968
|
-
*
|
969
|
-
* OS X + Chrome (mouse) - 4 pixel delta (wheelDelta -120)
|
970
|
-
* OS X + Safari (mouse) - N/A pixel delta (wheelDelta -12)
|
971
|
-
* OS X + Firefox (mouse) - 0.1 line delta (wheelDelta N/A)
|
972
|
-
* Win8 + Chrome (mouse) - 100 pixel delta (wheelDelta -120)
|
973
|
-
* Win8 + Firefox (mouse) - 3 line delta (wheelDelta -120)
|
974
|
-
*
|
975
|
-
* On the trackpad:
|
976
|
-
*
|
977
|
-
* OS X + Chrome (trackpad) - 2 pixel delta (wheelDelta -6)
|
978
|
-
* OS X + Firefox (trackpad) - 1 pixel delta (wheelDelta N/A)
|
979
|
-
*
|
980
|
-
* On other/older browsers.. it's more complicated as there can be multiple and
|
981
|
-
* also missing delta values.
|
982
|
-
*
|
983
|
-
* The 'wheel' event is more standard:
|
984
|
-
*
|
985
|
-
* http://www.w3.org/TR/DOM-Level-3-Events/#events-wheelevents
|
986
|
-
*
|
987
|
-
* The basics is that it includes a unit, deltaMode (pixels, lines, pages), and
|
988
|
-
* deltaX, deltaY and deltaZ. Some browsers provide other values to maintain
|
989
|
-
* backward compatibility with older events. Those other values help us
|
990
|
-
* better normalize spin speed. Example of what the browsers provide:
|
991
|
-
*
|
992
|
-
* | event.wheelDelta | event.detail
|
993
|
-
* ------------------+------------------+--------------
|
994
|
-
* Safari v5/OS X | -120 | 0
|
995
|
-
* Safari v5/Win7 | -120 | 0
|
996
|
-
* Chrome v17/OS X | -120 | 0
|
997
|
-
* Chrome v17/Win7 | -120 | 0
|
998
|
-
* IE9/Win7 | -120 | undefined
|
999
|
-
* Firefox v4/OS X | undefined | 1
|
1000
|
-
* Firefox v4/Win7 | undefined | 3
|
1001
|
-
*
|
1002
|
-
*/
|
1003
|
-
function normalizeWheel(/*object*/ event) /*object*/ {
|
1004
|
-
var sX = 0, sY = 0, // spinX, spinY
|
1005
|
-
pX = 0, pY = 0; // pixelX, pixelY
|
1006
|
-
|
1007
|
-
// Legacy
|
1008
|
-
if ('detail' in event) { sY = event.detail; }
|
1009
|
-
if ('wheelDelta' in event) { sY = -event.wheelDelta / 120; }
|
1010
|
-
if ('wheelDeltaY' in event) { sY = -event.wheelDeltaY / 120; }
|
1011
|
-
if ('wheelDeltaX' in event) { sX = -event.wheelDeltaX / 120; }
|
1012
|
-
|
1013
|
-
// side scrolling on FF with DOMMouseScroll
|
1014
|
-
if ( 'axis' in event && event.axis === event.HORIZONTAL_AXIS ) {
|
1015
|
-
sX = sY;
|
1016
|
-
sY = 0;
|
1017
|
-
}
|
1018
|
-
|
1019
|
-
pX = sX * PIXEL_STEP;
|
1020
|
-
pY = sY * PIXEL_STEP;
|
1021
|
-
|
1022
|
-
if ('deltaY' in event) { pY = event.deltaY; }
|
1023
|
-
if ('deltaX' in event) { pX = event.deltaX; }
|
1024
|
-
|
1025
|
-
if ((pX || pY) && event.deltaMode) {
|
1026
|
-
if (event.deltaMode == 1) { // delta in LINE units
|
1027
|
-
pX *= LINE_HEIGHT;
|
1028
|
-
pY *= LINE_HEIGHT;
|
1029
|
-
} else { // delta in PAGE units
|
1030
|
-
pX *= PAGE_HEIGHT;
|
1031
|
-
pY *= PAGE_HEIGHT;
|
1032
|
-
}
|
1033
|
-
}
|
1034
|
-
|
1035
|
-
// Fall-back if spin cannot be determined
|
1036
|
-
if (pX && !sX) { sX = (pX < 1) ? -1 : 1; }
|
1037
|
-
if (pY && !sY) { sY = (pY < 1) ? -1 : 1; }
|
1038
|
-
|
1039
|
-
return { spinX : sX,
|
1040
|
-
spinY : sY,
|
1041
|
-
pixelX : pX,
|
1042
|
-
pixelY : pY };
|
1043
|
-
}
|
1044
|
-
|
1045
|
-
|
1046
|
-
/**
|
1047
|
-
* The best combination if you prefer spinX + spinY normalization. It favors
|
1048
|
-
* the older DOMMouseScroll for Firefox, as FF does not include wheelDelta with
|
1049
|
-
* 'wheel' event, making spin speed determination impossible.
|
1050
|
-
*/
|
1051
|
-
normalizeWheel.getEventType = function() /*string*/ {
|
1052
|
-
return (UserAgent_DEPRECATED.firefox())
|
1053
|
-
? 'DOMMouseScroll'
|
1054
|
-
: (isEventSupported('wheel'))
|
1055
|
-
? 'wheel'
|
1056
|
-
: 'mousewheel';
|
1057
|
-
};
|
1058
|
-
|
1059
|
-
module.exports = normalizeWheel;
|
1060
|
-
|
1061
|
-
|
1062
|
-
/***/ }),
|
1063
|
-
|
1064
|
-
/***/ 5153:
|
1065
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1066
|
-
|
1067
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1068
|
-
/* harmony export */ "default": () => (/* binding */ _toConsumableArray)
|
1069
|
-
/* harmony export */ });
|
1070
|
-
/* harmony import */ var _arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3492);
|
1071
|
-
/* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4430);
|
1072
|
-
/* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7985);
|
1073
|
-
/* harmony import */ var _nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(2880);
|
1074
|
-
|
1075
|
-
|
1076
|
-
|
1077
|
-
|
1078
|
-
function _toConsumableArray(arr) {
|
1079
|
-
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"])();
|
1080
|
-
}
|
1081
|
-
|
1082
|
-
/***/ }),
|
1083
|
-
|
1084
|
-
/***/ 5166:
|
1085
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1086
|
-
|
1087
|
-
var x = (y) => {
|
1088
|
-
var x = {}; __webpack_require__.d(x, y); return x
|
1089
|
-
}
|
1090
|
-
var y = (x) => (() => (x))
|
1091
|
-
module.exports = x({ ["BKPopover"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.BKPopover), ["bkZIndexManager"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.bkZIndexManager), ["capitalize"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.capitalize), ["getFullscreenRoot"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.getFullscreenRoot), ["resolveClassName"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.resolveClassName), ["scrollTop"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.scrollTop), ["useFormItem"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.useFormItem), ["withInstall"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall) });
|
1092
|
-
|
1093
|
-
/***/ }),
|
1094
|
-
|
1095
|
-
/***/ 5286:
|
1096
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1097
|
-
|
1098
|
-
var x = (y) => {
|
1099
|
-
var x = {}; __webpack_require__.d(x, y); return x
|
1100
|
-
}
|
1101
|
-
var y = (x) => (() => (x))
|
1102
|
-
module.exports = x({ ["Fragment"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.Fragment), ["Teleport"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.Teleport), ["Transition"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.Transition), ["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), ["inject"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.inject), ["mergeProps"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.mergeProps), ["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), ["ref"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.ref), ["render"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.render), ["resolveDirective"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective), ["toRefs"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.toRefs), ["vShow"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.vShow), ["watch"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.watch), ["withDirectives"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.withDirectives) });
|
1103
|
-
|
1104
|
-
/***/ }),
|
1105
|
-
|
1106
|
-
/***/ 6284:
|
1107
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1108
|
-
|
1109
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1110
|
-
/* harmony export */ "default": () => (/* binding */ _arrayLikeToArray)
|
1111
|
-
/* harmony export */ });
|
1112
|
-
function _arrayLikeToArray(arr, len) {
|
1113
|
-
if (len == null || len > arr.length) len = arr.length;
|
1114
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
1115
|
-
return arr2;
|
1116
|
-
}
|
1117
|
-
|
1118
|
-
/***/ }),
|
1119
|
-
|
1120
|
-
/***/ 7416:
|
1121
|
-
/***/ ((module) => {
|
1122
|
-
|
1123
|
-
/**
|
1124
|
-
* Copyright 2004-present Facebook. All Rights Reserved.
|
1125
|
-
*
|
1126
|
-
* @providesModule UserAgent_DEPRECATED
|
1127
|
-
*/
|
1128
|
-
|
1129
|
-
/**
|
1130
|
-
* Provides entirely client-side User Agent and OS detection. You should prefer
|
1131
|
-
* the non-deprecated UserAgent module when possible, which exposes our
|
1132
|
-
* authoritative server-side PHP-based detection to the client.
|
1133
|
-
*
|
1134
|
-
* Usage is straightforward:
|
1135
|
-
*
|
1136
|
-
* if (UserAgent_DEPRECATED.ie()) {
|
1137
|
-
* // IE
|
1138
|
-
* }
|
1139
|
-
*
|
1140
|
-
* You can also do version checks:
|
738
|
+
* You can also do version checks:
|
1141
739
|
*
|
1142
740
|
* if (UserAgent_DEPRECATED.ie() >= 7) {
|
1143
741
|
* // IE7 or better
|
@@ -1284,180 +882,517 @@ var UserAgent_DEPRECATED = {
|
|
1284
882
|
},
|
1285
883
|
|
1286
884
|
|
1287
|
-
/**
|
1288
|
-
* Whether the browser is 64-bit IE. Really, this is kind of weak sauce; we
|
1289
|
-
* only need this because Skype can't handle 64-bit IE yet. We need to remove
|
1290
|
-
* this when we don't need it -- tracked by #601957.
|
1291
|
-
*/
|
1292
|
-
ie64: function() {
|
1293
|
-
return UserAgent_DEPRECATED.ie() && _win64;
|
1294
|
-
},
|
885
|
+
/**
|
886
|
+
* Whether the browser is 64-bit IE. Really, this is kind of weak sauce; we
|
887
|
+
* only need this because Skype can't handle 64-bit IE yet. We need to remove
|
888
|
+
* this when we don't need it -- tracked by #601957.
|
889
|
+
*/
|
890
|
+
ie64: function() {
|
891
|
+
return UserAgent_DEPRECATED.ie() && _win64;
|
892
|
+
},
|
893
|
+
|
894
|
+
/**
|
895
|
+
* Check if the UA is Firefox.
|
896
|
+
*
|
897
|
+
*
|
898
|
+
* @return float|NaN Version number (if match) or NaN.
|
899
|
+
*/
|
900
|
+
firefox: function() {
|
901
|
+
return _populate() || _firefox;
|
902
|
+
},
|
903
|
+
|
904
|
+
|
905
|
+
/**
|
906
|
+
* Check if the UA is Opera.
|
907
|
+
*
|
908
|
+
*
|
909
|
+
* @return float|NaN Version number (if match) or NaN.
|
910
|
+
*/
|
911
|
+
opera: function() {
|
912
|
+
return _populate() || _opera;
|
913
|
+
},
|
914
|
+
|
915
|
+
|
916
|
+
/**
|
917
|
+
* Check if the UA is WebKit.
|
918
|
+
*
|
919
|
+
*
|
920
|
+
* @return float|NaN Version number (if match) or NaN.
|
921
|
+
*/
|
922
|
+
webkit: function() {
|
923
|
+
return _populate() || _webkit;
|
924
|
+
},
|
925
|
+
|
926
|
+
/**
|
927
|
+
* For Push
|
928
|
+
* WILL BE REMOVED VERY SOON. Use UserAgent_DEPRECATED.webkit
|
929
|
+
*/
|
930
|
+
safari: function() {
|
931
|
+
return UserAgent_DEPRECATED.webkit();
|
932
|
+
},
|
933
|
+
|
934
|
+
/**
|
935
|
+
* Check if the UA is a Chrome browser.
|
936
|
+
*
|
937
|
+
*
|
938
|
+
* @return float|NaN Version number (if match) or NaN.
|
939
|
+
*/
|
940
|
+
chrome : function() {
|
941
|
+
return _populate() || _chrome;
|
942
|
+
},
|
943
|
+
|
944
|
+
|
945
|
+
/**
|
946
|
+
* Check if the user is running Windows.
|
947
|
+
*
|
948
|
+
* @return bool `true' if the user's OS is Windows.
|
949
|
+
*/
|
950
|
+
windows: function() {
|
951
|
+
return _populate() || _windows;
|
952
|
+
},
|
953
|
+
|
954
|
+
|
955
|
+
/**
|
956
|
+
* Check if the user is running Mac OS X.
|
957
|
+
*
|
958
|
+
* @return float|bool Returns a float if a version number is detected,
|
959
|
+
* otherwise true/false.
|
960
|
+
*/
|
961
|
+
osx: function() {
|
962
|
+
return _populate() || _osx;
|
963
|
+
},
|
964
|
+
|
965
|
+
/**
|
966
|
+
* Check if the user is running Linux.
|
967
|
+
*
|
968
|
+
* @return bool `true' if the user's OS is some flavor of Linux.
|
969
|
+
*/
|
970
|
+
linux: function() {
|
971
|
+
return _populate() || _linux;
|
972
|
+
},
|
973
|
+
|
974
|
+
/**
|
975
|
+
* Check if the user is running on an iPhone or iPod platform.
|
976
|
+
*
|
977
|
+
* @return bool `true' if the user is running some flavor of the
|
978
|
+
* iPhone OS.
|
979
|
+
*/
|
980
|
+
iphone: function() {
|
981
|
+
return _populate() || _iphone;
|
982
|
+
},
|
983
|
+
|
984
|
+
mobile: function() {
|
985
|
+
return _populate() || (_iphone || _ipad || _android || _mobile);
|
986
|
+
},
|
987
|
+
|
988
|
+
nativeApp: function() {
|
989
|
+
// webviews inside of the native apps
|
990
|
+
return _populate() || _native;
|
991
|
+
},
|
992
|
+
|
993
|
+
android: function() {
|
994
|
+
return _populate() || _android;
|
995
|
+
},
|
996
|
+
|
997
|
+
ipad: function() {
|
998
|
+
return _populate() || _ipad;
|
999
|
+
}
|
1000
|
+
};
|
1001
|
+
|
1002
|
+
module.exports = UserAgent_DEPRECATED;
|
1003
|
+
|
1004
|
+
|
1005
|
+
/***/ }),
|
1006
|
+
|
1007
|
+
/***/ 3541:
|
1008
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1009
|
+
|
1010
|
+
/**
|
1011
|
+
* Copyright 2013-2015, Facebook, Inc.
|
1012
|
+
* All rights reserved.
|
1013
|
+
*
|
1014
|
+
* This source code is licensed under the BSD-style license found in the
|
1015
|
+
* LICENSE file in the root directory of this source tree. An additional grant
|
1016
|
+
* of patent rights can be found in the PATENTS file in the same directory.
|
1017
|
+
*
|
1018
|
+
* @providesModule isEventSupported
|
1019
|
+
*/
|
1020
|
+
|
1021
|
+
|
1022
|
+
|
1023
|
+
var ExecutionEnvironment = __webpack_require__(7430);
|
1024
|
+
|
1025
|
+
var useHasFeature;
|
1026
|
+
if (ExecutionEnvironment.canUseDOM) {
|
1027
|
+
useHasFeature =
|
1028
|
+
document.implementation &&
|
1029
|
+
document.implementation.hasFeature &&
|
1030
|
+
// always returns true in newer browsers as per the standard.
|
1031
|
+
// @see http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature
|
1032
|
+
document.implementation.hasFeature('', '') !== true;
|
1033
|
+
}
|
1034
|
+
|
1035
|
+
/**
|
1036
|
+
* Checks if an event is supported in the current execution environment.
|
1037
|
+
*
|
1038
|
+
* NOTE: This will not work correctly for non-generic events such as `change`,
|
1039
|
+
* `reset`, `load`, `error`, and `select`.
|
1040
|
+
*
|
1041
|
+
* Borrows from Modernizr.
|
1042
|
+
*
|
1043
|
+
* @param {string} eventNameSuffix Event name, e.g. "click".
|
1044
|
+
* @param {?boolean} capture Check if the capture phase is supported.
|
1045
|
+
* @return {boolean} True if the event is supported.
|
1046
|
+
* @internal
|
1047
|
+
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
1048
|
+
*/
|
1049
|
+
function isEventSupported(eventNameSuffix, capture) {
|
1050
|
+
if (!ExecutionEnvironment.canUseDOM ||
|
1051
|
+
capture && !('addEventListener' in document)) {
|
1052
|
+
return false;
|
1053
|
+
}
|
1054
|
+
|
1055
|
+
var eventName = 'on' + eventNameSuffix;
|
1056
|
+
var isSupported = eventName in document;
|
1057
|
+
|
1058
|
+
if (!isSupported) {
|
1059
|
+
var element = document.createElement('div');
|
1060
|
+
element.setAttribute(eventName, 'return;');
|
1061
|
+
isSupported = typeof element[eventName] === 'function';
|
1062
|
+
}
|
1063
|
+
|
1064
|
+
if (!isSupported && useHasFeature && eventNameSuffix === 'wheel') {
|
1065
|
+
// This is the only way to test support for the `wheel` event in IE9+.
|
1066
|
+
isSupported = document.implementation.hasFeature('Events.wheel', '3.0');
|
1067
|
+
}
|
1068
|
+
|
1069
|
+
return isSupported;
|
1070
|
+
}
|
1071
|
+
|
1072
|
+
module.exports = isEventSupported;
|
1073
|
+
|
1074
|
+
|
1075
|
+
/***/ }),
|
1076
|
+
|
1077
|
+
/***/ 2527:
|
1078
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1079
|
+
|
1080
|
+
/**
|
1081
|
+
* Copyright (c) 2015, Facebook, Inc.
|
1082
|
+
* All rights reserved.
|
1083
|
+
*
|
1084
|
+
* This source code is licensed under the BSD-style license found in the
|
1085
|
+
* LICENSE file in the root directory of this source tree. An additional grant
|
1086
|
+
* of patent rights can be found in the PATENTS file in the same directory.
|
1087
|
+
*
|
1088
|
+
* @providesModule normalizeWheel
|
1089
|
+
* @typechecks
|
1090
|
+
*/
|
1091
|
+
|
1092
|
+
|
1093
|
+
|
1094
|
+
var UserAgent_DEPRECATED = __webpack_require__(6377);
|
1095
|
+
|
1096
|
+
var isEventSupported = __webpack_require__(3541);
|
1097
|
+
|
1098
|
+
|
1099
|
+
// Reasonable defaults
|
1100
|
+
var PIXEL_STEP = 10;
|
1101
|
+
var LINE_HEIGHT = 40;
|
1102
|
+
var PAGE_HEIGHT = 800;
|
1103
|
+
|
1104
|
+
/**
|
1105
|
+
* Mouse wheel (and 2-finger trackpad) support on the web sucks. It is
|
1106
|
+
* complicated, thus this doc is long and (hopefully) detailed enough to answer
|
1107
|
+
* your questions.
|
1108
|
+
*
|
1109
|
+
* If you need to react to the mouse wheel in a predictable way, this code is
|
1110
|
+
* like your bestest friend. * hugs *
|
1111
|
+
*
|
1112
|
+
* As of today, there are 4 DOM event types you can listen to:
|
1113
|
+
*
|
1114
|
+
* 'wheel' -- Chrome(31+), FF(17+), IE(9+)
|
1115
|
+
* 'mousewheel' -- Chrome, IE(6+), Opera, Safari
|
1116
|
+
* 'MozMousePixelScroll' -- FF(3.5 only!) (2010-2013) -- don't bother!
|
1117
|
+
* 'DOMMouseScroll' -- FF(0.9.7+) since 2003
|
1118
|
+
*
|
1119
|
+
* So what to do? The is the best:
|
1120
|
+
*
|
1121
|
+
* normalizeWheel.getEventType();
|
1122
|
+
*
|
1123
|
+
* In your event callback, use this code to get sane interpretation of the
|
1124
|
+
* deltas. This code will return an object with properties:
|
1125
|
+
*
|
1126
|
+
* spinX -- normalized spin speed (use for zoom) - x plane
|
1127
|
+
* spinY -- " - y plane
|
1128
|
+
* pixelX -- normalized distance (to pixels) - x plane
|
1129
|
+
* pixelY -- " - y plane
|
1130
|
+
*
|
1131
|
+
* Wheel values are provided by the browser assuming you are using the wheel to
|
1132
|
+
* scroll a web page by a number of lines or pixels (or pages). Values can vary
|
1133
|
+
* significantly on different platforms and browsers, forgetting that you can
|
1134
|
+
* scroll at different speeds. Some devices (like trackpads) emit more events
|
1135
|
+
* at smaller increments with fine granularity, and some emit massive jumps with
|
1136
|
+
* linear speed or acceleration.
|
1137
|
+
*
|
1138
|
+
* This code does its best to normalize the deltas for you:
|
1139
|
+
*
|
1140
|
+
* - spin is trying to normalize how far the wheel was spun (or trackpad
|
1141
|
+
* dragged). This is super useful for zoom support where you want to
|
1142
|
+
* throw away the chunky scroll steps on the PC and make those equal to
|
1143
|
+
* the slow and smooth tiny steps on the Mac. Key data: This code tries to
|
1144
|
+
* resolve a single slow step on a wheel to 1.
|
1145
|
+
*
|
1146
|
+
* - pixel is normalizing the desired scroll delta in pixel units. You'll
|
1147
|
+
* get the crazy differences between browsers, but at least it'll be in
|
1148
|
+
* pixels!
|
1149
|
+
*
|
1150
|
+
* - positive value indicates scrolling DOWN/RIGHT, negative UP/LEFT. This
|
1151
|
+
* should translate to positive value zooming IN, negative zooming OUT.
|
1152
|
+
* This matches the newer 'wheel' event.
|
1153
|
+
*
|
1154
|
+
* Why are there spinX, spinY (or pixels)?
|
1155
|
+
*
|
1156
|
+
* - spinX is a 2-finger side drag on the trackpad, and a shift + wheel turn
|
1157
|
+
* with a mouse. It results in side-scrolling in the browser by default.
|
1158
|
+
*
|
1159
|
+
* - spinY is what you expect -- it's the classic axis of a mouse wheel.
|
1160
|
+
*
|
1161
|
+
* - I dropped spinZ/pixelZ. It is supported by the DOM 3 'wheel' event and
|
1162
|
+
* probably is by browsers in conjunction with fancy 3D controllers .. but
|
1163
|
+
* you know.
|
1164
|
+
*
|
1165
|
+
* Implementation info:
|
1166
|
+
*
|
1167
|
+
* Examples of 'wheel' event if you scroll slowly (down) by one step with an
|
1168
|
+
* average mouse:
|
1169
|
+
*
|
1170
|
+
* OS X + Chrome (mouse) - 4 pixel delta (wheelDelta -120)
|
1171
|
+
* OS X + Safari (mouse) - N/A pixel delta (wheelDelta -12)
|
1172
|
+
* OS X + Firefox (mouse) - 0.1 line delta (wheelDelta N/A)
|
1173
|
+
* Win8 + Chrome (mouse) - 100 pixel delta (wheelDelta -120)
|
1174
|
+
* Win8 + Firefox (mouse) - 3 line delta (wheelDelta -120)
|
1175
|
+
*
|
1176
|
+
* On the trackpad:
|
1177
|
+
*
|
1178
|
+
* OS X + Chrome (trackpad) - 2 pixel delta (wheelDelta -6)
|
1179
|
+
* OS X + Firefox (trackpad) - 1 pixel delta (wheelDelta N/A)
|
1180
|
+
*
|
1181
|
+
* On other/older browsers.. it's more complicated as there can be multiple and
|
1182
|
+
* also missing delta values.
|
1183
|
+
*
|
1184
|
+
* The 'wheel' event is more standard:
|
1185
|
+
*
|
1186
|
+
* http://www.w3.org/TR/DOM-Level-3-Events/#events-wheelevents
|
1187
|
+
*
|
1188
|
+
* The basics is that it includes a unit, deltaMode (pixels, lines, pages), and
|
1189
|
+
* deltaX, deltaY and deltaZ. Some browsers provide other values to maintain
|
1190
|
+
* backward compatibility with older events. Those other values help us
|
1191
|
+
* better normalize spin speed. Example of what the browsers provide:
|
1192
|
+
*
|
1193
|
+
* | event.wheelDelta | event.detail
|
1194
|
+
* ------------------+------------------+--------------
|
1195
|
+
* Safari v5/OS X | -120 | 0
|
1196
|
+
* Safari v5/Win7 | -120 | 0
|
1197
|
+
* Chrome v17/OS X | -120 | 0
|
1198
|
+
* Chrome v17/Win7 | -120 | 0
|
1199
|
+
* IE9/Win7 | -120 | undefined
|
1200
|
+
* Firefox v4/OS X | undefined | 1
|
1201
|
+
* Firefox v4/Win7 | undefined | 3
|
1202
|
+
*
|
1203
|
+
*/
|
1204
|
+
function normalizeWheel(/*object*/ event) /*object*/ {
|
1205
|
+
var sX = 0, sY = 0, // spinX, spinY
|
1206
|
+
pX = 0, pY = 0; // pixelX, pixelY
|
1207
|
+
|
1208
|
+
// Legacy
|
1209
|
+
if ('detail' in event) { sY = event.detail; }
|
1210
|
+
if ('wheelDelta' in event) { sY = -event.wheelDelta / 120; }
|
1211
|
+
if ('wheelDeltaY' in event) { sY = -event.wheelDeltaY / 120; }
|
1212
|
+
if ('wheelDeltaX' in event) { sX = -event.wheelDeltaX / 120; }
|
1213
|
+
|
1214
|
+
// side scrolling on FF with DOMMouseScroll
|
1215
|
+
if ( 'axis' in event && event.axis === event.HORIZONTAL_AXIS ) {
|
1216
|
+
sX = sY;
|
1217
|
+
sY = 0;
|
1218
|
+
}
|
1219
|
+
|
1220
|
+
pX = sX * PIXEL_STEP;
|
1221
|
+
pY = sY * PIXEL_STEP;
|
1222
|
+
|
1223
|
+
if ('deltaY' in event) { pY = event.deltaY; }
|
1224
|
+
if ('deltaX' in event) { pX = event.deltaX; }
|
1225
|
+
|
1226
|
+
if ((pX || pY) && event.deltaMode) {
|
1227
|
+
if (event.deltaMode == 1) { // delta in LINE units
|
1228
|
+
pX *= LINE_HEIGHT;
|
1229
|
+
pY *= LINE_HEIGHT;
|
1230
|
+
} else { // delta in PAGE units
|
1231
|
+
pX *= PAGE_HEIGHT;
|
1232
|
+
pY *= PAGE_HEIGHT;
|
1233
|
+
}
|
1234
|
+
}
|
1235
|
+
|
1236
|
+
// Fall-back if spin cannot be determined
|
1237
|
+
if (pX && !sX) { sX = (pX < 1) ? -1 : 1; }
|
1238
|
+
if (pY && !sY) { sY = (pY < 1) ? -1 : 1; }
|
1239
|
+
|
1240
|
+
return { spinX : sX,
|
1241
|
+
spinY : sY,
|
1242
|
+
pixelX : pX,
|
1243
|
+
pixelY : pY };
|
1244
|
+
}
|
1245
|
+
|
1295
1246
|
|
1296
|
-
|
1297
|
-
|
1298
|
-
|
1299
|
-
|
1300
|
-
|
1301
|
-
|
1302
|
-
|
1303
|
-
|
1304
|
-
|
1247
|
+
/**
|
1248
|
+
* The best combination if you prefer spinX + spinY normalization. It favors
|
1249
|
+
* the older DOMMouseScroll for Firefox, as FF does not include wheelDelta with
|
1250
|
+
* 'wheel' event, making spin speed determination impossible.
|
1251
|
+
*/
|
1252
|
+
normalizeWheel.getEventType = function() /*string*/ {
|
1253
|
+
return (UserAgent_DEPRECATED.firefox())
|
1254
|
+
? 'DOMMouseScroll'
|
1255
|
+
: (isEventSupported('wheel'))
|
1256
|
+
? 'wheel'
|
1257
|
+
: 'mousewheel';
|
1258
|
+
};
|
1305
1259
|
|
1260
|
+
module.exports = normalizeWheel;
|
1306
1261
|
|
1307
|
-
/**
|
1308
|
-
* Check if the UA is Opera.
|
1309
|
-
*
|
1310
|
-
*
|
1311
|
-
* @return float|NaN Version number (if match) or NaN.
|
1312
|
-
*/
|
1313
|
-
opera: function() {
|
1314
|
-
return _populate() || _opera;
|
1315
|
-
},
|
1316
1262
|
|
1263
|
+
/***/ }),
|
1317
1264
|
|
1318
|
-
|
1319
|
-
|
1320
|
-
*
|
1321
|
-
*
|
1322
|
-
* @return float|NaN Version number (if match) or NaN.
|
1323
|
-
*/
|
1324
|
-
webkit: function() {
|
1325
|
-
return _populate() || _webkit;
|
1326
|
-
},
|
1265
|
+
/***/ 563:
|
1266
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1327
1267
|
|
1328
|
-
|
1329
|
-
|
1330
|
-
|
1331
|
-
*/
|
1332
|
-
safari: function() {
|
1333
|
-
return UserAgent_DEPRECATED.webkit();
|
1334
|
-
},
|
1268
|
+
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1269
|
+
var y = x => () => x
|
1270
|
+
module.exports = x({ ["$bkPopover"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__.$bkPopover });
|
1335
1271
|
|
1336
|
-
|
1337
|
-
* Check if the UA is a Chrome browser.
|
1338
|
-
*
|
1339
|
-
*
|
1340
|
-
* @return float|NaN Version number (if match) or NaN.
|
1341
|
-
*/
|
1342
|
-
chrome : function() {
|
1343
|
-
return _populate() || _chrome;
|
1344
|
-
},
|
1272
|
+
/***/ }),
|
1345
1273
|
|
1274
|
+
/***/ 9253:
|
1275
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1346
1276
|
|
1347
|
-
|
1348
|
-
|
1349
|
-
|
1350
|
-
* @return bool `true' if the user's OS is Windows.
|
1351
|
-
*/
|
1352
|
-
windows: function() {
|
1353
|
-
return _populate() || _windows;
|
1354
|
-
},
|
1277
|
+
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1278
|
+
var y = x => () => x
|
1279
|
+
module.exports = x({ ["BKPopover"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.BKPopover, ["bkZIndexManager"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.bkZIndexManager, ["capitalize"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.capitalize, ["getFullscreenRoot"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.getFullscreenRoot, ["resolveClassName"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.resolveClassName, ["scrollTop"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.scrollTop, ["useFormItem"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.useFormItem, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall });
|
1355
1280
|
|
1281
|
+
/***/ }),
|
1356
1282
|
|
1357
|
-
|
1358
|
-
|
1359
|
-
*
|
1360
|
-
* @return float|bool Returns a float if a version number is detected,
|
1361
|
-
* otherwise true/false.
|
1362
|
-
*/
|
1363
|
-
osx: function() {
|
1364
|
-
return _populate() || _osx;
|
1365
|
-
},
|
1283
|
+
/***/ 6609:
|
1284
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
1366
1285
|
|
1367
|
-
|
1368
|
-
|
1369
|
-
|
1370
|
-
* @return bool `true' if the user's OS is some flavor of Linux.
|
1371
|
-
*/
|
1372
|
-
linux: function() {
|
1373
|
-
return _populate() || _linux;
|
1374
|
-
},
|
1286
|
+
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1287
|
+
var y = x => () => x
|
1288
|
+
module.exports = x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["Teleport"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Teleport, ["Transition"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Transition, ["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, ["inject"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.inject, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["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, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["render"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.render, ["resolveDirective"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective, ["toRefs"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRefs, ["vShow"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.vShow, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
|
1375
1289
|
|
1376
|
-
|
1377
|
-
* Check if the user is running on an iPhone or iPod platform.
|
1378
|
-
*
|
1379
|
-
* @return bool `true' if the user is running some flavor of the
|
1380
|
-
* iPhone OS.
|
1381
|
-
*/
|
1382
|
-
iphone: function() {
|
1383
|
-
return _populate() || _iphone;
|
1384
|
-
},
|
1290
|
+
/***/ }),
|
1385
1291
|
|
1386
|
-
|
1387
|
-
|
1388
|
-
},
|
1292
|
+
/***/ 926:
|
1293
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1389
1294
|
|
1390
|
-
|
1391
|
-
|
1392
|
-
|
1393
|
-
|
1295
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1296
|
+
/* harmony export */ "default": () => (/* binding */ _arrayLikeToArray)
|
1297
|
+
/* harmony export */ });
|
1298
|
+
function _arrayLikeToArray(arr, len) {
|
1299
|
+
if (len == null || len > arr.length) len = arr.length;
|
1300
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
1301
|
+
return arr2;
|
1302
|
+
}
|
1394
1303
|
|
1395
|
-
|
1396
|
-
return _populate() || _android;
|
1397
|
-
},
|
1304
|
+
/***/ }),
|
1398
1305
|
|
1399
|
-
|
1400
|
-
|
1401
|
-
}
|
1402
|
-
};
|
1306
|
+
/***/ 74:
|
1307
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1403
1308
|
|
1404
|
-
|
1309
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1310
|
+
/* harmony export */ "default": () => (/* binding */ _arrayWithoutHoles)
|
1311
|
+
/* harmony export */ });
|
1312
|
+
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(926);
|
1405
1313
|
|
1314
|
+
function _arrayWithoutHoles(arr) {
|
1315
|
+
if (Array.isArray(arr)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(arr);
|
1316
|
+
}
|
1406
1317
|
|
1407
1318
|
/***/ }),
|
1408
1319
|
|
1409
|
-
/***/
|
1320
|
+
/***/ 6666:
|
1410
1321
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1411
1322
|
|
1412
1323
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1413
|
-
/* harmony export */ "default": () => (/* binding */
|
1324
|
+
/* harmony export */ "default": () => (/* binding */ _defineProperty)
|
1414
1325
|
/* harmony export */ });
|
1415
|
-
|
1416
|
-
"@babel/helpers - typeof";
|
1326
|
+
/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3795);
|
1417
1327
|
|
1418
|
-
|
1419
|
-
|
1420
|
-
|
1421
|
-
|
1422
|
-
|
1328
|
+
function _defineProperty(obj, key, value) {
|
1329
|
+
key = (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["default"])(key);
|
1330
|
+
if (key in obj) {
|
1331
|
+
Object.defineProperty(obj, key, {
|
1332
|
+
value: value,
|
1333
|
+
enumerable: true,
|
1334
|
+
configurable: true,
|
1335
|
+
writable: true
|
1336
|
+
});
|
1337
|
+
} else {
|
1338
|
+
obj[key] = value;
|
1339
|
+
}
|
1340
|
+
return obj;
|
1423
1341
|
}
|
1424
1342
|
|
1425
1343
|
/***/ }),
|
1426
1344
|
|
1427
|
-
/***/
|
1345
|
+
/***/ 1079:
|
1428
1346
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1429
1347
|
|
1430
1348
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1431
|
-
/* harmony export */ "default": () => (/* binding */
|
1349
|
+
/* harmony export */ "default": () => (/* binding */ _iterableToArray)
|
1432
1350
|
/* harmony export */ });
|
1433
|
-
|
1351
|
+
function _iterableToArray(iter) {
|
1352
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
1353
|
+
}
|
1434
1354
|
|
1435
|
-
|
1436
|
-
|
1437
|
-
|
1438
|
-
|
1439
|
-
|
1440
|
-
|
1441
|
-
|
1355
|
+
/***/ }),
|
1356
|
+
|
1357
|
+
/***/ 6098:
|
1358
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1359
|
+
|
1360
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1361
|
+
/* harmony export */ "default": () => (/* binding */ _nonIterableSpread)
|
1362
|
+
/* harmony export */ });
|
1363
|
+
function _nonIterableSpread() {
|
1364
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
1442
1365
|
}
|
1443
1366
|
|
1444
1367
|
/***/ }),
|
1445
1368
|
|
1446
|
-
/***/
|
1447
|
-
/***/ ((
|
1369
|
+
/***/ 7930:
|
1370
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1371
|
+
|
1372
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1373
|
+
/* harmony export */ "default": () => (/* binding */ _toConsumableArray)
|
1374
|
+
/* harmony export */ });
|
1375
|
+
/* harmony import */ var _arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(74);
|
1376
|
+
/* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1079);
|
1377
|
+
/* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9147);
|
1378
|
+
/* harmony import */ var _nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6098);
|
1379
|
+
|
1380
|
+
|
1448
1381
|
|
1449
|
-
module.exports = __webpack_require__(5022);
|
1450
1382
|
|
1383
|
+
function _toConsumableArray(arr) {
|
1384
|
+
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"])();
|
1385
|
+
}
|
1451
1386
|
|
1452
1387
|
/***/ }),
|
1453
1388
|
|
1454
|
-
/***/
|
1389
|
+
/***/ 9745:
|
1455
1390
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1456
1391
|
|
1457
1392
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1458
1393
|
/* harmony export */ "default": () => (/* binding */ toPrimitive)
|
1459
1394
|
/* harmony export */ });
|
1460
|
-
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
1395
|
+
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6522);
|
1461
1396
|
|
1462
1397
|
function toPrimitive(t, r) {
|
1463
1398
|
if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t) || !t) return t;
|
@@ -1470,6 +1405,60 @@ function toPrimitive(t, r) {
|
|
1470
1405
|
return ("string" === r ? String : Number)(t);
|
1471
1406
|
}
|
1472
1407
|
|
1408
|
+
/***/ }),
|
1409
|
+
|
1410
|
+
/***/ 3795:
|
1411
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1412
|
+
|
1413
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1414
|
+
/* harmony export */ "default": () => (/* binding */ toPropertyKey)
|
1415
|
+
/* harmony export */ });
|
1416
|
+
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6522);
|
1417
|
+
/* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9745);
|
1418
|
+
|
1419
|
+
|
1420
|
+
function toPropertyKey(t) {
|
1421
|
+
var i = (0,_toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t, "string");
|
1422
|
+
return "symbol" == (0,_typeof_js__WEBPACK_IMPORTED_MODULE_1__["default"])(i) ? i : String(i);
|
1423
|
+
}
|
1424
|
+
|
1425
|
+
/***/ }),
|
1426
|
+
|
1427
|
+
/***/ 6522:
|
1428
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1429
|
+
|
1430
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1431
|
+
/* harmony export */ "default": () => (/* binding */ _typeof)
|
1432
|
+
/* harmony export */ });
|
1433
|
+
function _typeof(o) {
|
1434
|
+
"@babel/helpers - typeof";
|
1435
|
+
|
1436
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
1437
|
+
return typeof o;
|
1438
|
+
} : function (o) {
|
1439
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
1440
|
+
}, _typeof(o);
|
1441
|
+
}
|
1442
|
+
|
1443
|
+
/***/ }),
|
1444
|
+
|
1445
|
+
/***/ 9147:
|
1446
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
1447
|
+
|
1448
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
1449
|
+
/* harmony export */ "default": () => (/* binding */ _unsupportedIterableToArray)
|
1450
|
+
/* harmony export */ });
|
1451
|
+
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(926);
|
1452
|
+
|
1453
|
+
function _unsupportedIterableToArray(o, minLen) {
|
1454
|
+
if (!o) return;
|
1455
|
+
if (typeof o === "string") return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(o, minLen);
|
1456
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
1457
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
1458
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
1459
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(o, minLen);
|
1460
|
+
}
|
1461
|
+
|
1473
1462
|
/***/ })
|
1474
1463
|
|
1475
1464
|
/******/ });
|
@@ -1530,6 +1519,8 @@ function toPrimitive(t, r) {
|
|
1530
1519
|
/******/
|
1531
1520
|
/************************************************************************/
|
1532
1521
|
var __webpack_exports__ = {};
|
1522
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
1523
|
+
(() => {
|
1533
1524
|
|
1534
1525
|
// EXPORTS
|
1535
1526
|
__webpack_require__.d(__webpack_exports__, {
|
@@ -1539,18 +1530,16 @@ __webpack_require__.d(__webpack_exports__, {
|
|
1539
1530
|
});
|
1540
1531
|
|
1541
1532
|
// EXTERNAL MODULE: external "../shared"
|
1542
|
-
var shared_ = __webpack_require__(
|
1533
|
+
var shared_ = __webpack_require__(9253);
|
1543
1534
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
1544
|
-
var defineProperty = __webpack_require__(
|
1535
|
+
var defineProperty = __webpack_require__(6666);
|
1545
1536
|
// EXTERNAL MODULE: external "vue"
|
1546
|
-
var external_vue_ = __webpack_require__(
|
1547
|
-
;// external "../config-provider"
|
1548
|
-
var x = (y)
|
1549
|
-
|
1550
|
-
}
|
1551
|
-
|
1552
|
-
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) });
|
1553
|
-
;// ../../packages/date-picker/src/base/picker-dropdown.tsx
|
1537
|
+
var external_vue_ = __webpack_require__(6609);
|
1538
|
+
;// CONCATENATED MODULE: external "../config-provider"
|
1539
|
+
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1540
|
+
var y = x => () => x
|
1541
|
+
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 });
|
1542
|
+
;// CONCATENATED MODULE: ../../packages/date-picker/src/base/picker-dropdown.tsx
|
1554
1543
|
|
1555
1544
|
|
1556
1545
|
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; }
|
@@ -1801,11 +1790,11 @@ var pickerDropdownProps = {
|
|
1801
1790
|
}, [(_this$$slots$default = (_this$$slots$default2 = (_this$$slots = this.$slots)["default"]) === null || _this$$slots$default2 === void 0 ? void 0 : _this$$slots$default2.call(_this$$slots)) !== null && _this$$slots$default !== void 0 ? _this$$slots$default : '']);
|
1802
1791
|
}
|
1803
1792
|
}));
|
1804
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
1793
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
1805
1794
|
function _arrayWithHoles(arr) {
|
1806
1795
|
if (Array.isArray(arr)) return arr;
|
1807
1796
|
}
|
1808
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
|
1797
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
|
1809
1798
|
function _iterableToArrayLimit(r, l) {
|
1810
1799
|
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
1811
1800
|
if (null != t) {
|
@@ -1834,12 +1823,12 @@ function _iterableToArrayLimit(r, l) {
|
|
1834
1823
|
}
|
1835
1824
|
}
|
1836
1825
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
1837
|
-
var unsupportedIterableToArray = __webpack_require__(
|
1838
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
1826
|
+
var unsupportedIterableToArray = __webpack_require__(9147);
|
1827
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
1839
1828
|
function _nonIterableRest() {
|
1840
1829
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
1841
1830
|
}
|
1842
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js
|
1831
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js
|
1843
1832
|
|
1844
1833
|
|
1845
1834
|
|
@@ -1848,18 +1837,16 @@ function _slicedToArray(arr, i) {
|
|
1848
1837
|
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || (0,unsupportedIterableToArray["default"])(arr, i) || _nonIterableRest();
|
1849
1838
|
}
|
1850
1839
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
1851
|
-
var toConsumableArray = __webpack_require__(
|
1840
|
+
var toConsumableArray = __webpack_require__(7930);
|
1852
1841
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
1853
|
-
var esm_typeof = __webpack_require__(
|
1842
|
+
var esm_typeof = __webpack_require__(6522);
|
1854
1843
|
// EXTERNAL MODULE: ../../packages/directives/src/index.ts + 7 modules
|
1855
|
-
var src = __webpack_require__(
|
1856
|
-
;// external "../icon"
|
1857
|
-
var icon_x = (y)
|
1858
|
-
|
1859
|
-
}
|
1860
|
-
|
1861
|
-
const icon_namespaceObject = icon_x({ ["AngleDoubleLeft"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleDoubleLeft), ["AngleDoubleRight"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleDoubleRight), ["AngleLeft"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleLeft), ["AngleRight"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleRight), ["Close"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Close) });
|
1862
|
-
;// ../../packages/date-picker/src/common.tsx
|
1844
|
+
var src = __webpack_require__(668);
|
1845
|
+
;// CONCATENATED MODULE: external "../icon"
|
1846
|
+
var icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1847
|
+
var icon_y = x => () => x
|
1848
|
+
const icon_namespaceObject = icon_x({ ["AngleDoubleLeft"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleDoubleLeft, ["AngleDoubleRight"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleDoubleRight, ["AngleLeft"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleLeft, ["AngleRight"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleRight, ["Close"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Close });
|
1849
|
+
;// CONCATENATED MODULE: ../../packages/date-picker/src/common.tsx
|
1863
1850
|
|
1864
1851
|
/*
|
1865
1852
|
* Tencent is pleased to support the open source community by making
|
@@ -1914,19 +1901,15 @@ var timeIcon = (0,external_vue_.createVNode)(external_vue_.Fragment, null, [(0,e
|
|
1914
1901
|
"fill": "#c4c6cc",
|
1915
1902
|
"points": "512,512 512,256 448,256 448,512 448,576 512,576 768,576 768,512"
|
1916
1903
|
}, null)])])]);
|
1917
|
-
;// external "../button"
|
1918
|
-
var button_x = (y)
|
1919
|
-
|
1920
|
-
}
|
1921
|
-
|
1922
|
-
|
1923
|
-
|
1924
|
-
var button_less_x = (y) => {
|
1925
|
-
var x = {}; __webpack_require__.d(x, y); return x
|
1926
|
-
}
|
1927
|
-
var button_less_y = (x) => (() => (x))
|
1904
|
+
;// CONCATENATED MODULE: external "../button"
|
1905
|
+
var button_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1906
|
+
var button_y = x => () => x
|
1907
|
+
const button_namespaceObject = button_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_button_a2ea7c9a__["default"] });
|
1908
|
+
;// CONCATENATED MODULE: external "../button/button.less"
|
1909
|
+
var button_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1910
|
+
var button_less_y = x => () => x
|
1928
1911
|
const button_less_namespaceObject = button_less_x({ });
|
1929
|
-
;// ../../packages/date-picker/src/base/confirm.tsx
|
1912
|
+
;// CONCATENATED MODULE: ../../packages/date-picker/src/base/confirm.tsx
|
1930
1913
|
|
1931
1914
|
|
1932
1915
|
/*
|
@@ -2060,19 +2043,15 @@ var confirmProps = {
|
|
2060
2043
|
}), [this.labels.ok])])]);
|
2061
2044
|
}
|
2062
2045
|
}));
|
2063
|
-
;// external "js-calendar"
|
2064
|
-
var external_js_calendar_x = (y)
|
2065
|
-
|
2066
|
-
}
|
2067
|
-
|
2068
|
-
|
2069
|
-
|
2070
|
-
|
2071
|
-
|
2072
|
-
}
|
2073
|
-
var external_date_fns_y = (x) => (() => (x))
|
2074
|
-
const external_date_fns_namespaceObject = external_date_fns_x({ ["format"]: () => (__WEBPACK_EXTERNAL_MODULE_date_fns_f4130be9__.format), ["toDate"]: () => (__WEBPACK_EXTERNAL_MODULE_date_fns_f4130be9__.toDate) });
|
2075
|
-
;// ../../packages/date-picker/src/fecha.ts
|
2046
|
+
;// CONCATENATED MODULE: external "js-calendar"
|
2047
|
+
var external_js_calendar_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
2048
|
+
var external_js_calendar_y = x => () => x
|
2049
|
+
const external_js_calendar_namespaceObject = external_js_calendar_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_js_calendar_b62d9a01__["default"] });
|
2050
|
+
;// CONCATENATED MODULE: external "date-fns"
|
2051
|
+
var external_date_fns_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
2052
|
+
var external_date_fns_y = x => () => x
|
2053
|
+
const external_date_fns_namespaceObject = external_date_fns_x({ ["format"]: () => __WEBPACK_EXTERNAL_MODULE_date_fns_f4130be9__.format, ["toDate"]: () => __WEBPACK_EXTERNAL_MODULE_date_fns_f4130be9__.toDate });
|
2054
|
+
;// CONCATENATED MODULE: ../../packages/date-picker/src/fecha.ts
|
2076
2055
|
/*
|
2077
2056
|
* Tencent is pleased to support the open source community by making
|
2078
2057
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -2377,7 +2356,7 @@ fecha.parse = function (dateStr, format, i18nSettings) {
|
|
2377
2356
|
return date;
|
2378
2357
|
};
|
2379
2358
|
/* harmony default export */ const src_fecha = (fecha);
|
2380
|
-
;// ../../packages/date-picker/src/utils.ts
|
2359
|
+
;// CONCATENATED MODULE: ../../packages/date-picker/src/utils.ts
|
2381
2360
|
|
2382
2361
|
/*
|
2383
2362
|
* Tencent is pleased to support the open source community by making
|
@@ -2792,7 +2771,7 @@ var formatDateLabels = function () {
|
|
2792
2771
|
}();
|
2793
2772
|
var clearHours = function clearHours(time) {
|
2794
2773
|
var cloneDate = new Date(time);
|
2795
|
-
cloneDate.setHours(
|
2774
|
+
cloneDate.setHours(23, 59, 59, 999);
|
2796
2775
|
return cloneDate.getTime();
|
2797
2776
|
};
|
2798
2777
|
var isInRange = function isInRange(time, a, b) {
|
@@ -2813,37 +2792,26 @@ var isInRange = function isInRange(time, a, b) {
|
|
2813
2792
|
end = _sort2[1];
|
2814
2793
|
return time >= start && time <= end;
|
2815
2794
|
};
|
2816
|
-
|
2817
|
-
* firstUpperCase
|
2818
|
-
*
|
2819
|
-
* @param {string} str str
|
2820
|
-
*
|
2821
|
-
* @return {string} str
|
2822
|
-
*/
|
2823
|
-
function firstUpperCase(str) {
|
2795
|
+
var firstUpperCase = function firstUpperCase(str) {
|
2824
2796
|
return str.toString()[0].toUpperCase() + str.toString().slice(1);
|
2825
|
-
}
|
2797
|
+
};
|
2826
2798
|
/**
|
2827
2799
|
* 根据 date 设置 h, m, s
|
2828
|
-
*
|
2829
|
-
* @param
|
2830
|
-
* @param {number} h 小时数
|
2831
|
-
* @param {number} m 分钟数
|
2832
|
-
* @param {number} s 秒数
|
2833
|
-
*
|
2834
|
-
* @return {Date} date 对象
|
2800
|
+
* @param date Date对象
|
2801
|
+
* @param hms [小时数,分钟数,秒数]
|
2835
2802
|
*/
|
2836
2803
|
var mergeDateHMS = function mergeDateHMS(date) {
|
2804
|
+
var hms = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [0, 0, 0];
|
2837
2805
|
var newDate = new Date(date.getTime());
|
2838
|
-
newDate.setHours(
|
2839
|
-
newDate.setMinutes(
|
2840
|
-
newDate.setSeconds(
|
2806
|
+
newDate.setHours(hms[0]);
|
2807
|
+
newDate.setMinutes(hms[1]);
|
2808
|
+
newDate.setSeconds(hms[2] - 1);
|
2841
2809
|
return newDate;
|
2842
2810
|
};
|
2843
2811
|
var capitalize = function capitalize(str) {
|
2844
2812
|
return str[0].toUpperCase() + str.slice(1);
|
2845
2813
|
};
|
2846
|
-
;// ../../packages/date-picker/src/base/date-table.tsx
|
2814
|
+
;// CONCATENATED MODULE: ../../packages/date-picker/src/base/date-table.tsx
|
2847
2815
|
|
2848
2816
|
|
2849
2817
|
|
@@ -3009,7 +2977,7 @@ var dateTableProps = {
|
|
3009
2977
|
})]);
|
3010
2978
|
}
|
3011
2979
|
}));
|
3012
|
-
;// ../../packages/date-picker/src/base/month-table.tsx
|
2980
|
+
;// CONCATENATED MODULE: ../../packages/date-picker/src/base/month-table.tsx
|
3013
2981
|
|
3014
2982
|
|
3015
2983
|
|
@@ -3189,7 +3157,7 @@ var monthTableProps = {
|
|
3189
3157
|
})]);
|
3190
3158
|
}
|
3191
3159
|
}));
|
3192
|
-
;// ../../packages/date-picker/src/base/year-table.tsx
|
3160
|
+
;// CONCATENATED MODULE: ../../packages/date-picker/src/base/year-table.tsx
|
3193
3161
|
|
3194
3162
|
|
3195
3163
|
|
@@ -3368,13 +3336,11 @@ var yearTableProps = {
|
|
3368
3336
|
);
|
3369
3337
|
}
|
3370
3338
|
}));
|
3371
|
-
;// external "lodash/debounce"
|
3372
|
-
var debounce_x = (y)
|
3373
|
-
|
3374
|
-
}
|
3375
|
-
|
3376
|
-
const debounce_namespaceObject = debounce_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_lodash_debounce_3540babe__["default"]) });
|
3377
|
-
;// ../../packages/date-picker/src/props.ts
|
3339
|
+
;// CONCATENATED MODULE: external "lodash/debounce"
|
3340
|
+
var debounce_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
3341
|
+
var debounce_y = x => () => x
|
3342
|
+
const debounce_namespaceObject = debounce_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_debounce_3540babe__["default"] });
|
3343
|
+
;// CONCATENATED MODULE: ../../packages/date-picker/src/props.ts
|
3378
3344
|
/*
|
3379
3345
|
* Tencent is pleased to support the open source community by making
|
3380
3346
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -3597,7 +3563,7 @@ var timePickerProps = {
|
|
3597
3563
|
"default": false
|
3598
3564
|
}
|
3599
3565
|
};
|
3600
|
-
;// ../../packages/date-picker/src/base/time-spinner.tsx
|
3566
|
+
;// CONCATENATED MODULE: ../../packages/date-picker/src/base/time-spinner.tsx
|
3601
3567
|
|
3602
3568
|
|
3603
3569
|
function time_spinner_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; }
|
@@ -4021,8 +3987,11 @@ var timeParts = ['hours', 'minutes', 'seconds'];
|
|
4021
3987
|
})])]), [[external_vue_.vShow, this.showSeconds]])]);
|
4022
3988
|
}
|
4023
3989
|
}));
|
4024
|
-
;//
|
4025
|
-
|
3990
|
+
;// CONCATENATED MODULE: external "lodash/cloneDeep"
|
3991
|
+
var cloneDeep_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
3992
|
+
var cloneDeep_y = x => () => x
|
3993
|
+
const cloneDeep_namespaceObject = cloneDeep_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_cloneDeep_13f2b125__["default"] });
|
3994
|
+
;// CONCATENATED MODULE: ../../packages/date-picker/src/panel/time.tsx
|
4026
3995
|
|
4027
3996
|
|
4028
3997
|
function time_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; }
|
@@ -4059,6 +4028,7 @@ function time_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var
|
|
4059
4028
|
|
4060
4029
|
|
4061
4030
|
|
4031
|
+
|
4062
4032
|
var timeProps = {
|
4063
4033
|
disabledDate: {
|
4064
4034
|
type: Function,
|
@@ -4122,7 +4092,7 @@ var timeProps = {
|
|
4122
4092
|
var showSeconds = (0,external_vue_.computed)(function () {
|
4123
4093
|
return !(props.format || '').match(/mm$/);
|
4124
4094
|
});
|
4125
|
-
var
|
4095
|
+
var localTimeValues = (0,external_vue_.computed)(function () {
|
4126
4096
|
if (!props.value[0]) {
|
4127
4097
|
return [];
|
4128
4098
|
}
|
@@ -4141,28 +4111,25 @@ var timeProps = {
|
|
4141
4111
|
}, {});
|
4142
4112
|
return _disabled;
|
4143
4113
|
}
|
4144
|
-
var
|
4114
|
+
var HMSMax = [24, 60, 60];
|
4145
4115
|
var disabled = ['Hours', 'Minutes', 'Seconds'].map(function (type) {
|
4146
|
-
return props["disabled".concat(type)];
|
4116
|
+
return (0,cloneDeep_namespaceObject["default"])(props["disabled".concat(type)]);
|
4147
4117
|
});
|
4148
|
-
var disabledHMS = disabled.map(function (
|
4149
|
-
var
|
4150
|
-
var
|
4151
|
-
|
4152
|
-
|
4153
|
-
return x === j ? i : slot;
|
4118
|
+
var disabledHMS = disabled.map(function (currentDisable, disableIndex) {
|
4119
|
+
var itemMax = HMSMax[disableIndex];
|
4120
|
+
var _loop = function _loop(itemIndex) {
|
4121
|
+
var hms = localTimeValues.value.map(function (value, index) {
|
4122
|
+
return index === disableIndex ? itemIndex : value;
|
4154
4123
|
});
|
4155
|
-
var testDateTime = mergeDateHMS
|
4156
|
-
if (props.disabledDate(testDateTime
|
4157
|
-
|
4124
|
+
var testDateTime = mergeDateHMS(state.date, hms);
|
4125
|
+
if (props.disabledDate(testDateTime)) {
|
4126
|
+
currentDisable.push(itemIndex);
|
4158
4127
|
}
|
4159
4128
|
};
|
4160
|
-
for (var
|
4161
|
-
_loop(
|
4129
|
+
for (var itemIndex = 0; itemIndex < itemMax; itemIndex += props.steps[disableIndex] || 1) {
|
4130
|
+
_loop(itemIndex);
|
4162
4131
|
}
|
4163
|
-
return
|
4164
|
-
return arr.indexOf(el) === i;
|
4165
|
-
});
|
4132
|
+
return currentDisable;
|
4166
4133
|
});
|
4167
4134
|
return disabledTypes.reduce(function (obj, type, i) {
|
4168
4135
|
obj[type] = disabledHMS[i];
|
@@ -4204,7 +4171,7 @@ var timeProps = {
|
|
4204
4171
|
return time_objectSpread(time_objectSpread({}, (0,external_vue_.toRefs)(state)), {}, {
|
4205
4172
|
visibleDate: visibleDate,
|
4206
4173
|
showSeconds: showSeconds,
|
4207
|
-
|
4174
|
+
localTimeValues: localTimeValues,
|
4208
4175
|
disabledHMS: disabledHMS,
|
4209
4176
|
timeSpinnerRef: timeSpinnerRef,
|
4210
4177
|
handlePickClick: handlePickClick,
|
@@ -4233,9 +4200,9 @@ var timeProps = {
|
|
4233
4200
|
"disabledMinutes": this.disabledHMS.disabledMinutes,
|
4234
4201
|
"disabledSeconds": this.disabledHMS.disabledSeconds,
|
4235
4202
|
"hideDisabledOptions": this.hideDisabledOptions,
|
4236
|
-
"hours": this.
|
4237
|
-
"minutes": this.
|
4238
|
-
"seconds": this.
|
4203
|
+
"hours": this.localTimeValues[0],
|
4204
|
+
"minutes": this.localTimeValues[1],
|
4205
|
+
"seconds": this.localTimeValues[2],
|
4239
4206
|
"showSeconds": this.showSeconds,
|
4240
4207
|
"steps": this.steps,
|
4241
4208
|
"onChange": this.handleChange,
|
@@ -4243,7 +4210,7 @@ var timeProps = {
|
|
4243
4210
|
}, null)])])]);
|
4244
4211
|
}
|
4245
4212
|
}));
|
4246
|
-
;// ../../packages/date-picker/src/panel/date.tsx
|
4213
|
+
;// CONCATENATED MODULE: ../../packages/date-picker/src/panel/date.tsx
|
4247
4214
|
|
4248
4215
|
|
4249
4216
|
function date_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; }
|
@@ -4675,7 +4642,7 @@ var datePanelProps = {
|
|
4675
4642
|
}, [(_this$$slots$shortcut = (_this$$slots$shortcut2 = (_this$$slots = this.$slots).shortcuts) === null || _this$$slots$shortcut2 === void 0 ? void 0 : _this$$slots$shortcut2.call(_this$$slots)) !== null && _this$$slots$shortcut !== void 0 ? _this$$slots$shortcut : null]) : null]);
|
4676
4643
|
}
|
4677
4644
|
}));
|
4678
|
-
;// ../../packages/date-picker/src/panel/time-range.tsx
|
4645
|
+
;// CONCATENATED MODULE: ../../packages/date-picker/src/panel/time-range.tsx
|
4679
4646
|
|
4680
4647
|
|
4681
4648
|
|
@@ -4939,7 +4906,7 @@ var timeRangeProps = {
|
|
4939
4906
|
}, null)])])]);
|
4940
4907
|
}
|
4941
4908
|
}));
|
4942
|
-
;// ../../packages/date-picker/src/panel/date-range.tsx
|
4909
|
+
;// CONCATENATED MODULE: ../../packages/date-picker/src/panel/date-range.tsx
|
4943
4910
|
|
4944
4911
|
|
4945
4912
|
|
@@ -5743,7 +5710,7 @@ var dateRangePanelProps = {
|
|
5743
5710
|
}, this.$slots) : '']), shortcuts]);
|
5744
5711
|
}
|
5745
5712
|
}));
|
5746
|
-
;// ../../packages/date-picker/src/date-picker.tsx
|
5713
|
+
;// CONCATENATED MODULE: ../../packages/date-picker/src/date-picker.tsx
|
5747
5714
|
|
5748
5715
|
|
5749
5716
|
|
@@ -6472,7 +6439,7 @@ function date_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
6472
6439
|
})]), [[(0,external_vue_.resolveDirective)("clickoutside"), this.handleClose]]);
|
6473
6440
|
}
|
6474
6441
|
}));
|
6475
|
-
;// ../../packages/date-picker/src/time-picker.tsx
|
6442
|
+
;// CONCATENATED MODULE: ../../packages/date-picker/src/time-picker.tsx
|
6476
6443
|
|
6477
6444
|
|
6478
6445
|
|
@@ -7181,7 +7148,7 @@ function time_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
7181
7148
|
})]), [[(0,external_vue_.resolveDirective)("clickoutside"), this.handleClose]]);
|
7182
7149
|
}
|
7183
7150
|
}));
|
7184
|
-
;// ../../packages/date-picker/src/index.ts
|
7151
|
+
;// CONCATENATED MODULE: ../../packages/date-picker/src/index.ts
|
7185
7152
|
/*
|
7186
7153
|
* Tencent is pleased to support the open source community by making
|
7187
7154
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -7214,6 +7181,8 @@ function time_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
7214
7181
|
var BkDatePicker = (0,shared_.withInstall)(date_picker);
|
7215
7182
|
/* harmony default export */ const date_picker_src = (BkDatePicker);
|
7216
7183
|
|
7184
|
+
})();
|
7185
|
+
|
7217
7186
|
var __webpack_exports__PickerDropdown = __webpack_exports__.PickerDropdown;
|
7218
7187
|
var __webpack_exports__TimePicker = __webpack_exports__.TimePicker;
|
7219
7188
|
var __webpack_exports__default = __webpack_exports__["default"];
|