@frollo/frollo-web-ui 3.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 (62) hide show
  1. package/cjs/index.js +18709 -3090
  2. package/esm/add-to-unscopables-2400f45b.js +25 -0
  3. package/esm/{array-iteration-98e2cf9a.js → array-iteration-107f927f.js} +2 -3
  4. package/esm/array-method-has-species-support-3d413468.js +23 -0
  5. package/esm/{array-method-is-strict-544b103f.js → array-method-is-strict-055b1830.js} +1 -1
  6. package/esm/{array-species-create-5fc23c89.js → array-species-create-a5f5503b.js} +3 -4
  7. package/esm/{classof-a45668b6.js → classof-39c30bd5.js} +1 -2
  8. package/esm/{create-property-558a3c24.js → create-property-534611fd.js} +1 -2
  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-36d8f2f0.js → es.array.find-dfa1f42f.js} +5 -6
  13. package/esm/{es.array.includes-df8e6e35.js → es.array.includes-91be7771.js} +3 -4
  14. package/esm/{es.function.name-b642b74f.js → es.function.name-557cb1f9.js} +1 -1
  15. package/esm/{es.number.constructor-f279ce82.js → es.number.constructor-1249bd78.js} +2 -3
  16. package/esm/{fw-image-ec7b02c5.js → es.string.iterator-284b31d4.js} +11 -311
  17. package/esm/{object-keys-6a890c6f.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 +5 -19
  21. package/esm/fw-bar-chart.js +19 -0
  22. package/esm/{fw-button-df5c923f.js → fw-button-1486e2d9.js} +6 -24
  23. package/esm/fw-button.js +8 -7
  24. package/esm/{fw-card-8d3f4ab5.js → fw-card-1b6a67fe.js} +0 -5
  25. package/esm/fw-card.js +1 -1
  26. package/esm/fw-checkbox.js +27 -17
  27. package/esm/fw-dropdown.js +16 -33
  28. package/esm/fw-image-4727ac61.js +289 -0
  29. package/esm/fw-image.js +19 -16
  30. package/esm/fw-input.js +24 -25
  31. package/esm/fw-loading-bar-f5ca605c.js +22 -0
  32. package/esm/{fw-loading-spinner-9b7c6855.js → fw-loading-spinner-df1627c0.js} +0 -1
  33. package/esm/fw-loading.js +6 -9
  34. package/esm/fw-modal.js +10 -20
  35. package/esm/fw-navigation-menu.js +10 -18
  36. package/esm/fw-progress-bar.js +4 -11
  37. package/esm/fw-table.js +11 -56
  38. package/esm/fw-tabs.js +60 -21
  39. package/esm/fw-tag.js +8 -8
  40. package/esm/fw-toast.js +28 -124
  41. package/esm/fw-transactions-card.js +20 -23
  42. package/esm/index-1a41e7bf.js +15838 -0
  43. package/esm/index.js +39 -56
  44. package/esm/is-forced-752b5893.js +927 -0
  45. package/esm/{add-to-unscopables-3f461c07.js → object-create-f6f3a673.js} +3 -25
  46. package/esm/object-keys-4f5bf4e7.js +13 -0
  47. package/esm/{to-string-685748aa.js → to-string-12728fd2.js} +2 -2
  48. package/esm/{web.timers-4a6aaab8.js → web.timers-0f117224.js} +5 -15
  49. package/frollo-web-ui.esm.js +18289 -2608
  50. package/index.d.ts +121 -23
  51. package/package.json +4 -1
  52. package/types/components/fw-bar-chart/fw-bar-chart.vue.d.ts +83 -0
  53. package/types/components/fw-bar-chart/index.d.ts +2 -0
  54. package/types/components/fw-bar-chart/index.types.d.ts +11 -0
  55. package/types/components/fw-checkbox/fw-checkbox.vue.d.ts +3 -1
  56. package/types/components/fw-input/fw-input.vue.d.ts +1 -0
  57. package/types/components/index.d.ts +1 -0
  58. package/types/components/index.types.d.ts +1 -0
  59. package/web-components/index.js +20825 -5648
  60. package/esm/function-name-e2f6ea36.js +0 -492
  61. package/esm/fw-loading-bar-da7d53fb.js +0 -22
  62. package/esm/is-forced-ddf227e6.js +0 -438
package/esm/index.js CHANGED
@@ -1,9 +1,11 @@
1
- import { s as script$f } from './fw-image-ec7b02c5.js';
2
- export { s as FwImage } from './fw-image-ec7b02c5.js';
3
- import './es.array.find-36d8f2f0.js';
4
- import { d as descriptors, f as functionUncurryThis } from './function-name-e2f6ea36.js';
5
- import { o as objectKeys$1, _ as _export } from './object-keys-6a890c6f.js';
6
- import { t as toIndexedObject$1, o as objectPropertyIsEnumerable } from './is-forced-ddf227e6.js';
1
+ import { _ as _unsupportedIterableToArray, s as script$l } from './index-1a41e7bf.js';
2
+ export { s as FwBarChart } from './index-1a41e7bf.js';
3
+ import { s as script$f } from './fw-image-4727ac61.js';
4
+ export { s as FwImage } from './fw-image-4727ac61.js';
5
+ import './es.array.find-dfa1f42f.js';
6
+ import { d as descriptors, f as functionUncurryThis, t as toIndexedObject$1, o as objectPropertyIsEnumerable } from './is-forced-752b5893.js';
7
+ import { _ as _export } from './export-a37ba078.js';
8
+ import { o as objectKeys$1 } from './object-keys-4f5bf4e7.js';
7
9
  import './fw-form.js';
8
10
  import { FwInput as script } from './fw-input.js';
9
11
  export { FwInput } from './fw-input.js';
@@ -38,30 +40,37 @@ import { FwEmailPulse as __default__, FwSuccessPulse as __default__$1 } from './
38
40
  export { FwEmailPulse, FwSuccessPulse } from './fw-animations.js';
39
41
  import { F as Form } from './vee-validate.esm-a17a23c3.js';
40
42
  export { F as FwForm } from './vee-validate.esm-a17a23c3.js';
41
- import { s as script$3 } from './fw-card-8d3f4ab5.js';
42
- export { s as FwCard } from './fw-card-8d3f4ab5.js';
43
- import { s as script$4 } from './fw-button-df5c923f.js';
44
- export { s as FwButton } from './fw-button-df5c923f.js';
45
- import { s as script$g } from './fw-loading-bar-da7d53fb.js';
46
- export { s as FwLoadingBar } from './fw-loading-bar-da7d53fb.js';
47
- import { s as script$l } from './fw-loading-spinner-9b7c6855.js';
48
- export { s as FwLoadingSpinner } from './fw-loading-spinner-9b7c6855.js';
43
+ import { s as script$3 } from './fw-card-1b6a67fe.js';
44
+ export { s as FwCard } from './fw-card-1b6a67fe.js';
45
+ import { s as script$4 } from './fw-button-1486e2d9.js';
46
+ export { s as FwButton } from './fw-button-1486e2d9.js';
47
+ import { s as script$g } from './fw-loading-bar-f5ca605c.js';
48
+ export { s as FwLoadingBar } from './fw-loading-bar-f5ca605c.js';
49
+ import { s as script$m } from './fw-loading-spinner-df1627c0.js';
50
+ export { s as FwLoadingSpinner } from './fw-loading-spinner-df1627c0.js';
49
51
  import { reactive, createApp, h } from 'vue';
50
- import './es.array.includes-df8e6e35.js';
51
- import './add-to-unscopables-3f461c07.js';
52
- import './es.number.constructor-f279ce82.js';
53
- import './to-string-685748aa.js';
54
- import './classof-a45668b6.js';
55
- import './array-iteration-98e2cf9a.js';
56
- import './array-species-create-5fc23c89.js';
57
- import './create-property-558a3c24.js';
58
- import './web.timers-4a6aaab8.js';
59
- import './array-method-is-strict-544b103f.js';
52
+ import './es.number.constructor-1249bd78.js';
53
+ import './to-string-12728fd2.js';
54
+ import './classof-39c30bd5.js';
55
+ import './object-create-f6f3a673.js';
56
+ import './function-apply-ce251590.js';
57
+ import './es.string.iterator-284b31d4.js';
58
+ import './array-iteration-107f927f.js';
59
+ import './array-species-create-a5f5503b.js';
60
+ import './create-property-534611fd.js';
61
+ import './delete-property-or-throw-8032646c.js';
62
+ import './array-method-has-species-support-3d413468.js';
63
+ import './es.function.name-557cb1f9.js';
64
+ import './does-not-exceed-safe-integer-31d08811.js';
65
+ import './uniqueId-fe08534a.js';
66
+ import './es.array.includes-91be7771.js';
67
+ import './add-to-unscopables-2400f45b.js';
68
+ import './web.timers-0f117224.js';
69
+ import './array-method-is-strict-055b1830.js';
60
70
  import './index-4605e00e.js';
61
71
  import './check-94a5917a.js';
62
72
  import './style-inject.es-1f59c1d0.js';
63
- import './es.function.name-b642b74f.js';
64
- import './uniqueId-fe08534a.js';
73
+ import './es.array.concat-987938be.js';
65
74
 
66
75
  function _arrayWithHoles(arr) {
67
76
  if (Array.isArray(arr)) return arr;
@@ -97,25 +106,6 @@ function _iterableToArrayLimit(arr, i) {
97
106
  return _arr;
98
107
  }
99
108
 
100
- function _arrayLikeToArray(arr, len) {
101
- if (len == null || len > arr.length) len = arr.length;
102
-
103
- for (var i = 0, arr2 = new Array(len); i < len; i++) {
104
- arr2[i] = arr[i];
105
- }
106
-
107
- return arr2;
108
- }
109
-
110
- function _unsupportedIterableToArray(o, minLen) {
111
- if (!o) return;
112
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
113
- var n = Object.prototype.toString.call(o).slice(8, -1);
114
- if (n === "Object" && o.constructor) n = o.constructor.name;
115
- if (n === "Map" || n === "Set") return Array.from(o);
116
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
117
- }
118
-
119
109
  function _nonIterableRest() {
120
110
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
121
111
  }
@@ -200,9 +190,10 @@ var components = /*#__PURE__*/Object.freeze({
200
190
  FwLoadingTable: script$i,
201
191
  FwToast: script$j,
202
192
  FwTransactionsCard: script$k,
193
+ FwBarChart: script$l,
203
194
  FwEmailPulse: __default__,
204
195
  FwSuccessPulse: __default__$1,
205
- FwLoadingSpinner: script$l
196
+ FwLoadingSpinner: script$m
206
197
  });
207
198
 
208
199
  function _defineProperty(obj, key, value) {
@@ -256,15 +247,12 @@ var modalService = function modalService(options) {
256
247
  return h(script$8, props);
257
248
  }
258
249
  }).mount(elementToMount);
259
-
260
250
  var open = function open() {
261
251
  props.modelValue = true;
262
252
  };
263
-
264
253
  var close = function close() {
265
254
  props.modelValue = false;
266
255
  };
267
-
268
256
  return {
269
257
  open: open,
270
258
  close: close
@@ -284,19 +272,15 @@ var toastService = function toastService() {
284
272
  }
285
273
  }).mount(elementToMount);
286
274
  };
287
-
288
275
  var success = function success(options) {
289
276
  createToastApp('success', options);
290
277
  };
291
-
292
278
  var error = function error(options) {
293
279
  createToastApp('error', options);
294
280
  };
295
-
296
281
  var warning = function warning(options) {
297
282
  createToastApp('warning', options);
298
283
  };
299
-
300
284
  return {
301
285
  success: success,
302
286
  error: error,
@@ -307,9 +291,8 @@ var toastService = function toastService() {
307
291
  var install = function install(app) {
308
292
  Object.entries(components).forEach(function (_ref) {
309
293
  var _ref2 = _slicedToArray(_ref, 2),
310
- componentName = _ref2[0],
311
- component = _ref2[1];
312
-
294
+ componentName = _ref2[0],
295
+ component = _ref2[1];
313
296
  app.component(componentName, component);
314
297
  });
315
298
  };