@vcmap/ui 6.1.6 → 6.1.8

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.
package/dist/assets/ui.js CHANGED
@@ -1 +1 @@
1
- export * from "./ui-4d5b6d69.js";
1
+ export * from "./ui-f02afadd.js";
@@ -1 +1 @@
1
- export * from "./vue-2eb173d7.js";
1
+ export * from "./vue-e4af6ebb.js";
@@ -10,7 +10,7 @@ function loadCss(href) {
10
10
  elem.onerror = reject;
11
11
  document.head.appendChild(elem);
12
12
  });
13
- } await loadCss('./assets/vuetify-08c09af3.css');import { watch as Q, onScopeDispose as Ze, effectScope as Zl, shallowRef as K, Fragment as ie, reactive as it, computed as b, watchEffect as Fe, toRefs as Yt, capitalize as Nn, isVNode as Rc, Comment as Nc, unref as ot, warn as ja, getCurrentInstance as Hc, ref as j, provide as De, inject as ye, defineComponent as zc, camelize as Ir, h as Gt, toRaw as Be, createVNode as r, mergeProps as O, onBeforeUnmount as Qe, readonly as Ql, onDeactivated as _r, onActivated as Wc, onMounted as Ye, nextTick as we, TransitionGroup as Jl, Transition as jt, isRef as Tn, toRef as $, onBeforeMount as ra, withDirectives as $e, resolveDirective as gt, vShow as Ct, onUpdated as jc, Text as Uc, resolveDynamicComponent as Yc, markRaw as Gc, Teleport as Kc, cloneVNode as qc, createTextVNode as Tt, onUnmounted as Tr, onBeforeUpdate as Xc, withModifiers as Tl, toDisplayString as Zc, vModelText as Qc, resolveComponent as Jc, render as Ar } from "./vue-2eb173d7.js";
13
+ } await loadCss('./assets/vuetify-aae1edc7.css');import { watch as Q, onScopeDispose as Ze, effectScope as Zl, shallowRef as K, Fragment as ie, reactive as it, computed as b, watchEffect as Fe, toRefs as Yt, capitalize as Nn, isVNode as Rc, Comment as Nc, unref as ot, warn as ja, getCurrentInstance as Hc, ref as j, provide as De, inject as ye, defineComponent as zc, camelize as Ir, h as Gt, toRaw as Be, createVNode as r, mergeProps as O, onBeforeUnmount as Qe, readonly as Ql, onDeactivated as _r, onActivated as Wc, onMounted as Ye, nextTick as we, TransitionGroup as Jl, Transition as jt, isRef as Tn, toRef as $, onBeforeMount as ra, withDirectives as $e, resolveDirective as gt, vShow as Ct, onUpdated as jc, Text as Uc, resolveDynamicComponent as Yc, markRaw as Gc, Teleport as Kc, cloneVNode as qc, createTextVNode as Tt, onUnmounted as Tr, onBeforeUpdate as Xc, withModifiers as Tl, toDisplayString as Zc, vModelText as Qc, resolveComponent as Jc, render as Ar } from "./vue-e4af6ebb.js";
14
14
  function rt(e, n) {
15
15
  let t;
16
16
  function a() {
@@ -1 +1 @@
1
- export * from "./vuetify-08c09af3.js";
1
+ export * from "./vuetify-aae1edc7.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vcmap/ui",
3
- "version": "6.1.6",
3
+ "version": "6.1.8",
4
4
  "author": "Virtual City Systems",
5
5
  "license": "MIT",
6
6
  "scripts": {
@@ -60,7 +60,7 @@
60
60
  "@vcmap/core": "^6.1.6",
61
61
  "ol": "^10.4.0",
62
62
  "vue": "~3.4.38",
63
- "vuetify": "^3.7.14"
63
+ "vuetify": "~3.7.14"
64
64
  },
65
65
  "overrides": {
66
66
  "esbuild": "^0.25.0"
@@ -104,7 +104,6 @@
104
104
  import VcsTextPage from './VcsTextPage.vue';
105
105
  import VcsAttributions from './VcsAttributions.vue';
106
106
  import { getAttributions } from './attributionsHelper.js';
107
- import VcsDefaultLogoMobile from '../logo-mobile.svg';
108
107
  import VcsPositionDisplay from './VcsPositionDisplay.vue';
109
108
 
110
109
  /**
@@ -882,12 +881,6 @@
882
881
  return !app.uiConfig.config.hideFooter && smAndUp.value;
883
882
  }),
884
883
  footerHeight,
885
- mobileLogo: computed(
886
- () =>
887
- app.uiConfig.config.mobileLogo ??
888
- app.uiConfig.config.logo ??
889
- VcsDefaultLogoMobile,
890
- ),
891
884
  imprint: computed(() => {
892
885
  if (app.uiConfig.config.imprint) {
893
886
  return {
@@ -383,7 +383,6 @@ declare const _default: import("vue").DefineComponent<{
383
383
  };
384
384
  showFooter: import("vue").ComputedRef<boolean>;
385
385
  footerHeight: import("vue").ComputedRef<number>;
386
- mobileLogo: import("vue").ComputedRef<any>;
387
386
  imprint: import("vue").ComputedRef<{
388
387
  title: string;
389
388
  url?: string | {
@@ -10,9 +10,8 @@
10
10
  fluid
11
11
  absolute
12
12
  >
13
- <template v-if="smAndDown">
13
+ <template v-if="smAndDown && mobileLogo">
14
14
  <img
15
- v-if="mobileLogo"
16
15
  :src="mobileLogo"
17
16
  alt="Logo"
18
17
  draggable="false"
@@ -105,7 +104,6 @@
105
104
  import WindowManagerComponent from '../manager/window/WindowManager.vue';
106
105
  import ToolboxManagerComponent from '../manager/toolbox/ToolboxManagerComponent.vue';
107
106
  import NotifierComponent from '../notifier/NotifierComponent.vue';
108
- import VcsDefaultLogoMobile from '../logo-mobile.svg';
109
107
  import { isMobileLandscape } from '../vuePlugins/vuetify.js';
110
108
 
111
109
  /**
@@ -141,10 +139,7 @@
141
139
  mobile,
142
140
  mobileLandscape,
143
141
  mobileLogo: computed(
144
- () =>
145
- app.uiConfig.config.mobileLogo ??
146
- app.uiConfig.config.logo ??
147
- VcsDefaultLogoMobile,
142
+ () => app.uiConfig.config.mobileLogo ?? app.uiConfig.config.logo,
148
143
  ),
149
144
  };
150
145
  },
@@ -301,7 +301,7 @@ declare const _default: import("vue").DefineComponent<{
301
301
  smAndUp: import("vue").Ref<boolean>;
302
302
  mobile: import("vue").ComputedRef<boolean>;
303
303
  mobileLandscape: import("vue").ComputedRef<boolean>;
304
- mobileLogo: import("vue").ComputedRef<any>;
304
+ mobileLogo: import("vue").ComputedRef<string | undefined>;
305
305
  }, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
306
306
  attributionAction: {
307
307
  type: ObjectConstructor;
@@ -51,7 +51,7 @@
51
51
  </v-col>
52
52
  <v-col class="d-flex justify-center flex-grow-2 mx-2">
53
53
  <div class="d-flex align-center">
54
- <template v-if="!smAndDown">
54
+ <template v-if="!smAndDown && logo">
55
55
  <img class="logo" :src="logo" draggable="false" alt="Logo" />
56
56
  </template>
57
57
  <div
@@ -164,7 +164,6 @@
164
164
  import VcsActionList from '../components/lists/VcsActionList.vue';
165
165
  import VcsToolButton from '../components/buttons/VcsToolButton.vue';
166
166
  import { createSearchButtonAction } from '../actions/actionHelper.js';
167
- import VcsDefaultLogo from '../logo.svg';
168
167
  import { useFontSize } from '../vuePlugins/vuetify.js';
169
168
 
170
169
  /**
@@ -212,7 +211,7 @@
212
211
  );
213
212
 
214
213
  const logo = computed(() => {
215
- return app.uiConfig.config.logo ?? VcsDefaultLogo;
214
+ return app.uiConfig.config.logo;
216
215
  });
217
216
 
218
217
  const { searchAction, destroy: destroySearchAction } =
File without changes