bkui-vue 2.0.2-beta.6 → 2.0.2-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +15 -15
- package/dist/index.esm.js +909 -897
- package/dist/index.umd.js +15 -15
- package/lib/affix/index.js +22 -30
- package/lib/alert/index.js +22 -30
- package/lib/animate-number/index.js +10 -14
- package/lib/backtop/index.js +22 -32
- package/lib/badge/index.js +18 -24
- package/lib/breadcrumb/index.js +23 -31
- package/lib/button/index.js +26 -36
- package/lib/card/index.js +33 -47
- package/lib/cascader/index.js +700 -696
- package/lib/checkbox/index.js +34 -44
- package/lib/code-diff/index.js +79 -83
- package/lib/collapse/index.js +33 -39
- package/lib/collapse-transition/index.js +14 -20
- package/lib/color-picker/index.js +624 -640
- package/lib/config-provider/index.js +26 -34
- package/lib/container/index.js +21 -27
- package/lib/date-picker/index.js +650 -672
- package/lib/dialog/index.js +87 -101
- package/lib/directives/index.js +512 -520
- package/lib/divider/index.js +15 -21
- package/lib/dropdown/index.js +31 -43
- package/lib/exception/index.js +49 -55
- package/lib/fixed-navbar/index.js +14 -20
- package/lib/form/index.js +638 -662
- package/lib/icon/angle-double-down-line.js +12 -14
- package/lib/icon/angle-double-left-line.js +12 -14
- package/lib/icon/angle-double-left.js +12 -14
- package/lib/icon/angle-double-right-line.js +12 -14
- package/lib/icon/angle-double-right.js +12 -14
- package/lib/icon/angle-double-up-line.js +12 -14
- package/lib/icon/angle-down-fill.js +12 -14
- package/lib/icon/angle-down-line.js +12 -14
- package/lib/icon/angle-down.js +12 -14
- package/lib/icon/angle-left.js +12 -14
- package/lib/icon/angle-right.js +12 -14
- package/lib/icon/angle-up-fill.js +12 -14
- package/lib/icon/angle-up.js +12 -14
- package/lib/icon/archive-fill.js +12 -14
- package/lib/icon/arrows-left.js +12 -14
- package/lib/icon/arrows-right.js +12 -14
- package/lib/icon/assistant.js +12 -14
- package/lib/icon/audio-fill.js +12 -14
- package/lib/icon/bk.js +12 -14
- package/lib/icon/circle.js +12 -14
- package/lib/icon/close-line.js +12 -14
- package/lib/icon/close.js +12 -14
- package/lib/icon/code.js +12 -14
- package/lib/icon/cog-shape.js +12 -14
- package/lib/icon/collapse-left.js +12 -14
- package/lib/icon/copy-shape.js +12 -14
- package/lib/icon/copy.js +12 -14
- package/lib/icon/data-shape.js +12 -14
- package/lib/icon/del.js +12 -14
- package/lib/icon/doc-fill.js +12 -14
- package/lib/icon/done.js +12 -14
- package/lib/icon/down-shape.js +12 -14
- package/lib/icon/down-small.js +12 -14
- package/lib/icon/edit-line.js +12 -14
- package/lib/icon/ellipsis.js +12 -14
- package/lib/icon/enlarge-line.js +12 -14
- package/lib/icon/error.js +12 -14
- package/lib/icon/excel-fill.js +12 -14
- package/lib/icon/exclamation-circle-shape.js +12 -14
- package/lib/icon/eye.js +12 -14
- package/lib/icon/filliscreen-line.js +12 -14
- package/lib/icon/fix-line.js +12 -14
- package/lib/icon/fix-shape.js +12 -14
- package/lib/icon/folder-open.js +12 -14
- package/lib/icon/folder-shape-open.js +12 -14
- package/lib/icon/folder-shape.js +12 -14
- package/lib/icon/folder.js +12 -14
- package/lib/icon/funnel.js +12 -14
- package/lib/icon/grag-fill.js +12 -14
- package/lib/icon/help-document-fill.js +12 -14
- package/lib/icon/help-fill.js +12 -14
- package/lib/icon/help.js +12 -14
- package/lib/icon/image-fill.js +12 -14
- package/lib/icon/img-error.js +12 -14
- package/lib/icon/img-placehoulder.js +12 -14
- package/lib/icon/info-line.js +12 -14
- package/lib/icon/info.js +12 -14
- package/lib/icon/left-shape.js +12 -14
- package/lib/icon/left-turn-line.js +12 -14
- package/lib/icon/loading.js +12 -14
- package/lib/icon/narrow-line.js +12 -14
- package/lib/icon/original.js +12 -14
- package/lib/icon/pdf-fill.js +12 -14
- package/lib/icon/play-shape.js +12 -14
- package/lib/icon/plus.js +12 -14
- package/lib/icon/ppt-fill.js +12 -14
- package/lib/icon/qq.js +12 -14
- package/lib/icon/right-shape.js +12 -14
- package/lib/icon/right-turn-line.js +12 -14
- package/lib/icon/search.js +12 -14
- package/lib/icon/share.js +12 -14
- package/lib/icon/spinner.js +12 -14
- package/lib/icon/success.js +12 -14
- package/lib/icon/switcher-loading.js +12 -14
- package/lib/icon/text-all.js +12 -14
- package/lib/icon/text-file.js +12 -14
- package/lib/icon/text-fill.js +12 -14
- package/lib/icon/transfer.js +12 -14
- package/lib/icon/tree-application-shape.js +12 -14
- package/lib/icon/unfull-screen.js +12 -14
- package/lib/icon/unvisible.js +12 -14
- package/lib/icon/up-shape.js +12 -14
- package/lib/icon/upload.js +12 -14
- package/lib/icon/video-fill.js +12 -14
- package/lib/icon/warn.js +12 -14
- package/lib/icon/weixin-pro.js +12 -14
- package/lib/icon/weixin.js +12 -14
- package/lib/image/index.js +324 -340
- package/lib/index.js +1 -1
- package/lib/info-box/index.js +87 -101
- package/lib/input/index.js +321 -333
- package/lib/link/index.js +18 -26
- package/lib/loading/index.js +19 -25
- package/lib/locale/index.js +3 -3
- package/lib/menu/index.js +32 -40
- package/lib/message/index.js +41 -47
- package/lib/modal/index.js +29 -39
- package/lib/navigation/index.js +19 -27
- package/lib/notify/index.js +27 -37
- package/lib/overflow-title/index.js +29 -41
- package/lib/pagination/index.js +46 -62
- package/lib/pop-confirm/index.js +33 -49
- package/lib/popover/index.js +345 -361
- package/lib/popover2/index.js +10 -14
- package/lib/process/index.js +74 -78
- package/lib/progress/index.js +20 -26
- package/lib/radio/index.js +31 -39
- package/lib/rate/index.js +19 -25
- package/lib/resize-layout/index.js +22 -30
- package/lib/scrollbar/index.js +25 -25
- package/lib/search-select/index.js +509 -531
- package/lib/select/index.js +543 -585
- package/lib/shared/index.js +49 -57
- package/lib/sideslider/index.js +79 -89
- package/lib/slider/index.js +75 -85
- package/lib/steps/index.js +72 -78
- package/lib/swiper/index.js +18 -24
- package/lib/switcher/index.js +22 -30
- package/lib/tab/index.js +321 -335
- package/lib/table/index.js +602 -660
- package/lib/table-column/index.js +9 -13
- package/lib/tag/index.js +26 -36
- package/lib/tag-input/index.js +348 -374
- package/lib/time-picker/index.js +9 -13
- package/lib/timeline/index.js +15 -21
- package/lib/transfer/index.js +40 -56
- package/lib/tree/index.js +76 -100
- package/lib/upload/index.js +562 -574
- package/lib/virtual-render/index.js +43 -55
- package/package.json +1 -1
package/lib/tag-input/index.js
CHANGED
@@ -17,7 +17,15 @@ import * as __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__ from "vue-types";
|
|
17
17
|
import * as __WEBPACK_EXTERNAL_MODULE_lodash_has_e9e453be__ from "lodash/has";
|
18
18
|
/******/ var __webpack_modules__ = ({
|
19
19
|
|
20
|
-
/***/
|
20
|
+
/***/ 2439:
|
21
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
22
|
+
|
23
|
+
module.exports = __webpack_require__(2527);
|
24
|
+
|
25
|
+
|
26
|
+
/***/ }),
|
27
|
+
|
28
|
+
/***/ 7430:
|
21
29
|
/***/ ((module) => {
|
22
30
|
|
23
31
|
/**
|
@@ -67,265 +75,7 @@ module.exports = ExecutionEnvironment;
|
|
67
75
|
|
68
76
|
/***/ }),
|
69
77
|
|
70
|
-
/***/
|
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:
|
78
|
+
/***/ 6377:
|
329
79
|
/***/ ((module) => {
|
330
80
|
|
331
81
|
/**
|
@@ -614,10 +364,260 @@ module.exports = UserAgent_DEPRECATED;
|
|
614
364
|
|
615
365
|
/***/ }),
|
616
366
|
|
617
|
-
/***/
|
367
|
+
/***/ 3541:
|
618
368
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
619
369
|
|
620
|
-
|
370
|
+
/**
|
371
|
+
* Copyright 2013-2015, Facebook, Inc.
|
372
|
+
* All rights reserved.
|
373
|
+
*
|
374
|
+
* This source code is licensed under the BSD-style license found in the
|
375
|
+
* LICENSE file in the root directory of this source tree. An additional grant
|
376
|
+
* of patent rights can be found in the PATENTS file in the same directory.
|
377
|
+
*
|
378
|
+
* @providesModule isEventSupported
|
379
|
+
*/
|
380
|
+
|
381
|
+
|
382
|
+
|
383
|
+
var ExecutionEnvironment = __webpack_require__(7430);
|
384
|
+
|
385
|
+
var useHasFeature;
|
386
|
+
if (ExecutionEnvironment.canUseDOM) {
|
387
|
+
useHasFeature =
|
388
|
+
document.implementation &&
|
389
|
+
document.implementation.hasFeature &&
|
390
|
+
// always returns true in newer browsers as per the standard.
|
391
|
+
// @see http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature
|
392
|
+
document.implementation.hasFeature('', '') !== true;
|
393
|
+
}
|
394
|
+
|
395
|
+
/**
|
396
|
+
* Checks if an event is supported in the current execution environment.
|
397
|
+
*
|
398
|
+
* NOTE: This will not work correctly for non-generic events such as `change`,
|
399
|
+
* `reset`, `load`, `error`, and `select`.
|
400
|
+
*
|
401
|
+
* Borrows from Modernizr.
|
402
|
+
*
|
403
|
+
* @param {string} eventNameSuffix Event name, e.g. "click".
|
404
|
+
* @param {?boolean} capture Check if the capture phase is supported.
|
405
|
+
* @return {boolean} True if the event is supported.
|
406
|
+
* @internal
|
407
|
+
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
408
|
+
*/
|
409
|
+
function isEventSupported(eventNameSuffix, capture) {
|
410
|
+
if (!ExecutionEnvironment.canUseDOM ||
|
411
|
+
capture && !('addEventListener' in document)) {
|
412
|
+
return false;
|
413
|
+
}
|
414
|
+
|
415
|
+
var eventName = 'on' + eventNameSuffix;
|
416
|
+
var isSupported = eventName in document;
|
417
|
+
|
418
|
+
if (!isSupported) {
|
419
|
+
var element = document.createElement('div');
|
420
|
+
element.setAttribute(eventName, 'return;');
|
421
|
+
isSupported = typeof element[eventName] === 'function';
|
422
|
+
}
|
423
|
+
|
424
|
+
if (!isSupported && useHasFeature && eventNameSuffix === 'wheel') {
|
425
|
+
// This is the only way to test support for the `wheel` event in IE9+.
|
426
|
+
isSupported = document.implementation.hasFeature('Events.wheel', '3.0');
|
427
|
+
}
|
428
|
+
|
429
|
+
return isSupported;
|
430
|
+
}
|
431
|
+
|
432
|
+
module.exports = isEventSupported;
|
433
|
+
|
434
|
+
|
435
|
+
/***/ }),
|
436
|
+
|
437
|
+
/***/ 2527:
|
438
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
439
|
+
|
440
|
+
/**
|
441
|
+
* Copyright (c) 2015, Facebook, Inc.
|
442
|
+
* All rights reserved.
|
443
|
+
*
|
444
|
+
* This source code is licensed under the BSD-style license found in the
|
445
|
+
* LICENSE file in the root directory of this source tree. An additional grant
|
446
|
+
* of patent rights can be found in the PATENTS file in the same directory.
|
447
|
+
*
|
448
|
+
* @providesModule normalizeWheel
|
449
|
+
* @typechecks
|
450
|
+
*/
|
451
|
+
|
452
|
+
|
453
|
+
|
454
|
+
var UserAgent_DEPRECATED = __webpack_require__(6377);
|
455
|
+
|
456
|
+
var isEventSupported = __webpack_require__(3541);
|
457
|
+
|
458
|
+
|
459
|
+
// Reasonable defaults
|
460
|
+
var PIXEL_STEP = 10;
|
461
|
+
var LINE_HEIGHT = 40;
|
462
|
+
var PAGE_HEIGHT = 800;
|
463
|
+
|
464
|
+
/**
|
465
|
+
* Mouse wheel (and 2-finger trackpad) support on the web sucks. It is
|
466
|
+
* complicated, thus this doc is long and (hopefully) detailed enough to answer
|
467
|
+
* your questions.
|
468
|
+
*
|
469
|
+
* If you need to react to the mouse wheel in a predictable way, this code is
|
470
|
+
* like your bestest friend. * hugs *
|
471
|
+
*
|
472
|
+
* As of today, there are 4 DOM event types you can listen to:
|
473
|
+
*
|
474
|
+
* 'wheel' -- Chrome(31+), FF(17+), IE(9+)
|
475
|
+
* 'mousewheel' -- Chrome, IE(6+), Opera, Safari
|
476
|
+
* 'MozMousePixelScroll' -- FF(3.5 only!) (2010-2013) -- don't bother!
|
477
|
+
* 'DOMMouseScroll' -- FF(0.9.7+) since 2003
|
478
|
+
*
|
479
|
+
* So what to do? The is the best:
|
480
|
+
*
|
481
|
+
* normalizeWheel.getEventType();
|
482
|
+
*
|
483
|
+
* In your event callback, use this code to get sane interpretation of the
|
484
|
+
* deltas. This code will return an object with properties:
|
485
|
+
*
|
486
|
+
* spinX -- normalized spin speed (use for zoom) - x plane
|
487
|
+
* spinY -- " - y plane
|
488
|
+
* pixelX -- normalized distance (to pixels) - x plane
|
489
|
+
* pixelY -- " - y plane
|
490
|
+
*
|
491
|
+
* Wheel values are provided by the browser assuming you are using the wheel to
|
492
|
+
* scroll a web page by a number of lines or pixels (or pages). Values can vary
|
493
|
+
* significantly on different platforms and browsers, forgetting that you can
|
494
|
+
* scroll at different speeds. Some devices (like trackpads) emit more events
|
495
|
+
* at smaller increments with fine granularity, and some emit massive jumps with
|
496
|
+
* linear speed or acceleration.
|
497
|
+
*
|
498
|
+
* This code does its best to normalize the deltas for you:
|
499
|
+
*
|
500
|
+
* - spin is trying to normalize how far the wheel was spun (or trackpad
|
501
|
+
* dragged). This is super useful for zoom support where you want to
|
502
|
+
* throw away the chunky scroll steps on the PC and make those equal to
|
503
|
+
* the slow and smooth tiny steps on the Mac. Key data: This code tries to
|
504
|
+
* resolve a single slow step on a wheel to 1.
|
505
|
+
*
|
506
|
+
* - pixel is normalizing the desired scroll delta in pixel units. You'll
|
507
|
+
* get the crazy differences between browsers, but at least it'll be in
|
508
|
+
* pixels!
|
509
|
+
*
|
510
|
+
* - positive value indicates scrolling DOWN/RIGHT, negative UP/LEFT. This
|
511
|
+
* should translate to positive value zooming IN, negative zooming OUT.
|
512
|
+
* This matches the newer 'wheel' event.
|
513
|
+
*
|
514
|
+
* Why are there spinX, spinY (or pixels)?
|
515
|
+
*
|
516
|
+
* - spinX is a 2-finger side drag on the trackpad, and a shift + wheel turn
|
517
|
+
* with a mouse. It results in side-scrolling in the browser by default.
|
518
|
+
*
|
519
|
+
* - spinY is what you expect -- it's the classic axis of a mouse wheel.
|
520
|
+
*
|
521
|
+
* - I dropped spinZ/pixelZ. It is supported by the DOM 3 'wheel' event and
|
522
|
+
* probably is by browsers in conjunction with fancy 3D controllers .. but
|
523
|
+
* you know.
|
524
|
+
*
|
525
|
+
* Implementation info:
|
526
|
+
*
|
527
|
+
* Examples of 'wheel' event if you scroll slowly (down) by one step with an
|
528
|
+
* average mouse:
|
529
|
+
*
|
530
|
+
* OS X + Chrome (mouse) - 4 pixel delta (wheelDelta -120)
|
531
|
+
* OS X + Safari (mouse) - N/A pixel delta (wheelDelta -12)
|
532
|
+
* OS X + Firefox (mouse) - 0.1 line delta (wheelDelta N/A)
|
533
|
+
* Win8 + Chrome (mouse) - 100 pixel delta (wheelDelta -120)
|
534
|
+
* Win8 + Firefox (mouse) - 3 line delta (wheelDelta -120)
|
535
|
+
*
|
536
|
+
* On the trackpad:
|
537
|
+
*
|
538
|
+
* OS X + Chrome (trackpad) - 2 pixel delta (wheelDelta -6)
|
539
|
+
* OS X + Firefox (trackpad) - 1 pixel delta (wheelDelta N/A)
|
540
|
+
*
|
541
|
+
* On other/older browsers.. it's more complicated as there can be multiple and
|
542
|
+
* also missing delta values.
|
543
|
+
*
|
544
|
+
* The 'wheel' event is more standard:
|
545
|
+
*
|
546
|
+
* http://www.w3.org/TR/DOM-Level-3-Events/#events-wheelevents
|
547
|
+
*
|
548
|
+
* The basics is that it includes a unit, deltaMode (pixels, lines, pages), and
|
549
|
+
* deltaX, deltaY and deltaZ. Some browsers provide other values to maintain
|
550
|
+
* backward compatibility with older events. Those other values help us
|
551
|
+
* better normalize spin speed. Example of what the browsers provide:
|
552
|
+
*
|
553
|
+
* | event.wheelDelta | event.detail
|
554
|
+
* ------------------+------------------+--------------
|
555
|
+
* Safari v5/OS X | -120 | 0
|
556
|
+
* Safari v5/Win7 | -120 | 0
|
557
|
+
* Chrome v17/OS X | -120 | 0
|
558
|
+
* Chrome v17/Win7 | -120 | 0
|
559
|
+
* IE9/Win7 | -120 | undefined
|
560
|
+
* Firefox v4/OS X | undefined | 1
|
561
|
+
* Firefox v4/Win7 | undefined | 3
|
562
|
+
*
|
563
|
+
*/
|
564
|
+
function normalizeWheel(/*object*/ event) /*object*/ {
|
565
|
+
var sX = 0, sY = 0, // spinX, spinY
|
566
|
+
pX = 0, pY = 0; // pixelX, pixelY
|
567
|
+
|
568
|
+
// Legacy
|
569
|
+
if ('detail' in event) { sY = event.detail; }
|
570
|
+
if ('wheelDelta' in event) { sY = -event.wheelDelta / 120; }
|
571
|
+
if ('wheelDeltaY' in event) { sY = -event.wheelDeltaY / 120; }
|
572
|
+
if ('wheelDeltaX' in event) { sX = -event.wheelDeltaX / 120; }
|
573
|
+
|
574
|
+
// side scrolling on FF with DOMMouseScroll
|
575
|
+
if ( 'axis' in event && event.axis === event.HORIZONTAL_AXIS ) {
|
576
|
+
sX = sY;
|
577
|
+
sY = 0;
|
578
|
+
}
|
579
|
+
|
580
|
+
pX = sX * PIXEL_STEP;
|
581
|
+
pY = sY * PIXEL_STEP;
|
582
|
+
|
583
|
+
if ('deltaY' in event) { pY = event.deltaY; }
|
584
|
+
if ('deltaX' in event) { pX = event.deltaX; }
|
585
|
+
|
586
|
+
if ((pX || pY) && event.deltaMode) {
|
587
|
+
if (event.deltaMode == 1) { // delta in LINE units
|
588
|
+
pX *= LINE_HEIGHT;
|
589
|
+
pY *= LINE_HEIGHT;
|
590
|
+
} else { // delta in PAGE units
|
591
|
+
pX *= PAGE_HEIGHT;
|
592
|
+
pY *= PAGE_HEIGHT;
|
593
|
+
}
|
594
|
+
}
|
595
|
+
|
596
|
+
// Fall-back if spin cannot be determined
|
597
|
+
if (pX && !sX) { sX = (pX < 1) ? -1 : 1; }
|
598
|
+
if (pY && !sY) { sY = (pY < 1) ? -1 : 1; }
|
599
|
+
|
600
|
+
return { spinX : sX,
|
601
|
+
spinY : sY,
|
602
|
+
pixelX : pX,
|
603
|
+
pixelY : pY };
|
604
|
+
}
|
605
|
+
|
606
|
+
|
607
|
+
/**
|
608
|
+
* The best combination if you prefer spinX + spinY normalization. It favors
|
609
|
+
* the older DOMMouseScroll for Firefox, as FF does not include wheelDelta with
|
610
|
+
* 'wheel' event, making spin speed determination impossible.
|
611
|
+
*/
|
612
|
+
normalizeWheel.getEventType = function() /*string*/ {
|
613
|
+
return (UserAgent_DEPRECATED.firefox())
|
614
|
+
? 'DOMMouseScroll'
|
615
|
+
: (isEventSupported('wheel'))
|
616
|
+
? 'wheel'
|
617
|
+
: 'mousewheel';
|
618
|
+
};
|
619
|
+
|
620
|
+
module.exports = normalizeWheel;
|
621
621
|
|
622
622
|
|
623
623
|
/***/ })
|
@@ -680,6 +680,8 @@ module.exports = __webpack_require__(5022);
|
|
680
680
|
/******/
|
681
681
|
/************************************************************************/
|
682
682
|
var __webpack_exports__ = {};
|
683
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
684
|
+
(() => {
|
683
685
|
|
684
686
|
// EXPORTS
|
685
687
|
__webpack_require__.d(__webpack_exports__, {
|
@@ -688,13 +690,11 @@ __webpack_require__.d(__webpack_exports__, {
|
|
688
690
|
useTagsOverflow: () => (/* reexport */ useTagsOverflow)
|
689
691
|
});
|
690
692
|
|
691
|
-
;// external "../shared"
|
692
|
-
var x = (y)
|
693
|
-
|
694
|
-
}
|
695
|
-
|
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
|
693
|
+
;// CONCATENATED MODULE: external "../shared"
|
694
|
+
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
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
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
698
698
|
function _typeof(o) {
|
699
699
|
"@babel/helpers - typeof";
|
700
700
|
|
@@ -704,7 +704,7 @@ function _typeof(o) {
|
|
704
704
|
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
705
705
|
}, _typeof(o);
|
706
706
|
}
|
707
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
707
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
708
708
|
|
709
709
|
function toPrimitive(t, r) {
|
710
710
|
if ("object" != _typeof(t) || !t) return t;
|
@@ -716,14 +716,14 @@ function toPrimitive(t, r) {
|
|
716
716
|
}
|
717
717
|
return ("string" === r ? String : Number)(t);
|
718
718
|
}
|
719
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
719
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
720
720
|
|
721
721
|
|
722
722
|
function toPropertyKey(t) {
|
723
723
|
var i = toPrimitive(t, "string");
|
724
724
|
return "symbol" == _typeof(i) ? i : String(i);
|
725
725
|
}
|
726
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
726
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
727
727
|
|
728
728
|
function _defineProperty(obj, key, value) {
|
729
729
|
key = toPropertyKey(key);
|
@@ -739,22 +739,22 @@ function _defineProperty(obj, key, value) {
|
|
739
739
|
}
|
740
740
|
return obj;
|
741
741
|
}
|
742
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
742
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
743
743
|
function _arrayLikeToArray(arr, len) {
|
744
744
|
if (len == null || len > arr.length) len = arr.length;
|
745
745
|
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
746
746
|
return arr2;
|
747
747
|
}
|
748
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
748
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
749
749
|
|
750
750
|
function _arrayWithoutHoles(arr) {
|
751
751
|
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
752
752
|
}
|
753
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
753
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
754
754
|
function _iterableToArray(iter) {
|
755
755
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
756
756
|
}
|
757
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
757
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
758
758
|
|
759
759
|
function _unsupportedIterableToArray(o, minLen) {
|
760
760
|
if (!o) return;
|
@@ -764,11 +764,11 @@ function _unsupportedIterableToArray(o, minLen) {
|
|
764
764
|
if (n === "Map" || n === "Set") return Array.from(o);
|
765
765
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
766
766
|
}
|
767
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
767
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
768
768
|
function _nonIterableSpread() {
|
769
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.");
|
770
770
|
}
|
771
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
771
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
772
772
|
|
773
773
|
|
774
774
|
|
@@ -776,13 +776,11 @@ function _nonIterableSpread() {
|
|
776
776
|
function _toConsumableArray(arr) {
|
777
777
|
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
778
778
|
}
|
779
|
-
;// external "vue"
|
780
|
-
var external_vue_x = (y)
|
781
|
-
|
782
|
-
}
|
783
|
-
|
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
|
779
|
+
;// CONCATENATED MODULE: external "vue"
|
780
|
+
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
781
|
+
var external_vue_y = x => () => x
|
782
|
+
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 });
|
783
|
+
;// CONCATENATED MODULE: ../../packages/tag-input/src/common.ts
|
786
784
|
|
787
785
|
|
788
786
|
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; }
|
@@ -963,11 +961,11 @@ var useTagsOverflow = function useTagsOverflow(tagInputRef, collapseTags, select
|
|
963
961
|
overflowTagIndex: overflowTagIndex
|
964
962
|
};
|
965
963
|
};
|
966
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
964
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
967
965
|
function _arrayWithHoles(arr) {
|
968
966
|
if (Array.isArray(arr)) return arr;
|
969
967
|
}
|
970
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
|
968
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
|
971
969
|
function _iterableToArrayLimit(r, l) {
|
972
970
|
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
973
971
|
if (null != t) {
|
@@ -995,11 +993,11 @@ function _iterableToArrayLimit(r, l) {
|
|
995
993
|
return a;
|
996
994
|
}
|
997
995
|
}
|
998
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
996
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
999
997
|
function _nonIterableRest() {
|
1000
998
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
1001
999
|
}
|
1002
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js
|
1000
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js
|
1003
1001
|
|
1004
1002
|
|
1005
1003
|
|
@@ -1007,13 +1005,11 @@ function _nonIterableRest() {
|
|
1007
1005
|
function _slicedToArray(arr, i) {
|
1008
1006
|
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
1009
1007
|
}
|
1010
|
-
;// external "../config-provider"
|
1011
|
-
var config_provider_x = (y)
|
1012
|
-
|
1013
|
-
}
|
1014
|
-
|
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
|
1008
|
+
;// CONCATENATED MODULE: external "../config-provider"
|
1009
|
+
var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1010
|
+
var config_provider_y = x => () => x
|
1011
|
+
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 });
|
1012
|
+
;// CONCATENATED MODULE: ../../packages/directives/src/clickoutside.ts
|
1017
1013
|
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; } } }; }
|
1018
1014
|
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); }
|
1019
1015
|
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; }
|
@@ -1139,13 +1135,11 @@ ClickOutside.install = function (app) {
|
|
1139
1135
|
app.directive('bkTooltips', ClickOutside);
|
1140
1136
|
};
|
1141
1137
|
/* harmony default export */ const clickoutside = ((/* unused pure expression or super */ null && (ClickOutside)));
|
1142
|
-
;// external "../popover"
|
1143
|
-
var popover_x = (y)
|
1144
|
-
|
1145
|
-
}
|
1146
|
-
|
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
|
1138
|
+
;// CONCATENATED MODULE: external "../popover"
|
1139
|
+
var popover_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1140
|
+
var popover_y = x => () => x
|
1141
|
+
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"] });
|
1142
|
+
;// CONCATENATED MODULE: ../../packages/directives/src/ellipsis.ts
|
1149
1143
|
|
1150
1144
|
/*
|
1151
1145
|
* Tencent is pleased to support the open source community by making
|
@@ -1256,9 +1250,9 @@ var ellipsis = {
|
|
1256
1250
|
};
|
1257
1251
|
/* harmony default export */ const src_ellipsis = ((/* unused pure expression or super */ null && (ellipsis)));
|
1258
1252
|
// EXTERNAL MODULE: ../../node_modules/normalize-wheel/index.js
|
1259
|
-
var normalize_wheel = __webpack_require__(
|
1253
|
+
var normalize_wheel = __webpack_require__(2439);
|
1260
1254
|
var normalize_wheel_default = /*#__PURE__*/__webpack_require__.n(normalize_wheel);
|
1261
|
-
;// ../../packages/directives/src/mousewheel.ts
|
1255
|
+
;// CONCATENATED MODULE: ../../packages/directives/src/mousewheel.ts
|
1262
1256
|
/*
|
1263
1257
|
* Tencent is pleased to support the open source community by making
|
1264
1258
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -1300,13 +1294,11 @@ var mousewheel = {
|
|
1300
1294
|
}
|
1301
1295
|
};
|
1302
1296
|
/* harmony default export */ const src_mousewheel = ((/* unused pure expression or super */ null && (mousewheel)));
|
1303
|
-
;// external "@popperjs/core"
|
1304
|
-
var core_x = (y)
|
1305
|
-
|
1306
|
-
}
|
1307
|
-
|
1308
|
-
const core_namespaceObject = core_x({ ["createPopper"]: () => (__WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__.createPopper) });
|
1309
|
-
;// ../../packages/directives/src/tooltips.ts
|
1297
|
+
;// CONCATENATED MODULE: external "@popperjs/core"
|
1298
|
+
var core_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1299
|
+
var core_y = x => () => x
|
1300
|
+
const core_namespaceObject = core_x({ ["createPopper"]: () => __WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__.createPopper });
|
1301
|
+
;// CONCATENATED MODULE: ../../packages/directives/src/tooltips.ts
|
1310
1302
|
|
1311
1303
|
|
1312
1304
|
|
@@ -1598,19 +1590,15 @@ function hide(el) {
|
|
1598
1590
|
}
|
1599
1591
|
}
|
1600
1592
|
/* harmony default export */ const src_tooltips = (tooltips);
|
1601
|
-
;// external "../loading"
|
1602
|
-
var external_loading_x = (y)
|
1603
|
-
|
1604
|
-
}
|
1605
|
-
var external_loading_y = (x) => (() => (x))
|
1593
|
+
;// CONCATENATED MODULE: external "../loading"
|
1594
|
+
var external_loading_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1595
|
+
var external_loading_y = x => () => x
|
1606
1596
|
const external_loading_namespaceObject = external_loading_x({ });
|
1607
|
-
;// external "../overflow-title"
|
1608
|
-
var external_overflow_title_x = (y)
|
1609
|
-
|
1610
|
-
}
|
1611
|
-
var external_overflow_title_y = (x) => (() => (x))
|
1597
|
+
;// CONCATENATED MODULE: external "../overflow-title"
|
1598
|
+
var external_overflow_title_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1599
|
+
var external_overflow_title_y = x => () => x
|
1612
1600
|
const external_overflow_title_namespaceObject = external_overflow_title_x({ });
|
1613
|
-
;// ../../packages/directives/src/index.ts
|
1601
|
+
;// CONCATENATED MODULE: ../../packages/directives/src/index.ts
|
1614
1602
|
/*
|
1615
1603
|
* Tencent is pleased to support the open source community by making
|
1616
1604
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -1643,43 +1631,31 @@ const external_overflow_title_namespaceObject = external_overflow_title_x({ });
|
|
1643
1631
|
|
1644
1632
|
|
1645
1633
|
// export { createInstance as bkEllipsisInstance } from './ellipsis';
|
1646
|
-
;// external "../icon"
|
1647
|
-
var icon_x = (y)
|
1648
|
-
|
1649
|
-
}
|
1650
|
-
|
1651
|
-
|
1652
|
-
|
1653
|
-
|
1654
|
-
|
1655
|
-
}
|
1656
|
-
var
|
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))
|
1634
|
+
;// CONCATENATED MODULE: external "../icon"
|
1635
|
+
var icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1636
|
+
var icon_y = x => () => x
|
1637
|
+
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 });
|
1638
|
+
;// CONCATENATED MODULE: external "../loading"
|
1639
|
+
var loading_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1640
|
+
var loading_y = x => () => x
|
1641
|
+
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"] });
|
1642
|
+
;// CONCATENATED MODULE: external "../loading/loading.less"
|
1643
|
+
var loading_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1644
|
+
var loading_less_y = x => () => x
|
1663
1645
|
const loading_less_namespaceObject = loading_less_x({ });
|
1664
|
-
;// external "../popover/popover.less"
|
1665
|
-
var popover_less_x = (y)
|
1666
|
-
|
1667
|
-
}
|
1668
|
-
var popover_less_y = (x) => (() => (x))
|
1646
|
+
;// CONCATENATED MODULE: external "../popover/popover.less"
|
1647
|
+
var popover_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1648
|
+
var popover_less_y = x => () => x
|
1669
1649
|
const popover_less_namespaceObject = popover_less_x({ });
|
1670
|
-
;// external "lodash/debounce"
|
1671
|
-
var debounce_x = (y)
|
1672
|
-
|
1673
|
-
}
|
1674
|
-
|
1675
|
-
|
1676
|
-
|
1677
|
-
|
1678
|
-
|
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
|
1650
|
+
;// CONCATENATED MODULE: external "lodash/debounce"
|
1651
|
+
var debounce_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1652
|
+
var debounce_y = x => () => x
|
1653
|
+
const debounce_namespaceObject = debounce_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_debounce_3540babe__["default"] });
|
1654
|
+
;// CONCATENATED MODULE: external "lodash/trim"
|
1655
|
+
var trim_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1656
|
+
var trim_y = x => () => x
|
1657
|
+
const trim_namespaceObject = trim_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_trim_5cdad98c__["default"] });
|
1658
|
+
;// CONCATENATED MODULE: ../../packages/tag-input/src/list-tag-render.tsx
|
1683
1659
|
|
1684
1660
|
/*
|
1685
1661
|
* Tencent is pleased to support the open source community by making
|
@@ -1744,13 +1720,11 @@ const trim_namespaceObject = trim_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MOD
|
|
1744
1720
|
}, [displayText])]);
|
1745
1721
|
}
|
1746
1722
|
}));
|
1747
|
-
;// external "vue-types"
|
1748
|
-
var external_vue_types_x = (y)
|
1749
|
-
|
1750
|
-
}
|
1751
|
-
|
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
|
1723
|
+
;// CONCATENATED MODULE: external "vue-types"
|
1724
|
+
var external_vue_types_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1725
|
+
var external_vue_types_y = x => () => x
|
1726
|
+
const external_vue_types_namespaceObject = external_vue_types_x({ ["toType"]: () => __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__.toType });
|
1727
|
+
;// CONCATENATED MODULE: ../../packages/tag-input/src/tag-props.ts
|
1754
1728
|
/*
|
1755
1729
|
* Tencent is pleased to support the open source community by making
|
1756
1730
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -1847,13 +1821,11 @@ var tagProps = function tagProps() {
|
|
1847
1821
|
};
|
1848
1822
|
};
|
1849
1823
|
/* harmony default export */ const tag_props = (tagProps);
|
1850
|
-
;// external "lodash/has"
|
1851
|
-
var has_x = (y)
|
1852
|
-
|
1853
|
-
}
|
1854
|
-
|
1855
|
-
const has_namespaceObject = has_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_lodash_has_e9e453be__["default"]) });
|
1856
|
-
;// ../../packages/tag-input/src/tag-render.tsx
|
1824
|
+
;// CONCATENATED MODULE: external "lodash/has"
|
1825
|
+
var has_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1826
|
+
var has_y = x => () => x
|
1827
|
+
const has_namespaceObject = has_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_has_e9e453be__["default"] });
|
1828
|
+
;// CONCATENATED MODULE: ../../packages/tag-input/src/tag-render.tsx
|
1857
1829
|
|
1858
1830
|
|
1859
1831
|
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; }
|
@@ -1942,7 +1914,7 @@ function tag_render_objectSpread(e) { for (var r = 1; r < arguments.length; r++)
|
|
1942
1914
|
}, [this.node[this.displayKey]])]), [[(0,external_vue_namespaceObject.resolveDirective)("bk-tooltips"), this.overflowTips]]);
|
1943
1915
|
}
|
1944
1916
|
}));
|
1945
|
-
;// ../../packages/tag-input/src/tag-input.tsx
|
1917
|
+
;// CONCATENATED MODULE: ../../packages/tag-input/src/tag-input.tsx
|
1946
1918
|
|
1947
1919
|
|
1948
1920
|
|
@@ -2962,7 +2934,7 @@ function tag_input_objectSpread(e) { for (var r = 1; r < arguments.length; r++)
|
|
2962
2934
|
})]);
|
2963
2935
|
}
|
2964
2936
|
}));
|
2965
|
-
;// ../../packages/tag-input/src/index.ts
|
2937
|
+
;// CONCATENATED MODULE: ../../packages/tag-input/src/index.ts
|
2966
2938
|
/*
|
2967
2939
|
* Tencent is pleased to support the open source community by making
|
2968
2940
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -2994,6 +2966,8 @@ function tag_input_objectSpread(e) { for (var r = 1; r < arguments.length; r++)
|
|
2994
2966
|
var TagInput = (0,shared_namespaceObject.withInstall)(tag_input);
|
2995
2967
|
/* harmony default export */ const src = (TagInput);
|
2996
2968
|
|
2969
|
+
})();
|
2970
|
+
|
2997
2971
|
var __webpack_exports__TagInput = __webpack_exports__.TagInput;
|
2998
2972
|
var __webpack_exports__default = __webpack_exports__["default"];
|
2999
2973
|
var __webpack_exports__useTagsOverflow = __webpack_exports__.useTagsOverflow;
|