@eodash/eodash 5.0.0-rc.1.6 → 5.0.0-rc.2.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 (56) hide show
  1. package/core/client/composables/EodashMap.js +30 -25
  2. package/core/client/composables/EodashProcess.js +1 -1
  3. package/core/client/composables/index.js +8 -1
  4. package/core/client/eodash.js +14 -1
  5. package/core/client/eodashSTAC/EodashCollection.js +9 -5
  6. package/core/client/eodashSTAC/createLayers.js +1 -1
  7. package/core/client/eodashSTAC/helpers.js +10 -2
  8. package/core/client/eodashSTAC/triggers.js +56 -1
  9. package/core/client/store/stac.js +7 -2
  10. package/core/client/types.ts +3 -1
  11. package/core/client/utils/index.js +12 -0
  12. package/core/client/utils/states.js +16 -2
  13. package/core/client/views/Dashboard.vue +3 -1
  14. package/dist/client/{DashboardLayout-SZfMDUoR.js → DashboardLayout-BjUs7mYs.js} +2 -2
  15. package/dist/client/{DynamicWebComponent-I9gzMY0L.js → DynamicWebComponent-rIFx5c0f.js} +1 -1
  16. package/dist/client/{EodashDatePicker-B9_u6TTm.js → EodashDatePicker-brJlj1aQ.js} +60 -35
  17. package/dist/client/{EodashItemFilter-G7YsYO3B.js → EodashItemFilter-C2i4lnM1.js} +1 -1
  18. package/dist/client/{EodashLayerControl-CJ94ul63.js → EodashLayerControl-DNQzPQQ4.js} +1 -1
  19. package/dist/client/{EodashLayoutSwitcher-DRKm8A8U.js → EodashLayoutSwitcher-gLe7G8Qn.js} +2 -2
  20. package/dist/client/{EodashMap-Dp44Ajbi.js → EodashMap-LOzTlvrM.js} +50 -72
  21. package/dist/client/{EodashMapBtns-BlPFwhPc.js → EodashMapBtns-UXOupU5J.js} +4 -4
  22. package/dist/client/{EodashProcess-BLmIgUGT.js → EodashProcess-BlkqUdzj.js} +33 -11
  23. package/dist/client/{EodashStacInfo-BIRcfcMo.js → EodashStacInfo-Df3LXKAw.js} +1 -1
  24. package/dist/client/{EodashTools-PNfJ-Cw3.js → EodashTools-BrqH4IDP.js} +4 -4
  25. package/dist/client/{ExportState-5JyTshJH.js → ExportState-DVosrSNY.js} +4 -4
  26. package/dist/client/{Footer-CM9hgdQP.js → Footer-tjsscQ7O.js} +1 -1
  27. package/dist/client/{Header-BTq4DW1x.js → Header-DYMnh4of.js} +3 -3
  28. package/dist/client/{MobileLayout-Atfoxf8d.js → MobileLayout-Df4Z1bMl.js} +17 -7
  29. package/dist/client/{PopUp-Bmfn3N_4.js → PopUp-BFcSuX3b.js} +3 -3
  30. package/dist/client/{VImg-CUF4S39i.js → VImg-BO2Ysvsu.js} +2 -2
  31. package/dist/client/{VMain-CQpXnzDR.js → VMain-fx1gaM7Y.js} +1 -1
  32. package/dist/client/{VOverlay-DUnITwM1.js → VOverlay-CiQn3F6n.js} +3 -3
  33. package/dist/client/{VTooltip-BYTlbKer.js → VTooltip-DKOCofTl.js} +3 -3
  34. package/dist/client/{WidgetsContainer-BPbgxdb0.js → WidgetsContainer-DL0bdnjh.js} +1 -1
  35. package/dist/client/{asWebComponent-DW1XzZkL.js → asWebComponent-N7ChSAQG.js} +306 -154
  36. package/dist/client/eo-dash.css +1 -1
  37. package/dist/client/eo-dash.js +1 -1
  38. package/dist/client/{forwardRefs-gx1Fzngc.js → forwardRefs-C2UOEnvr.js} +1 -1
  39. package/dist/client/{index-DvFppNyk.js → index-BXi80Gr9.js} +1 -1
  40. package/dist/client/{transition-j2eWJYMg.js → transition-w_2EtUxa.js} +1 -1
  41. package/dist/node/cli.js +2 -2
  42. package/dist/types/core/client/composables/EodashMap.d.ts +2 -2
  43. package/dist/types/core/client/composables/index.d.ts +1 -1
  44. package/dist/types/core/client/eodashSTAC/EodashCollection.d.ts +2 -0
  45. package/dist/types/core/client/eodashSTAC/helpers.d.ts +4 -2
  46. package/dist/types/core/client/eodashSTAC/triggers.d.ts +6 -0
  47. package/dist/types/core/client/types.d.ts +3 -1
  48. package/dist/types/core/client/utils/index.d.ts +1 -0
  49. package/dist/types/core/client/utils/states.d.ts +8 -1
  50. package/dist/types/widgets/EodashDatePicker.vue.d.ts +455 -0
  51. package/dist/types/widgets/EodashMap.vue.d.ts +2 -0
  52. package/dist/types/widgets/EodashProcess.vue.d.ts +1 -0
  53. package/package.json +19 -19
  54. package/widgets/EodashDatePicker.vue +51 -17
  55. package/widgets/EodashMap.vue +14 -2
  56. package/widgets/EodashProcess.vue +25 -11
@@ -1,2 +1,2 @@
1
- export { aX as EodashConstructor, aY as register, aZ as store } from './asWebComponent-DW1XzZkL.js';
1
+ export { aX as EodashConstructor, aY as register, aZ as store } from './asWebComponent-N7ChSAQG.js';
2
2
  import 'vue';
@@ -1,5 +1,5 @@
1
1
  import { shallowRef, computed, watch } from 'vue';
2
- import { p as propsFactory, aI as getCurrentInstance } from './asWebComponent-DW1XzZkL.js';
2
+ import { p as propsFactory, aI as getCurrentInstance } from './asWebComponent-N7ChSAQG.js';
3
3
 
4
4
  class Box {
5
5
  constructor(_ref) {
@@ -1,5 +1,5 @@
1
1
  import { TransitionGroup, Transition, h, camelize } from 'vue';
2
- import { g as genericComponent, p as propsFactory } from './asWebComponent-DW1XzZkL.js';
2
+ import { g as genericComponent, p as propsFactory } from './asWebComponent-N7ChSAQG.js';
3
3
 
4
4
  // Utilities
5
5
  const makeTransitionProps = propsFactory({
@@ -1,5 +1,5 @@
1
1
  import { h, mergeProps, TransitionGroup, Transition } from 'vue';
2
- import { p as propsFactory } from './asWebComponent-DW1XzZkL.js';
2
+ import { p as propsFactory } from './asWebComponent-N7ChSAQG.js';
3
3
 
4
4
  // Utilities
5
5
  const makeTransitionProps = propsFactory({
package/dist/node/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import{createLogger as S,defineConfig as w,searchForWorkspaceRoot as W,mergeConfig as F,createServer as O,preview as U,build as N}from"vite";import{readFileSync as y,existsSync as u}from"fs";import t from"path";import{Command as E}from"commander";import{fileURLToPath as I}from"url";import{readFile as L,writeFile as T,rm as $,cp as A}from"fs/promises";import H from"@vitejs/plugin-vue";import M,{transformAssetUrls as J}from"vite-plugin-vuetify";const h=new E("eodash"),c=b(),s=b(process.cwd());JSON.parse(y(t.join(s,"package.json"),"utf-8"));const j=JSON.parse(y(t.join(c,"package.json"),"utf-8"))??{},R=["commander","vite","@vitejs/plugin-vue","vite-plugin-vuetify","axios"],V=Object.keys(j?.dependencies).filter(e=>!R.includes(e));h.version(j.version,"-v, --version","output the current version"),h.option("--publicDir <path>","path to statically served assets folder").option("--no-publicDir","stop serving static assets").option("--outDir <path>","minified output folder").option("-e, --entryPoint <path>","file exporting `createEodash`").option("-w, --widgets <path>","folder that contains vue components as internal widgets").option("--cacheDir <path>","cache folder").option("-r, --runtime <path>","file exporting eodash client runtime config").option("-b, --base <path>","base public path").option("-p, --port <port>","serving port").option("-o, --open","open default browser when the server starts").option("-c, --config <path>","path to eodash server and build configuration file").option("--host [IP address]","specify which IP addresses the server should listen on").option("-l, --lib","builds eodash as a web component library").option("--no-lib","builds eodash as an SPA").option("--no-host","do not expose server to the network").parse(process.argv);const i=await B(h.opts(),process.argv?.[2]),z=i.publicDir?t.resolve(s,i.publicDir):t.join(s,"./public"),m=t.join(s,"/src"),p=i.runtime?t.resolve(s,i.runtime):t.join(m,"./runtime.js"),f=i.entryPoint?t.resolve(s,i.entryPoint):t.join(m,"/main.js"),D=i.widgets?t.resolve(s,i.widgets):t.join(m,"widgets"),x=t.join(s,"/.eodash"),v=i.outDir?t.resolve(s,i.outDir):t.join(x,"/dist"),Y=i.cacheDir?t.resolve(s,i.cacheDir):t.join(x,"cache"),g=S(void 0,{prefix:"[eodash]"});async function B(e,a){let r=e.config?t.resolve(s,e.config):t.join(s,"eodash.config.js"),o={};return u(r)?o=await import(r).then(n=>n.default instanceof Function?n.default():n.default).catch(n=>{console.error(n)}):r=null,{base:e.base??o?.base,port:Number(e.port??o?.[a]?.port),host:e.host??o?.[a]?.host,open:e.open??o?.[a]?.open,cacheDir:e.cacheDir??o?.cacheDir,entryPoint:e.entryPoint??o?.entryPoint,outDir:e.outDir??o?.outDir,publicDir:e.publicDir??o?.publicDir,runtime:e.runtime??o?.runtime,widgets:e.widgets??o?.widgets,lib:e.lib??o?.lib,vite:o.vite}}function b(e=import.meta.dirname??t.dirname(I(import.meta.url))){if(e?.split("/").length)return u(t.resolve(e,"package.json"))?e:b(t.resolve(e,".."));throw new Error("no package root found from "+e)}const P=`
2
+ import{createLogger as S,defineConfig as b,searchForWorkspaceRoot as W,mergeConfig as F,createServer as O,preview as U,build as L}from"vite";import{readFileSync as y,existsSync as u}from"fs";import t from"path";import{Command as N}from"commander";import{fileURLToPath as A}from"url";import{readFile as E,writeFile as I,rm as T,cp as $}from"fs/promises";import H from"@vitejs/plugin-vue";import M,{transformAssetUrls as J}from"vite-plugin-vuetify";const h=new N("eodash"),c=w(),s=w(process.cwd());JSON.parse(y(t.join(s,"package.json"),"utf-8"));const j=JSON.parse(y(t.join(c,"package.json"),"utf-8"))??{},R=["commander","vite","@vitejs/plugin-vue","vite-plugin-vuetify","axios"],V=Object.keys(j?.dependencies).filter(e=>!R.includes(e));h.version(j.version,"-v, --version","output the current version"),h.option("--publicDir <path>","path to statically served assets folder").option("--no-publicDir","stop serving static assets").option("--outDir <path>","minified output folder").option("-e, --entryPoint <path>","file exporting `createEodash`").option("-w, --widgets <path>","folder that contains vue components as internal widgets").option("--cacheDir <path>","cache folder").option("-r, --runtime <path>","file exporting eodash client runtime config").option("-b, --base <path>","base public path").option("-p, --port <port>","serving port").option("-o, --open","open default browser when the server starts").option("-c, --config <path>","path to eodash server and build configuration file").option("--host [IP address]","specify which IP addresses the server should listen on").option("-l, --lib","builds eodash as a web component library").option("--no-lib","builds eodash as an SPA").option("--no-host","do not expose server to the network").parse(process.argv);const i=await B(h.opts(),process.argv?.[2]),z=i.publicDir?t.resolve(s,i.publicDir):t.join(s,"./public"),m=t.join(s,"/src"),p=i.runtime?t.resolve(s,i.runtime):t.join(m,"./runtime.js"),f=i.entryPoint?t.resolve(s,i.entryPoint):t.join(m,"/main.js"),x=i.widgets?t.resolve(s,i.widgets):t.join(m,"widgets"),D=t.join(s,"/.eodash"),v=i.outDir?t.resolve(s,i.outDir):t.join(D,"/dist"),Y=i.cacheDir?t.resolve(s,i.cacheDir):t.join(D,"cache"),g=S(void 0,{prefix:"[eodash]"});async function B(e,a){let r=e.config?t.resolve(s,e.config):t.join(s,"eodash.config.js"),o={};return u(r)?o=await import(r).then(n=>n.default instanceof Function?n.default():n.default).catch(n=>{console.error(n)}):r=null,{base:e.base??o?.base,port:Number(e.port??o?.[a]?.port),host:e.host??o?.[a]?.host,open:e.open??o?.[a]?.open,cacheDir:e.cacheDir??o?.cacheDir,entryPoint:e.entryPoint??o?.entryPoint,outDir:e.outDir??o?.outDir,publicDir:e.publicDir??o?.publicDir,runtime:e.runtime??o?.runtime,widgets:e.widgets??o?.widgets,lib:e.lib??o?.lib,vite:o.vite}}function w(e=import.meta.dirname??t.dirname(A(import.meta.url))){if(e?.split("/").length)return u(t.resolve(e,"package.json"))?e:w(t.resolve(e,".."));throw new Error("no package root found from "+e)}const P=`
3
3
  <!DOCTYPE html>
4
4
  <html lang="en" style="overflow: hidden">
5
5
 
@@ -17,4 +17,4 @@ ${i.lib?`<eo-dash style="height:100dvh;"/>
17
17
  <script type="module" src="${t.resolve(`/@fs/${c}`,"core/client/render.js")}"><\/script>
18
18
  `}
19
19
  </body>
20
- </html>`,C=w(async({mode:e,command:a})=>({base:i.base??"",cacheDir:Y,plugins:[H({template:{transformAssetUrls:J,compilerOptions:{isCustomElement:r=>!r.includes("v-")&&r.includes("-")}}}),M({autoImport:!0}),e==="development"&&{name:"inject-html",configureServer:G}],customLogger:g,define:{"process.env":{}},resolve:{alias:{"@":t.join(c,"core/client"),"^":t.join(c,"widgets"),"user:config":f,"user:widgets":D},extensions:[".js",".json",".jsx",".mjs",".ts",".tsx",".vue"]},server:{warmup:{clientFiles:[t.join(c,"core/client/**"),f]},port:i.port??3e3,open:i.open,fs:{allow:[W(process.cwd())]},host:i.host},root:c,...e==="development"&&{optimizeDeps:{include:["webfontloader","vuetify","vue","pinia","stac-js","urijs","loglevel","vega","vega-lite","vega-embed","@eox/map","@eox/map/src/plugins/advancedLayersAndSources","@eox/layercontrol","@eox/drawtools","@eox/chart","@eox/jsonform","@eox/layout","@eox/itemfilter","@eox/timecontrol","@eox/stacinfo","color-legend-element"],noDiscovery:!0}},publicDir:i.publicDir===!1?!1:z,build:{outDir:v,emptyOutDir:!0,target:"esnext",cssMinify:!0,...i.lib&&a==="build"&&{minify:!1,lib:{entry:t.join(c,"core/client/asWebComponent.js"),fileName:"eo-dash",formats:["es"],name:"@eodash/eodash"},rollupOptions:{input:t.join(c,"core/client/asWebComponent.js"),external:r=>{const o=r.includes("vuetify")||r.endsWith(".css")||r.endsWith("styles"),n=V.some(l=>r.startsWith(l));return!o&&n}}}}})),k=w(async e=>i.vite?F(await C(e),i.vite):C(e));async function G(e){e.watcher.add([f,p,t.join(D,"**/*.vue")]);let a="";const r=g.info;return g.info=(o,n)=>{if(o.includes("core")){const l=o.split("/")[0].split(" ");l.pop();const d=l.join(" ")+" "+a.replace(s,"");return r(d,n)}return r(o,n)},e.watcher.on("change",async o=>{a=o,o===p&&e.ws.send({type:"full-reload",path:o})}),()=>{e.middlewares.use(async(o,n,l)=>{if(o.originalUrl==="/@fs/config.js"||o.originalUrl==="/config.js"){n.statusCode=200,n.setHeader("Content-Type","text/javascript"),u(p)&&await L(p).then(d=>{n.write(d)}),n.end();return}if(o.url?.endsWith(".html")){n.statusCode=200,n.setHeader("Content-Type","text/html");const d=await e.transformIndexHtml(o.url,P,o.originalUrl);n.end(d);return}l()})}}const K=async()=>{const e=await O(await k({mode:"development",command:"serve"}));await e.listen(),e.printUrls(),e.bindCLIShortcuts({print:!0})},Q=async()=>{const e=async()=>{const a=await k({mode:"production",command:"build"});await N(a),u(p)&&await A(p,t.join(v,"config.js"),{recursive:!0}).catch(r=>{console.error(r)})};if(i.lib)await e();else{const a=t.join(c,"/index.html");await T(a,P).then(async()=>{await e(),await $(a).catch(()=>{console.error("failed to remove index.html")})})}};async function X(){(await U({root:s,base:i.base??"",preview:{port:isNaN(i.port)?8080:i.port,open:i.open,host:i.host},build:{outDir:v}})).printUrls()}const Z=process.argv?.[2];(async()=>{switch(Z){case"dev":await K();break;case"build":await Q();break;case"preview":await X();break;default:console.error("command not found");break}})();
20
+ </html>`,C=b(async({mode:e,command:a})=>({base:i.base??"",cacheDir:Y,plugins:[H({template:{transformAssetUrls:J,compilerOptions:{isCustomElement:r=>!r.includes("v-")&&r.includes("-")}}}),M({autoImport:!0}),e==="development"&&{name:"inject-html",configureServer:G}],customLogger:g,define:{"process.env":{}},resolve:{alias:{"@":t.join(c,"core/client"),"^":t.join(c,"widgets"),"user:config":f,"user:widgets":x},extensions:[".js",".json",".jsx",".mjs",".ts",".tsx",".vue"]},server:{allowedHosts:!0,warmup:{clientFiles:[t.join(c,"core/client/**"),f]},port:i.port??3e3,open:i.open,fs:{allow:[W(process.cwd())]},host:i.host},root:c,...e==="development"&&{optimizeDeps:{include:["webfontloader","vuetify","vue","pinia","stac-js","urijs","loglevel","vega","vega-lite","vega-embed","@eox/map","@eox/map/src/plugins/advancedLayersAndSources","@eox/layercontrol","@eox/drawtools","@eox/chart","@eox/jsonform","@eox/layout","@eox/itemfilter","@eox/timecontrol","@eox/stacinfo","color-legend-element","@eox/map","@eox/map/src/plugins/advancedLayersAndSources","@eox/layercontrol","@eox/timecontrol","@eox/jsonform","@eox/layout","@eox/itemfilter","@eox/stacinfo"],noDiscovery:!0}},publicDir:i.publicDir===!1?!1:z,build:{outDir:v,emptyOutDir:!0,target:"esnext",cssMinify:!0,...i.lib&&a==="build"&&{minify:!1,lib:{entry:t.join(c,"core/client/asWebComponent.js"),fileName:"eo-dash",formats:["es"],name:"@eodash/eodash"},rollupOptions:{input:t.join(c,"core/client/asWebComponent.js"),external:r=>{const o=r.includes("vuetify")||r.endsWith(".css")||r.endsWith("styles"),n=V.some(l=>r.startsWith(l));return!o&&n}}}}})),k=b(async e=>i.vite?F(await C(e),i.vite):C(e));async function G(e){e.watcher.add([f,p,t.join(x,"**/*.vue")]);let a="";const r=g.info;return g.info=(o,n)=>{if(o.includes("core")){const l=o.split("/")[0].split(" ");l.pop();const d=l.join(" ")+" "+a.replace(s,"");return r(d,n)}return r(o,n)},e.watcher.on("change",async o=>{a=o,o===p&&e.ws.send({type:"full-reload",path:o})}),()=>{e.middlewares.use(async(o,n,l)=>{if(o.originalUrl==="/@fs/config.js"||o.originalUrl==="/config.js"){n.statusCode=200,n.setHeader("Content-Type","text/javascript"),u(p)&&await E(p).then(d=>{n.write(d)}),n.end();return}if(o.url?.endsWith(".html")){n.statusCode=200,n.setHeader("Content-Type","text/html");const d=await e.transformIndexHtml(o.url,P,o.originalUrl);n.end(d);return}l()})}}const K=async()=>{const e=await O(await k({mode:"development",command:"serve"}));await e.listen(),e.printUrls(),e.bindCLIShortcuts({print:!0})},Q=async()=>{const e=async()=>{const a=await k({mode:"production",command:"build"});await L(a),u(p)&&await $(p,t.join(v,"config.js"),{recursive:!0}).catch(r=>{console.error(r)})};if(i.lib)await e();else{const a=t.join(c,"/index.html");await I(a,P).then(async()=>{await e(),await T(a).catch(()=>{console.error("failed to remove index.html")})})}};async function X(){(await U({root:s,base:i.base??"",preview:{port:isNaN(i.port)?8080:i.port,open:i.open,host:i.host},build:{outDir:v}})).printUrls()}const Z=process.argv?.[2];(async()=>{switch(Z){case"dev":await K();break;case"build":await Q();break;case"preview":await X();break;default:console.error("command not found");break}})();
@@ -1,6 +1,6 @@
1
1
  export function useHandleMapMoveEnd(mapElement: import("vue").Ref<(HTMLElement & Record<string, any> & {
2
2
  map: import("ol").Map;
3
3
  }) | null>, mapPosition: import("vue").Ref<(number | undefined)[]>): void;
4
- export function useInitMap(mapElement: import("vue").Ref<import("@eox/map").EOxMap | null>, selectedIndicator: import("vue").Ref<import("stac-ts").StacCollection | null>, eodashCols: EodashCollection[], datetime: import("vue").Ref<string>, mapLayers: import("vue").Ref<Record<string, any>[]>, partnerMap: import("vue").Ref<import("@eox/map").EOxMap | null>): void;
5
- export function useUpdateTooltipProperties(eodashCols: EodashCollection[], tooltipProperties: import("vue").Ref<import("../types").EodashStyleJson["tooltip"]>): void;
4
+ export function useInitMap(mapElement: import("vue").Ref<import("@eox/map").EOxMap | null>, selectedIndicator: import("vue").Ref<import("stac-ts").StacCollection | null>, eodashCols: EodashCollection[], datetime: import("vue").Ref<string>, mapLayers: import("vue").Ref<Record<string, any>[]>, partnerMap: import("vue").Ref<import("@eox/map").EOxMap | null>, zoomToExtent: boolean): void;
5
+ export function useUpdateTooltipProperties(eodashCols: EodashCollection[], tooltipProperties: import("vue").Ref<Exclude<import("../types").EodashStyleJson["tooltip"], undefined>>): void;
6
6
  import { EodashCollection } from "../eodashSTAC/EodashCollection";
@@ -1,6 +1,6 @@
1
1
  export function useAbsoluteUrl(rel?: string, base?: string): import("vue").Ref<string>;
2
2
  export function useCompareAbsoluteUrl(rel?: string, base?: string): import("vue").Ref<string>;
3
- export function useUpdateTheme(themeName: string, themeDefinition?: import("vuetify").ThemeDefinition): import("vuetify").ThemeInstance;
3
+ export function useUpdateTheme(themeName: string, themeDefinition?: import("../types").Eodash["brand"]["theme"]): import("vuetify").ThemeInstance;
4
4
  export function useURLSearchParametersSync(): void;
5
5
  export function makePanelTransparent(root: import("vue").Ref<HTMLElement | null>): void;
6
6
  export function useGetTemplates(): string[];
@@ -71,6 +71,8 @@ export class EodashCollection {
71
71
  * | undefined}
72
72
  */
73
73
  selectedItem: import("stac-ts").StacLink | import("stac-ts").StacItem | undefined;
74
+ /** @type {string | undefined} */
75
+ color: string | undefined;
74
76
  get collectionStac(): import("stac-ts").StacCollection | undefined;
75
77
  /**
76
78
  * @async
@@ -12,8 +12,10 @@ export function generateFeatures(links?: import("stac-ts").StacLink[]): {
12
12
  /**
13
13
  * Sperates and extracts layerConfig (jsonform schema & legend) from a style json
14
14
  *
15
- * @param { import("../types").EodashStyleJson} [style] */
16
- export function extractLayerConfig(style?: import("../types").EodashStyleJson): {
15
+ * @param {string} collectionId
16
+ * @param { import("../types").EodashStyleJson} [style]
17
+ * */
18
+ export function extractLayerConfig(collectionId: string, style?: import("../types").EodashStyleJson): {
17
19
  layerConfig: undefined;
18
20
  style: undefined;
19
21
  } | {
@@ -1 +1,7 @@
1
+ /**
2
+ *
3
+ * @param {string} collectionId
4
+ * @param {import("../types").EodashStyleJson["variables"]} variables
5
+ */
6
+ export function getStyleVariablesState(collectionId: string, variables: import("../types").EodashStyleJson["variables"]): any;
1
7
  export function setMapProjFromCol(STAcCollection?: import("stac-ts").StacCollection): Promise<void>;
@@ -195,7 +195,9 @@ export type Eodash<T extends ExecutionTime = "compiletime"> = {
195
195
  * Dashboard theme as a custom [vuetifyJs
196
196
  * theme](https://vuetifyjs.com/en/features/theme/).
197
197
  */
198
- theme?: import("vuetify/lib/index.mjs").ThemeDefinition;
198
+ theme?: import("vuetify/lib/index.mjs").ThemeDefinition & {
199
+ collectionsPalette?: string[];
200
+ };
199
201
  /** Text applied to the footer. */
200
202
  footerText?: string;
201
203
  };
@@ -1,2 +1,3 @@
1
1
  export function loadFont(family?: string, link?: string, isWebComponent?: boolean): Promise<string>;
2
2
  export function copyToClipBoard(text: string, showIcon: import("vue").Ref<boolean>): Promise<void>;
3
+ export function setCollectionsPalette(colors: string[]): void;
@@ -16,5 +16,12 @@ export const eodashCollections: import("../eodashSTAC/EodashCollection").EodashC
16
16
  export const eodashCompareCollections: import("../eodashSTAC/EodashCollection").EodashCollection[];
17
17
  /** whether the map postion was set in URL params on first load */
18
18
  export const posIsSetFromUrl: import("vue").Ref<boolean, boolean>;
19
- /** @type {import("vue").Ref<Record<string,any>|undefined>} */
19
+ /**
20
+ * Current value of the layer control JSON form for the latest layer the user interacted with.
21
+ * @type {import("vue").Ref<Record<string, any> | undefined>}
22
+ */
20
23
  export const layerControlFormValue: import("vue").Ref<Record<string, any> | undefined>;
24
+ /**
25
+ * STAC indicators color palette, defaults to Bank-Wong palette
26
+ * @type {string[]} */
27
+ export const collectionsPalette: string[];
@@ -11,5 +11,460 @@ declare const _default: import("vue").DefineComponent<{}, {
11
11
  };
12
12
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {
13
13
  rootRef: HTMLDivElement;
14
+ datePicker: ({
15
+ $: import("vue").ComponentInternalInstance;
16
+ $data: {};
17
+ $props: Partial<{
18
+ updateOnInput: boolean;
19
+ inputDebounce: number;
20
+ color: string;
21
+ isDark: boolean | "system" | import("vue-screen-utils").DarkModeClassConfig;
22
+ popover: boolean | Partial<import("v-calendar/dist/types/src/utils/popovers").PopoverOptions>;
23
+ mode: string;
24
+ modelModifiers: import("v-calendar/dist/types/src/use/datePicker").ModelModifiers;
25
+ is24hr: boolean;
26
+ hideTimeHeader: boolean;
27
+ timeAccuracy: number;
28
+ isRequired: boolean;
29
+ isRange: boolean;
30
+ }> & Omit<{
31
+ [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
32
+ readonly mode: string;
33
+ readonly modelModifiers: import("v-calendar/dist/types/src/use/datePicker").ModelModifiers;
34
+ readonly is24hr: boolean;
35
+ readonly hideTimeHeader: boolean;
36
+ readonly timeAccuracy: number;
37
+ readonly isRequired: boolean;
38
+ readonly isRange: boolean;
39
+ readonly popover: boolean | Partial<import("v-calendar/dist/types/src/utils/popovers").PopoverOptions>;
40
+ readonly color?: string | undefined;
41
+ readonly modelValue?: string | number | Date | Partial<{
42
+ start: import("v-calendar/dist/types/src/use/datePicker").DatePickerDate;
43
+ end: import("v-calendar/dist/types/src/use/datePicker").DatePickerDate;
44
+ }> | null | undefined;
45
+ readonly rules?: "auto" | import("v-calendar/dist/types/src/utils/date/helpers").DatePartsRules | undefined;
46
+ readonly updateOnInput?: boolean | undefined;
47
+ readonly inputDebounce?: number | undefined;
48
+ readonly dragAttribute?: import("v-calendar/dist/types/src/utils/attribute").AttributeConfig | undefined;
49
+ readonly selectAttribute?: import("v-calendar/dist/types/src/utils/attribute").AttributeConfig | undefined;
50
+ readonly attributes?: Record<string, any> | unknown[] | undefined;
51
+ readonly isDark?: boolean | "system" | import("vue-screen-utils").DarkModeClassConfig | undefined;
52
+ readonly firstDayOfWeek?: import("v-calendar/dist/types/src/utils/date/helpers").DayOfWeek | undefined;
53
+ readonly masks?: Record<string, any> | undefined;
54
+ readonly locale?: string | Record<string, any> | import("v-calendar/dist/types/src/utils/locale").default | undefined;
55
+ readonly timezone?: string | undefined;
56
+ readonly minDate?: any;
57
+ readonly maxDate?: any;
58
+ readonly disabledDates?: any;
59
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "color" | "mode" | "modelModifiers" | "is24hr" | "hideTimeHeader" | "timeAccuracy" | "isRequired" | "isRange" | "updateOnInput" | "inputDebounce" | "popover" | "isDark">;
60
+ $attrs: {
61
+ [x: string]: unknown;
62
+ };
63
+ $refs: {
64
+ [x: string]: unknown;
65
+ };
66
+ $slots: Readonly<{
67
+ [name: string]: import("vue").Slot<any> | undefined;
68
+ }>;
69
+ $root: import("vue").ComponentPublicInstance | null;
70
+ $parent: import("vue").ComponentPublicInstance | null;
71
+ $host: Element | null;
72
+ $emit: (event: string, ...args: any[]) => void;
73
+ $el: any;
74
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
75
+ mode: {
76
+ type: StringConstructor;
77
+ default: string;
78
+ };
79
+ modelValue: {
80
+ type: import("vue").PropType<string | number | Date | Partial<{
81
+ start: import("v-calendar/dist/types/src/use/datePicker").DatePickerDate;
82
+ end: import("v-calendar/dist/types/src/use/datePicker").DatePickerDate;
83
+ }> | null>;
84
+ };
85
+ modelModifiers: {
86
+ type: import("vue").PropType<import("v-calendar/dist/types/src/use/datePicker").ModelModifiers>;
87
+ default: () => {};
88
+ };
89
+ rules: import("vue").PropType<import("v-calendar/dist/types/src/utils/date/helpers").DatePartsRules | "auto">;
90
+ is24hr: BooleanConstructor;
91
+ hideTimeHeader: BooleanConstructor;
92
+ timeAccuracy: {
93
+ type: NumberConstructor;
94
+ default: number;
95
+ };
96
+ isRequired: BooleanConstructor;
97
+ isRange: BooleanConstructor;
98
+ updateOnInput: {
99
+ type: BooleanConstructor;
100
+ default: () => any;
101
+ };
102
+ inputDebounce: {
103
+ type: NumberConstructor;
104
+ default: () => any;
105
+ };
106
+ popover: {
107
+ type: import("vue").PropType<boolean | Partial<import("v-calendar/dist/types/src/utils/popovers").PopoverOptions>>;
108
+ default: boolean;
109
+ };
110
+ dragAttribute: import("vue").PropType<import("v-calendar/dist/types/src/utils/attribute").AttributeConfig>;
111
+ selectAttribute: import("vue").PropType<import("v-calendar/dist/types/src/utils/attribute").AttributeConfig>;
112
+ attributes: (ArrayConstructor | ObjectConstructor)[];
113
+ color: {
114
+ type: StringConstructor;
115
+ default: () => any;
116
+ };
117
+ isDark: {
118
+ type: import("vue").PropType<boolean | "system" | import("vue-screen-utils").DarkModeClassConfig>;
119
+ default: () => any;
120
+ };
121
+ firstDayOfWeek: import("vue").PropType<import("v-calendar/dist/types/src/utils/date/helpers").DayOfWeek>;
122
+ masks: ObjectConstructor;
123
+ locale: import("vue").PropType<string | Record<string, any> | import("v-calendar/dist/types/src/utils/locale").default>;
124
+ timezone: StringConstructor;
125
+ minDate: null;
126
+ maxDate: null;
127
+ disabledDates: null;
128
+ }>> & {
129
+ [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
130
+ }, (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
131
+ [key: string]: any;
132
+ }> | null | undefined) | (() => (import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
133
+ [key: string]: any;
134
+ }> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
135
+ [key: string]: any;
136
+ }>[])[]), unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, {
137
+ updateOnInput: boolean;
138
+ inputDebounce: number;
139
+ color: string;
140
+ isDark: boolean | "system" | import("vue-screen-utils").DarkModeClassConfig;
141
+ popover: boolean | Partial<import("v-calendar/dist/types/src/utils/popovers").PopoverOptions>;
142
+ mode: string;
143
+ modelModifiers: import("v-calendar/dist/types/src/use/datePicker").ModelModifiers;
144
+ is24hr: boolean;
145
+ hideTimeHeader: boolean;
146
+ timeAccuracy: number;
147
+ isRequired: boolean;
148
+ isRange: boolean;
149
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
150
+ beforeCreate?: (() => void) | (() => void)[];
151
+ created?: (() => void) | (() => void)[];
152
+ beforeMount?: (() => void) | (() => void)[];
153
+ mounted?: (() => void) | (() => void)[];
154
+ beforeUpdate?: (() => void) | (() => void)[];
155
+ updated?: (() => void) | (() => void)[];
156
+ activated?: (() => void) | (() => void)[];
157
+ deactivated?: (() => void) | (() => void)[];
158
+ beforeDestroy?: (() => void) | (() => void)[];
159
+ beforeUnmount?: (() => void) | (() => void)[];
160
+ destroyed?: (() => void) | (() => void)[];
161
+ unmounted?: (() => void) | (() => void)[];
162
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
163
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
164
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
165
+ };
166
+ $forceUpdate: () => void;
167
+ $nextTick: typeof import("vue").nextTick;
168
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
169
+ } & Readonly<{
170
+ updateOnInput: boolean;
171
+ inputDebounce: number;
172
+ color: string;
173
+ isDark: boolean | "system" | import("vue-screen-utils").DarkModeClassConfig;
174
+ popover: boolean | Partial<import("v-calendar/dist/types/src/utils/popovers").PopoverOptions>;
175
+ mode: string;
176
+ modelModifiers: import("v-calendar/dist/types/src/use/datePicker").ModelModifiers;
177
+ is24hr: boolean;
178
+ hideTimeHeader: boolean;
179
+ timeAccuracy: number;
180
+ isRequired: boolean;
181
+ isRange: boolean;
182
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
183
+ mode: {
184
+ type: StringConstructor;
185
+ default: string;
186
+ };
187
+ modelValue: {
188
+ type: import("vue").PropType<string | number | Date | Partial<{
189
+ start: import("v-calendar/dist/types/src/use/datePicker").DatePickerDate;
190
+ end: import("v-calendar/dist/types/src/use/datePicker").DatePickerDate;
191
+ }> | null>;
192
+ };
193
+ modelModifiers: {
194
+ type: import("vue").PropType<import("v-calendar/dist/types/src/use/datePicker").ModelModifiers>;
195
+ default: () => {};
196
+ };
197
+ rules: import("vue").PropType<import("v-calendar/dist/types/src/utils/date/helpers").DatePartsRules | "auto">;
198
+ is24hr: BooleanConstructor;
199
+ hideTimeHeader: BooleanConstructor;
200
+ timeAccuracy: {
201
+ type: NumberConstructor;
202
+ default: number;
203
+ };
204
+ isRequired: BooleanConstructor;
205
+ isRange: BooleanConstructor;
206
+ updateOnInput: {
207
+ type: BooleanConstructor;
208
+ default: () => any;
209
+ };
210
+ inputDebounce: {
211
+ type: NumberConstructor;
212
+ default: () => any;
213
+ };
214
+ popover: {
215
+ type: import("vue").PropType<boolean | Partial<import("v-calendar/dist/types/src/utils/popovers").PopoverOptions>>;
216
+ default: boolean;
217
+ };
218
+ dragAttribute: import("vue").PropType<import("v-calendar/dist/types/src/utils/attribute").AttributeConfig>;
219
+ selectAttribute: import("vue").PropType<import("v-calendar/dist/types/src/utils/attribute").AttributeConfig>;
220
+ attributes: (ArrayConstructor | ObjectConstructor)[];
221
+ color: {
222
+ type: StringConstructor;
223
+ default: () => any;
224
+ };
225
+ isDark: {
226
+ type: import("vue").PropType<boolean | "system" | import("vue-screen-utils").DarkModeClassConfig>;
227
+ default: () => any;
228
+ };
229
+ firstDayOfWeek: import("vue").PropType<import("v-calendar/dist/types/src/utils/date/helpers").DayOfWeek>;
230
+ masks: ObjectConstructor;
231
+ locale: import("vue").PropType<string | Record<string, any> | import("v-calendar/dist/types/src/utils/locale").default>;
232
+ timezone: StringConstructor;
233
+ minDate: null;
234
+ maxDate: null;
235
+ disabledDates: null;
236
+ }>> & {
237
+ [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
238
+ }, "color" | "mode" | "modelModifiers" | "is24hr" | "hideTimeHeader" | "timeAccuracy" | "isRequired" | "isRange" | "updateOnInput" | "inputDebounce" | "popover" | "isDark"> & import("vue").ShallowUnwrapRef<() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
239
+ [key: string]: any;
240
+ }> | null | undefined> & {} & import("vue").ComponentCustomProperties & {}) | ({
241
+ $: import("vue").ComponentInternalInstance;
242
+ $data: {};
243
+ $props: Partial<{
244
+ updateOnInput: boolean;
245
+ inputDebounce: number;
246
+ color: string;
247
+ isDark: boolean | "system" | import("vue-screen-utils").DarkModeClassConfig;
248
+ popover: boolean | Partial<import("v-calendar/dist/types/src/utils/popovers").PopoverOptions>;
249
+ mode: string;
250
+ modelModifiers: import("v-calendar/dist/types/src/use/datePicker").ModelModifiers;
251
+ is24hr: boolean;
252
+ hideTimeHeader: boolean;
253
+ timeAccuracy: number;
254
+ isRequired: boolean;
255
+ isRange: boolean;
256
+ }> & Omit<{
257
+ [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
258
+ readonly mode: string;
259
+ readonly modelModifiers: import("v-calendar/dist/types/src/use/datePicker").ModelModifiers;
260
+ readonly is24hr: boolean;
261
+ readonly hideTimeHeader: boolean;
262
+ readonly timeAccuracy: number;
263
+ readonly isRequired: boolean;
264
+ readonly isRange: boolean;
265
+ readonly popover: boolean | Partial<import("v-calendar/dist/types/src/utils/popovers").PopoverOptions>;
266
+ readonly color?: string | undefined;
267
+ readonly modelValue?: string | number | Date | Partial<{
268
+ start: import("v-calendar/dist/types/src/use/datePicker").DatePickerDate;
269
+ end: import("v-calendar/dist/types/src/use/datePicker").DatePickerDate;
270
+ }> | null | undefined;
271
+ readonly rules?: "auto" | import("v-calendar/dist/types/src/utils/date/helpers").DatePartsRules | undefined;
272
+ readonly updateOnInput?: boolean | undefined;
273
+ readonly inputDebounce?: number | undefined;
274
+ readonly dragAttribute?: import("v-calendar/dist/types/src/utils/attribute").AttributeConfig | undefined;
275
+ readonly selectAttribute?: import("v-calendar/dist/types/src/utils/attribute").AttributeConfig | undefined;
276
+ readonly attributes?: Record<string, any> | unknown[] | undefined;
277
+ readonly isDark?: boolean | "system" | import("vue-screen-utils").DarkModeClassConfig | undefined;
278
+ readonly firstDayOfWeek?: import("v-calendar/dist/types/src/utils/date/helpers").DayOfWeek | undefined;
279
+ readonly masks?: Record<string, any> | undefined;
280
+ readonly locale?: string | Record<string, any> | import("v-calendar/dist/types/src/utils/locale").default | undefined;
281
+ readonly timezone?: string | undefined;
282
+ readonly minDate?: any;
283
+ readonly maxDate?: any;
284
+ readonly disabledDates?: any;
285
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "color" | "mode" | "modelModifiers" | "is24hr" | "hideTimeHeader" | "timeAccuracy" | "isRequired" | "isRange" | "updateOnInput" | "inputDebounce" | "popover" | "isDark">;
286
+ $attrs: {
287
+ [x: string]: unknown;
288
+ };
289
+ $refs: {
290
+ [x: string]: unknown;
291
+ };
292
+ $slots: Readonly<{
293
+ [name: string]: import("vue").Slot<any> | undefined;
294
+ }>;
295
+ $root: import("vue").ComponentPublicInstance | null;
296
+ $parent: import("vue").ComponentPublicInstance | null;
297
+ $host: Element | null;
298
+ $emit: (event: string, ...args: any[]) => void;
299
+ $el: any;
300
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
301
+ mode: {
302
+ type: StringConstructor;
303
+ default: string;
304
+ };
305
+ modelValue: {
306
+ type: import("vue").PropType<string | number | Date | Partial<{
307
+ start: import("v-calendar/dist/types/src/use/datePicker").DatePickerDate;
308
+ end: import("v-calendar/dist/types/src/use/datePicker").DatePickerDate;
309
+ }> | null>;
310
+ };
311
+ modelModifiers: {
312
+ type: import("vue").PropType<import("v-calendar/dist/types/src/use/datePicker").ModelModifiers>;
313
+ default: () => {};
314
+ };
315
+ rules: import("vue").PropType<import("v-calendar/dist/types/src/utils/date/helpers").DatePartsRules | "auto">;
316
+ is24hr: BooleanConstructor;
317
+ hideTimeHeader: BooleanConstructor;
318
+ timeAccuracy: {
319
+ type: NumberConstructor;
320
+ default: number;
321
+ };
322
+ isRequired: BooleanConstructor;
323
+ isRange: BooleanConstructor;
324
+ updateOnInput: {
325
+ type: BooleanConstructor;
326
+ default: () => any;
327
+ };
328
+ inputDebounce: {
329
+ type: NumberConstructor;
330
+ default: () => any;
331
+ };
332
+ popover: {
333
+ type: import("vue").PropType<boolean | Partial<import("v-calendar/dist/types/src/utils/popovers").PopoverOptions>>;
334
+ default: boolean;
335
+ };
336
+ dragAttribute: import("vue").PropType<import("v-calendar/dist/types/src/utils/attribute").AttributeConfig>;
337
+ selectAttribute: import("vue").PropType<import("v-calendar/dist/types/src/utils/attribute").AttributeConfig>;
338
+ attributes: (ArrayConstructor | ObjectConstructor)[];
339
+ color: {
340
+ type: StringConstructor;
341
+ default: () => any;
342
+ };
343
+ isDark: {
344
+ type: import("vue").PropType<boolean | "system" | import("vue-screen-utils").DarkModeClassConfig>;
345
+ default: () => any;
346
+ };
347
+ firstDayOfWeek: import("vue").PropType<import("v-calendar/dist/types/src/utils/date/helpers").DayOfWeek>;
348
+ masks: ObjectConstructor;
349
+ locale: import("vue").PropType<string | Record<string, any> | import("v-calendar/dist/types/src/utils/locale").default>;
350
+ timezone: StringConstructor;
351
+ minDate: null;
352
+ maxDate: null;
353
+ disabledDates: null;
354
+ }>> & {
355
+ [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
356
+ }, (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
357
+ [key: string]: any;
358
+ }> | null | undefined) | (() => (import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
359
+ [key: string]: any;
360
+ }> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
361
+ [key: string]: any;
362
+ }>[])[]), unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, {
363
+ updateOnInput: boolean;
364
+ inputDebounce: number;
365
+ color: string;
366
+ isDark: boolean | "system" | import("vue-screen-utils").DarkModeClassConfig;
367
+ popover: boolean | Partial<import("v-calendar/dist/types/src/utils/popovers").PopoverOptions>;
368
+ mode: string;
369
+ modelModifiers: import("v-calendar/dist/types/src/use/datePicker").ModelModifiers;
370
+ is24hr: boolean;
371
+ hideTimeHeader: boolean;
372
+ timeAccuracy: number;
373
+ isRequired: boolean;
374
+ isRange: boolean;
375
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
376
+ beforeCreate?: (() => void) | (() => void)[];
377
+ created?: (() => void) | (() => void)[];
378
+ beforeMount?: (() => void) | (() => void)[];
379
+ mounted?: (() => void) | (() => void)[];
380
+ beforeUpdate?: (() => void) | (() => void)[];
381
+ updated?: (() => void) | (() => void)[];
382
+ activated?: (() => void) | (() => void)[];
383
+ deactivated?: (() => void) | (() => void)[];
384
+ beforeDestroy?: (() => void) | (() => void)[];
385
+ beforeUnmount?: (() => void) | (() => void)[];
386
+ destroyed?: (() => void) | (() => void)[];
387
+ unmounted?: (() => void) | (() => void)[];
388
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
389
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
390
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
391
+ };
392
+ $forceUpdate: () => void;
393
+ $nextTick: typeof import("vue").nextTick;
394
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
395
+ } & Readonly<{
396
+ updateOnInput: boolean;
397
+ inputDebounce: number;
398
+ color: string;
399
+ isDark: boolean | "system" | import("vue-screen-utils").DarkModeClassConfig;
400
+ popover: boolean | Partial<import("v-calendar/dist/types/src/utils/popovers").PopoverOptions>;
401
+ mode: string;
402
+ modelModifiers: import("v-calendar/dist/types/src/use/datePicker").ModelModifiers;
403
+ is24hr: boolean;
404
+ hideTimeHeader: boolean;
405
+ timeAccuracy: number;
406
+ isRequired: boolean;
407
+ isRange: boolean;
408
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
409
+ mode: {
410
+ type: StringConstructor;
411
+ default: string;
412
+ };
413
+ modelValue: {
414
+ type: import("vue").PropType<string | number | Date | Partial<{
415
+ start: import("v-calendar/dist/types/src/use/datePicker").DatePickerDate;
416
+ end: import("v-calendar/dist/types/src/use/datePicker").DatePickerDate;
417
+ }> | null>;
418
+ };
419
+ modelModifiers: {
420
+ type: import("vue").PropType<import("v-calendar/dist/types/src/use/datePicker").ModelModifiers>;
421
+ default: () => {};
422
+ };
423
+ rules: import("vue").PropType<import("v-calendar/dist/types/src/utils/date/helpers").DatePartsRules | "auto">;
424
+ is24hr: BooleanConstructor;
425
+ hideTimeHeader: BooleanConstructor;
426
+ timeAccuracy: {
427
+ type: NumberConstructor;
428
+ default: number;
429
+ };
430
+ isRequired: BooleanConstructor;
431
+ isRange: BooleanConstructor;
432
+ updateOnInput: {
433
+ type: BooleanConstructor;
434
+ default: () => any;
435
+ };
436
+ inputDebounce: {
437
+ type: NumberConstructor;
438
+ default: () => any;
439
+ };
440
+ popover: {
441
+ type: import("vue").PropType<boolean | Partial<import("v-calendar/dist/types/src/utils/popovers").PopoverOptions>>;
442
+ default: boolean;
443
+ };
444
+ dragAttribute: import("vue").PropType<import("v-calendar/dist/types/src/utils/attribute").AttributeConfig>;
445
+ selectAttribute: import("vue").PropType<import("v-calendar/dist/types/src/utils/attribute").AttributeConfig>;
446
+ attributes: (ArrayConstructor | ObjectConstructor)[];
447
+ color: {
448
+ type: StringConstructor;
449
+ default: () => any;
450
+ };
451
+ isDark: {
452
+ type: import("vue").PropType<boolean | "system" | import("vue-screen-utils").DarkModeClassConfig>;
453
+ default: () => any;
454
+ };
455
+ firstDayOfWeek: import("vue").PropType<import("v-calendar/dist/types/src/utils/date/helpers").DayOfWeek>;
456
+ masks: ObjectConstructor;
457
+ locale: import("vue").PropType<string | Record<string, any> | import("v-calendar/dist/types/src/utils/locale").default>;
458
+ timezone: StringConstructor;
459
+ minDate: null;
460
+ maxDate: null;
461
+ disabledDates: null;
462
+ }>> & {
463
+ [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
464
+ }, "color" | "mode" | "modelModifiers" | "is24hr" | "hideTimeHeader" | "timeAccuracy" | "isRequired" | "isRange" | "updateOnInput" | "inputDebounce" | "popover" | "isDark"> & import("vue").ShallowUnwrapRef<() => (import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
465
+ [key: string]: any;
466
+ }> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
467
+ [key: string]: any;
468
+ }>[])[]> & {} & import("vue").ComponentCustomProperties & {}) | null;
14
469
  }, HTMLDivElement>;
15
470
  export default _default;
@@ -1,10 +1,12 @@
1
1
  declare const _default: import("vue").DefineComponent<{}, {
2
2
  enableCompare: boolean;
3
3
  zoom: number;
4
+ zoomToExtent: boolean;
4
5
  center?: [number, number] | undefined;
5
6
  $props: {
6
7
  readonly enableCompare?: boolean | undefined;
7
8
  readonly zoom?: number | undefined;
9
+ readonly zoomToExtent?: boolean | undefined;
8
10
  readonly center?: [number, number] | undefined;
9
11
  };
10
12
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {