golden-logic-ui 1.0.82 → 1.0.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/golden-logic-ui.js +128 -110
- package/dist/golden-logic-ui.umd.cjs +5 -4
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/golden-logic-ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { openBlock as d, createElementBlock as u, createElementVNode as s, createCommentVNode as f, createStaticVNode as Je, inject as Ce, watch as Y, effectScope as Qe, computed as G, reactive as Se, resolveComponent as X, Fragment as v, createVNode as Z, normalizeClass as b, toDisplayString as g, withModifiers as N, withDirectives as O, vModelText as L, renderList as
|
|
2
|
-
const
|
|
1
|
+
import { openBlock as d, createElementBlock as u, createElementVNode as s, createCommentVNode as f, createStaticVNode as Je, inject as Ce, watch as Y, effectScope as Qe, computed as G, reactive as Se, resolveComponent as X, Fragment as v, createVNode as Z, normalizeClass as b, toDisplayString as g, withModifiers as N, withDirectives as O, vModelText as L, renderList as $, normalizeStyle as et, renderSlot as T, createTextVNode as w, vShow as F, createBlock as K, resolveDynamicComponent as oe, mergeProps as W, withCtx as J, ref as S, onMounted as R, vModelDynamic as tt, provide as rt, pushScopeId as st, popScopeId as at, vModelCheckbox as nt, nextTick as ot, toHandlers as ae, TransitionGroup as lt, unref as it, resolveDirective as De, markRaw as dt } from "vue";
|
|
2
|
+
const k = (e, t) => {
|
|
3
3
|
const r = e.__vccOpts || e;
|
|
4
4
|
for (const [n, o] of t)
|
|
5
5
|
r[n] = o;
|
|
@@ -50,7 +50,7 @@ function yt(e, t, r, n, o, a) {
|
|
|
50
50
|
])
|
|
51
51
|
])) : f("", !0);
|
|
52
52
|
}
|
|
53
|
-
const ue = /* @__PURE__ */
|
|
53
|
+
const ue = /* @__PURE__ */ k(ut, [["render", yt]]);
|
|
54
54
|
function _t() {
|
|
55
55
|
return Oe().__VUE_DEVTOOLS_GLOBAL_HOOK__;
|
|
56
56
|
}
|
|
@@ -1077,7 +1077,7 @@ function wr(e, t, r, n, o, a) {
|
|
|
1077
1077
|
s("span", rr, g(o.error_message_data), 1),
|
|
1078
1078
|
s("small", sr, g(r.description), 1),
|
|
1079
1079
|
o.files.length > 0 ? (d(), u("section", ar, [
|
|
1080
|
-
(d(!0), u(v, null,
|
|
1080
|
+
(d(!0), u(v, null, $(o.files, (l, c) => (d(), u("li", nr, [
|
|
1081
1081
|
or,
|
|
1082
1082
|
s("div", lr, [
|
|
1083
1083
|
s("div", ir, [
|
|
@@ -1094,7 +1094,7 @@ function wr(e, t, r, n, o, a) {
|
|
|
1094
1094
|
]))), 256))
|
|
1095
1095
|
])) : f("", !0),
|
|
1096
1096
|
s("section", fr, [
|
|
1097
|
-
(d(!0), u(v, null,
|
|
1097
|
+
(d(!0), u(v, null, $(o.uploadFileList, (l, c) => (d(), u("li", gr, [
|
|
1098
1098
|
s("div", hr, [
|
|
1099
1099
|
mr,
|
|
1100
1100
|
s("div", br, [
|
|
@@ -1121,7 +1121,7 @@ function wr(e, t, r, n, o, a) {
|
|
|
1121
1121
|
], 2)
|
|
1122
1122
|
], 64);
|
|
1123
1123
|
}
|
|
1124
|
-
const
|
|
1124
|
+
const Fd = /* @__PURE__ */ k(Ht, [["render", wr]]), kr = {
|
|
1125
1125
|
computed: {
|
|
1126
1126
|
...qt("notification", ["notification"]),
|
|
1127
1127
|
alertClasses() {
|
|
@@ -1213,7 +1213,7 @@ function Er(e, t, r, n, o, a) {
|
|
|
1213
1213
|
}, Pr, 2)
|
|
1214
1214
|
], 2)) : f("", !0);
|
|
1215
1215
|
}
|
|
1216
|
-
const
|
|
1216
|
+
const Rd = /* @__PURE__ */ k(kr, [["render", Er]]), jr = {
|
|
1217
1217
|
components: {},
|
|
1218
1218
|
props: {
|
|
1219
1219
|
field_name: {
|
|
@@ -1251,7 +1251,7 @@ const Vd = /* @__PURE__ */ $(kr, [["render", Er]]), jr = {
|
|
|
1251
1251
|
}, Ar = { class: "grid w-full gap-1 mt-5 mb-5 md:gap-0 md:grid-cols-10 language-selector" }, Tr = ["name", "value", "id", "checked"], Ir = ["for"];
|
|
1252
1252
|
function Mr(e, t, r, n, o, a) {
|
|
1253
1253
|
return d(), u("ul", Ar, [
|
|
1254
|
-
(d(!0), u(v, null,
|
|
1254
|
+
(d(!0), u(v, null, $(o.locals, (i, l) => (d(), u("li", null, [
|
|
1255
1255
|
s("input", {
|
|
1256
1256
|
type: "radio",
|
|
1257
1257
|
name: r.trans_selector_name,
|
|
@@ -1272,10 +1272,10 @@ function Mr(e, t, r, n, o, a) {
|
|
|
1272
1272
|
]))), 256))
|
|
1273
1273
|
]);
|
|
1274
1274
|
}
|
|
1275
|
-
const
|
|
1275
|
+
const Ud = /* @__PURE__ */ k(jr, [["render", Mr]]), Nr = { class: "bg-white border rounded-lg border-stroke shadow-default dark:border-strokedark dark:bg-boxdark" }, Lr = { class: "px-3 py-4 border-b border-stroke dark:border-strokedark" }, Vr = { class: "font-semibold text-black dark:text-white" }, Br = {
|
|
1276
1276
|
key: 0,
|
|
1277
1277
|
class: "p-6"
|
|
1278
|
-
},
|
|
1278
|
+
}, qd = {
|
|
1279
1279
|
__name: "GlCard",
|
|
1280
1280
|
props: {
|
|
1281
1281
|
class: {
|
|
@@ -1491,7 +1491,7 @@ function ns(e, t, r, n, o, a) {
|
|
|
1491
1491
|
}, [
|
|
1492
1492
|
s("h3", Fr, g(r.label_name), 1),
|
|
1493
1493
|
s("p", Rr, [
|
|
1494
|
-
(d(!0), u(v, null,
|
|
1494
|
+
(d(!0), u(v, null, $(o.selected, (i, l) => (d(), u("span", Ur, g(i.name), 1))), 256))
|
|
1495
1495
|
]),
|
|
1496
1496
|
qr
|
|
1497
1497
|
], 2)) : f("", !0),
|
|
@@ -1499,7 +1499,7 @@ function ns(e, t, r, n, o, a) {
|
|
|
1499
1499
|
key: 1,
|
|
1500
1500
|
class: b(["mb-4", r.field_name])
|
|
1501
1501
|
}, [
|
|
1502
|
-
(d(!0), u(v, null,
|
|
1502
|
+
(d(!0), u(v, null, $(o.selectedIds, (i, l) => (d(), u("input", {
|
|
1503
1503
|
type: "hidden",
|
|
1504
1504
|
name: r.field_name + "[]",
|
|
1505
1505
|
key: l,
|
|
@@ -1531,7 +1531,7 @@ function ns(e, t, r, n, o, a) {
|
|
|
1531
1531
|
class: "flex flex-wrap gap-2 pl-8 pr-2 gl-multi-dropdown showOptions",
|
|
1532
1532
|
onClick: t[2] || (t[2] = (i) => a.showOptions())
|
|
1533
1533
|
}, [
|
|
1534
|
-
(d(!0), u(v, null,
|
|
1534
|
+
(d(!0), u(v, null, $(o.selected, (i, l) => (d(), u("span", {
|
|
1535
1535
|
key: l,
|
|
1536
1536
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded pointer-events-none dark:bg-blue-900 dark:text-blue-300"
|
|
1537
1537
|
}, [
|
|
@@ -1567,7 +1567,7 @@ function ns(e, t, r, n, o, a) {
|
|
|
1567
1567
|
])
|
|
1568
1568
|
]),
|
|
1569
1569
|
s("div", ss, [
|
|
1570
|
-
(d(!0), u(v, null,
|
|
1570
|
+
(d(!0), u(v, null, $(a.filteredOptions, (i, l) => (d(), u("div", {
|
|
1571
1571
|
class: b([
|
|
1572
1572
|
"block px-2 py-2 text-xs leading-4 text-gray-700 no-underline cursor-pointer dark:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white",
|
|
1573
1573
|
l + 1 == o.count || a.isOptionSelected(i.id) ? "bg-gray-100 dark:bg-gray-600" : ""
|
|
@@ -1586,7 +1586,7 @@ function ns(e, t, r, n, o, a) {
|
|
|
1586
1586
|
], 2))
|
|
1587
1587
|
], 64);
|
|
1588
1588
|
}
|
|
1589
|
-
const
|
|
1589
|
+
const zd = /* @__PURE__ */ k(Gr, [["render", ns]]), os = {
|
|
1590
1590
|
props: {
|
|
1591
1591
|
button_type: {
|
|
1592
1592
|
type: String,
|
|
@@ -1688,7 +1688,7 @@ function is(e, t, r, n, o, a) {
|
|
|
1688
1688
|
_: 3
|
|
1689
1689
|
}, 16, ["type", "disabled", "href", "class"]));
|
|
1690
1690
|
}
|
|
1691
|
-
const
|
|
1691
|
+
const Hd = /* @__PURE__ */ k(os, [["render", is]]), ds = { class: "font-bold ptext-lg dark:text-white" }, us = ["name", "id"], cs = ["id"], fs = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), gs = ["for"], hs = /* @__PURE__ */ s("span", { class: "language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, null, -1), ms = ["name", "id"], bs = ["required", "name", "id", "type"], ps = { class: "gl-span-form-error" }, ys = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Zd = {
|
|
1692
1692
|
__name: "GlTextareaTranslate",
|
|
1693
1693
|
props: {
|
|
1694
1694
|
is_required: {
|
|
@@ -1824,7 +1824,7 @@ const Rd = /* @__PURE__ */ $(os, [["render", is]]), ds = { class: "font-bold pte
|
|
|
1824
1824
|
], 2))
|
|
1825
1825
|
], 64));
|
|
1826
1826
|
}
|
|
1827
|
-
}, _s = { class: "font-bold ptext-lg dark:text-white" }, vs = ["name", "id"], xs = ["id"], ws = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), ks = ["for"], $s = /* @__PURE__ */ s("span", { class: "language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, null, -1), Cs = ["name", "id"], Ss = ["name", "id", "type"], Ds = { class: "gl-span-form-error" }, Os = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
1827
|
+
}, _s = { class: "font-bold ptext-lg dark:text-white" }, vs = ["name", "id"], xs = ["id"], ws = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), ks = ["for"], $s = /* @__PURE__ */ s("span", { class: "language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, null, -1), Cs = ["name", "id"], Ss = ["name", "id", "type"], Ds = { class: "gl-span-form-error" }, Os = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Kd = {
|
|
1828
1828
|
__name: "GlTinymceTranslate",
|
|
1829
1829
|
props: {
|
|
1830
1830
|
is_required: {
|
|
@@ -1963,7 +1963,7 @@ const Rd = /* @__PURE__ */ $(os, [["render", is]]), ds = { class: "font-bold pte
|
|
|
1963
1963
|
], 2))
|
|
1964
1964
|
], 64));
|
|
1965
1965
|
}
|
|
1966
|
-
}, Ps = { class: "font-bold ptext-lg dark:text-white" }, Es = ["name", "id"], js = ["id"], As = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Ts = ["for"], Is = /* @__PURE__ */ s("span", { class: "language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, null, -1), Ms = ["name", "id"], Ns = ["required", "name", "id", "type"], Ls = { class: "gl-span-form-error" }, Vs = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
1966
|
+
}, Ps = { class: "font-bold ptext-lg dark:text-white" }, Es = ["name", "id"], js = ["id"], As = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Ts = ["for"], Is = /* @__PURE__ */ s("span", { class: "language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, null, -1), Ms = ["name", "id"], Ns = ["required", "name", "id", "type"], Ls = { class: "gl-span-form-error" }, Vs = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Wd = {
|
|
1967
1967
|
__name: "GlTextTranslate",
|
|
1968
1968
|
props: {
|
|
1969
1969
|
is_required: {
|
|
@@ -2096,7 +2096,7 @@ const Rd = /* @__PURE__ */ $(os, [["render", is]]), ds = { class: "font-bold pte
|
|
|
2096
2096
|
], 2))
|
|
2097
2097
|
], 64));
|
|
2098
2098
|
}
|
|
2099
|
-
}, Bs = { class: "font-bold ptext-lg dark:text-white" }, Gs = { class: "mb-4 text-base text-gray-900 dark:text-white" }, Fs = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Rs = ["for"], Us = ["required", "name", "id", "type"], qs = { class: "gl-span-form-error" }, zs = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
2099
|
+
}, Bs = { class: "font-bold ptext-lg dark:text-white" }, Gs = { class: "mb-4 text-base text-gray-900 dark:text-white" }, Fs = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Rs = ["for"], Us = ["required", "name", "id", "type", "placeholder"], qs = { class: "gl-span-form-error" }, zs = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Yd = {
|
|
2100
2100
|
__name: "GlTextInput",
|
|
2101
2101
|
props: {
|
|
2102
2102
|
is_required: {
|
|
@@ -2134,6 +2134,10 @@ const Rd = /* @__PURE__ */ $(os, [["render", is]]), ds = { class: "font-bold pte
|
|
|
2134
2134
|
description: {
|
|
2135
2135
|
type: String,
|
|
2136
2136
|
default: ""
|
|
2137
|
+
},
|
|
2138
|
+
placeholder: {
|
|
2139
|
+
type: String,
|
|
2140
|
+
default: ""
|
|
2137
2141
|
}
|
|
2138
2142
|
},
|
|
2139
2143
|
emits: ["update:modelValue", "keydown"],
|
|
@@ -2183,7 +2187,8 @@ const Rd = /* @__PURE__ */ $(os, [["render", is]]), ds = { class: "font-bold pte
|
|
|
2183
2187
|
"onUpdate:modelValue": c[0] || (c[0] = (h) => i.value = h),
|
|
2184
2188
|
onKeydown: c[1] || (c[1] = (h) => l.$emit("keydown", h)),
|
|
2185
2189
|
ref_key: "input",
|
|
2186
|
-
ref: a
|
|
2190
|
+
ref: a,
|
|
2191
|
+
placeholder: e.placeholder
|
|
2187
2192
|
}, null, 42, Us), [
|
|
2188
2193
|
[tt, i.value]
|
|
2189
2194
|
]),
|
|
@@ -2206,7 +2211,7 @@ function ea(e, t, r, n, o, a) {
|
|
|
2206
2211
|
s("div", Zs, [
|
|
2207
2212
|
s("div", Ks, [
|
|
2208
2213
|
s("ul", Ws, [
|
|
2209
|
-
(d(!0), u(v, null,
|
|
2214
|
+
(d(!0), u(v, null, $(n.tabs, (i) => (d(), u("li", {
|
|
2210
2215
|
key: i.title,
|
|
2211
2216
|
onClick: (l) => n.selectedTitle = i.title,
|
|
2212
2217
|
class: "flex-auto -mb-px text-center"
|
|
@@ -2232,7 +2237,7 @@ function ea(e, t, r, n, o, a) {
|
|
|
2232
2237
|
])
|
|
2233
2238
|
], 64);
|
|
2234
2239
|
}
|
|
2235
|
-
const
|
|
2240
|
+
const Xd = /* @__PURE__ */ k(Hs, [["render", ea]]), ta = {
|
|
2236
2241
|
props: ["title"],
|
|
2237
2242
|
setup() {
|
|
2238
2243
|
return {
|
|
@@ -2247,7 +2252,7 @@ function sa(e, t, r, n, o, a) {
|
|
|
2247
2252
|
[F, r.title == n.selectedTitle]
|
|
2248
2253
|
]);
|
|
2249
2254
|
}
|
|
2250
|
-
const
|
|
2255
|
+
const Jd = /* @__PURE__ */ k(ta, [["render", sa]]), aa = {
|
|
2251
2256
|
props: {
|
|
2252
2257
|
elements_to_show_prop: {
|
|
2253
2258
|
type: Number,
|
|
@@ -2590,7 +2595,7 @@ function dn(e, t, r, n, o, a) {
|
|
|
2590
2595
|
key: 0,
|
|
2591
2596
|
class: b(["flex justify-center mb-1 space-x-1", a.sliderIndicatorsAction()])
|
|
2592
2597
|
}, [
|
|
2593
|
-
(d(!0), u(v, null,
|
|
2598
|
+
(d(!0), u(v, null, $(e.dotsNum, (i) => (d(), u("button", {
|
|
2594
2599
|
role: "button",
|
|
2595
2600
|
class: b(["gl-dot", { active: e.currentDot == i }]),
|
|
2596
2601
|
key: i,
|
|
@@ -2601,7 +2606,7 @@ function dn(e, t, r, n, o, a) {
|
|
|
2601
2606
|
s("div", {
|
|
2602
2607
|
class: b(["flex justify-center mb-1 space-x-1", a.sliderIndicatorsAction()])
|
|
2603
2608
|
}, [
|
|
2604
|
-
(d(!0), u(v, null,
|
|
2609
|
+
(d(!0), u(v, null, $(e.dotsNum, (i) => (d(), u("button", {
|
|
2605
2610
|
role: "button",
|
|
2606
2611
|
class: b(["gl-dot", { active: e.currentDot == i }]),
|
|
2607
2612
|
key: i,
|
|
@@ -2648,7 +2653,7 @@ function dn(e, t, r, n, o, a) {
|
|
|
2648
2653
|
], 10, na)
|
|
2649
2654
|
]);
|
|
2650
2655
|
}
|
|
2651
|
-
const
|
|
2656
|
+
const Qd = /* @__PURE__ */ k(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9"]]), un = {
|
|
2652
2657
|
class: "fixed left-0 top-13 z-[1055] h-full w-full overflow-y-auto overflow-x-hidden outline-none inset-0 bg-black bg-opacity-80",
|
|
2653
2658
|
tabindex: "-1",
|
|
2654
2659
|
"aria-hidden": "true"
|
|
@@ -2668,7 +2673,7 @@ const Wd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
2668
2673
|
])
|
|
2669
2674
|
], -1), mn = [
|
|
2670
2675
|
hn
|
|
2671
|
-
], bn = { class: "flex flex-wrap items-center justify-end flex-shrink-0 p-4 border-t-2 rounded-b-md border-neutral-100 dark:border-gray-600" },
|
|
2676
|
+
], bn = { class: "flex flex-wrap items-center justify-end flex-shrink-0 p-4 border-t-2 rounded-b-md border-neutral-100 dark:border-gray-600" }, eu = {
|
|
2672
2677
|
__name: "GlModal",
|
|
2673
2678
|
props: {
|
|
2674
2679
|
is_open: {
|
|
@@ -2736,7 +2741,7 @@ const Wd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
2736
2741
|
[F, e.is_open]
|
|
2737
2742
|
]);
|
|
2738
2743
|
}
|
|
2739
|
-
}, pn = { class: "mb-4" }, yn = { class: "flex justify-between px-6 py-3 -mb-px border border-gray-300 no-underlin" }, _n = { class: "relative inline-flex items-center cursor-pointer" }, vn = ["name", "id", "checked"], xn = /* @__PURE__ */ s("div", { class: "w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600" }, null, -1), wn = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), kn = { class: "flex justify-between px-6 py-3 -mb-px border border-gray-200 rounded-lg no-underlin dark:border-gray-600 dark:focus:border-frontenddark" }, $n = { class: "relative inline-flex items-center cursor-pointer" }, Cn = ["name", "id"], Sn = /* @__PURE__ */ s("div", { class: "w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600" }, null, -1), Dn = { class: "gl-span-form-error" }, On = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
2744
|
+
}, pn = { class: "mb-4" }, yn = { class: "flex justify-between px-6 py-3 -mb-px border border-gray-300 no-underlin" }, _n = { class: "relative inline-flex items-center cursor-pointer" }, vn = ["name", "id", "checked"], xn = /* @__PURE__ */ s("div", { class: "w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600" }, null, -1), wn = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), kn = { class: "flex justify-between px-6 py-3 -mb-px border border-gray-200 rounded-lg no-underlin dark:border-gray-600 dark:focus:border-frontenddark" }, $n = { class: "relative inline-flex items-center cursor-pointer" }, Cn = ["name", "id"], Sn = /* @__PURE__ */ s("div", { class: "w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600" }, null, -1), Dn = { class: "gl-span-form-error" }, On = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, tu = {
|
|
2740
2745
|
__name: "GlToggleBox",
|
|
2741
2746
|
props: {
|
|
2742
2747
|
is_required: {
|
|
@@ -2878,7 +2883,7 @@ const Wd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
2878
2883
|
d: "M1 5.917 5.724 10.5 15 1.5"
|
|
2879
2884
|
}, null, -1), Wn = [
|
|
2880
2885
|
Kn
|
|
2881
|
-
], Yn = { class: "block mt-1 text-sm font-normal leading-5 text-red-500" }, Xn = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
2886
|
+
], Yn = { class: "block mt-1 text-sm font-normal leading-5 text-red-500" }, Xn = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, ru = {
|
|
2882
2887
|
__name: "GlDropdown",
|
|
2883
2888
|
props: {
|
|
2884
2889
|
modelValue: {
|
|
@@ -3112,7 +3117,7 @@ const Wd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
3112
3117
|
])
|
|
3113
3118
|
]),
|
|
3114
3119
|
s("div", qn, [
|
|
3115
|
-
(d(!0), u(v, null,
|
|
3120
|
+
(d(!0), u(v, null, $(x.value, (A, se) => {
|
|
3116
3121
|
var _e;
|
|
3117
3122
|
return d(), u("div", {
|
|
3118
3123
|
class: b(["relative px-2 py-2 text-xs leading-4 text-gray-700 no-underline cursor-pointer dark:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white", se + 1 == i.value ? "bg-gray-100 dark:bg-gray-600" : ""]),
|
|
@@ -3139,7 +3144,7 @@ const Wd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
3139
3144
|
], 64);
|
|
3140
3145
|
};
|
|
3141
3146
|
}
|
|
3142
|
-
}, Jn = { class: "font-bold ptext-lg dark:text-white" }, Qn = ["id"], eo = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), to = ["for"], ro = ["required", "name", "id", "type", "placeholder"], so = { class: "gl-span-form-error" }, ao = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
3147
|
+
}, Jn = { class: "font-bold ptext-lg dark:text-white" }, Qn = ["id"], eo = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), to = ["for"], ro = ["required", "name", "id", "type", "placeholder"], so = { class: "gl-span-form-error" }, ao = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, su = {
|
|
3143
3148
|
__name: "GlTextarea",
|
|
3144
3149
|
props: {
|
|
3145
3150
|
is_required: {
|
|
@@ -3452,7 +3457,7 @@ function vo(e, t, r, n, o, a) {
|
|
|
3452
3457
|
])
|
|
3453
3458
|
], 16, go)
|
|
3454
3459
|
], 2)) : f("", !0),
|
|
3455
|
-
(d(!0), u(v, null,
|
|
3460
|
+
(d(!0), u(v, null, $(l.computed.pageRange, (c, h) => (d(), u("li", {
|
|
3456
3461
|
class: b(["", { active: c == l.computed.currentPage }]),
|
|
3457
3462
|
key: h
|
|
3458
3463
|
}, [
|
|
@@ -3486,7 +3491,7 @@ function vo(e, t, r, n, o, a) {
|
|
|
3486
3491
|
_: 3
|
|
3487
3492
|
}, 8, ["data", "limit", "onPaginationChangePage"]);
|
|
3488
3493
|
}
|
|
3489
|
-
const xo = /* @__PURE__ */
|
|
3494
|
+
const xo = /* @__PURE__ */ k(oo, [["render", vo]]), wo = {
|
|
3490
3495
|
components: { TailwindPagination: xo },
|
|
3491
3496
|
props: {
|
|
3492
3497
|
data: Array,
|
|
@@ -3525,7 +3530,7 @@ const xo = /* @__PURE__ */ $(oo, [["render", vo]]), wo = {
|
|
|
3525
3530
|
},
|
|
3526
3531
|
methods: {
|
|
3527
3532
|
editAction(e) {
|
|
3528
|
-
|
|
3533
|
+
this.$emit("editAction", e);
|
|
3529
3534
|
},
|
|
3530
3535
|
forDynCompIs(e) {
|
|
3531
3536
|
return typeof e == "object" ? e : null;
|
|
@@ -3675,7 +3680,7 @@ function Ho(e, t, r, n, o, a) {
|
|
|
3675
3680
|
s("table", To, [
|
|
3676
3681
|
s("thead", Io, [
|
|
3677
3682
|
s("tr", null, [
|
|
3678
|
-
(d(!0), u(v, null,
|
|
3683
|
+
(d(!0), u(v, null, $(r.columns, (c, h) => (d(), u("th", {
|
|
3679
3684
|
key: h,
|
|
3680
3685
|
onClick: (m) => a.updateSortColumn(c.field_name, c.sortable),
|
|
3681
3686
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
@@ -3693,11 +3698,11 @@ function Ho(e, t, r, n, o, a) {
|
|
|
3693
3698
|
colspan: r.columns.length
|
|
3694
3699
|
}, Ro, 8, Go)
|
|
3695
3700
|
])) : f("", !0),
|
|
3696
|
-
o.isLoading ? f("", !0) : (d(!0), u(v, { key: 1 },
|
|
3701
|
+
o.isLoading ? f("", !0) : (d(!0), u(v, { key: 1 }, $(o.itemLists.data, (c, h) => (d(), u("tr", {
|
|
3697
3702
|
key: h,
|
|
3698
3703
|
class: "bg-white dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600 hover:dark:text-gray-200 text-gray-500"
|
|
3699
3704
|
}, [
|
|
3700
|
-
(d(!0), u(v, null,
|
|
3705
|
+
(d(!0), u(v, null, $(r.columns, (m, y) => (d(), u("td", {
|
|
3701
3706
|
key: y,
|
|
3702
3707
|
"data-label": m.field_label,
|
|
3703
3708
|
class: "text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex md:flex-row flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-2.5 lg:px-4 border dark:border-gray-700"
|
|
@@ -3732,7 +3737,7 @@ function Ho(e, t, r, n, o, a) {
|
|
|
3732
3737
|
])
|
|
3733
3738
|
]);
|
|
3734
3739
|
}
|
|
3735
|
-
const
|
|
3740
|
+
const au = /* @__PURE__ */ k(wo, [["render", Ho]]), Zo = {
|
|
3736
3741
|
components: {},
|
|
3737
3742
|
props: {
|
|
3738
3743
|
data: Array,
|
|
@@ -3923,7 +3928,7 @@ function jl(e, t, r, n, o, a) {
|
|
|
3923
3928
|
s("table", al, [
|
|
3924
3929
|
s("thead", nl, [
|
|
3925
3930
|
s("tr", null, [
|
|
3926
|
-
(d(!0), u(v, null,
|
|
3931
|
+
(d(!0), u(v, null, $(r.columns, (l, c) => (d(), u("th", {
|
|
3927
3932
|
key: c,
|
|
3928
3933
|
onClick: (h) => a.sort(l),
|
|
3929
3934
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
@@ -3934,11 +3939,11 @@ function jl(e, t, r, n, o, a) {
|
|
|
3934
3939
|
])
|
|
3935
3940
|
]),
|
|
3936
3941
|
s("tbody", null, [
|
|
3937
|
-
(d(!0), u(v, null,
|
|
3942
|
+
(d(!0), u(v, null, $(a.paginatedData, (l, c) => (d(), u("tr", {
|
|
3938
3943
|
key: c,
|
|
3939
3944
|
class: "bg-white dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600"
|
|
3940
3945
|
}, [
|
|
3941
|
-
(d(!0), u(v, null,
|
|
3946
|
+
(d(!0), u(v, null, $(r.columns, (h, m) => (d(), u("td", {
|
|
3942
3947
|
key: m,
|
|
3943
3948
|
"data-label": h,
|
|
3944
3949
|
class: "text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex md:flex-row flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-2.5 lg:px-4 border dark:border-gray-700"
|
|
@@ -3990,7 +3995,7 @@ function jl(e, t, r, n, o, a) {
|
|
|
3990
3995
|
class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 ms-0 border-e-0 rounded-s-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
|
|
3991
3996
|
}, $l, 8, xl)
|
|
3992
3997
|
]),
|
|
3993
|
-
(d(!0), u(v, null,
|
|
3998
|
+
(d(!0), u(v, null, $(a.displayedPageNumbers, (l) => (d(), u(v, { key: l }, [
|
|
3994
3999
|
s("li", null, [
|
|
3995
4000
|
o.currentPage !== l ? (d(), u("a", {
|
|
3996
4001
|
key: 0,
|
|
@@ -4024,7 +4029,7 @@ function jl(e, t, r, n, o, a) {
|
|
|
4024
4029
|
])
|
|
4025
4030
|
]);
|
|
4026
4031
|
}
|
|
4027
|
-
const
|
|
4032
|
+
const nu = /* @__PURE__ */ k(Zo, [["render", jl]]), Al = {
|
|
4028
4033
|
class: "flex items-center p-4 text-gray-500 bg-white rounded-lg shadow dark:bg-gray-800 dark:text-gray-400",
|
|
4029
4034
|
role: "alert"
|
|
4030
4035
|
}, Tl = {
|
|
@@ -4135,7 +4140,7 @@ const tu = /* @__PURE__ */ $(Zo, [["render", jl]]), Al = {
|
|
|
4135
4140
|
}, $e = {
|
|
4136
4141
|
state: de,
|
|
4137
4142
|
methods: Yl
|
|
4138
|
-
},
|
|
4143
|
+
}, ou = {
|
|
4139
4144
|
__name: "GlToastList",
|
|
4140
4145
|
setup(e) {
|
|
4141
4146
|
function t(r) {
|
|
@@ -4150,7 +4155,7 @@ const tu = /* @__PURE__ */ $(Zo, [["render", jl]]), Al = {
|
|
|
4150
4155
|
class: "fixed z-50 w-full max-w-xs space-y-4 top-4 right-4"
|
|
4151
4156
|
}, {
|
|
4152
4157
|
default: J(() => [
|
|
4153
|
-
(d(!0), u(v, null,
|
|
4158
|
+
(d(!0), u(v, null, $(it($e).state.items, (o, a) => (d(), K(Wl, {
|
|
4154
4159
|
key: o.key,
|
|
4155
4160
|
message: o.message,
|
|
4156
4161
|
type: o.type,
|
|
@@ -4177,7 +4182,7 @@ const tu = /* @__PURE__ */ $(Zo, [["render", jl]]), Al = {
|
|
|
4177
4182
|
], ei = { class: "absolute right-0 z-10 mt-5 origin-top-right bg-white divide-y divide-gray-100 rounded-lg shadow w-44 dark:bg-gray-700 dark:divide-gray-600" }, ti = {
|
|
4178
4183
|
class: "py-2 text-sm text-gray-700 dark:text-gray-200",
|
|
4179
4184
|
"aria-labelledby": "dropdownDividerButton"
|
|
4180
|
-
}, ri = { key: 0 }, si = ["href"], ai = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-list-ul opacity-80" }, null, -1), ni = { key: 1 }, oi = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1),
|
|
4185
|
+
}, ri = { key: 0 }, si = ["href"], ai = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-list-ul opacity-80" }, null, -1), ni = { key: 1 }, oi = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), lu = {
|
|
4181
4186
|
__name: "DatatableAction",
|
|
4182
4187
|
props: {
|
|
4183
4188
|
field: {
|
|
@@ -4283,7 +4288,7 @@ const tu = /* @__PURE__ */ $(Zo, [["render", jl]]), Al = {
|
|
|
4283
4288
|
], ui = { class: "absolute right-0 z-10 mt-5 origin-top-right bg-white divide-y divide-gray-100 rounded-lg shadow w-44 dark:bg-gray-700 dark:divide-gray-600" }, ci = {
|
|
4284
4289
|
class: "py-2 text-sm text-gray-700 dark:text-gray-200",
|
|
4285
4290
|
"aria-labelledby": "dropdownDividerButton"
|
|
4286
|
-
}, fi = { key: 0 }, gi = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1),
|
|
4291
|
+
}, fi = { key: 0 }, gi = /* @__PURE__ */ s("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), iu = {
|
|
4287
4292
|
__name: "DatatableDeleteAction",
|
|
4288
4293
|
props: {
|
|
4289
4294
|
field: {
|
|
@@ -4419,7 +4424,7 @@ const tu = /* @__PURE__ */ $(Zo, [["render", jl]]), Al = {
|
|
|
4419
4424
|
], -1);
|
|
4420
4425
|
function vi(e, t, r, n, o, a) {
|
|
4421
4426
|
return d(), u("div", null, [
|
|
4422
|
-
a.isArray ? (d(!0), u(v, { key: 0 },
|
|
4427
|
+
a.isArray ? (d(!0), u(v, { key: 0 }, $(r.row, (i, l) => (d(), u("div", {
|
|
4423
4428
|
key: l,
|
|
4424
4429
|
class: "m-1 d-inline-block"
|
|
4425
4430
|
}, [
|
|
@@ -4445,7 +4450,7 @@ function vi(e, t, r, n, o, a) {
|
|
|
4445
4450
|
])) : f("", !0)
|
|
4446
4451
|
]);
|
|
4447
4452
|
}
|
|
4448
|
-
const
|
|
4453
|
+
const du = /* @__PURE__ */ k(hi, [["render", vi]]), xi = {
|
|
4449
4454
|
props: ["field", "row"],
|
|
4450
4455
|
computed: {
|
|
4451
4456
|
isArray() {
|
|
@@ -4495,7 +4500,7 @@ const nu = /* @__PURE__ */ $(hi, [["render", vi]]), xi = {
|
|
|
4495
4500
|
], -1);
|
|
4496
4501
|
function Di(e, t, r, n, o, a) {
|
|
4497
4502
|
return d(), u("div", null, [
|
|
4498
|
-
a.isArray ? (d(!0), u(v, { key: 0 },
|
|
4503
|
+
a.isArray ? (d(!0), u(v, { key: 0 }, $(r.row[r.field], (i) => (d(), u("div", {
|
|
4499
4504
|
key: i.id,
|
|
4500
4505
|
class: "m-1 d-inline-block"
|
|
4501
4506
|
}, [
|
|
@@ -4521,7 +4526,7 @@ function Di(e, t, r, n, o, a) {
|
|
|
4521
4526
|
])) : f("", !0)
|
|
4522
4527
|
]);
|
|
4523
4528
|
}
|
|
4524
|
-
const
|
|
4529
|
+
const uu = /* @__PURE__ */ k(xi, [["render", Di]]), Oi = {
|
|
4525
4530
|
props: ["field", "row", "tdProps"]
|
|
4526
4531
|
}, Pi = { key: 0 }, Ei = ["innerHTML"];
|
|
4527
4532
|
function ji(e, t, r, n, o, a) {
|
|
@@ -4532,7 +4537,7 @@ function ji(e, t, r, n, o, a) {
|
|
|
4532
4537
|
}, null, 8, Ei)
|
|
4533
4538
|
])) : f("", !0);
|
|
4534
4539
|
}
|
|
4535
|
-
const
|
|
4540
|
+
const cu = /* @__PURE__ */ k(Oi, [["render", ji]]), Ai = {
|
|
4536
4541
|
props: ["field", "row", "tdProps"],
|
|
4537
4542
|
computed: {
|
|
4538
4543
|
entry() {
|
|
@@ -4552,13 +4557,13 @@ const lu = /* @__PURE__ */ $(Oi, [["render", ji]]), Ai = {
|
|
|
4552
4557
|
};
|
|
4553
4558
|
function Mi(e, t, r, n, o, a) {
|
|
4554
4559
|
return d(), u("div", Ti, [
|
|
4555
|
-
a.isArray ? (d(!0), u(v, { key: 0 },
|
|
4560
|
+
a.isArray ? (d(!0), u(v, { key: 0 }, $(r.row[a.entry.key], (i, l) => (d(), u("span", {
|
|
4556
4561
|
key: l,
|
|
4557
4562
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
4558
4563
|
}, g(i[a.entry.field]), 1))), 128)) : a.isObject ? (d(), u("span", Ii, g(r.row[a.entry.key][a.entry.field]), 1)) : f("", !0)
|
|
4559
4564
|
]);
|
|
4560
4565
|
}
|
|
4561
|
-
const
|
|
4566
|
+
const fu = /* @__PURE__ */ k(Ai, [["render", Mi]]), Ni = {
|
|
4562
4567
|
props: ["field", "row", "tdProps"]
|
|
4563
4568
|
}, Li = { key: 0 }, Vi = { class: "m-1 d-inline-block" }, Bi = ["href", "title"], Gi = ["src", "alt", "title"];
|
|
4564
4569
|
function Fi(e, t, r, n, o, a) {
|
|
@@ -4578,7 +4583,7 @@ function Fi(e, t, r, n, o, a) {
|
|
|
4578
4583
|
])
|
|
4579
4584
|
])) : f("", !0);
|
|
4580
4585
|
}
|
|
4581
|
-
const
|
|
4586
|
+
const gu = /* @__PURE__ */ k(Ni, [["render", Fi], ["__scopeId", "data-v-3a28c02c"]]), Ri = {
|
|
4582
4587
|
props: ["field", "row", "tdProps"],
|
|
4583
4588
|
computed: {
|
|
4584
4589
|
isActive() {
|
|
@@ -4603,7 +4608,7 @@ function Ki(e, t, r, n, o, a) {
|
|
|
4603
4608
|
]))
|
|
4604
4609
|
]);
|
|
4605
4610
|
}
|
|
4606
|
-
const
|
|
4611
|
+
const hu = /* @__PURE__ */ k(Ri, [["render", Ki]]), Wi = {
|
|
4607
4612
|
props: ["field", "row", "tdProps"],
|
|
4608
4613
|
computed: {
|
|
4609
4614
|
hasLabelColor(e) {
|
|
@@ -4656,7 +4661,7 @@ function ld(e, t, r, n, o, a) {
|
|
|
4656
4661
|
])) : f("", !0)
|
|
4657
4662
|
]);
|
|
4658
4663
|
}
|
|
4659
|
-
const
|
|
4664
|
+
const mu = /* @__PURE__ */ k(Wi, [["render", ld]]), id = {
|
|
4660
4665
|
props: ["field", "row", "tdProps"],
|
|
4661
4666
|
computed: {
|
|
4662
4667
|
hasLabelColor() {
|
|
@@ -4714,7 +4719,7 @@ function ud(e, t, r, n, o, a) {
|
|
|
4714
4719
|
}, g(this.row[this.field]), 3)) : f("", !0)
|
|
4715
4720
|
]);
|
|
4716
4721
|
}
|
|
4717
|
-
const
|
|
4722
|
+
const bu = /* @__PURE__ */ k(id, [["render", ud]]), cd = {
|
|
4718
4723
|
props: ["field", "row", "tdProps"],
|
|
4719
4724
|
computed: {
|
|
4720
4725
|
formattedDate() {
|
|
@@ -4733,7 +4738,7 @@ const fu = /* @__PURE__ */ $(id, [["render", ud]]), cd = {
|
|
|
4733
4738
|
function gd(e, t, r, n, o, a) {
|
|
4734
4739
|
return d(), u("div", fd, g(a.formattedDate), 1);
|
|
4735
4740
|
}
|
|
4736
|
-
const
|
|
4741
|
+
const pu = /* @__PURE__ */ k(cd, [["render", gd]]), hd = {
|
|
4737
4742
|
props: ["field", "row", "tdProps"]
|
|
4738
4743
|
}, md = { class: "flex flex-wrap gap-2 text-nowrap" }, bd = {
|
|
4739
4744
|
key: 0,
|
|
@@ -4764,7 +4769,19 @@ function wd(e, t, r, n, o, a) {
|
|
|
4764
4769
|
])) : f("", !0)
|
|
4765
4770
|
]);
|
|
4766
4771
|
}
|
|
4767
|
-
const
|
|
4772
|
+
const yu = /* @__PURE__ */ k(hd, [["render", wd]]), kd = {
|
|
4773
|
+
props: ["field", "row", "tdProps"]
|
|
4774
|
+
}, $d = {
|
|
4775
|
+
key: 0,
|
|
4776
|
+
class: "text-nowrap"
|
|
4777
|
+
}, Cd = { class: "relative block w-full h-full p-3 mx-0 mt-0 mb-4 overflow-auto font-mono leading-5 text-left text-white break-words rounded cursor-default whitespace-nowrap bg-zinc-700" };
|
|
4778
|
+
function Sd(e, t, r, n, o, a) {
|
|
4779
|
+
return r.row[r.field] ? (d(), u("div", $d, [
|
|
4780
|
+
s("pre", Cd, " " + g(r.row[r.field]) + `
|
|
4781
|
+
`, 1)
|
|
4782
|
+
])) : f("", !0);
|
|
4783
|
+
}
|
|
4784
|
+
const _u = /* @__PURE__ */ k(kd, [["render", Sd]]), Dd = {
|
|
4768
4785
|
props: ["isOpen", "title", "button_text"],
|
|
4769
4786
|
methods: {
|
|
4770
4787
|
confirmAction() {
|
|
@@ -4774,35 +4791,35 @@ const hu = /* @__PURE__ */ $(hd, [["render", wd]]), kd = {
|
|
|
4774
4791
|
this.$emit("cancel-action");
|
|
4775
4792
|
}
|
|
4776
4793
|
}
|
|
4777
|
-
},
|
|
4794
|
+
}, Od = {
|
|
4778
4795
|
key: 0,
|
|
4779
4796
|
class: "fixed inset-0 z-50 overflow-y-auto",
|
|
4780
4797
|
role: "dialog",
|
|
4781
4798
|
"aria-modal": "true"
|
|
4782
|
-
},
|
|
4799
|
+
}, Pd = { class: "flex items-end justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0" }, Ed = /* @__PURE__ */ s("div", {
|
|
4783
4800
|
class: "fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75",
|
|
4784
4801
|
"aria-hidden": "true"
|
|
4785
|
-
}, null, -1),
|
|
4802
|
+
}, null, -1), jd = /* @__PURE__ */ s("span", {
|
|
4786
4803
|
class: "hidden sm:inline-block sm:align-middle sm:h-screen",
|
|
4787
4804
|
"aria-hidden": "true"
|
|
4788
|
-
}, "", -1),
|
|
4789
|
-
function
|
|
4790
|
-
return r.isOpen ? (d(), u("div",
|
|
4791
|
-
s("div",
|
|
4792
|
-
|
|
4793
|
-
|
|
4794
|
-
s("div",
|
|
4795
|
-
s("div",
|
|
4796
|
-
s("div",
|
|
4797
|
-
s("div",
|
|
4798
|
-
s("h3",
|
|
4799
|
-
s("div",
|
|
4805
|
+
}, "", -1), Ad = { class: "inline-block overflow-hidden text-left align-bottom transition-all transform bg-white rounded-lg shadow-xl sm:my-8 sm:align-middle sm:max-w-lg sm:w-full" }, Td = { class: "px-4 pt-5 pb-4 bg-white sm:p-6 sm:pb-4" }, Id = { class: "sm:flex sm:items-start" }, Md = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left" }, Nd = { class: "text-lg font-medium leading-6 text-gray-900" }, Ld = { class: "mt-2" }, Vd = { class: "px-4 py-3 bg-gray-50 sm:px-6 sm:flex sm:flex-row-reverse" };
|
|
4806
|
+
function Bd(e, t, r, n, o, a) {
|
|
4807
|
+
return r.isOpen ? (d(), u("div", Od, [
|
|
4808
|
+
s("div", Pd, [
|
|
4809
|
+
Ed,
|
|
4810
|
+
jd,
|
|
4811
|
+
s("div", Ad, [
|
|
4812
|
+
s("div", Td, [
|
|
4813
|
+
s("div", Id, [
|
|
4814
|
+
s("div", Md, [
|
|
4815
|
+
s("h3", Nd, g(r.title), 1),
|
|
4816
|
+
s("div", Ld, [
|
|
4800
4817
|
T(e.$slots, "default")
|
|
4801
4818
|
])
|
|
4802
4819
|
])
|
|
4803
4820
|
])
|
|
4804
4821
|
]),
|
|
4805
|
-
s("div",
|
|
4822
|
+
s("div", Vd, [
|
|
4806
4823
|
s("button", {
|
|
4807
4824
|
onClick: t[0] || (t[0] = (...i) => a.confirmAction && a.confirmAction(...i)),
|
|
4808
4825
|
type: "button",
|
|
@@ -4818,42 +4835,43 @@ function Md(e, t, r, n, o, a) {
|
|
|
4818
4835
|
])
|
|
4819
4836
|
])) : f("", !0);
|
|
4820
4837
|
}
|
|
4821
|
-
const
|
|
4838
|
+
const vu = /* @__PURE__ */ k(Dd, [["render", Bd]]);
|
|
4822
4839
|
export {
|
|
4823
|
-
|
|
4824
|
-
|
|
4825
|
-
|
|
4826
|
-
|
|
4827
|
-
|
|
4828
|
-
|
|
4829
|
-
|
|
4830
|
-
|
|
4831
|
-
|
|
4832
|
-
|
|
4833
|
-
|
|
4834
|
-
|
|
4835
|
-
|
|
4836
|
-
|
|
4837
|
-
|
|
4838
|
-
|
|
4839
|
-
|
|
4840
|
+
_u as GLDatatableCommand,
|
|
4841
|
+
pu as GLDatatableDateTime,
|
|
4842
|
+
yu as GLDatatableStatusServer,
|
|
4843
|
+
Hd as GlButton,
|
|
4844
|
+
qd as GlCard,
|
|
4845
|
+
vu as GlConfirmationModal,
|
|
4846
|
+
nu as GlDataTable,
|
|
4847
|
+
au as GlDataTableServerSide,
|
|
4848
|
+
lu as GlDatatableAction,
|
|
4849
|
+
iu as GlDatatableDeleteAction,
|
|
4850
|
+
du as GlDatatableFileDownload,
|
|
4851
|
+
uu as GlDatatableFiles,
|
|
4852
|
+
cu as GlDatatableHtml,
|
|
4853
|
+
fu as GlDatatableList,
|
|
4854
|
+
gu as GlDatatablePicture,
|
|
4855
|
+
hu as GlDatatableStatus,
|
|
4856
|
+
mu as GlDatatableStatusGeneral,
|
|
4857
|
+
bu as GlDatatableStatusSpecficColor,
|
|
4840
4858
|
ue as GlDeleteConfirmationModal,
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
4844
|
-
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
|
|
4859
|
+
ru as GlDropdown,
|
|
4860
|
+
Fd as GlFilesUpload,
|
|
4861
|
+
Ud as GlLanguageSelector,
|
|
4862
|
+
eu as GlModal,
|
|
4863
|
+
Qd as GlMultiItemSlide,
|
|
4864
|
+
zd as GlMultiSelectDropdown,
|
|
4865
|
+
Rd as GlNotify,
|
|
4866
|
+
Jd as GlTab,
|
|
4867
|
+
Xd as GlTabsWrapper,
|
|
4850
4868
|
xo as GlTailwindPagination,
|
|
4851
|
-
|
|
4852
|
-
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
|
|
4869
|
+
Yd as GlTextInput,
|
|
4870
|
+
Wd as GlTextTranslate,
|
|
4871
|
+
su as GlTextarea,
|
|
4872
|
+
Zd as GlTextareaTranslate,
|
|
4873
|
+
Kd as GlTinymceTranslate,
|
|
4856
4874
|
$e as GlToast,
|
|
4857
|
-
|
|
4858
|
-
|
|
4875
|
+
ou as GlToastList,
|
|
4876
|
+
tu as GlToggleBox
|
|
4859
4877
|
};
|