@nembedemand/mindeportalen-v3 0.0.32 → 0.0.34
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-ZWyFqoVg.js → frontend-Bi7zWfRK.js} +2 -2
- package/dist/{frontend-ZWyFqoVg.js.map → frontend-Bi7zWfRK.js.map} +1 -1
- package/dist/{frontend-UW4_OimG.cjs → frontend-CfmxDyzx.cjs} +2 -2
- package/dist/{frontend-UW4_OimG.cjs.map → frontend-CfmxDyzx.cjs.map} +1 -1
- package/dist/{index-BOlQPMbk.js → index-CTHQp9tJ.js} +190 -189
- package/dist/{index-BOlQPMbk.js.map → index-CTHQp9tJ.js.map} +1 -1
- package/dist/{index-TvT_qfX-.cjs → index-GycyYbeM.cjs} +24 -23
- package/dist/{index-TvT_qfX-.cjs.map → index-GycyYbeM.cjs.map} +1 -1
- package/dist/index.css +1 -1
- package/dist/mindeportalen-v3.cjs +1 -1
- package/dist/mindeportalen-v3.js +1 -1
- package/package.json +1 -1
|
@@ -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-CTHQp9tJ.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-Bi7zWfRK.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"frontend-
|
|
1
|
+
{"version":3,"file":"frontend-Bi7zWfRK.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,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-GycyYbeM.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-CfmxDyzx.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"frontend-
|
|
1
|
+
{"version":3,"file":"frontend-CfmxDyzx.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"}
|