@dargmuesli/nuxt-vio 3.0.0-beta.1 → 3.0.0-beta.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. package/app.config.ts +32 -33
  2. package/components/{_ → vio/_}/VioApp.vue +20 -5
  3. package/components/{_ → vio/_}/VioError.vue +1 -1
  4. package/components/{_ → vio/_}/VioLink.vue +2 -2
  5. package/components/{form → vio/form}/VioForm.vue +1 -1
  6. package/components/{form → vio/form}/input/VioFormInput.vue +2 -2
  7. package/components/{layout → vio/layout}/VioLayout.vue +1 -1
  8. package/components/{loader → vio/loader}/indicator/VioLoaderIndicator.vue +1 -1
  9. package/components/{loader → vio/loader}/indicator/VioLoaderIndicatorPing.vue +1 -1
  10. package/components/{page → vio/page}/VioPageLegalNotice.vue +9 -7
  11. package/components/{page → vio/page}/VioPagePrivacyPolicy.vue +18 -11
  12. package/composables/useAppLayout.ts +11 -17
  13. package/composables/useFavicons.ts +3 -31
  14. package/composables/useGetServiceHref.ts +2 -28
  15. package/composables/useHeadDefault.ts +13 -26
  16. package/composables/usePolyfills.ts +23 -0
  17. package/error.vue +2 -0
  18. package/locales/de.json +1 -1
  19. package/locales/en.json +1 -1
  20. package/nuxt.config.ts +19 -9
  21. package/package.json +17 -19
  22. package/plugins/dayjs.ts +6 -18
  23. package/plugins/gtag.client.ts +3 -0
  24. package/server/middleware/headers.ts +1 -1
  25. package/server/tsconfig.json +1 -1
  26. package/server/utils/util.ts +2 -0
  27. package/store/auth.ts +32 -0
  28. package/tailwind.config.ts +3 -5
  29. package/types/api.d.ts +9 -0
  30. package/types/fetch.d.ts +8 -0
  31. package/types/modules/gql.d.ts +6 -0
  32. package/types/modules/graphql.d.ts +6 -0
  33. package/utils/constants.ts +1 -0
  34. package/utils/networking.ts +44 -9
  35. package/LICENSE +0 -674
  36. package/composables/useHeadLayout.ts +0 -67
  37. /package/components/{button → vio/button}/VioButton.vue +0 -0
  38. /package/components/{button → vio/button}/VioButtonColored.vue +0 -0
  39. /package/components/{card → vio/card}/VioCard.vue +0 -0
  40. /package/components/{card → vio/card}/state/VioCardState.vue +0 -0
  41. /package/components/{card → vio/card}/state/VioCardStateAlert.vue +0 -0
  42. /package/components/{form → vio/form}/VioFormCheckbox.vue +0 -0
  43. /package/components/{form → vio/form}/input/VioFormInputIconWrapper.vue +0 -0
  44. /package/components/{form → vio/form}/input/VioFormInputUrl.vue +0 -0
  45. /package/components/{form → vio/form}/input/state/VioFormInputState.vue +0 -0
  46. /package/components/{form → vio/form}/input/state/VioFormInputStateError.vue +0 -0
  47. /package/components/{form → vio/form}/input/state/VioFormInputStateInfo.vue +0 -0
  48. /package/components/{icon → vio/icon}/IconArrowRight.vue +0 -0
  49. /package/components/{icon → vio/icon}/IconCalendar.vue +0 -0
  50. /package/components/{icon → vio/icon}/IconChatOutline.vue +0 -0
  51. /package/components/{icon → vio/icon}/IconChatSolid.vue +0 -0
  52. /package/components/{icon → vio/icon}/IconCheckCircle.vue +0 -0
  53. /package/components/{icon → vio/icon}/IconContainer.vue +0 -0
  54. /package/components/{icon → vio/icon}/IconDownload.vue +0 -0
  55. /package/components/{icon → vio/icon}/IconExclamationCircle.vue +0 -0
  56. /package/components/{icon → vio/icon}/IconHome.vue +0 -0
  57. /package/components/{icon → vio/icon}/IconHourglass.vue +0 -0
  58. /package/components/{icon → vio/icon}/IconLightbulb.vue +0 -0
  59. /package/components/{icon → vio/icon}/IconLogo.vue +0 -0
  60. /package/components/{icon → vio/icon}/IconMixcloud.vue +0 -0
  61. /package/components/{icon → vio/icon}/IconMusic.vue +0 -0
  62. /package/components/{icon → vio/icon}/IconPlay.vue +0 -0
  63. /package/components/{icon → vio/icon}/IconShare.vue +0 -0
  64. /package/components/{layout → vio/layout}/VioLayoutBreadcrumbs.vue +0 -0
  65. /package/components/{layout → vio/layout}/VioLayoutFooter.vue +0 -0
  66. /package/components/{layout → vio/layout}/VioLayoutFooterCategory.vue +0 -0
  67. /package/components/{layout → vio/layout}/VioLayoutHeader.vue +0 -0
  68. /package/components/{layout → vio/layout}/VioLayoutHr.vue +0 -0
  69. /package/components/{layout → vio/layout}/VioLayoutSpanList.vue +0 -0
  70. /package/components/{loader → vio/loader}/indicator/VioLoaderIndicatorSpinner.vue +0 -0
@@ -1,67 +0,0 @@
1
- export const useHeadLayout = () => {
2
- const head = useLocaleHead({ addSeoAttributes: true })
3
-
4
- useServerHeadSafe(head.value)
5
- useServerHeadSafe({
6
- bodyAttrs: {
7
- class:
8
- 'bg-background-bright dark:bg-background-dark font-sans text-text-dark dark:text-text-bright',
9
- },
10
- // link: [
11
- // {
12
- // href: '/assets/static/favicon/apple-touch-icon.png?v=eEYRGn5b9R',
13
- // rel: 'apple-touch-icon',
14
- // sizes: '180x180',
15
- // },
16
- // {
17
- // href: '/assets/static/favicon/favicon-16x16.png?v=eEYRGn5b9R',
18
- // rel: 'icon',
19
- // sizes: '16x16',
20
- // type: 'image/png',
21
- // },
22
- // {
23
- // href: '/assets/static/favicon/favicon-32x32.png?v=eEYRGn5b9R',
24
- // rel: 'icon',
25
- // sizes: '32x32',
26
- // type: 'image/png',
27
- // },
28
- // {
29
- // href: '/favicon.ico?v=eEYRGn5b9R',
30
- // rel: 'icon',
31
- // type: 'image/x-icon',
32
- // },
33
- // {
34
- // href: '/assets/static/favicon/site.webmanifest?v=eEYRGn5b9R',
35
- // rel: 'manifest',
36
- // },
37
- // {
38
- // color: '#202020',
39
- // href: '/assets/static/favicon/safari-pinned-tab.svg?v=eEYRGn5b9R',
40
- // rel: 'mask-icon',
41
- // },
42
- // {
43
- // href: '/favicon.ico?v=eEYRGn5b9R',
44
- // rel: 'shortcut icon',
45
- // },
46
- // ],
47
- // meta: [
48
- // {
49
- // content: '/assets/static/favicon/browserconfig.xml?v=eEYRGn5b9R',
50
- // name: 'msapplication-config',
51
- // },
52
- // {
53
- // content: '#202020',
54
- // name: 'msapplication-TileColor',
55
- // },
56
- // {
57
- // content: '#202020',
58
- // name: 'theme-color',
59
- // },
60
- // ],
61
- // titleTemplate: (titleChunk?: string) => {
62
- // return titleChunk && titleChunk !== title
63
- // ? `${titleChunk} · ${title}`
64
- // : title
65
- // },
66
- })
67
- }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes