@frollo/frollo-web-ui 4.0.0 → 5.0.0

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 +908 -497
  2. package/esm/{es.number.constructor-1249bd78.js → es.number.constructor-d6ff8874.js} +13 -4
  3. package/esm/{es.string.iterator-284b31d4.js → es.string.iterator-590198a8.js} +1 -2
  4. package/esm/fw-accordion.js +61 -28
  5. package/esm/fw-animations.js +3 -4
  6. package/esm/fw-bar-chart.js +4 -4
  7. package/esm/{fw-button-e8b1bd62.js → fw-button-beaf20f4.js} +1 -1
  8. package/esm/fw-button.js +3 -3
  9. package/esm/fw-checkbox.js +25 -9
  10. package/esm/fw-drawer.js +225 -0
  11. package/esm/fw-dropdown.js +1 -1
  12. package/esm/{fw-image-3fa960e1.js → fw-image-161b667a.js} +66 -60
  13. package/esm/fw-image.js +6 -7
  14. package/esm/fw-input.js +27 -9
  15. package/esm/{fw-loading-spinner-304e2f95.js → fw-loading-spinner-51deaa3d.js} +1 -1
  16. package/esm/fw-loading.js +17 -17
  17. package/esm/fw-modal.js +3 -3
  18. package/esm/fw-navigation-menu.js +3 -3
  19. package/esm/fw-progress-bar.js +1 -2
  20. package/esm/fw-sidebar-menu.js +13 -9
  21. package/esm/fw-table.js +63 -41
  22. package/esm/fw-tabs.js +1 -2
  23. package/esm/fw-tag.js +93 -18
  24. package/esm/fw-toast.js +2 -3
  25. package/esm/fw-transactions-card.js +6 -7
  26. package/esm/get-root-colours-e2a1cb28.js +21 -0
  27. package/esm/{index-1a41e7bf.js → index-2766bfe4.js} +14 -14
  28. package/esm/{index-c6458115.js → index-3624f1c9.js} +124 -96
  29. package/esm/index.js +42 -39
  30. package/frollo-web-ui.esm.js +971 -545
  31. package/icons/index.ts +5 -1
  32. package/icons/search.svg +3 -0
  33. package/icons/xmark.svg +3 -0
  34. package/index.d.ts +446 -139
  35. package/package.json +1 -1
  36. package/types/components/fw-accordion/fw-accordion.vue.d.ts +22 -4
  37. package/types/components/fw-accordion/index.types.d.ts +1 -0
  38. package/types/components/fw-checkbox/fw-checkbox.vue.d.ts +35 -3
  39. package/types/components/fw-checkbox/index.types.d.ts +2 -0
  40. package/types/components/fw-drawer/fw-drawer.vue.d.ts +165 -0
  41. package/types/components/fw-drawer/index.d.ts +2 -0
  42. package/types/components/fw-drawer/index.types.d.ts +14 -0
  43. package/types/components/fw-input/fw-input.vue.d.ts +36 -2
  44. package/types/components/fw-input/index.types.d.ts +2 -0
  45. package/types/components/fw-sidebar-menu/fw-sidebar-menu.vue.d.ts +4 -3
  46. package/types/components/fw-sidebar-menu/index.types.d.ts +2 -1
  47. package/types/components/fw-table/fw-table.vue.d.ts +14 -0
  48. package/types/components/fw-table/index.types.d.ts +3 -1
  49. package/types/components/fw-tag/fw-tag.vue.d.ts +30 -8
  50. package/types/components/fw-tag/index.types.d.ts +4 -2
  51. package/types/components/index.d.ts +1 -0
  52. package/types/components/index.types.d.ts +1 -0
  53. package/types/helpers/get-root-colours.d.ts +9 -0
  54. package/types/icons/index.d.ts +3 -1
  55. package/web-components/index.js +973 -547
  56. package/esm/to-string-12728fd2.js +0 -13
package/index.d.ts CHANGED
@@ -18,9 +18,11 @@ declare interface FwInputProps {
18
18
  hint?: string;
19
19
  autocomplete?: string;
20
20
  tabindex?: string;
21
+ rounded?: boolean;
22
+ enableErrors?: boolean;
21
23
  }
22
24
 
23
- declare const _default$m: vue.DefineComponent<{
25
+ declare const _default$l: vue.DefineComponent<{
24
26
  /**
25
27
  * The input v-model
26
28
  */
@@ -83,12 +85,28 @@ declare const _default$m: vue.DefineComponent<{
83
85
  };
84
86
  /**
85
87
  * The logical tab order of the input.
86
- * Defaults to 1
88
+ * Defaults to 0
87
89
  */
88
90
  tabindex: {
89
91
  type: StringConstructor;
90
92
  default: string;
91
93
  };
94
+ /**
95
+ * Whether the input is rounded.
96
+ * Defaults to false
97
+ */
98
+ rounded: {
99
+ type: BooleanConstructor;
100
+ default: boolean;
101
+ };
102
+ /**
103
+ * Enable the error section UI.
104
+ * Defaults to true
105
+ */
106
+ enableErrors: {
107
+ type: BooleanConstructor;
108
+ default: boolean;
109
+ };
92
110
  }, {
93
111
  uuid: string;
94
112
  inputBaseClass: vue.Ref<string>;
@@ -156,12 +174,28 @@ declare const _default$m: vue.DefineComponent<{
156
174
  };
157
175
  /**
158
176
  * The logical tab order of the input.
159
- * Defaults to 1
177
+ * Defaults to 0
160
178
  */
161
179
  tabindex: {
162
180
  type: StringConstructor;
163
181
  default: string;
164
182
  };
183
+ /**
184
+ * Whether the input is rounded.
185
+ * Defaults to false
186
+ */
187
+ rounded: {
188
+ type: BooleanConstructor;
189
+ default: boolean;
190
+ };
191
+ /**
192
+ * Enable the error section UI.
193
+ * Defaults to true
194
+ */
195
+ enableErrors: {
196
+ type: BooleanConstructor;
197
+ default: boolean;
198
+ };
165
199
  }>> & {
166
200
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
167
201
  }, {
@@ -170,16 +204,26 @@ declare const _default$m: vue.DefineComponent<{
170
204
  placeholder: string;
171
205
  readonly: boolean;
172
206
  tabindex: string;
207
+ rounded: boolean;
208
+ enableErrors: boolean;
173
209
  }>;
174
210
 
175
- declare const _default$l: vue.DefineComponent<{
211
+ declare const _default$k: vue.DefineComponent<{
176
212
  /**
177
- * The name of the input field. Must be unique per form.
213
+ * The name of the checkbox input field.
214
+ * Multiple checkboxes can use the same name with a unique value.
178
215
  */
179
216
  name: {
180
217
  type: StringConstructor;
181
218
  required: true;
182
219
  };
220
+ /**
221
+ * The value of the input field. Must be unique per name.
222
+ */
223
+ value: {
224
+ type: StringConstructor;
225
+ required: false;
226
+ };
183
227
  /**
184
228
  * Label for the input. Also renders to an aria-label attribute
185
229
  */
@@ -198,16 +242,31 @@ declare const _default$l: vue.DefineComponent<{
198
242
  hint: {
199
243
  type: StringConstructor;
200
244
  };
245
+ /**
246
+ * Enable or disable the error hidden element
247
+ */
248
+ enableErrors: {
249
+ type: BooleanConstructor;
250
+ default: boolean;
251
+ };
201
252
  }, {
202
253
  uuid: string;
203
254
  }, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
204
255
  /**
205
- * The name of the input field. Must be unique per form.
256
+ * The name of the checkbox input field.
257
+ * Multiple checkboxes can use the same name with a unique value.
206
258
  */
207
259
  name: {
208
260
  type: StringConstructor;
209
261
  required: true;
210
262
  };
263
+ /**
264
+ * The value of the input field. Must be unique per name.
265
+ */
266
+ value: {
267
+ type: StringConstructor;
268
+ required: false;
269
+ };
211
270
  /**
212
271
  * Label for the input. Also renders to an aria-label attribute
213
272
  */
@@ -226,7 +285,16 @@ declare const _default$l: vue.DefineComponent<{
226
285
  hint: {
227
286
  type: StringConstructor;
228
287
  };
229
- }>>, {}>;
288
+ /**
289
+ * Enable or disable the error hidden element
290
+ */
291
+ enableErrors: {
292
+ type: BooleanConstructor;
293
+ default: boolean;
294
+ };
295
+ }>>, {
296
+ enableErrors: boolean;
297
+ }>;
230
298
 
231
299
  declare interface FwDropdownOption {
232
300
  label: string;
@@ -241,7 +309,7 @@ declare interface FwDropdownProps {
241
309
  placeholder?: string;
242
310
  }
243
311
 
244
- declare const _default$k: vue.DefineComponent<{
312
+ declare const _default$j: vue.DefineComponent<{
245
313
  /**
246
314
  * The select v-model
247
315
  */
@@ -352,7 +420,7 @@ declare const _default$k: vue.DefineComponent<{
352
420
  placeholder: string;
353
421
  }>;
354
422
 
355
- declare const _default$j: vue.DefineComponent<{
423
+ declare const _default$i: vue.DefineComponent<{
356
424
  /**
357
425
  * The header title of the card
358
426
  */
@@ -461,7 +529,7 @@ declare interface FwButtonProps {
461
529
  external?: boolean;
462
530
  }
463
531
 
464
- declare const _default$i: vue.DefineComponent<{
532
+ declare const _default$h: vue.DefineComponent<{
465
533
  /**
466
534
  * A `router-link` path or object
467
535
  */
@@ -642,7 +710,7 @@ declare interface NavMenuItem {
642
710
  external?: boolean;
643
711
  }
644
712
 
645
- declare const _default$h: vue.DefineComponent<{
713
+ declare const _default$g: vue.DefineComponent<{
646
714
  /**
647
715
  * An array of menu items
648
716
  * `{ to?: string | object; href?: string; label: string; }`
@@ -697,7 +765,7 @@ declare const _default$h: vue.DefineComponent<{
697
765
  containerClass: string;
698
766
  }>;
699
767
 
700
- declare const _default$g: vue.DefineComponent<{
768
+ declare const _default$f: vue.DefineComponent<{
701
769
  /**
702
770
  * The active tab v-model
703
771
  */
@@ -721,7 +789,7 @@ declare const _default$g: vue.DefineComponent<{
721
789
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
722
790
  }, {}>;
723
791
 
724
- declare const _default$f: vue.DefineComponent<{
792
+ declare const _default$e: vue.DefineComponent<{
725
793
  /**
726
794
  * The label of the tab component used as the button panel label
727
795
  */
@@ -753,7 +821,7 @@ declare const _default$f: vue.DefineComponent<{
753
821
  };
754
822
  }>>, {}>;
755
823
 
756
- declare const _default$e: vue.DefineComponent<{
824
+ declare const _default$d: vue.DefineComponent<{
757
825
  /**
758
826
  * The modal's v-model. Controls the visibility of the modal.
759
827
  */
@@ -932,7 +1000,7 @@ declare interface ProgressBarStep {
932
1000
  subSteps: number;
933
1001
  }
934
1002
 
935
- declare const _default$d: vue.DefineComponent<{
1003
+ declare const _default$c: vue.DefineComponent<{
936
1004
  /**
937
1005
  * An array of menu progress steps.
938
1006
  * `{ label: string; position: number; subSteps: number; }`
@@ -982,15 +1050,48 @@ declare const _default$d: vue.DefineComponent<{
982
1050
  };
983
1051
  }>>, {}>;
984
1052
 
985
- declare type TagVariantName = 'primary' | 'alert' | 'error' | 'success';
1053
+ declare interface FwCardProps {
1054
+ title?: string;
1055
+ prefixTitle?: string;
1056
+ to?: string | object;
1057
+ href?: string;
1058
+ slotPadding?: boolean;
1059
+ isBordered?: boolean;
1060
+ }
1061
+
1062
+ declare interface FwCheckboxProps {
1063
+ name: string;
1064
+ value?: string;
1065
+ label?: string;
1066
+ rules?: string | Record<string, unknown> | (() => boolean);
1067
+ hint?: string;
1068
+ enableErrors?: boolean;
1069
+ }
1070
+
1071
+ declare interface FwModalProps {
1072
+ modelValue: boolean;
1073
+ header?: string;
1074
+ element?: string;
1075
+ body?: string;
1076
+ role?: string;
1077
+ showCancel?: boolean;
1078
+ showConfirm?: boolean;
1079
+ cancelButtonText?: string;
1080
+ cancelButtonType?: ButtonVariantName;
1081
+ confirmButtonText?: string;
1082
+ confirmButtonType?: ButtonVariantName;
1083
+ }
1084
+
1085
+ declare type TagVariantName = 'primary' | 'secondary' | 'alert' | 'error' | 'success';
986
1086
  declare interface TagDefinition {
987
1087
  text: string;
988
1088
  background: string;
1089
+ iconType: FwButtonProps['variant'];
989
1090
  }
990
1091
  declare type TagDefinitionList = {
991
1092
  [key in TagVariantName]: TagDefinition;
992
1093
  };
993
- declare type TagSize = 'xs' | 'sm';
1094
+ declare type TagSize = 'xs' | 'sm' | 'md';
994
1095
  declare type TagSizes = {
995
1096
  [key in TagSize]: string;
996
1097
  };
@@ -999,9 +1100,97 @@ declare interface FwTagProps {
999
1100
  variant?: TagVariantName;
1000
1101
  }
1001
1102
 
1002
- declare const _default$c: vue.DefineComponent<{
1103
+ declare type FwTableItem = Record<string, string | number>;
1104
+ declare type FwTableFormatFunction = (value: string | number | object) => string;
1105
+ declare type FwTableSort = 'asc' | 'desc';
1106
+ declare type FwTableItemOptions = Record<string, {
1107
+ formatter?: FwTableFormatFunction;
1108
+ isSortable?: boolean;
1109
+ disabled?: boolean;
1110
+ initSortOrder?: FwTableSort;
1111
+ }>;
1112
+ declare interface FwTableProps {
1113
+ items: FwTableItem[];
1114
+ options?: FwTableItemOptions;
1115
+ loading?: boolean;
1116
+ clickableRows?: boolean;
1117
+ autoSortColumn?: number;
1118
+ }
1119
+
1120
+ declare interface FwAccordionProps {
1121
+ title?: string;
1122
+ suffixTitle?: string;
1123
+ isOpened?: boolean;
1124
+ iconPositionStart?: boolean;
1125
+ }
1126
+
1127
+ declare interface FwImageProps {
1128
+ src?: string;
1129
+ alt?: string;
1130
+ type?: 'native' | 'background';
1131
+ rounded?: boolean;
1132
+ imageClass?: string;
1133
+ threshold?: number;
1134
+ }
1135
+
1136
+ declare type ToastType = 'success' | 'error' | 'warning';
1137
+ declare type ToastTypes = {
1138
+ [key in ToastType]: string;
1139
+ };
1140
+ declare type ToastPosition = 'top' | 'bottom' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
1141
+ declare interface FwToastProps {
1142
+ modelValue: boolean;
1143
+ type?: ToastType;
1144
+ position?: ToastPosition;
1145
+ content?: string;
1146
+ element?: string;
1147
+ timeout?: number;
1148
+ }
1149
+
1150
+ declare interface FwTransactionsCardProps {
1151
+ title: string;
1152
+ subTitle?: string;
1153
+ imageUrl?: string;
1154
+ amount?: string;
1155
+ }
1156
+
1157
+ declare interface FwBarGraphData {
1158
+ name: string;
1159
+ value: string | number;
1160
+ }
1161
+ declare interface FwBarChartProps {
1162
+ title?: string;
1163
+ yMarker?: string;
1164
+ x?: string[] | string;
1165
+ y?: (string | number)[] | string;
1166
+ graphData?: FwBarGraphData[] | string;
1167
+ }
1168
+
1169
+ declare interface FwSidebarMenuItem {
1170
+ to?: string | object;
1171
+ href?: string;
1172
+ label: string;
1173
+ external?: boolean;
1174
+ disabled?: boolean;
1175
+ }
1176
+
1177
+ declare interface FwDrawerProps {
1178
+ modelValue: boolean;
1179
+ header?: string;
1180
+ element?: string;
1181
+ body?: string;
1182
+ role?: string;
1183
+ showCancel?: boolean;
1184
+ showConfirm?: boolean;
1185
+ cancelButtonText?: string;
1186
+ cancelButtonType?: ButtonVariantName;
1187
+ confirmButtonText?: string;
1188
+ confirmButtonType?: ButtonVariantName;
1189
+ }
1190
+
1191
+ declare const __default__$4: vue.DefineComponent<{
1003
1192
  /**
1004
- * The size of the tag. Accepts: 'xs' & 'sm'
1193
+ * The size of the tag. Accepts: 'xs', 'sm' & 'md'
1005
1194
  */
1006
1195
  size: {
1007
1196
  type: PropType<TagSize>;
@@ -1010,21 +1199,32 @@ declare const _default$c: vue.DefineComponent<{
1010
1199
  };
1011
1200
  /**
1012
1201
  * The colour variant of the tag.
1013
- * Accepts 'primary', 'alert', 'error', 'success'
1202
+ * Accepts 'primary', 'secondary', 'alert', 'error', 'success'
1014
1203
  */
1015
1204
  variant: {
1016
1205
  type: PropType<TagVariantName>;
1017
1206
  default: string;
1018
1207
  validator: (value: string) => boolean;
1019
1208
  };
1209
+ /**
1210
+ * Whether the tag can be dismissed or closed.
1211
+ * Emits the @dismissed event
1212
+ */
1213
+ dismissable: {
1214
+ type: BooleanConstructor;
1215
+ default: boolean;
1216
+ };
1020
1217
  }, {
1021
1218
  baseClass: vue.Ref<string>;
1022
1219
  textColorClass: vue.ComputedRef<string>;
1023
1220
  bgColorClass: vue.ComputedRef<string>;
1024
1221
  sizeClass: vue.ComputedRef<string>;
1025
- }, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
1222
+ iconSizeClass: vue.ComputedRef<string>;
1223
+ iconButtonType: vue.ComputedRef<ButtonVariantName | undefined>;
1224
+ primaryFade5: string;
1225
+ }, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "dismissed"[], "dismissed", vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
1026
1226
  /**
1027
- * The size of the tag. Accepts: 'xs' & 'sm'
1227
+ * The size of the tag. Accepts: 'xs', 'sm' & 'md'
1028
1228
  */
1029
1229
  size: {
1030
1230
  type: PropType<TagSize>;
@@ -1033,34 +1233,30 @@ declare const _default$c: vue.DefineComponent<{
1033
1233
  };
1034
1234
  /**
1035
1235
  * The colour variant of the tag.
1036
- * Accepts 'primary', 'alert', 'error', 'success'
1236
+ * Accepts 'primary', 'secondary', 'alert', 'error', 'success'
1037
1237
  */
1038
1238
  variant: {
1039
1239
  type: PropType<TagVariantName>;
1040
1240
  default: string;
1041
1241
  validator: (value: string) => boolean;
1042
1242
  };
1043
- }>>, {
1243
+ /**
1244
+ * Whether the tag can be dismissed or closed.
1245
+ * Emits the @dismissed event
1246
+ */
1247
+ dismissable: {
1248
+ type: BooleanConstructor;
1249
+ default: boolean;
1250
+ };
1251
+ }>> & {
1252
+ onDismissed?: ((...args: any[]) => any) | undefined;
1253
+ }, {
1044
1254
  size: TagSize;
1045
1255
  variant: TagVariantName;
1256
+ dismissable: boolean;
1046
1257
  }>;
1047
1258
 
1048
- declare type FwTableItem = Record<string, string | number>;
1049
- declare type FwTableFormatFunction = (value: string | number | object) => string;
1050
- declare type FwTableItemOptions = Record<string, {
1051
- formatter?: FwTableFormatFunction;
1052
- isSortable?: boolean;
1053
- disabled?: boolean;
1054
- }>;
1055
- declare type FwTableSort = 'asc' | 'desc';
1056
- declare interface FwTableProps {
1057
- items: FwTableItem[];
1058
- options?: FwTableItemOptions;
1059
- loading?: boolean;
1060
- clickableRows?: boolean;
1061
- }
1062
-
1063
- declare const __default__$2: vue.DefineComponent<{
1259
+ declare const __default__$3: vue.DefineComponent<{
1064
1260
  items: {
1065
1261
  type: PropType<FwTableItem[]>;
1066
1262
  required: true;
@@ -1073,10 +1269,17 @@ declare const __default__$2: vue.DefineComponent<{
1073
1269
  type: BooleanConstructor;
1074
1270
  default: boolean;
1075
1271
  };
1272
+ /**
1273
+ * Enable click events on rows.
1274
+ * Emits row data when clicked
1275
+ */
1076
1276
  clickableRows: {
1077
1277
  type: BooleanConstructor;
1078
1278
  default: boolean;
1079
1279
  };
1280
+ autoSortColumn: {
1281
+ type: NumberConstructor;
1282
+ };
1080
1283
  }, {
1081
1284
  columns: vue.ComputedRef<string[]>;
1082
1285
  sortBy: vue.Ref<string>;
@@ -1103,10 +1306,17 @@ declare const __default__$2: vue.DefineComponent<{
1103
1306
  type: BooleanConstructor;
1104
1307
  default: boolean;
1105
1308
  };
1309
+ /**
1310
+ * Enable click events on rows.
1311
+ * Emits row data when clicked
1312
+ */
1106
1313
  clickableRows: {
1107
1314
  type: BooleanConstructor;
1108
1315
  default: boolean;
1109
1316
  };
1317
+ autoSortColumn: {
1318
+ type: NumberConstructor;
1319
+ };
1110
1320
  }>> & {
1111
1321
  onRowClicked?: ((...args: any[]) => any) | undefined;
1112
1322
  }, {
@@ -1118,7 +1328,7 @@ declare const _default$b: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentO
1118
1328
 
1119
1329
  declare const _default$a: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{}>>, {}>;
1120
1330
 
1121
- declare const _default$9: vue.DefineComponent<{
1331
+ declare const __default__$2: vue.DefineComponent<{
1122
1332
  /**
1123
1333
  * The header title of the accordion
1124
1334
  */
@@ -1138,10 +1348,20 @@ declare const _default$9: vue.DefineComponent<{
1138
1348
  type: BooleanConstructor;
1139
1349
  default: boolean;
1140
1350
  };
1351
+ /**
1352
+ * Whether the accordion open icon should be at the start or end
1353
+ */
1354
+ iconPositionStart: {
1355
+ type: BooleanConstructor;
1356
+ default: boolean;
1357
+ };
1141
1358
  }, {
1142
1359
  isOpen: vue.Ref<boolean>;
1143
- transitionEnter: (el: HTMLElement) => void;
1144
- transitionLeave: (el: HTMLElement) => void;
1360
+ beforeEnter: (el: Element) => void;
1361
+ enter: (el: Element) => void;
1362
+ beforeLeave: (el: Element) => void;
1363
+ leave: (el: Element) => void;
1364
+ bgHoverColor: string;
1145
1365
  }, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
1146
1366
  /**
1147
1367
  * The header title of the accordion
@@ -1162,11 +1382,19 @@ declare const _default$9: vue.DefineComponent<{
1162
1382
  type: BooleanConstructor;
1163
1383
  default: boolean;
1164
1384
  };
1385
+ /**
1386
+ * Whether the accordion open icon should be at the start or end
1387
+ */
1388
+ iconPositionStart: {
1389
+ type: BooleanConstructor;
1390
+ default: boolean;
1391
+ };
1165
1392
  }>>, {
1166
1393
  isOpened: boolean;
1394
+ iconPositionStart: boolean;
1167
1395
  }>;
1168
1396
 
1169
- declare const _default$8: vue.DefineComponent<{
1397
+ declare const _default$9: vue.DefineComponent<{
1170
1398
  /**
1171
1399
  * The src attribute of the image
1172
1400
  */
@@ -1249,11 +1477,11 @@ declare const _default$8: vue.DefineComponent<{
1249
1477
  threshold: number;
1250
1478
  }>;
1251
1479
 
1252
- declare const _default$7: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{}>>, {}>;
1480
+ declare const _default$8: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{}>>, {}>;
1253
1481
 
1254
- declare const _default$6: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{}>>, {}>;
1482
+ declare const _default$7: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{}>>, {}>;
1255
1483
 
1256
- declare const _default$5: vue.DefineComponent<{
1484
+ declare const _default$6: vue.DefineComponent<{
1257
1485
  columns: {
1258
1486
  type: NumberConstructor;
1259
1487
  default: number;
@@ -1278,21 +1506,7 @@ declare const _default$5: vue.DefineComponent<{
1278
1506
  rows: number;
1279
1507
  }>;
1280
1508
 
1281
- declare type ToastType = 'success' | 'error' | 'warning';
1282
- declare type ToastTypes = {
1283
- [key in ToastType]: string;
1284
- };
1285
- declare type ToastPosition = 'top' | 'bottom' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
1286
- declare interface FwToastProps {
1287
- modelValue: boolean;
1288
- type?: ToastType;
1289
- position?: ToastPosition;
1290
- content?: string;
1291
- element?: string;
1292
- timeout?: number;
1293
- }
1294
-
1295
- declare const _default$4: vue.DefineComponent<{
1509
+ declare const _default$5: vue.DefineComponent<{
1296
1510
  /**
1297
1511
  * The toast's v-model. Controls the visibility of the toast.
1298
1512
  */
@@ -1411,7 +1625,7 @@ declare const _default$4: vue.DefineComponent<{
1411
1625
  timeout: number;
1412
1626
  }>;
1413
1627
 
1414
- declare const _default$3: vue.DefineComponent<{
1628
+ declare const _default$4: vue.DefineComponent<{
1415
1629
  /**
1416
1630
  * The transaction title of the card
1417
1631
  */
@@ -1469,19 +1683,7 @@ declare const _default$3: vue.DefineComponent<{
1469
1683
  };
1470
1684
  }>>, {}>;
1471
1685
 
1472
- declare interface FwBarGraphData {
1473
- name: string;
1474
- value: string | number;
1475
- }
1476
- declare interface FwBarChartProps {
1477
- title?: string;
1478
- yMarker?: string;
1479
- x?: string[] | string;
1480
- y?: (string | number)[] | string;
1481
- graphData?: FwBarGraphData[] | string;
1482
- }
1483
-
1484
- declare const _default$2: vue.DefineComponent<{
1686
+ declare const _default$3: vue.DefineComponent<{
1485
1687
  /**
1486
1688
  * The transaction title of the chart
1487
1689
  */
@@ -1562,20 +1764,13 @@ declare const _default$2: vue.DefineComponent<{
1562
1764
  };
1563
1765
  }>>, {}>;
1564
1766
 
1565
- declare interface SidebarMenuItem {
1566
- to?: string | object;
1567
- href?: string;
1568
- label: string;
1569
- external?: boolean;
1570
- }
1571
-
1572
- declare const _default$1: vue.DefineComponent<{
1767
+ declare const _default$2: vue.DefineComponent<{
1573
1768
  /**
1574
1769
  * An array of menu items
1575
1770
  * `{ to?: string | object; href?: string; label: string; }`
1576
1771
  */
1577
1772
  menuItems: {
1578
- type: PropType<SidebarMenuItem[]>;
1773
+ type: PropType<FwSidebarMenuItem[]>;
1579
1774
  };
1580
1775
  /**
1581
1776
  * The class for the open/close toggle button
@@ -1599,6 +1794,7 @@ declare const _default$1: vue.DefineComponent<{
1599
1794
  default: string;
1600
1795
  };
1601
1796
  }, {
1797
+ baseClass: string;
1602
1798
  isMenuOpen: vue.Ref<boolean>;
1603
1799
  toggleMenu: () => void;
1604
1800
  }, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "toggled"[], "toggled", vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
@@ -1607,7 +1803,7 @@ declare const _default$1: vue.DefineComponent<{
1607
1803
  * `{ to?: string | object; href?: string; label: string; }`
1608
1804
  */
1609
1805
  menuItems: {
1610
- type: PropType<SidebarMenuItem[]>;
1806
+ type: PropType<FwSidebarMenuItem[]>;
1611
1807
  };
1612
1808
  /**
1613
1809
  * The class for the open/close toggle button
@@ -1638,6 +1834,169 @@ declare const _default$1: vue.DefineComponent<{
1638
1834
  closedWidth: string;
1639
1835
  }>;
1640
1836
 
1837
+ declare const _default$1: vue.DefineComponent<{
1838
+ /**
1839
+ * The drawer's v-model. Controls the visibility of the drawer.
1840
+ */
1841
+ modelValue: {
1842
+ type: BooleanConstructor;
1843
+ };
1844
+ /**
1845
+ * The header title of the drawer
1846
+ */
1847
+ header: {
1848
+ type: StringConstructor;
1849
+ };
1850
+ /**
1851
+ * The body description of the drawer
1852
+ */
1853
+ body: {
1854
+ type: StringConstructor;
1855
+ };
1856
+ /**
1857
+ * The aria role of the drawer container. Defaults to `dialog`
1858
+ */
1859
+ role: {
1860
+ type: StringConstructor;
1861
+ default: string;
1862
+ };
1863
+ /**
1864
+ * Whether to show the cancel button
1865
+ */
1866
+ showCancel: {
1867
+ type: BooleanConstructor;
1868
+ default: boolean;
1869
+ };
1870
+ /**
1871
+ * Whether to show the confirm button
1872
+ */
1873
+ showConfirm: {
1874
+ type: BooleanConstructor;
1875
+ default: boolean;
1876
+ };
1877
+ /**
1878
+ * Custom text for the cancel button
1879
+ */
1880
+ cancelButtonText: {
1881
+ type: StringConstructor;
1882
+ default: string;
1883
+ };
1884
+ /**
1885
+ * Button variant for the cancel button
1886
+ */
1887
+ cancelButtonType: {
1888
+ type: PropType<ButtonVariantName>;
1889
+ default: string;
1890
+ validator: (value: string) => boolean;
1891
+ };
1892
+ /**
1893
+ * Custom text for the confirm button
1894
+ */
1895
+ confirmButtonText: {
1896
+ type: StringConstructor;
1897
+ default: string;
1898
+ };
1899
+ /**
1900
+ * Button variant for the confirm button
1901
+ */
1902
+ confirmButtonType: {
1903
+ type: PropType<ButtonVariantName>;
1904
+ default: string;
1905
+ validator: (value: string) => boolean;
1906
+ };
1907
+ }, {
1908
+ baseDrawerClass: string;
1909
+ drawerFooterClass: string;
1910
+ isOpen: vue.WritableComputedRef<boolean>;
1911
+ uuid: string;
1912
+ isMounted: vue.Ref<boolean>;
1913
+ onConfirmed: () => void;
1914
+ onCancelled: () => void;
1915
+ }, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("update:modelValue" | "cancel" | "confirm")[], "update:modelValue" | "cancel" | "confirm", vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
1916
+ /**
1917
+ * The drawer's v-model. Controls the visibility of the drawer.
1918
+ */
1919
+ modelValue: {
1920
+ type: BooleanConstructor;
1921
+ };
1922
+ /**
1923
+ * The header title of the drawer
1924
+ */
1925
+ header: {
1926
+ type: StringConstructor;
1927
+ };
1928
+ /**
1929
+ * The body description of the drawer
1930
+ */
1931
+ body: {
1932
+ type: StringConstructor;
1933
+ };
1934
+ /**
1935
+ * The aria role of the drawer container. Defaults to `dialog`
1936
+ */
1937
+ role: {
1938
+ type: StringConstructor;
1939
+ default: string;
1940
+ };
1941
+ /**
1942
+ * Whether to show the cancel button
1943
+ */
1944
+ showCancel: {
1945
+ type: BooleanConstructor;
1946
+ default: boolean;
1947
+ };
1948
+ /**
1949
+ * Whether to show the confirm button
1950
+ */
1951
+ showConfirm: {
1952
+ type: BooleanConstructor;
1953
+ default: boolean;
1954
+ };
1955
+ /**
1956
+ * Custom text for the cancel button
1957
+ */
1958
+ cancelButtonText: {
1959
+ type: StringConstructor;
1960
+ default: string;
1961
+ };
1962
+ /**
1963
+ * Button variant for the cancel button
1964
+ */
1965
+ cancelButtonType: {
1966
+ type: PropType<ButtonVariantName>;
1967
+ default: string;
1968
+ validator: (value: string) => boolean;
1969
+ };
1970
+ /**
1971
+ * Custom text for the confirm button
1972
+ */
1973
+ confirmButtonText: {
1974
+ type: StringConstructor;
1975
+ default: string;
1976
+ };
1977
+ /**
1978
+ * Button variant for the confirm button
1979
+ */
1980
+ confirmButtonType: {
1981
+ type: PropType<ButtonVariantName>;
1982
+ default: string;
1983
+ validator: (value: string) => boolean;
1984
+ };
1985
+ }>> & {
1986
+ onCancel?: ((...args: any[]) => any) | undefined;
1987
+ onConfirm?: ((...args: any[]) => any) | undefined;
1988
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1989
+ }, {
1990
+ modelValue: boolean;
1991
+ role: string;
1992
+ showCancel: boolean;
1993
+ showConfirm: boolean;
1994
+ cancelButtonText: string;
1995
+ cancelButtonType: ButtonVariantName;
1996
+ confirmButtonText: string;
1997
+ confirmButtonType: ButtonVariantName;
1998
+ }>;
1999
+
1641
2000
  declare const __default__$1: vue.DefineComponent<{
1642
2001
  /**
1643
2002
  * The animation-iteration-count CSS property of the pulse animation.
@@ -1688,20 +2047,6 @@ declare const __default__: vue.DefineComponent<{
1688
2047
 
1689
2048
  declare const _default: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{}>>, {}>;
1690
2049
 
1691
- declare interface FwModalProps {
1692
- modelValue: boolean;
1693
- header?: string;
1694
- element?: string;
1695
- body?: string;
1696
- role?: string;
1697
- showCancel?: boolean;
1698
- showConfirm?: boolean;
1699
- cancelButtonText?: string;
1700
- cancelButtonType?: ButtonVariantName;
1701
- confirmButtonText?: string;
1702
- confirmButtonType?: ButtonVariantName;
1703
- }
1704
-
1705
2050
  declare interface ModalServiceProps extends Omit<FwModalProps, 'modelValue'> {
1706
2051
  onConfirm?: () => void;
1707
2052
  onCancel?: () => void;
@@ -1722,44 +2067,6 @@ declare const toastService: () => {
1722
2067
 
1723
2068
  declare const install: Exclude<Plugin['install'], undefined>;
1724
2069
 
1725
- declare interface FwCardProps {
1726
- title?: string;
1727
- prefixTitle?: string;
1728
- to?: string | object;
1729
- href?: string;
1730
- slotPadding?: boolean;
1731
- isBordered?: boolean;
1732
- }
1733
-
1734
- declare interface FwCheckboxProps {
1735
- name: string;
1736
- label?: string;
1737
- rules?: string | Record<string, unknown> | (() => boolean);
1738
- hint?: string;
1739
- }
1740
-
1741
- declare interface FwAccordionProps {
1742
- title?: string;
1743
- suffixTitle?: string;
1744
- isOpened?: boolean;
1745
- }
1746
-
1747
- declare interface FwImageProps {
1748
- src?: string;
1749
- alt?: string;
1750
- type?: 'native' | 'background';
1751
- rounded?: boolean;
1752
- imageClass?: string;
1753
- threshold?: number;
1754
- }
1755
-
1756
- declare interface FwTransactionsCardProps {
1757
- title: string;
1758
- subTitle?: string;
1759
- imageUrl?: string;
1760
- amount?: string;
1761
- }
1762
-
1763
2070
  declare module '@frollo/frollo-web-ui/icons' { }
1764
2071
 
1765
- export { ButtonAnimation, ButtonDefinition, ButtonDefinitionList, ButtonSize, ButtonSizes, ButtonTypeAttribute, ButtonVariantName, _default$9 as FwAccordion, FwAccordionProps, _default$2 as FwBarChart, FwBarChartProps, FwBarGraphData, _default$i as FwButton, FwButtonProps, _default$j as FwCard, FwCardProps, _default$l as FwCheckbox, FwCheckboxProps, _default$k as FwDropdown, FwDropdownOption, FwDropdownProps, __default__$1 as FwEmailPulse, _default$8 as FwImage, FwImageProps, _default$m as FwInput, FwInputProps, FwInputType, _default$7 as FwLoadingBar, _default$6 as FwLoadingCard, _default as FwLoadingSpinner, _default$5 as FwLoadingTable, _default$e as FwModal, FwModalProps, _default$h as FwNavigationMenu, _default$d as FwProgressBar, _default$1 as FwSidebarMenu, __default__ as FwSuccessPulse, _default$f as FwTab, __default__$2 as FwTable, FwTableFormatFunction, _default$b as FwTableHead, FwTableItem, FwTableItemOptions, FwTableProps, _default$a as FwTableRow, FwTableSort, _default$g as FwTabs, _default$c as FwTag, FwTagProps, _default$4 as FwToast, FwToastProps, _default$3 as FwTransactionsCard, FwTransactionsCardProps, ModalServiceProps, NavMenuItem, ProgressBarStep, SidebarMenuItem, TagDefinition, TagDefinitionList, TagSize, TagSizes, TagVariantName, ToastPosition, ToastServiceProps, ToastType, ToastTypes, install as default, modalService, toastService };
2072
+ 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 };