@vuetify/nightly 3.5.14-dev.2024-04-07 → 3.5.14-dev.2024-04-09

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.
Files changed (68) hide show
  1. package/CHANGELOG.md +5 -2
  2. package/dist/json/attributes.json +32 -4
  3. package/dist/json/importMap-labs.json +14 -14
  4. package/dist/json/importMap.json +126 -126
  5. package/dist/json/tags.json +7 -0
  6. package/dist/json/web-types.json +334 -271
  7. package/dist/vuetify-labs.css +2675 -2661
  8. package/dist/vuetify-labs.d.ts +235 -150
  9. package/dist/vuetify-labs.esm.js +40 -20
  10. package/dist/vuetify-labs.esm.js.map +1 -1
  11. package/dist/vuetify-labs.js +40 -20
  12. package/dist/vuetify-labs.min.css +2 -2
  13. package/dist/vuetify.css +845 -831
  14. package/dist/vuetify.d.ts +250 -171
  15. package/dist/vuetify.esm.js +40 -20
  16. package/dist/vuetify.esm.js.map +1 -1
  17. package/dist/vuetify.js +40 -20
  18. package/dist/vuetify.js.map +1 -1
  19. package/dist/vuetify.min.css +2 -2
  20. package/dist/vuetify.min.js +248 -247
  21. package/dist/vuetify.min.js.map +1 -1
  22. package/lib/components/VAppBar/index.d.mts +6 -0
  23. package/lib/components/VAutocomplete/index.d.mts +18 -18
  24. package/lib/components/VBottomNavigation/VBottomNavigation.mjs +2 -0
  25. package/lib/components/VBottomNavigation/VBottomNavigation.mjs.map +1 -1
  26. package/lib/components/VBottomNavigation/index.d.mts +6 -0
  27. package/lib/components/VBtn/VBtn.mjs +15 -8
  28. package/lib/components/VBtn/VBtn.mjs.map +1 -1
  29. package/lib/components/VBtn/index.d.mts +6 -0
  30. package/lib/components/VBtnGroup/VBtnGroup.mjs +2 -0
  31. package/lib/components/VBtnGroup/VBtnGroup.mjs.map +1 -1
  32. package/lib/components/VBtnGroup/index.d.mts +6 -0
  33. package/lib/components/VBtnToggle/index.d.mts +6 -0
  34. package/lib/components/VCheckbox/index.d.mts +10 -10
  35. package/lib/components/VCombobox/index.d.mts +18 -18
  36. package/lib/components/VDataIterator/index.d.mts +1 -0
  37. package/lib/components/VDataTable/VDataTable.css +14 -0
  38. package/lib/components/VDataTable/VDataTable.sass +8 -0
  39. package/lib/components/VDataTable/VDataTableColumn.mjs +6 -2
  40. package/lib/components/VDataTable/VDataTableColumn.mjs.map +1 -1
  41. package/lib/components/VDataTable/VDataTableHeaders.mjs +2 -0
  42. package/lib/components/VDataTable/VDataTableHeaders.mjs.map +1 -1
  43. package/lib/components/VDataTable/VDataTableRow.mjs +3 -1
  44. package/lib/components/VDataTable/VDataTableRow.mjs.map +1 -1
  45. package/lib/components/VDataTable/composables/select.mjs +8 -7
  46. package/lib/components/VDataTable/composables/select.mjs.map +1 -1
  47. package/lib/components/VDataTable/index.d.mts +31 -0
  48. package/lib/components/VDataTable/types.mjs.map +1 -1
  49. package/lib/components/VField/index.d.mts +4 -4
  50. package/lib/components/VFileInput/index.d.mts +4 -4
  51. package/lib/components/VList/index.d.mts +12 -12
  52. package/lib/components/VOtpInput/index.d.mts +6 -6
  53. package/lib/components/VRadio/index.d.mts +4 -4
  54. package/lib/components/VSelect/index.d.mts +18 -18
  55. package/lib/components/VSelectionControl/index.d.mts +4 -4
  56. package/lib/components/VSwitch/index.d.mts +4 -4
  57. package/lib/components/VTabs/index.d.mts +21 -3
  58. package/lib/components/VTextField/index.d.mts +19 -19
  59. package/lib/components/VTextarea/index.d.mts +4 -4
  60. package/lib/components/index.d.mts +207 -128
  61. package/lib/entry-bundler.mjs +1 -1
  62. package/lib/framework.mjs +1 -1
  63. package/lib/index.d.mts +43 -43
  64. package/lib/labs/VFab/index.d.mts +6 -0
  65. package/lib/labs/VNumberInput/index.d.mts +6 -6
  66. package/lib/labs/VTreeview/index.d.mts +16 -16
  67. package/lib/labs/components.d.mts +28 -22
  68. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  // Composables
2
2
  import { useProxiedModel } from "../../../composables/proxiedModel.mjs"; // Utilities
3
- import { computed, inject, provide } from 'vue';
3
+ import { computed, inject, provide, toRaw, toRef } from 'vue';
4
4
  import { deepEqual, propsFactory, wrapInArray } from "../../../util/index.mjs"; // Types
5
5
  const singleSelectStrategy = {
6
6
  showSelectAll: false,
@@ -10,7 +10,7 @@ const singleSelectStrategy = {
10
10
  items,
11
11
  value
12
12
  } = _ref;
13
- return new Set(value ? [items[0]?.value] : []);
13
+ return new Set(value ? [toRaw(items[0]?.value)] : []);
14
14
  },
15
15
  selectAll: _ref2 => {
16
16
  let {
@@ -34,7 +34,7 @@ const pageSelectStrategy = {
34
34
  selected
35
35
  } = _ref4;
36
36
  for (const item of items) {
37
- if (value) selected.add(item.value);else selected.delete(item.value);
37
+ if (value) selected.add(toRaw(item.value));else selected.delete(toRaw(item.value));
38
38
  }
39
39
  return selected;
40
40
  },
@@ -66,7 +66,7 @@ const allSelectStrategy = {
66
66
  selected
67
67
  } = _ref7;
68
68
  for (const item of items) {
69
- if (value) selected.add(item.value);else selected.delete(item.value);
69
+ if (value) selected.add(toRaw(item.value));else selected.delete(toRaw(item.value));
70
70
  }
71
71
  return selected;
72
72
  },
@@ -126,10 +126,10 @@ export function provideSelection(props, _ref9) {
126
126
  }
127
127
  });
128
128
  function isSelected(items) {
129
- return wrapInArray(items).every(item => selected.value.has(item.value));
129
+ return wrapInArray(items).every(item => selected.value.has(toRaw(item.value)));
130
130
  }
131
131
  function isSomeSelected(items) {
132
- return wrapInArray(items).some(item => selected.value.has(item.value));
132
+ return wrapInArray(items).some(item => selected.value.has(toRaw(item.value)));
133
133
  }
134
134
  function select(items, value) {
135
135
  const newSelected = selectStrategy.value.select({
@@ -140,7 +140,8 @@ export function provideSelection(props, _ref9) {
140
140
  selected.value = newSelected;
141
141
  }
142
142
  function toggleSelect(item) {
143
- select([item], !isSelected([item]));
143
+ const newItem = toRef(item);
144
+ select([newItem.value], !isSelected([newItem.value]));
144
145
  }
145
146
  function selectAll(value) {
146
147
  const newSelected = selectStrategy.value.selectAll({
@@ -1 +1 @@
1
- {"version":3,"file":"select.mjs","names":["useProxiedModel","computed","inject","provide","deepEqual","propsFactory","wrapInArray","singleSelectStrategy","showSelectAll","allSelected","select","_ref","items","value","Set","selectAll","_ref2","selected","pageSelectStrategy","_ref3","currentPage","_ref4","item","add","delete","_ref5","allSelectStrategy","_ref6","allItems","_ref7","_ref8","makeDataTableSelectProps","showSelect","Boolean","selectStrategy","type","String","Object","default","modelValue","Array","valueComparator","Function","VDataTableSelectionSymbol","Symbol","for","provideSelection","props","_ref9","v","map","find","values","allSelectable","filter","selectable","currentPageSelectable","isSelected","every","has","isSomeSelected","some","newSelected","toggleSelect","someSelected","size","length","data","useSelection","Error"],"sources":["../../../../src/components/VDataTable/composables/select.ts"],"sourcesContent":["// Composables\nimport { useProxiedModel } from '@/composables/proxiedModel'\n\n// Utilities\nimport { computed, inject, provide } from 'vue'\nimport { deepEqual, propsFactory, wrapInArray } from '@/util'\n\n// Types\nimport type { InjectionKey, PropType, Ref } from 'vue'\nimport type { DataTableItemProps } from './items'\nimport type { EventProp } from '@/util'\n\nexport interface SelectableItem {\n value: any\n selectable: boolean\n}\n\nexport interface DataTableSelectStrategy {\n showSelectAll: boolean\n allSelected: (data: {\n allItems: SelectableItem[]\n currentPage: SelectableItem[]\n }) => SelectableItem[]\n select: (data: {\n items: SelectableItem[]\n value: boolean\n selected: Set<unknown>\n }) => Set<unknown>\n selectAll: (data: {\n value: boolean\n allItems: SelectableItem[]\n currentPage: SelectableItem[]\n selected: Set<unknown>\n }) => Set<unknown>\n}\n\ntype SelectionProps = Pick<DataTableItemProps, 'itemValue'> & {\n modelValue: readonly any[]\n selectStrategy: 'single' | 'page' | 'all'\n valueComparator: typeof deepEqual\n 'onUpdate:modelValue': EventProp<[any[]]> | undefined\n}\n\nconst singleSelectStrategy: DataTableSelectStrategy = {\n showSelectAll: false,\n allSelected: () => [],\n select: ({ items, value }) => {\n return new Set(value ? [items[0]?.value] : [])\n },\n selectAll: ({ selected }) => selected,\n}\n\nconst pageSelectStrategy: DataTableSelectStrategy = {\n showSelectAll: true,\n allSelected: ({ currentPage }) => currentPage,\n select: ({ items, value, selected }) => {\n for (const item of items) {\n if (value) selected.add(item.value)\n else selected.delete(item.value)\n }\n\n return selected\n },\n selectAll: ({ value, currentPage, selected }) => pageSelectStrategy.select({ items: currentPage, value, selected }),\n}\n\nconst allSelectStrategy: DataTableSelectStrategy = {\n showSelectAll: true,\n allSelected: ({ allItems }) => allItems,\n select: ({ items, value, selected }) => {\n for (const item of items) {\n if (value) selected.add(item.value)\n else selected.delete(item.value)\n }\n\n return selected\n },\n selectAll: ({ value, allItems, selected }) => allSelectStrategy.select({ items: allItems, value, selected }),\n}\n\nexport const makeDataTableSelectProps = propsFactory({\n showSelect: Boolean,\n selectStrategy: {\n type: [String, Object] as PropType<'single' | 'page' | 'all'>,\n default: 'page',\n },\n modelValue: {\n type: Array as PropType<readonly any[]>,\n default: () => ([]),\n },\n valueComparator: {\n type: Function as PropType<typeof deepEqual>,\n default: deepEqual,\n },\n}, 'DataTable-select')\n\nexport const VDataTableSelectionSymbol: InjectionKey<ReturnType<typeof provideSelection>> = Symbol.for('vuetify:data-table-selection')\n\nexport function provideSelection (\n props: SelectionProps,\n { allItems, currentPage }: { allItems: Ref<SelectableItem[]>, currentPage: Ref<SelectableItem[]> }\n) {\n const selected = useProxiedModel(props, 'modelValue', props.modelValue, v => {\n return new Set(wrapInArray(v).map(v => {\n return allItems.value.find(item => props.valueComparator(v, item.value))?.value ?? v\n }))\n }, v => {\n return [...v.values()]\n })\n\n const allSelectable = computed(() => allItems.value.filter(item => item.selectable))\n const currentPageSelectable = computed(() => currentPage.value.filter(item => item.selectable))\n\n const selectStrategy = computed(() => {\n if (typeof props.selectStrategy === 'object') return props.selectStrategy\n\n switch (props.selectStrategy) {\n case 'single': return singleSelectStrategy\n case 'all': return allSelectStrategy\n case 'page':\n default: return pageSelectStrategy\n }\n })\n\n function isSelected (items: SelectableItem | SelectableItem[]) {\n return wrapInArray(items).every(item => selected.value.has(item.value))\n }\n\n function isSomeSelected (items: SelectableItem | SelectableItem[]) {\n return wrapInArray(items).some(item => selected.value.has(item.value))\n }\n\n function select (items: SelectableItem[], value: boolean) {\n const newSelected = selectStrategy.value.select({\n items,\n value,\n selected: new Set(selected.value),\n })\n\n selected.value = newSelected\n }\n\n function toggleSelect (item: SelectableItem) {\n select([item], !isSelected([item]))\n }\n\n function selectAll (value: boolean) {\n const newSelected = selectStrategy.value.selectAll({\n value,\n allItems: allSelectable.value,\n currentPage: currentPageSelectable.value,\n selected: new Set(selected.value),\n })\n\n selected.value = newSelected\n }\n\n const someSelected = computed(() => selected.value.size > 0)\n const allSelected = computed(() => {\n const items = selectStrategy.value.allSelected({\n allItems: allSelectable.value,\n currentPage: currentPageSelectable.value,\n })\n return !!items.length && isSelected(items)\n })\n\n const data = {\n toggleSelect,\n select,\n selectAll,\n isSelected,\n isSomeSelected,\n someSelected,\n allSelected,\n showSelectAll: selectStrategy.value.showSelectAll,\n }\n\n provide(VDataTableSelectionSymbol, data)\n\n return data\n}\n\nexport function useSelection () {\n const data = inject(VDataTableSelectionSymbol)\n\n if (!data) throw new Error('Missing selection!')\n\n return data\n}\n"],"mappings":"AAAA;AAAA,SACSA,eAAe,iDAExB;AACA,SAASC,QAAQ,EAAEC,MAAM,EAAEC,OAAO,QAAQ,KAAK;AAAA,SACtCC,SAAS,EAAEC,YAAY,EAAEC,WAAW,mCAE7C;AAoCA,MAAMC,oBAA6C,GAAG;EACpDC,aAAa,EAAE,KAAK;EACpBC,WAAW,EAAEA,CAAA,KAAM,EAAE;EACrBC,MAAM,EAAEC,IAAA,IAAsB;IAAA,IAArB;MAAEC,KAAK;MAAEC;IAAM,CAAC,GAAAF,IAAA;IACvB,OAAO,IAAIG,GAAG,CAACD,KAAK,GAAG,CAACD,KAAK,CAAC,CAAC,CAAC,EAAEC,KAAK,CAAC,GAAG,EAAE,CAAC;EAChD,CAAC;EACDE,SAAS,EAAEC,KAAA;IAAA,IAAC;MAAEC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AA,EAAI;EAC9B,MAAMD,IAAI,GAAGjE,MAAM,CAACyC,yBAAyB,CAAC;EAE9C,IAAI,CAACwB,IAAI,EAAE,MAAM,IAAIE,KAAK,CAAC,oBAAoB,CAAC;EAEhD,OAAOF,IAAI;AACb"}
1
+ {"version":3,"file":"select.mjs","names":["useProxiedModel","computed","inject","provide","toRaw","toRef","deepEqual","propsFactory","wrapInArray","singleSelectStrategy","showSelectAll","allSelected","select","_ref","items","value","Set","selectAll","_ref2","selected","pageSelectStrategy","_ref3","currentPage","_ref4","item","add","delete","_ref5","allSelectStrategy","_ref6","allItems","_ref7","_ref8","makeDataTableSelectProps","showSelect","Boolean","selectStrategy","type","String","Object","default","modelValue","Array","valueComparator","Function","VDataTableSelectionSymbol","Symbol","for","provideSelection","props","_ref9","v","map","find","values","allSelectable","filter","selectable","currentPageSelectable","isSelected","every","has","isSomeSelected","some","newSelected","toggleSelect","newItem","someSelected","size","length","data","useSelection","Error"],"sources":["../../../../src/components/VDataTable/composables/select.ts"],"sourcesContent":["// Composables\nimport { useProxiedModel } from '@/composables/proxiedModel'\n\n// Utilities\nimport { computed, inject, provide, toRaw, toRef } from 'vue'\nimport { deepEqual, propsFactory, wrapInArray } from '@/util'\n\n// Types\nimport type { InjectionKey, PropType, Ref } from 'vue'\nimport type { DataTableItemProps } from './items'\nimport type { EventProp } from '@/util'\n\nexport interface SelectableItem {\n value: any\n selectable: boolean\n}\n\nexport interface DataTableSelectStrategy {\n showSelectAll: boolean\n allSelected: (data: {\n allItems: SelectableItem[]\n currentPage: SelectableItem[]\n }) => SelectableItem[]\n select: (data: {\n items: SelectableItem[]\n value: boolean\n selected: Set<unknown>\n }) => Set<unknown>\n selectAll: (data: {\n value: boolean\n allItems: SelectableItem[]\n currentPage: SelectableItem[]\n selected: Set<unknown>\n }) => Set<unknown>\n}\n\ntype SelectionProps = Pick<DataTableItemProps, 'itemValue'> & {\n modelValue: readonly any[]\n selectStrategy: 'single' | 'page' | 'all'\n valueComparator: typeof deepEqual\n 'onUpdate:modelValue': EventProp<[any[]]> | undefined\n}\n\nconst singleSelectStrategy: DataTableSelectStrategy = {\n showSelectAll: false,\n allSelected: () => [],\n select: ({ items, value }) => {\n return new Set(value ? [toRaw(items[0]?.value)] : [])\n },\n selectAll: ({ selected }) => selected,\n}\n\nconst pageSelectStrategy: DataTableSelectStrategy = {\n showSelectAll: true,\n allSelected: ({ currentPage }) => currentPage,\n select: ({ items, value, selected }) => {\n for (const item of items) {\n if (value) selected.add(toRaw(item.value))\n else selected.delete(toRaw(item.value))\n }\n\n return selected\n },\n selectAll: ({ value, currentPage, selected }) => pageSelectStrategy.select({ items: currentPage, value, selected }),\n}\n\nconst allSelectStrategy: DataTableSelectStrategy = {\n showSelectAll: true,\n allSelected: ({ allItems }) => allItems,\n select: ({ items, value, selected }) => {\n for (const item of items) {\n if (value) selected.add(toRaw(item.value))\n else selected.delete(toRaw(item.value))\n }\n\n return selected\n },\n selectAll: ({ value, allItems, selected }) => allSelectStrategy.select({ items: allItems, value, selected }),\n}\n\nexport const makeDataTableSelectProps = propsFactory({\n showSelect: Boolean,\n selectStrategy: {\n type: [String, Object] as PropType<'single' | 'page' | 'all'>,\n default: 'page',\n },\n modelValue: {\n type: Array as PropType<readonly any[]>,\n default: () => ([]),\n },\n valueComparator: {\n type: Function as PropType<typeof deepEqual>,\n default: deepEqual,\n },\n}, 'DataTable-select')\n\nexport const VDataTableSelectionSymbol: InjectionKey<ReturnType<typeof provideSelection>> = Symbol.for('vuetify:data-table-selection')\n\nexport function provideSelection (\n props: SelectionProps,\n { allItems, currentPage }: { allItems: Ref<SelectableItem[]>, currentPage: Ref<SelectableItem[]> }\n) {\n const selected = useProxiedModel(props, 'modelValue', props.modelValue, v => {\n return new Set(wrapInArray(v).map(v => {\n return allItems.value.find(item => props.valueComparator(v, item.value))?.value ?? v\n }))\n }, v => {\n return [...v.values()]\n })\n\n const allSelectable = computed(() => allItems.value.filter(item => item.selectable))\n const currentPageSelectable = computed(() => currentPage.value.filter(item => item.selectable))\n\n const selectStrategy = computed(() => {\n if (typeof props.selectStrategy === 'object') return props.selectStrategy\n\n switch (props.selectStrategy) {\n case 'single': return singleSelectStrategy\n case 'all': return allSelectStrategy\n case 'page':\n default: return pageSelectStrategy\n }\n })\n\n function isSelected (items: SelectableItem | SelectableItem[]) {\n return wrapInArray(items).every(item => selected.value.has(toRaw(item.value)))\n }\n\n function isSomeSelected (items: SelectableItem | SelectableItem[]) {\n return wrapInArray(items).some(item => selected.value.has(toRaw(item.value)))\n }\n\n function select (items: SelectableItem[], value: boolean) {\n const newSelected = selectStrategy.value.select({\n items,\n value,\n selected: new Set(selected.value),\n })\n\n selected.value = newSelected\n }\n\n function toggleSelect (item: SelectableItem) {\n const newItem = toRef(item)\n select([newItem.value], !isSelected([newItem.value]))\n }\n\n function selectAll (value: boolean) {\n const newSelected = selectStrategy.value.selectAll({\n value,\n allItems: allSelectable.value,\n currentPage: currentPageSelectable.value,\n selected: new Set(selected.value),\n })\n\n selected.value = newSelected\n }\n\n const someSelected = computed(() => selected.value.size > 0)\n const allSelected = computed(() => {\n const items = selectStrategy.value.allSelected({\n allItems: allSelectable.value,\n currentPage: currentPageSelectable.value,\n })\n return !!items.length && isSelected(items)\n })\n\n const data = {\n toggleSelect,\n select,\n selectAll,\n isSelected,\n isSomeSelected,\n someSelected,\n allSelected,\n showSelectAll: selectStrategy.value.showSelectAll,\n }\n\n provide(VDataTableSelectionSymbol, data)\n\n return data\n}\n\nexport function useSelection () {\n const data = inject(VDataTableSelectionSymbol)\n\n if (!data) throw new Error('Missing selection!')\n\n return data\n}\n"],"mappings":"AAAA;AAAA,SACSA,eAAe,iDAExB;AACA,SAASC,QAAQ,EAAEC,MAAM,EAAEC,OAAO,EAAEC,KAAK,EAAEC,KAAK,QAAQ,KAAK;AAAA,SACpDC,SAAS,EAAEC,YAAY,EAAEC,WAAW,mCAE7C;AAoCA,MAAMC,oBAA6C,GAAG;EACpDC,aAAa,EAAE,KAAK;EACpBC,W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Ac,CAACrB,KAAK,CAACJ,WAAW,CAAC;MAC7CmB,QAAQ,EAAEyB,aAAa,CAACxC,KAAK;MAC7BO,WAAW,EAAEoC,qBAAqB,CAAC3C;IACrC,CAAC,CAAC;IACF,OAAO,CAAC,CAACD,KAAK,CAACuD,MAAM,IAAIV,UAAU,CAAC7C,KAAK,CAAC;EAC5C,CAAC,CAAC;EAEF,MAAMwD,IAAI,GAAG;IACXL,YAAY;IACZrD,MAAM;IACNK,SAAS;IACT0C,UAAU;IACVG,cAAc;IACdK,YAAY;IACZxD,WAAW;IACXD,aAAa,EAAE0B,cAAc,CAACrB,KAAK,CAACL;EACtC,CAAC;EAEDP,OAAO,CAAC0C,yBAAyB,EAAEyB,IAAI,CAAC;EAExC,OAAOA,IAAI;AACb;AAEA,OAAO,SAASC,YAAYA,CAAA,EAAI;EAC9B,MAAMD,IAAI,GAAGpE,MAAM,CAAC2C,yBAAyB,CAAC;EAE9C,IAAI,CAACyB,IAAI,EAAE,MAAM,IAAIE,KAAK,CAAC,oBAAoB,CAAC;EAEhD,OAAOF,IAAI;AACb"}
@@ -123,6 +123,7 @@ type DataTableHeader<T = Record<string, any>> = {
123
123
  width?: number | string;
124
124
  minWidth?: string;
125
125
  maxWidth?: string;
126
+ nowrap?: boolean;
126
127
  headerProps?: Record<string, any>;
127
128
  cellProps?: HeaderCellProps;
128
129
  sortable?: boolean;
@@ -1483,6 +1484,7 @@ declare const VDataTable: {
1483
1484
  readonly width?: string | number | undefined;
1484
1485
  readonly minWidth?: string | undefined;
1485
1486
  readonly maxWidth?: string | undefined;
1487
+ readonly nowrap?: boolean | undefined;
1486
1488
  readonly headerProps?: {
1487
1489
  readonly [x: string]: any;
1488
1490
  } | undefined;
@@ -1512,6 +1514,7 @@ declare const VDataTable: {
1512
1514
  readonly width?: string | number | undefined;
1513
1515
  readonly minWidth?: string | undefined;
1514
1516
  readonly maxWidth?: string | undefined;
1517
+ readonly nowrap?: boolean | undefined;
1515
1518
  readonly headerProps?: {
1516
1519
  readonly [x: string]: any;
1517
1520
  } | undefined;
@@ -1663,6 +1666,7 @@ declare const VDataTable: {
1663
1666
  readonly width?: string | number | undefined;
1664
1667
  readonly minWidth?: string | undefined;
1665
1668
  readonly maxWidth?: string | undefined;
1669
+ readonly nowrap?: boolean | undefined;
1666
1670
  readonly headerProps?: {
1667
1671
  readonly [x: string]: any;
1668
1672
  } | undefined;
@@ -1682,6 +1686,7 @@ declare const VDataTable: {
1682
1686
  readonly width?: string | number | undefined;
1683
1687
  readonly minWidth?: string | undefined;
1684
1688
  readonly maxWidth?: string | undefined;
1689
+ readonly nowrap?: boolean | undefined;
1685
1690
  readonly headerProps?: {
1686
1691
  readonly [x: string]: any;
1687
1692
  } | undefined;
@@ -1861,6 +1866,7 @@ declare const VDataTable: {
1861
1866
  readonly width?: string | number | undefined;
1862
1867
  readonly minWidth?: string | undefined;
1863
1868
  readonly maxWidth?: string | undefined;
1869
+ readonly nowrap?: boolean | undefined;
1864
1870
  readonly headerProps?: {
1865
1871
  readonly [x: string]: any;
1866
1872
  } | undefined;
@@ -1880,6 +1886,7 @@ declare const VDataTable: {
1880
1886
  readonly width?: string | number | undefined;
1881
1887
  readonly minWidth?: string | undefined;
1882
1888
  readonly maxWidth?: string | undefined;
1889
+ readonly nowrap?: boolean | undefined;
1883
1890
  readonly headerProps?: {
1884
1891
  readonly [x: string]: any;
1885
1892
  } | undefined;
@@ -2256,6 +2263,7 @@ declare const VDataTableVirtual: {
2256
2263
  readonly width?: string | number | undefined;
2257
2264
  readonly minWidth?: string | undefined;
2258
2265
  readonly maxWidth?: string | undefined;
2266
+ readonly nowrap?: boolean | undefined;
2259
2267
  readonly headerProps?: {
2260
2268
  readonly [x: string]: any;
2261
2269
  } | undefined;
@@ -2275,6 +2283,7 @@ declare const VDataTableVirtual: {
2275
2283
  readonly width?: string | number | undefined;
2276
2284
  readonly minWidth?: string | undefined;
2277
2285
  readonly maxWidth?: string | undefined;
2286
+ readonly nowrap?: boolean | undefined;
2278
2287
  readonly headerProps?: {
2279
2288
  readonly [x: string]: any;
2280
2289
  } | undefined;
@@ -2348,6 +2357,7 @@ declare const VDataTableVirtual: {
2348
2357
  readonly width?: string | number | undefined;
2349
2358
  readonly minWidth?: string | undefined;
2350
2359
  readonly maxWidth?: string | undefined;
2360
+ readonly nowrap?: boolean | undefined;
2351
2361
  readonly headerProps?: {
2352
2362
  readonly [x: string]: any;
2353
2363
  } | undefined;
@@ -2367,6 +2377,7 @@ declare const VDataTableVirtual: {
2367
2377
  readonly width?: string | number | undefined;
2368
2378
  readonly minWidth?: string | undefined;
2369
2379
  readonly maxWidth?: string | undefined;
2380
+ readonly nowrap?: boolean | undefined;
2370
2381
  readonly headerProps?: {
2371
2382
  readonly [x: string]: any;
2372
2383
  } | undefined;
@@ -2576,6 +2587,7 @@ declare const VDataTableVirtual: {
2576
2587
  readonly width?: string | number | undefined;
2577
2588
  readonly minWidth?: string | undefined;
2578
2589
  readonly maxWidth?: string | undefined;
2590
+ readonly nowrap?: boolean | undefined;
2579
2591
  readonly headerProps?: {
2580
2592
  readonly [x: string]: any;
2581
2593
  } | undefined;
@@ -2595,6 +2607,7 @@ declare const VDataTableVirtual: {
2595
2607
  readonly width?: string | number | undefined;
2596
2608
  readonly minWidth?: string | undefined;
2597
2609
  readonly maxWidth?: string | undefined;
2610
+ readonly nowrap?: boolean | undefined;
2598
2611
  readonly headerProps?: {
2599
2612
  readonly [x: string]: any;
2600
2613
  } | undefined;
@@ -2693,6 +2706,7 @@ declare const VDataTableVirtual: {
2693
2706
  readonly width?: string | number | undefined;
2694
2707
  readonly minWidth?: string | undefined;
2695
2708
  readonly maxWidth?: string | undefined;
2709
+ readonly nowrap?: boolean | undefined;
2696
2710
  readonly headerProps?: {
2697
2711
  readonly [x: string]: any;
2698
2712
  } | undefined;
@@ -2712,6 +2726,7 @@ declare const VDataTableVirtual: {
2712
2726
  readonly width?: string | number | undefined;
2713
2727
  readonly minWidth?: string | undefined;
2714
2728
  readonly maxWidth?: string | undefined;
2729
+ readonly nowrap?: boolean | undefined;
2715
2730
  readonly headerProps?: {
2716
2731
  readonly [x: string]: any;
2717
2732
  } | undefined;
@@ -2987,6 +3002,7 @@ declare const VDataTableVirtual: {
2987
3002
  readonly width?: string | number | undefined;
2988
3003
  readonly minWidth?: string | undefined;
2989
3004
  readonly maxWidth?: string | undefined;
3005
+ readonly nowrap?: boolean | undefined;
2990
3006
  readonly headerProps?: {
2991
3007
  readonly [x: string]: any;
2992
3008
  } | undefined;
@@ -3006,6 +3022,7 @@ declare const VDataTableVirtual: {
3006
3022
  readonly width?: string | number | undefined;
3007
3023
  readonly minWidth?: string | undefined;
3008
3024
  readonly maxWidth?: string | undefined;
3025
+ readonly nowrap?: boolean | undefined;
3009
3026
  readonly headerProps?: {
3010
3027
  readonly [x: string]: any;
3011
3028
  } | undefined;
@@ -3130,6 +3147,7 @@ declare const VDataTableVirtual: {
3130
3147
  readonly width?: string | number | undefined;
3131
3148
  readonly minWidth?: string | undefined;
3132
3149
  readonly maxWidth?: string | undefined;
3150
+ readonly nowrap?: boolean | undefined;
3133
3151
  readonly headerProps?: {
3134
3152
  readonly [x: string]: any;
3135
3153
  } | undefined;
@@ -3149,6 +3167,7 @@ declare const VDataTableVirtual: {
3149
3167
  readonly width?: string | number | undefined;
3150
3168
  readonly minWidth?: string | undefined;
3151
3169
  readonly maxWidth?: string | undefined;
3170
+ readonly nowrap?: boolean | undefined;
3152
3171
  readonly headerProps?: {
3153
3172
  readonly [x: string]: any;
3154
3173
  } | undefined;
@@ -3242,6 +3261,7 @@ declare const VDataTableServer: {
3242
3261
  readonly width?: string | number | undefined;
3243
3262
  readonly minWidth?: string | undefined;
3244
3263
  readonly maxWidth?: string | undefined;
3264
+ readonly nowrap?: boolean | undefined;
3245
3265
  readonly headerProps?: {
3246
3266
  readonly [x: string]: any;
3247
3267
  } | undefined;
@@ -3261,6 +3281,7 @@ declare const VDataTableServer: {
3261
3281
  readonly width?: string | number | undefined;
3262
3282
  readonly minWidth?: string | undefined;
3263
3283
  readonly maxWidth?: string | undefined;
3284
+ readonly nowrap?: boolean | undefined;
3264
3285
  readonly headerProps?: {
3265
3286
  readonly [x: string]: any;
3266
3287
  } | undefined;
@@ -3350,6 +3371,7 @@ declare const VDataTableServer: {
3350
3371
  readonly width?: string | number | undefined;
3351
3372
  readonly minWidth?: string | undefined;
3352
3373
  readonly maxWidth?: string | undefined;
3374
+ readonly nowrap?: boolean | undefined;
3353
3375
  readonly headerProps?: {
3354
3376
  readonly [x: string]: any;
3355
3377
  } | undefined;
@@ -3369,6 +3391,7 @@ declare const VDataTableServer: {
3369
3391
  readonly width?: string | number | undefined;
3370
3392
  readonly minWidth?: string | undefined;
3371
3393
  readonly maxWidth?: string | undefined;
3394
+ readonly nowrap?: boolean | undefined;
3372
3395
  readonly headerProps?: {
3373
3396
  readonly [x: string]: any;
3374
3397
  } | undefined;
@@ -3622,6 +3645,7 @@ declare const VDataTableServer: {
3622
3645
  readonly width?: string | number | undefined;
3623
3646
  readonly minWidth?: string | undefined;
3624
3647
  readonly maxWidth?: string | undefined;
3648
+ readonly nowrap?: boolean | undefined;
3625
3649
  readonly headerProps?: {
3626
3650
  readonly [x: string]: any;
3627
3651
  } | undefined;
@@ -3641,6 +3665,7 @@ declare const VDataTableServer: {
3641
3665
  readonly width?: string | number | undefined;
3642
3666
  readonly minWidth?: string | undefined;
3643
3667
  readonly maxWidth?: string | undefined;
3668
+ readonly nowrap?: boolean | undefined;
3644
3669
  readonly headerProps?: {
3645
3670
  readonly [x: string]: any;
3646
3671
  } | undefined;
@@ -3767,6 +3792,7 @@ declare const VDataTableServer: {
3767
3792
  readonly width?: string | number | undefined;
3768
3793
  readonly minWidth?: string | undefined;
3769
3794
  readonly maxWidth?: string | undefined;
3795
+ readonly nowrap?: boolean | undefined;
3770
3796
  readonly headerProps?: {
3771
3797
  readonly [x: string]: any;
3772
3798
  } | undefined;
@@ -3786,6 +3812,7 @@ declare const VDataTableServer: {
3786
3812
  readonly width?: string | number | undefined;
3787
3813
  readonly minWidth?: string | undefined;
3788
3814
  readonly maxWidth?: string | undefined;
3815
+ readonly nowrap?: boolean | undefined;
3789
3816
  readonly headerProps?: {
3790
3817
  readonly [x: string]: any;
3791
3818
  } | undefined;
@@ -4127,6 +4154,7 @@ declare const VDataTableServer: {
4127
4154
  readonly width?: string | number | undefined;
4128
4155
  readonly minWidth?: string | undefined;
4129
4156
  readonly maxWidth?: string | undefined;
4157
+ readonly nowrap?: boolean | undefined;
4130
4158
  readonly headerProps?: {
4131
4159
  readonly [x: string]: any;
4132
4160
  } | undefined;
@@ -4146,6 +4174,7 @@ declare const VDataTableServer: {
4146
4174
  readonly width?: string | number | undefined;
4147
4175
  readonly minWidth?: string | undefined;
4148
4176
  readonly maxWidth?: string | undefined;
4177
+ readonly nowrap?: boolean | undefined;
4149
4178
  readonly headerProps?: {
4150
4179
  readonly [x: string]: any;
4151
4180
  } | undefined;
@@ -4321,6 +4350,7 @@ declare const VDataTableServer: {
4321
4350
  readonly width?: string | number | undefined;
4322
4351
  readonly minWidth?: string | undefined;
4323
4352
  readonly maxWidth?: string | undefined;
4353
+ readonly nowrap?: boolean | undefined;
4324
4354
  readonly headerProps?: {
4325
4355
  readonly [x: string]: any;
4326
4356
  } | undefined;
@@ -4340,6 +4370,7 @@ declare const VDataTableServer: {
4340
4370
  readonly width?: string | number | undefined;
4341
4371
  readonly minWidth?: string | undefined;
4342
4372
  readonly maxWidth?: string | undefined;
4373
+ readonly nowrap?: boolean | undefined;
4343
4374
  readonly headerProps?: {
4344
4375
  readonly [x: string]: any;
4345
4376
  } | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"types.mjs","names":[],"sources":["../../../src/components/VDataTable/types.ts"],"sourcesContent":["// Types\nimport type { provideExpanded } from './composables/expand'\nimport type { Group, GroupableItem, provideGroupBy } from './composables/group'\nimport type { provideSelection, SelectableItem } from './composables/select'\nimport type { FilterFunction, InternalItem } from '@/composables/filter'\nimport type { SelectItemKey } from '@/util'\n\nexport type DataTableCompareFunction<T = any> = (a: T, b: T) => number\n\nexport type DataTableHeader<T = Record<string, any>> = {\n key?: 'data-table-group' | 'data-table-select' | 'data-table-expand' | (string & {})\n value?: SelectItemKey<T>\n title?: string\n\n fixed?: boolean\n align?: 'start' | 'end' | 'center'\n\n width?: number | string\n minWidth?: string\n maxWidth?: string\n\n headerProps?: Record<string, any>\n cellProps?: HeaderCellProps\n\n sortable?: boolean\n sort?: DataTableCompareFunction\n sortRaw?: DataTableCompareFunction\n filter?: FilterFunction\n\n children?: DataTableHeader<T>[]\n}\n\nexport type InternalDataTableHeader = Omit<DataTableHeader, 'key' | 'value' | 'children'> & {\n key: string | null\n value: SelectItemKey | null\n sortable: boolean\n fixedOffset?: number\n lastFixed?: boolean\n colspan?: number\n rowspan?: number\n children?: InternalDataTableHeader[]\n}\n\nexport interface DataTableItem<T = any> extends InternalItem<T>, GroupableItem<T>, SelectableItem {\n key: any\n index: number\n columns: {\n [key: string]: any\n }\n}\n\nexport type GroupHeaderSlot = {\n index: number\n item: Group\n columns: InternalDataTableHeader[]\n isExpanded: ReturnType<typeof provideExpanded>['isExpanded']\n toggleExpand: ReturnType<typeof provideExpanded>['toggleExpand']\n isSelected: ReturnType<typeof provideSelection>['isSelected']\n toggleSelect: ReturnType<typeof provideSelection>['toggleSelect']\n toggleGroup: ReturnType<typeof provideGroupBy>['toggleGroup']\n isGroupOpen: ReturnType<typeof provideGroupBy>['isGroupOpen']\n}\n\ntype ItemSlotBase<T> = {\n index: number\n item: T\n internalItem: DataTableItem<T>\n isExpanded: ReturnType<typeof provideExpanded>['isExpanded']\n toggleExpand: ReturnType<typeof provideExpanded>['toggleExpand']\n isSelected: ReturnType<typeof provideSelection>['isSelected']\n toggleSelect: ReturnType<typeof provideSelection>['toggleSelect']\n}\n\nexport type ItemSlot<T> = ItemSlotBase<T> & {\n columns: InternalDataTableHeader[]\n}\n\nexport type ItemKeySlot<T> = ItemSlotBase<T> & {\n value: any\n column: InternalDataTableHeader\n}\n\nexport type RowProps<T> =\n | Record<string, any>\n | ((data: Pick<ItemKeySlot<T>, 'index' | 'item' | 'internalItem'>) => Record<string, any>)\n\nexport type CellProps<T> =\n | Record<string, any>\n | ((data: Pick<ItemKeySlot<T>, 'index' | 'item' | 'internalItem' | 'value' | 'column'>) => Record<string, any>)\n\nexport type HeaderCellProps =\n | Record<string, any>\n | ((data: Pick<ItemKeySlot<any>, 'index' | 'item' | 'internalItem' | 'value'>) => Record<string, any>)\n"],"mappings":""}
1
+ {"version":3,"file":"types.mjs","names":[],"sources":["../../../src/components/VDataTable/types.ts"],"sourcesContent":["// Types\nimport type { provideExpanded } from './composables/expand'\nimport type { Group, GroupableItem, provideGroupBy } from './composables/group'\nimport type { provideSelection, SelectableItem } from './composables/select'\nimport type { FilterFunction, InternalItem } from '@/composables/filter'\nimport type { SelectItemKey } from '@/util'\n\nexport type DataTableCompareFunction<T = any> = (a: T, b: T) => number\n\nexport type DataTableHeader<T = Record<string, any>> = {\n key?: 'data-table-group' | 'data-table-select' | 'data-table-expand' | (string & {})\n value?: SelectItemKey<T>\n title?: string\n\n fixed?: boolean\n align?: 'start' | 'end' | 'center'\n\n width?: number | string\n minWidth?: string\n maxWidth?: string\n nowrap?: boolean\n\n headerProps?: Record<string, any>\n cellProps?: HeaderCellProps\n\n sortable?: boolean\n sort?: DataTableCompareFunction\n sortRaw?: DataTableCompareFunction\n filter?: FilterFunction\n\n children?: DataTableHeader<T>[]\n}\n\nexport type InternalDataTableHeader = Omit<DataTableHeader, 'key' | 'value' | 'children'> & {\n key: string | null\n value: SelectItemKey | null\n sortable: boolean\n fixedOffset?: number\n lastFixed?: boolean\n colspan?: number\n rowspan?: number\n children?: InternalDataTableHeader[]\n}\n\nexport interface DataTableItem<T = any> extends InternalItem<T>, GroupableItem<T>, SelectableItem {\n key: any\n index: number\n columns: {\n [key: string]: any\n }\n}\n\nexport type GroupHeaderSlot = {\n index: number\n item: Group\n columns: InternalDataTableHeader[]\n isExpanded: ReturnType<typeof provideExpanded>['isExpanded']\n toggleExpand: ReturnType<typeof provideExpanded>['toggleExpand']\n isSelected: ReturnType<typeof provideSelection>['isSelected']\n toggleSelect: ReturnType<typeof provideSelection>['toggleSelect']\n toggleGroup: ReturnType<typeof provideGroupBy>['toggleGroup']\n isGroupOpen: ReturnType<typeof provideGroupBy>['isGroupOpen']\n}\n\ntype ItemSlotBase<T> = {\n index: number\n item: T\n internalItem: DataTableItem<T>\n isExpanded: ReturnType<typeof provideExpanded>['isExpanded']\n toggleExpand: ReturnType<typeof provideExpanded>['toggleExpand']\n isSelected: ReturnType<typeof provideSelection>['isSelected']\n toggleSelect: ReturnType<typeof provideSelection>['toggleSelect']\n}\n\nexport type ItemSlot<T> = ItemSlotBase<T> & {\n columns: InternalDataTableHeader[]\n}\n\nexport type ItemKeySlot<T> = ItemSlotBase<T> & {\n value: any\n column: InternalDataTableHeader\n}\n\nexport type RowProps<T> =\n | Record<string, any>\n | ((data: Pick<ItemKeySlot<T>, 'index' | 'item' | 'internalItem'>) => Record<string, any>)\n\nexport type CellProps<T> =\n | Record<string, any>\n | ((data: Pick<ItemKeySlot<T>, 'index' | 'item' | 'internalItem' | 'value' | 'column'>) => Record<string, any>)\n\nexport type HeaderCellProps =\n | Record<string, any>\n | ((data: Pick<ItemKeySlot<any>, 'index' | 'item' | 'internalItem' | 'value'>) => Record<string, any>)\n"],"mappings":""}
@@ -86,8 +86,8 @@ declare const VField: {
86
86
  theme?: string | undefined;
87
87
  'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
88
88
  rounded?: string | number | boolean | undefined;
89
- bgColor?: string | undefined;
90
89
  baseColor?: string | undefined;
90
+ bgColor?: string | undefined;
91
91
  appendInnerIcon?: IconValue | undefined;
92
92
  prependInnerIcon?: IconValue | undefined;
93
93
  'onClick:clear'?: ((args_0: MouseEvent) => void) | undefined;
@@ -125,8 +125,8 @@ declare const VField: {
125
125
  theme?: string | undefined;
126
126
  'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
127
127
  rounded?: string | number | boolean | undefined;
128
- bgColor?: string | undefined;
129
128
  baseColor?: string | undefined;
129
+ bgColor?: string | undefined;
130
130
  appendInnerIcon?: IconValue | undefined;
131
131
  prependInnerIcon?: IconValue | undefined;
132
132
  'onClick:clear'?: ((args_0: MouseEvent) => void) | undefined;
@@ -207,8 +207,8 @@ declare const VField: {
207
207
  theme?: string | undefined;
208
208
  'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
209
209
  rounded?: string | number | boolean | undefined;
210
- bgColor?: string | undefined;
211
210
  baseColor?: string | undefined;
211
+ bgColor?: string | undefined;
212
212
  appendInnerIcon?: IconValue | undefined;
213
213
  prependInnerIcon?: IconValue | undefined;
214
214
  'onClick:clear'?: ((args_0: MouseEvent) => void) | undefined;
@@ -264,8 +264,8 @@ declare const VField: {
264
264
  theme?: string | undefined;
265
265
  'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
266
266
  rounded?: string | number | boolean | undefined;
267
- bgColor?: string | undefined;
268
267
  baseColor?: string | undefined;
268
+ bgColor?: string | undefined;
269
269
  appendInnerIcon?: IconValue | undefined;
270
270
  prependInnerIcon?: IconValue | undefined;
271
271
  'onClick:clear'?: ((args_0: MouseEvent) => void) | undefined;
@@ -124,9 +124,9 @@ declare const VFileInput: {
124
124
  validateOn?: "lazy" | ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | undefined;
125
125
  validationValue?: any;
126
126
  rounded?: string | number | boolean | undefined;
127
+ baseColor?: string | undefined;
127
128
  bgColor?: string | undefined;
128
129
  appendIcon?: IconValue | undefined;
129
- baseColor?: string | undefined;
130
130
  appendInnerIcon?: IconValue | undefined;
131
131
  prependInnerIcon?: IconValue | undefined;
132
132
  'onClick:clear'?: ((args_0: MouseEvent) => void) | undefined;
@@ -489,9 +489,9 @@ declare const VFileInput: {
489
489
  validateOn?: "lazy" | ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | undefined;
490
490
  validationValue?: any;
491
491
  rounded?: string | number | boolean | undefined;
492
+ baseColor?: string | undefined;
492
493
  bgColor?: string | undefined;
493
494
  appendIcon?: IconValue | undefined;
494
- baseColor?: string | undefined;
495
495
  appendInnerIcon?: IconValue | undefined;
496
496
  prependInnerIcon?: IconValue | undefined;
497
497
  'onClick:clear'?: ((args_0: MouseEvent) => void) | undefined;
@@ -707,9 +707,9 @@ declare const VFileInput: {
707
707
  validateOn?: "lazy" | ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | undefined;
708
708
  validationValue?: any;
709
709
  rounded?: string | number | boolean | undefined;
710
+ baseColor?: string | undefined;
710
711
  bgColor?: string | undefined;
711
712
  appendIcon?: IconValue | undefined;
712
- baseColor?: string | undefined;
713
713
  appendInnerIcon?: IconValue | undefined;
714
714
  prependInnerIcon?: IconValue | undefined;
715
715
  'onClick:clear'?: ((args_0: MouseEvent) => void) | undefined;
@@ -1105,9 +1105,9 @@ declare const VFileInput: {
1105
1105
  validateOn?: "lazy" | ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | undefined;
1106
1106
  validationValue?: any;
1107
1107
  rounded?: string | number | boolean | undefined;
1108
+ baseColor?: string | undefined;
1108
1109
  bgColor?: string | undefined;
1109
1110
  appendIcon?: IconValue | undefined;
1110
- baseColor?: string | undefined;
1111
1111
  appendInnerIcon?: IconValue | undefined;
1112
1112
  prependInnerIcon?: IconValue | undefined;
1113
1113
  'onClick:clear'?: ((args_0: MouseEvent) => void) | undefined;
@@ -95,9 +95,9 @@ declare const VListItem: {
95
95
  to?: vue_router.RouteLocationRaw | undefined;
96
96
  theme?: string | undefined;
97
97
  rounded?: string | number | boolean | undefined;
98
+ baseColor?: string | undefined;
98
99
  prependIcon?: IconValue | undefined;
99
100
  appendIcon?: IconValue | undefined;
100
- baseColor?: string | undefined;
101
101
  activeClass?: string | undefined;
102
102
  appendAvatar?: string | undefined;
103
103
  prependAvatar?: string | undefined;
@@ -172,9 +172,9 @@ declare const VListItem: {
172
172
  to?: vue_router.RouteLocationRaw | undefined;
173
173
  theme?: string | undefined;
174
174
  rounded?: string | number | boolean | undefined;
175
+ baseColor?: string | undefined;
175
176
  prependIcon?: IconValue | undefined;
176
177
  appendIcon?: IconValue | undefined;
177
- baseColor?: string | undefined;
178
178
  activeClass?: string | undefined;
179
179
  appendAvatar?: string | undefined;
180
180
  prependAvatar?: string | undefined;
@@ -279,9 +279,9 @@ declare const VListItem: {
279
279
  to?: vue_router.RouteLocationRaw | undefined;
280
280
  theme?: string | undefined;
281
281
  rounded?: string | number | boolean | undefined;
282
+ baseColor?: string | undefined;
282
283
  prependIcon?: IconValue | undefined;
283
284
  appendIcon?: IconValue | undefined;
284
- baseColor?: string | undefined;
285
285
  activeClass?: string | undefined;
286
286
  appendAvatar?: string | undefined;
287
287
  prependAvatar?: string | undefined;
@@ -375,9 +375,9 @@ declare const VListItem: {
375
375
  to?: vue_router.RouteLocationRaw | undefined;
376
376
  theme?: string | undefined;
377
377
  rounded?: string | number | boolean | undefined;
378
+ baseColor?: string | undefined;
378
379
  prependIcon?: IconValue | undefined;
379
380
  appendIcon?: IconValue | undefined;
380
- baseColor?: string | undefined;
381
381
  activeClass?: string | undefined;
382
382
  appendAvatar?: string | undefined;
383
383
  prependAvatar?: string | undefined;
@@ -709,8 +709,8 @@ declare const VList: {
709
709
  elevation?: string | number | undefined;
710
710
  theme?: string | undefined;
711
711
  rounded?: string | number | boolean | undefined;
712
- bgColor?: string | undefined;
713
712
  baseColor?: string | undefined;
713
+ bgColor?: string | undefined;
714
714
  activeClass?: string | undefined;
715
715
  activeStrategy?: SelectStrategy | undefined;
716
716
  activeColor?: string | undefined;
@@ -790,8 +790,8 @@ declare const VList: {
790
790
  elevation?: string | number | undefined;
791
791
  theme?: string | undefined;
792
792
  rounded?: string | number | boolean | undefined;
793
- bgColor?: string | undefined;
794
793
  baseColor?: string | undefined;
794
+ bgColor?: string | undefined;
795
795
  activeClass?: string | undefined;
796
796
  activeStrategy?: SelectStrategy | undefined;
797
797
  activeColor?: string | undefined;
@@ -942,8 +942,8 @@ declare const VList: {
942
942
  elevation?: string | number | undefined;
943
943
  theme?: string | undefined;
944
944
  rounded?: string | number | boolean | undefined;
945
- bgColor?: string | undefined;
946
945
  baseColor?: string | undefined;
946
+ bgColor?: string | undefined;
947
947
  activeClass?: string | undefined;
948
948
  activeStrategy?: SelectStrategy | undefined;
949
949
  activeColor?: string | undefined;
@@ -1027,8 +1027,8 @@ declare const VList: {
1027
1027
  elevation?: string | number | undefined;
1028
1028
  theme?: string | undefined;
1029
1029
  rounded?: string | number | boolean | undefined;
1030
- bgColor?: string | undefined;
1031
1030
  baseColor?: string | undefined;
1031
+ bgColor?: string | undefined;
1032
1032
  activeClass?: string | undefined;
1033
1033
  activeStrategy?: SelectStrategy | undefined;
1034
1034
  activeColor?: string | undefined;
@@ -1397,9 +1397,9 @@ declare const VListGroup: {
1397
1397
  value?: any;
1398
1398
  title?: string | undefined;
1399
1399
  class?: any;
1400
+ baseColor?: string | undefined;
1400
1401
  prependIcon?: IconValue | undefined;
1401
1402
  appendIcon?: IconValue | undefined;
1402
- baseColor?: string | undefined;
1403
1403
  activeColor?: string | undefined;
1404
1404
  } & {
1405
1405
  $children?: vue.VNodeChild | (() => vue.VNodeChild) | {
@@ -1436,9 +1436,9 @@ declare const VListGroup: {
1436
1436
  value?: any;
1437
1437
  title?: string | undefined;
1438
1438
  class?: any;
1439
+ baseColor?: string | undefined;
1439
1440
  prependIcon?: IconValue | undefined;
1440
1441
  appendIcon?: IconValue | undefined;
1441
- baseColor?: string | undefined;
1442
1442
  activeColor?: string | undefined;
1443
1443
  } & {
1444
1444
  $children?: vue.VNodeChild | (() => vue.VNodeChild) | {
@@ -1497,9 +1497,9 @@ declare const VListGroup: {
1497
1497
  value?: any;
1498
1498
  title?: string | undefined;
1499
1499
  class?: any;
1500
+ baseColor?: string | undefined;
1500
1501
  prependIcon?: IconValue | undefined;
1501
1502
  appendIcon?: IconValue | undefined;
1502
- baseColor?: string | undefined;
1503
1503
  activeColor?: string | undefined;
1504
1504
  } & {
1505
1505
  $children?: vue.VNodeChild | (() => vue.VNodeChild) | {
@@ -1547,9 +1547,9 @@ declare const VListGroup: {
1547
1547
  value?: any;
1548
1548
  title?: string | undefined;
1549
1549
  class?: any;
1550
+ baseColor?: string | undefined;
1550
1551
  prependIcon?: IconValue | undefined;
1551
1552
  appendIcon?: IconValue | undefined;
1552
- baseColor?: string | undefined;
1553
1553
  activeColor?: string | undefined;
1554
1554
  } & {
1555
1555
  $children?: vue.VNodeChild | (() => vue.VNodeChild) | {
@@ -33,8 +33,8 @@ declare const VOtpInput: {
33
33
  'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
34
34
  modelValue?: string | number | undefined;
35
35
  rounded?: string | number | boolean | undefined;
36
- bgColor?: string | undefined;
37
36
  baseColor?: string | undefined;
37
+ bgColor?: string | undefined;
38
38
  } & {
39
39
  $children?: vue.VNodeChild | (() => vue.VNodeChild) | {
40
40
  default?: (() => vue.VNodeChild) | undefined;
@@ -89,8 +89,8 @@ declare const VOtpInput: {
89
89
  'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
90
90
  modelValue?: string | number | undefined;
91
91
  rounded?: string | number | boolean | undefined;
92
- bgColor?: string | undefined;
93
92
  baseColor?: string | undefined;
93
+ bgColor?: string | undefined;
94
94
  } & {
95
95
  $children?: vue.VNodeChild | (() => vue.VNodeChild) | {
96
96
  default?: (() => vue.VNodeChild) | undefined;
@@ -161,8 +161,8 @@ declare const VOtpInput: {
161
161
  'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
162
162
  modelValue?: string | number | undefined;
163
163
  rounded?: string | number | boolean | undefined;
164
- bgColor?: string | undefined;
165
164
  baseColor?: string | undefined;
165
+ bgColor?: string | undefined;
166
166
  } & {
167
167
  $children?: vue.VNodeChild | (() => vue.VNodeChild) | {
168
168
  default?: (() => vue.VNodeChild) | undefined;
@@ -230,8 +230,8 @@ declare const VOtpInput: {
230
230
  'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
231
231
  modelValue?: string | number | undefined;
232
232
  rounded?: string | number | boolean | undefined;
233
- bgColor?: string | undefined;
234
233
  baseColor?: string | undefined;
234
+ bgColor?: string | undefined;
235
235
  } & {
236
236
  $children?: vue.VNodeChild | (() => vue.VNodeChild) | {
237
237
  default?: (() => vue.VNodeChild) | undefined;
@@ -305,8 +305,8 @@ declare const VOtpInput: {
305
305
  type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
306
306
  default: undefined;
307
307
  };
308
- bgColor: StringConstructor;
309
308
  baseColor: StringConstructor;
309
+ bgColor: StringConstructor;
310
310
  focused: BooleanConstructor;
311
311
  'onUpdate:focused': PropType<(args_0: boolean) => void>;
312
312
  height: (StringConstructor | NumberConstructor)[];
@@ -361,8 +361,8 @@ declare const VOtpInput: {
361
361
  type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
362
362
  default: undefined;
363
363
  };
364
- bgColor: StringConstructor;
365
364
  baseColor: StringConstructor;
365
+ bgColor: StringConstructor;
366
366
  focused: BooleanConstructor;
367
367
  'onUpdate:focused': PropType<(args_0: boolean) => void>;
368
368
  height: (StringConstructor | NumberConstructor)[];