@eodash/eodash 5.7.0 → 5.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) 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 +74 -20
  5. package/core/client/eodashSTAC/cql.js +64 -0
  6. package/core/client/eodashSTAC/createLayers.js +169 -116
  7. package/core/client/eodashSTAC/helpers.js +391 -98
  8. package/core/client/eodashSTAC/mosaic.js +416 -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 +25 -4
  12. package/core/client/store/states.js +20 -2
  13. package/core/client/types.ts +147 -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-ePbdvUTE.js} +2 -2
  17. package/dist/client/{DynamicWebComponent-CnKhYo0K.js → DynamicWebComponent-g5SdRbjY.js} +1 -1
  18. package/dist/client/{EodashChart-CLDqE93C.js → EodashChart-ChrkA5oS.js} +7 -6
  19. package/dist/client/{EodashDatePicker-CMPDT-ce.js → EodashDatePicker-CY1TrsDo.js} +3 -3
  20. package/dist/client/{EodashItemFilter-BpdA8QQa.js → EodashItemFilter-DzshHDlS.js} +2 -1
  21. package/dist/client/{EodashLayerControl-BHpDA4_0.js → EodashLayerControl-DMCeMkSd.js} +50 -20
  22. package/dist/client/{EodashLayoutSwitcher-B1fRUt7G.js → EodashLayoutSwitcher-iJ8mX1rF.js} +3 -3
  23. package/dist/client/{EodashMapBtns-Cpned0tc.js → EodashMapBtns-C7Cr7q5Y.js} +200 -86
  24. package/dist/client/EodashStacInfo-K7-iuXa7.js +169 -0
  25. package/dist/client/{EodashTools-1zHz26gv.js → EodashTools-BEK7e7JM.js} +4 -4
  26. package/dist/client/{ExportState-DbOm8hBI.js → ExportState-CqIzfMYQ.js} +6 -168
  27. package/dist/client/{Footer-BKg-VVkj.js → Footer-1P0cmBOZ.js} +1 -1
  28. package/dist/client/{Header-DCrwCvmY.js → Header-CkkBaBNh.js} +2 -2
  29. package/dist/client/{MobileLayout-vWSHpluo.js → MobileLayout-BPf49kDU.js} +2 -2
  30. package/dist/client/{PopUp-9uimfK49.js → PopUp-DPZq5SWI.js} +4 -168
  31. package/dist/client/{ProcessList-CTTIZa06.js → ProcessList-DuI6WpS1.js} +5 -5
  32. package/dist/client/VDivider-Bj9LG_JV.js +168 -0
  33. package/dist/client/{VImg-CrmB76ZY.js → VImg-Ddv5OyMz.js} +2 -2
  34. package/dist/client/{VMain-OKZNpcEG.js → VMain-7yqk_qC3.js} +1 -1
  35. package/dist/client/{VTooltip-CJw2FyWk.js → VTooltip-2hAJyEoa.js} +2 -2
  36. package/dist/client/{WidgetsContainer-BaWOnE5R.js → WidgetsContainer-2DOrlwCB.js} +1 -1
  37. package/dist/client/{asWebComponent-BHWpMuE3.js → asWebComponent-BlFN2lkB.js} +456 -306
  38. package/dist/client/{async-DSKj6g1f.js → async-B2H8ZwUK.js} +2 -2
  39. package/dist/client/{create-layers-config-CBoYedqB.js → create-layers-config-u_vn5hPk.js} +17 -17
  40. package/dist/client/dialog-transition-BrMkMiNa.js +170 -0
  41. package/dist/client/eo-dash.js +1 -1
  42. package/dist/client/{forwardRefs-DH51zPUr.js → forwardRefs-DAlror6d.js} +8 -87
  43. package/dist/client/{handling-BrcDDlgS.js → handling-B6I1V5eG.js} +3 -3
  44. package/dist/client/{helpers-DjZVl_WF.js → helpers-CBqIUSXJ.js} +794 -182
  45. package/dist/client/index-BWq1ZKaV.js +3168 -0
  46. package/dist/client/{index-CUjl-ZsI.js → index-CJ9UI3ln.js} +2 -2
  47. package/dist/client/{index-CSG_JoOA.js → index-DXLz4sFR.js} +62 -56
  48. package/dist/client/{index-1JKE68n3.js → index-DhKU6KqM.js} +211 -67
  49. package/dist/client/{index-Cu3-13Xg.js → index-DjQlbWbJ.js} +7 -6
  50. package/dist/client/mosaic-BFYLEwyx.js +455 -0
  51. package/dist/client/templates.js +250 -119
  52. package/dist/client/{transition-OHcz5Qq1.js → transition-D_W6Wn9v.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 +77 -18
  60. package/dist/types/core/client/eodashSTAC/mosaic.d.ts +56 -0
  61. package/dist/types/core/client/store/stac.d.ts +31 -7
  62. package/dist/types/core/client/store/states.d.ts +24 -2
  63. package/dist/types/core/client/types.d.ts +123 -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 +9 -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/states.d.ts +1 -1
  83. package/dist/types/widgets/EodashStacInfo.vue.d.ts +20 -0
  84. package/dist/types/widgets/EodashTimeSlider/index.vue.d.ts +20 -0
  85. package/dist/types/widgets/EodashTimeSlider/methods/index.d.ts +3 -8
  86. package/dist/types/widgets/EodashTimeSlider/types.d.ts +6 -16
  87. package/dist/types/widgets/EodashTools.vue.d.ts +5 -5
  88. package/package.json +33 -33
  89. package/templates/baseConfig.js +36 -6
  90. package/templates/compare.js +62 -7
  91. package/templates/expert.js +23 -0
  92. package/templates/explore.js +11 -5
  93. package/templates/lite.js +14 -0
  94. package/widgets/EodashChart.vue +1 -0
  95. package/widgets/EodashItemCatalog/index.vue +363 -35
  96. package/widgets/EodashItemCatalog/methods/filters.js +134 -70
  97. package/widgets/EodashItemCatalog/methods/handlers.js +113 -19
  98. package/widgets/EodashItemCatalog/methods/map.js +142 -28
  99. package/widgets/EodashLayerControl.vue +42 -11
  100. package/widgets/EodashMap/EodashMapBtns.vue +109 -48
  101. package/widgets/EodashMap/index.vue +89 -105
  102. package/widgets/EodashMap/methods/btns.js +37 -5
  103. package/widgets/EodashMap/methods/create-layers-config.js +16 -16
  104. package/widgets/EodashMap/methods/index.js +71 -8
  105. package/widgets/EodashMap/methods/use-map-loading.js +52 -0
  106. package/widgets/EodashProcess/index.vue +1 -0
  107. package/widgets/EodashProcess/states.js +1 -1
  108. package/widgets/EodashStacInfo.vue +64 -2
  109. package/widgets/EodashTimeSlider/index.vue +58 -2
  110. package/widgets/EodashTimeSlider/methods/index.js +5 -48
  111. package/widgets/EodashTimeSlider/types.ts +7 -17
  112. package/dist/client/EodashStacInfo-BQspAHKH.js +0 -107
  113. package/dist/client/index-5Jhsa8Xe.js +0 -570
@@ -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,10 @@ 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
+ }>;
255
262
  };
256
263
  /** @group Eodash */
257
264
  export interface EodashFont {
@@ -274,6 +281,13 @@ export type Eodash = {
274
281
  /** Object containing potential special configuration options */
275
282
  options?: {
276
283
  useSubCode?: boolean;
284
+ /**
285
+ * TiTiler render presets, keyed by collection id then render name,
286
+ * following the STAC `renders` extension shape. Used to render a
287
+ * collection's raster data when the collection itself does not expose
288
+ * `renders`.
289
+ */
290
+ renders?: Record<string, Record<string, Render>>;
277
291
  };
278
292
  /** Root STAC catalog endpoint */
279
293
  stacEndpoint: StacEndpoint;
@@ -376,10 +390,20 @@ export declare function register(): void;
376
390
  * @group WebComponent
377
391
  */
378
392
  export declare const store: typeof import("./store").default;
379
- export * from "./main.js";
380
393
  /**
394
+ * Creates an eodash instance configuration. Accepts a config object directly,
395
+ * or an async factory that receives the eodash store and returns the config.
396
+ *
381
397
  * @group Eodash
382
398
  */
399
+ export { createEodash } from "./main.js";
400
+ /**
401
+ * eodash flat style: an OpenLayers flat style extended with interactive
402
+ * `variables`, a `jsonform`, a `legend`, and `tooltip` configuration.
403
+ *
404
+ * @group STAC
405
+ * @see [eodash Flat Styles](/STAC#eodash-flat-styles)
406
+ */
383
407
  export type EodashStyleJson = import("ol/style/flat").FlatStyleLike & {
384
408
  variables?: Record<string, string | number | boolean | null | undefined>;
385
409
  legend?: import("@eox/layercontrol/src/components/layer-config.js").EOxLayerControlLayerConfig["layerConfig"]["legend"];
@@ -391,6 +415,9 @@ export type EodashStyleJson = import("ol/style/flat").FlatStyleLike & {
391
415
  decimals?: number;
392
416
  }[];
393
417
  };
418
+ /**
419
+ * @ignore
420
+ */
394
421
  export type EodashRasterJSONForm = {
395
422
  jsonform: Record<string, any>;
396
423
  legend?: import("@eox/layercontrol/src/components/layer-config.js").EOxLayerControlLayerConfig["layerConfig"]["legend"];
@@ -412,10 +439,63 @@ export interface SearchParams {
412
439
  /** Maximum number of results to return */
413
440
  limit?: number;
414
441
  }
442
+ /**
443
+ * @ignore
444
+ */
415
445
  export interface StacItemsAPIResponse {
416
446
  type: "FeatureCollection";
417
447
  features: import("stac-ts").StacItem[];
418
448
  }
449
+ export interface AggregationCollection {
450
+ type: "AggregationCollection";
451
+ aggregations?: Array<{
452
+ key?: string;
453
+ interval?: string;
454
+ buckets?: Array<{
455
+ key: string;
456
+ value: number;
457
+ }>;
458
+ }>;
459
+ }
460
+ /** Itemfilter filter kind emitted in filter events. */
461
+ export type ItemFilterFilterType = "range" | "multiselect" | "select" | "text" | "spatial";
462
+ export interface ItemFilterBase {
463
+ key: string;
464
+ title?: string;
465
+ expanded?: boolean;
466
+ dirty?: boolean;
467
+ stringifiedState?: string;
468
+ }
469
+ export interface ItemFilterRange extends ItemFilterBase {
470
+ type: "range";
471
+ min?: number;
472
+ max?: number;
473
+ step?: number;
474
+ state?: {
475
+ min?: number;
476
+ max?: number;
477
+ };
478
+ }
479
+ export interface ItemFilterSelect extends ItemFilterBase {
480
+ type: "select";
481
+ state?: Record<string, string | number | boolean | null | undefined>;
482
+ }
483
+ export interface ItemFilterMultiSelect extends ItemFilterBase {
484
+ type: "multiselect";
485
+ state?: Record<string, string | number | boolean | null | undefined>;
486
+ }
487
+ export interface ItemFilterText extends ItemFilterBase {
488
+ type: "text";
489
+ state?: Record<string, string | number | boolean | null | undefined>;
490
+ }
491
+ export interface ItemFilterSpatial extends ItemFilterBase {
492
+ type: "spatial";
493
+ state?: Record<string, string | number | boolean | null | undefined>;
494
+ }
495
+ /** Normalized filter object emitted by `eox-itemfilter` in filter events. */
496
+ export type ItemFilterFilter = ItemFilterRange | ItemFilterSelect | ItemFilterMultiSelect | ItemFilterText | ItemFilterSpatial;
497
+ /** Itemfilter filter map keyed by filter key. */
498
+ export type ItemFilterFilters = Record<string, ItemFilterFilter>;
419
499
  /** @ignore */
420
500
  export interface Render {
421
501
  /** REQUIRED. Array of asset keys referencing the assets that are used to make the rendering */
@@ -500,6 +580,7 @@ export interface GeoJsonFeatureCollection<T = Record<string, any>, G = GeoJSON.G
500
580
  /**
501
581
  * Partial STAC Authentication Extension v1.1.0
502
582
  * Generated from https://stac-extensions.github.io/authentication/v1.1.0/schema.json
583
+ * @ignore
503
584
  */
504
585
  export interface AuthScheme {
505
586
  /** Scheme keyword, e.g. http, s3, signedUrl, oauth2, apiKey, openIdConnect */
@@ -511,13 +592,19 @@ export interface AuthScheme {
511
592
  flows?: Record<string, OAuth2Flow | SignedUrlFlow>;
512
593
  openIdConnectUrl?: string;
513
594
  }
595
+ /**
596
+ * @ignore
597
+ */
514
598
  export interface OAuth2Flow {
515
599
  authorizationUrl?: string;
516
600
  tokenUrl?: string;
517
601
  refreshUrl?: string;
518
602
  scopes: Record<string, string>;
519
603
  }
520
- /** Signed URL flow configuration */
604
+ /**
605
+ * Signed URL flow configuration
606
+ * @ignore
607
+ */
521
608
  export interface SignedUrlFlow {
522
609
  authorizationApi: string;
523
610
  method: string;
@@ -529,20 +616,32 @@ export interface SignedUrlFlow {
529
616
  schema?: object;
530
617
  }>;
531
618
  }
619
+ /**
620
+ * @ignore
621
+ */
532
622
  export interface ApiKeyAuthScheme extends AuthScheme {
533
623
  type: "apiKey";
534
624
  name: string;
535
625
  in: string;
536
626
  }
537
627
  import { StacItem, StacLink, StacAsset } from "stac-ts";
628
+ /**
629
+ * @ignore
630
+ */
538
631
  export interface StacAuthItem extends StacItem {
539
632
  "auth:schemes": {
540
633
  [key: string]: AuthScheme;
541
634
  };
542
635
  }
636
+ /**
637
+ * @ignore
638
+ */
543
639
  export interface StacAuthLink extends StacLink {
544
640
  "auth:refs": [string];
545
641
  }
642
+ /**
643
+ * @ignore
644
+ */
546
645
  export interface StacAuthAsset extends StacAsset {
547
646
  "auth:refs": [string];
548
647
  }
@@ -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,6 +20,7 @@ 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;
@@ -27,11 +28,13 @@ declare const _default: {
27
28
  enableChangeProjection: true;
28
29
  enableCompareIndicators: {
29
30
  fallbackTemplate: string;
31
+ compareTemplate: string;
30
32
  itemFilterConfig: {
31
33
  imageProperty: string;
32
34
  };
33
35
  };
34
- enableSearch: true;
36
+ enableBackToPOIs: false;
37
+ enableSearch: false;
35
38
  };
36
39
  };
37
40
  };
@@ -48,6 +51,7 @@ declare const _default: {
48
51
  };
49
52
  widget: {
50
53
  name: "EodashLayerControl";
54
+ properties?: undefined;
51
55
  };
52
56
  } | {
53
57
  id: string;
@@ -61,6 +65,10 @@ declare const _default: {
61
65
  };
62
66
  widget: {
63
67
  name: "EodashItemCatalog";
68
+ properties: {
69
+ layoutTarget: undefined;
70
+ hoverProperties: string[];
71
+ };
64
72
  };
65
73
  })[];
66
74
  };
@@ -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>;