@eodash/eodash 5.0.0-processing → 5.0.0-rc

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 (111) 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-232tRmjz.js} +12 -15
  26. package/dist/client/{DynamicWebComponent-Cv8n457T.js → DynamicWebComponent-Cl4LqHU6.js} +1 -1
  27. package/dist/client/{EodashDatePicker-VVkiPmpc.js → EodashDatePicker-Pok6bZwU.js} +75 -163
  28. package/dist/client/EodashItemFilter-16eMMjTV.js +151 -0
  29. package/dist/client/{EodashLayerControl-53WghA8G.js → EodashLayerControl-De7IlCm_.js} +17 -7
  30. package/dist/client/EodashLayoutSwitcher-C-3-jjn5.js +52 -0
  31. package/dist/client/{EodashMap-CQnOePpy.js → EodashMap-CMvbfI6-.js} +101 -38
  32. package/dist/client/EodashMapBtns-BeknGDtc.js +107 -0
  33. package/dist/client/{EodashProcess-cF0unIy8.js → EodashProcess-BwKAa9Ee.js} +9 -10
  34. package/dist/client/EodashStacInfo-_BfonNUG.js +85 -0
  35. package/dist/client/EodashTools-PD3XPYuR.js +103 -0
  36. package/dist/client/{ExportState-BT8MLAW7.js → ExportState-DOrT7M15.js} +5 -5
  37. package/dist/client/{Footer-C6GUG84G.js → Footer-CCigxYBo.js} +1 -1
  38. package/dist/client/{Header-D2dtCWp8.js → Header-C2cdx4gb.js} +3 -3
  39. package/dist/client/{MobileLayout-BAo8Wr8T.js → MobileLayout-BdiFjHg7.js} +28 -31
  40. package/dist/client/{PopUp-Bm01q7Ko.js → PopUp--_xn1Cms.js} +29 -8
  41. package/dist/client/{VImg-B8AbetCE.js → VImg-9xu2l99m.js} +2 -2
  42. package/dist/client/{VMain-DnGlQUyr.js → VMain-BUs3kDTd.js} +1 -1
  43. package/dist/client/{VOverlay-B8Qj7LRG.js → VOverlay-D89omJis.js} +3 -3
  44. package/dist/client/VTooltip-CDu3bErh.js +86 -0
  45. package/dist/client/{WidgetsContainer-CwXRRLS1.js → WidgetsContainer-aFG9yFT6.js} +1 -1
  46. package/dist/client/{asWebComponent-DUUoR7MZ.js → asWebComponent-BRGyP_j5.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-CYrR6bMw.js} +1 -1
  50. package/dist/client/{index-DlIO7sJ3.js → index-BZwk0V42.js} +1 -1
  51. package/dist/client/{transition-BiR8wMn1.js → transition-DG9nRSW4.js} +1 -1
  52. package/dist/node/cli.js +2 -2
  53. package/package.json +47 -33
  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 +3 -3
  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/types/core/client/App.vue.d.ts +0 -7
  70. package/dist/types/core/client/asWebComponent.d.ts +0 -9
  71. package/dist/types/core/client/components/DashboardLayout.vue.d.ts +0 -2
  72. package/dist/types/core/client/components/DynamicWebComponent.vue.d.ts +0 -18
  73. package/dist/types/core/client/components/ErrorAlert.vue.d.ts +0 -2
  74. package/dist/types/core/client/components/Footer.vue.d.ts +0 -2
  75. package/dist/types/core/client/components/Header.vue.d.ts +0 -2
  76. package/dist/types/core/client/components/IframeWrapper.vue.d.ts +0 -7
  77. package/dist/types/core/client/components/Loading.vue.d.ts +0 -2
  78. package/dist/types/core/client/components/MobileLayout.vue.d.ts +0 -2
  79. package/dist/types/core/client/composables/DefineEodash.d.ts +0 -2
  80. package/dist/types/core/client/composables/DefineTemplate.d.ts +0 -15
  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 -30
  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 -12
  91. package/dist/types/core/client/store/States.d.ts +0 -22
  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 -42
  103. package/dist/types/widgets/EodashLayerControl.vue.d.ts +0 -11
  104. package/dist/types/widgets/EodashLayoutSwitcher.vue.d.ts +0 -9
  105. package/dist/types/widgets/EodashMap.vue.d.ts +0 -7
  106. package/dist/types/widgets/EodashMapBtns.vue.d.ts +0 -11
  107. package/dist/types/widgets/EodashStacInfo.vue.d.ts +0 -21
  108. package/dist/types/widgets/EodashTools.vue.d.ts +0 -15
  109. package/dist/types/widgets/ExportState.vue.d.ts +0 -7
  110. package/dist/types/widgets/PopUp.vue.d.ts +0 -22
  111. package/dist/types/widgets/WidgetsContainer.vue.d.ts +0 -7
@@ -1,30 +0,0 @@
1
- export function useAbsoluteUrl(rel?: string | undefined, base?: string | undefined): import("vue").Ref<string>;
2
- export function useCompareAbsoluteUrl(rel?: string | undefined, base?: string | undefined): import("vue").Ref<string>;
3
- export function useUpdateTheme(themeName: string, themeDefinition?: {
4
- dark?: boolean | undefined;
5
- colors?: {
6
- [x: string]: string | undefined;
7
- background?: string | undefined;
8
- surface?: string | undefined;
9
- primary?: string | undefined;
10
- secondary?: string | undefined;
11
- success?: string | undefined;
12
- warning?: string | undefined;
13
- error?: string | undefined;
14
- info?: string | undefined;
15
- 'on-background'?: string | undefined;
16
- 'on-surface'?: string | undefined;
17
- 'on-primary'?: string | undefined;
18
- 'on-secondary'?: string | undefined;
19
- 'on-success'?: string | undefined;
20
- 'on-warning'?: string | undefined;
21
- 'on-error'?: string | undefined;
22
- 'on-info'?: string | undefined;
23
- } | undefined;
24
- variables?: {
25
- [x: string]: string | number | undefined;
26
- } | undefined;
27
- } | undefined): import("vuetify").ThemeInstance;
28
- export function useURLSearchParametersSync(): void;
29
- export function makePanelTransparent(root: import("vue").Ref<HTMLElement | null>): void;
30
- export function useGetTemplates(): string[];
@@ -1,8 +0,0 @@
1
- /**
2
- * Reactive Edoash Instance Object. provided globally in the app, and used as an
3
- * intermediate object to make user defined instances config reactive.
4
- *
5
- * @type {import("./types").Eodash}
6
- */
7
- export const eodash: import("./types").Eodash;
8
- export default eodash;
@@ -1,2 +0,0 @@
1
- export { createEodash } from "./composables/DefineEodash";
2
- export { default as store } from "./store";
@@ -1,2 +0,0 @@
1
- export const axios: import("axios-cache-interceptor").AxiosCacheInstance;
2
- export default axios;
@@ -1,3 +0,0 @@
1
- /** @param {import("vue").App} app */
2
- export function registerPlugins(app: import("vue").App): void;
3
- export const pinia: import("pinia").Pinia;
@@ -1,82 +0,0 @@
1
- export default vuetify;
2
- declare const vuetify: {
3
- install: (app: import("vue").App) => void;
4
- defaults: import("vue").Ref<import("vuetify").DefaultsInstance>;
5
- display: import("vuetify").DisplayInstance;
6
- theme: import("vuetify").ThemeInstance & {
7
- install: (app: import("vue").App) => void;
8
- };
9
- icons: {
10
- defaultSet: string;
11
- aliases: Partial<import("vuetify").IconAliases>;
12
- sets: Record<string, import("vuetify").IconSet>;
13
- };
14
- locale: {
15
- isRtl: import("vue").Ref<boolean>;
16
- rtl: import("vue").Ref<Record<string, boolean>>;
17
- rtlClasses: import("vue").Ref<string>;
18
- name: string;
19
- messages: import("vue").Ref<import("vuetify").LocaleMessages>;
20
- current: import("vue").Ref<string>;
21
- fallback: import("vue").Ref<string>;
22
- t: (key: string, ...params: unknown[]) => string;
23
- n: (value: number) => string;
24
- provide: (props: import("vuetify").LocaleOptions) => import("vuetify").LocaleInstance;
25
- };
26
- date: {
27
- options: {
28
- adapter: (new (options: {
29
- locale: any;
30
- formats?: any;
31
- }) => import("vuetify").DateInstance) | import("vuetify").DateInstance;
32
- formats?: Record<string, any>;
33
- locale: Record<string, any>;
34
- };
35
- instance: {
36
- locale?: any;
37
- date: (value?: any) => unknown;
38
- format: (date: unknown, formatString: string) => string;
39
- toJsDate: (value: unknown) => Date;
40
- parseISO: (date: string) => unknown;
41
- toISO: (date: unknown) => string;
42
- startOfDay: (date: unknown) => unknown;
43
- endOfDay: (date: unknown) => unknown;
44
- startOfWeek: (date: unknown, firstDayOfWeek?: number | string) => unknown;
45
- endOfWeek: (date: unknown) => unknown;
46
- startOfMonth: (date: unknown) => unknown;
47
- endOfMonth: (date: unknown) => unknown;
48
- startOfYear: (date: unknown) => unknown;
49
- endOfYear: (date: unknown) => unknown;
50
- isAfter: (date: unknown, comparing: unknown) => boolean;
51
- isAfterDay: (value: unknown, comparing: unknown) => boolean;
52
- isSameDay: (date: unknown, comparing: unknown) => boolean;
53
- isSameMonth: (date: unknown, comparing: unknown) => boolean;
54
- isSameYear: (value: unknown, comparing: unknown) => boolean;
55
- isBefore: (date: unknown, comparing: unknown) => boolean;
56
- isEqual: (date: unknown, comparing: unknown) => boolean;
57
- isValid: (date: any) => boolean;
58
- isWithinRange: (date: unknown, range: [unknown, unknown]) => boolean;
59
- addMinutes: (date: unknown, amount: number) => unknown;
60
- addHours: (date: unknown, amount: number) => unknown;
61
- addDays: (date: unknown, amount: number) => unknown;
62
- addWeeks: (date: unknown, amount: number) => unknown;
63
- addMonths: (date: unknown, amount: number) => unknown;
64
- getYear: (date: unknown) => number;
65
- setYear: (date: unknown, year: number) => unknown;
66
- getDiff: (date: unknown, comparing: unknown, unit?: string) => number;
67
- getWeekArray: (date: unknown, firstDayOfWeek?: number | string) => unknown[][];
68
- getWeekdays: (firstDayOfWeek?: number | string) => string[];
69
- getMonth: (date: unknown) => number;
70
- setMonth: (date: unknown, month: number) => unknown;
71
- getDate: (date: unknown) => number;
72
- setDate: (date: unknown, day: number) => unknown;
73
- getNextMonth: (date: unknown) => unknown;
74
- getPreviousMonth: (date: unknown) => unknown;
75
- getHours: (date: unknown) => number;
76
- setHours: (date: unknown, hours: number) => unknown;
77
- getMinutes: (date: unknown) => number;
78
- setMinutes: (date: unknown, minutes: number) => unknown;
79
- };
80
- };
81
- goTo: import("vuetify").GoToInstance;
82
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,12 +0,0 @@
1
- export function getLayers(): Record<string, any>[];
2
- export function getCompareLayers(): Record<string, any>[];
3
- export function registerProjection(projection?: string | number | {
4
- name: string;
5
- def: string;
6
- extent?: number[];
7
- } | undefined): Promise<void>;
8
- export function changeMapProjection(projection?: string | number | {
9
- name: string;
10
- def: string;
11
- } | undefined): Promise<void>;
12
- export function setActiveTemplate(template: string): void;
@@ -1,22 +0,0 @@
1
- /** Currently selected STAC endpoint */
2
- export const currentUrl: import("vue").Ref<string, string>;
3
- /** Currently selected compare STAC endpoint */
4
- export const currentCompareUrl: import("vue").Ref<string, string>;
5
- /** Currently selected datetime */
6
- export const datetime: import("vue").Ref<string, string>;
7
- /** Currently selected indicator */
8
- export const indicator: import("vue").Ref<string, string>;
9
- /**
10
- * Current map position
11
- *
12
- * @type {import("vue").Ref<(number | undefined)[]>}
13
- */
14
- export const mapPosition: import("vue").Ref<(number | undefined)[]>;
15
- export const registeredProjections: string[];
16
- /** available projection to be rendered by `EodashMap` */
17
- export const availableMapProjection: import("vue").Ref<string, string>;
18
- /** @type {import("vue").Ref<HTMLElement & Record<string,any> | null>} */
19
- export const mapEl: import("vue").Ref<(HTMLElement & Record<string, any>) | null>;
20
- /** @type {import("vue").Ref<HTMLElement & Record<string,any> | null>} */
21
- export const mapCompareEl: import("vue").Ref<(HTMLElement & Record<string, any>) | null>;
22
- export const activeTemplate: import("vue").Ref<string, string>;
@@ -1,2 +0,0 @@
1
- export default store;
2
- declare const store: import("../types").EodashStore;
@@ -1,25 +0,0 @@
1
- export const useSTAcStore: import("pinia").StoreDefinition<"stac", import("pinia")._UnwrapAll<Pick<{
2
- stac: import("vue").Ref<import("stac-ts").StacLink[] | null, import("stac-ts").StacLink[] | null>;
3
- loadSTAC: (url?: `https://${string}/catalog.json` | `http://${string}/catalog.json` | undefined) => Promise<void>;
4
- loadSelectedSTAC: (relativePath?: string) => Promise<void>;
5
- loadSelectedCompareSTAC: (relativePath?: string) => Promise<void>;
6
- resetSelectedCompareSTAC: () => Promise<void>;
7
- selectedStac: import("vue").Ref<import("stac-ts").StacCatalog | import("stac-ts").StacCollection | import("stac-ts").StacItem | null, import("stac-ts").StacCatalog | import("stac-ts").StacCollection | import("stac-ts").StacItem | null>;
8
- selectedCompareStac: import("vue").Ref<import("stac-ts").StacCatalog | import("stac-ts").StacCollection | import("stac-ts").StacItem | null, import("stac-ts").StacCatalog | import("stac-ts").StacCollection | import("stac-ts").StacItem | null>;
9
- }, "stac" | "selectedStac" | "selectedCompareStac">>, Pick<{
10
- stac: import("vue").Ref<import("stac-ts").StacLink[] | null, import("stac-ts").StacLink[] | null>;
11
- loadSTAC: (url?: `https://${string}/catalog.json` | `http://${string}/catalog.json` | undefined) => Promise<void>;
12
- loadSelectedSTAC: (relativePath?: string) => Promise<void>;
13
- loadSelectedCompareSTAC: (relativePath?: string) => Promise<void>;
14
- resetSelectedCompareSTAC: () => Promise<void>;
15
- selectedStac: import("vue").Ref<import("stac-ts").StacCatalog | import("stac-ts").StacCollection | import("stac-ts").StacItem | null, import("stac-ts").StacCatalog | import("stac-ts").StacCollection | import("stac-ts").StacItem | null>;
16
- selectedCompareStac: import("vue").Ref<import("stac-ts").StacCatalog | import("stac-ts").StacCollection | import("stac-ts").StacItem | null, import("stac-ts").StacCatalog | import("stac-ts").StacCollection | import("stac-ts").StacItem | null>;
17
- }, never>, Pick<{
18
- stac: import("vue").Ref<import("stac-ts").StacLink[] | null, import("stac-ts").StacLink[] | null>;
19
- loadSTAC: (url?: `https://${string}/catalog.json` | `http://${string}/catalog.json` | undefined) => Promise<void>;
20
- loadSelectedSTAC: (relativePath?: string) => Promise<void>;
21
- loadSelectedCompareSTAC: (relativePath?: string) => Promise<void>;
22
- resetSelectedCompareSTAC: () => Promise<void>;
23
- selectedStac: import("vue").Ref<import("stac-ts").StacCatalog | import("stac-ts").StacCollection | import("stac-ts").StacItem | null, import("stac-ts").StacCatalog | import("stac-ts").StacCollection | import("stac-ts").StacItem | null>;
24
- selectedCompareStac: import("vue").Ref<import("stac-ts").StacCatalog | import("stac-ts").StacCollection | import("stac-ts").StacItem | null, import("stac-ts").StacCatalog | import("stac-ts").StacCollection | import("stac-ts").StacItem | null>;
25
- }, "loadSTAC" | "loadSelectedSTAC" | "loadSelectedCompareSTAC" | "resetSelectedCompareSTAC">>;
@@ -1,45 +0,0 @@
1
- /**
2
- * @param {string} collectionId
3
- * @param {string} title
4
- * @param {Record<string,import("stac-ts").StacAsset>} assets
5
- * @param {import("stac-ts").StacItem } item
6
- * @param {import("ol/layer/WebGLTile").Style} [style]
7
- * @param {Record<string, unknown>} [layerConfig]
8
- * @param {Record<string, unknown>} [layerDatetime]
9
- * @param {object | null} [extraProperties]
10
- **/
11
- export function createLayersFromAssets(collectionId: string, title: string, assets: Record<string, import("stac-ts").StacAsset>, item: import("stac-ts").StacItem, style?: import("ol/layer/WebGLTile").Style | undefined, layerConfig?: Record<string, unknown> | undefined, layerDatetime?: Record<string, unknown> | undefined, extraProperties?: object | null | undefined): Promise<({
12
- style?: import("ol/layer/WebGLTile").Style | undefined;
13
- type: string;
14
- source: {
15
- type: string;
16
- url: string;
17
- format: string;
18
- };
19
- properties: {
20
- layerConfig?: {
21
- style: import("ol/layer/WebGLTile").Style | undefined;
22
- } | undefined;
23
- id: string;
24
- title: string;
25
- layerDatetime: Record<string, unknown> | undefined;
26
- };
27
- } | {
28
- type: string;
29
- source: {
30
- type: string;
31
- normalize: boolean;
32
- interpolate: boolean;
33
- sources: {
34
- url: string;
35
- }[];
36
- };
37
- properties: {
38
- id: string;
39
- title: string;
40
- layerConfig: Record<string, unknown> | undefined;
41
- layerDatetime: Record<string, unknown> | undefined;
42
- };
43
- style: import("ol/layer/WebGLTile").Style | undefined;
44
- })[]>;
45
- export function createLayersFromLinks(collectionId: string, title: string, item: import("stac-ts").StacItem, layerDatetime?: Record<string, any> | undefined, extraProperties?: object | null | undefined): Promise<Record<string, any>[]>;
@@ -1,82 +0,0 @@
1
- export class EodashCollection {
2
- /**
3
- * Returns base layers and overlay layers of a STAC Collection
4
- *
5
- * @param {import("stac-ts").StacCollection} indicator */
6
- static getIndicatorLayers(indicator: import("stac-ts").StacCollection): Promise<(Record<string, any> | {
7
- style?: import("ol/layer/WebGLTile").Style | undefined;
8
- type: string;
9
- source: {
10
- type: string;
11
- url: string;
12
- format: string;
13
- };
14
- properties: {
15
- layerConfig?: {
16
- style: import("ol/layer/WebGLTile").Style | undefined;
17
- } | undefined;
18
- id: string;
19
- title: string;
20
- layerDatetime: Record<string, unknown> | undefined;
21
- };
22
- } | {
23
- type: string;
24
- source: {
25
- type: string;
26
- normalize: boolean;
27
- interpolate: boolean;
28
- sources: {
29
- url: string;
30
- }[];
31
- };
32
- properties: {
33
- id: string;
34
- title: string;
35
- layerConfig: Record<string, unknown> | undefined;
36
- layerDatetime: Record<string, unknown> | undefined;
37
- };
38
- style: import("ol/layer/WebGLTile").Style | undefined;
39
- })[]>;
40
- /** @param {string} collectionUrl */
41
- constructor(collectionUrl: string);
42
- get collectionStac(): import("stac-ts").StacCollection | undefined;
43
- /**
44
- * @type {import("stac-ts").StacLink
45
- * | import("stac-ts").StacItem
46
- * | undefined}
47
- */
48
- selectedItem: import("stac-ts").StacLink | import("stac-ts").StacItem | undefined;
49
- /**
50
- * @async
51
- * @param {import('stac-ts').StacLink | Date} [linkOrDate]
52
- * @returns
53
- */
54
- createLayersJson: (linkOrDate?: Date | import("stac-ts").StacLink | undefined) => Promise<Record<string, any>[]>;
55
- /**
56
- * @param {import("stac-ts").StacItem} item
57
- * @param {string} itemUrl
58
- * @param {string} title
59
- * @param {boolean} isGeoDB
60
- * @param {string} [itemDatetime]
61
- * @returns {Promise<Record<string,any>[]>} arrays
62
- * */
63
- buildJsonArray(item: import("stac-ts").StacItem, itemUrl: string, title: string, isGeoDB: boolean, itemDatetime?: string | undefined): Promise<Record<string, any>[]>;
64
- fetchCollection(): Promise<import("stac-ts").StacCollection>;
65
- getItems(): import("stac-ts").StacLink[] | undefined;
66
- getDates(): Date[] | undefined;
67
- getExtent(): Promise<import("stac-ts").Extents | undefined>;
68
- /**
69
- * Get closest Item Link from a certain date,
70
- * get the latest if no date provided
71
- * @param {Date} [date]
72
- **/
73
- getItem(date?: Date | undefined): import("stac-ts").StacLink | undefined;
74
- /**
75
- *
76
- * @param {string} datetime
77
- * @param {string} layer
78
- * @param {string} map
79
- */
80
- updateLayerJson(datetime: string, layer: string, map: string): Promise<Record<string, any>[] | undefined>;
81
- #private;
82
- }
@@ -1,84 +0,0 @@
1
- /** @param {import("stac-ts").StacLink[]} [links] */
2
- export function generateFeatures(links?: import("stac-ts").StacLink[] | undefined): {
3
- type: string;
4
- crs: {
5
- type: string;
6
- properties: {
7
- name: string;
8
- };
9
- };
10
- features: {
11
- type: string;
12
- geometry: {
13
- type: string;
14
- coordinates: [number, number];
15
- };
16
- }[];
17
- };
18
- /** @param { import("ol/layer/WebGLTile").Style & { jsonform?: Record<string,any> } & { legend?: Record<string,any> } } [style] */
19
- export function extractLayerConfig(style?: (import("ol/layer/WebGLTile").Style & {
20
- jsonform?: Record<string, any>;
21
- } & {
22
- legend?: Record<string, any>;
23
- }) | undefined): {
24
- layerConfig: Record<string, unknown> | undefined;
25
- style: (import("ol/layer/WebGLTile").Style & {
26
- jsonform?: Record<string, any>;
27
- } & {
28
- legend?: Record<string, any>;
29
- }) | undefined;
30
- };
31
- /**
32
- * Function to extract collection urls from an indicator
33
- * @param {import("stac-ts").StacCatalog
34
- * | import("stac-ts").StacCollection
35
- * | import("stac-ts").StacItem
36
- * | null
37
- * } stacObject
38
- * @param {string} basepath
39
- * @returns {string[]}
40
- */
41
- export function extractCollectionUrls(stacObject: import("stac-ts").StacCatalog | import("stac-ts").StacCollection | import("stac-ts").StacItem | null, basepath: string): string[];
42
- /**
43
- *
44
- * @param {import("stac-ts").StacItem} item
45
- * @param {import("stac-ts").StacLink | import("stac-ts").StacAsset} linkOrAsset
46
- * @param {string} id - {@link createLayerID} & {@link extractRoles}
47
- * @param {{ properties:{id:string} & Record<string, any> }& Record<string,any>} layer
48
- * @returns
49
- */
50
- export function assignProjID(item: import("stac-ts").StacItem, linkOrAsset: import("stac-ts").StacLink | import("stac-ts").StacAsset, id: string, layer: {
51
- properties: {
52
- id: string;
53
- } & Record<string, any>;
54
- } & Record<string, any>): string;
55
- export function setMapProjFromCol(STAcCollection?: import("stac-ts").StacCollection | undefined): Promise<void>;
56
- export function extractRoles(properties: Record<string, any>, linkOrAsset: import("stac-ts").StacLink | import("stac-ts").StacAsset): void;
57
- export function fetchStyle(item: import("stac-ts").StacItem, itemUrl: string): Promise<{
58
- variables?: {
59
- [x: string]: string | number;
60
- } | undefined;
61
- color?: import("ol/expr/expression.js").ExpressionValue | undefined;
62
- brightness?: import("ol/expr/expression.js").ExpressionValue | undefined;
63
- contrast?: import("ol/expr/expression.js").ExpressionValue | undefined;
64
- exposure?: import("ol/expr/expression.js").ExpressionValue | undefined;
65
- saturation?: import("ol/expr/expression.js").ExpressionValue | undefined;
66
- gamma?: import("ol/expr/expression.js").ExpressionValue | undefined;
67
- jsonform?: Record<string, any>;
68
- } | undefined>;
69
- export function getProjectionCode(projection?: string | number | {
70
- name: string;
71
- def: string;
72
- } | undefined): string;
73
- export function extractLayerDatetime(links?: import("stac-ts").StacLink[] | undefined, currentStep?: string | null | undefined): {
74
- controlValues: string[];
75
- currentStep: string;
76
- slider: boolean;
77
- disablePlay: boolean;
78
- } | undefined;
79
- export function findLayer(layers: Record<string, any>[], layer: string): Record<string, any> | undefined;
80
- export function replaceLayer(currentLayers: Record<string, any>[], oldLayer: Record<string, any>, newLayers: Record<string, any>[]): Record<string, any>[] | undefined;
81
- export function getColFromLayer(indicators: import("./eodashSTAC.js").EodashCollection[], layer: import("ol/layer").Layer): Promise<import("./eodashSTAC.js").EodashCollection | undefined>;
82
- export function createLayerID(collectionId: string, itemId: string, link: import("stac-ts").StacLink, projectionCode: string): string;
83
- export function createAssetID(collectionId: string, itemId: string, index: number): string;
84
- export function removeUnneededProperties(layers: Record<string, any>[]): Record<string, any>[];
@@ -1,2 +0,0 @@
1
- export function loadFont(family?: string | undefined, link?: string | undefined, isWebComponent?: boolean | undefined): Promise<string>;
2
- export function copyToClipBoard(text: string, showIcon: import("vue").Ref<boolean>): Promise<void>;
@@ -1,6 +0,0 @@
1
- /**
2
- * `eodash` injection key.
3
- *
4
- * @see {@link "@/plugins/index.js"}
5
- */
6
- export const eodashKey: unique symbol;
@@ -1,14 +0,0 @@
1
- /**
2
- * Array of eodash STAC Collections extracted from the current selected indicator.
3
- * Updated in {@link file://./../store/stac.js `loadSelectedSTAC`} widget
4
- * @type {import('./eodashSTAC').EodashCollection[]}
5
- * @private
6
- */
7
- export const eodashCollections: import("./eodashSTAC").EodashCollection[];
8
- /**
9
- * Array of eodash STAC Collections extracted from the current selected COMPARE indicator.
10
- * Updated in {@link file://./../store/stac.js ` loadSelectedCompareSTAC`} widget
11
- * @type {import('./eodashSTAC').EodashCollection[]}
12
- * @private
13
- */
14
- export const eodashCompareCollections: import("./eodashSTAC").EodashCollection[];
@@ -1,9 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{}, {
2
- isWebComponent: boolean;
3
- config?: string | undefined;
4
- $props: {
5
- readonly isWebComponent?: boolean | undefined;
6
- readonly config?: string | undefined;
7
- };
8
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
9
- export default _default;
@@ -1,7 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{}, {
2
- hintText: string;
3
- $props: {
4
- readonly hintText?: string | undefined;
5
- };
6
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
- export default _default;
@@ -1,42 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{}, {
2
- $emit: (event: "select", ...args: any[]) => void;
3
- enableCompare: boolean;
4
- cssVars: string | Record<string, any>;
5
- resultType: string;
6
- filtersTitle: string;
7
- filterProperties: {
8
- keys: string[];
9
- title: string;
10
- type: string;
11
- expanded?: boolean;
12
- }[];
13
- resultsTitle: string;
14
- subTitleProperty: string;
15
- titleProperty: string;
16
- imageProperty: string;
17
- enableHighlighting: boolean;
18
- expandMultipleFilters: boolean;
19
- expandMultipleResults: boolean;
20
- aggregateResults?: string | undefined;
21
- $props: {
22
- readonly enableCompare?: boolean | undefined;
23
- readonly cssVars?: string | Record<string, any> | undefined;
24
- readonly resultType?: string | undefined;
25
- readonly filtersTitle?: string | undefined;
26
- readonly filterProperties?: {
27
- keys: string[];
28
- title: string;
29
- type: string;
30
- expanded?: boolean;
31
- }[] | undefined;
32
- readonly resultsTitle?: string | undefined;
33
- readonly subTitleProperty?: string | undefined;
34
- readonly titleProperty?: string | undefined;
35
- readonly imageProperty?: string | undefined;
36
- readonly enableHighlighting?: boolean | undefined;
37
- readonly expandMultipleFilters?: boolean | undefined;
38
- readonly expandMultipleResults?: boolean | undefined;
39
- readonly aggregateResults?: string | undefined;
40
- };
41
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
42
- export default _default;
@@ -1,11 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{}, {
2
- map: string;
3
- tools: unknown[];
4
- cssVars?: Record<string, any> | undefined;
5
- $props: {
6
- readonly map?: string | undefined;
7
- readonly tools?: unknown[] | undefined;
8
- readonly cssVars?: Record<string, any> | undefined;
9
- };
10
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
11
- export default _default;
@@ -1,9 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{}, {
2
- target: string;
3
- variant?: "flat" | "text" | "elevated" | "tonal" | "outlined" | "plain" | undefined;
4
- $props: {
5
- readonly target?: string | undefined;
6
- readonly variant?: "flat" | "text" | "elevated" | "tonal" | "outlined" | "plain" | undefined;
7
- };
8
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
9
- export default _default;
@@ -1,7 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{}, {
2
- enableCompare: boolean;
3
- $props: {
4
- readonly enableCompare?: boolean | undefined;
5
- };
6
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
- export default _default;
@@ -1,11 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{}, {
2
- compareIndicators: boolean;
3
- exportMap: boolean;
4
- changeProjection: boolean;
5
- $props: {
6
- readonly compareIndicators?: boolean | undefined;
7
- readonly exportMap?: boolean | undefined;
8
- readonly changeProjection?: boolean | undefined;
9
- };
10
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
11
- export default _default;
@@ -1,21 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{}, {
2
- allowHtml: boolean;
3
- featured: unknown[];
4
- footer: unknown[];
5
- header: unknown[];
6
- body: unknown[];
7
- styleOverride: string;
8
- subheader: unknown[];
9
- tags: unknown[];
10
- $props: {
11
- allowHtml?: boolean | undefined;
12
- featured?: unknown[] | undefined;
13
- footer?: unknown[] | undefined;
14
- header?: unknown[] | undefined;
15
- body?: unknown[] | undefined;
16
- styleOverride?: string | undefined;
17
- subheader?: unknown[] | undefined;
18
- tags?: unknown[] | undefined;
19
- };
20
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
21
- export default _default;
@@ -1,15 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{}, {
2
- layoutTarget: string;
3
- itemFilterConfig: Record<string, any>;
4
- showLayoutSwitcher: boolean;
5
- indicatorBtnText: string;
6
- showIndicatorsBtn: boolean;
7
- $props: {
8
- readonly layoutTarget?: string | undefined;
9
- readonly itemFilterConfig?: Record<string, any> | undefined;
10
- readonly showLayoutSwitcher?: boolean | undefined;
11
- readonly indicatorBtnText?: string | undefined;
12
- readonly showIndicatorsBtn?: boolean | undefined;
13
- };
14
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
15
- export default _default;
@@ -1,7 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{}, {
2
- getLayers: Function;
3
- $props: {
4
- readonly getLayers?: Function | undefined;
5
- };
6
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
- export default _default;
@@ -1,22 +0,0 @@
1
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
2
- export default _default;
3
- type __VLS_WithTemplateSlots<T, S> = T & (new () => {
4
- $slots: S;
5
- });
6
- declare const __VLS_component: import("vue").DefineComponent<{}, {
7
- height: string;
8
- maxHeight: string;
9
- maxWidth: string;
10
- width: string;
11
- widget?: import("../core/client/types").Widget<"compiletime"> | undefined;
12
- $props: {
13
- readonly height?: string | undefined;
14
- readonly maxHeight?: string | undefined;
15
- readonly maxWidth?: string | undefined;
16
- readonly width?: string | undefined;
17
- readonly widget?: import("../core/client/types").Widget<"compiletime"> | undefined;
18
- };
19
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
20
- declare function __VLS_template(): {
21
- default?(_: {}): any;
22
- };
@@ -1,7 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{}, {
2
- widgets: Omit<import("../core/client/types").Widget<"compiletime">, "layout">[];
3
- $props: {
4
- readonly widgets?: Omit<import("../core/client/types").Widget<"compiletime">, "layout">[] | undefined;
5
- };
6
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
- export default _default;