@eodash/eodash 5.3.3 → 5.5.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 (115) hide show
  1. package/core/client/asWebComponent.js +1 -1
  2. package/core/client/composables/DefineEodash.js +3 -1
  3. package/core/client/composables/DefineWidgets.js +12 -2
  4. package/core/client/eodashSTAC/EodashCollection.js +20 -37
  5. package/core/client/eodashSTAC/createLayers.js +306 -136
  6. package/core/client/eodashSTAC/helpers.js +60 -40
  7. package/core/client/eodashSTAC/parquet.js +2 -0
  8. package/core/client/eodashSTAC/triggers.js +5 -5
  9. package/core/client/store/actions.js +17 -17
  10. package/core/client/store/states.js +26 -4
  11. package/core/client/types.ts +12 -1
  12. package/core/client/utils/index.js +18 -1
  13. package/dist/client/{DashboardLayout-Cp8Rv3Ef.js → DashboardLayout-CkSgvaFF.js} +2 -2
  14. package/dist/client/{DynamicWebComponent-CBsxC82P.js → DynamicWebComponent-Ncsg6fb9.js} +1 -1
  15. package/dist/client/EodashChart-5v7adDpG.js +144 -0
  16. package/dist/client/{EodashDatePicker-Dewym-cx.js → EodashDatePicker-RoQJe6ss.js} +4 -4
  17. package/dist/client/{EodashItemFilter-CAsZpOoQ.js → EodashItemFilter-CCoVC5BE.js} +2 -2
  18. package/dist/client/{EodashLayerControl-fn-rt8Ac.js → EodashLayerControl-weVj7aQA.js} +2 -2
  19. package/dist/client/{EodashLayoutSwitcher-B9XqQXCS.js → EodashLayoutSwitcher-CL-Z9d5_.js} +3 -3
  20. package/dist/client/EodashMapBtns-CXU8IuPO.js +433 -0
  21. package/dist/client/{EodashStacInfo-lxBKoav9.js → EodashStacInfo-BbMnjf-n.js} +11 -15
  22. package/dist/client/{EodashTimeSlider-DI97QkNT.js → EodashTimeSlider-BZXnqfax.js} +2 -2
  23. package/dist/client/{EodashTools-D5ShUT1g.js → EodashTools-DUJlkkgx.js} +4 -4
  24. package/dist/client/{ExportState-ruNyRS2E.js → ExportState-CT3FQOHW.js} +46 -21
  25. package/dist/client/{Footer-IQNyfd78.js → Footer-D_iqP-1K.js} +1 -1
  26. package/dist/client/{Header-BBdi_-Lp.js → Header-Dzhnvsy-.js} +127 -17
  27. package/dist/client/MobileLayout-6Rg_PSO8.js +118 -0
  28. package/dist/client/{PopUp-DRgOmD7-.js → PopUp-DPPv_GSA.js} +8 -59
  29. package/dist/client/{ProcessList-DxyCFQdz.js → ProcessList-BIN_Mb27.js} +9 -13
  30. package/dist/client/{VImg-hwmwzSwG.js → VImg-DhbuvNrA.js} +2 -2
  31. package/dist/client/{VMain-vk4-rkw-.js → VMain-CVabY_NY.js} +1 -1
  32. package/dist/client/{VTooltip-BYUZeia1.js → VTooltip-Cc6au3Sn.js} +3 -4
  33. package/dist/client/{WidgetsContainer-DXD_8rqh.js → WidgetsContainer-ChqTJS4h.js} +1 -1
  34. package/dist/client/asWebComponent-DaIxULaA.js +9207 -0
  35. package/dist/client/{async-D1MvO_Z_.js → async-D6Lvv-fT.js} +15 -5
  36. package/dist/client/eo-dash.js +1 -1
  37. package/dist/client/{forwardRefs-DM-E2MfG.js → forwardRefs--IccUBdR.js} +196 -37
  38. package/dist/client/{handling-CbgeKrqT.js → handling-DSA67d6E.js} +160 -37
  39. package/dist/client/{helpers-CtUlAW0N.js → helpers-BBSdbOmv.js} +239 -126
  40. package/dist/client/{index-DBo0F4Fv.js → index-6LlXNkke.js} +5 -3
  41. package/dist/client/{index-BJvLt3Xf.js → index-BS-8Y5FE.js} +34 -77
  42. package/dist/client/{index-BkW06-Lg.js → index-CQihL_c6.js} +55 -15
  43. package/dist/client/{index-BxDh5v-H.js → index-qsZhYR_6.js} +15 -16
  44. package/dist/client/templates.js +52 -2
  45. package/dist/client/{transition-BdzATvPB.js → transition-DFr4cXu8.js} +1 -1
  46. package/dist/node/cli.js +1 -1
  47. package/dist/types/core/client/App.vue.d.ts +16 -6
  48. package/dist/types/core/client/asWebComponent.d.ts +2 -2
  49. package/dist/types/core/client/components/DashboardLayout.vue.d.ts +2 -1
  50. package/dist/types/core/client/components/DynamicWebComponent.vue.d.ts +36 -16
  51. package/dist/types/core/client/components/EodashOverlay.vue.d.ts +2 -1
  52. package/dist/types/core/client/components/ErrorAlert.vue.d.ts +9 -1
  53. package/dist/types/core/client/components/Footer.vue.d.ts +2 -1
  54. package/dist/types/core/client/components/Header.vue.d.ts +2 -1
  55. package/dist/types/core/client/components/IframeWrapper.vue.d.ts +12 -6
  56. package/dist/types/core/client/components/Loading.vue.d.ts +2 -1
  57. package/dist/types/core/client/components/MobileLayout.vue.d.ts +2 -1
  58. package/dist/types/core/client/composables/DefineEodash.d.ts +1 -1
  59. package/dist/types/core/client/eodashSTAC/EodashCollection.d.ts +27 -11
  60. package/dist/types/core/client/eodashSTAC/createLayers.d.ts +30 -23
  61. package/dist/types/core/client/eodashSTAC/helpers.d.ts +11 -4
  62. package/dist/types/core/client/store/actions.d.ts +1 -2
  63. package/dist/types/core/client/store/states.d.ts +22 -4
  64. package/dist/types/core/client/types.d.ts +7 -2
  65. package/dist/types/core/client/utils/index.d.ts +1 -0
  66. package/dist/types/core/client/views/Dashboard.vue.d.ts +20 -8
  67. package/dist/types/templates/compare.d.ts +20 -0
  68. package/dist/types/templates/expert.d.ts +30 -1
  69. package/dist/types/widgets/EodashChart.vue.d.ts +28 -0
  70. package/dist/types/widgets/EodashDatePicker.vue.d.ts +38 -9
  71. package/dist/types/widgets/EodashItemCatalog/index.vue.d.ts +88 -13
  72. package/dist/types/widgets/EodashItemCatalog/methods/map.d.ts +1 -1
  73. package/dist/types/widgets/EodashItemFilter.vue.d.ts +169 -26
  74. package/dist/types/widgets/EodashLayerControl.vue.d.ts +38 -10
  75. package/dist/types/widgets/EodashLayoutSwitcher.vue.d.ts +22 -7
  76. package/dist/types/widgets/EodashMap/EodashMapBtns.vue.d.ts +94 -19
  77. package/dist/types/widgets/EodashMap/index.vue.d.ts +647 -92
  78. package/dist/types/widgets/EodashMap/methods/btns.d.ts +14 -0
  79. package/dist/types/widgets/EodashProcess/ProcessList.vue.d.ts +24 -7
  80. package/dist/types/widgets/EodashProcess/index.vue.d.ts +26 -7
  81. package/dist/types/widgets/EodashProcess/methods/composables.d.ts +1 -2
  82. package/dist/types/widgets/EodashProcess/methods/handling.d.ts +18 -11
  83. package/dist/types/widgets/EodashProcess/methods/outputs.d.ts +2 -2
  84. package/dist/types/widgets/EodashProcess/methods/utils.d.ts +1 -0
  85. package/dist/types/widgets/EodashStacInfo.vue.d.ts +67 -18
  86. package/dist/types/widgets/EodashTimeSlider.vue.d.ts +14 -6
  87. package/dist/types/widgets/EodashTools.vue.d.ts +437 -47
  88. package/dist/types/widgets/ExportState.vue.d.ts +26 -8
  89. package/dist/types/widgets/PopUp.vue.d.ts +61 -11
  90. package/dist/types/widgets/WidgetsContainer.vue.d.ts +22 -6
  91. package/package.json +33 -34
  92. package/templates/baseConfig.js +2 -1
  93. package/templates/compare.js +28 -1
  94. package/templates/expert.js +23 -1
  95. package/widgets/EodashChart.vue +139 -0
  96. package/widgets/EodashItemCatalog/index.vue +2 -2
  97. package/widgets/EodashItemCatalog/methods/map.js +9 -10
  98. package/widgets/EodashMap/EodashMapBtns.vue +73 -93
  99. package/widgets/EodashMap/index.vue +14 -2
  100. package/widgets/EodashMap/methods/btns.js +155 -0
  101. package/widgets/EodashMap/methods/create-layers-config.js +26 -3
  102. package/widgets/EodashMap/methods/index.js +2 -1
  103. package/widgets/EodashProcess/ProcessList.vue +2 -3
  104. package/widgets/EodashProcess/index.vue +19 -70
  105. package/widgets/EodashProcess/methods/async.js +1 -1
  106. package/widgets/EodashProcess/methods/composables.js +13 -6
  107. package/widgets/EodashProcess/methods/custom-endpoints/chart/veda-endpoint.js +20 -7
  108. package/widgets/EodashProcess/methods/handling.js +100 -22
  109. package/widgets/EodashProcess/methods/outputs.js +44 -4
  110. package/widgets/EodashProcess/methods/utils.js +11 -1
  111. package/widgets/EodashStacInfo.vue +10 -23
  112. package/widgets/ExportState.vue +9 -15
  113. package/dist/client/EodashMapBtns-nFY6MIAX.js +0 -301
  114. package/dist/client/MobileLayout-BfBeF-JF.js +0 -118
  115. package/dist/client/asWebComponent-DdguWGDI.js +0 -8967
@@ -2,8 +2,8 @@ export { default as store } from "./store";
2
2
  export function register(): void;
3
3
  /**
4
4
  * @type {import("vue").VueElementConstructor<
5
- * import("vue").ExtractPropTypes<{ config: string }>>}
5
+ * import("vue").ExtractPropTypes<{ config?: string | Function }>>}
6
6
  * */
7
7
  export const EodashConstructor: import("vue").VueElementConstructor<import("vue").ExtractPropTypes<{
8
- config: string;
8
+ config?: string | Function;
9
9
  }>>;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,18 +1,38 @@
1
- declare const _default: import("vue").DefineComponent<{}, {
2
- properties: Record<string, any>;
3
- link: string | Function;
4
- tagName: string;
5
- constructorProp?: string | undefined;
6
- onMounted?: Function | undefined;
7
- onUnmounted?: Function | undefined;
8
- $props: {
9
- readonly properties?: Record<string, any> | undefined;
10
- readonly link?: string | Function | undefined;
11
- readonly tagName?: string | undefined;
12
- readonly constructorProp?: string | undefined;
13
- readonly onMounted?: Function | undefined;
14
- readonly onUnmounted?: Function | undefined;
15
- };
16
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
17
2
  export default _default;
18
3
  export type CustomElement = HTMLElement & Record<string | number | symbol, unknown>;
4
+ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
+ link: {
6
+ type: (StringConstructor | FunctionConstructor)[];
7
+ required: true;
8
+ };
9
+ constructorProp: StringConstructor;
10
+ tagName: {
11
+ type: StringConstructor;
12
+ required: true;
13
+ };
14
+ properties: {
15
+ type: ObjectConstructor;
16
+ default: () => {};
17
+ };
18
+ onMounted: FunctionConstructor;
19
+ onUnmounted: FunctionConstructor;
20
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
21
+ link: {
22
+ type: (StringConstructor | FunctionConstructor)[];
23
+ required: true;
24
+ };
25
+ constructorProp: StringConstructor;
26
+ tagName: {
27
+ type: StringConstructor;
28
+ required: true;
29
+ };
30
+ properties: {
31
+ type: ObjectConstructor;
32
+ default: () => {};
33
+ };
34
+ onMounted: FunctionConstructor;
35
+ onUnmounted: FunctionConstructor;
36
+ }>> & Readonly<{}>, {
37
+ properties: Record<string, any>;
38
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,10 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
4
+ "update:modelValue": (value: string) => any;
5
+ }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
6
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
7
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
+ type __VLS_ModelProps = {
9
+ modelValue: string;
10
+ };
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,7 +1,13 @@
1
- declare const _default: import("vue").DefineComponent<{}, {
2
- src: string;
3
- $props: {
4
- readonly src?: string | undefined;
5
- };
6
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
7
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ src: {
5
+ type: StringConstructor;
6
+ required: true;
7
+ };
8
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
9
+ src: {
10
+ type: StringConstructor;
11
+ required: true;
12
+ };
13
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,2 @@
1
- export function useEodashRuntime(runtimeConfig: string | undefined | (() => Promise<import("../types").Eodash>) | Function): Promise<import("../types").Eodash | null | undefined>;
1
+ export function useEodashRuntime(runtimeConfig?: string | undefined | (() => Promise<import("../types").Eodash>) | Function): Promise<import("../types").Eodash | null | undefined>;
2
2
  export function createEodash<T extends import("../types").Eodash>(config: T | ((store: typeof import("../store").default) => Promise<T>)): Promise<T>;
@@ -9,13 +9,21 @@ export class EodashCollection {
9
9
  type: string;
10
10
  source: {
11
11
  type: string;
12
- url: string;
13
- projection: string;
12
+ url: string | undefined;
13
+ format: {
14
+ type: string;
15
+ dataProjection: string;
16
+ };
14
17
  attributions: unknown;
15
18
  };
16
19
  properties: {
17
20
  layerConfig?: {
18
21
  style: import("../types").EodashStyleJson | undefined;
22
+ } | {
23
+ style: import("../types").EodashStyleJson | undefined;
24
+ schema: any;
25
+ legend: any;
26
+ type: string;
19
27
  } | undefined;
20
28
  id: string;
21
29
  title: string;
@@ -27,16 +35,18 @@ export class EodashCollection {
27
35
  type: string;
28
36
  source: {
29
37
  type: string;
30
- url: string | undefined;
31
- format: {
32
- type: string;
33
- dataProjection: string | undefined;
34
- };
35
- attributions: {}[];
38
+ projection: string;
39
+ attributions: unknown;
40
+ url: string;
36
41
  };
37
42
  properties: {
38
43
  layerConfig?: {
39
44
  style: import("../types").EodashStyleJson | undefined;
45
+ } | {
46
+ style: import("../types").EodashStyleJson | undefined;
47
+ schema: any;
48
+ legend: any;
49
+ type: string;
40
50
  } | undefined;
41
51
  id: string;
42
52
  title: string;
@@ -51,12 +61,19 @@ export class EodashCollection {
51
61
  sources: {
52
62
  url: string;
53
63
  attributions: unknown;
64
+ } | {
65
+ url: string;
66
+ attributions: unknown;
54
67
  }[];
55
68
  };
56
69
  properties: {
57
70
  id: string;
58
71
  title: string;
59
- layerConfig: Record<string, unknown> | undefined;
72
+ layerConfig: Record<string, unknown> | {
73
+ schema: any;
74
+ legend: any;
75
+ type: string;
76
+ } | undefined;
60
77
  layerDatetime: Record<string, unknown> | undefined;
61
78
  };
62
79
  style: import("../types").EodashStyleJson | undefined;
@@ -122,13 +139,12 @@ export class EodashCollection {
122
139
  createLayersJson: (itemOrDate?: import("stac-ts").StacItem | import("stac-ts").StacLink | Date) => Promise<Record<string, any>[]>;
123
140
  /**
124
141
  * @param {import("stac-ts").StacItem} item
125
- * @param {string} itemUrl
126
142
  * @param {string} title
127
143
  * @param {boolean} isObservationPoint
128
144
  * @param {string} [itemDatetime]
129
145
  * @returns {Promise<Record<string,any>[]>} layers
130
146
  * */
131
- buildJsonArray(item: import("stac-ts").StacItem, itemUrl: string, title: string, isObservationPoint: boolean, itemDatetime?: string): Promise<Record<string, any>[]>;
147
+ buildJsonArray(item: import("stac-ts").StacItem, title: string, isObservationPoint: boolean, itemDatetime?: string): Promise<Record<string, any>[]>;
132
148
  fetchCollection(): Promise<import("stac-ts").StacCollection>;
133
149
  /**
134
150
  * Returns all item links sorted by datetime ascendingly
@@ -2,25 +2,31 @@
2
2
  * @param {string} collectionId
3
3
  * @param {string} title
4
4
  * @param {Record<string,import("stac-ts").StacAsset>} assets
5
- * @param {import("stac-ts").StacItem } item
6
- * @param {import("../types").EodashStyleJson} [style]
7
- * @param {Record<string, unknown>} [layerConfig]
5
+ * @param {import("stac-ts").StacItem | import("stac-ts").StacCollection } stacObject
8
6
  * @param {Record<string, unknown>} [layerDatetime]
9
7
  * @param {object | null} [extraProperties]
10
8
  **/
11
- export function createLayersFromAssets(collectionId: string, title: string, assets: Record<string, import("stac-ts").StacAsset>, item: import("stac-ts").StacItem, style?: import("../types").EodashStyleJson, layerConfig?: Record<string, unknown>, layerDatetime?: Record<string, unknown>, extraProperties?: object | null): Promise<({
9
+ export function createLayersFromAssets(collectionId: string, title: string, assets: Record<string, import("stac-ts").StacAsset>, stacObject: import("stac-ts").StacItem | import("stac-ts").StacCollection, layerDatetime?: Record<string, unknown>, extraProperties?: object | null): Promise<({
12
10
  interactions: never[];
13
11
  style?: import("../types").EodashStyleJson | undefined;
14
12
  type: string;
15
13
  source: {
16
14
  type: string;
17
- url: string;
18
- projection: string;
15
+ url: string | undefined;
16
+ format: {
17
+ type: string;
18
+ dataProjection: string;
19
+ };
19
20
  attributions: unknown;
20
21
  };
21
22
  properties: {
22
23
  layerConfig?: {
23
24
  style: import("../types").EodashStyleJson | undefined;
25
+ } | {
26
+ style: import("../types").EodashStyleJson | undefined;
27
+ schema: any;
28
+ legend: any;
29
+ type: string;
24
30
  } | undefined;
25
31
  id: string;
26
32
  title: string;
@@ -32,16 +38,18 @@ export function createLayersFromAssets(collectionId: string, title: string, asse
32
38
  type: string;
33
39
  source: {
34
40
  type: string;
35
- url: string | undefined;
36
- format: {
37
- type: string;
38
- dataProjection: string | undefined;
39
- };
40
- attributions: {}[];
41
+ projection: string;
42
+ attributions: unknown;
43
+ url: string;
41
44
  };
42
45
  properties: {
43
46
  layerConfig?: {
44
47
  style: import("../types").EodashStyleJson | undefined;
48
+ } | {
49
+ style: import("../types").EodashStyleJson | undefined;
50
+ schema: any;
51
+ legend: any;
52
+ type: string;
45
53
  } | undefined;
46
54
  id: string;
47
55
  title: string;
@@ -56,23 +64,22 @@ export function createLayersFromAssets(collectionId: string, title: string, asse
56
64
  sources: {
57
65
  url: string;
58
66
  attributions: unknown;
67
+ } | {
68
+ url: string;
69
+ attributions: unknown;
59
70
  }[];
60
71
  };
61
72
  properties: {
62
73
  id: string;
63
74
  title: string;
64
- layerConfig: Record<string, unknown> | undefined;
75
+ layerConfig: Record<string, unknown> | {
76
+ schema: any;
77
+ legend: any;
78
+ type: string;
79
+ } | undefined;
65
80
  layerDatetime: Record<string, unknown> | undefined;
66
81
  };
67
82
  style: import("../types").EodashStyleJson | undefined;
68
83
  })[]>;
69
- /**
70
- * Implementation of a function that creates a layer from the render extention
71
- * @param {import("stac-ts").StacCollection | undefined | null} collection
72
- * @param {import("stac-ts").StacItem | undefined | null} item
73
- * @param {string} rasterURL
74
- * @param {Record<string, any>} [extraProperties]
75
- * @returns {import("@eox/map/src/layers").EOxLayerType<"Tile","XYZ">[]}
76
- */
77
- export function createLayerFromRender(rasterURL: string, collection: import("stac-ts").StacCollection | undefined | null, item: import("stac-ts").StacItem | undefined | null, extraProperties?: Record<string, any>): import("@eox/map/src/layers").EOxLayerType<"Tile", "XYZ">[];
78
- export function createLayersFromLinks(collectionId: string, title: string, item: import("stac-ts").StacItem, itemUrl: string, layerDatetime?: Record<string, any>, extraProperties?: object | null): Promise<Record<string, any>[]>;
84
+ export function createLayersFromLinks(collectionId: string, title: string, item: import("stac-ts").StacItem, layerDatetime?: Record<string, any>, extraProperties?: object | null, collection?: import("stac-ts").StacCollection): Promise<Record<string, any>[]>;
85
+ export function createLayerFromRender(rasterURL: string, collection: import("stac-ts").StacCollection | undefined | null, item: import("stac-ts").StacItem | undefined | null, extraProperties?: Record<string, any>): Promise<import("@eox/map/src/layers").EOxLayerType<"Tile", "XYZ">[]>;
@@ -14,13 +14,14 @@ export function generateFeatures(links?: import("stac-ts").StacLink[], extraProp
14
14
  features: import("geojson").Feature<import("geojson").Geometry, import("geojson").GeoJsonProperties>[];
15
15
  };
16
16
  /**
17
- * Sperates and extracts layerConfig (jsonform schema & legend) from a style json
17
+ * Spearates and extracts layerConfig (jsonform schema & legend) from a style json
18
18
  *
19
19
  * @param {string} collectionId
20
20
  * @param { import("../types").EodashStyleJson} [style]
21
21
  * @param {Record<string,any>} [rasterJsonform]
22
+ * @param {string} [layerConfigType]
22
23
  * */
23
- export function extractLayerConfig(collectionId: string, style?: import("../types").EodashStyleJson, rasterJsonform?: Record<string, any>): {
24
+ export function extractLayerConfig(collectionId: string, style?: import("../types").EodashStyleJson, rasterJsonform?: Record<string, any>, layerConfigType?: string): {
24
25
  layerConfig: {
25
26
  schema: any;
26
27
  legend: any;
@@ -92,9 +93,14 @@ export function fetchApiItems(itemsUrl: string, query?: string, limit?: number,
92
93
  * @returns {object}
93
94
  */
94
95
  export function extractLayerLegend(collection: import("stac-ts").StacCollection | undefined | null): object;
96
+ /**
97
+ * @param { import ("stac-ts").StacLink } link
98
+ * @returns {object}
99
+ */
100
+ export function extractEoxLegendLink(link: import("stac-ts").StacLink): object;
95
101
  export function sanitizeBbox(bbox: number[]): number[];
96
102
  export function extractRoles(properties: Record<string, any>, linkOrAsset: import("stac-ts").StacLink | import("stac-ts").StacAsset): Record<string, any>;
97
- export function fetchStyle(item: import("stac-ts").StacItem, itemUrl: string, key?: string | undefined): Promise<{
103
+ export function fetchStyle(stacObject: import("stac-ts").StacItem | import("stac-ts").StacCollection, linkKey?: string | undefined, assetKey?: string | undefined): Promise<{
98
104
  "fill-color"?: import("ol/style/flat.js").ColorExpression | undefined;
99
105
  "fill-pattern-src"?: import("ol/style/flat.js").StringExpression | undefined;
100
106
  "fill-pattern-size"?: import("ol/style/flat.js").SizeExpression | undefined;
@@ -113,6 +119,7 @@ export function fetchStyle(item: import("stac-ts").StacItem, itemUrl: string, ke
113
119
  "stroke-pattern-offset-origin"?: import("ol/style/Icon.js").IconOrigin | undefined;
114
120
  "stroke-pattern-size"?: import("ol/style/flat.js").SizeExpression | undefined;
115
121
  "stroke-pattern-spacing"?: import("ol/style/flat.js").NumberExpression | undefined;
122
+ "stroke-pattern-start-offset"?: import("ol/style/flat.js").NumberExpression | undefined;
116
123
  "z-index"?: import("ol/style/flat.js").NumberExpression | undefined;
117
124
  "text-value"?: import("ol/style/flat.js").StringExpression | undefined;
118
125
  "text-font"?: import("ol/style/flat.js").StringExpression | undefined;
@@ -481,7 +488,7 @@ export function fetchStyle(item: import("stac-ts").StacItem, itemUrl: string, ke
481
488
  decimals?: number;
482
489
  }[];
483
490
  } | undefined>;
484
- export function fetchAllStyles(item: import("stac-ts").StacItem, itemUrl: string): Promise<Array<import("../types").EodashStyleJson>>;
491
+ export function fetchAllStyles(stacObject: import("stac-ts").StacItem | import("stac-ts").StacCollection): Promise<Array<import("../types").EodashStyleJson>>;
485
492
  export function getProjectionCode(projection?: string | number | {
486
493
  name: string;
487
494
  def: string;
@@ -1,7 +1,5 @@
1
1
  export function getLayers(): import("@eox/map").EoxLayer[];
2
2
  export function getCompareLayers(): import("@eox/map").EoxLayer[];
3
- export function getChartSpec(): import("vega-embed").VisualizationSpec | null;
4
- export function getCompareChartSpec(): import("vega-embed").VisualizationSpec | null;
5
3
  export function registerProjection(projection?: string | number | {
6
4
  name: string;
7
5
  def: string;
@@ -13,3 +11,4 @@ export function changeMapProjection(projection?: string | number | {
13
11
  }): Promise<void>;
14
12
  export function setActiveTemplate(template: string): void;
15
13
  export function includesProcess(collection: import("stac-ts").StacCollection | null | undefined, compare?: boolean): boolean;
14
+ export function shouldShowChartWidget(compare?: boolean): false | Record<string, any> | null;
@@ -30,7 +30,25 @@ export const poi: import("vue").Ref<string, string>;
30
30
  * Selected point of interest for comparison, used for location collections
31
31
  */
32
32
  export const comparePoi: import("vue").Ref<string, string>;
33
- /** @type {import("vue").Ref<import("@eox/chart").EOxChart | null>} */
34
- export const chartEl: import("vue").Ref<import("@eox/chart").EOxChart | null>;
35
- /** @type {import("vue").Ref<import("@eox/chart").EOxChart | null>} */
36
- export const compareChartEl: import("vue").Ref<import("@eox/chart").EOxChart | null>;
33
+ /** Whether the map is in globe mode */
34
+ export const isGlobe: import("vue").Ref<boolean, boolean>;
35
+ /** Whether the charts are in fullscreen mode
36
+ * @type {import("vue").Ref<boolean>}
37
+ */
38
+ export const areChartsSeparateLayout: import("vue").Ref<boolean>;
39
+ /** Holds main chart data
40
+ * @type {import("vue").Ref<Record<string,any>|null>}
41
+ */
42
+ export const chartData: import("vue").Ref<Record<string, any> | null>;
43
+ /** Holds compare chart data
44
+ * @type {import("vue").Ref<Record<string,any>|null>}
45
+ */
46
+ export const compareChartData: import("vue").Ref<Record<string, any> | null>;
47
+ /** Holds main chart spec
48
+ * @type {import("vue").Ref<import("vega-embed").VisualizationSpec | null>}
49
+ */
50
+ export const chartSpec: import("vue").Ref<import("vega-embed").VisualizationSpec | null>;
51
+ /** Holds compare chart spec
52
+ * @type {import("vue").Ref<import("vega-embed").VisualizationSpec | null>}
53
+ */
54
+ export const compareChartSpec: import("vue").Ref<import("vega-embed").VisualizationSpec | null>;
@@ -119,6 +119,11 @@ export interface TEodashProcess {
119
119
  properties?: InstanceType<typeof import("../../widgets/EodashProcess/index.vue").default>["$props"];
120
120
  }
121
121
  /** @group Widgets */
122
+ export interface TEodashChart {
123
+ name: "EodashChart";
124
+ properties?: InstanceType<typeof import("../../widgets/EodashChart.vue").default>["$props"];
125
+ }
126
+ /** @group Widgets */
122
127
  export interface TEodashMapBtns {
123
128
  name: "EodashMapBtns";
124
129
  properties?: InstanceType<typeof import("^/EodashMapBtns.vue").default>["$props"];
@@ -158,7 +163,7 @@ export interface TWidgetsContainer {
158
163
  * Referenced using their name without the .vue extention
159
164
  * @group Widgets
160
165
  */
161
- export type ComponentWidget = TEodashMap | TEodashDatePicker | TEodashItemFilter | TEodashLayerControl | TEodashStacInfo | TEodashProcess | TEodashMapBtns | TEodashTools | TEodashLayoutSwitcher | TEodashItemCatalog | TExportState | TPopUp | TWidgetsContainer | TEodashTimeSlider;
166
+ export type ComponentWidget = TEodashMap | TEodashDatePicker | TEodashItemFilter | TEodashLayerControl | TEodashStacInfo | TEodashProcess | TEodashChart | TEodashMapBtns | TEodashTools | TEodashLayoutSwitcher | TEodashItemCatalog | TExportState | TPopUp | TWidgetsContainer | TEodashTimeSlider;
162
167
  /**
163
168
  * Widget type: `internal` API. Internal widgets are Vue components provided by
164
169
  * eodash.
@@ -383,7 +388,7 @@ export type EodashRasterJSONForm = {
383
388
  legend?: import("@eox/layercontrol/src/components/layer-config.js").EOxLayerControlLayerConfig["layerConfig"]["legend"];
384
389
  };
385
390
  /** @ignore */
386
- export type LayersEventBusKeys = "layers:updated" | "time:updated" | "process:updated" | "compareLayers:updated" | "compareTime:updated" | "compareProcess:updated";
391
+ export type LayersEventBusKeys = "layers:updated" | "time:updated" | "process:updated" | "layertime:updated" | "compareLayers:updated" | "compareTime:updated" | "compareProcess:updated" | "compareLayertime:updated";
387
392
  /** @ignore */
388
393
  export interface SearchParams {
389
394
  /** Collection IDs to search within */
@@ -3,3 +3,4 @@ export function copyToClipBoard(text: string, showIcon: import("vue").Ref<boolea
3
3
  export function setCollectionsPalette(colors: string[]): void;
4
4
  export function updateEodashCollections(eodashCollections: import("../eodashSTAC/EodashCollection").EodashCollection[], selectedStac: import("stac-ts").StacCollection, absoluteUrl: string, colorPalette: string[], isAPI: boolean, rasterEndpoint?: string | null): Promise<void>;
5
5
  export function getElement(selector: Element | string): HTMLElement | null | undefined;
6
+ export function getOverlayParent(el: HTMLElement): HTMLElement | null;
@@ -1,9 +1,21 @@
1
- declare const _default: import("vue").DefineComponent<{}, {
2
- isWebComponent: boolean;
3
- config?: string | Function | undefined;
4
- $props: {
5
- readonly isWebComponent?: boolean | undefined;
6
- readonly config?: string | Function | undefined;
7
- };
8
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: typeof __VLS_export;
9
2
  export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ config: {
5
+ type: (StringConstructor | FunctionConstructor)[];
6
+ };
7
+ isWebComponent: {
8
+ type: BooleanConstructor;
9
+ default: boolean;
10
+ };
11
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
12
+ config: {
13
+ type: (StringConstructor | FunctionConstructor)[];
14
+ };
15
+ isWebComponent: {
16
+ type: BooleanConstructor;
17
+ default: boolean;
18
+ };
19
+ }>> & Readonly<{}>, {
20
+ isWebComponent: boolean;
21
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -156,6 +156,26 @@ declare const _default: {
156
156
  title?: undefined;
157
157
  layout?: undefined;
158
158
  widget?: undefined;
159
+ } | {
160
+ defineWidget: () => false | {
161
+ id: string;
162
+ type: "internal";
163
+ title: string;
164
+ layout: {
165
+ x: number;
166
+ y: number;
167
+ w: number;
168
+ h: number;
169
+ };
170
+ widget: {
171
+ name: "EodashChart";
172
+ };
173
+ } | null;
174
+ id?: undefined;
175
+ type?: undefined;
176
+ title?: undefined;
177
+ layout?: undefined;
178
+ widget?: undefined;
159
179
  } | {
160
180
  defineWidget: (selectedSTAC: import("stac-ts").StacCollection | null) => {
161
181
  id: string;
@@ -30,6 +30,7 @@ declare const _default: {
30
30
  };
31
31
  enableBackToPOIs: true;
32
32
  enableSearch: true;
33
+ enableGlobe: true;
33
34
  };
34
35
  btnsPosition: {
35
36
  x: string;
@@ -60,6 +61,7 @@ declare const _default: {
60
61
  imageProperty: string;
61
62
  aggregateResults: string;
62
63
  };
64
+ cssVars?: undefined;
63
65
  };
64
66
  };
65
67
  defineWidget?: undefined;
@@ -75,7 +77,14 @@ declare const _default: {
75
77
  };
76
78
  widget: {
77
79
  name: "EodashLayerControl";
78
- properties?: undefined;
80
+ properties: {
81
+ cssVars: {
82
+ "--list-padding": string;
83
+ };
84
+ layoutTarget?: undefined;
85
+ layoutIcon?: undefined;
86
+ itemFilterConfig?: undefined;
87
+ };
79
88
  };
80
89
  defineWidget?: undefined;
81
90
  } | {
@@ -142,6 +151,26 @@ declare const _default: {
142
151
  title?: undefined;
143
152
  layout?: undefined;
144
153
  widget?: undefined;
154
+ } | {
155
+ defineWidget: () => false | {
156
+ id: string;
157
+ type: "internal";
158
+ title: string;
159
+ layout: {
160
+ x: number;
161
+ y: number;
162
+ w: number;
163
+ h: number;
164
+ };
165
+ widget: {
166
+ name: "EodashChart";
167
+ };
168
+ } | null;
169
+ id?: undefined;
170
+ type?: undefined;
171
+ title?: undefined;
172
+ layout?: undefined;
173
+ widget?: undefined;
145
174
  })[];
146
175
  };
147
176
  export default _default;
@@ -0,0 +1,28 @@
1
+ declare const _default: typeof __VLS_export;
2
+ export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ enableCompare: {
5
+ type: BooleanConstructor;
6
+ default: boolean;
7
+ };
8
+ vegaEmbedOptions: {
9
+ type: ObjectConstructor;
10
+ default(): {
11
+ actions: boolean;
12
+ };
13
+ };
14
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
15
+ enableCompare: {
16
+ type: BooleanConstructor;
17
+ default: boolean;
18
+ };
19
+ vegaEmbedOptions: {
20
+ type: ObjectConstructor;
21
+ default(): {
22
+ actions: boolean;
23
+ };
24
+ };
25
+ }>> & Readonly<{}>, {
26
+ enableCompare: boolean;
27
+ vegaEmbedOptions: Record<string, any>;
28
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;