fix pwa modular

This commit is contained in:
2026-02-01 21:53:26 +03:30
parent 5ae1b4c40a
commit f5928601fa
277 changed files with 2054 additions and 1853 deletions
+11 -17
View File
@@ -1,5 +1,5 @@
import process from 'node:process';globalThis._importMeta_=globalThis._importMeta_||{url:"file:///_entry.js",env:process.env};import { inject, ref, h, getCurrentInstance, nextTick, reactive, defineComponent, createVNode, isRef, toValue, hasInjectionContext, watchEffect, onBeforeUnmount, onDeactivated, onActivated, computed, shallowRef, watch, provide, unref, cloneVNode, createElementBlock, Fragment, isVNode, Comment, Text, getCurrentScope, onScopeDispose, Transition, toRef as toRef$1, readonly, customRef, TransitionGroup, render, Teleport, withDirectives, vShow, defineAsyncComponent, shallowReactive, Suspense, useSSRContext, createApp, triggerRef, mergeProps, withCtx, onErrorCaptured, onServerPrefetch, resolveDynamicComponent, effectScope, isReadonly, toRaw, isShallow, isReactive } from 'vue';
import { q as createError$1, h as hasProtocol, x as isScriptProtocol, j as joinURL, y as withQuery, z as sanitizeStatusCode, A as getContext, $ as $fetch, B as baseURL, C as createHooks, b as defu, D as getRequestHeaders, E as executeAsync } from '../nitro/nitro.mjs';
import { t as createError$1, h as hasProtocol, z as isScriptProtocol, j as joinURL, A as withQuery, B as sanitizeStatusCode, C as getContext, $ as $fetch, D as baseURL, E as createHooks, e as defu, F as executeAsync, G as getRequestHeaders } from '../nitro/nitro.mjs';
import { defineStore, setActivePinia, createPinia, shouldHydrate } from 'pinia';
import { createClient } from '@supabase/supabase-js';
import axios from 'axios';
@@ -17397,23 +17397,8 @@ const LayoutProvider = defineComponent({
};
}
});
const pwaInfo = { "webManifest": { "href": "/manifest.webmanifest" } };
const __nuxt_component_2 = defineComponent({
async setup() {
if (pwaInfo) {
const meta = ref({ link: [] });
useHead(meta);
const { webManifest } = pwaInfo;
if (webManifest) {
const { href } = webManifest;
{
meta.value.link.push({
rel: "manifest",
href
});
}
}
}
return () => null;
}
});
@@ -17565,8 +17550,17 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
__ssrInlineRender: true,
setup(__props) {
const config = useConfigStore();
useRequestHeaders(["host"]);
const configStore = useConfigStore();
const getPopup = (trigger) => trigger?.parentNode || void 0;
useHead({
title: computed(() => {
return configStore.appName.en || "Loading...";
}),
meta: [
{ name: "description", content: computed(() => configStore.TEXT_HEADER) }
],
link: []
});
return (_ctx, _push, _parent, _attrs) => {
const _component_AConfigProvider = ConfigProvider;
const _component_NuxtLayout = __nuxt_component_1;