@frollo/frollo-web-ui 0.2.1 → 0.2.4

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.
Files changed (37) hide show
  1. package/cjs/index.js +288 -84
  2. package/esm/add-to-unscopables-82352072.js +239 -0
  3. package/esm/{es.array.includes-debcb50f.js → es.array.includes-33e186c4.js} +3 -2
  4. package/esm/{es.function.name-e746680f.js → es.function.name-3a9c8706.js} +1 -1
  5. package/esm/es.number.constructor-f646730f.js +243 -0
  6. package/esm/{function-name-f0c1223e.js → function-name-3bda6320.js} +1 -1
  7. package/esm/fw-animations.js +136 -0
  8. package/esm/{fw-button-ab906734.js → fw-button-22301a2f.js} +1 -1
  9. package/esm/fw-button.js +5 -4
  10. package/esm/fw-checkbox.js +2 -2
  11. package/esm/fw-input.js +5 -4
  12. package/esm/fw-modal.js +6 -5
  13. package/esm/fw-navigation-menu.js +5 -4
  14. package/esm/fw-progress-bar.js +103 -0
  15. package/esm/fw-tabs.js +5 -3
  16. package/esm/{index-963039a3.js → index-59d76908.js} +2 -2
  17. package/esm/index-dd50b12a.js +326 -0
  18. package/esm/index.js +20 -11
  19. package/esm/is-forced-3323c994.js +438 -0
  20. package/frollo-web-ui.esm.js +332 -101
  21. package/icons/check.svg +3 -0
  22. package/icons/index.ts +3 -1
  23. package/index.d.ts +126 -10
  24. package/package.json +2 -1
  25. package/types/components/fw-animations/fw-email-pulse.vue.d.ts +24 -0
  26. package/types/components/fw-animations/fw-success-pulse.vue.d.ts +24 -0
  27. package/types/components/fw-animations/index.d.ts +3 -0
  28. package/types/components/fw-progress-bar/fw-progress-bar.vue.d.ts +52 -0
  29. package/types/components/fw-progress-bar/index.d.ts +2 -0
  30. package/types/components/fw-progress-bar/index.types.d.ts +5 -0
  31. package/types/components/fw-tabs/fw-tab.vue.d.ts +11 -0
  32. package/types/components/fw-tabs/fw-tabs.vue.d.ts +1 -1
  33. package/types/components/index.d.ts +2 -0
  34. package/types/components/index.types.d.ts +1 -0
  35. package/types/icons/index.d.ts +2 -1
  36. package/esm/add-to-unscopables-81c17489.js +0 -673
  37. package/esm/index-0e14da44.js +0 -561
@@ -0,0 +1,438 @@
1
+ import { b as functionUncurryThis, f as fails$3, r as requireObjectCoercible$1, a as descriptors, u as functionCall, x as toPropertyKey$1, m as hasOwnProperty_1, y as ie8DomDefine, o as objectDefineProperty, i as isCallable$5, z as sharedStore, g as global$2, A as shared$2, B as uid$1, k as isObject$1, C as functionName, n as defineGlobalProperty$1 } from './function-name-3bda6320.js';
2
+
3
+ var objectGetOwnPropertyDescriptor = {};
4
+
5
+ var objectPropertyIsEnumerable = {};
6
+
7
+ 'use strict';
8
+ var $propertyIsEnumerable = {}.propertyIsEnumerable;
9
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
10
+ var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
11
+
12
+ // Nashorn ~ JDK8 bug
13
+ var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);
14
+
15
+ // `Object.prototype.propertyIsEnumerable` method implementation
16
+ // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
17
+ var f$2 = objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
18
+ var descriptor = getOwnPropertyDescriptor(this, V);
19
+ return !!descriptor && descriptor.enumerable;
20
+ } : $propertyIsEnumerable;
21
+
22
+ var createPropertyDescriptor$2 = function (bitmap, value) {
23
+ return {
24
+ enumerable: !(bitmap & 1),
25
+ configurable: !(bitmap & 2),
26
+ writable: !(bitmap & 4),
27
+ value: value
28
+ };
29
+ };
30
+
31
+ var uncurryThis$4 = functionUncurryThis;
32
+
33
+ var toString = uncurryThis$4({}.toString);
34
+ var stringSlice = uncurryThis$4(''.slice);
35
+
36
+ var classofRaw = function (it) {
37
+ return stringSlice(toString(it), 8, -1);
38
+ };
39
+
40
+ var uncurryThis$3 = functionUncurryThis;
41
+ var fails$2 = fails$3;
42
+ var classof = classofRaw;
43
+
44
+ var $Object = Object;
45
+ var split = uncurryThis$3(''.split);
46
+
47
+ // fallback for non-array-like ES3 and non-enumerable old V8 strings
48
+ var indexedObject = fails$2(function () {
49
+ // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
50
+ // eslint-disable-next-line no-prototype-builtins -- safe
51
+ return !$Object('z').propertyIsEnumerable(0);
52
+ }) ? function (it) {
53
+ return classof(it) == 'String' ? split(it, '') : $Object(it);
54
+ } : $Object;
55
+
56
+ // toObject with fallback for non-array-like ES3 strings
57
+ var IndexedObject = indexedObject;
58
+ var requireObjectCoercible = requireObjectCoercible$1;
59
+
60
+ var toIndexedObject$3 = function (it) {
61
+ return IndexedObject(requireObjectCoercible(it));
62
+ };
63
+
64
+ var DESCRIPTORS$2 = descriptors;
65
+ var call = functionCall;
66
+ var propertyIsEnumerableModule = objectPropertyIsEnumerable;
67
+ var createPropertyDescriptor$1 = createPropertyDescriptor$2;
68
+ var toIndexedObject$2 = toIndexedObject$3;
69
+ var toPropertyKey = toPropertyKey$1;
70
+ var hasOwn$3 = hasOwnProperty_1;
71
+ var IE8_DOM_DEFINE = ie8DomDefine;
72
+
73
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
74
+ var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
75
+
76
+ // `Object.getOwnPropertyDescriptor` method
77
+ // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
78
+ var f$1 = objectGetOwnPropertyDescriptor.f = DESCRIPTORS$2 ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
79
+ O = toIndexedObject$2(O);
80
+ P = toPropertyKey(P);
81
+ if (IE8_DOM_DEFINE) try {
82
+ return $getOwnPropertyDescriptor(O, P);
83
+ } catch (error) { /* empty */ }
84
+ if (hasOwn$3(O, P)) return createPropertyDescriptor$1(!call(propertyIsEnumerableModule.f, O, P), O[P]);
85
+ };
86
+
87
+ var DESCRIPTORS$1 = descriptors;
88
+ var definePropertyModule$1 = objectDefineProperty;
89
+ var createPropertyDescriptor = createPropertyDescriptor$2;
90
+
91
+ var createNonEnumerableProperty$1 = DESCRIPTORS$1 ? function (object, key, value) {
92
+ return definePropertyModule$1.f(object, key, createPropertyDescriptor(1, value));
93
+ } : function (object, key, value) {
94
+ object[key] = value;
95
+ return object;
96
+ };
97
+
98
+ var makeBuiltIn$2 = {exports: {}};
99
+
100
+ var uncurryThis$2 = functionUncurryThis;
101
+ var isCallable$4 = isCallable$5;
102
+ var store$1 = sharedStore;
103
+
104
+ var functionToString = uncurryThis$2(Function.toString);
105
+
106
+ // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
107
+ if (!isCallable$4(store$1.inspectSource)) {
108
+ store$1.inspectSource = function (it) {
109
+ return functionToString(it);
110
+ };
111
+ }
112
+
113
+ var inspectSource$2 = store$1.inspectSource;
114
+
115
+ var global$1 = global$2;
116
+ var isCallable$3 = isCallable$5;
117
+ var inspectSource$1 = inspectSource$2;
118
+
119
+ var WeakMap$1 = global$1.WeakMap;
120
+
121
+ var nativeWeakMap = isCallable$3(WeakMap$1) && /native code/.test(inspectSource$1(WeakMap$1));
122
+
123
+ var shared$1 = shared$2.exports;
124
+ var uid = uid$1;
125
+
126
+ var keys = shared$1('keys');
127
+
128
+ var sharedKey$1 = function (key) {
129
+ return keys[key] || (keys[key] = uid(key));
130
+ };
131
+
132
+ var hiddenKeys$3 = {};
133
+
134
+ var NATIVE_WEAK_MAP = nativeWeakMap;
135
+ var global = global$2;
136
+ var uncurryThis$1 = functionUncurryThis;
137
+ var isObject = isObject$1;
138
+ var createNonEnumerableProperty = createNonEnumerableProperty$1;
139
+ var hasOwn$2 = hasOwnProperty_1;
140
+ var shared = sharedStore;
141
+ var sharedKey = sharedKey$1;
142
+ var hiddenKeys$2 = hiddenKeys$3;
143
+
144
+ var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
145
+ var TypeError = global.TypeError;
146
+ var WeakMap = global.WeakMap;
147
+ var set, get, has;
148
+
149
+ var enforce = function (it) {
150
+ return has(it) ? get(it) : set(it, {});
151
+ };
152
+
153
+ var getterFor = function (TYPE) {
154
+ return function (it) {
155
+ var state;
156
+ if (!isObject(it) || (state = get(it)).type !== TYPE) {
157
+ throw TypeError('Incompatible receiver, ' + TYPE + ' required');
158
+ } return state;
159
+ };
160
+ };
161
+
162
+ if (NATIVE_WEAK_MAP || shared.state) {
163
+ var store = shared.state || (shared.state = new WeakMap());
164
+ var wmget = uncurryThis$1(store.get);
165
+ var wmhas = uncurryThis$1(store.has);
166
+ var wmset = uncurryThis$1(store.set);
167
+ set = function (it, metadata) {
168
+ if (wmhas(store, it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
169
+ metadata.facade = it;
170
+ wmset(store, it, metadata);
171
+ return metadata;
172
+ };
173
+ get = function (it) {
174
+ return wmget(store, it) || {};
175
+ };
176
+ has = function (it) {
177
+ return wmhas(store, it);
178
+ };
179
+ } else {
180
+ var STATE = sharedKey('state');
181
+ hiddenKeys$2[STATE] = true;
182
+ set = function (it, metadata) {
183
+ if (hasOwn$2(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
184
+ metadata.facade = it;
185
+ createNonEnumerableProperty(it, STATE, metadata);
186
+ return metadata;
187
+ };
188
+ get = function (it) {
189
+ return hasOwn$2(it, STATE) ? it[STATE] : {};
190
+ };
191
+ has = function (it) {
192
+ return hasOwn$2(it, STATE);
193
+ };
194
+ }
195
+
196
+ var internalState = {
197
+ set: set,
198
+ get: get,
199
+ has: has,
200
+ enforce: enforce,
201
+ getterFor: getterFor
202
+ };
203
+
204
+ var fails$1 = fails$3;
205
+ var isCallable$2 = isCallable$5;
206
+ var hasOwn$1 = hasOwnProperty_1;
207
+ var DESCRIPTORS = descriptors;
208
+ var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
209
+ var inspectSource = inspectSource$2;
210
+ var InternalStateModule = internalState;
211
+
212
+ var enforceInternalState = InternalStateModule.enforce;
213
+ var getInternalState = InternalStateModule.get;
214
+ // eslint-disable-next-line es-x/no-object-defineproperty -- safe
215
+ var defineProperty = Object.defineProperty;
216
+
217
+ var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails$1(function () {
218
+ return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
219
+ });
220
+
221
+ var TEMPLATE = String(String).split('String');
222
+
223
+ var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
224
+ if (String(name).slice(0, 7) === 'Symbol(') {
225
+ name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
226
+ }
227
+ if (options && options.getter) name = 'get ' + name;
228
+ if (options && options.setter) name = 'set ' + name;
229
+ if (!hasOwn$1(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
230
+ if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });
231
+ else value.name = name;
232
+ }
233
+ if (CONFIGURABLE_LENGTH && options && hasOwn$1(options, 'arity') && value.length !== options.arity) {
234
+ defineProperty(value, 'length', { value: options.arity });
235
+ }
236
+ try {
237
+ if (options && hasOwn$1(options, 'constructor') && options.constructor) {
238
+ if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });
239
+ // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
240
+ } else if (value.prototype) value.prototype = undefined;
241
+ } catch (error) { /* empty */ }
242
+ var state = enforceInternalState(value);
243
+ if (!hasOwn$1(state, 'source')) {
244
+ state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
245
+ } return value;
246
+ };
247
+
248
+ // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
249
+ // eslint-disable-next-line no-extend-native -- required
250
+ Function.prototype.toString = makeBuiltIn$1(function toString() {
251
+ return isCallable$2(this) && getInternalState(this).source || inspectSource(this);
252
+ }, 'toString');
253
+
254
+ var makeBuiltIn_1 = makeBuiltIn$2.exports;
255
+
256
+ var isCallable$1 = isCallable$5;
257
+ var definePropertyModule = objectDefineProperty;
258
+ var makeBuiltIn = makeBuiltIn$2.exports;
259
+ var defineGlobalProperty = defineGlobalProperty$1;
260
+
261
+ var defineBuiltIn = function (O, key, value, options) {
262
+ if (!options) options = {};
263
+ var simple = options.enumerable;
264
+ var name = options.name !== undefined ? options.name : key;
265
+ if (isCallable$1(value)) makeBuiltIn(value, name, options);
266
+ if (options.global) {
267
+ if (simple) O[key] = value;
268
+ else defineGlobalProperty(key, value);
269
+ } else {
270
+ try {
271
+ if (!options.unsafe) delete O[key];
272
+ else if (O[key]) simple = true;
273
+ } catch (error) { /* empty */ }
274
+ if (simple) O[key] = value;
275
+ else definePropertyModule.f(O, key, {
276
+ value: value,
277
+ enumerable: false,
278
+ configurable: !options.nonConfigurable,
279
+ writable: !options.nonWritable
280
+ });
281
+ } return O;
282
+ };
283
+
284
+ var objectGetOwnPropertyNames = {};
285
+
286
+ var ceil = Math.ceil;
287
+ var floor = Math.floor;
288
+
289
+ // `Math.trunc` method
290
+ // https://tc39.es/ecma262/#sec-math.trunc
291
+ // eslint-disable-next-line es-x/no-math-trunc -- safe
292
+ var mathTrunc = Math.trunc || function trunc(x) {
293
+ var n = +x;
294
+ return (n > 0 ? floor : ceil)(n);
295
+ };
296
+
297
+ var trunc = mathTrunc;
298
+
299
+ // `ToIntegerOrInfinity` abstract operation
300
+ // https://tc39.es/ecma262/#sec-tointegerorinfinity
301
+ var toIntegerOrInfinity$2 = function (argument) {
302
+ var number = +argument;
303
+ // eslint-disable-next-line no-self-compare -- NaN check
304
+ return number !== number || number === 0 ? 0 : trunc(number);
305
+ };
306
+
307
+ var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
308
+
309
+ var max = Math.max;
310
+ var min$1 = Math.min;
311
+
312
+ // Helper for a popular repeating case of the spec:
313
+ // Let integer be ? ToInteger(index).
314
+ // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
315
+ var toAbsoluteIndex$1 = function (index, length) {
316
+ var integer = toIntegerOrInfinity$1(index);
317
+ return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
318
+ };
319
+
320
+ var toIntegerOrInfinity = toIntegerOrInfinity$2;
321
+
322
+ var min = Math.min;
323
+
324
+ // `ToLength` abstract operation
325
+ // https://tc39.es/ecma262/#sec-tolength
326
+ var toLength$1 = function (argument) {
327
+ return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
328
+ };
329
+
330
+ var toLength = toLength$1;
331
+
332
+ // `LengthOfArrayLike` abstract operation
333
+ // https://tc39.es/ecma262/#sec-lengthofarraylike
334
+ var lengthOfArrayLike$1 = function (obj) {
335
+ return toLength(obj.length);
336
+ };
337
+
338
+ var toIndexedObject$1 = toIndexedObject$3;
339
+ var toAbsoluteIndex = toAbsoluteIndex$1;
340
+ var lengthOfArrayLike = lengthOfArrayLike$1;
341
+
342
+ // `Array.prototype.{ indexOf, includes }` methods implementation
343
+ var createMethod = function (IS_INCLUDES) {
344
+ return function ($this, el, fromIndex) {
345
+ var O = toIndexedObject$1($this);
346
+ var length = lengthOfArrayLike(O);
347
+ var index = toAbsoluteIndex(fromIndex, length);
348
+ var value;
349
+ // Array#includes uses SameValueZero equality algorithm
350
+ // eslint-disable-next-line no-self-compare -- NaN check
351
+ if (IS_INCLUDES && el != el) while (length > index) {
352
+ value = O[index++];
353
+ // eslint-disable-next-line no-self-compare -- NaN check
354
+ if (value != value) return true;
355
+ // Array#indexOf ignores holes, Array#includes - not
356
+ } else for (;length > index; index++) {
357
+ if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
358
+ } return !IS_INCLUDES && -1;
359
+ };
360
+ };
361
+
362
+ var arrayIncludes = {
363
+ // `Array.prototype.includes` method
364
+ // https://tc39.es/ecma262/#sec-array.prototype.includes
365
+ includes: createMethod(true),
366
+ // `Array.prototype.indexOf` method
367
+ // https://tc39.es/ecma262/#sec-array.prototype.indexof
368
+ indexOf: createMethod(false)
369
+ };
370
+
371
+ var uncurryThis = functionUncurryThis;
372
+ var hasOwn = hasOwnProperty_1;
373
+ var toIndexedObject = toIndexedObject$3;
374
+ var indexOf = arrayIncludes.indexOf;
375
+ var hiddenKeys$1 = hiddenKeys$3;
376
+
377
+ var push = uncurryThis([].push);
378
+
379
+ var objectKeysInternal = function (object, names) {
380
+ var O = toIndexedObject(object);
381
+ var i = 0;
382
+ var result = [];
383
+ var key;
384
+ for (key in O) !hasOwn(hiddenKeys$1, key) && hasOwn(O, key) && push(result, key);
385
+ // Don't enum bug & hidden keys
386
+ while (names.length > i) if (hasOwn(O, key = names[i++])) {
387
+ ~indexOf(result, key) || push(result, key);
388
+ }
389
+ return result;
390
+ };
391
+
392
+ // IE8- don't enum bug keys
393
+ var enumBugKeys$1 = [
394
+ 'constructor',
395
+ 'hasOwnProperty',
396
+ 'isPrototypeOf',
397
+ 'propertyIsEnumerable',
398
+ 'toLocaleString',
399
+ 'toString',
400
+ 'valueOf'
401
+ ];
402
+
403
+ var internalObjectKeys = objectKeysInternal;
404
+ var enumBugKeys = enumBugKeys$1;
405
+
406
+ var hiddenKeys = enumBugKeys.concat('length', 'prototype');
407
+
408
+ // `Object.getOwnPropertyNames` method
409
+ // https://tc39.es/ecma262/#sec-object.getownpropertynames
410
+ // eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
411
+ var f = objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
412
+ return internalObjectKeys(O, hiddenKeys);
413
+ };
414
+
415
+ var fails = fails$3;
416
+ var isCallable = isCallable$5;
417
+
418
+ var replacement = /#|\.prototype\./;
419
+
420
+ var isForced = function (feature, detection) {
421
+ var value = data[normalize(feature)];
422
+ return value == POLYFILL ? true
423
+ : value == NATIVE ? false
424
+ : isCallable(detection) ? fails(detection)
425
+ : !!detection;
426
+ };
427
+
428
+ var normalize = isForced.normalize = function (string) {
429
+ return String(string).replace(replacement, '.').toLowerCase();
430
+ };
431
+
432
+ var data = isForced.data = {};
433
+ var NATIVE = isForced.NATIVE = 'N';
434
+ var POLYFILL = isForced.POLYFILL = 'P';
435
+
436
+ var isForced_1 = isForced;
437
+
438
+ export { classofRaw as a, indexedObject as b, createNonEnumerableProperty$1 as c, defineBuiltIn as d, objectGetOwnPropertyNames as e, objectGetOwnPropertyDescriptor as f, isForced_1 as g, objectKeysInternal as h, inspectSource$2 as i, enumBugKeys$1 as j, hiddenKeys$3 as k, lengthOfArrayLike$1 as l, arrayIncludes as m, objectPropertyIsEnumerable as o, sharedKey$1 as s, toIndexedObject$3 as t };