Files
ploi-core/public/build/assets/TopBar-B40nFcZR.js
Dennis b5da1367d0 wip
2025-08-12 07:37:58 +02:00

56 lines
1.8 KiB
JavaScript
Vendored

import { T as TopBar$1, B as Breadcrumbs, a as TabBar, b as TopBarTabBarContainer } from "./TabBar-CeMPXMVO.js";
import { r as resolveComponent, g as createBlock, w as withCtx, o as openBlock, a as createVNode } from "./app-glaRp76R.js";
import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js";
import "./Container-CeeapdtK.js";
const _sfc_main = {
components: {
TopBar: TopBar$1,
Breadcrumbs,
TabBar,
TopBarTabBarContainer
},
props: {
breadcrumbs: Array
},
data() {
return {
tabBars: [
{
title: this.__("Open support requests"),
to: this.route("support.index"),
active: this.route().current("support.index")
},
{
title: this.__("Closed support requests"),
to: this.route("support.index.closed"),
active: this.route().current("support.index.closed")
}
]
};
}
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
const _component_Breadcrumbs = resolveComponent("Breadcrumbs");
const _component_TabBar = resolveComponent("TabBar");
const _component_TopBarTabBarContainer = resolveComponent("TopBarTabBarContainer");
const _component_TopBar = resolveComponent("TopBar", true);
return openBlock(), createBlock(_component_TopBar, null, {
breadcrumbs: withCtx(() => [
createVNode(_component_Breadcrumbs, { items: $props.breadcrumbs }, null, 8, ["items"])
]),
"tab-bar": withCtx(() => [
createVNode(_component_TopBarTabBarContainer, null, {
default: withCtx(() => [
createVNode(_component_TabBar, { items: $data.tabBars }, null, 8, ["items"])
], void 0, true),
_: 1
})
]),
_: 1
});
}
const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
export {
TopBar as default
};