@frollo/frollo-web-ui 6.0.1 → 6.0.3

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 (67) hide show
  1. package/cjs/index.js +289 -257
  2. package/esm/{add-to-unscopables-31609885.js → add-to-unscopables-ee05b58f.js} +2 -2
  3. package/esm/{array-iteration-ec356eb3.js → array-iteration-8267bf22.js} +2 -2
  4. package/esm/{array-method-has-species-support-8a4b1310.js → array-method-has-species-support-6c675094.js} +1 -1
  5. package/esm/{array-method-is-strict-fc2e0d8d.js → array-method-is-strict-d313436f.js} +1 -1
  6. package/esm/{array-species-create-b125f4a4.js → array-species-create-1c67e297.js} +2 -2
  7. package/esm/{classof-ee4b3b5b.js → classof-d44bf093.js} +1 -1
  8. package/esm/{create-property-c70ecc08.js → create-property-eb329361.js} +1 -1
  9. package/esm/{does-not-exceed-safe-integer-8e0042ec.js → does-not-exceed-safe-integer-de37ce28.js} +1 -1
  10. package/esm/{es.array.concat-fe990345.js → es.array.concat-99b85557.js} +6 -6
  11. package/esm/es.array.find-1ded15d5.js +28 -0
  12. package/esm/{es.array.includes-a06445a5.js → es.array.includes-08e25019.js} +3 -3
  13. package/esm/es.array.map-c56ebffd.js +22 -0
  14. package/esm/{es.date.to-string-1ffba857.js → es.date.to-string-15eb9936.js} +1 -1
  15. package/esm/{es.function.name-6daefaeb.js → es.function.name-6cafd747.js} +1 -1
  16. package/esm/{es.number.constructor-98bae04f.js → es.number.constructor-fb16fe05.js} +2 -2
  17. package/esm/es.object.to-string-4b07c4d1.js +24 -0
  18. package/esm/{es.string.includes-ade04f96.js → es.string.includes-061e8272.js} +3 -3
  19. package/esm/{es.string.iterator-0992bb28.js → es.string.iterator-25db8cd2.js} +8 -8
  20. package/esm/{export-8a363004.js → export-10c4adbc.js} +1 -1
  21. package/esm/{function-apply-b908d7e6.js → function-apply-e17cf65b.js} +1 -1
  22. package/esm/fw-accordion.js +11 -7
  23. package/esm/fw-animations.js +3 -3
  24. package/esm/fw-bar-chart.js +16 -17
  25. package/esm/{fw-button-b00853dd.js → fw-button-c8502414.js} +1 -1
  26. package/esm/fw-button.js +6 -7
  27. package/esm/fw-checkbox.js +9 -9
  28. package/esm/fw-date-picker.js +10 -10
  29. package/esm/fw-drawer.js +6 -7
  30. package/esm/{fw-dropdown-1c89f793.js → fw-dropdown-6856e66e.js} +3 -2
  31. package/esm/fw-dropdown.js +11 -11
  32. package/esm/{fw-image-af8c5745.js → fw-image-aca2c61d.js} +10 -9
  33. package/esm/fw-image.js +17 -17
  34. package/esm/{fw-input-46dd3134.js → fw-input-259e2e18.js} +4 -4
  35. package/esm/fw-input.js +14 -15
  36. package/esm/fw-loading.js +3 -3
  37. package/esm/fw-modal.js +6 -7
  38. package/esm/fw-navigation-menu.js +12 -11
  39. package/esm/fw-popover.js +7 -8
  40. package/esm/fw-progress-bar.js +3 -3
  41. package/esm/fw-provider-list.js +60 -128
  42. package/esm/fw-sidebar-menu.js +6 -7
  43. package/esm/{fw-table-row-1050a386.js → fw-table-row-23f78218.js} +117 -20
  44. package/esm/fw-table.js +11 -9
  45. package/esm/fw-tabs.js +9 -10
  46. package/esm/{fw-tag-fdcaf92c.js → fw-tag-ac28200a.js} +2 -2
  47. package/esm/fw-tag.js +7 -8
  48. package/esm/fw-toast.js +15 -16
  49. package/esm/fw-transactions-card.js +17 -17
  50. package/esm/{index-be5b4afa.js → index-6758f755.js} +13 -13
  51. package/esm/index.js +38 -38
  52. package/esm/{is-forced-fc680e39.js → is-forced-7cb3ee8f.js} +1 -1
  53. package/esm/{object-create-bc771493.js → object-create-51bf02dc.js} +13 -4
  54. package/esm/regexp-flags-c09864e5.js +50 -0
  55. package/esm/{web.timers-c5316125.js → web.timers-e406c8e6.js} +3 -3
  56. package/frollo-web-ui.esm.js +308 -276
  57. package/index.d.ts +49 -13
  58. package/package.json +1 -1
  59. package/types/components/fw-accordion/fw-accordion.vue.d.ts +4 -2
  60. package/types/components/fw-navigation-menu/index.types.d.ts +1 -0
  61. package/types/components/fw-provider-list/fw-provider-list.vue.d.ts +41 -9
  62. package/types/components/fw-table/fw-table.vue.d.ts +3 -2
  63. package/web-components/index.js +308 -276
  64. package/esm/delete-property-or-throw-cd4c57d6.js +0 -31
  65. package/esm/es.array.find-67b3b514.js +0 -51
  66. package/esm/es.array.map-ae6c9437.js +0 -43
  67. package/esm/object-keys-17f3b440.js +0 -13
package/index.d.ts CHANGED
@@ -755,6 +755,7 @@ declare interface NavMenuItem {
755
755
  href?: string;
756
756
  label: string;
757
757
  external?: boolean;
758
+ onClick?: () => void;
758
759
  }
759
760
 
760
761
  declare const _default$h: vue.DefineComponent<{
@@ -1373,7 +1374,7 @@ declare const __default__$5: vue.DefineComponent<{
1373
1374
  columns: vue.ComputedRef<string[]>;
1374
1375
  sortBy: vue.Ref<string>;
1375
1376
  sortDirection: vue.Ref<FwTableSort>;
1376
- sortColumn: (column: string) => void;
1377
+ sortColumn: (column: string, isAction?: boolean) => void;
1377
1378
  sortedData: vue.ComputedRef<FwTableItem[]>;
1378
1379
  currentSortedColumn: vue.Ref<string>;
1379
1380
  sortedIcon: (sortDir: string, column: string) => boolean;
@@ -1382,7 +1383,7 @@ declare const __default__$5: vue.DefineComponent<{
1382
1383
  isDisabled: (column: string) => boolean;
1383
1384
  rowClicked: (row: FwTableItem) => void;
1384
1385
  bgHoverColor: string;
1385
- }, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "rowClicked"[], "rowClicked", vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
1386
+ }, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("rowClicked" | "columnSorted")[], "rowClicked" | "columnSorted", vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
1386
1387
  items: {
1387
1388
  type: PropType<FwTableItem[]>;
1388
1389
  required: true;
@@ -1408,6 +1409,7 @@ declare const __default__$5: vue.DefineComponent<{
1408
1409
  };
1409
1410
  }>> & {
1410
1411
  onRowClicked?: ((...args: any[]) => any) | undefined;
1412
+ onColumnSorted?: ((...args: any[]) => any) | undefined;
1411
1413
  }, {
1412
1414
  loading: boolean;
1413
1415
  clickableRows: boolean;
@@ -1451,7 +1453,7 @@ declare const __default__$4: vue.DefineComponent<{
1451
1453
  beforeLeave: (el: Element) => void;
1452
1454
  leave: (el: Element) => void;
1453
1455
  bgHoverColor: string;
1454
- }, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
1456
+ }, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "toggled"[], "toggled", vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
1455
1457
  /**
1456
1458
  * The header title of the accordion
1457
1459
  */
@@ -1478,7 +1480,9 @@ declare const __default__$4: vue.DefineComponent<{
1478
1480
  type: BooleanConstructor;
1479
1481
  default: boolean;
1480
1482
  };
1481
- }>>, {
1483
+ }>> & {
1484
+ onToggled?: ((...args: any[]) => any) | undefined;
1485
+ }, {
1482
1486
  isOpened: boolean;
1483
1487
  iconPositionStart: boolean;
1484
1488
  }>;
@@ -2101,16 +2105,30 @@ declare const _default$1: vue.DefineComponent<{
2101
2105
  required: true;
2102
2106
  };
2103
2107
  /**
2104
- * The placeholder text for the sarch input.
2108
+ * The table header title.
2109
+ */
2110
+ tableHeaderName: {
2111
+ type: StringConstructor;
2112
+ default: string;
2113
+ };
2114
+ /**
2115
+ * The placeholder text for the search input.
2105
2116
  */
2106
2117
  searchPlaceholder: {
2107
2118
  type: StringConstructor;
2108
2119
  default: string;
2109
2120
  };
2110
2121
  /**
2111
- * The table header title.
2122
+ * The label text for the search input.
2112
2123
  */
2113
- tableHeaderName: {
2124
+ searchLabel: {
2125
+ type: StringConstructor;
2126
+ default: string;
2127
+ };
2128
+ /**
2129
+ * The label text for the status filter dropdown.
2130
+ */
2131
+ statusFilterLabel: {
2114
2132
  type: StringConstructor;
2115
2133
  default: string;
2116
2134
  };
@@ -2119,7 +2137,7 @@ declare const _default$1: vue.DefineComponent<{
2119
2137
  sortedTableItems: vue.ComputedRef<FwTableItem[]>;
2120
2138
  searchFilterModel: vue.Ref<string>;
2121
2139
  statusFilterModel: vue.Ref<string>;
2122
- }, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
2140
+ }, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "changed"[], "changed", vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
2123
2141
  /**
2124
2142
  * The header heading of the list.
2125
2143
  */
@@ -2134,22 +2152,40 @@ declare const _default$1: vue.DefineComponent<{
2134
2152
  required: true;
2135
2153
  };
2136
2154
  /**
2137
- * The placeholder text for the sarch input.
2155
+ * The table header title.
2156
+ */
2157
+ tableHeaderName: {
2158
+ type: StringConstructor;
2159
+ default: string;
2160
+ };
2161
+ /**
2162
+ * The placeholder text for the search input.
2138
2163
  */
2139
2164
  searchPlaceholder: {
2140
2165
  type: StringConstructor;
2141
2166
  default: string;
2142
2167
  };
2143
2168
  /**
2144
- * The table header title.
2169
+ * The label text for the search input.
2145
2170
  */
2146
- tableHeaderName: {
2171
+ searchLabel: {
2147
2172
  type: StringConstructor;
2148
2173
  default: string;
2149
2174
  };
2150
- }>>, {
2151
- searchPlaceholder: string;
2175
+ /**
2176
+ * The label text for the status filter dropdown.
2177
+ */
2178
+ statusFilterLabel: {
2179
+ type: StringConstructor;
2180
+ default: string;
2181
+ };
2182
+ }>> & {
2183
+ onChanged?: ((...args: any[]) => any) | undefined;
2184
+ }, {
2152
2185
  tableHeaderName: string;
2186
+ searchPlaceholder: string;
2187
+ searchLabel: string;
2188
+ statusFilterLabel: string;
2153
2189
  }>;
2154
2190
 
2155
2191
  declare const __default__$3: vue.DefineComponent<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frollo/frollo-web-ui",
3
- "version": "6.0.1",
3
+ "version": "6.0.3",
4
4
  "description": "Frollo's UI library for components, utilities and configs",
5
5
  "exports": {
6
6
  "./icons": "./icons/index.ts",
@@ -32,7 +32,7 @@ declare const __default__: import("vue").DefineComponent<{
32
32
  beforeLeave: (el: Element) => void;
33
33
  leave: (el: Element) => void;
34
34
  bgHoverColor: string;
35
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
35
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "toggled"[], "toggled", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
36
36
  /**
37
37
  * The header title of the accordion
38
38
  */
@@ -59,7 +59,9 @@ declare const __default__: import("vue").DefineComponent<{
59
59
  type: BooleanConstructor;
60
60
  default: boolean;
61
61
  };
62
- }>>, {
62
+ }>> & {
63
+ onToggled?: ((...args: any[]) => any) | undefined;
64
+ }, {
63
65
  isOpened: boolean;
64
66
  iconPositionStart: boolean;
65
67
  }>;
@@ -3,4 +3,5 @@ export declare interface NavMenuItem {
3
3
  href?: string;
4
4
  label: string;
5
5
  external?: boolean;
6
+ onClick?: () => void;
6
7
  }
@@ -15,16 +15,30 @@ declare const _default: import("vue").DefineComponent<{
15
15
  required: true;
16
16
  };
17
17
  /**
18
- * The placeholder text for the sarch input.
18
+ * The table header title.
19
+ */
20
+ tableHeaderName: {
21
+ type: StringConstructor;
22
+ default: string;
23
+ };
24
+ /**
25
+ * The placeholder text for the search input.
19
26
  */
20
27
  searchPlaceholder: {
21
28
  type: StringConstructor;
22
29
  default: string;
23
30
  };
24
31
  /**
25
- * The table header title.
32
+ * The label text for the search input.
26
33
  */
27
- tableHeaderName: {
34
+ searchLabel: {
35
+ type: StringConstructor;
36
+ default: string;
37
+ };
38
+ /**
39
+ * The label text for the status filter dropdown.
40
+ */
41
+ statusFilterLabel: {
28
42
  type: StringConstructor;
29
43
  default: string;
30
44
  };
@@ -33,7 +47,7 @@ declare const _default: import("vue").DefineComponent<{
33
47
  sortedTableItems: import("vue").ComputedRef<import("../fw-table/index.types").FwTableItem[]>;
34
48
  searchFilterModel: import("vue").Ref<string>;
35
49
  statusFilterModel: import("vue").Ref<string>;
36
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
50
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "changed"[], "changed", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
37
51
  /**
38
52
  * The header heading of the list.
39
53
  */
@@ -48,21 +62,39 @@ declare const _default: import("vue").DefineComponent<{
48
62
  required: true;
49
63
  };
50
64
  /**
51
- * The placeholder text for the sarch input.
65
+ * The table header title.
66
+ */
67
+ tableHeaderName: {
68
+ type: StringConstructor;
69
+ default: string;
70
+ };
71
+ /**
72
+ * The placeholder text for the search input.
52
73
  */
53
74
  searchPlaceholder: {
54
75
  type: StringConstructor;
55
76
  default: string;
56
77
  };
57
78
  /**
58
- * The table header title.
79
+ * The label text for the search input.
59
80
  */
60
- tableHeaderName: {
81
+ searchLabel: {
61
82
  type: StringConstructor;
62
83
  default: string;
63
84
  };
64
- }>>, {
65
- searchPlaceholder: string;
85
+ /**
86
+ * The label text for the status filter dropdown.
87
+ */
88
+ statusFilterLabel: {
89
+ type: StringConstructor;
90
+ default: string;
91
+ };
92
+ }>> & {
93
+ onChanged?: ((...args: any[]) => any) | undefined;
94
+ }, {
66
95
  tableHeaderName: string;
96
+ searchPlaceholder: string;
97
+ searchLabel: string;
98
+ statusFilterLabel: string;
67
99
  }>;
68
100
  export default _default;
@@ -28,7 +28,7 @@ declare const __default__: import("vue").DefineComponent<{
28
28
  columns: import("vue").ComputedRef<string[]>;
29
29
  sortBy: import("vue").Ref<string>;
30
30
  sortDirection: import("vue").Ref<FwTableSort>;
31
- sortColumn: (column: string) => void;
31
+ sortColumn: (column: string, isAction?: boolean) => void;
32
32
  sortedData: import("vue").ComputedRef<FwTableItem[]>;
33
33
  currentSortedColumn: import("vue").Ref<string>;
34
34
  sortedIcon: (sortDir: string, column: string) => boolean;
@@ -37,7 +37,7 @@ declare const __default__: import("vue").DefineComponent<{
37
37
  isDisabled: (column: string) => boolean;
38
38
  rowClicked: (row: FwTableItem) => void;
39
39
  bgHoverColor: string;
40
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "rowClicked"[], "rowClicked", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
40
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("rowClicked" | "columnSorted")[], "rowClicked" | "columnSorted", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
41
41
  items: {
42
42
  type: PropType<FwTableItem[]>;
43
43
  required: true;
@@ -63,6 +63,7 @@ declare const __default__: import("vue").DefineComponent<{
63
63
  };
64
64
  }>> & {
65
65
  onRowClicked?: ((...args: any[]) => any) | undefined;
66
+ onColumnSorted?: ((...args: any[]) => any) | undefined;
66
67
  }, {
67
68
  loading: boolean;
68
69
  clickableRows: boolean;