jogosultsági szintek RBAC beállítva tesztelve
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import process from 'node:process';globalThis._importMeta_=globalThis._importMeta_||{url:"file:///_entry.js",env:process.env};import * as Vue from 'vue';
|
||||
import { ref, getCurrentScope, onScopeDispose, inject, computed, hasInjectionContext, getCurrentInstance as getCurrentInstance$1, shallowRef, defineComponent, createElementBlock, provide, cloneVNode, h, defineAsyncComponent, unref, shallowReactive, Suspense, Fragment, createApp, createVNode, Text, onErrorCaptured, onServerPrefetch, resolveDynamicComponent, reactive, effectScope, mergeProps, toRef, withCtx, nextTick, isReadonly, toRaw, useSSRContext, isRef, isShallow, isReactive } from 'vue';
|
||||
import { getCurrentScope, onScopeDispose, ref, inject, computed, hasInjectionContext, getCurrentInstance as getCurrentInstance$1, shallowRef, defineComponent, createElementBlock, provide, cloneVNode, h, defineAsyncComponent, unref, shallowReactive, Suspense, Fragment, useSSRContext, createApp, createVNode, Text, withCtx, onErrorCaptured, onServerPrefetch, resolveDynamicComponent, reactive, effectScope, nextTick, mergeProps, toRef, isReadonly, toRaw, isRef, isShallow, isReactive } from 'vue';
|
||||
import { q as klona, r as parseURL, e as encodePath, s as decodePath, t as hasProtocol, v as isScriptProtocol, w as joinURL, x as withQuery, y as parse$1, z as getRequestHeader, A as destr, B as isEqual, C as sanitizeStatusCode, D as setCookie, E as getCookie, F as deleteCookie, G as getContext, $ as $fetch$1, H as baseURL, I as defu, J as createHooks, j as createError$1, K as executeAsync, L as getRequestURL, M as createDefu, N as parsePath, O as parseQuery, P as withoutTrailingSlash } from '../nitro/nitro.mjs';
|
||||
import { setActivePinia, createPinia, shouldHydrate } from 'pinia';
|
||||
import { useRoute as useRoute$1, RouterView, createMemoryHistory, createRouter, START_LOCATION } from 'vue-router';
|
||||
import { ssrRenderSuspense, ssrRenderComponent, ssrRenderVNode } from 'vue/server-renderer';
|
||||
import { ssrRenderComponent, ssrRenderSuspense, ssrRenderVNode } from 'vue/server-renderer';
|
||||
import { u as useHead$1, h as headSymbol } from '../routes/renderer.mjs';
|
||||
import 'node:http';
|
||||
import 'node:https';
|
||||
@@ -459,6 +459,9 @@ const unhead_k2P3m_ZDyjlr2mMYnoDPwavjsDN8hBlk9cFai0bbopU = /* @__PURE__ */ defin
|
||||
function toArray$3(value) {
|
||||
return Array.isArray(value) ? value : [value];
|
||||
}
|
||||
const __nuxt_page_meta = {
|
||||
layout: "blank"
|
||||
};
|
||||
const _routes = [
|
||||
{
|
||||
name: "index",
|
||||
@@ -469,25 +472,32 @@ const _routes = [
|
||||
{
|
||||
name: "login",
|
||||
path: "/login",
|
||||
component: () => import('./login-BHmaTZZZ.mjs')
|
||||
meta: __nuxt_page_meta || {},
|
||||
component: () => import('./login-Dx4mHuUH.mjs')
|
||||
},
|
||||
{
|
||||
name: "garages",
|
||||
path: "/garages",
|
||||
meta: { "middleware": "auth" },
|
||||
component: () => import('./index-ebkVtBaw.mjs')
|
||||
component: () => import('./index-o-V5Lz0_.mjs')
|
||||
},
|
||||
{
|
||||
name: "packages",
|
||||
path: "/packages",
|
||||
meta: { "middleware": "auth" },
|
||||
component: () => import('./index-BPETUF7a.mjs')
|
||||
component: () => import('./index-CII1lBpk.mjs')
|
||||
},
|
||||
{
|
||||
name: "permissions",
|
||||
path: "/permissions",
|
||||
meta: { "middleware": "auth" },
|
||||
component: () => import('./index-7zBAzpaD.mjs')
|
||||
component: () => import('./index-D2n0yf-2.mjs')
|
||||
},
|
||||
{
|
||||
name: "garages-id",
|
||||
path: "/garages/:id()",
|
||||
meta: { "middleware": "auth" },
|
||||
component: () => import('./index-JpXwtL-Z.mjs')
|
||||
}
|
||||
];
|
||||
const _wrapInTransition = (props, children) => {
|
||||
@@ -632,7 +642,7 @@ const globalMiddleware = [
|
||||
manifest_45route_45rule
|
||||
];
|
||||
const namedMiddleware = {
|
||||
auth: () => import('./auth-BgwR5zMA.mjs')
|
||||
auth: () => import('./auth-9ekP0oPk.mjs')
|
||||
};
|
||||
Object.assign(/* @__PURE__ */ Object.create(null), {});
|
||||
const pageIslandRoutes = Object.assign(/* @__PURE__ */ Object.create(null), {});
|
||||
@@ -1417,7 +1427,7 @@ const localeLoaders = {
|
||||
{
|
||||
key: "locale_hu_46json_ee06c965",
|
||||
load: () => import(
|
||||
'./hu-CoGcC81v.mjs'
|
||||
'./hu-B3JxlqZo.mjs'
|
||||
/* webpackChunkName: "locale_hu_46json_ee06c965" */
|
||||
),
|
||||
cache: true
|
||||
@@ -1427,7 +1437,7 @@ const localeLoaders = {
|
||||
{
|
||||
key: "locale_en_46json_0b63539c",
|
||||
load: () => import(
|
||||
'./en-BScPj1A-.mjs'
|
||||
'./en-WIj2pBfh.mjs'
|
||||
/* webpackChunkName: "locale_en_46json_0b63539c" */
|
||||
),
|
||||
cache: true
|
||||
@@ -1567,7 +1577,7 @@ function getDefaultLocaleForDomain(host) {
|
||||
}
|
||||
const isSupportedLocale = (locale) => localeCodes.includes(locale || "");
|
||||
const resolveSupportedLocale = (locale) => isSupportedLocale(locale) ? locale : void 0;
|
||||
var define_I18N_LOCALE_HASHES_default$1 = { hu: "349b7781", en: "349b7781" };
|
||||
var define_I18N_LOCALE_HASHES_default$1 = { hu: "bb1d6803", en: "bb1d6803" };
|
||||
const useLocaleConfigs = () => useState(
|
||||
"i18n:cached-locale-configs",
|
||||
() => void 0
|
||||
@@ -5897,7 +5907,7 @@ const setupVueI18nOptions = async (defaultLocale) => {
|
||||
}
|
||||
return options;
|
||||
};
|
||||
var define_I18N_LOCALE_HASHES_default = { hu: "349b7781", en: "349b7781" };
|
||||
var define_I18N_LOCALE_HASHES_default = { hu: "bb1d6803", en: "bb1d6803" };
|
||||
const i18n_EI7LsD1KYQADczz5hrChviGQCdVM8yUkvFEZLJpmnvM = /* @__PURE__ */ defineNuxtPlugin({
|
||||
name: "i18n:plugin",
|
||||
parallel: false,
|
||||
@@ -6004,7 +6014,8 @@ const plugins = [
|
||||
ssg_detect_IpHCGcQQ_IR5Rl99qyukWoMA9fJGfuTYyoksTzy81cs
|
||||
];
|
||||
const layouts = {
|
||||
default: defineAsyncComponent(() => import('./default-B9tlXlqE.mjs').then((m) => m.default || m))
|
||||
blank: defineAsyncComponent(() => import('./blank-DWT4RB69.mjs').then((m) => m.default || m)),
|
||||
default: defineAsyncComponent(() => import('./default-DOjdWE8b.mjs').then((m) => m.default || m))
|
||||
};
|
||||
const routeRulesMatcher = _routeRulesMatcher;
|
||||
const LayoutLoader = defineComponent({
|
||||
@@ -6241,37 +6252,39 @@ function normalizeSlot(slot, data) {
|
||||
const slotContent = slot(data);
|
||||
return slotContent.length === 1 ? h(slotContent[0]) : h(Fragment, void 0, slotContent);
|
||||
}
|
||||
const _export_sfc = (sfc, props) => {
|
||||
const target = sfc.__vccOpts || sfc;
|
||||
for (const [key, val] of props) {
|
||||
target[key] = val;
|
||||
}
|
||||
return target;
|
||||
};
|
||||
const _sfc_main$2 = {};
|
||||
function _sfc_ssrRender(_ctx, _push, _parent, _attrs) {
|
||||
const _component_NuxtLayout = __nuxt_component_0;
|
||||
const _component_NuxtPage = __nuxt_component_1;
|
||||
_push(ssrRenderComponent(_component_NuxtLayout, _attrs, {
|
||||
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
||||
if (_push2) {
|
||||
_push2(ssrRenderComponent(_component_NuxtPage, null, null, _parent2, _scopeId));
|
||||
} else {
|
||||
return [
|
||||
createVNode(_component_NuxtPage)
|
||||
];
|
||||
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
||||
__name: "app",
|
||||
__ssrInlineRender: true,
|
||||
setup(__props) {
|
||||
useHead({
|
||||
titleTemplate: (titleChunk) => {
|
||||
return titleChunk ? `${titleChunk} | Service Finder Admin` : "Service Finder Admin";
|
||||
}
|
||||
}),
|
||||
_: 1
|
||||
}, _parent));
|
||||
}
|
||||
});
|
||||
return (_ctx, _push, _parent, _attrs) => {
|
||||
const _component_NuxtLayout = __nuxt_component_0;
|
||||
const _component_NuxtPage = __nuxt_component_1;
|
||||
_push(ssrRenderComponent(_component_NuxtLayout, _attrs, {
|
||||
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
||||
if (_push2) {
|
||||
_push2(ssrRenderComponent(_component_NuxtPage, null, null, _parent2, _scopeId));
|
||||
} else {
|
||||
return [
|
||||
createVNode(_component_NuxtPage)
|
||||
];
|
||||
}
|
||||
}),
|
||||
_: 1
|
||||
}, _parent));
|
||||
};
|
||||
}
|
||||
});
|
||||
const _sfc_setup$2 = _sfc_main$2.setup;
|
||||
_sfc_main$2.setup = (props, ctx) => {
|
||||
const ssrContext = useSSRContext();
|
||||
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("app.vue");
|
||||
return _sfc_setup$2 ? _sfc_setup$2(props, ctx) : void 0;
|
||||
};
|
||||
const AppComponent = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["ssrRender", _sfc_ssrRender]]);
|
||||
const _sfc_main$1 = {
|
||||
__name: "nuxt-error-page",
|
||||
__ssrInlineRender: true,
|
||||
@@ -6286,8 +6299,8 @@ const _sfc_main$1 = {
|
||||
const statusText = _error.statusMessage ?? (is404 ? "Page Not Found" : "Internal Server Error");
|
||||
const description = _error.message || _error.toString();
|
||||
const stack = void 0;
|
||||
const _Error404 = defineAsyncComponent(() => import('./error-404-C_elhLNc.mjs'));
|
||||
const _Error = defineAsyncComponent(() => import('./error-500-C6MJq2Cl.mjs'));
|
||||
const _Error404 = defineAsyncComponent(() => import('./error-404-Bkg5lg69.mjs'));
|
||||
const _Error = defineAsyncComponent(() => import('./error-500-DfEH3Z64.mjs'));
|
||||
const ErrorTemplate = is404 ? _Error404 : _Error;
|
||||
return (_ctx, _push, _parent, _attrs) => {
|
||||
_push(ssrRenderComponent(unref(ErrorTemplate), mergeProps({ status: unref(status), statusText: unref(statusText), statusCode: unref(status), statusMessage: unref(statusText), description: unref(description), stack: unref(stack) }, _attrs), null, _parent));
|
||||
@@ -6345,7 +6358,7 @@ const _sfc_main = {
|
||||
} else if (unref(SingleRenderer)) {
|
||||
ssrRenderVNode(_push, createVNode(resolveDynamicComponent(unref(SingleRenderer)), null, null), _parent);
|
||||
} else {
|
||||
_push(ssrRenderComponent(unref(AppComponent), null, null, _parent));
|
||||
_push(ssrRenderComponent(unref(_sfc_main$2), null, null, _parent));
|
||||
}
|
||||
},
|
||||
_: 1
|
||||
@@ -6379,5 +6392,5 @@ let entry;
|
||||
}
|
||||
const entry_default = ((ssrContext) => entry(ssrContext));
|
||||
|
||||
export { _export_sfc as _, useRouter as a, useCookie as b, useI18n as c, defineNuxtRouteMiddleware as d, entry_default as default, encodeRoutePath as e, useNuxtApp as f, useRuntimeConfig as g, nuxtLinkDefaults as h, navigateTo as n, resolveRouteObject as r, useHead as u };
|
||||
export { useRouter as a, useI18n as b, useCookie as c, defineNuxtRouteMiddleware as d, entry_default as default, encodeRoutePath as e, useNuxtApp as f, useRuntimeConfig as g, nuxtLinkDefaults as h, navigateTo as n, resolveRouteObject as r, useHead as u };
|
||||
//# sourceMappingURL=server.mjs.map
|
||||
|
||||
Reference in New Issue
Block a user