148 lines
5.5 KiB
JavaScript
Vendored
148 lines
5.5 KiB
JavaScript
Vendored
import TopBar from "./TopBar-345449d1.js";
|
|
import { C as Container } from "./Container-bb0d16ac.js";
|
|
import { M as MainLayout, C as Content, P as Page, a as PageHeader, b as PageHeaderTitle, c as PageBody, L as List, d as ListItem, S as StatusBubble, N as NotificationBadge } from "./MainLayout-c26ebf85.js";
|
|
import { B as Button } from "./Button-d3d2c2e9.js";
|
|
import { E as EmptyImage } from "./EmptyImage-c90b8212.js";
|
|
import { I as IconBox, a as IconGlobe, b as IconStorage } from "./IconStorage-8e47a2b9.js";
|
|
import { M as Modal, a as ModalContainer } from "./ModalContainer-d76b3681.js";
|
|
import { F as FormInput } from "./FormInput-02f26ac1.js";
|
|
import { F as FormTextarea } from "./FormTextarea-16b5a2b9.js";
|
|
import { F as FormActions } from "./Form-991608bc.js";
|
|
import { S as SettingsSegment } from "./SettingsSegment-62d2b144.js";
|
|
import { S as SettingsLayout } from "./SettingsLayout-4febac32.js";
|
|
import Tabs from "./Tabs-74dfb620.js";
|
|
import { g as createBlock, w as withCtx, r as resolveComponent, o as openBlock, a as createVNode, f as createTextVNode, t as toDisplayString, b as createBaseVNode, c as createElementBlock, k as renderList, F as Fragment } from "./app-ca19f95c.js";
|
|
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
import "./TabBar-43ebf7cc.js";
|
|
import "./notification-b84afeca.js";
|
|
const _sfc_main = {
|
|
layout: MainLayout,
|
|
components: {
|
|
TopBar,
|
|
Container,
|
|
Content,
|
|
Page,
|
|
PageHeader,
|
|
PageHeaderTitle,
|
|
PageBody,
|
|
Button,
|
|
List,
|
|
ListItem,
|
|
StatusBubble,
|
|
NotificationBadge,
|
|
IconBox,
|
|
IconGlobe,
|
|
IconStorage,
|
|
Modal,
|
|
ModalContainer,
|
|
FormInput,
|
|
FormTextarea,
|
|
FormActions,
|
|
EmptyImage,
|
|
Tabs,
|
|
SettingsLayout,
|
|
SettingsSegment
|
|
},
|
|
props: {
|
|
category: Object,
|
|
items: Object,
|
|
articles: Array
|
|
},
|
|
data() {
|
|
return {
|
|
breadcrumbs: [
|
|
{
|
|
title: this.$page.props.settings.name,
|
|
to: "/"
|
|
},
|
|
{
|
|
title: this.__("Documentation"),
|
|
to: this.route("documentation.index")
|
|
},
|
|
{
|
|
title: this.category.title,
|
|
to: this.route("documentation.show", this.category.id)
|
|
}
|
|
]
|
|
};
|
|
}
|
|
};
|
|
const _hoisted_1 = { class: "list-disc list-inside" };
|
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
const _component_Head = resolveComponent("Head");
|
|
const _component_TopBar = resolveComponent("TopBar");
|
|
const _component_PageHeaderTitle = resolveComponent("PageHeaderTitle");
|
|
const _component_PageHeader = resolveComponent("PageHeader");
|
|
const _component_Tabs = resolveComponent("Tabs");
|
|
const _component_inertia_link = resolveComponent("inertia-link");
|
|
const _component_SettingsLayout = resolveComponent("SettingsLayout");
|
|
const _component_PageBody = resolveComponent("PageBody");
|
|
const _component_Container = resolveComponent("Container");
|
|
const _component_Content = resolveComponent("Content");
|
|
const _component_Page = resolveComponent("Page");
|
|
return openBlock(), createBlock(_component_Page, null, {
|
|
default: withCtx(() => [
|
|
createVNode(_component_Head, {
|
|
title: $props.category.title
|
|
}, null, 8, ["title"]),
|
|
createVNode(_component_TopBar, { breadcrumbs: $data.breadcrumbs }, null, 8, ["breadcrumbs"]),
|
|
createVNode(_component_Content, null, {
|
|
default: withCtx(() => [
|
|
createVNode(_component_Container, null, {
|
|
default: withCtx(() => [
|
|
createVNode(_component_PageHeader, null, {
|
|
start: withCtx(() => [
|
|
createVNode(_component_PageHeaderTitle, null, {
|
|
default: withCtx(() => [
|
|
createTextVNode(toDisplayString($props.category.title), 1)
|
|
], void 0, true),
|
|
_: 1
|
|
})
|
|
]),
|
|
_: 1
|
|
}),
|
|
createVNode(_component_PageBody, null, {
|
|
default: withCtx(() => [
|
|
createVNode(_component_SettingsLayout, null, {
|
|
nav: withCtx(() => [
|
|
createVNode(_component_Tabs, {
|
|
items: $props.items.data
|
|
}, null, 8, ["items"])
|
|
]),
|
|
segments: withCtx(() => [
|
|
createBaseVNode("ul", _hoisted_1, [
|
|
(openBlock(true), createElementBlock(Fragment, null, renderList($props.articles, (article) => {
|
|
return openBlock(), createElementBlock("li", null, [
|
|
createVNode(_component_inertia_link, {
|
|
class: "text-primary",
|
|
href: _ctx.route("documentation.article.show", [$props.category.id, article.id])
|
|
}, {
|
|
default: withCtx(() => [
|
|
createTextVNode(toDisplayString(article.title), 1)
|
|
], void 0, true),
|
|
_: 2
|
|
}, 1032, ["href"])
|
|
]);
|
|
}), 256))
|
|
])
|
|
]),
|
|
_: 1
|
|
})
|
|
], void 0, true),
|
|
_: 1
|
|
})
|
|
], void 0, true),
|
|
_: 1
|
|
})
|
|
], void 0, true),
|
|
_: 1
|
|
})
|
|
], void 0, true),
|
|
_: 1
|
|
});
|
|
}
|
|
const Show = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
export {
|
|
Show as default
|
|
};
|