bkui-vue 2.0.2-beta.4 → 2.0.2-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +21 -21
- package/dist/index.esm.js +1588 -1583
- package/dist/index.umd.js +16 -16
- package/lib/affix/index.js +30 -22
- package/lib/alert/index.js +30 -22
- package/lib/animate-number/index.js +14 -10
- package/lib/backtop/index.js +32 -22
- package/lib/badge/index.js +24 -18
- package/lib/breadcrumb/index.js +31 -23
- package/lib/button/index.js +36 -26
- package/lib/card/index.js +47 -33
- package/lib/cascader/index.js +651 -619
- package/lib/checkbox/index.js +44 -34
- package/lib/code-diff/index.js +83 -79
- package/lib/collapse/index.js +39 -33
- package/lib/collapse-transition/index.js +20 -14
- package/lib/color-picker/index.js +617 -594
- package/lib/components.d.ts +1 -2
- package/lib/components.js +1 -2
- package/lib/config-provider/index.js +34 -26
- package/lib/container/index.js +27 -21
- package/lib/date-picker/index.js +649 -620
- package/lib/dialog/index.js +101 -87
- package/lib/directives/index.js +445 -430
- package/lib/divider/index.js +21 -15
- package/lib/dropdown/index.js +43 -31
- package/lib/exception/index.js +55 -49
- package/lib/fixed-navbar/index.js +20 -14
- package/lib/form/index.js +639 -608
- package/lib/icon/angle-double-down-line.js +14 -12
- package/lib/icon/angle-double-left-line.js +14 -12
- package/lib/icon/angle-double-left.js +14 -12
- package/lib/icon/angle-double-right-line.js +14 -12
- package/lib/icon/angle-double-right.js +14 -12
- package/lib/icon/angle-double-up-line.js +14 -12
- package/lib/icon/angle-down-fill.js +14 -12
- package/lib/icon/angle-down-line.js +14 -12
- package/lib/icon/angle-down.js +14 -12
- package/lib/icon/angle-left.js +14 -12
- package/lib/icon/angle-right.js +14 -12
- package/lib/icon/angle-up-fill.js +14 -12
- package/lib/icon/angle-up.js +14 -12
- package/lib/icon/archive-fill.js +14 -12
- package/lib/icon/arrows-left.js +14 -12
- package/lib/icon/arrows-right.js +14 -12
- package/lib/icon/assistant.js +14 -12
- package/lib/icon/audio-fill.js +14 -12
- package/lib/icon/bk.js +14 -12
- package/lib/icon/circle.js +14 -12
- package/lib/icon/close-line.js +14 -12
- package/lib/icon/close.js +14 -12
- package/lib/icon/code.js +14 -12
- package/lib/icon/cog-shape.js +14 -12
- package/lib/icon/collapse-left.js +14 -12
- package/lib/icon/copy-shape.js +14 -12
- package/lib/icon/copy.js +14 -12
- package/lib/icon/data-shape.js +14 -12
- package/lib/icon/del.js +14 -12
- package/lib/icon/doc-fill.js +14 -12
- package/lib/icon/done.js +14 -12
- package/lib/icon/down-shape.js +14 -12
- package/lib/icon/down-small.js +14 -12
- package/lib/icon/edit-line.js +14 -12
- package/lib/icon/ellipsis.js +14 -12
- package/lib/icon/enlarge-line.js +14 -12
- package/lib/icon/error.js +14 -12
- package/lib/icon/excel-fill.js +14 -12
- package/lib/icon/exclamation-circle-shape.js +14 -12
- package/lib/icon/eye.js +14 -12
- package/lib/icon/filliscreen-line.js +14 -12
- package/lib/icon/fix-line.js +14 -12
- package/lib/icon/fix-shape.js +14 -12
- package/lib/icon/folder-open.js +14 -12
- package/lib/icon/folder-shape-open.js +14 -12
- package/lib/icon/folder-shape.js +14 -12
- package/lib/icon/folder.js +14 -12
- package/lib/icon/funnel.js +14 -12
- package/lib/icon/grag-fill.js +14 -12
- package/lib/icon/help-document-fill.js +14 -12
- package/lib/icon/help-fill.js +14 -12
- package/lib/icon/help.js +14 -12
- package/lib/icon/image-fill.js +14 -12
- package/lib/icon/img-error.js +14 -12
- package/lib/icon/img-placehoulder.js +14 -12
- package/lib/icon/info-line.js +14 -12
- package/lib/icon/info.js +14 -12
- package/lib/icon/left-shape.js +14 -12
- package/lib/icon/left-turn-line.js +14 -12
- package/lib/icon/loading.js +14 -12
- package/lib/icon/narrow-line.js +14 -12
- package/lib/icon/original.js +14 -12
- package/lib/icon/pdf-fill.js +14 -12
- package/lib/icon/play-shape.js +14 -12
- package/lib/icon/plus.js +14 -12
- package/lib/icon/ppt-fill.js +14 -12
- package/lib/icon/qq.js +14 -12
- package/lib/icon/right-shape.js +14 -12
- package/lib/icon/right-turn-line.js +14 -12
- package/lib/icon/search.js +14 -12
- package/lib/icon/share.js +14 -12
- package/lib/icon/spinner.js +14 -12
- package/lib/icon/success.js +14 -12
- package/lib/icon/switcher-loading.js +14 -12
- package/lib/icon/text-all.js +14 -12
- package/lib/icon/text-file.js +14 -12
- package/lib/icon/text-fill.js +14 -12
- package/lib/icon/transfer.js +14 -12
- package/lib/icon/tree-application-shape.js +14 -12
- package/lib/icon/unfull-screen.js +14 -12
- package/lib/icon/unvisible.js +14 -12
- package/lib/icon/up-shape.js +14 -12
- package/lib/icon/upload.js +14 -12
- package/lib/icon/video-fill.js +14 -12
- package/lib/icon/warn.js +14 -12
- package/lib/icon/weixin-pro.js +14 -12
- package/lib/icon/weixin.js +14 -12
- package/lib/image/index.js +342 -326
- package/lib/index.d.ts +0 -1
- package/lib/index.js +1 -2
- package/lib/info-box/index.js +101 -87
- package/lib/input/index.js +335 -323
- package/lib/link/index.js +26 -18
- package/lib/loading/index.js +25 -19
- package/lib/locale/index.js +3 -3
- package/lib/menu/index.js +40 -32
- package/lib/message/index.js +47 -41
- package/lib/modal/index.js +39 -29
- package/lib/navigation/index.js +27 -19
- package/lib/notify/index.js +37 -27
- package/lib/overflow-title/index.js +41 -29
- package/lib/pagination/index.js +62 -46
- package/lib/pop-confirm/index.d.ts +16 -2
- package/lib/pop-confirm/index.js +62 -38
- package/lib/pop-confirm/pop-confirm.d.ts +5 -1
- package/lib/popover/index.js +363 -347
- package/lib/popover2/index.js +14 -10
- package/lib/process/index.js +78 -74
- package/lib/progress/index.js +26 -20
- package/lib/radio/index.js +39 -31
- package/lib/rate/index.js +25 -19
- package/lib/resize-layout/index.js +30 -22
- package/lib/scrollbar/index.js +25 -25
- package/lib/search-select/index.js +436 -419
- package/lib/select/index.js +490 -453
- package/lib/shared/index.js +57 -49
- package/lib/sideslider/index.js +89 -79
- package/lib/slider/index.js +85 -75
- package/lib/steps/index.js +78 -72
- package/lib/swiper/index.js +24 -18
- package/lib/switcher/index.js +30 -22
- package/lib/tab/index.js +337 -323
- package/lib/table/index.js +565 -512
- package/lib/table-column/index.js +13 -9
- package/lib/tag/index.js +36 -26
- package/lib/tag-input/index.js +376 -355
- package/lib/time-picker/index.js +13 -9
- package/lib/timeline/index.js +21 -15
- package/lib/transfer/index.js +56 -40
- package/lib/tree/index.js +100 -76
- package/lib/upload/index.js +584 -572
- package/lib/virtual-render/index.js +55 -43
- package/package.json +1 -1
- package/lib/plugin-popover/index.d.ts +0 -27
- package/lib/plugin-popover/index.js +0 -65
- package/lib/plugins/index.d.ts +0 -1
- package/lib/plugins/index.js +0 -64
package/lib/tag-input/index.js
CHANGED
@@ -3,14 +3,13 @@ import "./tag-input.less";
|
|
3
3
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
|
4
4
|
import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
|
5
5
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
|
6
|
-
import * as
|
6
|
+
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__ from "../popover";
|
7
7
|
import * as __WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__ from "@popperjs/core";
|
8
8
|
import * as __WEBPACK_EXTERNAL_MODULE__loading_4d683b23__ from "../loading";
|
9
9
|
import * as __WEBPACK_EXTERNAL_MODULE__overflow_title_f9bafa47__ from "../overflow-title";
|
10
10
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__ from "../icon";
|
11
11
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_loading_dcf0e69a__ from "../loading";
|
12
12
|
import "../loading/loading.less";
|
13
|
-
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__ from "../popover";
|
14
13
|
import "../popover/popover.less";
|
15
14
|
import * as __WEBPACK_EXTERNAL_MODULE_lodash_debounce_3540babe__ from "lodash/debounce";
|
16
15
|
import * as __WEBPACK_EXTERNAL_MODULE_lodash_trim_5cdad98c__ from "lodash/trim";
|
@@ -18,15 +17,7 @@ import * as __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__ from "vue-types";
|
|
18
17
|
import * as __WEBPACK_EXTERNAL_MODULE_lodash_has_e9e453be__ from "lodash/has";
|
19
18
|
/******/ var __webpack_modules__ = ({
|
20
19
|
|
21
|
-
/***/
|
22
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
23
|
-
|
24
|
-
module.exports = __webpack_require__(2527);
|
25
|
-
|
26
|
-
|
27
|
-
/***/ }),
|
28
|
-
|
29
|
-
/***/ 7430:
|
20
|
+
/***/ 1043:
|
30
21
|
/***/ ((module) => {
|
31
22
|
|
32
23
|
/**
|
@@ -76,7 +67,265 @@ module.exports = ExecutionEnvironment;
|
|
76
67
|
|
77
68
|
/***/ }),
|
78
69
|
|
79
|
-
/***/
|
70
|
+
/***/ 2586:
|
71
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
72
|
+
|
73
|
+
/**
|
74
|
+
* Copyright 2013-2015, Facebook, Inc.
|
75
|
+
* All rights reserved.
|
76
|
+
*
|
77
|
+
* This source code is licensed under the BSD-style license found in the
|
78
|
+
* LICENSE file in the root directory of this source tree. An additional grant
|
79
|
+
* of patent rights can be found in the PATENTS file in the same directory.
|
80
|
+
*
|
81
|
+
* @providesModule isEventSupported
|
82
|
+
*/
|
83
|
+
|
84
|
+
|
85
|
+
|
86
|
+
var ExecutionEnvironment = __webpack_require__(1043);
|
87
|
+
|
88
|
+
var useHasFeature;
|
89
|
+
if (ExecutionEnvironment.canUseDOM) {
|
90
|
+
useHasFeature =
|
91
|
+
document.implementation &&
|
92
|
+
document.implementation.hasFeature &&
|
93
|
+
// always returns true in newer browsers as per the standard.
|
94
|
+
// @see http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature
|
95
|
+
document.implementation.hasFeature('', '') !== true;
|
96
|
+
}
|
97
|
+
|
98
|
+
/**
|
99
|
+
* Checks if an event is supported in the current execution environment.
|
100
|
+
*
|
101
|
+
* NOTE: This will not work correctly for non-generic events such as `change`,
|
102
|
+
* `reset`, `load`, `error`, and `select`.
|
103
|
+
*
|
104
|
+
* Borrows from Modernizr.
|
105
|
+
*
|
106
|
+
* @param {string} eventNameSuffix Event name, e.g. "click".
|
107
|
+
* @param {?boolean} capture Check if the capture phase is supported.
|
108
|
+
* @return {boolean} True if the event is supported.
|
109
|
+
* @internal
|
110
|
+
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
111
|
+
*/
|
112
|
+
function isEventSupported(eventNameSuffix, capture) {
|
113
|
+
if (!ExecutionEnvironment.canUseDOM ||
|
114
|
+
capture && !('addEventListener' in document)) {
|
115
|
+
return false;
|
116
|
+
}
|
117
|
+
|
118
|
+
var eventName = 'on' + eventNameSuffix;
|
119
|
+
var isSupported = eventName in document;
|
120
|
+
|
121
|
+
if (!isSupported) {
|
122
|
+
var element = document.createElement('div');
|
123
|
+
element.setAttribute(eventName, 'return;');
|
124
|
+
isSupported = typeof element[eventName] === 'function';
|
125
|
+
}
|
126
|
+
|
127
|
+
if (!isSupported && useHasFeature && eventNameSuffix === 'wheel') {
|
128
|
+
// This is the only way to test support for the `wheel` event in IE9+.
|
129
|
+
isSupported = document.implementation.hasFeature('Events.wheel', '3.0');
|
130
|
+
}
|
131
|
+
|
132
|
+
return isSupported;
|
133
|
+
}
|
134
|
+
|
135
|
+
module.exports = isEventSupported;
|
136
|
+
|
137
|
+
|
138
|
+
/***/ }),
|
139
|
+
|
140
|
+
/***/ 5022:
|
141
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
142
|
+
|
143
|
+
/**
|
144
|
+
* Copyright (c) 2015, Facebook, Inc.
|
145
|
+
* All rights reserved.
|
146
|
+
*
|
147
|
+
* This source code is licensed under the BSD-style license found in the
|
148
|
+
* LICENSE file in the root directory of this source tree. An additional grant
|
149
|
+
* of patent rights can be found in the PATENTS file in the same directory.
|
150
|
+
*
|
151
|
+
* @providesModule normalizeWheel
|
152
|
+
* @typechecks
|
153
|
+
*/
|
154
|
+
|
155
|
+
|
156
|
+
|
157
|
+
var UserAgent_DEPRECATED = __webpack_require__(7416);
|
158
|
+
|
159
|
+
var isEventSupported = __webpack_require__(2586);
|
160
|
+
|
161
|
+
|
162
|
+
// Reasonable defaults
|
163
|
+
var PIXEL_STEP = 10;
|
164
|
+
var LINE_HEIGHT = 40;
|
165
|
+
var PAGE_HEIGHT = 800;
|
166
|
+
|
167
|
+
/**
|
168
|
+
* Mouse wheel (and 2-finger trackpad) support on the web sucks. It is
|
169
|
+
* complicated, thus this doc is long and (hopefully) detailed enough to answer
|
170
|
+
* your questions.
|
171
|
+
*
|
172
|
+
* If you need to react to the mouse wheel in a predictable way, this code is
|
173
|
+
* like your bestest friend. * hugs *
|
174
|
+
*
|
175
|
+
* As of today, there are 4 DOM event types you can listen to:
|
176
|
+
*
|
177
|
+
* 'wheel' -- Chrome(31+), FF(17+), IE(9+)
|
178
|
+
* 'mousewheel' -- Chrome, IE(6+), Opera, Safari
|
179
|
+
* 'MozMousePixelScroll' -- FF(3.5 only!) (2010-2013) -- don't bother!
|
180
|
+
* 'DOMMouseScroll' -- FF(0.9.7+) since 2003
|
181
|
+
*
|
182
|
+
* So what to do? The is the best:
|
183
|
+
*
|
184
|
+
* normalizeWheel.getEventType();
|
185
|
+
*
|
186
|
+
* In your event callback, use this code to get sane interpretation of the
|
187
|
+
* deltas. This code will return an object with properties:
|
188
|
+
*
|
189
|
+
* spinX -- normalized spin speed (use for zoom) - x plane
|
190
|
+
* spinY -- " - y plane
|
191
|
+
* pixelX -- normalized distance (to pixels) - x plane
|
192
|
+
* pixelY -- " - y plane
|
193
|
+
*
|
194
|
+
* Wheel values are provided by the browser assuming you are using the wheel to
|
195
|
+
* scroll a web page by a number of lines or pixels (or pages). Values can vary
|
196
|
+
* significantly on different platforms and browsers, forgetting that you can
|
197
|
+
* scroll at different speeds. Some devices (like trackpads) emit more events
|
198
|
+
* at smaller increments with fine granularity, and some emit massive jumps with
|
199
|
+
* linear speed or acceleration.
|
200
|
+
*
|
201
|
+
* This code does its best to normalize the deltas for you:
|
202
|
+
*
|
203
|
+
* - spin is trying to normalize how far the wheel was spun (or trackpad
|
204
|
+
* dragged). This is super useful for zoom support where you want to
|
205
|
+
* throw away the chunky scroll steps on the PC and make those equal to
|
206
|
+
* the slow and smooth tiny steps on the Mac. Key data: This code tries to
|
207
|
+
* resolve a single slow step on a wheel to 1.
|
208
|
+
*
|
209
|
+
* - pixel is normalizing the desired scroll delta in pixel units. You'll
|
210
|
+
* get the crazy differences between browsers, but at least it'll be in
|
211
|
+
* pixels!
|
212
|
+
*
|
213
|
+
* - positive value indicates scrolling DOWN/RIGHT, negative UP/LEFT. This
|
214
|
+
* should translate to positive value zooming IN, negative zooming OUT.
|
215
|
+
* This matches the newer 'wheel' event.
|
216
|
+
*
|
217
|
+
* Why are there spinX, spinY (or pixels)?
|
218
|
+
*
|
219
|
+
* - spinX is a 2-finger side drag on the trackpad, and a shift + wheel turn
|
220
|
+
* with a mouse. It results in side-scrolling in the browser by default.
|
221
|
+
*
|
222
|
+
* - spinY is what you expect -- it's the classic axis of a mouse wheel.
|
223
|
+
*
|
224
|
+
* - I dropped spinZ/pixelZ. It is supported by the DOM 3 'wheel' event and
|
225
|
+
* probably is by browsers in conjunction with fancy 3D controllers .. but
|
226
|
+
* you know.
|
227
|
+
*
|
228
|
+
* Implementation info:
|
229
|
+
*
|
230
|
+
* Examples of 'wheel' event if you scroll slowly (down) by one step with an
|
231
|
+
* average mouse:
|
232
|
+
*
|
233
|
+
* OS X + Chrome (mouse) - 4 pixel delta (wheelDelta -120)
|
234
|
+
* OS X + Safari (mouse) - N/A pixel delta (wheelDelta -12)
|
235
|
+
* OS X + Firefox (mouse) - 0.1 line delta (wheelDelta N/A)
|
236
|
+
* Win8 + Chrome (mouse) - 100 pixel delta (wheelDelta -120)
|
237
|
+
* Win8 + Firefox (mouse) - 3 line delta (wheelDelta -120)
|
238
|
+
*
|
239
|
+
* On the trackpad:
|
240
|
+
*
|
241
|
+
* OS X + Chrome (trackpad) - 2 pixel delta (wheelDelta -6)
|
242
|
+
* OS X + Firefox (trackpad) - 1 pixel delta (wheelDelta N/A)
|
243
|
+
*
|
244
|
+
* On other/older browsers.. it's more complicated as there can be multiple and
|
245
|
+
* also missing delta values.
|
246
|
+
*
|
247
|
+
* The 'wheel' event is more standard:
|
248
|
+
*
|
249
|
+
* http://www.w3.org/TR/DOM-Level-3-Events/#events-wheelevents
|
250
|
+
*
|
251
|
+
* The basics is that it includes a unit, deltaMode (pixels, lines, pages), and
|
252
|
+
* deltaX, deltaY and deltaZ. Some browsers provide other values to maintain
|
253
|
+
* backward compatibility with older events. Those other values help us
|
254
|
+
* better normalize spin speed. Example of what the browsers provide:
|
255
|
+
*
|
256
|
+
* | event.wheelDelta | event.detail
|
257
|
+
* ------------------+------------------+--------------
|
258
|
+
* Safari v5/OS X | -120 | 0
|
259
|
+
* Safari v5/Win7 | -120 | 0
|
260
|
+
* Chrome v17/OS X | -120 | 0
|
261
|
+
* Chrome v17/Win7 | -120 | 0
|
262
|
+
* IE9/Win7 | -120 | undefined
|
263
|
+
* Firefox v4/OS X | undefined | 1
|
264
|
+
* Firefox v4/Win7 | undefined | 3
|
265
|
+
*
|
266
|
+
*/
|
267
|
+
function normalizeWheel(/*object*/ event) /*object*/ {
|
268
|
+
var sX = 0, sY = 0, // spinX, spinY
|
269
|
+
pX = 0, pY = 0; // pixelX, pixelY
|
270
|
+
|
271
|
+
// Legacy
|
272
|
+
if ('detail' in event) { sY = event.detail; }
|
273
|
+
if ('wheelDelta' in event) { sY = -event.wheelDelta / 120; }
|
274
|
+
if ('wheelDeltaY' in event) { sY = -event.wheelDeltaY / 120; }
|
275
|
+
if ('wheelDeltaX' in event) { sX = -event.wheelDeltaX / 120; }
|
276
|
+
|
277
|
+
// side scrolling on FF with DOMMouseScroll
|
278
|
+
if ( 'axis' in event && event.axis === event.HORIZONTAL_AXIS ) {
|
279
|
+
sX = sY;
|
280
|
+
sY = 0;
|
281
|
+
}
|
282
|
+
|
283
|
+
pX = sX * PIXEL_STEP;
|
284
|
+
pY = sY * PIXEL_STEP;
|
285
|
+
|
286
|
+
if ('deltaY' in event) { pY = event.deltaY; }
|
287
|
+
if ('deltaX' in event) { pX = event.deltaX; }
|
288
|
+
|
289
|
+
if ((pX || pY) && event.deltaMode) {
|
290
|
+
if (event.deltaMode == 1) { // delta in LINE units
|
291
|
+
pX *= LINE_HEIGHT;
|
292
|
+
pY *= LINE_HEIGHT;
|
293
|
+
} else { // delta in PAGE units
|
294
|
+
pX *= PAGE_HEIGHT;
|
295
|
+
pY *= PAGE_HEIGHT;
|
296
|
+
}
|
297
|
+
}
|
298
|
+
|
299
|
+
// Fall-back if spin cannot be determined
|
300
|
+
if (pX && !sX) { sX = (pX < 1) ? -1 : 1; }
|
301
|
+
if (pY && !sY) { sY = (pY < 1) ? -1 : 1; }
|
302
|
+
|
303
|
+
return { spinX : sX,
|
304
|
+
spinY : sY,
|
305
|
+
pixelX : pX,
|
306
|
+
pixelY : pY };
|
307
|
+
}
|
308
|
+
|
309
|
+
|
310
|
+
/**
|
311
|
+
* The best combination if you prefer spinX + spinY normalization. It favors
|
312
|
+
* the older DOMMouseScroll for Firefox, as FF does not include wheelDelta with
|
313
|
+
* 'wheel' event, making spin speed determination impossible.
|
314
|
+
*/
|
315
|
+
normalizeWheel.getEventType = function() /*string*/ {
|
316
|
+
return (UserAgent_DEPRECATED.firefox())
|
317
|
+
? 'DOMMouseScroll'
|
318
|
+
: (isEventSupported('wheel'))
|
319
|
+
? 'wheel'
|
320
|
+
: 'mousewheel';
|
321
|
+
};
|
322
|
+
|
323
|
+
module.exports = normalizeWheel;
|
324
|
+
|
325
|
+
|
326
|
+
/***/ }),
|
327
|
+
|
328
|
+
/***/ 7416:
|
80
329
|
/***/ ((module) => {
|
81
330
|
|
82
331
|
/**
|
@@ -365,260 +614,10 @@ module.exports = UserAgent_DEPRECATED;
|
|
365
614
|
|
366
615
|
/***/ }),
|
367
616
|
|
368
|
-
/***/
|
617
|
+
/***/ 8283:
|
369
618
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
370
619
|
|
371
|
-
|
372
|
-
* Copyright 2013-2015, Facebook, Inc.
|
373
|
-
* All rights reserved.
|
374
|
-
*
|
375
|
-
* This source code is licensed under the BSD-style license found in the
|
376
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
377
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
378
|
-
*
|
379
|
-
* @providesModule isEventSupported
|
380
|
-
*/
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
var ExecutionEnvironment = __webpack_require__(7430);
|
385
|
-
|
386
|
-
var useHasFeature;
|
387
|
-
if (ExecutionEnvironment.canUseDOM) {
|
388
|
-
useHasFeature =
|
389
|
-
document.implementation &&
|
390
|
-
document.implementation.hasFeature &&
|
391
|
-
// always returns true in newer browsers as per the standard.
|
392
|
-
// @see http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature
|
393
|
-
document.implementation.hasFeature('', '') !== true;
|
394
|
-
}
|
395
|
-
|
396
|
-
/**
|
397
|
-
* Checks if an event is supported in the current execution environment.
|
398
|
-
*
|
399
|
-
* NOTE: This will not work correctly for non-generic events such as `change`,
|
400
|
-
* `reset`, `load`, `error`, and `select`.
|
401
|
-
*
|
402
|
-
* Borrows from Modernizr.
|
403
|
-
*
|
404
|
-
* @param {string} eventNameSuffix Event name, e.g. "click".
|
405
|
-
* @param {?boolean} capture Check if the capture phase is supported.
|
406
|
-
* @return {boolean} True if the event is supported.
|
407
|
-
* @internal
|
408
|
-
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
409
|
-
*/
|
410
|
-
function isEventSupported(eventNameSuffix, capture) {
|
411
|
-
if (!ExecutionEnvironment.canUseDOM ||
|
412
|
-
capture && !('addEventListener' in document)) {
|
413
|
-
return false;
|
414
|
-
}
|
415
|
-
|
416
|
-
var eventName = 'on' + eventNameSuffix;
|
417
|
-
var isSupported = eventName in document;
|
418
|
-
|
419
|
-
if (!isSupported) {
|
420
|
-
var element = document.createElement('div');
|
421
|
-
element.setAttribute(eventName, 'return;');
|
422
|
-
isSupported = typeof element[eventName] === 'function';
|
423
|
-
}
|
424
|
-
|
425
|
-
if (!isSupported && useHasFeature && eventNameSuffix === 'wheel') {
|
426
|
-
// This is the only way to test support for the `wheel` event in IE9+.
|
427
|
-
isSupported = document.implementation.hasFeature('Events.wheel', '3.0');
|
428
|
-
}
|
429
|
-
|
430
|
-
return isSupported;
|
431
|
-
}
|
432
|
-
|
433
|
-
module.exports = isEventSupported;
|
434
|
-
|
435
|
-
|
436
|
-
/***/ }),
|
437
|
-
|
438
|
-
/***/ 2527:
|
439
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
440
|
-
|
441
|
-
/**
|
442
|
-
* Copyright (c) 2015, Facebook, Inc.
|
443
|
-
* All rights reserved.
|
444
|
-
*
|
445
|
-
* This source code is licensed under the BSD-style license found in the
|
446
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
447
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
448
|
-
*
|
449
|
-
* @providesModule normalizeWheel
|
450
|
-
* @typechecks
|
451
|
-
*/
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
var UserAgent_DEPRECATED = __webpack_require__(6377);
|
456
|
-
|
457
|
-
var isEventSupported = __webpack_require__(3541);
|
458
|
-
|
459
|
-
|
460
|
-
// Reasonable defaults
|
461
|
-
var PIXEL_STEP = 10;
|
462
|
-
var LINE_HEIGHT = 40;
|
463
|
-
var PAGE_HEIGHT = 800;
|
464
|
-
|
465
|
-
/**
|
466
|
-
* Mouse wheel (and 2-finger trackpad) support on the web sucks. It is
|
467
|
-
* complicated, thus this doc is long and (hopefully) detailed enough to answer
|
468
|
-
* your questions.
|
469
|
-
*
|
470
|
-
* If you need to react to the mouse wheel in a predictable way, this code is
|
471
|
-
* like your bestest friend. * hugs *
|
472
|
-
*
|
473
|
-
* As of today, there are 4 DOM event types you can listen to:
|
474
|
-
*
|
475
|
-
* 'wheel' -- Chrome(31+), FF(17+), IE(9+)
|
476
|
-
* 'mousewheel' -- Chrome, IE(6+), Opera, Safari
|
477
|
-
* 'MozMousePixelScroll' -- FF(3.5 only!) (2010-2013) -- don't bother!
|
478
|
-
* 'DOMMouseScroll' -- FF(0.9.7+) since 2003
|
479
|
-
*
|
480
|
-
* So what to do? The is the best:
|
481
|
-
*
|
482
|
-
* normalizeWheel.getEventType();
|
483
|
-
*
|
484
|
-
* In your event callback, use this code to get sane interpretation of the
|
485
|
-
* deltas. This code will return an object with properties:
|
486
|
-
*
|
487
|
-
* spinX -- normalized spin speed (use for zoom) - x plane
|
488
|
-
* spinY -- " - y plane
|
489
|
-
* pixelX -- normalized distance (to pixels) - x plane
|
490
|
-
* pixelY -- " - y plane
|
491
|
-
*
|
492
|
-
* Wheel values are provided by the browser assuming you are using the wheel to
|
493
|
-
* scroll a web page by a number of lines or pixels (or pages). Values can vary
|
494
|
-
* significantly on different platforms and browsers, forgetting that you can
|
495
|
-
* scroll at different speeds. Some devices (like trackpads) emit more events
|
496
|
-
* at smaller increments with fine granularity, and some emit massive jumps with
|
497
|
-
* linear speed or acceleration.
|
498
|
-
*
|
499
|
-
* This code does its best to normalize the deltas for you:
|
500
|
-
*
|
501
|
-
* - spin is trying to normalize how far the wheel was spun (or trackpad
|
502
|
-
* dragged). This is super useful for zoom support where you want to
|
503
|
-
* throw away the chunky scroll steps on the PC and make those equal to
|
504
|
-
* the slow and smooth tiny steps on the Mac. Key data: This code tries to
|
505
|
-
* resolve a single slow step on a wheel to 1.
|
506
|
-
*
|
507
|
-
* - pixel is normalizing the desired scroll delta in pixel units. You'll
|
508
|
-
* get the crazy differences between browsers, but at least it'll be in
|
509
|
-
* pixels!
|
510
|
-
*
|
511
|
-
* - positive value indicates scrolling DOWN/RIGHT, negative UP/LEFT. This
|
512
|
-
* should translate to positive value zooming IN, negative zooming OUT.
|
513
|
-
* This matches the newer 'wheel' event.
|
514
|
-
*
|
515
|
-
* Why are there spinX, spinY (or pixels)?
|
516
|
-
*
|
517
|
-
* - spinX is a 2-finger side drag on the trackpad, and a shift + wheel turn
|
518
|
-
* with a mouse. It results in side-scrolling in the browser by default.
|
519
|
-
*
|
520
|
-
* - spinY is what you expect -- it's the classic axis of a mouse wheel.
|
521
|
-
*
|
522
|
-
* - I dropped spinZ/pixelZ. It is supported by the DOM 3 'wheel' event and
|
523
|
-
* probably is by browsers in conjunction with fancy 3D controllers .. but
|
524
|
-
* you know.
|
525
|
-
*
|
526
|
-
* Implementation info:
|
527
|
-
*
|
528
|
-
* Examples of 'wheel' event if you scroll slowly (down) by one step with an
|
529
|
-
* average mouse:
|
530
|
-
*
|
531
|
-
* OS X + Chrome (mouse) - 4 pixel delta (wheelDelta -120)
|
532
|
-
* OS X + Safari (mouse) - N/A pixel delta (wheelDelta -12)
|
533
|
-
* OS X + Firefox (mouse) - 0.1 line delta (wheelDelta N/A)
|
534
|
-
* Win8 + Chrome (mouse) - 100 pixel delta (wheelDelta -120)
|
535
|
-
* Win8 + Firefox (mouse) - 3 line delta (wheelDelta -120)
|
536
|
-
*
|
537
|
-
* On the trackpad:
|
538
|
-
*
|
539
|
-
* OS X + Chrome (trackpad) - 2 pixel delta (wheelDelta -6)
|
540
|
-
* OS X + Firefox (trackpad) - 1 pixel delta (wheelDelta N/A)
|
541
|
-
*
|
542
|
-
* On other/older browsers.. it's more complicated as there can be multiple and
|
543
|
-
* also missing delta values.
|
544
|
-
*
|
545
|
-
* The 'wheel' event is more standard:
|
546
|
-
*
|
547
|
-
* http://www.w3.org/TR/DOM-Level-3-Events/#events-wheelevents
|
548
|
-
*
|
549
|
-
* The basics is that it includes a unit, deltaMode (pixels, lines, pages), and
|
550
|
-
* deltaX, deltaY and deltaZ. Some browsers provide other values to maintain
|
551
|
-
* backward compatibility with older events. Those other values help us
|
552
|
-
* better normalize spin speed. Example of what the browsers provide:
|
553
|
-
*
|
554
|
-
* | event.wheelDelta | event.detail
|
555
|
-
* ------------------+------------------+--------------
|
556
|
-
* Safari v5/OS X | -120 | 0
|
557
|
-
* Safari v5/Win7 | -120 | 0
|
558
|
-
* Chrome v17/OS X | -120 | 0
|
559
|
-
* Chrome v17/Win7 | -120 | 0
|
560
|
-
* IE9/Win7 | -120 | undefined
|
561
|
-
* Firefox v4/OS X | undefined | 1
|
562
|
-
* Firefox v4/Win7 | undefined | 3
|
563
|
-
*
|
564
|
-
*/
|
565
|
-
function normalizeWheel(/*object*/ event) /*object*/ {
|
566
|
-
var sX = 0, sY = 0, // spinX, spinY
|
567
|
-
pX = 0, pY = 0; // pixelX, pixelY
|
568
|
-
|
569
|
-
// Legacy
|
570
|
-
if ('detail' in event) { sY = event.detail; }
|
571
|
-
if ('wheelDelta' in event) { sY = -event.wheelDelta / 120; }
|
572
|
-
if ('wheelDeltaY' in event) { sY = -event.wheelDeltaY / 120; }
|
573
|
-
if ('wheelDeltaX' in event) { sX = -event.wheelDeltaX / 120; }
|
574
|
-
|
575
|
-
// side scrolling on FF with DOMMouseScroll
|
576
|
-
if ( 'axis' in event && event.axis === event.HORIZONTAL_AXIS ) {
|
577
|
-
sX = sY;
|
578
|
-
sY = 0;
|
579
|
-
}
|
580
|
-
|
581
|
-
pX = sX * PIXEL_STEP;
|
582
|
-
pY = sY * PIXEL_STEP;
|
583
|
-
|
584
|
-
if ('deltaY' in event) { pY = event.deltaY; }
|
585
|
-
if ('deltaX' in event) { pX = event.deltaX; }
|
586
|
-
|
587
|
-
if ((pX || pY) && event.deltaMode) {
|
588
|
-
if (event.deltaMode == 1) { // delta in LINE units
|
589
|
-
pX *= LINE_HEIGHT;
|
590
|
-
pY *= LINE_HEIGHT;
|
591
|
-
} else { // delta in PAGE units
|
592
|
-
pX *= PAGE_HEIGHT;
|
593
|
-
pY *= PAGE_HEIGHT;
|
594
|
-
}
|
595
|
-
}
|
596
|
-
|
597
|
-
// Fall-back if spin cannot be determined
|
598
|
-
if (pX && !sX) { sX = (pX < 1) ? -1 : 1; }
|
599
|
-
if (pY && !sY) { sY = (pY < 1) ? -1 : 1; }
|
600
|
-
|
601
|
-
return { spinX : sX,
|
602
|
-
spinY : sY,
|
603
|
-
pixelX : pX,
|
604
|
-
pixelY : pY };
|
605
|
-
}
|
606
|
-
|
607
|
-
|
608
|
-
/**
|
609
|
-
* The best combination if you prefer spinX + spinY normalization. It favors
|
610
|
-
* the older DOMMouseScroll for Firefox, as FF does not include wheelDelta with
|
611
|
-
* 'wheel' event, making spin speed determination impossible.
|
612
|
-
*/
|
613
|
-
normalizeWheel.getEventType = function() /*string*/ {
|
614
|
-
return (UserAgent_DEPRECATED.firefox())
|
615
|
-
? 'DOMMouseScroll'
|
616
|
-
: (isEventSupported('wheel'))
|
617
|
-
? 'wheel'
|
618
|
-
: 'mousewheel';
|
619
|
-
};
|
620
|
-
|
621
|
-
module.exports = normalizeWheel;
|
620
|
+
module.exports = __webpack_require__(5022);
|
622
621
|
|
623
622
|
|
624
623
|
/***/ })
|
@@ -681,8 +680,6 @@ module.exports = normalizeWheel;
|
|
681
680
|
/******/
|
682
681
|
/************************************************************************/
|
683
682
|
var __webpack_exports__ = {};
|
684
|
-
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
685
|
-
(() => {
|
686
683
|
|
687
684
|
// EXPORTS
|
688
685
|
__webpack_require__.d(__webpack_exports__, {
|
@@ -691,11 +688,13 @@ __webpack_require__.d(__webpack_exports__, {
|
|
691
688
|
useTagsOverflow: () => (/* reexport */ useTagsOverflow)
|
692
689
|
});
|
693
690
|
|
694
|
-
;//
|
695
|
-
var x = y => {
|
696
|
-
var
|
697
|
-
|
698
|
-
|
691
|
+
;// external "../shared"
|
692
|
+
var x = (y) => {
|
693
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
694
|
+
}
|
695
|
+
var y = (x) => (() => (x))
|
696
|
+
const shared_namespaceObject = x({ ["PropTypes"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes), ["bkZIndexManager"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.bkZIndexManager), ["checkOverflow"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.checkOverflow), ["resolveClassName"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.resolveClassName), ["useFormItem"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.useFormItem), ["withInstall"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall) });
|
697
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
699
698
|
function _typeof(o) {
|
700
699
|
"@babel/helpers - typeof";
|
701
700
|
|
@@ -705,7 +704,7 @@ function _typeof(o) {
|
|
705
704
|
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
706
705
|
}, _typeof(o);
|
707
706
|
}
|
708
|
-
;//
|
707
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
709
708
|
|
710
709
|
function toPrimitive(t, r) {
|
711
710
|
if ("object" != _typeof(t) || !t) return t;
|
@@ -717,14 +716,14 @@ function toPrimitive(t, r) {
|
|
717
716
|
}
|
718
717
|
return ("string" === r ? String : Number)(t);
|
719
718
|
}
|
720
|
-
;//
|
719
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
721
720
|
|
722
721
|
|
723
722
|
function toPropertyKey(t) {
|
724
723
|
var i = toPrimitive(t, "string");
|
725
724
|
return "symbol" == _typeof(i) ? i : String(i);
|
726
725
|
}
|
727
|
-
;//
|
726
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
728
727
|
|
729
728
|
function _defineProperty(obj, key, value) {
|
730
729
|
key = toPropertyKey(key);
|
@@ -740,22 +739,22 @@ function _defineProperty(obj, key, value) {
|
|
740
739
|
}
|
741
740
|
return obj;
|
742
741
|
}
|
743
|
-
;//
|
742
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
744
743
|
function _arrayLikeToArray(arr, len) {
|
745
744
|
if (len == null || len > arr.length) len = arr.length;
|
746
745
|
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
747
746
|
return arr2;
|
748
747
|
}
|
749
|
-
;//
|
748
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
750
749
|
|
751
750
|
function _arrayWithoutHoles(arr) {
|
752
751
|
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
753
752
|
}
|
754
|
-
;//
|
753
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
755
754
|
function _iterableToArray(iter) {
|
756
755
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
757
756
|
}
|
758
|
-
;//
|
757
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
759
758
|
|
760
759
|
function _unsupportedIterableToArray(o, minLen) {
|
761
760
|
if (!o) return;
|
@@ -765,11 +764,11 @@ function _unsupportedIterableToArray(o, minLen) {
|
|
765
764
|
if (n === "Map" || n === "Set") return Array.from(o);
|
766
765
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
767
766
|
}
|
768
|
-
;//
|
767
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
769
768
|
function _nonIterableSpread() {
|
770
769
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
771
770
|
}
|
772
|
-
;//
|
771
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
773
772
|
|
774
773
|
|
775
774
|
|
@@ -777,11 +776,13 @@ function _nonIterableSpread() {
|
|
777
776
|
function _toConsumableArray(arr) {
|
778
777
|
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
779
778
|
}
|
780
|
-
;//
|
781
|
-
var external_vue_x = y => {
|
782
|
-
var
|
783
|
-
|
784
|
-
|
779
|
+
;// external "vue"
|
780
|
+
var external_vue_x = (y) => {
|
781
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
782
|
+
}
|
783
|
+
var external_vue_y = (x) => (() => (x))
|
784
|
+
const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.computed), ["createTextVNode"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode), ["createVNode"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.createVNode), ["defineComponent"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.defineComponent), ["h"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.h), ["markRaw"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.markRaw), ["mergeProps"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.mergeProps), ["nextTick"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.nextTick), ["onMounted"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.onMounted), ["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), ["vModelText"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.vModelText), ["vShow"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.vShow), ["watch"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.watch), ["withDirectives"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.withDirectives) });
|
785
|
+
;// ../../packages/tag-input/src/common.ts
|
785
786
|
|
786
787
|
|
787
788
|
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; }
|
@@ -962,11 +963,11 @@ var useTagsOverflow = function useTagsOverflow(tagInputRef, collapseTags, select
|
|
962
963
|
overflowTagIndex: overflowTagIndex
|
963
964
|
};
|
964
965
|
};
|
965
|
-
;//
|
966
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
966
967
|
function _arrayWithHoles(arr) {
|
967
968
|
if (Array.isArray(arr)) return arr;
|
968
969
|
}
|
969
|
-
;//
|
970
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
|
970
971
|
function _iterableToArrayLimit(r, l) {
|
971
972
|
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
972
973
|
if (null != t) {
|
@@ -994,11 +995,11 @@ function _iterableToArrayLimit(r, l) {
|
|
994
995
|
return a;
|
995
996
|
}
|
996
997
|
}
|
997
|
-
;//
|
998
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
998
999
|
function _nonIterableRest() {
|
999
1000
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
1000
1001
|
}
|
1001
|
-
;//
|
1002
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js
|
1002
1003
|
|
1003
1004
|
|
1004
1005
|
|
@@ -1006,11 +1007,13 @@ function _nonIterableRest() {
|
|
1006
1007
|
function _slicedToArray(arr, i) {
|
1007
1008
|
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
1008
1009
|
}
|
1009
|
-
;//
|
1010
|
-
var config_provider_x = y => {
|
1011
|
-
var
|
1012
|
-
|
1013
|
-
|
1010
|
+
;// external "../config-provider"
|
1011
|
+
var config_provider_x = (y) => {
|
1012
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1013
|
+
}
|
1014
|
+
var config_provider_y = (x) => (() => (x))
|
1015
|
+
const config_provider_namespaceObject = config_provider_x({ ["useLocale"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.useLocale), ["usePrefix"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix) });
|
1016
|
+
;// ../../packages/directives/src/clickoutside.ts
|
1014
1017
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = clickoutside_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; } } }; }
|
1015
1018
|
function clickoutside_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return clickoutside_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 clickoutside_arrayLikeToArray(o, minLen); }
|
1016
1019
|
function clickoutside_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; }
|
@@ -1136,11 +1139,13 @@ ClickOutside.install = function (app) {
|
|
1136
1139
|
app.directive('bkTooltips', ClickOutside);
|
1137
1140
|
};
|
1138
1141
|
/* harmony default export */ const clickoutside = ((/* unused pure expression or super */ null && (ClickOutside)));
|
1139
|
-
;//
|
1140
|
-
var
|
1141
|
-
var
|
1142
|
-
|
1143
|
-
|
1142
|
+
;// external "../popover"
|
1143
|
+
var popover_x = (y) => {
|
1144
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1145
|
+
}
|
1146
|
+
var popover_y = (x) => (() => (x))
|
1147
|
+
const popover_namespaceObject = popover_x({ ["$bkPopover"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__.$bkPopover), ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__["default"]) });
|
1148
|
+
;// ../../packages/directives/src/ellipsis.ts
|
1144
1149
|
|
1145
1150
|
/*
|
1146
1151
|
* Tencent is pleased to support the open source community by making
|
@@ -1217,7 +1222,7 @@ var createInstance = function createInstance(el, binding) {
|
|
1217
1222
|
onContentMouseenter: handleContentEnter,
|
1218
1223
|
onContentMouseleave: handleContentLeave
|
1219
1224
|
});
|
1220
|
-
instance = (0,
|
1225
|
+
instance = (0,popover_namespaceObject.$bkPopover)(targetOptions);
|
1221
1226
|
}, 300);
|
1222
1227
|
};
|
1223
1228
|
var handleMouseLeave = function handleMouseLeave() {
|
@@ -1251,9 +1256,9 @@ var ellipsis = {
|
|
1251
1256
|
};
|
1252
1257
|
/* harmony default export */ const src_ellipsis = ((/* unused pure expression or super */ null && (ellipsis)));
|
1253
1258
|
// EXTERNAL MODULE: ../../node_modules/normalize-wheel/index.js
|
1254
|
-
var normalize_wheel = __webpack_require__(
|
1259
|
+
var normalize_wheel = __webpack_require__(8283);
|
1255
1260
|
var normalize_wheel_default = /*#__PURE__*/__webpack_require__.n(normalize_wheel);
|
1256
|
-
;//
|
1261
|
+
;// ../../packages/directives/src/mousewheel.ts
|
1257
1262
|
/*
|
1258
1263
|
* Tencent is pleased to support the open source community by making
|
1259
1264
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -1295,11 +1300,13 @@ var mousewheel = {
|
|
1295
1300
|
}
|
1296
1301
|
};
|
1297
1302
|
/* harmony default export */ const src_mousewheel = ((/* unused pure expression or super */ null && (mousewheel)));
|
1298
|
-
;//
|
1299
|
-
var core_x = y => {
|
1300
|
-
var
|
1301
|
-
|
1302
|
-
|
1303
|
+
;// external "@popperjs/core"
|
1304
|
+
var core_x = (y) => {
|
1305
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1306
|
+
}
|
1307
|
+
var core_y = (x) => (() => (x))
|
1308
|
+
const core_namespaceObject = core_x({ ["createPopper"]: () => (__WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__.createPopper) });
|
1309
|
+
;// ../../packages/directives/src/tooltips.ts
|
1303
1310
|
|
1304
1311
|
|
1305
1312
|
|
@@ -1591,15 +1598,19 @@ function hide(el) {
|
|
1591
1598
|
}
|
1592
1599
|
}
|
1593
1600
|
/* harmony default export */ const src_tooltips = (tooltips);
|
1594
|
-
;//
|
1595
|
-
var external_loading_x = y => {
|
1596
|
-
var
|
1601
|
+
;// external "../loading"
|
1602
|
+
var external_loading_x = (y) => {
|
1603
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1604
|
+
}
|
1605
|
+
var external_loading_y = (x) => (() => (x))
|
1597
1606
|
const external_loading_namespaceObject = external_loading_x({ });
|
1598
|
-
;//
|
1599
|
-
var external_overflow_title_x = y => {
|
1600
|
-
var
|
1607
|
+
;// external "../overflow-title"
|
1608
|
+
var external_overflow_title_x = (y) => {
|
1609
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1610
|
+
}
|
1611
|
+
var external_overflow_title_y = (x) => (() => (x))
|
1601
1612
|
const external_overflow_title_namespaceObject = external_overflow_title_x({ });
|
1602
|
-
;//
|
1613
|
+
;// ../../packages/directives/src/index.ts
|
1603
1614
|
/*
|
1604
1615
|
* Tencent is pleased to support the open source community by making
|
1605
1616
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -1632,35 +1643,43 @@ const external_overflow_title_namespaceObject = external_overflow_title_x({ });
|
|
1632
1643
|
|
1633
1644
|
|
1634
1645
|
// export { createInstance as bkEllipsisInstance } from './ellipsis';
|
1635
|
-
;//
|
1636
|
-
var icon_x = y => {
|
1637
|
-
var
|
1638
|
-
|
1639
|
-
|
1640
|
-
|
1641
|
-
|
1642
|
-
|
1643
|
-
|
1644
|
-
|
1645
|
-
var
|
1646
|
+
;// external "../icon"
|
1647
|
+
var icon_x = (y) => {
|
1648
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1649
|
+
}
|
1650
|
+
var icon_y = (x) => (() => (x))
|
1651
|
+
const icon_namespaceObject = icon_x({ ["Close"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Close), ["Error"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Error) });
|
1652
|
+
;// external "../loading"
|
1653
|
+
var loading_x = (y) => {
|
1654
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1655
|
+
}
|
1656
|
+
var loading_y = (x) => (() => (x))
|
1657
|
+
const loading_namespaceObject = loading_x({ ["BkLoadingSize"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_loading_dcf0e69a__.BkLoadingSize), ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_loading_dcf0e69a__["default"]) });
|
1658
|
+
;// external "../loading/loading.less"
|
1659
|
+
var loading_less_x = (y) => {
|
1660
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1661
|
+
}
|
1662
|
+
var loading_less_y = (x) => (() => (x))
|
1646
1663
|
const loading_less_namespaceObject = loading_less_x({ });
|
1647
|
-
;//
|
1648
|
-
var
|
1649
|
-
var
|
1650
|
-
|
1651
|
-
|
1652
|
-
var popover_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1653
|
-
var popover_less_y = x => () => x
|
1664
|
+
;// external "../popover/popover.less"
|
1665
|
+
var popover_less_x = (y) => {
|
1666
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1667
|
+
}
|
1668
|
+
var popover_less_y = (x) => (() => (x))
|
1654
1669
|
const popover_less_namespaceObject = popover_less_x({ });
|
1655
|
-
;//
|
1656
|
-
var debounce_x = y => {
|
1657
|
-
var
|
1658
|
-
|
1659
|
-
|
1660
|
-
|
1661
|
-
|
1662
|
-
|
1663
|
-
|
1670
|
+
;// external "lodash/debounce"
|
1671
|
+
var debounce_x = (y) => {
|
1672
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1673
|
+
}
|
1674
|
+
var debounce_y = (x) => (() => (x))
|
1675
|
+
const debounce_namespaceObject = debounce_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_lodash_debounce_3540babe__["default"]) });
|
1676
|
+
;// external "lodash/trim"
|
1677
|
+
var trim_x = (y) => {
|
1678
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1679
|
+
}
|
1680
|
+
var trim_y = (x) => (() => (x))
|
1681
|
+
const trim_namespaceObject = trim_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_lodash_trim_5cdad98c__["default"]) });
|
1682
|
+
;// ../../packages/tag-input/src/list-tag-render.tsx
|
1664
1683
|
|
1665
1684
|
/*
|
1666
1685
|
* Tencent is pleased to support the open source community by making
|
@@ -1725,11 +1744,13 @@ const trim_namespaceObject = trim_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODU
|
|
1725
1744
|
}, [displayText])]);
|
1726
1745
|
}
|
1727
1746
|
}));
|
1728
|
-
;//
|
1729
|
-
var external_vue_types_x = y => {
|
1730
|
-
var
|
1731
|
-
|
1732
|
-
|
1747
|
+
;// external "vue-types"
|
1748
|
+
var external_vue_types_x = (y) => {
|
1749
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1750
|
+
}
|
1751
|
+
var external_vue_types_y = (x) => (() => (x))
|
1752
|
+
const external_vue_types_namespaceObject = external_vue_types_x({ ["toType"]: () => (__WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__.toType) });
|
1753
|
+
;// ../../packages/tag-input/src/tag-props.ts
|
1733
1754
|
/*
|
1734
1755
|
* Tencent is pleased to support the open source community by making
|
1735
1756
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -1826,11 +1847,13 @@ var tagProps = function tagProps() {
|
|
1826
1847
|
};
|
1827
1848
|
};
|
1828
1849
|
/* harmony default export */ const tag_props = (tagProps);
|
1829
|
-
;//
|
1830
|
-
var has_x = y => {
|
1831
|
-
var
|
1832
|
-
|
1833
|
-
|
1850
|
+
;// external "lodash/has"
|
1851
|
+
var has_x = (y) => {
|
1852
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
1853
|
+
}
|
1854
|
+
var has_y = (x) => (() => (x))
|
1855
|
+
const has_namespaceObject = has_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_lodash_has_e9e453be__["default"]) });
|
1856
|
+
;// ../../packages/tag-input/src/tag-render.tsx
|
1834
1857
|
|
1835
1858
|
|
1836
1859
|
function tag_render_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; }
|
@@ -1919,7 +1942,7 @@ function tag_render_objectSpread(e) { for (var r = 1; r < arguments.length; r++)
|
|
1919
1942
|
}, [this.node[this.displayKey]])]), [[(0,external_vue_namespaceObject.resolveDirective)("bk-tooltips"), this.overflowTips]]);
|
1920
1943
|
}
|
1921
1944
|
}));
|
1922
|
-
;//
|
1945
|
+
;// ../../packages/tag-input/src/tag-input.tsx
|
1923
1946
|
|
1924
1947
|
|
1925
1948
|
|
@@ -2939,7 +2962,7 @@ function tag_input_objectSpread(e) { for (var r = 1; r < arguments.length; r++)
|
|
2939
2962
|
})]);
|
2940
2963
|
}
|
2941
2964
|
}));
|
2942
|
-
;//
|
2965
|
+
;// ../../packages/tag-input/src/index.ts
|
2943
2966
|
/*
|
2944
2967
|
* Tencent is pleased to support the open source community by making
|
2945
2968
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -2971,8 +2994,6 @@ function tag_input_objectSpread(e) { for (var r = 1; r < arguments.length; r++)
|
|
2971
2994
|
var TagInput = (0,shared_namespaceObject.withInstall)(tag_input);
|
2972
2995
|
/* harmony default export */ const src = (TagInput);
|
2973
2996
|
|
2974
|
-
})();
|
2975
|
-
|
2976
2997
|
var __webpack_exports__TagInput = __webpack_exports__.TagInput;
|
2977
2998
|
var __webpack_exports__default = __webpack_exports__["default"];
|
2978
2999
|
var __webpack_exports__useTagsOverflow = __webpack_exports__.useTagsOverflow;
|