@eodash/eodash 5.0.0-processing → 5.0.0-rc.1

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 (112) hide show
  1. package/core/client/asWebComponent.js +2 -3
  2. package/core/client/components/DashboardLayout.vue +35 -17
  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 +23 -12
  9. package/core/client/composables/EodashProcess.js +10 -11
  10. package/core/client/composables/index.js +35 -10
  11. package/core/client/eodash.js +381 -139
  12. package/core/client/{utils/eodashSTAC.js → eodashSTAC/EodashCollection.js} +75 -42
  13. package/core/client/{utils → eodashSTAC}/createLayers.js +10 -8
  14. package/core/client/{utils → eodashSTAC}/helpers.js +45 -68
  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/states.js +8 -3
  23. package/core/client/views/Dashboard.vue +6 -4
  24. package/core/client/vite-env.d.ts +1 -1
  25. package/dist/client/{DashboardLayout-CVMJ4l8M.js → DashboardLayout-FS5inBIm.js} +12 -15
  26. package/dist/client/{DynamicWebComponent-Cv8n457T.js → DynamicWebComponent-CBSgT677.js} +1 -1
  27. package/dist/client/{EodashDatePicker-VVkiPmpc.js → EodashDatePicker-BGSS2ZYK.js} +75 -163
  28. package/dist/client/EodashItemFilter-CFNKjm_Z.js +151 -0
  29. package/dist/client/{EodashLayerControl-53WghA8G.js → EodashLayerControl-CzffoPUs.js} +17 -7
  30. package/dist/client/EodashLayoutSwitcher-DM0zDhvI.js +52 -0
  31. package/dist/client/{EodashMap-CQnOePpy.js → EodashMap-BdFZ657e.js} +101 -38
  32. package/dist/client/EodashMapBtns-rC_IPD-Z.js +107 -0
  33. package/dist/client/EodashProcess-SLsTISKV.js +714 -0
  34. package/dist/client/EodashStacInfo-DFD0gtWm.js +85 -0
  35. package/dist/client/EodashTools-ImohD2ys.js +103 -0
  36. package/dist/client/{ExportState-BT8MLAW7.js → ExportState-LNZAovzM.js} +13 -13
  37. package/dist/client/{Footer-C6GUG84G.js → Footer-c19dV1ZR.js} +1 -1
  38. package/dist/client/{Header-D2dtCWp8.js → Header-CcvXFqqt.js} +3 -3
  39. package/dist/client/{MobileLayout-BAo8Wr8T.js → MobileLayout-OM6Wc-vj.js} +28 -31
  40. package/dist/client/{PopUp-Bm01q7Ko.js → PopUp-B0_c0207.js} +29 -8
  41. package/dist/client/{VImg-B8AbetCE.js → VImg-BpDhCbL0.js} +2 -2
  42. package/dist/client/{VMain-DnGlQUyr.js → VMain-DC05bDwX.js} +1 -1
  43. package/dist/client/{VOverlay-B8Qj7LRG.js → VOverlay-C7EUyVe_.js} +3 -3
  44. package/dist/client/VTooltip-C78suika.js +86 -0
  45. package/dist/client/{WidgetsContainer-CwXRRLS1.js → WidgetsContainer-sD1vDnhF.js} +1 -1
  46. package/dist/client/{asWebComponent-DUUoR7MZ.js → asWebComponent-D8bMMCEr.js} +1374 -1052
  47. package/dist/client/{style.css → eo-dash.css} +1 -1
  48. package/dist/client/eo-dash.js +1 -1
  49. package/dist/client/{forwardRefs-CZJhEAKW.js → forwardRefs-yw6tFXER.js} +1 -1
  50. package/dist/client/{index-DlIO7sJ3.js → index-CpK_Yaom.js} +1 -1
  51. package/dist/client/{transition-BiR8wMn1.js → transition-B2YwqAYJ.js} +1 -1
  52. package/dist/node/cli.js +2 -2
  53. package/package.json +48 -37
  54. package/widgets/EodashDatePicker.vue +68 -54
  55. package/widgets/EodashItemFilter.vue +60 -105
  56. package/widgets/EodashLayerControl.vue +17 -4
  57. package/widgets/EodashLayoutSwitcher.vue +36 -0
  58. package/widgets/EodashMap.vue +26 -27
  59. package/widgets/EodashMapBtns.vue +41 -4
  60. package/widgets/EodashProcess.vue +4 -12
  61. package/widgets/EodashStacInfo.vue +82 -0
  62. package/widgets/EodashTools.vue +83 -0
  63. package/widgets/ExportState.vue +12 -12
  64. package/widgets/PopUp.vue +24 -2
  65. package/core/client/asWebComponent.d.ts +0 -23
  66. package/core/client/types.d.ts +0 -279
  67. package/dist/client/EodashItemFilter-CugWNQ86.js +0 -194
  68. package/dist/client/EodashMapBtns-uaRwFtfB.js +0 -66
  69. package/dist/client/EodashProcess-cF0unIy8.js +0 -1477
  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/DefineTemplate.d.ts +0 -15
  82. package/dist/types/core/client/composables/DefineWidgets.d.ts +0 -14
  83. package/dist/types/core/client/composables/EodashMap.d.ts +0 -5
  84. package/dist/types/core/client/composables/index.d.ts +0 -30
  85. package/dist/types/core/client/eodash.d.ts +0 -8
  86. package/dist/types/core/client/main.d.ts +0 -2
  87. package/dist/types/core/client/plugins/axios.d.ts +0 -2
  88. package/dist/types/core/client/plugins/index.d.ts +0 -3
  89. package/dist/types/core/client/plugins/vuetify.d.ts +0 -82
  90. package/dist/types/core/client/render.d.ts +0 -1
  91. package/dist/types/core/client/store/Actions.d.ts +0 -12
  92. package/dist/types/core/client/store/States.d.ts +0 -22
  93. package/dist/types/core/client/store/index.d.ts +0 -2
  94. package/dist/types/core/client/store/stac.d.ts +0 -25
  95. package/dist/types/core/client/utils/createLayers.d.ts +0 -45
  96. package/dist/types/core/client/utils/eodashSTAC.d.ts +0 -82
  97. package/dist/types/core/client/utils/helpers.d.ts +0 -84
  98. package/dist/types/core/client/utils/index.d.ts +0 -2
  99. package/dist/types/core/client/utils/keys.d.ts +0 -6
  100. package/dist/types/core/client/utils/states.d.ts +0 -14
  101. package/dist/types/core/client/views/Dashboard.vue.d.ts +0 -9
  102. package/dist/types/widgets/EodashDatePicker.vue.d.ts +0 -7
  103. package/dist/types/widgets/EodashItemFilter.vue.d.ts +0 -42
  104. package/dist/types/widgets/EodashLayerControl.vue.d.ts +0 -11
  105. package/dist/types/widgets/EodashLayoutSwitcher.vue.d.ts +0 -9
  106. package/dist/types/widgets/EodashMap.vue.d.ts +0 -7
  107. package/dist/types/widgets/EodashMapBtns.vue.d.ts +0 -11
  108. package/dist/types/widgets/EodashStacInfo.vue.d.ts +0 -21
  109. package/dist/types/widgets/EodashTools.vue.d.ts +0 -15
  110. package/dist/types/widgets/ExportState.vue.d.ts +0 -7
  111. package/dist/types/widgets/PopUp.vue.d.ts +0 -22
  112. 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-D8bMMCEr.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-B0_c0207.js';
3
+ import _sfc_main$3 from './EodashItemFilter-CFNKjm_Z.js';
4
+ import _sfc_main$1 from './EodashLayoutSwitcher-DM0zDhvI.js';
5
+ import { mdiViewDashboard, mdiPlus } from '@mdi/js';
6
+ import { t as useDisplay, a1 as makePanelTransparent, V as VBtn } from './asWebComponent-D8bMMCEr.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-Bm01q7Ko.js';
4
- import { ai 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, aj as makeSizeProps, d as makeThemeProps, ak as makeVariantProps, e as provideTheme, O as useBorder, al as useVariant, B as useDensity, Q as useRounded, am as useSize, y as VIcon, R as VDefaultsProvider, an as genOverlays, J as makeDimensionProps, M as makeElevationProps, ao as makeLoaderProps, ap as makeLocationProps, aq as makePositionProps, ar as makeRouterProps, as as Ripple, K as useDimension, P as useElevation, at as useLoader, au as useLocation, av as usePosition, aw as useLink, ax as LoaderSlot, u as useTextColor, q as convertToUnit, _ as _export_sfc, af as getLayers, aa as mapPosition, ay as removeUnneededProperties, a2 as VRow, az as VCol, V as VBtn, aA as copyToClipBoard } from './asWebComponent-DUUoR7MZ.js';
5
- import { a as VExpandTransition } from './index-DlIO7sJ3.js';
6
- import { V as VImg } from './VImg-B8AbetCE.js';
3
+ import _sfc_main$1 from './PopUp-B0_c0207.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, aC as removeUnneededProperties, aD as VRow, aE as VCol, V as VBtn, aF as copyToClipBoard, ad as mapPosition, a8 as availableMapProjection } from './asWebComponent-D8bMMCEr.js';
5
+ import { a as VExpandTransition } from './index-CpK_Yaom.js';
6
+ import { V as VImg } from './VImg-BpDhCbL0.js';
7
7
 
8
8
  // Styles
9
9
  const VSpacer = createSimpleFunctional('v-spacer', 'div', 'VSpacer');
@@ -491,7 +491,7 @@ const copySuccess = ref(false);
491
491
  const copyBtns = [
492
492
  {
493
493
  id: Symbol(),
494
- copyFn: async () => await copyToClipBoard(mapEntryCode.value, copySuccess),
494
+ copyFn: async () => await copyToClipBoard(getMapEntryCode(), copySuccess),
495
495
  copyAs: "simple map",
496
496
  },
497
497
  {
@@ -502,28 +502,28 @@ const copyBtns = [
502
502
  },
503
503
  {
504
504
  id: Symbol(),
505
- copyFn: async () => await copyToClipBoard(mapStepCode.value, copySuccess),
505
+ copyFn: async () => await copyToClipBoard(getMapStepCode(), copySuccess),
506
506
  copyAs: "map tour section",
507
507
  },
508
508
  ];
509
509
 
510
- const mapStepCode = computed(() => {
510
+ const getMapStepCode = () => {
511
511
  const [x, y, z] = mapPosition.value;
512
512
  const preTag = "### <!" + "--{ layers=";
513
- const endTag = `zoom="${z}" center=[${[x, y]}] animationOptions={duration:500}}-->
513
+ const endTag = `zoom="${z}" center=[${[x, y]}] projection="${availableMapProjection.value}" animationOptions={duration:500}}-->
514
514
  #### Tour step title
515
515
  Text describing the current step of the tour and why it is interesting what the map shows currently
516
516
  `;
517
517
  return `${preTag}'${JSON.stringify(removeUnneededProperties(props.getLayers()))}' ${endTag}`;
518
- });
519
- const mapEntryCode = computed(() => {
518
+ };
519
+ const getMapEntryCode = () => {
520
520
  const [x, y, z] = mapPosition.value;
521
521
  const preTag =
522
522
  "## Map Example <!" +
523
523
  '--{as="eox-map" style="width: 100%; height: 500px;" layers=';
524
- const endTag = `zoom="${z}" center=[${[x, y]}] }-->`;
524
+ const endTag = `zoom="${z}" center=[${[x, y]}] projection="${availableMapProjection.value}" }-->`;
525
525
  return `${preTag}'${JSON.stringify(removeUnneededProperties(props.getLayers()))}' ${endTag}`;
526
- });
526
+ };
527
527
 
528
528
  return (_ctx, _cache) => {
529
529
 
@@ -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-a263a06d"]]);
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-DUUoR7MZ.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-D8bMMCEr.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-DUUoR7MZ.js';
3
- import { a as VExpandTransition } from './index-DlIO7sJ3.js';
4
- import { V as VImg } from './VImg-B8AbetCE.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-D8bMMCEr.js';
3
+ import { a as VExpandTransition } from './index-CpK_Yaom.js';
4
+ import { V as VImg } from './VImg-BpDhCbL0.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-DUUoR7MZ.js';
3
- import { V as VMain } from './VMain-DnGlQUyr.js';
4
- import { f as forwardRefs, a as animate, s as standardEasing, m as makeLazyProps, u as useLazy, b as useScopeId } from './forwardRefs-CZJhEAKW.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-D8bMMCEr.js';
3
+ import { V as VMain } from './VMain-DC05bDwX.js';
4
+ import { f as forwardRefs, a as animate, s as standardEasing, m as makeLazyProps, u as useLazy, b as useScopeId } from './forwardRefs-yw6tFXER.js';
5
5
  import { u as useSsrBoot } from './ssrBoot-BP7SYRyC.js';
6
- import { M as MaybeTransition } from './transition-BiR8wMn1.js';
7
- import { V as VFadeTransition } from './index-DlIO7sJ3.js';
6
+ import { M as MaybeTransition } from './transition-B2YwqAYJ.js';
7
+ import { V as VFadeTransition } from './index-CpK_Yaom.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
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, R as VDefaultsProvider, L as makeBorderProps, b as makeComponentProps, J as makeDimensionProps, M as makeElevationProps, ap as makeLocationProps, aq 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, au as useLocation, av as usePosition, Q as useRounded, G as useDefineWidgets } from './asWebComponent-DUUoR7MZ.js';
3
- import { m as makeVOverlayProps, V as VOverlay } from './VOverlay-B8Qj7LRG.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-CZJhEAKW.js';
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-D8bMMCEr.js';
3
+ import { m as makeVOverlayProps, V as VOverlay } from './VOverlay-C7EUyVe_.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-yw6tFXER.js';
5
5
 
6
6
  const makeVDialogTransitionProps = propsFactory({
7
7
  target: [Object, Array]
@@ -333,6 +333,22 @@ const _sfc_main = {
333
333
  type: Object,
334
334
  default: undefined,
335
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
+ },
336
352
  }, {
337
353
  "modelValue": { type: Boolean, required: true, default: false },
338
354
  "modelModifiers": {},
@@ -344,6 +360,13 @@ const dialog = useModel(__props, "modelValue");
344
360
 
345
361
  const props = __props;
346
362
 
363
+ const config = {
364
+ maxWidth: props.maxWidth,
365
+ maxHeight: props.maxHeight,
366
+ width: props.width,
367
+ height: props.height,
368
+ };
369
+
347
370
  const [definedWidget] = useDefineWidgets([props?.widget]);
348
371
 
349
372
  return (_ctx, _cache) => {
@@ -351,16 +374,14 @@ return (_ctx, _cache) => {
351
374
 
352
375
 
353
376
  return (openBlock(), createElementBlock("span", null, [
354
- createVNode(VDialog, {
355
- "max-width": "500px",
356
- "max-height": "500px",
377
+ createVNode(VDialog, mergeProps(config, {
357
378
  absolute: "",
358
379
  scrollable: "",
359
380
  "scroll-strategy": "block",
360
381
  "close-on-back": "",
361
382
  modelValue: dialog.value,
362
383
  "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => ((dialog).value = $event))
363
- }, {
384
+ }), {
364
385
  default: withCtx(() => [
365
386
  createVNode(VSheet, null, {
366
387
  default: withCtx(() => [
@@ -379,7 +400,7 @@ return (_ctx, _cache) => {
379
400
  })
380
401
  ]),
381
402
  _: 3 /* FORWARDED */
382
- }, 8 /* PROPS */, ["modelValue"])
403
+ }, 16 /* FULL_PROPS */, ["modelValue"])
383
404
  ]))
384
405
  }
385
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 { aB 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, aC as getCurrentInstance, q as convertToUnit } from './asWebComponent-DUUoR7MZ.js';
3
- import { m as makeTransitionProps, M as MaybeTransition } from './transition-BiR8wMn1.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-D8bMMCEr.js';
3
+ import { m as makeTransitionProps, M as MaybeTransition } from './transition-B2YwqAYJ.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-DUUoR7MZ.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-D8bMMCEr.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 { aD as isOn, aE as eventName, p as propsFactory, x as IN_BROWSER, W as useToggleScope, aF as destructComputed, aG as parseAnchor, aH as flipSide, aI as flipAlign, aJ as flipCorner, Z as consoleError, aK as getAxis, q as convertToUnit, S as clamp, aL as defer, aC as getCurrentInstance, aM as templateRef, aN 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, aO as useRouter, a as useRender, aP as useBackButton } from './asWebComponent-DUUoR7MZ.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-CZJhEAKW.js';
4
- import { m as makeTransitionProps, M as MaybeTransition } from './transition-BiR8wMn1.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-D8bMMCEr.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-yw6tFXER.js';
4
+ import { m as makeTransitionProps, M as MaybeTransition } from './transition-B2YwqAYJ.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-C7EUyVe_.js';
3
+ import { b as useScopeId, f as forwardRefs } from './forwardRefs-yw6tFXER.js';
4
+ import { p as propsFactory, o as omit, g as genericComponent, j as useProxiedModel, al as getUid, a as useRender } from './asWebComponent-D8bMMCEr.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-DUUoR7MZ.js';
2
+ import { aI as useDefineWidgets, G as useLayout } from './asWebComponent-D8bMMCEr.js';
3
3
  import 'animated-details';
4
4
 
5
5
  const _sfc_main = {