@eodash/eodash 5.0.0 → 5.2.0

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 (162) hide show
  1. package/README.md +1 -0
  2. package/core/client/App.vue +8 -2
  3. package/core/client/asWebComponent.js +5 -5
  4. package/core/client/components/DashboardLayout.vue +43 -26
  5. package/core/client/components/EodashOverlay.vue +5 -6
  6. package/core/client/components/ErrorAlert.vue +2 -2
  7. package/core/client/components/Footer.vue +4 -4
  8. package/core/client/components/Header.vue +3 -3
  9. package/core/client/components/MobileLayout.vue +47 -27
  10. package/core/client/composables/DefineEodash.js +38 -43
  11. package/core/client/composables/DefineTemplate.js +4 -2
  12. package/core/client/composables/DefineWidgets.js +14 -8
  13. package/core/client/composables/index.js +273 -23
  14. package/core/client/eodashSTAC/EodashCollection.js +84 -62
  15. package/core/client/eodashSTAC/createLayers.js +30 -0
  16. package/core/client/eodashSTAC/helpers.js +159 -28
  17. package/core/client/eodashSTAC/parquet.js +145 -0
  18. package/core/client/eodashSTAC/triggers.js +6 -3
  19. package/core/client/plugins/index.js +4 -3
  20. package/core/client/plugins/vuetify.js +3 -0
  21. package/core/client/store/actions.js +21 -4
  22. package/core/client/store/stac.js +93 -56
  23. package/core/client/store/states.js +15 -5
  24. package/core/client/types.ts +59 -43
  25. package/core/client/utils/index.js +79 -0
  26. package/core/client/utils/keys.js +2 -2
  27. package/core/client/utils/states.js +30 -5
  28. package/core/client/views/Dashboard.vue +36 -32
  29. package/core/client/vite-env.d.ts +7 -0
  30. package/dist/client/{DashboardLayout-CkWvOMOW.js → DashboardLayout-Dq9Kfe6O.js} +24 -13
  31. package/dist/client/{DynamicWebComponent-DYBbpvUK.js → DynamicWebComponent-DCBMXskE.js} +1 -1
  32. package/dist/client/{EodashDatePicker-CALmW3SI.js → EodashDatePicker-DtngxU6s.js} +59 -32
  33. package/dist/client/{EodashItemFilter-DlQiE713.js → EodashItemFilter-ClQebJQt.js} +20 -10
  34. package/dist/client/{EodashLayerControl-DEzEbft7.js → EodashLayerControl-BLBds28C.js} +29 -16
  35. package/dist/client/EodashLayoutSwitcher-DQ8SfVDd.js +61 -0
  36. package/dist/client/EodashMapBtns-B89_YBDw.js +326 -0
  37. package/dist/client/{EodashStacInfo-DPPxDkF6.js → EodashStacInfo-Dt1nF06x.js} +3 -18
  38. package/dist/client/{EodashTools-CUaL9s4H.js → EodashTools-DV5ykmWc.js} +13 -13
  39. package/dist/client/{ExportState-DjyIZVhl.js → ExportState-B6zZQUmE.js} +57 -52
  40. package/dist/client/{Footer-DyL0JoWt.js → Footer-DNhXs8k6.js} +15 -13
  41. package/dist/client/{Header-B5Dgty9l.js → Header-BjhN5JY4.js} +32 -28
  42. package/dist/client/MobileLayout-JelB6w1G.js +118 -0
  43. package/dist/client/{PopUp-BfB8s_ki.js → PopUp-CgpvNr3o.js} +18 -10
  44. package/dist/client/ProcessList-vecpxThi.js +198 -0
  45. package/dist/client/{VImg-FD1WVphJ.js → VImg-CETuikH2.js} +221 -26
  46. package/dist/client/{VMain-DJKG4SvM.js → VMain-Ci9DyaGU.js} +7 -7
  47. package/dist/client/{VTooltip-CfeefrXI.js → VTooltip-J4ac48X7.js} +12 -10
  48. package/dist/client/{WidgetsContainer-C2TaTdb6.js → WidgetsContainer-CCML4TyV.js} +1 -1
  49. package/dist/client/asWebComponent-ZyEzWOOf.js +19092 -0
  50. package/dist/client/async-B7jIrM53.js +804 -0
  51. package/dist/client/eo-dash.js +1 -1
  52. package/dist/client/{VOverlay-BzOdRu9h.js → forwardRefs-BQclvjMq.js} +332 -28
  53. package/dist/client/handling-BS24aG1q.js +1227 -0
  54. package/dist/client/helpers-wXK7Ywio.js +4556 -0
  55. package/dist/client/index-4UCzZi8B.js +376 -0
  56. package/dist/client/{index-4CT7Tz83.js → index-9KR-G20t.js} +2 -2
  57. package/dist/client/{index-CIHH_3dW.js → index-B2XpdgR6.js} +227 -86
  58. package/dist/client/material-symbols-outlined.woff2 +0 -0
  59. package/dist/client/material-symbols-rounded.woff2 +0 -0
  60. package/dist/client/material-symbols-sharp.woff2 +0 -0
  61. package/dist/client/material-symbols-subset.woff2 +0 -0
  62. package/dist/client/{ssrBoot-BP7SYRyC.js → ssrBoot-Zgc_Ttvi.js} +2 -2
  63. package/dist/client/templates.js +840 -0
  64. package/dist/client/transition-yBii4fu6.js +40 -0
  65. package/dist/node/cli.js +16 -6
  66. package/dist/node/types.d.ts +1 -1
  67. package/dist/types/core/client/App.vue.d.ts +2 -2
  68. package/dist/types/core/client/asWebComponent.d.ts +1 -1
  69. package/dist/types/core/client/components/DynamicWebComponent.vue.d.ts +1 -3
  70. package/dist/types/core/client/components/Footer.vue.d.ts +1 -105
  71. package/dist/types/core/client/components/IframeWrapper.vue.d.ts +1 -1
  72. package/dist/types/core/client/components/MobileLayout.vue.d.ts +1 -324
  73. package/dist/types/core/client/composables/DefineEodash.d.ts +2 -2
  74. package/dist/types/core/client/composables/DefineTemplate.d.ts +1 -1
  75. package/dist/types/core/client/composables/DefineWidgets.d.ts +4 -4
  76. package/dist/types/core/client/composables/index.d.ts +24 -2
  77. package/dist/types/core/client/eodashSTAC/EodashCollection.d.ts +9 -6
  78. package/dist/types/core/client/eodashSTAC/helpers.d.ts +25 -5
  79. package/dist/types/core/client/eodashSTAC/parquet.d.ts +2 -0
  80. package/dist/types/core/client/plugins/vuetify.d.ts +7 -4
  81. package/dist/types/core/client/store/actions.d.ts +3 -2
  82. package/dist/types/core/client/store/stac.d.ts +16 -13
  83. package/dist/types/core/client/store/states.d.ts +14 -4
  84. package/dist/types/core/client/types.d.ts +46 -31
  85. package/dist/types/core/client/utils/index.d.ts +2 -0
  86. package/dist/types/core/client/utils/keys.d.ts +4 -4
  87. package/dist/types/core/client/utils/states.d.ts +59 -47
  88. package/dist/types/core/client/views/Dashboard.vue.d.ts +2 -2
  89. package/dist/types/templates/baseConfig.d.ts +4 -0
  90. package/dist/types/templates/compare.d.ts +185 -0
  91. package/dist/types/templates/expert.d.ts +147 -0
  92. package/dist/types/templates/index.d.ts +6 -0
  93. package/dist/types/templates/light.d.ts +154 -0
  94. package/dist/types/widgets/EodashDatePicker.vue.d.ts +1 -458
  95. package/dist/types/widgets/EodashItemFilter.vue.d.ts +3 -3
  96. package/dist/types/widgets/EodashLayerControl.vue.d.ts +14 -7
  97. package/dist/types/widgets/EodashLayoutSwitcher.vue.d.ts +1 -3
  98. package/dist/types/widgets/{EodashMapBtns.vue.d.ts → EodashMap/EodashMapBtns.vue.d.ts} +12 -8
  99. package/dist/types/widgets/EodashMap/index.vue.d.ts +9 -4
  100. package/dist/types/widgets/EodashProcess/ProcessList.vue.d.ts +8 -1
  101. package/dist/types/widgets/EodashProcess/index.vue.d.ts +8 -4
  102. package/dist/types/widgets/EodashProcess/methods/async.d.ts +19 -18
  103. package/dist/types/widgets/EodashProcess/methods/composables.d.ts +3 -2
  104. package/dist/types/widgets/EodashProcess/methods/custom-endpoints/chart/index.d.ts +1 -0
  105. package/dist/types/widgets/EodashProcess/methods/custom-endpoints/chart/sentinelhub-endpoint.d.ts +6 -0
  106. package/dist/types/widgets/EodashProcess/methods/custom-endpoints/chart/veda-endpoint.d.ts +4 -0
  107. package/dist/types/widgets/EodashProcess/methods/custom-endpoints/layers/eoxhub-workspaces-endpoint.d.ts +5 -0
  108. package/dist/types/widgets/EodashProcess/methods/custom-endpoints/layers/index.d.ts +1 -0
  109. package/dist/types/widgets/EodashProcess/methods/handling.d.ts +12 -5
  110. package/dist/types/widgets/EodashProcess/methods/outputs.d.ts +72 -41
  111. package/dist/types/widgets/EodashProcess/methods/utils.d.ts +41 -21
  112. package/dist/types/widgets/EodashProcess/states.d.ts +11 -0
  113. package/dist/types/widgets/EodashProcess/types.d.ts +41 -0
  114. package/dist/types/widgets/EodashStacInfo.vue.d.ts +14 -14
  115. package/dist/types/widgets/EodashTools.vue.d.ts +3 -3
  116. package/dist/types/widgets/ExportState.vue.d.ts +1 -1
  117. package/dist/types/widgets/PopUp.vue.d.ts +11 -16
  118. package/dist/types/widgets/WidgetsContainer.vue.d.ts +3 -6
  119. package/package.json +55 -45
  120. package/templates/baseConfig.js +68 -0
  121. package/templates/compare.js +142 -0
  122. package/templates/expert.js +124 -0
  123. package/templates/index.js +8 -0
  124. package/templates/light.js +139 -0
  125. package/widgets/EodashDatePicker.vue +80 -31
  126. package/widgets/EodashItemFilter.vue +26 -11
  127. package/widgets/EodashLayerControl.vue +20 -11
  128. package/widgets/EodashLayoutSwitcher.vue +6 -3
  129. package/widgets/EodashMap/EodashMapBtns.vue +269 -0
  130. package/widgets/EodashMap/index.vue +255 -45
  131. package/widgets/EodashMap/methods/create-layers-config.js +4 -3
  132. package/widgets/EodashMap/methods/index.js +33 -23
  133. package/widgets/EodashProcess/ProcessList.vue +47 -11
  134. package/widgets/EodashProcess/index.vue +55 -20
  135. package/widgets/EodashProcess/methods/async.js +99 -60
  136. package/widgets/EodashProcess/methods/composables.js +21 -14
  137. package/widgets/EodashProcess/methods/custom-endpoints/chart/index.js +35 -0
  138. package/widgets/EodashProcess/methods/custom-endpoints/chart/sentinelhub-endpoint.js +275 -0
  139. package/widgets/EodashProcess/methods/custom-endpoints/chart/veda-endpoint.js +132 -0
  140. package/widgets/EodashProcess/methods/custom-endpoints/layers/eoxhub-workspaces-endpoint.js +94 -0
  141. package/widgets/EodashProcess/methods/custom-endpoints/layers/index.js +33 -0
  142. package/widgets/EodashProcess/methods/handling.js +127 -80
  143. package/widgets/EodashProcess/methods/outputs.js +376 -125
  144. package/widgets/EodashProcess/methods/utils.js +442 -10
  145. package/widgets/EodashProcess/states.js +13 -0
  146. package/widgets/EodashProcess/types.ts +46 -0
  147. package/widgets/EodashStacInfo.vue +2 -17
  148. package/widgets/EodashTools.vue +13 -13
  149. package/widgets/WidgetsContainer.vue +1 -1
  150. package/core/client/eodash.js +0 -454
  151. package/dist/client/EodashLayoutSwitcher-CDeCV8F-.js +0 -52
  152. package/dist/client/EodashMapBtns-CktQCfa-.js +0 -131
  153. package/dist/client/MobileLayout-CRsg_5Q4.js +0 -1217
  154. package/dist/client/ProcessList-DTefwQZx.js +0 -484
  155. package/dist/client/asWebComponent-CLhcT715.js +0 -12479
  156. package/dist/client/eo-dash.css +0 -5
  157. package/dist/client/forwardRefs-Bon_Kku1.js +0 -245
  158. package/dist/client/index-Bm9cbtx5.js +0 -201
  159. package/dist/client/index-DiGDvTQU.js +0 -780
  160. package/dist/client/transition-C5I57hn6.js +0 -37
  161. package/dist/types/core/client/eodash.d.ts +0 -8
  162. package/widgets/EodashMapBtns.vue +0 -113
@@ -1,8 +1,8 @@
1
1
  import { createElementBlock, openBlock, createElementVNode, unref } from 'vue';
2
2
  import '@eox/stacinfo';
3
- import { ao as currentUrl } from './asWebComponent-CLhcT715.js';
3
+ import { x as currentUrl } from './helpers-wXK7Ywio.js';
4
4
 
5
- const _hoisted_1 = { class: "flex-grow-1 fill-height overflow-auto" };
5
+ const _hoisted_1 = { class: "flex-grow-1" };
6
6
  const _hoisted_2 = [".for", ".allowHtml", ".body", ".featured", ".footer", ".styleOverride", ".header", ".subheader", ".tags"];
7
7
 
8
8
 
@@ -16,22 +16,7 @@ const _sfc_main = {
16
16
 
17
17
  styleOverride: {
18
18
  type: String,
19
- default: `
20
- .single-property {columns: 1!important;}
21
- h1 {margin:0px!important;font-size:16px!important;}
22
- header h1:after {
23
- content:' ';
24
- display:block;
25
- border:1px solid #d0d0d0;
26
- }
27
- h2 {font-size:15px}
28
- h3 {font-size:14px}
29
- summary {cursor: pointer;}
30
- #properties li > .value { font-weight: normal !important;}
31
- main {padding-bottom: 10px;}
32
- .footer-container {line-height:1;}
33
- .footer-container button {margin-top: -10px;}
34
- .footer-container small {font-size:10px;line-height:1;}`,
19
+ default: "",
35
20
  },
36
21
  header: {
37
22
  /** @type {import("vue").PropType<string[]>} */
@@ -1,11 +1,11 @@
1
1
  import { ref, computed, createElementBlock, openBlock, createElementVNode, createVNode, createBlock, createCommentVNode, unref, withCtx, mergeProps } from 'vue';
2
- import _sfc_main$2 from './PopUp-BfB8s_ki.js';
3
- import _sfc_main$3 from './EodashItemFilter-DlQiE713.js';
4
- import _sfc_main$1 from './EodashLayoutSwitcher-CDeCV8F-.js';
5
- import { mdiViewDashboard, mdiPlus } from '@mdi/js';
6
- import { r as useDisplay, a1 as makePanelTransparent, V as VBtn } from './asWebComponent-CLhcT715.js';
2
+ import _sfc_main$2 from './PopUp-CgpvNr3o.js';
3
+ import EodashItemFilter from './EodashItemFilter-ClQebJQt.js';
4
+ import _sfc_main$1 from './EodashLayoutSwitcher-DQ8SfVDd.js';
5
+ import { mdiViewDashboard, mdiPlusCircleOutline } from '@mdi/js';
6
+ import { D as useDisplay, F as useTransparentPanel, G as VBtn } from './asWebComponent-ZyEzWOOf.js';
7
7
 
8
- const _hoisted_1 = { class: "d-flex flex-row justify-space-between pa-4 align-center" };
8
+ const _hoisted_1 = { class: "d-flex flex-row align-center fill-height justify-space-between pa-2 align-center" };
9
9
 
10
10
 
11
11
  const _sfc_main = {
@@ -43,12 +43,12 @@ const _sfc_main = {
43
43
  const dialog = ref(false);
44
44
 
45
45
  const { smAndDown } = useDisplay();
46
- const popupWidth = computed(() => (smAndDown.value ? "80%" : "1500px"));
47
- const popupHeight = computed(() => (smAndDown.value ? "90%" : "800px"));
46
+ const popupWidth = computed(() => (smAndDown.value ? "90%" : "70%"));
47
+ const popupHeight = computed(() => (smAndDown.value ? "90%" : "70%"));
48
48
 
49
49
  const props = __props;
50
50
  const rootEl = ref(null);
51
- makePanelTransparent(rootEl);
51
+ useTransparentPanel(rootEl);
52
52
 
53
53
  return (_ctx, _cache) => {
54
54
 
@@ -56,15 +56,15 @@ return (_ctx, _cache) => {
56
56
  return (openBlock(), createElementBlock("div", {
57
57
  ref_key: "rootEl",
58
58
  ref: rootEl,
59
- class: "d-flex flex-column fill-height overflow-auto bg-primary"
59
+ class: "d-flex flex-column fill-height bg-primary"
60
60
  }, [
61
61
  createElementVNode("div", _hoisted_1, [
62
62
  (props.showIndicatorsBtn)
63
63
  ? (openBlock(), createBlock(VBtn, {
64
64
  key: 0,
65
65
  color: "secondary",
66
- class: "text-none py-2 px-4",
67
- "append-icon": [unref(mdiPlus)],
66
+ class: "text-none",
67
+ "append-icon": [unref(mdiPlusCircleOutline)],
68
68
  text: __props.indicatorBtnText,
69
69
  onClick: _cache[0] || (_cache[0] = $event => (dialog.value = !dialog.value))
70
70
  }, null, 8 /* PROPS */, ["append-icon", "text"]))
@@ -86,7 +86,7 @@ return (_ctx, _cache) => {
86
86
  height: popupHeight.value
87
87
  }, {
88
88
  default: withCtx(() => [
89
- createVNode(_sfc_main$3, mergeProps({
89
+ createVNode(EodashItemFilter, mergeProps({
90
90
  class: "pa-4",
91
91
  "results-title": ""
92
92
  }, props.itemFilterConfig, {
@@ -1,13 +1,15 @@
1
- import { createVNode, Fragment, toDisplayString, computed, withDirectives, mergeProps, resolveDirective, toRef, mergeModels, useModel, ref, createBlock, openBlock, withCtx, createElementVNode, createTextVNode, unref, createElementBlock, createCommentVNode, renderList } from 'vue';
1
+ import { createElementVNode, normalizeStyle, normalizeClass, createVNode, Fragment, toDisplayString, withDirectives, mergeProps, computed, mergeModels, useModel, ref, createBlock, openBlock, withCtx, createTextVNode, unref, createElementBlock, createCommentVNode, renderList } from 'vue';
2
2
  import { mdiClipboardCheckOutline, mdiContentCopy } from '@mdi/js';
3
- import _sfc_main$1 from './PopUp-BfB8s_ki.js';
4
- import { ar as createSimpleFunctional, g as genericComponent, i as makeComponentProps, C as provideDefaults, a as useRender, p as propsFactory, h as makeTagProps, b as provideTheme, K as useBorder, as as useVariant, A as useDensity, M as useRounded, at as useSize, au as genOverlays, v as VIcon, N as VDefaultsProvider, av as makeVariantProps, f as makeThemeProps, aw as makeSizeProps, O as makeRoundedProps, D as makeDensityProps, Q as makeBorderProps, y as IconValue, ax as Ripple, H as useDimension, L as useElevation, ay as useLoader, az as useLocation, aA as usePosition, aB as useLink, aC as makeRouterProps, aD as makePositionProps, aE as makeLocationProps, aF as makeLoaderProps, P as makeElevationProps, J as makeDimensionProps, aG as LoaderSlot, u as useTextColor, q as convertToUnit, _ as _export_sfc, aH as removeUnneededProperties, aI as VRow, aJ as VCol, aK as copyToClipBoard, V as VBtn, al as getLayers, ad as mapPosition, af as availableMapProjection } from './asWebComponent-CLhcT715.js';
5
- import { a as VExpandTransition } from './index-Bm9cbtx5.js';
6
- import { V as VImg } from './VImg-FD1WVphJ.js';
3
+ import _sfc_main$1 from './PopUp-CgpvNr3o.js';
4
+ import { Z as createSimpleFunctional, g as genericComponent, e as makeComponentProps, n as provideDefaults, c as useRender, p as propsFactory, m as makeTagProps, k as provideTheme, h as useBorder, $ as useVariant, T as useDensity, j as useRounded, a0 as useSize, a1 as genOverlays, H as VIcon, V as VDefaultsProvider, a2 as makeVariantProps, q as makeThemeProps, a3 as makeSizeProps, r as makeRoundedProps, U as makeDensityProps, t as makeBorderProps, a4 as IconValue, a5 as Ripple, b as useDimension, i as useElevation, a6 as useLoader, a7 as useLocation, a8 as usePosition, a9 as useLink, aa as makeRouterProps, ab as makePositionProps, ac as makeLocationProps, ad as makeLoaderProps, s as makeElevationProps, d as makeDimensionProps, ae as LoaderSlot, af as useTextColor, o as convertToUnit, _ as _export_sfc, ag as VRow, ah as VCol, ai as copyToClipBoard, G as VBtn } from './asWebComponent-ZyEzWOOf.js';
5
+ import { P as removeUnneededProperties, l as getLayers, B as mapPosition, L as availableMapProjection } from './helpers-wXK7Ywio.js';
6
+ import { V as VImg, a as VExpandTransition } from './VImg-CETuikH2.js';
7
7
 
8
8
  // Styles
9
9
  const VSpacer = createSimpleFunctional('v-spacer', 'div', 'VSpacer');
10
10
 
11
+ const _style_0 = ".code-block[data-v-a263a06d]{background-color:#ddd;font-family:monospace;font-size:small;max-height:200px;overflow-y:auto}";
12
+
11
13
  const VCardActions = genericComponent()({
12
14
  name: 'VCardActions',
13
15
  props: makeComponentProps(),
@@ -21,9 +23,9 @@ const VCardActions = genericComponent()({
21
23
  variant: 'text'
22
24
  }
23
25
  });
24
- useRender(() => createVNode("div", {
25
- "class": ['v-card-actions', props.class],
26
- "style": props.style
26
+ useRender(() => createElementVNode("div", {
27
+ "class": normalizeClass(['v-card-actions', props.class]),
28
+ "style": normalizeStyle(props.style)
27
29
  }, [slots.default?.()]));
28
30
  return {};
29
31
  }
@@ -42,10 +44,10 @@ const VCardSubtitle = genericComponent()({
42
44
  slots
43
45
  } = _ref;
44
46
  useRender(() => createVNode(props.tag, {
45
- "class": ['v-card-subtitle', props.class],
46
- "style": [{
47
+ "class": normalizeClass(['v-card-subtitle', props.class]),
48
+ "style": normalizeStyle([{
47
49
  '--v-card-subtitle-opacity': props.opacity
48
- }, props.style]
50
+ }, props.style])
49
51
  }, slots));
50
52
  return {};
51
53
  }
@@ -100,11 +102,11 @@ const VAvatar = genericComponent()({
100
102
  sizeStyles
101
103
  } = useSize(props);
102
104
  useRender(() => createVNode(props.tag, {
103
- "class": ['v-avatar', {
105
+ "class": normalizeClass(['v-avatar', {
104
106
  'v-avatar--start': props.start,
105
107
  'v-avatar--end': props.end
106
- }, themeClasses.value, borderClasses.value, colorClasses.value, densityClasses.value, roundedClasses.value, sizeClasses.value, variantClasses.value, props.class],
107
- "style": [colorStyles.value, sizeStyles.value, props.style]
108
+ }, themeClasses.value, borderClasses.value, colorClasses.value, densityClasses.value, roundedClasses.value, sizeClasses.value, variantClasses.value, props.class]),
109
+ "style": normalizeStyle([colorStyles.value, sizeStyles.value, props.style])
108
110
  }, {
109
111
  default: () => [!slots.default ? props.image ? createVNode(VImg, {
110
112
  "key": "image",
@@ -163,13 +165,13 @@ const VCardItem = genericComponent()({
163
165
  const hasAppend = !!(hasAppendMedia || slots.append);
164
166
  const hasTitle = !!(props.title != null || slots.title);
165
167
  const hasSubtitle = !!(props.subtitle != null || slots.subtitle);
166
- return createVNode("div", {
167
- "class": ['v-card-item', props.class],
168
- "style": props.style
169
- }, [hasPrepend && createVNode("div", {
168
+ return createElementVNode("div", {
169
+ "class": normalizeClass(['v-card-item', props.class]),
170
+ "style": normalizeStyle(props.style)
171
+ }, [hasPrepend && createElementVNode("div", {
170
172
  "key": "prepend",
171
173
  "class": "v-card-item__prepend"
172
- }, [!slots.prepend ? createVNode(Fragment, null, [props.prependAvatar && createVNode(VAvatar, {
174
+ }, [!slots.prepend ? createElementVNode(Fragment, null, [props.prependAvatar && createVNode(VAvatar, {
173
175
  "key": "prepend-avatar",
174
176
  "density": props.density,
175
177
  "image": props.prependAvatar
@@ -190,7 +192,7 @@ const VCardItem = genericComponent()({
190
192
  icon: props.prependIcon
191
193
  }
192
194
  }
193
- }, slots.prepend)]), createVNode("div", {
195
+ }, slots.prepend)]), createElementVNode("div", {
194
196
  "class": "v-card-item__content"
195
197
  }, [hasTitle && createVNode(VCardTitle, {
196
198
  "key": "title"
@@ -200,10 +202,10 @@ const VCardItem = genericComponent()({
200
202
  "key": "subtitle"
201
203
  }, {
202
204
  default: () => [slots.subtitle?.() ?? toDisplayString(props.subtitle)]
203
- }), slots.default?.()]), hasAppend && createVNode("div", {
205
+ }), slots.default?.()]), hasAppend && createElementVNode("div", {
204
206
  "key": "append",
205
207
  "class": "v-card-item__append"
206
- }, [!slots.append ? createVNode(Fragment, null, [props.appendIcon && createVNode(VIcon, {
208
+ }, [!slots.append ? createElementVNode(Fragment, null, [props.appendIcon && createVNode(VIcon, {
207
209
  "key": "append-icon",
208
210
  "density": props.density,
209
211
  "icon": props.appendIcon
@@ -243,10 +245,10 @@ const VCardText = genericComponent()({
243
245
  slots
244
246
  } = _ref;
245
247
  useRender(() => createVNode(props.tag, {
246
- "class": ['v-card-text', props.class],
247
- "style": [{
248
+ "class": normalizeClass(['v-card-text', props.class]),
249
+ "style": normalizeStyle([{
248
250
  '--v-card-text-opacity': props.opacity
249
- }, props.style]
251
+ }, props.style])
250
252
  }, slots));
251
253
  return {};
252
254
  }
@@ -300,7 +302,7 @@ const makeVCardProps = propsFactory({
300
302
  const VCard = genericComponent()({
301
303
  name: 'VCard',
302
304
  directives: {
303
- Ripple
305
+ vRipple: Ripple
304
306
  },
305
307
  props: makeVCardProps(),
306
308
  setup(props, _ref) {
@@ -341,10 +343,10 @@ const VCard = genericComponent()({
341
343
  roundedClasses
342
344
  } = useRounded(props);
343
345
  const link = useLink(props, attrs);
344
- const isLink = computed(() => props.link !== false && link.isLink.value);
345
- const isClickable = computed(() => !props.disabled && props.link !== false && (props.link || link.isClickable.value));
346
346
  useRender(() => {
347
- const Tag = isLink.value ? 'a' : props.tag;
347
+ const isLink = props.link !== false && link.isLink.value;
348
+ const isClickable = !props.disabled && props.link !== false && (props.link || link.isClickable.value);
349
+ const Tag = isLink ? 'a' : props.tag;
348
350
  const hasTitle = !!(slots.title || props.title != null);
349
351
  const hasSubtitle = !!(slots.subtitle || props.subtitle != null);
350
352
  const hasHeader = hasTitle || hasSubtitle;
@@ -358,13 +360,13 @@ const VCard = genericComponent()({
358
360
  'v-card--disabled': props.disabled,
359
361
  'v-card--flat': props.flat,
360
362
  'v-card--hover': props.hover && !(props.disabled || props.flat),
361
- 'v-card--link': isClickable.value
363
+ 'v-card--link': isClickable
362
364
  }, themeClasses.value, borderClasses.value, colorClasses.value, densityClasses.value, elevationClasses.value, loaderClasses.value, positionClasses.value, roundedClasses.value, variantClasses.value, props.class],
363
365
  "style": [colorStyles.value, dimensionStyles.value, locationStyles.value, props.style],
364
- "onClick": isClickable.value && link.navigate,
366
+ "onClick": isClickable && link.navigate,
365
367
  "tabindex": props.disabled ? -1 : undefined
366
368
  }, link.linkProps), {
367
- default: () => [hasImage && createVNode("div", {
369
+ default: () => [hasImage && createElementVNode("div", {
368
370
  "key": "image",
369
371
  "class": "v-card__image"
370
372
  }, [!slots.image ? createVNode(VImg, {
@@ -406,8 +408,8 @@ const VCard = genericComponent()({
406
408
  default: () => [slots.text?.() ?? props.text]
407
409
  }), slots.default?.(), slots.actions && createVNode(VCardActions, null, {
408
410
  default: slots.actions
409
- }), genOverlays(isClickable.value, 'v-card')]
410
- }), [[resolveDirective("ripple"), isClickable.value && props.ripple]]);
411
+ }), genOverlays(isClickable, 'v-card')]
412
+ }), [[Ripple, isClickable && props.ripple]]);
411
413
  });
412
414
  return {};
413
415
  }
@@ -437,7 +439,7 @@ const VDivider = genericComponent()({
437
439
  const {
438
440
  textColorClasses,
439
441
  textColorStyles
440
- } = useTextColor(toRef(props, 'color'));
442
+ } = useTextColor(() => props.color);
441
443
  const dividerStyles = computed(() => {
442
444
  const styles = {};
443
445
  if (props.length) {
@@ -449,25 +451,25 @@ const VDivider = genericComponent()({
449
451
  return styles;
450
452
  });
451
453
  useRender(() => {
452
- const divider = createVNode("hr", {
453
- "class": [{
454
+ const divider = createElementVNode("hr", {
455
+ "class": normalizeClass([{
454
456
  'v-divider': true,
455
457
  'v-divider--inset': props.inset,
456
458
  'v-divider--vertical': props.vertical
457
- }, themeClasses.value, textColorClasses.value, props.class],
458
- "style": [dividerStyles.value, textColorStyles.value, {
459
+ }, themeClasses.value, textColorClasses.value, props.class]),
460
+ "style": normalizeStyle([dividerStyles.value, textColorStyles.value, {
459
461
  '--v-border-opacity': props.opacity
460
- }, props.style],
462
+ }, props.style]),
461
463
  "aria-orientation": !attrs.role || attrs.role === 'separator' ? props.vertical ? 'vertical' : 'horizontal' : undefined,
462
464
  "role": `${attrs.role || 'separator'}`
463
465
  }, null);
464
466
  if (!slots.default) return divider;
465
- return createVNode("div", {
466
- "class": ['v-divider__wrapper', {
467
+ return createElementVNode("div", {
468
+ "class": normalizeClass(['v-divider__wrapper', {
467
469
  'v-divider__wrapper--vertical': props.vertical,
468
470
  'v-divider__wrapper--inset': props.inset
469
- }]
470
- }, [divider, createVNode("div", {
471
+ }])
472
+ }, [divider, createElementVNode("div", {
471
473
  "class": "v-divider__content"
472
474
  }, [slots.default()]), divider]);
473
475
  });
@@ -565,9 +567,10 @@ return (_ctx, _cache) => {
565
567
  style: {"max-height":"49px"}
566
568
  }, {
567
569
  default: withCtx(() => _cache[2] || (_cache[2] = [
568
- createElementVNode("h5", { class: "text-h5" }, "Storytelling map configuration", -1 /* HOISTED */)
570
+ createElementVNode("h5", { class: "text-h5" }, "Storytelling map configuration", -1 /* CACHED */)
569
571
  ])),
570
- _: 1 /* STABLE */
572
+ _: 1 /* STABLE */,
573
+ __: [2]
571
574
  }),
572
575
  createVNode(VCardText, {
573
576
  class: "py-5 overflow-auto",
@@ -578,7 +581,7 @@ return (_ctx, _cache) => {
578
581
  createTextVNode(" Copy and paste this code into the map "),
579
582
  createElementVNode("b", null, "layers field"),
580
583
  createTextVNode(" of the storytelling editor: ")
581
- ], -1 /* HOISTED */)),
584
+ ], -1 /* CACHED */)),
582
585
  createElementVNode("div", _hoisted_1, toDisplayString(unref(removeUnneededProperties)(__props.getLayers())), 1 /* TEXT */),
583
586
  createElementVNode("div", _hoisted_2, [
584
587
  createVNode(VExpandTransition, null, {
@@ -590,7 +593,7 @@ return (_ctx, _cache) => {
590
593
  left: "",
591
594
  icon: [unref(mdiClipboardCheckOutline)]
592
595
  }, null, 8 /* PROPS */, ["icon"]),
593
- _cache[3] || (_cache[3] = createElementVNode("small", null, "copied!", -1 /* HOISTED */))
596
+ _cache[3] || (_cache[3] = createElementVNode("small", null, "copied!", -1 /* CACHED */))
594
597
  ]))
595
598
  : createCommentVNode("v-if", true)
596
599
  ]),
@@ -626,7 +629,8 @@ return (_ctx, _cache) => {
626
629
  _: 1 /* STABLE */
627
630
  })
628
631
  ]),
629
- _: 1 /* STABLE */
632
+ _: 1 /* STABLE */,
633
+ __: [4]
630
634
  }),
631
635
  createVNode(VDivider),
632
636
  createVNode(VCardActions, { style: {"max-height":"49px"} }, {
@@ -637,9 +641,10 @@ return (_ctx, _cache) => {
637
641
  onClick: _cache[0] || (_cache[0] = $event => (dialog.value = !dialog.value))
638
642
  }, {
639
643
  default: withCtx(() => _cache[5] || (_cache[5] = [
640
- createTextVNode(" Close ")
644
+ createTextVNode(" Close ", -1 /* CACHED */)
641
645
  ])),
642
- _: 1 /* STABLE */
646
+ _: 1 /* STABLE */,
647
+ __: [5]
643
648
  })
644
649
  ]),
645
650
  _: 1 /* STABLE */
@@ -654,6 +659,6 @@ return (_ctx, _cache) => {
654
659
  }
655
660
 
656
661
  };
657
- const ExportState = /*#__PURE__*/_export_sfc(_sfc_main, [['__scopeId',"data-v-a263a06d"]]);
662
+ const ExportState = /*#__PURE__*/_export_sfc(_sfc_main, [['styles',[_style_0]],['__scopeId',"data-v-a263a06d"]]);
658
663
 
659
664
  export { ExportState as default };
@@ -1,5 +1,7 @@
1
- import { ref, toRef, shallowRef, computed, watchEffect, createVNode, inject, createBlock, openBlock, unref, withCtx, createElementVNode, toDisplayString } from 'vue';
2
- import { g as genericComponent, p as propsFactory, b as provideTheme, B as useBackgroundColor, K as useBorder, L as useElevation, M as useRounded, s as useResizeObserver, T as useToggleScope, U as useLayoutItem, a as useRender, q as convertToUnit, f as makeThemeProps, h as makeTagProps, O as makeRoundedProps, W as makeLayoutItemProps, P as makeElevationProps, i as makeComponentProps, Q as makeBorderProps, _ as _export_sfc, X as eodashKey, r as useDisplay } from './asWebComponent-CLhcT715.js';
1
+ import { ref, shallowRef, computed, toRef, watchEffect, createVNode, normalizeStyle, normalizeClass, inject, createBlock, openBlock, unref, withCtx, createElementVNode, toDisplayString } from 'vue';
2
+ import { g as genericComponent, p as propsFactory, k as provideTheme, f as useBackgroundColor, h as useBorder, i as useElevation, j as useRounded, C as useResizeObserver, y as useToggleScope, z as useLayoutItem, c as useRender, o as convertToUnit, q as makeThemeProps, m as makeTagProps, r as makeRoundedProps, A as makeLayoutItemProps, s as makeElevationProps, e as makeComponentProps, t as makeBorderProps, _ as _export_sfc, B as eodashKey, D as useDisplay } from './asWebComponent-ZyEzWOOf.js';
3
+
4
+ const _style_0 = ".footer-text[data-v-f0fd061e]{font-size:.8rem}";
3
5
 
4
6
  const makeVFooterProps = propsFactory({
5
7
  app: Boolean,
@@ -32,7 +34,7 @@ const VFooter = genericComponent()({
32
34
  const {
33
35
  backgroundColorClasses,
34
36
  backgroundColorStyles
35
- } = useBackgroundColor(toRef(props, 'color'));
37
+ } = useBackgroundColor(() => props.color);
36
38
  const {
37
39
  borderClasses
38
40
  } = useBorder(props);
@@ -54,11 +56,11 @@ const VFooter = genericComponent()({
54
56
  const layout = useLayoutItem({
55
57
  id: props.name,
56
58
  order: computed(() => parseInt(props.order, 10)),
57
- position: computed(() => 'bottom'),
59
+ position: toRef(() => 'bottom'),
58
60
  layoutSize: height,
59
61
  elementSize: computed(() => props.height === 'auto' ? undefined : height.value),
60
- active: computed(() => props.app),
61
- absolute: toRef(props, 'absolute')
62
+ active: toRef(() => props.app),
63
+ absolute: toRef(() => props.absolute)
62
64
  });
63
65
  watchEffect(() => {
64
66
  layoutItemStyles.value = layout.layoutItemStyles.value;
@@ -66,10 +68,10 @@ const VFooter = genericComponent()({
66
68
  });
67
69
  useRender(() => createVNode(props.tag, {
68
70
  "ref": resizeRef,
69
- "class": ['v-footer', themeClasses.value, backgroundColorClasses.value, borderClasses.value, elevationClasses.value, roundedClasses.value, props.class],
70
- "style": [backgroundColorStyles.value, props.app ? layoutItemStyles.value : {
71
+ "class": normalizeClass(['v-footer', themeClasses.value, backgroundColorClasses.value, borderClasses.value, elevationClasses.value, roundedClasses.value, props.class]),
72
+ "style": normalizeStyle([backgroundColorStyles.value, props.app ? layoutItemStyles.value : {
71
73
  height: convertToUnit(props.height)
72
- }, props.style]
74
+ }, props.style])
73
75
  }, slots));
74
76
  return {};
75
77
  }
@@ -81,7 +83,7 @@ const _hoisted_1 = { class: "pt-0 footer-text" };
81
83
  * Footer template ref
82
84
  *
83
85
  * @type {import("vue").Ref<
84
- * import("vuetify/lib/components/index.mjs").VFooter | null
86
+ * import("vuetify/components").VFooter | null
85
87
  * >}
86
88
  */
87
89
 
@@ -90,7 +92,7 @@ const _sfc_main = {
90
92
  setup(__props) {
91
93
 
92
94
  const footer = ref(null);
93
- const eodash = /** @type {import("@/types").Eodash} */ (inject(eodashKey));
95
+ const eodash = inject(eodashKey);
94
96
 
95
97
  const { mdAndDown } = useDisplay();
96
98
 
@@ -106,7 +108,7 @@ return (_ctx, _cache) => {
106
108
  class: "d-flex justify-end"
107
109
  }, {
108
110
  default: withCtx(() => [
109
- createElementVNode("p", _hoisted_1, toDisplayString(unref(eodash).brand.footerText ?? ""), 1 /* TEXT */)
111
+ createElementVNode("p", _hoisted_1, toDisplayString(unref(eodash)?.brand.footerText ?? ""), 1 /* TEXT */)
110
112
  ]),
111
113
  _: 1 /* STABLE */
112
114
  }, 8 /* PROPS */, ["height"]))
@@ -114,6 +116,6 @@ return (_ctx, _cache) => {
114
116
  }
115
117
 
116
118
  };
117
- const Footer = /*#__PURE__*/_export_sfc(_sfc_main, [['__scopeId',"data-v-5009d449"]]);
119
+ const Footer = /*#__PURE__*/_export_sfc(_sfc_main, [['styles',[_style_0]],['__scopeId',"data-v-f0fd061e"]]);
118
120
 
119
121
  export { Footer as default };
@@ -1,8 +1,9 @@
1
- import { createVNode, toRef, shallowRef, computed, ref, watch, onMounted, onBeforeUnmount, watchEffect, mergeProps, inject, createBlock, openBlock, withCtx, createTextVNode, toDisplayString, unref } from 'vue';
2
- import { p as propsFactory, g as genericComponent, h as makeTagProps, i as makeComponentProps, a as useRender, B as useBackgroundColor, K as useBorder, L as useElevation, M as useRounded, b as provideTheme, c as useRtl, C as provideDefaults, N as VDefaultsProvider, q as convertToUnit, f as makeThemeProps, O as makeRoundedProps, P as makeElevationProps, Q as makeBorderProps, R as clamp, S as consoleWarn, j as useProxiedModel, T as useToggleScope, U as useLayoutItem, W as makeLayoutItemProps, _ as _export_sfc, X as eodashKey } from './asWebComponent-CLhcT715.js';
3
- import { a as VExpandTransition } from './index-Bm9cbtx5.js';
4
- import { V as VImg } from './VImg-FD1WVphJ.js';
5
- import { u as useSsrBoot } from './ssrBoot-BP7SYRyC.js';
1
+ import { createVNode, normalizeStyle, normalizeClass, createElementVNode, shallowRef, computed, ref, watch, onMounted, onBeforeUnmount, toRef, watchEffect, mergeProps, inject, createBlock, openBlock, withCtx, createTextVNode, toDisplayString, unref } from 'vue';
2
+ import { p as propsFactory, g as genericComponent, m as makeTagProps, e as makeComponentProps, c as useRender, f as useBackgroundColor, h as useBorder, i as useElevation, j as useRounded, k as provideTheme, l as useRtl, n as provideDefaults, V as VDefaultsProvider, o as convertToUnit, q as makeThemeProps, r as makeRoundedProps, s as makeElevationProps, t as makeBorderProps, v as clamp, w as consoleWarn, x as useProxiedModel, y as useToggleScope, z as useLayoutItem, A as makeLayoutItemProps, _ as _export_sfc, B as eodashKey } from './asWebComponent-ZyEzWOOf.js';
3
+ import { V as VImg, a as VExpandTransition } from './VImg-CETuikH2.js';
4
+ import { u as useSsrBoot } from './ssrBoot-Zgc_Ttvi.js';
5
+
6
+ const _style_0 = ".logo[data-v-86c95219]{max-width:140px}";
6
7
 
7
8
  const makeVToolbarTitleProps = propsFactory({
8
9
  text: String,
@@ -19,10 +20,10 @@ const VToolbarTitle = genericComponent()({
19
20
  useRender(() => {
20
21
  const hasText = !!(slots.default || slots.text || props.text);
21
22
  return createVNode(props.tag, {
22
- "class": ['v-toolbar-title', props.class],
23
- "style": props.style
23
+ "class": normalizeClass(['v-toolbar-title', props.class]),
24
+ "style": normalizeStyle(props.style)
24
25
  }, {
25
- default: () => [hasText && createVNode("div", {
26
+ default: () => [hasText && createElementVNode("div", {
26
27
  "class": "v-toolbar-title__placeholder"
27
28
  }, [slots.text ? slots.text() : props.text, slots.default?.()])]
28
29
  });
@@ -41,7 +42,10 @@ const makeVToolbarProps = propsFactory({
41
42
  default: 'default',
42
43
  validator: v => allowedDensities.includes(v)
43
44
  },
44
- extended: Boolean,
45
+ extended: {
46
+ type: Boolean,
47
+ default: null
48
+ },
45
49
  extensionHeight: {
46
50
  type: [Number, String],
47
51
  default: 48
@@ -73,7 +77,7 @@ const VToolbar = genericComponent()({
73
77
  const {
74
78
  backgroundColorClasses,
75
79
  backgroundColorStyles
76
- } = useBackgroundColor(toRef(props, 'color'));
80
+ } = useBackgroundColor(() => props.color);
77
81
  const {
78
82
  borderClasses
79
83
  } = useBorder(props);
@@ -89,7 +93,7 @@ const VToolbar = genericComponent()({
89
93
  const {
90
94
  rtlClasses
91
95
  } = useRtl();
92
- const isExtended = shallowRef(!!(props.extended || slots.extension?.()));
96
+ const isExtended = shallowRef(props.extended === null ? !!slots.extension?.() : props.extended);
93
97
  const contentHeight = computed(() => parseInt(Number(props.height) + (props.density === 'prominent' ? Number(props.height) : 0) - (props.density === 'comfortable' ? 8 : 0) - (props.density === 'compact' ? 16 : 0), 10));
94
98
  const extensionHeight = computed(() => isExtended.value ? parseInt(Number(props.extensionHeight) + (props.density === 'prominent' ? Number(props.extensionHeight) : 0) - (props.density === 'comfortable' ? 4 : 0) - (props.density === 'compact' ? 8 : 0), 10) : 0);
95
99
  provideDefaults({
@@ -101,18 +105,18 @@ const VToolbar = genericComponent()({
101
105
  const hasTitle = !!(props.title || slots.title);
102
106
  const hasImage = !!(slots.image || props.image);
103
107
  const extension = slots.extension?.();
104
- isExtended.value = !!(props.extended || extension);
108
+ isExtended.value = props.extended === null ? !!extension : props.extended;
105
109
  return createVNode(props.tag, {
106
- "class": ['v-toolbar', {
110
+ "class": normalizeClass(['v-toolbar', {
107
111
  'v-toolbar--absolute': props.absolute,
108
112
  'v-toolbar--collapse': props.collapse,
109
113
  'v-toolbar--flat': props.flat,
110
114
  'v-toolbar--floating': props.floating,
111
115
  [`v-toolbar--density-${props.density}`]: true
112
- }, backgroundColorClasses.value, borderClasses.value, elevationClasses.value, roundedClasses.value, themeClasses.value, rtlClasses.value, props.class],
113
- "style": [backgroundColorStyles.value, props.style]
116
+ }, backgroundColorClasses.value, borderClasses.value, elevationClasses.value, roundedClasses.value, themeClasses.value, rtlClasses.value, props.class]),
117
+ "style": normalizeStyle([backgroundColorStyles.value, props.style])
114
118
  }, {
115
- default: () => [hasImage && createVNode("div", {
119
+ default: () => [hasImage && createElementVNode("div", {
116
120
  "key": "image",
117
121
  "class": "v-toolbar__image"
118
122
  }, [!slots.image ? createVNode(VImg, {
@@ -135,19 +139,19 @@ const VToolbar = genericComponent()({
135
139
  }
136
140
  }
137
141
  }, {
138
- default: () => [createVNode("div", {
142
+ default: () => [createElementVNode("div", {
139
143
  "class": "v-toolbar__content",
140
144
  "style": {
141
145
  height: convertToUnit(contentHeight.value)
142
146
  }
143
- }, [slots.prepend && createVNode("div", {
147
+ }, [slots.prepend && createElementVNode("div", {
144
148
  "class": "v-toolbar__prepend"
145
149
  }, [slots.prepend?.()]), hasTitle && createVNode(VToolbarTitle, {
146
150
  "key": "title",
147
151
  "text": props.title
148
152
  }, {
149
153
  text: slots.title
150
- }), slots.default?.(), slots.append && createVNode("div", {
154
+ }), slots.default?.(), slots.append && createElementVNode("div", {
151
155
  "class": "v-toolbar__append"
152
156
  }, [slots.append?.()])])]
153
157
  }), createVNode(VDefaultsProvider, {
@@ -158,7 +162,7 @@ const VToolbar = genericComponent()({
158
162
  }
159
163
  }, {
160
164
  default: () => [createVNode(VExpandTransition, null, {
161
- default: () => [isExtended.value && createVNode("div", {
165
+ default: () => [isExtended.value && createElementVNode("div", {
162
166
  "class": "v-toolbar__extension",
163
167
  "style": {
164
168
  height: convertToUnit(extensionHeight.value)
@@ -326,7 +330,7 @@ const VAppBar = genericComponent()({
326
330
  } = useScroll(props, {
327
331
  canScroll
328
332
  });
329
- const canHide = computed(() => scrollBehavior.value.hide || scrollBehavior.value.fullyHide);
333
+ const canHide = toRef(() => scrollBehavior.value.hide || scrollBehavior.value.fullyHide);
330
334
  const isCollapsed = computed(() => props.collapse || scrollBehavior.value.collapse && (scrollBehavior.value.inverted ? scrollRatio.value > 0 : scrollRatio.value === 0));
331
335
  const isFlat = computed(() => props.flat || scrollBehavior.value.fullyHide && !isActive.value || scrollBehavior.value.elevate && (scrollBehavior.value.inverted ? currentScroll.value > 0 : currentScroll.value === 0));
332
336
  const opacity = computed(() => scrollBehavior.value.fadeImage ? scrollBehavior.value.inverted ? 1 - scrollRatio.value : scrollRatio.value : undefined);
@@ -337,7 +341,7 @@ const VAppBar = genericComponent()({
337
341
  if (!canHide.value) return height + extensionHeight;
338
342
  return currentScroll.value < scrollThreshold.value || scrollBehavior.value.fullyHide ? height + extensionHeight : height;
339
343
  });
340
- useToggleScope(computed(() => !!props.scrollBehavior), () => {
344
+ useToggleScope(() => !!props.scrollBehavior, () => {
341
345
  watchEffect(() => {
342
346
  if (canHide.value) {
343
347
  if (scrollBehavior.value.inverted) {
@@ -358,11 +362,11 @@ const VAppBar = genericComponent()({
358
362
  } = useLayoutItem({
359
363
  id: props.name,
360
364
  order: computed(() => parseInt(props.order, 10)),
361
- position: toRef(props, 'location'),
365
+ position: toRef(() => props.location),
362
366
  layoutSize: height,
363
367
  elementSize: shallowRef(undefined),
364
368
  active: isActive,
365
- absolute: toRef(props, 'absolute')
369
+ absolute: toRef(() => props.absolute)
366
370
  });
367
371
  useRender(() => {
368
372
  const toolbarProps = VToolbar.filterProps(props);
@@ -404,9 +408,9 @@ const _sfc_main = {
404
408
  __name: 'Header',
405
409
  setup(__props) {
406
410
 
407
- const eodash = /** @type {import("@/types").Eodash} */ (inject(eodashKey));
411
+ const eodash = inject(eodashKey);
408
412
 
409
- const title = eodash.brand?.name;
413
+ const title = eodash?.brand?.name;
410
414
 
411
415
  return (_ctx, _cache) => {
412
416
 
@@ -423,7 +427,7 @@ return (_ctx, _cache) => {
423
427
  }),
424
428
  createVNode(VImg, {
425
429
  class: "mx-12 logo",
426
- src: unref(eodash).brand?.logo
430
+ src: unref(eodash)?.brand?.logo
427
431
  }, null, 8 /* PROPS */, ["src"])
428
432
  ]),
429
433
  _: 1 /* STABLE */
@@ -432,6 +436,6 @@ return (_ctx, _cache) => {
432
436
  }
433
437
 
434
438
  };
435
- const Header = /*#__PURE__*/_export_sfc(_sfc_main, [['__scopeId',"data-v-bfe4aadf"]]);
439
+ const Header = /*#__PURE__*/_export_sfc(_sfc_main, [['styles',[_style_0]],['__scopeId',"data-v-86c95219"]]);
436
440
 
437
441
  export { Header as default };