vuetify 3.2.1 → 3.2.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.
- package/dist/json/attributes.json +775 -639
- package/dist/json/importMap.json +16 -16
- package/dist/json/tags.json +35 -1
- package/dist/json/web-types.json +1657 -1327
- package/dist/vuetify-labs.css +131 -125
- package/dist/vuetify-labs.d.ts +419 -86
- package/dist/vuetify-labs.esm.js +100 -95
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +100 -95
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +53 -47
- package/dist/vuetify.d.ts +524 -191
- package/dist/vuetify.esm.js +95 -95
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +95 -95
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +46 -48
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAppBar/VAppBar.mjs +7 -11
- package/lib/components/VAppBar/VAppBar.mjs.map +1 -1
- package/lib/components/VAppBar/VAppBarNavIcon.mjs +10 -16
- package/lib/components/VAppBar/VAppBarNavIcon.mjs.map +1 -1
- package/lib/components/VAppBar/index.d.ts +394 -28
- package/lib/components/VAutocomplete/VAutocomplete.css +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.mjs +10 -2
- package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.sass +1 -1
- package/lib/components/VBtn/VBtn.mjs +7 -6
- package/lib/components/VBtn/VBtn.mjs.map +1 -1
- package/lib/components/VCheckbox/VCheckboxBtn.mjs +0 -1
- package/lib/components/VCheckbox/VCheckboxBtn.mjs.map +1 -1
- package/lib/components/VCombobox/VCombobox.mjs +9 -2
- package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
- package/lib/components/VFileInput/VFileInput.mjs +2 -1
- package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
- package/lib/components/VIcon/VIcon.mjs +28 -29
- package/lib/components/VIcon/VIcon.mjs.map +1 -1
- package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +1 -8
- package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs.map +1 -1
- package/lib/components/VSelect/VSelect.mjs +9 -2
- package/lib/components/VSelect/VSelect.mjs.map +1 -1
- package/lib/components/VSheet/VSheet.css +6 -0
- package/lib/components/VSheet/_variables.scss +1 -1
- package/lib/components/VTextField/VTextField.mjs +1 -1
- package/lib/components/VTextField/VTextField.mjs.map +1 -1
- package/lib/components/VTextarea/VTextarea.mjs +1 -1
- package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
- package/lib/components/VTreeview/_mixins.sass +0 -0
- package/lib/components/VTreeview/util/filterTreeItems.mjs +0 -0
- package/lib/components/index.d.ts +386 -53
- package/lib/composables/icons.mjs +2 -2
- package/lib/composables/icons.mjs.map +1 -1
- package/lib/composables/scroll.mjs +16 -17
- package/lib/composables/scroll.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/framework.mjs.map +1 -1
- package/lib/index.d.ts +5 -5
- package/lib/labs/VDataTable/composables/paginate.mjs +6 -1
- package/lib/labs/VDataTable/composables/paginate.mjs.map +1 -1
- package/lib/locale/el.mjs +0 -0
- package/lib/locale/index.mjs +0 -0
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
|
-
import { Ref, DeepReadonly, ComponentPropsOptions, ExtractPropTypes, VNodeChild, PropType,
|
|
2
|
+
import { Ref, DeepReadonly, ComponentPropsOptions, ExtractPropTypes, VNodeChild, PropType, ComponentInternalInstance, ComputedRef, JSXComponent, EffectScope, nextTick, WritableComputedRef, CSSProperties, Prop, ComponentPublicInstance, InjectionKey, UnwrapRef } from 'vue';
|
|
3
3
|
// @ts-ignore
|
|
4
4
|
import * as vue_router from 'vue-router';
|
|
5
5
|
// @ts-ignore
|
|
@@ -674,6 +674,7 @@ declare const VAppBar: {
|
|
|
674
674
|
extended: boolean;
|
|
675
675
|
extensionHeight: string | number;
|
|
676
676
|
floating: boolean;
|
|
677
|
+
scrollThreshold: string | number;
|
|
677
678
|
modelValue: boolean;
|
|
678
679
|
}> & Omit<{
|
|
679
680
|
flat: boolean;
|
|
@@ -688,6 +689,7 @@ declare const VAppBar: {
|
|
|
688
689
|
extended: boolean;
|
|
689
690
|
extensionHeight: string | number;
|
|
690
691
|
floating: boolean;
|
|
692
|
+
scrollThreshold: string | number;
|
|
691
693
|
modelValue: boolean;
|
|
692
694
|
} & {
|
|
693
695
|
name?: string | undefined;
|
|
@@ -701,7 +703,6 @@ declare const VAppBar: {
|
|
|
701
703
|
theme?: string | undefined;
|
|
702
704
|
rounded?: string | number | boolean | undefined;
|
|
703
705
|
scrollTarget?: string | undefined;
|
|
704
|
-
scrollThreshold?: string | number | undefined;
|
|
705
706
|
} & {
|
|
706
707
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
|
707
708
|
default?: (() => vue.VNodeChild) | undefined;
|
|
@@ -728,7 +729,7 @@ declare const VAppBar: {
|
|
|
728
729
|
"v-slot:extension"?: false | (() => vue.VNodeChild) | undefined;
|
|
729
730
|
} & {
|
|
730
731
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
731
|
-
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "flat" | "absolute" | "location" | "height" | "order" | "style" | "tag" | "collapse" | "rounded" | "density" | "extended" | "extensionHeight" | "floating" | "modelValue">;
|
|
732
|
+
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "flat" | "absolute" | "location" | "height" | "order" | "style" | "tag" | "collapse" | "rounded" | "density" | "extended" | "extensionHeight" | "floating" | "scrollThreshold" | "modelValue">;
|
|
732
733
|
$attrs: {
|
|
733
734
|
[x: string]: unknown;
|
|
734
735
|
};
|
|
@@ -755,6 +756,7 @@ declare const VAppBar: {
|
|
|
755
756
|
extended: boolean;
|
|
756
757
|
extensionHeight: string | number;
|
|
757
758
|
floating: boolean;
|
|
759
|
+
scrollThreshold: string | number;
|
|
758
760
|
modelValue: boolean;
|
|
759
761
|
} & {
|
|
760
762
|
name?: string | undefined;
|
|
@@ -768,7 +770,6 @@ declare const VAppBar: {
|
|
|
768
770
|
theme?: string | undefined;
|
|
769
771
|
rounded?: string | number | boolean | undefined;
|
|
770
772
|
scrollTarget?: string | undefined;
|
|
771
|
-
scrollThreshold?: string | number | undefined;
|
|
772
773
|
} & {
|
|
773
774
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
|
774
775
|
default?: (() => vue.VNodeChild) | undefined;
|
|
@@ -811,6 +812,7 @@ declare const VAppBar: {
|
|
|
811
812
|
extended: boolean;
|
|
812
813
|
extensionHeight: string | number;
|
|
813
814
|
floating: boolean;
|
|
815
|
+
scrollThreshold: string | number;
|
|
814
816
|
modelValue: boolean;
|
|
815
817
|
}, {}, string> & {
|
|
816
818
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -845,6 +847,7 @@ declare const VAppBar: {
|
|
|
845
847
|
extended: boolean;
|
|
846
848
|
extensionHeight: string | number;
|
|
847
849
|
floating: boolean;
|
|
850
|
+
scrollThreshold: string | number;
|
|
848
851
|
modelValue: boolean;
|
|
849
852
|
} & {
|
|
850
853
|
name?: string | undefined;
|
|
@@ -858,7 +861,6 @@ declare const VAppBar: {
|
|
|
858
861
|
theme?: string | undefined;
|
|
859
862
|
rounded?: string | number | boolean | undefined;
|
|
860
863
|
scrollTarget?: string | undefined;
|
|
861
|
-
scrollThreshold?: string | number | undefined;
|
|
862
864
|
} & {
|
|
863
865
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
|
864
866
|
default?: (() => vue.VNodeChild) | undefined;
|
|
@@ -902,6 +904,7 @@ declare const VAppBar: {
|
|
|
902
904
|
extended: boolean;
|
|
903
905
|
extensionHeight: string | number;
|
|
904
906
|
floating: boolean;
|
|
907
|
+
scrollThreshold: string | number;
|
|
905
908
|
modelValue: boolean;
|
|
906
909
|
} & {
|
|
907
910
|
name?: string | undefined;
|
|
@@ -915,7 +918,6 @@ declare const VAppBar: {
|
|
|
915
918
|
theme?: string | undefined;
|
|
916
919
|
rounded?: string | number | boolean | undefined;
|
|
917
920
|
scrollTarget?: string | undefined;
|
|
918
|
-
scrollThreshold?: string | number | undefined;
|
|
919
921
|
} & {
|
|
920
922
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
|
921
923
|
default?: (() => vue.VNodeChild) | undefined;
|
|
@@ -958,6 +960,7 @@ declare const VAppBar: {
|
|
|
958
960
|
extended: boolean;
|
|
959
961
|
extensionHeight: string | number;
|
|
960
962
|
floating: boolean;
|
|
963
|
+
scrollThreshold: string | number;
|
|
961
964
|
modelValue: boolean;
|
|
962
965
|
}, {}, string> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
|
|
963
966
|
height: {
|
|
@@ -969,6 +972,7 @@ declare const VAppBar: {
|
|
|
969
972
|
};
|
|
970
973
|
scrollThreshold: {
|
|
971
974
|
type: (StringConstructor | NumberConstructor)[];
|
|
975
|
+
default: number;
|
|
972
976
|
};
|
|
973
977
|
name: {
|
|
974
978
|
type: StringConstructor;
|
|
@@ -1036,6 +1040,7 @@ declare const VAppBar: {
|
|
|
1036
1040
|
};
|
|
1037
1041
|
scrollThreshold: {
|
|
1038
1042
|
type: (StringConstructor | NumberConstructor)[];
|
|
1043
|
+
default: number;
|
|
1039
1044
|
};
|
|
1040
1045
|
name: {
|
|
1041
1046
|
type: StringConstructor;
|
|
@@ -1096,6 +1101,41 @@ declare const VAppBar: {
|
|
|
1096
1101
|
}>>;
|
|
1097
1102
|
type VAppBar = InstanceType<typeof VAppBar>;
|
|
1098
1103
|
|
|
1104
|
+
interface GroupItem {
|
|
1105
|
+
id: number;
|
|
1106
|
+
value: Ref<unknown>;
|
|
1107
|
+
disabled: Ref<boolean | undefined>;
|
|
1108
|
+
}
|
|
1109
|
+
interface GroupProvide {
|
|
1110
|
+
register: (item: GroupItem, cmp: ComponentInternalInstance) => void;
|
|
1111
|
+
unregister: (id: number) => void;
|
|
1112
|
+
select: (id: number, value: boolean) => void;
|
|
1113
|
+
selected: Ref<Readonly<number[]>>;
|
|
1114
|
+
isSelected: (id: number) => boolean;
|
|
1115
|
+
prev: () => void;
|
|
1116
|
+
next: () => void;
|
|
1117
|
+
selectedClass: Ref<string | undefined>;
|
|
1118
|
+
items: ComputedRef<{
|
|
1119
|
+
id: number;
|
|
1120
|
+
value: unknown;
|
|
1121
|
+
disabled: boolean | undefined;
|
|
1122
|
+
}[]>;
|
|
1123
|
+
disabled: Ref<boolean | undefined>;
|
|
1124
|
+
getItemIndex: (value: unknown) => number;
|
|
1125
|
+
}
|
|
1126
|
+
interface GroupItemProvide {
|
|
1127
|
+
id: number;
|
|
1128
|
+
isSelected: Ref<boolean>;
|
|
1129
|
+
toggle: () => void;
|
|
1130
|
+
select: (value: boolean) => void;
|
|
1131
|
+
selectedClass: Ref<(string | undefined)[] | false>;
|
|
1132
|
+
value: Ref<unknown>;
|
|
1133
|
+
disabled: Ref<boolean | undefined>;
|
|
1134
|
+
group: GroupProvide;
|
|
1135
|
+
}
|
|
1136
|
+
|
|
1137
|
+
type Density = null | 'default' | 'comfortable' | 'compact';
|
|
1138
|
+
|
|
1099
1139
|
type IconValue = string | (string | [path: string, opacity: number])[] | JSXComponent;
|
|
1100
1140
|
declare const IconValue: PropType<IconValue>;
|
|
1101
1141
|
declare const VComponentIcon: {
|
|
@@ -1492,13 +1532,61 @@ declare const VAppBarNavIcon: {
|
|
|
1492
1532
|
$: vue.ComponentInternalInstance;
|
|
1493
1533
|
$data: {};
|
|
1494
1534
|
$props: Partial<{
|
|
1535
|
+
symbol: any;
|
|
1536
|
+
replace: boolean;
|
|
1537
|
+
flat: boolean;
|
|
1538
|
+
exact: boolean;
|
|
1539
|
+
block: boolean;
|
|
1540
|
+
active: boolean;
|
|
1495
1541
|
style: vue.StyleValue;
|
|
1496
|
-
|
|
1542
|
+
disabled: boolean;
|
|
1543
|
+
size: string | number;
|
|
1544
|
+
tag: string;
|
|
1545
|
+
icon: NonNullable<boolean | IconValue>;
|
|
1546
|
+
rounded: string | number | boolean;
|
|
1547
|
+
density: Density;
|
|
1548
|
+
variant: NonNullable<NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">>;
|
|
1549
|
+
stacked: boolean;
|
|
1550
|
+
ripple: boolean;
|
|
1497
1551
|
}> & Omit<{
|
|
1552
|
+
symbol: any;
|
|
1553
|
+
replace: boolean;
|
|
1554
|
+
flat: boolean;
|
|
1555
|
+
exact: boolean;
|
|
1556
|
+
block: boolean;
|
|
1498
1557
|
style: vue.StyleValue;
|
|
1499
|
-
|
|
1558
|
+
disabled: boolean;
|
|
1559
|
+
size: string | number;
|
|
1560
|
+
tag: string;
|
|
1561
|
+
icon: NonNullable<boolean | IconValue>;
|
|
1562
|
+
density: Density;
|
|
1563
|
+
variant: NonNullable<NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">>;
|
|
1564
|
+
stacked: boolean;
|
|
1565
|
+
ripple: boolean;
|
|
1500
1566
|
} & {
|
|
1567
|
+
location?: Anchor | undefined;
|
|
1568
|
+
height?: string | number | undefined;
|
|
1569
|
+
width?: string | number | undefined;
|
|
1570
|
+
active?: boolean | undefined;
|
|
1571
|
+
border?: string | number | boolean | undefined;
|
|
1572
|
+
color?: string | undefined;
|
|
1573
|
+
maxHeight?: string | number | undefined;
|
|
1574
|
+
maxWidth?: string | number | undefined;
|
|
1575
|
+
minHeight?: string | number | undefined;
|
|
1576
|
+
minWidth?: string | number | undefined;
|
|
1577
|
+
position?: "fixed" | "absolute" | "static" | "relative" | "sticky" | undefined;
|
|
1578
|
+
value?: any;
|
|
1579
|
+
loading?: string | boolean | undefined;
|
|
1580
|
+
text?: string | undefined;
|
|
1501
1581
|
class?: any;
|
|
1582
|
+
href?: string | undefined;
|
|
1583
|
+
elevation?: string | number | undefined;
|
|
1584
|
+
to?: vue_router.RouteLocationRaw | undefined;
|
|
1585
|
+
theme?: string | undefined;
|
|
1586
|
+
rounded?: string | number | boolean | undefined;
|
|
1587
|
+
selectedClass?: string | undefined;
|
|
1588
|
+
prependIcon?: IconValue | undefined;
|
|
1589
|
+
appendIcon?: IconValue | undefined;
|
|
1502
1590
|
} & {
|
|
1503
1591
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
|
1504
1592
|
default?: (() => vue.VNodeChild) | undefined;
|
|
@@ -1517,7 +1605,7 @@ declare const VAppBarNavIcon: {
|
|
|
1517
1605
|
"v-slot:prepend"?: false | (() => vue.VNodeChild) | undefined;
|
|
1518
1606
|
"v-slot:append"?: false | (() => vue.VNodeChild) | undefined;
|
|
1519
1607
|
"v-slot:loader"?: false | (() => vue.VNodeChild) | undefined;
|
|
1520
|
-
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "style" | "icon">;
|
|
1608
|
+
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "symbol" | "replace" | "flat" | "exact" | "block" | "active" | "style" | "disabled" | "size" | "tag" | "icon" | "rounded" | "density" | "variant" | "stacked" | "ripple">;
|
|
1521
1609
|
$attrs: {
|
|
1522
1610
|
[x: string]: unknown;
|
|
1523
1611
|
};
|
|
@@ -1532,10 +1620,44 @@ declare const VAppBarNavIcon: {
|
|
|
1532
1620
|
$emit: (event: string, ...args: any[]) => void;
|
|
1533
1621
|
$el: any;
|
|
1534
1622
|
$options: vue.ComponentOptionsBase<{
|
|
1623
|
+
symbol: any;
|
|
1624
|
+
replace: boolean;
|
|
1625
|
+
flat: boolean;
|
|
1626
|
+
exact: boolean;
|
|
1627
|
+
block: boolean;
|
|
1535
1628
|
style: vue.StyleValue;
|
|
1536
|
-
|
|
1629
|
+
disabled: boolean;
|
|
1630
|
+
size: string | number;
|
|
1631
|
+
tag: string;
|
|
1632
|
+
icon: NonNullable<boolean | IconValue>;
|
|
1633
|
+
density: Density;
|
|
1634
|
+
variant: NonNullable<NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">>;
|
|
1635
|
+
stacked: boolean;
|
|
1636
|
+
ripple: boolean;
|
|
1537
1637
|
} & {
|
|
1638
|
+
location?: Anchor | undefined;
|
|
1639
|
+
height?: string | number | undefined;
|
|
1640
|
+
width?: string | number | undefined;
|
|
1641
|
+
active?: boolean | undefined;
|
|
1642
|
+
border?: string | number | boolean | undefined;
|
|
1643
|
+
color?: string | undefined;
|
|
1644
|
+
maxHeight?: string | number | undefined;
|
|
1645
|
+
maxWidth?: string | number | undefined;
|
|
1646
|
+
minHeight?: string | number | undefined;
|
|
1647
|
+
minWidth?: string | number | undefined;
|
|
1648
|
+
position?: "fixed" | "absolute" | "static" | "relative" | "sticky" | undefined;
|
|
1649
|
+
value?: any;
|
|
1650
|
+
loading?: string | boolean | undefined;
|
|
1651
|
+
text?: string | undefined;
|
|
1538
1652
|
class?: any;
|
|
1653
|
+
href?: string | undefined;
|
|
1654
|
+
elevation?: string | number | undefined;
|
|
1655
|
+
to?: vue_router.RouteLocationRaw | undefined;
|
|
1656
|
+
theme?: string | undefined;
|
|
1657
|
+
rounded?: string | number | boolean | undefined;
|
|
1658
|
+
selectedClass?: string | undefined;
|
|
1659
|
+
prependIcon?: IconValue | undefined;
|
|
1660
|
+
appendIcon?: IconValue | undefined;
|
|
1539
1661
|
} & {
|
|
1540
1662
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
|
1541
1663
|
default?: (() => vue.VNodeChild) | undefined;
|
|
@@ -1555,8 +1677,22 @@ declare const VAppBarNavIcon: {
|
|
|
1555
1677
|
"v-slot:append"?: false | (() => vue.VNodeChild) | undefined;
|
|
1556
1678
|
"v-slot:loader"?: false | (() => vue.VNodeChild) | undefined;
|
|
1557
1679
|
}, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, {
|
|
1680
|
+
symbol: any;
|
|
1681
|
+
replace: boolean;
|
|
1682
|
+
flat: boolean;
|
|
1683
|
+
exact: boolean;
|
|
1684
|
+
block: boolean;
|
|
1685
|
+
active: boolean;
|
|
1558
1686
|
style: vue.StyleValue;
|
|
1559
|
-
|
|
1687
|
+
disabled: boolean;
|
|
1688
|
+
size: string | number;
|
|
1689
|
+
tag: string;
|
|
1690
|
+
icon: NonNullable<boolean | IconValue>;
|
|
1691
|
+
rounded: string | number | boolean;
|
|
1692
|
+
density: Density;
|
|
1693
|
+
variant: NonNullable<NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">>;
|
|
1694
|
+
stacked: boolean;
|
|
1695
|
+
ripple: boolean;
|
|
1560
1696
|
}, {}, string> & {
|
|
1561
1697
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
1562
1698
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -1578,10 +1714,44 @@ declare const VAppBarNavIcon: {
|
|
|
1578
1714
|
$nextTick: typeof vue.nextTick;
|
|
1579
1715
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: vue.WatchOptions<boolean> | undefined): vue.WatchStopHandle;
|
|
1580
1716
|
} & {
|
|
1717
|
+
symbol: any;
|
|
1718
|
+
replace: boolean;
|
|
1719
|
+
flat: boolean;
|
|
1720
|
+
exact: boolean;
|
|
1721
|
+
block: boolean;
|
|
1581
1722
|
style: vue.StyleValue;
|
|
1582
|
-
|
|
1723
|
+
disabled: boolean;
|
|
1724
|
+
size: string | number;
|
|
1725
|
+
tag: string;
|
|
1726
|
+
icon: NonNullable<boolean | IconValue>;
|
|
1727
|
+
density: Density;
|
|
1728
|
+
variant: NonNullable<NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">>;
|
|
1729
|
+
stacked: boolean;
|
|
1730
|
+
ripple: boolean;
|
|
1583
1731
|
} & {
|
|
1732
|
+
location?: Anchor | undefined;
|
|
1733
|
+
height?: string | number | undefined;
|
|
1734
|
+
width?: string | number | undefined;
|
|
1735
|
+
active?: boolean | undefined;
|
|
1736
|
+
border?: string | number | boolean | undefined;
|
|
1737
|
+
color?: string | undefined;
|
|
1738
|
+
maxHeight?: string | number | undefined;
|
|
1739
|
+
maxWidth?: string | number | undefined;
|
|
1740
|
+
minHeight?: string | number | undefined;
|
|
1741
|
+
minWidth?: string | number | undefined;
|
|
1742
|
+
position?: "fixed" | "absolute" | "static" | "relative" | "sticky" | undefined;
|
|
1743
|
+
value?: any;
|
|
1744
|
+
loading?: string | boolean | undefined;
|
|
1745
|
+
text?: string | undefined;
|
|
1584
1746
|
class?: any;
|
|
1747
|
+
href?: string | undefined;
|
|
1748
|
+
elevation?: string | number | undefined;
|
|
1749
|
+
to?: vue_router.RouteLocationRaw | undefined;
|
|
1750
|
+
theme?: string | undefined;
|
|
1751
|
+
rounded?: string | number | boolean | undefined;
|
|
1752
|
+
selectedClass?: string | undefined;
|
|
1753
|
+
prependIcon?: IconValue | undefined;
|
|
1754
|
+
appendIcon?: IconValue | undefined;
|
|
1585
1755
|
} & {
|
|
1586
1756
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
|
1587
1757
|
default?: (() => vue.VNodeChild) | undefined;
|
|
@@ -1605,10 +1775,44 @@ declare const VAppBarNavIcon: {
|
|
|
1605
1775
|
__isTeleport?: undefined;
|
|
1606
1776
|
__isSuspense?: undefined;
|
|
1607
1777
|
} & vue.ComponentOptionsBase<{
|
|
1778
|
+
symbol: any;
|
|
1779
|
+
replace: boolean;
|
|
1780
|
+
flat: boolean;
|
|
1781
|
+
exact: boolean;
|
|
1782
|
+
block: boolean;
|
|
1608
1783
|
style: vue.StyleValue;
|
|
1609
|
-
|
|
1784
|
+
disabled: boolean;
|
|
1785
|
+
size: string | number;
|
|
1786
|
+
tag: string;
|
|
1787
|
+
icon: NonNullable<boolean | IconValue>;
|
|
1788
|
+
density: Density;
|
|
1789
|
+
variant: NonNullable<NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">>;
|
|
1790
|
+
stacked: boolean;
|
|
1791
|
+
ripple: boolean;
|
|
1610
1792
|
} & {
|
|
1793
|
+
location?: Anchor | undefined;
|
|
1794
|
+
height?: string | number | undefined;
|
|
1795
|
+
width?: string | number | undefined;
|
|
1796
|
+
active?: boolean | undefined;
|
|
1797
|
+
border?: string | number | boolean | undefined;
|
|
1798
|
+
color?: string | undefined;
|
|
1799
|
+
maxHeight?: string | number | undefined;
|
|
1800
|
+
maxWidth?: string | number | undefined;
|
|
1801
|
+
minHeight?: string | number | undefined;
|
|
1802
|
+
minWidth?: string | number | undefined;
|
|
1803
|
+
position?: "fixed" | "absolute" | "static" | "relative" | "sticky" | undefined;
|
|
1804
|
+
value?: any;
|
|
1805
|
+
loading?: string | boolean | undefined;
|
|
1806
|
+
text?: string | undefined;
|
|
1611
1807
|
class?: any;
|
|
1808
|
+
href?: string | undefined;
|
|
1809
|
+
elevation?: string | number | undefined;
|
|
1810
|
+
to?: vue_router.RouteLocationRaw | undefined;
|
|
1811
|
+
theme?: string | undefined;
|
|
1812
|
+
rounded?: string | number | boolean | undefined;
|
|
1813
|
+
selectedClass?: string | undefined;
|
|
1814
|
+
prependIcon?: IconValue | undefined;
|
|
1815
|
+
appendIcon?: IconValue | undefined;
|
|
1612
1816
|
} & {
|
|
1613
1817
|
$children?: vue.VNodeChild | (() => vue.VNodeChild) | {
|
|
1614
1818
|
default?: (() => vue.VNodeChild) | undefined;
|
|
@@ -1628,28 +1832,192 @@ declare const VAppBarNavIcon: {
|
|
|
1628
1832
|
"v-slot:append"?: false | (() => vue.VNodeChild) | undefined;
|
|
1629
1833
|
"v-slot:loader"?: false | (() => vue.VNodeChild) | undefined;
|
|
1630
1834
|
}, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, {
|
|
1835
|
+
symbol: any;
|
|
1836
|
+
replace: boolean;
|
|
1837
|
+
flat: boolean;
|
|
1838
|
+
exact: boolean;
|
|
1839
|
+
block: boolean;
|
|
1840
|
+
active: boolean;
|
|
1631
1841
|
style: vue.StyleValue;
|
|
1632
|
-
|
|
1842
|
+
disabled: boolean;
|
|
1843
|
+
size: string | number;
|
|
1844
|
+
tag: string;
|
|
1845
|
+
icon: NonNullable<boolean | IconValue>;
|
|
1846
|
+
rounded: string | number | boolean;
|
|
1847
|
+
density: Density;
|
|
1848
|
+
variant: NonNullable<NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">>;
|
|
1849
|
+
stacked: boolean;
|
|
1850
|
+
ripple: boolean;
|
|
1633
1851
|
}, {}, string> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
|
|
1852
|
+
color: StringConstructor;
|
|
1853
|
+
variant: Omit<Omit<{
|
|
1854
|
+
type: vue.PropType<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">;
|
|
1855
|
+
default: string;
|
|
1856
|
+
validator: (v: any) => boolean;
|
|
1857
|
+
}, "type" | "default"> & {
|
|
1858
|
+
type: vue.PropType<NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">>;
|
|
1859
|
+
default: NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">;
|
|
1860
|
+
}, "type" | "default"> & {
|
|
1861
|
+
type: vue.PropType<NonNullable<NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">>>;
|
|
1862
|
+
default: NonNullable<NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">>;
|
|
1863
|
+
};
|
|
1864
|
+
theme: StringConstructor;
|
|
1865
|
+
tag: Omit<{
|
|
1866
|
+
type: StringConstructor;
|
|
1867
|
+
default: string;
|
|
1868
|
+
}, "type" | "default"> & {
|
|
1869
|
+
type: vue.PropType<string>;
|
|
1870
|
+
default: string;
|
|
1871
|
+
};
|
|
1872
|
+
size: {
|
|
1873
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1874
|
+
default: string;
|
|
1875
|
+
};
|
|
1876
|
+
href: StringConstructor;
|
|
1877
|
+
replace: BooleanConstructor;
|
|
1878
|
+
to: vue.PropType<vue_router.RouteLocationRaw>;
|
|
1879
|
+
exact: BooleanConstructor;
|
|
1880
|
+
rounded: {
|
|
1881
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
1882
|
+
default: undefined;
|
|
1883
|
+
};
|
|
1884
|
+
position: {
|
|
1885
|
+
type: vue.PropType<"fixed" | "absolute" | "static" | "relative" | "sticky">;
|
|
1886
|
+
validator: (v: any) => boolean;
|
|
1887
|
+
};
|
|
1888
|
+
location: vue.PropType<Anchor>;
|
|
1889
|
+
loading: (StringConstructor | BooleanConstructor)[];
|
|
1890
|
+
value: null;
|
|
1891
|
+
disabled: BooleanConstructor;
|
|
1892
|
+
selectedClass: StringConstructor;
|
|
1893
|
+
elevation: {
|
|
1894
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1895
|
+
validator(v: any): boolean;
|
|
1896
|
+
};
|
|
1897
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
1898
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
1899
|
+
maxWidth: (StringConstructor | NumberConstructor)[];
|
|
1900
|
+
minHeight: (StringConstructor | NumberConstructor)[];
|
|
1901
|
+
minWidth: (StringConstructor | NumberConstructor)[];
|
|
1902
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
1903
|
+
density: {
|
|
1904
|
+
type: vue.PropType<Density>;
|
|
1905
|
+
default: string;
|
|
1906
|
+
validator: (v: any) => boolean;
|
|
1907
|
+
};
|
|
1634
1908
|
class: vue.PropType<any>;
|
|
1635
1909
|
style: {
|
|
1636
1910
|
type: vue.PropType<vue.StyleValue>;
|
|
1637
1911
|
default: null;
|
|
1638
1912
|
};
|
|
1913
|
+
border: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
1914
|
+
active: {
|
|
1915
|
+
type: BooleanConstructor;
|
|
1916
|
+
default: undefined;
|
|
1917
|
+
};
|
|
1918
|
+
symbol: {
|
|
1919
|
+
type: null;
|
|
1920
|
+
default: vue.InjectionKey<GroupProvide>;
|
|
1921
|
+
};
|
|
1922
|
+
flat: BooleanConstructor;
|
|
1639
1923
|
icon: {
|
|
1640
|
-
type: vue.PropType<IconValue
|
|
1641
|
-
default:
|
|
1924
|
+
type: vue.PropType<NonNullable<boolean | IconValue>>;
|
|
1925
|
+
default: NonNullable<boolean | IconValue>;
|
|
1642
1926
|
};
|
|
1927
|
+
prependIcon: vue.PropType<IconValue>;
|
|
1928
|
+
appendIcon: vue.PropType<IconValue>;
|
|
1929
|
+
block: BooleanConstructor;
|
|
1930
|
+
stacked: BooleanConstructor;
|
|
1931
|
+
ripple: {
|
|
1932
|
+
type: BooleanConstructor;
|
|
1933
|
+
default: boolean;
|
|
1934
|
+
};
|
|
1935
|
+
text: StringConstructor;
|
|
1643
1936
|
}, vue.ExtractPropTypes<{
|
|
1937
|
+
color: StringConstructor;
|
|
1938
|
+
variant: Omit<Omit<{
|
|
1939
|
+
type: vue.PropType<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">;
|
|
1940
|
+
default: string;
|
|
1941
|
+
validator: (v: any) => boolean;
|
|
1942
|
+
}, "type" | "default"> & {
|
|
1943
|
+
type: vue.PropType<NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">>;
|
|
1944
|
+
default: NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">;
|
|
1945
|
+
}, "type" | "default"> & {
|
|
1946
|
+
type: vue.PropType<NonNullable<NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">>>;
|
|
1947
|
+
default: NonNullable<NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">>;
|
|
1948
|
+
};
|
|
1949
|
+
theme: StringConstructor;
|
|
1950
|
+
tag: Omit<{
|
|
1951
|
+
type: StringConstructor;
|
|
1952
|
+
default: string;
|
|
1953
|
+
}, "type" | "default"> & {
|
|
1954
|
+
type: vue.PropType<string>;
|
|
1955
|
+
default: string;
|
|
1956
|
+
};
|
|
1957
|
+
size: {
|
|
1958
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1959
|
+
default: string;
|
|
1960
|
+
};
|
|
1961
|
+
href: StringConstructor;
|
|
1962
|
+
replace: BooleanConstructor;
|
|
1963
|
+
to: vue.PropType<vue_router.RouteLocationRaw>;
|
|
1964
|
+
exact: BooleanConstructor;
|
|
1965
|
+
rounded: {
|
|
1966
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
1967
|
+
default: undefined;
|
|
1968
|
+
};
|
|
1969
|
+
position: {
|
|
1970
|
+
type: vue.PropType<"fixed" | "absolute" | "static" | "relative" | "sticky">;
|
|
1971
|
+
validator: (v: any) => boolean;
|
|
1972
|
+
};
|
|
1973
|
+
location: vue.PropType<Anchor>;
|
|
1974
|
+
loading: (StringConstructor | BooleanConstructor)[];
|
|
1975
|
+
value: null;
|
|
1976
|
+
disabled: BooleanConstructor;
|
|
1977
|
+
selectedClass: StringConstructor;
|
|
1978
|
+
elevation: {
|
|
1979
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1980
|
+
validator(v: any): boolean;
|
|
1981
|
+
};
|
|
1982
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
1983
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
1984
|
+
maxWidth: (StringConstructor | NumberConstructor)[];
|
|
1985
|
+
minHeight: (StringConstructor | NumberConstructor)[];
|
|
1986
|
+
minWidth: (StringConstructor | NumberConstructor)[];
|
|
1987
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
1988
|
+
density: {
|
|
1989
|
+
type: vue.PropType<Density>;
|
|
1990
|
+
default: string;
|
|
1991
|
+
validator: (v: any) => boolean;
|
|
1992
|
+
};
|
|
1644
1993
|
class: vue.PropType<any>;
|
|
1645
1994
|
style: {
|
|
1646
1995
|
type: vue.PropType<vue.StyleValue>;
|
|
1647
1996
|
default: null;
|
|
1648
1997
|
};
|
|
1998
|
+
border: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
1999
|
+
active: {
|
|
2000
|
+
type: BooleanConstructor;
|
|
2001
|
+
default: undefined;
|
|
2002
|
+
};
|
|
2003
|
+
symbol: {
|
|
2004
|
+
type: null;
|
|
2005
|
+
default: vue.InjectionKey<GroupProvide>;
|
|
2006
|
+
};
|
|
2007
|
+
flat: BooleanConstructor;
|
|
1649
2008
|
icon: {
|
|
1650
|
-
type: vue.PropType<IconValue
|
|
1651
|
-
default:
|
|
2009
|
+
type: vue.PropType<NonNullable<boolean | IconValue>>;
|
|
2010
|
+
default: NonNullable<boolean | IconValue>;
|
|
2011
|
+
};
|
|
2012
|
+
prependIcon: vue.PropType<IconValue>;
|
|
2013
|
+
appendIcon: vue.PropType<IconValue>;
|
|
2014
|
+
block: BooleanConstructor;
|
|
2015
|
+
stacked: BooleanConstructor;
|
|
2016
|
+
ripple: {
|
|
2017
|
+
type: BooleanConstructor;
|
|
2018
|
+
default: boolean;
|
|
1652
2019
|
};
|
|
2020
|
+
text: StringConstructor;
|
|
1653
2021
|
}>>;
|
|
1654
2022
|
type VAppBarNavIcon = InstanceType<typeof VAppBarNavIcon>;
|
|
1655
2023
|
|
|
@@ -1801,8 +2169,6 @@ declare const VAppBarTitle: {
|
|
|
1801
2169
|
}>>;
|
|
1802
2170
|
type VAppBarTitle = InstanceType<typeof VAppBarTitle>;
|
|
1803
2171
|
|
|
1804
|
-
type Density = null | 'default' | 'comfortable' | 'compact';
|
|
1805
|
-
|
|
1806
2172
|
declare const allowedTypes: readonly ["success", "info", "warning", "error"];
|
|
1807
2173
|
type ContextualType = typeof allowedTypes[number];
|
|
1808
2174
|
declare const VAlert: {
|
|
@@ -8432,39 +8798,6 @@ declare const VBreadcrumbsDivider: {
|
|
|
8432
8798
|
divider: (StringConstructor | NumberConstructor)[];
|
|
8433
8799
|
}>>;
|
|
8434
8800
|
|
|
8435
|
-
interface GroupItem {
|
|
8436
|
-
id: number;
|
|
8437
|
-
value: Ref<unknown>;
|
|
8438
|
-
disabled: Ref<boolean | undefined>;
|
|
8439
|
-
}
|
|
8440
|
-
interface GroupProvide {
|
|
8441
|
-
register: (item: GroupItem, cmp: ComponentInternalInstance) => void;
|
|
8442
|
-
unregister: (id: number) => void;
|
|
8443
|
-
select: (id: number, value: boolean) => void;
|
|
8444
|
-
selected: Ref<Readonly<number[]>>;
|
|
8445
|
-
isSelected: (id: number) => boolean;
|
|
8446
|
-
prev: () => void;
|
|
8447
|
-
next: () => void;
|
|
8448
|
-
selectedClass: Ref<string | undefined>;
|
|
8449
|
-
items: ComputedRef<{
|
|
8450
|
-
id: number;
|
|
8451
|
-
value: unknown;
|
|
8452
|
-
disabled: boolean | undefined;
|
|
8453
|
-
}[]>;
|
|
8454
|
-
disabled: Ref<boolean | undefined>;
|
|
8455
|
-
getItemIndex: (value: unknown) => number;
|
|
8456
|
-
}
|
|
8457
|
-
interface GroupItemProvide {
|
|
8458
|
-
id: number;
|
|
8459
|
-
isSelected: Ref<boolean>;
|
|
8460
|
-
toggle: () => void;
|
|
8461
|
-
select: (value: boolean) => void;
|
|
8462
|
-
selectedClass: Ref<(string | undefined)[] | false>;
|
|
8463
|
-
value: Ref<unknown>;
|
|
8464
|
-
disabled: Ref<boolean | undefined>;
|
|
8465
|
-
group: GroupProvide;
|
|
8466
|
-
}
|
|
8467
|
-
|
|
8468
8801
|
declare const VBtn: {
|
|
8469
8802
|
new (...args: any[]): {
|
|
8470
8803
|
$: vue.ComponentInternalInstance;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { mergeProps as _mergeProps, createVNode as _createVNode } from "vue";
|
|
2
2
|
// Icons
|
|
3
3
|
import { aliases, mdi } from "../iconsets/mdi.mjs"; // Utilities
|
|
4
|
-
import { computed, inject,
|
|
4
|
+
import { computed, inject, unref } from 'vue';
|
|
5
5
|
import { defineComponent, genericComponent, mergeDeep, propsFactory } from "../util/index.mjs"; // Types
|
|
6
6
|
export const IconValue = [String, Function, Object, Array];
|
|
7
7
|
export const IconSymbol = Symbol.for('vuetify:icons');
|
|
@@ -106,7 +106,7 @@ export const useIcon = props => {
|
|
|
106
106
|
const icons = inject(IconSymbol);
|
|
107
107
|
if (!icons) throw new Error('Missing Vuetify Icons provide!');
|
|
108
108
|
const iconData = computed(() => {
|
|
109
|
-
const iconAlias =
|
|
109
|
+
const iconAlias = unref(props);
|
|
110
110
|
if (!iconAlias) return {
|
|
111
111
|
component: VComponentIcon
|
|
112
112
|
};
|