@frollo/frollo-web-ui 7.0.1 → 8.0.0
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 +34615 -34451
- package/esm/_rollupPluginBabelHelpers-DpC_oIQV.js +2566 -0
- package/esm/{check-94a5917a.js → check--YD4Ts6g.js} +4 -4
- package/esm/fw-accordion.js +27 -26
- package/esm/fw-animations.js +23 -26
- package/esm/fw-bar-chart.js +15289 -19
- package/esm/{fw-button-c8502414.js → fw-button-4QLZlu0U.js} +44 -44
- package/esm/fw-button.js +5 -10
- package/esm/{fw-card-1b6a67fe.js → fw-card-bsYbpPmW.js} +12 -12
- package/esm/fw-card.js +1 -1
- package/esm/fw-checkbox.js +23 -32
- package/esm/fw-date-picker.js +137 -80
- package/esm/fw-drawer.js +31 -34
- package/esm/fw-dropdown-nLtzu2fS.js +277 -0
- package/esm/fw-dropdown.js +7 -15
- package/esm/fw-form.js +1 -1
- package/esm/fw-image-DOgM8i8X.js +200 -0
- package/esm/fw-image.js +5 -21
- package/esm/{fw-input-8969b226.js → fw-input-Qiy53nRk.js} +61 -53
- package/esm/fw-input.js +6 -19
- package/esm/fw-loading-bar-DThRjdw1.js +22 -0
- package/esm/{fw-loading-spinner-72d70258.js → fw-loading-spinner-Dn52RI5h.js} +1 -1
- package/esm/fw-loading.js +3 -7
- package/esm/fw-modal.js +79 -53
- package/esm/fw-navigation-menu.js +15 -20
- package/esm/fw-popover.js +39 -375
- package/esm/fw-progress-bar.js +8 -11
- package/esm/fw-provider-list.js +41 -84
- package/esm/fw-sidebar-menu.js +33 -24
- package/esm/{fw-table-row-23f78218.js → fw-table-row-DkZaaMmE.js} +15 -301
- package/esm/fw-table.js +6 -16
- package/esm/fw-tabs.js +21 -103
- package/esm/{fw-tag-ac28200a.js → fw-tag-CPp1P480.js} +29 -20
- package/esm/fw-tag.js +7 -12
- package/esm/fw-toast.js +22 -37
- package/esm/fw-transactions-card.js +14 -30
- package/esm/index-CUPvK0Aa.js +586 -0
- package/esm/index.js +66 -228
- package/esm/vee-validate.esm-3ptvCDR1.js +4071 -0
- package/frollo-web-ui.esm.js +34134 -34388
- package/icons/chart-line-up.svg +3 -0
- package/icons/icons.stories.ts +24 -29
- package/icons/index.ts +5 -1
- package/icons/sack-dollar.svg +3 -0
- package/icons/xmark.svg +2 -2
- package/index.d.ts +2789 -2573
- package/package.json +75 -73
- package/styles/tailwind.scss +6 -0
- package/types/components/fw-accordion/fw-accordion.vue.d.ts +128 -128
- package/types/components/fw-accordion/index.d.ts +2 -2
- package/types/components/fw-accordion/index.types.d.ts +10 -10
- package/types/components/fw-animations/fw-email-pulse.vue.d.ts +24 -24
- package/types/components/fw-animations/fw-loading-spinner.vue.d.ts +2 -2
- package/types/components/fw-animations/fw-success-pulse.vue.d.ts +24 -24
- package/types/components/fw-animations/index.d.ts +4 -4
- package/types/components/fw-bar-chart/fw-bar-chart.vue.d.ts +83 -83
- package/types/components/fw-bar-chart/index.d.ts +2 -2
- package/types/components/fw-bar-chart/index.types.d.ts +11 -11
- package/types/components/fw-button/fw-button.vue.d.ts +190 -176
- package/types/components/fw-button/index.d.ts +2 -2
- package/types/components/fw-button/index.types.d.ts +27 -26
- package/types/components/fw-card/fw-card.vue.d.ts +82 -82
- package/types/components/fw-card/index.d.ts +2 -2
- package/types/components/fw-card/index.types.d.ts +8 -8
- package/types/components/fw-checkbox/fw-checkbox.vue.d.ts +108 -108
- package/types/components/fw-checkbox/index.d.ts +2 -2
- package/types/components/fw-checkbox/index.types.d.ts +9 -9
- package/types/components/fw-date-picker/fw-date-picker.vue.d.ts +249 -177
- package/types/components/fw-date-picker/index.d.ts +2 -2
- package/types/components/fw-date-picker/index.types.d.ts +21 -16
- package/types/components/fw-drawer/fw-drawer.vue.d.ts +165 -165
- package/types/components/fw-drawer/index.d.ts +2 -2
- package/types/components/fw-drawer/index.types.d.ts +13 -13
- package/types/components/fw-dropdown/fw-dropdown.vue.d.ts +154 -130
- package/types/components/fw-dropdown/index.d.ts +2 -2
- package/types/components/fw-dropdown/index.types.d.ts +16 -13
- package/types/components/fw-form/index.d.ts +2 -2
- package/types/components/fw-image/fw-image.vue.d.ts +103 -84
- package/types/components/fw-image/index.d.ts +2 -2
- package/types/components/fw-image/index.types.d.ts +9 -8
- package/types/components/fw-input/fw-input.vue.d.ts +214 -197
- package/types/components/fw-input/index.d.ts +2 -2
- package/types/components/fw-input/index.types.d.ts +18 -16
- package/types/components/fw-loading/fw-loading-bar.vue.d.ts +2 -2
- package/types/components/fw-loading/fw-loading-card.vue.d.ts +2 -2
- package/types/components/fw-loading/fw-loading-table.vue.d.ts +25 -25
- package/types/components/fw-loading/index.d.ts +4 -4
- package/types/components/fw-modal/fw-modal.vue.d.ts +205 -175
- package/types/components/fw-modal/index.d.ts +2 -2
- package/types/components/fw-modal/index.types.d.ts +16 -14
- package/types/components/fw-navigation-menu/fw-navigation-menu.vue.d.ts +57 -57
- package/types/components/fw-navigation-menu/index.d.ts +2 -2
- package/types/components/fw-navigation-menu/index.types.d.ts +7 -7
- package/types/components/fw-popover/fw-popover.vue.d.ts +157 -157
- package/types/components/fw-popover/index.d.ts +2 -2
- package/types/components/fw-popover/index.types.d.ts +11 -11
- package/types/components/fw-progress-bar/fw-progress-bar.vue.d.ts +52 -52
- package/types/components/fw-progress-bar/index.d.ts +2 -2
- package/types/components/fw-progress-bar/index.types.d.ts +5 -5
- package/types/components/fw-provider-list/fw-provider-list.vue.d.ts +100 -100
- package/types/components/fw-provider-list/index.d.ts +2 -2
- package/types/components/fw-provider-list/index.types.d.ts +11 -11
- package/types/components/fw-sidebar-menu/fw-sidebar-menu.vue.d.ts +88 -72
- package/types/components/fw-sidebar-menu/index.d.ts +2 -2
- package/types/components/fw-sidebar-menu/index.types.d.ts +9 -8
- package/types/components/fw-table/fw-table-head.vue.d.ts +2 -2
- package/types/components/fw-table/fw-table-row.vue.d.ts +2 -2
- package/types/components/fw-table/fw-table.vue.d.ts +71 -71
- package/types/components/fw-table/index.d.ts +4 -4
- package/types/components/fw-table/index.types.d.ts +16 -16
- package/types/components/fw-tabs/fw-tab.vue.d.ts +24 -32
- package/types/components/fw-tabs/fw-tabs.vue.d.ts +24 -24
- package/types/components/fw-tabs/index.d.ts +3 -3
- package/types/components/fw-tabs/index.types.d.ts +8 -0
- package/types/components/fw-tag/fw-tag.vue.d.ts +80 -70
- package/types/components/fw-tag/index.d.ts +2 -2
- package/types/components/fw-tag/index.types.d.ts +18 -18
- package/types/components/fw-toast/fw-toast.vue.d.ts +121 -121
- package/types/components/fw-toast/index.d.ts +2 -2
- package/types/components/fw-toast/index.types.d.ts +13 -13
- package/types/components/fw-transactions-card/fw-transactions-card.vue.d.ts +58 -58
- package/types/components/fw-transactions-card/index.d.ts +2 -2
- package/types/components/fw-transactions-card/index.types.d.ts +6 -6
- package/types/components/index.d.ts +24 -24
- package/types/components/index.types.d.ts +21 -20
- package/types/directives/index.d.ts +2 -2
- package/types/directives/lazy-loader.d.ts +3 -3
- package/types/helpers/get-root-colours.d.ts +17 -17
- package/types/icons/index.d.ts +43 -41
- package/types/index-types.esm.d.ts +6 -6
- package/types/index.browser-umd.d.ts +2 -1
- package/types/index.d.ts +3 -3
- package/types/index.esm.d.ts +5 -5
- package/types/services/index.d.ts +2 -2
- package/types/services/modal.d.ts +9 -9
- package/types/services/toast.d.ts +9 -9
- package/web-components/index.js +19662 -19720
- package/esm/add-to-unscopables-ee05b58f.js +0 -25
- package/esm/array-iteration-8267bf22.js +0 -92
- package/esm/array-method-has-species-support-6c675094.js +0 -23
- package/esm/array-method-is-strict-d313436f.js +0 -14
- package/esm/array-species-create-1c67e297.js +0 -97
- package/esm/classof-d44bf093.js +0 -42
- package/esm/create-property-eb329361.js +0 -14
- package/esm/defineProperty-b85f2e0f.js +0 -42
- package/esm/does-not-exceed-safe-integer-de37ce28.js +0 -11
- package/esm/es.array.concat-99b85557.js +0 -69
- package/esm/es.array.find-1ded15d5.js +0 -28
- package/esm/es.array.includes-08e25019.js +0 -27
- package/esm/es.array.map-c56ebffd.js +0 -22
- package/esm/es.date.to-string-15eb9936.js +0 -23
- package/esm/es.function.name-6cafd747.js +0 -29
- package/esm/es.number.constructor-fb16fe05.js +0 -204
- package/esm/es.object.to-string-4b07c4d1.js +0 -24
- package/esm/es.string.includes-061e8272.js +0 -66
- package/esm/es.string.iterator-25db8cd2.js +0 -469
- package/esm/export-10c4adbc.js +0 -95
- package/esm/function-apply-e17cf65b.js +0 -14
- package/esm/fw-dropdown-6856e66e.js +0 -224
- package/esm/fw-image-aca2c61d.js +0 -296
- package/esm/fw-loading-bar-f5ca605c.js +0 -22
- package/esm/index-6758f755.js +0 -15797
- package/esm/index-bced3b35.js +0 -560
- package/esm/is-forced-7cb3ee8f.js +0 -927
- package/esm/object-create-51bf02dc.js +0 -125
- package/esm/regexp-flags-c09864e5.js +0 -50
- package/esm/vee-validate.esm-a17a23c3.js +0 -3192
- package/esm/web.timers-e406c8e6.js +0 -72
- /package/esm/{get-root-colours-865a52ba.js → get-root-colours-DYEoJPEb.js} +0 -0
- /package/esm/{index-0c5cae4f.js → index-BVcOAKar.js} +0 -0
- /package/esm/{style-inject.es-1f59c1d0.js → style-inject.es-tgCJW-Cu.js} +0 -0
- /package/esm/{uniqueId-fe08534a.js → uniqueId-DK6xzFd8.js} +0 -0
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { w as wellKnownSymbol$1, G as objectDefineProperty } from './is-forced-7cb3ee8f.js';
|
|
2
|
-
import { a as objectCreate } from './object-create-51bf02dc.js';
|
|
3
|
-
|
|
4
|
-
var wellKnownSymbol = wellKnownSymbol$1;
|
|
5
|
-
var create = objectCreate;
|
|
6
|
-
var defineProperty = objectDefineProperty.f;
|
|
7
|
-
|
|
8
|
-
var UNSCOPABLES = wellKnownSymbol('unscopables');
|
|
9
|
-
var ArrayPrototype = Array.prototype;
|
|
10
|
-
|
|
11
|
-
// Array.prototype[@@unscopables]
|
|
12
|
-
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
13
|
-
if (ArrayPrototype[UNSCOPABLES] == undefined) {
|
|
14
|
-
defineProperty(ArrayPrototype, UNSCOPABLES, {
|
|
15
|
-
configurable: true,
|
|
16
|
-
value: create(null)
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
// add a key to Array.prototype[@@unscopables]
|
|
21
|
-
var addToUnscopables = function (key) {
|
|
22
|
-
ArrayPrototype[UNSCOPABLES][key] = true;
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
export { addToUnscopables as a };
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import { f as functionUncurryThis, k as aCallable$1, R as functionBindNative, S as indexedObject, e as toObject$1, l as lengthOfArrayLike$1 } from './is-forced-7cb3ee8f.js';
|
|
2
|
-
import { a as arraySpeciesCreate$1 } from './array-species-create-1c67e297.js';
|
|
3
|
-
|
|
4
|
-
var uncurryThis$1 = functionUncurryThis;
|
|
5
|
-
var aCallable = aCallable$1;
|
|
6
|
-
var NATIVE_BIND = functionBindNative;
|
|
7
|
-
|
|
8
|
-
var bind$1 = uncurryThis$1(uncurryThis$1.bind);
|
|
9
|
-
|
|
10
|
-
// optional / simple context binding
|
|
11
|
-
var functionBindContext = function (fn, that) {
|
|
12
|
-
aCallable(fn);
|
|
13
|
-
return that === undefined ? fn : NATIVE_BIND ? bind$1(fn, that) : function (/* ...args */) {
|
|
14
|
-
return fn.apply(that, arguments);
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
var bind = functionBindContext;
|
|
19
|
-
var uncurryThis = functionUncurryThis;
|
|
20
|
-
var IndexedObject = indexedObject;
|
|
21
|
-
var toObject = toObject$1;
|
|
22
|
-
var lengthOfArrayLike = lengthOfArrayLike$1;
|
|
23
|
-
var arraySpeciesCreate = arraySpeciesCreate$1;
|
|
24
|
-
|
|
25
|
-
var push = uncurryThis([].push);
|
|
26
|
-
|
|
27
|
-
// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
|
|
28
|
-
var createMethod = function (TYPE) {
|
|
29
|
-
var IS_MAP = TYPE == 1;
|
|
30
|
-
var IS_FILTER = TYPE == 2;
|
|
31
|
-
var IS_SOME = TYPE == 3;
|
|
32
|
-
var IS_EVERY = TYPE == 4;
|
|
33
|
-
var IS_FIND_INDEX = TYPE == 6;
|
|
34
|
-
var IS_FILTER_REJECT = TYPE == 7;
|
|
35
|
-
var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
|
|
36
|
-
return function ($this, callbackfn, that, specificCreate) {
|
|
37
|
-
var O = toObject($this);
|
|
38
|
-
var self = IndexedObject(O);
|
|
39
|
-
var boundFunction = bind(callbackfn, that);
|
|
40
|
-
var length = lengthOfArrayLike(self);
|
|
41
|
-
var index = 0;
|
|
42
|
-
var create = specificCreate || arraySpeciesCreate;
|
|
43
|
-
var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;
|
|
44
|
-
var value, result;
|
|
45
|
-
for (;length > index; index++) if (NO_HOLES || index in self) {
|
|
46
|
-
value = self[index];
|
|
47
|
-
result = boundFunction(value, index, O);
|
|
48
|
-
if (TYPE) {
|
|
49
|
-
if (IS_MAP) target[index] = result; // map
|
|
50
|
-
else if (result) switch (TYPE) {
|
|
51
|
-
case 3: return true; // some
|
|
52
|
-
case 5: return value; // find
|
|
53
|
-
case 6: return index; // findIndex
|
|
54
|
-
case 2: push(target, value); // filter
|
|
55
|
-
} else switch (TYPE) {
|
|
56
|
-
case 4: return false; // every
|
|
57
|
-
case 7: push(target, value); // filterReject
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
|
|
62
|
-
};
|
|
63
|
-
};
|
|
64
|
-
|
|
65
|
-
var arrayIteration = {
|
|
66
|
-
// `Array.prototype.forEach` method
|
|
67
|
-
// https://tc39.es/ecma262/#sec-array.prototype.foreach
|
|
68
|
-
forEach: createMethod(0),
|
|
69
|
-
// `Array.prototype.map` method
|
|
70
|
-
// https://tc39.es/ecma262/#sec-array.prototype.map
|
|
71
|
-
map: createMethod(1),
|
|
72
|
-
// `Array.prototype.filter` method
|
|
73
|
-
// https://tc39.es/ecma262/#sec-array.prototype.filter
|
|
74
|
-
filter: createMethod(2),
|
|
75
|
-
// `Array.prototype.some` method
|
|
76
|
-
// https://tc39.es/ecma262/#sec-array.prototype.some
|
|
77
|
-
some: createMethod(3),
|
|
78
|
-
// `Array.prototype.every` method
|
|
79
|
-
// https://tc39.es/ecma262/#sec-array.prototype.every
|
|
80
|
-
every: createMethod(4),
|
|
81
|
-
// `Array.prototype.find` method
|
|
82
|
-
// https://tc39.es/ecma262/#sec-array.prototype.find
|
|
83
|
-
find: createMethod(5),
|
|
84
|
-
// `Array.prototype.findIndex` method
|
|
85
|
-
// https://tc39.es/ecma262/#sec-array.prototype.findIndex
|
|
86
|
-
findIndex: createMethod(6),
|
|
87
|
-
// `Array.prototype.filterReject` method
|
|
88
|
-
// https://github.com/tc39/proposal-array-filtering
|
|
89
|
-
filterReject: createMethod(7)
|
|
90
|
-
};
|
|
91
|
-
|
|
92
|
-
export { arrayIteration as a, functionBindContext as f };
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { h as fails$1, w as wellKnownSymbol$1, m as engineV8Version } from './is-forced-7cb3ee8f.js';
|
|
2
|
-
|
|
3
|
-
var fails = fails$1;
|
|
4
|
-
var wellKnownSymbol = wellKnownSymbol$1;
|
|
5
|
-
var V8_VERSION = engineV8Version;
|
|
6
|
-
|
|
7
|
-
var SPECIES = wellKnownSymbol('species');
|
|
8
|
-
|
|
9
|
-
var arrayMethodHasSpeciesSupport = function (METHOD_NAME) {
|
|
10
|
-
// We can't use this feature detection in V8 since it causes
|
|
11
|
-
// deoptimization and serious performance degradation
|
|
12
|
-
// https://github.com/zloirock/core-js/issues/677
|
|
13
|
-
return V8_VERSION >= 51 || !fails(function () {
|
|
14
|
-
var array = [];
|
|
15
|
-
var constructor = array.constructor = {};
|
|
16
|
-
constructor[SPECIES] = function () {
|
|
17
|
-
return { foo: 1 };
|
|
18
|
-
};
|
|
19
|
-
return array[METHOD_NAME](Boolean).foo !== 1;
|
|
20
|
-
});
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
export { arrayMethodHasSpeciesSupport as a };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { h as fails$1 } from './is-forced-7cb3ee8f.js';
|
|
2
|
-
|
|
3
|
-
'use strict';
|
|
4
|
-
var fails = fails$1;
|
|
5
|
-
|
|
6
|
-
var arrayMethodIsStrict = function (METHOD_NAME, argument) {
|
|
7
|
-
var method = [][METHOD_NAME];
|
|
8
|
-
return !!method && fails(function () {
|
|
9
|
-
// eslint-disable-next-line no-useless-call -- required for testing
|
|
10
|
-
method.call(null, argument || function () { return 1; }, 1);
|
|
11
|
-
});
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export { arrayMethodIsStrict as a };
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { y as classofRaw, f as functionUncurryThis, h as fails$1, x as isCallable$1, D as getBuiltIn$1, X as inspectSource$1, K as isObject$1, w as wellKnownSymbol$1 } from './is-forced-7cb3ee8f.js';
|
|
2
|
-
import { c as classof$2 } from './classof-d44bf093.js';
|
|
3
|
-
|
|
4
|
-
var classof$1 = classofRaw;
|
|
5
|
-
|
|
6
|
-
// `IsArray` abstract operation
|
|
7
|
-
// https://tc39.es/ecma262/#sec-isarray
|
|
8
|
-
// eslint-disable-next-line es-x/no-array-isarray -- safe
|
|
9
|
-
var isArray$1 = Array.isArray || function isArray(argument) {
|
|
10
|
-
return classof$1(argument) == 'Array';
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
var uncurryThis = functionUncurryThis;
|
|
14
|
-
var fails = fails$1;
|
|
15
|
-
var isCallable = isCallable$1;
|
|
16
|
-
var classof = classof$2;
|
|
17
|
-
var getBuiltIn = getBuiltIn$1;
|
|
18
|
-
var inspectSource = inspectSource$1;
|
|
19
|
-
|
|
20
|
-
var noop = function () { /* empty */ };
|
|
21
|
-
var empty = [];
|
|
22
|
-
var construct = getBuiltIn('Reflect', 'construct');
|
|
23
|
-
var constructorRegExp = /^\s*(?:class|function)\b/;
|
|
24
|
-
var exec = uncurryThis(constructorRegExp.exec);
|
|
25
|
-
var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
|
|
26
|
-
|
|
27
|
-
var isConstructorModern = function isConstructor(argument) {
|
|
28
|
-
if (!isCallable(argument)) return false;
|
|
29
|
-
try {
|
|
30
|
-
construct(noop, empty, argument);
|
|
31
|
-
return true;
|
|
32
|
-
} catch (error) {
|
|
33
|
-
return false;
|
|
34
|
-
}
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
var isConstructorLegacy = function isConstructor(argument) {
|
|
38
|
-
if (!isCallable(argument)) return false;
|
|
39
|
-
switch (classof(argument)) {
|
|
40
|
-
case 'AsyncFunction':
|
|
41
|
-
case 'GeneratorFunction':
|
|
42
|
-
case 'AsyncGeneratorFunction': return false;
|
|
43
|
-
}
|
|
44
|
-
try {
|
|
45
|
-
// we can't check .prototype since constructors produced by .bind haven't it
|
|
46
|
-
// `Function#toString` throws on some built-it function in some legacy engines
|
|
47
|
-
// (for example, `DOMQuad` and similar in FF41-)
|
|
48
|
-
return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
|
|
49
|
-
} catch (error) {
|
|
50
|
-
return true;
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
isConstructorLegacy.sham = true;
|
|
55
|
-
|
|
56
|
-
// `IsConstructor` abstract operation
|
|
57
|
-
// https://tc39.es/ecma262/#sec-isconstructor
|
|
58
|
-
var isConstructor$1 = !construct || fails(function () {
|
|
59
|
-
var called;
|
|
60
|
-
return isConstructorModern(isConstructorModern.call)
|
|
61
|
-
|| !isConstructorModern(Object)
|
|
62
|
-
|| !isConstructorModern(function () { called = true; })
|
|
63
|
-
|| called;
|
|
64
|
-
}) ? isConstructorLegacy : isConstructorModern;
|
|
65
|
-
|
|
66
|
-
var isArray = isArray$1;
|
|
67
|
-
var isConstructor = isConstructor$1;
|
|
68
|
-
var isObject = isObject$1;
|
|
69
|
-
var wellKnownSymbol = wellKnownSymbol$1;
|
|
70
|
-
|
|
71
|
-
var SPECIES = wellKnownSymbol('species');
|
|
72
|
-
var $Array = Array;
|
|
73
|
-
|
|
74
|
-
// a part of `ArraySpeciesCreate` abstract operation
|
|
75
|
-
// https://tc39.es/ecma262/#sec-arrayspeciescreate
|
|
76
|
-
var arraySpeciesConstructor$1 = function (originalArray) {
|
|
77
|
-
var C;
|
|
78
|
-
if (isArray(originalArray)) {
|
|
79
|
-
C = originalArray.constructor;
|
|
80
|
-
// cross-realm fallback
|
|
81
|
-
if (isConstructor(C) && (C === $Array || isArray(C.prototype))) C = undefined;
|
|
82
|
-
else if (isObject(C)) {
|
|
83
|
-
C = C[SPECIES];
|
|
84
|
-
if (C === null) C = undefined;
|
|
85
|
-
}
|
|
86
|
-
} return C === undefined ? $Array : C;
|
|
87
|
-
};
|
|
88
|
-
|
|
89
|
-
var arraySpeciesConstructor = arraySpeciesConstructor$1;
|
|
90
|
-
|
|
91
|
-
// `ArraySpeciesCreate` abstract operation
|
|
92
|
-
// https://tc39.es/ecma262/#sec-arrayspeciescreate
|
|
93
|
-
var arraySpeciesCreate = function (originalArray, length) {
|
|
94
|
-
return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
|
|
95
|
-
};
|
|
96
|
-
|
|
97
|
-
export { arraySpeciesCreate as a, isConstructor$1 as b, isArray$1 as i };
|
package/esm/classof-d44bf093.js
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { w as wellKnownSymbol$2, x as isCallable$1, y as classofRaw$1 } from './is-forced-7cb3ee8f.js';
|
|
2
|
-
|
|
3
|
-
var wellKnownSymbol$1 = wellKnownSymbol$2;
|
|
4
|
-
|
|
5
|
-
var TO_STRING_TAG$1 = wellKnownSymbol$1('toStringTag');
|
|
6
|
-
var test = {};
|
|
7
|
-
|
|
8
|
-
test[TO_STRING_TAG$1] = 'z';
|
|
9
|
-
|
|
10
|
-
var toStringTagSupport = String(test) === '[object z]';
|
|
11
|
-
|
|
12
|
-
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
13
|
-
var isCallable = isCallable$1;
|
|
14
|
-
var classofRaw = classofRaw$1;
|
|
15
|
-
var wellKnownSymbol = wellKnownSymbol$2;
|
|
16
|
-
|
|
17
|
-
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
|
18
|
-
var $Object = Object;
|
|
19
|
-
|
|
20
|
-
// ES3 wrong here
|
|
21
|
-
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
|
|
22
|
-
|
|
23
|
-
// fallback for IE11 Script Access Denied error
|
|
24
|
-
var tryGet = function (it, key) {
|
|
25
|
-
try {
|
|
26
|
-
return it[key];
|
|
27
|
-
} catch (error) { /* empty */ }
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
// getting tag from ES6+ `Object.prototype.toString`
|
|
31
|
-
var classof = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
|
32
|
-
var O, tag, result;
|
|
33
|
-
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
34
|
-
// @@toStringTag case
|
|
35
|
-
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
|
|
36
|
-
// builtinTag case
|
|
37
|
-
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
38
|
-
// ES3 arguments fallback
|
|
39
|
-
: (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
export { classof as c, toStringTagSupport as t };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Y as toPropertyKey$1, G as objectDefineProperty, Q as createPropertyDescriptor$1 } from './is-forced-7cb3ee8f.js';
|
|
2
|
-
|
|
3
|
-
'use strict';
|
|
4
|
-
var toPropertyKey = toPropertyKey$1;
|
|
5
|
-
var definePropertyModule = objectDefineProperty;
|
|
6
|
-
var createPropertyDescriptor = createPropertyDescriptor$1;
|
|
7
|
-
|
|
8
|
-
var createProperty = function (object, key, value) {
|
|
9
|
-
var propertyKey = toPropertyKey(key);
|
|
10
|
-
if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));
|
|
11
|
-
else object[propertyKey] = value;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export { createProperty as c };
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
function _typeof(o) {
|
|
2
|
-
"@babel/helpers - typeof";
|
|
3
|
-
|
|
4
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
5
|
-
return typeof o;
|
|
6
|
-
} : function (o) {
|
|
7
|
-
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
8
|
-
}, _typeof(o);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
function _toPrimitive(input, hint) {
|
|
12
|
-
if (_typeof(input) !== "object" || input === null) return input;
|
|
13
|
-
var prim = input[Symbol.toPrimitive];
|
|
14
|
-
if (prim !== undefined) {
|
|
15
|
-
var res = prim.call(input, hint || "default");
|
|
16
|
-
if (_typeof(res) !== "object") return res;
|
|
17
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
18
|
-
}
|
|
19
|
-
return (hint === "string" ? String : Number)(input);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
function _toPropertyKey(arg) {
|
|
23
|
-
var key = _toPrimitive(arg, "string");
|
|
24
|
-
return _typeof(key) === "symbol" ? key : String(key);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
function _defineProperty(obj, key, value) {
|
|
28
|
-
key = _toPropertyKey(key);
|
|
29
|
-
if (key in obj) {
|
|
30
|
-
Object.defineProperty(obj, key, {
|
|
31
|
-
value: value,
|
|
32
|
-
enumerable: true,
|
|
33
|
-
configurable: true,
|
|
34
|
-
writable: true
|
|
35
|
-
});
|
|
36
|
-
} else {
|
|
37
|
-
obj[key] = value;
|
|
38
|
-
}
|
|
39
|
-
return obj;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
export { _defineProperty as _, _typeof as a };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import './is-forced-7cb3ee8f.js';
|
|
2
|
-
|
|
3
|
-
var $TypeError = TypeError;
|
|
4
|
-
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
|
|
5
|
-
|
|
6
|
-
var doesNotExceedSafeInteger = function (it) {
|
|
7
|
-
if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');
|
|
8
|
-
return it;
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
export { doesNotExceedSafeInteger as d };
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { h as fails$1, K as isObject$1, e as toObject$1, l as lengthOfArrayLike$1, w as wellKnownSymbol$1, m as engineV8Version } from './is-forced-7cb3ee8f.js';
|
|
2
|
-
import { _ as _export } from './export-10c4adbc.js';
|
|
3
|
-
import { i as isArray$1, a as arraySpeciesCreate$1 } from './array-species-create-1c67e297.js';
|
|
4
|
-
import { d as doesNotExceedSafeInteger$1 } from './does-not-exceed-safe-integer-de37ce28.js';
|
|
5
|
-
import { c as createProperty$1 } from './create-property-eb329361.js';
|
|
6
|
-
import { a as arrayMethodHasSpeciesSupport$1 } from './array-method-has-species-support-6c675094.js';
|
|
7
|
-
|
|
8
|
-
var es_array_concat = {};
|
|
9
|
-
|
|
10
|
-
'use strict';
|
|
11
|
-
var $ = _export;
|
|
12
|
-
var fails = fails$1;
|
|
13
|
-
var isArray = isArray$1;
|
|
14
|
-
var isObject = isObject$1;
|
|
15
|
-
var toObject = toObject$1;
|
|
16
|
-
var lengthOfArrayLike = lengthOfArrayLike$1;
|
|
17
|
-
var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1;
|
|
18
|
-
var createProperty = createProperty$1;
|
|
19
|
-
var arraySpeciesCreate = arraySpeciesCreate$1;
|
|
20
|
-
var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$1;
|
|
21
|
-
var wellKnownSymbol = wellKnownSymbol$1;
|
|
22
|
-
var V8_VERSION = engineV8Version;
|
|
23
|
-
|
|
24
|
-
var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
|
|
25
|
-
|
|
26
|
-
// We can't use this feature detection in V8 since it causes
|
|
27
|
-
// deoptimization and serious performance degradation
|
|
28
|
-
// https://github.com/zloirock/core-js/issues/679
|
|
29
|
-
var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {
|
|
30
|
-
var array = [];
|
|
31
|
-
array[IS_CONCAT_SPREADABLE] = false;
|
|
32
|
-
return array.concat()[0] !== array;
|
|
33
|
-
});
|
|
34
|
-
|
|
35
|
-
var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat');
|
|
36
|
-
|
|
37
|
-
var isConcatSpreadable = function (O) {
|
|
38
|
-
if (!isObject(O)) return false;
|
|
39
|
-
var spreadable = O[IS_CONCAT_SPREADABLE];
|
|
40
|
-
return spreadable !== undefined ? !!spreadable : isArray(O);
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;
|
|
44
|
-
|
|
45
|
-
// `Array.prototype.concat` method
|
|
46
|
-
// https://tc39.es/ecma262/#sec-array.prototype.concat
|
|
47
|
-
// with adding support of @@isConcatSpreadable and @@species
|
|
48
|
-
$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
|
|
49
|
-
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
50
|
-
concat: function concat(arg) {
|
|
51
|
-
var O = toObject(this);
|
|
52
|
-
var A = arraySpeciesCreate(O, 0);
|
|
53
|
-
var n = 0;
|
|
54
|
-
var i, k, length, len, E;
|
|
55
|
-
for (i = -1, length = arguments.length; i < length; i++) {
|
|
56
|
-
E = i === -1 ? O : arguments[i];
|
|
57
|
-
if (isConcatSpreadable(E)) {
|
|
58
|
-
len = lengthOfArrayLike(E);
|
|
59
|
-
doesNotExceedSafeInteger(n + len);
|
|
60
|
-
for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
|
|
61
|
-
} else {
|
|
62
|
-
doesNotExceedSafeInteger(n + 1);
|
|
63
|
-
createProperty(A, n++, E);
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
A.length = n;
|
|
67
|
-
return A;
|
|
68
|
-
}
|
|
69
|
-
});
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import './is-forced-7cb3ee8f.js';
|
|
2
|
-
import { _ as _export } from './export-10c4adbc.js';
|
|
3
|
-
import { a as arrayIteration } from './array-iteration-8267bf22.js';
|
|
4
|
-
import { a as addToUnscopables$1 } from './add-to-unscopables-ee05b58f.js';
|
|
5
|
-
|
|
6
|
-
var es_array_find = {};
|
|
7
|
-
|
|
8
|
-
'use strict';
|
|
9
|
-
var $ = _export;
|
|
10
|
-
var $find = arrayIteration.find;
|
|
11
|
-
var addToUnscopables = addToUnscopables$1;
|
|
12
|
-
|
|
13
|
-
var FIND = 'find';
|
|
14
|
-
var SKIPS_HOLES = true;
|
|
15
|
-
|
|
16
|
-
// Shouldn't skip holes
|
|
17
|
-
if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });
|
|
18
|
-
|
|
19
|
-
// `Array.prototype.find` method
|
|
20
|
-
// https://tc39.es/ecma262/#sec-array.prototype.find
|
|
21
|
-
$({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
|
|
22
|
-
find: function find(callbackfn /* , that = undefined */) {
|
|
23
|
-
return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
|
|
27
|
-
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
28
|
-
addToUnscopables(FIND);
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { J as arrayIncludes, h as fails$1 } from './is-forced-7cb3ee8f.js';
|
|
2
|
-
import { _ as _export } from './export-10c4adbc.js';
|
|
3
|
-
import { a as addToUnscopables$1 } from './add-to-unscopables-ee05b58f.js';
|
|
4
|
-
|
|
5
|
-
var es_array_includes = {};
|
|
6
|
-
|
|
7
|
-
'use strict';
|
|
8
|
-
var $ = _export;
|
|
9
|
-
var $includes = arrayIncludes.includes;
|
|
10
|
-
var fails = fails$1;
|
|
11
|
-
var addToUnscopables = addToUnscopables$1;
|
|
12
|
-
|
|
13
|
-
// FF99+ bug
|
|
14
|
-
var BROKEN_ON_SPARSE = fails(function () {
|
|
15
|
-
return !Array(1).includes();
|
|
16
|
-
});
|
|
17
|
-
|
|
18
|
-
// `Array.prototype.includes` method
|
|
19
|
-
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
20
|
-
$({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
|
|
21
|
-
includes: function includes(el /* , fromIndex = 0 */) {
|
|
22
|
-
return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
|
|
26
|
-
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
27
|
-
addToUnscopables('includes');
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import './is-forced-7cb3ee8f.js';
|
|
2
|
-
import { _ as _export } from './export-10c4adbc.js';
|
|
3
|
-
import { a as arrayIteration } from './array-iteration-8267bf22.js';
|
|
4
|
-
import { a as arrayMethodHasSpeciesSupport$1 } from './array-method-has-species-support-6c675094.js';
|
|
5
|
-
|
|
6
|
-
var es_array_map = {};
|
|
7
|
-
|
|
8
|
-
'use strict';
|
|
9
|
-
var $ = _export;
|
|
10
|
-
var $map = arrayIteration.map;
|
|
11
|
-
var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$1;
|
|
12
|
-
|
|
13
|
-
var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');
|
|
14
|
-
|
|
15
|
-
// `Array.prototype.map` method
|
|
16
|
-
// https://tc39.es/ecma262/#sec-array.prototype.map
|
|
17
|
-
// with adding support of @@species
|
|
18
|
-
$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
|
|
19
|
-
map: function map(callbackfn /* , thisArg */) {
|
|
20
|
-
return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
|
21
|
-
}
|
|
22
|
-
});
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { f as functionUncurryThis, b as defineBuiltIn$1 } from './is-forced-7cb3ee8f.js';
|
|
2
|
-
|
|
3
|
-
var es_date_toString = {};
|
|
4
|
-
|
|
5
|
-
// TODO: Remove from `core-js@4`
|
|
6
|
-
var uncurryThis = functionUncurryThis;
|
|
7
|
-
var defineBuiltIn = defineBuiltIn$1;
|
|
8
|
-
|
|
9
|
-
var DatePrototype = Date.prototype;
|
|
10
|
-
var INVALID_DATE = 'Invalid Date';
|
|
11
|
-
var TO_STRING = 'toString';
|
|
12
|
-
var un$DateToString = uncurryThis(DatePrototype[TO_STRING]);
|
|
13
|
-
var getTime = uncurryThis(DatePrototype.getTime);
|
|
14
|
-
|
|
15
|
-
// `Date.prototype.toString` method
|
|
16
|
-
// https://tc39.es/ecma262/#sec-date.prototype.tostring
|
|
17
|
-
if (String(new Date(NaN)) != INVALID_DATE) {
|
|
18
|
-
defineBuiltIn(DatePrototype, TO_STRING, function toString() {
|
|
19
|
-
var value = getTime(this);
|
|
20
|
-
// eslint-disable-next-line no-self-compare -- NaN check
|
|
21
|
-
return value === value ? un$DateToString(this) : INVALID_DATE;
|
|
22
|
-
});
|
|
23
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { d as descriptors, s as functionName, f as functionUncurryThis, G as objectDefineProperty } from './is-forced-7cb3ee8f.js';
|
|
2
|
-
|
|
3
|
-
var es_function_name = {};
|
|
4
|
-
|
|
5
|
-
var DESCRIPTORS = descriptors;
|
|
6
|
-
var FUNCTION_NAME_EXISTS = functionName.EXISTS;
|
|
7
|
-
var uncurryThis = functionUncurryThis;
|
|
8
|
-
var defineProperty = objectDefineProperty.f;
|
|
9
|
-
|
|
10
|
-
var FunctionPrototype = Function.prototype;
|
|
11
|
-
var functionToString = uncurryThis(FunctionPrototype.toString);
|
|
12
|
-
var nameRE = /function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/;
|
|
13
|
-
var regExpExec = uncurryThis(nameRE.exec);
|
|
14
|
-
var NAME = 'name';
|
|
15
|
-
|
|
16
|
-
// Function instances `.name` property
|
|
17
|
-
// https://tc39.es/ecma262/#sec-function-instances-name
|
|
18
|
-
if (DESCRIPTORS && !FUNCTION_NAME_EXISTS) {
|
|
19
|
-
defineProperty(FunctionPrototype, NAME, {
|
|
20
|
-
configurable: true,
|
|
21
|
-
get: function () {
|
|
22
|
-
try {
|
|
23
|
-
return regExpExec(nameRE, functionToString(this))[1];
|
|
24
|
-
} catch (error) {
|
|
25
|
-
return '';
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
});
|
|
29
|
-
}
|