@frollo/frollo-web-ui 0.0.12 → 0.0.13
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 +144 -50
- package/esm/{style-inject.es-da8f7768.js → es.array.includes-da6c7cd3.js} +59 -584
- package/esm/es.function.name-b783cd46.js +29 -0
- package/esm/{fw-button-54999a6e.js → fw-button-41138928.js} +4 -3
- package/esm/fw-button.js +3 -2
- package/esm/fw-checkbox.js +108 -0
- package/esm/fw-input.js +3 -29
- package/esm/fw-navigation-menu.js +3 -2
- package/esm/index.js +9 -4
- package/esm/style-inject.es-f0777dab.js +528 -0
- package/frollo-web-ui.esm.js +159 -56
- package/index.d.ts +65 -5
- package/package.json +1 -1
- package/types/components/fw-checkbox/fw-checkbox.vue.d.ts +60 -0
- package/types/components/fw-checkbox/index.d.ts +2 -0
- package/types/components/index.d.ts +1 -0
- package/types/index-types.esm.d.ts +1 -0
|
@@ -0,0 +1,528 @@
|
|
|
1
|
+
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
2
|
+
|
|
3
|
+
function getDefaultExportFromCjs (x) {
|
|
4
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
function getDefaultExportFromNamespaceIfPresent (n) {
|
|
8
|
+
return n && Object.prototype.hasOwnProperty.call(n, 'default') ? n['default'] : n;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
function getDefaultExportFromNamespaceIfNotNamed (n) {
|
|
12
|
+
return n && Object.prototype.hasOwnProperty.call(n, 'default') && Object.keys(n).length === 1 ? n['default'] : n;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
function getAugmentedNamespace(n) {
|
|
16
|
+
if (n.__esModule) return n;
|
|
17
|
+
var a = Object.defineProperty({}, '__esModule', {value: true});
|
|
18
|
+
Object.keys(n).forEach(function (k) {
|
|
19
|
+
var d = Object.getOwnPropertyDescriptor(n, k);
|
|
20
|
+
Object.defineProperty(a, k, d.get ? d : {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () {
|
|
23
|
+
return n[k];
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
});
|
|
27
|
+
return a;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
function commonjsRequire (path) {
|
|
31
|
+
throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
var check = function (it) {
|
|
35
|
+
return it && it.Math == Math && it;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
39
|
+
var global$g =
|
|
40
|
+
// eslint-disable-next-line es/no-global-this -- safe
|
|
41
|
+
check(typeof globalThis == 'object' && globalThis) ||
|
|
42
|
+
check(typeof window == 'object' && window) ||
|
|
43
|
+
// eslint-disable-next-line no-restricted-globals -- safe
|
|
44
|
+
check(typeof self == 'object' && self) ||
|
|
45
|
+
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
|
46
|
+
// eslint-disable-next-line no-new-func -- fallback
|
|
47
|
+
(function () { return this; })() || Function('return this')();
|
|
48
|
+
|
|
49
|
+
var fails$5 = function (exec) {
|
|
50
|
+
try {
|
|
51
|
+
return !!exec();
|
|
52
|
+
} catch (error) {
|
|
53
|
+
return true;
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
var fails$4 = fails$5;
|
|
58
|
+
|
|
59
|
+
// Detect IE8's incomplete defineProperty implementation
|
|
60
|
+
var descriptors = !fails$4(function () {
|
|
61
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
62
|
+
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
var fails$3 = fails$5;
|
|
66
|
+
|
|
67
|
+
var functionBindNative = !fails$3(function () {
|
|
68
|
+
var test = (function () { /* empty */ }).bind();
|
|
69
|
+
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
70
|
+
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
71
|
+
});
|
|
72
|
+
|
|
73
|
+
var NATIVE_BIND$1 = functionBindNative;
|
|
74
|
+
|
|
75
|
+
var call$3 = Function.prototype.call;
|
|
76
|
+
|
|
77
|
+
var functionCall = NATIVE_BIND$1 ? call$3.bind(call$3) : function () {
|
|
78
|
+
return call$3.apply(call$3, arguments);
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
var NATIVE_BIND = functionBindNative;
|
|
82
|
+
|
|
83
|
+
var FunctionPrototype$1 = Function.prototype;
|
|
84
|
+
var bind = FunctionPrototype$1.bind;
|
|
85
|
+
var call$2 = FunctionPrototype$1.call;
|
|
86
|
+
var uncurryThis$3 = NATIVE_BIND && bind.bind(call$2, call$2);
|
|
87
|
+
|
|
88
|
+
var functionUncurryThis = NATIVE_BIND ? function (fn) {
|
|
89
|
+
return fn && uncurryThis$3(fn);
|
|
90
|
+
} : function (fn) {
|
|
91
|
+
return fn && function () {
|
|
92
|
+
return call$2.apply(fn, arguments);
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
var global$f = global$g;
|
|
97
|
+
|
|
98
|
+
var TypeError$5 = global$f.TypeError;
|
|
99
|
+
|
|
100
|
+
// `RequireObjectCoercible` abstract operation
|
|
101
|
+
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
102
|
+
var requireObjectCoercible$1 = function (it) {
|
|
103
|
+
if (it == undefined) throw TypeError$5("Can't call method on " + it);
|
|
104
|
+
return it;
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
// `IsCallable` abstract operation
|
|
108
|
+
// https://tc39.es/ecma262/#sec-iscallable
|
|
109
|
+
var isCallable$5 = function (argument) {
|
|
110
|
+
return typeof argument == 'function';
|
|
111
|
+
};
|
|
112
|
+
|
|
113
|
+
var isCallable$4 = isCallable$5;
|
|
114
|
+
|
|
115
|
+
var isObject$4 = function (it) {
|
|
116
|
+
return typeof it == 'object' ? it !== null : isCallable$4(it);
|
|
117
|
+
};
|
|
118
|
+
|
|
119
|
+
var global$e = global$g;
|
|
120
|
+
var isCallable$3 = isCallable$5;
|
|
121
|
+
|
|
122
|
+
var aFunction = function (argument) {
|
|
123
|
+
return isCallable$3(argument) ? argument : undefined;
|
|
124
|
+
};
|
|
125
|
+
|
|
126
|
+
var getBuiltIn$2 = function (namespace, method) {
|
|
127
|
+
return arguments.length < 2 ? aFunction(global$e[namespace]) : global$e[namespace] && global$e[namespace][method];
|
|
128
|
+
};
|
|
129
|
+
|
|
130
|
+
var uncurryThis$2 = functionUncurryThis;
|
|
131
|
+
|
|
132
|
+
var objectIsPrototypeOf = uncurryThis$2({}.isPrototypeOf);
|
|
133
|
+
|
|
134
|
+
var getBuiltIn$1 = getBuiltIn$2;
|
|
135
|
+
|
|
136
|
+
var engineUserAgent = getBuiltIn$1('navigator', 'userAgent') || '';
|
|
137
|
+
|
|
138
|
+
var global$d = global$g;
|
|
139
|
+
var userAgent = engineUserAgent;
|
|
140
|
+
|
|
141
|
+
var process = global$d.process;
|
|
142
|
+
var Deno = global$d.Deno;
|
|
143
|
+
var versions = process && process.versions || Deno && Deno.version;
|
|
144
|
+
var v8 = versions && versions.v8;
|
|
145
|
+
var match, version;
|
|
146
|
+
|
|
147
|
+
if (v8) {
|
|
148
|
+
match = v8.split('.');
|
|
149
|
+
// in old Chrome, versions of V8 isn't V8 = Chrome / 10
|
|
150
|
+
// but their correct versions are not interesting for us
|
|
151
|
+
version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
|
|
155
|
+
// so check `userAgent` even if `.v8` exists, but 0
|
|
156
|
+
if (!version && userAgent) {
|
|
157
|
+
match = userAgent.match(/Edge\/(\d+)/);
|
|
158
|
+
if (!match || match[1] >= 74) {
|
|
159
|
+
match = userAgent.match(/Chrome\/(\d+)/);
|
|
160
|
+
if (match) version = +match[1];
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
var engineV8Version = version;
|
|
165
|
+
|
|
166
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
167
|
+
|
|
168
|
+
var V8_VERSION = engineV8Version;
|
|
169
|
+
var fails$2 = fails$5;
|
|
170
|
+
|
|
171
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
172
|
+
var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$2(function () {
|
|
173
|
+
var symbol = Symbol();
|
|
174
|
+
// Chrome 38 Symbol has incorrect toString conversion
|
|
175
|
+
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
176
|
+
return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
|
|
177
|
+
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
178
|
+
!Symbol.sham && V8_VERSION && V8_VERSION < 41;
|
|
179
|
+
});
|
|
180
|
+
|
|
181
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
182
|
+
|
|
183
|
+
var NATIVE_SYMBOL$1 = nativeSymbol;
|
|
184
|
+
|
|
185
|
+
var useSymbolAsUid = NATIVE_SYMBOL$1
|
|
186
|
+
&& !Symbol.sham
|
|
187
|
+
&& typeof Symbol.iterator == 'symbol';
|
|
188
|
+
|
|
189
|
+
var global$c = global$g;
|
|
190
|
+
var getBuiltIn = getBuiltIn$2;
|
|
191
|
+
var isCallable$2 = isCallable$5;
|
|
192
|
+
var isPrototypeOf = objectIsPrototypeOf;
|
|
193
|
+
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
194
|
+
|
|
195
|
+
var Object$2 = global$c.Object;
|
|
196
|
+
|
|
197
|
+
var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
|
198
|
+
return typeof it == 'symbol';
|
|
199
|
+
} : function (it) {
|
|
200
|
+
var $Symbol = getBuiltIn('Symbol');
|
|
201
|
+
return isCallable$2($Symbol) && isPrototypeOf($Symbol.prototype, Object$2(it));
|
|
202
|
+
};
|
|
203
|
+
|
|
204
|
+
var global$b = global$g;
|
|
205
|
+
|
|
206
|
+
var String$2 = global$b.String;
|
|
207
|
+
|
|
208
|
+
var tryToString$1 = function (argument) {
|
|
209
|
+
try {
|
|
210
|
+
return String$2(argument);
|
|
211
|
+
} catch (error) {
|
|
212
|
+
return 'Object';
|
|
213
|
+
}
|
|
214
|
+
};
|
|
215
|
+
|
|
216
|
+
var global$a = global$g;
|
|
217
|
+
var isCallable$1 = isCallable$5;
|
|
218
|
+
var tryToString = tryToString$1;
|
|
219
|
+
|
|
220
|
+
var TypeError$4 = global$a.TypeError;
|
|
221
|
+
|
|
222
|
+
// `Assert: IsCallable(argument) is true`
|
|
223
|
+
var aCallable$1 = function (argument) {
|
|
224
|
+
if (isCallable$1(argument)) return argument;
|
|
225
|
+
throw TypeError$4(tryToString(argument) + ' is not a function');
|
|
226
|
+
};
|
|
227
|
+
|
|
228
|
+
var aCallable = aCallable$1;
|
|
229
|
+
|
|
230
|
+
// `GetMethod` abstract operation
|
|
231
|
+
// https://tc39.es/ecma262/#sec-getmethod
|
|
232
|
+
var getMethod$1 = function (V, P) {
|
|
233
|
+
var func = V[P];
|
|
234
|
+
return func == null ? undefined : aCallable(func);
|
|
235
|
+
};
|
|
236
|
+
|
|
237
|
+
var global$9 = global$g;
|
|
238
|
+
var call$1 = functionCall;
|
|
239
|
+
var isCallable = isCallable$5;
|
|
240
|
+
var isObject$3 = isObject$4;
|
|
241
|
+
|
|
242
|
+
var TypeError$3 = global$9.TypeError;
|
|
243
|
+
|
|
244
|
+
// `OrdinaryToPrimitive` abstract operation
|
|
245
|
+
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
246
|
+
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
247
|
+
var fn, val;
|
|
248
|
+
if (pref === 'string' && isCallable(fn = input.toString) && !isObject$3(val = call$1(fn, input))) return val;
|
|
249
|
+
if (isCallable(fn = input.valueOf) && !isObject$3(val = call$1(fn, input))) return val;
|
|
250
|
+
if (pref !== 'string' && isCallable(fn = input.toString) && !isObject$3(val = call$1(fn, input))) return val;
|
|
251
|
+
throw TypeError$3("Can't convert object to primitive value");
|
|
252
|
+
};
|
|
253
|
+
|
|
254
|
+
var shared$2 = {exports: {}};
|
|
255
|
+
|
|
256
|
+
var isPure = false;
|
|
257
|
+
|
|
258
|
+
var global$8 = global$g;
|
|
259
|
+
|
|
260
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
261
|
+
var defineProperty = Object.defineProperty;
|
|
262
|
+
|
|
263
|
+
var setGlobal$1 = function (key, value) {
|
|
264
|
+
try {
|
|
265
|
+
defineProperty(global$8, key, { value: value, configurable: true, writable: true });
|
|
266
|
+
} catch (error) {
|
|
267
|
+
global$8[key] = value;
|
|
268
|
+
} return value;
|
|
269
|
+
};
|
|
270
|
+
|
|
271
|
+
var global$7 = global$g;
|
|
272
|
+
var setGlobal = setGlobal$1;
|
|
273
|
+
|
|
274
|
+
var SHARED = '__core-js_shared__';
|
|
275
|
+
var store$1 = global$7[SHARED] || setGlobal(SHARED, {});
|
|
276
|
+
|
|
277
|
+
var sharedStore = store$1;
|
|
278
|
+
|
|
279
|
+
var IS_PURE = isPure;
|
|
280
|
+
var store = sharedStore;
|
|
281
|
+
|
|
282
|
+
(shared$2.exports = function (key, value) {
|
|
283
|
+
return store[key] || (store[key] = value !== undefined ? value : {});
|
|
284
|
+
})('versions', []).push({
|
|
285
|
+
version: '3.21.1',
|
|
286
|
+
mode: IS_PURE ? 'pure' : 'global',
|
|
287
|
+
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
|
288
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE',
|
|
289
|
+
source: 'https://github.com/zloirock/core-js'
|
|
290
|
+
});
|
|
291
|
+
|
|
292
|
+
var shared$1 = shared$2.exports;
|
|
293
|
+
|
|
294
|
+
var global$6 = global$g;
|
|
295
|
+
var requireObjectCoercible = requireObjectCoercible$1;
|
|
296
|
+
|
|
297
|
+
var Object$1 = global$6.Object;
|
|
298
|
+
|
|
299
|
+
// `ToObject` abstract operation
|
|
300
|
+
// https://tc39.es/ecma262/#sec-toobject
|
|
301
|
+
var toObject$1 = function (argument) {
|
|
302
|
+
return Object$1(requireObjectCoercible(argument));
|
|
303
|
+
};
|
|
304
|
+
|
|
305
|
+
var uncurryThis$1 = functionUncurryThis;
|
|
306
|
+
var toObject = toObject$1;
|
|
307
|
+
|
|
308
|
+
var hasOwnProperty = uncurryThis$1({}.hasOwnProperty);
|
|
309
|
+
|
|
310
|
+
// `HasOwnProperty` abstract operation
|
|
311
|
+
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
312
|
+
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
313
|
+
return hasOwnProperty(toObject(it), key);
|
|
314
|
+
};
|
|
315
|
+
|
|
316
|
+
var uncurryThis = functionUncurryThis;
|
|
317
|
+
|
|
318
|
+
var id = 0;
|
|
319
|
+
var postfix = Math.random();
|
|
320
|
+
var toString = uncurryThis(1.0.toString);
|
|
321
|
+
|
|
322
|
+
var uid$1 = function (key) {
|
|
323
|
+
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
|
|
324
|
+
};
|
|
325
|
+
|
|
326
|
+
var global$5 = global$g;
|
|
327
|
+
var shared = shared$2.exports;
|
|
328
|
+
var hasOwn$1 = hasOwnProperty_1;
|
|
329
|
+
var uid = uid$1;
|
|
330
|
+
var NATIVE_SYMBOL = nativeSymbol;
|
|
331
|
+
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
332
|
+
|
|
333
|
+
var WellKnownSymbolsStore = shared('wks');
|
|
334
|
+
var Symbol$1 = global$5.Symbol;
|
|
335
|
+
var symbolFor = Symbol$1 && Symbol$1['for'];
|
|
336
|
+
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
|
|
337
|
+
|
|
338
|
+
var wellKnownSymbol$1 = function (name) {
|
|
339
|
+
if (!hasOwn$1(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
|
|
340
|
+
var description = 'Symbol.' + name;
|
|
341
|
+
if (NATIVE_SYMBOL && hasOwn$1(Symbol$1, name)) {
|
|
342
|
+
WellKnownSymbolsStore[name] = Symbol$1[name];
|
|
343
|
+
} else if (USE_SYMBOL_AS_UID && symbolFor) {
|
|
344
|
+
WellKnownSymbolsStore[name] = symbolFor(description);
|
|
345
|
+
} else {
|
|
346
|
+
WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
|
|
347
|
+
}
|
|
348
|
+
} return WellKnownSymbolsStore[name];
|
|
349
|
+
};
|
|
350
|
+
|
|
351
|
+
var global$4 = global$g;
|
|
352
|
+
var call = functionCall;
|
|
353
|
+
var isObject$2 = isObject$4;
|
|
354
|
+
var isSymbol$1 = isSymbol$2;
|
|
355
|
+
var getMethod = getMethod$1;
|
|
356
|
+
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
357
|
+
var wellKnownSymbol = wellKnownSymbol$1;
|
|
358
|
+
|
|
359
|
+
var TypeError$2 = global$4.TypeError;
|
|
360
|
+
var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
|
|
361
|
+
|
|
362
|
+
// `ToPrimitive` abstract operation
|
|
363
|
+
// https://tc39.es/ecma262/#sec-toprimitive
|
|
364
|
+
var toPrimitive$1 = function (input, pref) {
|
|
365
|
+
if (!isObject$2(input) || isSymbol$1(input)) return input;
|
|
366
|
+
var exoticToPrim = getMethod(input, TO_PRIMITIVE);
|
|
367
|
+
var result;
|
|
368
|
+
if (exoticToPrim) {
|
|
369
|
+
if (pref === undefined) pref = 'default';
|
|
370
|
+
result = call(exoticToPrim, input, pref);
|
|
371
|
+
if (!isObject$2(result) || isSymbol$1(result)) return result;
|
|
372
|
+
throw TypeError$2("Can't convert object to primitive value");
|
|
373
|
+
}
|
|
374
|
+
if (pref === undefined) pref = 'number';
|
|
375
|
+
return ordinaryToPrimitive(input, pref);
|
|
376
|
+
};
|
|
377
|
+
|
|
378
|
+
var toPrimitive = toPrimitive$1;
|
|
379
|
+
var isSymbol = isSymbol$2;
|
|
380
|
+
|
|
381
|
+
// `ToPropertyKey` abstract operation
|
|
382
|
+
// https://tc39.es/ecma262/#sec-topropertykey
|
|
383
|
+
var toPropertyKey$1 = function (argument) {
|
|
384
|
+
var key = toPrimitive(argument, 'string');
|
|
385
|
+
return isSymbol(key) ? key : key + '';
|
|
386
|
+
};
|
|
387
|
+
|
|
388
|
+
var global$3 = global$g;
|
|
389
|
+
var isObject$1 = isObject$4;
|
|
390
|
+
|
|
391
|
+
var document$1 = global$3.document;
|
|
392
|
+
// typeof document.createElement is 'object' in old IE
|
|
393
|
+
var EXISTS$1 = isObject$1(document$1) && isObject$1(document$1.createElement);
|
|
394
|
+
|
|
395
|
+
var documentCreateElement = function (it) {
|
|
396
|
+
return EXISTS$1 ? document$1.createElement(it) : {};
|
|
397
|
+
};
|
|
398
|
+
|
|
399
|
+
var DESCRIPTORS$3 = descriptors;
|
|
400
|
+
var fails$1 = fails$5;
|
|
401
|
+
var createElement = documentCreateElement;
|
|
402
|
+
|
|
403
|
+
// Thanks to IE8 for its funny defineProperty
|
|
404
|
+
var ie8DomDefine = !DESCRIPTORS$3 && !fails$1(function () {
|
|
405
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
406
|
+
return Object.defineProperty(createElement('div'), 'a', {
|
|
407
|
+
get: function () { return 7; }
|
|
408
|
+
}).a != 7;
|
|
409
|
+
});
|
|
410
|
+
|
|
411
|
+
var objectDefineProperty = {};
|
|
412
|
+
|
|
413
|
+
var DESCRIPTORS$2 = descriptors;
|
|
414
|
+
var fails = fails$5;
|
|
415
|
+
|
|
416
|
+
// V8 ~ Chrome 36-
|
|
417
|
+
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
418
|
+
var v8PrototypeDefineBug = DESCRIPTORS$2 && fails(function () {
|
|
419
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
420
|
+
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
421
|
+
value: 42,
|
|
422
|
+
writable: false
|
|
423
|
+
}).prototype != 42;
|
|
424
|
+
});
|
|
425
|
+
|
|
426
|
+
var global$2 = global$g;
|
|
427
|
+
var isObject = isObject$4;
|
|
428
|
+
|
|
429
|
+
var String$1 = global$2.String;
|
|
430
|
+
var TypeError$1 = global$2.TypeError;
|
|
431
|
+
|
|
432
|
+
// `Assert: Type(argument) is Object`
|
|
433
|
+
var anObject$1 = function (argument) {
|
|
434
|
+
if (isObject(argument)) return argument;
|
|
435
|
+
throw TypeError$1(String$1(argument) + ' is not an object');
|
|
436
|
+
};
|
|
437
|
+
|
|
438
|
+
var global$1 = global$g;
|
|
439
|
+
var DESCRIPTORS$1 = descriptors;
|
|
440
|
+
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
441
|
+
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
442
|
+
var anObject = anObject$1;
|
|
443
|
+
var toPropertyKey = toPropertyKey$1;
|
|
444
|
+
|
|
445
|
+
var TypeError = global$1.TypeError;
|
|
446
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
447
|
+
var $defineProperty = Object.defineProperty;
|
|
448
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
449
|
+
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
450
|
+
var ENUMERABLE = 'enumerable';
|
|
451
|
+
var CONFIGURABLE$1 = 'configurable';
|
|
452
|
+
var WRITABLE = 'writable';
|
|
453
|
+
|
|
454
|
+
// `Object.defineProperty` method
|
|
455
|
+
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
456
|
+
var f = objectDefineProperty.f = DESCRIPTORS$1 ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
|
|
457
|
+
anObject(O);
|
|
458
|
+
P = toPropertyKey(P);
|
|
459
|
+
anObject(Attributes);
|
|
460
|
+
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
461
|
+
var current = $getOwnPropertyDescriptor(O, P);
|
|
462
|
+
if (current && current[WRITABLE]) {
|
|
463
|
+
O[P] = Attributes.value;
|
|
464
|
+
Attributes = {
|
|
465
|
+
configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
|
|
466
|
+
enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
|
|
467
|
+
writable: false
|
|
468
|
+
};
|
|
469
|
+
}
|
|
470
|
+
} return $defineProperty(O, P, Attributes);
|
|
471
|
+
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
472
|
+
anObject(O);
|
|
473
|
+
P = toPropertyKey(P);
|
|
474
|
+
anObject(Attributes);
|
|
475
|
+
if (IE8_DOM_DEFINE) try {
|
|
476
|
+
return $defineProperty(O, P, Attributes);
|
|
477
|
+
} catch (error) { /* empty */ }
|
|
478
|
+
if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');
|
|
479
|
+
if ('value' in Attributes) O[P] = Attributes.value;
|
|
480
|
+
return O;
|
|
481
|
+
};
|
|
482
|
+
|
|
483
|
+
var DESCRIPTORS = descriptors;
|
|
484
|
+
var hasOwn = hasOwnProperty_1;
|
|
485
|
+
|
|
486
|
+
var FunctionPrototype = Function.prototype;
|
|
487
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
488
|
+
var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;
|
|
489
|
+
|
|
490
|
+
var EXISTS = hasOwn(FunctionPrototype, 'name');
|
|
491
|
+
// additional protection from minified / mangled / dropped function names
|
|
492
|
+
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
493
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));
|
|
494
|
+
|
|
495
|
+
var functionName = {
|
|
496
|
+
EXISTS: EXISTS,
|
|
497
|
+
PROPER: PROPER,
|
|
498
|
+
CONFIGURABLE: CONFIGURABLE
|
|
499
|
+
};
|
|
500
|
+
|
|
501
|
+
function styleInject(css, ref) {
|
|
502
|
+
if ( ref === void 0 ) ref = {};
|
|
503
|
+
var insertAt = ref.insertAt;
|
|
504
|
+
|
|
505
|
+
if (!css || typeof document === 'undefined') { return; }
|
|
506
|
+
|
|
507
|
+
var head = document.head || document.getElementsByTagName('head')[0];
|
|
508
|
+
var style = document.createElement('style');
|
|
509
|
+
style.type = 'text/css';
|
|
510
|
+
|
|
511
|
+
if (insertAt === 'top') {
|
|
512
|
+
if (head.firstChild) {
|
|
513
|
+
head.insertBefore(style, head.firstChild);
|
|
514
|
+
} else {
|
|
515
|
+
head.appendChild(style);
|
|
516
|
+
}
|
|
517
|
+
} else {
|
|
518
|
+
head.appendChild(style);
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
if (style.styleSheet) {
|
|
522
|
+
style.styleSheet.cssText = css;
|
|
523
|
+
} else {
|
|
524
|
+
style.appendChild(document.createTextNode(css));
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
export { aCallable$1 as a, functionBindNative as b, fails$5 as c, getBuiltIn$2 as d, isObject$4 as e, functionUncurryThis as f, global$g as g, documentCreateElement as h, isCallable$5 as i, descriptors as j, functionCall as k, toPropertyKey$1 as l, hasOwnProperty_1 as m, ie8DomDefine as n, objectDefineProperty as o, sharedStore as p, shared$2 as q, requireObjectCoercible$1 as r, styleInject as s, toObject$1 as t, uid$1 as u, setGlobal$1 as v, wellKnownSymbol$1 as w, functionName as x, anObject$1 as y, v8PrototypeDefineBug as z };
|