@frollo/frollo-web-ui 5.0.2 → 5.0.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 (78) hide show
  1. package/cjs/index.js +11887 -1279
  2. package/esm/{add-to-unscopables-2400f45b.js → add-to-unscopables-31609885.js} +2 -2
  3. package/esm/{array-iteration-107f927f.js → array-iteration-ec356eb3.js} +2 -2
  4. package/esm/{array-method-has-species-support-3d413468.js → array-method-has-species-support-8a4b1310.js} +1 -1
  5. package/esm/{array-method-is-strict-055b1830.js → array-method-is-strict-fc2e0d8d.js} +1 -1
  6. package/esm/{array-species-create-a5f5503b.js → array-species-create-b125f4a4.js} +2 -2
  7. package/esm/{classof-39c30bd5.js → classof-ee4b3b5b.js} +1 -1
  8. package/esm/{create-property-534611fd.js → create-property-c70ecc08.js} +1 -1
  9. package/esm/{delete-property-or-throw-8032646c.js → delete-property-or-throw-cd4c57d6.js} +3 -3
  10. package/esm/{does-not-exceed-safe-integer-31d08811.js → does-not-exceed-safe-integer-8e0042ec.js} +1 -1
  11. package/esm/{es.array.concat-987938be.js → es.array.concat-fe990345.js} +6 -6
  12. package/esm/{es.array.find-dfa1f42f.js → es.array.find-67b3b514.js} +5 -5
  13. package/esm/{es.array.includes-91be7771.js → es.array.includes-a06445a5.js} +3 -3
  14. package/esm/es.array.map-ae6c9437.js +43 -0
  15. package/esm/es.date.to-string-1ffba857.js +23 -0
  16. package/esm/{es.function.name-557cb1f9.js → es.function.name-6daefaeb.js} +1 -1
  17. package/esm/{es.number.constructor-d6ff8874.js → es.number.constructor-98bae04f.js} +2 -2
  18. package/esm/es.string.includes-ade04f96.js +66 -0
  19. package/esm/{es.string.iterator-590198a8.js → es.string.iterator-0992bb28.js} +8 -8
  20. package/esm/{export-a37ba078.js → export-8a363004.js} +1 -1
  21. package/esm/{function-apply-ce251590.js → function-apply-b908d7e6.js} +1 -1
  22. package/esm/fw-accordion.js +1 -1
  23. package/esm/fw-animations.js +5 -5
  24. package/esm/fw-bar-chart.js +18 -17
  25. package/esm/{fw-button-8d131219.js → fw-button-99dba2bc.js} +2 -2
  26. package/esm/fw-button.js +9 -9
  27. package/esm/fw-checkbox.js +9 -9
  28. package/esm/fw-date-picker.js +10336 -0
  29. package/esm/fw-drawer.js +9 -9
  30. package/esm/fw-dropdown-b476e015.js +223 -0
  31. package/esm/fw-dropdown.js +15 -222
  32. package/esm/{fw-image-4787a8bd.js → fw-image-ae643123.js} +10 -10
  33. package/esm/fw-image.js +18 -18
  34. package/esm/fw-input-fdc8fe1b.js +235 -0
  35. package/esm/fw-input.js +20 -245
  36. package/esm/{fw-loading-spinner-c394fafc.js → fw-loading-spinner-cc1ca2fa.js} +1 -1
  37. package/esm/fw-loading.js +3 -3
  38. package/esm/fw-modal.js +9 -9
  39. package/esm/fw-navigation-menu.js +9 -9
  40. package/esm/fw-progress-bar.js +3 -3
  41. package/esm/fw-provider-list.js +37 -0
  42. package/esm/fw-sidebar-menu.js +9 -9
  43. package/esm/fw-table-row-e8520a1d.js +492 -0
  44. package/esm/fw-table.js +14 -494
  45. package/esm/fw-tabs.js +10 -10
  46. package/esm/fw-tag-a8a83c0a.js +157 -0
  47. package/esm/fw-tag.js +13 -162
  48. package/esm/fw-toast.js +24 -85
  49. package/esm/fw-transactions-card.js +18 -18
  50. package/esm/get-root-colours-865a52ba.js +37 -0
  51. package/esm/{index-e4a2f8b0.js → index-0a63f2c3.js} +130 -102
  52. package/esm/index-6423a6ab.js +422 -0
  53. package/esm/{index-2766bfe4.js → index-be5b4afa.js} +20 -61
  54. package/esm/index.js +93 -101
  55. package/esm/{is-forced-752b5893.js → is-forced-fc680e39.js} +1 -1
  56. package/esm/{object-create-f6f3a673.js → object-create-bc771493.js} +2 -2
  57. package/esm/{object-keys-4f5bf4e7.js → object-keys-17f3b440.js} +1 -1
  58. package/esm/{web.timers-0f117224.js → web.timers-c5316125.js} +3 -3
  59. package/frollo-web-ui.esm.js +12181 -1412
  60. package/icons/calendar-day.svg +3 -0
  61. package/icons/calendar.svg +3 -0
  62. package/icons/index.ts +5 -1
  63. package/index.d.ts +313 -25
  64. package/package.json +3 -1
  65. package/types/components/fw-date-picker/fw-date-picker.vue.d.ts +177 -0
  66. package/types/components/fw-date-picker/index.d.ts +2 -0
  67. package/types/components/fw-date-picker/index.types.d.ts +16 -0
  68. package/types/components/fw-dropdown/fw-dropdown.vue.d.ts +17 -0
  69. package/types/components/fw-dropdown/index.types.d.ts +1 -0
  70. package/types/components/fw-provider-list/fw-provider-list.vue.d.ts +68 -0
  71. package/types/components/fw-provider-list/index.d.ts +2 -0
  72. package/types/components/fw-provider-list/index.types.d.ts +11 -0
  73. package/types/components/index.d.ts +2 -0
  74. package/types/components/index.types.d.ts +2 -0
  75. package/types/helpers/get-root-colours.d.ts +8 -0
  76. package/types/icons/index.d.ts +3 -1
  77. package/web-components/index.js +12300 -1512
  78. package/esm/get-root-colours-e2a1cb28.js +0 -21
@@ -0,0 +1,3 @@
1
+ <svg viewBox="0 0 25 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M5 12.375C5 11.3391 5.83953 10.5 6.875 10.5H10.625C11.6609 10.5 12.5 11.3391 12.5 12.375V16.125C12.5 17.1609 11.6609 18 10.625 18H6.875C5.83953 18 5 17.1609 5 16.125V12.375ZM6.5 12.375V16.125C6.5 16.3312 6.66781 16.5 6.875 16.5H10.625C10.8313 16.5 11 16.3312 11 16.125V12.375C11 12.1687 10.8313 12 10.625 12H6.875C6.66781 12 6.5 12.1687 6.5 12.375ZM8 3H17V0.75C17 0.335812 17.3375 0 17.75 0C18.1625 0 18.5 0.335812 18.5 0.75V3H20C21.6547 3 23 4.34297 23 6V21C23 22.6547 21.6547 24 20 24H5C3.34297 24 2 22.6547 2 21V6C2 4.34297 3.34297 3 5 3H6.5V0.75C6.5 0.335812 6.8375 0 7.25 0C7.6625 0 8 0.335812 8 0.75V3ZM3.5 21C3.5 21.8297 4.17172 22.5 5 22.5H20C20.8297 22.5 21.5 21.8297 21.5 21V9H3.5V21ZM3.5 6V7.5H21.5V6C21.5 5.17031 20.8297 4.5 20 4.5H5C4.17172 4.5 3.5 5.17031 3.5 6Z" />
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg viewBox="0 0 30 30" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M9.75 3C10.1625 3 10.5 3.33581 10.5 3.75V6H19.5V3.75C19.5 3.33581 19.8375 3 20.25 3C20.6625 3 21 3.33581 21 3.75V6H22.5C24.1547 6 25.5 7.34297 25.5 9V24C25.5 25.6547 24.1547 27 22.5 27H7.5C5.84297 27 4.5 25.6547 4.5 24V9C4.5 7.34297 5.84297 6 7.5 6H9V3.75C9 3.33581 9.3375 3 9.75 3ZM24 12H19.125V15.375H24V12ZM24 16.875H19.125V20.625H24V16.875ZM24 22.125H19.125V25.5H22.5C23.3297 25.5 24 24.8297 24 24V22.125ZM17.625 20.625V16.875H12.375V20.625H17.625ZM12.375 25.5H17.625V22.125H12.375V25.5ZM10.875 20.625V16.875H6V20.625H10.875ZM6 22.125V24C6 24.8297 6.67172 25.5 7.5 25.5H10.875V22.125H6ZM6 15.375H10.875V12H6V15.375ZM12.375 15.375H17.625V12H12.375V15.375ZM22.5 7.5H7.5C6.67172 7.5 6 8.17031 6 9V10.5H24V9C24 8.17031 23.3297 7.5 22.5 7.5Z" />
3
+ </svg>
package/icons/index.ts CHANGED
@@ -35,6 +35,8 @@ import ArrowDownSvg from './arrow-down.svg';
35
35
  import SearchSvg from './search.svg';
36
36
  import XMarkSvg from './xmark.svg';
37
37
  import PenSvg from './pen.svg';
38
+ import CalendarSvg from './calendar.svg';
39
+ import CalendarDaySvg from './calendar-day.svg';
38
40
 
39
41
  export {
40
42
  ViewSvg,
@@ -73,5 +75,7 @@ export {
73
75
  ArrowDownSvg,
74
76
  SearchSvg,
75
77
  XMarkSvg,
76
- PenSvg
78
+ PenSvg,
79
+ CalendarSvg,
80
+ CalendarDaySvg
77
81
  };
package/index.d.ts CHANGED
@@ -23,7 +23,7 @@ declare interface FwInputProps {
23
23
  maxLength?: number;
24
24
  }
25
25
 
26
- declare const _default$l: vue.DefineComponent<{
26
+ declare const _default$m: vue.DefineComponent<{
27
27
  /**
28
28
  * The input v-model
29
29
  */
@@ -218,7 +218,7 @@ declare const _default$l: vue.DefineComponent<{
218
218
  enableErrors: boolean;
219
219
  }>;
220
220
 
221
- declare const _default$k: vue.DefineComponent<{
221
+ declare const _default$l: vue.DefineComponent<{
222
222
  /**
223
223
  * The name of the checkbox input field.
224
224
  * Multiple checkboxes can use the same name with a unique value.
@@ -336,9 +336,10 @@ declare interface FwDropdownProps {
336
336
  options: FwDropdownOption[];
337
337
  hint?: string;
338
338
  placeholder?: string;
339
+ enableErrors?: boolean;
339
340
  }
340
341
 
341
- declare const _default$j: vue.DefineComponent<{
342
+ declare const _default$k: vue.DefineComponent<{
342
343
  /**
343
344
  * The select v-model
344
345
  */
@@ -385,6 +386,14 @@ declare const _default$j: vue.DefineComponent<{
385
386
  required: false;
386
387
  default: string;
387
388
  };
389
+ /**
390
+ * Enable the error section UI.
391
+ * Defaults to true
392
+ */
393
+ enableErrors: {
394
+ type: BooleanConstructor;
395
+ default: boolean;
396
+ };
388
397
  }, {
389
398
  menuButtonClass: string;
390
399
  menuClass: string;
@@ -445,11 +454,20 @@ declare const _default$j: vue.DefineComponent<{
445
454
  required: false;
446
455
  default: string;
447
456
  };
457
+ /**
458
+ * Enable the error section UI.
459
+ * Defaults to true
460
+ */
461
+ enableErrors: {
462
+ type: BooleanConstructor;
463
+ default: boolean;
464
+ };
448
465
  }>>, {
449
466
  placeholder: string;
467
+ enableErrors: boolean;
450
468
  }>;
451
469
 
452
- declare const _default$i: vue.DefineComponent<{
470
+ declare const _default$j: vue.DefineComponent<{
453
471
  /**
454
472
  * The header title of the card
455
473
  */
@@ -558,7 +576,7 @@ declare interface FwButtonProps {
558
576
  external?: boolean;
559
577
  }
560
578
 
561
- declare const _default$h: vue.DefineComponent<{
579
+ declare const _default$i: vue.DefineComponent<{
562
580
  /**
563
581
  * A `router-link` path or object
564
582
  */
@@ -739,7 +757,7 @@ declare interface NavMenuItem {
739
757
  external?: boolean;
740
758
  }
741
759
 
742
- declare const _default$g: vue.DefineComponent<{
760
+ declare const _default$h: vue.DefineComponent<{
743
761
  /**
744
762
  * An array of menu items
745
763
  * `{ to?: string | object; href?: string; label: string; }`
@@ -794,7 +812,7 @@ declare const _default$g: vue.DefineComponent<{
794
812
  containerClass: string;
795
813
  }>;
796
814
 
797
- declare const _default$f: vue.DefineComponent<{
815
+ declare const _default$g: vue.DefineComponent<{
798
816
  /**
799
817
  * The active tab v-model
800
818
  */
@@ -818,7 +836,7 @@ declare const _default$f: vue.DefineComponent<{
818
836
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
819
837
  }, {}>;
820
838
 
821
- declare const _default$e: vue.DefineComponent<{
839
+ declare const _default$f: vue.DefineComponent<{
822
840
  /**
823
841
  * The label of the tab component used as the button panel label
824
842
  */
@@ -850,7 +868,7 @@ declare const _default$e: vue.DefineComponent<{
850
868
  };
851
869
  }>>, {}>;
852
870
 
853
- declare const _default$d: vue.DefineComponent<{
871
+ declare const _default$e: vue.DefineComponent<{
854
872
  /**
855
873
  * The modal's v-model. Controls the visibility of the modal.
856
874
  */
@@ -1029,7 +1047,7 @@ declare interface ProgressBarStep {
1029
1047
  subSteps: number;
1030
1048
  }
1031
1049
 
1032
- declare const _default$c: vue.DefineComponent<{
1050
+ declare const _default$d: vue.DefineComponent<{
1033
1051
  /**
1034
1052
  * An array of menu progress steps.
1035
1053
  * `{ label: string; position: number; subSteps: number; }`
@@ -1218,7 +1236,36 @@ declare interface FwDrawerProps {
1218
1236
  confirmButtonType?: ButtonVariantName;
1219
1237
  }
1220
1238
 
1221
- declare const __default__$4: vue.DefineComponent<{
1239
+ interface FwProviderListItem {
1240
+ status: 'supported' | 'outage';
1241
+ name: string;
1242
+ image_url: string;
1243
+ }
1244
+ declare interface FwProviderListProps {
1245
+ heading: string;
1246
+ items: FwProviderListItem[];
1247
+ searchPlaceholder?: string;
1248
+ tableHeaderName?: string;
1249
+ }
1250
+
1251
+ declare interface FwDatePickerProps {
1252
+ modelValue: string | {
1253
+ start: string;
1254
+ end: string;
1255
+ } | Date;
1256
+ name: string;
1257
+ label?: string;
1258
+ placeholder?: string;
1259
+ isRange?: boolean;
1260
+ startLabel?: string;
1261
+ endLabel?: string;
1262
+ startPlaceholder?: string;
1263
+ endPlaceholder?: string;
1264
+ tabindex?: string;
1265
+ rounded?: boolean;
1266
+ }
1267
+
1268
+ declare const __default__$5: vue.DefineComponent<{
1222
1269
  /**
1223
1270
  * The size of the tag. Accepts: 'xs', 'sm' & 'md'
1224
1271
  */
@@ -1286,7 +1333,7 @@ declare const __default__$4: vue.DefineComponent<{
1286
1333
  dismissable: boolean;
1287
1334
  }>;
1288
1335
 
1289
- declare const __default__$3: vue.DefineComponent<{
1336
+ declare const __default__$4: vue.DefineComponent<{
1290
1337
  items: {
1291
1338
  type: PropType<FwTableItem[]>;
1292
1339
  required: true;
@@ -1354,11 +1401,11 @@ declare const __default__$3: vue.DefineComponent<{
1354
1401
  clickableRows: boolean;
1355
1402
  }>;
1356
1403
 
1357
- declare const _default$b: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{}>>, {}>;
1404
+ declare const _default$c: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{}>>, {}>;
1358
1405
 
1359
- declare const _default$a: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{}>>, {}>;
1406
+ declare const _default$b: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{}>>, {}>;
1360
1407
 
1361
- declare const __default__$2: vue.DefineComponent<{
1408
+ declare const __default__$3: vue.DefineComponent<{
1362
1409
  /**
1363
1410
  * The header title of the accordion
1364
1411
  */
@@ -1424,7 +1471,7 @@ declare const __default__$2: vue.DefineComponent<{
1424
1471
  iconPositionStart: boolean;
1425
1472
  }>;
1426
1473
 
1427
- declare const _default$9: vue.DefineComponent<{
1474
+ declare const _default$a: vue.DefineComponent<{
1428
1475
  /**
1429
1476
  * The src attribute of the image
1430
1477
  */
@@ -1507,11 +1554,11 @@ declare const _default$9: vue.DefineComponent<{
1507
1554
  threshold: number;
1508
1555
  }>;
1509
1556
 
1510
- declare const _default$8: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{}>>, {}>;
1557
+ declare const _default$9: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{}>>, {}>;
1511
1558
 
1512
- declare const _default$7: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{}>>, {}>;
1559
+ declare const _default$8: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{}>>, {}>;
1513
1560
 
1514
- declare const _default$6: vue.DefineComponent<{
1561
+ declare const _default$7: vue.DefineComponent<{
1515
1562
  columns: {
1516
1563
  type: NumberConstructor;
1517
1564
  default: number;
@@ -1536,7 +1583,7 @@ declare const _default$6: vue.DefineComponent<{
1536
1583
  rows: number;
1537
1584
  }>;
1538
1585
 
1539
- declare const _default$5: vue.DefineComponent<{
1586
+ declare const _default$6: vue.DefineComponent<{
1540
1587
  /**
1541
1588
  * The toast's v-model. Controls the visibility of the toast.
1542
1589
  */
@@ -1655,7 +1702,7 @@ declare const _default$5: vue.DefineComponent<{
1655
1702
  timeout: number;
1656
1703
  }>;
1657
1704
 
1658
- declare const _default$4: vue.DefineComponent<{
1705
+ declare const _default$5: vue.DefineComponent<{
1659
1706
  /**
1660
1707
  * The transaction title of the card
1661
1708
  */
@@ -1713,7 +1760,7 @@ declare const _default$4: vue.DefineComponent<{
1713
1760
  };
1714
1761
  }>>, {}>;
1715
1762
 
1716
- declare const _default$3: vue.DefineComponent<{
1763
+ declare const _default$4: vue.DefineComponent<{
1717
1764
  /**
1718
1765
  * The transaction title of the chart
1719
1766
  */
@@ -1794,7 +1841,7 @@ declare const _default$3: vue.DefineComponent<{
1794
1841
  };
1795
1842
  }>>, {}>;
1796
1843
 
1797
- declare const _default$2: vue.DefineComponent<{
1844
+ declare const _default$3: vue.DefineComponent<{
1798
1845
  /**
1799
1846
  * An array of menu items
1800
1847
  * `{ to?: string | object; href?: string; label: string; }`
@@ -1864,7 +1911,7 @@ declare const _default$2: vue.DefineComponent<{
1864
1911
  closedWidth: string;
1865
1912
  }>;
1866
1913
 
1867
- declare const _default$1: vue.DefineComponent<{
1914
+ declare const _default$2: vue.DefineComponent<{
1868
1915
  /**
1869
1916
  * The drawer's v-model. Controls the visibility of the drawer.
1870
1917
  */
@@ -2027,6 +2074,247 @@ declare const _default$1: vue.DefineComponent<{
2027
2074
  confirmButtonType: ButtonVariantName;
2028
2075
  }>;
2029
2076
 
2077
+ declare const _default$1: vue.DefineComponent<{
2078
+ /**
2079
+ * The header heading of the list.
2080
+ */
2081
+ heading: {
2082
+ type: StringConstructor;
2083
+ };
2084
+ /**
2085
+ * The list items of the table items.
2086
+ */
2087
+ items: {
2088
+ type: PropType<FwProviderListItem[]>;
2089
+ required: true;
2090
+ };
2091
+ /**
2092
+ * The placeholder text for the sarch input.
2093
+ */
2094
+ searchPlaceholder: {
2095
+ type: StringConstructor;
2096
+ default: string;
2097
+ };
2098
+ /**
2099
+ * The table header title.
2100
+ */
2101
+ tableHeaderName: {
2102
+ type: StringConstructor;
2103
+ default: string;
2104
+ };
2105
+ }, {
2106
+ options: FwTableItemOptions;
2107
+ sortedTableItems: vue.ComputedRef<FwTableItem[]>;
2108
+ searchFilterModel: vue.Ref<string>;
2109
+ statusFilterModel: vue.Ref<string>;
2110
+ }, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
2111
+ /**
2112
+ * The header heading of the list.
2113
+ */
2114
+ heading: {
2115
+ type: StringConstructor;
2116
+ };
2117
+ /**
2118
+ * The list items of the table items.
2119
+ */
2120
+ items: {
2121
+ type: PropType<FwProviderListItem[]>;
2122
+ required: true;
2123
+ };
2124
+ /**
2125
+ * The placeholder text for the sarch input.
2126
+ */
2127
+ searchPlaceholder: {
2128
+ type: StringConstructor;
2129
+ default: string;
2130
+ };
2131
+ /**
2132
+ * The table header title.
2133
+ */
2134
+ tableHeaderName: {
2135
+ type: StringConstructor;
2136
+ default: string;
2137
+ };
2138
+ }>>, {
2139
+ searchPlaceholder: string;
2140
+ tableHeaderName: string;
2141
+ }>;
2142
+
2143
+ declare const __default__$2: vue.DefineComponent<{
2144
+ /**
2145
+ * The date-picker v-model
2146
+ */
2147
+ modelValue: {
2148
+ type: PropType<string | Date | {
2149
+ start: string;
2150
+ end: string;
2151
+ }>;
2152
+ };
2153
+ /**
2154
+ * The name of the input field. Must be unique per form.
2155
+ */
2156
+ name: {
2157
+ type: StringConstructor;
2158
+ required: true;
2159
+ };
2160
+ /**
2161
+ * Label for the input. Also renders to an aria-label attribute
2162
+ */
2163
+ label: {
2164
+ type: StringConstructor;
2165
+ };
2166
+ /**
2167
+ * The placeholder text of the input
2168
+ */
2169
+ placeholder: {
2170
+ type: StringConstructor;
2171
+ };
2172
+ /**
2173
+ * The placeholder text of the starting range input
2174
+ */
2175
+ startPlaceholder: {
2176
+ type: StringConstructor;
2177
+ };
2178
+ /**
2179
+ * The placeholder text of the ending range input
2180
+ */
2181
+ endPlaceholder: {
2182
+ type: StringConstructor;
2183
+ };
2184
+ /**
2185
+ * Whether to enable the date range inputs
2186
+ */
2187
+ isRange: {
2188
+ type: BooleanConstructor;
2189
+ default: boolean;
2190
+ };
2191
+ /**
2192
+ * Start input label when is-range
2193
+ */
2194
+ startLabel: {
2195
+ type: StringConstructor;
2196
+ };
2197
+ /**
2198
+ * End input label when is-range
2199
+ */
2200
+ endLabel: {
2201
+ type: StringConstructor;
2202
+ };
2203
+ /**
2204
+ * The logical tab order of the input.
2205
+ * Defaults to 0
2206
+ */
2207
+ tabindex: {
2208
+ type: StringConstructor;
2209
+ default: string;
2210
+ };
2211
+ /**
2212
+ * Whether the input is rounded.
2213
+ * Defaults to false
2214
+ */
2215
+ rounded: {
2216
+ type: BooleanConstructor;
2217
+ default: boolean;
2218
+ };
2219
+ }, {
2220
+ uuid: string;
2221
+ inputBaseClass: vue.Ref<string>;
2222
+ dateModel: vue.WritableComputedRef<string | Date | {
2223
+ start: string;
2224
+ end: string;
2225
+ } | undefined>;
2226
+ primaryFade5: string;
2227
+ primaryFade10: string;
2228
+ primaryFade20: string;
2229
+ primaryFade30: string;
2230
+ primaryFade40: string;
2231
+ primaryFade50: string;
2232
+ primaryFade70: string;
2233
+ primaryFade80: string;
2234
+ }, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
2235
+ /**
2236
+ * The date-picker v-model
2237
+ */
2238
+ modelValue: {
2239
+ type: PropType<string | Date | {
2240
+ start: string;
2241
+ end: string;
2242
+ }>;
2243
+ };
2244
+ /**
2245
+ * The name of the input field. Must be unique per form.
2246
+ */
2247
+ name: {
2248
+ type: StringConstructor;
2249
+ required: true;
2250
+ };
2251
+ /**
2252
+ * Label for the input. Also renders to an aria-label attribute
2253
+ */
2254
+ label: {
2255
+ type: StringConstructor;
2256
+ };
2257
+ /**
2258
+ * The placeholder text of the input
2259
+ */
2260
+ placeholder: {
2261
+ type: StringConstructor;
2262
+ };
2263
+ /**
2264
+ * The placeholder text of the starting range input
2265
+ */
2266
+ startPlaceholder: {
2267
+ type: StringConstructor;
2268
+ };
2269
+ /**
2270
+ * The placeholder text of the ending range input
2271
+ */
2272
+ endPlaceholder: {
2273
+ type: StringConstructor;
2274
+ };
2275
+ /**
2276
+ * Whether to enable the date range inputs
2277
+ */
2278
+ isRange: {
2279
+ type: BooleanConstructor;
2280
+ default: boolean;
2281
+ };
2282
+ /**
2283
+ * Start input label when is-range
2284
+ */
2285
+ startLabel: {
2286
+ type: StringConstructor;
2287
+ };
2288
+ /**
2289
+ * End input label when is-range
2290
+ */
2291
+ endLabel: {
2292
+ type: StringConstructor;
2293
+ };
2294
+ /**
2295
+ * The logical tab order of the input.
2296
+ * Defaults to 0
2297
+ */
2298
+ tabindex: {
2299
+ type: StringConstructor;
2300
+ default: string;
2301
+ };
2302
+ /**
2303
+ * Whether the input is rounded.
2304
+ * Defaults to false
2305
+ */
2306
+ rounded: {
2307
+ type: BooleanConstructor;
2308
+ default: boolean;
2309
+ };
2310
+ }>> & {
2311
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
2312
+ }, {
2313
+ isRange: boolean;
2314
+ tabindex: string;
2315
+ rounded: boolean;
2316
+ }>;
2317
+
2030
2318
  declare const __default__$1: vue.DefineComponent<{
2031
2319
  /**
2032
2320
  * The animation-iteration-count CSS property of the pulse animation.
@@ -2099,4 +2387,4 @@ declare const install: Exclude<Plugin['install'], undefined>;
2099
2387
 
2100
2388
  declare module '@frollo/frollo-web-ui/icons' { }
2101
2389
 
2102
- export { ButtonAnimation, ButtonDefinition, ButtonDefinitionList, ButtonSize, ButtonSizes, ButtonTypeAttribute, ButtonVariantName, __default__$2 as FwAccordion, FwAccordionProps, _default$3 as FwBarChart, FwBarChartProps, FwBarGraphData, _default$h as FwButton, FwButtonProps, _default$i as FwCard, FwCardProps, _default$k as FwCheckbox, FwCheckboxProps, _default$1 as FwDrawer, FwDrawerProps, _default$j as FwDropdown, FwDropdownOption, FwDropdownProps, __default__$1 as FwEmailPulse, _default$9 as FwImage, FwImageProps, _default$l as FwInput, FwInputProps, FwInputType, _default$8 as FwLoadingBar, _default$7 as FwLoadingCard, _default as FwLoadingSpinner, _default$6 as FwLoadingTable, _default$d as FwModal, FwModalProps, _default$g as FwNavigationMenu, _default$c as FwProgressBar, _default$2 as FwSidebarMenu, FwSidebarMenuItem, __default__ as FwSuccessPulse, _default$e as FwTab, __default__$3 as FwTable, FwTableFormatFunction, _default$b as FwTableHead, FwTableItem, FwTableItemOptions, FwTableProps, _default$a as FwTableRow, FwTableSort, _default$f as FwTabs, __default__$4 as FwTag, FwTagProps, _default$5 as FwToast, FwToastProps, _default$4 as FwTransactionsCard, FwTransactionsCardProps, ModalServiceProps, NavMenuItem, ProgressBarStep, TagDefinition, TagDefinitionList, TagSize, TagSizes, TagVariantName, ToastPosition, ToastServiceProps, ToastType, ToastTypes, install as default, modalService, toastService };
2390
+ export { ButtonAnimation, ButtonDefinition, ButtonDefinitionList, ButtonSize, ButtonSizes, ButtonTypeAttribute, ButtonVariantName, __default__$3 as FwAccordion, FwAccordionProps, _default$4 as FwBarChart, FwBarChartProps, FwBarGraphData, _default$i as FwButton, FwButtonProps, _default$j as FwCard, FwCardProps, _default$l as FwCheckbox, FwCheckboxProps, __default__$2 as FwDatePicker, FwDatePickerProps, _default$2 as FwDrawer, FwDrawerProps, _default$k as FwDropdown, FwDropdownOption, FwDropdownProps, __default__$1 as FwEmailPulse, _default$a as FwImage, FwImageProps, _default$m as FwInput, FwInputProps, FwInputType, _default$9 as FwLoadingBar, _default$8 as FwLoadingCard, _default as FwLoadingSpinner, _default$7 as FwLoadingTable, _default$e as FwModal, FwModalProps, _default$h as FwNavigationMenu, _default$d as FwProgressBar, _default$1 as FwProviderList, FwProviderListProps, _default$3 as FwSidebarMenu, FwSidebarMenuItem, __default__ as FwSuccessPulse, _default$f as FwTab, __default__$4 as FwTable, FwTableFormatFunction, _default$c as FwTableHead, FwTableItem, FwTableItemOptions, FwTableProps, _default$b as FwTableRow, FwTableSort, _default$g as FwTabs, __default__$5 as FwTag, FwTagProps, _default$6 as FwToast, FwToastProps, _default$5 as FwTransactionsCard, FwTransactionsCardProps, ModalServiceProps, NavMenuItem, ProgressBarStep, TagDefinition, TagDefinitionList, TagSize, TagSizes, TagVariantName, ToastPosition, ToastServiceProps, ToastType, ToastTypes, install as default, modalService, toastService };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frollo/frollo-web-ui",
3
- "version": "5.0.2",
3
+ "version": "5.0.4",
4
4
  "description": "Frollo's UI library for components, utilities and configs",
5
5
  "exports": {
6
6
  "./icons": "./icons/index.ts",
@@ -35,6 +35,7 @@
35
35
  "@babel/core": "^7.17.5",
36
36
  "@babel/plugin-proposal-private-property-in-object": "^7.21.11",
37
37
  "@geometricpanda/storybook-addon-iframe": "^0.2.1",
38
+ "@popperjs/core": "^2.11.8",
38
39
  "@rollup/plugin-alias": "^3.1.9",
39
40
  "@rollup/plugin-babel": "^5.3.0",
40
41
  "@rollup/plugin-commonjs": "^21.0.1",
@@ -84,6 +85,7 @@
84
85
  "tailwindcss": "^3.0.23",
85
86
  "ts-jest": "^28.0.5",
86
87
  "typescript": "^4.7.4",
88
+ "v-calendar": "^3.1.2",
87
89
  "vee-validate": "^4.5.9",
88
90
  "vue-chartjs": "^5.2.0",
89
91
  "vue-loader": "^16.8.3",