@vuetify/nightly 3.0.0-beta.10 → 3.0.0-beta.13

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 (224) hide show
  1. package/CHANGELOG.md +13 -2
  2. package/dist/json/attributes.json +37 -29
  3. package/dist/json/importMap.json +46 -46
  4. package/dist/json/tags.json +10 -8
  5. package/dist/json/web-types.json +101 -87
  6. package/dist/vuetify.css +545 -441
  7. package/dist/vuetify.d.ts +12095 -10059
  8. package/dist/vuetify.esm.js +401 -266
  9. package/dist/vuetify.esm.js.map +1 -1
  10. package/dist/vuetify.js +371 -236
  11. package/dist/vuetify.js.map +1 -1
  12. package/dist/vuetify.min.css +3 -3
  13. package/dist/vuetify.min.js +496 -490
  14. package/dist/vuetify.min.js.map +1 -1
  15. package/lib/blueprints/index.d.ts +171 -0
  16. package/lib/blueprints/md1.d.ts +167 -0
  17. package/lib/blueprints/md2.d.ts +167 -0
  18. package/lib/blueprints/md3.d.ts +167 -0
  19. package/lib/components/VAlert/index.d.ts +185 -0
  20. package/lib/components/VApp/index.d.ts +83 -0
  21. package/lib/components/VAppBar/VAppBar.css +3 -0
  22. package/lib/components/VAppBar/VAppBar.sass +3 -0
  23. package/lib/components/VAppBar/index.d.ts +156 -0
  24. package/lib/components/VAutocomplete/VAutocomplete.mjs +1 -1
  25. package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
  26. package/lib/components/VAutocomplete/index.d.ts +1569 -0
  27. package/lib/components/VAvatar/VAvatar.css +44 -2
  28. package/lib/components/VAvatar/VAvatar.mjs +16 -12
  29. package/lib/components/VAvatar/VAvatar.mjs.map +1 -1
  30. package/lib/components/VAvatar/VAvatar.sass +5 -1
  31. package/lib/components/VAvatar/_variables.scss +9 -4
  32. package/lib/components/VAvatar/index.d.ts +80 -0
  33. package/lib/components/VBadge/index.d.ts +123 -0
  34. package/lib/components/VBanner/index.d.ts +122 -0
  35. package/lib/components/VBottomNavigation/index.d.ts +143 -0
  36. package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs +2 -2
  37. package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs.map +1 -1
  38. package/lib/components/VBreadcrumbs/index.d.ts +301 -0
  39. package/lib/components/VBtn/VBtn.css +8 -3
  40. package/lib/components/VBtn/VBtn.mjs +16 -6
  41. package/lib/components/VBtn/VBtn.mjs.map +1 -1
  42. package/lib/components/VBtn/index.d.ts +210 -0
  43. package/lib/components/VBtnGroup/index.d.ts +65 -0
  44. package/lib/components/VBtnToggle/VBtnToggle.mjs +1 -3
  45. package/lib/components/VBtnToggle/VBtnToggle.mjs.map +1 -1
  46. package/lib/components/VBtnToggle/index.d.ts +175 -0
  47. package/lib/components/VCard/VCard.css +8 -3
  48. package/lib/components/VCard/index.d.ts +230 -0
  49. package/lib/components/VCarousel/VCarousel.mjs +3 -3
  50. package/lib/components/VCarousel/VCarousel.mjs.map +1 -1
  51. package/lib/components/VCarousel/index.d.ts +80 -0
  52. package/lib/components/VCheckbox/index.d.ts +291 -0
  53. package/lib/components/VChip/index.d.ts +195 -0
  54. package/lib/components/VChipGroup/index.d.ts +89 -0
  55. package/lib/components/VCode/index.d.ts +19 -0
  56. package/lib/components/VColorPicker/index.d.ts +116 -0
  57. package/lib/components/VCombobox/VCombobox.mjs +1 -1
  58. package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
  59. package/lib/components/VCombobox/index.d.ts +1590 -0
  60. package/lib/components/VCounter/index.d.ts +223 -0
  61. package/lib/components/VDefaultsProvider/index.d.ts +26 -0
  62. package/lib/components/VDialog/VDialog.css +2 -0
  63. package/lib/components/VDialog/VDialog.mjs +17 -12
  64. package/lib/components/VDialog/VDialog.mjs.map +1 -1
  65. package/lib/components/VDialog/VDialog.sass +2 -0
  66. package/lib/components/VDialog/index.d.ts +859 -0
  67. package/lib/components/VDivider/index.d.ts +22 -0
  68. package/lib/components/VExpansionPanel/VExpansionPanel.css +8 -3
  69. package/lib/components/VExpansionPanel/index.d.ts +206 -0
  70. package/lib/components/VField/VField.css +27 -24
  71. package/lib/components/VField/VField.mjs +1 -1
  72. package/lib/components/VField/VField.mjs.map +1 -1
  73. package/lib/components/VField/VField.sass +23 -21
  74. package/lib/components/VField/index.d.ts +332 -0
  75. package/lib/components/VFileInput/VFileInput.mjs +3 -3
  76. package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
  77. package/lib/components/VFileInput/index.d.ts +236 -0
  78. package/lib/components/VFooter/VFooter.css +7 -0
  79. package/lib/components/VFooter/VFooter.sass +1 -1
  80. package/lib/components/VFooter/_variables.scss +11 -0
  81. package/lib/components/VFooter/index.d.ts +76 -0
  82. package/lib/components/VForm/index.d.ts +72 -0
  83. package/lib/components/VGrid/index.d.ts +154 -0
  84. package/lib/components/VHover/index.d.ts +30 -0
  85. package/lib/components/VIcon/index.d.ts +124 -0
  86. package/lib/components/VImg/VImg.mjs +29 -27
  87. package/lib/components/VImg/VImg.mjs.map +1 -1
  88. package/lib/components/VImg/index.d.ts +89 -0
  89. package/lib/components/VInput/VInput.mjs +4 -4
  90. package/lib/components/VInput/VInput.mjs.map +1 -1
  91. package/lib/components/VInput/index.d.ts +325 -0
  92. package/lib/components/VItemGroup/index.d.ts +210 -0
  93. package/lib/components/VKbd/index.d.ts +19 -0
  94. package/lib/components/VLabel/VLabel.css +4 -1
  95. package/lib/components/VLabel/VLabel.mjs +4 -1
  96. package/lib/components/VLabel/VLabel.mjs.map +1 -1
  97. package/lib/components/VLabel/VLabel.sass +3 -1
  98. package/lib/components/VLabel/index.d.ts +16 -0
  99. package/lib/components/VLayout/index.d.ts +75 -0
  100. package/lib/components/VLazy/index.d.ts +85 -0
  101. package/lib/components/VList/VListItem.css +8 -3
  102. package/lib/components/VList/VListItem.mjs +4 -4
  103. package/lib/components/VList/VListItem.mjs.map +1 -1
  104. package/lib/components/VList/index.d.ts +1250 -0
  105. package/lib/components/VLocaleProvider/index.d.ts +23 -0
  106. package/lib/components/VMain/index.d.ts +26 -0
  107. package/lib/components/VMenu/VMenu.mjs +16 -3
  108. package/lib/components/VMenu/VMenu.mjs.map +1 -1
  109. package/lib/components/VMenu/index.d.ts +817 -0
  110. package/lib/components/VMessages/index.d.ts +234 -0
  111. package/lib/components/VNavigationDrawer/index.d.ts +148 -0
  112. package/lib/components/VNoSsr/index.d.ts +7 -0
  113. package/lib/components/VOverlay/VOverlay.mjs +4 -3
  114. package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
  115. package/lib/components/VOverlay/index.d.ts +579 -0
  116. package/lib/components/VOverlay/useActivator.mjs +27 -1
  117. package/lib/components/VOverlay/useActivator.mjs.map +1 -1
  118. package/lib/components/VPagination/VPagination.mjs +6 -3
  119. package/lib/components/VPagination/VPagination.mjs.map +1 -1
  120. package/lib/components/VPagination/index.d.ts +247 -0
  121. package/lib/components/VParallax/VParallax.mjs +24 -10
  122. package/lib/components/VParallax/VParallax.mjs.map +1 -1
  123. package/lib/components/VParallax/index.d.ts +18 -0
  124. package/lib/components/VProgressCircular/index.d.ts +68 -0
  125. package/lib/components/VProgressLinear/index.d.ts +101 -0
  126. package/lib/components/VRadio/index.d.ts +103 -0
  127. package/lib/components/VRadioGroup/VRadioGroup.css +2 -3
  128. package/lib/components/VRadioGroup/VRadioGroup.mjs +2 -1
  129. package/lib/components/VRadioGroup/VRadioGroup.mjs.map +1 -1
  130. package/lib/components/VRadioGroup/VRadioGroup.sass +2 -2
  131. package/lib/components/VRadioGroup/_variables.scss +0 -1
  132. package/lib/components/VRadioGroup/index.d.ts +186 -0
  133. package/lib/components/VRangeSlider/VRangeSlider.mjs +12 -2
  134. package/lib/components/VRangeSlider/VRangeSlider.mjs.map +1 -1
  135. package/lib/components/VRangeSlider/index.d.ts +242 -0
  136. package/lib/components/VRating/index.d.ts +356 -0
  137. package/lib/components/VResponsive/index.d.ts +23 -0
  138. package/lib/components/VSelect/VSelect.mjs +1 -1
  139. package/lib/components/VSelect/VSelect.mjs.map +1 -1
  140. package/lib/components/VSelect/index.d.ts +1521 -0
  141. package/lib/components/VSelectionControl/VSelectionControl.mjs +2 -1
  142. package/lib/components/VSelectionControl/VSelectionControl.mjs.map +1 -1
  143. package/lib/components/VSelectionControl/index.d.ts +275 -0
  144. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.css +5 -0
  145. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs +3 -1
  146. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs.map +1 -1
  147. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.sass +5 -0
  148. package/lib/components/VSelectionControlGroup/index.d.ts +47 -0
  149. package/lib/components/VSheet/index.d.ts +68 -0
  150. package/lib/components/VSlideGroup/index.d.ts +151 -0
  151. package/lib/components/VSlider/VSlider.css +7 -2
  152. package/lib/components/VSlider/VSlider.mjs +14 -4
  153. package/lib/components/VSlider/VSlider.mjs.map +1 -1
  154. package/lib/components/VSlider/VSlider.sass +6 -2
  155. package/lib/components/VSlider/VSliderTrack.css +20 -20
  156. package/lib/components/VSlider/VSliderTrack.mjs +7 -3
  157. package/lib/components/VSlider/VSliderTrack.mjs.map +1 -1
  158. package/lib/components/VSlider/VSliderTrack.sass +14 -14
  159. package/lib/components/VSlider/_variables.scss +2 -2
  160. package/lib/components/VSlider/index.d.ts +239 -0
  161. package/lib/components/VSlider/slider.mjs +2 -2
  162. package/lib/components/VSlider/slider.mjs.map +1 -1
  163. package/lib/components/VSnackbar/VSnackbar.mjs +3 -2
  164. package/lib/components/VSnackbar/VSnackbar.mjs.map +1 -1
  165. package/lib/components/VSnackbar/index.d.ts +892 -0
  166. package/lib/components/VSwitch/index.d.ts +175 -0
  167. package/lib/components/VSystemBar/index.d.ts +61 -0
  168. package/lib/components/VTable/index.d.ts +39 -0
  169. package/lib/components/VTabs/VTab.mjs +1 -0
  170. package/lib/components/VTabs/VTab.mjs.map +1 -1
  171. package/lib/components/VTabs/index.d.ts +178 -0
  172. package/lib/components/VTextField/VTextField.css +2 -3
  173. package/lib/components/VTextField/VTextField.sass +2 -4
  174. package/lib/components/VTextField/index.d.ts +582 -0
  175. package/lib/components/VTextarea/VTextarea.css +5 -3
  176. package/lib/components/VTextarea/VTextarea.mjs +2 -1
  177. package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
  178. package/lib/components/VTextarea/VTextarea.sass +5 -4
  179. package/lib/components/VTextarea/index.d.ts +218 -0
  180. package/lib/components/VThemeProvider/index.d.ts +24 -0
  181. package/lib/components/VTimeline/VTimeline.css +21 -6
  182. package/lib/components/VTimeline/VTimeline.mjs +6 -1
  183. package/lib/components/VTimeline/VTimeline.mjs.map +1 -1
  184. package/lib/components/VTimeline/VTimeline.sass +16 -2
  185. package/lib/components/VTimeline/_variables.scss +4 -3
  186. package/lib/components/VTimeline/index.d.ts +154 -0
  187. package/lib/components/VToolbar/VToolbar.css +0 -1
  188. package/lib/components/VToolbar/VToolbar.sass +0 -1
  189. package/lib/components/VToolbar/index.d.ts +414 -0
  190. package/lib/components/VTooltip/VTooltip.mjs.map +1 -1
  191. package/lib/components/VTooltip/index.d.ts +799 -0
  192. package/lib/components/VValidation/index.d.ts +61 -0
  193. package/lib/components/VWindow/index.d.ts +428 -0
  194. package/lib/components/index.d.ts +12037 -10009
  195. package/lib/components/transitions/index.d.ts +454 -0
  196. package/lib/composables/display.mjs +3 -3
  197. package/lib/composables/display.mjs.map +1 -1
  198. package/lib/composables/items.mjs.map +1 -1
  199. package/lib/composables/locale.mjs +10 -3
  200. package/lib/composables/locale.mjs.map +1 -1
  201. package/lib/composables/proxiedModel.mjs +28 -10
  202. package/lib/composables/proxiedModel.mjs.map +1 -1
  203. package/lib/composables/router.mjs +10 -2
  204. package/lib/composables/router.mjs.map +1 -1
  205. package/lib/composables/selectLink.mjs +4 -4
  206. package/lib/composables/selectLink.mjs.map +1 -1
  207. package/lib/composables/theme.mjs +37 -33
  208. package/lib/composables/theme.mjs.map +1 -1
  209. package/lib/composables/validation.mjs +1 -1
  210. package/lib/composables/validation.mjs.map +1 -1
  211. package/lib/entry-bundler.mjs +1 -1
  212. package/lib/framework.mjs +46 -51
  213. package/lib/framework.mjs.map +1 -1
  214. package/lib/index.d.ts +31 -22
  215. package/lib/locale/adapters/vue-i18n.d.ts +35 -0
  216. package/lib/locale/adapters/vue-intl.d.ts +42 -0
  217. package/lib/styles/main.css +73 -73
  218. package/lib/styles/settings/_colors.scss +84 -84
  219. package/lib/styles/tools/_states.sass +8 -3
  220. package/lib/util/getCurrentInstance.mjs +2 -3
  221. package/lib/util/getCurrentInstance.mjs.map +1 -1
  222. package/lib/util/helpers.mjs +6 -11
  223. package/lib/util/helpers.mjs.map +1 -1
  224. package/package.json +4 -2
@@ -1 +1 @@
1
- {"version":3,"file":"framework.mjs","names":["createDefaults","DefaultsSymbol","createDisplay","DisplaySymbol","createIcons","IconSymbol","createLocale","LocaleAdapterSymbol","createTheme","ThemeSymbol","RtlSymbol","defineComponent","getUid","IN_BROWSER","mergeDeep","reactive","createVuetify","vuetify","install","app","blueprint","rest","options","aliases","components","directives","key","directive","component","name","provideApp","isHydrate","provide","defaults","display","theme","icons","locale","reset","mount","rootContainer","isSVG","ret","inject","vm","$","provides","parent","vnode","appContext","mixin","computed","$vuetify","call","rtl","version"],"sources":["../src/framework.ts"],"sourcesContent":["// Composables\nimport { createDefaults, DefaultsSymbol } from '@/composables/defaults'\nimport { createDisplay, DisplaySymbol } from '@/composables/display'\nimport { createIcons, IconSymbol } from '@/composables/icons'\nimport { createLocale, LocaleAdapterSymbol } from '@/composables/locale'\nimport { createTheme, ThemeSymbol } from '@/composables/theme'\nimport { RtlSymbol } from '@/composables/rtl'\n\n// Utilities\nimport { defineComponent, getUid, IN_BROWSER, mergeDeep } from '@/util'\nimport { reactive } from 'vue'\n\n// Types\nimport type { App, ComponentPublicInstance, InjectionKey } from 'vue'\nimport type { DefaultsOptions } from '@/composables/defaults'\nimport type { DisplayOptions } from '@/composables/display'\nimport type { IconOptions } from '@/composables/icons'\nimport type { LocaleAdapter, LocaleOptions } from '@/composables/locale'\nimport type { RtlOptions } from '@/composables/rtl'\nimport type { ThemeOptions } from '@/composables/theme'\n\nexport * from './composables'\n\nexport interface VuetifyOptions {\n aliases?: Record<string, any>\n blueprint?: Blueprint\n components?: Record<string, any>\n directives?: Record<string, any>\n defaults?: DefaultsOptions\n display?: DisplayOptions\n theme?: ThemeOptions\n icons?: IconOptions\n locale?: (LocaleOptions & RtlOptions) | (LocaleAdapter & RtlOptions)\n}\n\nexport interface Blueprint extends Omit<VuetifyOptions, 'blueprint'> {}\n\nexport const createVuetify = (vuetify: VuetifyOptions = {}) => {\n const install = (app: App) => {\n const { blueprint, ...rest } = vuetify\n const options = mergeDeep(blueprint, rest)\n const {\n aliases = {},\n components = {},\n directives = {},\n } = options\n\n for (const key in directives) {\n app.directive(key, directives[key])\n }\n\n for (const key in components) {\n app.component(key, components[key])\n }\n\n for (const key in aliases) {\n app.component(key, defineComponent({\n ...aliases[key],\n name: key,\n }))\n }\n\n function provideApp (isHydrate?: boolean) {\n app.provide(DefaultsSymbol, createDefaults(options.defaults))\n app.provide(DisplaySymbol, createDisplay(options.display, isHydrate))\n app.provide(ThemeSymbol, createTheme(app, options.theme))\n app.provide(IconSymbol, createIcons(options.icons))\n app.provide(LocaleAdapterSymbol, createLocale(app, options.locale))\n }\n\n if (!IN_BROWSER) {\n provideApp()\n }\n\n getUid.reset()\n\n const mount = app.mount\n app.mount = (rootContainer: any, isHydrate?: boolean, isSVG?: boolean) => {\n provideApp(isHydrate)\n const ret = mount(rootContainer, isHydrate, isSVG)\n app.mount = mount\n return ret\n }\n\n // Vue's inject() can only be used in setup\n function inject (this: ComponentPublicInstance, key: InjectionKey<any> | string) {\n const vm = this.$\n\n const provides = vm.parent?.provides ?? vm.vnode.appContext?.provides\n\n if (provides && (key as any) in provides) {\n return provides[(key as string)]\n }\n }\n\n app.mixin({\n computed: {\n $vuetify () {\n return reactive({\n defaults: inject.call(this, DefaultsSymbol),\n display: inject.call(this, DisplaySymbol),\n theme: inject.call(this, ThemeSymbol),\n icons: inject.call(this, IconSymbol),\n locale: inject.call(this, LocaleAdapterSymbol),\n rtl: inject.call(this, RtlSymbol),\n })\n },\n },\n })\n }\n\n return { install }\n}\n\nexport const version = __VUETIFY_VERSION__\ncreateVuetify.version = version\n"],"mappings":"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"}
1
+ {"version":3,"file":"framework.mjs","names":["createDefaults","DefaultsSymbol","createDisplay","DisplaySymbol","createIcons","IconSymbol","createLocale","LocaleAdapterSymbol","createTheme","ThemeSymbol","RtlSymbol","defineComponent","getUid","mergeDeep","reactive","createVuetify","vuetify","blueprint","rest","options","aliases","components","directives","defaults","display","ssr","theme","icons","locale","install","app","key","directive","component","name","aliasName","provide","adapter","reset","mixin","computed","$vuetify","inject","call","rtl","version","vm","$","provides","parent","vnode","appContext"],"sources":["../src/framework.ts"],"sourcesContent":["// Composables\nimport { createDefaults, DefaultsSymbol } from '@/composables/defaults'\nimport { createDisplay, DisplaySymbol } from '@/composables/display'\nimport { createIcons, IconSymbol } from '@/composables/icons'\nimport { createLocale, LocaleAdapterSymbol } from '@/composables/locale'\nimport { createTheme, ThemeSymbol } from '@/composables/theme'\nimport { RtlSymbol } from '@/composables/rtl'\n\n// Utilities\nimport { defineComponent, getUid, mergeDeep } from '@/util'\nimport { reactive } from 'vue'\n\n// Types\nimport type { App, ComponentPublicInstance, InjectionKey } from 'vue'\nimport type { DefaultsOptions } from '@/composables/defaults'\nimport type { DisplayOptions } from '@/composables/display'\nimport type { IconOptions } from '@/composables/icons'\nimport type { LocaleAdapter, LocaleOptions } from '@/composables/locale'\nimport type { RtlOptions } from '@/composables/rtl'\nimport type { ThemeOptions } from '@/composables/theme'\n\nexport * from './composables'\n\nexport interface VuetifyOptions {\n aliases?: Record<string, any>\n blueprint?: Blueprint\n components?: Record<string, any>\n directives?: Record<string, any>\n defaults?: DefaultsOptions\n display?: DisplayOptions\n theme?: ThemeOptions\n icons?: IconOptions\n locale?: (LocaleOptions & RtlOptions) | (LocaleAdapter & RtlOptions)\n ssr?: boolean\n}\n\nexport interface Blueprint extends Omit<VuetifyOptions, 'blueprint'> {}\n\nexport function createVuetify (vuetify: VuetifyOptions = {}) {\n const { blueprint, ...rest } = vuetify\n const options = mergeDeep(blueprint, rest)\n const {\n aliases = {},\n components = {},\n directives = {},\n } = options\n\n const defaults = createDefaults(options.defaults)\n const display = createDisplay(options.display, options.ssr)\n const theme = createTheme(options.theme)\n const icons = createIcons(options.icons)\n const locale = createLocale(options.locale)\n\n const install = (app: App) => {\n for (const key in directives) {\n app.directive(key, directives[key])\n }\n\n for (const key in components) {\n app.component(key, components[key])\n }\n\n for (const key in aliases) {\n app.component(key, defineComponent({\n ...aliases[key],\n name: key,\n aliasName: aliases[key].name,\n }))\n }\n\n theme.install(app)\n locale.install(app)\n\n app.provide(DefaultsSymbol, defaults)\n app.provide(DisplaySymbol, display)\n app.provide(ThemeSymbol, theme)\n app.provide(IconSymbol, icons)\n app.provide(LocaleAdapterSymbol, locale.adapter)\n\n getUid.reset()\n\n app.mixin({\n computed: {\n $vuetify () {\n return reactive({\n defaults: inject.call(this, DefaultsSymbol),\n display: inject.call(this, DisplaySymbol),\n theme: inject.call(this, ThemeSymbol),\n icons: inject.call(this, IconSymbol),\n locale: inject.call(this, LocaleAdapterSymbol),\n rtl: inject.call(this, RtlSymbol),\n })\n },\n },\n })\n }\n\n return {\n install,\n defaults,\n display,\n theme,\n icons,\n locale: locale.adapter,\n }\n}\n\nexport const version = __VUETIFY_VERSION__\ncreateVuetify.version = version\n\n// Vue's inject() can only be used in setup\nfunction inject (this: ComponentPublicInstance, key: InjectionKey<any> | string) {\n const vm = this.$\n\n const provides = vm.parent?.provides ?? vm.vnode.appContext?.provides\n\n if (provides && (key as any) in provides) {\n return provides[(key as string)]\n }\n}\n"],"mappings":"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"}
package/lib/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import * as vue from 'vue';
1
2
  import { Ref, DeepReadonly, ToRefs, JSXComponent, PropType, App, ComponentInternalInstance, CSSProperties } from 'vue';
2
3
 
3
4
  declare type DeepPartial<T> = T extends object ? {
@@ -58,12 +59,6 @@ interface ThemeInstance {
58
59
  }
59
60
  declare function useTheme(): ThemeInstance;
60
61
 
61
- interface DefaultsInstance {
62
- [key: string]: undefined | Record<string, unknown>;
63
- global?: Record<string, unknown>;
64
- }
65
- declare type DefaultsOptions = Partial<DefaultsInstance>;
66
-
67
62
  declare type DisplayBreakpoint = keyof DisplayThresholds;
68
63
  interface DisplayThresholds {
69
64
  xs: number;
@@ -117,6 +112,12 @@ interface DisplayInstance {
117
112
  }
118
113
  declare function useDisplay(): ToRefs<DisplayInstance>;
119
114
 
115
+ interface DefaultsInstance {
116
+ [key: string]: undefined | Record<string, unknown>;
117
+ global?: Record<string, unknown>;
118
+ }
119
+ declare type DefaultsOptions = Partial<DefaultsInstance>;
120
+
120
121
  declare type IconValue = string | JSXComponent;
121
122
  declare const IconValue: PropType<IconValue>;
122
123
  interface IconAliases {
@@ -265,15 +266,23 @@ interface VuetifyOptions {
265
266
  theme?: ThemeOptions;
266
267
  icons?: IconOptions;
267
268
  locale?: (LocaleOptions & RtlOptions) | (LocaleAdapter & RtlOptions);
269
+ ssr?: boolean;
268
270
  }
269
271
  interface Blueprint extends Omit<VuetifyOptions, 'blueprint'> {
270
272
  }
271
- declare const createVuetify: {
272
- (vuetify?: VuetifyOptions): {
273
- install: (app: App) => void;
273
+ declare function createVuetify(vuetify?: VuetifyOptions): {
274
+ install: (app: App) => void;
275
+ defaults: vue.Ref<DefaultsInstance>;
276
+ display: vue.ToRefs<DisplayInstance>;
277
+ theme: ThemeInstance & {
278
+ install: (app: App<any>) => void;
274
279
  };
275
- version: string;
280
+ icons: Record<string, any>;
281
+ locale: LocaleAdapter;
276
282
  };
283
+ declare namespace createVuetify {
284
+ var version: string;
285
+ }
277
286
  declare const version: string;
278
287
 
279
288
  export { Blueprint, DefaultsInstance, DisplayBreakpoint, DisplayInstance, DisplayThresholds, IconAliases, IconOptions, IconProps, IconSet, LocaleAdapter, LocaleInstance, RtlInstance, SubmitEventPromise, ThemeDefinition, ThemeInstance, VuetifyOptions, createVuetify, provideRtl, useDisplay, useLayout, useLocale, useRtl, useTheme, version };
@@ -325,15 +334,16 @@ declare module '@vue/runtime-core' {
325
334
  VSpacer: typeof import('vuetify/components')['VSpacer']
326
335
  VHover: typeof import('vuetify/components')['VHover']
327
336
  VForm: typeof import('vuetify/components')['VForm']
328
- VLazy: typeof import('vuetify/components')['VLazy']
329
- VLocaleProvider: typeof import('vuetify/components')['VLocaleProvider']
330
337
  VLayout: typeof import('vuetify/components')['VLayout']
331
338
  VLayoutItem: typeof import('vuetify/components')['VLayoutItem']
339
+ VLazy: typeof import('vuetify/components')['VLazy']
340
+ VLocaleProvider: typeof import('vuetify/components')['VLocaleProvider']
332
341
  VNoSsr: typeof import('vuetify/components')['VNoSsr']
342
+ VParallax: typeof import('vuetify/components')['VParallax']
333
343
  VRadio: typeof import('vuetify/components')['VRadio']
334
344
  VRangeSlider: typeof import('vuetify/components')['VRangeSlider']
335
- VParallax: typeof import('vuetify/components')['VParallax']
336
345
  VResponsive: typeof import('vuetify/components')['VResponsive']
346
+ VThemeProvider: typeof import('vuetify/components')['VThemeProvider']
337
347
  VFabTransition: typeof import('vuetify/components')['VFabTransition']
338
348
  VDialogBottomTransition: typeof import('vuetify/components')['VDialogBottomTransition']
339
349
  VDialogTopTransition: typeof import('vuetify/components')['VDialogTopTransition']
@@ -350,6 +360,7 @@ declare module '@vue/runtime-core' {
350
360
  VExpandTransition: typeof import('vuetify/components')['VExpandTransition']
351
361
  VExpandXTransition: typeof import('vuetify/components')['VExpandXTransition']
352
362
  VDialogTransition: typeof import('vuetify/components')['VDialogTransition']
363
+ VValidation: typeof import('vuetify/components')['VValidation']
353
364
  VAppBar: typeof import('vuetify/components')['VAppBar']
354
365
  VAppBarNavIcon: typeof import('vuetify/components')['VAppBarNavIcon']
355
366
  VAppBarTitle: typeof import('vuetify/components')['VAppBarTitle']
@@ -358,14 +369,13 @@ declare module '@vue/runtime-core' {
358
369
  VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
359
370
  VAvatar: typeof import('vuetify/components')['VAvatar']
360
371
  VBadge: typeof import('vuetify/components')['VBadge']
361
- VThemeProvider: typeof import('vuetify/components')['VThemeProvider']
362
372
  VBanner: typeof import('vuetify/components')['VBanner']
363
373
  VBannerActions: typeof import('vuetify/components')['VBannerActions']
364
374
  VBannerText: typeof import('vuetify/components')['VBannerText']
375
+ VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
365
376
  VBreadcrumbs: typeof import('vuetify/components')['VBreadcrumbs']
366
377
  VBreadcrumbsItem: typeof import('vuetify/components')['VBreadcrumbsItem']
367
378
  VBreadcrumbsDivider: typeof import('vuetify/components')['VBreadcrumbsDivider']
368
- VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
369
379
  VBtn: typeof import('vuetify/components')['VBtn']
370
380
  VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
371
381
  VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
@@ -379,18 +389,18 @@ declare module '@vue/runtime-core' {
379
389
  VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
380
390
  VCheckbox: typeof import('vuetify/components')['VCheckbox']
381
391
  VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
382
- VChip: typeof import('vuetify/components')['VChip']
383
392
  VChipGroup: typeof import('vuetify/components')['VChipGroup']
393
+ VChip: typeof import('vuetify/components')['VChip']
384
394
  VCode: typeof import('vuetify/components')['VCode']
385
395
  VColorPicker: typeof import('vuetify/components')['VColorPicker']
386
396
  VCombobox: typeof import('vuetify/components')['VCombobox']
387
397
  VCounter: typeof import('vuetify/components')['VCounter']
388
398
  VDialog: typeof import('vuetify/components')['VDialog']
399
+ VDivider: typeof import('vuetify/components')['VDivider']
389
400
  VExpansionPanels: typeof import('vuetify/components')['VExpansionPanels']
390
401
  VExpansionPanel: typeof import('vuetify/components')['VExpansionPanel']
391
402
  VExpansionPanelText: typeof import('vuetify/components')['VExpansionPanelText']
392
403
  VExpansionPanelTitle: typeof import('vuetify/components')['VExpansionPanelTitle']
393
- VDivider: typeof import('vuetify/components')['VDivider']
394
404
  VField: typeof import('vuetify/components')['VField']
395
405
  VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
396
406
  VFileInput: typeof import('vuetify/components')['VFileInput']
@@ -400,7 +410,6 @@ declare module '@vue/runtime-core' {
400
410
  VSvgIcon: typeof import('vuetify/components')['VSvgIcon']
401
411
  VLigatureIcon: typeof import('vuetify/components')['VLigatureIcon']
402
412
  VClassIcon: typeof import('vuetify/components')['VClassIcon']
403
- VImg: typeof import('vuetify/components')['VImg']
404
413
  VInput: typeof import('vuetify/components')['VInput']
405
414
  VItemGroup: typeof import('vuetify/components')['VItemGroup']
406
415
  VItem: typeof import('vuetify/components')['VItem']
@@ -432,22 +441,22 @@ declare module '@vue/runtime-core' {
432
441
  VSlideGroup: typeof import('vuetify/components')['VSlideGroup']
433
442
  VSlideGroupItem: typeof import('vuetify/components')['VSlideGroupItem']
434
443
  VSlider: typeof import('vuetify/components')['VSlider']
435
- VSwitch: typeof import('vuetify/components')['VSwitch']
436
444
  VSnackbar: typeof import('vuetify/components')['VSnackbar']
445
+ VSwitch: typeof import('vuetify/components')['VSwitch']
437
446
  VSystemBar: typeof import('vuetify/components')['VSystemBar']
438
447
  VTabs: typeof import('vuetify/components')['VTabs']
439
448
  VTab: typeof import('vuetify/components')['VTab']
440
449
  VTable: typeof import('vuetify/components')['VTable']
441
450
  VTextarea: typeof import('vuetify/components')['VTextarea']
442
451
  VTextField: typeof import('vuetify/components')['VTextField']
452
+ VTimeline: typeof import('vuetify/components')['VTimeline']
453
+ VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
443
454
  VToolbar: typeof import('vuetify/components')['VToolbar']
444
455
  VToolbarTitle: typeof import('vuetify/components')['VToolbarTitle']
445
456
  VToolbarItems: typeof import('vuetify/components')['VToolbarItems']
446
- VTimeline: typeof import('vuetify/components')['VTimeline']
447
- VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
448
457
  VTooltip: typeof import('vuetify/components')['VTooltip']
449
458
  VWindow: typeof import('vuetify/components')['VWindow']
450
459
  VWindowItem: typeof import('vuetify/components')['VWindowItem']
451
- VValidation: typeof import('vuetify/components')['VValidation']
460
+ VImg: typeof import('vuetify/components')['VImg']
452
461
  }
453
462
  }
@@ -0,0 +1,35 @@
1
+ import { I18n, useI18n } from 'vue-i18n';
2
+ import { App, Ref } from 'vue';
3
+
4
+ interface RtlOptions {
5
+ rtl?: Record<string, boolean>;
6
+ }
7
+
8
+ interface LocaleMessages {
9
+ [key: string]: LocaleMessages | string;
10
+ }
11
+ interface LocaleProps {
12
+ locale?: string;
13
+ fallbackLocale?: string;
14
+ messages?: LocaleMessages;
15
+ }
16
+ interface LocaleInstance {
17
+ current: Ref<string>;
18
+ fallback: Ref<string>;
19
+ messages: Ref<LocaleMessages>;
20
+ t: (key: string, ...params: unknown[]) => string;
21
+ n: (value: number) => string;
22
+ }
23
+ interface LocaleAdapter {
24
+ createRoot: (app?: App) => LocaleInstance;
25
+ getScope: () => LocaleInstance;
26
+ createScope: (options?: LocaleProps) => LocaleInstance;
27
+ }
28
+
29
+ declare type VueI18nAdapterParams = {
30
+ i18n: I18n<{}, {}, {}, string, false>;
31
+ useI18n: typeof useI18n;
32
+ } & RtlOptions;
33
+ declare function createVueI18nAdapter({ i18n, useI18n, ...rest }: VueI18nAdapterParams): (LocaleAdapter & RtlOptions);
34
+
35
+ export { createVueI18nAdapter };
@@ -0,0 +1,42 @@
1
+ import { App, Ref } from 'vue';
2
+ import { createIntl } from '@formatjs/intl';
3
+
4
+ interface RtlOptions {
5
+ rtl?: Record<string, boolean>;
6
+ }
7
+
8
+ interface LocaleMessages {
9
+ [key: string]: LocaleMessages | string;
10
+ }
11
+ interface LocaleProps {
12
+ locale?: string;
13
+ fallbackLocale?: string;
14
+ messages?: LocaleMessages;
15
+ }
16
+ interface LocaleInstance {
17
+ current: Ref<string>;
18
+ fallback: Ref<string>;
19
+ messages: Ref<LocaleMessages>;
20
+ t: (key: string, ...params: unknown[]) => string;
21
+ n: (value: number) => string;
22
+ }
23
+ interface LocaleAdapter {
24
+ createRoot: (app?: App) => LocaleInstance;
25
+ getScope: () => LocaleInstance;
26
+ createScope: (options?: LocaleProps) => LocaleInstance;
27
+ }
28
+
29
+ declare type VueIntlAdapterOptions = {
30
+ createIntl: typeof createIntl;
31
+ useIntl: any;
32
+ provideIntl: any;
33
+ locale: string;
34
+ defaultLocale: string;
35
+ messages: Record<string, Record<string, string>>;
36
+ } & RtlOptions;
37
+ /**
38
+ * There is no reactivity in this adapter, because vue-intl package does not seem to support it
39
+ */
40
+ declare function createVueIntlAdapter({ createIntl, useIntl, provideIntl, locale, defaultLocale, messages, ...rest }: VueIntlAdapterOptions): (LocaleAdapter & RtlOptions);
41
+
42
+ export { createVueIntlAdapter };