@nuxt/ui 2.18.5 → 2.18.7
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 +285 -21
- package/dist/runtime/components/elements/Accordion.vue.d.ts +119 -11
- package/dist/runtime/components/elements/Alert.vue.d.ts +204 -16
- 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 +15 -6
- package/dist/runtime/components/elements/Carousel.vue.d.ts +130 -11
- package/dist/runtime/components/elements/Chip.vue.d.ts +41 -4
- package/dist/runtime/components/elements/Dropdown.vue +1 -1
- 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 +29 -8
- package/dist/runtime/components/forms/FormGroup.vue.d.ts +32 -4
- package/dist/runtime/components/forms/Input.vue.d.ts +123 -7
- package/dist/runtime/components/forms/InputMenu.vue.d.ts +254 -14
- package/dist/runtime/components/forms/Radio.vue.d.ts +28 -8
- package/dist/runtime/components/forms/RadioGroup.vue.d.ts +68 -17
- package/dist/runtime/components/forms/Range.vue.d.ts +72 -6
- package/dist/runtime/components/forms/Select.vue.d.ts +120 -7
- package/dist/runtime/components/forms/SelectMenu.vue +1 -1
- package/dist/runtime/components/forms/SelectMenu.vue.d.ts +261 -14
- package/dist/runtime/components/forms/Textarea.vue.d.ts +122 -7
- package/dist/runtime/components/forms/Toggle.vue.d.ts +71 -6
- 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 +213 -16
- package/dist/runtime/components/overlays/Notifications.vue.d.ts +225 -19
- package/dist/runtime/components/overlays/Popover.vue +1 -1
- 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 +5 -3
- package/dist/runtime/components/overlays/Tooltip.vue.d.ts +66 -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/elements/carousel.js +2 -2
- package/dist/runtime/ui.config/navigation/tabs.js +1 -1
- package/dist/runtime/utils/link.js +1 -1
- package/package.json +10 -10
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { InputSize, InputColor, InputVariant, PopperOptions, Strategy } from '../../types/index.js';
|
|
2
|
+
import type { InputSize, InputColor, InputVariant, PopperOptions, Strategy, DeepPartial } from '../../types/index.js';
|
|
3
3
|
declare const config: {
|
|
4
4
|
wrapper: string;
|
|
5
5
|
base: string;
|
|
@@ -174,7 +174,7 @@ declare const configMenu: {
|
|
|
174
174
|
};
|
|
175
175
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
176
176
|
modelValue: {
|
|
177
|
-
type:
|
|
177
|
+
type: PropType<string | number | object | Array<any> | null>;
|
|
178
178
|
default: string;
|
|
179
179
|
};
|
|
180
180
|
query: {
|
|
@@ -304,13 +304,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
304
304
|
default: () => "";
|
|
305
305
|
};
|
|
306
306
|
ui: {
|
|
307
|
-
type: PropType<
|
|
307
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
308
308
|
strategy?: Strategy;
|
|
309
309
|
}>;
|
|
310
310
|
default: () => {};
|
|
311
311
|
};
|
|
312
312
|
uiMenu: {
|
|
313
|
-
type: PropType<
|
|
313
|
+
type: PropType<DeepPartial<typeof configMenu> & {
|
|
314
314
|
strategy?: Strategy;
|
|
315
315
|
}>;
|
|
316
316
|
default: () => {};
|
|
@@ -512,7 +512,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
512
512
|
onQueryChange: (event: any) => void;
|
|
513
513
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "close" | "update:modelValue" | "open" | "update:query")[], "change" | "close" | "update:modelValue" | "open" | "update:query", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
514
514
|
modelValue: {
|
|
515
|
-
type:
|
|
515
|
+
type: PropType<string | number | object | Array<any> | null>;
|
|
516
516
|
default: string;
|
|
517
517
|
};
|
|
518
518
|
query: {
|
|
@@ -642,13 +642,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
642
642
|
default: () => "";
|
|
643
643
|
};
|
|
644
644
|
ui: {
|
|
645
|
-
type: PropType<
|
|
645
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
646
646
|
strategy?: Strategy;
|
|
647
647
|
}>;
|
|
648
648
|
default: () => {};
|
|
649
649
|
};
|
|
650
650
|
uiMenu: {
|
|
651
|
-
type: PropType<
|
|
651
|
+
type: PropType<DeepPartial<typeof configMenu> & {
|
|
652
652
|
strategy?: Strategy;
|
|
653
653
|
}>;
|
|
654
654
|
default: () => {};
|
|
@@ -670,14 +670,127 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
670
670
|
popper: PopperOptions;
|
|
671
671
|
color: InputColor;
|
|
672
672
|
variant: InputVariant;
|
|
673
|
-
|
|
673
|
+
query: string;
|
|
674
|
+
ui: {
|
|
675
|
+
wrapper?: string;
|
|
676
|
+
base?: string;
|
|
677
|
+
form?: string;
|
|
678
|
+
rounded?: string;
|
|
679
|
+
placeholder?: string;
|
|
680
|
+
file?: DeepPartial<{
|
|
681
|
+
base: string;
|
|
682
|
+
}, any>;
|
|
683
|
+
size?: DeepPartial<{
|
|
684
|
+
'2xs': string;
|
|
685
|
+
xs: string;
|
|
686
|
+
sm: string;
|
|
687
|
+
md: string;
|
|
688
|
+
lg: string;
|
|
689
|
+
xl: string;
|
|
690
|
+
}, any>;
|
|
691
|
+
gap?: DeepPartial<{
|
|
692
|
+
'2xs': string;
|
|
693
|
+
xs: string;
|
|
694
|
+
sm: string;
|
|
695
|
+
md: string;
|
|
696
|
+
lg: string;
|
|
697
|
+
xl: string;
|
|
698
|
+
}, any>;
|
|
699
|
+
padding?: DeepPartial<{
|
|
700
|
+
'2xs': string;
|
|
701
|
+
xs: string;
|
|
702
|
+
sm: string;
|
|
703
|
+
md: string;
|
|
704
|
+
lg: string;
|
|
705
|
+
xl: string;
|
|
706
|
+
}, any>;
|
|
707
|
+
leading?: DeepPartial<{
|
|
708
|
+
padding: {
|
|
709
|
+
'2xs': string;
|
|
710
|
+
xs: string;
|
|
711
|
+
sm: string;
|
|
712
|
+
md: string;
|
|
713
|
+
lg: string;
|
|
714
|
+
xl: string;
|
|
715
|
+
};
|
|
716
|
+
}, any>;
|
|
717
|
+
trailing?: DeepPartial<{
|
|
718
|
+
padding: {
|
|
719
|
+
'2xs': string;
|
|
720
|
+
xs: string;
|
|
721
|
+
sm: string;
|
|
722
|
+
md: string;
|
|
723
|
+
lg: string;
|
|
724
|
+
xl: string;
|
|
725
|
+
};
|
|
726
|
+
}, any>;
|
|
727
|
+
color?: DeepPartial<{
|
|
728
|
+
white: {
|
|
729
|
+
outline: string;
|
|
730
|
+
};
|
|
731
|
+
gray: {
|
|
732
|
+
outline: string;
|
|
733
|
+
};
|
|
734
|
+
}, any>;
|
|
735
|
+
variant?: DeepPartial<{
|
|
736
|
+
outline: string;
|
|
737
|
+
none: string;
|
|
738
|
+
}, any>;
|
|
739
|
+
icon?: DeepPartial<{
|
|
740
|
+
base: string;
|
|
741
|
+
color: string;
|
|
742
|
+
loading: string;
|
|
743
|
+
size: {
|
|
744
|
+
'2xs': string;
|
|
745
|
+
xs: string;
|
|
746
|
+
sm: string;
|
|
747
|
+
md: string;
|
|
748
|
+
lg: string;
|
|
749
|
+
xl: string;
|
|
750
|
+
};
|
|
751
|
+
leading: {
|
|
752
|
+
wrapper: string;
|
|
753
|
+
pointer: string;
|
|
754
|
+
padding: {
|
|
755
|
+
'2xs': string;
|
|
756
|
+
xs: string;
|
|
757
|
+
sm: string;
|
|
758
|
+
md: string;
|
|
759
|
+
lg: string;
|
|
760
|
+
xl: string;
|
|
761
|
+
};
|
|
762
|
+
};
|
|
763
|
+
trailing: {
|
|
764
|
+
wrapper: string;
|
|
765
|
+
pointer: string;
|
|
766
|
+
padding: {
|
|
767
|
+
'2xs': string;
|
|
768
|
+
xs: string;
|
|
769
|
+
sm: string;
|
|
770
|
+
md: string;
|
|
771
|
+
lg: string;
|
|
772
|
+
xl: string;
|
|
773
|
+
};
|
|
774
|
+
};
|
|
775
|
+
}, any>;
|
|
776
|
+
default?: DeepPartial<{
|
|
777
|
+
size: string;
|
|
778
|
+
color: string;
|
|
779
|
+
variant: string;
|
|
780
|
+
loadingIcon: string;
|
|
781
|
+
}, any>;
|
|
782
|
+
} & {
|
|
783
|
+
[key: string]: any;
|
|
784
|
+
} & {
|
|
785
|
+
strategy?: Strategy;
|
|
786
|
+
};
|
|
674
787
|
id: string;
|
|
675
788
|
icon: string;
|
|
676
789
|
options: string[] | {
|
|
677
790
|
[key: string]: any;
|
|
678
791
|
disabled?: boolean;
|
|
679
792
|
}[];
|
|
680
|
-
modelValue: string | number |
|
|
793
|
+
modelValue: string | number | object | any[];
|
|
681
794
|
loading: boolean;
|
|
682
795
|
padded: boolean;
|
|
683
796
|
loadingIcon: string;
|
|
@@ -688,14 +801,79 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
688
801
|
by: string;
|
|
689
802
|
placeholder: string;
|
|
690
803
|
nullable: boolean;
|
|
691
|
-
query: string;
|
|
692
804
|
selectedIcon: string;
|
|
693
805
|
optionAttribute: string;
|
|
694
806
|
valueAttribute: string;
|
|
695
807
|
searchAttributes: unknown[];
|
|
696
808
|
searchLazy: boolean;
|
|
697
809
|
debounce: number;
|
|
698
|
-
uiMenu: {
|
|
810
|
+
uiMenu: {
|
|
811
|
+
container?: string;
|
|
812
|
+
trigger?: string;
|
|
813
|
+
width?: string;
|
|
814
|
+
height?: string;
|
|
815
|
+
base?: string;
|
|
816
|
+
background?: string;
|
|
817
|
+
shadow?: string;
|
|
818
|
+
rounded?: string;
|
|
819
|
+
padding?: string;
|
|
820
|
+
ring?: string;
|
|
821
|
+
empty?: string;
|
|
822
|
+
option?: DeepPartial<{
|
|
823
|
+
base: string;
|
|
824
|
+
rounded: string;
|
|
825
|
+
padding: string;
|
|
826
|
+
size: string;
|
|
827
|
+
color: string;
|
|
828
|
+
container: string;
|
|
829
|
+
active: string;
|
|
830
|
+
inactive: string;
|
|
831
|
+
selected: string;
|
|
832
|
+
disabled: string;
|
|
833
|
+
empty: string;
|
|
834
|
+
icon: {
|
|
835
|
+
base: string;
|
|
836
|
+
active: string;
|
|
837
|
+
inactive: string;
|
|
838
|
+
};
|
|
839
|
+
selectedIcon: {
|
|
840
|
+
wrapper: string;
|
|
841
|
+
padding: string;
|
|
842
|
+
base: string;
|
|
843
|
+
};
|
|
844
|
+
avatar: {
|
|
845
|
+
base: string;
|
|
846
|
+
size: "2xs";
|
|
847
|
+
};
|
|
848
|
+
chip: {
|
|
849
|
+
base: string;
|
|
850
|
+
};
|
|
851
|
+
}, any>;
|
|
852
|
+
transition?: DeepPartial<{
|
|
853
|
+
leaveActiveClass: string;
|
|
854
|
+
leaveFromClass: string;
|
|
855
|
+
leaveToClass: string;
|
|
856
|
+
}, any>;
|
|
857
|
+
popper?: DeepPartial<{
|
|
858
|
+
placement: string;
|
|
859
|
+
}, any>;
|
|
860
|
+
default?: DeepPartial<{
|
|
861
|
+
selectedIcon: string;
|
|
862
|
+
trailingIcon: string;
|
|
863
|
+
}, any>;
|
|
864
|
+
arrow?: DeepPartial<{
|
|
865
|
+
ring: string;
|
|
866
|
+
background: string;
|
|
867
|
+
base: string;
|
|
868
|
+
rounded: string;
|
|
869
|
+
shadow: string;
|
|
870
|
+
placement: string;
|
|
871
|
+
}, any>;
|
|
872
|
+
} & {
|
|
873
|
+
[key: string]: any;
|
|
874
|
+
} & {
|
|
875
|
+
strategy?: Strategy;
|
|
876
|
+
};
|
|
699
877
|
}, {}, {
|
|
700
878
|
HCombobox: import("vue").DefineComponent<{
|
|
701
879
|
as: {
|
|
@@ -1087,7 +1265,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1087
1265
|
default: () => "";
|
|
1088
1266
|
};
|
|
1089
1267
|
ui: {
|
|
1090
|
-
type: PropType<
|
|
1268
|
+
type: PropType<DeepPartial<{
|
|
1091
1269
|
wrapper: string;
|
|
1092
1270
|
background: string;
|
|
1093
1271
|
rounded: string;
|
|
@@ -1270,7 +1448,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1270
1448
|
default: () => "";
|
|
1271
1449
|
};
|
|
1272
1450
|
ui: {
|
|
1273
|
-
type: PropType<
|
|
1451
|
+
type: PropType<DeepPartial<{
|
|
1274
1452
|
wrapper: string;
|
|
1275
1453
|
background: string;
|
|
1276
1454
|
rounded: string;
|
|
@@ -1339,7 +1517,69 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1339
1517
|
as: string | Record<string, any>;
|
|
1340
1518
|
text: string;
|
|
1341
1519
|
alt: string;
|
|
1342
|
-
ui: {
|
|
1520
|
+
ui: {
|
|
1521
|
+
wrapper?: string;
|
|
1522
|
+
background?: string;
|
|
1523
|
+
rounded?: string;
|
|
1524
|
+
text?: string;
|
|
1525
|
+
placeholder?: string;
|
|
1526
|
+
size?: DeepPartial<{
|
|
1527
|
+
'3xs': string;
|
|
1528
|
+
'2xs': string;
|
|
1529
|
+
xs: string;
|
|
1530
|
+
sm: string;
|
|
1531
|
+
md: string;
|
|
1532
|
+
lg: string;
|
|
1533
|
+
xl: string;
|
|
1534
|
+
'2xl': string;
|
|
1535
|
+
'3xl': string;
|
|
1536
|
+
}, any>;
|
|
1537
|
+
chip?: DeepPartial<{
|
|
1538
|
+
base: string;
|
|
1539
|
+
background: string;
|
|
1540
|
+
position: {
|
|
1541
|
+
'top-right': string;
|
|
1542
|
+
'bottom-right': string;
|
|
1543
|
+
'top-left': string;
|
|
1544
|
+
'bottom-left': string;
|
|
1545
|
+
};
|
|
1546
|
+
size: {
|
|
1547
|
+
'3xs': string;
|
|
1548
|
+
'2xs': string;
|
|
1549
|
+
xs: string;
|
|
1550
|
+
sm: string;
|
|
1551
|
+
md: string;
|
|
1552
|
+
lg: string;
|
|
1553
|
+
xl: string;
|
|
1554
|
+
'2xl': string;
|
|
1555
|
+
'3xl': string;
|
|
1556
|
+
};
|
|
1557
|
+
}, any>;
|
|
1558
|
+
icon?: DeepPartial<{
|
|
1559
|
+
base: string;
|
|
1560
|
+
size: {
|
|
1561
|
+
'3xs': string;
|
|
1562
|
+
'2xs': string;
|
|
1563
|
+
xs: string;
|
|
1564
|
+
sm: string;
|
|
1565
|
+
md: string;
|
|
1566
|
+
lg: string;
|
|
1567
|
+
xl: string;
|
|
1568
|
+
'2xl': string;
|
|
1569
|
+
'3xl': string;
|
|
1570
|
+
};
|
|
1571
|
+
}, any>;
|
|
1572
|
+
default?: DeepPartial<{
|
|
1573
|
+
size: string;
|
|
1574
|
+
icon: any;
|
|
1575
|
+
chipColor: any;
|
|
1576
|
+
chipPosition: string;
|
|
1577
|
+
}, any>;
|
|
1578
|
+
} & {
|
|
1579
|
+
[key: string]: any;
|
|
1580
|
+
} & {
|
|
1581
|
+
strategy?: Strategy;
|
|
1582
|
+
};
|
|
1343
1583
|
icon: string;
|
|
1344
1584
|
src: string | boolean;
|
|
1345
1585
|
chipColor: import("../../types/avatar").AvatarChipColor;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { Strategy } from '../../types/index.js';
|
|
2
|
+
import type { DeepPartial, Strategy } from '../../types/index.js';
|
|
3
3
|
import colors from '#ui-colors';
|
|
4
4
|
declare const config: {
|
|
5
5
|
wrapper: string;
|
|
@@ -28,7 +28,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
28
28
|
default: any;
|
|
29
29
|
};
|
|
30
30
|
modelValue: {
|
|
31
|
-
type:
|
|
31
|
+
type: PropType<string | number | boolean | object | null>;
|
|
32
32
|
default: any;
|
|
33
33
|
};
|
|
34
34
|
name: {
|
|
@@ -65,7 +65,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
65
65
|
default: () => "";
|
|
66
66
|
};
|
|
67
67
|
ui: {
|
|
68
|
-
type: PropType<
|
|
68
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
69
69
|
strategy?: Strategy;
|
|
70
70
|
}>;
|
|
71
71
|
default: () => {};
|
|
@@ -92,7 +92,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
92
92
|
attrs: import("vue").ComputedRef<Pick<{
|
|
93
93
|
[x: string]: unknown;
|
|
94
94
|
}, string>>;
|
|
95
|
-
pick: import("vue").WritableComputedRef<string | number | boolean |
|
|
95
|
+
pick: import("vue").WritableComputedRef<string | number | boolean | object, string | number | boolean | object>;
|
|
96
96
|
name: any;
|
|
97
97
|
inputClass: import("vue").ComputedRef<string>;
|
|
98
98
|
onChange: (event: Event) => void;
|
|
@@ -106,7 +106,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
106
106
|
default: any;
|
|
107
107
|
};
|
|
108
108
|
modelValue: {
|
|
109
|
-
type:
|
|
109
|
+
type: PropType<string | number | boolean | object | null>;
|
|
110
110
|
default: any;
|
|
111
111
|
};
|
|
112
112
|
name: {
|
|
@@ -143,7 +143,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
143
143
|
default: () => "";
|
|
144
144
|
};
|
|
145
145
|
ui: {
|
|
146
|
-
type: PropType<
|
|
146
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
147
147
|
strategy?: Strategy;
|
|
148
148
|
}>;
|
|
149
149
|
default: () => {};
|
|
@@ -158,9 +158,29 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
158
158
|
disabled: boolean;
|
|
159
159
|
color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
|
|
160
160
|
label: string;
|
|
161
|
-
ui: {
|
|
161
|
+
ui: {
|
|
162
|
+
wrapper?: string;
|
|
163
|
+
container?: string;
|
|
164
|
+
base?: string;
|
|
165
|
+
form?: string;
|
|
166
|
+
color?: string;
|
|
167
|
+
background?: string;
|
|
168
|
+
border?: string;
|
|
169
|
+
ring?: string;
|
|
170
|
+
inner?: string;
|
|
171
|
+
label?: string;
|
|
172
|
+
required?: string;
|
|
173
|
+
help?: string;
|
|
174
|
+
default?: DeepPartial<{
|
|
175
|
+
color: string;
|
|
176
|
+
}, any>;
|
|
177
|
+
} & {
|
|
178
|
+
[key: string]: any;
|
|
179
|
+
} & {
|
|
180
|
+
strategy?: Strategy;
|
|
181
|
+
};
|
|
162
182
|
id: string;
|
|
163
|
-
modelValue: string | number | boolean |
|
|
183
|
+
modelValue: string | number | boolean | object;
|
|
164
184
|
value: string | number | boolean;
|
|
165
185
|
help: string;
|
|
166
186
|
inputClass: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { Strategy } from '../../types/index.js';
|
|
2
|
+
import type { DeepPartial, Strategy } from '../../types/index.js';
|
|
3
3
|
import colors from '#ui-colors';
|
|
4
4
|
declare const config: {
|
|
5
5
|
wrapper: string;
|
|
@@ -28,7 +28,7 @@ declare const configRadio: {
|
|
|
28
28
|
};
|
|
29
29
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
30
30
|
modelValue: {
|
|
31
|
-
type:
|
|
31
|
+
type: PropType<string | number | boolean | object | null>;
|
|
32
32
|
default: string;
|
|
33
33
|
};
|
|
34
34
|
name: {
|
|
@@ -65,13 +65,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
65
65
|
default: () => "";
|
|
66
66
|
};
|
|
67
67
|
ui: {
|
|
68
|
-
type: PropType<
|
|
68
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
69
69
|
strategy?: Strategy;
|
|
70
70
|
}>;
|
|
71
71
|
default: () => {};
|
|
72
72
|
};
|
|
73
73
|
uiRadio: {
|
|
74
|
-
type: PropType<
|
|
74
|
+
type: PropType<DeepPartial<typeof configRadio> & {
|
|
75
75
|
strategy?: Strategy;
|
|
76
76
|
}>;
|
|
77
77
|
default: () => {};
|
|
@@ -109,7 +109,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
109
109
|
onUpdate: (value: any) => void;
|
|
110
110
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
111
111
|
modelValue: {
|
|
112
|
-
type:
|
|
112
|
+
type: PropType<string | number | boolean | object | null>;
|
|
113
113
|
default: string;
|
|
114
114
|
};
|
|
115
115
|
name: {
|
|
@@ -146,13 +146,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
146
146
|
default: () => "";
|
|
147
147
|
};
|
|
148
148
|
ui: {
|
|
149
|
-
type: PropType<
|
|
149
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
150
150
|
strategy?: Strategy;
|
|
151
151
|
}>;
|
|
152
152
|
default: () => {};
|
|
153
153
|
};
|
|
154
154
|
uiRadio: {
|
|
155
|
-
type: PropType<
|
|
155
|
+
type: PropType<DeepPartial<typeof configRadio> & {
|
|
156
156
|
strategy?: Strategy;
|
|
157
157
|
}>;
|
|
158
158
|
default: () => {};
|
|
@@ -166,12 +166,43 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
166
166
|
disabled: boolean;
|
|
167
167
|
color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
|
|
168
168
|
legend: string;
|
|
169
|
-
ui: {
|
|
169
|
+
ui: {
|
|
170
|
+
wrapper?: string;
|
|
171
|
+
fieldset?: string;
|
|
172
|
+
legend?: string;
|
|
173
|
+
default?: DeepPartial<{
|
|
174
|
+
color: string;
|
|
175
|
+
}, any>;
|
|
176
|
+
} & {
|
|
177
|
+
[key: string]: any;
|
|
178
|
+
} & {
|
|
179
|
+
strategy?: Strategy;
|
|
180
|
+
};
|
|
170
181
|
options: unknown[];
|
|
171
|
-
modelValue: string | number | boolean |
|
|
182
|
+
modelValue: string | number | boolean | object;
|
|
172
183
|
optionAttribute: string;
|
|
173
184
|
valueAttribute: string;
|
|
174
|
-
uiRadio: {
|
|
185
|
+
uiRadio: {
|
|
186
|
+
wrapper?: string;
|
|
187
|
+
container?: string;
|
|
188
|
+
base?: string;
|
|
189
|
+
form?: string;
|
|
190
|
+
color?: string;
|
|
191
|
+
background?: string;
|
|
192
|
+
border?: string;
|
|
193
|
+
ring?: string;
|
|
194
|
+
inner?: string;
|
|
195
|
+
label?: string;
|
|
196
|
+
required?: string;
|
|
197
|
+
help?: string;
|
|
198
|
+
default?: DeepPartial<{
|
|
199
|
+
color: string;
|
|
200
|
+
}, any>;
|
|
201
|
+
} & {
|
|
202
|
+
[key: string]: any;
|
|
203
|
+
} & {
|
|
204
|
+
strategy?: Strategy;
|
|
205
|
+
};
|
|
175
206
|
}, {}, {
|
|
176
207
|
URadio: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
177
208
|
id: {
|
|
@@ -183,7 +214,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
183
214
|
default: any;
|
|
184
215
|
};
|
|
185
216
|
modelValue: {
|
|
186
|
-
type:
|
|
217
|
+
type: PropType<string | number | boolean | object | null>;
|
|
187
218
|
default: any;
|
|
188
219
|
};
|
|
189
220
|
name: {
|
|
@@ -220,7 +251,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
220
251
|
default: () => "";
|
|
221
252
|
};
|
|
222
253
|
ui: {
|
|
223
|
-
type: PropType<
|
|
254
|
+
type: PropType<DeepPartial<{
|
|
224
255
|
wrapper: string;
|
|
225
256
|
container: string;
|
|
226
257
|
base: string;
|
|
@@ -263,7 +294,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
263
294
|
attrs: import("vue").ComputedRef<Pick<{
|
|
264
295
|
[x: string]: unknown;
|
|
265
296
|
}, string>>;
|
|
266
|
-
pick: import("vue").WritableComputedRef<string | number | boolean |
|
|
297
|
+
pick: import("vue").WritableComputedRef<string | number | boolean | object, string | number | boolean | object>;
|
|
267
298
|
name: any;
|
|
268
299
|
inputClass: import("vue").ComputedRef<string>;
|
|
269
300
|
onChange: (event: Event) => void;
|
|
@@ -277,7 +308,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
277
308
|
default: any;
|
|
278
309
|
};
|
|
279
310
|
modelValue: {
|
|
280
|
-
type:
|
|
311
|
+
type: PropType<string | number | boolean | object | null>;
|
|
281
312
|
default: any;
|
|
282
313
|
};
|
|
283
314
|
name: {
|
|
@@ -314,7 +345,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
314
345
|
default: () => "";
|
|
315
346
|
};
|
|
316
347
|
ui: {
|
|
317
|
-
type: PropType<
|
|
348
|
+
type: PropType<DeepPartial<{
|
|
318
349
|
wrapper: string;
|
|
319
350
|
container: string;
|
|
320
351
|
base: string;
|
|
@@ -345,9 +376,29 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
345
376
|
disabled: boolean;
|
|
346
377
|
color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
|
|
347
378
|
label: string;
|
|
348
|
-
ui: {
|
|
379
|
+
ui: {
|
|
380
|
+
wrapper?: string;
|
|
381
|
+
container?: string;
|
|
382
|
+
base?: string;
|
|
383
|
+
form?: string;
|
|
384
|
+
color?: string;
|
|
385
|
+
background?: string;
|
|
386
|
+
border?: string;
|
|
387
|
+
ring?: string;
|
|
388
|
+
inner?: string;
|
|
389
|
+
label?: string;
|
|
390
|
+
required?: string;
|
|
391
|
+
help?: string;
|
|
392
|
+
default?: DeepPartial<{
|
|
393
|
+
color: string;
|
|
394
|
+
}, any>;
|
|
395
|
+
} & {
|
|
396
|
+
[key: string]: any;
|
|
397
|
+
} & {
|
|
398
|
+
strategy?: Strategy;
|
|
399
|
+
};
|
|
349
400
|
id: string;
|
|
350
|
-
modelValue: string | number | boolean |
|
|
401
|
+
modelValue: string | number | boolean | object;
|
|
351
402
|
value: string | number | boolean;
|
|
352
403
|
help: string;
|
|
353
404
|
inputClass: string;
|