@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,204 +0,0 @@
|
|
|
1
|
-
import { x as isCallable$2, f as functionUncurryThis, n as anObject$1, K as isObject$1, B as requireObjectCoercible$1, d as descriptors, g as global$1, I as isForced_1, b as defineBuiltIn$1, q as hasOwnProperty_1, r as objectIsPrototypeOf, L as isSymbol$1, M as toPrimitive$1, h as fails$1, E as objectGetOwnPropertyNames, F as objectGetOwnPropertyDescriptor, G as objectDefineProperty } from './is-forced-7cb3ee8f.js';
|
|
2
|
-
import { c as classof$1 } from './classof-d44bf093.js';
|
|
3
|
-
|
|
4
|
-
var es_number_constructor = {};
|
|
5
|
-
|
|
6
|
-
var isCallable$1 = isCallable$2;
|
|
7
|
-
|
|
8
|
-
var $String$1 = String;
|
|
9
|
-
var $TypeError = TypeError;
|
|
10
|
-
|
|
11
|
-
var aPossiblePrototype$1 = function (argument) {
|
|
12
|
-
if (typeof argument == 'object' || isCallable$1(argument)) return argument;
|
|
13
|
-
throw $TypeError("Can't set " + $String$1(argument) + ' as a prototype');
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
/* eslint-disable no-proto -- safe */
|
|
17
|
-
|
|
18
|
-
var uncurryThis$3 = functionUncurryThis;
|
|
19
|
-
var anObject = anObject$1;
|
|
20
|
-
var aPossiblePrototype = aPossiblePrototype$1;
|
|
21
|
-
|
|
22
|
-
// `Object.setPrototypeOf` method
|
|
23
|
-
// https://tc39.es/ecma262/#sec-object.setprototypeof
|
|
24
|
-
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
|
25
|
-
// eslint-disable-next-line es-x/no-object-setprototypeof -- safe
|
|
26
|
-
var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
27
|
-
var CORRECT_SETTER = false;
|
|
28
|
-
var test = {};
|
|
29
|
-
var setter;
|
|
30
|
-
try {
|
|
31
|
-
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
32
|
-
setter = uncurryThis$3(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
|
|
33
|
-
setter(test, []);
|
|
34
|
-
CORRECT_SETTER = test instanceof Array;
|
|
35
|
-
} catch (error) { /* empty */ }
|
|
36
|
-
return function setPrototypeOf(O, proto) {
|
|
37
|
-
anObject(O);
|
|
38
|
-
aPossiblePrototype(proto);
|
|
39
|
-
if (CORRECT_SETTER) setter(O, proto);
|
|
40
|
-
else O.__proto__ = proto;
|
|
41
|
-
return O;
|
|
42
|
-
};
|
|
43
|
-
}() : undefined);
|
|
44
|
-
|
|
45
|
-
var isCallable = isCallable$2;
|
|
46
|
-
var isObject = isObject$1;
|
|
47
|
-
var setPrototypeOf = objectSetPrototypeOf;
|
|
48
|
-
|
|
49
|
-
// makes subclassing work correct for wrapped built-ins
|
|
50
|
-
var inheritIfRequired$1 = function ($this, dummy, Wrapper) {
|
|
51
|
-
var NewTarget, NewTargetPrototype;
|
|
52
|
-
if (
|
|
53
|
-
// it can work only with native `setPrototypeOf`
|
|
54
|
-
setPrototypeOf &&
|
|
55
|
-
// we haven't completely correct pre-ES6 way for getting `new.target`, so use this
|
|
56
|
-
isCallable(NewTarget = dummy.constructor) &&
|
|
57
|
-
NewTarget !== Wrapper &&
|
|
58
|
-
isObject(NewTargetPrototype = NewTarget.prototype) &&
|
|
59
|
-
NewTargetPrototype !== Wrapper.prototype
|
|
60
|
-
) setPrototypeOf($this, NewTargetPrototype);
|
|
61
|
-
return $this;
|
|
62
|
-
};
|
|
63
|
-
|
|
64
|
-
var uncurryThis$2 = functionUncurryThis;
|
|
65
|
-
|
|
66
|
-
// `thisNumberValue` abstract operation
|
|
67
|
-
// https://tc39.es/ecma262/#sec-thisnumbervalue
|
|
68
|
-
var thisNumberValue$1 = uncurryThis$2(1.0.valueOf);
|
|
69
|
-
|
|
70
|
-
var classof = classof$1;
|
|
71
|
-
|
|
72
|
-
var $String = String;
|
|
73
|
-
|
|
74
|
-
var toString$1 = function (argument) {
|
|
75
|
-
if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
|
|
76
|
-
return $String(argument);
|
|
77
|
-
};
|
|
78
|
-
|
|
79
|
-
// a string of all valid unicode whitespaces
|
|
80
|
-
var whitespaces$1 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
|
|
81
|
-
'\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
|
|
82
|
-
|
|
83
|
-
var uncurryThis$1 = functionUncurryThis;
|
|
84
|
-
var requireObjectCoercible = requireObjectCoercible$1;
|
|
85
|
-
var toString = toString$1;
|
|
86
|
-
var whitespaces = whitespaces$1;
|
|
87
|
-
|
|
88
|
-
var replace = uncurryThis$1(''.replace);
|
|
89
|
-
var whitespace = '[' + whitespaces + ']';
|
|
90
|
-
var ltrim = RegExp('^' + whitespace + whitespace + '*');
|
|
91
|
-
var rtrim = RegExp(whitespace + whitespace + '*$');
|
|
92
|
-
|
|
93
|
-
// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
|
|
94
|
-
var createMethod = function (TYPE) {
|
|
95
|
-
return function ($this) {
|
|
96
|
-
var string = toString(requireObjectCoercible($this));
|
|
97
|
-
if (TYPE & 1) string = replace(string, ltrim, '');
|
|
98
|
-
if (TYPE & 2) string = replace(string, rtrim, '');
|
|
99
|
-
return string;
|
|
100
|
-
};
|
|
101
|
-
};
|
|
102
|
-
|
|
103
|
-
var stringTrim = {
|
|
104
|
-
// `String.prototype.{ trimLeft, trimStart }` methods
|
|
105
|
-
// https://tc39.es/ecma262/#sec-string.prototype.trimstart
|
|
106
|
-
start: createMethod(1),
|
|
107
|
-
// `String.prototype.{ trimRight, trimEnd }` methods
|
|
108
|
-
// https://tc39.es/ecma262/#sec-string.prototype.trimend
|
|
109
|
-
end: createMethod(2),
|
|
110
|
-
// `String.prototype.trim` method
|
|
111
|
-
// https://tc39.es/ecma262/#sec-string.prototype.trim
|
|
112
|
-
trim: createMethod(3)
|
|
113
|
-
};
|
|
114
|
-
|
|
115
|
-
'use strict';
|
|
116
|
-
var DESCRIPTORS = descriptors;
|
|
117
|
-
var global = global$1;
|
|
118
|
-
var uncurryThis = functionUncurryThis;
|
|
119
|
-
var isForced = isForced_1;
|
|
120
|
-
var defineBuiltIn = defineBuiltIn$1;
|
|
121
|
-
var hasOwn = hasOwnProperty_1;
|
|
122
|
-
var inheritIfRequired = inheritIfRequired$1;
|
|
123
|
-
var isPrototypeOf = objectIsPrototypeOf;
|
|
124
|
-
var isSymbol = isSymbol$1;
|
|
125
|
-
var toPrimitive = toPrimitive$1;
|
|
126
|
-
var fails = fails$1;
|
|
127
|
-
var getOwnPropertyNames = objectGetOwnPropertyNames.f;
|
|
128
|
-
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
|
129
|
-
var defineProperty = objectDefineProperty.f;
|
|
130
|
-
var thisNumberValue = thisNumberValue$1;
|
|
131
|
-
var trim = stringTrim.trim;
|
|
132
|
-
|
|
133
|
-
var NUMBER = 'Number';
|
|
134
|
-
var NativeNumber = global[NUMBER];
|
|
135
|
-
var NumberPrototype = NativeNumber.prototype;
|
|
136
|
-
var TypeError$1 = global.TypeError;
|
|
137
|
-
var arraySlice = uncurryThis(''.slice);
|
|
138
|
-
var charCodeAt = uncurryThis(''.charCodeAt);
|
|
139
|
-
|
|
140
|
-
// `ToNumeric` abstract operation
|
|
141
|
-
// https://tc39.es/ecma262/#sec-tonumeric
|
|
142
|
-
var toNumeric = function (value) {
|
|
143
|
-
var primValue = toPrimitive(value, 'number');
|
|
144
|
-
return typeof primValue == 'bigint' ? primValue : toNumber(primValue);
|
|
145
|
-
};
|
|
146
|
-
|
|
147
|
-
// `ToNumber` abstract operation
|
|
148
|
-
// https://tc39.es/ecma262/#sec-tonumber
|
|
149
|
-
var toNumber = function (argument) {
|
|
150
|
-
var it = toPrimitive(argument, 'number');
|
|
151
|
-
var first, third, radix, maxCode, digits, length, index, code;
|
|
152
|
-
if (isSymbol(it)) throw TypeError$1('Cannot convert a Symbol value to a number');
|
|
153
|
-
if (typeof it == 'string' && it.length > 2) {
|
|
154
|
-
it = trim(it);
|
|
155
|
-
first = charCodeAt(it, 0);
|
|
156
|
-
if (first === 43 || first === 45) {
|
|
157
|
-
third = charCodeAt(it, 2);
|
|
158
|
-
if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix
|
|
159
|
-
} else if (first === 48) {
|
|
160
|
-
switch (charCodeAt(it, 1)) {
|
|
161
|
-
case 66: case 98: radix = 2; maxCode = 49; break; // fast equal of /^0b[01]+$/i
|
|
162
|
-
case 79: case 111: radix = 8; maxCode = 55; break; // fast equal of /^0o[0-7]+$/i
|
|
163
|
-
default: return +it;
|
|
164
|
-
}
|
|
165
|
-
digits = arraySlice(it, 2);
|
|
166
|
-
length = digits.length;
|
|
167
|
-
for (index = 0; index < length; index++) {
|
|
168
|
-
code = charCodeAt(digits, index);
|
|
169
|
-
// parseInt parses a string to a first unavailable symbol
|
|
170
|
-
// but ToNumber should return NaN if a string contains unavailable symbols
|
|
171
|
-
if (code < 48 || code > maxCode) return NaN;
|
|
172
|
-
} return parseInt(digits, radix);
|
|
173
|
-
}
|
|
174
|
-
} return +it;
|
|
175
|
-
};
|
|
176
|
-
|
|
177
|
-
// `Number` constructor
|
|
178
|
-
// https://tc39.es/ecma262/#sec-number-constructor
|
|
179
|
-
if (isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'))) {
|
|
180
|
-
var NumberWrapper = function Number(value) {
|
|
181
|
-
var n = arguments.length < 1 ? 0 : NativeNumber(toNumeric(value));
|
|
182
|
-
var dummy = this;
|
|
183
|
-
// check on 1..constructor(foo) case
|
|
184
|
-
return isPrototypeOf(NumberPrototype, dummy) && fails(function () { thisNumberValue(dummy); })
|
|
185
|
-
? inheritIfRequired(Object(n), dummy, NumberWrapper) : n;
|
|
186
|
-
};
|
|
187
|
-
for (var keys = DESCRIPTORS ? getOwnPropertyNames(NativeNumber) : (
|
|
188
|
-
// ES3:
|
|
189
|
-
'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +
|
|
190
|
-
// ES2015 (in case, if modules with ES2015 Number statics required before):
|
|
191
|
-
'EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,' +
|
|
192
|
-
// ESNext
|
|
193
|
-
'fromString,range'
|
|
194
|
-
).split(','), j = 0, key; keys.length > j; j++) {
|
|
195
|
-
if (hasOwn(NativeNumber, key = keys[j]) && !hasOwn(NumberWrapper, key)) {
|
|
196
|
-
defineProperty(NumberWrapper, key, getOwnPropertyDescriptor(NativeNumber, key));
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
NumberWrapper.prototype = NumberPrototype;
|
|
200
|
-
NumberPrototype.constructor = NumberWrapper;
|
|
201
|
-
defineBuiltIn(global, NUMBER, NumberWrapper, { constructor: true });
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
export { objectSetPrototypeOf as o, toString$1 as t };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { b as defineBuiltIn$1 } from './is-forced-7cb3ee8f.js';
|
|
2
|
-
import { t as toStringTagSupport, c as classof$1 } from './classof-d44bf093.js';
|
|
3
|
-
|
|
4
|
-
var es_object_toString = {};
|
|
5
|
-
|
|
6
|
-
'use strict';
|
|
7
|
-
var TO_STRING_TAG_SUPPORT$1 = toStringTagSupport;
|
|
8
|
-
var classof = classof$1;
|
|
9
|
-
|
|
10
|
-
// `Object.prototype.toString` method implementation
|
|
11
|
-
// https://tc39.es/ecma262/#sec-object.prototype.tostring
|
|
12
|
-
var objectToString = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString() {
|
|
13
|
-
return '[object ' + classof(this) + ']';
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
17
|
-
var defineBuiltIn = defineBuiltIn$1;
|
|
18
|
-
var toString = objectToString;
|
|
19
|
-
|
|
20
|
-
// `Object.prototype.toString` method
|
|
21
|
-
// https://tc39.es/ecma262/#sec-object.prototype.tostring
|
|
22
|
-
if (!TO_STRING_TAG_SUPPORT) {
|
|
23
|
-
defineBuiltIn(Object.prototype, 'toString', toString, { unsafe: true });
|
|
24
|
-
}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { K as isObject$1, y as classofRaw, w as wellKnownSymbol$2, f as functionUncurryThis, B as requireObjectCoercible$1 } from './is-forced-7cb3ee8f.js';
|
|
2
|
-
import { _ as _export } from './export-10c4adbc.js';
|
|
3
|
-
import { t as toString$1 } from './es.number.constructor-fb16fe05.js';
|
|
4
|
-
|
|
5
|
-
var es_string_includes = {};
|
|
6
|
-
|
|
7
|
-
var isObject = isObject$1;
|
|
8
|
-
var classof = classofRaw;
|
|
9
|
-
var wellKnownSymbol$1 = wellKnownSymbol$2;
|
|
10
|
-
|
|
11
|
-
var MATCH$1 = wellKnownSymbol$1('match');
|
|
12
|
-
|
|
13
|
-
// `IsRegExp` abstract operation
|
|
14
|
-
// https://tc39.es/ecma262/#sec-isregexp
|
|
15
|
-
var isRegexp = function (it) {
|
|
16
|
-
var isRegExp;
|
|
17
|
-
return isObject(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof(it) == 'RegExp');
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
var isRegExp = isRegexp;
|
|
21
|
-
|
|
22
|
-
var $TypeError = TypeError;
|
|
23
|
-
|
|
24
|
-
var notARegexp = function (it) {
|
|
25
|
-
if (isRegExp(it)) {
|
|
26
|
-
throw $TypeError("The method doesn't accept regular expressions");
|
|
27
|
-
} return it;
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
var wellKnownSymbol = wellKnownSymbol$2;
|
|
31
|
-
|
|
32
|
-
var MATCH = wellKnownSymbol('match');
|
|
33
|
-
|
|
34
|
-
var correctIsRegexpLogic = function (METHOD_NAME) {
|
|
35
|
-
var regexp = /./;
|
|
36
|
-
try {
|
|
37
|
-
'/./'[METHOD_NAME](regexp);
|
|
38
|
-
} catch (error1) {
|
|
39
|
-
try {
|
|
40
|
-
regexp[MATCH] = false;
|
|
41
|
-
return '/./'[METHOD_NAME](regexp);
|
|
42
|
-
} catch (error2) { /* empty */ }
|
|
43
|
-
} return false;
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
'use strict';
|
|
47
|
-
var $ = _export;
|
|
48
|
-
var uncurryThis = functionUncurryThis;
|
|
49
|
-
var notARegExp = notARegexp;
|
|
50
|
-
var requireObjectCoercible = requireObjectCoercible$1;
|
|
51
|
-
var toString = toString$1;
|
|
52
|
-
var correctIsRegExpLogic = correctIsRegexpLogic;
|
|
53
|
-
|
|
54
|
-
var stringIndexOf = uncurryThis(''.indexOf);
|
|
55
|
-
|
|
56
|
-
// `String.prototype.includes` method
|
|
57
|
-
// https://tc39.es/ecma262/#sec-string.prototype.includes
|
|
58
|
-
$({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
|
|
59
|
-
includes: function includes(searchString /* , position = 0 */) {
|
|
60
|
-
return !!~stringIndexOf(
|
|
61
|
-
toString(requireObjectCoercible(this)),
|
|
62
|
-
toString(notARegExp(searchString)),
|
|
63
|
-
arguments.length > 1 ? arguments[1] : undefined
|
|
64
|
-
);
|
|
65
|
-
}
|
|
66
|
-
});
|