@frollo/frollo-web-ui 7.0.0 → 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 +34084 -33914
- 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 +143 -80
- package/esm/fw-drawer.js +33 -36
- 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 +34091 -34339
- 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 +19670 -19722
- 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,469 +0,0 @@
|
|
|
1
|
-
import { p as functionCall, n as anObject$3, C as getMethod$2, w as wellKnownSymbol$6, k as aCallable$1, N as tryToString$1, e as toObject$2, l as lengthOfArrayLike$1, f as functionUncurryThis, z as toIntegerOrInfinity$1, B as requireObjectCoercible$1, h as fails$2, q as hasOwnProperty_1, x as isCallable$3, O as sharedKey$1, b as defineBuiltIn$2, P as isPure, G as objectDefineProperty, Q as createPropertyDescriptor$1, s as functionName, c as createNonEnumerableProperty$1, v as internalState } from './is-forced-7cb3ee8f.js';
|
|
2
|
-
import { _ as _export } from './export-10c4adbc.js';
|
|
3
|
-
import { f as functionBindContext } from './array-iteration-8267bf22.js';
|
|
4
|
-
import { b as isConstructor$1 } from './array-species-create-1c67e297.js';
|
|
5
|
-
import { c as createProperty$1 } from './create-property-eb329361.js';
|
|
6
|
-
import { c as classof$1 } from './classof-d44bf093.js';
|
|
7
|
-
import { t as toString$2, o as objectSetPrototypeOf } from './es.number.constructor-fb16fe05.js';
|
|
8
|
-
import { a as objectCreate } from './object-create-51bf02dc.js';
|
|
9
|
-
|
|
10
|
-
var es_array_from = {};
|
|
11
|
-
|
|
12
|
-
var call$3 = functionCall;
|
|
13
|
-
var anObject$2 = anObject$3;
|
|
14
|
-
var getMethod$1 = getMethod$2;
|
|
15
|
-
|
|
16
|
-
var iteratorClose$1 = function (iterator, kind, value) {
|
|
17
|
-
var innerResult, innerError;
|
|
18
|
-
anObject$2(iterator);
|
|
19
|
-
try {
|
|
20
|
-
innerResult = getMethod$1(iterator, 'return');
|
|
21
|
-
if (!innerResult) {
|
|
22
|
-
if (kind === 'throw') throw value;
|
|
23
|
-
return value;
|
|
24
|
-
}
|
|
25
|
-
innerResult = call$3(innerResult, iterator);
|
|
26
|
-
} catch (error) {
|
|
27
|
-
innerError = true;
|
|
28
|
-
innerResult = error;
|
|
29
|
-
}
|
|
30
|
-
if (kind === 'throw') throw value;
|
|
31
|
-
if (innerError) throw innerResult;
|
|
32
|
-
anObject$2(innerResult);
|
|
33
|
-
return value;
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
var anObject$1 = anObject$3;
|
|
37
|
-
var iteratorClose = iteratorClose$1;
|
|
38
|
-
|
|
39
|
-
// call something on iterator step with safe closing on error
|
|
40
|
-
var callWithSafeIterationClosing$1 = function (iterator, fn, value, ENTRIES) {
|
|
41
|
-
try {
|
|
42
|
-
return ENTRIES ? fn(anObject$1(value)[0], value[1]) : fn(value);
|
|
43
|
-
} catch (error) {
|
|
44
|
-
iteratorClose(iterator, 'throw', error);
|
|
45
|
-
}
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
var iterators = {};
|
|
49
|
-
|
|
50
|
-
var wellKnownSymbol$5 = wellKnownSymbol$6;
|
|
51
|
-
var Iterators$3 = iterators;
|
|
52
|
-
|
|
53
|
-
var ITERATOR$4 = wellKnownSymbol$5('iterator');
|
|
54
|
-
var ArrayPrototype = Array.prototype;
|
|
55
|
-
|
|
56
|
-
// check on default Array iterator
|
|
57
|
-
var isArrayIteratorMethod$1 = function (it) {
|
|
58
|
-
return it !== undefined && (Iterators$3.Array === it || ArrayPrototype[ITERATOR$4] === it);
|
|
59
|
-
};
|
|
60
|
-
|
|
61
|
-
var classof = classof$1;
|
|
62
|
-
var getMethod = getMethod$2;
|
|
63
|
-
var Iterators$2 = iterators;
|
|
64
|
-
var wellKnownSymbol$4 = wellKnownSymbol$6;
|
|
65
|
-
|
|
66
|
-
var ITERATOR$3 = wellKnownSymbol$4('iterator');
|
|
67
|
-
|
|
68
|
-
var getIteratorMethod$2 = function (it) {
|
|
69
|
-
if (it != undefined) return getMethod(it, ITERATOR$3)
|
|
70
|
-
|| getMethod(it, '@@iterator')
|
|
71
|
-
|| Iterators$2[classof(it)];
|
|
72
|
-
};
|
|
73
|
-
|
|
74
|
-
var call$2 = functionCall;
|
|
75
|
-
var aCallable = aCallable$1;
|
|
76
|
-
var anObject = anObject$3;
|
|
77
|
-
var tryToString = tryToString$1;
|
|
78
|
-
var getIteratorMethod$1 = getIteratorMethod$2;
|
|
79
|
-
|
|
80
|
-
var $TypeError = TypeError;
|
|
81
|
-
|
|
82
|
-
var getIterator$1 = function (argument, usingIterator) {
|
|
83
|
-
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$1(argument) : usingIterator;
|
|
84
|
-
if (aCallable(iteratorMethod)) return anObject(call$2(iteratorMethod, argument));
|
|
85
|
-
throw $TypeError(tryToString(argument) + ' is not iterable');
|
|
86
|
-
};
|
|
87
|
-
|
|
88
|
-
'use strict';
|
|
89
|
-
var bind = functionBindContext;
|
|
90
|
-
var call$1 = functionCall;
|
|
91
|
-
var toObject$1 = toObject$2;
|
|
92
|
-
var callWithSafeIterationClosing = callWithSafeIterationClosing$1;
|
|
93
|
-
var isArrayIteratorMethod = isArrayIteratorMethod$1;
|
|
94
|
-
var isConstructor = isConstructor$1;
|
|
95
|
-
var lengthOfArrayLike = lengthOfArrayLike$1;
|
|
96
|
-
var createProperty = createProperty$1;
|
|
97
|
-
var getIterator = getIterator$1;
|
|
98
|
-
var getIteratorMethod = getIteratorMethod$2;
|
|
99
|
-
|
|
100
|
-
var $Array = Array;
|
|
101
|
-
|
|
102
|
-
// `Array.from` method implementation
|
|
103
|
-
// https://tc39.es/ecma262/#sec-array.from
|
|
104
|
-
var arrayFrom = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {
|
|
105
|
-
var O = toObject$1(arrayLike);
|
|
106
|
-
var IS_CONSTRUCTOR = isConstructor(this);
|
|
107
|
-
var argumentsLength = arguments.length;
|
|
108
|
-
var mapfn = argumentsLength > 1 ? arguments[1] : undefined;
|
|
109
|
-
var mapping = mapfn !== undefined;
|
|
110
|
-
if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined);
|
|
111
|
-
var iteratorMethod = getIteratorMethod(O);
|
|
112
|
-
var index = 0;
|
|
113
|
-
var length, result, step, iterator, next, value;
|
|
114
|
-
// if the target is not iterable or it's an array with the default iterator - use a simple case
|
|
115
|
-
if (iteratorMethod && !(this === $Array && isArrayIteratorMethod(iteratorMethod))) {
|
|
116
|
-
iterator = getIterator(O, iteratorMethod);
|
|
117
|
-
next = iterator.next;
|
|
118
|
-
result = IS_CONSTRUCTOR ? new this() : [];
|
|
119
|
-
for (;!(step = call$1(next, iterator)).done; index++) {
|
|
120
|
-
value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value;
|
|
121
|
-
createProperty(result, index, value);
|
|
122
|
-
}
|
|
123
|
-
} else {
|
|
124
|
-
length = lengthOfArrayLike(O);
|
|
125
|
-
result = IS_CONSTRUCTOR ? new this(length) : $Array(length);
|
|
126
|
-
for (;length > index; index++) {
|
|
127
|
-
value = mapping ? mapfn(O[index], index) : O[index];
|
|
128
|
-
createProperty(result, index, value);
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
result.length = index;
|
|
132
|
-
return result;
|
|
133
|
-
};
|
|
134
|
-
|
|
135
|
-
var wellKnownSymbol$3 = wellKnownSymbol$6;
|
|
136
|
-
|
|
137
|
-
var ITERATOR$2 = wellKnownSymbol$3('iterator');
|
|
138
|
-
var SAFE_CLOSING = false;
|
|
139
|
-
|
|
140
|
-
try {
|
|
141
|
-
var called = 0;
|
|
142
|
-
var iteratorWithReturn = {
|
|
143
|
-
next: function () {
|
|
144
|
-
return { done: !!called++ };
|
|
145
|
-
},
|
|
146
|
-
'return': function () {
|
|
147
|
-
SAFE_CLOSING = true;
|
|
148
|
-
}
|
|
149
|
-
};
|
|
150
|
-
iteratorWithReturn[ITERATOR$2] = function () {
|
|
151
|
-
return this;
|
|
152
|
-
};
|
|
153
|
-
// eslint-disable-next-line es-x/no-array-from, no-throw-literal -- required for testing
|
|
154
|
-
Array.from(iteratorWithReturn, function () { throw 2; });
|
|
155
|
-
} catch (error) { /* empty */ }
|
|
156
|
-
|
|
157
|
-
var checkCorrectnessOfIteration$1 = function (exec, SKIP_CLOSING) {
|
|
158
|
-
if (!SKIP_CLOSING && !SAFE_CLOSING) return false;
|
|
159
|
-
var ITERATION_SUPPORT = false;
|
|
160
|
-
try {
|
|
161
|
-
var object = {};
|
|
162
|
-
object[ITERATOR$2] = function () {
|
|
163
|
-
return {
|
|
164
|
-
next: function () {
|
|
165
|
-
return { done: ITERATION_SUPPORT = true };
|
|
166
|
-
}
|
|
167
|
-
};
|
|
168
|
-
};
|
|
169
|
-
exec(object);
|
|
170
|
-
} catch (error) { /* empty */ }
|
|
171
|
-
return ITERATION_SUPPORT;
|
|
172
|
-
};
|
|
173
|
-
|
|
174
|
-
var $$1 = _export;
|
|
175
|
-
var from = arrayFrom;
|
|
176
|
-
var checkCorrectnessOfIteration = checkCorrectnessOfIteration$1;
|
|
177
|
-
|
|
178
|
-
var INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) {
|
|
179
|
-
// eslint-disable-next-line es-x/no-array-from -- required for testing
|
|
180
|
-
Array.from(iterable);
|
|
181
|
-
});
|
|
182
|
-
|
|
183
|
-
// `Array.from` method
|
|
184
|
-
// https://tc39.es/ecma262/#sec-array.from
|
|
185
|
-
$$1({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, {
|
|
186
|
-
from: from
|
|
187
|
-
});
|
|
188
|
-
|
|
189
|
-
var es_string_iterator = {};
|
|
190
|
-
|
|
191
|
-
var uncurryThis = functionUncurryThis;
|
|
192
|
-
var toIntegerOrInfinity = toIntegerOrInfinity$1;
|
|
193
|
-
var toString$1 = toString$2;
|
|
194
|
-
var requireObjectCoercible = requireObjectCoercible$1;
|
|
195
|
-
|
|
196
|
-
var charAt$1 = uncurryThis(''.charAt);
|
|
197
|
-
var charCodeAt = uncurryThis(''.charCodeAt);
|
|
198
|
-
var stringSlice = uncurryThis(''.slice);
|
|
199
|
-
|
|
200
|
-
var createMethod = function (CONVERT_TO_STRING) {
|
|
201
|
-
return function ($this, pos) {
|
|
202
|
-
var S = toString$1(requireObjectCoercible($this));
|
|
203
|
-
var position = toIntegerOrInfinity(pos);
|
|
204
|
-
var size = S.length;
|
|
205
|
-
var first, second;
|
|
206
|
-
if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;
|
|
207
|
-
first = charCodeAt(S, position);
|
|
208
|
-
return first < 0xD800 || first > 0xDBFF || position + 1 === size
|
|
209
|
-
|| (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF
|
|
210
|
-
? CONVERT_TO_STRING
|
|
211
|
-
? charAt$1(S, position)
|
|
212
|
-
: first
|
|
213
|
-
: CONVERT_TO_STRING
|
|
214
|
-
? stringSlice(S, position, position + 2)
|
|
215
|
-
: (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;
|
|
216
|
-
};
|
|
217
|
-
};
|
|
218
|
-
|
|
219
|
-
var stringMultibyte = {
|
|
220
|
-
// `String.prototype.codePointAt` method
|
|
221
|
-
// https://tc39.es/ecma262/#sec-string.prototype.codepointat
|
|
222
|
-
codeAt: createMethod(false),
|
|
223
|
-
// `String.prototype.at` method
|
|
224
|
-
// https://github.com/mathiasbynens/String.prototype.at
|
|
225
|
-
charAt: createMethod(true)
|
|
226
|
-
};
|
|
227
|
-
|
|
228
|
-
var fails$1 = fails$2;
|
|
229
|
-
|
|
230
|
-
var correctPrototypeGetter = !fails$1(function () {
|
|
231
|
-
function F() { /* empty */ }
|
|
232
|
-
F.prototype.constructor = null;
|
|
233
|
-
// eslint-disable-next-line es-x/no-object-getprototypeof -- required for testing
|
|
234
|
-
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
235
|
-
});
|
|
236
|
-
|
|
237
|
-
var hasOwn$1 = hasOwnProperty_1;
|
|
238
|
-
var isCallable$2 = isCallable$3;
|
|
239
|
-
var toObject = toObject$2;
|
|
240
|
-
var sharedKey = sharedKey$1;
|
|
241
|
-
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
242
|
-
|
|
243
|
-
var IE_PROTO = sharedKey('IE_PROTO');
|
|
244
|
-
var $Object = Object;
|
|
245
|
-
var ObjectPrototype = $Object.prototype;
|
|
246
|
-
|
|
247
|
-
// `Object.getPrototypeOf` method
|
|
248
|
-
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
249
|
-
// eslint-disable-next-line es-x/no-object-getprototypeof -- safe
|
|
250
|
-
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
|
|
251
|
-
var object = toObject(O);
|
|
252
|
-
if (hasOwn$1(object, IE_PROTO)) return object[IE_PROTO];
|
|
253
|
-
var constructor = object.constructor;
|
|
254
|
-
if (isCallable$2(constructor) && object instanceof constructor) {
|
|
255
|
-
return constructor.prototype;
|
|
256
|
-
} return object instanceof $Object ? ObjectPrototype : null;
|
|
257
|
-
};
|
|
258
|
-
|
|
259
|
-
'use strict';
|
|
260
|
-
var fails = fails$2;
|
|
261
|
-
var isCallable$1 = isCallable$3;
|
|
262
|
-
var create$1 = objectCreate;
|
|
263
|
-
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
264
|
-
var defineBuiltIn$1 = defineBuiltIn$2;
|
|
265
|
-
var wellKnownSymbol$2 = wellKnownSymbol$6;
|
|
266
|
-
var IS_PURE$1 = isPure;
|
|
267
|
-
|
|
268
|
-
var ITERATOR$1 = wellKnownSymbol$2('iterator');
|
|
269
|
-
var BUGGY_SAFARI_ITERATORS$1 = false;
|
|
270
|
-
|
|
271
|
-
// `%IteratorPrototype%` object
|
|
272
|
-
// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
|
|
273
|
-
var IteratorPrototype$2, PrototypeOfArrayIteratorPrototype, arrayIterator;
|
|
274
|
-
|
|
275
|
-
/* eslint-disable es-x/no-array-prototype-keys -- safe */
|
|
276
|
-
if ([].keys) {
|
|
277
|
-
arrayIterator = [].keys();
|
|
278
|
-
// Safari 8 has buggy iterators w/o `next`
|
|
279
|
-
if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS$1 = true;
|
|
280
|
-
else {
|
|
281
|
-
PrototypeOfArrayIteratorPrototype = getPrototypeOf$1(getPrototypeOf$1(arrayIterator));
|
|
282
|
-
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$2 = PrototypeOfArrayIteratorPrototype;
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
var NEW_ITERATOR_PROTOTYPE = IteratorPrototype$2 == undefined || fails(function () {
|
|
287
|
-
var test = {};
|
|
288
|
-
// FF44- legacy iterators case
|
|
289
|
-
return IteratorPrototype$2[ITERATOR$1].call(test) !== test;
|
|
290
|
-
});
|
|
291
|
-
|
|
292
|
-
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};
|
|
293
|
-
else if (IS_PURE$1) IteratorPrototype$2 = create$1(IteratorPrototype$2);
|
|
294
|
-
|
|
295
|
-
// `%IteratorPrototype%[@@iterator]()` method
|
|
296
|
-
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
|
|
297
|
-
if (!isCallable$1(IteratorPrototype$2[ITERATOR$1])) {
|
|
298
|
-
defineBuiltIn$1(IteratorPrototype$2, ITERATOR$1, function () {
|
|
299
|
-
return this;
|
|
300
|
-
});
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
var iteratorsCore = {
|
|
304
|
-
IteratorPrototype: IteratorPrototype$2,
|
|
305
|
-
BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
|
|
306
|
-
};
|
|
307
|
-
|
|
308
|
-
var defineProperty = objectDefineProperty.f;
|
|
309
|
-
var hasOwn = hasOwnProperty_1;
|
|
310
|
-
var wellKnownSymbol$1 = wellKnownSymbol$6;
|
|
311
|
-
|
|
312
|
-
var TO_STRING_TAG = wellKnownSymbol$1('toStringTag');
|
|
313
|
-
|
|
314
|
-
var setToStringTag$2 = function (target, TAG, STATIC) {
|
|
315
|
-
if (target && !STATIC) target = target.prototype;
|
|
316
|
-
if (target && !hasOwn(target, TO_STRING_TAG)) {
|
|
317
|
-
defineProperty(target, TO_STRING_TAG, { configurable: true, value: TAG });
|
|
318
|
-
}
|
|
319
|
-
};
|
|
320
|
-
|
|
321
|
-
'use strict';
|
|
322
|
-
var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
|
|
323
|
-
var create = objectCreate;
|
|
324
|
-
var createPropertyDescriptor = createPropertyDescriptor$1;
|
|
325
|
-
var setToStringTag$1 = setToStringTag$2;
|
|
326
|
-
var Iterators$1 = iterators;
|
|
327
|
-
|
|
328
|
-
var returnThis$1 = function () { return this; };
|
|
329
|
-
|
|
330
|
-
var createIteratorConstructor$1 = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
|
|
331
|
-
var TO_STRING_TAG = NAME + ' Iterator';
|
|
332
|
-
IteratorConstructor.prototype = create(IteratorPrototype$1, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });
|
|
333
|
-
setToStringTag$1(IteratorConstructor, TO_STRING_TAG, false, true);
|
|
334
|
-
Iterators$1[TO_STRING_TAG] = returnThis$1;
|
|
335
|
-
return IteratorConstructor;
|
|
336
|
-
};
|
|
337
|
-
|
|
338
|
-
'use strict';
|
|
339
|
-
var $ = _export;
|
|
340
|
-
var call = functionCall;
|
|
341
|
-
var IS_PURE = isPure;
|
|
342
|
-
var FunctionName = functionName;
|
|
343
|
-
var isCallable = isCallable$3;
|
|
344
|
-
var createIteratorConstructor = createIteratorConstructor$1;
|
|
345
|
-
var getPrototypeOf = objectGetPrototypeOf;
|
|
346
|
-
var setPrototypeOf = objectSetPrototypeOf;
|
|
347
|
-
var setToStringTag = setToStringTag$2;
|
|
348
|
-
var createNonEnumerableProperty = createNonEnumerableProperty$1;
|
|
349
|
-
var defineBuiltIn = defineBuiltIn$2;
|
|
350
|
-
var wellKnownSymbol = wellKnownSymbol$6;
|
|
351
|
-
var Iterators = iterators;
|
|
352
|
-
var IteratorsCore = iteratorsCore;
|
|
353
|
-
|
|
354
|
-
var PROPER_FUNCTION_NAME = FunctionName.PROPER;
|
|
355
|
-
var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
|
|
356
|
-
var IteratorPrototype = IteratorsCore.IteratorPrototype;
|
|
357
|
-
var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
|
|
358
|
-
var ITERATOR = wellKnownSymbol('iterator');
|
|
359
|
-
var KEYS = 'keys';
|
|
360
|
-
var VALUES = 'values';
|
|
361
|
-
var ENTRIES = 'entries';
|
|
362
|
-
|
|
363
|
-
var returnThis = function () { return this; };
|
|
364
|
-
|
|
365
|
-
var defineIterator$1 = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
|
|
366
|
-
createIteratorConstructor(IteratorConstructor, NAME, next);
|
|
367
|
-
|
|
368
|
-
var getIterationMethod = function (KIND) {
|
|
369
|
-
if (KIND === DEFAULT && defaultIterator) return defaultIterator;
|
|
370
|
-
if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];
|
|
371
|
-
switch (KIND) {
|
|
372
|
-
case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };
|
|
373
|
-
case VALUES: return function values() { return new IteratorConstructor(this, KIND); };
|
|
374
|
-
case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };
|
|
375
|
-
} return function () { return new IteratorConstructor(this); };
|
|
376
|
-
};
|
|
377
|
-
|
|
378
|
-
var TO_STRING_TAG = NAME + ' Iterator';
|
|
379
|
-
var INCORRECT_VALUES_NAME = false;
|
|
380
|
-
var IterablePrototype = Iterable.prototype;
|
|
381
|
-
var nativeIterator = IterablePrototype[ITERATOR]
|
|
382
|
-
|| IterablePrototype['@@iterator']
|
|
383
|
-
|| DEFAULT && IterablePrototype[DEFAULT];
|
|
384
|
-
var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
|
|
385
|
-
var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
|
|
386
|
-
var CurrentIteratorPrototype, methods, KEY;
|
|
387
|
-
|
|
388
|
-
// fix native
|
|
389
|
-
if (anyNativeIterator) {
|
|
390
|
-
CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
|
|
391
|
-
if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
|
|
392
|
-
if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
|
|
393
|
-
if (setPrototypeOf) {
|
|
394
|
-
setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
|
|
395
|
-
} else if (!isCallable(CurrentIteratorPrototype[ITERATOR])) {
|
|
396
|
-
defineBuiltIn(CurrentIteratorPrototype, ITERATOR, returnThis);
|
|
397
|
-
}
|
|
398
|
-
}
|
|
399
|
-
// Set @@toStringTag to native iterators
|
|
400
|
-
setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);
|
|
401
|
-
if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis;
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
// fix Array.prototype.{ values, @@iterator }.name in V8 / FF
|
|
406
|
-
if (PROPER_FUNCTION_NAME && DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {
|
|
407
|
-
if (!IS_PURE && CONFIGURABLE_FUNCTION_NAME) {
|
|
408
|
-
createNonEnumerableProperty(IterablePrototype, 'name', VALUES);
|
|
409
|
-
} else {
|
|
410
|
-
INCORRECT_VALUES_NAME = true;
|
|
411
|
-
defaultIterator = function values() { return call(nativeIterator, this); };
|
|
412
|
-
}
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
// export additional methods
|
|
416
|
-
if (DEFAULT) {
|
|
417
|
-
methods = {
|
|
418
|
-
values: getIterationMethod(VALUES),
|
|
419
|
-
keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),
|
|
420
|
-
entries: getIterationMethod(ENTRIES)
|
|
421
|
-
};
|
|
422
|
-
if (FORCED) for (KEY in methods) {
|
|
423
|
-
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
|
|
424
|
-
defineBuiltIn(IterablePrototype, KEY, methods[KEY]);
|
|
425
|
-
}
|
|
426
|
-
} else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
// define iterator
|
|
430
|
-
if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) {
|
|
431
|
-
defineBuiltIn(IterablePrototype, ITERATOR, defaultIterator, { name: DEFAULT });
|
|
432
|
-
}
|
|
433
|
-
Iterators[NAME] = defaultIterator;
|
|
434
|
-
|
|
435
|
-
return methods;
|
|
436
|
-
};
|
|
437
|
-
|
|
438
|
-
'use strict';
|
|
439
|
-
var charAt = stringMultibyte.charAt;
|
|
440
|
-
var toString = toString$2;
|
|
441
|
-
var InternalStateModule = internalState;
|
|
442
|
-
var defineIterator = defineIterator$1;
|
|
443
|
-
|
|
444
|
-
var STRING_ITERATOR = 'String Iterator';
|
|
445
|
-
var setInternalState = InternalStateModule.set;
|
|
446
|
-
var getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);
|
|
447
|
-
|
|
448
|
-
// `String.prototype[@@iterator]` method
|
|
449
|
-
// https://tc39.es/ecma262/#sec-string.prototype-@@iterator
|
|
450
|
-
defineIterator(String, 'String', function (iterated) {
|
|
451
|
-
setInternalState(this, {
|
|
452
|
-
type: STRING_ITERATOR,
|
|
453
|
-
string: toString(iterated),
|
|
454
|
-
index: 0
|
|
455
|
-
});
|
|
456
|
-
// `%StringIteratorPrototype%.next` method
|
|
457
|
-
// https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next
|
|
458
|
-
}, function next() {
|
|
459
|
-
var state = getInternalState(this);
|
|
460
|
-
var string = state.string;
|
|
461
|
-
var index = state.index;
|
|
462
|
-
var point;
|
|
463
|
-
if (index >= string.length) return { value: undefined, done: true };
|
|
464
|
-
point = charAt(string, index);
|
|
465
|
-
state.index += point.length;
|
|
466
|
-
return { value: point, done: false };
|
|
467
|
-
});
|
|
468
|
-
|
|
469
|
-
export { stringMultibyte as s };
|
package/esm/export-10c4adbc.js
DELETED
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { D as getBuiltIn$1, f as functionUncurryThis, E as objectGetOwnPropertyNames, n as anObject$1, q as hasOwnProperty_1, F as objectGetOwnPropertyDescriptor, G as objectDefineProperty, g as global$1, c as createNonEnumerableProperty$1, b as defineBuiltIn$1, H as defineGlobalProperty$1, I as isForced_1 } from './is-forced-7cb3ee8f.js';
|
|
2
|
-
|
|
3
|
-
var objectGetOwnPropertySymbols = {};
|
|
4
|
-
|
|
5
|
-
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
|
|
6
|
-
var f = objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
7
|
-
|
|
8
|
-
var getBuiltIn = getBuiltIn$1;
|
|
9
|
-
var uncurryThis = functionUncurryThis;
|
|
10
|
-
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
11
|
-
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
12
|
-
var anObject = anObject$1;
|
|
13
|
-
|
|
14
|
-
var concat = uncurryThis([].concat);
|
|
15
|
-
|
|
16
|
-
// all object keys, includes non-enumerable and symbols
|
|
17
|
-
var ownKeys$1 = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
18
|
-
var keys = getOwnPropertyNamesModule.f(anObject(it));
|
|
19
|
-
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
|
20
|
-
return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
var hasOwn = hasOwnProperty_1;
|
|
24
|
-
var ownKeys = ownKeys$1;
|
|
25
|
-
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
26
|
-
var definePropertyModule = objectDefineProperty;
|
|
27
|
-
|
|
28
|
-
var copyConstructorProperties$1 = function (target, source, exceptions) {
|
|
29
|
-
var keys = ownKeys(source);
|
|
30
|
-
var defineProperty = definePropertyModule.f;
|
|
31
|
-
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
32
|
-
for (var i = 0; i < keys.length; i++) {
|
|
33
|
-
var key = keys[i];
|
|
34
|
-
if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
|
|
35
|
-
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
var global = global$1;
|
|
41
|
-
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
|
42
|
-
var createNonEnumerableProperty = createNonEnumerableProperty$1;
|
|
43
|
-
var defineBuiltIn = defineBuiltIn$1;
|
|
44
|
-
var defineGlobalProperty = defineGlobalProperty$1;
|
|
45
|
-
var copyConstructorProperties = copyConstructorProperties$1;
|
|
46
|
-
var isForced = isForced_1;
|
|
47
|
-
|
|
48
|
-
/*
|
|
49
|
-
options.target - name of the target object
|
|
50
|
-
options.global - target is the global object
|
|
51
|
-
options.stat - export as static methods of target
|
|
52
|
-
options.proto - export as prototype methods of target
|
|
53
|
-
options.real - real prototype method for the `pure` version
|
|
54
|
-
options.forced - export even if the native feature is available
|
|
55
|
-
options.bind - bind methods to the target, required for the `pure` version
|
|
56
|
-
options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
|
|
57
|
-
options.unsafe - use the simple assignment of property instead of delete + defineProperty
|
|
58
|
-
options.sham - add a flag to not completely full polyfills
|
|
59
|
-
options.enumerable - export as enumerable property
|
|
60
|
-
options.dontCallGetSet - prevent calling a getter on target
|
|
61
|
-
options.name - the .name of the function if it does not match the key
|
|
62
|
-
*/
|
|
63
|
-
var _export = function (options, source) {
|
|
64
|
-
var TARGET = options.target;
|
|
65
|
-
var GLOBAL = options.global;
|
|
66
|
-
var STATIC = options.stat;
|
|
67
|
-
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
68
|
-
if (GLOBAL) {
|
|
69
|
-
target = global;
|
|
70
|
-
} else if (STATIC) {
|
|
71
|
-
target = global[TARGET] || defineGlobalProperty(TARGET, {});
|
|
72
|
-
} else {
|
|
73
|
-
target = (global[TARGET] || {}).prototype;
|
|
74
|
-
}
|
|
75
|
-
if (target) for (key in source) {
|
|
76
|
-
sourceProperty = source[key];
|
|
77
|
-
if (options.dontCallGetSet) {
|
|
78
|
-
descriptor = getOwnPropertyDescriptor(target, key);
|
|
79
|
-
targetProperty = descriptor && descriptor.value;
|
|
80
|
-
} else targetProperty = target[key];
|
|
81
|
-
FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
|
|
82
|
-
// contained in target
|
|
83
|
-
if (!FORCED && targetProperty !== undefined) {
|
|
84
|
-
if (typeof sourceProperty == typeof targetProperty) continue;
|
|
85
|
-
copyConstructorProperties(sourceProperty, targetProperty);
|
|
86
|
-
}
|
|
87
|
-
// add a flag to not completely full polyfills
|
|
88
|
-
if (options.sham || (targetProperty && targetProperty.sham)) {
|
|
89
|
-
createNonEnumerableProperty(sourceProperty, 'sham', true);
|
|
90
|
-
}
|
|
91
|
-
defineBuiltIn(target, key, sourceProperty, options);
|
|
92
|
-
}
|
|
93
|
-
};
|
|
94
|
-
|
|
95
|
-
export { _export as _ };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { R as functionBindNative } from './is-forced-7cb3ee8f.js';
|
|
2
|
-
|
|
3
|
-
var NATIVE_BIND = functionBindNative;
|
|
4
|
-
|
|
5
|
-
var FunctionPrototype = Function.prototype;
|
|
6
|
-
var apply = FunctionPrototype.apply;
|
|
7
|
-
var call = FunctionPrototype.call;
|
|
8
|
-
|
|
9
|
-
// eslint-disable-next-line es-x/no-reflect -- safe
|
|
10
|
-
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {
|
|
11
|
-
return call.apply(apply, arguments);
|
|
12
|
-
});
|
|
13
|
-
|
|
14
|
-
export { functionApply as f };
|