@frollo/frollo-web-ui 9.0.1 → 9.0.2

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 (96) hide show
  1. package/cjs/index.js +10733 -3060
  2. package/esm/{_rollupPluginBabelHelpers-DODWUb5N.js → _rollupPluginBabelHelpers-BKlDnZ7n.js} +1 -1
  3. package/esm/fw-accordion.js +15 -18
  4. package/esm/fw-alert.js +32 -25
  5. package/esm/fw-bar-chart.js +265 -93
  6. package/esm/fw-button-DZTHZLjk.js +318 -0
  7. package/esm/fw-button.js +2 -2
  8. package/esm/{fw-card-D45R4kN-.js → fw-card-XGtsK2bM.js} +7 -10
  9. package/esm/fw-card.js +2 -2
  10. package/esm/fw-checkbox.js +8 -11
  11. package/esm/fw-date-picker.js +85 -49
  12. package/esm/fw-drawer.js +8 -8
  13. package/esm/{fw-dropdown-58wyuzsW.js → fw-dropdown-CSmYTm5O.js} +11 -14
  14. package/esm/fw-dropdown.js +7 -6
  15. package/esm/fw-form.js +1 -1
  16. package/esm/fw-icons.js +11 -12
  17. package/esm/fw-image-A2lXYs0u.js +325 -0
  18. package/esm/fw-image.js +5 -4
  19. package/esm/{fw-input-C2-cZ-BY.js → fw-input-BiPWWfK3.js} +12 -19
  20. package/esm/fw-input.js +3 -3
  21. package/esm/fw-loading-bar-3x4tkF1B.js +37 -0
  22. package/esm/fw-loading.js +89 -40
  23. package/esm/fw-media-picker.js +10 -653
  24. package/esm/fw-modal.js +11 -10
  25. package/esm/fw-navigation-menu.js +36 -41
  26. package/esm/fw-popover-BZ-zqUme.js +330 -0
  27. package/esm/fw-popover.js +2 -3
  28. package/esm/fw-progress-bar.js +1 -1
  29. package/esm/fw-provider-list.js +109 -87
  30. package/esm/fw-sidebar-menu.js +58 -51
  31. package/esm/fw-slider.js +64 -61
  32. package/esm/fw-switch.js +76 -49
  33. package/esm/fw-table-row-D6FdCJMs.js +447 -0
  34. package/esm/fw-table.js +5 -6
  35. package/esm/fw-tabs.js +87 -35
  36. package/esm/fw-tag-BRxPc4zc.js +199 -0
  37. package/esm/fw-tag.js +4 -4
  38. package/esm/fw-toast.js +58 -76
  39. package/esm/fw-transactions-card.js +20 -20
  40. package/esm/{get-root-colours-DCjlYelc.js → get-root-colours-DCCAnRF4.js} +3 -1
  41. package/esm/index-C8z11jcJ.js +7583 -0
  42. package/esm/index-DHyRsKsZ.js +843 -0
  43. package/esm/index-eP2GMSdQ.js +755 -0
  44. package/esm/index.js +54 -61
  45. package/esm/{uniqueId-DZdGzBh8.js → uniqueId-DK6xzFd8.js} +1 -1
  46. package/esm/{vee-validate.esm-3ptvCDR1.js → vee-validate-0dtT5GSQ.js} +182 -305
  47. package/frollo-web-ui.esm.js +10790 -3115
  48. package/icons/circle-check.svg +4 -0
  49. package/index.d.ts +1522 -586
  50. package/package.json +11 -11
  51. package/types/components/fw-accordion/fw-accordion.vue.d.ts +9 -7
  52. package/types/components/fw-alert/fw-alert.vue.d.ts +11 -6
  53. package/types/components/fw-bar-chart/fw-bar-chart.vue.d.ts +15 -64
  54. package/types/components/fw-button/fw-button.vue.d.ts +11 -7
  55. package/types/components/fw-card/fw-card.vue.d.ts +6 -6
  56. package/types/components/fw-checkbox/fw-checkbox.vue.d.ts +365 -5
  57. package/types/components/fw-date-picker/fw-date-picker.vue.d.ts +3 -242
  58. package/types/components/fw-drawer/fw-drawer.vue.d.ts +11 -8
  59. package/types/components/fw-dropdown/fw-dropdown.vue.d.ts +20 -12
  60. package/types/components/fw-icons/fw-success-animation.vue.d.ts +1 -1
  61. package/types/components/fw-image/fw-image.vue.d.ts +33 -7
  62. package/types/components/fw-input/fw-input.vue.d.ts +368 -10
  63. package/types/components/fw-loading/fw-loading-bar.vue.d.ts +7 -5
  64. package/types/components/fw-loading/fw-loading-card.vue.d.ts +3 -1
  65. package/types/components/fw-loading/fw-loading-dots.vue.d.ts +8 -1
  66. package/types/components/fw-loading/fw-loading-table.vue.d.ts +11 -6
  67. package/types/components/fw-media-picker/fw-media-picker.vue.d.ts +27 -18
  68. package/types/components/fw-modal/fw-modal.vue.d.ts +11 -7
  69. package/types/components/fw-navigation-menu/fw-navigation-menu.vue.d.ts +12 -8
  70. package/types/components/fw-popover/fw-popover.vue.d.ts +16 -21
  71. package/types/components/fw-progress-bar/fw-progress-bar.vue.d.ts +6 -4
  72. package/types/components/fw-provider-list/fw-provider-list.vue.d.ts +20 -45
  73. package/types/components/fw-sidebar-menu/fw-sidebar-menu.vue.d.ts +13 -7
  74. package/types/components/fw-slider/fw-slider.vue.d.ts +11 -8
  75. package/types/components/fw-switch/fw-switch.vue.d.ts +383 -9
  76. package/types/components/fw-switch/index.types.d.ts +1 -0
  77. package/types/components/fw-table/fw-table-head.vue.d.ts +1 -1
  78. package/types/components/fw-table/fw-table-row.vue.d.ts +1 -1
  79. package/types/components/fw-table/fw-table.vue.d.ts +40 -19
  80. package/types/components/fw-table/index.types.d.ts +36 -2
  81. package/types/components/fw-tabs/fw-tab.vue.d.ts +4 -8
  82. package/types/components/fw-tabs/fw-tabs.vue.d.ts +11 -8
  83. package/types/components/fw-tabs/index.types.d.ts +14 -4
  84. package/types/components/fw-tag/fw-tag.vue.d.ts +14 -8
  85. package/types/components/fw-toast/fw-toast.vue.d.ts +17 -22
  86. package/types/components/fw-transactions-card/fw-transactions-card.vue.d.ts +6 -3
  87. package/types/directives/lazy-loader.d.ts +11 -2
  88. package/types/helpers/get-root-colours.d.ts +1 -0
  89. package/web-components/index.js +16793 -7700
  90. package/esm/fw-button-YMoW4x4c.js +0 -296
  91. package/esm/fw-image-D-OHafdw.js +0 -217
  92. package/esm/fw-loading-bar-DecYSBC_.js +0 -45
  93. package/esm/fw-popover-B4bsfuxm.js +0 -620
  94. package/esm/fw-table-row-Cgi8871h.js +0 -389
  95. package/esm/fw-tag-fDo50Nw7.js +0 -177
  96. package/esm/index-BsEH8YYr.js +0 -979
@@ -1,6 +1,6 @@
1
1
  import { type PropType } from 'vue';
2
2
  import type { FwCheckboxProps } from './index.types';
3
- declare const __default__: import("vue").DefineComponent<{
3
+ declare const __default__: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
4
  /**
5
5
  * The name of the checkbox input field.
6
6
  * Multiple checkboxes can use the same name with a unique value.
@@ -50,11 +50,11 @@ declare const __default__: import("vue").DefineComponent<{
50
50
  required: false;
51
51
  default: undefined;
52
52
  };
53
- }, {
53
+ }>, {
54
54
  uuid: string;
55
55
  primaryFade5: string;
56
56
  colorErrorTextFade5: string;
57
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
57
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
58
58
  /**
59
59
  * The name of the checkbox input field.
60
60
  * Multiple checkboxes can use the same name with a unique value.
@@ -104,8 +104,368 @@ declare const __default__: import("vue").DefineComponent<{
104
104
  required: false;
105
105
  default: undefined;
106
106
  };
107
- }>>, {
107
+ }>> & Readonly<{}>, {
108
108
  enableErrors: boolean;
109
109
  isChecked: boolean;
110
- }, {}>;
110
+ }, {}, {
111
+ InputField: {
112
+ new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
113
+ as: {
114
+ type: (ObjectConstructor | StringConstructor)[];
115
+ default: any;
116
+ };
117
+ name: {
118
+ type: StringConstructor;
119
+ required: true;
120
+ };
121
+ rules: {
122
+ type: PropType<import("vee-validate").RuleExpression<unknown>>;
123
+ default: any;
124
+ };
125
+ validateOnMount: {
126
+ type: BooleanConstructor;
127
+ default: boolean;
128
+ };
129
+ validateOnBlur: {
130
+ type: BooleanConstructor;
131
+ default: any;
132
+ };
133
+ validateOnChange: {
134
+ type: BooleanConstructor;
135
+ default: any;
136
+ };
137
+ validateOnInput: {
138
+ type: BooleanConstructor;
139
+ default: any;
140
+ };
141
+ validateOnModelUpdate: {
142
+ type: BooleanConstructor;
143
+ default: any;
144
+ };
145
+ bails: {
146
+ type: BooleanConstructor;
147
+ default: () => boolean;
148
+ };
149
+ label: {
150
+ type: StringConstructor;
151
+ default: any;
152
+ };
153
+ uncheckedValue: {
154
+ type: any;
155
+ default: any;
156
+ };
157
+ modelValue: {
158
+ type: any;
159
+ default: symbol;
160
+ };
161
+ modelModifiers: {
162
+ type: any;
163
+ default: () => {};
164
+ };
165
+ "onUpdate:modelValue": {
166
+ type: PropType<(e: any) => unknown>;
167
+ default: any;
168
+ };
169
+ standalone: {
170
+ type: BooleanConstructor;
171
+ default: boolean;
172
+ };
173
+ keepValue: {
174
+ type: BooleanConstructor;
175
+ default: any;
176
+ };
177
+ }>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
178
+ [key: string]: any;
179
+ }> | import("vue").Slot<any> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
180
+ [key: string]: any;
181
+ }>[] | {
182
+ default: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
183
+ [key: string]: any;
184
+ }>[];
185
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
186
+ as: {
187
+ type: (ObjectConstructor | StringConstructor)[];
188
+ default: any;
189
+ };
190
+ name: {
191
+ type: StringConstructor;
192
+ required: true;
193
+ };
194
+ rules: {
195
+ type: PropType<import("vee-validate").RuleExpression<unknown>>;
196
+ default: any;
197
+ };
198
+ validateOnMount: {
199
+ type: BooleanConstructor;
200
+ default: boolean;
201
+ };
202
+ validateOnBlur: {
203
+ type: BooleanConstructor;
204
+ default: any;
205
+ };
206
+ validateOnChange: {
207
+ type: BooleanConstructor;
208
+ default: any;
209
+ };
210
+ validateOnInput: {
211
+ type: BooleanConstructor;
212
+ default: any;
213
+ };
214
+ validateOnModelUpdate: {
215
+ type: BooleanConstructor;
216
+ default: any;
217
+ };
218
+ bails: {
219
+ type: BooleanConstructor;
220
+ default: () => boolean;
221
+ };
222
+ label: {
223
+ type: StringConstructor;
224
+ default: any;
225
+ };
226
+ uncheckedValue: {
227
+ type: any;
228
+ default: any;
229
+ };
230
+ modelValue: {
231
+ type: any;
232
+ default: symbol;
233
+ };
234
+ modelModifiers: {
235
+ type: any;
236
+ default: () => {};
237
+ };
238
+ "onUpdate:modelValue": {
239
+ type: PropType<(e: any) => unknown>;
240
+ default: any;
241
+ };
242
+ standalone: {
243
+ type: BooleanConstructor;
244
+ default: boolean;
245
+ };
246
+ keepValue: {
247
+ type: BooleanConstructor;
248
+ default: any;
249
+ };
250
+ }>>, {
251
+ label: string;
252
+ as: string | Record<string, any>;
253
+ bails: boolean;
254
+ uncheckedValue: any;
255
+ modelValue: any;
256
+ validateOnInput: boolean;
257
+ validateOnChange: boolean;
258
+ validateOnBlur: boolean;
259
+ validateOnModelUpdate: boolean;
260
+ validateOnMount: boolean;
261
+ standalone: boolean;
262
+ modelModifiers: any;
263
+ rules: import("vee-validate").RuleExpression<unknown>;
264
+ "onUpdate:modelValue": (e: any) => unknown;
265
+ keepValue: boolean;
266
+ }, true, {}, {}, {
267
+ P: {};
268
+ B: {};
269
+ D: {};
270
+ C: {};
271
+ M: {};
272
+ Defaults: {};
273
+ }, Readonly<import("vue").ExtractPropTypes<{
274
+ as: {
275
+ type: (ObjectConstructor | StringConstructor)[];
276
+ default: any;
277
+ };
278
+ name: {
279
+ type: StringConstructor;
280
+ required: true;
281
+ };
282
+ rules: {
283
+ type: PropType<import("vee-validate").RuleExpression<unknown>>;
284
+ default: any;
285
+ };
286
+ validateOnMount: {
287
+ type: BooleanConstructor;
288
+ default: boolean;
289
+ };
290
+ validateOnBlur: {
291
+ type: BooleanConstructor;
292
+ default: any;
293
+ };
294
+ validateOnChange: {
295
+ type: BooleanConstructor;
296
+ default: any;
297
+ };
298
+ validateOnInput: {
299
+ type: BooleanConstructor;
300
+ default: any;
301
+ };
302
+ validateOnModelUpdate: {
303
+ type: BooleanConstructor;
304
+ default: any;
305
+ };
306
+ bails: {
307
+ type: BooleanConstructor;
308
+ default: () => boolean;
309
+ };
310
+ label: {
311
+ type: StringConstructor;
312
+ default: any;
313
+ };
314
+ uncheckedValue: {
315
+ type: any;
316
+ default: any;
317
+ };
318
+ modelValue: {
319
+ type: any;
320
+ default: symbol;
321
+ };
322
+ modelModifiers: {
323
+ type: any;
324
+ default: () => {};
325
+ };
326
+ "onUpdate:modelValue": {
327
+ type: PropType<(e: any) => unknown>;
328
+ default: any;
329
+ };
330
+ standalone: {
331
+ type: BooleanConstructor;
332
+ default: boolean;
333
+ };
334
+ keepValue: {
335
+ type: BooleanConstructor;
336
+ default: any;
337
+ };
338
+ }>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
339
+ [key: string]: any;
340
+ }> | import("vue").Slot<any> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
341
+ [key: string]: any;
342
+ }>[] | {
343
+ default: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
344
+ [key: string]: any;
345
+ }>[];
346
+ }, {}, {}, {}, {
347
+ label: string;
348
+ as: string | Record<string, any>;
349
+ bails: boolean;
350
+ uncheckedValue: any;
351
+ modelValue: any;
352
+ validateOnInput: boolean;
353
+ validateOnChange: boolean;
354
+ validateOnBlur: boolean;
355
+ validateOnModelUpdate: boolean;
356
+ validateOnMount: boolean;
357
+ standalone: boolean;
358
+ modelModifiers: any;
359
+ rules: import("vee-validate").RuleExpression<unknown>;
360
+ "onUpdate:modelValue": (e: any) => unknown;
361
+ keepValue: boolean;
362
+ }>;
363
+ __isFragment?: never;
364
+ __isTeleport?: never;
365
+ __isSuspense?: never;
366
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
367
+ as: {
368
+ type: (ObjectConstructor | StringConstructor)[];
369
+ default: any;
370
+ };
371
+ name: {
372
+ type: StringConstructor;
373
+ required: true;
374
+ };
375
+ rules: {
376
+ type: PropType<import("vee-validate").RuleExpression<unknown>>;
377
+ default: any;
378
+ };
379
+ validateOnMount: {
380
+ type: BooleanConstructor;
381
+ default: boolean;
382
+ };
383
+ validateOnBlur: {
384
+ type: BooleanConstructor;
385
+ default: any;
386
+ };
387
+ validateOnChange: {
388
+ type: BooleanConstructor;
389
+ default: any;
390
+ };
391
+ validateOnInput: {
392
+ type: BooleanConstructor;
393
+ default: any;
394
+ };
395
+ validateOnModelUpdate: {
396
+ type: BooleanConstructor;
397
+ default: any;
398
+ };
399
+ bails: {
400
+ type: BooleanConstructor;
401
+ default: () => boolean;
402
+ };
403
+ label: {
404
+ type: StringConstructor;
405
+ default: any;
406
+ };
407
+ uncheckedValue: {
408
+ type: any;
409
+ default: any;
410
+ };
411
+ modelValue: {
412
+ type: any;
413
+ default: symbol;
414
+ };
415
+ modelModifiers: {
416
+ type: any;
417
+ default: () => {};
418
+ };
419
+ 'onUpdate:modelValue': {
420
+ type: PropType<(e: any) => unknown>;
421
+ default: any;
422
+ };
423
+ standalone: {
424
+ type: BooleanConstructor;
425
+ default: boolean;
426
+ };
427
+ keepValue: {
428
+ type: BooleanConstructor;
429
+ default: any;
430
+ };
431
+ }>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
432
+ [key: string]: any;
433
+ }> | import("vue").Slot<any> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
434
+ [key: string]: any;
435
+ }>[] | {
436
+ default: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
437
+ [key: string]: any;
438
+ }>[];
439
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
440
+ label: string;
441
+ as: string | Record<string, any>;
442
+ bails: boolean;
443
+ uncheckedValue: any;
444
+ modelValue: any;
445
+ validateOnInput: boolean;
446
+ validateOnChange: boolean;
447
+ validateOnBlur: boolean;
448
+ validateOnModelUpdate: boolean;
449
+ validateOnMount: boolean;
450
+ standalone: boolean;
451
+ modelModifiers: any;
452
+ rules: import("vee-validate").RuleExpression<unknown>;
453
+ 'onUpdate:modelValue': (e: any) => unknown;
454
+ keepValue: boolean;
455
+ }, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
456
+ value: import("vue").UnwrapRef<import("vee-validate").FieldContext["value"]>;
457
+ meta: import("vue").UnwrapRef<import("vee-validate").FieldContext["meta"]>;
458
+ errors: import("vue").UnwrapRef<import("vee-validate").FieldContext["errors"]>;
459
+ errorMessage: import("vue").UnwrapRef<import("vee-validate").FieldContext["errorMessage"]>;
460
+ setErrors: import("vee-validate").FieldContext["setErrors"];
461
+ setTouched: import("vee-validate").FieldContext["setTouched"];
462
+ reset: import("vee-validate").FieldContext["resetField"];
463
+ validate: import("vee-validate").FieldContext["validate"];
464
+ setValue: import("vee-validate").FieldContext["setValue"];
465
+ handleChange: import("vee-validate").FieldContext["handleChange"];
466
+ $slots: {
467
+ default: (arg: import("vee-validate").FieldSlotProps<any>) => import("vue").VNode[];
468
+ };
469
+ });
470
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
111
471
  export default __default__;
@@ -1,244 +1,5 @@
1
- import { type PropType } from 'vue';
2
- import { FwDatePickerModel, type FwDatePickerProps } from './index.types';
1
+ import { type DefineComponent } from 'vue';
2
+ import { type FwDatePickerProps } from './index.types';
3
3
  import 'v-calendar/style.css';
4
- declare const __default__: import("vue").DefineComponent<{
5
- /**
6
- * The date-picker v-model
7
- */
8
- modelValue: {
9
- type: PropType<FwDatePickerModel>;
10
- default: null;
11
- };
12
- /**
13
- * The name of the input field. Must be unique per form.
14
- */
15
- name: {
16
- type: StringConstructor;
17
- required: true;
18
- };
19
- /**
20
- * Label for the input. Also renders to an aria-label attribute
21
- */
22
- label: {
23
- type: StringConstructor;
24
- };
25
- /**
26
- * The placeholder text of the input
27
- */
28
- placeholder: {
29
- type: StringConstructor;
30
- };
31
- /**
32
- * The placeholder text of the starting range input
33
- */
34
- startPlaceholder: {
35
- type: StringConstructor;
36
- };
37
- /**
38
- * The placeholder text of the ending range input
39
- */
40
- endPlaceholder: {
41
- type: StringConstructor;
42
- };
43
- /**
44
- * Whether to enable the date range inputs
45
- */
46
- isRange: {
47
- type: BooleanConstructor;
48
- default: boolean;
49
- };
50
- /**
51
- * Start input label when is-range
52
- */
53
- startLabel: {
54
- type: StringConstructor;
55
- };
56
- /**
57
- * End input label when is-range
58
- */
59
- endLabel: {
60
- type: StringConstructor;
61
- };
62
- /**
63
- * The logical tab order of the input.
64
- * Defaults to 0
65
- */
66
- tabindex: {
67
- type: StringConstructor;
68
- default: string;
69
- };
70
- /**
71
- * Whether the input is rounded.
72
- * Defaults to false
73
- */
74
- rounded: {
75
- type: BooleanConstructor;
76
- default: boolean;
77
- };
78
- /**
79
- * Enables the required asterisk. (UI only)
80
- */
81
- required: {
82
- type: BooleanConstructor;
83
- default: boolean;
84
- };
85
- /**
86
- * Enable the error section UI.
87
- * Defaults to true
88
- */
89
- enableErrors: {
90
- type: BooleanConstructor;
91
- default: boolean;
92
- };
93
- /**
94
- * The minimum selectable date
95
- */
96
- minDate: {
97
- type: PropType<FwDatePickerProps["minDate"]>;
98
- };
99
- /**
100
- * The maximum selectable date
101
- */
102
- maxDate: {
103
- type: PropType<FwDatePickerProps["maxDate"]>;
104
- };
105
- /**
106
- * Validation rules. Accepts an object, string schema or validation function.
107
- */
108
- rules: {
109
- type: PropType<FwDatePickerProps["rules"]>;
110
- };
111
- }, {
112
- uuid: string;
113
- inputBaseClass: import("vue").Ref<string>;
114
- dateModel: import("vue").WritableComputedRef<FwDatePickerModel>;
115
- errors: import("vue").Ref<string[]>;
116
- errorMessage: import("vue").Ref<string | undefined>;
117
- meta: import("vee-validate").FieldMeta<unknown>;
118
- fieldVal: import("vue").Ref<unknown>;
119
- primaryFade5: string;
120
- primaryFade10: string;
121
- primaryFade20: string;
122
- primaryFade30: string;
123
- primaryFade40: string;
124
- primaryFade50: string;
125
- primaryFade70: string;
126
- primaryFade80: string;
127
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
128
- /**
129
- * The date-picker v-model
130
- */
131
- modelValue: {
132
- type: PropType<FwDatePickerModel>;
133
- default: null;
134
- };
135
- /**
136
- * The name of the input field. Must be unique per form.
137
- */
138
- name: {
139
- type: StringConstructor;
140
- required: true;
141
- };
142
- /**
143
- * Label for the input. Also renders to an aria-label attribute
144
- */
145
- label: {
146
- type: StringConstructor;
147
- };
148
- /**
149
- * The placeholder text of the input
150
- */
151
- placeholder: {
152
- type: StringConstructor;
153
- };
154
- /**
155
- * The placeholder text of the starting range input
156
- */
157
- startPlaceholder: {
158
- type: StringConstructor;
159
- };
160
- /**
161
- * The placeholder text of the ending range input
162
- */
163
- endPlaceholder: {
164
- type: StringConstructor;
165
- };
166
- /**
167
- * Whether to enable the date range inputs
168
- */
169
- isRange: {
170
- type: BooleanConstructor;
171
- default: boolean;
172
- };
173
- /**
174
- * Start input label when is-range
175
- */
176
- startLabel: {
177
- type: StringConstructor;
178
- };
179
- /**
180
- * End input label when is-range
181
- */
182
- endLabel: {
183
- type: StringConstructor;
184
- };
185
- /**
186
- * The logical tab order of the input.
187
- * Defaults to 0
188
- */
189
- tabindex: {
190
- type: StringConstructor;
191
- default: string;
192
- };
193
- /**
194
- * Whether the input is rounded.
195
- * Defaults to false
196
- */
197
- rounded: {
198
- type: BooleanConstructor;
199
- default: boolean;
200
- };
201
- /**
202
- * Enables the required asterisk. (UI only)
203
- */
204
- required: {
205
- type: BooleanConstructor;
206
- default: boolean;
207
- };
208
- /**
209
- * Enable the error section UI.
210
- * Defaults to true
211
- */
212
- enableErrors: {
213
- type: BooleanConstructor;
214
- default: boolean;
215
- };
216
- /**
217
- * The minimum selectable date
218
- */
219
- minDate: {
220
- type: PropType<FwDatePickerProps["minDate"]>;
221
- };
222
- /**
223
- * The maximum selectable date
224
- */
225
- maxDate: {
226
- type: PropType<FwDatePickerProps["maxDate"]>;
227
- };
228
- /**
229
- * Validation rules. Accepts an object, string schema or validation function.
230
- */
231
- rules: {
232
- type: PropType<FwDatePickerProps["rules"]>;
233
- };
234
- }>> & {
235
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
236
- }, {
237
- modelValue: FwDatePickerModel;
238
- isRange: boolean;
239
- tabindex: string;
240
- rounded: boolean;
241
- required: boolean;
242
- enableErrors: boolean;
243
- }, {}>;
4
+ declare const __default__: DefineComponent<FwDatePickerProps>;
244
5
  export default __default__;
@@ -1,6 +1,6 @@
1
1
  import { type PropType } from 'vue';
2
2
  import type { FwDrawerProps } from './index.types';
3
- declare const __default__: import("vue").DefineComponent<{
3
+ declare const __default__: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
4
  /**
5
5
  * The drawer's v-model. Controls the visibility of the drawer.
6
6
  */
@@ -77,16 +77,16 @@ declare const __default__: import("vue").DefineComponent<{
77
77
  default: string;
78
78
  validator: (value: string) => boolean;
79
79
  };
80
- }, {
80
+ }>, {
81
81
  baseDrawerClass: string;
82
82
  drawerFooterClass: string;
83
- isOpen: import("vue").WritableComputedRef<boolean>;
83
+ isOpen: import("vue").WritableComputedRef<boolean, boolean>;
84
84
  uuid: string;
85
- isMounted: import("vue").Ref<boolean>;
85
+ isMounted: import("vue").Ref<boolean, boolean>;
86
86
  onConfirmed: () => void;
87
87
  onCancelled: () => void;
88
88
  drawerBgColour: string;
89
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "cancel" | "confirm")[], "update:modelValue" | "cancel" | "confirm", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
89
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "cancel" | "confirm")[], "update:modelValue" | "cancel" | "confirm", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
90
90
  /**
91
91
  * The drawer's v-model. Controls the visibility of the drawer.
92
92
  */
@@ -163,11 +163,11 @@ declare const __default__: import("vue").DefineComponent<{
163
163
  default: string;
164
164
  validator: (value: string) => boolean;
165
165
  };
166
- }>> & {
166
+ }>> & Readonly<{
167
167
  onCancel?: ((...args: any[]) => any) | undefined;
168
168
  onConfirm?: ((...args: any[]) => any) | undefined;
169
169
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
170
- }, {
170
+ }>, {
171
171
  cancelButtonType: import("../index.types").ButtonVariantName | undefined;
172
172
  confirmButtonType: import("../index.types").ButtonVariantName | undefined;
173
173
  modelValue: boolean;
@@ -177,5 +177,8 @@ declare const __default__: import("vue").DefineComponent<{
177
177
  showConfirm: boolean;
178
178
  cancelButtonText: string;
179
179
  confirmButtonText: string;
180
- }, {}>;
180
+ }, {}, {
181
+ FwButton: import("vue").ComponentOptions;
182
+ XMarkSvg: VueConstructor<Vue>;
183
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
181
184
  export default __default__;