@eodash/eodash 5.0.0-alpha.2.26 → 5.0.0-alpha.2.27

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 (108) hide show
  1. package/core/client/asWebComponent.js +2 -3
  2. package/core/client/components/DashboardLayout.vue +35 -13
  3. package/core/client/components/Loading.vue +6 -9
  4. package/core/client/components/MobileLayout.vue +16 -14
  5. package/core/client/composables/DefineEodash.js +13 -3
  6. package/core/client/composables/DefineTemplate.js +67 -0
  7. package/core/client/composables/DefineWidgets.js +3 -2
  8. package/core/client/composables/EodashMap.js +39 -14
  9. package/core/client/composables/EodashProcess.js +574 -0
  10. package/core/client/composables/index.js +54 -11
  11. package/core/client/eodash.js +383 -125
  12. package/core/client/{utils/eodashSTAC.js → eodashSTAC/EodashCollection.js} +75 -41
  13. package/core/client/{utils → eodashSTAC}/createLayers.js +10 -8
  14. package/core/client/{utils → eodashSTAC}/helpers.js +47 -75
  15. package/core/client/eodashSTAC/triggers.js +43 -0
  16. package/core/client/plugins/vuetify.js +2 -1
  17. package/core/client/store/{Actions.js → actions.js} +16 -2
  18. package/core/client/store/index.js +4 -18
  19. package/core/client/store/stac.js +4 -4
  20. package/core/client/store/{States.js → states.js} +2 -0
  21. package/{dist/types/core/client/types.d.ts → core/client/types.ts} +47 -8
  22. package/core/client/utils/keys.js +2 -0
  23. package/core/client/utils/states.js +8 -3
  24. package/core/client/views/Dashboard.vue +6 -4
  25. package/core/client/vite-env.d.ts +1 -16
  26. package/dist/client/{DashboardLayout-E_JzgCH5.js → DashboardLayout-232tRmjz.js} +23 -25
  27. package/dist/client/{DynamicWebComponent-C9pVUfT3.js → DynamicWebComponent-Cl4LqHU6.js} +1 -1
  28. package/dist/client/{EodashDatePicker-CjU8R2ia.js → EodashDatePicker-Pok6bZwU.js} +78 -165
  29. package/dist/client/EodashItemFilter-16eMMjTV.js +151 -0
  30. package/dist/client/{EodashLayerControl-mKfwru42.js → EodashLayerControl-De7IlCm_.js} +19 -11
  31. package/dist/client/EodashLayoutSwitcher-C-3-jjn5.js +52 -0
  32. package/dist/client/{EodashMap-BpwL82-w.js → EodashMap-CMvbfI6-.js} +116 -39
  33. package/dist/client/EodashMapBtns-BeknGDtc.js +107 -0
  34. package/dist/client/EodashProcess-BwKAa9Ee.js +1476 -0
  35. package/dist/client/EodashStacInfo-_BfonNUG.js +85 -0
  36. package/dist/client/EodashTools-PD3XPYuR.js +103 -0
  37. package/dist/client/{ExportState-ByVuIAQb.js → ExportState-DOrT7M15.js} +5 -5
  38. package/dist/client/{Footer-D691KLtK.js → Footer-CCigxYBo.js} +1 -1
  39. package/dist/client/{Header-B8UBQstf.js → Header-C2cdx4gb.js} +3 -3
  40. package/dist/client/{MobileLayout-6bHjYguI.js → MobileLayout-BdiFjHg7.js} +28 -31
  41. package/dist/client/{PopUp-CdFcnKMY.js → PopUp--_xn1Cms.js} +37 -9
  42. package/dist/client/{VImg-fKGJ7xyb.js → VImg-9xu2l99m.js} +2 -2
  43. package/dist/client/{VMain-Hf5R6yWY.js → VMain-BUs3kDTd.js} +1 -1
  44. package/dist/client/{VOverlay-ClFjEtlD.js → VOverlay-D89omJis.js} +3 -3
  45. package/dist/client/VTooltip-CDu3bErh.js +86 -0
  46. package/dist/client/{WidgetsContainer-XXYJfaPR.js → WidgetsContainer-aFG9yFT6.js} +1 -1
  47. package/dist/client/{asWebComponent-BsbKnhGV.js → asWebComponent-BRGyP_j5.js} +1495 -1142
  48. package/dist/client/{style.css → eo-dash.css} +2 -2
  49. package/dist/client/eo-dash.js +1 -1
  50. package/dist/client/{forwardRefs-I2EA3z3_.js → forwardRefs-CYrR6bMw.js} +1 -1
  51. package/dist/client/{index-B3dnMr8a.js → index-BZwk0V42.js} +1 -1
  52. package/dist/client/{transition-DJ9gfiuP.js → transition-DG9nRSW4.js} +1 -1
  53. package/dist/node/cli.js +3 -3
  54. package/package.json +56 -34
  55. package/widgets/EodashDatePicker.vue +68 -54
  56. package/widgets/EodashItemFilter.vue +60 -105
  57. package/widgets/EodashLayerControl.vue +19 -8
  58. package/widgets/EodashLayoutSwitcher.vue +36 -0
  59. package/widgets/EodashMap.vue +27 -28
  60. package/widgets/EodashMapBtns.vue +41 -4
  61. package/widgets/EodashProcess.vue +143 -0
  62. package/widgets/EodashStacInfo.vue +82 -0
  63. package/widgets/EodashTools.vue +83 -0
  64. package/widgets/ExportState.vue +3 -3
  65. package/widgets/PopUp.vue +24 -2
  66. package/core/client/asWebComponent.d.ts +0 -23
  67. package/core/client/types.d.ts +0 -279
  68. package/dist/client/EodashItemFilter-VGQasaBJ.js +0 -194
  69. package/dist/client/EodashMapBtns-GNNBdBW9.js +0 -66
  70. package/dist/types/core/client/App.vue.d.ts +0 -7
  71. package/dist/types/core/client/asWebComponent.d.ts +0 -9
  72. package/dist/types/core/client/components/DashboardLayout.vue.d.ts +0 -2
  73. package/dist/types/core/client/components/DynamicWebComponent.vue.d.ts +0 -18
  74. package/dist/types/core/client/components/ErrorAlert.vue.d.ts +0 -2
  75. package/dist/types/core/client/components/Footer.vue.d.ts +0 -2
  76. package/dist/types/core/client/components/Header.vue.d.ts +0 -2
  77. package/dist/types/core/client/components/IframeWrapper.vue.d.ts +0 -7
  78. package/dist/types/core/client/components/Loading.vue.d.ts +0 -2
  79. package/dist/types/core/client/components/MobileLayout.vue.d.ts +0 -2
  80. package/dist/types/core/client/composables/DefineEodash.d.ts +0 -2
  81. package/dist/types/core/client/composables/DefineWidgets.d.ts +0 -14
  82. package/dist/types/core/client/composables/EodashMap.d.ts +0 -5
  83. package/dist/types/core/client/composables/index.d.ts +0 -29
  84. package/dist/types/core/client/eodash.d.ts +0 -8
  85. package/dist/types/core/client/main.d.ts +0 -2
  86. package/dist/types/core/client/plugins/axios.d.ts +0 -2
  87. package/dist/types/core/client/plugins/index.d.ts +0 -3
  88. package/dist/types/core/client/plugins/vuetify.d.ts +0 -82
  89. package/dist/types/core/client/render.d.ts +0 -1
  90. package/dist/types/core/client/store/Actions.d.ts +0 -11
  91. package/dist/types/core/client/store/States.d.ts +0 -21
  92. package/dist/types/core/client/store/index.d.ts +0 -2
  93. package/dist/types/core/client/store/stac.d.ts +0 -25
  94. package/dist/types/core/client/utils/createLayers.d.ts +0 -45
  95. package/dist/types/core/client/utils/eodashSTAC.d.ts +0 -82
  96. package/dist/types/core/client/utils/helpers.d.ts +0 -84
  97. package/dist/types/core/client/utils/index.d.ts +0 -2
  98. package/dist/types/core/client/utils/keys.d.ts +0 -6
  99. package/dist/types/core/client/utils/states.d.ts +0 -14
  100. package/dist/types/core/client/views/Dashboard.vue.d.ts +0 -9
  101. package/dist/types/widgets/EodashDatePicker.vue.d.ts +0 -7
  102. package/dist/types/widgets/EodashItemFilter.vue.d.ts +0 -33
  103. package/dist/types/widgets/EodashLayerControl.vue.d.ts +0 -7
  104. package/dist/types/widgets/EodashMap.vue.d.ts +0 -7
  105. package/dist/types/widgets/EodashMapBtns.vue.d.ts +0 -9
  106. package/dist/types/widgets/ExportState.vue.d.ts +0 -7
  107. package/dist/types/widgets/PopUp.vue.d.ts +0 -14
  108. package/dist/types/widgets/WidgetsContainer.vue.d.ts +0 -7
@@ -0,0 +1,85 @@
1
+ import { openBlock, createElementBlock, createElementVNode, unref } from 'vue';
2
+ import '@eox/stacinfo';
3
+ import { aj as currentUrl } from './asWebComponent-BRGyP_j5.js';
4
+
5
+ const _hoisted_1 = { class: "flex-grow-1 fill-height overflow-auto" };
6
+ const _hoisted_2 = [".for", ".allowHtml", ".body", ".featured", ".footer", ".styleOverride", ".header", ".subheader", ".tags"];
7
+
8
+
9
+ const _sfc_main = {
10
+ __name: 'EodashStacInfo',
11
+ props: {
12
+ allowHtml: {
13
+ type: Boolean,
14
+ default: true,
15
+ },
16
+
17
+ styleOverride: {
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;}`,
35
+ },
36
+ header: {
37
+ type: Array,
38
+ default: () => ["title"],
39
+ },
40
+ tags: {
41
+ type: Array,
42
+ default: () => ["themes"],
43
+ },
44
+ subheader: {
45
+ type: Array,
46
+ default: () => [],
47
+ },
48
+ body: {
49
+ type: Array,
50
+ default: () => ["satellite", "sensor", "agency", "extent"],
51
+ },
52
+ featured: {
53
+ type: Array,
54
+ default: () => ["description", "providers", "assets", "links"],
55
+ },
56
+ footer: {
57
+ type: Array,
58
+ default: () => ["sci:citation"],
59
+ },
60
+ },
61
+ setup(__props) {
62
+
63
+
64
+
65
+ return (_ctx, _cache) => {
66
+ return (openBlock(), createElementBlock("div", _hoisted_1, [
67
+ createElementVNode("eox-stacinfo", {
68
+ ".for": unref(currentUrl),
69
+ ".allowHtml": __props.allowHtml,
70
+ ".body": __props.body,
71
+ ".featured": __props.featured,
72
+ ".footer": __props.footer,
73
+ ".styleOverride": __props.styleOverride,
74
+ ".header": __props.header,
75
+ ".subheader": __props.subheader,
76
+ ".tags": __props.tags,
77
+ style: {"--color-primary-lighter":"none"}
78
+ }, null, 40 /* PROPS, NEED_HYDRATION */, _hoisted_2)
79
+ ]))
80
+ }
81
+ }
82
+
83
+ };
84
+
85
+ export { _sfc_main as default };
@@ -0,0 +1,103 @@
1
+ import { ref, computed, openBlock, createElementBlock, createElementVNode, createBlock, unref, createCommentVNode, createVNode, withCtx, mergeProps } from 'vue';
2
+ import _sfc_main$2 from './PopUp--_xn1Cms.js';
3
+ import _sfc_main$3 from './EodashItemFilter-16eMMjTV.js';
4
+ import _sfc_main$1 from './EodashLayoutSwitcher-C-3-jjn5.js';
5
+ import { mdiViewDashboard, mdiPlus } from '@mdi/js';
6
+ import { t as useDisplay, a1 as makePanelTransparent, V as VBtn } from './asWebComponent-BRGyP_j5.js';
7
+
8
+ const _hoisted_1 = { class: "d-flex flex-row justify-space-between pa-4 align-center" };
9
+
10
+
11
+ const _sfc_main = {
12
+ __name: 'EodashTools',
13
+ props: {
14
+ showIndicatorsBtn: {
15
+ type: Boolean,
16
+ default: true,
17
+ },
18
+ showLayoutSwitcher: {
19
+ type: Boolean,
20
+ default: true,
21
+ },
22
+ layoutTarget: {
23
+ type: String,
24
+ default: "light",
25
+ },
26
+ // mdi/js icon
27
+ layoutIcon: {
28
+ type: String,
29
+ default: mdiViewDashboard,
30
+ },
31
+ indicatorBtnText: {
32
+ type: String,
33
+ default: "Select indicator",
34
+ },
35
+ itemFilterConfig: {
36
+ type: Object,
37
+ default: () => {},
38
+ },
39
+ },
40
+ setup(__props) {
41
+
42
+ const dialog = ref(false);
43
+
44
+ const { smAndDown } = useDisplay();
45
+ const popupWidth = computed(() => (smAndDown.value ? "80%" : "1500px"));
46
+ const popupHeight = computed(() => (smAndDown.value ? "90%" : "800px"));
47
+
48
+ const props = __props;
49
+ const rootEl = ref(null);
50
+ makePanelTransparent(rootEl);
51
+
52
+ return (_ctx, _cache) => {
53
+
54
+
55
+ return (openBlock(), createElementBlock("div", {
56
+ ref_key: "rootEl",
57
+ ref: rootEl,
58
+ class: "d-flex flex-column fill-height overflow-auto bg-primary"
59
+ }, [
60
+ createElementVNode("div", _hoisted_1, [
61
+ (props.showIndicatorsBtn)
62
+ ? (openBlock(), createBlock(VBtn, {
63
+ key: 0,
64
+ color: "secondary",
65
+ class: "text-none py-2 px-4",
66
+ "append-icon": [unref(mdiPlus)],
67
+ text: __props.indicatorBtnText,
68
+ onClick: _cache[0] || (_cache[0] = $event => (dialog.value = !dialog.value))
69
+ }, null, 8 /* PROPS */, ["append-icon", "text"]))
70
+ : createCommentVNode("v-if", true),
71
+ (props.showLayoutSwitcher)
72
+ ? (openBlock(), createBlock(_sfc_main$1, {
73
+ key: 1,
74
+ target: __props.layoutTarget,
75
+ icon: __props.layoutIcon
76
+ }, null, 8 /* PROPS */, ["target", "icon"]))
77
+ : createCommentVNode("v-if", true)
78
+ ]),
79
+ createVNode(_sfc_main$2, {
80
+ modelValue: dialog.value,
81
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = $event => ((dialog).value = $event)),
82
+ maxWidth: popupWidth.value,
83
+ width: popupWidth.value,
84
+ "max-height": popupHeight.value,
85
+ height: popupHeight.value
86
+ }, {
87
+ default: withCtx(() => [
88
+ createVNode(_sfc_main$3, mergeProps({
89
+ class: "pa-4",
90
+ "results-title": ""
91
+ }, props.itemFilterConfig, {
92
+ onSelect: _cache[1] || (_cache[1] = $event => (dialog.value = !dialog.value))
93
+ }), null, 16 /* FULL_PROPS */)
94
+ ]),
95
+ _: 1 /* STABLE */
96
+ }, 8 /* PROPS */, ["modelValue", "maxWidth", "width", "max-height", "height"])
97
+ ], 512 /* NEED_PATCH */))
98
+ }
99
+ }
100
+
101
+ };
102
+
103
+ export { _sfc_main as default };
@@ -1,9 +1,9 @@
1
1
  import { createVNode, Fragment, computed, withDirectives, mergeProps, resolveDirective, toRef, mergeModels, useModel, ref, openBlock, createBlock, withCtx, createElementVNode, createTextVNode, toDisplayString, unref, createElementBlock, createCommentVNode, renderList } from 'vue';
2
2
  import { mdiClipboardCheckOutline, mdiContentCopy } from '@mdi/js';
3
- import _sfc_main$1 from './PopUp-CdFcnKMY.js';
4
- import { ac as createSimpleFunctional, g as genericComponent, b as makeComponentProps, D as provideDefaults, a as useRender, p as propsFactory, c as makeTagProps, I as IconValue, L as makeBorderProps, A as makeDensityProps, N as makeRoundedProps, ad as makeSizeProps, d as makeThemeProps, ae as makeVariantProps, e as provideTheme, O as useBorder, af as useVariant, B as useDensity, Q as useRounded, ag as useSize, y as VIcon, R as VDefaultsProvider, ah as genOverlays, J as makeDimensionProps, M as makeElevationProps, ai as makeLoaderProps, aj as makeLocationProps, ak as makePositionProps, al as makeRouterProps, am as Ripple, K as useDimension, P as useElevation, an as useLoader, ao as useLocation, ap as usePosition, aq as useLink, ar as LoaderSlot, u as useTextColor, q as convertToUnit, _ as _export_sfc, as as getLayers, a8 as mapPosition, at as removeUnneededProperties, a1 as VRow, au as VCol, V as VBtn, av as copyToClipBoard } from './asWebComponent-BsbKnhGV.js';
5
- import { a as VExpandTransition } from './index-B3dnMr8a.js';
6
- import { V as VImg } from './VImg-fKGJ7xyb.js';
3
+ import _sfc_main$1 from './PopUp--_xn1Cms.js';
4
+ import { am as createSimpleFunctional, g as genericComponent, b as makeComponentProps, D as provideDefaults, a as useRender, p as propsFactory, c as makeTagProps, I as IconValue, K as makeBorderProps, A as makeDensityProps, M as makeRoundedProps, an as makeSizeProps, d as makeThemeProps, ao as makeVariantProps, e as provideTheme, N as useBorder, ap as useVariant, B as useDensity, P as useRounded, aq as useSize, y as VIcon, Q as VDefaultsProvider, ar as genOverlays, H as makeDimensionProps, L as makeElevationProps, as as makeLoaderProps, at as makeLocationProps, au as makePositionProps, av as makeRouterProps, aw as Ripple, J as useDimension, O as useElevation, ax as useLoader, ay as useLocation, az as usePosition, aA as useLink, aB as LoaderSlot, u as useTextColor, q as convertToUnit, _ as _export_sfc, ag as getLayers, ad as mapPosition, aC as removeUnneededProperties, aD as VRow, aE as VCol, V as VBtn, aF as copyToClipBoard } from './asWebComponent-BRGyP_j5.js';
5
+ import { a as VExpandTransition } from './index-BZwk0V42.js';
6
+ import { V as VImg } from './VImg-9xu2l99m.js';
7
7
 
8
8
  // Styles
9
9
  const VSpacer = createSimpleFunctional('v-spacer', 'div', 'VSpacer');
@@ -639,6 +639,6 @@ return (_ctx, _cache) => {
639
639
  }
640
640
 
641
641
  };
642
- const ExportState = /*#__PURE__*/_export_sfc(_sfc_main, [['__scopeId',"data-v-b8c788e8"]]);
642
+ const ExportState = /*#__PURE__*/_export_sfc(_sfc_main, [['__scopeId',"data-v-bfef967b"]]);
643
643
 
644
644
  export { ExportState as default };
@@ -1,5 +1,5 @@
1
1
  import { ref, toRef, shallowRef, computed, createVNode, watchEffect, inject, openBlock, createBlock, unref, withCtx, createElementVNode, toDisplayString, createTextVNode } from 'vue';
2
- import { p as propsFactory, L as makeBorderProps, b as makeComponentProps, M as makeElevationProps, U as makeLayoutItemProps, N as makeRoundedProps, c as makeTagProps, d as makeThemeProps, g as genericComponent, e as provideTheme, C as useBackgroundColor, O as useBorder, P as useElevation, Q as useRounded, v as useResizeObserver, W as useToggleScope, a as useRender, q as convertToUnit, X as useLayoutItem, _ as _export_sfc, F as eodashKey, t as useDisplay } from './asWebComponent-BsbKnhGV.js';
2
+ import { p as propsFactory, K as makeBorderProps, b as makeComponentProps, L as makeElevationProps, T as makeLayoutItemProps, M as makeRoundedProps, c as makeTagProps, d as makeThemeProps, g as genericComponent, e as provideTheme, C as useBackgroundColor, N as useBorder, O as useElevation, P as useRounded, v as useResizeObserver, U as useToggleScope, a as useRender, q as convertToUnit, W as useLayoutItem, _ as _export_sfc, X as eodashKey, t as useDisplay } from './asWebComponent-BRGyP_j5.js';
3
3
 
4
4
  const makeVFooterProps = propsFactory({
5
5
  app: Boolean,
@@ -1,7 +1,7 @@
1
1
  import { createVNode, toRef, shallowRef, computed, ref, watch, onMounted, onBeforeUnmount, mergeProps, watchEffect, inject, openBlock, createBlock, withCtx, createTextVNode, toDisplayString, unref } from 'vue';
2
- import { p as propsFactory, b as makeComponentProps, c as makeTagProps, g as genericComponent, a as useRender, L as makeBorderProps, M as makeElevationProps, N as makeRoundedProps, d as makeThemeProps, C as useBackgroundColor, O as useBorder, P as useElevation, Q as useRounded, e as provideTheme, f as useRtl, D as provideDefaults, R as VDefaultsProvider, q as convertToUnit, S as clamp, T as consoleWarn, U as makeLayoutItemProps, j as useProxiedModel, W as useToggleScope, X as useLayoutItem, _ as _export_sfc, F as eodashKey } from './asWebComponent-BsbKnhGV.js';
3
- import { a as VExpandTransition } from './index-B3dnMr8a.js';
4
- import { V as VImg } from './VImg-fKGJ7xyb.js';
2
+ import { p as propsFactory, b as makeComponentProps, c as makeTagProps, g as genericComponent, a as useRender, K as makeBorderProps, L as makeElevationProps, M as makeRoundedProps, d as makeThemeProps, C as useBackgroundColor, N as useBorder, O as useElevation, P as useRounded, e as provideTheme, f as useRtl, D as provideDefaults, Q as VDefaultsProvider, q as convertToUnit, R as clamp, S as consoleWarn, T as makeLayoutItemProps, j as useProxiedModel, U as useToggleScope, W as useLayoutItem, _ as _export_sfc, X as eodashKey } from './asWebComponent-BRGyP_j5.js';
3
+ import { a as VExpandTransition } from './index-BZwk0V42.js';
4
+ import { V as VImg } from './VImg-9xu2l99m.js';
5
5
  import { u as useSsrBoot } from './ssrBoot-BP7SYRyC.js';
6
6
 
7
7
  const makeVToolbarTitleProps = propsFactory({
@@ -1,10 +1,10 @@
1
- import { ref, computed, createVNode, mergeProps, Fragment, shallowRef, watch, provide, withDirectives, resolveDirective, inject, vShow, nextTick, toRef, useCssVars, onMounted, openBlock, createBlock, withCtx, Suspense, unref, resolveDynamicComponent, createCommentVNode, createElementBlock, renderList, createTextVNode, createElementVNode, toDisplayString } from 'vue';
2
- import { k as keys, p as propsFactory, o as omit, m as makeVBtnProps, g as genericComponent, u as useTextColor, a as useRender, V as VBtn, b as makeComponentProps, c as makeTagProps, d as makeThemeProps, e as provideTheme, f as useRtl, h as useLocale, i as useGroup, j as useProxiedModel, l as makeGroupItemProps, n as useGroupItem, q as convertToUnit, I as IconValue, r as makeDisplayProps, s as makeGroupProps, t as useDisplay, v as useResizeObserver, w as useGoTo, x as IN_BROWSER, y as VIcon, z as focusableChildren, A as makeDensityProps, B as useDensity, C as useBackgroundColor, D as provideDefaults, E as isObject, _ as _export_sfc, F as eodashKey, G as useDefineWidgets, H as useLayout } from './asWebComponent-BsbKnhGV.js';
3
- import { V as VMain } from './VMain-Hf5R6yWY.js';
4
- import { f as forwardRefs, a as animate, s as standardEasing, m as makeLazyProps, u as useLazy, b as useScopeId } from './forwardRefs-I2EA3z3_.js';
1
+ import { ref, computed, createVNode, mergeProps, Fragment, shallowRef, watch, provide, withDirectives, resolveDirective, inject, vShow, nextTick, toRef, useCssVars, onMounted, openBlock, createBlock, withCtx, Suspense, unref, resolveDynamicComponent, createCommentVNode, createElementBlock, renderList, createElementVNode, createTextVNode, toDisplayString } from 'vue';
2
+ import { k as keys, p as propsFactory, o as omit, m as makeVBtnProps, g as genericComponent, u as useTextColor, a as useRender, V as VBtn, b as makeComponentProps, c as makeTagProps, d as makeThemeProps, e as provideTheme, f as useRtl, h as useLocale, i as useGroup, j as useProxiedModel, l as makeGroupItemProps, n as useGroupItem, q as convertToUnit, I as IconValue, r as makeDisplayProps, s as makeGroupProps, t as useDisplay, v as useResizeObserver, w as useGoTo, x as IN_BROWSER, y as VIcon, z as focusableChildren, A as makeDensityProps, B as useDensity, C as useBackgroundColor, D as provideDefaults, E as isObject, _ as _export_sfc, F as useDefineTemplate, G as useLayout } from './asWebComponent-BRGyP_j5.js';
3
+ import { V as VMain } from './VMain-BUs3kDTd.js';
4
+ import { f as forwardRefs, a as animate, s as standardEasing, m as makeLazyProps, u as useLazy, b as useScopeId } from './forwardRefs-CYrR6bMw.js';
5
5
  import { u as useSsrBoot } from './ssrBoot-BP7SYRyC.js';
6
- import { M as MaybeTransition } from './transition-DJ9gfiuP.js';
7
- import { V as VFadeTransition } from './index-B3dnMr8a.js';
6
+ import { M as MaybeTransition } from './transition-DG9nRSW4.js';
7
+ import { V as VFadeTransition } from './index-BZwk0V42.js';
8
8
 
9
9
  // Utilities
10
10
  const handleGesture = wrapper => {
@@ -1079,7 +1079,8 @@ const _hoisted_1 = {
1079
1079
  id: "overlay",
1080
1080
  class: "pa-2 panel bg-surface"
1081
1081
  };
1082
- const _hoisted_2 = { class: "component-container" };
1082
+ const _hoisted_2 = { class: "d-flex py-2 justify-end align-end" };
1083
+ const _hoisted_3 = { class: "component-container" };
1083
1084
 
1084
1085
 
1085
1086
  const _sfc_main = {
@@ -1087,18 +1088,12 @@ const _sfc_main = {
1087
1088
  setup(__props) {
1088
1089
 
1089
1090
  useCssVars(_ctx => ({
1090
- "fbf7b91a": (mainRectTopPx.value),
1091
- "2c845582": (tabsHeightFromBtm.value),
1092
- "fdee920e": (mainRectBtmPx.value)
1091
+ "1f5b5478": (mainRectTopPx.value),
1092
+ "934a0878": (tabsHeightFromBtm.value),
1093
+ "1e5fe7fe": (mainRectBtmPx.value)
1093
1094
  }));
1094
1095
 
1095
- const eodash = /** @type {import("@/types").Eodash} */ (inject(eodashKey));
1096
-
1097
- //import widgets
1098
- const widgetsConfig = eodash.template.widgets;
1099
- const importedWidgets = useDefineWidgets(widgetsConfig);
1100
- const [bgWidget] = useDefineWidgets([eodash.template?.background]);
1101
-
1096
+ const { bgWidget, importedWidgets } = useDefineTemplate();
1102
1097
  const { mainRect } = useLayout();
1103
1098
 
1104
1099
  const activeIdx = ref(-1);
@@ -1126,7 +1121,7 @@ return (_ctx, _cache) => {
1126
1121
  default: withCtx(() => [
1127
1122
  (openBlock(), createBlock(Suspense, { suspensible: "" }, {
1128
1123
  default: withCtx(() => [
1129
- (unref(bgWidget).component)
1124
+ (unref(bgWidget)?.component)
1130
1125
  ? (openBlock(), createBlock(resolveDynamicComponent(unref(bgWidget).component), mergeProps({
1131
1126
  key: 0,
1132
1127
  id: "bg-widget"
@@ -1139,20 +1134,22 @@ return (_ctx, _cache) => {
1139
1134
  return (openBlock(), createElementBlock(Fragment, { key: idx }, [
1140
1135
  (importedWidget.value.component)
1141
1136
  ? withDirectives((openBlock(), createElementBlock("div", _hoisted_1, [
1142
- createVNode(VBtn, {
1143
- icon: "",
1144
- variant: "text",
1145
- class: "close-btn",
1146
- onClick: _cache[0] || (_cache[0] = $event => (activeIdx.value = -1))
1147
- }, {
1148
- default: withCtx(() => _cache[2] || (_cache[2] = [
1149
- createTextVNode("✕")
1150
- ])),
1151
- _: 1 /* STABLE */
1152
- }),
1137
+ createElementVNode("div", _hoisted_2, [
1138
+ createVNode(VBtn, {
1139
+ icon: "",
1140
+ variant: "text",
1141
+ class: "close-btn",
1142
+ onClick: _cache[0] || (_cache[0] = $event => (activeIdx.value = -1))
1143
+ }, {
1144
+ default: withCtx(() => _cache[2] || (_cache[2] = [
1145
+ createTextVNode("✕")
1146
+ ])),
1147
+ _: 1 /* STABLE */
1148
+ })
1149
+ ]),
1153
1150
  (openBlock(), createBlock(Suspense, { suspensible: "" }, {
1154
1151
  default: withCtx(() => [
1155
- withDirectives(createElementVNode("div", _hoisted_2, [
1152
+ withDirectives(createElementVNode("div", _hoisted_3, [
1156
1153
  (openBlock(), createBlock(resolveDynamicComponent(importedWidget.value.component), mergeProps({
1157
1154
  key: importedWidget.value.id,
1158
1155
  ref_for: true
@@ -1205,6 +1202,6 @@ return (_ctx, _cache) => {
1205
1202
  }
1206
1203
 
1207
1204
  };
1208
- const MobileLayout = /*#__PURE__*/_export_sfc(_sfc_main, [['__scopeId',"data-v-e69b9875"]]);
1205
+ const MobileLayout = /*#__PURE__*/_export_sfc(_sfc_main, [['__scopeId',"data-v-36affbb0"]]);
1209
1206
 
1210
1207
  export { MobileLayout as default };
@@ -1,7 +1,7 @@
1
- import { createVNode, Transition, mergeProps, ref, watch, nextTick, toRef, mergeModels, useModel, openBlock, createElementBlock, withCtx, createBlock, resolveDynamicComponent, unref, createCommentVNode, renderSlot } from 'vue';
2
- import { g as genericComponent, p as propsFactory, j as useProxiedModel, x as IN_BROWSER, a as useRender, z as focusableChildren, R as VDefaultsProvider, L as makeBorderProps, b as makeComponentProps, J as makeDimensionProps, M as makeElevationProps, aj as makeLocationProps, ak as makePositionProps, N as makeRoundedProps, c as makeTagProps, d as makeThemeProps, e as provideTheme, C as useBackgroundColor, O as useBorder, K as useDimension, P as useElevation, ao as useLocation, ap as usePosition, Q as useRounded, G as useDefineWidgets } from './asWebComponent-BsbKnhGV.js';
3
- import { m as makeVOverlayProps, V as VOverlay } from './VOverlay-ClFjEtlD.js';
4
- import { a as animate, d as deceleratedEasing, s as standardEasing, c as acceleratedEasing, g as getTargetBox, n as nullifyTransforms, b as useScopeId, f as forwardRefs } from './forwardRefs-I2EA3z3_.js';
1
+ import { createVNode, Transition, mergeProps, ref, onBeforeUnmount, watch, nextTick, toRef, mergeModels, useModel, openBlock, createElementBlock, withCtx, createBlock, resolveDynamicComponent, unref, createCommentVNode, renderSlot } from 'vue';
2
+ import { g as genericComponent, p as propsFactory, j as useProxiedModel, x as IN_BROWSER, a as useRender, z as focusableChildren, Q as VDefaultsProvider, K as makeBorderProps, b as makeComponentProps, H as makeDimensionProps, L as makeElevationProps, at as makeLocationProps, au as makePositionProps, M as makeRoundedProps, c as makeTagProps, d as makeThemeProps, e as provideTheme, C as useBackgroundColor, N as useBorder, J as useDimension, O as useElevation, ay as useLocation, az as usePosition, P as useRounded, aI as useDefineWidgets } from './asWebComponent-BRGyP_j5.js';
3
+ import { m as makeVOverlayProps, V as VOverlay } from './VOverlay-D89omJis.js';
4
+ import { a as animate, d as deceleratedEasing, s as standardEasing, c as acceleratedEasing, g as getTargetBox, n as nullifyTransforms, b as useScopeId, f as forwardRefs } from './forwardRefs-CYrR6bMw.js';
5
5
 
6
6
  const makeVDialogTransitionProps = propsFactory({
7
7
  target: [Object, Array]
@@ -195,6 +195,9 @@ const VDialog = genericComponent()({
195
195
  }
196
196
  }
197
197
  }
198
+ onBeforeUnmount(() => {
199
+ document.removeEventListener('focusin', onFocusin);
200
+ });
198
201
  if (IN_BROWSER) {
199
202
  watch(() => isActive.value && props.retainFocus, val => {
200
203
  val ? document.addEventListener('focusin', onFocusin) : document.removeEventListener('focusin', onFocusin);
@@ -242,6 +245,10 @@ const VDialog = genericComponent()({
242
245
  "aria-modal": "true",
243
246
  "activatorProps": activatorProps,
244
247
  "contentProps": contentProps,
248
+ "height": !props.fullscreen ? props.height : undefined,
249
+ "width": !props.fullscreen ? props.width : undefined,
250
+ "maxHeight": !props.fullscreen ? props.maxHeight : undefined,
251
+ "maxWidth": !props.fullscreen ? props.maxWidth : undefined,
245
252
  "role": "dialog",
246
253
  "onAfterEnter": onAfterEnter,
247
254
  "onAfterLeave": onAfterLeave
@@ -326,6 +333,22 @@ const _sfc_main = {
326
333
  type: Object,
327
334
  default: undefined,
328
335
  },
336
+ maxWidth: {
337
+ type: String,
338
+ default: "500px",
339
+ },
340
+ maxHeight: {
341
+ type: String,
342
+ default: "500px",
343
+ },
344
+ width: {
345
+ type: String,
346
+ default: "500px",
347
+ },
348
+ height: {
349
+ type: String,
350
+ default: "500px",
351
+ },
329
352
  }, {
330
353
  "modelValue": { type: Boolean, required: true, default: false },
331
354
  "modelModifiers": {},
@@ -337,6 +360,13 @@ const dialog = useModel(__props, "modelValue");
337
360
 
338
361
  const props = __props;
339
362
 
363
+ const config = {
364
+ maxWidth: props.maxWidth,
365
+ maxHeight: props.maxHeight,
366
+ width: props.width,
367
+ height: props.height,
368
+ };
369
+
340
370
  const [definedWidget] = useDefineWidgets([props?.widget]);
341
371
 
342
372
  return (_ctx, _cache) => {
@@ -344,16 +374,14 @@ return (_ctx, _cache) => {
344
374
 
345
375
 
346
376
  return (openBlock(), createElementBlock("span", null, [
347
- createVNode(VDialog, {
348
- "max-width": "500px",
349
- "max-height": "500px",
377
+ createVNode(VDialog, mergeProps(config, {
350
378
  absolute: "",
351
379
  scrollable: "",
352
380
  "scroll-strategy": "block",
353
381
  "close-on-back": "",
354
382
  modelValue: dialog.value,
355
383
  "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => ((dialog).value = $event))
356
- }, {
384
+ }), {
357
385
  default: withCtx(() => [
358
386
  createVNode(VSheet, null, {
359
387
  default: withCtx(() => [
@@ -372,7 +400,7 @@ return (_ctx, _cache) => {
372
400
  })
373
401
  ]),
374
402
  _: 3 /* FORWARDED */
375
- }, 8 /* PROPS */, ["modelValue"])
403
+ }, 16 /* FULL_PROPS */, ["modelValue"])
376
404
  ]))
377
405
  }
378
406
  }
@@ -1,6 +1,6 @@
1
1
  import { createVNode, computed, toRef, shallowRef, ref, watch, onBeforeMount, nextTick, onBeforeUnmount, withDirectives, mergeProps, Fragment, resolveDirective, vShow } from 'vue';
2
- import { aw as SUPPORTS_INTERSECTION, p as propsFactory, b as makeComponentProps, J as makeDimensionProps, g as genericComponent, K as useDimension, a as useRender, N as makeRoundedProps, C as useBackgroundColor, Q as useRounded, ax as getCurrentInstance, q as convertToUnit } from './asWebComponent-BsbKnhGV.js';
3
- import { m as makeTransitionProps, M as MaybeTransition } from './transition-DJ9gfiuP.js';
2
+ import { aG as SUPPORTS_INTERSECTION, p as propsFactory, b as makeComponentProps, H as makeDimensionProps, g as genericComponent, J as useDimension, a as useRender, M as makeRoundedProps, C as useBackgroundColor, P as useRounded, aH as getCurrentInstance, q as convertToUnit } from './asWebComponent-BRGyP_j5.js';
3
+ import { m as makeTransitionProps, M as MaybeTransition } from './transition-DG9nRSW4.js';
4
4
 
5
5
  // Utilities
6
6
  function mounted(el, binding) {
@@ -1,5 +1,5 @@
1
1
  import { createVNode } from 'vue';
2
- import { p as propsFactory, b as makeComponentProps, J as makeDimensionProps, c as makeTagProps, g as genericComponent, K as useDimension, H as useLayout, a as useRender } from './asWebComponent-BsbKnhGV.js';
2
+ import { p as propsFactory, b as makeComponentProps, H as makeDimensionProps, c as makeTagProps, g as genericComponent, J as useDimension, G as useLayout, a as useRender } from './asWebComponent-BRGyP_j5.js';
3
3
  import { u as useSsrBoot } from './ssrBoot-BP7SYRyC.js';
4
4
 
5
5
  const makeVMainProps = propsFactory({
@@ -1,7 +1,7 @@
1
1
  import { ref, watch, onScopeDispose, computed, nextTick, watchEffect, effectScope, inject, mergeProps, shallowRef, onMounted, reactive, provide, readonly, toRaw, warn, toRef, onBeforeUnmount, createVNode, Fragment, Teleport, withDirectives, vShow, resolveDirective, Transition } from 'vue';
2
- import { ay as isOn, az as eventName, p as propsFactory, x as IN_BROWSER, W as useToggleScope, aA as destructComputed, aB as parseAnchor, aC as flipSide, aD as flipAlign, aE as flipCorner, aF as consoleError, aG as getAxis, q as convertToUnit, S as clamp, aH as defer, ax as getCurrentInstance, aI as templateRef, aJ as matchesSelector, t as useDisplay, b as makeComponentProps, J as makeDimensionProps, d as makeThemeProps, g as genericComponent, j as useProxiedModel, e as provideTheme, f as useRtl, C as useBackgroundColor, K as useDimension, aK as useRouter, a as useRender, aL as useBackButton } from './asWebComponent-BsbKnhGV.js';
3
- import { g as getTargetBox, B as Box, e as getOverflow, n as nullifyTransforms, m as makeLazyProps, u as useLazy, b as useScopeId, a as animate, s as standardEasing } from './forwardRefs-I2EA3z3_.js';
4
- import { m as makeTransitionProps, M as MaybeTransition } from './transition-DJ9gfiuP.js';
2
+ import { aJ as isOn, aK as eventName, p as propsFactory, x as IN_BROWSER, U as useToggleScope, aL as destructComputed, aM as parseAnchor, aN as flipSide, aO as flipAlign, aP as flipCorner, Y as consoleError, aQ as getAxis, q as convertToUnit, R as clamp, aR as defer, aH as getCurrentInstance, aS as templateRef, aT as matchesSelector, t as useDisplay, b as makeComponentProps, H as makeDimensionProps, d as makeThemeProps, g as genericComponent, j as useProxiedModel, e as provideTheme, f as useRtl, C as useBackgroundColor, J as useDimension, aU as useRouter, a as useRender, aV as useBackButton } from './asWebComponent-BRGyP_j5.js';
3
+ import { g as getTargetBox, B as Box, e as getOverflow, n as nullifyTransforms, m as makeLazyProps, u as useLazy, b as useScopeId, a as animate, s as standardEasing } from './forwardRefs-CYrR6bMw.js';
4
+ import { m as makeTransitionProps, M as MaybeTransition } from './transition-DG9nRSW4.js';
5
5
 
6
6
  // Utilities
7
7
  const handlers = new WeakMap();
@@ -0,0 +1,86 @@
1
+ import { computed, ref, mergeProps, createVNode } from 'vue';
2
+ import { m as makeVOverlayProps, V as VOverlay } from './VOverlay-D89omJis.js';
3
+ import { b as useScopeId, f as forwardRefs } from './forwardRefs-CYrR6bMw.js';
4
+ import { p as propsFactory, o as omit, g as genericComponent, j as useProxiedModel, al as getUid, a as useRender } from './asWebComponent-BRGyP_j5.js';
5
+
6
+ const makeVTooltipProps = propsFactory({
7
+ id: String,
8
+ text: String,
9
+ ...omit(makeVOverlayProps({
10
+ closeOnBack: false,
11
+ location: 'end',
12
+ locationStrategy: 'connected',
13
+ eager: true,
14
+ minWidth: 0,
15
+ offset: 10,
16
+ openOnClick: false,
17
+ openOnHover: true,
18
+ origin: 'auto',
19
+ scrim: false,
20
+ scrollStrategy: 'reposition',
21
+ transition: false
22
+ }), ['absolute', 'persistent'])
23
+ }, 'VTooltip');
24
+ const VTooltip = genericComponent()({
25
+ name: 'VTooltip',
26
+ props: makeVTooltipProps(),
27
+ emits: {
28
+ 'update:modelValue': value => true
29
+ },
30
+ setup(props, _ref) {
31
+ let {
32
+ slots
33
+ } = _ref;
34
+ const isActive = useProxiedModel(props, 'modelValue');
35
+ const {
36
+ scopeId
37
+ } = useScopeId();
38
+ const uid = getUid();
39
+ const id = computed(() => props.id || `v-tooltip-${uid}`);
40
+ const overlay = ref();
41
+ const location = computed(() => {
42
+ return props.location.split(' ').length > 1 ? props.location : props.location + ' center';
43
+ });
44
+ const origin = computed(() => {
45
+ return props.origin === 'auto' || props.origin === 'overlap' || props.origin.split(' ').length > 1 || props.location.split(' ').length > 1 ? props.origin : props.origin + ' center';
46
+ });
47
+ const transition = computed(() => {
48
+ if (props.transition) return props.transition;
49
+ return isActive.value ? 'scale-transition' : 'fade-transition';
50
+ });
51
+ const activatorProps = computed(() => mergeProps({
52
+ 'aria-describedby': id.value
53
+ }, props.activatorProps));
54
+ useRender(() => {
55
+ const overlayProps = VOverlay.filterProps(props);
56
+ return createVNode(VOverlay, mergeProps({
57
+ "ref": overlay,
58
+ "class": ['v-tooltip', props.class],
59
+ "style": props.style,
60
+ "id": id.value
61
+ }, overlayProps, {
62
+ "modelValue": isActive.value,
63
+ "onUpdate:modelValue": $event => isActive.value = $event,
64
+ "transition": transition.value,
65
+ "absolute": true,
66
+ "location": location.value,
67
+ "origin": origin.value,
68
+ "persistent": true,
69
+ "role": "tooltip",
70
+ "activatorProps": activatorProps.value,
71
+ "_disableGlobalStack": true
72
+ }, scopeId), {
73
+ activator: slots.activator,
74
+ default: function () {
75
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
76
+ args[_key] = arguments[_key];
77
+ }
78
+ return slots.default?.(...args) ?? props.text;
79
+ }
80
+ });
81
+ });
82
+ return forwardRefs({}, overlay);
83
+ }
84
+ });
85
+
86
+ export { VTooltip as V };
@@ -1,5 +1,5 @@
1
1
  import { ref, onMounted, nextTick, openBlock, createElementBlock, Fragment, renderList, unref, createElementVNode, toDisplayString, normalizeStyle, createBlock, resolveDynamicComponent, mergeProps } from 'vue';
2
- import { G as useDefineWidgets, H as useLayout } from './asWebComponent-BsbKnhGV.js';
2
+ import { aI as useDefineWidgets, G as useLayout } from './asWebComponent-BRGyP_j5.js';
3
3
  import 'animated-details';
4
4
 
5
5
  const _sfc_main = {