@eodash/eodash 5.7.0 → 5.8.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 (119) hide show
  1. package/core/client/components/EodashOverlay.vue +27 -4
  2. package/core/client/composables/DefineEodash.js +0 -1
  3. package/core/client/composables/DefineWidgets.js +3 -1
  4. package/core/client/eodashSTAC/EodashCollection.js +87 -24
  5. package/core/client/eodashSTAC/cql.js +64 -0
  6. package/core/client/eodashSTAC/createLayers.js +353 -187
  7. package/core/client/eodashSTAC/helpers.js +694 -110
  8. package/core/client/eodashSTAC/mosaic.js +422 -0
  9. package/core/client/plugins/axios.js +31 -1
  10. package/core/client/store/actions.js +1 -1
  11. package/core/client/store/stac.js +54 -4
  12. package/core/client/store/states.js +20 -2
  13. package/core/client/types.ts +152 -28
  14. package/core/client/utils/bands-editor/exampleSchema.json +50 -50
  15. package/core/client/utils/states.js +10 -0
  16. package/dist/client/{DashboardLayout-kRsmsNW5.js → DashboardLayout-DEs4f_Vy.js} +2 -2
  17. package/dist/client/{DynamicWebComponent-CnKhYo0K.js → DynamicWebComponent-PvnV88BA.js} +1 -1
  18. package/dist/client/EodashChart-D-3AGKZY.js +260 -0
  19. package/dist/client/{EodashDatePicker-CMPDT-ce.js → EodashDatePicker-Dm_goZzs.js} +3 -3
  20. package/dist/client/{EodashItemFilter-BpdA8QQa.js → EodashItemFilter-CJy3zYzD.js} +2 -1
  21. package/dist/client/{EodashLayerControl-BHpDA4_0.js → EodashLayerControl-rL8UnpkA.js} +55 -33
  22. package/dist/client/{EodashLayoutSwitcher-B1fRUt7G.js → EodashLayoutSwitcher-ZRlESI9O.js} +3 -3
  23. package/dist/client/{EodashMapBtns-Cpned0tc.js → EodashMapBtns-CG7u2Aq8.js} +227 -112
  24. package/dist/client/EodashStacInfo-CJhhxthD.js +169 -0
  25. package/dist/client/{EodashTools-1zHz26gv.js → EodashTools-CWyK8QJT.js} +4 -4
  26. package/dist/client/{ExportState-DbOm8hBI.js → ExportState-BXhy5TOU.js} +20 -174
  27. package/dist/client/{Footer-BKg-VVkj.js → Footer-DZPvnhcT.js} +1 -1
  28. package/dist/client/{Header-DCrwCvmY.js → Header-CiGsDE_a.js} +2 -2
  29. package/dist/client/{MobileLayout-vWSHpluo.js → MobileLayout-BJHW7x5V.js} +2 -2
  30. package/dist/client/{PopUp-9uimfK49.js → PopUp-7_XnhvCc.js} +4 -168
  31. package/dist/client/{ProcessList-CTTIZa06.js → ProcessList-LL_UCbvc.js} +5 -5
  32. package/dist/client/VDivider-DWYM0WUr.js +168 -0
  33. package/dist/client/{VImg-CrmB76ZY.js → VImg-B75dgw2K.js} +2 -2
  34. package/dist/client/{VMain-OKZNpcEG.js → VMain-DvMmOL4f.js} +1 -1
  35. package/dist/client/{VTooltip-CJw2FyWk.js → VTooltip-ClWHUmWL.js} +2 -2
  36. package/dist/client/{WidgetsContainer-BaWOnE5R.js → WidgetsContainer-BqaWs4ch.js} +1 -1
  37. package/dist/client/{asWebComponent-BHWpMuE3.js → asWebComponent-IZanwL-A.js} +677 -379
  38. package/dist/client/{async-DSKj6g1f.js → async-CiNIOBVz.js} +31 -29
  39. package/dist/client/{create-layers-config-CBoYedqB.js → create-layers-config-3S3y_kZg.js} +17 -17
  40. package/dist/client/dialog-transition-c4ZSnzac.js +170 -0
  41. package/dist/client/eo-dash.js +1 -1
  42. package/dist/client/{forwardRefs-DH51zPUr.js → forwardRefs-B-c1_6yo.js} +8 -87
  43. package/dist/client/{handling-BrcDDlgS.js → handling-NvY8Csry.js} +3 -4
  44. package/dist/client/{helpers-DjZVl_WF.js → helpers-BFuh19CP.js} +1094 -194
  45. package/dist/client/{index-1JKE68n3.js → index-1wMAyuNL.js} +219 -67
  46. package/dist/client/{index-CSG_JoOA.js → index-B8jGJSTA.js} +62 -56
  47. package/dist/client/{index-Cu3-13Xg.js → index-BKQQJkhy.js} +167 -61
  48. package/dist/client/index-D0jUyol8.js +3167 -0
  49. package/dist/client/{index-CUjl-ZsI.js → index-KGxz5Egv.js} +2 -2
  50. package/dist/client/mosaic-vHvSuih6.js +459 -0
  51. package/dist/client/templates.js +251 -121
  52. package/dist/client/{transition-OHcz5Qq1.js → transition-BkyUsZh_.js} +1 -1
  53. package/dist/node/cli.js +5 -5
  54. package/dist/node/types.d.ts +4 -0
  55. package/dist/types/core/client/composables/DefineEodash.d.ts +1 -1
  56. package/dist/types/core/client/eodashSTAC/EodashCollection.d.ts +57 -25
  57. package/dist/types/core/client/eodashSTAC/cql.d.ts +15 -0
  58. package/dist/types/core/client/eodashSTAC/createLayers.d.ts +42 -23
  59. package/dist/types/core/client/eodashSTAC/helpers.d.ts +118 -19
  60. package/dist/types/core/client/eodashSTAC/mosaic.d.ts +56 -0
  61. package/dist/types/core/client/store/stac.d.ts +38 -8
  62. package/dist/types/core/client/store/states.d.ts +24 -2
  63. package/dist/types/core/client/types.d.ts +128 -24
  64. package/dist/types/core/client/utils/states.d.ts +12 -0
  65. package/dist/types/templates/baseConfig.d.ts +1 -100
  66. package/dist/types/templates/compare.d.ts +32 -3
  67. package/dist/types/templates/expert.d.ts +18 -0
  68. package/dist/types/templates/explore.d.ts +10 -1
  69. package/dist/types/templates/lite.d.ts +11 -0
  70. package/dist/types/widgets/EodashChart.vue.d.ts +5 -3
  71. package/dist/types/widgets/EodashItemCatalog/index.vue.d.ts +129 -2
  72. package/dist/types/widgets/EodashItemCatalog/methods/filters.d.ts +28 -6
  73. package/dist/types/widgets/EodashItemCatalog/methods/handlers.d.ts +17 -4
  74. package/dist/types/widgets/EodashItemCatalog/methods/map.d.ts +16 -4
  75. package/dist/types/widgets/EodashLayerControl.vue.d.ts +35 -16
  76. package/dist/types/widgets/EodashMap/EodashMapBtns.vue.d.ts +14 -10
  77. package/dist/types/widgets/EodashMap/index.vue.d.ts +86 -37
  78. package/dist/types/widgets/EodashMap/methods/create-layers-config.d.ts +1 -1
  79. package/dist/types/widgets/EodashMap/methods/index.d.ts +5 -1
  80. package/dist/types/widgets/EodashMap/methods/use-map-loading.d.ts +1 -0
  81. package/dist/types/widgets/EodashProcess/index.vue.d.ts +5 -3
  82. package/dist/types/widgets/EodashProcess/methods/custom-endpoints/layers/eoxhub-workspaces-endpoint.d.ts +1 -1
  83. package/dist/types/widgets/EodashProcess/states.d.ts +1 -1
  84. package/dist/types/widgets/EodashStacInfo.vue.d.ts +20 -0
  85. package/dist/types/widgets/EodashTimeSlider/index.vue.d.ts +20 -0
  86. package/dist/types/widgets/EodashTimeSlider/methods/index.d.ts +3 -8
  87. package/dist/types/widgets/EodashTimeSlider/types.d.ts +6 -16
  88. package/dist/types/widgets/EodashTools.vue.d.ts +5 -5
  89. package/package.json +34 -34
  90. package/templates/baseConfig.js +37 -6
  91. package/templates/compare.js +61 -7
  92. package/templates/expert.js +24 -2
  93. package/templates/explore.js +12 -5
  94. package/templates/lite.js +13 -0
  95. package/widgets/EodashChart.vue +162 -21
  96. package/widgets/EodashItemCatalog/index.vue +363 -35
  97. package/widgets/EodashItemCatalog/methods/filters.js +134 -70
  98. package/widgets/EodashItemCatalog/methods/handlers.js +113 -19
  99. package/widgets/EodashItemCatalog/methods/map.js +141 -28
  100. package/widgets/EodashLayerControl.vue +51 -25
  101. package/widgets/EodashMap/EodashMapBtns.vue +109 -48
  102. package/widgets/EodashMap/index.vue +91 -105
  103. package/widgets/EodashMap/methods/btns.js +64 -31
  104. package/widgets/EodashMap/methods/create-layers-config.js +16 -16
  105. package/widgets/EodashMap/methods/index.js +71 -8
  106. package/widgets/EodashMap/methods/use-map-loading.js +58 -0
  107. package/widgets/EodashProcess/index.vue +136 -16
  108. package/widgets/EodashProcess/methods/composables.js +13 -0
  109. package/widgets/EodashProcess/methods/outputs.js +0 -1
  110. package/widgets/EodashProcess/methods/utils.js +29 -27
  111. package/widgets/EodashProcess/states.js +1 -1
  112. package/widgets/EodashStacInfo.vue +64 -2
  113. package/widgets/EodashTimeSlider/index.vue +58 -2
  114. package/widgets/EodashTimeSlider/methods/index.js +5 -48
  115. package/widgets/EodashTimeSlider/types.ts +7 -17
  116. package/widgets/ExportState.vue +13 -4
  117. package/dist/client/EodashChart-CLDqE93C.js +0 -144
  118. package/dist/client/EodashStacInfo-BQspAHKH.js +0 -107
  119. package/dist/client/index-5Jhsa8Xe.js +0 -570
@@ -17,8 +17,10 @@ export const mapPosition: import("vue").Ref<(number | undefined)[]>;
17
17
  export const registeredProjections: string[];
18
18
  /** available projection to be rendered by `EodashMap` */
19
19
  export const availableMapProjection: import("vue").Ref<string, string>;
20
- /** @type {import("vue").Ref<import("@eox/map").EOxMap | null>} */
21
- export const mapEl: import("vue").Ref<import("@eox/map").EOxMap | null>;
20
+ /** @type {import("vue").Ref<import("@eox/map").EOxMap & { mapUpdateId?: number } | null>} */
21
+ export const mapEl: import("vue").Ref<(import("@eox/map").EOxMap & {
22
+ mapUpdateId?: number;
23
+ }) | null>;
22
24
  /** @type {import("vue").Ref<import("@eox/map").EOxMap | null>} */
23
25
  export const mapCompareEl: import("vue").Ref<import("@eox/map").EOxMap | null>;
24
26
  export const activeTemplate: import("vue").Ref<string, string>;
@@ -52,3 +54,23 @@ export const chartSpec: import("vue").Ref<import("vega-embed").VisualizationSpec
52
54
  * @type {import("vue").Ref<import("vega-embed").VisualizationSpec | null>}
53
55
  */
54
56
  export const compareChartSpec: import("vue").Ref<import("vega-embed").VisualizationSpec | null>;
57
+ /**
58
+ * Global loading state.
59
+ * - `loading.activeLoads` — increment/decrement to track concurrent loads
60
+ * - `loading.value` — derived boolean, true when `activeLoads > 0`
61
+ */
62
+ export const loading: {
63
+ activeLoads: number;
64
+ readonly value: boolean;
65
+ };
66
+ /**
67
+ * Adapter allows external widgets to hook into tooltip property transformation
68
+ * @type {import("vue").Ref<((param: {key: string, value: any}, map?: string) => {key: string, value: any} | undefined) | null>}
69
+ */
70
+ export const tooltipAdapter: import("vue").Ref<((param: {
71
+ key: string;
72
+ value: any;
73
+ }, map?: string) => {
74
+ key: string;
75
+ value: any;
76
+ } | undefined) | null>;
@@ -1,3 +1,6 @@
1
+ /**
2
+ * @module Configuration
3
+ */
1
4
  /** @group Eodash */
2
5
  export interface WebComponentProps {
3
6
  /**
@@ -11,7 +14,8 @@ export interface WebComponentProps {
11
14
  * ```
12
15
  *
13
16
  * ::: warning
14
- * import maps are not available in runtime config
17
+ * Importing by package name only works when a bundler resolves it (build-time configs,
18
+ * or runtime configs bundled into your app). Otherwise import by URL.
15
19
  * :::
16
20
  */
17
21
  link?: string | (() => Promise<unknown>);
@@ -83,87 +87,87 @@ export interface WebComponentWidget {
83
87
  widget: WebComponentProps;
84
88
  type: "web-component";
85
89
  }
86
- /** @group Widgets */
90
+ /** @group Widget Config */
87
91
  export interface TEodashMap {
88
92
  name: "EodashMap";
89
93
  properties?: InstanceType<typeof import("../../widgets/EodashMap/index.vue").default>["$props"];
90
94
  }
91
- /** @group Widgets */
95
+ /** @group Widget Config */
92
96
  export interface TEodashDatePicker {
93
97
  name: "EodashDatePicker";
94
98
  properties?: InstanceType<typeof import("../../widgets/EodashDatePicker.vue").default>["$props"];
95
99
  }
96
- /** @group Widgets */
100
+ /** @group Widget Config */
97
101
  export interface TEodashTimeSlider {
98
102
  name: "EodashTimeSlider";
99
103
  properties?: InstanceType<typeof import("../../widgets/EodashTimeSlider/index.vue").default>["$props"];
100
104
  }
101
- /** @group Widgets */
105
+ /** @group Widget Config */
102
106
  export interface TEodashItemFilter {
103
107
  name: "EodashItemFilter";
104
108
  properties?: InstanceType<typeof import("../../widgets/EodashItemFilter.vue").default>["$props"];
105
109
  }
106
- /** @group Widgets */
110
+ /** @group Widget Config */
107
111
  export interface TEodashLayerControl {
108
112
  name: "EodashLayerControl";
109
113
  properties?: InstanceType<typeof import("../../widgets/EodashLayerControl.vue").default>["$props"];
110
114
  }
111
- /** @group Widgets */
115
+ /** @group Widget Config */
112
116
  export interface TEodashStacInfo {
113
117
  name: "EodashStacInfo";
114
118
  properties?: InstanceType<typeof import("../../widgets/EodashStacInfo.vue").default>["$props"];
115
119
  }
116
- /** @group Widgets */
120
+ /** @group Widget Config */
117
121
  export interface TEodashProcess {
118
122
  name: "EodashProcess";
119
123
  properties?: InstanceType<typeof import("../../widgets/EodashProcess/index.vue").default>["$props"];
120
124
  }
121
- /** @group Widgets */
125
+ /** @group Widget Config */
122
126
  export interface TEodashChart {
123
127
  name: "EodashChart";
124
128
  properties?: InstanceType<typeof import("../../widgets/EodashChart.vue").default>["$props"];
125
129
  }
126
- /** @group Widgets */
127
- export interface TEodashMapBtns {
128
- name: "EodashMapBtns";
129
- properties?: InstanceType<typeof import("^/EodashMapBtns.vue").default>["$props"];
130
- }
131
- /** @group Widgets */
130
+ /** @group Widget Config */
132
131
  export interface TEodashTools {
133
132
  name: "EodashTools";
134
133
  properties?: InstanceType<typeof import("../../widgets/EodashTools.vue").default>["$props"];
135
134
  }
136
- /** @group Widgets */
135
+ /** @group Widget Config */
137
136
  export interface TEodashLayoutSwitcher {
138
137
  name: "EodashLayoutSwitcher";
139
138
  properties?: InstanceType<typeof import("../../widgets/EodashLayoutSwitcher.vue").default>["$props"];
140
139
  }
140
+ /** @group Widget Config */
141
141
  export interface TEodashItemCatalog {
142
142
  name: "EodashItemCatalog";
143
143
  properties?: InstanceType<typeof import("../../widgets/EodashItemCatalog/index.vue").default>["$props"];
144
144
  }
145
- /** @group Widgets */
145
+ /** @group Widget Config */
146
146
  export interface TExportState {
147
147
  name: "ExportState";
148
148
  properties?: InstanceType<typeof import("../../widgets/ExportState.vue").default>["$props"];
149
149
  }
150
- /** @group Widgets */
150
+ /** @group Widget Config */
151
151
  export interface TPopUp {
152
152
  name: "PopUp";
153
153
  properties?: InstanceType<typeof import("../../widgets/PopUp.vue").default>["$props"];
154
154
  }
155
- /** @group Widgets */
155
+ /** @group Widget Config */
156
156
  export interface TWidgetsContainer {
157
157
  name: "WidgetsContainer";
158
158
  properties?: InstanceType<typeof import("../../widgets/WidgetsContainer.vue").default>["$props"];
159
159
  }
160
+ export interface TEodashLayoutSwitcher {
161
+ name: "EodashLayoutSwitcher";
162
+ properties?: InstanceType<typeof import("../../widgets/EodashLayoutSwitcher.vue").default>["$props"];
163
+ }
160
164
  /**
161
165
  * Internal Vue Components inside the
162
166
  * [widgets](https://github.com/eodash/eodash/tree/main/widgets) folder.
163
167
  * Referenced using their name without the .vue extention
164
- * @group Widgets
168
+ * @group Widget Config
165
169
  */
166
- export type ComponentWidget = TEodashMap | TEodashDatePicker | TEodashItemFilter | TEodashLayerControl | TEodashStacInfo | TEodashProcess | TEodashChart | TEodashMapBtns | TEodashTools | TEodashLayoutSwitcher | TEodashItemCatalog | TExportState | TPopUp | TWidgetsContainer | TEodashTimeSlider;
170
+ export type ComponentWidget = TEodashMap | TEodashDatePicker | TEodashItemFilter | TEodashLayerControl | TEodashStacInfo | TEodashProcess | TEodashChart | TEodashTools | TEodashLayoutSwitcher | TEodashItemCatalog | TExportState | TPopUp | TWidgetsContainer | TEodashLayoutSwitcher | TEodashTimeSlider;
167
171
  /**
168
172
  * Widget type: `internal` API. Internal widgets are Vue components provided by
169
173
  * eodash.
@@ -251,7 +255,11 @@ export type StacEndpoint = string | {
251
255
  api?: boolean;
252
256
  rasterEndpoint?: string;
253
257
  vectorEndpoint?: string;
254
- supportedUpscalingEndpoints?: string[];
258
+ supportedUpscalingEndpoints?: Array<string | {
259
+ url: string;
260
+ titilerVersion?: 1 | 2;
261
+ }>;
262
+ colormapRegistry?: string | Record<string, string[]>;
255
263
  };
256
264
  /** @group Eodash */
257
265
  export interface EodashFont {
@@ -274,6 +282,13 @@ export type Eodash = {
274
282
  /** Object containing potential special configuration options */
275
283
  options?: {
276
284
  useSubCode?: boolean;
285
+ /**
286
+ * TiTiler render presets, keyed by collection id then render name,
287
+ * following the STAC `renders` extension shape. Used to render a
288
+ * collection's raster data when the collection itself does not expose
289
+ * `renders`.
290
+ */
291
+ renders?: Record<string, Record<string, Render>>;
277
292
  };
278
293
  /** Root STAC catalog endpoint */
279
294
  stacEndpoint: StacEndpoint;
@@ -376,10 +391,20 @@ export declare function register(): void;
376
391
  * @group WebComponent
377
392
  */
378
393
  export declare const store: typeof import("./store").default;
379
- export * from "./main.js";
380
394
  /**
395
+ * Creates an eodash instance configuration. Accepts a config object directly,
396
+ * or an async factory that receives the eodash store and returns the config.
397
+ *
381
398
  * @group Eodash
382
399
  */
400
+ export { createEodash } from "./main.js";
401
+ /**
402
+ * eodash flat style: an OpenLayers flat style extended with interactive
403
+ * `variables`, a `jsonform`, a `legend`, and `tooltip` configuration.
404
+ *
405
+ * @group STAC
406
+ * @see [eodash Flat Styles](/STAC#eodash-flat-styles)
407
+ */
383
408
  export type EodashStyleJson = import("ol/style/flat").FlatStyleLike & {
384
409
  variables?: Record<string, string | number | boolean | null | undefined>;
385
410
  legend?: import("@eox/layercontrol/src/components/layer-config.js").EOxLayerControlLayerConfig["layerConfig"]["legend"];
@@ -391,6 +416,9 @@ export type EodashStyleJson = import("ol/style/flat").FlatStyleLike & {
391
416
  decimals?: number;
392
417
  }[];
393
418
  };
419
+ /**
420
+ * @ignore
421
+ */
394
422
  export type EodashRasterJSONForm = {
395
423
  jsonform: Record<string, any>;
396
424
  legend?: import("@eox/layercontrol/src/components/layer-config.js").EOxLayerControlLayerConfig["layerConfig"]["legend"];
@@ -412,10 +440,63 @@ export interface SearchParams {
412
440
  /** Maximum number of results to return */
413
441
  limit?: number;
414
442
  }
443
+ /**
444
+ * @ignore
445
+ */
415
446
  export interface StacItemsAPIResponse {
416
447
  type: "FeatureCollection";
417
448
  features: import("stac-ts").StacItem[];
418
449
  }
450
+ export interface AggregationCollection {
451
+ type: "AggregationCollection";
452
+ aggregations?: Array<{
453
+ key?: string;
454
+ interval?: string;
455
+ buckets?: Array<{
456
+ key: string;
457
+ value: number;
458
+ }>;
459
+ }>;
460
+ }
461
+ /** Itemfilter filter kind emitted in filter events. */
462
+ export type ItemFilterFilterType = "range" | "multiselect" | "select" | "text" | "spatial";
463
+ export interface ItemFilterBase {
464
+ key: string;
465
+ title?: string;
466
+ expanded?: boolean;
467
+ dirty?: boolean;
468
+ stringifiedState?: string;
469
+ }
470
+ export interface ItemFilterRange extends ItemFilterBase {
471
+ type: "range";
472
+ min?: number;
473
+ max?: number;
474
+ step?: number;
475
+ state?: {
476
+ min?: number;
477
+ max?: number;
478
+ };
479
+ }
480
+ export interface ItemFilterSelect extends ItemFilterBase {
481
+ type: "select";
482
+ state?: Record<string, string | number | boolean | null | undefined>;
483
+ }
484
+ export interface ItemFilterMultiSelect extends ItemFilterBase {
485
+ type: "multiselect";
486
+ state?: Record<string, string | number | boolean | null | undefined>;
487
+ }
488
+ export interface ItemFilterText extends ItemFilterBase {
489
+ type: "text";
490
+ state?: Record<string, string | number | boolean | null | undefined>;
491
+ }
492
+ export interface ItemFilterSpatial extends ItemFilterBase {
493
+ type: "spatial";
494
+ state?: Record<string, string | number | boolean | null | undefined>;
495
+ }
496
+ /** Normalized filter object emitted by `eox-itemfilter` in filter events. */
497
+ export type ItemFilterFilter = ItemFilterRange | ItemFilterSelect | ItemFilterMultiSelect | ItemFilterText | ItemFilterSpatial;
498
+ /** Itemfilter filter map keyed by filter key. */
499
+ export type ItemFilterFilters = Record<string, ItemFilterFilter>;
419
500
  /** @ignore */
420
501
  export interface Render {
421
502
  /** REQUIRED. Array of asset keys referencing the assets that are used to make the rendering */
@@ -438,6 +519,10 @@ export interface Render {
438
519
  expression?: string;
439
520
  /** Zoom levels range applicable for the visualization */
440
521
  minmax_zoom?: number[];
522
+ /** Band indexes to apply the rendering to. */
523
+ bidx?: number[];
524
+ /** Tile size to request from the tile server. */
525
+ tilesize?: number;
441
526
  }
442
527
  /** @ignore */
443
528
  export interface TitilerSTACParameters {
@@ -500,6 +585,7 @@ export interface GeoJsonFeatureCollection<T = Record<string, any>, G = GeoJSON.G
500
585
  /**
501
586
  * Partial STAC Authentication Extension v1.1.0
502
587
  * Generated from https://stac-extensions.github.io/authentication/v1.1.0/schema.json
588
+ * @ignore
503
589
  */
504
590
  export interface AuthScheme {
505
591
  /** Scheme keyword, e.g. http, s3, signedUrl, oauth2, apiKey, openIdConnect */
@@ -511,13 +597,19 @@ export interface AuthScheme {
511
597
  flows?: Record<string, OAuth2Flow | SignedUrlFlow>;
512
598
  openIdConnectUrl?: string;
513
599
  }
600
+ /**
601
+ * @ignore
602
+ */
514
603
  export interface OAuth2Flow {
515
604
  authorizationUrl?: string;
516
605
  tokenUrl?: string;
517
606
  refreshUrl?: string;
518
607
  scopes: Record<string, string>;
519
608
  }
520
- /** Signed URL flow configuration */
609
+ /**
610
+ * Signed URL flow configuration
611
+ * @ignore
612
+ */
521
613
  export interface SignedUrlFlow {
522
614
  authorizationApi: string;
523
615
  method: string;
@@ -529,20 +621,32 @@ export interface SignedUrlFlow {
529
621
  schema?: object;
530
622
  }>;
531
623
  }
624
+ /**
625
+ * @ignore
626
+ */
532
627
  export interface ApiKeyAuthScheme extends AuthScheme {
533
628
  type: "apiKey";
534
629
  name: string;
535
630
  in: string;
536
631
  }
537
632
  import { StacItem, StacLink, StacAsset } from "stac-ts";
633
+ /**
634
+ * @ignore
635
+ */
538
636
  export interface StacAuthItem extends StacItem {
539
637
  "auth:schemes": {
540
638
  [key: string]: AuthScheme;
541
639
  };
542
640
  }
641
+ /**
642
+ * @ignore
643
+ */
543
644
  export interface StacAuthLink extends StacLink {
544
645
  "auth:refs": [string];
545
646
  }
647
+ /**
648
+ * @ignore
649
+ */
546
650
  export interface StacAuthAsset extends StacAsset {
547
651
  "auth:refs": [string];
548
652
  }
@@ -115,3 +115,15 @@ export const dataThemesBrands: {
115
115
  color: string;
116
116
  };
117
117
  };
118
+ /** @type {Map<string, import("stac-ts").StacItem[]>} */
119
+ export const itemsCache: Map<string, import("stac-ts").StacItem[]>;
120
+ /**
121
+ * Split items cache stores items with their time range metadata
122
+ * @type {Map<string, {items: import("stac-ts").StacItem[], minTime: number, maxTime: number}>}
123
+ */
124
+ export const splitItemsCache: Map<string, {
125
+ items: import("stac-ts").StacItem[];
126
+ minTime: number;
127
+ maxTime: number;
128
+ }>;
129
+ export const timesliderUpdateRef: import("vue").Ref<number, number>;
@@ -1,103 +1,4 @@
1
- export function getBaseConfig(config: import("vega-lite").DeepPartial<import("../core/client/types").Eodash>): ({
2
- id?: string;
3
- options?: {
4
- useSubCode?: boolean;
5
- };
6
- stacEndpoint: import("../core/client/types").StacEndpoint;
7
- brand: {
8
- noLayout?: boolean;
9
- errorMessage?: string;
10
- font?: import("../core/client/types").EodashFont | {
11
- body: import("../core/client/types").EodashFont;
12
- headers: import("../core/client/types").EodashFont;
13
- };
14
- name: string;
15
- logo?: string;
16
- theme?: import("vuetify").ThemeDefinition & {
17
- collectionsPalette?: string[];
18
- };
19
- feedback?: {
20
- endpoint: string;
21
- schema?: any;
22
- };
23
- footerText?: string;
24
- };
25
- } & {
26
- templates: import("../core/client/types").MultiTemplates;
27
- }) | {
28
- id?: string | undefined;
29
- options?: {
30
- useSubCode?: boolean;
31
- } | undefined;
32
- stacEndpoint: import("../core/client/types").StacEndpoint & (string | {
33
- endpoint: string;
34
- api?: boolean;
35
- rasterEndpoint?: string;
36
- vectorEndpoint?: string;
37
- supportedUpscalingEndpoints?: string[];
38
- });
39
- brand: {
40
- noLayout?: boolean;
41
- errorMessage?: string;
42
- font?: import("../core/client/types").EodashFont | {
43
- body: import("../core/client/types").EodashFont;
44
- headers: import("../core/client/types").EodashFont;
45
- };
46
- name: string;
47
- logo?: string;
48
- theme?: import("vuetify").ThemeDefinition & {
49
- collectionsPalette?: string[];
50
- };
51
- feedback?: {
52
- endpoint: string;
53
- schema?: any;
54
- };
55
- footerText?: string;
56
- } & {
57
- name: string;
58
- font?: import("../core/client/types").EodashFont | {
59
- body: import("../core/client/types").EodashFont;
60
- headers: import("../core/client/types").EodashFont;
61
- } | undefined;
62
- theme?: ({
63
- dark?: boolean | undefined;
64
- colors?: {
65
- [x: string]: string | undefined;
66
- background?: string | undefined;
67
- surface?: string | undefined;
68
- primary?: string | undefined;
69
- secondary?: string | undefined;
70
- success?: string | undefined;
71
- warning?: string | undefined;
72
- error?: string | undefined;
73
- info?: string | undefined;
74
- 'on-background'?: string | undefined;
75
- 'on-surface'?: string | undefined;
76
- 'on-primary'?: string | undefined;
77
- 'on-secondary'?: string | undefined;
78
- 'on-success'?: string | undefined;
79
- 'on-warning'?: string | undefined;
80
- 'on-error'?: string | undefined;
81
- 'on-info'?: string | undefined;
82
- } | undefined;
83
- variables?: {
84
- [x: string]: string | number | undefined;
85
- } | undefined;
86
- } & {
87
- collectionsPalette?: string[];
88
- }) | undefined;
89
- noLayout?: boolean | undefined;
90
- errorMessage?: string | undefined;
91
- logo?: string | undefined;
92
- feedback?: {
93
- endpoint: string;
94
- schema?: any;
95
- } | undefined;
96
- footerText?: string | undefined;
97
- };
98
- template: import("../core/client/types").Template;
99
- templates: import("../core/client/types").MultiTemplates;
100
- };
1
+ export function getBaseConfig(config: import("vega-lite").DeepPartial<import("../core/client/types").Eodash>): import("../core/client/types").Eodash;
101
2
  export default baseConfig;
102
3
  /** @type {import("../core/client/types").Eodash} */
103
4
  declare const baseConfig: import("../core/client/types").Eodash;
@@ -21,6 +21,24 @@ declare const _default: {
21
21
  name: "EodashMap";
22
22
  properties: {
23
23
  enableCompare: true;
24
+ baseLayers: {
25
+ type: "Group";
26
+ properties: {
27
+ id: string;
28
+ title: string;
29
+ };
30
+ layers: {
31
+ type: "Tile";
32
+ properties: {
33
+ id: string;
34
+ title: string;
35
+ };
36
+ source: {
37
+ type: "XYZ";
38
+ url: string;
39
+ };
40
+ }[];
41
+ }[];
24
42
  };
25
43
  };
26
44
  };
@@ -188,10 +206,21 @@ declare const _default: {
188
206
  };
189
207
  title: string;
190
208
  widget: {
191
- name: "EodashDatePicker";
209
+ name: "EodashTimeSlider";
192
210
  properties: {
193
- hintText: string;
194
- toggleCalendar: true;
211
+ filters: {
212
+ key: string;
213
+ title: string;
214
+ type: string;
215
+ expanded: boolean;
216
+ min: number;
217
+ max: number;
218
+ step: number;
219
+ state: {
220
+ min: number;
221
+ max: number;
222
+ };
223
+ }[];
195
224
  };
196
225
  };
197
226
  } | null;
@@ -19,6 +19,24 @@ declare const _default: {
19
19
  widget: {
20
20
  name: "EodashMap";
21
21
  properties: {
22
+ baseLayers: {
23
+ type: "Group";
24
+ properties: {
25
+ id: string;
26
+ title: string;
27
+ };
28
+ layers: {
29
+ type: "Tile";
30
+ properties: {
31
+ id: string;
32
+ title: string;
33
+ };
34
+ source: {
35
+ type: "XYZ";
36
+ url: string;
37
+ };
38
+ }[];
39
+ }[];
22
40
  enableCompare: true;
23
41
  zoomToExtent: true;
24
42
  btns: {
@@ -20,18 +20,22 @@ declare const _default: {
20
20
  widget: {
21
21
  name: "EodashMap";
22
22
  properties: {
23
+ zoomToExtent: false;
23
24
  enableCompare: true;
24
25
  btns: {
25
26
  enableZoom: true;
26
27
  enableExportMap: true;
27
28
  enableChangeProjection: true;
29
+ enableMosaic: false;
28
30
  enableCompareIndicators: {
29
31
  fallbackTemplate: string;
32
+ compareTemplate: string;
30
33
  itemFilterConfig: {
31
34
  imageProperty: string;
32
35
  };
33
36
  };
34
- enableSearch: true;
37
+ enableBackToPOIs: false;
38
+ enableSearch: false;
35
39
  };
36
40
  };
37
41
  };
@@ -48,6 +52,7 @@ declare const _default: {
48
52
  };
49
53
  widget: {
50
54
  name: "EodashLayerControl";
55
+ properties?: undefined;
51
56
  };
52
57
  } | {
53
58
  id: string;
@@ -61,6 +66,10 @@ declare const _default: {
61
66
  };
62
67
  widget: {
63
68
  name: "EodashItemCatalog";
69
+ properties: {
70
+ layoutTarget: undefined;
71
+ hoverProperties: string[];
72
+ };
64
73
  };
65
74
  })[];
66
75
  };
@@ -20,6 +20,17 @@ declare const _default: {
20
20
  widget: {
21
21
  name: "EodashMap";
22
22
  properties: {
23
+ baseLayers: {
24
+ type: "Tile";
25
+ properties: {
26
+ id: string;
27
+ title: string;
28
+ };
29
+ source: {
30
+ type: "XYZ";
31
+ url: string;
32
+ };
33
+ }[];
23
34
  enableCompare: true;
24
35
  enableCursorCoordinates: false;
25
36
  enableScaleLine: false;
@@ -6,7 +6,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
6
6
  default: boolean;
7
7
  };
8
8
  vegaEmbedOptions: {
9
- type: ObjectConstructor;
9
+ /** @type {import("vue").PropType<import("vega-embed").EmbedOptions>} */
10
+ type: import("vue").PropType<import("vega-embed").EmbedOptions>;
10
11
  default(): {
11
12
  actions: boolean;
12
13
  };
@@ -17,12 +18,13 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
17
18
  default: boolean;
18
19
  };
19
20
  vegaEmbedOptions: {
20
- type: ObjectConstructor;
21
+ /** @type {import("vue").PropType<import("vega-embed").EmbedOptions>} */
22
+ type: import("vue").PropType<import("vega-embed").EmbedOptions>;
21
23
  default(): {
22
24
  actions: boolean;
23
25
  };
24
26
  };
25
27
  }>> & Readonly<{}>, {
26
28
  enableCompare: boolean;
27
- vegaEmbedOptions: Record<string, any>;
29
+ vegaEmbedOptions: import("vega-embed").EmbedOptions<string, import("vega-typings").Renderers>;
28
30
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;