@nembedemand/mindeportalen-v3 0.0.31 → 0.0.33

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.
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("pinia"),r=require("./index-DHmNeGnN.cjs"),i=t.defineStore("mpFrontend",{state:()=>({widget:!1,widgetSecret:r.useStorage("mpNbaWidgetSecret",""),widgetTheme:"normal",undertakerMode:!1,ssr:!1,fbSdkInitialized:!1,tempCover:{assetId:"",url:""},tempPicture:{assetId:"",url:""},routeObject:{},routerObject:{},hostedUrl:void 0,overviewLoading:!1,searchForm:{name:null,city:null,period:null,all:0}}),actions:{setWidgetSecret(e){this.widgetSecret=e},resetSearchForm(){this.searchForm={name:null,city:null,period:null,all:0}}}});exports.useFrontendStore=i;
2
- //# sourceMappingURL=frontend-EbsZb_0q.cjs.map
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("pinia"),r=require("./index-TvT_qfX-.cjs"),i=t.defineStore("mpFrontend",{state:()=>({widget:!1,widgetSecret:r.useStorage("mpNbaWidgetSecret",""),widgetTheme:"normal",undertakerMode:!1,ssr:!1,fbSdkInitialized:!1,tempCover:{assetId:"",url:""},tempPicture:{assetId:"",url:""},routeObject:{},routerObject:{},hostedUrl:void 0,overviewLoading:!1,searchForm:{name:null,city:null,period:null,all:0}}),actions:{setWidgetSecret(e){this.widgetSecret=e},resetSearchForm(){this.searchForm={name:null,city:null,period:null,all:0}}}});exports.useFrontendStore=i;
2
+ //# sourceMappingURL=frontend-UW4_OimG.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"frontend-EbsZb_0q.cjs","sources":["../src/stores/frontend.ts"],"sourcesContent":["import { defineStore } from 'pinia'\nimport { useStorage } from '@vueuse/core'\n\n// Make vue-router types optional since it's not always available in a component library\ntype Router = any\ntype RouteLocationNormalizedLoaded = any\ntype LocationQueryValue = string | string[] | null\n\ninterface SearchForm {\n name?: string | null | LocationQueryValue[]\n city?: string | null | LocationQueryValue[]\n period?: string | null | LocationQueryValue[]\n all?: number | null | LocationQueryValue[]\n}\n\nexport const useFrontendStore = defineStore('mpFrontend', {\n state: () => ({\n widget: false,\n widgetSecret: useStorage('mpNbaWidgetSecret', ''),\n widgetTheme: 'normal',\n undertakerMode: false,\n ssr: false as boolean | undefined,\n fbSdkInitialized: false,\n tempCover: {\n assetId: '',\n url: '',\n },\n tempPicture: {\n assetId: '',\n url: '',\n },\n routeObject: {} as RouteLocationNormalizedLoaded,\n routerObject: {} as Router,\n hostedUrl: undefined as string | undefined,\n overviewLoading: false as boolean | undefined,\n searchForm: {\n name: null,\n city: null,\n period: null,\n all: 0,\n } as SearchForm,\n }),\n actions: {\n setWidgetSecret(secret: string) {\n this.widgetSecret = secret\n },\n resetSearchForm() {\n this.searchForm = {\n name: null,\n city: null,\n period: null,\n all: 0,\n }\n },\n },\n})\n"],"names":["useFrontendStore","defineStore","useStorage","secret"],"mappings":"2IAeaA,EAAmBC,EAAAA,YAAY,aAAc,CACxD,MAAO,KAAO,CACZ,OAAQ,GACR,aAAcC,EAAAA,WAAW,oBAAqB,EAAE,EAChD,YAAa,SACb,eAAgB,GAChB,IAAK,GACL,iBAAkB,GAClB,UAAW,CACT,QAAS,GACT,IAAK,EAAA,EAEP,YAAa,CACX,QAAS,GACT,IAAK,EAAA,EAEP,YAAa,CAAA,EACb,aAAc,CAAA,EACd,UAAW,OACX,gBAAiB,GACjB,WAAY,CACV,KAAM,KACN,KAAM,KACN,OAAQ,KACR,IAAK,CAAA,CACP,GAEF,QAAS,CACP,gBAAgBC,EAAgB,CAC9B,KAAK,aAAeA,CACtB,EACA,iBAAkB,CAChB,KAAK,WAAa,CAChB,KAAM,KACN,KAAM,KACN,OAAQ,KACR,IAAK,CAAA,CAET,CAAA,CAEJ,CAAC"}
1
+ {"version":3,"file":"frontend-UW4_OimG.cjs","sources":["../src/stores/frontend.ts"],"sourcesContent":["import { defineStore } from 'pinia'\nimport { useStorage } from '@vueuse/core'\n\n// Make vue-router types optional since it's not always available in a component library\ntype Router = any\ntype RouteLocationNormalizedLoaded = any\ntype LocationQueryValue = string | string[] | null\n\ninterface SearchForm {\n name?: string | null | LocationQueryValue[]\n city?: string | null | LocationQueryValue[]\n period?: string | null | LocationQueryValue[]\n all?: number | null | LocationQueryValue[]\n}\n\nexport const useFrontendStore = defineStore('mpFrontend', {\n state: () => ({\n widget: false,\n widgetSecret: useStorage('mpNbaWidgetSecret', ''),\n widgetTheme: 'normal',\n undertakerMode: false,\n ssr: false as boolean | undefined,\n fbSdkInitialized: false,\n tempCover: {\n assetId: '',\n url: '',\n },\n tempPicture: {\n assetId: '',\n url: '',\n },\n routeObject: {} as RouteLocationNormalizedLoaded,\n routerObject: {} as Router,\n hostedUrl: undefined as string | undefined,\n overviewLoading: false as boolean | undefined,\n searchForm: {\n name: null,\n city: null,\n period: null,\n all: 0,\n } as SearchForm,\n }),\n actions: {\n setWidgetSecret(secret: string) {\n this.widgetSecret = secret\n },\n resetSearchForm() {\n this.searchForm = {\n name: null,\n city: null,\n period: null,\n all: 0,\n }\n },\n },\n})\n"],"names":["useFrontendStore","defineStore","useStorage","secret"],"mappings":"2IAeaA,EAAmBC,EAAAA,YAAY,aAAc,CACxD,MAAO,KAAO,CACZ,OAAQ,GACR,aAAcC,EAAAA,WAAW,oBAAqB,EAAE,EAChD,YAAa,SACb,eAAgB,GAChB,IAAK,GACL,iBAAkB,GAClB,UAAW,CACT,QAAS,GACT,IAAK,EAAA,EAEP,YAAa,CACX,QAAS,GACT,IAAK,EAAA,EAEP,YAAa,CAAA,EACb,aAAc,CAAA,EACd,UAAW,OACX,gBAAiB,GACjB,WAAY,CACV,KAAM,KACN,KAAM,KACN,OAAQ,KACR,IAAK,CAAA,CACP,GAEF,QAAS,CACP,gBAAgBC,EAAgB,CAC9B,KAAK,aAAeA,CACtB,EACA,iBAAkB,CAChB,KAAK,WAAa,CAChB,KAAM,KACN,KAAM,KACN,OAAQ,KACR,IAAK,CAAA,CAET,CAAA,CAEJ,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { defineStore as t } from "pinia";
2
- import { u as r } from "./index-Bw0-h6cT.js";
2
+ import { u as r } from "./index-BOlQPMbk.js";
3
3
  const s = t("mpFrontend", {
4
4
  state: () => ({
5
5
  widget: !1,
@@ -44,4 +44,4 @@ const s = t("mpFrontend", {
44
44
  export {
45
45
  s as useFrontendStore
46
46
  };
47
- //# sourceMappingURL=frontend-DtWWCLFj.js.map
47
+ //# sourceMappingURL=frontend-ZWyFqoVg.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"frontend-DtWWCLFj.js","sources":["../src/stores/frontend.ts"],"sourcesContent":["import { defineStore } from 'pinia'\nimport { useStorage } from '@vueuse/core'\n\n// Make vue-router types optional since it's not always available in a component library\ntype Router = any\ntype RouteLocationNormalizedLoaded = any\ntype LocationQueryValue = string | string[] | null\n\ninterface SearchForm {\n name?: string | null | LocationQueryValue[]\n city?: string | null | LocationQueryValue[]\n period?: string | null | LocationQueryValue[]\n all?: number | null | LocationQueryValue[]\n}\n\nexport const useFrontendStore = defineStore('mpFrontend', {\n state: () => ({\n widget: false,\n widgetSecret: useStorage('mpNbaWidgetSecret', ''),\n widgetTheme: 'normal',\n undertakerMode: false,\n ssr: false as boolean | undefined,\n fbSdkInitialized: false,\n tempCover: {\n assetId: '',\n url: '',\n },\n tempPicture: {\n assetId: '',\n url: '',\n },\n routeObject: {} as RouteLocationNormalizedLoaded,\n routerObject: {} as Router,\n hostedUrl: undefined as string | undefined,\n overviewLoading: false as boolean | undefined,\n searchForm: {\n name: null,\n city: null,\n period: null,\n all: 0,\n } as SearchForm,\n }),\n actions: {\n setWidgetSecret(secret: string) {\n this.widgetSecret = secret\n },\n resetSearchForm() {\n this.searchForm = {\n name: null,\n city: null,\n period: null,\n all: 0,\n }\n },\n },\n})\n"],"names":["useFrontendStore","defineStore","useStorage","secret"],"mappings":";;AAeO,MAAMA,IAAmBC,EAAY,cAAc;AAAA,EACxD,OAAO,OAAO;AAAA,IACZ,QAAQ;AAAA,IACR,cAAcC,EAAW,qBAAqB,EAAE;AAAA,IAChD,aAAa;AAAA,IACb,gBAAgB;AAAA,IAChB,KAAK;AAAA,IACL,kBAAkB;AAAA,IAClB,WAAW;AAAA,MACT,SAAS;AAAA,MACT,KAAK;AAAA,IAAA;AAAA,IAEP,aAAa;AAAA,MACX,SAAS;AAAA,MACT,KAAK;AAAA,IAAA;AAAA,IAEP,aAAa,CAAA;AAAA,IACb,cAAc,CAAA;AAAA,IACd,WAAW;AAAA,IACX,iBAAiB;AAAA,IACjB,YAAY;AAAA,MACV,MAAM;AAAA,MACN,MAAM;AAAA,MACN,QAAQ;AAAA,MACR,KAAK;AAAA,IAAA;AAAA,EACP;AAAA,EAEF,SAAS;AAAA,IACP,gBAAgBC,GAAgB;AAC9B,WAAK,eAAeA;AAAA,IACtB;AAAA,IACA,kBAAkB;AAChB,WAAK,aAAa;AAAA,QAChB,MAAM;AAAA,QACN,MAAM;AAAA,QACN,QAAQ;AAAA,QACR,KAAK;AAAA,MAAA;AAAA,IAET;AAAA,EAAA;AAEJ,CAAC;"}
1
+ {"version":3,"file":"frontend-ZWyFqoVg.js","sources":["../src/stores/frontend.ts"],"sourcesContent":["import { defineStore } from 'pinia'\nimport { useStorage } from '@vueuse/core'\n\n// Make vue-router types optional since it's not always available in a component library\ntype Router = any\ntype RouteLocationNormalizedLoaded = any\ntype LocationQueryValue = string | string[] | null\n\ninterface SearchForm {\n name?: string | null | LocationQueryValue[]\n city?: string | null | LocationQueryValue[]\n period?: string | null | LocationQueryValue[]\n all?: number | null | LocationQueryValue[]\n}\n\nexport const useFrontendStore = defineStore('mpFrontend', {\n state: () => ({\n widget: false,\n widgetSecret: useStorage('mpNbaWidgetSecret', ''),\n widgetTheme: 'normal',\n undertakerMode: false,\n ssr: false as boolean | undefined,\n fbSdkInitialized: false,\n tempCover: {\n assetId: '',\n url: '',\n },\n tempPicture: {\n assetId: '',\n url: '',\n },\n routeObject: {} as RouteLocationNormalizedLoaded,\n routerObject: {} as Router,\n hostedUrl: undefined as string | undefined,\n overviewLoading: false as boolean | undefined,\n searchForm: {\n name: null,\n city: null,\n period: null,\n all: 0,\n } as SearchForm,\n }),\n actions: {\n setWidgetSecret(secret: string) {\n this.widgetSecret = secret\n },\n resetSearchForm() {\n this.searchForm = {\n name: null,\n city: null,\n period: null,\n all: 0,\n }\n },\n },\n})\n"],"names":["useFrontendStore","defineStore","useStorage","secret"],"mappings":";;AAeO,MAAMA,IAAmBC,EAAY,cAAc;AAAA,EACxD,OAAO,OAAO;AAAA,IACZ,QAAQ;AAAA,IACR,cAAcC,EAAW,qBAAqB,EAAE;AAAA,IAChD,aAAa;AAAA,IACb,gBAAgB;AAAA,IAChB,KAAK;AAAA,IACL,kBAAkB;AAAA,IAClB,WAAW;AAAA,MACT,SAAS;AAAA,MACT,KAAK;AAAA,IAAA;AAAA,IAEP,aAAa;AAAA,MACX,SAAS;AAAA,MACT,KAAK;AAAA,IAAA;AAAA,IAEP,aAAa,CAAA;AAAA,IACb,cAAc,CAAA;AAAA,IACd,WAAW;AAAA,IACX,iBAAiB;AAAA,IACjB,YAAY;AAAA,MACV,MAAM;AAAA,MACN,MAAM;AAAA,MACN,QAAQ;AAAA,MACR,KAAK;AAAA,IAAA;AAAA,EACP;AAAA,EAEF,SAAS;AAAA,IACP,gBAAgBC,GAAgB;AAC9B,WAAK,eAAeA;AAAA,IACtB;AAAA,IACA,kBAAkB;AAChB,WAAK,aAAa;AAAA,QAChB,MAAM;AAAA,QACN,MAAM;AAAA,QACN,QAAQ;AAAA,QACR,KAAK;AAAA,MAAA;AAAA,IAET;AAAA,EAAA;AAEJ,CAAC;"}
@@ -10229,7 +10229,7 @@ function Sa(t) {
10229
10229
  function ot(t, e = {}) {
10230
10230
  if (!t) return "";
10231
10231
  if (!Sa(t)) return t;
10232
- const a = t.indexOf(Wt), n = t.slice(0, a + Wt.length), r = t.slice(a + Wt.length), s = [];
10232
+ const a = t.indexOf(Wt), n = t.slice(0, a + Wt.length).replace(/^http:\/\//, "https://"), r = t.slice(a + Wt.length), s = [];
10233
10233
  return s.push(`f_${e.format ?? "auto"}`), s.push(`q_${e.quality ?? "auto"}`), e.crop && s.push(`c_${e.crop}`), e.gravity && s.push(`g_${e.gravity}`), e.width && s.push(`w_${e.width}`), e.height && s.push(`h_${e.height}`), e.dpr && s.push(`dpr_${e.dpr}`), `${n}${s.join(",")}/${r}`;
10234
10234
  }
10235
10235
  function Eo(t, e, a = {}, n = [1, 2]) {
@@ -14822,7 +14822,7 @@ function s7() {
14822
14822
  }), a = k(!1), n = async () => {
14823
14823
  if (!(!t() || typeof window > "u"))
14824
14824
  try {
14825
- const { useFrontendStore: s } = await import("./frontend-DtWWCLFj.js"), o = s();
14825
+ const { useFrontendStore: s } = await import("./frontend-ZWyFqoVg.js"), o = s();
14826
14826
  e.value = {
14827
14827
  widget: o.widget || !1,
14828
14828
  widgetTheme: o.widgetTheme || "dark",
@@ -14843,7 +14843,7 @@ function s7() {
14843
14843
  const r = async (s) => {
14844
14844
  if (e.value = { ...e.value, ...s }, t() && typeof window < "u")
14845
14845
  try {
14846
- const { useFrontendStore: o } = await import("./frontend-DtWWCLFj.js"), p = o();
14846
+ const { useFrontendStore: o } = await import("./frontend-ZWyFqoVg.js"), p = o();
14847
14847
  Object.assign(p, s);
14848
14848
  } catch (o) {
14849
14849
  console.warn("[useSafeFrontendStore] Failed to update store:", o);
@@ -16019,4 +16019,4 @@ export {
16019
16019
  i7 as y,
16020
16020
  mn as z
16021
16021
  };
16022
- //# sourceMappingURL=index-Bw0-h6cT.js.map
16022
+ //# sourceMappingURL=index-BOlQPMbk.js.map