@vuetify/nightly 3.9.3-dev.2025-07-31 → 3.9.3-dev.2025-08-02
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 +10 -3
- package/dist/json/attributes.json +2098 -2022
- package/dist/json/importMap-labs.json +24 -24
- package/dist/json/importMap.json +168 -168
- package/dist/json/tags.json +19 -0
- package/dist/json/web-types.json +4252 -4050
- package/dist/vuetify-labs.cjs +77 -24
- package/dist/vuetify-labs.css +5349 -5343
- package/dist/vuetify-labs.d.ts +329 -61
- package/dist/vuetify-labs.esm.js +77 -24
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +77 -24
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.cjs +77 -24
- package/dist/vuetify.cjs.map +1 -1
- package/dist/vuetify.css +2939 -2933
- package/dist/vuetify.d.ts +329 -61
- package/dist/vuetify.esm.js +77 -24
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +77 -24
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +252 -249
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VDataIterator/VDataIterator.d.ts +1 -0
- package/lib/components/VDataIterator/VDataIterator.js +1 -0
- package/lib/components/VDataIterator/VDataIterator.js.map +1 -1
- package/lib/components/VDataTable/VDataTable.css +7 -1
- package/lib/components/VDataTable/VDataTable.d.ts +164 -0
- package/lib/components/VDataTable/VDataTable.sass +4 -1
- package/lib/components/VDataTable/VDataTableColumn.d.ts +4 -1
- package/lib/components/VDataTable/VDataTableColumn.js +6 -2
- package/lib/components/VDataTable/VDataTableColumn.js.map +1 -1
- package/lib/components/VDataTable/VDataTableGroupHeaderRow.d.ts +57 -3
- package/lib/components/VDataTable/VDataTableGroupHeaderRow.js +27 -12
- package/lib/components/VDataTable/VDataTableGroupHeaderRow.js.map +1 -1
- package/lib/components/VDataTable/VDataTableHeaders.js +3 -0
- package/lib/components/VDataTable/VDataTableHeaders.js.map +1 -1
- package/lib/components/VDataTable/VDataTableRow.d.ts +51 -0
- package/lib/components/VDataTable/VDataTableRow.js +17 -4
- package/lib/components/VDataTable/VDataTableRow.js.map +1 -1
- package/lib/components/VDataTable/VDataTableRows.d.ts +100 -0
- package/lib/components/VDataTable/VDataTableRows.js +9 -4
- package/lib/components/VDataTable/VDataTableRows.js.map +1 -1
- package/lib/components/VDataTable/VDataTableServer.d.ts +110 -0
- package/lib/components/VDataTable/VDataTableVirtual.d.ts +110 -0
- package/lib/components/VDataTable/composables/headers.d.ts +14 -0
- package/lib/components/VDataTable/types.d.ts +1 -0
- package/lib/components/VDataTable/types.js.map +1 -1
- package/lib/components/VFileInput/VFileInput.d.ts +25 -0
- package/lib/components/VFileInput/VFileInput.js +11 -1
- package/lib/components/VFileInput/VFileInput.js.map +1 -1
- package/lib/components/VSkeletonLoader/VSkeletonLoader.js +6 -4
- package/lib/components/VSkeletonLoader/VSkeletonLoader.js.map +1 -1
- package/lib/components/VWindow/VWindow.js +2 -2
- package/lib/components/VWindow/VWindow.js.map +1 -1
- package/lib/entry-bundler.js +1 -1
- package/lib/framework.d.ts +62 -61
- package/lib/framework.js +1 -1
- package/lib/iconsets/fa.js +2 -0
- package/lib/iconsets/fa.js.map +1 -1
- package/lib/iconsets/fa4.js +2 -0
- package/lib/iconsets/fa4.js.map +1 -1
- package/lib/iconsets/md.js +2 -0
- package/lib/iconsets/md.js.map +1 -1
- package/lib/iconsets/mdi-svg.js +2 -0
- package/lib/iconsets/mdi-svg.js.map +1 -1
- package/lib/iconsets/mdi.js +2 -0
- package/lib/iconsets/mdi.js.map +1 -1
- package/package.json +1 -1
@@ -28,6 +28,7 @@ type VDataIteratorSlotProps<T> = {
|
|
28
28
|
isGroupOpen: ReturnType<typeof provideGroupBy>['isGroupOpen'];
|
29
29
|
toggleGroup: ReturnType<typeof provideGroupBy>['toggleGroup'];
|
30
30
|
items: readonly DataIteratorItem<T>[];
|
31
|
+
itemsCount: number;
|
31
32
|
groupedItems: readonly (DataIteratorItem<T> | Group<DataIteratorItem<T>>)[];
|
32
33
|
};
|
33
34
|
export type VDataIteratorSlots<T> = {
|
@@ -161,6 +161,7 @@ export const VDataIterator = genericComponent()({
|
|
161
161
|
isGroupOpen,
|
162
162
|
toggleGroup,
|
163
163
|
items: paginatedItemsWithoutGroups.value,
|
164
|
+
itemsCount: filteredItems.value.length,
|
164
165
|
groupedItems: paginatedItems.value
|
165
166
|
}));
|
166
167
|
useRender(() => _createVNode(props.tag, {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VDataIterator.js","names":["VFadeTransition","makeDataTableExpandProps","provideExpanded","makeDataTableGroupProps","provideGroupBy","useGroupedItems","useOptions","createPagination","makeDataTablePaginateProps","providePagination","usePaginatedItems","makeDataTableSelectProps","provideSelection","createSort","makeDataTableSortProps","provideSort","useSortedItems","makeDataIteratorItemsProps","useDataIteratorItems","makeComponentProps","makeFilterProps","useFilter","LoaderSlot","useProxiedModel","makeTagProps","makeTransitionProps","MaybeTransition","computed","toRef","genericComponent","propsFactory","useRender","makeVDataIteratorProps","search","String","loading","Boolean","itemsPerPage","transition","component","hideOnLeave","VDataIterator","name","props","emits","value","setup","_ref","slots","groupBy","items","filteredItems","transform","item","raw","sortBy","multiSort","mustSort","page","toggleSort","sortByWithGroups","opened","extractRows","isGroupOpen","toggleGroup","sortedItems","flatItems","itemsLength","length","startIndex","stopIndex","pageCount","prevPage","nextPage","setItemsPerPage","setPage","paginatedItems","paginatedItemsWithoutGroups","isSelected","select","selectAll","toggleSelect","allItems","currentPage","isExpanded","toggleExpand","slotProps","groupedItems","_createVNode","tag","_normalizeClass","class","_normalizeStyle","style","default","header","loader","_createElementVNode","footer"],"sources":["../../../src/components/VDataIterator/VDataIterator.tsx"],"sourcesContent":["// Components\nimport { VFadeTransition } from '@/components/transitions'\nimport { makeDataTableExpandProps, provideExpanded } from '@/components/VDataTable/composables/expand'\nimport { makeDataTableGroupProps, provideGroupBy, useGroupedItems } from '@/components/VDataTable/composables/group'\nimport { useOptions } from '@/components/VDataTable/composables/options'\nimport {\n createPagination,\n makeDataTablePaginateProps,\n providePagination,\n usePaginatedItems,\n} from '@/components/VDataTable/composables/paginate'\nimport { makeDataTableSelectProps, provideSelection } from '@/components/VDataTable/composables/select'\nimport { createSort, makeDataTableSortProps, provideSort, useSortedItems } from '@/components/VDataTable/composables/sort'\n\n// Composables\nimport { makeDataIteratorItemsProps, useDataIteratorItems } from './composables/items'\nimport { makeComponentProps } from '@/composables/component'\nimport { makeFilterProps, useFilter } from '@/composables/filter'\nimport { LoaderSlot } from '@/composables/loader'\nimport { useProxiedModel } from '@/composables/proxiedModel'\nimport { makeTagProps } from '@/composables/tag'\nimport { makeTransitionProps, MaybeTransition } from '@/composables/transition'\n\n// Utilities\nimport { computed, toRef } from 'vue'\nimport { genericComponent, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { Component } from 'vue'\nimport type { DataIteratorItem } from './composables/items'\nimport type { Group } from '@/components/VDataTable/composables/group'\nimport type { SortItem } from '@/components/VDataTable/composables/sort'\nimport type { LoaderSlotProps } from '@/composables/loader'\nimport type { GenericProps } from '@/util'\n\ntype VDataIteratorSlotProps<T> = {\n page: number\n itemsPerPage: number\n sortBy: readonly SortItem[]\n pageCount: number\n toggleSort: ReturnType<typeof provideSort>['toggleSort']\n prevPage: ReturnType<typeof providePagination>['prevPage']\n nextPage: ReturnType<typeof providePagination>['nextPage']\n setPage: ReturnType<typeof providePagination>['setPage']\n setItemsPerPage: ReturnType<typeof providePagination>['setItemsPerPage']\n isSelected: ReturnType<typeof provideSelection>['isSelected']\n select: ReturnType<typeof provideSelection>['select']\n selectAll: ReturnType<typeof provideSelection>['selectAll']\n toggleSelect: ReturnType<typeof provideSelection>['toggleSelect']\n isExpanded: ReturnType<typeof provideExpanded>['isExpanded']\n toggleExpand: ReturnType<typeof provideExpanded>['toggleExpand']\n isGroupOpen: ReturnType<typeof provideGroupBy>['isGroupOpen']\n toggleGroup: ReturnType<typeof provideGroupBy>['toggleGroup']\n items: readonly DataIteratorItem<T>[]\n groupedItems: readonly (DataIteratorItem<T> | Group<DataIteratorItem<T>>)[]\n}\n\nexport type VDataIteratorSlots<T> = {\n default: VDataIteratorSlotProps<T>\n header: VDataIteratorSlotProps<T>\n footer: VDataIteratorSlotProps<T>\n loader: LoaderSlotProps\n 'no-data': never\n}\n\nexport const makeVDataIteratorProps = propsFactory({\n search: String,\n loading: Boolean,\n\n ...makeComponentProps(),\n ...makeDataIteratorItemsProps(),\n ...makeDataTableSelectProps(),\n ...makeDataTableSortProps(),\n ...makeDataTablePaginateProps({ itemsPerPage: 5 }),\n ...makeDataTableExpandProps(),\n ...makeDataTableGroupProps(),\n ...makeFilterProps(),\n ...makeTagProps(),\n ...makeTransitionProps({\n transition: {\n component: VFadeTransition as Component,\n hideOnLeave: true,\n },\n }),\n}, 'VDataIterator')\n\nexport const VDataIterator = genericComponent<new <T> (\n props: {\n items?: readonly T[]\n },\n slots: VDataIteratorSlots<T>,\n) => GenericProps<typeof props, typeof slots>>()({\n name: 'VDataIterator',\n\n props: makeVDataIteratorProps(),\n\n emits: {\n 'update:modelValue': (value: any[]) => true,\n 'update:groupBy': (value: any) => true,\n 'update:page': (value: number) => true,\n 'update:itemsPerPage': (value: number) => true,\n 'update:sortBy': (value: any) => true,\n 'update:options': (value: any) => true,\n 'update:expanded': (value: any) => true,\n 'update:currentItems': (value: any) => true,\n },\n\n setup (props, { slots }) {\n const groupBy = useProxiedModel(props, 'groupBy')\n const search = toRef(() => props.search)\n\n const { items } = useDataIteratorItems(props)\n const { filteredItems } = useFilter(props, items, search, { transform: item => item.raw })\n\n const { sortBy, multiSort, mustSort } = createSort(props)\n const { page, itemsPerPage } = createPagination(props)\n\n const { toggleSort } = provideSort({ sortBy, multiSort, mustSort, page })\n const { sortByWithGroups, opened, extractRows, isGroupOpen, toggleGroup } = provideGroupBy({ groupBy, sortBy })\n\n const { sortedItems } = useSortedItems(props, filteredItems, sortByWithGroups, { transform: item => item.raw })\n const { flatItems } = useGroupedItems(sortedItems, groupBy, opened)\n\n const itemsLength = toRef(() => flatItems.value.length)\n\n const {\n startIndex,\n stopIndex,\n pageCount,\n prevPage,\n nextPage,\n setItemsPerPage,\n setPage,\n } = providePagination({ page, itemsPerPage, itemsLength })\n const { paginatedItems } = usePaginatedItems({ items: flatItems, startIndex, stopIndex, itemsPerPage })\n\n const paginatedItemsWithoutGroups = computed(() => extractRows(paginatedItems.value))\n\n const {\n isSelected,\n select,\n selectAll,\n toggleSelect,\n } = provideSelection(props, { allItems: items, currentPage: paginatedItemsWithoutGroups })\n const { isExpanded, toggleExpand } = provideExpanded(props)\n\n useOptions({\n page,\n itemsPerPage,\n sortBy,\n groupBy,\n search,\n })\n\n const slotProps = computed(() => ({\n page: page.value,\n itemsPerPage: itemsPerPage.value,\n sortBy: sortBy.value,\n pageCount: pageCount.value,\n toggleSort,\n prevPage,\n nextPage,\n setPage,\n setItemsPerPage,\n isSelected,\n select,\n selectAll,\n toggleSelect,\n isExpanded,\n toggleExpand,\n isGroupOpen,\n toggleGroup,\n items: paginatedItemsWithoutGroups.value,\n groupedItems: paginatedItems.value,\n }))\n\n useRender(() => (\n <props.tag\n class={[\n 'v-data-iterator',\n {\n 'v-data-iterator--loading': props.loading,\n },\n props.class,\n ]}\n style={ props.style }\n >\n { slots.header?.(slotProps.value) }\n\n <MaybeTransition transition={ props.transition }>\n { props.loading ? (\n <LoaderSlot key=\"loader\" name=\"v-data-iterator\" active>\n { slotProps => slots.loader?.(slotProps) }\n </LoaderSlot>\n ) : (\n <div key=\"items\">\n { !paginatedItems.value.length\n ? slots['no-data']?.()\n : slots.default?.(slotProps.value)\n }\n </div>\n )}\n </MaybeTransition>\n\n { slots.footer?.(slotProps.value) }\n </props.tag>\n ))\n\n return {}\n },\n})\n\nexport type VDataIterator = InstanceType<typeof VDataIterator>\n"],"mappings":";AAAA;AAAA,SACSA,eA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A,EAEpC,CAAC;IAEF,OAAO,CAAC,CAAC;EACX;AACF,CAAC,CAAC","ignoreList":[]}
|
1
|
+
{"version":3,"file":"VDataIterator.js","names":["VFadeTransition","makeDataTableExpandProps","provideExpanded","makeDataTableGroupProps","provideGroupBy","useGroupedItems","useOptions","createPagination","makeDataTablePaginateProps","providePagination","usePaginatedItems","makeDataTableSelectProps","provideSelection","createSort","makeDataTableSortProps","provideSort","useSortedItems","makeDataIteratorItemsProps","useDataIteratorItems","makeComponentProps","makeFilterProps","useFilter","LoaderSlot","useProxiedModel","makeTagProps","makeTransitionProps","MaybeTransition","computed","toRef","genericComponent","propsFactory","useRender","makeVDataIteratorProps","search","String","loading","Boolean","itemsPerPage","transition","component","hideOnLeave","VDataIterator","name","props","emits","value","setup","_ref","slots","groupBy","items","filteredItems","transform","item","raw","sortBy","multiSort","mustSort","page","toggleSort","sortByWithGroups","opened","extractRows","isGroupOpen","toggleGroup","sortedItems","flatItems","itemsLength","length","startIndex","stopIndex","pageCount","prevPage","nextPage","setItemsPerPage","setPage","paginatedItems","paginatedItemsWithoutGroups","isSelected","select","selectAll","toggleSelect","allItems","currentPage","isExpanded","toggleExpand","slotProps","itemsCount","groupedItems","_createVNode","tag","_normalizeClass","class","_normalizeStyle","style","default","header","loader","_createElementVNode","footer"],"sources":["../../../src/components/VDataIterator/VDataIterator.tsx"],"sourcesContent":["// Components\nimport { VFadeTransition } from '@/components/transitions'\nimport { makeDataTableExpandProps, provideExpanded } from '@/components/VDataTable/composables/expand'\nimport { makeDataTableGroupProps, provideGroupBy, useGroupedItems } from '@/components/VDataTable/composables/group'\nimport { useOptions } from '@/components/VDataTable/composables/options'\nimport {\n createPagination,\n makeDataTablePaginateProps,\n providePagination,\n usePaginatedItems,\n} from '@/components/VDataTable/composables/paginate'\nimport { makeDataTableSelectProps, provideSelection } from '@/components/VDataTable/composables/select'\nimport { createSort, makeDataTableSortProps, provideSort, useSortedItems } from '@/components/VDataTable/composables/sort'\n\n// Composables\nimport { makeDataIteratorItemsProps, useDataIteratorItems } from './composables/items'\nimport { makeComponentProps } from '@/composables/component'\nimport { makeFilterProps, useFilter } from '@/composables/filter'\nimport { LoaderSlot } from '@/composables/loader'\nimport { useProxiedModel } from '@/composables/proxiedModel'\nimport { makeTagProps } from '@/composables/tag'\nimport { makeTransitionProps, MaybeTransition } from '@/composables/transition'\n\n// Utilities\nimport { computed, toRef } from 'vue'\nimport { genericComponent, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { Component } from 'vue'\nimport type { DataIteratorItem } from './composables/items'\nimport type { Group } from '@/components/VDataTable/composables/group'\nimport type { SortItem } from '@/components/VDataTable/composables/sort'\nimport type { LoaderSlotProps } from '@/composables/loader'\nimport type { GenericProps } from '@/util'\n\ntype VDataIteratorSlotProps<T> = {\n page: number\n itemsPerPage: number\n sortBy: readonly SortItem[]\n pageCount: number\n toggleSort: ReturnType<typeof provideSort>['toggleSort']\n prevPage: ReturnType<typeof providePagination>['prevPage']\n nextPage: ReturnType<typeof providePagination>['nextPage']\n setPage: ReturnType<typeof providePagination>['setPage']\n setItemsPerPage: ReturnType<typeof providePagination>['setItemsPerPage']\n isSelected: ReturnType<typeof provideSelection>['isSelected']\n select: ReturnType<typeof provideSelection>['select']\n selectAll: ReturnType<typeof provideSelection>['selectAll']\n toggleSelect: ReturnType<typeof provideSelection>['toggleSelect']\n isExpanded: ReturnType<typeof provideExpanded>['isExpanded']\n toggleExpand: ReturnType<typeof provideExpanded>['toggleExpand']\n isGroupOpen: ReturnType<typeof provideGroupBy>['isGroupOpen']\n toggleGroup: ReturnType<typeof provideGroupBy>['toggleGroup']\n items: readonly DataIteratorItem<T>[]\n itemsCount: number\n groupedItems: readonly (DataIteratorItem<T> | Group<DataIteratorItem<T>>)[]\n}\n\nexport type VDataIteratorSlots<T> = {\n default: VDataIteratorSlotProps<T>\n header: VDataIteratorSlotProps<T>\n footer: VDataIteratorSlotProps<T>\n loader: LoaderSlotProps\n 'no-data': never\n}\n\nexport const makeVDataIteratorProps = propsFactory({\n search: String,\n loading: Boolean,\n\n ...makeComponentProps(),\n ...makeDataIteratorItemsProps(),\n ...makeDataTableSelectProps(),\n ...makeDataTableSortProps(),\n ...makeDataTablePaginateProps({ itemsPerPage: 5 }),\n ...makeDataTableExpandProps(),\n ...makeDataTableGroupProps(),\n ...makeFilterProps(),\n ...makeTagProps(),\n ...makeTransitionProps({\n transition: {\n component: VFadeTransition as Component,\n hideOnLeave: true,\n },\n }),\n}, 'VDataIterator')\n\nexport const VDataIterator = genericComponent<new <T> (\n props: {\n items?: readonly T[]\n },\n slots: VDataIteratorSlots<T>,\n) => GenericProps<typeof props, typeof slots>>()({\n name: 'VDataIterator',\n\n props: makeVDataIteratorProps(),\n\n emits: {\n 'update:modelValue': (value: any[]) => true,\n 'update:groupBy': (value: any) => true,\n 'update:page': (value: number) => true,\n 'update:itemsPerPage': (value: number) => true,\n 'update:sortBy': (value: any) => true,\n 'update:options': (value: any) => true,\n 'update:expanded': (value: any) => true,\n 'update:currentItems': (value: any) => true,\n },\n\n setup (props, { slots }) {\n const groupBy = useProxiedModel(props, 'groupBy')\n const search = toRef(() => props.search)\n\n const { items } = useDataIteratorItems(props)\n const { filteredItems } = useFilter(props, items, search, { transform: item => item.raw })\n\n const { sortBy, multiSort, mustSort } = createSort(props)\n const { page, itemsPerPage } = createPagination(props)\n\n const { toggleSort } = provideSort({ sortBy, multiSort, mustSort, page })\n const { sortByWithGroups, opened, extractRows, isGroupOpen, toggleGroup } = provideGroupBy({ groupBy, sortBy })\n\n const { sortedItems } = useSortedItems(props, filteredItems, sortByWithGroups, { transform: item => item.raw })\n const { flatItems } = useGroupedItems(sortedItems, groupBy, opened)\n\n const itemsLength = toRef(() => flatItems.value.length)\n\n const {\n startIndex,\n stopIndex,\n pageCount,\n prevPage,\n nextPage,\n setItemsPerPage,\n setPage,\n } = providePagination({ page, itemsPerPage, itemsLength })\n const { paginatedItems } = usePaginatedItems({ items: flatItems, startIndex, stopIndex, itemsPerPage })\n\n const paginatedItemsWithoutGroups = computed(() => extractRows(paginatedItems.value))\n\n const {\n isSelected,\n select,\n selectAll,\n toggleSelect,\n } = provideSelection(props, { allItems: items, currentPage: paginatedItemsWithoutGroups })\n const { isExpanded, toggleExpand } = provideExpanded(props)\n\n useOptions({\n page,\n itemsPerPage,\n sortBy,\n groupBy,\n search,\n })\n\n const slotProps = computed(() => ({\n page: page.value,\n itemsPerPage: itemsPerPage.value,\n sortBy: sortBy.value,\n pageCount: pageCount.value,\n toggleSort,\n prevPage,\n nextPage,\n setPage,\n setItemsPerPage,\n isSelected,\n select,\n selectAll,\n toggleSelect,\n isExpanded,\n toggleExpand,\n isGroupOpen,\n toggleGroup,\n items: paginatedItemsWithoutGroups.value,\n itemsCount: filteredItems.value.length,\n groupedItems: paginatedItems.value,\n }))\n\n useRender(() => (\n <props.tag\n class={[\n 'v-data-iterator',\n {\n 'v-data-iterator--loading': props.loading,\n },\n props.class,\n ]}\n style={ props.style }\n >\n { slots.header?.(slotProps.value) }\n\n <MaybeTransition transition={ props.transition }>\n { props.loading ? (\n <LoaderSlot key=\"loader\" name=\"v-data-iterator\" active>\n { slotProps => slots.loader?.(slotProps) }\n </LoaderSlot>\n ) : (\n <div key=\"items\">\n { !paginatedItems.value.length\n ? slots['no-data']?.()\n : slots.default?.(slotProps.value)\n }\n </div>\n )}\n </MaybeTransition>\n\n { slots.footer?.(slotProps.value) }\n </props.tag>\n ))\n\n return {}\n },\n})\n\nexport type VDataIterator = InstanceType<typeof VDataIterator>\n"],"mappings":";AAAA;AAAA,SACSA,eAAe;AAAA,SACfC,wBAAwB,EAAEC,eAAe;AAAA,SACzCC,uBAAuB,EAAEC,cAAc,EAAEC,eAAe;AAAA,SACxDC,UAAU;AAAA,SAEjBC,gBAAgB,EAChBC,0BAA0B,EAC1BC,iBAAiB,EACjBC,iBAAiB;AAAA,SAEVC,wBAAwB,EAAEC,gBAAgB;AAAA,SAC1CC,UAAU,EAAEC,sBAAsB,EAAEC,WAAW,EA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U;MACVC,YAAY;MACZtB,WAAW;MACXC,WAAW;MACXd,KAAK,EAAE2B,2BAA2B,CAAChC,KAAK;MACxC0C,UAAU,EAAEpC,aAAa,CAACN,KAAK,CAACuB,MAAM;MACtCoB,YAAY,EAAEZ,cAAc,CAAC/B;IAC/B,CAAC,CAAC,CAAC;IAEHd,SAAS,CAAC,MAAA0D,YAAA,CAAA9C,KAAA,CAAA+C,GAAA;MAAA,SAAAC,eAAA,CAEC,CACL,iBAAiB,EACjB;QACE,0BAA0B,EAAEhD,KAAK,CAACR;MACpC,CAAC,EACDQ,KAAK,CAACiD,KAAK,CACZ;MAAA,SAAAC,eAAA,CACOlD,KAAK,CAACmD,KAAK;IAAA;MAAAC,OAAA,EAAAA,CAAA,MAEjB/C,KAAK,CAACgD,MAAM,GAAGV,SAAS,CAACzC,KAAK,CAAC,EAAA4C,YAAA,CAAA/D,eAAA;QAAA,cAEHiB,KAAK,CAACL;MAAU;QAAAyD,OAAA,EAAAA,CAAA,MAC1CpD,KAAK,CAACR,OAAO,GAAAsD,YAAA,CAAAnE,UAAA;UAAA;UAAA;UAAA;QAAA;UAAAyE,OAAA,EAETT,SAAS,IAAItC,KAAK,CAACiD,MAAM,GAAGX,SAAS;QAAC,KAAAY,mBAAA;UAAA;QAAA,IAItC,CAACtB,cAAc,CAAC/B,KAAK,CAACuB,MAAM,GAC1BpB,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC,GACpBA,KAAK,CAAC+C,OAAO,GAAGT,SAAS,CAACzC,KAAK,CAAC,EAGvC;MAAA,IAGDG,KAAK,CAACmD,MAAM,GAAGb,SAAS,CAACzC,KAAK,CAAC;IAAA,EAEpC,CAAC;IAEF,OAAO,CAAC,CAAC;EACX;AACF,CAAC,CAAC","ignoreList":[]}
|
@@ -45,6 +45,12 @@
|
|
45
45
|
.v-data-table .v-table__wrapper > table tbody > tr th.v-data-table-column--no-padding {
|
46
46
|
padding: 0 8px;
|
47
47
|
}
|
48
|
+
.v-data-table .v-table__wrapper > table > thead > tr > td.v-data-table-column--empty,
|
49
|
+
.v-data-table .v-table__wrapper > table > thead > tr th.v-data-table-column--empty,
|
50
|
+
.v-data-table .v-table__wrapper > table tbody > tr > td.v-data-table-column--empty,
|
51
|
+
.v-data-table .v-table__wrapper > table tbody > tr th.v-data-table-column--empty {
|
52
|
+
padding: 0;
|
53
|
+
}
|
48
54
|
.v-data-table .v-table__wrapper > table > thead > tr > td.v-data-table-column--nowrap,
|
49
55
|
.v-data-table .v-table__wrapper > table > thead > tr th.v-data-table-column--nowrap,
|
50
56
|
.v-data-table .v-table__wrapper > table tbody > tr > td.v-data-table-column--nowrap,
|
@@ -128,7 +134,7 @@
|
|
128
134
|
}
|
129
135
|
|
130
136
|
.v-data-table-group-header-row__column {
|
131
|
-
padding-
|
137
|
+
padding-inline-start: calc(var(--v-data-table-group-header-row-depth) * 16px) !important;
|
132
138
|
}
|
133
139
|
|
134
140
|
.v-data-table-header__content {
|
@@ -89,6 +89,10 @@ export declare const makeDataTableProps: <Defaults extends {
|
|
89
89
|
hideDefaultHeader?: unknown;
|
90
90
|
width?: unknown;
|
91
91
|
search?: unknown;
|
92
|
+
groupCollapseIcon?: unknown;
|
93
|
+
groupExpandIcon?: unknown;
|
94
|
+
collapseIcon?: unknown;
|
95
|
+
expandIcon?: unknown;
|
92
96
|
loadingText?: unknown;
|
93
97
|
hideNoData?: unknown;
|
94
98
|
noDataText?: unknown;
|
@@ -327,6 +331,7 @@ export declare const makeDataTableProps: <Defaults extends {
|
|
327
331
|
readonly minWidth?: number | string | undefined;
|
328
332
|
readonly maxWidth?: number | string | undefined;
|
329
333
|
readonly nowrap?: boolean | undefined;
|
334
|
+
readonly intent?: number | undefined;
|
330
335
|
readonly headerProps?: {
|
331
336
|
readonly [x: string]: any;
|
332
337
|
} | undefined;
|
@@ -347,6 +352,7 @@ export declare const makeDataTableProps: <Defaults extends {
|
|
347
352
|
readonly minWidth?: number | string | undefined;
|
348
353
|
readonly maxWidth?: number | string | undefined;
|
349
354
|
readonly nowrap?: boolean | undefined;
|
355
|
+
readonly intent?: number | undefined;
|
350
356
|
readonly headerProps?: {
|
351
357
|
readonly [x: string]: any;
|
352
358
|
} | undefined;
|
@@ -370,6 +376,7 @@ export declare const makeDataTableProps: <Defaults extends {
|
|
370
376
|
readonly minWidth?: number | string | undefined;
|
371
377
|
readonly maxWidth?: number | string | undefined;
|
372
378
|
readonly nowrap?: boolean | undefined;
|
379
|
+
readonly intent?: number | undefined;
|
373
380
|
readonly headerProps?: {
|
374
381
|
readonly [x: string]: any;
|
375
382
|
} | undefined;
|
@@ -390,6 +397,7 @@ export declare const makeDataTableProps: <Defaults extends {
|
|
390
397
|
readonly minWidth?: number | string | undefined;
|
391
398
|
readonly maxWidth?: number | string | undefined;
|
392
399
|
readonly nowrap?: boolean | undefined;
|
400
|
+
readonly intent?: number | undefined;
|
393
401
|
readonly headerProps?: {
|
394
402
|
readonly [x: string]: any;
|
395
403
|
} | undefined;
|
@@ -412,6 +420,7 @@ export declare const makeDataTableProps: <Defaults extends {
|
|
412
420
|
readonly minWidth?: number | string | undefined;
|
413
421
|
readonly maxWidth?: number | string | undefined;
|
414
422
|
readonly nowrap?: boolean | undefined;
|
423
|
+
readonly intent?: number | undefined;
|
415
424
|
readonly headerProps?: {
|
416
425
|
readonly [x: string]: any;
|
417
426
|
} | undefined;
|
@@ -432,6 +441,7 @@ export declare const makeDataTableProps: <Defaults extends {
|
|
432
441
|
readonly minWidth?: number | string | undefined;
|
433
442
|
readonly maxWidth?: number | string | undefined;
|
434
443
|
readonly nowrap?: boolean | undefined;
|
444
|
+
readonly intent?: number | undefined;
|
435
445
|
readonly headerProps?: {
|
436
446
|
readonly [x: string]: any;
|
437
447
|
} | undefined;
|
@@ -455,6 +465,7 @@ export declare const makeDataTableProps: <Defaults extends {
|
|
455
465
|
readonly minWidth?: number | string | undefined;
|
456
466
|
readonly maxWidth?: number | string | undefined;
|
457
467
|
readonly nowrap?: boolean | undefined;
|
468
|
+
readonly intent?: number | undefined;
|
458
469
|
readonly headerProps?: {
|
459
470
|
readonly [x: string]: any;
|
460
471
|
} | undefined;
|
@@ -475,6 +486,7 @@ export declare const makeDataTableProps: <Defaults extends {
|
|
475
486
|
readonly minWidth?: number | string | undefined;
|
476
487
|
readonly maxWidth?: number | string | undefined;
|
477
488
|
readonly nowrap?: boolean | undefined;
|
489
|
+
readonly intent?: number | undefined;
|
478
490
|
readonly headerProps?: {
|
479
491
|
readonly [x: string]: any;
|
480
492
|
} | undefined;
|
@@ -497,6 +509,7 @@ export declare const makeDataTableProps: <Defaults extends {
|
|
497
509
|
readonly minWidth?: number | string | undefined;
|
498
510
|
readonly maxWidth?: number | string | undefined;
|
499
511
|
readonly nowrap?: boolean | undefined;
|
512
|
+
readonly intent?: number | undefined;
|
500
513
|
readonly headerProps?: {
|
501
514
|
readonly [x: string]: any;
|
502
515
|
} | undefined;
|
@@ -517,6 +530,7 @@ export declare const makeDataTableProps: <Defaults extends {
|
|
517
530
|
readonly minWidth?: number | string | undefined;
|
518
531
|
readonly maxWidth?: number | string | undefined;
|
519
532
|
readonly nowrap?: boolean | undefined;
|
533
|
+
readonly intent?: number | undefined;
|
520
534
|
readonly headerProps?: {
|
521
535
|
readonly [x: string]: any;
|
522
536
|
} | undefined;
|
@@ -579,6 +593,46 @@ export declare const makeDataTableProps: <Defaults extends {
|
|
579
593
|
type: import("vue").PropType<unknown extends Defaults["search"] ? string : string | Defaults["search"]>;
|
580
594
|
default: unknown extends Defaults["search"] ? string : string | Defaults["search"];
|
581
595
|
};
|
596
|
+
groupCollapseIcon: unknown extends Defaults["groupCollapseIcon"] ? {
|
597
|
+
type: import("vue").PropType<import("../../composables/icons.js").IconValue>;
|
598
|
+
default: string;
|
599
|
+
} : Omit<{
|
600
|
+
type: import("vue").PropType<import("../../composables/icons.js").IconValue>;
|
601
|
+
default: string;
|
602
|
+
}, "type" | "default"> & {
|
603
|
+
type: import("vue").PropType<unknown extends Defaults["groupCollapseIcon"] ? import("../../composables/icons.js").IconValue : import("../../composables/icons.js").IconValue | Defaults["groupCollapseIcon"]>;
|
604
|
+
default: unknown extends Defaults["groupCollapseIcon"] ? import("../../composables/icons.js").IconValue : NonNullable<import("../../composables/icons.js").IconValue> | Defaults["groupCollapseIcon"];
|
605
|
+
};
|
606
|
+
groupExpandIcon: unknown extends Defaults["groupExpandIcon"] ? {
|
607
|
+
type: import("vue").PropType<import("../../composables/icons.js").IconValue>;
|
608
|
+
default: string;
|
609
|
+
} : Omit<{
|
610
|
+
type: import("vue").PropType<import("../../composables/icons.js").IconValue>;
|
611
|
+
default: string;
|
612
|
+
}, "type" | "default"> & {
|
613
|
+
type: import("vue").PropType<unknown extends Defaults["groupExpandIcon"] ? import("../../composables/icons.js").IconValue : import("../../composables/icons.js").IconValue | Defaults["groupExpandIcon"]>;
|
614
|
+
default: unknown extends Defaults["groupExpandIcon"] ? import("../../composables/icons.js").IconValue : NonNullable<import("../../composables/icons.js").IconValue> | Defaults["groupExpandIcon"];
|
615
|
+
};
|
616
|
+
collapseIcon: unknown extends Defaults["collapseIcon"] ? {
|
617
|
+
type: import("vue").PropType<import("../../composables/icons.js").IconValue>;
|
618
|
+
default: string;
|
619
|
+
} : Omit<{
|
620
|
+
type: import("vue").PropType<import("../../composables/icons.js").IconValue>;
|
621
|
+
default: string;
|
622
|
+
}, "type" | "default"> & {
|
623
|
+
type: import("vue").PropType<unknown extends Defaults["collapseIcon"] ? import("../../composables/icons.js").IconValue : import("../../composables/icons.js").IconValue | Defaults["collapseIcon"]>;
|
624
|
+
default: unknown extends Defaults["collapseIcon"] ? import("../../composables/icons.js").IconValue : NonNullable<import("../../composables/icons.js").IconValue> | Defaults["collapseIcon"];
|
625
|
+
};
|
626
|
+
expandIcon: unknown extends Defaults["expandIcon"] ? {
|
627
|
+
type: import("vue").PropType<import("../../composables/icons.js").IconValue>;
|
628
|
+
default: string;
|
629
|
+
} : Omit<{
|
630
|
+
type: import("vue").PropType<import("../../composables/icons.js").IconValue>;
|
631
|
+
default: string;
|
632
|
+
}, "type" | "default"> & {
|
633
|
+
type: import("vue").PropType<unknown extends Defaults["expandIcon"] ? import("../../composables/icons.js").IconValue : import("../../composables/icons.js").IconValue | Defaults["expandIcon"]>;
|
634
|
+
default: unknown extends Defaults["expandIcon"] ? import("../../composables/icons.js").IconValue : NonNullable<import("../../composables/icons.js").IconValue> | Defaults["expandIcon"];
|
635
|
+
};
|
582
636
|
loadingText: unknown extends Defaults["loadingText"] ? {
|
583
637
|
type: StringConstructor;
|
584
638
|
default: string;
|
@@ -665,6 +719,10 @@ export declare const makeVDataTableProps: <Defaults extends {
|
|
665
719
|
hideDefaultHeader?: unknown;
|
666
720
|
width?: unknown;
|
667
721
|
search?: unknown;
|
722
|
+
groupCollapseIcon?: unknown;
|
723
|
+
groupExpandIcon?: unknown;
|
724
|
+
collapseIcon?: unknown;
|
725
|
+
expandIcon?: unknown;
|
668
726
|
loadingText?: unknown;
|
669
727
|
hideNoData?: unknown;
|
670
728
|
noDataText?: unknown;
|
@@ -1069,6 +1127,7 @@ export declare const makeVDataTableProps: <Defaults extends {
|
|
1069
1127
|
readonly minWidth?: number | string | undefined;
|
1070
1128
|
readonly maxWidth?: number | string | undefined;
|
1071
1129
|
readonly nowrap?: boolean | undefined;
|
1130
|
+
readonly intent?: number | undefined;
|
1072
1131
|
readonly headerProps?: {
|
1073
1132
|
readonly [x: string]: any;
|
1074
1133
|
} | undefined;
|
@@ -1089,6 +1148,7 @@ export declare const makeVDataTableProps: <Defaults extends {
|
|
1089
1148
|
readonly minWidth?: number | string | undefined;
|
1090
1149
|
readonly maxWidth?: number | string | undefined;
|
1091
1150
|
readonly nowrap?: boolean | undefined;
|
1151
|
+
readonly intent?: number | undefined;
|
1092
1152
|
readonly headerProps?: {
|
1093
1153
|
readonly [x: string]: any;
|
1094
1154
|
} | undefined;
|
@@ -1112,6 +1172,7 @@ export declare const makeVDataTableProps: <Defaults extends {
|
|
1112
1172
|
readonly minWidth?: number | string | undefined;
|
1113
1173
|
readonly maxWidth?: number | string | undefined;
|
1114
1174
|
readonly nowrap?: boolean | undefined;
|
1175
|
+
readonly intent?: number | undefined;
|
1115
1176
|
readonly headerProps?: {
|
1116
1177
|
readonly [x: string]: any;
|
1117
1178
|
} | undefined;
|
@@ -1132,6 +1193,7 @@ export declare const makeVDataTableProps: <Defaults extends {
|
|
1132
1193
|
readonly minWidth?: number | string | undefined;
|
1133
1194
|
readonly maxWidth?: number | string | undefined;
|
1134
1195
|
readonly nowrap?: boolean | undefined;
|
1196
|
+
readonly intent?: number | undefined;
|
1135
1197
|
readonly headerProps?: {
|
1136
1198
|
readonly [x: string]: any;
|
1137
1199
|
} | undefined;
|
@@ -1154,6 +1216,7 @@ export declare const makeVDataTableProps: <Defaults extends {
|
|
1154
1216
|
readonly minWidth?: number | string | undefined;
|
1155
1217
|
readonly maxWidth?: number | string | undefined;
|
1156
1218
|
readonly nowrap?: boolean | undefined;
|
1219
|
+
readonly intent?: number | undefined;
|
1157
1220
|
readonly headerProps?: {
|
1158
1221
|
readonly [x: string]: any;
|
1159
1222
|
} | undefined;
|
@@ -1174,6 +1237,7 @@ export declare const makeVDataTableProps: <Defaults extends {
|
|
1174
1237
|
readonly minWidth?: number | string | undefined;
|
1175
1238
|
readonly maxWidth?: number | string | undefined;
|
1176
1239
|
readonly nowrap?: boolean | undefined;
|
1240
|
+
readonly intent?: number | undefined;
|
1177
1241
|
readonly headerProps?: {
|
1178
1242
|
readonly [x: string]: any;
|
1179
1243
|
} | undefined;
|
@@ -1197,6 +1261,7 @@ export declare const makeVDataTableProps: <Defaults extends {
|
|
1197
1261
|
readonly minWidth?: number | string | undefined;
|
1198
1262
|
readonly maxWidth?: number | string | undefined;
|
1199
1263
|
readonly nowrap?: boolean | undefined;
|
1264
|
+
readonly intent?: number | undefined;
|
1200
1265
|
readonly headerProps?: {
|
1201
1266
|
readonly [x: string]: any;
|
1202
1267
|
} | undefined;
|
@@ -1217,6 +1282,7 @@ export declare const makeVDataTableProps: <Defaults extends {
|
|
1217
1282
|
readonly minWidth?: number | string | undefined;
|
1218
1283
|
readonly maxWidth?: number | string | undefined;
|
1219
1284
|
readonly nowrap?: boolean | undefined;
|
1285
|
+
readonly intent?: number | undefined;
|
1220
1286
|
readonly headerProps?: {
|
1221
1287
|
readonly [x: string]: any;
|
1222
1288
|
} | undefined;
|
@@ -1239,6 +1305,7 @@ export declare const makeVDataTableProps: <Defaults extends {
|
|
1239
1305
|
readonly minWidth?: number | string | undefined;
|
1240
1306
|
readonly maxWidth?: number | string | undefined;
|
1241
1307
|
readonly nowrap?: boolean | undefined;
|
1308
|
+
readonly intent?: number | undefined;
|
1242
1309
|
readonly headerProps?: {
|
1243
1310
|
readonly [x: string]: any;
|
1244
1311
|
} | undefined;
|
@@ -1259,6 +1326,7 @@ export declare const makeVDataTableProps: <Defaults extends {
|
|
1259
1326
|
readonly minWidth?: number | string | undefined;
|
1260
1327
|
readonly maxWidth?: number | string | undefined;
|
1261
1328
|
readonly nowrap?: boolean | undefined;
|
1329
|
+
readonly intent?: number | undefined;
|
1262
1330
|
readonly headerProps?: {
|
1263
1331
|
readonly [x: string]: any;
|
1264
1332
|
} | undefined;
|
@@ -1321,6 +1389,46 @@ export declare const makeVDataTableProps: <Defaults extends {
|
|
1321
1389
|
type: import("vue").PropType<unknown extends Defaults["search"] ? string : string | Defaults["search"]>;
|
1322
1390
|
default: unknown extends Defaults["search"] ? string : string | Defaults["search"];
|
1323
1391
|
};
|
1392
|
+
groupCollapseIcon: unknown extends Defaults["groupCollapseIcon"] ? {
|
1393
|
+
type: import("vue").PropType<import("../../composables/icons.js").IconValue>;
|
1394
|
+
default: string;
|
1395
|
+
} : Omit<{
|
1396
|
+
type: import("vue").PropType<import("../../composables/icons.js").IconValue>;
|
1397
|
+
default: string;
|
1398
|
+
}, "type" | "default"> & {
|
1399
|
+
type: import("vue").PropType<unknown extends Defaults["groupCollapseIcon"] ? import("../../composables/icons.js").IconValue : import("../../composables/icons.js").IconValue | Defaults["groupCollapseIcon"]>;
|
1400
|
+
default: unknown extends Defaults["groupCollapseIcon"] ? import("../../composables/icons.js").IconValue : NonNullable<import("../../composables/icons.js").IconValue> | Defaults["groupCollapseIcon"];
|
1401
|
+
};
|
1402
|
+
groupExpandIcon: unknown extends Defaults["groupExpandIcon"] ? {
|
1403
|
+
type: import("vue").PropType<import("../../composables/icons.js").IconValue>;
|
1404
|
+
default: string;
|
1405
|
+
} : Omit<{
|
1406
|
+
type: import("vue").PropType<import("../../composables/icons.js").IconValue>;
|
1407
|
+
default: string;
|
1408
|
+
}, "type" | "default"> & {
|
1409
|
+
type: import("vue").PropType<unknown extends Defaults["groupExpandIcon"] ? import("../../composables/icons.js").IconValue : import("../../composables/icons.js").IconValue | Defaults["groupExpandIcon"]>;
|
1410
|
+
default: unknown extends Defaults["groupExpandIcon"] ? import("../../composables/icons.js").IconValue : NonNullable<import("../../composables/icons.js").IconValue> | Defaults["groupExpandIcon"];
|
1411
|
+
};
|
1412
|
+
collapseIcon: unknown extends Defaults["collapseIcon"] ? {
|
1413
|
+
type: import("vue").PropType<import("../../composables/icons.js").IconValue>;
|
1414
|
+
default: string;
|
1415
|
+
} : Omit<{
|
1416
|
+
type: import("vue").PropType<import("../../composables/icons.js").IconValue>;
|
1417
|
+
default: string;
|
1418
|
+
}, "type" | "default"> & {
|
1419
|
+
type: import("vue").PropType<unknown extends Defaults["collapseIcon"] ? import("../../composables/icons.js").IconValue : import("../../composables/icons.js").IconValue | Defaults["collapseIcon"]>;
|
1420
|
+
default: unknown extends Defaults["collapseIcon"] ? import("../../composables/icons.js").IconValue : NonNullable<import("../../composables/icons.js").IconValue> | Defaults["collapseIcon"];
|
1421
|
+
};
|
1422
|
+
expandIcon: unknown extends Defaults["expandIcon"] ? {
|
1423
|
+
type: import("vue").PropType<import("../../composables/icons.js").IconValue>;
|
1424
|
+
default: string;
|
1425
|
+
} : Omit<{
|
1426
|
+
type: import("vue").PropType<import("../../composables/icons.js").IconValue>;
|
1427
|
+
default: string;
|
1428
|
+
}, "type" | "default"> & {
|
1429
|
+
type: import("vue").PropType<unknown extends Defaults["expandIcon"] ? import("../../composables/icons.js").IconValue : import("../../composables/icons.js").IconValue | Defaults["expandIcon"]>;
|
1430
|
+
default: unknown extends Defaults["expandIcon"] ? import("../../composables/icons.js").IconValue : NonNullable<import("../../composables/icons.js").IconValue> | Defaults["expandIcon"];
|
1431
|
+
};
|
1324
1432
|
loadingText: unknown extends Defaults["loadingText"] ? {
|
1325
1433
|
type: StringConstructor;
|
1326
1434
|
default: string;
|
@@ -1396,6 +1504,8 @@ export declare const VDataTable: {
|
|
1396
1504
|
striped: import("../VTable/VTable.js").Striped;
|
1397
1505
|
nextIcon: import("../../composables/icons.js").IconValue;
|
1398
1506
|
prevIcon: import("../../composables/icons.js").IconValue;
|
1507
|
+
collapseIcon: import("../../composables/icons.js").IconValue;
|
1508
|
+
expandIcon: import("../../composables/icons.js").IconValue;
|
1399
1509
|
hideNoData: boolean;
|
1400
1510
|
hover: boolean;
|
1401
1511
|
itemsPerPage: string | number;
|
@@ -1413,6 +1523,8 @@ export declare const VDataTable: {
|
|
1413
1523
|
fixedHeader: boolean;
|
1414
1524
|
sortAscIcon: import("../../composables/icons.js").IconValue;
|
1415
1525
|
sortDescIcon: import("../../composables/icons.js").IconValue;
|
1526
|
+
groupCollapseIcon: import("../../composables/icons.js").IconValue;
|
1527
|
+
groupExpandIcon: import("../../composables/icons.js").IconValue;
|
1416
1528
|
fixedFooter: boolean;
|
1417
1529
|
hideDefaultBody: boolean;
|
1418
1530
|
hideDefaultFooter: boolean;
|
@@ -1476,6 +1588,8 @@ export declare const VDataTable: {
|
|
1476
1588
|
striped: import("../VTable/VTable.js").Striped;
|
1477
1589
|
nextIcon: import("../../composables/icons.js").IconValue;
|
1478
1590
|
prevIcon: import("../../composables/icons.js").IconValue;
|
1591
|
+
collapseIcon: import("../../composables/icons.js").IconValue;
|
1592
|
+
expandIcon: import("../../composables/icons.js").IconValue;
|
1479
1593
|
hideNoData: boolean;
|
1480
1594
|
hover: boolean;
|
1481
1595
|
itemsPerPage: string | number;
|
@@ -1493,6 +1607,8 @@ export declare const VDataTable: {
|
|
1493
1607
|
fixedHeader: boolean;
|
1494
1608
|
sortAscIcon: import("../../composables/icons.js").IconValue;
|
1495
1609
|
sortDescIcon: import("../../composables/icons.js").IconValue;
|
1610
|
+
groupCollapseIcon: import("../../composables/icons.js").IconValue;
|
1611
|
+
groupExpandIcon: import("../../composables/icons.js").IconValue;
|
1496
1612
|
fixedFooter: boolean;
|
1497
1613
|
hideDefaultBody: boolean;
|
1498
1614
|
hideDefaultFooter: boolean;
|
@@ -1577,6 +1693,8 @@ export declare const VDataTable: {
|
|
1577
1693
|
striped: import("../VTable/VTable.js").Striped;
|
1578
1694
|
nextIcon: import("../../composables/icons.js").IconValue;
|
1579
1695
|
prevIcon: import("../../composables/icons.js").IconValue;
|
1696
|
+
collapseIcon: import("../../composables/icons.js").IconValue;
|
1697
|
+
expandIcon: import("../../composables/icons.js").IconValue;
|
1580
1698
|
hideNoData: boolean;
|
1581
1699
|
hover: boolean;
|
1582
1700
|
itemsPerPage: string | number;
|
@@ -1594,6 +1712,8 @@ export declare const VDataTable: {
|
|
1594
1712
|
fixedHeader: boolean;
|
1595
1713
|
sortAscIcon: import("../../composables/icons.js").IconValue;
|
1596
1714
|
sortDescIcon: import("../../composables/icons.js").IconValue;
|
1715
|
+
groupCollapseIcon: import("../../composables/icons.js").IconValue;
|
1716
|
+
groupExpandIcon: import("../../composables/icons.js").IconValue;
|
1597
1717
|
fixedFooter: boolean;
|
1598
1718
|
hideDefaultBody: boolean;
|
1599
1719
|
hideDefaultFooter: boolean;
|
@@ -1648,6 +1768,8 @@ export declare const VDataTable: {
|
|
1648
1768
|
striped: import("../VTable/VTable.js").Striped;
|
1649
1769
|
nextIcon: import("../../composables/icons.js").IconValue;
|
1650
1770
|
prevIcon: import("../../composables/icons.js").IconValue;
|
1771
|
+
collapseIcon: import("../../composables/icons.js").IconValue;
|
1772
|
+
expandIcon: import("../../composables/icons.js").IconValue;
|
1651
1773
|
hideNoData: boolean;
|
1652
1774
|
hover: boolean;
|
1653
1775
|
itemsPerPage: string | number;
|
@@ -1665,6 +1787,8 @@ export declare const VDataTable: {
|
|
1665
1787
|
fixedHeader: boolean;
|
1666
1788
|
sortAscIcon: import("../../composables/icons.js").IconValue;
|
1667
1789
|
sortDescIcon: import("../../composables/icons.js").IconValue;
|
1790
|
+
groupCollapseIcon: import("../../composables/icons.js").IconValue;
|
1791
|
+
groupExpandIcon: import("../../composables/icons.js").IconValue;
|
1668
1792
|
fixedFooter: boolean;
|
1669
1793
|
hideDefaultBody: boolean;
|
1670
1794
|
hideDefaultFooter: boolean;
|
@@ -1701,6 +1825,8 @@ export declare const VDataTable: {
|
|
1701
1825
|
striped: import("../VTable/VTable.js").Striped;
|
1702
1826
|
nextIcon: import("../../composables/icons.js").IconValue;
|
1703
1827
|
prevIcon: import("../../composables/icons.js").IconValue;
|
1828
|
+
collapseIcon: import("../../composables/icons.js").IconValue;
|
1829
|
+
expandIcon: import("../../composables/icons.js").IconValue;
|
1704
1830
|
hideNoData: boolean;
|
1705
1831
|
hover: boolean;
|
1706
1832
|
itemsPerPage: string | number;
|
@@ -1718,6 +1844,8 @@ export declare const VDataTable: {
|
|
1718
1844
|
fixedHeader: boolean;
|
1719
1845
|
sortAscIcon: import("../../composables/icons.js").IconValue;
|
1720
1846
|
sortDescIcon: import("../../composables/icons.js").IconValue;
|
1847
|
+
groupCollapseIcon: import("../../composables/icons.js").IconValue;
|
1848
|
+
groupExpandIcon: import("../../composables/icons.js").IconValue;
|
1721
1849
|
fixedFooter: boolean;
|
1722
1850
|
hideDefaultBody: boolean;
|
1723
1851
|
hideDefaultFooter: boolean;
|
@@ -1781,6 +1909,8 @@ export declare const VDataTable: {
|
|
1781
1909
|
striped: import("../VTable/VTable.js").Striped;
|
1782
1910
|
nextIcon: import("../../composables/icons.js").IconValue;
|
1783
1911
|
prevIcon: import("../../composables/icons.js").IconValue;
|
1912
|
+
collapseIcon: import("../../composables/icons.js").IconValue;
|
1913
|
+
expandIcon: import("../../composables/icons.js").IconValue;
|
1784
1914
|
hideNoData: boolean;
|
1785
1915
|
hover: boolean;
|
1786
1916
|
itemsPerPage: string | number;
|
@@ -1798,6 +1928,8 @@ export declare const VDataTable: {
|
|
1798
1928
|
fixedHeader: boolean;
|
1799
1929
|
sortAscIcon: import("../../composables/icons.js").IconValue;
|
1800
1930
|
sortDescIcon: import("../../composables/icons.js").IconValue;
|
1931
|
+
groupCollapseIcon: import("../../composables/icons.js").IconValue;
|
1932
|
+
groupExpandIcon: import("../../composables/icons.js").IconValue;
|
1801
1933
|
fixedFooter: boolean;
|
1802
1934
|
hideDefaultBody: boolean;
|
1803
1935
|
hideDefaultFooter: boolean;
|
@@ -2011,6 +2143,22 @@ export declare const VDataTable: {
|
|
2011
2143
|
hideDefaultHeader: BooleanConstructor;
|
2012
2144
|
width: (StringConstructor | NumberConstructor)[];
|
2013
2145
|
search: StringConstructor;
|
2146
|
+
groupCollapseIcon: {
|
2147
|
+
type: import("vue").PropType<import("../../composables/icons.js").IconValue>;
|
2148
|
+
default: string;
|
2149
|
+
};
|
2150
|
+
groupExpandIcon: {
|
2151
|
+
type: import("vue").PropType<import("../../composables/icons.js").IconValue>;
|
2152
|
+
default: string;
|
2153
|
+
};
|
2154
|
+
collapseIcon: {
|
2155
|
+
type: import("vue").PropType<import("../../composables/icons.js").IconValue>;
|
2156
|
+
default: string;
|
2157
|
+
};
|
2158
|
+
expandIcon: {
|
2159
|
+
type: import("vue").PropType<import("../../composables/icons.js").IconValue>;
|
2160
|
+
default: string;
|
2161
|
+
};
|
2014
2162
|
loadingText: {
|
2015
2163
|
type: StringConstructor;
|
2016
2164
|
default: string;
|
@@ -2183,6 +2331,22 @@ export declare const VDataTable: {
|
|
2183
2331
|
hideDefaultHeader: BooleanConstructor;
|
2184
2332
|
width: (StringConstructor | NumberConstructor)[];
|
2185
2333
|
search: StringConstructor;
|
2334
|
+
groupCollapseIcon: {
|
2335
|
+
type: import("vue").PropType<import("../../composables/icons.js").IconValue>;
|
2336
|
+
default: string;
|
2337
|
+
};
|
2338
|
+
groupExpandIcon: {
|
2339
|
+
type: import("vue").PropType<import("../../composables/icons.js").IconValue>;
|
2340
|
+
default: string;
|
2341
|
+
};
|
2342
|
+
collapseIcon: {
|
2343
|
+
type: import("vue").PropType<import("../../composables/icons.js").IconValue>;
|
2344
|
+
default: string;
|
2345
|
+
};
|
2346
|
+
expandIcon: {
|
2347
|
+
type: import("vue").PropType<import("../../composables/icons.js").IconValue>;
|
2348
|
+
default: string;
|
2349
|
+
};
|
2186
2350
|
loadingText: {
|
2187
2351
|
type: StringConstructor;
|
2188
2352
|
default: string;
|
@@ -44,6 +44,9 @@
|
|
44
44
|
&.v-data-table-column--no-padding
|
45
45
|
padding: 0 8px
|
46
46
|
|
47
|
+
&.v-data-table-column--empty
|
48
|
+
padding: 0
|
49
|
+
|
47
50
|
&.v-data-table-column--nowrap
|
48
51
|
text-overflow: ellipsis
|
49
52
|
text-wrap: nowrap
|
@@ -112,7 +115,7 @@
|
|
112
115
|
opacity: $data-table-loading-opacity
|
113
116
|
|
114
117
|
.v-data-table-group-header-row__column
|
115
|
-
padding-
|
118
|
+
padding-inline-start: calc(var(--v-data-table-group-header-row-depth) * 16px) !important
|
116
119
|
|
117
120
|
.v-data-table-header__content
|
118
121
|
display: flex
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import type { PropType } from 'vue';
|
2
2
|
export declare const VDataTableColumn: import("vue").FunctionalComponent<Partial<{
|
3
3
|
fixed: boolean | "end" | "start";
|
4
|
+
empty: boolean;
|
4
5
|
nowrap: boolean;
|
5
6
|
align: "center" | "end" | "start";
|
6
7
|
lastFixed: boolean;
|
@@ -21,8 +22,10 @@ export declare const VDataTableColumn: import("vue").FunctionalComponent<Partial
|
|
21
22
|
lastFixed: BooleanConstructor;
|
22
23
|
firstFixedEnd: BooleanConstructor;
|
23
24
|
noPadding: BooleanConstructor;
|
25
|
+
indent: (StringConstructor | NumberConstructor)[];
|
26
|
+
empty: BooleanConstructor;
|
24
27
|
tag: StringConstructor;
|
25
28
|
width: (StringConstructor | NumberConstructor)[];
|
26
29
|
maxWidth: (StringConstructor | NumberConstructor)[];
|
27
30
|
nowrap: BooleanConstructor;
|
28
|
-
}>>, "fixed" | "nowrap" | "align" | "lastFixed" | "firstFixedEnd" | "noPadding">, {}, any, {}>;
|
31
|
+
}>>, "fixed" | "empty" | "nowrap" | "align" | "lastFixed" | "firstFixedEnd" | "noPadding">, {}, any, {}>;
|
@@ -16,6 +16,8 @@ export const VDataTableColumn = defineFunctionalComponent({
|
|
16
16
|
lastFixed: Boolean,
|
17
17
|
firstFixedEnd: Boolean,
|
18
18
|
noPadding: Boolean,
|
19
|
+
indent: [Number, String],
|
20
|
+
empty: Boolean,
|
19
21
|
tag: String,
|
20
22
|
width: [Number, String],
|
21
23
|
maxWidth: [Number, String],
|
@@ -33,14 +35,16 @@ export const VDataTableColumn = defineFunctionalComponent({
|
|
33
35
|
'v-data-table-column--last-fixed': props.lastFixed,
|
34
36
|
'v-data-table-column--first-fixed-end': props.firstFixedEnd,
|
35
37
|
'v-data-table-column--no-padding': props.noPadding,
|
36
|
-
'v-data-table-column--nowrap': props.nowrap
|
38
|
+
'v-data-table-column--nowrap': props.nowrap,
|
39
|
+
'v-data-table-column--empty': props.empty
|
37
40
|
}, `v-data-table-column--align-${props.align}`]),
|
38
41
|
"style": {
|
39
42
|
height: convertToUnit(props.height),
|
40
43
|
width: convertToUnit(props.width),
|
41
44
|
maxWidth: convertToUnit(props.maxWidth),
|
42
45
|
left: fixedSide === 'start' ? convertToUnit(props.fixedOffset || null) : undefined,
|
43
|
-
right: fixedSide === 'end' ? convertToUnit(props.fixedEndOffset || null) : undefined
|
46
|
+
right: fixedSide === 'end' ? convertToUnit(props.fixedEndOffset || null) : undefined,
|
47
|
+
paddingInlineStart: props.indent ? convertToUnit(props.indent) : undefined
|
44
48
|
}
|
45
49
|
}, {
|
46
50
|
default: () => [slots.default?.()]
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VDataTableColumn.js","names":["convertToUnit","defineFunctionalComponent","VDataTableColumn","align","type","String","default","fixed","Boolean","fixedOffset","Number","fixedEndOffset","height","lastFixed","firstFixedEnd","noPadding","tag","width","maxWidth","nowrap","props","_ref","slots","Tag","fixedSide","_createVNode","_normalizeClass","left","undefined","right"],"sources":["../../../src/components/VDataTable/VDataTableColumn.tsx"],"sourcesContent":["// Utilities\nimport { convertToUnit, defineFunctionalComponent } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\n\nexport const VDataTableColumn = defineFunctionalComponent({\n align: {\n type: String as PropType<'start' | 'center' | 'end'>,\n default: 'start',\n },\n fixed: {\n type: [Boolean, String] as PropType<boolean | 'start' | 'end'>,\n default: false,\n },\n fixedOffset: [Number, String],\n fixedEndOffset: [Number, String],\n height: [Number, String],\n lastFixed: Boolean,\n firstFixedEnd: Boolean,\n\n noPadding: Boolean,\n tag: String,\n width: [Number, String],\n maxWidth: [Number, String],\n nowrap: Boolean,\n}, (props, { slots }) => {\n const Tag = props.tag ?? 'td'\n\n const fixedSide = typeof props.fixed === 'string' ? props.fixed\n : props.fixed ? 'start'\n : 'none'\n\n return (\n <Tag\n class={[\n 'v-data-table__td',\n {\n 'v-data-table-column--fixed': fixedSide === 'start',\n 'v-data-table-column--fixed-end': fixedSide === 'end',\n 'v-data-table-column--last-fixed': props.lastFixed,\n 'v-data-table-column--first-fixed-end': props.firstFixedEnd,\n 'v-data-table-column--no-padding': props.noPadding,\n 'v-data-table-column--nowrap': props.nowrap,\n },\n `v-data-table-column--align-${props.align}`,\n ]}\n style={{\n height: convertToUnit(props.height),\n width: convertToUnit(props.width),\n maxWidth: convertToUnit(props.maxWidth),\n left: fixedSide === 'start' ? convertToUnit(props.fixedOffset || null) : undefined,\n right: fixedSide === 'end' ? convertToUnit(props.fixedEndOffset || null) : undefined,\n }}\n >\n { slots.default?.() }\n </Tag>\n )\n})\n"],"mappings":";AAAA;AAAA,SACSA,aAAa,EAAEC,yBAAyB,+BAEjD;AAGA,OAAO,MAAMC,gBAAgB,GAAGD,yBAAyB,CAAC;EACxDE,KAAK,EAAE;IACLC,IAAI,EAAEC,MAA8C;IACpDC,OAAO,EAAE;EACX,CAAC;EACDC,KAAK,EAAE;IACLH,IAAI,EAAE,CAACI,OAAO,EAAEH,MAAM,CAAwC;IAC9DC,OAAO,EAAE;EACX,CAAC;EACDG,WAAW,EAAE,CAACC,MAAM,EAAEL,MAAM,CAAC;EAC7BM,cAAc,EAAE,CAACD,MAAM,EAAEL,MAAM,CAAC;EAChCO,MAAM,EAAE,CAACF,MAAM,EAAEL,MAAM,CAAC;EACxBQ,SAAS,EAAEL,OAAO;EAClBM,aAAa,EAAEN,OAAO;EAEtBO,SAAS,EAAEP,OAAO;EAClBQ,GAAG,
|
1
|
+
{"version":3,"file":"VDataTableColumn.js","names":["convertToUnit","defineFunctionalComponent","VDataTableColumn","align","type","String","default","fixed","Boolean","fixedOffset","Number","fixedEndOffset","height","lastFixed","firstFixedEnd","noPadding","indent","empty","tag","width","maxWidth","nowrap","props","_ref","slots","Tag","fixedSide","_createVNode","_normalizeClass","left","undefined","right","paddingInlineStart"],"sources":["../../../src/components/VDataTable/VDataTableColumn.tsx"],"sourcesContent":["// Utilities\nimport { convertToUnit, defineFunctionalComponent } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\n\nexport const VDataTableColumn = defineFunctionalComponent({\n align: {\n type: String as PropType<'start' | 'center' | 'end'>,\n default: 'start',\n },\n fixed: {\n type: [Boolean, String] as PropType<boolean | 'start' | 'end'>,\n default: false,\n },\n fixedOffset: [Number, String],\n fixedEndOffset: [Number, String],\n height: [Number, String],\n lastFixed: Boolean,\n firstFixedEnd: Boolean,\n\n noPadding: Boolean,\n indent: [Number, String],\n empty: Boolean,\n\n tag: String,\n width: [Number, String],\n maxWidth: [Number, String],\n nowrap: Boolean,\n}, (props, { slots }) => {\n const Tag = props.tag ?? 'td'\n\n const fixedSide = typeof props.fixed === 'string' ? props.fixed\n : props.fixed ? 'start'\n : 'none'\n\n return (\n <Tag\n class={[\n 'v-data-table__td',\n {\n 'v-data-table-column--fixed': fixedSide === 'start',\n 'v-data-table-column--fixed-end': fixedSide === 'end',\n 'v-data-table-column--last-fixed': props.lastFixed,\n 'v-data-table-column--first-fixed-end': props.firstFixedEnd,\n 'v-data-table-column--no-padding': props.noPadding,\n 'v-data-table-column--nowrap': props.nowrap,\n 'v-data-table-column--empty': props.empty,\n },\n `v-data-table-column--align-${props.align}`,\n ]}\n style={{\n height: convertToUnit(props.height),\n width: convertToUnit(props.width),\n maxWidth: convertToUnit(props.maxWidth),\n left: fixedSide === 'start' ? convertToUnit(props.fixedOffset || null) : undefined,\n right: fixedSide === 'end' ? convertToUnit(props.fixedEndOffset || null) : undefined,\n paddingInlineStart: props.indent ? convertToUnit(props.indent) : undefined,\n }}\n >\n { slots.default?.() }\n </Tag>\n )\n})\n"],"mappings":";AAAA;AAAA,SACSA,aAAa,EAAEC,yBAAyB,+BAEjD;AAGA,OAAO,MAAMC,gBAAgB,GAAGD,yBAAyB,CAAC;EACxDE,KAAK,EAAE;IACLC,IAAI,EAAEC,MAA8C;IACpDC,OAAO,EAAE;EACX,CAAC;EACDC,KAAK,EAAE;IACLH,IAAI,EAAE,CAACI,OAAO,EAAEH,MAAM,CAAwC;IAC9DC,OAAO,EAAE;EACX,CAAC;EACDG,WAAW,EAAE,CAACC,MAAM,EAAEL,MAAM,CAAC;EAC7BM,cAAc,EAAE,CAACD,MAAM,EAAEL,MAAM,CAAC;EAChCO,MAAM,EAAE,CAACF,MAAM,EAAEL,MAAM,CAAC;EACxBQ,SAAS,EAAEL,OAAO;EAClBM,aAAa,EAAEN,OAAO;EAEtBO,SAAS,EAAEP,OAAO;EAClBQ,MAAM,EAAE,CAACN,MAAM,EAAEL,MAAM,CAAC;EACxBY,KAAK,EAAET,OAAO;EAEdU,GAAG,EA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