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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (108) hide show
  1. package/core/client/asWebComponent.js +2 -3
  2. package/core/client/components/DashboardLayout.vue +35 -13
  3. package/core/client/components/Loading.vue +6 -9
  4. package/core/client/components/MobileLayout.vue +16 -14
  5. package/core/client/composables/DefineEodash.js +13 -3
  6. package/core/client/composables/DefineTemplate.js +67 -0
  7. package/core/client/composables/DefineWidgets.js +3 -2
  8. package/core/client/composables/EodashMap.js +39 -14
  9. package/core/client/composables/EodashProcess.js +574 -0
  10. package/core/client/composables/index.js +54 -11
  11. package/core/client/eodash.js +383 -125
  12. package/core/client/{utils/eodashSTAC.js → eodashSTAC/EodashCollection.js} +75 -41
  13. package/core/client/{utils → eodashSTAC}/createLayers.js +12 -7
  14. package/core/client/{utils → eodashSTAC}/helpers.js +47 -75
  15. package/core/client/eodashSTAC/triggers.js +43 -0
  16. package/core/client/plugins/vuetify.js +2 -1
  17. package/core/client/store/{Actions.js → actions.js} +16 -2
  18. package/core/client/store/index.js +4 -18
  19. package/core/client/store/stac.js +4 -4
  20. package/core/client/store/{States.js → states.js} +2 -0
  21. package/{dist/types/core/client/types.d.ts → core/client/types.ts} +47 -8
  22. package/core/client/utils/keys.js +2 -0
  23. package/core/client/utils/states.js +8 -3
  24. package/core/client/views/Dashboard.vue +6 -4
  25. package/core/client/vite-env.d.ts +1 -16
  26. package/dist/client/{DashboardLayout-jpgby4Eh.js → DashboardLayout-232tRmjz.js} +23 -25
  27. package/dist/client/{DynamicWebComponent-Bwrmh0sP.js → DynamicWebComponent-Cl4LqHU6.js} +1 -1
  28. package/dist/client/{EodashDatePicker-Dv9_y547.js → EodashDatePicker-Pok6bZwU.js} +78 -165
  29. package/dist/client/EodashItemFilter-16eMMjTV.js +151 -0
  30. package/dist/client/{EodashLayerControl-iRPRTWaC.js → EodashLayerControl-De7IlCm_.js} +19 -11
  31. package/dist/client/EodashLayoutSwitcher-C-3-jjn5.js +52 -0
  32. package/dist/client/{EodashMap-G1xNg6jB.js → EodashMap-CMvbfI6-.js} +116 -39
  33. package/dist/client/EodashMapBtns-BeknGDtc.js +107 -0
  34. package/dist/client/EodashProcess-BwKAa9Ee.js +1476 -0
  35. package/dist/client/EodashStacInfo-_BfonNUG.js +85 -0
  36. package/dist/client/EodashTools-PD3XPYuR.js +103 -0
  37. package/dist/client/{ExportState-CDovKW7n.js → ExportState-DOrT7M15.js} +5 -5
  38. package/dist/client/{Footer-B1O4tw8o.js → Footer-CCigxYBo.js} +1 -1
  39. package/dist/client/{Header-DDLdUYod.js → Header-C2cdx4gb.js} +3 -3
  40. package/dist/client/{MobileLayout-B3QtXpa0.js → MobileLayout-BdiFjHg7.js} +28 -31
  41. package/dist/client/{PopUp-BMd-trL0.js → PopUp--_xn1Cms.js} +37 -9
  42. package/dist/client/{VImg-knszc_IF.js → VImg-9xu2l99m.js} +2 -2
  43. package/dist/client/{VMain-ClWkSR7S.js → VMain-BUs3kDTd.js} +1 -1
  44. package/dist/client/{VOverlay-CRTrjcqf.js → VOverlay-D89omJis.js} +3 -3
  45. package/dist/client/VTooltip-CDu3bErh.js +86 -0
  46. package/dist/client/{WidgetsContainer-D4mWWQgi.js → WidgetsContainer-aFG9yFT6.js} +1 -1
  47. package/dist/client/{asWebComponent-Cc5OdWN5.js → asWebComponent-BRGyP_j5.js} +1497 -1141
  48. package/dist/client/{style.css → eo-dash.css} +2 -2
  49. package/dist/client/eo-dash.js +1 -1
  50. package/dist/client/{forwardRefs-DqVLK6M0.js → forwardRefs-CYrR6bMw.js} +1 -1
  51. package/dist/client/{index-CuOyaGAl.js → index-BZwk0V42.js} +1 -1
  52. package/dist/client/{transition-gjF7vk5X.js → transition-DG9nRSW4.js} +1 -1
  53. package/dist/node/cli.js +3 -3
  54. package/package.json +56 -34
  55. package/widgets/EodashDatePicker.vue +68 -54
  56. package/widgets/EodashItemFilter.vue +60 -105
  57. package/widgets/EodashLayerControl.vue +19 -8
  58. package/widgets/EodashLayoutSwitcher.vue +36 -0
  59. package/widgets/EodashMap.vue +27 -28
  60. package/widgets/EodashMapBtns.vue +41 -4
  61. package/widgets/EodashProcess.vue +143 -0
  62. package/widgets/EodashStacInfo.vue +82 -0
  63. package/widgets/EodashTools.vue +83 -0
  64. package/widgets/ExportState.vue +3 -3
  65. package/widgets/PopUp.vue +24 -2
  66. package/core/client/asWebComponent.d.ts +0 -23
  67. package/core/client/types.d.ts +0 -279
  68. package/dist/client/EodashItemFilter-CZ5Hdn0p.js +0 -194
  69. package/dist/client/EodashMapBtns-DOiv-00v.js +0 -66
  70. package/dist/types/core/client/App.vue.d.ts +0 -7
  71. package/dist/types/core/client/asWebComponent.d.ts +0 -9
  72. package/dist/types/core/client/components/DashboardLayout.vue.d.ts +0 -2
  73. package/dist/types/core/client/components/DynamicWebComponent.vue.d.ts +0 -18
  74. package/dist/types/core/client/components/ErrorAlert.vue.d.ts +0 -2
  75. package/dist/types/core/client/components/Footer.vue.d.ts +0 -2
  76. package/dist/types/core/client/components/Header.vue.d.ts +0 -2
  77. package/dist/types/core/client/components/IframeWrapper.vue.d.ts +0 -7
  78. package/dist/types/core/client/components/Loading.vue.d.ts +0 -2
  79. package/dist/types/core/client/components/MobileLayout.vue.d.ts +0 -2
  80. package/dist/types/core/client/composables/DefineEodash.d.ts +0 -2
  81. package/dist/types/core/client/composables/DefineWidgets.d.ts +0 -14
  82. package/dist/types/core/client/composables/EodashMap.d.ts +0 -5
  83. package/dist/types/core/client/composables/index.d.ts +0 -29
  84. package/dist/types/core/client/eodash.d.ts +0 -8
  85. package/dist/types/core/client/main.d.ts +0 -2
  86. package/dist/types/core/client/plugins/axios.d.ts +0 -2
  87. package/dist/types/core/client/plugins/index.d.ts +0 -3
  88. package/dist/types/core/client/plugins/vuetify.d.ts +0 -82
  89. package/dist/types/core/client/render.d.ts +0 -1
  90. package/dist/types/core/client/store/Actions.d.ts +0 -11
  91. package/dist/types/core/client/store/States.d.ts +0 -21
  92. package/dist/types/core/client/store/index.d.ts +0 -2
  93. package/dist/types/core/client/store/stac.d.ts +0 -25
  94. package/dist/types/core/client/utils/createLayers.d.ts +0 -45
  95. package/dist/types/core/client/utils/eodashSTAC.d.ts +0 -82
  96. package/dist/types/core/client/utils/helpers.d.ts +0 -84
  97. package/dist/types/core/client/utils/index.d.ts +0 -2
  98. package/dist/types/core/client/utils/keys.d.ts +0 -6
  99. package/dist/types/core/client/utils/states.d.ts +0 -14
  100. package/dist/types/core/client/views/Dashboard.vue.d.ts +0 -9
  101. package/dist/types/widgets/EodashDatePicker.vue.d.ts +0 -7
  102. package/dist/types/widgets/EodashItemFilter.vue.d.ts +0 -33
  103. package/dist/types/widgets/EodashLayerControl.vue.d.ts +0 -7
  104. package/dist/types/widgets/EodashMap.vue.d.ts +0 -7
  105. package/dist/types/widgets/EodashMapBtns.vue.d.ts +0 -9
  106. package/dist/types/widgets/ExportState.vue.d.ts +0 -7
  107. package/dist/types/widgets/PopUp.vue.d.ts +0 -14
  108. package/dist/types/widgets/WidgetsContainer.vue.d.ts +0 -7
@@ -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,11 +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>;
@@ -1,21 +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>;
@@ -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<any, {
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<any> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
9
- export default _default;
@@ -1,7 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<any, {
2
- hintText: string;
3
- $props: {
4
- readonly hintText?: string | undefined;
5
- };
6
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<any> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
- export default _default;
@@ -1,33 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<any, {
2
- enableCompare: boolean;
3
- aggregateResults: string;
4
- filtersTitle: string;
5
- resultsTitle: string;
6
- titleProperty: string;
7
- enableHighlighting: boolean;
8
- expandMultipleFilters: boolean;
9
- expandMultipleResults: boolean;
10
- filterProperties: {
11
- keys: string[];
12
- title: string;
13
- type: string;
14
- expanded?: boolean;
15
- }[];
16
- $props: {
17
- readonly enableCompare?: boolean | undefined;
18
- readonly aggregateResults?: string | undefined;
19
- readonly filtersTitle?: string | undefined;
20
- readonly resultsTitle?: string | undefined;
21
- readonly titleProperty?: string | undefined;
22
- readonly enableHighlighting?: boolean | undefined;
23
- readonly expandMultipleFilters?: boolean | undefined;
24
- readonly expandMultipleResults?: boolean | undefined;
25
- readonly filterProperties?: {
26
- keys: string[];
27
- title: string;
28
- type: string;
29
- expanded?: boolean;
30
- }[] | undefined;
31
- };
32
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<any> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
33
- export default _default;
@@ -1,7 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<any, {
2
- map: string;
3
- $props: {
4
- readonly map?: string | undefined;
5
- };
6
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<any> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
- export default _default;
@@ -1,7 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<any, {
2
- enableCompare: boolean;
3
- $props: {
4
- readonly enableCompare?: boolean | undefined;
5
- };
6
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<any> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
- export default _default;
@@ -1,9 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<any, {
2
- exportMap: boolean;
3
- changeProjection: boolean;
4
- $props: {
5
- readonly exportMap?: boolean | undefined;
6
- readonly changeProjection?: boolean | undefined;
7
- };
8
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<any> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
9
- export default _default;
@@ -1,7 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<any, {
2
- getLayers: Function;
3
- $props: {
4
- readonly getLayers?: Function | undefined;
5
- };
6
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<any> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
- export default _default;
@@ -1,14 +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<any, {
7
- widget?: import("../core/client/types").Widget<"compiletime"> | undefined;
8
- $props: {
9
- readonly widget?: import("../core/client/types").Widget<"compiletime"> | undefined;
10
- };
11
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<any> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
12
- declare function __VLS_template(): {
13
- default?(_: {}): any;
14
- };
@@ -1,7 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<any, {
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<any> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
- export default _default;