@frollo/frollo-web-ui 7.0.0 → 8.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 (172) hide show
  1. package/cjs/index.js +34084 -33914
  2. package/esm/_rollupPluginBabelHelpers-DpC_oIQV.js +2566 -0
  3. package/esm/{check-94a5917a.js → check--YD4Ts6g.js} +4 -4
  4. package/esm/fw-accordion.js +27 -26
  5. package/esm/fw-animations.js +23 -26
  6. package/esm/fw-bar-chart.js +15289 -19
  7. package/esm/{fw-button-c8502414.js → fw-button-4QLZlu0U.js} +44 -44
  8. package/esm/fw-button.js +5 -10
  9. package/esm/{fw-card-1b6a67fe.js → fw-card-bsYbpPmW.js} +12 -12
  10. package/esm/fw-card.js +1 -1
  11. package/esm/fw-checkbox.js +23 -32
  12. package/esm/fw-date-picker.js +143 -80
  13. package/esm/fw-drawer.js +33 -36
  14. package/esm/fw-dropdown-nLtzu2fS.js +277 -0
  15. package/esm/fw-dropdown.js +7 -15
  16. package/esm/fw-form.js +1 -1
  17. package/esm/fw-image-DOgM8i8X.js +200 -0
  18. package/esm/fw-image.js +5 -21
  19. package/esm/{fw-input-8969b226.js → fw-input-Qiy53nRk.js} +61 -53
  20. package/esm/fw-input.js +6 -19
  21. package/esm/fw-loading-bar-DThRjdw1.js +22 -0
  22. package/esm/{fw-loading-spinner-72d70258.js → fw-loading-spinner-Dn52RI5h.js} +1 -1
  23. package/esm/fw-loading.js +3 -7
  24. package/esm/fw-modal.js +79 -53
  25. package/esm/fw-navigation-menu.js +15 -20
  26. package/esm/fw-popover.js +39 -375
  27. package/esm/fw-progress-bar.js +8 -11
  28. package/esm/fw-provider-list.js +41 -84
  29. package/esm/fw-sidebar-menu.js +33 -24
  30. package/esm/{fw-table-row-23f78218.js → fw-table-row-DkZaaMmE.js} +15 -301
  31. package/esm/fw-table.js +6 -16
  32. package/esm/fw-tabs.js +21 -103
  33. package/esm/{fw-tag-ac28200a.js → fw-tag-CPp1P480.js} +29 -20
  34. package/esm/fw-tag.js +7 -12
  35. package/esm/fw-toast.js +22 -37
  36. package/esm/fw-transactions-card.js +14 -30
  37. package/esm/index-CUPvK0Aa.js +586 -0
  38. package/esm/index.js +66 -228
  39. package/esm/vee-validate.esm-3ptvCDR1.js +4071 -0
  40. package/frollo-web-ui.esm.js +34091 -34339
  41. package/icons/chart-line-up.svg +3 -0
  42. package/icons/icons.stories.ts +24 -29
  43. package/icons/index.ts +5 -1
  44. package/icons/sack-dollar.svg +3 -0
  45. package/icons/xmark.svg +2 -2
  46. package/index.d.ts +2789 -2573
  47. package/package.json +75 -73
  48. package/styles/tailwind.scss +6 -0
  49. package/types/components/fw-accordion/fw-accordion.vue.d.ts +128 -128
  50. package/types/components/fw-accordion/index.d.ts +2 -2
  51. package/types/components/fw-accordion/index.types.d.ts +10 -10
  52. package/types/components/fw-animations/fw-email-pulse.vue.d.ts +24 -24
  53. package/types/components/fw-animations/fw-loading-spinner.vue.d.ts +2 -2
  54. package/types/components/fw-animations/fw-success-pulse.vue.d.ts +24 -24
  55. package/types/components/fw-animations/index.d.ts +4 -4
  56. package/types/components/fw-bar-chart/fw-bar-chart.vue.d.ts +83 -83
  57. package/types/components/fw-bar-chart/index.d.ts +2 -2
  58. package/types/components/fw-bar-chart/index.types.d.ts +11 -11
  59. package/types/components/fw-button/fw-button.vue.d.ts +190 -176
  60. package/types/components/fw-button/index.d.ts +2 -2
  61. package/types/components/fw-button/index.types.d.ts +27 -26
  62. package/types/components/fw-card/fw-card.vue.d.ts +82 -82
  63. package/types/components/fw-card/index.d.ts +2 -2
  64. package/types/components/fw-card/index.types.d.ts +8 -8
  65. package/types/components/fw-checkbox/fw-checkbox.vue.d.ts +108 -108
  66. package/types/components/fw-checkbox/index.d.ts +2 -2
  67. package/types/components/fw-checkbox/index.types.d.ts +9 -9
  68. package/types/components/fw-date-picker/fw-date-picker.vue.d.ts +249 -177
  69. package/types/components/fw-date-picker/index.d.ts +2 -2
  70. package/types/components/fw-date-picker/index.types.d.ts +21 -16
  71. package/types/components/fw-drawer/fw-drawer.vue.d.ts +165 -165
  72. package/types/components/fw-drawer/index.d.ts +2 -2
  73. package/types/components/fw-drawer/index.types.d.ts +13 -13
  74. package/types/components/fw-dropdown/fw-dropdown.vue.d.ts +154 -130
  75. package/types/components/fw-dropdown/index.d.ts +2 -2
  76. package/types/components/fw-dropdown/index.types.d.ts +16 -13
  77. package/types/components/fw-form/index.d.ts +2 -2
  78. package/types/components/fw-image/fw-image.vue.d.ts +103 -84
  79. package/types/components/fw-image/index.d.ts +2 -2
  80. package/types/components/fw-image/index.types.d.ts +9 -8
  81. package/types/components/fw-input/fw-input.vue.d.ts +214 -197
  82. package/types/components/fw-input/index.d.ts +2 -2
  83. package/types/components/fw-input/index.types.d.ts +18 -16
  84. package/types/components/fw-loading/fw-loading-bar.vue.d.ts +2 -2
  85. package/types/components/fw-loading/fw-loading-card.vue.d.ts +2 -2
  86. package/types/components/fw-loading/fw-loading-table.vue.d.ts +25 -25
  87. package/types/components/fw-loading/index.d.ts +4 -4
  88. package/types/components/fw-modal/fw-modal.vue.d.ts +205 -175
  89. package/types/components/fw-modal/index.d.ts +2 -2
  90. package/types/components/fw-modal/index.types.d.ts +16 -14
  91. package/types/components/fw-navigation-menu/fw-navigation-menu.vue.d.ts +57 -57
  92. package/types/components/fw-navigation-menu/index.d.ts +2 -2
  93. package/types/components/fw-navigation-menu/index.types.d.ts +7 -7
  94. package/types/components/fw-popover/fw-popover.vue.d.ts +157 -157
  95. package/types/components/fw-popover/index.d.ts +2 -2
  96. package/types/components/fw-popover/index.types.d.ts +11 -11
  97. package/types/components/fw-progress-bar/fw-progress-bar.vue.d.ts +52 -52
  98. package/types/components/fw-progress-bar/index.d.ts +2 -2
  99. package/types/components/fw-progress-bar/index.types.d.ts +5 -5
  100. package/types/components/fw-provider-list/fw-provider-list.vue.d.ts +100 -100
  101. package/types/components/fw-provider-list/index.d.ts +2 -2
  102. package/types/components/fw-provider-list/index.types.d.ts +11 -11
  103. package/types/components/fw-sidebar-menu/fw-sidebar-menu.vue.d.ts +88 -72
  104. package/types/components/fw-sidebar-menu/index.d.ts +2 -2
  105. package/types/components/fw-sidebar-menu/index.types.d.ts +9 -8
  106. package/types/components/fw-table/fw-table-head.vue.d.ts +2 -2
  107. package/types/components/fw-table/fw-table-row.vue.d.ts +2 -2
  108. package/types/components/fw-table/fw-table.vue.d.ts +71 -71
  109. package/types/components/fw-table/index.d.ts +4 -4
  110. package/types/components/fw-table/index.types.d.ts +16 -16
  111. package/types/components/fw-tabs/fw-tab.vue.d.ts +24 -32
  112. package/types/components/fw-tabs/fw-tabs.vue.d.ts +24 -24
  113. package/types/components/fw-tabs/index.d.ts +3 -3
  114. package/types/components/fw-tabs/index.types.d.ts +8 -0
  115. package/types/components/fw-tag/fw-tag.vue.d.ts +80 -70
  116. package/types/components/fw-tag/index.d.ts +2 -2
  117. package/types/components/fw-tag/index.types.d.ts +18 -18
  118. package/types/components/fw-toast/fw-toast.vue.d.ts +121 -121
  119. package/types/components/fw-toast/index.d.ts +2 -2
  120. package/types/components/fw-toast/index.types.d.ts +13 -13
  121. package/types/components/fw-transactions-card/fw-transactions-card.vue.d.ts +58 -58
  122. package/types/components/fw-transactions-card/index.d.ts +2 -2
  123. package/types/components/fw-transactions-card/index.types.d.ts +6 -6
  124. package/types/components/index.d.ts +24 -24
  125. package/types/components/index.types.d.ts +21 -20
  126. package/types/directives/index.d.ts +2 -2
  127. package/types/directives/lazy-loader.d.ts +3 -3
  128. package/types/helpers/get-root-colours.d.ts +17 -17
  129. package/types/icons/index.d.ts +43 -41
  130. package/types/index-types.esm.d.ts +6 -6
  131. package/types/index.browser-umd.d.ts +2 -1
  132. package/types/index.d.ts +3 -3
  133. package/types/index.esm.d.ts +5 -5
  134. package/types/services/index.d.ts +2 -2
  135. package/types/services/modal.d.ts +9 -9
  136. package/types/services/toast.d.ts +9 -9
  137. package/web-components/index.js +19670 -19722
  138. package/esm/add-to-unscopables-ee05b58f.js +0 -25
  139. package/esm/array-iteration-8267bf22.js +0 -92
  140. package/esm/array-method-has-species-support-6c675094.js +0 -23
  141. package/esm/array-method-is-strict-d313436f.js +0 -14
  142. package/esm/array-species-create-1c67e297.js +0 -97
  143. package/esm/classof-d44bf093.js +0 -42
  144. package/esm/create-property-eb329361.js +0 -14
  145. package/esm/defineProperty-b85f2e0f.js +0 -42
  146. package/esm/does-not-exceed-safe-integer-de37ce28.js +0 -11
  147. package/esm/es.array.concat-99b85557.js +0 -69
  148. package/esm/es.array.find-1ded15d5.js +0 -28
  149. package/esm/es.array.includes-08e25019.js +0 -27
  150. package/esm/es.array.map-c56ebffd.js +0 -22
  151. package/esm/es.date.to-string-15eb9936.js +0 -23
  152. package/esm/es.function.name-6cafd747.js +0 -29
  153. package/esm/es.number.constructor-fb16fe05.js +0 -204
  154. package/esm/es.object.to-string-4b07c4d1.js +0 -24
  155. package/esm/es.string.includes-061e8272.js +0 -66
  156. package/esm/es.string.iterator-25db8cd2.js +0 -469
  157. package/esm/export-10c4adbc.js +0 -95
  158. package/esm/function-apply-e17cf65b.js +0 -14
  159. package/esm/fw-dropdown-6856e66e.js +0 -224
  160. package/esm/fw-image-aca2c61d.js +0 -296
  161. package/esm/fw-loading-bar-f5ca605c.js +0 -22
  162. package/esm/index-6758f755.js +0 -15797
  163. package/esm/index-bced3b35.js +0 -560
  164. package/esm/is-forced-7cb3ee8f.js +0 -927
  165. package/esm/object-create-51bf02dc.js +0 -125
  166. package/esm/regexp-flags-c09864e5.js +0 -50
  167. package/esm/vee-validate.esm-a17a23c3.js +0 -3192
  168. package/esm/web.timers-e406c8e6.js +0 -72
  169. /package/esm/{get-root-colours-865a52ba.js → get-root-colours-DYEoJPEb.js} +0 -0
  170. /package/esm/{index-0c5cae4f.js → index-BVcOAKar.js} +0 -0
  171. /package/esm/{style-inject.es-1f59c1d0.js → style-inject.es-tgCJW-Cu.js} +0 -0
  172. /package/esm/{uniqueId-fe08534a.js → uniqueId-DK6xzFd8.js} +0 -0
@@ -1,16 +1,18 @@
1
- export declare type FwInputType = 'text' | 'password' | 'email' | 'tel' | 'time' | 'url' | 'week' | 'month';
2
- export declare interface FwInputProps {
3
- value: string;
4
- name: string;
5
- type?: FwInputType;
6
- label?: string;
7
- placeholder?: string;
8
- rules?: string | Record<string, unknown> | (() => boolean);
9
- readonly?: boolean;
10
- hint?: string;
11
- autocomplete?: string;
12
- tabindex?: string;
13
- rounded?: boolean;
14
- enableErrors?: boolean;
15
- maxLength?: number;
16
- }
1
+ import { RuleExpression } from 'vee-validate';
2
+ export type FwInputType = 'text' | 'password' | 'email' | 'tel' | 'time' | 'url' | 'week' | 'month';
3
+ export declare interface FwInputProps {
4
+ value: string;
5
+ name: string;
6
+ type?: FwInputType;
7
+ label?: string;
8
+ placeholder?: string;
9
+ rules?: RuleExpression<unknown>;
10
+ readonly?: boolean;
11
+ hint?: string;
12
+ autocomplete?: string;
13
+ tabindex?: string;
14
+ rounded?: boolean;
15
+ enableErrors?: boolean;
16
+ maxLength?: number;
17
+ required?: boolean;
18
+ }
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
2
- export default _default;
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
2
- export default _default;
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -1,25 +1,25 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- columns: {
3
- type: NumberConstructor;
4
- default: number;
5
- };
6
- rows: {
7
- type: NumberConstructor;
8
- default: number;
9
- };
10
- }, {
11
- tableClass: string;
12
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
13
- columns: {
14
- type: NumberConstructor;
15
- default: number;
16
- };
17
- rows: {
18
- type: NumberConstructor;
19
- default: number;
20
- };
21
- }>>, {
22
- columns: number;
23
- rows: number;
24
- }>;
25
- export default _default;
1
+ declare const _default: import("vue").DefineComponent<{
2
+ columns: {
3
+ type: NumberConstructor;
4
+ default: number;
5
+ };
6
+ rows: {
7
+ type: NumberConstructor;
8
+ default: number;
9
+ };
10
+ }, {
11
+ tableClass: string;
12
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
13
+ columns: {
14
+ type: NumberConstructor;
15
+ default: number;
16
+ };
17
+ rows: {
18
+ type: NumberConstructor;
19
+ default: number;
20
+ };
21
+ }>>, {
22
+ columns: number;
23
+ rows: number;
24
+ }, {}>;
25
+ export default _default;
@@ -1,4 +1,4 @@
1
- import FwLoadingBar from './fw-loading-bar.vue';
2
- import FwLoadingCard from './fw-loading-card.vue';
3
- import FwLoadingTable from './fw-loading-table.vue';
4
- export { FwLoadingBar, FwLoadingCard, FwLoadingTable };
1
+ import FwLoadingBar from './fw-loading-bar.vue';
2
+ import FwLoadingCard from './fw-loading-card.vue';
3
+ import FwLoadingTable from './fw-loading-table.vue';
4
+ export { FwLoadingBar, FwLoadingCard, FwLoadingTable };
@@ -1,175 +1,205 @@
1
- import { PropType } from 'vue';
2
- import { ButtonVariantName } from '../fw-button/index.types';
3
- declare const _default: import("vue").DefineComponent<{
4
- /**
5
- * The modal's v-model. Controls the visibility of the modal.
6
- */
7
- modelValue: {
8
- type: BooleanConstructor;
9
- };
10
- /**
11
- * The header title of the modal
12
- */
13
- header: {
14
- type: StringConstructor;
15
- };
16
- /**
17
- * The element to attach the modal too. Defaults to `#app` element.
18
- */
19
- element: {
20
- type: StringConstructor;
21
- default: string;
22
- };
23
- /**
24
- * The body description of the modal
25
- */
26
- body: {
27
- type: StringConstructor;
28
- };
29
- /**
30
- * The aria role of the modal container. Defaults to `dialog`
31
- */
32
- role: {
33
- type: StringConstructor;
34
- default: string;
35
- };
36
- /**
37
- * Whether to show the cancel button
38
- */
39
- showCancel: {
40
- type: BooleanConstructor;
41
- default: boolean;
42
- };
43
- /**
44
- * Whether to show the confirm button
45
- */
46
- showConfirm: {
47
- type: BooleanConstructor;
48
- default: boolean;
49
- };
50
- /**
51
- * Custom text for the cancel button
52
- */
53
- cancelButtonText: {
54
- type: StringConstructor;
55
- default: string;
56
- };
57
- /**
58
- * Button variant for the cancel button
59
- */
60
- cancelButtonType: {
61
- type: PropType<ButtonVariantName>;
62
- default: string;
63
- validator: (value: string) => boolean;
64
- };
65
- /**
66
- * Custom text for the confirm button
67
- */
68
- confirmButtonText: {
69
- type: StringConstructor;
70
- default: string;
71
- };
72
- /**
73
- * Button variant for the confirm button
74
- */
75
- confirmButtonType: {
76
- type: PropType<ButtonVariantName>;
77
- default: string;
78
- validator: (value: string) => boolean;
79
- };
80
- }, {
81
- isOpen: import("vue").ComputedRef<boolean>;
82
- uuid: string;
83
- isMounted: import("vue").Ref<boolean>;
84
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "confirm")[], "cancel" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
85
- /**
86
- * The modal's v-model. Controls the visibility of the modal.
87
- */
88
- modelValue: {
89
- type: BooleanConstructor;
90
- };
91
- /**
92
- * The header title of the modal
93
- */
94
- header: {
95
- type: StringConstructor;
96
- };
97
- /**
98
- * The element to attach the modal too. Defaults to `#app` element.
99
- */
100
- element: {
101
- type: StringConstructor;
102
- default: string;
103
- };
104
- /**
105
- * The body description of the modal
106
- */
107
- body: {
108
- type: StringConstructor;
109
- };
110
- /**
111
- * The aria role of the modal container. Defaults to `dialog`
112
- */
113
- role: {
114
- type: StringConstructor;
115
- default: string;
116
- };
117
- /**
118
- * Whether to show the cancel button
119
- */
120
- showCancel: {
121
- type: BooleanConstructor;
122
- default: boolean;
123
- };
124
- /**
125
- * Whether to show the confirm button
126
- */
127
- showConfirm: {
128
- type: BooleanConstructor;
129
- default: boolean;
130
- };
131
- /**
132
- * Custom text for the cancel button
133
- */
134
- cancelButtonText: {
135
- type: StringConstructor;
136
- default: string;
137
- };
138
- /**
139
- * Button variant for the cancel button
140
- */
141
- cancelButtonType: {
142
- type: PropType<ButtonVariantName>;
143
- default: string;
144
- validator: (value: string) => boolean;
145
- };
146
- /**
147
- * Custom text for the confirm button
148
- */
149
- confirmButtonText: {
150
- type: StringConstructor;
151
- default: string;
152
- };
153
- /**
154
- * Button variant for the confirm button
155
- */
156
- confirmButtonType: {
157
- type: PropType<ButtonVariantName>;
158
- default: string;
159
- validator: (value: string) => boolean;
160
- };
161
- }>> & {
162
- onCancel?: ((...args: any[]) => any) | undefined;
163
- onConfirm?: ((...args: any[]) => any) | undefined;
164
- }, {
165
- modelValue: boolean;
166
- element: string;
167
- role: string;
168
- showCancel: boolean;
169
- showConfirm: boolean;
170
- cancelButtonText: string;
171
- cancelButtonType: ButtonVariantName;
172
- confirmButtonText: string;
173
- confirmButtonType: ButtonVariantName;
174
- }>;
175
- export default _default;
1
+ import { PropType } from 'vue';
2
+ import { ButtonVariantName } from '../fw-button/index.types';
3
+ declare const _default: import("vue").DefineComponent<{
4
+ /**
5
+ * The modal's v-model. Controls the visibility of the modal.
6
+ */
7
+ modelValue: {
8
+ type: BooleanConstructor;
9
+ };
10
+ /**
11
+ * The header title of the modal
12
+ */
13
+ header: {
14
+ type: StringConstructor;
15
+ };
16
+ /**
17
+ * The element to attach the modal too. Defaults to `#app` element.
18
+ */
19
+ element: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ };
23
+ /**
24
+ * The body description of the modal
25
+ */
26
+ body: {
27
+ type: StringConstructor;
28
+ };
29
+ /**
30
+ * The aria role of the modal container. Defaults to `dialog`
31
+ */
32
+ role: {
33
+ type: StringConstructor;
34
+ default: string;
35
+ };
36
+ /**
37
+ * Whether to show the cancel button
38
+ */
39
+ showCancel: {
40
+ type: BooleanConstructor;
41
+ default: boolean;
42
+ };
43
+ /**
44
+ * Whether to show the confirm button
45
+ */
46
+ showConfirm: {
47
+ type: BooleanConstructor;
48
+ default: boolean;
49
+ };
50
+ /**
51
+ * Custom text for the cancel button
52
+ */
53
+ cancelButtonText: {
54
+ type: StringConstructor;
55
+ default: string;
56
+ };
57
+ /**
58
+ * Button variant for the cancel button
59
+ */
60
+ cancelButtonType: {
61
+ type: PropType<ButtonVariantName>;
62
+ default: string;
63
+ validator: (value: string) => boolean;
64
+ };
65
+ /**
66
+ * Custom text for the confirm button
67
+ */
68
+ confirmButtonText: {
69
+ type: StringConstructor;
70
+ default: string;
71
+ };
72
+ /**
73
+ * Button variant for the confirm button
74
+ */
75
+ confirmButtonType: {
76
+ type: PropType<ButtonVariantName>;
77
+ default: string;
78
+ validator: (value: string) => boolean;
79
+ };
80
+ /**
81
+ * Controls the outer padding of the modal
82
+ */
83
+ padding: {
84
+ type: BooleanConstructor;
85
+ default: boolean;
86
+ };
87
+ /**
88
+ * Controls the visibility of the 'X' close button.
89
+ */
90
+ showCloseButton: {
91
+ type: BooleanConstructor;
92
+ default: boolean;
93
+ };
94
+ }, {
95
+ isOpen: import("vue").ComputedRef<boolean>;
96
+ uuid: string;
97
+ isMounted: import("vue").Ref<boolean>;
98
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "confirm")[], "cancel" | "confirm", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
99
+ /**
100
+ * The modal's v-model. Controls the visibility of the modal.
101
+ */
102
+ modelValue: {
103
+ type: BooleanConstructor;
104
+ };
105
+ /**
106
+ * The header title of the modal
107
+ */
108
+ header: {
109
+ type: StringConstructor;
110
+ };
111
+ /**
112
+ * The element to attach the modal too. Defaults to `#app` element.
113
+ */
114
+ element: {
115
+ type: StringConstructor;
116
+ default: string;
117
+ };
118
+ /**
119
+ * The body description of the modal
120
+ */
121
+ body: {
122
+ type: StringConstructor;
123
+ };
124
+ /**
125
+ * The aria role of the modal container. Defaults to `dialog`
126
+ */
127
+ role: {
128
+ type: StringConstructor;
129
+ default: string;
130
+ };
131
+ /**
132
+ * Whether to show the cancel button
133
+ */
134
+ showCancel: {
135
+ type: BooleanConstructor;
136
+ default: boolean;
137
+ };
138
+ /**
139
+ * Whether to show the confirm button
140
+ */
141
+ showConfirm: {
142
+ type: BooleanConstructor;
143
+ default: boolean;
144
+ };
145
+ /**
146
+ * Custom text for the cancel button
147
+ */
148
+ cancelButtonText: {
149
+ type: StringConstructor;
150
+ default: string;
151
+ };
152
+ /**
153
+ * Button variant for the cancel button
154
+ */
155
+ cancelButtonType: {
156
+ type: PropType<ButtonVariantName>;
157
+ default: string;
158
+ validator: (value: string) => boolean;
159
+ };
160
+ /**
161
+ * Custom text for the confirm button
162
+ */
163
+ confirmButtonText: {
164
+ type: StringConstructor;
165
+ default: string;
166
+ };
167
+ /**
168
+ * Button variant for the confirm button
169
+ */
170
+ confirmButtonType: {
171
+ type: PropType<ButtonVariantName>;
172
+ default: string;
173
+ validator: (value: string) => boolean;
174
+ };
175
+ /**
176
+ * Controls the outer padding of the modal
177
+ */
178
+ padding: {
179
+ type: BooleanConstructor;
180
+ default: boolean;
181
+ };
182
+ /**
183
+ * Controls the visibility of the 'X' close button.
184
+ */
185
+ showCloseButton: {
186
+ type: BooleanConstructor;
187
+ default: boolean;
188
+ };
189
+ }>> & {
190
+ onCancel?: ((...args: any[]) => any) | undefined;
191
+ onConfirm?: ((...args: any[]) => any) | undefined;
192
+ }, {
193
+ modelValue: boolean;
194
+ element: string;
195
+ role: string;
196
+ showCancel: boolean;
197
+ showConfirm: boolean;
198
+ cancelButtonText: string;
199
+ cancelButtonType: ButtonVariantName;
200
+ confirmButtonText: string;
201
+ confirmButtonType: ButtonVariantName;
202
+ padding: boolean;
203
+ showCloseButton: boolean;
204
+ }, {}>;
205
+ export default _default;
@@ -1,2 +1,2 @@
1
- import FwModal from './fw-modal.vue';
2
- export { FwModal };
1
+ import FwModal from './fw-modal.vue';
2
+ export { FwModal };
@@ -1,14 +1,16 @@
1
- import { ButtonVariantName } from '../fw-button/index.types';
2
- export declare interface FwModalProps {
3
- modelValue: boolean;
4
- header?: string;
5
- element?: string;
6
- body?: string;
7
- role?: string;
8
- showCancel?: boolean;
9
- showConfirm?: boolean;
10
- cancelButtonText?: string;
11
- cancelButtonType?: ButtonVariantName;
12
- confirmButtonText?: string;
13
- confirmButtonType?: ButtonVariantName;
14
- }
1
+ import { ButtonVariantName } from '../fw-button/index.types';
2
+ export declare interface FwModalProps {
3
+ modelValue: boolean;
4
+ header?: string;
5
+ element?: string;
6
+ body?: string;
7
+ role?: string;
8
+ showCancel?: boolean;
9
+ showConfirm?: boolean;
10
+ cancelButtonText?: string;
11
+ cancelButtonType?: ButtonVariantName;
12
+ confirmButtonText?: string;
13
+ confirmButtonType?: ButtonVariantName;
14
+ padding?: boolean;
15
+ showCloseButton?: boolean;
16
+ }
@@ -1,57 +1,57 @@
1
- import { PropType } from 'vue';
2
- import { NavMenuItem } from './index.types';
3
- declare const _default: import("vue").DefineComponent<{
4
- /**
5
- * An array of menu items
6
- * `{ to?: string | object; href?: string; label: string; }`
7
- */
8
- menuItems: {
9
- type: PropType<NavMenuItem[]>;
10
- };
11
- /**
12
- * The label for the action button.
13
- * Also emits the `action` event.
14
- */
15
- actionLabel: {
16
- type: StringConstructor;
17
- };
18
- /**
19
- * The class for the container wrapper.
20
- */
21
- containerClass: {
22
- type: StringConstructor;
23
- default: string;
24
- };
25
- }, {
26
- mobileMenuClass: import("vue").Ref<string>;
27
- isMobileMenuOpen: import("vue").Ref<boolean>;
28
- toggleMobileMenu: () => boolean;
29
- actionClicked: () => void;
30
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "action"[], "action", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
31
- /**
32
- * An array of menu items
33
- * `{ to?: string | object; href?: string; label: string; }`
34
- */
35
- menuItems: {
36
- type: PropType<NavMenuItem[]>;
37
- };
38
- /**
39
- * The label for the action button.
40
- * Also emits the `action` event.
41
- */
42
- actionLabel: {
43
- type: StringConstructor;
44
- };
45
- /**
46
- * The class for the container wrapper.
47
- */
48
- containerClass: {
49
- type: StringConstructor;
50
- default: string;
51
- };
52
- }>> & {
53
- onAction?: ((...args: any[]) => any) | undefined;
54
- }, {
55
- containerClass: string;
56
- }>;
57
- export default _default;
1
+ import { PropType } from 'vue';
2
+ import { NavMenuItem } from './index.types';
3
+ declare const _default: import("vue").DefineComponent<{
4
+ /**
5
+ * An array of menu items
6
+ * `{ to?: string | object; href?: string; label: string; }`
7
+ */
8
+ menuItems: {
9
+ type: PropType<NavMenuItem[]>;
10
+ };
11
+ /**
12
+ * The label for the action button.
13
+ * Also emits the `action` event.
14
+ */
15
+ actionLabel: {
16
+ type: StringConstructor;
17
+ };
18
+ /**
19
+ * The class for the container wrapper.
20
+ */
21
+ containerClass: {
22
+ type: StringConstructor;
23
+ default: string;
24
+ };
25
+ }, {
26
+ mobileMenuClass: import("vue").Ref<string>;
27
+ isMobileMenuOpen: import("vue").Ref<boolean>;
28
+ toggleMobileMenu: () => boolean;
29
+ actionClicked: () => void;
30
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "action"[], "action", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
31
+ /**
32
+ * An array of menu items
33
+ * `{ to?: string | object; href?: string; label: string; }`
34
+ */
35
+ menuItems: {
36
+ type: PropType<NavMenuItem[]>;
37
+ };
38
+ /**
39
+ * The label for the action button.
40
+ * Also emits the `action` event.
41
+ */
42
+ actionLabel: {
43
+ type: StringConstructor;
44
+ };
45
+ /**
46
+ * The class for the container wrapper.
47
+ */
48
+ containerClass: {
49
+ type: StringConstructor;
50
+ default: string;
51
+ };
52
+ }>> & {
53
+ onAction?: ((...args: any[]) => any) | undefined;
54
+ }, {
55
+ containerClass: string;
56
+ }, {}>;
57
+ export default _default;
@@ -1,2 +1,2 @@
1
- import FwNavigationMenu from './fw-navigation-menu.vue';
2
- export { FwNavigationMenu };
1
+ import FwNavigationMenu from './fw-navigation-menu.vue';
2
+ export { FwNavigationMenu };
@@ -1,7 +1,7 @@
1
- export declare interface NavMenuItem {
2
- to?: string | object;
3
- href?: string;
4
- label: string;
5
- external?: boolean;
6
- onClick?: () => void;
7
- }
1
+ export declare interface NavMenuItem {
2
+ to?: string | object;
3
+ href?: string;
4
+ label: string;
5
+ external?: boolean;
6
+ onClick?: () => void;
7
+ }