@frollo/frollo-web-ui 2.0.0 → 3.0.1

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 (84) hide show
  1. package/cjs/index.js +17802 -1708
  2. package/esm/add-to-unscopables-2400f45b.js +25 -0
  3. package/esm/array-iteration-107f927f.js +92 -0
  4. package/esm/array-method-has-species-support-3d413468.js +23 -0
  5. package/esm/array-method-is-strict-055b1830.js +14 -0
  6. package/esm/array-species-create-a5f5503b.js +97 -0
  7. package/esm/{classof-088c9833.js → classof-39c30bd5.js} +1 -2
  8. package/esm/create-property-534611fd.js +14 -0
  9. package/esm/delete-property-or-throw-8032646c.js +31 -0
  10. package/esm/does-not-exceed-safe-integer-31d08811.js +11 -0
  11. package/esm/es.array.concat-987938be.js +69 -0
  12. package/esm/{es.array.find-54b8f84b.js → es.array.find-dfa1f42f.js} +5 -6
  13. package/esm/{es.array.includes-9a6e4066.js → es.array.includes-91be7771.js} +3 -4
  14. package/esm/{es.function.name-2fa3a718.js → es.function.name-557cb1f9.js} +1 -1
  15. package/esm/{es.number.constructor-b7faae1f.js → es.number.constructor-1249bd78.js} +2 -3
  16. package/esm/es.string.iterator-284b31d4.js +470 -0
  17. package/esm/{object-keys-3c73c404.js → export-a37ba078.js} +2 -13
  18. package/esm/function-apply-ce251590.js +14 -0
  19. package/esm/fw-accordion.js +2 -8
  20. package/esm/fw-animations.js +6 -20
  21. package/esm/fw-bar-chart.js +19 -0
  22. package/esm/{fw-button-765b9d52.js → fw-button-1486e2d9.js} +6 -24
  23. package/esm/fw-button.js +9 -8
  24. package/esm/fw-card-1b6a67fe.js +90 -0
  25. package/esm/fw-card.js +2 -95
  26. package/esm/fw-checkbox.js +27 -17
  27. package/esm/fw-dropdown.js +17 -33
  28. package/esm/fw-image-4727ac61.js +289 -0
  29. package/esm/fw-image.js +22 -847
  30. package/esm/fw-input.js +24 -25
  31. package/esm/fw-loading-bar-f5ca605c.js +22 -0
  32. package/esm/{fw-loading-spinner-01b9a040.js → fw-loading-spinner-df1627c0.js} +1 -2
  33. package/esm/fw-loading.js +6 -9
  34. package/esm/fw-modal.js +218 -11
  35. package/esm/fw-navigation-menu.js +11 -19
  36. package/esm/fw-progress-bar.js +4 -11
  37. package/esm/fw-table.js +12 -56
  38. package/esm/fw-tabs.js +60 -20
  39. package/esm/fw-tag.js +8 -8
  40. package/esm/fw-toast.js +276 -0
  41. package/esm/fw-transactions-card.js +115 -0
  42. package/esm/index-1a41e7bf.js +15838 -0
  43. package/esm/{index-7833cf39.js → index-4605e00e.js} +114 -86
  44. package/esm/index.js +87 -73
  45. package/esm/is-forced-752b5893.js +927 -0
  46. package/esm/{add-to-unscopables-a5032b1d.js → object-create-f6f3a673.js} +3 -25
  47. package/esm/object-keys-4f5bf4e7.js +13 -0
  48. package/esm/{to-string-c2bd1f4d.js → to-string-12728fd2.js} +2 -2
  49. package/esm/uniqueId-fe08534a.js +279 -0
  50. package/esm/web.timers-0f117224.js +72 -0
  51. package/frollo-web-ui.esm.js +18020 -1824
  52. package/icons/index.ts +5 -1
  53. package/icons/solid-check.svg +3 -0
  54. package/icons/solid-xmark.svg +3 -0
  55. package/index.d.ts +344 -22
  56. package/package.json +5 -1
  57. package/styles/web-components.scss +8 -0
  58. package/types/components/fw-bar-chart/fw-bar-chart.vue.d.ts +83 -0
  59. package/types/components/fw-bar-chart/index.d.ts +2 -0
  60. package/types/components/fw-bar-chart/index.types.d.ts +11 -0
  61. package/types/components/fw-checkbox/fw-checkbox.vue.d.ts +3 -1
  62. package/types/components/fw-input/fw-input.vue.d.ts +1 -0
  63. package/types/components/fw-modal/fw-modal.vue.d.ts +16 -0
  64. package/types/components/fw-modal/index.types.d.ts +1 -0
  65. package/types/components/fw-toast/fw-toast.vue.d.ts +121 -0
  66. package/types/components/fw-toast/index.d.ts +2 -0
  67. package/types/components/fw-toast/index.types.d.ts +13 -0
  68. package/types/components/fw-transactions-card/fw-transactions-card.vue.d.ts +58 -0
  69. package/types/components/fw-transactions-card/index.d.ts +2 -0
  70. package/types/components/fw-transactions-card/index.types.d.ts +6 -0
  71. package/types/components/index.d.ts +3 -0
  72. package/types/components/index.types.d.ts +3 -0
  73. package/types/icons/index.d.ts +3 -1
  74. package/types/index.browser-umd.d.ts +1 -0
  75. package/types/services/index.d.ts +1 -0
  76. package/types/services/modal.d.ts +1 -1
  77. package/types/services/toast.d.ts +9 -0
  78. package/web-components/index.js +36612 -0
  79. package/esm/array-iteration-4f83e223.js +0 -186
  80. package/esm/create-property-da6d232b.js +0 -26
  81. package/esm/function-name-c49146fc.js +0 -492
  82. package/esm/fw-loading-bar-da7d53fb.js +0 -22
  83. package/esm/index-06f4e5f1.js +0 -482
  84. package/esm/is-forced-fd46b5f2.js +0 -438
@@ -1,6 +1,5 @@
1
- import { d as descriptors, G as v8PrototypeDefineBug, o as objectDefineProperty, c as anObject$2, u as getBuiltIn$1, a as documentCreateElement$1, w as wellKnownSymbol$1 } from './function-name-c49146fc.js';
2
- import { t as toIndexedObject$1, k as enumBugKeys$1, r as hiddenKeys$1, s as sharedKey$1 } from './is-forced-fd46b5f2.js';
3
- import { o as objectKeys$1 } from './object-keys-3c73c404.js';
1
+ import { d as descriptors, X as v8PrototypeDefineBug, F as objectDefineProperty, q as anObject$2, t as toIndexedObject$1, B as getBuiltIn$1, U as enumBugKeys$1, Y as hiddenKeys$1, a as documentCreateElement$1, O as sharedKey$1 } from './is-forced-752b5893.js';
2
+ import { o as objectKeys$1 } from './object-keys-4f5bf4e7.js';
4
3
 
5
4
  var objectDefineProperties = {};
6
5
 
@@ -114,25 +113,4 @@ var objectCreate = Object.create || function create(O, Properties) {
114
113
  return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
115
114
  };
116
115
 
117
- var wellKnownSymbol = wellKnownSymbol$1;
118
- var create = objectCreate;
119
- var defineProperty = objectDefineProperty.f;
120
-
121
- var UNSCOPABLES = wellKnownSymbol('unscopables');
122
- var ArrayPrototype = Array.prototype;
123
-
124
- // Array.prototype[@@unscopables]
125
- // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
126
- if (ArrayPrototype[UNSCOPABLES] == undefined) {
127
- defineProperty(ArrayPrototype, UNSCOPABLES, {
128
- configurable: true,
129
- value: create(null)
130
- });
131
- }
132
-
133
- // add a key to Array.prototype[@@unscopables]
134
- var addToUnscopables = function (key) {
135
- ArrayPrototype[UNSCOPABLES][key] = true;
136
- };
137
-
138
- export { addToUnscopables as a, objectCreate as o };
116
+ export { objectCreate as o };
@@ -0,0 +1,13 @@
1
+ import { T as objectKeysInternal, U as enumBugKeys$1 } from './is-forced-752b5893.js';
2
+
3
+ var internalObjectKeys = objectKeysInternal;
4
+ var enumBugKeys = enumBugKeys$1;
5
+
6
+ // `Object.keys` method
7
+ // https://tc39.es/ecma262/#sec-object.keys
8
+ // eslint-disable-next-line es-x/no-object-keys -- safe
9
+ var objectKeys = Object.keys || function keys(O) {
10
+ return internalObjectKeys(O, enumBugKeys);
11
+ };
12
+
13
+ export { objectKeys as o };
@@ -1,5 +1,5 @@
1
- import './function-name-c49146fc.js';
2
- import { c as classof$1 } from './classof-088c9833.js';
1
+ import './is-forced-752b5893.js';
2
+ import { c as classof$1 } from './classof-39c30bd5.js';
3
3
 
4
4
  var classof = classof$1;
5
5
 
@@ -0,0 +1,279 @@
1
+ /** Detect free variable `global` from Node.js. */
2
+ var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
3
+
4
+ /** Detect free variable `self`. */
5
+ var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
6
+
7
+ /** Used as a reference to the global object. */
8
+ var root = freeGlobal || freeSelf || Function('return this')();
9
+
10
+ /** Built-in value references. */
11
+ var Symbol = root.Symbol;
12
+
13
+ /**
14
+ * A specialized version of `_.map` for arrays without support for iteratee
15
+ * shorthands.
16
+ *
17
+ * @private
18
+ * @param {Array} [array] The array to iterate over.
19
+ * @param {Function} iteratee The function invoked per iteration.
20
+ * @returns {Array} Returns the new mapped array.
21
+ */
22
+ function arrayMap(array, iteratee) {
23
+ var index = -1,
24
+ length = array == null ? 0 : array.length,
25
+ result = Array(length);
26
+
27
+ while (++index < length) {
28
+ result[index] = iteratee(array[index], index, array);
29
+ }
30
+ return result;
31
+ }
32
+
33
+ /**
34
+ * Checks if `value` is classified as an `Array` object.
35
+ *
36
+ * @static
37
+ * @memberOf _
38
+ * @since 0.1.0
39
+ * @category Lang
40
+ * @param {*} value The value to check.
41
+ * @returns {boolean} Returns `true` if `value` is an array, else `false`.
42
+ * @example
43
+ *
44
+ * _.isArray([1, 2, 3]);
45
+ * // => true
46
+ *
47
+ * _.isArray(document.body.children);
48
+ * // => false
49
+ *
50
+ * _.isArray('abc');
51
+ * // => false
52
+ *
53
+ * _.isArray(_.noop);
54
+ * // => false
55
+ */
56
+ var isArray = Array.isArray;
57
+
58
+ /** Used for built-in method references. */
59
+ var objectProto$1 = Object.prototype;
60
+
61
+ /** Used to check objects for own properties. */
62
+ var hasOwnProperty = objectProto$1.hasOwnProperty;
63
+
64
+ /**
65
+ * Used to resolve the
66
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
67
+ * of values.
68
+ */
69
+ var nativeObjectToString$1 = objectProto$1.toString;
70
+
71
+ /** Built-in value references. */
72
+ var symToStringTag$1 = Symbol ? Symbol.toStringTag : undefined;
73
+
74
+ /**
75
+ * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
76
+ *
77
+ * @private
78
+ * @param {*} value The value to query.
79
+ * @returns {string} Returns the raw `toStringTag`.
80
+ */
81
+ function getRawTag(value) {
82
+ var isOwn = hasOwnProperty.call(value, symToStringTag$1),
83
+ tag = value[symToStringTag$1];
84
+
85
+ try {
86
+ value[symToStringTag$1] = undefined;
87
+ var unmasked = true;
88
+ } catch (e) {}
89
+
90
+ var result = nativeObjectToString$1.call(value);
91
+ if (unmasked) {
92
+ if (isOwn) {
93
+ value[symToStringTag$1] = tag;
94
+ } else {
95
+ delete value[symToStringTag$1];
96
+ }
97
+ }
98
+ return result;
99
+ }
100
+
101
+ /** Used for built-in method references. */
102
+ var objectProto = Object.prototype;
103
+
104
+ /**
105
+ * Used to resolve the
106
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
107
+ * of values.
108
+ */
109
+ var nativeObjectToString = objectProto.toString;
110
+
111
+ /**
112
+ * Converts `value` to a string using `Object.prototype.toString`.
113
+ *
114
+ * @private
115
+ * @param {*} value The value to convert.
116
+ * @returns {string} Returns the converted string.
117
+ */
118
+ function objectToString(value) {
119
+ return nativeObjectToString.call(value);
120
+ }
121
+
122
+ /** `Object#toString` result references. */
123
+ var nullTag = '[object Null]',
124
+ undefinedTag = '[object Undefined]';
125
+
126
+ /** Built-in value references. */
127
+ var symToStringTag = Symbol ? Symbol.toStringTag : undefined;
128
+
129
+ /**
130
+ * The base implementation of `getTag` without fallbacks for buggy environments.
131
+ *
132
+ * @private
133
+ * @param {*} value The value to query.
134
+ * @returns {string} Returns the `toStringTag`.
135
+ */
136
+ function baseGetTag(value) {
137
+ if (value == null) {
138
+ return value === undefined ? undefinedTag : nullTag;
139
+ }
140
+ return (symToStringTag && symToStringTag in Object(value))
141
+ ? getRawTag(value)
142
+ : objectToString(value);
143
+ }
144
+
145
+ /**
146
+ * Checks if `value` is object-like. A value is object-like if it's not `null`
147
+ * and has a `typeof` result of "object".
148
+ *
149
+ * @static
150
+ * @memberOf _
151
+ * @since 4.0.0
152
+ * @category Lang
153
+ * @param {*} value The value to check.
154
+ * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
155
+ * @example
156
+ *
157
+ * _.isObjectLike({});
158
+ * // => true
159
+ *
160
+ * _.isObjectLike([1, 2, 3]);
161
+ * // => true
162
+ *
163
+ * _.isObjectLike(_.noop);
164
+ * // => false
165
+ *
166
+ * _.isObjectLike(null);
167
+ * // => false
168
+ */
169
+ function isObjectLike(value) {
170
+ return value != null && typeof value == 'object';
171
+ }
172
+
173
+ /** `Object#toString` result references. */
174
+ var symbolTag = '[object Symbol]';
175
+
176
+ /**
177
+ * Checks if `value` is classified as a `Symbol` primitive or object.
178
+ *
179
+ * @static
180
+ * @memberOf _
181
+ * @since 4.0.0
182
+ * @category Lang
183
+ * @param {*} value The value to check.
184
+ * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
185
+ * @example
186
+ *
187
+ * _.isSymbol(Symbol.iterator);
188
+ * // => true
189
+ *
190
+ * _.isSymbol('abc');
191
+ * // => false
192
+ */
193
+ function isSymbol(value) {
194
+ return typeof value == 'symbol' ||
195
+ (isObjectLike(value) && baseGetTag(value) == symbolTag);
196
+ }
197
+
198
+ /** Used as references for various `Number` constants. */
199
+ var INFINITY = 1 / 0;
200
+
201
+ /** Used to convert symbols to primitives and strings. */
202
+ var symbolProto = Symbol ? Symbol.prototype : undefined,
203
+ symbolToString = symbolProto ? symbolProto.toString : undefined;
204
+
205
+ /**
206
+ * The base implementation of `_.toString` which doesn't convert nullish
207
+ * values to empty strings.
208
+ *
209
+ * @private
210
+ * @param {*} value The value to process.
211
+ * @returns {string} Returns the string.
212
+ */
213
+ function baseToString(value) {
214
+ // Exit early for strings to avoid a performance hit in some environments.
215
+ if (typeof value == 'string') {
216
+ return value;
217
+ }
218
+ if (isArray(value)) {
219
+ // Recursively convert values (susceptible to call stack limits).
220
+ return arrayMap(value, baseToString) + '';
221
+ }
222
+ if (isSymbol(value)) {
223
+ return symbolToString ? symbolToString.call(value) : '';
224
+ }
225
+ var result = (value + '');
226
+ return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
227
+ }
228
+
229
+ /**
230
+ * Converts `value` to a string. An empty string is returned for `null`
231
+ * and `undefined` values. The sign of `-0` is preserved.
232
+ *
233
+ * @static
234
+ * @memberOf _
235
+ * @since 4.0.0
236
+ * @category Lang
237
+ * @param {*} value The value to convert.
238
+ * @returns {string} Returns the converted string.
239
+ * @example
240
+ *
241
+ * _.toString(null);
242
+ * // => ''
243
+ *
244
+ * _.toString(-0);
245
+ * // => '-0'
246
+ *
247
+ * _.toString([1, 2, 3]);
248
+ * // => '1,2,3'
249
+ */
250
+ function toString(value) {
251
+ return value == null ? '' : baseToString(value);
252
+ }
253
+
254
+ /** Used to generate unique IDs. */
255
+ var idCounter = 0;
256
+
257
+ /**
258
+ * Generates a unique ID. If `prefix` is given, the ID is appended to it.
259
+ *
260
+ * @static
261
+ * @since 0.1.0
262
+ * @memberOf _
263
+ * @category Util
264
+ * @param {string} [prefix=''] The value to prefix the ID with.
265
+ * @returns {string} Returns the unique ID.
266
+ * @example
267
+ *
268
+ * _.uniqueId('contact_');
269
+ * // => 'contact_104'
270
+ *
271
+ * _.uniqueId();
272
+ * // => '105'
273
+ */
274
+ function uniqueId(prefix) {
275
+ var id = ++idCounter;
276
+ return toString(prefix) + id;
277
+ }
278
+
279
+ export { uniqueId as u };
@@ -0,0 +1,72 @@
1
+ import { f as functionUncurryThis, g as global$3, x as isCallable$1, j as engineUserAgent } from './is-forced-752b5893.js';
2
+ import { _ as _export } from './export-a37ba078.js';
3
+ import { f as functionApply } from './function-apply-ce251590.js';
4
+
5
+ var web_timers = {};
6
+
7
+ var web_setInterval = {};
8
+
9
+ var uncurryThis = functionUncurryThis;
10
+
11
+ var arraySlice$1 = uncurryThis([].slice);
12
+
13
+ var $TypeError = TypeError;
14
+
15
+ var validateArgumentsLength$1 = function (passed, required) {
16
+ if (passed < required) throw $TypeError('Not enough arguments');
17
+ return passed;
18
+ };
19
+
20
+ var global$2 = global$3;
21
+ var apply = functionApply;
22
+ var isCallable = isCallable$1;
23
+ var userAgent = engineUserAgent;
24
+ var arraySlice = arraySlice$1;
25
+ var validateArgumentsLength = validateArgumentsLength$1;
26
+
27
+ var MSIE = /MSIE .\./.test(userAgent); // <- dirty ie9- check
28
+ var Function = global$2.Function;
29
+
30
+ var wrap = function (scheduler) {
31
+ return MSIE ? function (handler, timeout /* , ...arguments */) {
32
+ var boundArgs = validateArgumentsLength(arguments.length, 1) > 2;
33
+ var fn = isCallable(handler) ? handler : Function(handler);
34
+ var args = boundArgs ? arraySlice(arguments, 2) : undefined;
35
+ return scheduler(boundArgs ? function () {
36
+ apply(fn, this, args);
37
+ } : fn, timeout);
38
+ } : scheduler;
39
+ };
40
+
41
+ // ie9- setTimeout & setInterval additional parameters fix
42
+ // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#timers
43
+ var schedulersFix = {
44
+ // `setTimeout` method
45
+ // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-settimeout
46
+ setTimeout: wrap(global$2.setTimeout),
47
+ // `setInterval` method
48
+ // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-setinterval
49
+ setInterval: wrap(global$2.setInterval)
50
+ };
51
+
52
+ var $$1 = _export;
53
+ var global$1 = global$3;
54
+ var setInterval = schedulersFix.setInterval;
55
+
56
+ // ie9- setInterval additional parameters fix
57
+ // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-setinterval
58
+ $$1({ global: true, bind: true, forced: global$1.setInterval !== setInterval }, {
59
+ setInterval: setInterval
60
+ });
61
+
62
+ var web_setTimeout = {};
63
+
64
+ var $ = _export;
65
+ var global = global$3;
66
+ var setTimeout = schedulersFix.setTimeout;
67
+
68
+ // ie9- setTimeout additional parameters fix
69
+ // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-settimeout
70
+ $({ global: true, bind: true, forced: global.setTimeout !== setTimeout }, {
71
+ setTimeout: setTimeout
72
+ });