@oub/fusion 0.2.3 → 0.2.5

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.
package/dist/main.d.ts DELETED
@@ -1,1323 +0,0 @@
1
- import { AllowedComponentProps } from 'vue';
2
- import { ComponentCustomProps } from 'vue';
3
- import { ComponentOptionsMixin } from 'vue';
4
- import { DefineComponent } from 'vue';
5
- import { ExtractPropTypes } from 'vue';
6
- import type { FusionBannerStates } from '../../../../lib/components/common/banner/FusionBanner';
7
- import type { FusionButtonSize } from '../../../../types/components/FusionButton';
8
- import type { FusionButtonVariantStyle } from '../../../../types/components/FusionButton';
9
- import type { FusionButtonVariantType } from '../../../../types/components/FusionButton';
10
- import type { FusionInputStates } from '../../../../lib/components/form/input/FusionInput';
11
- import type { FusionPasswordInputStates } from '../../../../lib/components/form/password-input/FusionPasswordInput';
12
- import type { FusionRadioStates } from '../../../../lib/components/form/radio/FusionRadio.d.ts';
13
- import type { FusionSelectOption } from '../../../../lib/components/form/select/FusionSelect';
14
- import type { FusionSelectStates } from '../../../../lib/components/form/select/FusionSelect';
15
- import type { FusionTextareaStates } from '../../../../lib/components/form/textarea/FusionTextarea.d.ts';
16
- import type { FusionTextLinkIconPlacement } from '../../../../lib/components/link/text/FusionTextLink';
17
- import type { FusionTextLinkStates } from '../../../../lib/components/link/text/FusionTextLink';
18
- import { PropType } from 'vue';
19
- import type { Sizes } from '../../../../types/Global.d.ts';
20
- import type { Themes } from '../../../../types/Themes';
21
- import type { Themes as Themes_2 } from '../../../../types/Themes.d.ts';
22
- import type { VariantAccentTypes } from '../../../../types/Global';
23
- import type { VariantTypes } from '../../../../types/Global.d.ts';
24
- import { VNodeProps } from 'vue';
25
-
26
- export declare const FusionBanner: DefineComponent<{
27
- theme: {
28
- type: PropType<keyof Themes>;
29
- default: string;
30
- };
31
- variantType: {
32
- type: PropType<keyof VariantAccentTypes>;
33
- default: string;
34
- };
35
- isDismissible: {
36
- type: BooleanConstructor;
37
- default: boolean;
38
- };
39
- showTitle: {
40
- type: BooleanConstructor;
41
- default: boolean;
42
- };
43
- title: {
44
- type: StringConstructor;
45
- default: string;
46
- };
47
- message: {
48
- type: StringConstructor;
49
- default: string;
50
- };
51
- }, unknown, {
52
- styleVariables: {};
53
- isOpen: boolean;
54
- }, {
55
- styleStates(): {
56
- theme: keyof Themes;
57
- variantType: keyof VariantAccentTypes;
58
- isDismissible: boolean;
59
- showTitle: boolean;
60
- };
61
- }, {
62
- loadStyleVariables: (newStates: FusionBannerStates) => void;
63
- toggleBanner(): void;
64
- }, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
65
- theme: {
66
- type: PropType<keyof Themes>;
67
- default: string;
68
- };
69
- variantType: {
70
- type: PropType<keyof VariantAccentTypes>;
71
- default: string;
72
- };
73
- isDismissible: {
74
- type: BooleanConstructor;
75
- default: boolean;
76
- };
77
- showTitle: {
78
- type: BooleanConstructor;
79
- default: boolean;
80
- };
81
- title: {
82
- type: StringConstructor;
83
- default: string;
84
- };
85
- message: {
86
- type: StringConstructor;
87
- default: string;
88
- };
89
- }>>, {
90
- title: string;
91
- theme: keyof Themes;
92
- variantType: keyof VariantAccentTypes;
93
- isDismissible: boolean;
94
- showTitle: boolean;
95
- message: string;
96
- }, {}>;
97
-
98
- export declare const FusionButton: DefineComponent<{
99
- theme: {
100
- type: PropType<keyof Themes>;
101
- required: false;
102
- default: string;
103
- };
104
- label: {
105
- type: StringConstructor;
106
- required: true;
107
- };
108
- variantType: {
109
- type: PropType<keyof FusionButtonVariantType>;
110
- required: false;
111
- default: string;
112
- };
113
- variantStyle: {
114
- type: PropType<keyof FusionButtonVariantStyle>;
115
- required: false;
116
- default: string;
117
- };
118
- size: {
119
- type: PropType<keyof FusionButtonSize>;
120
- required: false;
121
- default: string;
122
- };
123
- type: {
124
- type: PropType<"button" | "submit" | "reset" | undefined>;
125
- required: false;
126
- default: string;
127
- };
128
- loading: {
129
- type: BooleanConstructor;
130
- required: false;
131
- default: boolean;
132
- };
133
- disabled: {
134
- type: BooleanConstructor;
135
- required: true;
136
- };
137
- }, unknown, {
138
- styleVariables: {
139
- "--fusion-spinner-color": string;
140
- };
141
- focus: boolean;
142
- hover: boolean;
143
- }, {
144
- spinnerColour(): string;
145
- isDisabled(): boolean;
146
- isLoading(): boolean;
147
- styleProps(): {
148
- variantType: keyof FusionButtonVariantType;
149
- variantStyle: keyof FusionButtonVariantStyle;
150
- size: keyof FusionButtonSize;
151
- theme: keyof Themes;
152
- disabled: boolean;
153
- interaction: {
154
- focus: boolean;
155
- hover: boolean;
156
- };
157
- };
158
- }, {
159
- loadStyleVariables: () => void;
160
- onClick(): void;
161
- }, ComponentOptionsMixin, ComponentOptionsMixin, {
162
- click: null;
163
- }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
164
- theme: {
165
- type: PropType<keyof Themes>;
166
- required: false;
167
- default: string;
168
- };
169
- label: {
170
- type: StringConstructor;
171
- required: true;
172
- };
173
- variantType: {
174
- type: PropType<keyof FusionButtonVariantType>;
175
- required: false;
176
- default: string;
177
- };
178
- variantStyle: {
179
- type: PropType<keyof FusionButtonVariantStyle>;
180
- required: false;
181
- default: string;
182
- };
183
- size: {
184
- type: PropType<keyof FusionButtonSize>;
185
- required: false;
186
- default: string;
187
- };
188
- type: {
189
- type: PropType<"button" | "submit" | "reset" | undefined>;
190
- required: false;
191
- default: string;
192
- };
193
- loading: {
194
- type: BooleanConstructor;
195
- required: false;
196
- default: boolean;
197
- };
198
- disabled: {
199
- type: BooleanConstructor;
200
- required: true;
201
- };
202
- }>> & {
203
- onClick?: ((...args: any[]) => any) | undefined;
204
- }, {
205
- theme: keyof Themes;
206
- variantType: keyof FusionButtonVariantType;
207
- type: "button" | "submit" | "reset" | undefined;
208
- variantStyle: keyof FusionButtonVariantStyle;
209
- size: keyof FusionButtonSize;
210
- loading: boolean;
211
- }, {}>;
212
-
213
- export declare const FusionCheckbox: DefineComponent<{
214
- disabled: {
215
- type: BooleanConstructor;
216
- required: false;
217
- default: boolean;
218
- };
219
- label: {
220
- type: StringConstructor;
221
- required: false;
222
- default: string;
223
- };
224
- helperText: {
225
- type: StringConstructor;
226
- required: false;
227
- default: string;
228
- };
229
- defaultValue: {
230
- type: BooleanConstructor;
231
- required: false;
232
- default: boolean;
233
- };
234
- name: {
235
- type: StringConstructor;
236
- required: false;
237
- default: string;
238
- };
239
- value: {
240
- type: StringConstructor;
241
- required: false;
242
- default: string;
243
- };
244
- theme: {
245
- type: PropType<keyof Themes>;
246
- required: false;
247
- default: string;
248
- };
249
- }, unknown, {
250
- checked: boolean;
251
- styleVariables: {};
252
- focus: boolean;
253
- hover: boolean;
254
- }, {
255
- styleProps(): {
256
- theme: keyof Themes;
257
- disabled: boolean;
258
- interaction: {
259
- focus: boolean;
260
- hover: boolean;
261
- checked: boolean;
262
- };
263
- };
264
- }, {
265
- loadStyleVariables: () => void;
266
- handleChange(e: Event): void;
267
- }, ComponentOptionsMixin, ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
268
- disabled: {
269
- type: BooleanConstructor;
270
- required: false;
271
- default: boolean;
272
- };
273
- label: {
274
- type: StringConstructor;
275
- required: false;
276
- default: string;
277
- };
278
- helperText: {
279
- type: StringConstructor;
280
- required: false;
281
- default: string;
282
- };
283
- defaultValue: {
284
- type: BooleanConstructor;
285
- required: false;
286
- default: boolean;
287
- };
288
- name: {
289
- type: StringConstructor;
290
- required: false;
291
- default: string;
292
- };
293
- value: {
294
- type: StringConstructor;
295
- required: false;
296
- default: string;
297
- };
298
- theme: {
299
- type: PropType<keyof Themes>;
300
- required: false;
301
- default: string;
302
- };
303
- }>> & {
304
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
305
- }, {
306
- disabled: boolean;
307
- name: string;
308
- label: string;
309
- theme: keyof Themes;
310
- value: string;
311
- defaultValue: boolean;
312
- helperText: string;
313
- }, {}>;
314
-
315
- export declare const FusionDatePicker: DefineComponent<{
316
- theme: {
317
- type: PropType<keyof Themes>;
318
- default: string;
319
- };
320
- id: {
321
- type: StringConstructor;
322
- required: true;
323
- };
324
- name: {
325
- type: StringConstructor;
326
- required: true;
327
- };
328
- label: {
329
- type: StringConstructor;
330
- required: true;
331
- };
332
- placeholder: {
333
- type: StringConstructor;
334
- default: string;
335
- };
336
- helperLabel: {
337
- type: StringConstructor;
338
- default: string;
339
- };
340
- errorLabel: {
341
- type: StringConstructor;
342
- default: string;
343
- };
344
- modelValue: {
345
- type: PropType<string | Date>;
346
- default: null;
347
- };
348
- required: {
349
- type: BooleanConstructor;
350
- default: boolean;
351
- };
352
- disabled: {
353
- type: BooleanConstructor;
354
- default: boolean;
355
- };
356
- format: {
357
- type: StringConstructor;
358
- default: string;
359
- };
360
- dateSeparator: {
361
- type: StringConstructor;
362
- default: string;
363
- };
364
- maxDate: {
365
- type: StringConstructor;
366
- default: string;
367
- };
368
- minDate: {
369
- type: StringConstructor;
370
- default: string;
371
- };
372
- clearable: {
373
- type: BooleanConstructor;
374
- default: boolean;
375
- };
376
- }, unknown, {
377
- date: String | Date | null;
378
- dateInParent: string | Date;
379
- datePickerInputOptions: {
380
- format: string;
381
- rangeSeparator: string;
382
- };
383
- styleVariables: {};
384
- interactionStates: {
385
- focused: boolean;
386
- hover: boolean;
387
- };
388
- }, {
389
- inputStates(): {
390
- focused: boolean;
391
- hover: boolean;
392
- disabled: boolean;
393
- error: boolean;
394
- theme: keyof Themes;
395
- };
396
- isClearable(): boolean;
397
- }, {
398
- loadStyleVariables(newStates: FusionInputStates): void;
399
- updateDate(): void;
400
- handleFocus(): void;
401
- handleBlur(): void;
402
- handleMouseover(): void;
403
- handleMouseleave(): void;
404
- }, ComponentOptionsMixin, ComponentOptionsMixin, ("input:blur" | "input:focus" | "update:modelValue")[], "input:blur" | "input:focus" | "update:modelValue", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
405
- theme: {
406
- type: PropType<keyof Themes>;
407
- default: string;
408
- };
409
- id: {
410
- type: StringConstructor;
411
- required: true;
412
- };
413
- name: {
414
- type: StringConstructor;
415
- required: true;
416
- };
417
- label: {
418
- type: StringConstructor;
419
- required: true;
420
- };
421
- placeholder: {
422
- type: StringConstructor;
423
- default: string;
424
- };
425
- helperLabel: {
426
- type: StringConstructor;
427
- default: string;
428
- };
429
- errorLabel: {
430
- type: StringConstructor;
431
- default: string;
432
- };
433
- modelValue: {
434
- type: PropType<string | Date>;
435
- default: null;
436
- };
437
- required: {
438
- type: BooleanConstructor;
439
- default: boolean;
440
- };
441
- disabled: {
442
- type: BooleanConstructor;
443
- default: boolean;
444
- };
445
- format: {
446
- type: StringConstructor;
447
- default: string;
448
- };
449
- dateSeparator: {
450
- type: StringConstructor;
451
- default: string;
452
- };
453
- maxDate: {
454
- type: StringConstructor;
455
- default: string;
456
- };
457
- minDate: {
458
- type: StringConstructor;
459
- default: string;
460
- };
461
- clearable: {
462
- type: BooleanConstructor;
463
- default: boolean;
464
- };
465
- }>> & {
466
- "onInput:blur"?: ((...args: any[]) => any) | undefined;
467
- "onInput:focus"?: ((...args: any[]) => any) | undefined;
468
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
469
- }, {
470
- disabled: boolean;
471
- theme: keyof Themes;
472
- modelValue: string | Date;
473
- placeholder: string;
474
- minDate: string;
475
- maxDate: string;
476
- required: boolean;
477
- format: string;
478
- clearable: boolean;
479
- helperLabel: string;
480
- errorLabel: string;
481
- dateSeparator: string;
482
- }, {}>;
483
-
484
- export declare const FusionLoadingSpinner: DefineComponent<{
485
- spinnerColour: {
486
- type: StringConstructor;
487
- default: string;
488
- };
489
- }, unknown, {
490
- styleVariables: {};
491
- }, {}, {
492
- loadStyleVariables: () => void;
493
- }, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
494
- spinnerColour: {
495
- type: StringConstructor;
496
- default: string;
497
- };
498
- }>>, {
499
- spinnerColour: string;
500
- }, {}>;
501
-
502
- export declare const FusionPasswordInput: DefineComponent<{
503
- theme: {
504
- type: PropType<keyof Themes>;
505
- default: string;
506
- };
507
- id: {
508
- type: StringConstructor;
509
- required: true;
510
- };
511
- name: {
512
- type: StringConstructor;
513
- required: true;
514
- };
515
- label: {
516
- type: StringConstructor;
517
- required: true;
518
- };
519
- helperLabel: {
520
- type: StringConstructor;
521
- default: string;
522
- };
523
- placeholder: {
524
- type: StringConstructor;
525
- default: string;
526
- };
527
- errorLabel: {
528
- type: StringConstructor;
529
- default: string;
530
- };
531
- modelValue: {
532
- type: StringConstructor;
533
- default: string;
534
- };
535
- required: {
536
- type: BooleanConstructor;
537
- default: boolean;
538
- };
539
- tabIndex: {
540
- type: NumberConstructor;
541
- default: number;
542
- };
543
- autocomplete: {
544
- type: StringConstructor;
545
- default: string;
546
- };
547
- title: {
548
- type: StringConstructor;
549
- default: string;
550
- };
551
- disabled: {
552
- type: BooleanConstructor;
553
- default: boolean;
554
- };
555
- }, unknown, {
556
- inputValue: string;
557
- styleVariables: {};
558
- interactionStates: {
559
- focused: boolean;
560
- hover: boolean;
561
- };
562
- showPassword: boolean;
563
- }, {
564
- inputStates(): {
565
- focused: boolean;
566
- hover: boolean;
567
- disabled: boolean;
568
- error: boolean;
569
- theme: keyof Themes;
570
- };
571
- }, {
572
- loadStyleVariables(newStates: FusionPasswordInputStates): void;
573
- updateInput(): void;
574
- handleFocus(): void;
575
- handleBlur(): void;
576
- handleKeydownEnter(): void;
577
- handleMouseover(): void;
578
- handleMouseleave(): void;
579
- }, ComponentOptionsMixin, ComponentOptionsMixin, ("input:blur" | "input:focus" | "update:modelValue" | "keydown:enter")[], "input:blur" | "input:focus" | "update:modelValue" | "keydown:enter", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
580
- theme: {
581
- type: PropType<keyof Themes>;
582
- default: string;
583
- };
584
- id: {
585
- type: StringConstructor;
586
- required: true;
587
- };
588
- name: {
589
- type: StringConstructor;
590
- required: true;
591
- };
592
- label: {
593
- type: StringConstructor;
594
- required: true;
595
- };
596
- helperLabel: {
597
- type: StringConstructor;
598
- default: string;
599
- };
600
- placeholder: {
601
- type: StringConstructor;
602
- default: string;
603
- };
604
- errorLabel: {
605
- type: StringConstructor;
606
- default: string;
607
- };
608
- modelValue: {
609
- type: StringConstructor;
610
- default: string;
611
- };
612
- required: {
613
- type: BooleanConstructor;
614
- default: boolean;
615
- };
616
- tabIndex: {
617
- type: NumberConstructor;
618
- default: number;
619
- };
620
- autocomplete: {
621
- type: StringConstructor;
622
- default: string;
623
- };
624
- title: {
625
- type: StringConstructor;
626
- default: string;
627
- };
628
- disabled: {
629
- type: BooleanConstructor;
630
- default: boolean;
631
- };
632
- }>> & {
633
- "onInput:blur"?: ((...args: any[]) => any) | undefined;
634
- "onInput:focus"?: ((...args: any[]) => any) | undefined;
635
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
636
- "onKeydown:enter"?: ((...args: any[]) => any) | undefined;
637
- }, {
638
- disabled: boolean;
639
- title: string;
640
- theme: keyof Themes;
641
- modelValue: string;
642
- placeholder: string;
643
- required: boolean;
644
- autocomplete: string;
645
- helperLabel: string;
646
- errorLabel: string;
647
- tabIndex: number;
648
- }, {}>;
649
-
650
- export declare const FusionRadio: DefineComponent<{
651
- id: {
652
- type: StringConstructor;
653
- required: true;
654
- };
655
- name: {
656
- type: StringConstructor;
657
- required: true;
658
- };
659
- label: {
660
- type: StringConstructor;
661
- required: true;
662
- };
663
- value: {
664
- type: StringConstructor;
665
- required: true;
666
- };
667
- theme: {
668
- type: PropType<keyof Themes>;
669
- default: string;
670
- };
671
- modelValue: {
672
- type: StringConstructor;
673
- default: string;
674
- };
675
- required: {
676
- type: BooleanConstructor;
677
- default: boolean;
678
- };
679
- disabled: {
680
- type: BooleanConstructor;
681
- required: false;
682
- };
683
- helperLabel: {
684
- type: StringConstructor;
685
- default: string;
686
- };
687
- }, unknown, {
688
- inputValue: string;
689
- styleVariables: {};
690
- interactionStates: {
691
- focused: boolean;
692
- hover: boolean;
693
- };
694
- }, {
695
- inputStates: () => {
696
- focused: boolean;
697
- hover: boolean;
698
- disabled: boolean;
699
- theme: keyof Themes;
700
- checked: boolean;
701
- error: boolean;
702
- };
703
- isSelected: () => boolean;
704
- }, {
705
- handleChange: () => void;
706
- loadStyleVariables: (newStates: FusionRadioStates) => void;
707
- handleFocus: () => void;
708
- handleBlur: () => void;
709
- handleMouseover: () => void;
710
- handleMouseleave: () => void;
711
- }, ComponentOptionsMixin, ComponentOptionsMixin, ("input:blur" | "input:focus" | "update:modelValue")[], "input:blur" | "input:focus" | "update:modelValue", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
712
- id: {
713
- type: StringConstructor;
714
- required: true;
715
- };
716
- name: {
717
- type: StringConstructor;
718
- required: true;
719
- };
720
- label: {
721
- type: StringConstructor;
722
- required: true;
723
- };
724
- value: {
725
- type: StringConstructor;
726
- required: true;
727
- };
728
- theme: {
729
- type: PropType<keyof Themes>;
730
- default: string;
731
- };
732
- modelValue: {
733
- type: StringConstructor;
734
- default: string;
735
- };
736
- required: {
737
- type: BooleanConstructor;
738
- default: boolean;
739
- };
740
- disabled: {
741
- type: BooleanConstructor;
742
- required: false;
743
- };
744
- helperLabel: {
745
- type: StringConstructor;
746
- default: string;
747
- };
748
- }>> & {
749
- "onInput:blur"?: ((...args: any[]) => any) | undefined;
750
- "onInput:focus"?: ((...args: any[]) => any) | undefined;
751
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
752
- }, {
753
- disabled: boolean;
754
- theme: keyof Themes;
755
- modelValue: string;
756
- required: boolean;
757
- helperLabel: string;
758
- }, {}>;
759
-
760
- export declare const FusionSelect: DefineComponent<{
761
- theme: {
762
- type: PropType<keyof Themes>;
763
- default: string;
764
- };
765
- id: {
766
- type: StringConstructor;
767
- required: true;
768
- };
769
- name: {
770
- type: StringConstructor;
771
- required: true;
772
- };
773
- options: {
774
- type: PropType<FusionSelectOption[]>;
775
- required: true;
776
- };
777
- label: {
778
- type: StringConstructor;
779
- default: string;
780
- };
781
- placeholder: {
782
- type: StringConstructor;
783
- default: string;
784
- };
785
- searchDisabled: {
786
- type: BooleanConstructor;
787
- default: boolean;
788
- };
789
- searchText: {
790
- type: StringConstructor;
791
- default: string;
792
- };
793
- searchPlaceholder: {
794
- type: StringConstructor;
795
- default: string;
796
- };
797
- searchLoading: {
798
- type: BooleanConstructor;
799
- default: boolean;
800
- };
801
- searchErrorTitle: {
802
- type: StringConstructor;
803
- default: string;
804
- };
805
- searchErrorDescription: {
806
- type: StringConstructor;
807
- default: string;
808
- };
809
- helperLabel: {
810
- type: StringConstructor;
811
- default: string;
812
- };
813
- errorLabel: {
814
- type: StringConstructor;
815
- default: string;
816
- };
817
- modelValue: {
818
- type: PropType<FusionSelectOption>;
819
- default: () => {
820
- label: string;
821
- value: null;
822
- };
823
- };
824
- required: {
825
- type: BooleanConstructor;
826
- default: boolean;
827
- };
828
- tabIndex: {
829
- type: NumberConstructor;
830
- default: number;
831
- };
832
- autocomplete: {
833
- type: StringConstructor;
834
- default: string;
835
- };
836
- title: {
837
- type: StringConstructor;
838
- default: string;
839
- };
840
- disabled: {
841
- type: BooleanConstructor;
842
- default: boolean;
843
- };
844
- readonly: {
845
- type: BooleanConstructor;
846
- default: boolean;
847
- };
848
- autofocus: {
849
- type: BooleanConstructor;
850
- default: boolean;
851
- };
852
- ariaLabel: {
853
- type: StringConstructor;
854
- default: string;
855
- };
856
- }, unknown, {
857
- selected: FusionSelectOption;
858
- searchInputValue: string;
859
- styleVariables: {};
860
- interactionStates: {
861
- focused: boolean;
862
- hover: boolean;
863
- opened: boolean;
864
- };
865
- }, {
866
- inputStates(): {
867
- opened: boolean;
868
- focused: boolean;
869
- hover: boolean;
870
- disabled: boolean;
871
- error: boolean;
872
- theme: keyof Themes;
873
- };
874
- }, {
875
- loadStyleVariables(newStates: FusionSelectStates): void;
876
- handleInputClick: () => void;
877
- handleSelect: (option: FusionSelectOption) => void;
878
- updateInput(): void;
879
- handleFocus(): void;
880
- handleBlur(): void;
881
- handleKeydownEnter(): void;
882
- handleMouseover(): void;
883
- handleMouseleave(): void;
884
- }, ComponentOptionsMixin, ComponentOptionsMixin, ("update:modelValue" | "keydown:enter" | "select:blur" | "select:focus")[], "update:modelValue" | "keydown:enter" | "select:blur" | "select:focus", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
885
- theme: {
886
- type: PropType<keyof Themes>;
887
- default: string;
888
- };
889
- id: {
890
- type: StringConstructor;
891
- required: true;
892
- };
893
- name: {
894
- type: StringConstructor;
895
- required: true;
896
- };
897
- options: {
898
- type: PropType<FusionSelectOption[]>;
899
- required: true;
900
- };
901
- label: {
902
- type: StringConstructor;
903
- default: string;
904
- };
905
- placeholder: {
906
- type: StringConstructor;
907
- default: string;
908
- };
909
- searchDisabled: {
910
- type: BooleanConstructor;
911
- default: boolean;
912
- };
913
- searchText: {
914
- type: StringConstructor;
915
- default: string;
916
- };
917
- searchPlaceholder: {
918
- type: StringConstructor;
919
- default: string;
920
- };
921
- searchLoading: {
922
- type: BooleanConstructor;
923
- default: boolean;
924
- };
925
- searchErrorTitle: {
926
- type: StringConstructor;
927
- default: string;
928
- };
929
- searchErrorDescription: {
930
- type: StringConstructor;
931
- default: string;
932
- };
933
- helperLabel: {
934
- type: StringConstructor;
935
- default: string;
936
- };
937
- errorLabel: {
938
- type: StringConstructor;
939
- default: string;
940
- };
941
- modelValue: {
942
- type: PropType<FusionSelectOption>;
943
- default: () => {
944
- label: string;
945
- value: null;
946
- };
947
- };
948
- required: {
949
- type: BooleanConstructor;
950
- default: boolean;
951
- };
952
- tabIndex: {
953
- type: NumberConstructor;
954
- default: number;
955
- };
956
- autocomplete: {
957
- type: StringConstructor;
958
- default: string;
959
- };
960
- title: {
961
- type: StringConstructor;
962
- default: string;
963
- };
964
- disabled: {
965
- type: BooleanConstructor;
966
- default: boolean;
967
- };
968
- readonly: {
969
- type: BooleanConstructor;
970
- default: boolean;
971
- };
972
- autofocus: {
973
- type: BooleanConstructor;
974
- default: boolean;
975
- };
976
- ariaLabel: {
977
- type: StringConstructor;
978
- default: string;
979
- };
980
- }>> & {
981
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
982
- "onKeydown:enter"?: ((...args: any[]) => any) | undefined;
983
- "onSelect:blur"?: ((...args: any[]) => any) | undefined;
984
- "onSelect:focus"?: ((...args: any[]) => any) | undefined;
985
- }, {
986
- disabled: boolean;
987
- label: string;
988
- title: string;
989
- theme: keyof Themes;
990
- modelValue: FusionSelectOption;
991
- placeholder: string;
992
- readonly: boolean;
993
- required: boolean;
994
- autocomplete: string;
995
- helperLabel: string;
996
- errorLabel: string;
997
- tabIndex: number;
998
- searchText: string;
999
- searchDisabled: boolean;
1000
- searchPlaceholder: string;
1001
- searchLoading: boolean;
1002
- searchErrorTitle: string;
1003
- searchErrorDescription: string;
1004
- autofocus: boolean;
1005
- ariaLabel: string;
1006
- }, {}>;
1007
-
1008
- export declare const FusionTextarea: DefineComponent<{
1009
- id: {
1010
- type: StringConstructor;
1011
- required: true;
1012
- };
1013
- name: {
1014
- type: StringConstructor;
1015
- required: true;
1016
- };
1017
- label: {
1018
- type: StringConstructor;
1019
- required: true;
1020
- };
1021
- ariaDescribedBy: {
1022
- type: StringConstructor;
1023
- required: true;
1024
- };
1025
- theme: {
1026
- type: PropType<keyof Themes_2>;
1027
- default: string;
1028
- };
1029
- rows: {
1030
- type: StringConstructor;
1031
- default: string;
1032
- };
1033
- cols: {
1034
- type: StringConstructor;
1035
- default: string;
1036
- };
1037
- placeholder: {
1038
- type: StringConstructor;
1039
- default: string;
1040
- };
1041
- helperLabel: {
1042
- type: StringConstructor;
1043
- default: string;
1044
- };
1045
- errorLabel: {
1046
- type: StringConstructor;
1047
- default: string;
1048
- };
1049
- modelValue: {
1050
- type: StringConstructor;
1051
- default: string;
1052
- };
1053
- required: {
1054
- type: BooleanConstructor;
1055
- default: boolean;
1056
- };
1057
- disabled: {
1058
- type: BooleanConstructor;
1059
- default: boolean;
1060
- };
1061
- readonly: {
1062
- type: BooleanConstructor;
1063
- default: boolean;
1064
- };
1065
- showCharLength: {
1066
- type: BooleanConstructor;
1067
- default: boolean;
1068
- };
1069
- maxLength: {
1070
- type: NumberConstructor;
1071
- default: number;
1072
- };
1073
- tabIndex: {
1074
- type: NumberConstructor;
1075
- default: number;
1076
- };
1077
- autocomplete: {
1078
- type: StringConstructor;
1079
- default: string;
1080
- };
1081
- }, unknown, {
1082
- inputValue: string;
1083
- styleVariables: {};
1084
- interactionStates: {
1085
- focused: boolean;
1086
- hover: boolean;
1087
- };
1088
- }, {
1089
- inputStates(): {
1090
- focused: boolean;
1091
- hover: boolean;
1092
- disabled: boolean;
1093
- error: boolean;
1094
- theme: keyof Themes_2;
1095
- };
1096
- }, {
1097
- loadStyleVariables(newStates: FusionTextareaStates): void;
1098
- updateInput: () => void;
1099
- handleFocus: () => void;
1100
- handleBlur: () => void;
1101
- handleKeydownEnter: () => void;
1102
- handleMouseover: () => void;
1103
- handleMouseleave: () => void;
1104
- }, ComponentOptionsMixin, ComponentOptionsMixin, ("input:blur" | "input:focus" | "update:modelValue" | "keydown:enter")[], "input:blur" | "input:focus" | "update:modelValue" | "keydown:enter", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
1105
- id: {
1106
- type: StringConstructor;
1107
- required: true;
1108
- };
1109
- name: {
1110
- type: StringConstructor;
1111
- required: true;
1112
- };
1113
- label: {
1114
- type: StringConstructor;
1115
- required: true;
1116
- };
1117
- ariaDescribedBy: {
1118
- type: StringConstructor;
1119
- required: true;
1120
- };
1121
- theme: {
1122
- type: PropType<keyof Themes_2>;
1123
- default: string;
1124
- };
1125
- rows: {
1126
- type: StringConstructor;
1127
- default: string;
1128
- };
1129
- cols: {
1130
- type: StringConstructor;
1131
- default: string;
1132
- };
1133
- placeholder: {
1134
- type: StringConstructor;
1135
- default: string;
1136
- };
1137
- helperLabel: {
1138
- type: StringConstructor;
1139
- default: string;
1140
- };
1141
- errorLabel: {
1142
- type: StringConstructor;
1143
- default: string;
1144
- };
1145
- modelValue: {
1146
- type: StringConstructor;
1147
- default: string;
1148
- };
1149
- required: {
1150
- type: BooleanConstructor;
1151
- default: boolean;
1152
- };
1153
- disabled: {
1154
- type: BooleanConstructor;
1155
- default: boolean;
1156
- };
1157
- readonly: {
1158
- type: BooleanConstructor;
1159
- default: boolean;
1160
- };
1161
- showCharLength: {
1162
- type: BooleanConstructor;
1163
- default: boolean;
1164
- };
1165
- maxLength: {
1166
- type: NumberConstructor;
1167
- default: number;
1168
- };
1169
- tabIndex: {
1170
- type: NumberConstructor;
1171
- default: number;
1172
- };
1173
- autocomplete: {
1174
- type: StringConstructor;
1175
- default: string;
1176
- };
1177
- }>> & {
1178
- "onInput:blur"?: ((...args: any[]) => any) | undefined;
1179
- "onInput:focus"?: ((...args: any[]) => any) | undefined;
1180
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1181
- "onKeydown:enter"?: ((...args: any[]) => any) | undefined;
1182
- }, {
1183
- disabled: boolean;
1184
- theme: keyof Themes_2;
1185
- modelValue: string;
1186
- placeholder: string;
1187
- readonly: boolean;
1188
- required: boolean;
1189
- autocomplete: string;
1190
- helperLabel: string;
1191
- errorLabel: string;
1192
- tabIndex: number;
1193
- rows: string;
1194
- cols: string;
1195
- showCharLength: boolean;
1196
- maxLength: number;
1197
- }, {}>;
1198
-
1199
- export declare const FusionTextLink: DefineComponent<{
1200
- theme: {
1201
- type: PropType<keyof Themes_2>;
1202
- default: string;
1203
- };
1204
- id: {
1205
- type: StringConstructor;
1206
- required: true;
1207
- };
1208
- label: {
1209
- type: StringConstructor;
1210
- required: true;
1211
- };
1212
- href: {
1213
- type: StringConstructor;
1214
- required: true;
1215
- };
1216
- variantType: {
1217
- type: PropType<keyof VariantTypes>;
1218
- required: false;
1219
- default: string;
1220
- };
1221
- size: {
1222
- type: PropType<keyof Sizes>;
1223
- required: false;
1224
- default: string;
1225
- };
1226
- tabIndex: {
1227
- type: StringConstructor;
1228
- default: string;
1229
- };
1230
- disabled: {
1231
- type: BooleanConstructor;
1232
- default: boolean;
1233
- };
1234
- showIcon: {
1235
- type: BooleanConstructor;
1236
- default: boolean;
1237
- };
1238
- iconPlacement: {
1239
- type: PropType<keyof FusionTextLinkIconPlacement>;
1240
- required: false;
1241
- default: string;
1242
- };
1243
- }, unknown, {
1244
- styleVariables: {};
1245
- interactionStates: {
1246
- focused: boolean;
1247
- hover: boolean;
1248
- };
1249
- }, {
1250
- styleStates(): {
1251
- focused: boolean;
1252
- hover: boolean;
1253
- disabled: boolean;
1254
- theme: keyof Themes_2;
1255
- variantType: keyof VariantTypes;
1256
- size: keyof Sizes;
1257
- showIcon: boolean;
1258
- iconPlacement: keyof FusionTextLinkIconPlacement;
1259
- };
1260
- }, {
1261
- loadStyleVariables: (newStates: FusionTextLinkStates) => void;
1262
- handleFocus: () => void;
1263
- handleBlur: () => void;
1264
- handleMouseover: () => void;
1265
- handleMouseleave: () => void;
1266
- }, ComponentOptionsMixin, ComponentOptionsMixin, ("input:blur" | "input:focus")[], "input:blur" | "input:focus", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
1267
- theme: {
1268
- type: PropType<keyof Themes_2>;
1269
- default: string;
1270
- };
1271
- id: {
1272
- type: StringConstructor;
1273
- required: true;
1274
- };
1275
- label: {
1276
- type: StringConstructor;
1277
- required: true;
1278
- };
1279
- href: {
1280
- type: StringConstructor;
1281
- required: true;
1282
- };
1283
- variantType: {
1284
- type: PropType<keyof VariantTypes>;
1285
- required: false;
1286
- default: string;
1287
- };
1288
- size: {
1289
- type: PropType<keyof Sizes>;
1290
- required: false;
1291
- default: string;
1292
- };
1293
- tabIndex: {
1294
- type: StringConstructor;
1295
- default: string;
1296
- };
1297
- disabled: {
1298
- type: BooleanConstructor;
1299
- default: boolean;
1300
- };
1301
- showIcon: {
1302
- type: BooleanConstructor;
1303
- default: boolean;
1304
- };
1305
- iconPlacement: {
1306
- type: PropType<keyof FusionTextLinkIconPlacement>;
1307
- required: false;
1308
- default: string;
1309
- };
1310
- }>> & {
1311
- "onInput:blur"?: ((...args: any[]) => any) | undefined;
1312
- "onInput:focus"?: ((...args: any[]) => any) | undefined;
1313
- }, {
1314
- disabled: boolean;
1315
- theme: keyof Themes_2;
1316
- variantType: keyof VariantTypes;
1317
- size: keyof Sizes;
1318
- tabIndex: string;
1319
- showIcon: boolean;
1320
- iconPlacement: keyof FusionTextLinkIconPlacement;
1321
- }, {}>;
1322
-
1323
- export { }