@nembedemand/mindeportalen-v3 0.0.40 → 0.0.41
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-paWq6iWg.cjs → frontend-6GgpY21f.cjs} +2 -2
- package/dist/{frontend-paWq6iWg.cjs.map → frontend-6GgpY21f.cjs.map} +1 -1
- package/dist/{frontend-DWMSTsM7.js → frontend-BhopO_Ro.js} +2 -2
- package/dist/{frontend-DWMSTsM7.js.map → frontend-BhopO_Ro.js.map} +1 -1
- package/dist/{index-CVoWPvXe.js → index-CCEnPdvD.js} +4 -4
- package/dist/{index-CVoWPvXe.js.map → index-CCEnPdvD.js.map} +1 -1
- package/dist/{index-D1mMDN4s.cjs → index-DzGrBqno.cjs} +3 -3
- package/dist/{index-D1mMDN4s.cjs.map → index-DzGrBqno.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,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-DzGrBqno.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-6GgpY21f.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"frontend-
|
|
1
|
+
{"version":3,"file":"frontend-6GgpY21f.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-CCEnPdvD.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-BhopO_Ro.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"frontend-
|
|
1
|
+
{"version":3,"file":"frontend-BhopO_Ro.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;"}
|
|
@@ -11311,7 +11311,7 @@ const d0 = /* @__PURE__ */ L({
|
|
|
11311
11311
|
]),
|
|
11312
11312
|
u[4] || (u[4] = p()),
|
|
11313
11313
|
l("div", a3, [
|
|
11314
|
-
u[0] || (u[0] = l("h3", { class: "mp-donation-promo-title
|
|
11314
|
+
u[0] || (u[0] = l("h3", { class: "mp-donation-promo-title" }, "Send donation", -1)),
|
|
11315
11315
|
u[1] || (u[1] = p()),
|
|
11316
11316
|
r.value ? (c(), v("p", o3, E(r.value), 1)) : (c(), v("p", r3, `
|
|
11317
11317
|
Støt en god sag til minde om
|
|
@@ -14981,7 +14981,7 @@ function _7() {
|
|
|
14981
14981
|
}), a = k(!1), n = async () => {
|
|
14982
14982
|
if (!(!t() || typeof window > "u"))
|
|
14983
14983
|
try {
|
|
14984
|
-
const { useFrontendStore: s } = await import("./frontend-
|
|
14984
|
+
const { useFrontendStore: s } = await import("./frontend-BhopO_Ro.js"), o = s();
|
|
14985
14985
|
e.value = {
|
|
14986
14986
|
widget: o.widget || !1,
|
|
14987
14987
|
widgetTheme: o.widgetTheme || "dark",
|
|
@@ -15002,7 +15002,7 @@ function _7() {
|
|
|
15002
15002
|
const r = async (s) => {
|
|
15003
15003
|
if (e.value = { ...e.value, ...s }, t() && typeof window < "u")
|
|
15004
15004
|
try {
|
|
15005
|
-
const { useFrontendStore: o } = await import("./frontend-
|
|
15005
|
+
const { useFrontendStore: o } = await import("./frontend-BhopO_Ro.js"), m = o();
|
|
15006
15006
|
Object.assign(m, s);
|
|
15007
15007
|
} catch (o) {
|
|
15008
15008
|
console.warn("[useSafeFrontendStore] Failed to update store:", o);
|
|
@@ -16225,4 +16225,4 @@ export {
|
|
|
16225
16225
|
A7 as y,
|
|
16226
16226
|
dn as z
|
|
16227
16227
|
};
|
|
16228
|
-
//# sourceMappingURL=index-
|
|
16228
|
+
//# sourceMappingURL=index-CCEnPdvD.js.map
|