@nuxt/ui 2.18.5 → 2.18.6
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/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/data/Table.vue +3 -3
- package/dist/runtime/components/data/Table.vue.d.ts +281 -17
- package/dist/runtime/components/elements/Accordion.vue.d.ts +119 -11
- package/dist/runtime/components/elements/Alert.vue.d.ts +203 -15
- package/dist/runtime/components/elements/Avatar.vue.d.ts +66 -4
- package/dist/runtime/components/elements/AvatarGroup.d.ts +7 -1
- package/dist/runtime/components/elements/Badge.vue.d.ts +40 -4
- package/dist/runtime/components/elements/Button.vue.d.ts +91 -8
- package/dist/runtime/components/elements/ButtonGroup.d.ts +103 -2
- package/dist/runtime/components/elements/Carousel.vue.d.ts +121 -11
- package/dist/runtime/components/elements/Chip.vue.d.ts +41 -4
- package/dist/runtime/components/elements/Dropdown.vue.d.ts +152 -10
- package/dist/runtime/components/elements/Kbd.vue.d.ts +23 -4
- package/dist/runtime/components/elements/Link.vue.d.ts +2 -2
- package/dist/runtime/components/elements/Meter.vue.d.ts +83 -4
- package/dist/runtime/components/elements/MeterGroup.d.ts +54 -2
- package/dist/runtime/components/elements/Progress.vue.d.ts +81 -4
- package/dist/runtime/components/forms/Checkbox.vue.d.ts +25 -4
- package/dist/runtime/components/forms/FormGroup.vue.d.ts +32 -4
- package/dist/runtime/components/forms/Input.vue.d.ts +121 -5
- package/dist/runtime/components/forms/InputMenu.vue.d.ts +251 -11
- package/dist/runtime/components/forms/Radio.vue.d.ts +24 -4
- package/dist/runtime/components/forms/RadioGroup.vue.d.ts +61 -10
- package/dist/runtime/components/forms/Range.vue.d.ts +70 -4
- package/dist/runtime/components/forms/Select.vue.d.ts +117 -4
- package/dist/runtime/components/forms/SelectMenu.vue +1 -1
- package/dist/runtime/components/forms/SelectMenu.vue.d.ts +258 -11
- package/dist/runtime/components/forms/Textarea.vue.d.ts +120 -5
- package/dist/runtime/components/forms/Toggle.vue.d.ts +69 -4
- package/dist/runtime/components/layout/Card.vue.d.ts +30 -4
- package/dist/runtime/components/layout/Container.vue.d.ts +12 -4
- package/dist/runtime/components/layout/Divider.vue.d.ts +124 -8
- package/dist/runtime/components/layout/Skeleton.vue.d.ts +12 -4
- package/dist/runtime/components/navigation/Breadcrumb.vue.d.ts +29 -6
- package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +256 -18
- package/dist/runtime/components/navigation/CommandPaletteGroup.vue.d.ts +87 -6
- package/dist/runtime/components/navigation/HorizontalNavigation.vue.d.ts +139 -12
- package/dist/runtime/components/navigation/Pagination.vue.d.ts +131 -11
- package/dist/runtime/components/navigation/Tabs.vue.d.ts +41 -4
- package/dist/runtime/components/navigation/VerticalNavigation.vue.d.ts +269 -19
- package/dist/runtime/components/overlays/ContextMenu.vue.d.ts +37 -4
- package/dist/runtime/components/overlays/Modal.vue +2 -2
- package/dist/runtime/components/overlays/Modal.vue.d.ts +50 -5
- package/dist/runtime/components/overlays/Notification.vue.d.ts +212 -15
- package/dist/runtime/components/overlays/Notifications.vue.d.ts +224 -18
- package/dist/runtime/components/overlays/Popover.vue.d.ts +53 -4
- package/dist/runtime/components/overlays/Slideover.vue +2 -2
- package/dist/runtime/components/overlays/Slideover.vue.d.ts +49 -5
- package/dist/runtime/components/overlays/Tooltip.vue.d.ts +65 -7
- package/dist/runtime/composables/useFormGroup.js +1 -1
- package/dist/runtime/composables/useUI.d.ts +2 -2
- package/dist/runtime/composables/useUI.js +1 -1
- package/dist/runtime/ui.config/navigation/tabs.js +1 -1
- package/package.json +4 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType, ComputedRef } from 'vue';
|
|
2
|
-
import type { SelectSize, SelectColor, SelectVariant, Strategy } from '../../types/index.js';
|
|
2
|
+
import type { SelectSize, SelectColor, SelectVariant, Strategy, DeepPartial } from '../../types/index.js';
|
|
3
3
|
declare const config: {
|
|
4
4
|
form: string;
|
|
5
5
|
placeholder: string;
|
|
@@ -203,7 +203,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
203
203
|
default: () => "";
|
|
204
204
|
};
|
|
205
205
|
ui: {
|
|
206
|
-
type: PropType<
|
|
206
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
207
207
|
strategy?: Strategy;
|
|
208
208
|
}>;
|
|
209
209
|
default: () => {};
|
|
@@ -435,7 +435,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
435
435
|
default: () => "";
|
|
436
436
|
};
|
|
437
437
|
ui: {
|
|
438
|
-
type: PropType<
|
|
438
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
439
439
|
strategy?: Strategy;
|
|
440
440
|
}>;
|
|
441
441
|
default: () => {};
|
|
@@ -452,7 +452,120 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
452
452
|
leading: boolean;
|
|
453
453
|
color: SelectColor;
|
|
454
454
|
variant: SelectVariant;
|
|
455
|
-
ui: {
|
|
455
|
+
ui: {
|
|
456
|
+
form?: string;
|
|
457
|
+
placeholder?: string;
|
|
458
|
+
default?: DeepPartial<{
|
|
459
|
+
size: string;
|
|
460
|
+
color: string;
|
|
461
|
+
variant: string;
|
|
462
|
+
loadingIcon: string;
|
|
463
|
+
trailingIcon: string;
|
|
464
|
+
}, any>;
|
|
465
|
+
wrapper?: string;
|
|
466
|
+
base?: string;
|
|
467
|
+
rounded?: string;
|
|
468
|
+
file?: DeepPartial<{
|
|
469
|
+
base: string;
|
|
470
|
+
}, any>;
|
|
471
|
+
size?: DeepPartial<{
|
|
472
|
+
'2xs': string;
|
|
473
|
+
xs: string;
|
|
474
|
+
sm: string;
|
|
475
|
+
md: string;
|
|
476
|
+
lg: string;
|
|
477
|
+
xl: string;
|
|
478
|
+
}, any>;
|
|
479
|
+
gap?: DeepPartial<{
|
|
480
|
+
'2xs': string;
|
|
481
|
+
xs: string;
|
|
482
|
+
sm: string;
|
|
483
|
+
md: string;
|
|
484
|
+
lg: string;
|
|
485
|
+
xl: string;
|
|
486
|
+
}, any>;
|
|
487
|
+
padding?: DeepPartial<{
|
|
488
|
+
'2xs': string;
|
|
489
|
+
xs: string;
|
|
490
|
+
sm: string;
|
|
491
|
+
md: string;
|
|
492
|
+
lg: string;
|
|
493
|
+
xl: string;
|
|
494
|
+
}, any>;
|
|
495
|
+
leading?: DeepPartial<{
|
|
496
|
+
padding: {
|
|
497
|
+
'2xs': string;
|
|
498
|
+
xs: string;
|
|
499
|
+
sm: string;
|
|
500
|
+
md: string;
|
|
501
|
+
lg: string;
|
|
502
|
+
xl: string;
|
|
503
|
+
};
|
|
504
|
+
}, any>;
|
|
505
|
+
trailing?: DeepPartial<{
|
|
506
|
+
padding: {
|
|
507
|
+
'2xs': string;
|
|
508
|
+
xs: string;
|
|
509
|
+
sm: string;
|
|
510
|
+
md: string;
|
|
511
|
+
lg: string;
|
|
512
|
+
xl: string;
|
|
513
|
+
};
|
|
514
|
+
}, any>;
|
|
515
|
+
color?: DeepPartial<{
|
|
516
|
+
white: {
|
|
517
|
+
outline: string;
|
|
518
|
+
};
|
|
519
|
+
gray: {
|
|
520
|
+
outline: string;
|
|
521
|
+
};
|
|
522
|
+
}, any>;
|
|
523
|
+
variant?: DeepPartial<{
|
|
524
|
+
outline: string;
|
|
525
|
+
none: string;
|
|
526
|
+
}, any>;
|
|
527
|
+
icon?: DeepPartial<{
|
|
528
|
+
base: string;
|
|
529
|
+
color: string;
|
|
530
|
+
loading: string;
|
|
531
|
+
size: {
|
|
532
|
+
'2xs': string;
|
|
533
|
+
xs: string;
|
|
534
|
+
sm: string;
|
|
535
|
+
md: string;
|
|
536
|
+
lg: string;
|
|
537
|
+
xl: string;
|
|
538
|
+
};
|
|
539
|
+
leading: {
|
|
540
|
+
wrapper: string;
|
|
541
|
+
pointer: string;
|
|
542
|
+
padding: {
|
|
543
|
+
'2xs': string;
|
|
544
|
+
xs: string;
|
|
545
|
+
sm: string;
|
|
546
|
+
md: string;
|
|
547
|
+
lg: string;
|
|
548
|
+
xl: string;
|
|
549
|
+
};
|
|
550
|
+
};
|
|
551
|
+
trailing: {
|
|
552
|
+
wrapper: string;
|
|
553
|
+
pointer: string;
|
|
554
|
+
padding: {
|
|
555
|
+
'2xs': string;
|
|
556
|
+
xs: string;
|
|
557
|
+
sm: string;
|
|
558
|
+
md: string;
|
|
559
|
+
lg: string;
|
|
560
|
+
xl: string;
|
|
561
|
+
};
|
|
562
|
+
};
|
|
563
|
+
}, any>;
|
|
564
|
+
} & {
|
|
565
|
+
[key: string]: any;
|
|
566
|
+
} & {
|
|
567
|
+
strategy?: Strategy;
|
|
568
|
+
};
|
|
456
569
|
id: string;
|
|
457
570
|
icon: string;
|
|
458
571
|
options: unknown[];
|
|
@@ -393,7 +393,7 @@ export default defineComponent({
|
|
|
393
393
|
variant?.replaceAll("{color}", color.value),
|
|
394
394
|
(isLeading.value || slots.leading) && ui.value.leading.padding[size.value],
|
|
395
395
|
(isTrailing.value || slots.trailing) && ui.value.trailing.padding[size.value]
|
|
396
|
-
), props.placeholder && !props.modelValue && ui.value.placeholder, props.selectClass);
|
|
396
|
+
), props.placeholder && (!props.modelValue || Array.isArray(props.modelValue) && !props.modelValue.length) && ui.value.placeholder, props.selectClass);
|
|
397
397
|
});
|
|
398
398
|
const isLeading = computed(() => {
|
|
399
399
|
return props.icon && props.leading || props.icon && !props.trailing || props.loading && !props.trailing || props.leadingIcon;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { SelectSize, SelectColor, SelectVariant, PopperOptions, Strategy } from '../../types/index.js';
|
|
2
|
+
import type { SelectSize, SelectColor, SelectVariant, PopperOptions, Strategy, DeepPartial } from '../../types/index.js';
|
|
3
3
|
declare const config: {
|
|
4
4
|
form: string;
|
|
5
5
|
placeholder: string;
|
|
@@ -327,13 +327,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
327
327
|
default: () => "";
|
|
328
328
|
};
|
|
329
329
|
ui: {
|
|
330
|
-
type: PropType<
|
|
330
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
331
331
|
strategy?: Strategy;
|
|
332
332
|
}>;
|
|
333
333
|
default: () => {};
|
|
334
334
|
};
|
|
335
335
|
uiMenu: {
|
|
336
|
-
type: PropType<
|
|
336
|
+
type: PropType<DeepPartial<typeof configMenu> & {
|
|
337
337
|
strategy?: Strategy;
|
|
338
338
|
}>;
|
|
339
339
|
default: () => {};
|
|
@@ -692,13 +692,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
692
692
|
default: () => "";
|
|
693
693
|
};
|
|
694
694
|
ui: {
|
|
695
|
-
type: PropType<
|
|
695
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
696
696
|
strategy?: Strategy;
|
|
697
697
|
}>;
|
|
698
698
|
default: () => {};
|
|
699
699
|
};
|
|
700
700
|
uiMenu: {
|
|
701
|
-
type: PropType<
|
|
701
|
+
type: PropType<DeepPartial<typeof configMenu> & {
|
|
702
702
|
strategy?: Strategy;
|
|
703
703
|
}>;
|
|
704
704
|
default: () => {};
|
|
@@ -719,7 +719,121 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
719
719
|
popper: PopperOptions;
|
|
720
720
|
color: SelectColor;
|
|
721
721
|
variant: SelectVariant;
|
|
722
|
-
|
|
722
|
+
query: string;
|
|
723
|
+
ui: {
|
|
724
|
+
form?: string;
|
|
725
|
+
placeholder?: string;
|
|
726
|
+
default?: DeepPartial<{
|
|
727
|
+
size: string;
|
|
728
|
+
color: string;
|
|
729
|
+
variant: string;
|
|
730
|
+
loadingIcon: string;
|
|
731
|
+
trailingIcon: string;
|
|
732
|
+
}, any>;
|
|
733
|
+
wrapper?: string;
|
|
734
|
+
base?: string;
|
|
735
|
+
rounded?: string;
|
|
736
|
+
file?: DeepPartial<{
|
|
737
|
+
base: string;
|
|
738
|
+
}, any>;
|
|
739
|
+
size?: DeepPartial<{
|
|
740
|
+
'2xs': string;
|
|
741
|
+
xs: string;
|
|
742
|
+
sm: string;
|
|
743
|
+
md: string;
|
|
744
|
+
lg: string;
|
|
745
|
+
xl: string;
|
|
746
|
+
}, any>;
|
|
747
|
+
gap?: DeepPartial<{
|
|
748
|
+
'2xs': string;
|
|
749
|
+
xs: string;
|
|
750
|
+
sm: string;
|
|
751
|
+
md: string;
|
|
752
|
+
lg: string;
|
|
753
|
+
xl: string;
|
|
754
|
+
}, any>;
|
|
755
|
+
padding?: DeepPartial<{
|
|
756
|
+
'2xs': string;
|
|
757
|
+
xs: string;
|
|
758
|
+
sm: string;
|
|
759
|
+
md: string;
|
|
760
|
+
lg: string;
|
|
761
|
+
xl: string;
|
|
762
|
+
}, any>;
|
|
763
|
+
leading?: DeepPartial<{
|
|
764
|
+
padding: {
|
|
765
|
+
'2xs': string;
|
|
766
|
+
xs: string;
|
|
767
|
+
sm: string;
|
|
768
|
+
md: string;
|
|
769
|
+
lg: string;
|
|
770
|
+
xl: string;
|
|
771
|
+
};
|
|
772
|
+
}, any>;
|
|
773
|
+
trailing?: DeepPartial<{
|
|
774
|
+
padding: {
|
|
775
|
+
'2xs': string;
|
|
776
|
+
xs: string;
|
|
777
|
+
sm: string;
|
|
778
|
+
md: string;
|
|
779
|
+
lg: string;
|
|
780
|
+
xl: string;
|
|
781
|
+
};
|
|
782
|
+
}, any>;
|
|
783
|
+
color?: DeepPartial<{
|
|
784
|
+
white: {
|
|
785
|
+
outline: string;
|
|
786
|
+
};
|
|
787
|
+
gray: {
|
|
788
|
+
outline: string;
|
|
789
|
+
};
|
|
790
|
+
}, any>;
|
|
791
|
+
variant?: DeepPartial<{
|
|
792
|
+
outline: string;
|
|
793
|
+
none: string;
|
|
794
|
+
}, any>;
|
|
795
|
+
icon?: DeepPartial<{
|
|
796
|
+
base: string;
|
|
797
|
+
color: string;
|
|
798
|
+
loading: string;
|
|
799
|
+
size: {
|
|
800
|
+
'2xs': string;
|
|
801
|
+
xs: string;
|
|
802
|
+
sm: string;
|
|
803
|
+
md: string;
|
|
804
|
+
lg: string;
|
|
805
|
+
xl: string;
|
|
806
|
+
};
|
|
807
|
+
leading: {
|
|
808
|
+
wrapper: string;
|
|
809
|
+
pointer: string;
|
|
810
|
+
padding: {
|
|
811
|
+
'2xs': string;
|
|
812
|
+
xs: string;
|
|
813
|
+
sm: string;
|
|
814
|
+
md: string;
|
|
815
|
+
lg: string;
|
|
816
|
+
xl: string;
|
|
817
|
+
};
|
|
818
|
+
};
|
|
819
|
+
trailing: {
|
|
820
|
+
wrapper: string;
|
|
821
|
+
pointer: string;
|
|
822
|
+
padding: {
|
|
823
|
+
'2xs': string;
|
|
824
|
+
xs: string;
|
|
825
|
+
sm: string;
|
|
826
|
+
md: string;
|
|
827
|
+
lg: string;
|
|
828
|
+
xl: string;
|
|
829
|
+
};
|
|
830
|
+
};
|
|
831
|
+
}, any>;
|
|
832
|
+
} & {
|
|
833
|
+
[key: string]: any;
|
|
834
|
+
} & {
|
|
835
|
+
strategy?: Strategy;
|
|
836
|
+
};
|
|
723
837
|
id: string;
|
|
724
838
|
icon: string;
|
|
725
839
|
options: string[] | {
|
|
@@ -736,13 +850,84 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
736
850
|
by: string;
|
|
737
851
|
multiple: boolean;
|
|
738
852
|
placeholder: string;
|
|
739
|
-
query: string;
|
|
740
853
|
selectedIcon: string;
|
|
741
854
|
optionAttribute: string;
|
|
742
855
|
valueAttribute: string;
|
|
743
856
|
searchAttributes: unknown[];
|
|
744
857
|
debounce: number;
|
|
745
|
-
uiMenu: {
|
|
858
|
+
uiMenu: {
|
|
859
|
+
select?: string;
|
|
860
|
+
input?: string;
|
|
861
|
+
required?: string;
|
|
862
|
+
label?: string;
|
|
863
|
+
option?: DeepPartial<{
|
|
864
|
+
create: string;
|
|
865
|
+
base: string;
|
|
866
|
+
rounded: string;
|
|
867
|
+
padding: string;
|
|
868
|
+
size: string;
|
|
869
|
+
color: string;
|
|
870
|
+
container: string;
|
|
871
|
+
active: string;
|
|
872
|
+
inactive: string;
|
|
873
|
+
selected: string;
|
|
874
|
+
disabled: string;
|
|
875
|
+
empty: string;
|
|
876
|
+
icon: {
|
|
877
|
+
base: string;
|
|
878
|
+
active: string;
|
|
879
|
+
inactive: string;
|
|
880
|
+
};
|
|
881
|
+
selectedIcon: {
|
|
882
|
+
wrapper: string;
|
|
883
|
+
padding: string;
|
|
884
|
+
base: string;
|
|
885
|
+
};
|
|
886
|
+
avatar: {
|
|
887
|
+
base: string;
|
|
888
|
+
size: "2xs";
|
|
889
|
+
};
|
|
890
|
+
chip: {
|
|
891
|
+
base: string;
|
|
892
|
+
};
|
|
893
|
+
}, any>;
|
|
894
|
+
transition?: DeepPartial<{
|
|
895
|
+
leaveActiveClass: string;
|
|
896
|
+
leaveFromClass: string;
|
|
897
|
+
leaveToClass: string;
|
|
898
|
+
}, any>;
|
|
899
|
+
popper?: DeepPartial<{
|
|
900
|
+
placement: string;
|
|
901
|
+
}, any>;
|
|
902
|
+
default?: DeepPartial<{
|
|
903
|
+
selectedIcon: string;
|
|
904
|
+
clearSearchOnClose: boolean;
|
|
905
|
+
showCreateOptionWhen: string;
|
|
906
|
+
}, any>;
|
|
907
|
+
arrow?: DeepPartial<{
|
|
908
|
+
ring: string;
|
|
909
|
+
background: string;
|
|
910
|
+
base: string;
|
|
911
|
+
rounded: string;
|
|
912
|
+
shadow: string;
|
|
913
|
+
placement: string;
|
|
914
|
+
}, any>;
|
|
915
|
+
container?: string;
|
|
916
|
+
trigger?: string;
|
|
917
|
+
width?: string;
|
|
918
|
+
height?: string;
|
|
919
|
+
base?: string;
|
|
920
|
+
background?: string;
|
|
921
|
+
shadow?: string;
|
|
922
|
+
rounded?: string;
|
|
923
|
+
padding?: string;
|
|
924
|
+
ring?: string;
|
|
925
|
+
empty?: string;
|
|
926
|
+
} & {
|
|
927
|
+
[key: string]: any;
|
|
928
|
+
} & {
|
|
929
|
+
strategy?: Strategy;
|
|
930
|
+
};
|
|
746
931
|
selectClass: string;
|
|
747
932
|
searchable: boolean | ((query: string) => Promise<any[]> | any[]);
|
|
748
933
|
searchablePlaceholder: string;
|
|
@@ -1341,7 +1526,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1341
1526
|
default: () => "";
|
|
1342
1527
|
};
|
|
1343
1528
|
ui: {
|
|
1344
|
-
type: PropType<
|
|
1529
|
+
type: PropType<DeepPartial<{
|
|
1345
1530
|
wrapper: string;
|
|
1346
1531
|
background: string;
|
|
1347
1532
|
rounded: string;
|
|
@@ -1524,7 +1709,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1524
1709
|
default: () => "";
|
|
1525
1710
|
};
|
|
1526
1711
|
ui: {
|
|
1527
|
-
type: PropType<
|
|
1712
|
+
type: PropType<DeepPartial<{
|
|
1528
1713
|
wrapper: string;
|
|
1529
1714
|
background: string;
|
|
1530
1715
|
rounded: string;
|
|
@@ -1593,7 +1778,69 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1593
1778
|
as: string | Record<string, any>;
|
|
1594
1779
|
text: string;
|
|
1595
1780
|
alt: string;
|
|
1596
|
-
ui: {
|
|
1781
|
+
ui: {
|
|
1782
|
+
wrapper?: string;
|
|
1783
|
+
background?: string;
|
|
1784
|
+
rounded?: string;
|
|
1785
|
+
text?: string;
|
|
1786
|
+
placeholder?: string;
|
|
1787
|
+
size?: DeepPartial<{
|
|
1788
|
+
'3xs': string;
|
|
1789
|
+
'2xs': string;
|
|
1790
|
+
xs: string;
|
|
1791
|
+
sm: string;
|
|
1792
|
+
md: string;
|
|
1793
|
+
lg: string;
|
|
1794
|
+
xl: string;
|
|
1795
|
+
'2xl': string;
|
|
1796
|
+
'3xl': string;
|
|
1797
|
+
}, any>;
|
|
1798
|
+
chip?: DeepPartial<{
|
|
1799
|
+
base: string;
|
|
1800
|
+
background: string;
|
|
1801
|
+
position: {
|
|
1802
|
+
'top-right': string;
|
|
1803
|
+
'bottom-right': string;
|
|
1804
|
+
'top-left': string;
|
|
1805
|
+
'bottom-left': string;
|
|
1806
|
+
};
|
|
1807
|
+
size: {
|
|
1808
|
+
'3xs': string;
|
|
1809
|
+
'2xs': string;
|
|
1810
|
+
xs: string;
|
|
1811
|
+
sm: string;
|
|
1812
|
+
md: string;
|
|
1813
|
+
lg: string;
|
|
1814
|
+
xl: string;
|
|
1815
|
+
'2xl': string;
|
|
1816
|
+
'3xl': string;
|
|
1817
|
+
};
|
|
1818
|
+
}, any>;
|
|
1819
|
+
icon?: DeepPartial<{
|
|
1820
|
+
base: string;
|
|
1821
|
+
size: {
|
|
1822
|
+
'3xs': string;
|
|
1823
|
+
'2xs': string;
|
|
1824
|
+
xs: string;
|
|
1825
|
+
sm: string;
|
|
1826
|
+
md: string;
|
|
1827
|
+
lg: string;
|
|
1828
|
+
xl: string;
|
|
1829
|
+
'2xl': string;
|
|
1830
|
+
'3xl': string;
|
|
1831
|
+
};
|
|
1832
|
+
}, any>;
|
|
1833
|
+
default?: DeepPartial<{
|
|
1834
|
+
size: string;
|
|
1835
|
+
icon: any;
|
|
1836
|
+
chipColor: any;
|
|
1837
|
+
chipPosition: string;
|
|
1838
|
+
}, any>;
|
|
1839
|
+
} & {
|
|
1840
|
+
[key: string]: any;
|
|
1841
|
+
} & {
|
|
1842
|
+
strategy?: Strategy;
|
|
1843
|
+
};
|
|
1597
1844
|
icon: string;
|
|
1598
1845
|
src: string | boolean;
|
|
1599
1846
|
chipColor: import("../../types/avatar").AvatarChipColor;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { TextareaSize, TextareaColor, TextareaVariant, Strategy } from '../../types/index.js';
|
|
2
|
+
import type { TextareaSize, TextareaColor, TextareaVariant, Strategy, DeepPartial } from '../../types/index.js';
|
|
3
3
|
declare const config: {
|
|
4
4
|
form: string;
|
|
5
5
|
default: {
|
|
@@ -185,7 +185,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
185
185
|
default: () => "";
|
|
186
186
|
};
|
|
187
187
|
ui: {
|
|
188
|
-
type: PropType<
|
|
188
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
189
189
|
strategy?: Strategy;
|
|
190
190
|
}>;
|
|
191
191
|
default: () => {};
|
|
@@ -394,7 +394,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
394
394
|
default: () => "";
|
|
395
395
|
};
|
|
396
396
|
ui: {
|
|
397
|
-
type: PropType<
|
|
397
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
398
398
|
strategy?: Strategy;
|
|
399
399
|
}>;
|
|
400
400
|
default: () => {};
|
|
@@ -420,7 +420,118 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
420
420
|
resize: boolean;
|
|
421
421
|
color: TextareaColor;
|
|
422
422
|
variant: TextareaVariant;
|
|
423
|
-
ui: {
|
|
423
|
+
ui: {
|
|
424
|
+
form?: string;
|
|
425
|
+
default?: DeepPartial<{
|
|
426
|
+
size: string;
|
|
427
|
+
color: string;
|
|
428
|
+
variant: string;
|
|
429
|
+
}, any>;
|
|
430
|
+
wrapper?: string;
|
|
431
|
+
base?: string;
|
|
432
|
+
rounded?: string;
|
|
433
|
+
placeholder?: string;
|
|
434
|
+
file?: DeepPartial<{
|
|
435
|
+
base: string;
|
|
436
|
+
}, any>;
|
|
437
|
+
size?: DeepPartial<{
|
|
438
|
+
'2xs': string;
|
|
439
|
+
xs: string;
|
|
440
|
+
sm: string;
|
|
441
|
+
md: string;
|
|
442
|
+
lg: string;
|
|
443
|
+
xl: string;
|
|
444
|
+
}, any>;
|
|
445
|
+
gap?: DeepPartial<{
|
|
446
|
+
'2xs': string;
|
|
447
|
+
xs: string;
|
|
448
|
+
sm: string;
|
|
449
|
+
md: string;
|
|
450
|
+
lg: string;
|
|
451
|
+
xl: string;
|
|
452
|
+
}, any>;
|
|
453
|
+
padding?: DeepPartial<{
|
|
454
|
+
'2xs': string;
|
|
455
|
+
xs: string;
|
|
456
|
+
sm: string;
|
|
457
|
+
md: string;
|
|
458
|
+
lg: string;
|
|
459
|
+
xl: string;
|
|
460
|
+
}, any>;
|
|
461
|
+
leading?: DeepPartial<{
|
|
462
|
+
padding: {
|
|
463
|
+
'2xs': string;
|
|
464
|
+
xs: string;
|
|
465
|
+
sm: string;
|
|
466
|
+
md: string;
|
|
467
|
+
lg: string;
|
|
468
|
+
xl: string;
|
|
469
|
+
};
|
|
470
|
+
}, any>;
|
|
471
|
+
trailing?: DeepPartial<{
|
|
472
|
+
padding: {
|
|
473
|
+
'2xs': string;
|
|
474
|
+
xs: string;
|
|
475
|
+
sm: string;
|
|
476
|
+
md: string;
|
|
477
|
+
lg: string;
|
|
478
|
+
xl: string;
|
|
479
|
+
};
|
|
480
|
+
}, any>;
|
|
481
|
+
color?: DeepPartial<{
|
|
482
|
+
white: {
|
|
483
|
+
outline: string;
|
|
484
|
+
};
|
|
485
|
+
gray: {
|
|
486
|
+
outline: string;
|
|
487
|
+
};
|
|
488
|
+
}, any>;
|
|
489
|
+
variant?: DeepPartial<{
|
|
490
|
+
outline: string;
|
|
491
|
+
none: string;
|
|
492
|
+
}, any>;
|
|
493
|
+
icon?: DeepPartial<{
|
|
494
|
+
base: string;
|
|
495
|
+
color: string;
|
|
496
|
+
loading: string;
|
|
497
|
+
size: {
|
|
498
|
+
'2xs': string;
|
|
499
|
+
xs: string;
|
|
500
|
+
sm: string;
|
|
501
|
+
md: string;
|
|
502
|
+
lg: string;
|
|
503
|
+
xl: string;
|
|
504
|
+
};
|
|
505
|
+
leading: {
|
|
506
|
+
wrapper: string;
|
|
507
|
+
pointer: string;
|
|
508
|
+
padding: {
|
|
509
|
+
'2xs': string;
|
|
510
|
+
xs: string;
|
|
511
|
+
sm: string;
|
|
512
|
+
md: string;
|
|
513
|
+
lg: string;
|
|
514
|
+
xl: string;
|
|
515
|
+
};
|
|
516
|
+
};
|
|
517
|
+
trailing: {
|
|
518
|
+
wrapper: string;
|
|
519
|
+
pointer: string;
|
|
520
|
+
padding: {
|
|
521
|
+
'2xs': string;
|
|
522
|
+
xs: string;
|
|
523
|
+
sm: string;
|
|
524
|
+
md: string;
|
|
525
|
+
lg: string;
|
|
526
|
+
xl: string;
|
|
527
|
+
};
|
|
528
|
+
};
|
|
529
|
+
}, any>;
|
|
530
|
+
} & {
|
|
531
|
+
[key: string]: any;
|
|
532
|
+
} & {
|
|
533
|
+
strategy?: Strategy;
|
|
534
|
+
};
|
|
424
535
|
id: string;
|
|
425
536
|
modelValue: string | number;
|
|
426
537
|
padded: boolean;
|
|
@@ -428,7 +539,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
428
539
|
placeholder: string;
|
|
429
540
|
autofocus: boolean;
|
|
430
541
|
autofocusDelay: number;
|
|
431
|
-
modelModifiers: {
|
|
542
|
+
modelModifiers: {
|
|
543
|
+
trim?: boolean;
|
|
544
|
+
lazy?: boolean;
|
|
545
|
+
number?: boolean;
|
|
546
|
+
};
|
|
432
547
|
maxrows: number;
|
|
433
548
|
autoresize: boolean;
|
|
434
549
|
textareaClass: string;
|