@vuetify/nightly 3.6.6-master.2024-05-21 → 3.6.7-master.2024-05-22
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/CHANGELOG.md +2 -15
- package/dist/json/attributes.json +42 -2
- package/dist/json/importMap-labs.json +16 -16
- package/dist/json/importMap.json +142 -142
- package/dist/json/tags.json +11 -1
- package/dist/json/web-types.json +101 -4
- package/dist/vuetify-labs.css +2143 -2138
- package/dist/vuetify-labs.d.ts +93 -12
- package/dist/vuetify-labs.esm.js +52 -29
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +52 -29
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +873 -868
- package/dist/vuetify.d.ts +132 -51
- package/dist/vuetify.esm.js +50 -27
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +50 -27
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +103 -102
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.mjs +3 -2
- package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
- package/lib/components/VCombobox/VCombobox.mjs +4 -3
- package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
- package/lib/components/VDataTable/VDataTable.css +4 -0
- package/lib/components/VDataTable/VDataTable.mjs +2 -1
- package/lib/components/VDataTable/VDataTable.mjs.map +1 -1
- package/lib/components/VDataTable/VDataTable.sass +4 -0
- package/lib/components/VDataTable/VDataTableHeaders.mjs +4 -3
- package/lib/components/VDataTable/VDataTableHeaders.mjs.map +1 -1
- package/lib/components/VDataTable/VDataTableServer.mjs +1 -1
- package/lib/components/VDataTable/VDataTableServer.mjs.map +1 -1
- package/lib/components/VDataTable/VDataTableVirtual.mjs +1 -1
- package/lib/components/VDataTable/VDataTableVirtual.mjs.map +1 -1
- package/lib/components/VDataTable/composables/sort.mjs +1 -1
- package/lib/components/VDataTable/composables/sort.mjs.map +1 -1
- package/lib/components/VDataTable/index.d.mts +63 -0
- package/lib/components/VDatePicker/VDatePicker.mjs +2 -1
- package/lib/components/VDatePicker/VDatePicker.mjs.map +1 -1
- package/lib/components/VDatePicker/VDatePickerMonths.mjs +10 -1
- package/lib/components/VDatePicker/VDatePickerMonths.mjs.map +1 -1
- package/lib/components/VDatePicker/index.d.mts +24 -6
- package/lib/components/VDivider/VDivider.css +1 -1
- package/lib/components/VDivider/VDivider.sass +1 -1
- package/lib/components/VList/VListChildren.mjs +2 -1
- package/lib/components/VList/VListChildren.mjs.map +1 -1
- package/lib/components/index.d.mts +87 -6
- package/lib/composables/defaults.mjs +1 -1
- package/lib/composables/defaults.mjs.map +1 -1
- package/lib/composables/dimensions.mjs +16 -8
- package/lib/composables/dimensions.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +45 -45
- package/lib/labs/VCalendar/VCalendar.mjs +2 -2
- package/lib/labs/VCalendar/VCalendar.mjs.map +1 -1
- package/lib/labs/VDateInput/index.d.mts +6 -6
- package/lib/labs/components.d.mts +6 -6
- package/lib/locale/fa.mjs +10 -10
- package/lib/locale/fa.mjs.map +1 -1
- package/package.json +1 -1
@@ -79,7 +79,7 @@ declare const VDatePicker: {
|
|
79
79
|
theme?: string | undefined;
|
80
80
|
color?: string | undefined;
|
81
81
|
month?: string | number | undefined;
|
82
|
-
year?:
|
82
|
+
year?: number | undefined;
|
83
83
|
border?: string | number | boolean | undefined;
|
84
84
|
position?: "fixed" | "absolute" | "relative" | "static" | "sticky" | undefined;
|
85
85
|
rounded?: string | number | boolean | undefined;
|
@@ -132,7 +132,7 @@ declare const VDatePicker: {
|
|
132
132
|
theme?: string | undefined;
|
133
133
|
color?: string | undefined;
|
134
134
|
month?: string | number | undefined;
|
135
|
-
year?:
|
135
|
+
year?: number | undefined;
|
136
136
|
border?: string | number | boolean | undefined;
|
137
137
|
position?: "fixed" | "absolute" | "relative" | "static" | "sticky" | undefined;
|
138
138
|
rounded?: string | number | boolean | undefined;
|
@@ -225,7 +225,7 @@ declare const VDatePicker: {
|
|
225
225
|
theme?: string | undefined;
|
226
226
|
color?: string | undefined;
|
227
227
|
month?: string | number | undefined;
|
228
|
-
year?:
|
228
|
+
year?: number | undefined;
|
229
229
|
border?: string | number | boolean | undefined;
|
230
230
|
position?: "fixed" | "absolute" | "relative" | "static" | "sticky" | undefined;
|
231
231
|
rounded?: string | number | boolean | undefined;
|
@@ -299,7 +299,7 @@ declare const VDatePicker: {
|
|
299
299
|
theme?: string | undefined;
|
300
300
|
color?: string | undefined;
|
301
301
|
month?: string | number | undefined;
|
302
|
-
year?:
|
302
|
+
year?: number | undefined;
|
303
303
|
border?: string | number | boolean | undefined;
|
304
304
|
position?: "fixed" | "absolute" | "relative" | "static" | "sticky" | undefined;
|
305
305
|
rounded?: string | number | boolean | undefined;
|
@@ -412,12 +412,12 @@ declare const VDatePicker: {
|
|
412
412
|
hideHeader: BooleanConstructor;
|
413
413
|
max: vue.PropType<unknown>;
|
414
414
|
min: vue.PropType<unknown>;
|
415
|
+
year: NumberConstructor;
|
415
416
|
allowedDates: vue.PropType<unknown[] | ((date: unknown) => boolean)>;
|
416
417
|
disabled: BooleanConstructor;
|
417
418
|
displayValue: vue.PropType<unknown>;
|
418
419
|
month: (StringConstructor | NumberConstructor)[];
|
419
420
|
showAdjacentMonths: BooleanConstructor;
|
420
|
-
year: (StringConstructor | NumberConstructor)[];
|
421
421
|
weekdays: {
|
422
422
|
type: {
|
423
423
|
(arrayLength: number): number[];
|
@@ -521,12 +521,12 @@ declare const VDatePicker: {
|
|
521
521
|
hideHeader: BooleanConstructor;
|
522
522
|
max: vue.PropType<unknown>;
|
523
523
|
min: vue.PropType<unknown>;
|
524
|
+
year: NumberConstructor;
|
524
525
|
allowedDates: vue.PropType<unknown[] | ((date: unknown) => boolean)>;
|
525
526
|
disabled: BooleanConstructor;
|
526
527
|
displayValue: vue.PropType<unknown>;
|
527
528
|
month: (StringConstructor | NumberConstructor)[];
|
528
529
|
showAdjacentMonths: BooleanConstructor;
|
529
|
-
year: (StringConstructor | NumberConstructor)[];
|
530
530
|
weekdays: {
|
531
531
|
type: {
|
532
532
|
(arrayLength: number): number[];
|
@@ -1303,7 +1303,10 @@ declare const VDatePickerMonths: {
|
|
1303
1303
|
new (...args: any[]): vue.CreateComponentPublicInstance<{} & {
|
1304
1304
|
height?: string | number | undefined;
|
1305
1305
|
color?: string | undefined;
|
1306
|
+
year?: number | undefined;
|
1306
1307
|
modelValue?: number | undefined;
|
1308
|
+
max?: unknown;
|
1309
|
+
min?: unknown;
|
1307
1310
|
} & {
|
1308
1311
|
$children?: {} | vue.VNodeChild | {
|
1309
1312
|
month?: ((arg: {
|
@@ -1347,7 +1350,10 @@ declare const VDatePickerMonths: {
|
|
1347
1350
|
}, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {} & {
|
1348
1351
|
height?: string | number | undefined;
|
1349
1352
|
color?: string | undefined;
|
1353
|
+
year?: number | undefined;
|
1350
1354
|
modelValue?: number | undefined;
|
1355
|
+
max?: unknown;
|
1356
|
+
min?: unknown;
|
1351
1357
|
} & {
|
1352
1358
|
$children?: {} | vue.VNodeChild | {
|
1353
1359
|
month?: ((arg: {
|
@@ -1409,7 +1415,10 @@ declare const VDatePickerMonths: {
|
|
1409
1415
|
}, {} & {
|
1410
1416
|
height?: string | number | undefined;
|
1411
1417
|
color?: string | undefined;
|
1418
|
+
year?: number | undefined;
|
1412
1419
|
modelValue?: number | undefined;
|
1420
|
+
max?: unknown;
|
1421
|
+
min?: unknown;
|
1413
1422
|
} & {
|
1414
1423
|
$children?: {} | vue.VNodeChild | {
|
1415
1424
|
month?: ((arg: {
|
@@ -1455,7 +1464,10 @@ declare const VDatePickerMonths: {
|
|
1455
1464
|
} & vue.ComponentOptionsBase<{} & {
|
1456
1465
|
height?: string | number | undefined;
|
1457
1466
|
color?: string | undefined;
|
1467
|
+
year?: number | undefined;
|
1458
1468
|
modelValue?: number | undefined;
|
1469
|
+
max?: unknown;
|
1470
|
+
min?: unknown;
|
1459
1471
|
} & {
|
1460
1472
|
$children?: {} | vue.VNodeChild | {
|
1461
1473
|
month?: ((arg: {
|
@@ -1512,11 +1524,17 @@ declare const VDatePickerMonths: {
|
|
1512
1524
|
}>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
|
1513
1525
|
color: StringConstructor;
|
1514
1526
|
height: (StringConstructor | NumberConstructor)[];
|
1527
|
+
min: PropType<unknown>;
|
1528
|
+
max: PropType<unknown>;
|
1515
1529
|
modelValue: NumberConstructor;
|
1530
|
+
year: NumberConstructor;
|
1516
1531
|
}, vue.ExtractPropTypes<{
|
1517
1532
|
color: StringConstructor;
|
1518
1533
|
height: (StringConstructor | NumberConstructor)[];
|
1534
|
+
min: PropType<unknown>;
|
1535
|
+
max: PropType<unknown>;
|
1519
1536
|
modelValue: NumberConstructor;
|
1537
|
+
year: NumberConstructor;
|
1520
1538
|
}>>;
|
1521
1539
|
type VDatePickerMonths = InstanceType<typeof VDatePickerMonths>;
|
1522
1540
|
|
@@ -71,7 +71,8 @@ export const VListChildren = genericComponent()({
|
|
71
71
|
}) : _createVNode(VListItem, listItemProps, slotsWithItem);
|
72
72
|
},
|
73
73
|
default: () => _createVNode(VListChildren, {
|
74
|
-
"items": children
|
74
|
+
"items": children,
|
75
|
+
"returnObject": props.returnObject
|
75
76
|
}, slots)
|
76
77
|
}) : slots.item ? slots.item({
|
77
78
|
props: itemProps
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VListChildren.mjs","names":["VListGroup","VListItem","VListSubheader","VDivider","createList","genericComponent","propsFactory","makeVListChildrenProps","items","Array","returnObject","Boolean","VListChildren","name","props","setup","_ref","slots","default","map","_ref2","children","itemProps","type","raw","item","divider","_createVNode","subheader","slotsWithItem","subtitle","slotProps","undefined","prepend","append","title","listGroupProps","filterProps","_mergeProps","value","activator","_ref3","activatorProps","listItemProps","header"],"sources":["../../../src/components/VList/VListChildren.tsx"],"sourcesContent":["// Components\nimport { VListGroup } from './VListGroup'\nimport { VListItem } from './VListItem'\nimport { VListSubheader } from './VListSubheader'\nimport { VDivider } from '../VDivider'\n\n// Utilities\nimport { createList } from './list'\nimport { genericComponent, propsFactory } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\nimport type { InternalListItem } from './VList'\nimport type { VListItemSlots } from './VListItem'\nimport type { GenericProps } from '@/util'\n\nexport type VListChildrenSlots<T> = {\n [K in keyof Omit<VListItemSlots, 'default'>]: VListItemSlots[K] & { item: T }\n} & {\n default: never\n item: { props: InternalListItem['props'] }\n divider: { props: InternalListItem['props'] }\n subheader: { props: InternalListItem['props'] }\n header: { props: InternalListItem['props'] }\n}\n\nexport const makeVListChildrenProps = propsFactory({\n items: Array as PropType<readonly InternalListItem[]>,\n returnObject: Boolean,\n}, 'VListChildren')\n\nexport const VListChildren = genericComponent<new <T extends InternalListItem>(\n props: {\n items?: readonly T[]\n returnObject?: boolean\n },\n slots: VListChildrenSlots<T>\n) => GenericProps<typeof props, typeof slots>>()({\n name: 'VListChildren',\n\n props: makeVListChildrenProps(),\n\n setup (props, { slots }) {\n createList()\n\n return () => slots.default?.() ?? props.items?.map(({ children, props: itemProps, type, raw: item }) => {\n if (type === 'divider') {\n return slots.divider?.({ props: itemProps }) ?? (\n <VDivider { ...itemProps } />\n )\n }\n\n if (type === 'subheader') {\n return slots.subheader?.({ props: itemProps }) ?? (\n <VListSubheader { ...itemProps } />\n )\n }\n\n const slotsWithItem = {\n subtitle: slots.subtitle ? (slotProps: any) => slots.subtitle?.({ ...slotProps, item }) : undefined,\n prepend: slots.prepend ? (slotProps: any) => slots.prepend?.({ ...slotProps, item }) : undefined,\n append: slots.append ? (slotProps: any) => slots.append?.({ ...slotProps, item }) : undefined,\n title: slots.title ? (slotProps: any) => slots.title?.({ ...slotProps, item }) : undefined,\n }\n\n const listGroupProps = VListGroup.filterProps(itemProps)\n\n return children ? (\n <VListGroup\n value={ itemProps?.value }\n { ...listGroupProps }\n >\n {{\n activator: ({ props: activatorProps }) => {\n const listItemProps = {\n ...itemProps,\n ...activatorProps,\n value: props.returnObject ? item : itemProps.value,\n }\n\n return slots.header\n ? slots.header({ props: listItemProps })\n : (\n <VListItem { ...listItemProps } v-slots={ slotsWithItem } />\n )\n },\n default: () => (\n <VListChildren
|
1
|
+
{"version":3,"file":"VListChildren.mjs","names":["VListGroup","VListItem","VListSubheader","VDivider","createList","genericComponent","propsFactory","makeVListChildrenProps","items","Array","returnObject","Boolean","VListChildren","name","props","setup","_ref","slots","default","map","_ref2","children","itemProps","type","raw","item","divider","_createVNode","subheader","slotsWithItem","subtitle","slotProps","undefined","prepend","append","title","listGroupProps","filterProps","_mergeProps","value","activator","_ref3","activatorProps","listItemProps","header"],"sources":["../../../src/components/VList/VListChildren.tsx"],"sourcesContent":["// Components\nimport { VListGroup } from './VListGroup'\nimport { VListItem } from './VListItem'\nimport { VListSubheader } from './VListSubheader'\nimport { VDivider } from '../VDivider'\n\n// Utilities\nimport { createList } from './list'\nimport { genericComponent, propsFactory } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\nimport type { InternalListItem } from './VList'\nimport type { VListItemSlots } from './VListItem'\nimport type { GenericProps } from '@/util'\n\nexport type VListChildrenSlots<T> = {\n [K in keyof Omit<VListItemSlots, 'default'>]: VListItemSlots[K] & { item: T }\n} & {\n default: never\n item: { props: InternalListItem['props'] }\n divider: { props: InternalListItem['props'] }\n subheader: { props: InternalListItem['props'] }\n header: { props: InternalListItem['props'] }\n}\n\nexport const makeVListChildrenProps = propsFactory({\n items: Array as PropType<readonly InternalListItem[]>,\n returnObject: Boolean,\n}, 'VListChildren')\n\nexport const VListChildren = genericComponent<new <T extends InternalListItem>(\n props: {\n items?: readonly T[]\n returnObject?: boolean\n },\n slots: VListChildrenSlots<T>\n) => GenericProps<typeof props, typeof slots>>()({\n name: 'VListChildren',\n\n props: makeVListChildrenProps(),\n\n setup (props, { slots }) {\n createList()\n\n return () => slots.default?.() ?? props.items?.map(({ children, props: itemProps, type, raw: item }) => {\n if (type === 'divider') {\n return slots.divider?.({ props: itemProps }) ?? (\n <VDivider { ...itemProps } />\n )\n }\n\n if (type === 'subheader') {\n return slots.subheader?.({ props: itemProps }) ?? (\n <VListSubheader { ...itemProps } />\n )\n }\n\n const slotsWithItem = {\n subtitle: slots.subtitle ? (slotProps: any) => slots.subtitle?.({ ...slotProps, item }) : undefined,\n prepend: slots.prepend ? (slotProps: any) => slots.prepend?.({ ...slotProps, item }) : undefined,\n append: slots.append ? (slotProps: any) => slots.append?.({ ...slotProps, item }) : undefined,\n title: slots.title ? (slotProps: any) => slots.title?.({ ...slotProps, item }) : undefined,\n }\n\n const listGroupProps = VListGroup.filterProps(itemProps)\n\n return children ? (\n <VListGroup\n value={ itemProps?.value }\n { ...listGroupProps }\n >\n {{\n activator: ({ props: activatorProps }) => {\n const listItemProps = {\n ...itemProps,\n ...activatorProps,\n value: props.returnObject ? item : itemProps.value,\n }\n\n return slots.header\n ? slots.header({ props: listItemProps })\n : (\n <VListItem { ...listItemProps } v-slots={ slotsWithItem } />\n )\n },\n default: () => (\n <VListChildren\n items={ children }\n returnObject={ props.returnObject }\n v-slots={ slots }\n />\n ),\n }}\n </VListGroup>\n ) : (\n slots.item ? slots.item({ props: itemProps }) : (\n <VListItem\n { ...itemProps }\n value={ props.returnObject ? item : itemProps.value }\n v-slots={ slotsWithItem }\n />\n )\n )\n })\n },\n})\n"],"mappings":";AAAA;AAAA,SACSA,UAAU;AAAA,SACVC,SAAS;AAAA,SACTC,cAAc;AAAA,SACdC,QAAQ,iCAEjB;AAAA,SACSC,UAAU;AAAA,SACVC,gBAAgB,EAAEC,YAAY,gCAEvC;AAgBA,OAAO,MAAMC,sBAAsB,GAAGD,YAAY,CAAC;EACjDE,KAAK,EAAEC,KAA8C;EACrDC,YAAY,EAAEC;AAChB,CAAC,EAAE,eAAe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