bkui-vue 0.0.2-beta.95 → 0.0.2-beta.96

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.
@@ -2,274 +2,8 @@ import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
2
2
  import * as __WEBPACK_EXTERNAL_MODULE_lodash_throttle_a7b7506a__ from "lodash/throttle";
3
3
  import * as __WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__ from "@popperjs/core";
4
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__ from "vue-types";
5
- /******/ var __webpack_modules__ = ({
6
-
7
- /***/ 8022:
8
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
9
-
10
- var v1 = __webpack_require__(4481);
11
- var v4 = __webpack_require__(6426);
12
-
13
- var uuid = v4;
14
- uuid.v1 = v1;
15
- uuid.v4 = v4;
16
-
17
- module.exports = uuid;
18
-
19
-
20
- /***/ }),
21
-
22
- /***/ 8725:
23
- /***/ ((module) => {
24
-
25
- /**
26
- * Convert array of 16 byte values to UUID string format of the form:
27
- * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
28
- */
29
- var byteToHex = [];
30
- for (var i = 0; i < 256; ++i) {
31
- byteToHex[i] = (i + 0x100).toString(16).substr(1);
32
- }
33
-
34
- function bytesToUuid(buf, offset) {
35
- var i = offset || 0;
36
- var bth = byteToHex;
37
- // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4
38
- return ([
39
- bth[buf[i++]], bth[buf[i++]],
40
- bth[buf[i++]], bth[buf[i++]], '-',
41
- bth[buf[i++]], bth[buf[i++]], '-',
42
- bth[buf[i++]], bth[buf[i++]], '-',
43
- bth[buf[i++]], bth[buf[i++]], '-',
44
- bth[buf[i++]], bth[buf[i++]],
45
- bth[buf[i++]], bth[buf[i++]],
46
- bth[buf[i++]], bth[buf[i++]]
47
- ]).join('');
48
- }
49
-
50
- module.exports = bytesToUuid;
51
-
52
-
53
- /***/ }),
54
-
55
- /***/ 9157:
56
- /***/ ((module) => {
57
-
58
- // Unique ID creation requires a high quality random # generator. In the
59
- // browser this is a little complicated due to unknown quality of Math.random()
60
- // and inconsistent support for the `crypto` API. We do the best we can via
61
- // feature-detection
62
-
63
- // getRandomValues needs to be invoked in a context where "this" is a Crypto
64
- // implementation. Also, find the complete implementation of crypto on IE11.
65
- var getRandomValues = (typeof(crypto) != 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto)) ||
66
- (typeof(msCrypto) != 'undefined' && typeof window.msCrypto.getRandomValues == 'function' && msCrypto.getRandomValues.bind(msCrypto));
67
-
68
- if (getRandomValues) {
69
- // WHATWG crypto RNG - http://wiki.whatwg.org/wiki/Crypto
70
- var rnds8 = new Uint8Array(16); // eslint-disable-line no-undef
71
-
72
- module.exports = function whatwgRNG() {
73
- getRandomValues(rnds8);
74
- return rnds8;
75
- };
76
- } else {
77
- // Math.random()-based (RNG)
78
- //
79
- // If all else fails, use Math.random(). It's fast, but is of unspecified
80
- // quality.
81
- var rnds = new Array(16);
82
-
83
- module.exports = function mathRNG() {
84
- for (var i = 0, r; i < 16; i++) {
85
- if ((i & 0x03) === 0) r = Math.random() * 0x100000000;
86
- rnds[i] = r >>> ((i & 0x03) << 3) & 0xff;
87
- }
88
-
89
- return rnds;
90
- };
91
- }
92
-
93
-
94
- /***/ }),
95
-
96
- /***/ 4481:
97
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
98
-
99
- var rng = __webpack_require__(9157);
100
- var bytesToUuid = __webpack_require__(8725);
101
-
102
- // **`v1()` - Generate time-based UUID**
103
- //
104
- // Inspired by https://github.com/LiosK/UUID.js
105
- // and http://docs.python.org/library/uuid.html
106
-
107
- var _nodeId;
108
- var _clockseq;
109
-
110
- // Previous uuid creation time
111
- var _lastMSecs = 0;
112
- var _lastNSecs = 0;
113
-
114
- // See https://github.com/uuidjs/uuid for API details
115
- function v1(options, buf, offset) {
116
- var i = buf && offset || 0;
117
- var b = buf || [];
118
-
119
- options = options || {};
120
- var node = options.node || _nodeId;
121
- var clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq;
122
-
123
- // node and clockseq need to be initialized to random values if they're not
124
- // specified. We do this lazily to minimize issues related to insufficient
125
- // system entropy. See #189
126
- if (node == null || clockseq == null) {
127
- var seedBytes = rng();
128
- if (node == null) {
129
- // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1)
130
- node = _nodeId = [
131
- seedBytes[0] | 0x01,
132
- seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]
133
- ];
134
- }
135
- if (clockseq == null) {
136
- // Per 4.2.2, randomize (14 bit) clockseq
137
- clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff;
138
- }
139
- }
140
-
141
- // UUID timestamps are 100 nano-second units since the Gregorian epoch,
142
- // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so
143
- // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs'
144
- // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.
145
- var msecs = options.msecs !== undefined ? options.msecs : new Date().getTime();
146
-
147
- // Per 4.2.1.2, use count of uuid's generated during the current clock
148
- // cycle to simulate higher resolution clock
149
- var nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1;
150
-
151
- // Time since last uuid creation (in msecs)
152
- var dt = (msecs - _lastMSecs) + (nsecs - _lastNSecs)/10000;
153
-
154
- // Per 4.2.1.2, Bump clockseq on clock regression
155
- if (dt < 0 && options.clockseq === undefined) {
156
- clockseq = clockseq + 1 & 0x3fff;
157
- }
158
-
159
- // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new
160
- // time interval
161
- if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) {
162
- nsecs = 0;
163
- }
164
-
165
- // Per 4.2.1.2 Throw error if too many uuids are requested
166
- if (nsecs >= 10000) {
167
- throw new Error('uuid.v1(): Can\'t create more than 10M uuids/sec');
168
- }
169
-
170
- _lastMSecs = msecs;
171
- _lastNSecs = nsecs;
172
- _clockseq = clockseq;
173
-
174
- // Per 4.1.4 - Convert from unix epoch to Gregorian epoch
175
- msecs += 12219292800000;
176
-
177
- // `time_low`
178
- var tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;
179
- b[i++] = tl >>> 24 & 0xff;
180
- b[i++] = tl >>> 16 & 0xff;
181
- b[i++] = tl >>> 8 & 0xff;
182
- b[i++] = tl & 0xff;
183
-
184
- // `time_mid`
185
- var tmh = (msecs / 0x100000000 * 10000) & 0xfffffff;
186
- b[i++] = tmh >>> 8 & 0xff;
187
- b[i++] = tmh & 0xff;
188
-
189
- // `time_high_and_version`
190
- b[i++] = tmh >>> 24 & 0xf | 0x10; // include version
191
- b[i++] = tmh >>> 16 & 0xff;
192
-
193
- // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)
194
- b[i++] = clockseq >>> 8 | 0x80;
195
-
196
- // `clock_seq_low`
197
- b[i++] = clockseq & 0xff;
198
-
199
- // `node`
200
- for (var n = 0; n < 6; ++n) {
201
- b[i + n] = node[n];
202
- }
203
-
204
- return buf ? buf : bytesToUuid(b);
205
- }
206
-
207
- module.exports = v1;
208
-
209
-
210
- /***/ }),
211
-
212
- /***/ 6426:
213
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
214
-
215
- var rng = __webpack_require__(9157);
216
- var bytesToUuid = __webpack_require__(8725);
217
-
218
- function v4(options, buf, offset) {
219
- var i = buf && offset || 0;
220
-
221
- if (typeof(options) == 'string') {
222
- buf = options === 'binary' ? new Array(16) : null;
223
- options = null;
224
- }
225
- options = options || {};
226
-
227
- var rnds = options.random || (options.rng || rng)();
228
-
229
- // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
230
- rnds[6] = (rnds[6] & 0x0f) | 0x40;
231
- rnds[8] = (rnds[8] & 0x3f) | 0x80;
232
-
233
- // Copy bytes to buffer, if provided
234
- if (buf) {
235
- for (var ii = 0; ii < 16; ++ii) {
236
- buf[i + ii] = rnds[ii];
237
- }
238
- }
239
-
240
- return buf || bytesToUuid(rnds);
241
- }
242
-
243
- module.exports = v4;
244
-
245
-
246
- /***/ })
247
-
248
- /******/ });
249
- /************************************************************************/
250
- /******/ // The module cache
251
- /******/ var __webpack_module_cache__ = {};
252
- /******/
253
- /******/ // The require function
254
- /******/ function __webpack_require__(moduleId) {
255
- /******/ // Check if module is in cache
256
- /******/ var cachedModule = __webpack_module_cache__[moduleId];
257
- /******/ if (cachedModule !== undefined) {
258
- /******/ return cachedModule.exports;
259
- /******/ }
260
- /******/ // Create a new module (and put it into the cache)
261
- /******/ var module = __webpack_module_cache__[moduleId] = {
262
- /******/ // no module.id needed
263
- /******/ // no module.loaded needed
264
- /******/ exports: {}
265
- /******/ };
266
- /******/
267
- /******/ // Execute the module function
268
- /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
269
- /******/
270
- /******/ // Return the exports of the module
271
- /******/ return module.exports;
272
- /******/ }
5
+ /******/ // The require scope
6
+ /******/ var __webpack_require__ = {};
273
7
  /******/
274
8
  /************************************************************************/
275
9
  /******/ /* webpack/runtime/define property getters */
@@ -291,8 +25,6 @@ module.exports = v4;
291
25
  /******/
292
26
  /************************************************************************/
293
27
  var __webpack_exports__ = {};
294
- // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
295
- (() => {
296
28
 
297
29
  // EXPORTS
298
30
  __webpack_require__.d(__webpack_exports__, {
@@ -1864,8 +1596,94 @@ function _nonIterableSpread() {
1864
1596
  function _toConsumableArray(arr) {
1865
1597
  return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
1866
1598
  }
1867
- // EXTERNAL MODULE: ../../node_modules/uuid/index.js
1868
- var uuid = __webpack_require__(8022);
1599
+ ;// CONCATENATED MODULE: ../../node_modules/uuid/dist/esm-browser/native.js
1600
+ const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);
1601
+ /* harmony default export */ const esm_browser_native = ({
1602
+ randomUUID
1603
+ });
1604
+ ;// CONCATENATED MODULE: ../../node_modules/uuid/dist/esm-browser/rng.js
1605
+ // Unique ID creation requires a high quality random # generator. In the browser we therefore
1606
+ // require the crypto API and do not support built-in fallback to lower quality random number
1607
+ // generators (like Math.random()).
1608
+ let getRandomValues;
1609
+ const rnds8 = new Uint8Array(16);
1610
+ function rng() {
1611
+ // lazy load so that environments that need to polyfill have a chance to do so
1612
+ if (!getRandomValues) {
1613
+ // getRandomValues needs to be invoked in a context where "this" is a Crypto implementation.
1614
+ getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto);
1615
+
1616
+ if (!getRandomValues) {
1617
+ throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
1618
+ }
1619
+ }
1620
+
1621
+ return getRandomValues(rnds8);
1622
+ }
1623
+ ;// CONCATENATED MODULE: ../../node_modules/uuid/dist/esm-browser/stringify.js
1624
+
1625
+ /**
1626
+ * Convert array of 16 byte values to UUID string format of the form:
1627
+ * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
1628
+ */
1629
+
1630
+ const byteToHex = [];
1631
+
1632
+ for (let i = 0; i < 256; ++i) {
1633
+ byteToHex.push((i + 0x100).toString(16).slice(1));
1634
+ }
1635
+
1636
+ function unsafeStringify(arr, offset = 0) {
1637
+ // Note: Be careful editing this code! It's been tuned for performance
1638
+ // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434
1639
+ return byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]];
1640
+ }
1641
+
1642
+ function stringify(arr, offset = 0) {
1643
+ const uuid = unsafeStringify(arr, offset); // Consistency check for valid UUID. If this throws, it's likely due to one
1644
+ // of the following:
1645
+ // - One or more input array values don't map to a hex octet (leading to
1646
+ // "undefined" in the uuid)
1647
+ // - Invalid input values for the RFC `version` or `variant` fields
1648
+
1649
+ if (!validate(uuid)) {
1650
+ throw TypeError('Stringified UUID is invalid');
1651
+ }
1652
+
1653
+ return uuid;
1654
+ }
1655
+
1656
+ /* harmony default export */ const esm_browser_stringify = ((/* unused pure expression or super */ null && (stringify)));
1657
+ ;// CONCATENATED MODULE: ../../node_modules/uuid/dist/esm-browser/v4.js
1658
+
1659
+
1660
+
1661
+
1662
+ function v4(options, buf, offset) {
1663
+ if (esm_browser_native.randomUUID && !buf && !options) {
1664
+ return esm_browser_native.randomUUID();
1665
+ }
1666
+
1667
+ options = options || {};
1668
+ const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
1669
+
1670
+ rnds[6] = rnds[6] & 0x0f | 0x40;
1671
+ rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided
1672
+
1673
+ if (buf) {
1674
+ offset = offset || 0;
1675
+
1676
+ for (let i = 0; i < 16; ++i) {
1677
+ buf[offset + i] = rnds[i];
1678
+ }
1679
+
1680
+ return buf;
1681
+ }
1682
+
1683
+ return unsafeStringify(rnds);
1684
+ }
1685
+
1686
+ /* harmony default export */ const esm_browser_v4 = (v4);
1869
1687
  ;// CONCATENATED MODULE: external "@popperjs/core"
1870
1688
  var core_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1871
1689
  var core_y = x => () => x
@@ -2265,7 +2083,7 @@ var popContainerId = null;
2265
2083
  var getPopContainerId = function getPopContainerId() {
2266
2084
  var prefix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '#';
2267
2085
  if (popContainerId === null) {
2268
- popContainerId = "id_".concat((0,uuid.v4)());
2086
+ popContainerId = "id_".concat(esm_browser_v4());
2269
2087
  var popContainer = document.createElement('div');
2270
2088
  popContainer.setAttribute('id', popContainerId);
2271
2089
  popContainer.setAttribute('data-popper-id', popContainerId);
@@ -2787,8 +2605,6 @@ function arrayEqual() {
2787
2605
  }
2788
2606
  return true;
2789
2607
  }
2790
- })();
2791
-
2792
2608
  var __webpack_exports__AlignEnum = __webpack_exports__.oY;
2793
2609
  var __webpack_exports__BKLAYERD_INDEX_EFAULT_VALUE = __webpack_exports__.p3;
2794
2610
  var __webpack_exports__BKLAYERTYPE = __webpack_exports__.Ql;