@hyjiacan/vue-slideout 3.0.1 → 3.0.2
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/API.md +19 -16
- package/API.zh-CN.md +14 -11
- package/README.md +8 -8
- package/dist/slideout.common.js +806 -1907
- package/dist/slideout.css +1 -1
- package/dist/slideout.umd.js +806 -1907
- package/dist/slideout.umd.min.js +1 -1
- package/package.json +8 -6
- package/src/assets/langs.json +11 -1
- package/src/components/computed.js +24 -11
- package/src/components/index.js +8 -8
- package/src/components/methods.js +33 -26
- package/src/views/Main.vue +3 -0
- package/src/views/demos/NestedDemo.vue +85 -0
- package/types/slideout.d.ts +96 -0
package/dist/slideout.common.js
CHANGED
|
@@ -87,61 +87,37 @@ module.exports =
|
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
-
/***/ "
|
|
90
|
+
/***/ "00ee":
|
|
91
91
|
/***/ (function(module, exports, __webpack_require__) {
|
|
92
92
|
|
|
93
|
-
|
|
93
|
+
var wellKnownSymbol = __webpack_require__("b622");
|
|
94
94
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
var $ = __webpack_require__("23e7");
|
|
98
|
-
var global = __webpack_require__("da84");
|
|
99
|
-
var call = __webpack_require__("c65b");
|
|
100
|
-
var uncurryThis = __webpack_require__("e330");
|
|
101
|
-
var isCallable = __webpack_require__("1626");
|
|
102
|
-
var isObject = __webpack_require__("861d");
|
|
95
|
+
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
|
96
|
+
var test = {};
|
|
103
97
|
|
|
104
|
-
|
|
105
|
-
var execCalled = false;
|
|
106
|
-
var re = /[ac]/;
|
|
107
|
-
re.exec = function () {
|
|
108
|
-
execCalled = true;
|
|
109
|
-
return /./.exec.apply(this, arguments);
|
|
110
|
-
};
|
|
111
|
-
return re.test('abc') === true && execCalled;
|
|
112
|
-
}();
|
|
98
|
+
test[TO_STRING_TAG] = 'z';
|
|
113
99
|
|
|
114
|
-
|
|
115
|
-
var un$Test = uncurryThis(/./.test);
|
|
116
|
-
|
|
117
|
-
// `RegExp.prototype.test` method
|
|
118
|
-
// https://tc39.es/ecma262/#sec-regexp.prototype.test
|
|
119
|
-
$({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, {
|
|
120
|
-
test: function (str) {
|
|
121
|
-
var exec = this.exec;
|
|
122
|
-
if (!isCallable(exec)) return un$Test(this, str);
|
|
123
|
-
var result = call(exec, this, str);
|
|
124
|
-
if (result !== null && !isObject(result)) {
|
|
125
|
-
throw new Error('RegExp exec method returned something other than an Object or null');
|
|
126
|
-
}
|
|
127
|
-
return !!result;
|
|
128
|
-
}
|
|
129
|
-
});
|
|
100
|
+
module.exports = String(test) === '[object z]';
|
|
130
101
|
|
|
131
102
|
|
|
132
103
|
/***/ }),
|
|
133
104
|
|
|
134
|
-
/***/ "
|
|
105
|
+
/***/ "04f8":
|
|
135
106
|
/***/ (function(module, exports, __webpack_require__) {
|
|
136
107
|
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
var
|
|
140
|
-
var test = {};
|
|
141
|
-
|
|
142
|
-
test[TO_STRING_TAG] = 'z';
|
|
108
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
109
|
+
var V8_VERSION = __webpack_require__("2d00");
|
|
110
|
+
var fails = __webpack_require__("d039");
|
|
143
111
|
|
|
144
|
-
|
|
112
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
113
|
+
module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
114
|
+
var symbol = Symbol();
|
|
115
|
+
// Chrome 38 Symbol has incorrect toString conversion
|
|
116
|
+
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
117
|
+
return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
|
|
118
|
+
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
119
|
+
!Symbol.sham && V8_VERSION && V8_VERSION < 41;
|
|
120
|
+
});
|
|
145
121
|
|
|
146
122
|
|
|
147
123
|
/***/ }),
|
|
@@ -187,87 +163,6 @@ module.exports = function (obj) {
|
|
|
187
163
|
};
|
|
188
164
|
|
|
189
165
|
|
|
190
|
-
/***/ }),
|
|
191
|
-
|
|
192
|
-
/***/ "0b42":
|
|
193
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
194
|
-
|
|
195
|
-
var global = __webpack_require__("da84");
|
|
196
|
-
var isArray = __webpack_require__("e8b5");
|
|
197
|
-
var isConstructor = __webpack_require__("68ee");
|
|
198
|
-
var isObject = __webpack_require__("861d");
|
|
199
|
-
var wellKnownSymbol = __webpack_require__("b622");
|
|
200
|
-
|
|
201
|
-
var SPECIES = wellKnownSymbol('species');
|
|
202
|
-
var Array = global.Array;
|
|
203
|
-
|
|
204
|
-
// a part of `ArraySpeciesCreate` abstract operation
|
|
205
|
-
// https://tc39.es/ecma262/#sec-arrayspeciescreate
|
|
206
|
-
module.exports = function (originalArray) {
|
|
207
|
-
var C;
|
|
208
|
-
if (isArray(originalArray)) {
|
|
209
|
-
C = originalArray.constructor;
|
|
210
|
-
// cross-realm fallback
|
|
211
|
-
if (isConstructor(C) && (C === Array || isArray(C.prototype))) C = undefined;
|
|
212
|
-
else if (isObject(C)) {
|
|
213
|
-
C = C[SPECIES];
|
|
214
|
-
if (C === null) C = undefined;
|
|
215
|
-
}
|
|
216
|
-
} return C === undefined ? Array : C;
|
|
217
|
-
};
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
/***/ }),
|
|
221
|
-
|
|
222
|
-
/***/ "0cb2":
|
|
223
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
224
|
-
|
|
225
|
-
var uncurryThis = __webpack_require__("e330");
|
|
226
|
-
var toObject = __webpack_require__("7b0b");
|
|
227
|
-
|
|
228
|
-
var floor = Math.floor;
|
|
229
|
-
var charAt = uncurryThis(''.charAt);
|
|
230
|
-
var replace = uncurryThis(''.replace);
|
|
231
|
-
var stringSlice = uncurryThis(''.slice);
|
|
232
|
-
var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g;
|
|
233
|
-
var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g;
|
|
234
|
-
|
|
235
|
-
// `GetSubstitution` abstract operation
|
|
236
|
-
// https://tc39.es/ecma262/#sec-getsubstitution
|
|
237
|
-
module.exports = function (matched, str, position, captures, namedCaptures, replacement) {
|
|
238
|
-
var tailPos = position + matched.length;
|
|
239
|
-
var m = captures.length;
|
|
240
|
-
var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;
|
|
241
|
-
if (namedCaptures !== undefined) {
|
|
242
|
-
namedCaptures = toObject(namedCaptures);
|
|
243
|
-
symbols = SUBSTITUTION_SYMBOLS;
|
|
244
|
-
}
|
|
245
|
-
return replace(replacement, symbols, function (match, ch) {
|
|
246
|
-
var capture;
|
|
247
|
-
switch (charAt(ch, 0)) {
|
|
248
|
-
case '$': return '$';
|
|
249
|
-
case '&': return matched;
|
|
250
|
-
case '`': return stringSlice(str, 0, position);
|
|
251
|
-
case "'": return stringSlice(str, tailPos);
|
|
252
|
-
case '<':
|
|
253
|
-
capture = namedCaptures[stringSlice(ch, 1, -1)];
|
|
254
|
-
break;
|
|
255
|
-
default: // \d\d?
|
|
256
|
-
var n = +ch;
|
|
257
|
-
if (n === 0) return match;
|
|
258
|
-
if (n > m) {
|
|
259
|
-
var f = floor(n / 10);
|
|
260
|
-
if (f === 0) return match;
|
|
261
|
-
if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1);
|
|
262
|
-
return match;
|
|
263
|
-
}
|
|
264
|
-
capture = captures[n - 1];
|
|
265
|
-
}
|
|
266
|
-
return capture === undefined ? '' : capture;
|
|
267
|
-
});
|
|
268
|
-
};
|
|
269
|
-
|
|
270
|
-
|
|
271
166
|
/***/ }),
|
|
272
167
|
|
|
273
168
|
/***/ "0cfb":
|
|
@@ -277,7 +172,7 @@ var DESCRIPTORS = __webpack_require__("83ab");
|
|
|
277
172
|
var fails = __webpack_require__("d039");
|
|
278
173
|
var createElement = __webpack_require__("cc12");
|
|
279
174
|
|
|
280
|
-
//
|
|
175
|
+
// Thanks to IE8 for its funny defineProperty
|
|
281
176
|
module.exports = !DESCRIPTORS && !fails(function () {
|
|
282
177
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
283
178
|
return Object.defineProperty(createElement('div'), 'a', {
|
|
@@ -288,16 +183,35 @@ module.exports = !DESCRIPTORS && !fails(function () {
|
|
|
288
183
|
|
|
289
184
|
/***/ }),
|
|
290
185
|
|
|
291
|
-
/***/ "
|
|
186
|
+
/***/ "0d26":
|
|
292
187
|
/***/ (function(module, exports, __webpack_require__) {
|
|
293
188
|
|
|
294
|
-
var
|
|
189
|
+
var uncurryThis = __webpack_require__("e330");
|
|
190
|
+
|
|
191
|
+
var $Error = Error;
|
|
192
|
+
var replace = uncurryThis(''.replace);
|
|
193
|
+
|
|
194
|
+
var TEST = (function (arg) { return String($Error(arg).stack); })('zxcasd');
|
|
195
|
+
var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/;
|
|
196
|
+
var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);
|
|
197
|
+
|
|
198
|
+
module.exports = function (stack, dropEntries) {
|
|
199
|
+
if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) {
|
|
200
|
+
while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, '');
|
|
201
|
+
} return stack;
|
|
202
|
+
};
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
/***/ }),
|
|
206
|
+
|
|
207
|
+
/***/ "0d51":
|
|
208
|
+
/***/ (function(module, exports) {
|
|
295
209
|
|
|
296
|
-
var String =
|
|
210
|
+
var $String = String;
|
|
297
211
|
|
|
298
212
|
module.exports = function (argument) {
|
|
299
213
|
try {
|
|
300
|
-
return String(argument);
|
|
214
|
+
return $String(argument);
|
|
301
215
|
} catch (error) {
|
|
302
216
|
return 'Object';
|
|
303
217
|
}
|
|
@@ -306,58 +220,122 @@ module.exports = function (argument) {
|
|
|
306
220
|
|
|
307
221
|
/***/ }),
|
|
308
222
|
|
|
309
|
-
/***/ "
|
|
223
|
+
/***/ "13d2":
|
|
310
224
|
/***/ (function(module, exports, __webpack_require__) {
|
|
311
225
|
|
|
312
226
|
var fails = __webpack_require__("d039");
|
|
313
|
-
var
|
|
227
|
+
var isCallable = __webpack_require__("1626");
|
|
228
|
+
var hasOwn = __webpack_require__("1a2d");
|
|
229
|
+
var DESCRIPTORS = __webpack_require__("83ab");
|
|
230
|
+
var CONFIGURABLE_FUNCTION_NAME = __webpack_require__("5e77").CONFIGURABLE;
|
|
231
|
+
var inspectSource = __webpack_require__("8925");
|
|
232
|
+
var InternalStateModule = __webpack_require__("69f3");
|
|
314
233
|
|
|
315
|
-
|
|
316
|
-
var
|
|
234
|
+
var enforceInternalState = InternalStateModule.enforce;
|
|
235
|
+
var getInternalState = InternalStateModule.get;
|
|
236
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
237
|
+
var defineProperty = Object.defineProperty;
|
|
317
238
|
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
return re.exec('b').groups.a !== 'b' ||
|
|
321
|
-
'b'.replace(re, '$<a>c') !== 'bc';
|
|
239
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {
|
|
240
|
+
return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
322
241
|
});
|
|
323
242
|
|
|
243
|
+
var TEMPLATE = String(String).split('String');
|
|
244
|
+
|
|
245
|
+
var makeBuiltIn = module.exports = function (value, name, options) {
|
|
246
|
+
if (String(name).slice(0, 7) === 'Symbol(') {
|
|
247
|
+
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
|
|
248
|
+
}
|
|
249
|
+
if (options && options.getter) name = 'get ' + name;
|
|
250
|
+
if (options && options.setter) name = 'set ' + name;
|
|
251
|
+
if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
|
252
|
+
if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });
|
|
253
|
+
else value.name = name;
|
|
254
|
+
}
|
|
255
|
+
if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {
|
|
256
|
+
defineProperty(value, 'length', { value: options.arity });
|
|
257
|
+
}
|
|
258
|
+
try {
|
|
259
|
+
if (options && hasOwn(options, 'constructor') && options.constructor) {
|
|
260
|
+
if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });
|
|
261
|
+
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
262
|
+
} else if (value.prototype) value.prototype = undefined;
|
|
263
|
+
} catch (error) { /* empty */ }
|
|
264
|
+
var state = enforceInternalState(value);
|
|
265
|
+
if (!hasOwn(state, 'source')) {
|
|
266
|
+
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
|
267
|
+
} return value;
|
|
268
|
+
};
|
|
269
|
+
|
|
270
|
+
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
271
|
+
// eslint-disable-next-line no-extend-native -- required
|
|
272
|
+
Function.prototype.toString = makeBuiltIn(function toString() {
|
|
273
|
+
return isCallable(this) && getInternalState(this).source || inspectSource(this);
|
|
274
|
+
}, 'toString');
|
|
275
|
+
|
|
324
276
|
|
|
325
277
|
/***/ }),
|
|
326
278
|
|
|
327
|
-
/***/ "
|
|
279
|
+
/***/ "14d9":
|
|
328
280
|
/***/ (function(module, exports, __webpack_require__) {
|
|
329
281
|
|
|
330
|
-
|
|
331
|
-
var call = __webpack_require__("c65b");
|
|
332
|
-
var anObject = __webpack_require__("825a");
|
|
333
|
-
var isCallable = __webpack_require__("1626");
|
|
334
|
-
var classof = __webpack_require__("c6b6");
|
|
335
|
-
var regexpExec = __webpack_require__("9263");
|
|
282
|
+
"use strict";
|
|
336
283
|
|
|
337
|
-
var
|
|
284
|
+
var $ = __webpack_require__("23e7");
|
|
285
|
+
var toObject = __webpack_require__("7b0b");
|
|
286
|
+
var lengthOfArrayLike = __webpack_require__("07fa");
|
|
287
|
+
var setArrayLength = __webpack_require__("3a34");
|
|
288
|
+
var doesNotExceedSafeInteger = __webpack_require__("3511");
|
|
289
|
+
var fails = __webpack_require__("d039");
|
|
338
290
|
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
291
|
+
var INCORRECT_TO_LENGTH = fails(function () {
|
|
292
|
+
return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
|
|
293
|
+
});
|
|
294
|
+
|
|
295
|
+
// V8 and Safari <= 15.4, FF < 23 throws InternalError
|
|
296
|
+
// https://bugs.chromium.org/p/v8/issues/detail?id=12681
|
|
297
|
+
var SILENT_ON_NON_WRITABLE_LENGTH = !function () {
|
|
298
|
+
try {
|
|
299
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
300
|
+
Object.defineProperty([], 'length', { writable: false }).push();
|
|
301
|
+
} catch (error) {
|
|
302
|
+
return error instanceof TypeError;
|
|
347
303
|
}
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
304
|
+
}();
|
|
305
|
+
|
|
306
|
+
// `Array.prototype.push` method
|
|
307
|
+
// https://tc39.es/ecma262/#sec-array.prototype.push
|
|
308
|
+
$({ target: 'Array', proto: true, arity: 1, forced: INCORRECT_TO_LENGTH || SILENT_ON_NON_WRITABLE_LENGTH }, {
|
|
309
|
+
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
310
|
+
push: function push(item) {
|
|
311
|
+
var O = toObject(this);
|
|
312
|
+
var len = lengthOfArrayLike(O);
|
|
313
|
+
var argCount = arguments.length;
|
|
314
|
+
doesNotExceedSafeInteger(len + argCount);
|
|
315
|
+
for (var i = 0; i < argCount; i++) {
|
|
316
|
+
O[len] = arguments[i];
|
|
317
|
+
len++;
|
|
318
|
+
}
|
|
319
|
+
setArrayLength(O, len);
|
|
320
|
+
return len;
|
|
321
|
+
}
|
|
322
|
+
});
|
|
351
323
|
|
|
352
324
|
|
|
353
325
|
/***/ }),
|
|
354
326
|
|
|
355
327
|
/***/ "1626":
|
|
356
|
-
/***/ (function(module, exports) {
|
|
328
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
329
|
+
|
|
330
|
+
var $documentAll = __webpack_require__("8ea1");
|
|
331
|
+
|
|
332
|
+
var documentAll = $documentAll.all;
|
|
357
333
|
|
|
358
334
|
// `IsCallable` abstract operation
|
|
359
335
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
360
|
-
module.exports = function (argument) {
|
|
336
|
+
module.exports = $documentAll.IS_HTMLDDA ? function (argument) {
|
|
337
|
+
return typeof argument == 'function' || argument === documentAll;
|
|
338
|
+
} : function (argument) {
|
|
361
339
|
return typeof argument == 'function';
|
|
362
340
|
};
|
|
363
341
|
|
|
@@ -374,64 +352,29 @@ var hasOwnProperty = uncurryThis({}.hasOwnProperty);
|
|
|
374
352
|
|
|
375
353
|
// `HasOwnProperty` abstract operation
|
|
376
354
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
355
|
+
// eslint-disable-next-line es/no-object-hasown -- safe
|
|
377
356
|
module.exports = Object.hasOwn || function hasOwn(it, key) {
|
|
378
357
|
return hasOwnProperty(toObject(it), key);
|
|
379
358
|
};
|
|
380
359
|
|
|
381
360
|
|
|
382
|
-
/***/ }),
|
|
383
|
-
|
|
384
|
-
/***/ "1be4":
|
|
385
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
386
|
-
|
|
387
|
-
var getBuiltIn = __webpack_require__("d066");
|
|
388
|
-
|
|
389
|
-
module.exports = getBuiltIn('document', 'documentElement');
|
|
390
|
-
|
|
391
|
-
|
|
392
361
|
/***/ }),
|
|
393
362
|
|
|
394
363
|
/***/ "1d80":
|
|
395
364
|
/***/ (function(module, exports, __webpack_require__) {
|
|
396
365
|
|
|
397
|
-
var
|
|
366
|
+
var isNullOrUndefined = __webpack_require__("7234");
|
|
398
367
|
|
|
399
|
-
var TypeError =
|
|
368
|
+
var $TypeError = TypeError;
|
|
400
369
|
|
|
401
370
|
// `RequireObjectCoercible` abstract operation
|
|
402
371
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
403
372
|
module.exports = function (it) {
|
|
404
|
-
if (it
|
|
373
|
+
if (isNullOrUndefined(it)) throw $TypeError("Can't call method on " + it);
|
|
405
374
|
return it;
|
|
406
375
|
};
|
|
407
376
|
|
|
408
377
|
|
|
409
|
-
/***/ }),
|
|
410
|
-
|
|
411
|
-
/***/ "1dde":
|
|
412
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
413
|
-
|
|
414
|
-
var fails = __webpack_require__("d039");
|
|
415
|
-
var wellKnownSymbol = __webpack_require__("b622");
|
|
416
|
-
var V8_VERSION = __webpack_require__("2d00");
|
|
417
|
-
|
|
418
|
-
var SPECIES = wellKnownSymbol('species');
|
|
419
|
-
|
|
420
|
-
module.exports = function (METHOD_NAME) {
|
|
421
|
-
// We can't use this feature detection in V8 since it causes
|
|
422
|
-
// deoptimization and serious performance degradation
|
|
423
|
-
// https://github.com/zloirock/core-js/issues/677
|
|
424
|
-
return V8_VERSION >= 51 || !fails(function () {
|
|
425
|
-
var array = [];
|
|
426
|
-
var constructor = array.constructor = {};
|
|
427
|
-
constructor[SPECIES] = function () {
|
|
428
|
-
return { foo: 1 };
|
|
429
|
-
};
|
|
430
|
-
return array[METHOD_NAME](Boolean).foo !== 1;
|
|
431
|
-
});
|
|
432
|
-
};
|
|
433
|
-
|
|
434
|
-
|
|
435
378
|
/***/ }),
|
|
436
379
|
|
|
437
380
|
/***/ "23cb":
|
|
@@ -459,25 +402,25 @@ module.exports = function (index, length) {
|
|
|
459
402
|
var global = __webpack_require__("da84");
|
|
460
403
|
var getOwnPropertyDescriptor = __webpack_require__("06cf").f;
|
|
461
404
|
var createNonEnumerableProperty = __webpack_require__("9112");
|
|
462
|
-
var
|
|
463
|
-
var
|
|
405
|
+
var defineBuiltIn = __webpack_require__("cb2d");
|
|
406
|
+
var defineGlobalProperty = __webpack_require__("6374");
|
|
464
407
|
var copyConstructorProperties = __webpack_require__("e893");
|
|
465
408
|
var isForced = __webpack_require__("94ca");
|
|
466
409
|
|
|
467
410
|
/*
|
|
468
|
-
options.target
|
|
469
|
-
options.global
|
|
470
|
-
options.stat
|
|
471
|
-
options.proto
|
|
472
|
-
options.real
|
|
473
|
-
options.forced
|
|
474
|
-
options.bind
|
|
475
|
-
options.wrap
|
|
476
|
-
options.unsafe
|
|
477
|
-
options.sham
|
|
478
|
-
options.enumerable
|
|
479
|
-
options.
|
|
480
|
-
options.name
|
|
411
|
+
options.target - name of the target object
|
|
412
|
+
options.global - target is the global object
|
|
413
|
+
options.stat - export as static methods of target
|
|
414
|
+
options.proto - export as prototype methods of target
|
|
415
|
+
options.real - real prototype method for the `pure` version
|
|
416
|
+
options.forced - export even if the native feature is available
|
|
417
|
+
options.bind - bind methods to the target, required for the `pure` version
|
|
418
|
+
options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
|
|
419
|
+
options.unsafe - use the simple assignment of property instead of delete + defineProperty
|
|
420
|
+
options.sham - add a flag to not completely full polyfills
|
|
421
|
+
options.enumerable - export as enumerable property
|
|
422
|
+
options.dontCallGetSet - prevent calling a getter on target
|
|
423
|
+
options.name - the .name of the function if it does not match the key
|
|
481
424
|
*/
|
|
482
425
|
module.exports = function (options, source) {
|
|
483
426
|
var TARGET = options.target;
|
|
@@ -487,13 +430,13 @@ module.exports = function (options, source) {
|
|
|
487
430
|
if (GLOBAL) {
|
|
488
431
|
target = global;
|
|
489
432
|
} else if (STATIC) {
|
|
490
|
-
target = global[TARGET] ||
|
|
433
|
+
target = global[TARGET] || defineGlobalProperty(TARGET, {});
|
|
491
434
|
} else {
|
|
492
435
|
target = (global[TARGET] || {}).prototype;
|
|
493
436
|
}
|
|
494
437
|
if (target) for (key in source) {
|
|
495
438
|
sourceProperty = source[key];
|
|
496
|
-
if (options.
|
|
439
|
+
if (options.dontCallGetSet) {
|
|
497
440
|
descriptor = getOwnPropertyDescriptor(target, key);
|
|
498
441
|
targetProperty = descriptor && descriptor.value;
|
|
499
442
|
} else targetProperty = target[key];
|
|
@@ -507,8 +450,7 @@ module.exports = function (options, source) {
|
|
|
507
450
|
if (options.sham || (targetProperty && targetProperty.sham)) {
|
|
508
451
|
createNonEnumerableProperty(sourceProperty, 'sham', true);
|
|
509
452
|
}
|
|
510
|
-
|
|
511
|
-
redefine(target, key, sourceProperty, options);
|
|
453
|
+
defineBuiltIn(target, key, sourceProperty, options);
|
|
512
454
|
}
|
|
513
455
|
};
|
|
514
456
|
|
|
@@ -533,54 +475,17 @@ exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
|
533
475
|
|
|
534
476
|
/***/ }),
|
|
535
477
|
|
|
536
|
-
/***/ "
|
|
478
|
+
/***/ "2ba4":
|
|
537
479
|
/***/ (function(module, exports, __webpack_require__) {
|
|
538
480
|
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
var uncurryThis = __webpack_require__("e330");
|
|
542
|
-
var PROPER_FUNCTION_NAME = __webpack_require__("5e77").PROPER;
|
|
543
|
-
var redefine = __webpack_require__("6eeb");
|
|
544
|
-
var anObject = __webpack_require__("825a");
|
|
545
|
-
var isPrototypeOf = __webpack_require__("3a9b");
|
|
546
|
-
var $toString = __webpack_require__("577e");
|
|
547
|
-
var fails = __webpack_require__("d039");
|
|
548
|
-
var regExpFlags = __webpack_require__("ad6d");
|
|
549
|
-
|
|
550
|
-
var TO_STRING = 'toString';
|
|
551
|
-
var RegExpPrototype = RegExp.prototype;
|
|
552
|
-
var n$ToString = RegExpPrototype[TO_STRING];
|
|
553
|
-
var getFlags = uncurryThis(regExpFlags);
|
|
554
|
-
|
|
555
|
-
var NOT_GENERIC = fails(function () { return n$ToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });
|
|
556
|
-
// FF44- RegExp#toString has a wrong name
|
|
557
|
-
var INCORRECT_NAME = PROPER_FUNCTION_NAME && n$ToString.name != TO_STRING;
|
|
558
|
-
|
|
559
|
-
// `RegExp.prototype.toString` method
|
|
560
|
-
// https://tc39.es/ecma262/#sec-regexp.prototype.tostring
|
|
561
|
-
if (NOT_GENERIC || INCORRECT_NAME) {
|
|
562
|
-
redefine(RegExp.prototype, TO_STRING, function toString() {
|
|
563
|
-
var R = anObject(this);
|
|
564
|
-
var p = $toString(R.source);
|
|
565
|
-
var rf = R.flags;
|
|
566
|
-
var f = $toString(rf === undefined && isPrototypeOf(RegExpPrototype, R) && !('flags' in RegExpPrototype) ? getFlags(R) : rf);
|
|
567
|
-
return '/' + p + '/' + f;
|
|
568
|
-
}, { unsafe: true });
|
|
569
|
-
}
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
/***/ }),
|
|
573
|
-
|
|
574
|
-
/***/ "2ba4":
|
|
575
|
-
/***/ (function(module, exports) {
|
|
481
|
+
var NATIVE_BIND = __webpack_require__("40d5");
|
|
576
482
|
|
|
577
483
|
var FunctionPrototype = Function.prototype;
|
|
578
484
|
var apply = FunctionPrototype.apply;
|
|
579
|
-
var bind = FunctionPrototype.bind;
|
|
580
485
|
var call = FunctionPrototype.call;
|
|
581
486
|
|
|
582
487
|
// eslint-disable-next-line es/no-reflect -- safe
|
|
583
|
-
module.exports = typeof Reflect == 'object' && Reflect.apply || (
|
|
488
|
+
module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {
|
|
584
489
|
return call.apply(apply, arguments);
|
|
585
490
|
});
|
|
586
491
|
|
|
@@ -631,27 +536,50 @@ module.exports = getBuiltIn('navigator', 'userAgent') || '';
|
|
|
631
536
|
|
|
632
537
|
/***/ }),
|
|
633
538
|
|
|
634
|
-
/***/ "
|
|
539
|
+
/***/ "3511":
|
|
540
|
+
/***/ (function(module, exports) {
|
|
541
|
+
|
|
542
|
+
var $TypeError = TypeError;
|
|
543
|
+
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
|
|
544
|
+
|
|
545
|
+
module.exports = function (it) {
|
|
546
|
+
if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');
|
|
547
|
+
return it;
|
|
548
|
+
};
|
|
549
|
+
|
|
550
|
+
|
|
551
|
+
/***/ }),
|
|
552
|
+
|
|
553
|
+
/***/ "3a34":
|
|
635
554
|
/***/ (function(module, exports, __webpack_require__) {
|
|
636
555
|
|
|
556
|
+
"use strict";
|
|
557
|
+
|
|
637
558
|
var DESCRIPTORS = __webpack_require__("83ab");
|
|
638
|
-
var
|
|
639
|
-
var anObject = __webpack_require__("825a");
|
|
640
|
-
var toIndexedObject = __webpack_require__("fc6a");
|
|
641
|
-
var objectKeys = __webpack_require__("df75");
|
|
559
|
+
var isArray = __webpack_require__("e8b5");
|
|
642
560
|
|
|
643
|
-
|
|
644
|
-
//
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
561
|
+
var $TypeError = TypeError;
|
|
562
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
563
|
+
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
564
|
+
|
|
565
|
+
// Safari < 13 does not throw an error in this case
|
|
566
|
+
var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {
|
|
567
|
+
// makes no sense without proper strict mode support
|
|
568
|
+
if (this !== undefined) return true;
|
|
569
|
+
try {
|
|
570
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
571
|
+
Object.defineProperty([], 'length', { writable: false }).length = 1;
|
|
572
|
+
} catch (error) {
|
|
573
|
+
return error instanceof TypeError;
|
|
574
|
+
}
|
|
575
|
+
}();
|
|
576
|
+
|
|
577
|
+
module.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
|
|
578
|
+
if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {
|
|
579
|
+
throw $TypeError('Cannot set read only .length');
|
|
580
|
+
} return O.length = length;
|
|
581
|
+
} : function (O, length) {
|
|
582
|
+
return O.length = length;
|
|
655
583
|
};
|
|
656
584
|
|
|
657
585
|
|
|
@@ -670,28 +598,30 @@ module.exports = uncurryThis({}.isPrototypeOf);
|
|
|
670
598
|
/***/ "3bbe":
|
|
671
599
|
/***/ (function(module, exports, __webpack_require__) {
|
|
672
600
|
|
|
673
|
-
var global = __webpack_require__("da84");
|
|
674
601
|
var isCallable = __webpack_require__("1626");
|
|
675
602
|
|
|
676
|
-
var String =
|
|
677
|
-
var TypeError =
|
|
603
|
+
var $String = String;
|
|
604
|
+
var $TypeError = TypeError;
|
|
678
605
|
|
|
679
606
|
module.exports = function (argument) {
|
|
680
607
|
if (typeof argument == 'object' || isCallable(argument)) return argument;
|
|
681
|
-
throw TypeError("Can't set " + String(argument) + ' as a prototype');
|
|
608
|
+
throw $TypeError("Can't set " + $String(argument) + ' as a prototype');
|
|
682
609
|
};
|
|
683
610
|
|
|
684
611
|
|
|
685
612
|
/***/ }),
|
|
686
613
|
|
|
687
|
-
/***/ "
|
|
614
|
+
/***/ "40d5":
|
|
688
615
|
/***/ (function(module, exports, __webpack_require__) {
|
|
689
616
|
|
|
690
|
-
var
|
|
617
|
+
var fails = __webpack_require__("d039");
|
|
691
618
|
|
|
692
|
-
|
|
693
|
-
//
|
|
694
|
-
|
|
619
|
+
module.exports = !fails(function () {
|
|
620
|
+
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
621
|
+
var test = (function () { /* empty */ }).bind();
|
|
622
|
+
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
623
|
+
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
624
|
+
});
|
|
695
625
|
|
|
696
626
|
|
|
697
627
|
/***/ }),
|
|
@@ -699,22 +629,21 @@ module.exports = uncurryThis(1.0.valueOf);
|
|
|
699
629
|
/***/ "44ad":
|
|
700
630
|
/***/ (function(module, exports, __webpack_require__) {
|
|
701
631
|
|
|
702
|
-
var global = __webpack_require__("da84");
|
|
703
632
|
var uncurryThis = __webpack_require__("e330");
|
|
704
633
|
var fails = __webpack_require__("d039");
|
|
705
634
|
var classof = __webpack_require__("c6b6");
|
|
706
635
|
|
|
707
|
-
var Object =
|
|
636
|
+
var $Object = Object;
|
|
708
637
|
var split = uncurryThis(''.split);
|
|
709
638
|
|
|
710
639
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
711
640
|
module.exports = fails(function () {
|
|
712
641
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
713
642
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
714
|
-
return
|
|
643
|
+
return !$Object('z').propertyIsEnumerable(0);
|
|
715
644
|
}) ? function (it) {
|
|
716
|
-
return classof(it) == 'String' ? split(it, '') : Object(it);
|
|
717
|
-
} : Object;
|
|
645
|
+
return classof(it) == 'String' ? split(it, '') : $Object(it);
|
|
646
|
+
} : $Object;
|
|
718
647
|
|
|
719
648
|
|
|
720
649
|
/***/ }),
|
|
@@ -722,12 +651,11 @@ module.exports = fails(function () {
|
|
|
722
651
|
/***/ "485a":
|
|
723
652
|
/***/ (function(module, exports, __webpack_require__) {
|
|
724
653
|
|
|
725
|
-
var global = __webpack_require__("da84");
|
|
726
654
|
var call = __webpack_require__("c65b");
|
|
727
655
|
var isCallable = __webpack_require__("1626");
|
|
728
656
|
var isObject = __webpack_require__("861d");
|
|
729
657
|
|
|
730
|
-
var TypeError =
|
|
658
|
+
var $TypeError = TypeError;
|
|
731
659
|
|
|
732
660
|
// `OrdinaryToPrimitive` abstract operation
|
|
733
661
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
@@ -736,30 +664,10 @@ module.exports = function (input, pref) {
|
|
|
736
664
|
if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
|
|
737
665
|
if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;
|
|
738
666
|
if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
|
|
739
|
-
throw TypeError("Can't convert object to primitive value");
|
|
667
|
+
throw $TypeError("Can't convert object to primitive value");
|
|
740
668
|
};
|
|
741
669
|
|
|
742
670
|
|
|
743
|
-
/***/ }),
|
|
744
|
-
|
|
745
|
-
/***/ "4930":
|
|
746
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
747
|
-
|
|
748
|
-
/* eslint-disable es/no-symbol -- required for testing */
|
|
749
|
-
var V8_VERSION = __webpack_require__("2d00");
|
|
750
|
-
var fails = __webpack_require__("d039");
|
|
751
|
-
|
|
752
|
-
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
753
|
-
module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
754
|
-
var symbol = Symbol();
|
|
755
|
-
// Chrome 38 Symbol has incorrect toString conversion
|
|
756
|
-
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
757
|
-
return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
|
|
758
|
-
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
759
|
-
!Symbol.sham && V8_VERSION && V8_VERSION < 41;
|
|
760
|
-
});
|
|
761
|
-
|
|
762
|
-
|
|
763
671
|
/***/ }),
|
|
764
672
|
|
|
765
673
|
/***/ "4d64":
|
|
@@ -817,163 +725,21 @@ module.exports = function (argument) {
|
|
|
817
725
|
|
|
818
726
|
/***/ }),
|
|
819
727
|
|
|
820
|
-
/***/ "
|
|
728
|
+
/***/ "5692":
|
|
821
729
|
/***/ (function(module, exports, __webpack_require__) {
|
|
822
730
|
|
|
823
|
-
|
|
731
|
+
var IS_PURE = __webpack_require__("c430");
|
|
732
|
+
var store = __webpack_require__("c6cd");
|
|
824
733
|
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
var toString = __webpack_require__("577e");
|
|
835
|
-
var requireObjectCoercible = __webpack_require__("1d80");
|
|
836
|
-
var advanceStringIndex = __webpack_require__("8aa5");
|
|
837
|
-
var getMethod = __webpack_require__("dc4a");
|
|
838
|
-
var getSubstitution = __webpack_require__("0cb2");
|
|
839
|
-
var regExpExec = __webpack_require__("14c3");
|
|
840
|
-
var wellKnownSymbol = __webpack_require__("b622");
|
|
841
|
-
|
|
842
|
-
var REPLACE = wellKnownSymbol('replace');
|
|
843
|
-
var max = Math.max;
|
|
844
|
-
var min = Math.min;
|
|
845
|
-
var concat = uncurryThis([].concat);
|
|
846
|
-
var push = uncurryThis([].push);
|
|
847
|
-
var stringIndexOf = uncurryThis(''.indexOf);
|
|
848
|
-
var stringSlice = uncurryThis(''.slice);
|
|
849
|
-
|
|
850
|
-
var maybeToString = function (it) {
|
|
851
|
-
return it === undefined ? it : String(it);
|
|
852
|
-
};
|
|
853
|
-
|
|
854
|
-
// IE <= 11 replaces $0 with the whole match, as if it was $&
|
|
855
|
-
// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0
|
|
856
|
-
var REPLACE_KEEPS_$0 = (function () {
|
|
857
|
-
// eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing
|
|
858
|
-
return 'a'.replace(/./, '$0') === '$0';
|
|
859
|
-
})();
|
|
860
|
-
|
|
861
|
-
// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string
|
|
862
|
-
var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
|
|
863
|
-
if (/./[REPLACE]) {
|
|
864
|
-
return /./[REPLACE]('a', '$0') === '';
|
|
865
|
-
}
|
|
866
|
-
return false;
|
|
867
|
-
})();
|
|
868
|
-
|
|
869
|
-
var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {
|
|
870
|
-
var re = /./;
|
|
871
|
-
re.exec = function () {
|
|
872
|
-
var result = [];
|
|
873
|
-
result.groups = { a: '7' };
|
|
874
|
-
return result;
|
|
875
|
-
};
|
|
876
|
-
// eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive
|
|
877
|
-
return ''.replace(re, '$<a>') !== '7';
|
|
878
|
-
});
|
|
879
|
-
|
|
880
|
-
// @@replace logic
|
|
881
|
-
fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) {
|
|
882
|
-
var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';
|
|
883
|
-
|
|
884
|
-
return [
|
|
885
|
-
// `String.prototype.replace` method
|
|
886
|
-
// https://tc39.es/ecma262/#sec-string.prototype.replace
|
|
887
|
-
function replace(searchValue, replaceValue) {
|
|
888
|
-
var O = requireObjectCoercible(this);
|
|
889
|
-
var replacer = searchValue == undefined ? undefined : getMethod(searchValue, REPLACE);
|
|
890
|
-
return replacer
|
|
891
|
-
? call(replacer, searchValue, O, replaceValue)
|
|
892
|
-
: call(nativeReplace, toString(O), searchValue, replaceValue);
|
|
893
|
-
},
|
|
894
|
-
// `RegExp.prototype[@@replace]` method
|
|
895
|
-
// https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
|
|
896
|
-
function (string, replaceValue) {
|
|
897
|
-
var rx = anObject(this);
|
|
898
|
-
var S = toString(string);
|
|
899
|
-
|
|
900
|
-
if (
|
|
901
|
-
typeof replaceValue == 'string' &&
|
|
902
|
-
stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 &&
|
|
903
|
-
stringIndexOf(replaceValue, '$<') === -1
|
|
904
|
-
) {
|
|
905
|
-
var res = maybeCallNative(nativeReplace, rx, S, replaceValue);
|
|
906
|
-
if (res.done) return res.value;
|
|
907
|
-
}
|
|
908
|
-
|
|
909
|
-
var functionalReplace = isCallable(replaceValue);
|
|
910
|
-
if (!functionalReplace) replaceValue = toString(replaceValue);
|
|
911
|
-
|
|
912
|
-
var global = rx.global;
|
|
913
|
-
if (global) {
|
|
914
|
-
var fullUnicode = rx.unicode;
|
|
915
|
-
rx.lastIndex = 0;
|
|
916
|
-
}
|
|
917
|
-
var results = [];
|
|
918
|
-
while (true) {
|
|
919
|
-
var result = regExpExec(rx, S);
|
|
920
|
-
if (result === null) break;
|
|
921
|
-
|
|
922
|
-
push(results, result);
|
|
923
|
-
if (!global) break;
|
|
924
|
-
|
|
925
|
-
var matchStr = toString(result[0]);
|
|
926
|
-
if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
|
|
927
|
-
}
|
|
928
|
-
|
|
929
|
-
var accumulatedResult = '';
|
|
930
|
-
var nextSourcePosition = 0;
|
|
931
|
-
for (var i = 0; i < results.length; i++) {
|
|
932
|
-
result = results[i];
|
|
933
|
-
|
|
934
|
-
var matched = toString(result[0]);
|
|
935
|
-
var position = max(min(toIntegerOrInfinity(result.index), S.length), 0);
|
|
936
|
-
var captures = [];
|
|
937
|
-
// NOTE: This is equivalent to
|
|
938
|
-
// captures = result.slice(1).map(maybeToString)
|
|
939
|
-
// but for some reason `nativeSlice.call(result, 1, result.length)` (called in
|
|
940
|
-
// the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and
|
|
941
|
-
// causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.
|
|
942
|
-
for (var j = 1; j < result.length; j++) push(captures, maybeToString(result[j]));
|
|
943
|
-
var namedCaptures = result.groups;
|
|
944
|
-
if (functionalReplace) {
|
|
945
|
-
var replacerArgs = concat([matched], captures, position, S);
|
|
946
|
-
if (namedCaptures !== undefined) push(replacerArgs, namedCaptures);
|
|
947
|
-
var replacement = toString(apply(replaceValue, undefined, replacerArgs));
|
|
948
|
-
} else {
|
|
949
|
-
replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
|
|
950
|
-
}
|
|
951
|
-
if (position >= nextSourcePosition) {
|
|
952
|
-
accumulatedResult += stringSlice(S, nextSourcePosition, position) + replacement;
|
|
953
|
-
nextSourcePosition = position + matched.length;
|
|
954
|
-
}
|
|
955
|
-
}
|
|
956
|
-
return accumulatedResult + stringSlice(S, nextSourcePosition);
|
|
957
|
-
}
|
|
958
|
-
];
|
|
959
|
-
}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
/***/ }),
|
|
963
|
-
|
|
964
|
-
/***/ "5692":
|
|
965
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
966
|
-
|
|
967
|
-
var IS_PURE = __webpack_require__("c430");
|
|
968
|
-
var store = __webpack_require__("c6cd");
|
|
969
|
-
|
|
970
|
-
(module.exports = function (key, value) {
|
|
971
|
-
return store[key] || (store[key] = value !== undefined ? value : {});
|
|
972
|
-
})('versions', []).push({
|
|
973
|
-
version: '3.20.1',
|
|
974
|
-
mode: IS_PURE ? 'pure' : 'global',
|
|
975
|
-
copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
|
|
976
|
-
});
|
|
734
|
+
(module.exports = function (key, value) {
|
|
735
|
+
return store[key] || (store[key] = value !== undefined ? value : {});
|
|
736
|
+
})('versions', []).push({
|
|
737
|
+
version: '3.26.1',
|
|
738
|
+
mode: IS_PURE ? 'pure' : 'global',
|
|
739
|
+
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
|
740
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE',
|
|
741
|
+
source: 'https://github.com/zloirock/core-js'
|
|
742
|
+
});
|
|
977
743
|
|
|
978
744
|
|
|
979
745
|
/***/ }),
|
|
@@ -1002,79 +768,29 @@ module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
|
1002
768
|
/***/ "577e":
|
|
1003
769
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1004
770
|
|
|
1005
|
-
var global = __webpack_require__("da84");
|
|
1006
771
|
var classof = __webpack_require__("f5df");
|
|
1007
772
|
|
|
1008
|
-
var String =
|
|
773
|
+
var $String = String;
|
|
1009
774
|
|
|
1010
775
|
module.exports = function (argument) {
|
|
1011
776
|
if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
|
|
1012
|
-
return String(argument);
|
|
1013
|
-
};
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
/***/ }),
|
|
1017
|
-
|
|
1018
|
-
/***/ "5899":
|
|
1019
|
-
/***/ (function(module, exports) {
|
|
1020
|
-
|
|
1021
|
-
// a string of all valid unicode whitespaces
|
|
1022
|
-
module.exports = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
|
|
1023
|
-
'\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
/***/ }),
|
|
1027
|
-
|
|
1028
|
-
/***/ "58a8":
|
|
1029
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1030
|
-
|
|
1031
|
-
var uncurryThis = __webpack_require__("e330");
|
|
1032
|
-
var requireObjectCoercible = __webpack_require__("1d80");
|
|
1033
|
-
var toString = __webpack_require__("577e");
|
|
1034
|
-
var whitespaces = __webpack_require__("5899");
|
|
1035
|
-
|
|
1036
|
-
var replace = uncurryThis(''.replace);
|
|
1037
|
-
var whitespace = '[' + whitespaces + ']';
|
|
1038
|
-
var ltrim = RegExp('^' + whitespace + whitespace + '*');
|
|
1039
|
-
var rtrim = RegExp(whitespace + whitespace + '*$');
|
|
1040
|
-
|
|
1041
|
-
// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
|
|
1042
|
-
var createMethod = function (TYPE) {
|
|
1043
|
-
return function ($this) {
|
|
1044
|
-
var string = toString(requireObjectCoercible($this));
|
|
1045
|
-
if (TYPE & 1) string = replace(string, ltrim, '');
|
|
1046
|
-
if (TYPE & 2) string = replace(string, rtrim, '');
|
|
1047
|
-
return string;
|
|
1048
|
-
};
|
|
1049
|
-
};
|
|
1050
|
-
|
|
1051
|
-
module.exports = {
|
|
1052
|
-
// `String.prototype.{ trimLeft, trimStart }` methods
|
|
1053
|
-
// https://tc39.es/ecma262/#sec-string.prototype.trimstart
|
|
1054
|
-
start: createMethod(1),
|
|
1055
|
-
// `String.prototype.{ trimRight, trimEnd }` methods
|
|
1056
|
-
// https://tc39.es/ecma262/#sec-string.prototype.trimend
|
|
1057
|
-
end: createMethod(2),
|
|
1058
|
-
// `String.prototype.trim` method
|
|
1059
|
-
// https://tc39.es/ecma262/#sec-string.prototype.trim
|
|
1060
|
-
trim: createMethod(3)
|
|
777
|
+
return $String(argument);
|
|
1061
778
|
};
|
|
1062
779
|
|
|
1063
780
|
|
|
1064
781
|
/***/ }),
|
|
1065
782
|
|
|
1066
783
|
/***/ "5926":
|
|
1067
|
-
/***/ (function(module, exports) {
|
|
784
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1068
785
|
|
|
1069
|
-
var
|
|
1070
|
-
var floor = Math.floor;
|
|
786
|
+
var trunc = __webpack_require__("b42e");
|
|
1071
787
|
|
|
1072
788
|
// `ToIntegerOrInfinity` abstract operation
|
|
1073
789
|
// https://tc39.es/ecma262/#sec-tointegerorinfinity
|
|
1074
790
|
module.exports = function (argument) {
|
|
1075
791
|
var number = +argument;
|
|
1076
|
-
// eslint-disable-next-line no-self-compare --
|
|
1077
|
-
return number !== number || number === 0 ? 0 : (number
|
|
792
|
+
// eslint-disable-next-line no-self-compare -- NaN check
|
|
793
|
+
return number !== number || number === 0 ? 0 : trunc(number);
|
|
1078
794
|
};
|
|
1079
795
|
|
|
1080
796
|
|
|
@@ -1083,16 +799,15 @@ module.exports = function (argument) {
|
|
|
1083
799
|
/***/ "59ed":
|
|
1084
800
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1085
801
|
|
|
1086
|
-
var global = __webpack_require__("da84");
|
|
1087
802
|
var isCallable = __webpack_require__("1626");
|
|
1088
803
|
var tryToString = __webpack_require__("0d51");
|
|
1089
804
|
|
|
1090
|
-
var TypeError =
|
|
805
|
+
var $TypeError = TypeError;
|
|
1091
806
|
|
|
1092
807
|
// `Assert: IsCallable(argument) is true`
|
|
1093
808
|
module.exports = function (argument) {
|
|
1094
809
|
if (isCallable(argument)) return argument;
|
|
1095
|
-
throw TypeError(tryToString(argument) + ' is not a function');
|
|
810
|
+
throw $TypeError(tryToString(argument) + ' is not a function');
|
|
1096
811
|
};
|
|
1097
812
|
|
|
1098
813
|
|
|
@@ -1137,128 +852,30 @@ module.exports = {
|
|
|
1137
852
|
|
|
1138
853
|
/***/ }),
|
|
1139
854
|
|
|
1140
|
-
/***/ "
|
|
1141
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1142
|
-
|
|
1143
|
-
var uncurryThis = __webpack_require__("e330");
|
|
1144
|
-
var toIntegerOrInfinity = __webpack_require__("5926");
|
|
1145
|
-
var toString = __webpack_require__("577e");
|
|
1146
|
-
var requireObjectCoercible = __webpack_require__("1d80");
|
|
1147
|
-
|
|
1148
|
-
var charAt = uncurryThis(''.charAt);
|
|
1149
|
-
var charCodeAt = uncurryThis(''.charCodeAt);
|
|
1150
|
-
var stringSlice = uncurryThis(''.slice);
|
|
1151
|
-
|
|
1152
|
-
var createMethod = function (CONVERT_TO_STRING) {
|
|
1153
|
-
return function ($this, pos) {
|
|
1154
|
-
var S = toString(requireObjectCoercible($this));
|
|
1155
|
-
var position = toIntegerOrInfinity(pos);
|
|
1156
|
-
var size = S.length;
|
|
1157
|
-
var first, second;
|
|
1158
|
-
if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;
|
|
1159
|
-
first = charCodeAt(S, position);
|
|
1160
|
-
return first < 0xD800 || first > 0xDBFF || position + 1 === size
|
|
1161
|
-
|| (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF
|
|
1162
|
-
? CONVERT_TO_STRING
|
|
1163
|
-
? charAt(S, position)
|
|
1164
|
-
: first
|
|
1165
|
-
: CONVERT_TO_STRING
|
|
1166
|
-
? stringSlice(S, position, position + 2)
|
|
1167
|
-
: (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;
|
|
1168
|
-
};
|
|
1169
|
-
};
|
|
1170
|
-
|
|
1171
|
-
module.exports = {
|
|
1172
|
-
// `String.prototype.codePointAt` method
|
|
1173
|
-
// https://tc39.es/ecma262/#sec-string.prototype.codepointat
|
|
1174
|
-
codeAt: createMethod(false),
|
|
1175
|
-
// `String.prototype.at` method
|
|
1176
|
-
// https://github.com/mathiasbynens/String.prototype.at
|
|
1177
|
-
charAt: createMethod(true)
|
|
1178
|
-
};
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
/***/ }),
|
|
1182
|
-
|
|
1183
|
-
/***/ "65f0":
|
|
855
|
+
/***/ "6374":
|
|
1184
856
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1185
857
|
|
|
1186
|
-
var
|
|
1187
|
-
|
|
1188
|
-
// `ArraySpeciesCreate` abstract operation
|
|
1189
|
-
// https://tc39.es/ecma262/#sec-arrayspeciescreate
|
|
1190
|
-
module.exports = function (originalArray, length) {
|
|
1191
|
-
return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
|
|
1192
|
-
};
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
/***/ }),
|
|
1196
|
-
|
|
1197
|
-
/***/ "68ee":
|
|
1198
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1199
|
-
|
|
1200
|
-
var uncurryThis = __webpack_require__("e330");
|
|
1201
|
-
var fails = __webpack_require__("d039");
|
|
1202
|
-
var isCallable = __webpack_require__("1626");
|
|
1203
|
-
var classof = __webpack_require__("f5df");
|
|
1204
|
-
var getBuiltIn = __webpack_require__("d066");
|
|
1205
|
-
var inspectSource = __webpack_require__("8925");
|
|
1206
|
-
|
|
1207
|
-
var noop = function () { /* empty */ };
|
|
1208
|
-
var empty = [];
|
|
1209
|
-
var construct = getBuiltIn('Reflect', 'construct');
|
|
1210
|
-
var constructorRegExp = /^\s*(?:class|function)\b/;
|
|
1211
|
-
var exec = uncurryThis(constructorRegExp.exec);
|
|
1212
|
-
var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
|
|
858
|
+
var global = __webpack_require__("da84");
|
|
1213
859
|
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
try {
|
|
1217
|
-
construct(noop, empty, argument);
|
|
1218
|
-
return true;
|
|
1219
|
-
} catch (error) {
|
|
1220
|
-
return false;
|
|
1221
|
-
}
|
|
1222
|
-
};
|
|
860
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
861
|
+
var defineProperty = Object.defineProperty;
|
|
1223
862
|
|
|
1224
|
-
|
|
1225
|
-
if (!isCallable(argument)) return false;
|
|
1226
|
-
switch (classof(argument)) {
|
|
1227
|
-
case 'AsyncFunction':
|
|
1228
|
-
case 'GeneratorFunction':
|
|
1229
|
-
case 'AsyncGeneratorFunction': return false;
|
|
1230
|
-
}
|
|
863
|
+
module.exports = function (key, value) {
|
|
1231
864
|
try {
|
|
1232
|
-
|
|
1233
|
-
// `Function#toString` throws on some built-it function in some legacy engines
|
|
1234
|
-
// (for example, `DOMQuad` and similar in FF41-)
|
|
1235
|
-
return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
|
|
865
|
+
defineProperty(global, key, { value: value, configurable: true, writable: true });
|
|
1236
866
|
} catch (error) {
|
|
1237
|
-
|
|
1238
|
-
}
|
|
867
|
+
global[key] = value;
|
|
868
|
+
} return value;
|
|
1239
869
|
};
|
|
1240
870
|
|
|
1241
|
-
isConstructorLegacy.sham = true;
|
|
1242
|
-
|
|
1243
|
-
// `IsConstructor` abstract operation
|
|
1244
|
-
// https://tc39.es/ecma262/#sec-isconstructor
|
|
1245
|
-
module.exports = !construct || fails(function () {
|
|
1246
|
-
var called;
|
|
1247
|
-
return isConstructorModern(isConstructorModern.call)
|
|
1248
|
-
|| !isConstructorModern(Object)
|
|
1249
|
-
|| !isConstructorModern(function () { called = true; })
|
|
1250
|
-
|| called;
|
|
1251
|
-
}) ? isConstructorLegacy : isConstructorModern;
|
|
1252
|
-
|
|
1253
871
|
|
|
1254
872
|
/***/ }),
|
|
1255
873
|
|
|
1256
874
|
/***/ "69f3":
|
|
1257
875
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1258
876
|
|
|
1259
|
-
var NATIVE_WEAK_MAP = __webpack_require__("
|
|
877
|
+
var NATIVE_WEAK_MAP = __webpack_require__("cdce");
|
|
1260
878
|
var global = __webpack_require__("da84");
|
|
1261
|
-
var uncurryThis = __webpack_require__("e330");
|
|
1262
879
|
var isObject = __webpack_require__("861d");
|
|
1263
880
|
var createNonEnumerableProperty = __webpack_require__("9112");
|
|
1264
881
|
var hasOwn = __webpack_require__("1a2d");
|
|
@@ -1286,26 +903,28 @@ var getterFor = function (TYPE) {
|
|
|
1286
903
|
|
|
1287
904
|
if (NATIVE_WEAK_MAP || shared.state) {
|
|
1288
905
|
var store = shared.state || (shared.state = new WeakMap());
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
906
|
+
/* eslint-disable no-self-assign -- prototype methods protection */
|
|
907
|
+
store.get = store.get;
|
|
908
|
+
store.has = store.has;
|
|
909
|
+
store.set = store.set;
|
|
910
|
+
/* eslint-enable no-self-assign -- prototype methods protection */
|
|
1292
911
|
set = function (it, metadata) {
|
|
1293
|
-
if (
|
|
912
|
+
if (store.has(it)) throw TypeError(OBJECT_ALREADY_INITIALIZED);
|
|
1294
913
|
metadata.facade = it;
|
|
1295
|
-
|
|
914
|
+
store.set(it, metadata);
|
|
1296
915
|
return metadata;
|
|
1297
916
|
};
|
|
1298
917
|
get = function (it) {
|
|
1299
|
-
return
|
|
918
|
+
return store.get(it) || {};
|
|
1300
919
|
};
|
|
1301
920
|
has = function (it) {
|
|
1302
|
-
return
|
|
921
|
+
return store.has(it);
|
|
1303
922
|
};
|
|
1304
923
|
} else {
|
|
1305
924
|
var STATE = sharedKey('state');
|
|
1306
925
|
hiddenKeys[STATE] = true;
|
|
1307
926
|
set = function (it, metadata) {
|
|
1308
|
-
if (hasOwn(it, STATE)) throw
|
|
927
|
+
if (hasOwn(it, STATE)) throw TypeError(OBJECT_ALREADY_INITIALIZED);
|
|
1309
928
|
metadata.facade = it;
|
|
1310
929
|
createNonEnumerableProperty(it, STATE, metadata);
|
|
1311
930
|
return metadata;
|
|
@@ -1338,66 +957,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
1338
957
|
// runtime helper for setting properties on components
|
|
1339
958
|
// in a tree-shakable way
|
|
1340
959
|
exports.default = (sfc, props) => {
|
|
960
|
+
const target = sfc.__vccOpts || sfc;
|
|
1341
961
|
for (const [key, val] of props) {
|
|
1342
|
-
|
|
962
|
+
target[key] = val;
|
|
1343
963
|
}
|
|
1344
|
-
return
|
|
964
|
+
return target;
|
|
1345
965
|
};
|
|
1346
966
|
|
|
1347
967
|
|
|
1348
|
-
/***/ }),
|
|
1349
|
-
|
|
1350
|
-
/***/ "6eeb":
|
|
1351
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1352
|
-
|
|
1353
|
-
var global = __webpack_require__("da84");
|
|
1354
|
-
var isCallable = __webpack_require__("1626");
|
|
1355
|
-
var hasOwn = __webpack_require__("1a2d");
|
|
1356
|
-
var createNonEnumerableProperty = __webpack_require__("9112");
|
|
1357
|
-
var setGlobal = __webpack_require__("ce4e");
|
|
1358
|
-
var inspectSource = __webpack_require__("8925");
|
|
1359
|
-
var InternalStateModule = __webpack_require__("69f3");
|
|
1360
|
-
var CONFIGURABLE_FUNCTION_NAME = __webpack_require__("5e77").CONFIGURABLE;
|
|
1361
|
-
|
|
1362
|
-
var getInternalState = InternalStateModule.get;
|
|
1363
|
-
var enforceInternalState = InternalStateModule.enforce;
|
|
1364
|
-
var TEMPLATE = String(String).split('String');
|
|
1365
|
-
|
|
1366
|
-
(module.exports = function (O, key, value, options) {
|
|
1367
|
-
var unsafe = options ? !!options.unsafe : false;
|
|
1368
|
-
var simple = options ? !!options.enumerable : false;
|
|
1369
|
-
var noTargetGet = options ? !!options.noTargetGet : false;
|
|
1370
|
-
var name = options && options.name !== undefined ? options.name : key;
|
|
1371
|
-
var state;
|
|
1372
|
-
if (isCallable(value)) {
|
|
1373
|
-
if (String(name).slice(0, 7) === 'Symbol(') {
|
|
1374
|
-
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
|
|
1375
|
-
}
|
|
1376
|
-
if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
|
1377
|
-
createNonEnumerableProperty(value, 'name', name);
|
|
1378
|
-
}
|
|
1379
|
-
state = enforceInternalState(value);
|
|
1380
|
-
if (!state.source) {
|
|
1381
|
-
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
|
1382
|
-
}
|
|
1383
|
-
}
|
|
1384
|
-
if (O === global) {
|
|
1385
|
-
if (simple) O[key] = value;
|
|
1386
|
-
else setGlobal(key, value);
|
|
1387
|
-
return;
|
|
1388
|
-
} else if (!unsafe) {
|
|
1389
|
-
delete O[key];
|
|
1390
|
-
} else if (!noTargetGet && O[key]) {
|
|
1391
|
-
simple = true;
|
|
1392
|
-
}
|
|
1393
|
-
if (simple) O[key] = value;
|
|
1394
|
-
else createNonEnumerableProperty(O, key, value);
|
|
1395
|
-
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
1396
|
-
})(Function.prototype, 'toString', function toString() {
|
|
1397
|
-
return isCallable(this) && getInternalState(this).source || inspectSource(this);
|
|
1398
|
-
});
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
968
|
/***/ }),
|
|
1402
969
|
|
|
1403
970
|
/***/ "7156":
|
|
@@ -1423,6 +990,18 @@ module.exports = function ($this, dummy, Wrapper) {
|
|
|
1423
990
|
};
|
|
1424
991
|
|
|
1425
992
|
|
|
993
|
+
/***/ }),
|
|
994
|
+
|
|
995
|
+
/***/ "7234":
|
|
996
|
+
/***/ (function(module, exports) {
|
|
997
|
+
|
|
998
|
+
// we can't use just `it == null` since of `document.all` special case
|
|
999
|
+
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
|
1000
|
+
module.exports = function (it) {
|
|
1001
|
+
return it === null || it === undefined;
|
|
1002
|
+
};
|
|
1003
|
+
|
|
1004
|
+
|
|
1426
1005
|
/***/ }),
|
|
1427
1006
|
|
|
1428
1007
|
/***/ "7418":
|
|
@@ -1454,136 +1033,31 @@ module.exports = [
|
|
|
1454
1033
|
/***/ "7b0b":
|
|
1455
1034
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1456
1035
|
|
|
1457
|
-
var global = __webpack_require__("da84");
|
|
1458
1036
|
var requireObjectCoercible = __webpack_require__("1d80");
|
|
1459
1037
|
|
|
1460
|
-
var Object =
|
|
1038
|
+
var $Object = Object;
|
|
1461
1039
|
|
|
1462
1040
|
// `ToObject` abstract operation
|
|
1463
1041
|
// https://tc39.es/ecma262/#sec-toobject
|
|
1464
1042
|
module.exports = function (argument) {
|
|
1465
|
-
return Object(requireObjectCoercible(argument));
|
|
1466
|
-
};
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
/***/ }),
|
|
1470
|
-
|
|
1471
|
-
/***/ "7c73":
|
|
1472
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1473
|
-
|
|
1474
|
-
/* global ActiveXObject -- old IE, WSH */
|
|
1475
|
-
var anObject = __webpack_require__("825a");
|
|
1476
|
-
var defineProperties = __webpack_require__("37e8");
|
|
1477
|
-
var enumBugKeys = __webpack_require__("7839");
|
|
1478
|
-
var hiddenKeys = __webpack_require__("d012");
|
|
1479
|
-
var html = __webpack_require__("1be4");
|
|
1480
|
-
var documentCreateElement = __webpack_require__("cc12");
|
|
1481
|
-
var sharedKey = __webpack_require__("f772");
|
|
1482
|
-
|
|
1483
|
-
var GT = '>';
|
|
1484
|
-
var LT = '<';
|
|
1485
|
-
var PROTOTYPE = 'prototype';
|
|
1486
|
-
var SCRIPT = 'script';
|
|
1487
|
-
var IE_PROTO = sharedKey('IE_PROTO');
|
|
1488
|
-
|
|
1489
|
-
var EmptyConstructor = function () { /* empty */ };
|
|
1490
|
-
|
|
1491
|
-
var scriptTag = function (content) {
|
|
1492
|
-
return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
|
|
1043
|
+
return $Object(requireObjectCoercible(argument));
|
|
1493
1044
|
};
|
|
1494
1045
|
|
|
1495
|
-
// Create object with fake `null` prototype: use ActiveX Object with cleared prototype
|
|
1496
|
-
var NullProtoObjectViaActiveX = function (activeXDocument) {
|
|
1497
|
-
activeXDocument.write(scriptTag(''));
|
|
1498
|
-
activeXDocument.close();
|
|
1499
|
-
var temp = activeXDocument.parentWindow.Object;
|
|
1500
|
-
activeXDocument = null; // avoid memory leak
|
|
1501
|
-
return temp;
|
|
1502
|
-
};
|
|
1503
|
-
|
|
1504
|
-
// Create object with fake `null` prototype: use iframe Object with cleared prototype
|
|
1505
|
-
var NullProtoObjectViaIFrame = function () {
|
|
1506
|
-
// Thrash, waste and sodomy: IE GC bug
|
|
1507
|
-
var iframe = documentCreateElement('iframe');
|
|
1508
|
-
var JS = 'java' + SCRIPT + ':';
|
|
1509
|
-
var iframeDocument;
|
|
1510
|
-
iframe.style.display = 'none';
|
|
1511
|
-
html.appendChild(iframe);
|
|
1512
|
-
// https://github.com/zloirock/core-js/issues/475
|
|
1513
|
-
iframe.src = String(JS);
|
|
1514
|
-
iframeDocument = iframe.contentWindow.document;
|
|
1515
|
-
iframeDocument.open();
|
|
1516
|
-
iframeDocument.write(scriptTag('document.F=Object'));
|
|
1517
|
-
iframeDocument.close();
|
|
1518
|
-
return iframeDocument.F;
|
|
1519
|
-
};
|
|
1520
|
-
|
|
1521
|
-
// Check for document.domain and active x support
|
|
1522
|
-
// No need to use active x approach when document.domain is not set
|
|
1523
|
-
// see https://github.com/es-shims/es5-shim/issues/150
|
|
1524
|
-
// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
|
|
1525
|
-
// avoid IE GC bug
|
|
1526
|
-
var activeXDocument;
|
|
1527
|
-
var NullProtoObject = function () {
|
|
1528
|
-
try {
|
|
1529
|
-
activeXDocument = new ActiveXObject('htmlfile');
|
|
1530
|
-
} catch (error) { /* ignore */ }
|
|
1531
|
-
NullProtoObject = typeof document != 'undefined'
|
|
1532
|
-
? document.domain && activeXDocument
|
|
1533
|
-
? NullProtoObjectViaActiveX(activeXDocument) // old IE
|
|
1534
|
-
: NullProtoObjectViaIFrame()
|
|
1535
|
-
: NullProtoObjectViaActiveX(activeXDocument); // WSH
|
|
1536
|
-
var length = enumBugKeys.length;
|
|
1537
|
-
while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
|
|
1538
|
-
return NullProtoObject();
|
|
1539
|
-
};
|
|
1540
|
-
|
|
1541
|
-
hiddenKeys[IE_PROTO] = true;
|
|
1542
|
-
|
|
1543
|
-
// `Object.create` method
|
|
1544
|
-
// https://tc39.es/ecma262/#sec-object.create
|
|
1545
|
-
module.exports = Object.create || function create(O, Properties) {
|
|
1546
|
-
var result;
|
|
1547
|
-
if (O !== null) {
|
|
1548
|
-
EmptyConstructor[PROTOTYPE] = anObject(O);
|
|
1549
|
-
result = new EmptyConstructor();
|
|
1550
|
-
EmptyConstructor[PROTOTYPE] = null;
|
|
1551
|
-
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
1552
|
-
result[IE_PROTO] = O;
|
|
1553
|
-
} else result = NullProtoObject();
|
|
1554
|
-
return Properties === undefined ? result : defineProperties(result, Properties);
|
|
1555
|
-
};
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
/***/ }),
|
|
1559
|
-
|
|
1560
|
-
/***/ "7f9a":
|
|
1561
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1562
|
-
|
|
1563
|
-
var global = __webpack_require__("da84");
|
|
1564
|
-
var isCallable = __webpack_require__("1626");
|
|
1565
|
-
var inspectSource = __webpack_require__("8925");
|
|
1566
|
-
|
|
1567
|
-
var WeakMap = global.WeakMap;
|
|
1568
|
-
|
|
1569
|
-
module.exports = isCallable(WeakMap) && /native code/.test(inspectSource(WeakMap));
|
|
1570
|
-
|
|
1571
1046
|
|
|
1572
1047
|
/***/ }),
|
|
1573
1048
|
|
|
1574
1049
|
/***/ "825a":
|
|
1575
1050
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1576
1051
|
|
|
1577
|
-
var global = __webpack_require__("da84");
|
|
1578
1052
|
var isObject = __webpack_require__("861d");
|
|
1579
1053
|
|
|
1580
|
-
var String =
|
|
1581
|
-
var TypeError =
|
|
1054
|
+
var $String = String;
|
|
1055
|
+
var $TypeError = TypeError;
|
|
1582
1056
|
|
|
1583
1057
|
// `Assert: Type(argument) is Object`
|
|
1584
1058
|
module.exports = function (argument) {
|
|
1585
1059
|
if (isObject(argument)) return argument;
|
|
1586
|
-
throw TypeError(String(argument) + ' is not an object');
|
|
1060
|
+
throw $TypeError($String(argument) + ' is not an object');
|
|
1587
1061
|
};
|
|
1588
1062
|
|
|
1589
1063
|
|
|
@@ -1601,143 +1075,23 @@ module.exports = !fails(function () {
|
|
|
1601
1075
|
});
|
|
1602
1076
|
|
|
1603
1077
|
|
|
1604
|
-
/***/ }),
|
|
1605
|
-
|
|
1606
|
-
/***/ "8418":
|
|
1607
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1608
|
-
|
|
1609
|
-
"use strict";
|
|
1610
|
-
|
|
1611
|
-
var toPropertyKey = __webpack_require__("a04b");
|
|
1612
|
-
var definePropertyModule = __webpack_require__("9bf2");
|
|
1613
|
-
var createPropertyDescriptor = __webpack_require__("5c6c");
|
|
1614
|
-
|
|
1615
|
-
module.exports = function (object, key, value) {
|
|
1616
|
-
var propertyKey = toPropertyKey(key);
|
|
1617
|
-
if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));
|
|
1618
|
-
else object[propertyKey] = value;
|
|
1619
|
-
};
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
/***/ }),
|
|
1623
|
-
|
|
1624
|
-
/***/ "857a":
|
|
1625
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1626
|
-
|
|
1627
|
-
var uncurryThis = __webpack_require__("e330");
|
|
1628
|
-
var requireObjectCoercible = __webpack_require__("1d80");
|
|
1629
|
-
var toString = __webpack_require__("577e");
|
|
1630
|
-
|
|
1631
|
-
var quot = /"/g;
|
|
1632
|
-
var replace = uncurryThis(''.replace);
|
|
1633
|
-
|
|
1634
|
-
// `CreateHTML` abstract operation
|
|
1635
|
-
// https://tc39.es/ecma262/#sec-createhtml
|
|
1636
|
-
module.exports = function (string, tag, attribute, value) {
|
|
1637
|
-
var S = toString(requireObjectCoercible(string));
|
|
1638
|
-
var p1 = '<' + tag;
|
|
1639
|
-
if (attribute !== '') p1 += ' ' + attribute + '="' + replace(toString(value), quot, '"') + '"';
|
|
1640
|
-
return p1 + '>' + S + '</' + tag + '>';
|
|
1641
|
-
};
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
1078
|
/***/ }),
|
|
1645
1079
|
|
|
1646
1080
|
/***/ "861d":
|
|
1647
1081
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1648
1082
|
|
|
1649
1083
|
var isCallable = __webpack_require__("1626");
|
|
1084
|
+
var $documentAll = __webpack_require__("8ea1");
|
|
1650
1085
|
|
|
1651
|
-
|
|
1086
|
+
var documentAll = $documentAll.all;
|
|
1087
|
+
|
|
1088
|
+
module.exports = $documentAll.IS_HTMLDDA ? function (it) {
|
|
1089
|
+
return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll;
|
|
1090
|
+
} : function (it) {
|
|
1652
1091
|
return typeof it == 'object' ? it !== null : isCallable(it);
|
|
1653
1092
|
};
|
|
1654
1093
|
|
|
1655
1094
|
|
|
1656
|
-
/***/ }),
|
|
1657
|
-
|
|
1658
|
-
/***/ "8875":
|
|
1659
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1660
|
-
|
|
1661
|
-
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;// addapted from the document.currentScript polyfill by Adam Miller
|
|
1662
|
-
// MIT license
|
|
1663
|
-
// source: https://github.com/amiller-gh/currentScript-polyfill
|
|
1664
|
-
|
|
1665
|
-
// added support for Firefox https://bugzilla.mozilla.org/show_bug.cgi?id=1620505
|
|
1666
|
-
|
|
1667
|
-
(function (root, factory) {
|
|
1668
|
-
if (true) {
|
|
1669
|
-
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
|
|
1670
|
-
__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
|
|
1671
|
-
(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
|
|
1672
|
-
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
1673
|
-
} else {}
|
|
1674
|
-
}(typeof self !== 'undefined' ? self : this, function () {
|
|
1675
|
-
function getCurrentScript () {
|
|
1676
|
-
var descriptor = Object.getOwnPropertyDescriptor(document, 'currentScript')
|
|
1677
|
-
// for chrome
|
|
1678
|
-
if (!descriptor && 'currentScript' in document && document.currentScript) {
|
|
1679
|
-
return document.currentScript
|
|
1680
|
-
}
|
|
1681
|
-
|
|
1682
|
-
// for other browsers with native support for currentScript
|
|
1683
|
-
if (descriptor && descriptor.get !== getCurrentScript && document.currentScript) {
|
|
1684
|
-
return document.currentScript
|
|
1685
|
-
}
|
|
1686
|
-
|
|
1687
|
-
// IE 8-10 support script readyState
|
|
1688
|
-
// IE 11+ & Firefox support stack trace
|
|
1689
|
-
try {
|
|
1690
|
-
throw new Error();
|
|
1691
|
-
}
|
|
1692
|
-
catch (err) {
|
|
1693
|
-
// Find the second match for the "at" string to get file src url from stack.
|
|
1694
|
-
var ieStackRegExp = /.*at [^(]*\((.*):(.+):(.+)\)$/ig,
|
|
1695
|
-
ffStackRegExp = /@([^@]*):(\d+):(\d+)\s*$/ig,
|
|
1696
|
-
stackDetails = ieStackRegExp.exec(err.stack) || ffStackRegExp.exec(err.stack),
|
|
1697
|
-
scriptLocation = (stackDetails && stackDetails[1]) || false,
|
|
1698
|
-
line = (stackDetails && stackDetails[2]) || false,
|
|
1699
|
-
currentLocation = document.location.href.replace(document.location.hash, ''),
|
|
1700
|
-
pageSource,
|
|
1701
|
-
inlineScriptSourceRegExp,
|
|
1702
|
-
inlineScriptSource,
|
|
1703
|
-
scripts = document.getElementsByTagName('script'); // Live NodeList collection
|
|
1704
|
-
|
|
1705
|
-
if (scriptLocation === currentLocation) {
|
|
1706
|
-
pageSource = document.documentElement.outerHTML;
|
|
1707
|
-
inlineScriptSourceRegExp = new RegExp('(?:[^\\n]+?\\n){0,' + (line - 2) + '}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*', 'i');
|
|
1708
|
-
inlineScriptSource = pageSource.replace(inlineScriptSourceRegExp, '$1').trim();
|
|
1709
|
-
}
|
|
1710
|
-
|
|
1711
|
-
for (var i = 0; i < scripts.length; i++) {
|
|
1712
|
-
// If ready state is interactive, return the script tag
|
|
1713
|
-
if (scripts[i].readyState === 'interactive') {
|
|
1714
|
-
return scripts[i];
|
|
1715
|
-
}
|
|
1716
|
-
|
|
1717
|
-
// If src matches, return the script tag
|
|
1718
|
-
if (scripts[i].src === scriptLocation) {
|
|
1719
|
-
return scripts[i];
|
|
1720
|
-
}
|
|
1721
|
-
|
|
1722
|
-
// If inline source matches, return the script tag
|
|
1723
|
-
if (
|
|
1724
|
-
scriptLocation === currentLocation &&
|
|
1725
|
-
scripts[i].innerHTML &&
|
|
1726
|
-
scripts[i].innerHTML.trim() === inlineScriptSource
|
|
1727
|
-
) {
|
|
1728
|
-
return scripts[i];
|
|
1729
|
-
}
|
|
1730
|
-
}
|
|
1731
|
-
|
|
1732
|
-
// If no match, return null
|
|
1733
|
-
return null;
|
|
1734
|
-
}
|
|
1735
|
-
};
|
|
1736
|
-
|
|
1737
|
-
return getCurrentScript
|
|
1738
|
-
}));
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
1095
|
/***/ }),
|
|
1742
1096
|
|
|
1743
1097
|
/***/ "8925":
|
|
@@ -1761,26 +1115,26 @@ module.exports = store.inspectSource;
|
|
|
1761
1115
|
|
|
1762
1116
|
/***/ }),
|
|
1763
1117
|
|
|
1764
|
-
/***/ "
|
|
1765
|
-
/***/ (function(module, exports
|
|
1118
|
+
/***/ "8bbf":
|
|
1119
|
+
/***/ (function(module, exports) {
|
|
1766
1120
|
|
|
1767
|
-
|
|
1121
|
+
module.exports = require("vue");
|
|
1768
1122
|
|
|
1769
|
-
|
|
1123
|
+
/***/ }),
|
|
1770
1124
|
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
module.exports = function (S, index, unicode) {
|
|
1774
|
-
return index + (unicode ? charAt(S, index).length : 1);
|
|
1775
|
-
};
|
|
1125
|
+
/***/ "8ea1":
|
|
1126
|
+
/***/ (function(module, exports) {
|
|
1776
1127
|
|
|
1128
|
+
var documentAll = typeof document == 'object' && document.all;
|
|
1777
1129
|
|
|
1778
|
-
|
|
1130
|
+
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
|
1131
|
+
var IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;
|
|
1779
1132
|
|
|
1780
|
-
|
|
1781
|
-
|
|
1133
|
+
module.exports = {
|
|
1134
|
+
all: documentAll,
|
|
1135
|
+
IS_HTMLDDA: IS_HTMLDDA
|
|
1136
|
+
};
|
|
1782
1137
|
|
|
1783
|
-
module.exports = require("vue");
|
|
1784
1138
|
|
|
1785
1139
|
/***/ }),
|
|
1786
1140
|
|
|
@@ -1815,131 +1169,6 @@ module.exports = DESCRIPTORS ? function (object, key, value) {
|
|
|
1815
1169
|
};
|
|
1816
1170
|
|
|
1817
1171
|
|
|
1818
|
-
/***/ }),
|
|
1819
|
-
|
|
1820
|
-
/***/ "9263":
|
|
1821
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1822
|
-
|
|
1823
|
-
"use strict";
|
|
1824
|
-
|
|
1825
|
-
/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
|
|
1826
|
-
/* eslint-disable regexp/no-useless-quantifier -- testing */
|
|
1827
|
-
var call = __webpack_require__("c65b");
|
|
1828
|
-
var uncurryThis = __webpack_require__("e330");
|
|
1829
|
-
var toString = __webpack_require__("577e");
|
|
1830
|
-
var regexpFlags = __webpack_require__("ad6d");
|
|
1831
|
-
var stickyHelpers = __webpack_require__("9f7f");
|
|
1832
|
-
var shared = __webpack_require__("5692");
|
|
1833
|
-
var create = __webpack_require__("7c73");
|
|
1834
|
-
var getInternalState = __webpack_require__("69f3").get;
|
|
1835
|
-
var UNSUPPORTED_DOT_ALL = __webpack_require__("fce3");
|
|
1836
|
-
var UNSUPPORTED_NCG = __webpack_require__("107c");
|
|
1837
|
-
|
|
1838
|
-
var nativeReplace = shared('native-string-replace', String.prototype.replace);
|
|
1839
|
-
var nativeExec = RegExp.prototype.exec;
|
|
1840
|
-
var patchedExec = nativeExec;
|
|
1841
|
-
var charAt = uncurryThis(''.charAt);
|
|
1842
|
-
var indexOf = uncurryThis(''.indexOf);
|
|
1843
|
-
var replace = uncurryThis(''.replace);
|
|
1844
|
-
var stringSlice = uncurryThis(''.slice);
|
|
1845
|
-
|
|
1846
|
-
var UPDATES_LAST_INDEX_WRONG = (function () {
|
|
1847
|
-
var re1 = /a/;
|
|
1848
|
-
var re2 = /b*/g;
|
|
1849
|
-
call(nativeExec, re1, 'a');
|
|
1850
|
-
call(nativeExec, re2, 'a');
|
|
1851
|
-
return re1.lastIndex !== 0 || re2.lastIndex !== 0;
|
|
1852
|
-
})();
|
|
1853
|
-
|
|
1854
|
-
var UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET;
|
|
1855
|
-
|
|
1856
|
-
// nonparticipating capturing group, copied from es5-shim's String#split patch.
|
|
1857
|
-
var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
|
|
1858
|
-
|
|
1859
|
-
var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG;
|
|
1860
|
-
|
|
1861
|
-
if (PATCH) {
|
|
1862
|
-
patchedExec = function exec(string) {
|
|
1863
|
-
var re = this;
|
|
1864
|
-
var state = getInternalState(re);
|
|
1865
|
-
var str = toString(string);
|
|
1866
|
-
var raw = state.raw;
|
|
1867
|
-
var result, reCopy, lastIndex, match, i, object, group;
|
|
1868
|
-
|
|
1869
|
-
if (raw) {
|
|
1870
|
-
raw.lastIndex = re.lastIndex;
|
|
1871
|
-
result = call(patchedExec, raw, str);
|
|
1872
|
-
re.lastIndex = raw.lastIndex;
|
|
1873
|
-
return result;
|
|
1874
|
-
}
|
|
1875
|
-
|
|
1876
|
-
var groups = state.groups;
|
|
1877
|
-
var sticky = UNSUPPORTED_Y && re.sticky;
|
|
1878
|
-
var flags = call(regexpFlags, re);
|
|
1879
|
-
var source = re.source;
|
|
1880
|
-
var charsAdded = 0;
|
|
1881
|
-
var strCopy = str;
|
|
1882
|
-
|
|
1883
|
-
if (sticky) {
|
|
1884
|
-
flags = replace(flags, 'y', '');
|
|
1885
|
-
if (indexOf(flags, 'g') === -1) {
|
|
1886
|
-
flags += 'g';
|
|
1887
|
-
}
|
|
1888
|
-
|
|
1889
|
-
strCopy = stringSlice(str, re.lastIndex);
|
|
1890
|
-
// Support anchored sticky behavior.
|
|
1891
|
-
if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, re.lastIndex - 1) !== '\n')) {
|
|
1892
|
-
source = '(?: ' + source + ')';
|
|
1893
|
-
strCopy = ' ' + strCopy;
|
|
1894
|
-
charsAdded++;
|
|
1895
|
-
}
|
|
1896
|
-
// ^(? + rx + ) is needed, in combination with some str slicing, to
|
|
1897
|
-
// simulate the 'y' flag.
|
|
1898
|
-
reCopy = new RegExp('^(?:' + source + ')', flags);
|
|
1899
|
-
}
|
|
1900
|
-
|
|
1901
|
-
if (NPCG_INCLUDED) {
|
|
1902
|
-
reCopy = new RegExp('^' + source + '$(?!\\s)', flags);
|
|
1903
|
-
}
|
|
1904
|
-
if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
|
|
1905
|
-
|
|
1906
|
-
match = call(nativeExec, sticky ? reCopy : re, strCopy);
|
|
1907
|
-
|
|
1908
|
-
if (sticky) {
|
|
1909
|
-
if (match) {
|
|
1910
|
-
match.input = stringSlice(match.input, charsAdded);
|
|
1911
|
-
match[0] = stringSlice(match[0], charsAdded);
|
|
1912
|
-
match.index = re.lastIndex;
|
|
1913
|
-
re.lastIndex += match[0].length;
|
|
1914
|
-
} else re.lastIndex = 0;
|
|
1915
|
-
} else if (UPDATES_LAST_INDEX_WRONG && match) {
|
|
1916
|
-
re.lastIndex = re.global ? match.index + match[0].length : lastIndex;
|
|
1917
|
-
}
|
|
1918
|
-
if (NPCG_INCLUDED && match && match.length > 1) {
|
|
1919
|
-
// Fix browsers whose `exec` methods don't consistently return `undefined`
|
|
1920
|
-
// for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/
|
|
1921
|
-
call(nativeReplace, match[0], reCopy, function () {
|
|
1922
|
-
for (i = 1; i < arguments.length - 2; i++) {
|
|
1923
|
-
if (arguments[i] === undefined) match[i] = undefined;
|
|
1924
|
-
}
|
|
1925
|
-
});
|
|
1926
|
-
}
|
|
1927
|
-
|
|
1928
|
-
if (match && groups) {
|
|
1929
|
-
match.groups = object = create(null);
|
|
1930
|
-
for (i = 0; i < groups.length; i++) {
|
|
1931
|
-
group = groups[i];
|
|
1932
|
-
object[group[0]] = match[group[1]];
|
|
1933
|
-
}
|
|
1934
|
-
}
|
|
1935
|
-
|
|
1936
|
-
return match;
|
|
1937
|
-
};
|
|
1938
|
-
}
|
|
1939
|
-
|
|
1940
|
-
module.exports = patchedExec;
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
1172
|
/***/ }),
|
|
1944
1173
|
|
|
1945
1174
|
/***/ "94ca":
|
|
@@ -1969,144 +1198,56 @@ var POLYFILL = isForced.POLYFILL = 'P';
|
|
|
1969
1198
|
module.exports = isForced;
|
|
1970
1199
|
|
|
1971
1200
|
|
|
1972
|
-
/***/ }),
|
|
1973
|
-
|
|
1974
|
-
/***/ "99af":
|
|
1975
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1976
|
-
|
|
1977
|
-
"use strict";
|
|
1978
|
-
|
|
1979
|
-
var $ = __webpack_require__("23e7");
|
|
1980
|
-
var global = __webpack_require__("da84");
|
|
1981
|
-
var fails = __webpack_require__("d039");
|
|
1982
|
-
var isArray = __webpack_require__("e8b5");
|
|
1983
|
-
var isObject = __webpack_require__("861d");
|
|
1984
|
-
var toObject = __webpack_require__("7b0b");
|
|
1985
|
-
var lengthOfArrayLike = __webpack_require__("07fa");
|
|
1986
|
-
var createProperty = __webpack_require__("8418");
|
|
1987
|
-
var arraySpeciesCreate = __webpack_require__("65f0");
|
|
1988
|
-
var arrayMethodHasSpeciesSupport = __webpack_require__("1dde");
|
|
1989
|
-
var wellKnownSymbol = __webpack_require__("b622");
|
|
1990
|
-
var V8_VERSION = __webpack_require__("2d00");
|
|
1991
|
-
|
|
1992
|
-
var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
|
|
1993
|
-
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
|
|
1994
|
-
var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
|
|
1995
|
-
var TypeError = global.TypeError;
|
|
1996
|
-
|
|
1997
|
-
// We can't use this feature detection in V8 since it causes
|
|
1998
|
-
// deoptimization and serious performance degradation
|
|
1999
|
-
// https://github.com/zloirock/core-js/issues/679
|
|
2000
|
-
var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {
|
|
2001
|
-
var array = [];
|
|
2002
|
-
array[IS_CONCAT_SPREADABLE] = false;
|
|
2003
|
-
return array.concat()[0] !== array;
|
|
2004
|
-
});
|
|
2005
|
-
|
|
2006
|
-
var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat');
|
|
2007
|
-
|
|
2008
|
-
var isConcatSpreadable = function (O) {
|
|
2009
|
-
if (!isObject(O)) return false;
|
|
2010
|
-
var spreadable = O[IS_CONCAT_SPREADABLE];
|
|
2011
|
-
return spreadable !== undefined ? !!spreadable : isArray(O);
|
|
2012
|
-
};
|
|
2013
|
-
|
|
2014
|
-
var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;
|
|
2015
|
-
|
|
2016
|
-
// `Array.prototype.concat` method
|
|
2017
|
-
// https://tc39.es/ecma262/#sec-array.prototype.concat
|
|
2018
|
-
// with adding support of @@isConcatSpreadable and @@species
|
|
2019
|
-
$({ target: 'Array', proto: true, forced: FORCED }, {
|
|
2020
|
-
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
2021
|
-
concat: function concat(arg) {
|
|
2022
|
-
var O = toObject(this);
|
|
2023
|
-
var A = arraySpeciesCreate(O, 0);
|
|
2024
|
-
var n = 0;
|
|
2025
|
-
var i, k, length, len, E;
|
|
2026
|
-
for (i = -1, length = arguments.length; i < length; i++) {
|
|
2027
|
-
E = i === -1 ? O : arguments[i];
|
|
2028
|
-
if (isConcatSpreadable(E)) {
|
|
2029
|
-
len = lengthOfArrayLike(E);
|
|
2030
|
-
if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
|
|
2031
|
-
for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
|
|
2032
|
-
} else {
|
|
2033
|
-
if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
|
|
2034
|
-
createProperty(A, n++, E);
|
|
2035
|
-
}
|
|
2036
|
-
}
|
|
2037
|
-
A.length = n;
|
|
2038
|
-
return A;
|
|
2039
|
-
}
|
|
2040
|
-
});
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
1201
|
/***/ }),
|
|
2044
1202
|
|
|
2045
1203
|
/***/ "9bf2":
|
|
2046
1204
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2047
1205
|
|
|
2048
|
-
var global = __webpack_require__("da84");
|
|
2049
1206
|
var DESCRIPTORS = __webpack_require__("83ab");
|
|
2050
1207
|
var IE8_DOM_DEFINE = __webpack_require__("0cfb");
|
|
1208
|
+
var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__("aed9");
|
|
2051
1209
|
var anObject = __webpack_require__("825a");
|
|
2052
1210
|
var toPropertyKey = __webpack_require__("a04b");
|
|
2053
1211
|
|
|
2054
|
-
var TypeError =
|
|
1212
|
+
var $TypeError = TypeError;
|
|
2055
1213
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
2056
1214
|
var $defineProperty = Object.defineProperty;
|
|
1215
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1216
|
+
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
1217
|
+
var ENUMERABLE = 'enumerable';
|
|
1218
|
+
var CONFIGURABLE = 'configurable';
|
|
1219
|
+
var WRITABLE = 'writable';
|
|
2057
1220
|
|
|
2058
1221
|
// `Object.defineProperty` method
|
|
2059
1222
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
2060
|
-
exports.f = DESCRIPTORS ?
|
|
1223
|
+
exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
|
|
1224
|
+
anObject(O);
|
|
1225
|
+
P = toPropertyKey(P);
|
|
1226
|
+
anObject(Attributes);
|
|
1227
|
+
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
1228
|
+
var current = $getOwnPropertyDescriptor(O, P);
|
|
1229
|
+
if (current && current[WRITABLE]) {
|
|
1230
|
+
O[P] = Attributes.value;
|
|
1231
|
+
Attributes = {
|
|
1232
|
+
configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],
|
|
1233
|
+
enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
|
|
1234
|
+
writable: false
|
|
1235
|
+
};
|
|
1236
|
+
}
|
|
1237
|
+
} return $defineProperty(O, P, Attributes);
|
|
1238
|
+
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
2061
1239
|
anObject(O);
|
|
2062
1240
|
P = toPropertyKey(P);
|
|
2063
1241
|
anObject(Attributes);
|
|
2064
1242
|
if (IE8_DOM_DEFINE) try {
|
|
2065
1243
|
return $defineProperty(O, P, Attributes);
|
|
2066
1244
|
} catch (error) { /* empty */ }
|
|
2067
|
-
if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');
|
|
1245
|
+
if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported');
|
|
2068
1246
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
2069
1247
|
return O;
|
|
2070
1248
|
};
|
|
2071
1249
|
|
|
2072
1250
|
|
|
2073
|
-
/***/ }),
|
|
2074
|
-
|
|
2075
|
-
/***/ "9f7f":
|
|
2076
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2077
|
-
|
|
2078
|
-
var fails = __webpack_require__("d039");
|
|
2079
|
-
var global = __webpack_require__("da84");
|
|
2080
|
-
|
|
2081
|
-
// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
|
2082
|
-
var $RegExp = global.RegExp;
|
|
2083
|
-
|
|
2084
|
-
var UNSUPPORTED_Y = fails(function () {
|
|
2085
|
-
var re = $RegExp('a', 'y');
|
|
2086
|
-
re.lastIndex = 2;
|
|
2087
|
-
return re.exec('abcd') != null;
|
|
2088
|
-
});
|
|
2089
|
-
|
|
2090
|
-
// UC Browser bug
|
|
2091
|
-
// https://github.com/zloirock/core-js/issues/1008
|
|
2092
|
-
var MISSED_STICKY = UNSUPPORTED_Y || fails(function () {
|
|
2093
|
-
return !$RegExp('a', 'y').sticky;
|
|
2094
|
-
});
|
|
2095
|
-
|
|
2096
|
-
var BROKEN_CARET = UNSUPPORTED_Y || fails(function () {
|
|
2097
|
-
// https://bugzilla.mozilla.org/show_bug.cgi?id=773687
|
|
2098
|
-
var re = $RegExp('^r', 'gy');
|
|
2099
|
-
re.lastIndex = 2;
|
|
2100
|
-
return re.exec('str') != null;
|
|
2101
|
-
});
|
|
2102
|
-
|
|
2103
|
-
module.exports = {
|
|
2104
|
-
BROKEN_CARET: BROKEN_CARET,
|
|
2105
|
-
MISSED_STICKY: MISSED_STICKY,
|
|
2106
|
-
UNSUPPORTED_Y: UNSUPPORTED_Y
|
|
2107
|
-
};
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
1251
|
/***/ }),
|
|
2111
1252
|
|
|
2112
1253
|
/***/ "a04b":
|
|
@@ -2132,205 +1273,71 @@ module.exports = function (argument) {
|
|
|
2132
1273
|
|
|
2133
1274
|
/***/ }),
|
|
2134
1275
|
|
|
2135
|
-
/***/ "
|
|
1276
|
+
/***/ "ab36":
|
|
2136
1277
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2137
1278
|
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
var DESCRIPTORS = __webpack_require__("83ab");
|
|
2141
|
-
var global = __webpack_require__("da84");
|
|
2142
|
-
var uncurryThis = __webpack_require__("e330");
|
|
2143
|
-
var isForced = __webpack_require__("94ca");
|
|
2144
|
-
var redefine = __webpack_require__("6eeb");
|
|
2145
|
-
var hasOwn = __webpack_require__("1a2d");
|
|
2146
|
-
var inheritIfRequired = __webpack_require__("7156");
|
|
2147
|
-
var isPrototypeOf = __webpack_require__("3a9b");
|
|
2148
|
-
var isSymbol = __webpack_require__("d9b5");
|
|
2149
|
-
var toPrimitive = __webpack_require__("c04e");
|
|
2150
|
-
var fails = __webpack_require__("d039");
|
|
2151
|
-
var getOwnPropertyNames = __webpack_require__("241c").f;
|
|
2152
|
-
var getOwnPropertyDescriptor = __webpack_require__("06cf").f;
|
|
2153
|
-
var defineProperty = __webpack_require__("9bf2").f;
|
|
2154
|
-
var thisNumberValue = __webpack_require__("408a");
|
|
2155
|
-
var trim = __webpack_require__("58a8").trim;
|
|
2156
|
-
|
|
2157
|
-
var NUMBER = 'Number';
|
|
2158
|
-
var NativeNumber = global[NUMBER];
|
|
2159
|
-
var NumberPrototype = NativeNumber.prototype;
|
|
2160
|
-
var TypeError = global.TypeError;
|
|
2161
|
-
var arraySlice = uncurryThis(''.slice);
|
|
2162
|
-
var charCodeAt = uncurryThis(''.charCodeAt);
|
|
2163
|
-
|
|
2164
|
-
// `ToNumeric` abstract operation
|
|
2165
|
-
// https://tc39.es/ecma262/#sec-tonumeric
|
|
2166
|
-
var toNumeric = function (value) {
|
|
2167
|
-
var primValue = toPrimitive(value, 'number');
|
|
2168
|
-
return typeof primValue == 'bigint' ? primValue : toNumber(primValue);
|
|
2169
|
-
};
|
|
2170
|
-
|
|
2171
|
-
// `ToNumber` abstract operation
|
|
2172
|
-
// https://tc39.es/ecma262/#sec-tonumber
|
|
2173
|
-
var toNumber = function (argument) {
|
|
2174
|
-
var it = toPrimitive(argument, 'number');
|
|
2175
|
-
var first, third, radix, maxCode, digits, length, index, code;
|
|
2176
|
-
if (isSymbol(it)) throw TypeError('Cannot convert a Symbol value to a number');
|
|
2177
|
-
if (typeof it == 'string' && it.length > 2) {
|
|
2178
|
-
it = trim(it);
|
|
2179
|
-
first = charCodeAt(it, 0);
|
|
2180
|
-
if (first === 43 || first === 45) {
|
|
2181
|
-
third = charCodeAt(it, 2);
|
|
2182
|
-
if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix
|
|
2183
|
-
} else if (first === 48) {
|
|
2184
|
-
switch (charCodeAt(it, 1)) {
|
|
2185
|
-
case 66: case 98: radix = 2; maxCode = 49; break; // fast equal of /^0b[01]+$/i
|
|
2186
|
-
case 79: case 111: radix = 8; maxCode = 55; break; // fast equal of /^0o[0-7]+$/i
|
|
2187
|
-
default: return +it;
|
|
2188
|
-
}
|
|
2189
|
-
digits = arraySlice(it, 2);
|
|
2190
|
-
length = digits.length;
|
|
2191
|
-
for (index = 0; index < length; index++) {
|
|
2192
|
-
code = charCodeAt(digits, index);
|
|
2193
|
-
// parseInt parses a string to a first unavailable symbol
|
|
2194
|
-
// but ToNumber should return NaN if a string contains unavailable symbols
|
|
2195
|
-
if (code < 48 || code > maxCode) return NaN;
|
|
2196
|
-
} return parseInt(digits, radix);
|
|
2197
|
-
}
|
|
2198
|
-
} return +it;
|
|
2199
|
-
};
|
|
1279
|
+
var isObject = __webpack_require__("861d");
|
|
1280
|
+
var createNonEnumerableProperty = __webpack_require__("9112");
|
|
2200
1281
|
|
|
2201
|
-
// `
|
|
2202
|
-
// https://tc39.es/
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
var dummy = this;
|
|
2207
|
-
// check on 1..constructor(foo) case
|
|
2208
|
-
return isPrototypeOf(NumberPrototype, dummy) && fails(function () { thisNumberValue(dummy); })
|
|
2209
|
-
? inheritIfRequired(Object(n), dummy, NumberWrapper) : n;
|
|
2210
|
-
};
|
|
2211
|
-
for (var keys = DESCRIPTORS ? getOwnPropertyNames(NativeNumber) : (
|
|
2212
|
-
// ES3:
|
|
2213
|
-
'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +
|
|
2214
|
-
// ES2015 (in case, if modules with ES2015 Number statics required before):
|
|
2215
|
-
'EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,' +
|
|
2216
|
-
// ESNext
|
|
2217
|
-
'fromString,range'
|
|
2218
|
-
).split(','), j = 0, key; keys.length > j; j++) {
|
|
2219
|
-
if (hasOwn(NativeNumber, key = keys[j]) && !hasOwn(NumberWrapper, key)) {
|
|
2220
|
-
defineProperty(NumberWrapper, key, getOwnPropertyDescriptor(NativeNumber, key));
|
|
2221
|
-
}
|
|
1282
|
+
// `InstallErrorCause` abstract operation
|
|
1283
|
+
// https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause
|
|
1284
|
+
module.exports = function (O, options) {
|
|
1285
|
+
if (isObject(options) && 'cause' in options) {
|
|
1286
|
+
createNonEnumerableProperty(O, 'cause', options.cause);
|
|
2222
1287
|
}
|
|
2223
|
-
NumberWrapper.prototype = NumberPrototype;
|
|
2224
|
-
NumberPrototype.constructor = NumberWrapper;
|
|
2225
|
-
redefine(global, NUMBER, NumberWrapper);
|
|
2226
|
-
}
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
/***/ }),
|
|
2230
|
-
|
|
2231
|
-
/***/ "ac1f":
|
|
2232
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2233
|
-
|
|
2234
|
-
"use strict";
|
|
2235
|
-
|
|
2236
|
-
var $ = __webpack_require__("23e7");
|
|
2237
|
-
var exec = __webpack_require__("9263");
|
|
2238
|
-
|
|
2239
|
-
// `RegExp.prototype.exec` method
|
|
2240
|
-
// https://tc39.es/ecma262/#sec-regexp.prototype.exec
|
|
2241
|
-
$({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
|
|
2242
|
-
exec: exec
|
|
2243
|
-
});
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
/***/ }),
|
|
2247
|
-
|
|
2248
|
-
/***/ "ad6d":
|
|
2249
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2250
|
-
|
|
2251
|
-
"use strict";
|
|
2252
|
-
|
|
2253
|
-
var anObject = __webpack_require__("825a");
|
|
2254
|
-
|
|
2255
|
-
// `RegExp.prototype.flags` getter implementation
|
|
2256
|
-
// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
|
|
2257
|
-
module.exports = function () {
|
|
2258
|
-
var that = anObject(this);
|
|
2259
|
-
var result = '';
|
|
2260
|
-
if (that.global) result += 'g';
|
|
2261
|
-
if (that.ignoreCase) result += 'i';
|
|
2262
|
-
if (that.multiline) result += 'm';
|
|
2263
|
-
if (that.dotAll) result += 's';
|
|
2264
|
-
if (that.unicode) result += 'u';
|
|
2265
|
-
if (that.sticky) result += 'y';
|
|
2266
|
-
return result;
|
|
2267
1288
|
};
|
|
2268
1289
|
|
|
2269
1290
|
|
|
2270
1291
|
/***/ }),
|
|
2271
1292
|
|
|
2272
|
-
/***/ "
|
|
1293
|
+
/***/ "aeb0":
|
|
2273
1294
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2274
1295
|
|
|
2275
|
-
var
|
|
1296
|
+
var defineProperty = __webpack_require__("9bf2").f;
|
|
2276
1297
|
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
return test !== test.toLowerCase() || test.split('"').length > 3;
|
|
1298
|
+
module.exports = function (Target, Source, key) {
|
|
1299
|
+
key in Target || defineProperty(Target, key, {
|
|
1300
|
+
configurable: true,
|
|
1301
|
+
get: function () { return Source[key]; },
|
|
1302
|
+
set: function (it) { Source[key] = it; }
|
|
2283
1303
|
});
|
|
2284
1304
|
};
|
|
2285
1305
|
|
|
2286
1306
|
|
|
2287
1307
|
/***/ }),
|
|
2288
1308
|
|
|
2289
|
-
/***/ "
|
|
1309
|
+
/***/ "aed9":
|
|
2290
1310
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2291
1311
|
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
var TO_STRING_TAG_SUPPORT = __webpack_require__("00ee");
|
|
2295
|
-
var classof = __webpack_require__("f5df");
|
|
1312
|
+
var DESCRIPTORS = __webpack_require__("83ab");
|
|
1313
|
+
var fails = __webpack_require__("d039");
|
|
2296
1314
|
|
|
2297
|
-
//
|
|
2298
|
-
// https://
|
|
2299
|
-
module.exports =
|
|
2300
|
-
|
|
2301
|
-
}
|
|
1315
|
+
// V8 ~ Chrome 36-
|
|
1316
|
+
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
1317
|
+
module.exports = DESCRIPTORS && fails(function () {
|
|
1318
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
1319
|
+
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
1320
|
+
value: 42,
|
|
1321
|
+
writable: false
|
|
1322
|
+
}).prototype != 42;
|
|
1323
|
+
});
|
|
2302
1324
|
|
|
2303
1325
|
|
|
2304
1326
|
/***/ }),
|
|
2305
1327
|
|
|
2306
|
-
/***/ "
|
|
2307
|
-
/***/ (function(module, exports
|
|
1328
|
+
/***/ "b42e":
|
|
1329
|
+
/***/ (function(module, exports) {
|
|
2308
1330
|
|
|
2309
|
-
var
|
|
2310
|
-
var
|
|
2311
|
-
var uncurryThis = __webpack_require__("e330");
|
|
2312
|
-
var defineProperty = __webpack_require__("9bf2").f;
|
|
1331
|
+
var ceil = Math.ceil;
|
|
1332
|
+
var floor = Math.floor;
|
|
2313
1333
|
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
var
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
// https://tc39.es/ecma262/#sec-function-instances-name
|
|
2322
|
-
if (DESCRIPTORS && !FUNCTION_NAME_EXISTS) {
|
|
2323
|
-
defineProperty(FunctionPrototype, NAME, {
|
|
2324
|
-
configurable: true,
|
|
2325
|
-
get: function () {
|
|
2326
|
-
try {
|
|
2327
|
-
return regExpExec(nameRE, functionToString(this))[1];
|
|
2328
|
-
} catch (error) {
|
|
2329
|
-
return '';
|
|
2330
|
-
}
|
|
2331
|
-
}
|
|
2332
|
-
});
|
|
2333
|
-
}
|
|
1334
|
+
// `Math.trunc` method
|
|
1335
|
+
// https://tc39.es/ecma262/#sec-math.trunc
|
|
1336
|
+
// eslint-disable-next-line es/no-math-trunc -- safe
|
|
1337
|
+
module.exports = Math.trunc || function trunc(x) {
|
|
1338
|
+
var n = +x;
|
|
1339
|
+
return (n > 0 ? floor : ceil)(n);
|
|
1340
|
+
};
|
|
2334
1341
|
|
|
2335
1342
|
|
|
2336
1343
|
/***/ }),
|
|
@@ -2342,7 +1349,7 @@ var global = __webpack_require__("da84");
|
|
|
2342
1349
|
var shared = __webpack_require__("5692");
|
|
2343
1350
|
var hasOwn = __webpack_require__("1a2d");
|
|
2344
1351
|
var uid = __webpack_require__("90e3");
|
|
2345
|
-
var NATIVE_SYMBOL = __webpack_require__("
|
|
1352
|
+
var NATIVE_SYMBOL = __webpack_require__("04f8");
|
|
2346
1353
|
var USE_SYMBOL_AS_UID = __webpack_require__("fdbf");
|
|
2347
1354
|
|
|
2348
1355
|
var WellKnownSymbolsStore = shared('wks');
|
|
@@ -2364,12 +1371,28 @@ module.exports = function (name) {
|
|
|
2364
1371
|
};
|
|
2365
1372
|
|
|
2366
1373
|
|
|
1374
|
+
/***/ }),
|
|
1375
|
+
|
|
1376
|
+
/***/ "b980":
|
|
1377
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1378
|
+
|
|
1379
|
+
var fails = __webpack_require__("d039");
|
|
1380
|
+
var createPropertyDescriptor = __webpack_require__("5c6c");
|
|
1381
|
+
|
|
1382
|
+
module.exports = !fails(function () {
|
|
1383
|
+
var error = Error('a');
|
|
1384
|
+
if (!('stack' in error)) return true;
|
|
1385
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
1386
|
+
Object.defineProperty(error, 'stack', createPropertyDescriptor(1, 7));
|
|
1387
|
+
return error.stack !== 7;
|
|
1388
|
+
});
|
|
1389
|
+
|
|
1390
|
+
|
|
2367
1391
|
/***/ }),
|
|
2368
1392
|
|
|
2369
1393
|
/***/ "c04e":
|
|
2370
1394
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2371
1395
|
|
|
2372
|
-
var global = __webpack_require__("da84");
|
|
2373
1396
|
var call = __webpack_require__("c65b");
|
|
2374
1397
|
var isObject = __webpack_require__("861d");
|
|
2375
1398
|
var isSymbol = __webpack_require__("d9b5");
|
|
@@ -2377,7 +1400,7 @@ var getMethod = __webpack_require__("dc4a");
|
|
|
2377
1400
|
var ordinaryToPrimitive = __webpack_require__("485a");
|
|
2378
1401
|
var wellKnownSymbol = __webpack_require__("b622");
|
|
2379
1402
|
|
|
2380
|
-
var TypeError =
|
|
1403
|
+
var $TypeError = TypeError;
|
|
2381
1404
|
var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
|
|
2382
1405
|
|
|
2383
1406
|
// `ToPrimitive` abstract operation
|
|
@@ -2390,7 +1413,7 @@ module.exports = function (input, pref) {
|
|
|
2390
1413
|
if (pref === undefined) pref = 'default';
|
|
2391
1414
|
result = call(exoticToPrim, input, pref);
|
|
2392
1415
|
if (!isObject(result) || isSymbol(result)) return result;
|
|
2393
|
-
throw TypeError("Can't convert object to primitive value");
|
|
1416
|
+
throw $TypeError("Can't convert object to primitive value");
|
|
2394
1417
|
}
|
|
2395
1418
|
if (pref === undefined) pref = 'number';
|
|
2396
1419
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -2408,11 +1431,13 @@ module.exports = false;
|
|
|
2408
1431
|
/***/ }),
|
|
2409
1432
|
|
|
2410
1433
|
/***/ "c65b":
|
|
2411
|
-
/***/ (function(module, exports) {
|
|
1434
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1435
|
+
|
|
1436
|
+
var NATIVE_BIND = __webpack_require__("40d5");
|
|
2412
1437
|
|
|
2413
1438
|
var call = Function.prototype.call;
|
|
2414
1439
|
|
|
2415
|
-
module.exports =
|
|
1440
|
+
module.exports = NATIVE_BIND ? call.bind(call) : function () {
|
|
2416
1441
|
return call.apply(call, arguments);
|
|
2417
1442
|
};
|
|
2418
1443
|
|
|
@@ -2438,34 +1463,14 @@ module.exports = function (it) {
|
|
|
2438
1463
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2439
1464
|
|
|
2440
1465
|
var global = __webpack_require__("da84");
|
|
2441
|
-
var
|
|
1466
|
+
var defineGlobalProperty = __webpack_require__("6374");
|
|
2442
1467
|
|
|
2443
1468
|
var SHARED = '__core-js_shared__';
|
|
2444
|
-
var store = global[SHARED] ||
|
|
1469
|
+
var store = global[SHARED] || defineGlobalProperty(SHARED, {});
|
|
2445
1470
|
|
|
2446
1471
|
module.exports = store;
|
|
2447
1472
|
|
|
2448
1473
|
|
|
2449
|
-
/***/ }),
|
|
2450
|
-
|
|
2451
|
-
/***/ "c7cd":
|
|
2452
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2453
|
-
|
|
2454
|
-
"use strict";
|
|
2455
|
-
|
|
2456
|
-
var $ = __webpack_require__("23e7");
|
|
2457
|
-
var createHTML = __webpack_require__("857a");
|
|
2458
|
-
var forcedStringHTMLMethod = __webpack_require__("af03");
|
|
2459
|
-
|
|
2460
|
-
// `String.prototype.fixed` method
|
|
2461
|
-
// https://tc39.es/ecma262/#sec-string.prototype.fixed
|
|
2462
|
-
$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('fixed') }, {
|
|
2463
|
-
fixed: function fixed() {
|
|
2464
|
-
return createHTML(this, 'tt', '', '');
|
|
2465
|
-
}
|
|
2466
|
-
});
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
1474
|
/***/ }),
|
|
2470
1475
|
|
|
2471
1476
|
/***/ "c8ba":
|
|
@@ -2520,6 +1525,40 @@ module.exports = function (object, names) {
|
|
|
2520
1525
|
};
|
|
2521
1526
|
|
|
2522
1527
|
|
|
1528
|
+
/***/ }),
|
|
1529
|
+
|
|
1530
|
+
/***/ "cb2d":
|
|
1531
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1532
|
+
|
|
1533
|
+
var isCallable = __webpack_require__("1626");
|
|
1534
|
+
var definePropertyModule = __webpack_require__("9bf2");
|
|
1535
|
+
var makeBuiltIn = __webpack_require__("13d2");
|
|
1536
|
+
var defineGlobalProperty = __webpack_require__("6374");
|
|
1537
|
+
|
|
1538
|
+
module.exports = function (O, key, value, options) {
|
|
1539
|
+
if (!options) options = {};
|
|
1540
|
+
var simple = options.enumerable;
|
|
1541
|
+
var name = options.name !== undefined ? options.name : key;
|
|
1542
|
+
if (isCallable(value)) makeBuiltIn(value, name, options);
|
|
1543
|
+
if (options.global) {
|
|
1544
|
+
if (simple) O[key] = value;
|
|
1545
|
+
else defineGlobalProperty(key, value);
|
|
1546
|
+
} else {
|
|
1547
|
+
try {
|
|
1548
|
+
if (!options.unsafe) delete O[key];
|
|
1549
|
+
else if (O[key]) simple = true;
|
|
1550
|
+
} catch (error) { /* empty */ }
|
|
1551
|
+
if (simple) O[key] = value;
|
|
1552
|
+
else definePropertyModule.f(O, key, {
|
|
1553
|
+
value: value,
|
|
1554
|
+
enumerable: false,
|
|
1555
|
+
configurable: !options.nonConfigurable,
|
|
1556
|
+
writable: !options.nonWritable
|
|
1557
|
+
});
|
|
1558
|
+
} return O;
|
|
1559
|
+
};
|
|
1560
|
+
|
|
1561
|
+
|
|
2523
1562
|
/***/ }),
|
|
2524
1563
|
|
|
2525
1564
|
/***/ "cc12":
|
|
@@ -2539,21 +1578,15 @@ module.exports = function (it) {
|
|
|
2539
1578
|
|
|
2540
1579
|
/***/ }),
|
|
2541
1580
|
|
|
2542
|
-
/***/ "
|
|
1581
|
+
/***/ "cdce":
|
|
2543
1582
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2544
1583
|
|
|
2545
1584
|
var global = __webpack_require__("da84");
|
|
1585
|
+
var isCallable = __webpack_require__("1626");
|
|
2546
1586
|
|
|
2547
|
-
|
|
2548
|
-
var defineProperty = Object.defineProperty;
|
|
1587
|
+
var WeakMap = global.WeakMap;
|
|
2549
1588
|
|
|
2550
|
-
module.exports =
|
|
2551
|
-
try {
|
|
2552
|
-
defineProperty(global, key, { value: value, configurable: true, writable: true });
|
|
2553
|
-
} catch (error) {
|
|
2554
|
-
global[key] = value;
|
|
2555
|
-
} return value;
|
|
2556
|
-
};
|
|
1589
|
+
module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));
|
|
2557
1590
|
|
|
2558
1591
|
|
|
2559
1592
|
/***/ }),
|
|
@@ -2653,121 +1686,85 @@ module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
|
2653
1686
|
|
|
2654
1687
|
/***/ }),
|
|
2655
1688
|
|
|
2656
|
-
/***/ "
|
|
1689
|
+
/***/ "d9b5":
|
|
2657
1690
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2658
1691
|
|
|
2659
|
-
var
|
|
2660
|
-
var
|
|
2661
|
-
var
|
|
1692
|
+
var getBuiltIn = __webpack_require__("d066");
|
|
1693
|
+
var isCallable = __webpack_require__("1626");
|
|
1694
|
+
var isPrototypeOf = __webpack_require__("3a9b");
|
|
1695
|
+
var USE_SYMBOL_AS_UID = __webpack_require__("fdbf");
|
|
2662
1696
|
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
}
|
|
1697
|
+
var $Object = Object;
|
|
1698
|
+
|
|
1699
|
+
module.exports = USE_SYMBOL_AS_UID ? function (it) {
|
|
1700
|
+
return typeof it == 'symbol';
|
|
1701
|
+
} : function (it) {
|
|
1702
|
+
var $Symbol = getBuiltIn('Symbol');
|
|
1703
|
+
return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));
|
|
1704
|
+
};
|
|
2668
1705
|
|
|
2669
1706
|
|
|
2670
1707
|
/***/ }),
|
|
2671
1708
|
|
|
2672
|
-
/***/ "
|
|
1709
|
+
/***/ "d9e2":
|
|
2673
1710
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2674
1711
|
|
|
2675
|
-
|
|
1712
|
+
/* eslint-disable no-unused-vars -- required for functions `.length` */
|
|
1713
|
+
var $ = __webpack_require__("23e7");
|
|
1714
|
+
var global = __webpack_require__("da84");
|
|
1715
|
+
var apply = __webpack_require__("2ba4");
|
|
1716
|
+
var wrapErrorConstructorWithCause = __webpack_require__("e5cb");
|
|
2676
1717
|
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
var uncurryThis = __webpack_require__("e330");
|
|
2680
|
-
var redefine = __webpack_require__("6eeb");
|
|
2681
|
-
var regexpExec = __webpack_require__("9263");
|
|
2682
|
-
var fails = __webpack_require__("d039");
|
|
2683
|
-
var wellKnownSymbol = __webpack_require__("b622");
|
|
2684
|
-
var createNonEnumerableProperty = __webpack_require__("9112");
|
|
1718
|
+
var WEB_ASSEMBLY = 'WebAssembly';
|
|
1719
|
+
var WebAssembly = global[WEB_ASSEMBLY];
|
|
2685
1720
|
|
|
2686
|
-
var
|
|
2687
|
-
var RegExpPrototype = RegExp.prototype;
|
|
1721
|
+
var FORCED = Error('e', { cause: 7 }).cause !== 7;
|
|
2688
1722
|
|
|
2689
|
-
|
|
2690
|
-
var
|
|
1723
|
+
var exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) {
|
|
1724
|
+
var O = {};
|
|
1725
|
+
O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED);
|
|
1726
|
+
$({ global: true, constructor: true, arity: 1, forced: FORCED }, O);
|
|
1727
|
+
};
|
|
2691
1728
|
|
|
2692
|
-
|
|
2693
|
-
|
|
1729
|
+
var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) {
|
|
1730
|
+
if (WebAssembly && WebAssembly[ERROR_NAME]) {
|
|
2694
1731
|
var O = {};
|
|
2695
|
-
O[
|
|
2696
|
-
|
|
2697
|
-
});
|
|
2698
|
-
|
|
2699
|
-
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {
|
|
2700
|
-
// Symbol-named RegExp methods call .exec
|
|
2701
|
-
var execCalled = false;
|
|
2702
|
-
var re = /a/;
|
|
2703
|
-
|
|
2704
|
-
if (KEY === 'split') {
|
|
2705
|
-
// We can't use real regex here since it causes deoptimization
|
|
2706
|
-
// and serious performance degradation in V8
|
|
2707
|
-
// https://github.com/zloirock/core-js/issues/306
|
|
2708
|
-
re = {};
|
|
2709
|
-
// RegExp[@@split] doesn't call the regex's exec method, but first creates
|
|
2710
|
-
// a new one. We need to return the patched regex when creating the new one.
|
|
2711
|
-
re.constructor = {};
|
|
2712
|
-
re.constructor[SPECIES] = function () { return re; };
|
|
2713
|
-
re.flags = '';
|
|
2714
|
-
re[SYMBOL] = /./[SYMBOL];
|
|
2715
|
-
}
|
|
2716
|
-
|
|
2717
|
-
re.exec = function () { execCalled = true; return null; };
|
|
2718
|
-
|
|
2719
|
-
re[SYMBOL]('');
|
|
2720
|
-
return !execCalled;
|
|
2721
|
-
});
|
|
2722
|
-
|
|
2723
|
-
if (
|
|
2724
|
-
!DELEGATES_TO_SYMBOL ||
|
|
2725
|
-
!DELEGATES_TO_EXEC ||
|
|
2726
|
-
FORCED
|
|
2727
|
-
) {
|
|
2728
|
-
var uncurriedNativeRegExpMethod = uncurryThis(/./[SYMBOL]);
|
|
2729
|
-
var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
|
|
2730
|
-
var uncurriedNativeMethod = uncurryThis(nativeMethod);
|
|
2731
|
-
var $exec = regexp.exec;
|
|
2732
|
-
if ($exec === regexpExec || $exec === RegExpPrototype.exec) {
|
|
2733
|
-
if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
|
|
2734
|
-
// The native String method already delegates to @@method (this
|
|
2735
|
-
// polyfilled function), leasing to infinite recursion.
|
|
2736
|
-
// We avoid it by directly calling the native @@method method.
|
|
2737
|
-
return { done: true, value: uncurriedNativeRegExpMethod(regexp, str, arg2) };
|
|
2738
|
-
}
|
|
2739
|
-
return { done: true, value: uncurriedNativeMethod(str, regexp, arg2) };
|
|
2740
|
-
}
|
|
2741
|
-
return { done: false };
|
|
2742
|
-
});
|
|
2743
|
-
|
|
2744
|
-
redefine(String.prototype, KEY, methods[0]);
|
|
2745
|
-
redefine(RegExpPrototype, SYMBOL, methods[1]);
|
|
1732
|
+
O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED);
|
|
1733
|
+
$({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED }, O);
|
|
2746
1734
|
}
|
|
2747
|
-
|
|
2748
|
-
if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);
|
|
2749
1735
|
};
|
|
2750
1736
|
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
1737
|
+
// https://github.com/tc39/proposal-error-cause
|
|
1738
|
+
exportGlobalErrorCauseWrapper('Error', function (init) {
|
|
1739
|
+
return function Error(message) { return apply(init, this, arguments); };
|
|
1740
|
+
});
|
|
1741
|
+
exportGlobalErrorCauseWrapper('EvalError', function (init) {
|
|
1742
|
+
return function EvalError(message) { return apply(init, this, arguments); };
|
|
1743
|
+
});
|
|
1744
|
+
exportGlobalErrorCauseWrapper('RangeError', function (init) {
|
|
1745
|
+
return function RangeError(message) { return apply(init, this, arguments); };
|
|
1746
|
+
});
|
|
1747
|
+
exportGlobalErrorCauseWrapper('ReferenceError', function (init) {
|
|
1748
|
+
return function ReferenceError(message) { return apply(init, this, arguments); };
|
|
1749
|
+
});
|
|
1750
|
+
exportGlobalErrorCauseWrapper('SyntaxError', function (init) {
|
|
1751
|
+
return function SyntaxError(message) { return apply(init, this, arguments); };
|
|
1752
|
+
});
|
|
1753
|
+
exportGlobalErrorCauseWrapper('TypeError', function (init) {
|
|
1754
|
+
return function TypeError(message) { return apply(init, this, arguments); };
|
|
1755
|
+
});
|
|
1756
|
+
exportGlobalErrorCauseWrapper('URIError', function (init) {
|
|
1757
|
+
return function URIError(message) { return apply(init, this, arguments); };
|
|
1758
|
+
});
|
|
1759
|
+
exportWebAssemblyErrorCauseWrapper('CompileError', function (init) {
|
|
1760
|
+
return function CompileError(message) { return apply(init, this, arguments); };
|
|
1761
|
+
});
|
|
1762
|
+
exportWebAssemblyErrorCauseWrapper('LinkError', function (init) {
|
|
1763
|
+
return function LinkError(message) { return apply(init, this, arguments); };
|
|
1764
|
+
});
|
|
1765
|
+
exportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) {
|
|
1766
|
+
return function RuntimeError(message) { return apply(init, this, arguments); };
|
|
1767
|
+
});
|
|
2771
1768
|
|
|
2772
1769
|
|
|
2773
1770
|
/***/ }),
|
|
@@ -2797,48 +1794,118 @@ module.exports =
|
|
|
2797
1794
|
/***/ "dc4a":
|
|
2798
1795
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2799
1796
|
|
|
2800
|
-
var aCallable = __webpack_require__("59ed");
|
|
1797
|
+
var aCallable = __webpack_require__("59ed");
|
|
1798
|
+
var isNullOrUndefined = __webpack_require__("7234");
|
|
1799
|
+
|
|
1800
|
+
// `GetMethod` abstract operation
|
|
1801
|
+
// https://tc39.es/ecma262/#sec-getmethod
|
|
1802
|
+
module.exports = function (V, P) {
|
|
1803
|
+
var func = V[P];
|
|
1804
|
+
return isNullOrUndefined(func) ? undefined : aCallable(func);
|
|
1805
|
+
};
|
|
1806
|
+
|
|
1807
|
+
|
|
1808
|
+
/***/ }),
|
|
1809
|
+
|
|
1810
|
+
/***/ "e330":
|
|
1811
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1812
|
+
|
|
1813
|
+
var NATIVE_BIND = __webpack_require__("40d5");
|
|
1814
|
+
|
|
1815
|
+
var FunctionPrototype = Function.prototype;
|
|
1816
|
+
var call = FunctionPrototype.call;
|
|
1817
|
+
var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);
|
|
1818
|
+
|
|
1819
|
+
module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
|
|
1820
|
+
return function () {
|
|
1821
|
+
return call.apply(fn, arguments);
|
|
1822
|
+
};
|
|
1823
|
+
};
|
|
1824
|
+
|
|
1825
|
+
|
|
1826
|
+
/***/ }),
|
|
1827
|
+
|
|
1828
|
+
/***/ "e391":
|
|
1829
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1830
|
+
|
|
1831
|
+
var toString = __webpack_require__("577e");
|
|
1832
|
+
|
|
1833
|
+
module.exports = function (argument, $default) {
|
|
1834
|
+
return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument);
|
|
1835
|
+
};
|
|
1836
|
+
|
|
1837
|
+
|
|
1838
|
+
/***/ }),
|
|
1839
|
+
|
|
1840
|
+
/***/ "e5cb":
|
|
1841
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1842
|
+
|
|
1843
|
+
"use strict";
|
|
1844
|
+
|
|
1845
|
+
var getBuiltIn = __webpack_require__("d066");
|
|
1846
|
+
var hasOwn = __webpack_require__("1a2d");
|
|
1847
|
+
var createNonEnumerableProperty = __webpack_require__("9112");
|
|
1848
|
+
var isPrototypeOf = __webpack_require__("3a9b");
|
|
1849
|
+
var setPrototypeOf = __webpack_require__("d2bb");
|
|
1850
|
+
var copyConstructorProperties = __webpack_require__("e893");
|
|
1851
|
+
var proxyAccessor = __webpack_require__("aeb0");
|
|
1852
|
+
var inheritIfRequired = __webpack_require__("7156");
|
|
1853
|
+
var normalizeStringArgument = __webpack_require__("e391");
|
|
1854
|
+
var installErrorCause = __webpack_require__("ab36");
|
|
1855
|
+
var clearErrorStack = __webpack_require__("0d26");
|
|
1856
|
+
var ERROR_STACK_INSTALLABLE = __webpack_require__("b980");
|
|
1857
|
+
var DESCRIPTORS = __webpack_require__("83ab");
|
|
1858
|
+
var IS_PURE = __webpack_require__("c430");
|
|
1859
|
+
|
|
1860
|
+
module.exports = function (FULL_NAME, wrapper, FORCED, IS_AGGREGATE_ERROR) {
|
|
1861
|
+
var STACK_TRACE_LIMIT = 'stackTraceLimit';
|
|
1862
|
+
var OPTIONS_POSITION = IS_AGGREGATE_ERROR ? 2 : 1;
|
|
1863
|
+
var path = FULL_NAME.split('.');
|
|
1864
|
+
var ERROR_NAME = path[path.length - 1];
|
|
1865
|
+
var OriginalError = getBuiltIn.apply(null, path);
|
|
2801
1866
|
|
|
2802
|
-
|
|
2803
|
-
// https://tc39.es/ecma262/#sec-getmethod
|
|
2804
|
-
module.exports = function (V, P) {
|
|
2805
|
-
var func = V[P];
|
|
2806
|
-
return func == null ? undefined : aCallable(func);
|
|
2807
|
-
};
|
|
1867
|
+
if (!OriginalError) return;
|
|
2808
1868
|
|
|
1869
|
+
var OriginalErrorPrototype = OriginalError.prototype;
|
|
2809
1870
|
|
|
2810
|
-
|
|
1871
|
+
// V8 9.3- bug https://bugs.chromium.org/p/v8/issues/detail?id=12006
|
|
1872
|
+
if (!IS_PURE && hasOwn(OriginalErrorPrototype, 'cause')) delete OriginalErrorPrototype.cause;
|
|
2811
1873
|
|
|
2812
|
-
|
|
2813
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1874
|
+
if (!FORCED) return OriginalError;
|
|
2814
1875
|
|
|
2815
|
-
var
|
|
2816
|
-
var enumBugKeys = __webpack_require__("7839");
|
|
1876
|
+
var BaseError = getBuiltIn('Error');
|
|
2817
1877
|
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
1878
|
+
var WrappedError = wrapper(function (a, b) {
|
|
1879
|
+
var message = normalizeStringArgument(IS_AGGREGATE_ERROR ? b : a, undefined);
|
|
1880
|
+
var result = IS_AGGREGATE_ERROR ? new OriginalError(a) : new OriginalError();
|
|
1881
|
+
if (message !== undefined) createNonEnumerableProperty(result, 'message', message);
|
|
1882
|
+
if (ERROR_STACK_INSTALLABLE) createNonEnumerableProperty(result, 'stack', clearErrorStack(result.stack, 2));
|
|
1883
|
+
if (this && isPrototypeOf(OriginalErrorPrototype, this)) inheritIfRequired(result, this, WrappedError);
|
|
1884
|
+
if (arguments.length > OPTIONS_POSITION) installErrorCause(result, arguments[OPTIONS_POSITION]);
|
|
1885
|
+
return result;
|
|
1886
|
+
});
|
|
2824
1887
|
|
|
1888
|
+
WrappedError.prototype = OriginalErrorPrototype;
|
|
2825
1889
|
|
|
2826
|
-
|
|
1890
|
+
if (ERROR_NAME !== 'Error') {
|
|
1891
|
+
if (setPrototypeOf) setPrototypeOf(WrappedError, BaseError);
|
|
1892
|
+
else copyConstructorProperties(WrappedError, BaseError, { name: true });
|
|
1893
|
+
} else if (DESCRIPTORS && STACK_TRACE_LIMIT in OriginalError) {
|
|
1894
|
+
proxyAccessor(WrappedError, OriginalError, STACK_TRACE_LIMIT);
|
|
1895
|
+
proxyAccessor(WrappedError, OriginalError, 'prepareStackTrace');
|
|
1896
|
+
}
|
|
2827
1897
|
|
|
2828
|
-
|
|
2829
|
-
/***/ (function(module, exports) {
|
|
1898
|
+
copyConstructorProperties(WrappedError, OriginalError);
|
|
2830
1899
|
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
1900
|
+
if (!IS_PURE) try {
|
|
1901
|
+
// Safari 13- bug: WebAssembly errors does not have a proper `.name`
|
|
1902
|
+
if (OriginalErrorPrototype.name !== ERROR_NAME) {
|
|
1903
|
+
createNonEnumerableProperty(OriginalErrorPrototype, 'name', ERROR_NAME);
|
|
1904
|
+
}
|
|
1905
|
+
OriginalErrorPrototype.constructor = WrappedError;
|
|
1906
|
+
} catch (error) { /* empty */ }
|
|
2835
1907
|
|
|
2836
|
-
|
|
2837
|
-
return fn && callBind(call, fn);
|
|
2838
|
-
} : function (fn) {
|
|
2839
|
-
return fn && function () {
|
|
2840
|
-
return call.apply(fn, arguments);
|
|
2841
|
-
};
|
|
1908
|
+
return WrappedError;
|
|
2842
1909
|
};
|
|
2843
1910
|
|
|
2844
1911
|
|
|
@@ -2885,14 +1952,13 @@ module.exports = Array.isArray || function isArray(argument) {
|
|
|
2885
1952
|
/***/ "f5df":
|
|
2886
1953
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2887
1954
|
|
|
2888
|
-
var global = __webpack_require__("da84");
|
|
2889
1955
|
var TO_STRING_TAG_SUPPORT = __webpack_require__("00ee");
|
|
2890
1956
|
var isCallable = __webpack_require__("1626");
|
|
2891
1957
|
var classofRaw = __webpack_require__("c6b6");
|
|
2892
1958
|
var wellKnownSymbol = __webpack_require__("b622");
|
|
2893
1959
|
|
|
2894
1960
|
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
|
2895
|
-
var Object =
|
|
1961
|
+
var $Object = Object;
|
|
2896
1962
|
|
|
2897
1963
|
// ES3 wrong here
|
|
2898
1964
|
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
|
|
@@ -2909,7 +1975,7 @@ module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
|
|
2909
1975
|
var O, tag, result;
|
|
2910
1976
|
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
2911
1977
|
// @@toStringTag case
|
|
2912
|
-
: typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag
|
|
1978
|
+
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
|
|
2913
1979
|
// builtinTag case
|
|
2914
1980
|
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
2915
1981
|
// ES3 arguments fallback
|
|
@@ -2946,15 +2012,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2946
2012
|
|
|
2947
2013
|
if (typeof window !== 'undefined') {
|
|
2948
2014
|
var currentScript = window.document.currentScript
|
|
2949
|
-
if (
|
|
2950
|
-
var getCurrentScript = __webpack_require__("8875")
|
|
2951
|
-
currentScript = getCurrentScript()
|
|
2952
|
-
|
|
2953
|
-
// for backward compatibility, because previously we directly included the polyfill
|
|
2954
|
-
if (!('currentScript' in document)) {
|
|
2955
|
-
Object.defineProperty(document, 'currentScript', { get: getCurrentScript })
|
|
2956
|
-
}
|
|
2957
|
-
}
|
|
2015
|
+
if (false) { var getCurrentScript; }
|
|
2958
2016
|
|
|
2959
2017
|
var src = currentScript && currentScript.src.match(/(.+\/)[^/]+\.js(\?.*)?$/)
|
|
2960
2018
|
if (src) {
|
|
@@ -2965,168 +2023,138 @@ if (typeof window !== 'undefined') {
|
|
|
2965
2023
|
// Indicate to webpack that this file can be concatenated
|
|
2966
2024
|
/* harmony default export */ var setPublicPath = (null);
|
|
2967
2025
|
|
|
2968
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js
|
|
2969
|
-
var es_regexp_exec = __webpack_require__("ac1f");
|
|
2970
|
-
|
|
2971
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
|
2972
|
-
var es_string_replace = __webpack_require__("5319");
|
|
2973
|
-
|
|
2974
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
|
|
2975
|
-
var es_function_name = __webpack_require__("b0c0");
|
|
2976
|
-
|
|
2977
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.number.constructor.js
|
|
2978
|
-
var es_number_constructor = __webpack_require__("a9e3");
|
|
2979
|
-
|
|
2980
2026
|
// EXTERNAL MODULE: ./src/styles/index.less
|
|
2981
2027
|
var styles = __webpack_require__("a4b1");
|
|
2982
2028
|
|
|
2983
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
2984
|
-
function _defineProperty(obj, key, value) {
|
|
2985
|
-
if (key in obj) {
|
|
2986
|
-
Object.defineProperty(obj, key, {
|
|
2987
|
-
value: value,
|
|
2988
|
-
enumerable: true,
|
|
2989
|
-
configurable: true,
|
|
2990
|
-
writable: true
|
|
2991
|
-
});
|
|
2992
|
-
} else {
|
|
2993
|
-
obj[key] = value;
|
|
2994
|
-
}
|
|
2995
|
-
|
|
2996
|
-
return obj;
|
|
2997
|
-
}
|
|
2998
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js
|
|
2999
|
-
var es_object_to_string = __webpack_require__("d3b7");
|
|
3000
|
-
|
|
3001
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.to-string.js
|
|
3002
|
-
var es_regexp_to_string = __webpack_require__("25f0");
|
|
3003
|
-
|
|
3004
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.fixed.js
|
|
3005
|
-
var es_string_fixed = __webpack_require__("c7cd");
|
|
3006
|
-
|
|
3007
2029
|
// CONCATENATED MODULE: ./src/components/computed.js
|
|
3008
|
-
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
2030
|
/* harmony default export */ var computed = ({
|
|
3013
2031
|
computed: {
|
|
3014
2032
|
// The side to dock on.
|
|
3015
2033
|
// The default value is right.
|
|
3016
|
-
dockOn
|
|
2034
|
+
dockOn() {
|
|
3017
2035
|
return this.dock || 'right';
|
|
3018
2036
|
},
|
|
3019
2037
|
// If to show the header bar or not.
|
|
3020
2038
|
// This depends on the title property and the header slot.
|
|
3021
|
-
showHeader
|
|
2039
|
+
showHeader() {
|
|
3022
2040
|
return this.title || this.$slots.header;
|
|
3023
2041
|
},
|
|
3024
2042
|
// If to show the footer bar or not.
|
|
3025
2043
|
// This depends on the footer slot.
|
|
3026
|
-
showFooter
|
|
2044
|
+
showFooter() {
|
|
3027
2045
|
return this.$slots.footer;
|
|
3028
2046
|
},
|
|
3029
|
-
containerStyle
|
|
3030
|
-
|
|
2047
|
+
containerStyle() {
|
|
2048
|
+
const style = {
|
|
3031
2049
|
'z-index': this.zIndex,
|
|
3032
2050
|
display: this.showContainer ? 'block' : 'none'
|
|
3033
2051
|
};
|
|
3034
|
-
|
|
2052
|
+
const customStyle = this.$attrs.style;
|
|
2053
|
+
if (customStyle) {
|
|
2054
|
+
if (typeof customStyle === 'string') {
|
|
2055
|
+
customStyle.split(';').forEach(item => {
|
|
2056
|
+
const [key, value] = item.split(':');
|
|
2057
|
+
style[key] = value;
|
|
2058
|
+
});
|
|
2059
|
+
} else {
|
|
2060
|
+
for (const key in customStyle) {
|
|
2061
|
+
style[key] = customStyle[key];
|
|
2062
|
+
}
|
|
2063
|
+
}
|
|
2064
|
+
}
|
|
3035
2065
|
if (this.mousedown) {
|
|
3036
2066
|
style.userSelect = 'none';
|
|
3037
2067
|
}
|
|
3038
|
-
|
|
3039
2068
|
return style;
|
|
3040
2069
|
},
|
|
3041
|
-
maskStyle
|
|
2070
|
+
maskStyle() {
|
|
3042
2071
|
return this.maskColor ? {
|
|
3043
2072
|
'background-color': this.maskColor
|
|
3044
2073
|
} : {};
|
|
3045
2074
|
},
|
|
3046
2075
|
// If to use the fixed size or not:
|
|
3047
2076
|
// true if the value of size is an Array
|
|
3048
|
-
isSizeFixed
|
|
2077
|
+
isSizeFixed() {
|
|
3049
2078
|
return Array.isArray(this.size);
|
|
3050
2079
|
},
|
|
3051
2080
|
// Should I fit the size automatically ?
|
|
3052
2081
|
// If the value of size is 0 or [0, 0],
|
|
3053
2082
|
// then make it auto.
|
|
3054
|
-
isAutoSize
|
|
2083
|
+
isAutoSize() {
|
|
3055
2084
|
if (this.isSizeFixed) {
|
|
3056
|
-
return !this.size.every(
|
|
3057
|
-
return i.toString() !== '0';
|
|
3058
|
-
});
|
|
2085
|
+
return !this.size.every(i => i.toString() !== '0');
|
|
3059
2086
|
}
|
|
3060
|
-
|
|
3061
2087
|
return this.size.toString() === '0';
|
|
3062
2088
|
},
|
|
3063
|
-
|
|
3064
2089
|
/**
|
|
3065
2090
|
* Get the value of size with unit px or "%"
|
|
3066
2091
|
* @return {Array|String}
|
|
3067
2092
|
*/
|
|
3068
|
-
sizeWithUnit
|
|
2093
|
+
sizeWithUnit() {
|
|
3069
2094
|
if (!this.isSizeFixed) {
|
|
3070
2095
|
return this._fixSizeUnit(this.size);
|
|
3071
2096
|
}
|
|
3072
|
-
|
|
3073
2097
|
return [this._fixSizeUnit(this.size[0]), this._fixSizeUnit(this.size[this.size.length === 1 ? 0 : 1])];
|
|
3074
2098
|
},
|
|
3075
2099
|
// The styles of panel
|
|
3076
|
-
panelStyle
|
|
3077
|
-
|
|
2100
|
+
panelStyle() {
|
|
2101
|
+
const style = {};
|
|
3078
2102
|
|
|
2103
|
+
// Styles for fixed
|
|
3079
2104
|
if (this.isSizeFixed) {
|
|
3080
2105
|
// Set size
|
|
3081
2106
|
style.width = this.sizeWithUnit[0];
|
|
3082
|
-
style.height = this.sizeWithUnit[1];
|
|
2107
|
+
style.height = this.sizeWithUnit[1];
|
|
2108
|
+
// The offset of slideout content,
|
|
3083
2109
|
// the value is 0 while fill-parent.
|
|
3084
|
-
|
|
3085
|
-
var offset = this.isFilled ? 0 : this.offset;
|
|
3086
|
-
|
|
2110
|
+
const offset = this.isFilled ? 0 : this.offset;
|
|
3087
2111
|
switch (this.dockOn) {
|
|
3088
2112
|
case 'right':
|
|
3089
2113
|
case 'left':
|
|
3090
2114
|
style.top = offset;
|
|
3091
|
-
style.maxHeight =
|
|
2115
|
+
style.maxHeight = `calc(100% - ${offset})`;
|
|
3092
2116
|
break;
|
|
3093
|
-
|
|
3094
2117
|
case 'bottom':
|
|
3095
2118
|
case 'top':
|
|
3096
2119
|
style.left = offset;
|
|
3097
|
-
style.maxWidth =
|
|
2120
|
+
style.maxWidth = `calc(100% - ${offset})`;
|
|
3098
2121
|
break;
|
|
3099
2122
|
}
|
|
3100
|
-
|
|
3101
2123
|
return style;
|
|
3102
|
-
}
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
var size = this.isFilled ? '100%' : this.resizeValue > 0 ? "".concat(this.resizeValue, "px") : this.sizeWithUnit;
|
|
3106
|
-
|
|
2124
|
+
}
|
|
2125
|
+
// Set 100% while fill-parent
|
|
2126
|
+
const size = this.isFilled ? '100%' : this.resizeValue > 0 ? `${this.resizeValue}px` : this.sizeWithUnit;
|
|
3107
2127
|
switch (this.dockOn) {
|
|
3108
2128
|
case 'right':
|
|
3109
2129
|
case 'left':
|
|
3110
2130
|
style.width = size;
|
|
3111
2131
|
break;
|
|
3112
|
-
|
|
3113
2132
|
case 'bottom':
|
|
3114
2133
|
case 'top':
|
|
3115
2134
|
style.height = size;
|
|
3116
2135
|
break;
|
|
3117
2136
|
}
|
|
3118
|
-
|
|
3119
2137
|
return style;
|
|
3120
2138
|
},
|
|
3121
|
-
containerClasses
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
2139
|
+
containerClasses() {
|
|
2140
|
+
return {
|
|
2141
|
+
'slideout': true,
|
|
2142
|
+
[this.customClass || '']: true,
|
|
2143
|
+
[`slideout-dock--${this.dockOn}`]: true,
|
|
2144
|
+
'slideout-is--visible': this.activeVisibleClass,
|
|
2145
|
+
// Disable the animations while mouse button pressed,
|
|
2146
|
+
// to make the operation smoothly.
|
|
2147
|
+
'slideout-animation--enabled': !this.mousedown && !this.disableAnimation,
|
|
2148
|
+
'slideout-header--visible': this.showHeader,
|
|
2149
|
+
'slideout-footer--visible': this.$slots.footer,
|
|
2150
|
+
'slideout-is--resizable': this.resizable,
|
|
2151
|
+
'slideout-is--fixed': this.isFixed,
|
|
2152
|
+
'slideout-is--filled': this.isFilled,
|
|
2153
|
+
'slideout-is--autosize': this.isAutoSize
|
|
2154
|
+
};
|
|
3127
2155
|
},
|
|
3128
2156
|
// If to use fixed position.
|
|
3129
|
-
isFixed
|
|
2157
|
+
isFixed() {
|
|
3130
2158
|
// False if target specified,
|
|
3131
2159
|
// except the parent element is document.body.
|
|
3132
2160
|
return this.fixed || this.parentElement === document.body || !this.target;
|
|
@@ -3135,7 +2163,7 @@ var es_string_fixed = __webpack_require__("c7cd");
|
|
|
3135
2163
|
});
|
|
3136
2164
|
// CONCATENATED MODULE: ./src/components/data.js
|
|
3137
2165
|
/* harmony default export */ var data = ({
|
|
3138
|
-
data
|
|
2166
|
+
data() {
|
|
3139
2167
|
return {
|
|
3140
2168
|
isVisible: false,
|
|
3141
2169
|
isFilled: false,
|
|
@@ -3162,134 +2190,111 @@ var es_string_fixed = __webpack_require__("c7cd");
|
|
|
3162
2190
|
};
|
|
3163
2191
|
}
|
|
3164
2192
|
});
|
|
3165
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.
|
|
3166
|
-
var
|
|
3167
|
-
|
|
3168
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.test.js
|
|
3169
|
-
var es_regexp_test = __webpack_require__("00b4");
|
|
2193
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.error.cause.js
|
|
2194
|
+
var es_error_cause = __webpack_require__("d9e2");
|
|
3170
2195
|
|
|
3171
2196
|
// CONCATENATED MODULE: ./src/components/methods.js
|
|
3172
2197
|
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
2198
|
/* harmony default export */ var methods = ({
|
|
3178
2199
|
methods: {
|
|
3179
|
-
makeBeforeEventArgs
|
|
3180
|
-
|
|
3181
|
-
|
|
2200
|
+
makeBeforeEventArgs(resumeCallback, cancelCallback) {
|
|
2201
|
+
const vm = this;
|
|
2202
|
+
let canceled = false;
|
|
3182
2203
|
return {
|
|
3183
2204
|
// If to pause the open/close operation.
|
|
3184
2205
|
pause: false,
|
|
3185
|
-
|
|
3186
2206
|
// setter
|
|
3187
2207
|
// Resume the paused operation.
|
|
3188
2208
|
set resume(value) {
|
|
3189
2209
|
// Cancel the operation if the value is falsy.
|
|
3190
2210
|
if (!value) {
|
|
3191
2211
|
return;
|
|
3192
|
-
}
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
vm.$nextTick(function () {
|
|
2212
|
+
}
|
|
2213
|
+
// Continue the operation.
|
|
2214
|
+
vm.$nextTick(() => {
|
|
3196
2215
|
resumeCallback();
|
|
3197
2216
|
});
|
|
3198
2217
|
},
|
|
3199
|
-
|
|
3200
2218
|
get resume() {
|
|
3201
2219
|
return undefined;
|
|
3202
2220
|
},
|
|
3203
|
-
|
|
3204
2221
|
set cancel(value) {
|
|
3205
2222
|
canceled = value;
|
|
3206
|
-
|
|
3207
2223
|
if (!value) {
|
|
3208
2224
|
return;
|
|
3209
2225
|
}
|
|
3210
|
-
|
|
3211
|
-
vm.$nextTick(function () {
|
|
2226
|
+
vm.$nextTick(() => {
|
|
3212
2227
|
cancelCallback();
|
|
3213
2228
|
});
|
|
3214
2229
|
},
|
|
3215
|
-
|
|
3216
2230
|
get cancel() {
|
|
3217
2231
|
return canceled;
|
|
3218
2232
|
}
|
|
3219
|
-
|
|
3220
2233
|
};
|
|
3221
2234
|
},
|
|
3222
|
-
tryOpen
|
|
3223
|
-
var _this = this;
|
|
3224
|
-
|
|
2235
|
+
tryOpen() {
|
|
3225
2236
|
// Do nothing if slideout is visible.
|
|
3226
2237
|
if (this.isVisible) {
|
|
3227
2238
|
return;
|
|
3228
|
-
}
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
}, function () {
|
|
2239
|
+
}
|
|
2240
|
+
// The arguments of event "opening".
|
|
2241
|
+
const args = this.makeBeforeEventArgs(() => {
|
|
2242
|
+
this.setVisibleValue(true);
|
|
2243
|
+
}, () => {
|
|
3234
2244
|
// Reset the value of visible to "false" while operation canceled.
|
|
3235
|
-
|
|
3236
|
-
});
|
|
2245
|
+
this._updateVisibleValue(false);
|
|
2246
|
+
});
|
|
3237
2247
|
|
|
3238
|
-
|
|
2248
|
+
// Trigger the "opening" event with "args".
|
|
2249
|
+
this.$emit('opening', args);
|
|
3239
2250
|
|
|
2251
|
+
// If the open operation is paused or canceled, just return.
|
|
3240
2252
|
if (args.pause || args.cancel) {
|
|
3241
2253
|
return;
|
|
3242
|
-
}
|
|
3243
|
-
|
|
2254
|
+
}
|
|
3244
2255
|
|
|
2256
|
+
// Show slideout.
|
|
3245
2257
|
this.setVisibleValue(true);
|
|
3246
2258
|
},
|
|
3247
|
-
tryClose
|
|
3248
|
-
var _this2 = this;
|
|
3249
|
-
|
|
2259
|
+
tryClose() {
|
|
3250
2260
|
// Do nothing if slideout is invisible.
|
|
3251
2261
|
if (!this.isVisible) {
|
|
3252
2262
|
return;
|
|
3253
|
-
}
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
}, function () {
|
|
2263
|
+
}
|
|
2264
|
+
// The arguments of event "opening".
|
|
2265
|
+
const args = this.makeBeforeEventArgs(() => {
|
|
2266
|
+
this.setVisibleValue(false);
|
|
2267
|
+
}, () => {
|
|
3259
2268
|
// Reset the value of visible to "true" while operation canceled.
|
|
3260
|
-
|
|
3261
|
-
});
|
|
2269
|
+
this._updateVisibleValue(true);
|
|
2270
|
+
});
|
|
3262
2271
|
|
|
3263
|
-
|
|
2272
|
+
// Trigger the "closing" event with "args".
|
|
2273
|
+
this.$emit('closing', args);
|
|
3264
2274
|
|
|
2275
|
+
// If the open operation is paused or canceled, just return.
|
|
3265
2276
|
if (args.pause || args.cancel) {
|
|
3266
2277
|
return;
|
|
3267
2278
|
}
|
|
3268
|
-
|
|
3269
2279
|
this.setVisibleValue(false);
|
|
3270
2280
|
},
|
|
3271
|
-
|
|
3272
2281
|
/**
|
|
3273
2282
|
* Update the value of isVisible.
|
|
3274
2283
|
* @param {Boolean} visible The visible state
|
|
3275
2284
|
*/
|
|
3276
|
-
setVisibleValue
|
|
3277
|
-
var _this3 = this;
|
|
3278
|
-
|
|
2285
|
+
setVisibleValue(visible) {
|
|
3279
2286
|
// Reset the size while slideout is brought into visible.
|
|
3280
2287
|
if (visible) {
|
|
3281
2288
|
this.resizeValue = 0;
|
|
3282
2289
|
}
|
|
3283
|
-
|
|
3284
2290
|
if (visible) {
|
|
3285
2291
|
this.showContainer = true;
|
|
3286
2292
|
this.isVisible = true;
|
|
3287
|
-
this.$nextTick(
|
|
2293
|
+
this.$nextTick(() => {
|
|
3288
2294
|
// Delay the animation.
|
|
3289
|
-
setTimeout(
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
_this3.emitOpenedEvent();
|
|
2295
|
+
setTimeout(() => {
|
|
2296
|
+
this.activeVisibleClass = true;
|
|
2297
|
+
this.emitOpenedEvent();
|
|
3293
2298
|
}, 10);
|
|
3294
2299
|
});
|
|
3295
2300
|
} else {
|
|
@@ -3297,60 +2302,49 @@ var es_regexp_test = __webpack_require__("00b4");
|
|
|
3297
2302
|
// Update the value of "fill-parent" for "v-model:fill-parent" to exit fill-parent after slideout closed.
|
|
3298
2303
|
this.$emit('update:fill-parent', false);
|
|
3299
2304
|
}
|
|
3300
|
-
|
|
3301
2305
|
this.activeVisibleClass = false;
|
|
3302
|
-
this.$nextTick(
|
|
3303
|
-
|
|
2306
|
+
this.$nextTick(() => {
|
|
2307
|
+
this.emitClosedEvent();
|
|
3304
2308
|
});
|
|
3305
2309
|
}
|
|
3306
2310
|
},
|
|
3307
|
-
emitOpenedEvent
|
|
3308
|
-
var _this4 = this;
|
|
3309
|
-
|
|
2311
|
+
emitOpenedEvent() {
|
|
3310
2312
|
if (this.disableAnimation) {
|
|
3311
2313
|
// The animation is disabled.
|
|
3312
2314
|
this._doOpen();
|
|
3313
|
-
|
|
3314
2315
|
return;
|
|
3315
|
-
}
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
_this4._doOpen();
|
|
2316
|
+
}
|
|
2317
|
+
// Applying the animation.
|
|
2318
|
+
setTimeout(() => {
|
|
2319
|
+
this._doOpen();
|
|
3320
2320
|
}, this.animationDuration);
|
|
3321
2321
|
},
|
|
3322
|
-
emitClosedEvent
|
|
3323
|
-
var _this5 = this;
|
|
3324
|
-
|
|
2322
|
+
emitClosedEvent() {
|
|
3325
2323
|
if (this.disableAnimation) {
|
|
3326
2324
|
// The animation is disabled.
|
|
3327
2325
|
this._doClose();
|
|
3328
|
-
|
|
3329
2326
|
return;
|
|
3330
|
-
}
|
|
3331
|
-
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
_this5._doClose();
|
|
2327
|
+
}
|
|
2328
|
+
// Applying the animation.
|
|
2329
|
+
setTimeout(() => {
|
|
2330
|
+
this._doClose();
|
|
3335
2331
|
}, this.animationDuration);
|
|
3336
2332
|
},
|
|
3337
|
-
_doOpen
|
|
2333
|
+
_doOpen() {
|
|
3338
2334
|
this.$emit('opened', this.$refs.panel);
|
|
3339
|
-
|
|
3340
2335
|
if (this.visible !== this.isVisible) {
|
|
3341
2336
|
this._updateVisibleValue(true);
|
|
3342
2337
|
}
|
|
3343
2338
|
},
|
|
3344
|
-
_doClose
|
|
2339
|
+
_doClose() {
|
|
3345
2340
|
this.showContainer = false;
|
|
3346
2341
|
this.isVisible = false;
|
|
3347
2342
|
this.$emit('closed');
|
|
3348
|
-
|
|
3349
2343
|
if (this.visible !== this.isVisible) {
|
|
3350
2344
|
this._updateVisibleValue(false);
|
|
3351
2345
|
}
|
|
3352
2346
|
},
|
|
3353
|
-
toggleFillState
|
|
2347
|
+
toggleFillState(fillparent) {
|
|
3354
2348
|
if (typeof fillparent !== 'boolean') {
|
|
3355
2349
|
this.isFilled = !this.isFilled;
|
|
3356
2350
|
} else if (this.isFilled === fillparent) {
|
|
@@ -3358,70 +2352,61 @@ var es_regexp_test = __webpack_require__("00b4");
|
|
|
3358
2352
|
} else {
|
|
3359
2353
|
this.isFilled = fillparent;
|
|
3360
2354
|
}
|
|
3361
|
-
|
|
3362
2355
|
if (this.isFilled !== this.fillParent) {
|
|
3363
2356
|
this.$emit('update:fill-parent', this.isFilled);
|
|
3364
2357
|
}
|
|
3365
2358
|
},
|
|
3366
|
-
|
|
3367
2359
|
/**
|
|
3368
2360
|
* Get the actual parent element of Slideout
|
|
3369
2361
|
*/
|
|
3370
|
-
updateParentElement
|
|
2362
|
+
updateParentElement() {
|
|
3371
2363
|
if (!this.target) {
|
|
3372
|
-
this.parentElement = this.$
|
|
2364
|
+
this.parentElement = this.$parent.$el.parentElement;
|
|
3373
2365
|
return;
|
|
3374
2366
|
}
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
|
|
2367
|
+
let target = this.target;
|
|
2368
|
+
// handle selector
|
|
3378
2369
|
if (typeof target === 'string') {
|
|
3379
2370
|
target = document.querySelector(target);
|
|
3380
|
-
|
|
3381
2371
|
if (!target) {
|
|
3382
|
-
throw new Error(
|
|
2372
|
+
throw new Error(`[vue-slideout] Cannot find the node to append: ${this.target}`);
|
|
3383
2373
|
}
|
|
3384
2374
|
}
|
|
3385
|
-
|
|
3386
2375
|
this.parentElement = target;
|
|
3387
2376
|
},
|
|
3388
|
-
|
|
3389
2377
|
/**
|
|
3390
2378
|
* The handler for mask click.
|
|
3391
2379
|
*/
|
|
3392
|
-
onMaskClick
|
|
2380
|
+
onMaskClick() {
|
|
3393
2381
|
if (this.closeOnMaskClick) {
|
|
3394
2382
|
this.tryClose();
|
|
3395
2383
|
}
|
|
3396
2384
|
},
|
|
3397
|
-
|
|
3398
2385
|
/**
|
|
3399
2386
|
* @return {{width: Number, height: Number}}
|
|
3400
2387
|
*/
|
|
3401
|
-
getParentSize
|
|
3402
|
-
|
|
2388
|
+
getParentSize() {
|
|
2389
|
+
const rect = this.parentElement.getClientRects()[0];
|
|
3403
2390
|
return {
|
|
3404
2391
|
width: rect.width,
|
|
3405
2392
|
height: rect.height
|
|
3406
2393
|
};
|
|
3407
2394
|
},
|
|
3408
|
-
|
|
3409
2395
|
/**
|
|
3410
2396
|
* @return {{width: Number, height: Number}}
|
|
3411
2397
|
*/
|
|
3412
|
-
getMyownSize
|
|
3413
|
-
|
|
2398
|
+
getMyownSize() {
|
|
2399
|
+
const rect = this.$refs.panel.getClientRects()[0];
|
|
3414
2400
|
return {
|
|
3415
2401
|
width: rect.width,
|
|
3416
2402
|
height: rect.height
|
|
3417
2403
|
};
|
|
3418
2404
|
},
|
|
3419
|
-
mouseDownHandler
|
|
2405
|
+
mouseDownHandler(e) {
|
|
3420
2406
|
if (this.isFilled) {
|
|
3421
2407
|
// Resize is disabled while fillparent.
|
|
3422
2408
|
return;
|
|
3423
2409
|
}
|
|
3424
|
-
|
|
3425
2410
|
this.mousedown = true;
|
|
3426
2411
|
this.mouseDownPosition = {
|
|
3427
2412
|
x: e.pageX,
|
|
@@ -3429,132 +2414,112 @@ var es_regexp_test = __webpack_require__("00b4");
|
|
|
3429
2414
|
};
|
|
3430
2415
|
this.originSize = this.getMyownSize();
|
|
3431
2416
|
},
|
|
3432
|
-
mouseMoveHandler
|
|
3433
|
-
var _this6 = this;
|
|
3434
|
-
|
|
2417
|
+
mouseMoveHandler(e) {
|
|
3435
2418
|
if (this.isFilled) {
|
|
3436
2419
|
// Resize is disabled while fillparent.
|
|
3437
2420
|
return;
|
|
3438
|
-
}
|
|
3439
|
-
|
|
3440
|
-
|
|
2421
|
+
}
|
|
2422
|
+
// Resize is disabled while the mouse button is not pressed.
|
|
3441
2423
|
if (!this.mousedown) {
|
|
3442
2424
|
return;
|
|
3443
2425
|
}
|
|
3444
|
-
|
|
3445
|
-
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
var winSize = {
|
|
2426
|
+
e.preventDefault();
|
|
2427
|
+
// The offset of mouse movement.
|
|
2428
|
+
const x = e.pageX - this.mouseDownPosition.x;
|
|
2429
|
+
const y = e.pageY - this.mouseDownPosition.y;
|
|
2430
|
+
const parentSize = this.getParentSize();
|
|
2431
|
+
const winSize = {
|
|
3451
2432
|
width: window.innerWidth,
|
|
3452
2433
|
height: window.innerHeight
|
|
3453
2434
|
};
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
|
|
2435
|
+
const size = this.originSize;
|
|
2436
|
+
let newSize = 0;
|
|
3457
2437
|
switch (this.dock) {
|
|
3458
2438
|
case 'top':
|
|
3459
2439
|
newSize = size.height + y;
|
|
3460
|
-
|
|
3461
2440
|
if (newSize > parentSize.height) {
|
|
3462
2441
|
newSize = parentSize.height;
|
|
3463
2442
|
}
|
|
3464
|
-
|
|
3465
2443
|
if (newSize > winSize.height) {
|
|
3466
2444
|
newSize = winSize.height;
|
|
3467
2445
|
}
|
|
3468
|
-
|
|
3469
2446
|
break;
|
|
3470
|
-
|
|
3471
2447
|
case 'right':
|
|
3472
2448
|
newSize = size.width - x;
|
|
3473
|
-
|
|
3474
2449
|
if (newSize > parentSize.width) {
|
|
3475
2450
|
newSize = parentSize.width;
|
|
3476
2451
|
}
|
|
3477
|
-
|
|
3478
2452
|
if (newSize > winSize.width) {
|
|
3479
2453
|
newSize = winSize.width;
|
|
3480
2454
|
}
|
|
3481
|
-
|
|
3482
2455
|
break;
|
|
3483
|
-
|
|
3484
2456
|
case 'bottom':
|
|
3485
2457
|
newSize = size.height - y;
|
|
3486
|
-
|
|
3487
2458
|
if (newSize > parentSize.height) {
|
|
3488
2459
|
newSize = parentSize.height;
|
|
3489
2460
|
}
|
|
3490
|
-
|
|
3491
2461
|
if (newSize > winSize.height) {
|
|
3492
2462
|
newSize = winSize.height;
|
|
3493
2463
|
}
|
|
3494
|
-
|
|
3495
2464
|
break;
|
|
3496
|
-
|
|
3497
2465
|
case 'left':
|
|
3498
2466
|
newSize = size.width + x;
|
|
3499
|
-
|
|
3500
2467
|
if (newSize > parentSize.width) {
|
|
3501
2468
|
newSize = parentSize.width;
|
|
3502
2469
|
}
|
|
3503
|
-
|
|
3504
2470
|
if (newSize > winSize.width) {
|
|
3505
2471
|
newSize = winSize.width;
|
|
3506
2472
|
}
|
|
3507
|
-
|
|
3508
2473
|
break;
|
|
3509
2474
|
}
|
|
3510
|
-
|
|
3511
2475
|
if (this.maxSize > 0 && this.maxSize < newSize) {
|
|
3512
2476
|
newSize = this.maxSize;
|
|
3513
2477
|
}
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
_this6.resizeValue = newSize < _this6.minSize ? _this6.minSize : newSize;
|
|
2478
|
+
requestAnimationFrame(() => {
|
|
2479
|
+
this.resizeValue = newSize < this.minSize ? this.minSize : newSize;
|
|
3517
2480
|
});
|
|
3518
|
-
this.$nextTick(
|
|
3519
|
-
|
|
3520
|
-
size:
|
|
2481
|
+
this.$nextTick(() => {
|
|
2482
|
+
this.$emit('resize', {
|
|
2483
|
+
size: this.resizeValue
|
|
3521
2484
|
});
|
|
3522
2485
|
});
|
|
3523
2486
|
},
|
|
3524
|
-
mouseUpHandler
|
|
2487
|
+
mouseUpHandler() {
|
|
3525
2488
|
this.mousedown = false;
|
|
3526
2489
|
},
|
|
3527
|
-
|
|
3528
2490
|
/**
|
|
3529
2491
|
* Close slideout after Esc pressed.
|
|
3530
2492
|
* @param {KeyboardEvent} e
|
|
3531
2493
|
*/
|
|
3532
|
-
onKeydown
|
|
2494
|
+
onKeydown(e) {
|
|
3533
2495
|
if (this.ignoreEsc) {
|
|
3534
2496
|
return;
|
|
3535
2497
|
}
|
|
3536
|
-
|
|
3537
2498
|
if (!this.isVisible) {
|
|
3538
2499
|
return;
|
|
3539
|
-
}
|
|
3540
|
-
|
|
3541
|
-
|
|
2500
|
+
}
|
|
2501
|
+
// 27: Escape key
|
|
3542
2502
|
if (e.code !== 'Escape' && e.keyCode !== 27 && e.which !== 27) {
|
|
3543
2503
|
return;
|
|
3544
|
-
}
|
|
3545
|
-
|
|
3546
|
-
|
|
2504
|
+
}
|
|
2505
|
+
// Ignore input controls.
|
|
3547
2506
|
if (['INPUT', 'TEXTAREA'].indexOf(e.target.tagName) !== -1 || e.target.contentEditable === 'true') {
|
|
3548
2507
|
return;
|
|
3549
2508
|
}
|
|
3550
|
-
|
|
3551
2509
|
this.tryClose();
|
|
3552
2510
|
return false;
|
|
3553
2511
|
},
|
|
3554
|
-
_fixSizeUnit
|
|
3555
|
-
|
|
2512
|
+
_fixSizeUnit(val) {
|
|
2513
|
+
if (val.toString() === '0') {
|
|
2514
|
+
return 'auto';
|
|
2515
|
+
}
|
|
2516
|
+
// Use unit PX as default
|
|
2517
|
+
if (/^[0-9.]+$/.test(val)) {
|
|
2518
|
+
return val + 'px';
|
|
2519
|
+
}
|
|
2520
|
+
return val;
|
|
3556
2521
|
},
|
|
3557
|
-
_updateVisibleValue
|
|
2522
|
+
_updateVisibleValue(value) {
|
|
3558
2523
|
this.$emit('update:modelValue', value);
|
|
3559
2524
|
}
|
|
3560
2525
|
}
|
|
@@ -3562,39 +2527,35 @@ var es_regexp_test = __webpack_require__("00b4");
|
|
|
3562
2527
|
// CONCATENATED MODULE: ./src/components/watch.js
|
|
3563
2528
|
/* harmony default export */ var watch = ({
|
|
3564
2529
|
watch: {
|
|
3565
|
-
modelValue
|
|
2530
|
+
modelValue(visible) {
|
|
3566
2531
|
if (visible === this.isVisible) {
|
|
3567
2532
|
return;
|
|
3568
2533
|
}
|
|
3569
|
-
|
|
3570
2534
|
if (visible) {
|
|
3571
2535
|
this.tryOpen();
|
|
3572
2536
|
} else {
|
|
3573
2537
|
this.tryClose();
|
|
3574
2538
|
}
|
|
3575
2539
|
},
|
|
3576
|
-
fillParent
|
|
2540
|
+
fillParent(value) {
|
|
3577
2541
|
if (value === this.isFilled) {
|
|
3578
2542
|
return;
|
|
3579
2543
|
}
|
|
3580
|
-
|
|
3581
2544
|
this.toggleFillState(value);
|
|
3582
2545
|
},
|
|
3583
|
-
isVisible
|
|
3584
|
-
var _this = this;
|
|
3585
|
-
|
|
2546
|
+
isVisible(v) {
|
|
3586
2547
|
if (v) {
|
|
3587
|
-
this.$nextTick(
|
|
3588
|
-
|
|
2548
|
+
this.$nextTick(() => {
|
|
2549
|
+
this.$refs.container.focus();
|
|
3589
2550
|
});
|
|
3590
|
-
}
|
|
3591
|
-
|
|
2551
|
+
}
|
|
3592
2552
|
|
|
2553
|
+
// Do not lock the scroll while slideout is not fixed.
|
|
3593
2554
|
if (!this.isFixed) {
|
|
3594
2555
|
return;
|
|
3595
|
-
}
|
|
3596
|
-
|
|
2556
|
+
}
|
|
3597
2557
|
|
|
2558
|
+
// Toggle the scroll class.
|
|
3598
2559
|
if (v) {
|
|
3599
2560
|
document.body.classList.add('slideout-helper--scroll-locker');
|
|
3600
2561
|
} else {
|
|
@@ -3603,24 +2564,25 @@ var es_regexp_test = __webpack_require__("00b4");
|
|
|
3603
2564
|
}
|
|
3604
2565
|
}
|
|
3605
2566
|
});
|
|
2567
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
|
|
2568
|
+
var es_array_push = __webpack_require__("14d9");
|
|
2569
|
+
|
|
3606
2570
|
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
3607
2571
|
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
|
|
3608
2572
|
|
|
3609
2573
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/icon/IconArrow.vue?vue&type=template&id=18a021e1
|
|
3610
2574
|
|
|
3611
|
-
|
|
2575
|
+
const _hoisted_1 = {
|
|
3612
2576
|
viewBox: "0 0 1024 1024",
|
|
3613
2577
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3614
2578
|
width: "16",
|
|
3615
2579
|
height: "16"
|
|
3616
2580
|
};
|
|
3617
|
-
|
|
3618
|
-
var _hoisted_2 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("path", {
|
|
2581
|
+
const _hoisted_2 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("path", {
|
|
3619
2582
|
d: "M493.45411 71.89033 197.751365 361.596502c-9.624195 9.380648-9.624195 24.707728 0 34.138518 9.576099 9.381671 25.222451 9.381671 34.848693 0l253.612115-248.494561 0 786.690176c0 13.3214 11.047614 24.142863 24.642237 24.142863 13.597693 0 24.645306-10.821463 24.645306-24.142863L535.499715 147.240459l253.632581 248.494561c9.603729 9.381671 25.248034 9.381671 34.847669 0 4.836145-4.76349 7.194866-10.939143 7.194866-17.116843 0-6.1777-2.405793-12.355399-7.194866-17.116843L528.255731 71.797209c-9.602705-9.383718-25.244964-9.383718-34.849716 0L493.45411 71.89033z"
|
|
3620
2583
|
}, null, -1);
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
function IconArrowvue_type_template_id_18a021e1_render(_ctx, _cache) {
|
|
2584
|
+
const _hoisted_3 = [_hoisted_2];
|
|
2585
|
+
function render(_ctx, _cache) {
|
|
3624
2586
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("svg", _hoisted_1, _hoisted_3);
|
|
3625
2587
|
}
|
|
3626
2588
|
// CONCATENATED MODULE: ./src/components/icon/IconArrow.vue?vue&type=template&id=18a021e1
|
|
@@ -3634,21 +2596,21 @@ var exportHelper_default = /*#__PURE__*/__webpack_require__.n(exportHelper);
|
|
|
3634
2596
|
const script = {}
|
|
3635
2597
|
|
|
3636
2598
|
|
|
3637
|
-
|
|
2599
|
+
const __exports__ = /*#__PURE__*/exportHelper_default()(script, [['render',render]])
|
|
2600
|
+
|
|
2601
|
+
/* harmony default export */ var IconArrow = (__exports__);
|
|
3638
2602
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/icon/IconCross.vue?vue&type=template&id=12d997a6
|
|
3639
2603
|
|
|
3640
|
-
|
|
2604
|
+
const IconCrossvue_type_template_id_12d997a6_hoisted_1 = {
|
|
3641
2605
|
viewBox: "0 0 1024 1024",
|
|
3642
2606
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3643
2607
|
width: "16",
|
|
3644
2608
|
height: "16"
|
|
3645
2609
|
};
|
|
3646
|
-
|
|
3647
|
-
var IconCrossvue_type_template_id_12d997a6_hoisted_2 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("path", {
|
|
2610
|
+
const IconCrossvue_type_template_id_12d997a6_hoisted_2 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("path", {
|
|
3648
2611
|
d: "M184.64768 836.34176c3.9936 3.9936 9.23648 5.98016 14.47936 5.98016 5.24288 0 10.48576-2.00704 14.49984-6.00064l292.70016-293.04832 292.70016 293.04832c3.9936 4.01408 9.23648 6.00064 14.49984 6.00064 5.24288 0 10.48576-2.00704 14.47936-5.98016 8.00768-7.9872 8.00768-20.95104 0.02048-28.95872L535.61344 514.64192 828.0064 221.92128c7.9872-8.00768 7.9872-20.97152-0.02048-28.95872-8.02816-8.00768-20.97152-8.00768-28.95872 0.02048L506.30656 486.03136 213.6064 192.98304c-8.00768-8.00768-20.97152-8.00768-28.95872-0.02048-8.00768 7.9872-8.00768 20.95104-0.02048 28.95872l292.37248 292.72064L184.6272 807.38304C176.64 815.37024 176.64 828.35456 184.64768 836.34176z"
|
|
3649
2612
|
}, null, -1);
|
|
3650
|
-
|
|
3651
|
-
var IconCrossvue_type_template_id_12d997a6_hoisted_3 = [IconCrossvue_type_template_id_12d997a6_hoisted_2];
|
|
2613
|
+
const IconCrossvue_type_template_id_12d997a6_hoisted_3 = [IconCrossvue_type_template_id_12d997a6_hoisted_2];
|
|
3652
2614
|
function IconCrossvue_type_template_id_12d997a6_render(_ctx, _cache) {
|
|
3653
2615
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("svg", IconCrossvue_type_template_id_12d997a6_hoisted_1, IconCrossvue_type_template_id_12d997a6_hoisted_3);
|
|
3654
2616
|
}
|
|
@@ -3659,22 +2621,22 @@ function IconCrossvue_type_template_id_12d997a6_render(_ctx, _cache) {
|
|
|
3659
2621
|
const IconCross_script = {}
|
|
3660
2622
|
|
|
3661
2623
|
|
|
3662
|
-
|
|
2624
|
+
const IconCross_exports_ = /*#__PURE__*/exportHelper_default()(IconCross_script, [['render',IconCrossvue_type_template_id_12d997a6_render]])
|
|
2625
|
+
|
|
2626
|
+
/* harmony default export */ var IconCross = (IconCross_exports_);
|
|
3663
2627
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/icon/IconFill.vue?vue&type=template&id=094ee891
|
|
3664
2628
|
|
|
3665
|
-
|
|
2629
|
+
const IconFillvue_type_template_id_094ee891_hoisted_1 = {
|
|
3666
2630
|
version: "1.1",
|
|
3667
2631
|
viewBox: "0 0 1024 1024",
|
|
3668
2632
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3669
2633
|
width: "16",
|
|
3670
2634
|
height: "16"
|
|
3671
2635
|
};
|
|
3672
|
-
|
|
3673
|
-
var IconFillvue_type_template_id_094ee891_hoisted_2 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("path", {
|
|
2636
|
+
const IconFillvue_type_template_id_094ee891_hoisted_2 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("path", {
|
|
3674
2637
|
d: "M258.285714 197.028571l50.171429-50.171428a9.154286 9.154286 0 0 0-5.371429-15.542857L120 109.714286c-5.828571-0.685714-10.857143 4.228571-10.171429 10.171428L131.428571 302.971429c0.914286 7.542857 10.171429 10.742857 15.542858 5.371428l49.942857-49.942857L349.714286 411.085714c3.542857 3.542857 9.371429 3.542857 12.914285 0l48.457143-48.342857c3.542857-3.542857 3.542857-9.371429 0-12.914286L258.285714 197.028571z m403.085715 214.057143c3.542857 3.542857 9.371429 3.542857 12.914285 0l152.8-152.685714 49.942857 49.942857a9.154286 9.154286 0 0 0 15.542858-5.371428L914.171429 120c0.685714-5.828571-4.228571-10.857143-10.171429-10.171429L720.914286 131.428571c-7.542857 0.914286-10.742857 10.171429-5.371429 15.542858l50.171429 50.171428L612.914286 349.714286a9.177143 9.177143 0 0 0 0 12.914285l48.457143 48.457143zM892.571429 721.028571c-0.914286-7.542857-10.171429-10.742857-15.542858-5.371428l-49.942857 49.942857L674.285714 612.914286a9.177143 9.177143 0 0 0-12.914285 0l-48.457143 48.342857a9.177143 9.177143 0 0 0 0 12.914286L765.714286 826.971429l-50.171429 50.171428a9.154286 9.154286 0 0 0 5.371429 15.542857L904 914.285714c5.828571 0.685714 10.857143-4.228571 10.171429-10.171428L892.571429 721.028571z m-529.942858-108.114285a9.177143 9.177143 0 0 0-12.914285 0L196.914286 765.6l-49.942857-49.942857a9.154286 9.154286 0 0 0-15.542858 5.371428L109.828571 904c-0.685714 5.828571 4.228571 10.857143 10.171429 10.171429L303.085714 892.571429c7.542857-0.914286 10.742857-10.171429 5.371429-15.542858L258.285714 826.971429 411.085714 674.285714c3.542857-3.542857 3.542857-9.371429 0-12.914285l-48.457143-48.457143z"
|
|
3675
2638
|
}, null, -1);
|
|
3676
|
-
|
|
3677
|
-
var IconFillvue_type_template_id_094ee891_hoisted_3 = [IconFillvue_type_template_id_094ee891_hoisted_2];
|
|
2639
|
+
const IconFillvue_type_template_id_094ee891_hoisted_3 = [IconFillvue_type_template_id_094ee891_hoisted_2];
|
|
3678
2640
|
function IconFillvue_type_template_id_094ee891_render(_ctx, _cache) {
|
|
3679
2641
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("svg", IconFillvue_type_template_id_094ee891_hoisted_1, IconFillvue_type_template_id_094ee891_hoisted_3);
|
|
3680
2642
|
}
|
|
@@ -3685,21 +2647,21 @@ function IconFillvue_type_template_id_094ee891_render(_ctx, _cache) {
|
|
|
3685
2647
|
const IconFill_script = {}
|
|
3686
2648
|
|
|
3687
2649
|
|
|
3688
|
-
|
|
2650
|
+
const IconFill_exports_ = /*#__PURE__*/exportHelper_default()(IconFill_script, [['render',IconFillvue_type_template_id_094ee891_render]])
|
|
2651
|
+
|
|
2652
|
+
/* harmony default export */ var IconFill = (IconFill_exports_);
|
|
3689
2653
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/icon/IconExitFill.vue?vue&type=template&id=570cb530
|
|
3690
2654
|
|
|
3691
|
-
|
|
2655
|
+
const IconExitFillvue_type_template_id_570cb530_hoisted_1 = {
|
|
3692
2656
|
viewBox: "0 0 1024 1024",
|
|
3693
2657
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3694
2658
|
width: "16",
|
|
3695
2659
|
height: "16"
|
|
3696
2660
|
};
|
|
3697
|
-
|
|
3698
|
-
var IconExitFillvue_type_template_id_570cb530_hoisted_2 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("path", {
|
|
2661
|
+
const IconExitFillvue_type_template_id_570cb530_hoisted_2 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("path", {
|
|
3699
2662
|
d: "M391 240.9c-0.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L200 146.3c-3.1-3.1-8.2-3.1-11.3 0l-42.4 42.3c-3.1 3.1-3.1 8.2 0 11.3L280 333.6l-43.9 43.9c-4.7 4.7-1.9 12.8 4.7 13.6L401 410c5.1 0.6 9.5-3.7 8.9-8.9L391 240.9zM401.1 614.1L240.8 633c-6.6 0.8-9.4 8.9-4.7 13.6l43.9 43.9L146.3 824c-3.1 3.1-3.1 8.2 0 11.3l42.4 42.3c3.1 3.1 8.2 3.1 11.3 0L333.7 744l43.7 43.7c4.7 4.7 12.8 1.9 13.6-4.7l18.9-160.1c0.6-5.1-3.7-9.4-8.8-8.8zM622.9 409.9L783.2 391c6.6-0.8 9.4-8.9 4.7-13.6L744 333.6 877.7 200c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.3c-3.1-3.1-8.2-3.1-11.3 0L690.3 279.9l-43.7-43.7c-4.7-4.7-12.8-1.9-13.6 4.7L614.1 401c-0.6 5.2 3.7 9.5 8.8 8.9zM744 690.4l43.9-43.9c4.7-4.7 1.9-12.8-4.7-13.6L623 614c-5.1-0.6-9.5 3.7-8.9 8.9L633 783.1c0.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L824 877.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L744 690.4z"
|
|
3700
2663
|
}, null, -1);
|
|
3701
|
-
|
|
3702
|
-
var IconExitFillvue_type_template_id_570cb530_hoisted_3 = [IconExitFillvue_type_template_id_570cb530_hoisted_2];
|
|
2664
|
+
const IconExitFillvue_type_template_id_570cb530_hoisted_3 = [IconExitFillvue_type_template_id_570cb530_hoisted_2];
|
|
3703
2665
|
function IconExitFillvue_type_template_id_570cb530_render(_ctx, _cache) {
|
|
3704
2666
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("svg", IconExitFillvue_type_template_id_570cb530_hoisted_1, IconExitFillvue_type_template_id_570cb530_hoisted_3);
|
|
3705
2667
|
}
|
|
@@ -3710,43 +2672,43 @@ function IconExitFillvue_type_template_id_570cb530_render(_ctx, _cache) {
|
|
|
3710
2672
|
const IconExitFill_script = {}
|
|
3711
2673
|
|
|
3712
2674
|
|
|
3713
|
-
|
|
2675
|
+
const IconExitFill_exports_ = /*#__PURE__*/exportHelper_default()(IconExitFill_script, [['render',IconExitFillvue_type_template_id_570cb530_render]])
|
|
2676
|
+
|
|
2677
|
+
/* harmony default export */ var IconExitFill = (IconExitFill_exports_);
|
|
3714
2678
|
// CONCATENATED MODULE: ./src/components/renderer.js
|
|
3715
2679
|
|
|
3716
2680
|
|
|
3717
2681
|
|
|
3718
2682
|
|
|
3719
2683
|
|
|
2684
|
+
|
|
3720
2685
|
/* harmony default export */ var renderer = ({
|
|
3721
2686
|
methods: {
|
|
3722
|
-
renderDefaultButtons
|
|
3723
|
-
|
|
3724
|
-
|
|
2687
|
+
renderDefaultButtons() {
|
|
2688
|
+
const buttons = [];
|
|
3725
2689
|
if (this.showFillButton) {
|
|
3726
2690
|
buttons.push(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('button', {
|
|
3727
2691
|
class: 'slideout-btn--fill',
|
|
3728
2692
|
onClick: this.toggleFillState
|
|
3729
2693
|
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])(IconFill), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])(IconExitFill)]));
|
|
3730
2694
|
}
|
|
3731
|
-
|
|
3732
2695
|
if (this.showClose) {
|
|
3733
2696
|
buttons.push(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('button', {
|
|
3734
2697
|
class: 'slideout-btn--close',
|
|
3735
2698
|
onClick: this.tryClose
|
|
3736
2699
|
}, this.arrowButton ? Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])(IconArrow) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])(IconCross)));
|
|
3737
2700
|
}
|
|
3738
|
-
|
|
3739
2701
|
return this.span({
|
|
3740
2702
|
class: 'slideout-header--buttons-default'
|
|
3741
2703
|
}, buttons);
|
|
3742
2704
|
},
|
|
3743
|
-
renderResizeHandle
|
|
2705
|
+
renderResizeHandle() {
|
|
3744
2706
|
return this.div({
|
|
3745
2707
|
class: 'slideout-resize--handle',
|
|
3746
2708
|
onMousedown: this.mouseDownHandler
|
|
3747
2709
|
});
|
|
3748
2710
|
},
|
|
3749
|
-
renderHeader
|
|
2711
|
+
renderHeader() {
|
|
3750
2712
|
return this.div({
|
|
3751
2713
|
class: 'slideout-header'
|
|
3752
2714
|
}, this.$slots.header ? this.$slots.header() : [this.div({
|
|
@@ -3758,47 +2720,42 @@ const IconExitFill_script = {}
|
|
|
3758
2720
|
class: 'slideout-header--buttons-custom'
|
|
3759
2721
|
}, this.$slots.buttons ? this.$slots.buttons() : []), this.renderDefaultButtons()])]);
|
|
3760
2722
|
},
|
|
3761
|
-
renderContent
|
|
2723
|
+
renderContent() {
|
|
3762
2724
|
return this.div({
|
|
3763
2725
|
class: 'slideout-content'
|
|
3764
2726
|
}, this.$slots.default());
|
|
3765
2727
|
},
|
|
3766
|
-
renderFooter
|
|
2728
|
+
renderFooter() {
|
|
3767
2729
|
return this.div({
|
|
3768
2730
|
class: 'slideout-footer'
|
|
3769
2731
|
}, this.$slots.footer ? this.$slots.footer() : []);
|
|
3770
2732
|
},
|
|
3771
|
-
renderLayout
|
|
3772
|
-
|
|
3773
|
-
|
|
2733
|
+
renderLayout() {
|
|
2734
|
+
const children = [];
|
|
3774
2735
|
if (this.resizable && !this.isFilled && !this.isSizeFixed) {
|
|
3775
2736
|
children.push(this.renderResizeHandle());
|
|
3776
2737
|
}
|
|
3777
|
-
|
|
3778
2738
|
if (this.showHeader) {
|
|
3779
2739
|
children.push(this.renderHeader());
|
|
3780
2740
|
}
|
|
3781
|
-
|
|
3782
2741
|
children.push(this.renderContent());
|
|
3783
|
-
|
|
3784
2742
|
if (this.showFooter) {
|
|
3785
2743
|
children.push(this.renderFooter());
|
|
3786
2744
|
}
|
|
3787
|
-
|
|
3788
2745
|
return this.div({
|
|
3789
2746
|
class: 'slideout-panel',
|
|
3790
2747
|
style: this.panelStyle,
|
|
3791
2748
|
ref: 'panel'
|
|
3792
2749
|
}, children);
|
|
3793
2750
|
},
|
|
3794
|
-
renderMask
|
|
2751
|
+
renderMask() {
|
|
3795
2752
|
return this.div({
|
|
3796
2753
|
class: 'slideout-mask',
|
|
3797
2754
|
style: this.maskStyle,
|
|
3798
2755
|
onClick: this.onMaskClick
|
|
3799
2756
|
});
|
|
3800
2757
|
},
|
|
3801
|
-
renderContainer
|
|
2758
|
+
renderContainer(children) {
|
|
3802
2759
|
return this.div({
|
|
3803
2760
|
class: this.containerClasses,
|
|
3804
2761
|
style: this.containerStyle,
|
|
@@ -3807,33 +2764,28 @@ const IconExitFill_script = {}
|
|
|
3807
2764
|
onKeydown: this.onKeydown
|
|
3808
2765
|
}, children);
|
|
3809
2766
|
},
|
|
3810
|
-
div
|
|
2767
|
+
div(props, children) {
|
|
3811
2768
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('div', props, children);
|
|
3812
2769
|
},
|
|
3813
|
-
span
|
|
2770
|
+
span(props, children) {
|
|
3814
2771
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])('span', props, children);
|
|
3815
2772
|
}
|
|
3816
2773
|
},
|
|
3817
|
-
render
|
|
2774
|
+
render() {
|
|
3818
2775
|
if (this.renderWhenVisible && !this.modelValue) {
|
|
3819
2776
|
return null;
|
|
3820
2777
|
}
|
|
3821
|
-
|
|
3822
|
-
var children = [];
|
|
3823
|
-
|
|
2778
|
+
const children = [];
|
|
3824
2779
|
if (this.showMask) {
|
|
3825
2780
|
children.push(this.renderMask());
|
|
3826
2781
|
}
|
|
3827
|
-
|
|
3828
2782
|
children.push(this.renderLayout());
|
|
3829
|
-
|
|
3830
|
-
|
|
2783
|
+
const container = this.renderContainer(children);
|
|
3831
2784
|
if (this.target) {
|
|
3832
2785
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["h"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Teleport"], {
|
|
3833
2786
|
to: this.target
|
|
3834
2787
|
}, container);
|
|
3835
2788
|
}
|
|
3836
|
-
|
|
3837
2789
|
return container;
|
|
3838
2790
|
}
|
|
3839
2791
|
});
|
|
@@ -3844,7 +2796,6 @@ const IconExitFill_script = {}
|
|
|
3844
2796
|
|
|
3845
2797
|
|
|
3846
2798
|
|
|
3847
|
-
|
|
3848
2799
|
/* harmony default export */ var slideout = ({
|
|
3849
2800
|
name: 'Slideout',
|
|
3850
2801
|
inheritAttrs: false,
|
|
@@ -3863,7 +2814,6 @@ const IconExitFill_script = {}
|
|
|
3863
2814
|
type: [String, Number, Array],
|
|
3864
2815
|
default: 400
|
|
3865
2816
|
},
|
|
3866
|
-
|
|
3867
2817
|
/**
|
|
3868
2818
|
* If to allow resize operation.
|
|
3869
2819
|
*/
|
|
@@ -3871,7 +2821,6 @@ const IconExitFill_script = {}
|
|
|
3871
2821
|
type: Boolean,
|
|
3872
2822
|
default: false
|
|
3873
2823
|
},
|
|
3874
|
-
|
|
3875
2824
|
/**
|
|
3876
2825
|
* The minimize value for resizing.
|
|
3877
2826
|
* This does not limit the value of size.
|
|
@@ -3880,7 +2829,6 @@ const IconExitFill_script = {}
|
|
|
3880
2829
|
type: Number,
|
|
3881
2830
|
default: 100
|
|
3882
2831
|
},
|
|
3883
|
-
|
|
3884
2832
|
/**
|
|
3885
2833
|
* The minimize value for resizing.
|
|
3886
2834
|
* 0 means there is no limit.
|
|
@@ -3894,7 +2842,6 @@ const IconExitFill_script = {}
|
|
|
3894
2842
|
type: Number,
|
|
3895
2843
|
default: 1997
|
|
3896
2844
|
},
|
|
3897
|
-
|
|
3898
2845
|
/**
|
|
3899
2846
|
* Is slideout visible.
|
|
3900
2847
|
* Do not specify this directly, use v-model instead.
|
|
@@ -3903,21 +2850,18 @@ const IconExitFill_script = {}
|
|
|
3903
2850
|
type: Boolean,
|
|
3904
2851
|
default: false
|
|
3905
2852
|
},
|
|
3906
|
-
|
|
3907
2853
|
/**
|
|
3908
2854
|
* The title text
|
|
3909
2855
|
*/
|
|
3910
2856
|
title: {
|
|
3911
2857
|
type: String
|
|
3912
2858
|
},
|
|
3913
|
-
|
|
3914
2859
|
/**
|
|
3915
2860
|
* Custom class for slideout.
|
|
3916
2861
|
*/
|
|
3917
2862
|
customClass: {
|
|
3918
2863
|
type: String
|
|
3919
2864
|
},
|
|
3920
|
-
|
|
3921
2865
|
/**
|
|
3922
2866
|
* If to show the mask layer.
|
|
3923
2867
|
*/
|
|
@@ -3925,7 +2869,6 @@ const IconExitFill_script = {}
|
|
|
3925
2869
|
type: Boolean,
|
|
3926
2870
|
default: true
|
|
3927
2871
|
},
|
|
3928
|
-
|
|
3929
2872
|
/**
|
|
3930
2873
|
* The background color of mask layer.
|
|
3931
2874
|
*/
|
|
@@ -3933,7 +2876,6 @@ const IconExitFill_script = {}
|
|
|
3933
2876
|
type: String,
|
|
3934
2877
|
default: null
|
|
3935
2878
|
},
|
|
3936
|
-
|
|
3937
2879
|
/**
|
|
3938
2880
|
* If to close slideout while mask is clicked.
|
|
3939
2881
|
*/
|
|
@@ -3941,7 +2883,6 @@ const IconExitFill_script = {}
|
|
|
3941
2883
|
type: Boolean,
|
|
3942
2884
|
default: true
|
|
3943
2885
|
},
|
|
3944
|
-
|
|
3945
2886
|
/**
|
|
3946
2887
|
* Whether to ignore Esc.
|
|
3947
2888
|
*/
|
|
@@ -3949,18 +2890,14 @@ const IconExitFill_script = {}
|
|
|
3949
2890
|
type: Boolean,
|
|
3950
2891
|
default: false
|
|
3951
2892
|
},
|
|
3952
|
-
|
|
3953
2893
|
/**
|
|
3954
2894
|
* The dock side, the default value is "right".
|
|
3955
2895
|
*/
|
|
3956
2896
|
dock: {
|
|
3957
2897
|
type: String,
|
|
3958
2898
|
default: 'right',
|
|
3959
|
-
validator:
|
|
3960
|
-
return ['top', 'right', 'bottom', 'left'].indexOf(value) >= 0;
|
|
3961
|
-
}
|
|
2899
|
+
validator: value => ['top', 'right', 'bottom', 'left'].indexOf(value) >= 0
|
|
3962
2900
|
},
|
|
3963
|
-
|
|
3964
2901
|
/**
|
|
3965
2902
|
* Specify the parent element to append slideout to.
|
|
3966
2903
|
*/
|
|
@@ -3976,7 +2913,6 @@ const IconExitFill_script = {}
|
|
|
3976
2913
|
type: Boolean,
|
|
3977
2914
|
default: false
|
|
3978
2915
|
},
|
|
3979
|
-
|
|
3980
2916
|
/**
|
|
3981
2917
|
* Whether to show the close button.
|
|
3982
2918
|
*/
|
|
@@ -3984,7 +2920,6 @@ const IconExitFill_script = {}
|
|
|
3984
2920
|
type: Boolean,
|
|
3985
2921
|
default: true
|
|
3986
2922
|
},
|
|
3987
|
-
|
|
3988
2923
|
/**
|
|
3989
2924
|
* Whether to show the fill-parent button.
|
|
3990
2925
|
*/
|
|
@@ -3992,7 +2927,6 @@ const IconExitFill_script = {}
|
|
|
3992
2927
|
type: Boolean,
|
|
3993
2928
|
default: false
|
|
3994
2929
|
},
|
|
3995
|
-
|
|
3996
2930
|
/**
|
|
3997
2931
|
* Display slideout as fixed (The scroll will be locked)
|
|
3998
2932
|
*/
|
|
@@ -4000,7 +2934,6 @@ const IconExitFill_script = {}
|
|
|
4000
2934
|
type: Boolean,
|
|
4001
2935
|
default: false
|
|
4002
2936
|
},
|
|
4003
|
-
|
|
4004
2937
|
/**
|
|
4005
2938
|
* The offset to dock side. ("px" or "%)
|
|
4006
2939
|
*/
|
|
@@ -4008,7 +2941,6 @@ const IconExitFill_script = {}
|
|
|
4008
2941
|
type: String,
|
|
4009
2942
|
default: '0'
|
|
4010
2943
|
},
|
|
4011
|
-
|
|
4012
2944
|
/**
|
|
4013
2945
|
* Whether to show the close button as arrow.
|
|
4014
2946
|
*/
|
|
@@ -4016,7 +2948,6 @@ const IconExitFill_script = {}
|
|
|
4016
2948
|
type: Boolean,
|
|
4017
2949
|
default: true
|
|
4018
2950
|
},
|
|
4019
|
-
|
|
4020
2951
|
/**
|
|
4021
2952
|
* Render content while "visible" is "true".
|
|
4022
2953
|
*/
|
|
@@ -4025,75 +2956,60 @@ const IconExitFill_script = {}
|
|
|
4025
2956
|
default: false
|
|
4026
2957
|
}
|
|
4027
2958
|
},
|
|
4028
|
-
mounted
|
|
2959
|
+
mounted() {
|
|
4029
2960
|
this.isFilled = this.fillParent;
|
|
4030
2961
|
this.updateParentElement();
|
|
4031
|
-
|
|
4032
2962
|
if (this.resizable) {
|
|
4033
2963
|
// Bind the mouse events for resizing.
|
|
4034
2964
|
document.addEventListener('mousemove', this.mouseMoveHandler);
|
|
4035
2965
|
document.addEventListener('mouseup', this.mouseUpHandler);
|
|
4036
2966
|
}
|
|
4037
|
-
|
|
4038
2967
|
this.headerButtons = this.$slots.btn ? this.$refs.buttons : null;
|
|
4039
2968
|
},
|
|
4040
|
-
beforeUnmount
|
|
2969
|
+
beforeUnmount() {
|
|
4041
2970
|
this.showContainer = false;
|
|
4042
|
-
|
|
4043
2971
|
if (this.resizable) {
|
|
4044
2972
|
// Remove the mouse events for resizing.
|
|
4045
2973
|
document.removeEventListener('mousemove', this.mouseUpHandler);
|
|
4046
2974
|
document.removeEventListener('mouseup', this.mouseMoveHandler);
|
|
4047
2975
|
}
|
|
4048
|
-
|
|
4049
2976
|
if (this.isVisible) {
|
|
4050
2977
|
this.tryClose();
|
|
4051
|
-
}
|
|
4052
|
-
|
|
4053
|
-
|
|
2978
|
+
}
|
|
2979
|
+
// Cancel the scroll lock.
|
|
4054
2980
|
document.body.classList.remove('slideout-helper--scroll-locker');
|
|
4055
2981
|
}
|
|
4056
2982
|
});
|
|
4057
2983
|
// CONCATENATED MODULE: ./src/components/index.js
|
|
4058
2984
|
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
|
|
4062
|
-
|
|
4063
2985
|
function setDefaultProps(customize) {
|
|
4064
|
-
for (
|
|
2986
|
+
for (let prop in customize) {
|
|
4065
2987
|
if (!customize.hasOwnProperty(prop)) {
|
|
4066
2988
|
continue;
|
|
4067
|
-
}
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
prop = prop.replace(/-[a-z]/g, function (match) {
|
|
2989
|
+
}
|
|
2990
|
+
// Parse property name like "abc_xyz" into "abcXyz".
|
|
2991
|
+
prop = prop.replace(/_[a-z]/g, match => {
|
|
4071
2992
|
return match[1].toUpperCase();
|
|
4072
2993
|
});
|
|
4073
|
-
|
|
4074
2994
|
if (!slideout.props.hasOwnProperty(prop)) {
|
|
4075
2995
|
continue;
|
|
4076
2996
|
}
|
|
4077
|
-
|
|
4078
2997
|
slideout.props[prop]['default'] = customize[prop];
|
|
4079
2998
|
}
|
|
4080
2999
|
}
|
|
3000
|
+
|
|
4081
3001
|
/**
|
|
4082
3002
|
*
|
|
4083
3003
|
* @param app
|
|
4084
3004
|
* @param {Object} defaults The defaults value
|
|
4085
3005
|
*/
|
|
4086
|
-
|
|
4087
|
-
|
|
4088
|
-
|
|
4089
|
-
install: function install(app, defaults) {
|
|
4090
|
-
if (defaults) {
|
|
4091
|
-
setDefaultProps(defaults);
|
|
4092
|
-
}
|
|
4093
|
-
|
|
4094
|
-
app.component(slideout.name, slideout);
|
|
3006
|
+
slideout.install = function (app, defaults) {
|
|
3007
|
+
if (defaults) {
|
|
3008
|
+
setDefaultProps(defaults);
|
|
4095
3009
|
}
|
|
4096
|
-
|
|
3010
|
+
app.component(slideout.name, slideout);
|
|
3011
|
+
};
|
|
3012
|
+
/* harmony default export */ var components = (slideout);
|
|
4097
3013
|
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
|
|
4098
3014
|
|
|
4099
3015
|
|
|
@@ -4115,30 +3031,13 @@ module.exports = function (it) {
|
|
|
4115
3031
|
};
|
|
4116
3032
|
|
|
4117
3033
|
|
|
4118
|
-
/***/ }),
|
|
4119
|
-
|
|
4120
|
-
/***/ "fce3":
|
|
4121
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4122
|
-
|
|
4123
|
-
var fails = __webpack_require__("d039");
|
|
4124
|
-
var global = __webpack_require__("da84");
|
|
4125
|
-
|
|
4126
|
-
// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
|
|
4127
|
-
var $RegExp = global.RegExp;
|
|
4128
|
-
|
|
4129
|
-
module.exports = fails(function () {
|
|
4130
|
-
var re = $RegExp('.', 's');
|
|
4131
|
-
return !(re.dotAll && re.exec('\n') && re.flags === 's');
|
|
4132
|
-
});
|
|
4133
|
-
|
|
4134
|
-
|
|
4135
3034
|
/***/ }),
|
|
4136
3035
|
|
|
4137
3036
|
/***/ "fdbf":
|
|
4138
3037
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4139
3038
|
|
|
4140
3039
|
/* eslint-disable es/no-symbol -- required for testing */
|
|
4141
|
-
var NATIVE_SYMBOL = __webpack_require__("
|
|
3040
|
+
var NATIVE_SYMBOL = __webpack_require__("04f8");
|
|
4142
3041
|
|
|
4143
3042
|
module.exports = NATIVE_SYMBOL
|
|
4144
3043
|
&& !Symbol.sham
|