@frollo/frollo-web-ui 1.2.2 → 1.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 (56) hide show
  1. package/cjs/index.js +1532 -726
  2. package/esm/{add-to-unscopables-44076600.js → add-to-unscopables-a5032b1d.js} +4 -4
  3. package/esm/{array-iteration-10670eca.js → array-iteration-4f83e223.js} +4 -4
  4. package/esm/{classof-b2d09c70.js → classof-088c9833.js} +2 -2
  5. package/esm/create-property-da6d232b.js +26 -0
  6. package/esm/es.array.find-54b8f84b.js +52 -0
  7. package/esm/{es.array.includes-b402df81.js → es.array.includes-9a6e4066.js} +4 -4
  8. package/esm/{es.function.name-383fcdbc.js → es.function.name-2fa3a718.js} +1 -1
  9. package/esm/{es.number.constructor-6def8fd9.js → es.number.constructor-b7faae1f.js} +5 -3
  10. package/esm/{function-name-0d296891.js → function-name-c49146fc.js} +1 -1
  11. package/esm/fw-accordion.js +100 -0
  12. package/esm/fw-animations.js +5 -5
  13. package/esm/{fw-button-fb8e3fe2.js → fw-button-d5d2cf19.js} +1 -1
  14. package/esm/fw-button.js +6 -6
  15. package/esm/fw-checkbox.js +2 -2
  16. package/esm/fw-dropdown.js +9 -54
  17. package/esm/fw-image.js +822 -0
  18. package/esm/fw-input.js +6 -6
  19. package/esm/fw-loading-bar-525e9129.js +22 -0
  20. package/esm/fw-loading.js +96 -0
  21. package/esm/fw-modal.js +7 -7
  22. package/esm/fw-navigation-menu.js +6 -6
  23. package/esm/fw-progress-bar.js +5 -5
  24. package/esm/fw-table.js +466 -8
  25. package/esm/fw-tabs.js +8 -8
  26. package/esm/fw-tag.js +5 -5
  27. package/esm/{index-26d82b11.js → index-7d8c95be.js} +2 -2
  28. package/esm/{index-ca8d7e19.js → index-b3aa1664.js} +103 -75
  29. package/esm/index.js +39 -199
  30. package/esm/{is-forced-2369382d.js → is-forced-fd46b5f2.js} +2 -2
  31. package/esm/{object-keys-f9d76c12.js → object-keys-3c73c404.js} +2 -2
  32. package/esm/{to-string-2588bbbe.js → to-string-c2bd1f4d.js} +2 -2
  33. package/frollo-web-ui.esm.js +1700 -809
  34. package/icons/index.ts +5 -1
  35. package/icons/plus.svg +3 -0
  36. package/icons/user.svg +3 -0
  37. package/index.d.ts +156 -15
  38. package/package.json +1 -1
  39. package/types/components/fw-accordion/fw-accordion.vue.d.ts +48 -0
  40. package/types/components/fw-accordion/index.d.ts +2 -0
  41. package/types/components/fw-accordion/index.types.d.ts +5 -0
  42. package/types/components/fw-image/fw-image.vue.d.ts +42 -0
  43. package/types/components/fw-image/index.d.ts +2 -0
  44. package/types/components/fw-image/index.types.d.ts +5 -0
  45. package/types/components/fw-loading/fw-loading-bar.vue.d.ts +2 -0
  46. package/types/components/fw-loading/fw-loading-card.vue.d.ts +2 -0
  47. package/types/components/fw-loading/fw-loading-table.vue.d.ts +25 -0
  48. package/types/components/fw-loading/index.d.ts +4 -0
  49. package/types/components/fw-table/fw-table.vue.d.ts +11 -1
  50. package/types/components/fw-table/index.types.d.ts +1 -0
  51. package/types/components/index.d.ts +3 -0
  52. package/types/components/index.types.d.ts +2 -0
  53. package/types/directives/index.d.ts +2 -0
  54. package/types/directives/lazy-loader.d.ts +3 -0
  55. package/types/icons/index.d.ts +3 -1
  56. package/esm/index-16e7ac1e.js +0 -454
package/esm/index.js CHANGED
@@ -1,16 +1,16 @@
1
- import { d as documentCreateElement$1, g as global$4, a as descriptors, f as functionUncurryThis, b as functionBindNative, i as isCallable$1, e as engineUserAgent } from './function-name-0d296891.js';
2
- import { _ as _export, o as objectKeys$1 } from './object-keys-f9d76c12.js';
3
- import { a as arrayIteration } from './array-iteration-10670eca.js';
4
- import { a as arrayMethodIsStrict$1, s as script$b, b as script$c, c as script$d } from './index-16e7ac1e.js';
5
- export { s as FwTable, b as FwTableHead, c as FwTableRow } from './index-16e7ac1e.js';
6
- import { FwDropdown as script$2 } from './fw-dropdown.js';
7
- export { FwDropdown } from './fw-dropdown.js';
8
- import { c as createNonEnumerableProperty$1, t as toIndexedObject$1, o as objectPropertyIsEnumerable } from './is-forced-2369382d.js';
1
+ import { FwImage as script$f } from './fw-image.js';
2
+ export { FwImage } from './fw-image.js';
3
+ import './es.array.find-54b8f84b.js';
4
+ import { d as descriptors, f as functionUncurryThis } from './function-name-c49146fc.js';
5
+ import { o as objectKeys$1, _ as _export } from './object-keys-3c73c404.js';
6
+ import { t as toIndexedObject$1, o as objectPropertyIsEnumerable } from './is-forced-fd46b5f2.js';
9
7
  import './fw-form.js';
10
8
  import { FwInput as script } from './fw-input.js';
11
9
  export { FwInput } from './fw-input.js';
12
10
  import { FwCheckbox as script$1 } from './fw-checkbox.js';
13
11
  export { FwCheckbox } from './fw-checkbox.js';
12
+ import { FwDropdown as script$2 } from './fw-dropdown.js';
13
+ export { FwDropdown } from './fw-dropdown.js';
14
14
  import { FwCard as script$3 } from './fw-card.js';
15
15
  export { FwCard } from './fw-card.js';
16
16
  import './fw-button.js';
@@ -18,28 +18,38 @@ import { FwNavigationMenu as script$5 } from './fw-navigation-menu.js';
18
18
  export { FwNavigationMenu } from './fw-navigation-menu.js';
19
19
  import { FwTabs as script$6, FwTab as script$7 } from './fw-tabs.js';
20
20
  export { FwTab, FwTabs } from './fw-tabs.js';
21
- import { s as script$8, u as uniqueId } from './index-26d82b11.js';
22
- export { s as FwModal } from './index-26d82b11.js';
21
+ import { s as script$8, u as uniqueId } from './index-7d8c95be.js';
22
+ export { s as FwModal } from './index-7d8c95be.js';
23
23
  import { FwProgressBar as script$9 } from './fw-progress-bar.js';
24
24
  export { FwProgressBar } from './fw-progress-bar.js';
25
25
  import { FwTag as script$a } from './fw-tag.js';
26
26
  export { FwTag } from './fw-tag.js';
27
+ import { FwTable as script$b, FwTableHead as script$c, FwTableRow as script$d } from './fw-table.js';
28
+ export { FwTable, FwTableHead, FwTableRow } from './fw-table.js';
29
+ import { FwAccordion as script$e } from './fw-accordion.js';
30
+ export { FwAccordion } from './fw-accordion.js';
31
+ import { FwLoadingCard as script$h, FwLoadingTable as script$i } from './fw-loading.js';
32
+ export { FwLoadingCard, FwLoadingTable } from './fw-loading.js';
27
33
  import { FwEmailPulse as __default__, FwSuccessPulse as __default__$1 } from './fw-animations.js';
28
34
  export { FwEmailPulse, FwSuccessPulse } from './fw-animations.js';
29
35
  import { F as Form } from './vee-validate.esm-a17a23c3.js';
30
36
  export { F as FwForm } from './vee-validate.esm-a17a23c3.js';
31
- import { s as script$4 } from './fw-button-fb8e3fe2.js';
32
- export { s as FwButton } from './fw-button-fb8e3fe2.js';
37
+ import { s as script$4 } from './fw-button-d5d2cf19.js';
38
+ export { s as FwButton } from './fw-button-d5d2cf19.js';
39
+ import { s as script$g } from './fw-loading-bar-525e9129.js';
40
+ export { s as FwLoadingBar } from './fw-loading-bar-525e9129.js';
33
41
  import { createApp } from 'vue';
34
- import './classof-b2d09c70.js';
35
- import './to-string-2588bbbe.js';
36
- import './index-ca8d7e19.js';
42
+ import './es.array.includes-9a6e4066.js';
43
+ import './add-to-unscopables-a5032b1d.js';
44
+ import './array-iteration-4f83e223.js';
45
+ import './classof-088c9833.js';
46
+ import './create-property-da6d232b.js';
47
+ import './to-string-c2bd1f4d.js';
48
+ import './es.number.constructor-b7faae1f.js';
49
+ import './index-b3aa1664.js';
37
50
  import './check-94a5917a.js';
38
- import './add-to-unscopables-44076600.js';
39
- import './es.function.name-383fcdbc.js';
40
51
  import './style-inject.es-1f59c1d0.js';
41
- import './es.array.includes-b402df81.js';
42
- import './es.number.constructor-6def8fd9.js';
52
+ import './es.function.name-2fa3a718.js';
43
53
 
44
54
  function _arrayWithHoles(arr) {
45
55
  if (Array.isArray(arr)) return arr;
@@ -102,111 +112,16 @@ function _slicedToArray(arr, i) {
102
112
  return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
103
113
  }
104
114
 
105
- var es_array_forEach = {};
106
-
107
- 'use strict';
108
- var $forEach = arrayIteration.forEach;
109
- var arrayMethodIsStrict = arrayMethodIsStrict$1;
110
-
111
- var STRICT_METHOD = arrayMethodIsStrict('forEach');
112
-
113
- // `Array.prototype.forEach` method implementation
114
- // https://tc39.es/ecma262/#sec-array.prototype.foreach
115
- var arrayForEach = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {
116
- return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
117
- // eslint-disable-next-line es-x/no-array-prototype-foreach -- safe
118
- } : [].forEach;
119
-
120
- 'use strict';
121
- var $$3 = _export;
122
- var forEach$1 = arrayForEach;
123
-
124
- // `Array.prototype.forEach` method
125
- // https://tc39.es/ecma262/#sec-array.prototype.foreach
126
- // eslint-disable-next-line es-x/no-array-prototype-foreach -- safe
127
- $$3({ target: 'Array', proto: true, forced: [].forEach != forEach$1 }, {
128
- forEach: forEach$1
129
- });
130
-
131
- var web_domCollections_forEach = {};
132
-
133
- // iterable DOM collections
134
- // flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
135
- var domIterables = {
136
- CSSRuleList: 0,
137
- CSSStyleDeclaration: 0,
138
- CSSValueList: 0,
139
- ClientRectList: 0,
140
- DOMRectList: 0,
141
- DOMStringList: 0,
142
- DOMTokenList: 1,
143
- DataTransferItemList: 0,
144
- FileList: 0,
145
- HTMLAllCollection: 0,
146
- HTMLCollection: 0,
147
- HTMLFormElement: 0,
148
- HTMLSelectElement: 0,
149
- MediaList: 0,
150
- MimeTypeArray: 0,
151
- NamedNodeMap: 0,
152
- NodeList: 1,
153
- PaintRequestList: 0,
154
- Plugin: 0,
155
- PluginArray: 0,
156
- SVGLengthList: 0,
157
- SVGNumberList: 0,
158
- SVGPathSegList: 0,
159
- SVGPointList: 0,
160
- SVGStringList: 0,
161
- SVGTransformList: 0,
162
- SourceBufferList: 0,
163
- StyleSheetList: 0,
164
- TextTrackCueList: 0,
165
- TextTrackList: 0,
166
- TouchList: 0
167
- };
168
-
169
- // in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`
170
- var documentCreateElement = documentCreateElement$1;
171
-
172
- var classList = documentCreateElement('span').classList;
173
- var DOMTokenListPrototype$1 = classList && classList.constructor && classList.constructor.prototype;
174
-
175
- var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
176
-
177
- var global$3 = global$4;
178
- var DOMIterables = domIterables;
179
- var DOMTokenListPrototype = domTokenListPrototype;
180
- var forEach = arrayForEach;
181
- var createNonEnumerableProperty = createNonEnumerableProperty$1;
182
-
183
- var handlePrototype = function (CollectionPrototype) {
184
- // some Chrome versions have non-configurable methods on DOMTokenList
185
- if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {
186
- createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach);
187
- } catch (error) {
188
- CollectionPrototype.forEach = forEach;
189
- }
190
- };
191
-
192
- for (var COLLECTION_NAME in DOMIterables) {
193
- if (DOMIterables[COLLECTION_NAME]) {
194
- handlePrototype(global$3[COLLECTION_NAME] && global$3[COLLECTION_NAME].prototype);
195
- }
196
- }
197
-
198
- handlePrototype(DOMTokenListPrototype);
199
-
200
115
  var es_object_entries = {};
201
116
 
202
117
  var DESCRIPTORS = descriptors;
203
- var uncurryThis$1 = functionUncurryThis;
118
+ var uncurryThis = functionUncurryThis;
204
119
  var objectKeys = objectKeys$1;
205
120
  var toIndexedObject = toIndexedObject$1;
206
121
  var $propertyIsEnumerable = objectPropertyIsEnumerable.f;
207
122
 
208
- var propertyIsEnumerable = uncurryThis$1($propertyIsEnumerable);
209
- var push = uncurryThis$1([].push);
123
+ var propertyIsEnumerable = uncurryThis($propertyIsEnumerable);
124
+ var push = uncurryThis([].push);
210
125
 
211
126
  // `Object.{ entries, values }` methods implementation
212
127
  var createMethod = function (TO_ENTRIES) {
@@ -236,12 +151,12 @@ var objectToArray = {
236
151
  values: createMethod(false)
237
152
  };
238
153
 
239
- var $$2 = _export;
154
+ var $ = _export;
240
155
  var $entries = objectToArray.entries;
241
156
 
242
157
  // `Object.entries` method
243
158
  // https://tc39.es/ecma262/#sec-object.entries
244
- $$2({ target: 'Object', stat: true }, {
159
+ $({ target: 'Object', stat: true }, {
245
160
  entries: function entries(O) {
246
161
  return $entries(O);
247
162
  }
@@ -266,6 +181,11 @@ var components = /*#__PURE__*/Object.freeze({
266
181
  FwTable: script$b,
267
182
  FwTableHead: script$c,
268
183
  FwTableRow: script$d,
184
+ FwAccordion: script$e,
185
+ FwImage: script$f,
186
+ FwLoadingBar: script$g,
187
+ FwLoadingCard: script$h,
188
+ FwLoadingTable: script$i,
269
189
  FwEmailPulse: __default__,
270
190
  FwSuccessPulse: __default__$1
271
191
  });
@@ -311,86 +231,6 @@ function _objectSpread2(target) {
311
231
  return target;
312
232
  }
313
233
 
314
- var web_timers = {};
315
-
316
- var web_setInterval = {};
317
-
318
- var NATIVE_BIND = functionBindNative;
319
-
320
- var FunctionPrototype = Function.prototype;
321
- var apply$1 = FunctionPrototype.apply;
322
- var call = FunctionPrototype.call;
323
-
324
- // eslint-disable-next-line es-x/no-reflect -- safe
325
- var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply$1) : function () {
326
- return call.apply(apply$1, arguments);
327
- });
328
-
329
- var uncurryThis = functionUncurryThis;
330
-
331
- var arraySlice$1 = uncurryThis([].slice);
332
-
333
- var $TypeError = TypeError;
334
-
335
- var validateArgumentsLength$1 = function (passed, required) {
336
- if (passed < required) throw $TypeError('Not enough arguments');
337
- return passed;
338
- };
339
-
340
- var global$2 = global$4;
341
- var apply = functionApply;
342
- var isCallable = isCallable$1;
343
- var userAgent = engineUserAgent;
344
- var arraySlice = arraySlice$1;
345
- var validateArgumentsLength = validateArgumentsLength$1;
346
-
347
- var MSIE = /MSIE .\./.test(userAgent); // <- dirty ie9- check
348
- var Function$1 = global$2.Function;
349
-
350
- var wrap = function (scheduler) {
351
- return MSIE ? function (handler, timeout /* , ...arguments */) {
352
- var boundArgs = validateArgumentsLength(arguments.length, 1) > 2;
353
- var fn = isCallable(handler) ? handler : Function$1(handler);
354
- var args = boundArgs ? arraySlice(arguments, 2) : undefined;
355
- return scheduler(boundArgs ? function () {
356
- apply(fn, this, args);
357
- } : fn, timeout);
358
- } : scheduler;
359
- };
360
-
361
- // ie9- setTimeout & setInterval additional parameters fix
362
- // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#timers
363
- var schedulersFix = {
364
- // `setTimeout` method
365
- // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-settimeout
366
- setTimeout: wrap(global$2.setTimeout),
367
- // `setInterval` method
368
- // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-setinterval
369
- setInterval: wrap(global$2.setInterval)
370
- };
371
-
372
- var $$1 = _export;
373
- var global$1 = global$4;
374
- var setInterval = schedulersFix.setInterval;
375
-
376
- // ie9- setInterval additional parameters fix
377
- // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-setinterval
378
- $$1({ global: true, bind: true, forced: global$1.setInterval !== setInterval }, {
379
- setInterval: setInterval
380
- });
381
-
382
- var web_setTimeout = {};
383
-
384
- var $ = _export;
385
- var global = global$4;
386
- var setTimeout$1 = schedulersFix.setTimeout;
387
-
388
- // ie9- setTimeout additional parameters fix
389
- // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-settimeout
390
- $({ global: true, bind: true, forced: global.setTimeout !== setTimeout$1 }, {
391
- setTimeout: setTimeout$1
392
- });
393
-
394
234
  var modalService = function modalService(options, element) {
395
235
  var elementToMount = document.createElement('div');
396
236
  elementToMount.id = uniqueId('fw-modal-app-');
@@ -1,4 +1,4 @@
1
- import { f as functionUncurryThis, c as fails$3, r as requireObjectCoercible$1, a as descriptors, s as functionCall, j as toPropertyKey$1, p as hasOwnProperty_1, u as ie8DomDefine, o as objectDefineProperty, i as isCallable$5, v as sharedStore, g as global$2, x as shared$2, y as uid$1, z as isObject$1, A as functionName, q as defineGlobalProperty$1 } from './function-name-0d296891.js';
1
+ import { f as functionUncurryThis, j as fails$3, r as requireObjectCoercible$1, d as descriptors, b as functionCall, x as toPropertyKey$1, k as hasOwnProperty_1, y as ie8DomDefine, o as objectDefineProperty, l as isCallable$5, z as sharedStore, g as global$2, A as shared$2, B as uid$1, C as isObject$1, n as functionName, v as defineGlobalProperty$1 } from './function-name-c49146fc.js';
2
2
 
3
3
  var objectGetOwnPropertyDescriptor = {};
4
4
 
@@ -435,4 +435,4 @@ var POLYFILL = isForced.POLYFILL = 'P';
435
435
 
436
436
  var isForced_1 = isForced;
437
437
 
438
- export { createPropertyDescriptor$2 as a, toAbsoluteIndex$1 as b, createNonEnumerableProperty$1 as c, defineBuiltIn as d, objectGetOwnPropertyNames as e, objectGetOwnPropertyDescriptor as f, objectKeysInternal as g, enumBugKeys$1 as h, isForced_1 as i, classofRaw as j, arrayIncludes as k, lengthOfArrayLike$1 as l, inspectSource$2 as m, indexedObject as n, objectPropertyIsEnumerable as o, hiddenKeys$3 as p, sharedKey$1 as s, toIndexedObject$3 as t };
438
+ export { toIntegerOrInfinity$2 as a, createPropertyDescriptor$2 as b, createNonEnumerableProperty$1 as c, defineBuiltIn as d, toAbsoluteIndex$1 as e, objectGetOwnPropertyNames as f, objectGetOwnPropertyDescriptor as g, isForced_1 as h, internalState as i, objectKeysInternal as j, enumBugKeys$1 as k, lengthOfArrayLike$1 as l, classofRaw as m, arrayIncludes as n, objectPropertyIsEnumerable as o, inspectSource$2 as p, indexedObject as q, hiddenKeys$3 as r, sharedKey$1 as s, toIndexedObject$3 as t };
@@ -1,5 +1,5 @@
1
- import { m as getBuiltIn$1, f as functionUncurryThis, n as anObject$1, p as hasOwnProperty_1, o as objectDefineProperty, g as global$1, q as defineGlobalProperty$1 } from './function-name-0d296891.js';
2
- import { e as objectGetOwnPropertyNames, f as objectGetOwnPropertyDescriptor, c as createNonEnumerableProperty$1, d as defineBuiltIn$1, i as isForced_1, g as objectKeysInternal, h as enumBugKeys$1 } from './is-forced-2369382d.js';
1
+ import { u as getBuiltIn$1, f as functionUncurryThis, c as anObject$1, k as hasOwnProperty_1, o as objectDefineProperty, g as global$1, v as defineGlobalProperty$1 } from './function-name-c49146fc.js';
2
+ import { f as objectGetOwnPropertyNames, g as objectGetOwnPropertyDescriptor, c as createNonEnumerableProperty$1, d as defineBuiltIn$1, h as isForced_1, j as objectKeysInternal, k as enumBugKeys$1 } from './is-forced-fd46b5f2.js';
3
3
 
4
4
  var objectGetOwnPropertySymbols = {};
5
5
 
@@ -1,5 +1,5 @@
1
- import './function-name-0d296891.js';
2
- import { c as classof$1 } from './classof-b2d09c70.js';
1
+ import './function-name-c49146fc.js';
2
+ import { c as classof$1 } from './classof-088c9833.js';
3
3
 
4
4
  var classof = classof$1;
5
5