@nembedemand/mindeportalen-v3 0.0.41 → 0.0.42
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/{frontend-6GgpY21f.cjs → frontend-DF-jlR8w.cjs} +2 -2
- package/dist/{frontend-6GgpY21f.cjs.map → frontend-DF-jlR8w.cjs.map} +1 -1
- package/dist/{frontend-BhopO_Ro.js → frontend-q83255tB.js} +2 -2
- package/dist/{frontend-BhopO_Ro.js.map → frontend-q83255tB.js.map} +1 -1
- package/dist/{index-CCEnPdvD.js → index-BKBYF2dr.js} +10 -4
- package/dist/{index-CCEnPdvD.js.map → index-BKBYF2dr.js.map} +1 -1
- package/dist/{index-DzGrBqno.cjs → index-z3-LMYmQ.cjs} +49 -49
- package/dist/{index-DzGrBqno.cjs.map → index-z3-LMYmQ.cjs.map} +1 -1
- package/dist/mindeportalen-v3.cjs +1 -1
- package/dist/mindeportalen-v3.js +1 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("pinia"),r=require("./index-
|
|
2
|
-
//# sourceMappingURL=frontend-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("pinia"),r=require("./index-z3-LMYmQ.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-DF-jlR8w.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"frontend-
|
|
1
|
+
{"version":3,"file":"frontend-DF-jlR8w.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-
|
|
2
|
+
import { u as r } from "./index-BKBYF2dr.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-
|
|
47
|
+
//# sourceMappingURL=frontend-q83255tB.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"frontend-
|
|
1
|
+
{"version":3,"file":"frontend-q83255tB.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;"}
|
|
@@ -14830,7 +14830,13 @@ const A6 = { key: 0 }, O6 = { class: "mp-mb-6 mp-flex mp-justify-between mp-item
|
|
|
14830
14830
|
return me(() => {
|
|
14831
14831
|
if (h(), n.routeObject && n.routeObject.query.abonner !== void 0) {
|
|
14832
14832
|
const g = n.routeObject.query.postnr;
|
|
14833
|
-
g && (i.SubscribePopupPrefillZips.value = String(g).split(",").map((
|
|
14833
|
+
g && (i.SubscribePopupPrefillZips.value = String(g).split(",").map((P) => P.trim()).filter((P) => P !== "")), i.SubscribePopup.value = !0;
|
|
14834
|
+
const x = { ...n.routeObject.query };
|
|
14835
|
+
delete x.abonner, delete x.postnr, n.routerObject.replace({
|
|
14836
|
+
path: n.routeObject.path,
|
|
14837
|
+
query: x,
|
|
14838
|
+
hash: n.routeObject.hash
|
|
14839
|
+
});
|
|
14834
14840
|
}
|
|
14835
14841
|
}), me(() => {
|
|
14836
14842
|
if (typeof window < "u") {
|
|
@@ -14981,7 +14987,7 @@ function _7() {
|
|
|
14981
14987
|
}), a = k(!1), n = async () => {
|
|
14982
14988
|
if (!(!t() || typeof window > "u"))
|
|
14983
14989
|
try {
|
|
14984
|
-
const { useFrontendStore: s } = await import("./frontend-
|
|
14990
|
+
const { useFrontendStore: s } = await import("./frontend-q83255tB.js"), o = s();
|
|
14985
14991
|
e.value = {
|
|
14986
14992
|
widget: o.widget || !1,
|
|
14987
14993
|
widgetTheme: o.widgetTheme || "dark",
|
|
@@ -15002,7 +15008,7 @@ function _7() {
|
|
|
15002
15008
|
const r = async (s) => {
|
|
15003
15009
|
if (e.value = { ...e.value, ...s }, t() && typeof window < "u")
|
|
15004
15010
|
try {
|
|
15005
|
-
const { useFrontendStore: o } = await import("./frontend-
|
|
15011
|
+
const { useFrontendStore: o } = await import("./frontend-q83255tB.js"), m = o();
|
|
15006
15012
|
Object.assign(m, s);
|
|
15007
15013
|
} catch (o) {
|
|
15008
15014
|
console.warn("[useSafeFrontendStore] Failed to update store:", o);
|
|
@@ -16225,4 +16231,4 @@ export {
|
|
|
16225
16231
|
A7 as y,
|
|
16226
16232
|
dn as z
|
|
16227
16233
|
};
|
|
16228
|
-
//# sourceMappingURL=index-
|
|
16234
|
+
//# sourceMappingURL=index-BKBYF2dr.js.map
|