@frollo/frollo-web-ui 0.0.22 → 0.1.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/cjs/index.js +635 -421
- package/esm/{add-to-unscopables-c6a09beb.js → add-to-unscopables-81c17489.js} +139 -99
- package/esm/{es.array.includes-1b7043c3.js → es.array.includes-debcb50f.js} +9 -3
- package/esm/{es.function.name-f416c9da.js → es.function.name-e746680f.js} +1 -1
- package/esm/{function-name-982253be.js → function-name-f0c1223e.js} +52 -61
- package/esm/{fw-button-0826e6fc.js → fw-button-ab906734.js} +12 -4
- package/esm/fw-button.js +4 -4
- package/esm/fw-card.js +6 -3
- package/esm/fw-checkbox.js +13 -8
- package/esm/fw-form.js +1 -1
- package/esm/fw-input.js +21 -11
- package/esm/fw-modal.js +7 -475
- package/esm/fw-navigation-menu.js +80 -24
- package/esm/fw-tabs.js +4 -3
- package/esm/{index-9de6159f.js → index-5ee56f7d.js} +24 -75
- package/esm/index-963039a3.js +475 -0
- package/esm/index.js +128 -40
- package/esm/to-string-139f1ee8.js +52 -0
- package/esm/{vee-validate.esm-028c6424.js → vee-validate.esm-b64acab1.js} +62 -9
- package/frollo-web-ui.esm.js +669 -421
- package/index.d.ts +28 -11
- package/package.json +20 -17
- package/tailwind.config.js +8 -8
- package/types/components/fw-button/fw-button.vue.d.ts +1 -0
- package/types/components/fw-card/fw-card.vue.d.ts +1 -0
- package/types/components/fw-checkbox/fw-checkbox.vue.d.ts +5 -4
- package/types/components/fw-checkbox/index.types.d.ts +1 -1
- package/types/components/fw-input/fw-input.vue.d.ts +17 -4
- package/types/components/fw-input/index.types.d.ts +1 -1
- package/types/components/fw-navigation-menu/fw-navigation-menu.vue.d.ts +3 -0
- package/types/index.esm.d.ts +1 -1
- package/types/services/modal.d.ts +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as functionUncurryThis,
|
|
1
|
+
import { b as functionUncurryThis, f as fails$3, r as requireObjectCoercible$1, a as descriptors, s as functionCall, u as toPropertyKey$1, m as hasOwnProperty_1, v as ie8DomDefine, q as objectDefineProperty, i as isCallable$5, x as sharedStore, g as global$3, y as shared$2, z as uid$1, k as isObject$1, A as functionName, B as defineGlobalProperty$2, j as getBuiltIn$2, l as anObject$3, C as v8PrototypeDefineBug, d as documentCreateElement$1, w as wellKnownSymbol$1 } from './function-name-f0c1223e.js';
|
|
2
2
|
|
|
3
3
|
var objectGetOwnPropertyDescriptor = {};
|
|
4
4
|
|
|
@@ -6,7 +6,7 @@ var objectPropertyIsEnumerable = {};
|
|
|
6
6
|
|
|
7
7
|
'use strict';
|
|
8
8
|
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
9
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
9
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
10
10
|
var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
11
11
|
|
|
12
12
|
// Nashorn ~ JDK8 bug
|
|
@@ -37,22 +37,21 @@ var classofRaw = function (it) {
|
|
|
37
37
|
return stringSlice(toString(it), 8, -1);
|
|
38
38
|
};
|
|
39
39
|
|
|
40
|
-
var global$4 = global$5;
|
|
41
40
|
var uncurryThis$4 = functionUncurryThis;
|
|
42
|
-
var fails$
|
|
41
|
+
var fails$2 = fails$3;
|
|
43
42
|
var classof = classofRaw;
|
|
44
43
|
|
|
45
|
-
var Object
|
|
44
|
+
var $Object = Object;
|
|
46
45
|
var split = uncurryThis$4(''.split);
|
|
47
46
|
|
|
48
47
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
49
|
-
var indexedObject = fails$
|
|
48
|
+
var indexedObject = fails$2(function () {
|
|
50
49
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
51
50
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
52
|
-
return
|
|
51
|
+
return !$Object('z').propertyIsEnumerable(0);
|
|
53
52
|
}) ? function (it) {
|
|
54
|
-
return classof(it) == 'String' ? split(it, '') : Object
|
|
55
|
-
} : Object
|
|
53
|
+
return classof(it) == 'String' ? split(it, '') : $Object(it);
|
|
54
|
+
} : $Object;
|
|
56
55
|
|
|
57
56
|
// toObject with fallback for non-array-like ES3 strings
|
|
58
57
|
var IndexedObject = indexedObject;
|
|
@@ -62,7 +61,7 @@ var toIndexedObject$4 = function (it) {
|
|
|
62
61
|
return IndexedObject(requireObjectCoercible(it));
|
|
63
62
|
};
|
|
64
63
|
|
|
65
|
-
var DESCRIPTORS$
|
|
64
|
+
var DESCRIPTORS$3 = descriptors;
|
|
66
65
|
var call = functionCall;
|
|
67
66
|
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
68
67
|
var createPropertyDescriptor$1 = createPropertyDescriptor$2;
|
|
@@ -71,12 +70,12 @@ var toPropertyKey = toPropertyKey$1;
|
|
|
71
70
|
var hasOwn$4 = hasOwnProperty_1;
|
|
72
71
|
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
73
72
|
|
|
74
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
73
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
75
74
|
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
76
75
|
|
|
77
76
|
// `Object.getOwnPropertyDescriptor` method
|
|
78
77
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
79
|
-
var f$3 = objectGetOwnPropertyDescriptor.f = DESCRIPTORS$
|
|
78
|
+
var f$3 = objectGetOwnPropertyDescriptor.f = DESCRIPTORS$3 ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
|
|
80
79
|
O = toIndexedObject$3(O);
|
|
81
80
|
P = toPropertyKey(P);
|
|
82
81
|
if (IE8_DOM_DEFINE) try {
|
|
@@ -85,27 +84,27 @@ var f$3 = objectGetOwnPropertyDescriptor.f = DESCRIPTORS$2 ? $getOwnPropertyDesc
|
|
|
85
84
|
if (hasOwn$4(O, P)) return createPropertyDescriptor$1(!call(propertyIsEnumerableModule.f, O, P), O[P]);
|
|
86
85
|
};
|
|
87
86
|
|
|
88
|
-
var DESCRIPTORS$
|
|
87
|
+
var DESCRIPTORS$2 = descriptors;
|
|
89
88
|
var definePropertyModule$3 = objectDefineProperty;
|
|
90
89
|
var createPropertyDescriptor = createPropertyDescriptor$2;
|
|
91
90
|
|
|
92
|
-
var createNonEnumerableProperty$
|
|
91
|
+
var createNonEnumerableProperty$2 = DESCRIPTORS$2 ? function (object, key, value) {
|
|
93
92
|
return definePropertyModule$3.f(object, key, createPropertyDescriptor(1, value));
|
|
94
93
|
} : function (object, key, value) {
|
|
95
94
|
object[key] = value;
|
|
96
95
|
return object;
|
|
97
96
|
};
|
|
98
97
|
|
|
99
|
-
var
|
|
98
|
+
var makeBuiltIn$2 = {exports: {}};
|
|
100
99
|
|
|
101
100
|
var uncurryThis$3 = functionUncurryThis;
|
|
102
|
-
var isCallable$
|
|
101
|
+
var isCallable$4 = isCallable$5;
|
|
103
102
|
var store$1 = sharedStore;
|
|
104
103
|
|
|
105
104
|
var functionToString = uncurryThis$3(Function.toString);
|
|
106
105
|
|
|
107
106
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
108
|
-
if (!isCallable$
|
|
107
|
+
if (!isCallable$4(store$1.inspectSource)) {
|
|
109
108
|
store$1.inspectSource = function (it) {
|
|
110
109
|
return functionToString(it);
|
|
111
110
|
};
|
|
@@ -113,13 +112,13 @@ if (!isCallable$3(store$1.inspectSource)) {
|
|
|
113
112
|
|
|
114
113
|
var inspectSource$2 = store$1.inspectSource;
|
|
115
114
|
|
|
116
|
-
var global$
|
|
117
|
-
var isCallable$
|
|
115
|
+
var global$2 = global$3;
|
|
116
|
+
var isCallable$3 = isCallable$5;
|
|
118
117
|
var inspectSource$1 = inspectSource$2;
|
|
119
118
|
|
|
120
|
-
var WeakMap$1 = global$
|
|
119
|
+
var WeakMap$1 = global$2.WeakMap;
|
|
121
120
|
|
|
122
|
-
var nativeWeakMap = isCallable$
|
|
121
|
+
var nativeWeakMap = isCallable$3(WeakMap$1) && /native code/.test(inspectSource$1(WeakMap$1));
|
|
123
122
|
|
|
124
123
|
var shared$1 = shared$2.exports;
|
|
125
124
|
var uid = uid$1;
|
|
@@ -133,18 +132,18 @@ var sharedKey$2 = function (key) {
|
|
|
133
132
|
var hiddenKeys$4 = {};
|
|
134
133
|
|
|
135
134
|
var NATIVE_WEAK_MAP = nativeWeakMap;
|
|
136
|
-
var global$
|
|
135
|
+
var global$1 = global$3;
|
|
137
136
|
var uncurryThis$2 = functionUncurryThis;
|
|
138
137
|
var isObject = isObject$1;
|
|
139
|
-
var createNonEnumerableProperty$
|
|
138
|
+
var createNonEnumerableProperty$1 = createNonEnumerableProperty$2;
|
|
140
139
|
var hasOwn$3 = hasOwnProperty_1;
|
|
141
140
|
var shared = sharedStore;
|
|
142
141
|
var sharedKey$1 = sharedKey$2;
|
|
143
142
|
var hiddenKeys$3 = hiddenKeys$4;
|
|
144
143
|
|
|
145
144
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
146
|
-
var TypeError = global$
|
|
147
|
-
var WeakMap = global$
|
|
145
|
+
var TypeError = global$1.TypeError;
|
|
146
|
+
var WeakMap = global$1.WeakMap;
|
|
148
147
|
var set, get, has;
|
|
149
148
|
|
|
150
149
|
var enforce = function (it) {
|
|
@@ -183,7 +182,7 @@ if (NATIVE_WEAK_MAP || shared.state) {
|
|
|
183
182
|
set = function (it, metadata) {
|
|
184
183
|
if (hasOwn$3(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
|
|
185
184
|
metadata.facade = it;
|
|
186
|
-
createNonEnumerableProperty$
|
|
185
|
+
createNonEnumerableProperty$1(it, STATE, metadata);
|
|
187
186
|
return metadata;
|
|
188
187
|
};
|
|
189
188
|
get = function (it) {
|
|
@@ -202,66 +201,107 @@ var internalState = {
|
|
|
202
201
|
getterFor: getterFor
|
|
203
202
|
};
|
|
204
203
|
|
|
205
|
-
var
|
|
206
|
-
var isCallable$
|
|
204
|
+
var fails$1 = fails$3;
|
|
205
|
+
var isCallable$2 = isCallable$5;
|
|
207
206
|
var hasOwn$2 = hasOwnProperty_1;
|
|
208
|
-
var
|
|
209
|
-
var
|
|
207
|
+
var DESCRIPTORS$1 = descriptors;
|
|
208
|
+
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
|
210
209
|
var inspectSource = inspectSource$2;
|
|
211
210
|
var InternalStateModule = internalState;
|
|
212
|
-
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
|
213
211
|
|
|
214
|
-
var getInternalState = InternalStateModule.get;
|
|
215
212
|
var enforceInternalState = InternalStateModule.enforce;
|
|
213
|
+
var getInternalState = InternalStateModule.get;
|
|
214
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
215
|
+
var defineProperty$1 = Object.defineProperty;
|
|
216
|
+
|
|
217
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS$1 && !fails$1(function () {
|
|
218
|
+
return defineProperty$1(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
219
|
+
});
|
|
220
|
+
|
|
216
221
|
var TEMPLATE = String(String).split('String');
|
|
217
222
|
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
var noTargetGet = options ? !!options.noTargetGet : false;
|
|
222
|
-
var name = options && options.name !== undefined ? options.name : key;
|
|
223
|
-
var state;
|
|
224
|
-
if (isCallable$1(value)) {
|
|
225
|
-
if (String(name).slice(0, 7) === 'Symbol(') {
|
|
226
|
-
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
|
|
227
|
-
}
|
|
228
|
-
if (!hasOwn$2(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
|
229
|
-
createNonEnumerableProperty$1(value, 'name', name);
|
|
230
|
-
}
|
|
231
|
-
state = enforceInternalState(value);
|
|
232
|
-
if (!state.source) {
|
|
233
|
-
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
|
234
|
-
}
|
|
223
|
+
var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
|
|
224
|
+
if (String(name).slice(0, 7) === 'Symbol(') {
|
|
225
|
+
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
|
|
235
226
|
}
|
|
236
|
-
if (
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
227
|
+
if (options && options.getter) name = 'get ' + name;
|
|
228
|
+
if (options && options.setter) name = 'set ' + name;
|
|
229
|
+
if (!hasOwn$2(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
|
230
|
+
if (DESCRIPTORS$1) defineProperty$1(value, 'name', { value: name, configurable: true });
|
|
231
|
+
else value.name = name;
|
|
232
|
+
}
|
|
233
|
+
if (CONFIGURABLE_LENGTH && options && hasOwn$2(options, 'arity') && value.length !== options.arity) {
|
|
234
|
+
defineProperty$1(value, 'length', { value: options.arity });
|
|
244
235
|
}
|
|
245
|
-
|
|
246
|
-
|
|
236
|
+
try {
|
|
237
|
+
if (options && hasOwn$2(options, 'constructor') && options.constructor) {
|
|
238
|
+
if (DESCRIPTORS$1) defineProperty$1(value, 'prototype', { writable: false });
|
|
239
|
+
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
240
|
+
} else if (value.prototype) value.prototype = undefined;
|
|
241
|
+
} catch (error) { /* empty */ }
|
|
242
|
+
var state = enforceInternalState(value);
|
|
243
|
+
if (!hasOwn$2(state, 'source')) {
|
|
244
|
+
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
|
245
|
+
} return value;
|
|
246
|
+
};
|
|
247
|
+
|
|
247
248
|
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
249
|
+
// eslint-disable-next-line no-extend-native -- required
|
|
250
|
+
Function.prototype.toString = makeBuiltIn$1(function toString() {
|
|
251
|
+
return isCallable$2(this) && getInternalState(this).source || inspectSource(this);
|
|
252
|
+
}, 'toString');
|
|
251
253
|
|
|
252
|
-
var
|
|
254
|
+
var makeBuiltIn_1 = makeBuiltIn$2.exports;
|
|
255
|
+
|
|
256
|
+
var isCallable$1 = isCallable$5;
|
|
257
|
+
var definePropertyModule$2 = objectDefineProperty;
|
|
258
|
+
var makeBuiltIn = makeBuiltIn$2.exports;
|
|
259
|
+
var defineGlobalProperty$1 = defineGlobalProperty$2;
|
|
260
|
+
|
|
261
|
+
var defineBuiltIn$1 = function (O, key, value, options) {
|
|
262
|
+
if (!options) options = {};
|
|
263
|
+
var simple = options.enumerable;
|
|
264
|
+
var name = options.name !== undefined ? options.name : key;
|
|
265
|
+
if (isCallable$1(value)) makeBuiltIn(value, name, options);
|
|
266
|
+
if (options.global) {
|
|
267
|
+
if (simple) O[key] = value;
|
|
268
|
+
else defineGlobalProperty$1(key, value);
|
|
269
|
+
} else {
|
|
270
|
+
try {
|
|
271
|
+
if (!options.unsafe) delete O[key];
|
|
272
|
+
else if (O[key]) simple = true;
|
|
273
|
+
} catch (error) { /* empty */ }
|
|
274
|
+
if (simple) O[key] = value;
|
|
275
|
+
else definePropertyModule$2.f(O, key, {
|
|
276
|
+
value: value,
|
|
277
|
+
enumerable: false,
|
|
278
|
+
configurable: !options.nonConfigurable,
|
|
279
|
+
writable: !options.nonWritable
|
|
280
|
+
});
|
|
281
|
+
} return O;
|
|
282
|
+
};
|
|
253
283
|
|
|
254
284
|
var objectGetOwnPropertyNames = {};
|
|
255
285
|
|
|
256
286
|
var ceil = Math.ceil;
|
|
257
287
|
var floor = Math.floor;
|
|
258
288
|
|
|
289
|
+
// `Math.trunc` method
|
|
290
|
+
// https://tc39.es/ecma262/#sec-math.trunc
|
|
291
|
+
// eslint-disable-next-line es-x/no-math-trunc -- safe
|
|
292
|
+
var mathTrunc = Math.trunc || function trunc(x) {
|
|
293
|
+
var n = +x;
|
|
294
|
+
return (n > 0 ? floor : ceil)(n);
|
|
295
|
+
};
|
|
296
|
+
|
|
297
|
+
var trunc = mathTrunc;
|
|
298
|
+
|
|
259
299
|
// `ToIntegerOrInfinity` abstract operation
|
|
260
300
|
// https://tc39.es/ecma262/#sec-tointegerorinfinity
|
|
261
301
|
var toIntegerOrInfinity$2 = function (argument) {
|
|
262
302
|
var number = +argument;
|
|
263
|
-
// eslint-disable-next-line no-self-compare --
|
|
264
|
-
return number !== number || number === 0 ? 0 : (number
|
|
303
|
+
// eslint-disable-next-line no-self-compare -- NaN check
|
|
304
|
+
return number !== number || number === 0 ? 0 : trunc(number);
|
|
265
305
|
};
|
|
266
306
|
|
|
267
307
|
var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
|
|
@@ -367,14 +407,14 @@ var hiddenKeys$1 = enumBugKeys$2.concat('length', 'prototype');
|
|
|
367
407
|
|
|
368
408
|
// `Object.getOwnPropertyNames` method
|
|
369
409
|
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
|
370
|
-
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
|
410
|
+
// eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
|
|
371
411
|
var f$2 = objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
372
412
|
return internalObjectKeys$1(O, hiddenKeys$1);
|
|
373
413
|
};
|
|
374
414
|
|
|
375
415
|
var objectGetOwnPropertySymbols = {};
|
|
376
416
|
|
|
377
|
-
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
|
417
|
+
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
|
|
378
418
|
var f$1 = objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
379
419
|
|
|
380
420
|
var getBuiltIn$1 = getBuiltIn$2;
|
|
@@ -395,11 +435,11 @@ var ownKeys$1 = getBuiltIn$1('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
|
395
435
|
var hasOwn = hasOwnProperty_1;
|
|
396
436
|
var ownKeys = ownKeys$1;
|
|
397
437
|
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
398
|
-
var definePropertyModule$
|
|
438
|
+
var definePropertyModule$1 = objectDefineProperty;
|
|
399
439
|
|
|
400
440
|
var copyConstructorProperties$1 = function (target, source, exceptions) {
|
|
401
441
|
var keys = ownKeys(source);
|
|
402
|
-
var defineProperty = definePropertyModule$
|
|
442
|
+
var defineProperty = definePropertyModule$1.f;
|
|
403
443
|
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
404
444
|
for (var i = 0; i < keys.length; i++) {
|
|
405
445
|
var key = keys[i];
|
|
@@ -409,8 +449,8 @@ var copyConstructorProperties$1 = function (target, source, exceptions) {
|
|
|
409
449
|
}
|
|
410
450
|
};
|
|
411
451
|
|
|
412
|
-
var fails = fails$
|
|
413
|
-
var isCallable = isCallable$
|
|
452
|
+
var fails = fails$3;
|
|
453
|
+
var isCallable = isCallable$5;
|
|
414
454
|
|
|
415
455
|
var replacement = /#|\.prototype\./;
|
|
416
456
|
|
|
@@ -432,28 +472,28 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
|
|
|
432
472
|
|
|
433
473
|
var isForced_1 = isForced$1;
|
|
434
474
|
|
|
435
|
-
var global = global$
|
|
475
|
+
var global = global$3;
|
|
436
476
|
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
|
437
|
-
var createNonEnumerableProperty = createNonEnumerableProperty$
|
|
438
|
-
var
|
|
439
|
-
var
|
|
477
|
+
var createNonEnumerableProperty = createNonEnumerableProperty$2;
|
|
478
|
+
var defineBuiltIn = defineBuiltIn$1;
|
|
479
|
+
var defineGlobalProperty = defineGlobalProperty$2;
|
|
440
480
|
var copyConstructorProperties = copyConstructorProperties$1;
|
|
441
481
|
var isForced = isForced_1;
|
|
442
482
|
|
|
443
483
|
/*
|
|
444
|
-
options.target
|
|
445
|
-
options.global
|
|
446
|
-
options.stat
|
|
447
|
-
options.proto
|
|
448
|
-
options.real
|
|
449
|
-
options.forced
|
|
450
|
-
options.bind
|
|
451
|
-
options.wrap
|
|
452
|
-
options.unsafe
|
|
453
|
-
options.sham
|
|
454
|
-
options.enumerable
|
|
455
|
-
options.
|
|
456
|
-
options.name
|
|
484
|
+
options.target - name of the target object
|
|
485
|
+
options.global - target is the global object
|
|
486
|
+
options.stat - export as static methods of target
|
|
487
|
+
options.proto - export as prototype methods of target
|
|
488
|
+
options.real - real prototype method for the `pure` version
|
|
489
|
+
options.forced - export even if the native feature is available
|
|
490
|
+
options.bind - bind methods to the target, required for the `pure` version
|
|
491
|
+
options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
|
|
492
|
+
options.unsafe - use the simple assignment of property instead of delete + defineProperty
|
|
493
|
+
options.sham - add a flag to not completely full polyfills
|
|
494
|
+
options.enumerable - export as enumerable property
|
|
495
|
+
options.dontCallGetSet - prevent calling a getter on target
|
|
496
|
+
options.name - the .name of the function if it does not match the key
|
|
457
497
|
*/
|
|
458
498
|
var _export = function (options, source) {
|
|
459
499
|
var TARGET = options.target;
|
|
@@ -463,13 +503,13 @@ var _export = function (options, source) {
|
|
|
463
503
|
if (GLOBAL) {
|
|
464
504
|
target = global;
|
|
465
505
|
} else if (STATIC) {
|
|
466
|
-
target = global[TARGET] ||
|
|
506
|
+
target = global[TARGET] || defineGlobalProperty(TARGET, {});
|
|
467
507
|
} else {
|
|
468
508
|
target = (global[TARGET] || {}).prototype;
|
|
469
509
|
}
|
|
470
510
|
if (target) for (key in source) {
|
|
471
511
|
sourceProperty = source[key];
|
|
472
|
-
if (options.
|
|
512
|
+
if (options.dontCallGetSet) {
|
|
473
513
|
descriptor = getOwnPropertyDescriptor(target, key);
|
|
474
514
|
targetProperty = descriptor && descriptor.value;
|
|
475
515
|
} else targetProperty = target[key];
|
|
@@ -483,8 +523,7 @@ var _export = function (options, source) {
|
|
|
483
523
|
if (options.sham || (targetProperty && targetProperty.sham)) {
|
|
484
524
|
createNonEnumerableProperty(sourceProperty, 'sham', true);
|
|
485
525
|
}
|
|
486
|
-
|
|
487
|
-
redefine(target, key, sourceProperty, options);
|
|
526
|
+
defineBuiltIn(target, key, sourceProperty, options);
|
|
488
527
|
}
|
|
489
528
|
};
|
|
490
529
|
|
|
@@ -493,7 +532,7 @@ var enumBugKeys$1 = enumBugKeys$3;
|
|
|
493
532
|
|
|
494
533
|
// `Object.keys` method
|
|
495
534
|
// https://tc39.es/ecma262/#sec-object.keys
|
|
496
|
-
// eslint-disable-next-line es/no-object-keys -- safe
|
|
535
|
+
// eslint-disable-next-line es-x/no-object-keys -- safe
|
|
497
536
|
var objectKeys$1 = Object.keys || function keys(O) {
|
|
498
537
|
return internalObjectKeys(O, enumBugKeys$1);
|
|
499
538
|
};
|
|
@@ -502,14 +541,14 @@ var objectDefineProperties = {};
|
|
|
502
541
|
|
|
503
542
|
var DESCRIPTORS = descriptors;
|
|
504
543
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
505
|
-
var definePropertyModule
|
|
544
|
+
var definePropertyModule = objectDefineProperty;
|
|
506
545
|
var anObject$1 = anObject$3;
|
|
507
546
|
var toIndexedObject = toIndexedObject$4;
|
|
508
547
|
var objectKeys = objectKeys$1;
|
|
509
548
|
|
|
510
549
|
// `Object.defineProperties` method
|
|
511
550
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
512
|
-
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
551
|
+
// eslint-disable-next-line es-x/no-object-defineproperties -- safe
|
|
513
552
|
var f = objectDefineProperties.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
514
553
|
anObject$1(O);
|
|
515
554
|
var props = toIndexedObject(Properties);
|
|
@@ -517,7 +556,7 @@ var f = objectDefineProperties.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Obj
|
|
|
517
556
|
var length = keys.length;
|
|
518
557
|
var index = 0;
|
|
519
558
|
var key;
|
|
520
|
-
while (length > index) definePropertyModule
|
|
559
|
+
while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
|
|
521
560
|
return O;
|
|
522
561
|
};
|
|
523
562
|
|
|
@@ -597,6 +636,7 @@ hiddenKeys[IE_PROTO] = true;
|
|
|
597
636
|
|
|
598
637
|
// `Object.create` method
|
|
599
638
|
// https://tc39.es/ecma262/#sec-object.create
|
|
639
|
+
// eslint-disable-next-line es-x/no-object-create -- safe
|
|
600
640
|
var objectCreate = Object.create || function create(O, Properties) {
|
|
601
641
|
var result;
|
|
602
642
|
if (O !== null) {
|
|
@@ -611,7 +651,7 @@ var objectCreate = Object.create || function create(O, Properties) {
|
|
|
611
651
|
|
|
612
652
|
var wellKnownSymbol = wellKnownSymbol$1;
|
|
613
653
|
var create = objectCreate;
|
|
614
|
-
var
|
|
654
|
+
var defineProperty = objectDefineProperty.f;
|
|
615
655
|
|
|
616
656
|
var UNSCOPABLES = wellKnownSymbol('unscopables');
|
|
617
657
|
var ArrayPrototype = Array.prototype;
|
|
@@ -619,7 +659,7 @@ var ArrayPrototype = Array.prototype;
|
|
|
619
659
|
// Array.prototype[@@unscopables]
|
|
620
660
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
621
661
|
if (ArrayPrototype[UNSCOPABLES] == undefined) {
|
|
622
|
-
|
|
662
|
+
defineProperty(ArrayPrototype, UNSCOPABLES, {
|
|
623
663
|
configurable: true,
|
|
624
664
|
value: create(null)
|
|
625
665
|
});
|
|
@@ -630,4 +670,4 @@ var addToUnscopables = function (key) {
|
|
|
630
670
|
ArrayPrototype[UNSCOPABLES][key] = true;
|
|
631
671
|
};
|
|
632
672
|
|
|
633
|
-
export { _export as _, objectPropertyIsEnumerable as a, classofRaw as b, createNonEnumerableProperty$
|
|
673
|
+
export { _export as _, objectPropertyIsEnumerable as a, classofRaw as b, createNonEnumerableProperty$2 as c, defineBuiltIn$1 as d, indexedObject as e, isForced_1 as f, objectGetOwnPropertyNames as g, objectGetOwnPropertyDescriptor as h, inspectSource$2 as i, addToUnscopables as j, arrayIncludes as k, lengthOfArrayLike$1 as l, objectKeys$1 as o, toIndexedObject$4 as t };
|
|
@@ -1,16 +1,22 @@
|
|
|
1
|
-
import './function-name-
|
|
2
|
-
import { _ as _export,
|
|
1
|
+
import { f as fails$1 } from './function-name-f0c1223e.js';
|
|
2
|
+
import { _ as _export, k as arrayIncludes, j as addToUnscopables$1 } from './add-to-unscopables-81c17489.js';
|
|
3
3
|
|
|
4
4
|
var es_array_includes = {};
|
|
5
5
|
|
|
6
6
|
'use strict';
|
|
7
7
|
var $ = _export;
|
|
8
8
|
var $includes = arrayIncludes.includes;
|
|
9
|
+
var fails = fails$1;
|
|
9
10
|
var addToUnscopables = addToUnscopables$1;
|
|
10
11
|
|
|
12
|
+
// FF99+ bug
|
|
13
|
+
var BROKEN_ON_SPARSE = fails(function () {
|
|
14
|
+
return !Array(1).includes();
|
|
15
|
+
});
|
|
16
|
+
|
|
11
17
|
// `Array.prototype.includes` method
|
|
12
18
|
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
13
|
-
$({ target: 'Array', proto: true }, {
|
|
19
|
+
$({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
|
|
14
20
|
includes: function includes(el /* , fromIndex = 0 */) {
|
|
15
21
|
return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
|
|
16
22
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as descriptors,
|
|
1
|
+
import { a as descriptors, A as functionName, b as functionUncurryThis, q as objectDefineProperty } from './function-name-f0c1223e.js';
|
|
2
2
|
|
|
3
3
|
var es_function_name = {};
|
|
4
4
|
|