bkui-vue 2.0.2-beta.7 → 2.0.2-beta.8
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 +2751 -2748
- package/dist/index.umd.js +15 -15
- 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 +642 -614
- 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 +610 -594
- package/lib/config-provider/index.js +34 -26
- package/lib/container/index.js +27 -21
- package/lib/date-picker/index.js +642 -620
- package/lib/dialog/index.js +101 -87
- package/lib/directives/index.js +438 -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 +632 -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 +340 -324
- package/lib/index.js +1 -1
- package/lib/info-box/index.js +101 -87
- package/lib/input/index.js +342 -327
- package/lib/input/input.d.ts +4 -4
- 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.js +49 -33
- package/lib/popover/index.js +361 -345
- 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 +434 -412
- package/lib/select/index.js +488 -446
- package/lib/shared/index.js +57 -49
- package/lib/sideslider/index.js +91 -81
- 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 +335 -321
- package/lib/table/index.js +563 -505
- package/lib/table-column/index.js +13 -9
- package/lib/tag/index.js +36 -26
- package/lib/tag-input/index.js +374 -348
- 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/tag-input/index.js
CHANGED
@@ -17,15 +17,7 @@ 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
|
-
/***/
|
21
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
22
|
-
|
23
|
-
module.exports = __webpack_require__(2527);
|
24
|
-
|
25
|
-
|
26
|
-
/***/ }),
|
27
|
-
|
28
|
-
/***/ 7430:
|
20
|
+
/***/ 1043:
|
29
21
|
/***/ ((module) => {
|
30
22
|
|
31
23
|
/**
|
@@ -75,7 +67,265 @@ module.exports = ExecutionEnvironment;
|
|
75
67
|
|
76
68
|
/***/ }),
|
77
69
|
|
78
|
-
/***/
|
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:
|
79
329
|
/***/ ((module) => {
|
80
330
|
|
81
331
|
/**
|
@@ -364,260 +614,10 @@ module.exports = UserAgent_DEPRECATED;
|
|
364
614
|
|
365
615
|
/***/ }),
|
366
616
|
|
367
|
-
/***/
|
617
|
+
/***/ 8283:
|
368
618
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
369
619
|
|
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;
|
620
|
+
module.exports = __webpack_require__(5022);
|
621
621
|
|
622
622
|
|
623
623
|
/***/ })
|
@@ -680,8 +680,6 @@ module.exports = normalizeWheel;
|
|
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
|
-
(() => {
|
685
683
|
|
686
684
|
// EXPORTS
|
687
685
|
__webpack_require__.d(__webpack_exports__, {
|
@@ -690,11 +688,13 @@ __webpack_require__.d(__webpack_exports__, {
|
|
690
688
|
useTagsOverflow: () => (/* reexport */ useTagsOverflow)
|
691
689
|
});
|
692
690
|
|
693
|
-
;//
|
694
|
-
var x = y => {
|
695
|
-
var
|
696
|
-
|
697
|
-
|
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
|
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
|
-
;//
|
707
|
+
;// ../../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
|
-
;//
|
719
|
+
;// ../../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
|
-
;//
|
726
|
+
;// ../../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
|
-
;//
|
742
|
+
;// ../../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
|
-
;//
|
748
|
+
;// ../../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
|
-
;//
|
753
|
+
;// ../../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
|
-
;//
|
757
|
+
;// ../../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
|
-
;//
|
767
|
+
;// ../../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
|
-
;//
|
771
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
772
772
|
|
773
773
|
|
774
774
|
|
@@ -776,11 +776,13 @@ function _nonIterableSpread() {
|
|
776
776
|
function _toConsumableArray(arr) {
|
777
777
|
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
778
778
|
}
|
779
|
-
;//
|
780
|
-
var external_vue_x = y => {
|
781
|
-
var
|
782
|
-
|
783
|
-
|
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
|
784
786
|
|
785
787
|
|
786
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; }
|
@@ -961,11 +963,11 @@ var useTagsOverflow = function useTagsOverflow(tagInputRef, collapseTags, select
|
|
961
963
|
overflowTagIndex: overflowTagIndex
|
962
964
|
};
|
963
965
|
};
|
964
|
-
;//
|
966
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
965
967
|
function _arrayWithHoles(arr) {
|
966
968
|
if (Array.isArray(arr)) return arr;
|
967
969
|
}
|
968
|
-
;//
|
970
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
|
969
971
|
function _iterableToArrayLimit(r, l) {
|
970
972
|
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
971
973
|
if (null != t) {
|
@@ -993,11 +995,11 @@ function _iterableToArrayLimit(r, l) {
|
|
993
995
|
return a;
|
994
996
|
}
|
995
997
|
}
|
996
|
-
;//
|
998
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
997
999
|
function _nonIterableRest() {
|
998
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.");
|
999
1001
|
}
|
1000
|
-
;//
|
1002
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js
|
1001
1003
|
|
1002
1004
|
|
1003
1005
|
|
@@ -1005,11 +1007,13 @@ function _nonIterableRest() {
|
|
1005
1007
|
function _slicedToArray(arr, i) {
|
1006
1008
|
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
1007
1009
|
}
|
1008
|
-
;//
|
1009
|
-
var config_provider_x = y => {
|
1010
|
-
var
|
1011
|
-
|
1012
|
-
|
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
|
1013
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; } } }; }
|
1014
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); }
|
1015
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; }
|
@@ -1135,11 +1139,13 @@ ClickOutside.install = function (app) {
|
|
1135
1139
|
app.directive('bkTooltips', ClickOutside);
|
1136
1140
|
};
|
1137
1141
|
/* harmony default export */ const clickoutside = ((/* unused pure expression or super */ null && (ClickOutside)));
|
1138
|
-
;//
|
1139
|
-
var popover_x = y => {
|
1140
|
-
var
|
1141
|
-
|
1142
|
-
|
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
|
1143
1149
|
|
1144
1150
|
/*
|
1145
1151
|
* Tencent is pleased to support the open source community by making
|
@@ -1250,9 +1256,9 @@ var ellipsis = {
|
|
1250
1256
|
};
|
1251
1257
|
/* harmony default export */ const src_ellipsis = ((/* unused pure expression or super */ null && (ellipsis)));
|
1252
1258
|
// EXTERNAL MODULE: ../../node_modules/normalize-wheel/index.js
|
1253
|
-
var normalize_wheel = __webpack_require__(
|
1259
|
+
var normalize_wheel = __webpack_require__(8283);
|
1254
1260
|
var normalize_wheel_default = /*#__PURE__*/__webpack_require__.n(normalize_wheel);
|
1255
|
-
;//
|
1261
|
+
;// ../../packages/directives/src/mousewheel.ts
|
1256
1262
|
/*
|
1257
1263
|
* Tencent is pleased to support the open source community by making
|
1258
1264
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -1294,11 +1300,13 @@ var mousewheel = {
|
|
1294
1300
|
}
|
1295
1301
|
};
|
1296
1302
|
/* harmony default export */ const src_mousewheel = ((/* unused pure expression or super */ null && (mousewheel)));
|
1297
|
-
;//
|
1298
|
-
var core_x = y => {
|
1299
|
-
var
|
1300
|
-
|
1301
|
-
|
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
|
1302
1310
|
|
1303
1311
|
|
1304
1312
|
|
@@ -1590,15 +1598,19 @@ function hide(el) {
|
|
1590
1598
|
}
|
1591
1599
|
}
|
1592
1600
|
/* harmony default export */ const src_tooltips = (tooltips);
|
1593
|
-
;//
|
1594
|
-
var external_loading_x = y => {
|
1595
|
-
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))
|
1596
1606
|
const external_loading_namespaceObject = external_loading_x({ });
|
1597
|
-
;//
|
1598
|
-
var external_overflow_title_x = y => {
|
1599
|
-
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))
|
1600
1612
|
const external_overflow_title_namespaceObject = external_overflow_title_x({ });
|
1601
|
-
;//
|
1613
|
+
;// ../../packages/directives/src/index.ts
|
1602
1614
|
/*
|
1603
1615
|
* Tencent is pleased to support the open source community by making
|
1604
1616
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -1631,31 +1643,43 @@ const external_overflow_title_namespaceObject = external_overflow_title_x({ });
|
|
1631
1643
|
|
1632
1644
|
|
1633
1645
|
// export { createInstance as bkEllipsisInstance } from './ellipsis';
|
1634
|
-
;//
|
1635
|
-
var icon_x = y => {
|
1636
|
-
var
|
1637
|
-
|
1638
|
-
|
1639
|
-
|
1640
|
-
|
1641
|
-
|
1642
|
-
|
1643
|
-
|
1644
|
-
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))
|
1645
1663
|
const loading_less_namespaceObject = loading_less_x({ });
|
1646
|
-
;//
|
1647
|
-
var popover_less_x = y => {
|
1648
|
-
var
|
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))
|
1649
1669
|
const popover_less_namespaceObject = popover_less_x({ });
|
1650
|
-
;//
|
1651
|
-
var debounce_x = y => {
|
1652
|
-
var
|
1653
|
-
|
1654
|
-
|
1655
|
-
|
1656
|
-
|
1657
|
-
|
1658
|
-
|
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
|
1659
1683
|
|
1660
1684
|
/*
|
1661
1685
|
* Tencent is pleased to support the open source community by making
|
@@ -1720,11 +1744,13 @@ const trim_namespaceObject = trim_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODU
|
|
1720
1744
|
}, [displayText])]);
|
1721
1745
|
}
|
1722
1746
|
}));
|
1723
|
-
;//
|
1724
|
-
var external_vue_types_x = y => {
|
1725
|
-
var
|
1726
|
-
|
1727
|
-
|
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
|
1728
1754
|
/*
|
1729
1755
|
* Tencent is pleased to support the open source community by making
|
1730
1756
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -1821,11 +1847,13 @@ var tagProps = function tagProps() {
|
|
1821
1847
|
};
|
1822
1848
|
};
|
1823
1849
|
/* harmony default export */ const tag_props = (tagProps);
|
1824
|
-
;//
|
1825
|
-
var has_x = y => {
|
1826
|
-
var
|
1827
|
-
|
1828
|
-
|
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
|
1829
1857
|
|
1830
1858
|
|
1831
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; }
|
@@ -1914,7 +1942,7 @@ function tag_render_objectSpread(e) { for (var r = 1; r < arguments.length; r++)
|
|
1914
1942
|
}, [this.node[this.displayKey]])]), [[(0,external_vue_namespaceObject.resolveDirective)("bk-tooltips"), this.overflowTips]]);
|
1915
1943
|
}
|
1916
1944
|
}));
|
1917
|
-
;//
|
1945
|
+
;// ../../packages/tag-input/src/tag-input.tsx
|
1918
1946
|
|
1919
1947
|
|
1920
1948
|
|
@@ -2934,7 +2962,7 @@ function tag_input_objectSpread(e) { for (var r = 1; r < arguments.length; r++)
|
|
2934
2962
|
})]);
|
2935
2963
|
}
|
2936
2964
|
}));
|
2937
|
-
;//
|
2965
|
+
;// ../../packages/tag-input/src/index.ts
|
2938
2966
|
/*
|
2939
2967
|
* Tencent is pleased to support the open source community by making
|
2940
2968
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -2966,8 +2994,6 @@ function tag_input_objectSpread(e) { for (var r = 1; r < arguments.length; r++)
|
|
2966
2994
|
var TagInput = (0,shared_namespaceObject.withInstall)(tag_input);
|
2967
2995
|
/* harmony default export */ const src = (TagInput);
|
2968
2996
|
|
2969
|
-
})();
|
2970
|
-
|
2971
2997
|
var __webpack_exports__TagInput = __webpack_exports__.TagInput;
|
2972
2998
|
var __webpack_exports__default = __webpack_exports__["default"];
|
2973
2999
|
var __webpack_exports__useTagsOverflow = __webpack_exports__.useTagsOverflow;
|