@eodash/eodash 5.0.0 → 5.1.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 (155) hide show
  1. package/README.md +1 -0
  2. package/core/client/App.vue +8 -2
  3. package/core/client/asWebComponent.js +5 -5
  4. package/core/client/components/DashboardLayout.vue +42 -25
  5. package/core/client/components/EodashOverlay.vue +1 -1
  6. package/core/client/components/ErrorAlert.vue +2 -2
  7. package/core/client/components/Footer.vue +4 -4
  8. package/core/client/components/Header.vue +3 -3
  9. package/core/client/components/MobileLayout.vue +9 -10
  10. package/core/client/composables/DefineEodash.js +38 -43
  11. package/core/client/composables/DefineTemplate.js +4 -2
  12. package/core/client/composables/DefineWidgets.js +14 -8
  13. package/core/client/composables/index.js +273 -23
  14. package/core/client/eodashSTAC/EodashCollection.js +80 -47
  15. package/core/client/eodashSTAC/helpers.js +136 -27
  16. package/core/client/eodashSTAC/parquet.js +145 -0
  17. package/core/client/eodashSTAC/triggers.js +6 -3
  18. package/core/client/plugins/index.js +4 -3
  19. package/core/client/plugins/vuetify.js +3 -0
  20. package/core/client/store/actions.js +21 -4
  21. package/core/client/store/stac.js +93 -56
  22. package/core/client/store/states.js +15 -5
  23. package/core/client/types.ts +59 -43
  24. package/core/client/utils/index.js +79 -0
  25. package/core/client/utils/keys.js +2 -2
  26. package/core/client/utils/states.js +30 -5
  27. package/core/client/views/Dashboard.vue +36 -32
  28. package/core/client/vite-env.d.ts +7 -0
  29. package/dist/client/{DashboardLayout-CkWvOMOW.js → DashboardLayout-ByVs1DrY.js} +23 -12
  30. package/dist/client/{DynamicWebComponent-DYBbpvUK.js → DynamicWebComponent-C3W7HSQm.js} +1 -1
  31. package/dist/client/{EodashDatePicker-CALmW3SI.js → EodashDatePicker-BIAf1sMT.js} +59 -32
  32. package/dist/client/{EodashItemFilter-DlQiE713.js → EodashItemFilter-DPznh8UB.js} +20 -10
  33. package/dist/client/{EodashLayerControl-DEzEbft7.js → EodashLayerControl-Bhxjw4V2.js} +29 -16
  34. package/dist/client/EodashLayoutSwitcher-C5qTEffW.js +61 -0
  35. package/dist/client/EodashMapBtns-WoGq8MuV.js +173 -0
  36. package/dist/client/{EodashStacInfo-DPPxDkF6.js → EodashStacInfo-CSvvF2jI.js} +3 -18
  37. package/dist/client/{EodashTools-CUaL9s4H.js → EodashTools-Cv1SXQ5y.js} +13 -13
  38. package/dist/client/{ExportState-DjyIZVhl.js → ExportState-D-iuwaad.js} +58 -52
  39. package/dist/client/{Footer-DyL0JoWt.js → Footer-CyF0zRAk.js} +15 -13
  40. package/dist/client/{Header-B5Dgty9l.js → Header-CgD8jDKU.js} +33 -28
  41. package/dist/client/{MobileLayout-CRsg_5Q4.js → MobileLayout-EKQ_kpSh.js} +69 -60
  42. package/dist/client/{PopUp-BfB8s_ki.js → PopUp-BsYLvWch.js} +19 -10
  43. package/dist/client/ProcessList-C2xsLU2_.js +191 -0
  44. package/dist/client/{VImg-FD1WVphJ.js → VImg-OHe8YTs2.js} +24 -24
  45. package/dist/client/{VMain-DJKG4SvM.js → VMain-PryTLU4a.js} +7 -7
  46. package/dist/client/{VOverlay-BzOdRu9h.js → VOverlay-yUn7p-Uf.js} +64 -27
  47. package/dist/client/{VTooltip-CfeefrXI.js → VTooltip-DZ0fjpB3.js} +13 -10
  48. package/dist/client/{WidgetsContainer-C2TaTdb6.js → WidgetsContainer-B9LBadcC.js} +1 -1
  49. package/dist/client/asWebComponent-By_7_JjS.js +19193 -0
  50. package/dist/client/async-DkSu_u2K.js +740 -0
  51. package/dist/client/eo-dash.js +1 -1
  52. package/dist/client/{forwardRefs-Bon_Kku1.js → forwardRefs-BXxrv98s.js} +31 -4
  53. package/dist/client/handling-CgmFXkW6.js +1212 -0
  54. package/dist/client/helpers-Dy0Q13tP.js +4534 -0
  55. package/dist/client/{index-Bm9cbtx5.js → index-BuhOHXKv.js} +2 -4
  56. package/dist/client/{index-CIHH_3dW.js → index-Ch_HchK3.js} +39 -32
  57. package/dist/client/{index-4CT7Tz83.js → index-Dqj4tbx2.js} +2 -2
  58. package/dist/client/index-skjhlH8u.js +376 -0
  59. package/dist/client/{ssrBoot-BP7SYRyC.js → ssrBoot-Zgc_Ttvi.js} +2 -2
  60. package/dist/client/templates.js +850 -0
  61. package/dist/client/transition-C98Yn4Vo.js +40 -0
  62. package/dist/node/cli.js +16 -6
  63. package/dist/node/types.d.ts +1 -1
  64. package/dist/types/core/client/App.vue.d.ts +2 -2
  65. package/dist/types/core/client/asWebComponent.d.ts +1 -1
  66. package/dist/types/core/client/components/DynamicWebComponent.vue.d.ts +1 -3
  67. package/dist/types/core/client/components/Footer.vue.d.ts +1 -105
  68. package/dist/types/core/client/components/IframeWrapper.vue.d.ts +1 -1
  69. package/dist/types/core/client/components/MobileLayout.vue.d.ts +1 -324
  70. package/dist/types/core/client/composables/DefineEodash.d.ts +2 -2
  71. package/dist/types/core/client/composables/DefineTemplate.d.ts +1 -1
  72. package/dist/types/core/client/composables/DefineWidgets.d.ts +4 -4
  73. package/dist/types/core/client/composables/index.d.ts +24 -2
  74. package/dist/types/core/client/eodashSTAC/EodashCollection.d.ts +9 -6
  75. package/dist/types/core/client/eodashSTAC/helpers.d.ts +20 -5
  76. package/dist/types/core/client/eodashSTAC/parquet.d.ts +2 -0
  77. package/dist/types/core/client/plugins/vuetify.d.ts +7 -4
  78. package/dist/types/core/client/store/actions.d.ts +3 -2
  79. package/dist/types/core/client/store/stac.d.ts +16 -13
  80. package/dist/types/core/client/store/states.d.ts +14 -4
  81. package/dist/types/core/client/types.d.ts +45 -30
  82. package/dist/types/core/client/utils/index.d.ts +2 -0
  83. package/dist/types/core/client/utils/keys.d.ts +4 -4
  84. package/dist/types/core/client/utils/states.d.ts +59 -47
  85. package/dist/types/core/client/views/Dashboard.vue.d.ts +2 -2
  86. package/dist/types/templates/baseConfig.d.ts +4 -0
  87. package/dist/types/templates/compare.d.ts +210 -0
  88. package/dist/types/templates/expert.d.ts +151 -0
  89. package/dist/types/templates/index.d.ts +6 -0
  90. package/dist/types/templates/light.d.ts +145 -0
  91. package/dist/types/widgets/EodashDatePicker.vue.d.ts +1 -458
  92. package/dist/types/widgets/EodashItemFilter.vue.d.ts +3 -3
  93. package/dist/types/widgets/EodashLayerControl.vue.d.ts +14 -7
  94. package/dist/types/widgets/EodashLayoutSwitcher.vue.d.ts +1 -3
  95. package/dist/types/widgets/EodashMap/index.vue.d.ts +1 -4
  96. package/dist/types/widgets/EodashMapBtns.vue.d.ts +8 -8
  97. package/dist/types/widgets/EodashProcess/ProcessList.vue.d.ts +8 -1
  98. package/dist/types/widgets/EodashProcess/index.vue.d.ts +8 -4
  99. package/dist/types/widgets/EodashProcess/methods/async.d.ts +18 -18
  100. package/dist/types/widgets/EodashProcess/methods/composables.d.ts +3 -2
  101. package/dist/types/widgets/EodashProcess/methods/custom-endpoints/chart/index.d.ts +1 -0
  102. package/dist/types/widgets/EodashProcess/methods/custom-endpoints/chart/sentinelhub-endpoint.d.ts +6 -0
  103. package/dist/types/widgets/EodashProcess/methods/custom-endpoints/chart/veda-endpoint.d.ts +4 -0
  104. package/dist/types/widgets/EodashProcess/methods/custom-endpoints/layers/eoxhub-workspaces-endpoint.d.ts +5 -0
  105. package/dist/types/widgets/EodashProcess/methods/custom-endpoints/layers/index.d.ts +1 -0
  106. package/dist/types/widgets/EodashProcess/methods/handling.d.ts +12 -5
  107. package/dist/types/widgets/EodashProcess/methods/outputs.d.ts +72 -41
  108. package/dist/types/widgets/EodashProcess/methods/utils.d.ts +41 -21
  109. package/dist/types/widgets/EodashProcess/states.d.ts +11 -0
  110. package/dist/types/widgets/EodashProcess/types.d.ts +41 -0
  111. package/dist/types/widgets/EodashStacInfo.vue.d.ts +14 -14
  112. package/dist/types/widgets/EodashTools.vue.d.ts +3 -3
  113. package/dist/types/widgets/ExportState.vue.d.ts +1 -1
  114. package/dist/types/widgets/PopUp.vue.d.ts +11 -16
  115. package/dist/types/widgets/WidgetsContainer.vue.d.ts +3 -6
  116. package/package.json +53 -45
  117. package/templates/baseConfig.js +68 -0
  118. package/templates/compare.js +162 -0
  119. package/templates/expert.js +123 -0
  120. package/templates/index.js +8 -0
  121. package/templates/light.js +130 -0
  122. package/widgets/EodashDatePicker.vue +80 -31
  123. package/widgets/EodashItemFilter.vue +26 -11
  124. package/widgets/EodashLayerControl.vue +20 -11
  125. package/widgets/EodashLayoutSwitcher.vue +6 -3
  126. package/widgets/EodashMap/index.vue +3 -8
  127. package/widgets/EodashMap/methods/create-layers-config.js +4 -3
  128. package/widgets/EodashMap/methods/index.js +33 -23
  129. package/widgets/EodashMapBtns.vue +83 -41
  130. package/widgets/EodashProcess/ProcessList.vue +34 -10
  131. package/widgets/EodashProcess/index.vue +55 -20
  132. package/widgets/EodashProcess/methods/async.js +77 -59
  133. package/widgets/EodashProcess/methods/composables.js +21 -14
  134. package/widgets/EodashProcess/methods/custom-endpoints/chart/index.js +35 -0
  135. package/widgets/EodashProcess/methods/custom-endpoints/chart/sentinelhub-endpoint.js +275 -0
  136. package/widgets/EodashProcess/methods/custom-endpoints/chart/veda-endpoint.js +116 -0
  137. package/widgets/EodashProcess/methods/custom-endpoints/layers/eoxhub-workspaces-endpoint.js +94 -0
  138. package/widgets/EodashProcess/methods/custom-endpoints/layers/index.js +33 -0
  139. package/widgets/EodashProcess/methods/handling.js +127 -80
  140. package/widgets/EodashProcess/methods/outputs.js +376 -125
  141. package/widgets/EodashProcess/methods/utils.js +398 -10
  142. package/widgets/EodashProcess/states.js +13 -0
  143. package/widgets/EodashProcess/types.ts +46 -0
  144. package/widgets/EodashStacInfo.vue +2 -17
  145. package/widgets/EodashTools.vue +13 -13
  146. package/widgets/WidgetsContainer.vue +1 -1
  147. package/core/client/eodash.js +0 -454
  148. package/dist/client/EodashLayoutSwitcher-CDeCV8F-.js +0 -52
  149. package/dist/client/EodashMapBtns-CktQCfa-.js +0 -131
  150. package/dist/client/ProcessList-DTefwQZx.js +0 -484
  151. package/dist/client/asWebComponent-CLhcT715.js +0 -12479
  152. package/dist/client/eo-dash.css +0 -5
  153. package/dist/client/index-DiGDvTQU.js +0 -780
  154. package/dist/client/transition-C5I57hn6.js +0 -37
  155. package/dist/types/core/client/eodash.d.ts +0 -8
@@ -0,0 +1,40 @@
1
+ import { mergeProps, h, TransitionGroup, Transition } from 'vue';
2
+ import { p as propsFactory, E as isObject, aL as onlyDefinedProps } from './asWebComponent-By_7_JjS.js';
3
+
4
+ // Utilities
5
+ const makeTransitionProps = propsFactory({
6
+ transition: {
7
+ type: null,
8
+ default: 'fade-transition',
9
+ validator: val => val !== true
10
+ }
11
+ }, 'transition');
12
+ const MaybeTransition = (props, _ref) => {
13
+ let {
14
+ slots
15
+ } = _ref;
16
+ const {
17
+ transition,
18
+ disabled,
19
+ group,
20
+ ...rest
21
+ } = props;
22
+ const {
23
+ component = group ? TransitionGroup : Transition,
24
+ ...customProps
25
+ } = isObject(transition) ? transition : {};
26
+ let transitionProps;
27
+ if (isObject(transition)) {
28
+ transitionProps = mergeProps(customProps, onlyDefinedProps({
29
+ disabled,
30
+ group
31
+ }), rest);
32
+ } else {
33
+ transitionProps = mergeProps({
34
+ name: disabled || !transition ? '' : transition
35
+ }, rest);
36
+ }
37
+ return h(component, transitionProps, slots);
38
+ };
39
+
40
+ export { MaybeTransition as M, makeTransitionProps as m };
package/dist/node/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import{createLogger as S,defineConfig as b,searchForWorkspaceRoot as W,mergeConfig as F,preview as O,createServer 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=`
2
+ import{createLogger as F,defineConfig as C,searchForWorkspaceRoot as W,mergeConfig as U,preview as A,createServer as O,build as L}from"vite";import{readFileSync as P,existsSync as v}from"fs";import s from"path";import{Command as $}from"commander";import{fileURLToPath as H}from"url";import{readFile as I,writeFile as T,rm as R,cp as V}from"fs/promises";import J from"@vitejs/plugin-vue";import M,{transformAssetUrls as B}from"vite-plugin-vuetify";import{config as G}from"dotenv";const y=new $("eodash"),u=x(),c=x(process.cwd());JSON.parse(P(s.join(c,"package.json"),"utf-8"));const S=JSON.parse(P(s.join(u,"package.json"),"utf-8"))??{},Y=["commander","vite","@vitejs/plugin-vue","vite-plugin-vuetify","axios","dotenv"],z=Object.keys(S?.dependencies).filter(e=>!Y.includes(e));y.version(S.version,"-v, --version","output the current version"),y.allowExcessArguments().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 X(y.opts(),process.argv?.[2]),K=i.publicDir?s.resolve(c,i.publicDir):s.join(c,"./public"),b=s.join(c,"/src"),f=i.runtime?s.resolve(c,i.runtime):s.join(b,"./runtime.js"),m=i.entryPoint==="false"?!1:i.entryPoint?s.resolve(c,i.entryPoint):s.join(b,"/main.js"),D=i.widgets?s.resolve(c,i.widgets):s.join(b,"widgets"),E=s.join(c,"/.eodash"),w=i.outDir?s.resolve(c,i.outDir):s.join(E,"/dist"),Q=i.cacheDir?s.resolve(c,i.cacheDir):s.join(E,"cache"),j=F(void 0,{prefix:"[eodash]"});async function X(e,n){let r=e.config?s.resolve(c,e.config):s.join(c,"eodash.config.js"),t={};return v(r)?t=await import(r).then(o=>o.default instanceof Function?o.default():o.default).catch(o=>{console.error(o)}):r=null,{base:e.base??t?.base,port:Number(e.port??t?.[n]?.port),host:e.host??t?.[n]?.host,open:e.open??t?.[n]?.open,cacheDir:e.cacheDir??t?.cacheDir,entryPoint:e.entryPoint??t?.entryPoint,outDir:e.outDir??t?.outDir,publicDir:e.publicDir??t?.publicDir,runtime:e.runtime??t?.runtime,widgets:e.widgets??t?.widgets,lib:e.lib??t?.lib,vite:t.vite}}function x(e=import.meta.dirname??s.dirname(H(import.meta.url))){if(e?.split("/").length)return v(s.resolve(e,"package.json"))?e:x(s.resolve(e,".."));throw new Error("no package root found from "+e)}const k=`
3
3
  <!DOCTYPE html>
4
4
  <html lang="en" style="overflow: hidden">
5
5
 
@@ -8,13 +8,23 @@ import{createLogger as S,defineConfig as b,searchForWorkspaceRoot as W,mergeConf
8
8
  <link rel="icon" href="/favicon.ico" />
9
9
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
10
10
  <title>Welcome to Eodash v5</title>
11
+ <style>
12
+ html,
13
+ body {
14
+ width: 100%;
15
+ height: 100%;
16
+ padding: 0;
17
+ margin: 0;
18
+ }
19
+ </style>
11
20
  </head>
12
21
 
13
22
  <body>
14
- ${i.lib?`<eo-dash style="height:100dvh;"/>
15
- <script type="module" src="${t.resolve(`/@fs/${c}`,"core/client/asWebComponent.js")}"><\/script>
16
- `:` <div id="app" />
17
- <script type="module" src="${t.resolve(`/@fs/${c}`,"core/client/render.js")}"><\/script>
23
+ ${i.lib?`<eo-dash style="height:100%;"/>
24
+ <script type="module" src="${s.resolve(`/@fs/${u}`,"core/client/asWebComponent.js")}"><\/script>
25
+ `:` <div id="app" style="height:100%;" />
26
+ <script type="module" src="${s.resolve(`/@fs/${u}`,"core/client/render.js")}"><\/script>
18
27
  `}
19
28
  </body>
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 U(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 O({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}})();
29
+ </html>`;function Z(e={customElementFileName:"asWebComponent.js",stylePlaceHolder:"__VUE_CE_STYLES__"}){const{customElementFileName:n,stylePlaceHolder:r}=e;return{name:"vite-plugin-vue-custom-element-style-injector",enforce:"post",async transform(t,o){if(this.environment.mode!=="build")return;if(s.basename(o)===n){let l=t;return/defineCustomElement\s*\([^{]*\{[\s\S]*?styles\s*:/.test(t)||(l=t.replace(/(defineCustomElement\s*\(\s*[^,{]*,?\s*\{)/,`$1
30
+ styles: ${r},`)),{code:l,map:null}}},generateBundle(t,o){let a="",l=[];const p=[];for(const d in o){const h=o[d];if(h.type==="chunk"&&h.code.includes(r)){a=d;break}}for(const d in o){const h=o[d];if(q(d)&&h.type==="asset"){let g=h.source.toString();g=g.replaceAll(":root",":host"),l.push(g),p.push(d)}}o[a].code=o[a].code.replace(r,JSON.stringify(l)),p.forEach(d=>{delete o[d]})}}}function q(e){return/\.(css|less|sass|scss|styl|stylus|pcss|postcss|sss)(?:$|\?)/.test(e)}const _=C(async({mode:e,command:n})=>{const r=["VITE_","EODASH_"];return{base:i.base??"",cacheDir:Q,plugins:[J({features:{customElement:n==="build"&&i.lib},template:{transformAssetUrls:B,compilerOptions:{isCustomElement:t=>!t.includes("v-")&&t.includes("-")}}}),M({autoImport:!0}),e==="development"&&{name:"inject-html",configureServer:ee},i.lib&&Z()],customLogger:j,define:{__userConfigExist__:!!m,...n==="build"&&i.lib?{"process.env":"import.meta.env"}:{"process.env":{},...te(r)}},envPrefix:r,resolve:{alias:{"@":s.join(u,"core/client"),"^":s.join(u,"widgets"),"user:widgets":D,...m&&{"user:config":m}},extensions:[".js",".json",".jsx",".mjs",".ts",".tsx",".vue"]},server:{allowedHosts:!0,warmup:{clientFiles:[s.join(u,"core/client/**"),m]},port:i.port??3e3,open:i.open,fs:{allow:[W(process.cwd())]},host:i.host},root:u,...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","@eox/elements-utils"],noDiscovery:!0}},publicDir:i.publicDir===!1?!1:K,build:{outDir:w,emptyOutDir:!0,target:"esnext",cssMinify:!0,...i.lib&&n==="build"&&{minify:!1,lib:{entry:s.join(u,"core/client/asWebComponent.js"),fileName:(t,o)=>o==="asWebComponent"?"eo-dash.js":"templates.js",cssFileName:"eo-dash",formats:["es"],name:"@eodash/eodash"},rollupOptions:{input:{asWebComponent:s.join(u,"core/client/asWebComponent.js"),templates:s.join(u,"templates/index.js")},external:t=>{const o=t.includes("vuetify")||t.endsWith(".css")||t.endsWith("styles"),a=z.some(p=>t.startsWith(p));return!o&&a||t==="user:config"&&!m},treeshake:{moduleSideEffects:!0,preset:"smallest"}}}}}}),N=C(async e=>i.vite?U(await _(e),i.vite):_(e));async function ee(e){const n=[f,s.join(D,"**/*.vue")];m&&n.push(m),e.watcher.add(n);let r="";const t=j.info;return j.info=(o,a)=>{if(o.includes("core")){const l=o.split("/")[0].split(" ");l.pop();const p=l.join(" ")+" "+r.replace(c,"");return t(p,a)}return t(o,a)},e.watcher.on("change",async o=>{r=o,o===f&&e.ws.send({type:"full-reload",path:o})}),()=>{e.middlewares.use(async(o,a,l)=>{if(o.originalUrl==="/@fs/config.js"||o.originalUrl==="/config.js"){a.statusCode=200,a.setHeader("Content-Type","text/javascript"),v(f)&&await I(f).then(p=>{a.write(p)}),a.end();return}if(o.url?.endsWith(".html")){a.statusCode=200,a.setHeader("Content-Type","text/html");const p=await e.transformIndexHtml(o.url,k,o.originalUrl);a.end(p);return}l()})}}function te(e){G({quiet:!0});const n={};for(const r in process.env)e.some(t=>r.startsWith(t))&&(n["process.env."+r]=`"${process.env[r]}"`);return n}const oe=async()=>{const e=await O(await N({mode:"development",command:"serve"}));await e.listen(),e.printUrls(),e.bindCLIShortcuts({print:!0})},se=async()=>{const e=async()=>{const n=await N({mode:"production",command:"build"});await L(n),v(f)&&await V(f,s.join(w,"config.js"),{recursive:!0}).catch(r=>{console.error(r)})};if(i.lib)await e();else{const n=s.join(u,"/index.html");await T(n,k).then(async()=>{await e(),await R(n).catch(()=>{console.error("failed to remove index.html")})})}};async function ie(){(await A({root:c,base:i.base??"",preview:{port:isNaN(i.port)?8080:i.port,open:i.open,host:i.host},build:{outDir:w}})).printUrls()}const ne=process.argv?.[2];(async()=>{switch(ne){case"dev":await oe();break;case"build":await se();break;case"preview":await ie();break;default:console.error("command not found");break}})();
@@ -30,7 +30,7 @@ export interface EodashConfig {
30
30
  /** Cache folder */
31
31
  cacheDir?: string;
32
32
  /** Specifies main entry file, exporting `createEodash` */
33
- entryPoint?: string;
33
+ entryPoint?: string | false;
34
34
  /** File exporting eodash client runtime config */
35
35
  runtime?: string;
36
36
  /** Set a custom path for importing user defined internal widgets */
@@ -1,7 +1,7 @@
1
1
  declare const _default: import("vue").DefineComponent<{}, {
2
- config?: string | undefined;
2
+ config?: string | Function | undefined;
3
3
  $props: {
4
- readonly config?: string | undefined;
4
+ readonly config?: string | Function | undefined;
5
5
  };
6
6
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
7
  export default _default;
@@ -1,3 +1,4 @@
1
+ export { default as store } from "./store";
1
2
  export function register(): void;
2
3
  /**
3
4
  * @type {import("vue").VueElementConstructor<
@@ -6,4 +7,3 @@ export function register(): void;
6
7
  export const EodashConstructor: import("vue").VueElementConstructor<import("vue").ExtractPropTypes<{
7
8
  config: string;
8
9
  }>>;
9
- export { default as store } from "./store";
@@ -13,8 +13,6 @@ declare const _default: import("vue").DefineComponent<{}, {
13
13
  readonly onMounted?: Function | undefined;
14
14
  readonly onUnmounted?: Function | undefined;
15
15
  };
16
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {
17
- elementRef: unknown;
18
- }, HTMLSpanElement>;
16
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
19
17
  export default _default;
20
18
  export type CustomElement = HTMLElement & Record<string | number | symbol, unknown>;
@@ -1,106 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {
2
- footer: import("vue").CreateComponentPublicInstance<{
3
- absolute: boolean;
4
- height: string | number;
5
- order: string | number;
6
- style: import("vue").StyleValue;
7
- tag: string;
8
- app: boolean;
9
- tile: boolean;
10
- } & {
11
- name?: string | undefined;
12
- border?: string | number | boolean | undefined;
13
- color?: string | undefined;
14
- class?: any;
15
- theme?: string | undefined;
16
- elevation?: string | number | undefined;
17
- rounded?: string | number | boolean | undefined;
18
- } & {
19
- $children?: import("vue").VNodeChild | {
20
- default?: (() => import("vue").VNodeChild) | undefined;
21
- } | (() => import("vue").VNodeChild);
22
- 'v-slots'?: {
23
- default?: false | (() => import("vue").VNodeChild) | undefined;
24
- } | undefined;
25
- } & {
26
- "v-slot:default"?: false | (() => import("vue").VNodeChild) | undefined;
27
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
28
- absolute: boolean;
29
- height: string | number;
30
- order: string | number;
31
- style: import("vue").StyleValue;
32
- tag: string;
33
- app: boolean;
34
- tile: boolean;
35
- } & {
36
- name?: string | undefined;
37
- border?: string | number | boolean | undefined;
38
- color?: string | undefined;
39
- class?: any;
40
- theme?: string | undefined;
41
- elevation?: string | number | undefined;
42
- rounded?: string | number | boolean | undefined;
43
- } & {
44
- $children?: import("vue").VNodeChild | {
45
- default?: (() => import("vue").VNodeChild) | undefined;
46
- } | (() => import("vue").VNodeChild);
47
- 'v-slots'?: {
48
- default?: false | (() => import("vue").VNodeChild) | undefined;
49
- } | undefined;
50
- } & {
51
- "v-slot:default"?: false | (() => import("vue").VNodeChild) | undefined;
52
- }, {
53
- absolute: boolean;
54
- height: string | number;
55
- order: string | number;
56
- style: import("vue").StyleValue;
57
- tag: string;
58
- app: boolean;
59
- rounded: string | number | boolean;
60
- tile: boolean;
61
- }, true, {}, import("vue").SlotsType<Partial<{
62
- default: () => import("vue").VNode[];
63
- }>>, {
64
- P: {};
65
- B: {};
66
- D: {};
67
- C: {};
68
- M: {};
69
- Defaults: {};
70
- }, {
71
- absolute: boolean;
72
- height: string | number;
73
- order: string | number;
74
- style: import("vue").StyleValue;
75
- tag: string;
76
- app: boolean;
77
- tile: boolean;
78
- } & {
79
- name?: string | undefined;
80
- border?: string | number | boolean | undefined;
81
- color?: string | undefined;
82
- class?: any;
83
- theme?: string | undefined;
84
- elevation?: string | number | undefined;
85
- rounded?: string | number | boolean | undefined;
86
- } & {
87
- $children?: import("vue").VNodeChild | {
88
- default?: (() => import("vue").VNodeChild) | undefined;
89
- } | (() => import("vue").VNodeChild);
90
- 'v-slots'?: {
91
- default?: false | (() => import("vue").VNodeChild) | undefined;
92
- } | undefined;
93
- } & {
94
- "v-slot:default"?: false | (() => import("vue").VNodeChild) | undefined;
95
- }, {}, {}, {}, {}, {
96
- absolute: boolean;
97
- height: string | number;
98
- order: string | number;
99
- style: import("vue").StyleValue;
100
- tag: string;
101
- app: boolean;
102
- rounded: string | number | boolean;
103
- tile: boolean;
104
- }> | null;
105
- }, any>;
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
106
2
  export default _default;
@@ -3,5 +3,5 @@ declare const _default: import("vue").DefineComponent<{}, {
3
3
  $props: {
4
4
  readonly src?: string | undefined;
5
5
  };
6
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLIFrameElement>;
6
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
7
  export default _default;
@@ -1,325 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {
2
- tabs: ({
3
- $: import("vue").ComponentInternalInstance;
4
- $data: {};
5
- $props: Partial<{
6
- symbol: any;
7
- height: string | number;
8
- direction: "horizontal" | "vertical";
9
- style: import("vue").StyleValue;
10
- mobile: boolean | null;
11
- disabled: boolean;
12
- multiple: boolean;
13
- tag: string;
14
- mandatory: boolean | "force";
15
- modelValue: any;
16
- density: "default" | "compact" | "comfortable" | null;
17
- selectedClass: string;
18
- stacked: boolean;
19
- centerActive: boolean;
20
- nextIcon: string | (string | [path: string, opacity: number])[] | ((new () => any) | import("vue").FunctionalComponent<any, {}, any, {}>);
21
- prevIcon: string | (string | [path: string, opacity: number])[] | ((new () => any) | import("vue").FunctionalComponent<any, {}, any, {}>);
22
- grow: boolean;
23
- hideSlider: boolean;
24
- alignTabs: "center" | "end" | "start" | "title";
25
- fixedTabs: boolean;
26
- }> & Omit<{
27
- symbol: any;
28
- direction: "horizontal" | "vertical";
29
- style: import("vue").StyleValue;
30
- mobile: boolean | null;
31
- disabled: boolean;
32
- multiple: boolean;
33
- tag: string;
34
- mandatory: boolean | "force";
35
- density: "default" | "compact" | "comfortable" | null;
36
- selectedClass: string;
37
- stacked: boolean;
38
- centerActive: boolean;
39
- nextIcon: string | (string | [path: string, opacity: number])[] | ((new () => any) | import("vue").FunctionalComponent<any, {}, any, {}>);
40
- prevIcon: string | (string | [path: string, opacity: number])[] | ((new () => any) | import("vue").FunctionalComponent<any, {}, any, {}>);
41
- grow: boolean;
42
- hideSlider: boolean;
43
- alignTabs: "center" | "end" | "start" | "title";
44
- fixedTabs: boolean;
45
- max?: number | undefined | undefined;
46
- height?: string | number | undefined | undefined;
47
- color?: string | undefined | undefined;
48
- class?: any;
49
- mobileBreakpoint?: number | ("sm" | "md" | "lg" | "xl" | "xxl" | "xs") | undefined;
50
- modelValue?: any;
51
- bgColor?: string | undefined | undefined;
52
- showArrows?: string | boolean | undefined | undefined;
53
- sliderColor?: string | undefined | undefined;
54
- "onUpdate:modelValue"?: ((v: unknown) => any) | undefined | undefined;
55
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
56
- symbol: any;
57
- direction: "horizontal" | "vertical";
58
- style: import("vue").StyleValue;
59
- mobile: boolean | null;
60
- disabled: boolean;
61
- multiple: boolean;
62
- tag: string;
63
- mandatory: boolean | "force";
64
- density: "default" | "compact" | "comfortable" | null;
65
- selectedClass: string;
66
- stacked: boolean;
67
- centerActive: boolean;
68
- nextIcon: string | (string | [path: string, opacity: number])[] | ((new () => any) | import("vue").FunctionalComponent<any, {}, any, {}>);
69
- prevIcon: string | (string | [path: string, opacity: number])[] | ((new () => any) | import("vue").FunctionalComponent<any, {}, any, {}>);
70
- grow: boolean;
71
- hideSlider: boolean;
72
- alignTabs: "center" | "end" | "start" | "title";
73
- fixedTabs: boolean;
74
- } & {
75
- max?: number | undefined;
76
- height?: string | number | undefined;
77
- color?: string | undefined;
78
- class?: any;
79
- mobileBreakpoint?: number | ("sm" | "md" | "lg" | "xl" | "xxl" | "xs") | undefined;
80
- modelValue?: any;
81
- bgColor?: string | undefined;
82
- showArrows?: string | boolean | undefined;
83
- sliderColor?: string | undefined;
84
- } & {
85
- "onUpdate:modelValue"?: ((v: unknown) => any) | undefined;
86
- }, "symbol" | "style" | "modelValue" | "height" | "tag" | "disabled" | "selectedClass" | "density" | "stacked" | "mobile" | "multiple" | "mandatory" | "centerActive" | "direction" | "nextIcon" | "prevIcon" | "alignTabs" | "fixedTabs" | "grow" | "hideSlider">;
87
- $attrs: {
88
- [x: string]: unknown;
89
- };
90
- $refs: {
91
- [x: string]: unknown;
92
- };
93
- $slots: Readonly<{
94
- [x: `tab.${string}`]: ((arg: {
95
- item: unknown;
96
- }) => import("vue").VNode[]) | undefined;
97
- [x: `item.${string}`]: ((arg: {
98
- item: unknown;
99
- }) => import("vue").VNode[]) | undefined;
100
- default?: (() => import("vue").VNode[]) | undefined;
101
- tab?: ((arg: {
102
- item: unknown;
103
- }) => import("vue").VNode[]) | undefined;
104
- item?: ((arg: {
105
- item: unknown;
106
- }) => import("vue").VNode[]) | undefined;
107
- window?: (() => import("vue").VNode[]) | undefined;
108
- }>;
109
- $root: import("vue").ComponentPublicInstance | null;
110
- $parent: import("vue").ComponentPublicInstance | null;
111
- $host: Element | null;
112
- $emit: (event: "update:modelValue", v: unknown) => void;
113
- $el: any;
114
- $options: import("vue").ComponentOptionsBase<{
115
- symbol: any;
116
- direction: "horizontal" | "vertical";
117
- style: import("vue").StyleValue;
118
- mobile: boolean | null;
119
- disabled: boolean;
120
- multiple: boolean;
121
- tag: string;
122
- mandatory: boolean | "force";
123
- density: "default" | "compact" | "comfortable" | null;
124
- selectedClass: string;
125
- stacked: boolean;
126
- centerActive: boolean;
127
- nextIcon: string | (string | [path: string, opacity: number])[] | ((new () => any) | import("vue").FunctionalComponent<any, {}, any, {}>);
128
- prevIcon: string | (string | [path: string, opacity: number])[] | ((new () => any) | import("vue").FunctionalComponent<any, {}, any, {}>);
129
- grow: boolean;
130
- hideSlider: boolean;
131
- alignTabs: "center" | "end" | "start" | "title";
132
- fixedTabs: boolean;
133
- } & {
134
- max?: number | undefined;
135
- height?: string | number | undefined;
136
- color?: string | undefined;
137
- class?: any;
138
- mobileBreakpoint?: number | ("sm" | "md" | "lg" | "xl" | "xxl" | "xs") | undefined;
139
- modelValue?: any;
140
- bgColor?: string | undefined;
141
- showArrows?: string | boolean | undefined;
142
- sliderColor?: string | undefined;
143
- } & {
144
- "onUpdate:modelValue"?: ((v: unknown) => any) | undefined;
145
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Omit<{
146
- 'update:modelValue': (v: unknown) => true;
147
- }, "$children" | "v-slots" | "v-slot:default" | "items" | "v-slot:item" | `v-slot:item.${string}` | "v-slot:window" | "v-slot:tab" | `v-slot:tab.${string}`>, string, {
148
- symbol: any;
149
- height: string | number;
150
- direction: "horizontal" | "vertical";
151
- style: import("vue").StyleValue;
152
- mobile: boolean | null;
153
- disabled: boolean;
154
- multiple: boolean;
155
- tag: string;
156
- mandatory: boolean | "force";
157
- modelValue: any;
158
- density: "default" | "compact" | "comfortable" | null;
159
- selectedClass: string;
160
- stacked: boolean;
161
- centerActive: boolean;
162
- nextIcon: string | (string | [path: string, opacity: number])[] | ((new () => any) | import("vue").FunctionalComponent<any, {}, any, {}>);
163
- prevIcon: string | (string | [path: string, opacity: number])[] | ((new () => any) | import("vue").FunctionalComponent<any, {}, any, {}>);
164
- grow: boolean;
165
- hideSlider: boolean;
166
- alignTabs: "center" | "end" | "start" | "title";
167
- fixedTabs: boolean;
168
- }, {}, string, import("vue").SlotsType<Partial<{
169
- [x: `tab.${string}`]: (arg: {
170
- item: unknown;
171
- }) => import("vue").VNode[];
172
- [x: `item.${string}`]: (arg: {
173
- item: unknown;
174
- }) => import("vue").VNode[];
175
- default: () => import("vue").VNode[];
176
- tab: (arg: {
177
- item: unknown;
178
- }) => import("vue").VNode[];
179
- item: (arg: {
180
- item: unknown;
181
- }) => import("vue").VNode[];
182
- window: () => import("vue").VNode[];
183
- }>>, {}, {}, string, import("vue").ComponentProvideOptions> & {
184
- beforeCreate?: (() => void) | (() => void)[];
185
- created?: (() => void) | (() => void)[];
186
- beforeMount?: (() => void) | (() => void)[];
187
- mounted?: (() => void) | (() => void)[];
188
- beforeUpdate?: (() => void) | (() => void)[];
189
- updated?: (() => void) | (() => void)[];
190
- activated?: (() => void) | (() => void)[];
191
- deactivated?: (() => void) | (() => void)[];
192
- beforeDestroy?: (() => void) | (() => void)[];
193
- beforeUnmount?: (() => void) | (() => void)[];
194
- destroyed?: (() => void) | (() => void)[];
195
- unmounted?: (() => void) | (() => void)[];
196
- renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
197
- renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
198
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
199
- };
200
- $forceUpdate: () => void;
201
- $nextTick: typeof import("vue").nextTick;
202
- $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;
203
- } & Readonly<{
204
- symbol: any;
205
- height: string | number;
206
- direction: "horizontal" | "vertical";
207
- style: import("vue").StyleValue;
208
- mobile: boolean | null;
209
- disabled: boolean;
210
- multiple: boolean;
211
- tag: string;
212
- mandatory: boolean | "force";
213
- modelValue: any;
214
- density: "default" | "compact" | "comfortable" | null;
215
- selectedClass: string;
216
- stacked: boolean;
217
- centerActive: boolean;
218
- nextIcon: string | (string | [path: string, opacity: number])[] | ((new () => any) | import("vue").FunctionalComponent<any, {}, any, {}>);
219
- prevIcon: string | (string | [path: string, opacity: number])[] | ((new () => any) | import("vue").FunctionalComponent<any, {}, any, {}>);
220
- grow: boolean;
221
- hideSlider: boolean;
222
- alignTabs: "center" | "end" | "start" | "title";
223
- fixedTabs: boolean;
224
- }> & Omit<{
225
- symbol: any;
226
- direction: "horizontal" | "vertical";
227
- style: import("vue").StyleValue;
228
- mobile: boolean | null;
229
- disabled: boolean;
230
- multiple: boolean;
231
- tag: string;
232
- mandatory: boolean | "force";
233
- density: "default" | "compact" | "comfortable" | null;
234
- selectedClass: string;
235
- stacked: boolean;
236
- centerActive: boolean;
237
- nextIcon: string | (string | [path: string, opacity: number])[] | ((new () => any) | import("vue").FunctionalComponent<any, {}, any, {}>);
238
- prevIcon: string | (string | [path: string, opacity: number])[] | ((new () => any) | import("vue").FunctionalComponent<any, {}, any, {}>);
239
- grow: boolean;
240
- hideSlider: boolean;
241
- alignTabs: "center" | "end" | "start" | "title";
242
- fixedTabs: boolean;
243
- } & {
244
- max?: number | undefined;
245
- height?: string | number | undefined;
246
- color?: string | undefined;
247
- class?: any;
248
- mobileBreakpoint?: number | ("sm" | "md" | "lg" | "xl" | "xxl" | "xs") | undefined;
249
- modelValue?: any;
250
- bgColor?: string | undefined;
251
- showArrows?: string | boolean | undefined;
252
- sliderColor?: string | undefined;
253
- } & {
254
- "onUpdate:modelValue"?: ((v: unknown) => any) | undefined;
255
- }, "symbol" | "style" | "modelValue" | "height" | "tag" | "disabled" | "selectedClass" | "density" | "stacked" | "mobile" | "multiple" | "mandatory" | "centerActive" | "direction" | "nextIcon" | "prevIcon" | "alignTabs" | "fixedTabs" | "grow" | "hideSlider"> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
256
- $props: {
257
- items?: (string | number | Record<string, any>)[] | undefined;
258
- } & {
259
- $children?: import("vue").VNodeChild | (() => import("vue").VNodeChild) | {
260
- [x: `tab.${string}`]: ((arg: {
261
- item: string | number | Record<string, any>;
262
- }) => import("vue").VNodeChild) | undefined;
263
- [x: `item.${string}`]: ((arg: {
264
- item: string | number | Record<string, any>;
265
- }) => import("vue").VNodeChild) | undefined;
266
- default?: (() => import("vue").VNodeChild) | undefined;
267
- tab?: ((arg: {
268
- item: string | number | Record<string, any>;
269
- }) => import("vue").VNodeChild) | undefined;
270
- item?: ((arg: {
271
- item: string | number | Record<string, any>;
272
- }) => import("vue").VNodeChild) | undefined;
273
- window?: (() => import("vue").VNodeChild) | undefined;
274
- };
275
- 'v-slots'?: {
276
- [x: `tab.${string}`]: false | ((arg: {
277
- item: string | number | Record<string, any>;
278
- }) => import("vue").VNodeChild) | undefined;
279
- [x: `item.${string}`]: false | ((arg: {
280
- item: string | number | Record<string, any>;
281
- }) => import("vue").VNodeChild) | undefined;
282
- default?: false | (() => import("vue").VNodeChild) | undefined;
283
- tab?: false | ((arg: {
284
- item: string | number | Record<string, any>;
285
- }) => import("vue").VNodeChild) | undefined;
286
- item?: false | ((arg: {
287
- item: string | number | Record<string, any>;
288
- }) => import("vue").VNodeChild) | undefined;
289
- window?: false | (() => import("vue").VNodeChild) | undefined;
290
- } | undefined;
291
- } & {
292
- [x: `v-slot:tab.${string}`]: false | ((arg: {
293
- item: string | number | Record<string, any>;
294
- }) => import("vue").VNodeChild) | undefined;
295
- [x: `v-slot:item.${string}`]: false | ((arg: {
296
- item: string | number | Record<string, any>;
297
- }) => import("vue").VNodeChild) | undefined;
298
- "v-slot:default"?: false | (() => import("vue").VNodeChild) | undefined;
299
- "v-slot:tab"?: false | ((arg: {
300
- item: string | number | Record<string, any>;
301
- }) => import("vue").VNodeChild) | undefined;
302
- "v-slot:item"?: false | ((arg: {
303
- item: string | number | Record<string, any>;
304
- }) => import("vue").VNodeChild) | undefined;
305
- "v-slot:window"?: false | (() => import("vue").VNodeChild) | undefined;
306
- };
307
- $slots: {
308
- [x: `tab.${string}`]: (arg: {
309
- item: string | number | Record<string, any>;
310
- }) => import("vue").VNode[];
311
- [x: `item.${string}`]: (arg: {
312
- item: string | number | Record<string, any>;
313
- }) => import("vue").VNode[];
314
- default: () => import("vue").VNode[];
315
- tab: (arg: {
316
- item: string | number | Record<string, any>;
317
- }) => import("vue").VNode[];
318
- item: (arg: {
319
- item: string | number | Record<string, any>;
320
- }) => import("vue").VNode[];
321
- window: () => import("vue").VNode[];
322
- };
323
- }) | null;
324
- }, any>;
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
325
2
  export default _default;
@@ -1,2 +1,2 @@
1
- export function useEodashRuntime(runtimeConfig: string | undefined): Promise<import("../types").Eodash>;
2
- export function createEodash(config: ((store: typeof import("../store").default) => (Promise<import("../types").Eodash> | import("../types").Eodash)) | import("../types").Eodash): Promise<import("../types").Eodash<"compiletime">>;
1
+ export function useEodashRuntime(runtimeConfig: string | undefined | (() => Promise<import("../types").Eodash>) | Function): Promise<import("../types").Eodash | null | undefined>;
2
+ export function createEodash<T extends import("../types").Eodash>(config: T | ((store: typeof import("../store").default) => Promise<T>)): Promise<T>;
@@ -6,7 +6,7 @@
6
6
  * gap: import("vue").Ref<number>
7
7
  * }} DefinedTemplate
8
8
  **/
9
- export function useDefineTemplate(): import("vue").ToRefs<DefinedTemplate>;
9
+ export function useDefineTemplate(): DefinedTemplate | import("vue").ToRefs<DefinedTemplate>;
10
10
  export type DefinedTemplate = {
11
11
  bgWidget: ReturnType<typeof import("./DefineWidgets").useDefineWidgets>[number] | import("vue").ShallowRef<null>;
12
12
  loading: ReturnType<typeof import("./DefineWidgets").useDefineWidgets>[number] | import("vue").ShallowRef<null>;
@@ -5,10 +5,10 @@ export type DefinedWidget = {
5
5
  title: string;
6
6
  id: string | number | symbol;
7
7
  layout: {
8
- x: number;
9
- y: number;
10
- h: number;
11
- w: number;
8
+ x: number | string;
9
+ y: number | string;
10
+ h: number | string;
11
+ w: number | string;
12
12
  };
13
13
  };
14
14
  export type ReactiveDefinedWidget = import("vue").ShallowRef<DefinedWidget>;