PageSourceSearch

https://portal.godesignguru.com/build/assets/ExtensionIndex-DBtht2kL.js

js godesignguru.com collected 2026-10-04 05:49:55 UTC 9,668 bytes, 54 lines download raw bytes

1import { _ as v } from "./TablePagination-CoQin-sh.js";
2import { f as _, E as w, _ as k } from "./DashboardLayout-CXf_hhYT.js";
3import { o as i, c as a, a as t, j as y, J as E, F as g, r as A, e as o, f as m, d as x, t as n, u as e, E as c, y as N, w as f, i as h, b as $, n as j } from "./app-yg_pP4S4.js";
4import { r as b } from "./EyeIcon-BsyDCt-k.js";
5import { r as L } from "./CogIcon-CahWjsyo.js";
6import { r as B } from "./PlusIcon-BGM2zLvi.js";
7import { _ as O } from "./ModulesExtensionsTabs-BUJPdhf1.js";
8import "./listbox-BVei8WBz.js";
9import "./form-BcDj1t5Y.js";
10import "./index-CDyB1Hog.js";
11import "./use-text-value-9Z6g_4jd.js";
12import "./ChevronUpDownIcon-D7fhXTZr.js";
13import "./CheckIcon-CfE0icDF.js";
14import "./UserAvatar-B3-R1wxh.js";
15import "./XMarkIcon-C7ztHuKP.js";
16import "./functions-DLrKIvnr.js";
17import "./BaseButton-DP1PFEmO.js";
18import "./ApplicationLogo-D4QkytOJ.js";
19import "./LiveChat-BEmWJs6j.js";
20import "./_plugin-vue_export-helper-DlAUqK2U.js";
21import "./popover-DTQdCRwt.js";
22import "./consts-7Qk9bpse.js";
23import "./BaseInput-DrEncIoW.js";
24import "./LoaderIcon-BfI_LFZK.js";
25import "./ModalConfirmation-BptK8hn4.js";
26import "./index-BF2h0ubX.js";
27import "./CheckIcon-Bb6ppPFl.js";
28import "./modelWrapper-D0DowOi8.js";
29import "./BaseModal-lnT_D81c.js";
30import "./EyeIcon-C30yl1ND.js";
31import "./HomeIcon-B7IW8yDA.js";
32import "./MinusIcon-C5ZUuSoW.js";
33import "./menu-DpWDC0YJ.js";
34import "./use-tree-walker-DC0osvAV.js";
35import "./vue-transitions-DxcThSkT.js";
36import "./ClockIcon-DWc8x_ii.js";
37import "./MultiTabs-BFOMDQVX.js";
38import "./useEdgeFade-BW6BLoUc.js";
39function S(d, s) {
40  return i(), a("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", "stroke-width": "1.5", stroke: "currentColor", "aria-hidden": "true", "data-slot": "icon" }, [t("path", { "stroke-linecap": "round", "stroke-linejoin": "round", d: "M14.25 6.087c0-.355.186-.676.401-.959.221-.29.349-.634.349-1.003 0-1.036-1.007-1.875-2.25-1.875s-2.25.84-2.25 1.875c0 .369.128.713.349 1.003.215.283.401.604.401.959v0a.64.64 0 0 1-.657.643 48.39 48.39 0 0 1-4.163-.3c.186 1.613.293 3.25.315 4.907a.656.656 0 0 1-.658.663v0c-.355 0-.676-.186-.959-.401a1.647 1.647 0 0 0-1.003-.349c-1.036 0-1.875 1.007-1.875 2.25s.84 2.25 1.875 2.25c.369 0 .713-.128 1.003-.349.283-.215.604-.401.959-.401v0c.31 0 .555.26.532.57a48.039 48.039 0 0 1-.642 5.056c1.518.19 3.058.309 4.616.354a.64.64 0 0 0 .657-.643v0c0-.355-.186-.676-.401-.959a1.647 1.647 0 0 1-.349-1.003c0-1.035 1.008-1.875 2.25-1.875 1.243 0 2.25.84 2.25 1.875 0 .369-.128.713-.349 1.003-.215.283-.4.604-.4.959v0c0 .333.277.599.61.58a48.1 48.1 0 0 0 5.427-.63 48.05 48.05 0 0 0 .582-4.717.532.532 0 0 0-.533-.57v0c-.355 0-.676.186-.959.401-.29.221-.634.349-1.003.349-1.035 0-1.875-1.007-1.875-2.25s.84-2.25 1.875-2.25c.37 0 .713.128 1.003.349.283.215.604.401.96.401v0a.656.656 0 0 0 .658-.663 48.422 48.422 0 0 0-.37-5.36c-1.886.342-3.81.574-5.766.689a.578.578 0 0 1-.61-.58v0Z" })]);
41}
42const T = { key: 0, class: "px-6 max-sm:px-4" }, D = { class: "flex items-center justify-between max-sm:contents" }, I = { class: "flex min-w-0 flex-1 items-center max-sm:basis-full" }, M = { class: "shrink-0" }, q = { class: "mr-3 aspect-square rounded-md bg-primary-50 p-1.5" }, V = ["src", "alt"], C = { class: "min-w-0 flex-1 md:pr-20 xl:pr-48" }, G = { class: "mb-1 text-sm font-medium leading-5 text-gray-900 sm:text-base" }, X = { class: "block text-xs font-normal leading-5 text-gray-400 lg:inline" }, F = { class: "hidden text-sm text-gray-500 sm:block" }, z = { class: "flex shrink-0 items-center self-start max-sm:order-last max-sm:basis-full max-sm:pl-12 sm:self-center" }, J = { class: "mr-2" }, K = { key: 0, class: "inline-flex items-center rounded bg-green-100 px-2 py-0.5 text-xs font-medium text-green-800" }, P = { key: 1, class: "inline-flex items-center rounded bg-red-100 px-2 py-0.5 text-xs font-medium text-red-800" }, R = ["href"], Y = { class: "ml-12 block text-sm font-normal text-gray-500 sm:hidden" }, Z = { key: 1, class: "p-8 sm:p-20" }, H = { class: "m-auto text-center" }, Q = { class: "mb-3 text-xl font-semibold text-gray-900" }, U = { class: "mb-5 text-gray-500" }, W = { __name: "ExtensionsList", props: { extensionActivations: { type: Object, required: true } }, setup(d) {
43  const { t: s } = y();
44  return (l, u) => {
45    const p = E("tooltip");
46    return d.extensionActivations.data.length > 0 ? (i(), a("div", T, [(i(true), a(g, null, A(d.extensionActivations.data, (r) => (i(), a("div", { key: r.id, class: "relative mb-4 block rounded-md border border-gray-200 p-4 max-sm:flex max-sm:flex-wrap max-sm:gap-y-3 sm:p-6" }, [t("div", D, [t("div", I, [t("div", M, [t("div", q, [t("img", { class: "aspect-square h-6 w-6 rounded-md", src: r.extension.full_image_url, alt: r.label, "aria-hidden": "true" }, null, 8, V)])]), t("div", C, [t("h3", G, [o(e(c), { href: l.route("settings.extensions.edit", { extensionActivation: r.id }), class: "after:absolute after:inset-0 after:content-['']" }
46, { default: m(() => [x(n(r.label), 1)]), _: 2 }, 1032, ["href"]), u[0] || (u[0] = x(" " + n(" ") + " ", -1)), t("span", X, n(e(s)("{type} extension", { type: N.chain(r.extension_type.name).replace("_", " ").capitalize() })), 1)]), t("div", F, n(r.extension.description), 1)])]), t("div", z, [t("div", J, [r.enabled_at ? (i(), a("span", K, n(e(s)("Enabled")), 1)) : (i(), a("span", P, n(e(s)("Disabled")), 1))]), r.enabled_at && (r.extension_type_id === e(_).GLOBAL || r.extension_type_id === e(_).GLOBAL_TEAM) ? (i(), a(g, { key: 0 }, [r.extension_id === e(w).EXTERNAL_LINK ? f((i(), a("a", { key: 0, href: r.extension_activation_details[0].content, class: "relative mr-2 inline-flex items-center rounded-md bg-white p-0 text-sm font-medium leading-4 text-gray-400 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-primary-500 focus:ring-offset-2 max-lg:h-11 max-lg:w-11 max-lg:justify-center max-sm:border max-sm:border-gray-300 max-sm:shadow-sm sm:border sm:border-gray-300 sm:p-2 sm:text-gray-700 sm:shadow-sm" }, [o(e(b), { class: "h-5 w-5 text-gray-700", "aria-hidden": "true" })], 8, R)), [[p, e(s)("See extension")]]) : f((i(), h(e(c), { key: 1, href: l.route("settings.extensions.show", { extensionActivationDetail: r.extension_activation_details[0].id }), class: "relative mr-2 inline-flex items-center rounded-md bg-white p-0 text-sm font-medium leading-4 text-gray-400 hover:bg-gray-50 max-lg:h-11 max-lg:w-11 max-lg:justify-center max-sm:border max-sm:border-gray-300 max-sm:shadow-sm sm:border sm:border-gray-300 sm:p-2 sm:text-gray-700 sm:shadow-sm sm:focus:outline-none sm:focus:ring-2 sm:focus:ring-primary-500 sm:focus:ring-offset-2" }
46, { default: m(() => [o(e(b), { class: "h-5 w-5 text-gray-700", "aria-hidden": "true" })]), _: 1 }, 8, ["href"])), [[p, e(s)("See extension")]])], 64)) : $("", true), f((i(), h(e(c), { href: l.route("settings.extensions.edit", { extensionActivation: r.id }), class: "relative inline-flex items-center rounded-md bg-white p-0 text-sm font-medium leading-4 text-gray-400 hover:bg-gray-50 max-lg:h-11 max-lg:w-11 max-lg:justify-center max-sm:border max-sm:border-gray-300 max-sm:shadow-sm sm:border sm:border-gray-300 sm:p-2 sm:text-gray-700 sm:shadow-sm sm:focus:outline-none sm:focus:ring-2 sm:focus:ring-primary-500 sm:focus:ring-offset-2" }, { default: m(() => [o(e(L), { class: "h-5 w-5 text-gray-700", "aria-hidden": "true" })]), _: 1 }, 8, ["href"])), [[p, e(s)("Edit extension")]])])]), t("div", Y, n(r.extension.description), 1)]))), 128)), o(v, { data: d.extensionActivations }, null, 8, ["data"])])) : (i(), a("div", Z, [t("div", H, [o(e(S), { class: "mx-auto mb-5 h-12 w-12 stroke-1 text-gray-400" }), t("h3", Q, n(e(s)("No extensions yet")), 1), t("p", U, n(e(s)("Get started by adding a new extension.")), 1), o(e(c), { href: l.route("settings.extensions.create"), class: "ml-3 inline-flex items-center rounded-md border border-transparent bg-primary-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-primary-700 focus:outline-none focus:ring-2 focus:ring-primary-500 focus:ring-offset-2" }
46, { default: m(() => [o(e(B), { class: "mr-3 h-5 w-5" }), x(" " + n(e(s)("Add extension")), 1)]), _: 1 }, 8, ["href"])])]));
47  };
48} }, ee = { class: "flex items-center justify-between p-6" }, te = { class: "my-2 items-center md:mb-0 md:mr-10" }, se = { class: "h5 text-lg font-bold text-gray-900 sm:text-lg" }, re = { class: "flex md:ml-4 md:mt-0" }, ze = { __name: "ExtensionIndex", props: { extensionActivations: { type: Object, required: true } }, setup(d) {
49  const { t: s } = y(), l = [{ label: s("Settings"), url: route("settings.modules.index") }, { label: s("Modules and extensions") }];
50  return (u, p) => (i(), a(g, null, [o(e(j), { title: e(s)("Modules and extensions") }, null, 8, ["title"]), o(k, { breadcrumbs: l, "wrapper-class": "max-lg:[&_input]:text-base max-lg:[&_textarea]:text-base max-lg:[&_select]:text-base max-lg:[&_button[aria-haspopup=listbox]]:min-h-11" }, { header: m(() => [x(n(e(s)("Modules and extensions")), 1)]), default: m(() => [o(O), t("div", ee, [t("div", te, [t("div", se, n(e(s)("Extensions")), 1)]), t("div", re, [o(e(c), { href: u.route("settings.extensions.create"), class: "ml-3 inline-flex items-center rounded-md border border-transparent bg-primary-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-primary-700 focus:outline-none focus:ring-2 focus:ring-primary-500 focus:ring-offset-2 max-lg:min-h-11" }
50, { default: m(() => [x(n(e(s)("Add extensions")), 1)]), _: 1 }, 8, ["href"])])]), o(W, { "extension-activations": d.extensionActivations }, null, 8, ["extension-activations"])]), _: 1 })], 64));
51} };
52export {
53  ze as default
54};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.