UNPKG

@insightphp/insight

Version:

Laravel package for building control panels.

37 lines (36 loc) 1.26 kB
import { defineComponent as a, openBlock as o, createElementBlock as l, createVNode as r, unref as t, withCtx as n, createElementVNode as m, toDisplayString as s, createBlock as c, createCommentVNode as i } from "vue"; import { Breadcrumbs as d } from "@insightphp/elements"; import { Portal as u } from "@insightphp/inertia-view"; import "@inertiajs/inertia-vue3"; import { a as p } from "./main.9f3b0dd7.mjs"; import "@inertiajs/inertia"; const f = { class: "w-full max-w-7xl mx-auto px-4 pt-12 pb-16" }, x = { class: "inline-flex items-center gap-3 mt-4" }, b = { class: "font-semibold text-gray-900 text-xl" }, N = /* @__PURE__ */ a({ __name: "ResourceFormPage", props: { edit: { type: Boolean }, title: null, breadcrumbItems: null, form: null }, setup(e) { return (h, _) => (o(), l("div", f, [ r(t(d), { items: e.breadcrumbItems }, { separator: n(() => [ r(t(p), { class: "w-4 h-4 mx-2 text-gray-300" }) ]), _: 1 }, 8, ["items"]), m("div", x, [ m("h4", b, s(e.title), 1) ]), e.form ? (o(), c(t(u), { key: 0, class: "mt-4", component: e.form }, null, 8, ["component"])) : i("", !0) ])); } }); export { N as default };