golden-logic-ui 1.0.81 → 1.0.83
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 +64 -60
- package/dist/golden-logic-ui.umd.cjs +4 -4
- package/package.json +1 -1
package/dist/golden-logic-ui.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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
|
|
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 k, 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
2
|
const $ = (e, t) => {
|
|
3
3
|
const r = e.__vccOpts || e;
|
|
4
4
|
for (const [n, o] of t)
|
|
@@ -363,10 +363,10 @@ function Nt(e, t) {
|
|
|
363
363
|
if (n.app === e && n.inspectorId === H)
|
|
364
364
|
if (n.filter) {
|
|
365
365
|
var o = [];
|
|
366
|
-
|
|
366
|
+
Ve(o, t._modules.root, n.filter, ""), n.rootNodes = o;
|
|
367
367
|
} else
|
|
368
368
|
n.rootNodes = [
|
|
369
|
-
|
|
369
|
+
Le(t._modules.root, "")
|
|
370
370
|
];
|
|
371
371
|
}), r.on.getInspectorState(function(n) {
|
|
372
372
|
if (n.app === e && n.inspectorId === H) {
|
|
@@ -432,15 +432,15 @@ function Nt(e, t) {
|
|
|
432
432
|
}
|
|
433
433
|
);
|
|
434
434
|
}
|
|
435
|
-
var xe = 8702998,
|
|
435
|
+
var xe = 8702998, Lt = 6710886, Vt = 16777215, Me = {
|
|
436
436
|
label: "namespaced",
|
|
437
|
-
textColor:
|
|
438
|
-
backgroundColor:
|
|
437
|
+
textColor: Vt,
|
|
438
|
+
backgroundColor: Lt
|
|
439
439
|
};
|
|
440
440
|
function Ne(e) {
|
|
441
441
|
return e && e !== "root" ? e.split("/").slice(-2, -1)[0] : "Root";
|
|
442
442
|
}
|
|
443
|
-
function
|
|
443
|
+
function Le(e, t) {
|
|
444
444
|
return {
|
|
445
445
|
id: t || "root",
|
|
446
446
|
// all modules end with a `/`, we want the last segment only
|
|
@@ -450,7 +450,7 @@ function Ve(e, t) {
|
|
|
450
450
|
tags: e.namespaced ? [Me] : [],
|
|
451
451
|
children: Object.keys(e._children).map(
|
|
452
452
|
function(r) {
|
|
453
|
-
return
|
|
453
|
+
return Le(
|
|
454
454
|
e._children[r],
|
|
455
455
|
t + r + "/"
|
|
456
456
|
);
|
|
@@ -458,13 +458,13 @@ function Ve(e, t) {
|
|
|
458
458
|
)
|
|
459
459
|
};
|
|
460
460
|
}
|
|
461
|
-
function
|
|
461
|
+
function Ve(e, t, r, n) {
|
|
462
462
|
n.includes(r) && e.push({
|
|
463
463
|
id: n || "root",
|
|
464
464
|
label: n.endsWith("/") ? n.slice(0, n.length - 1) : n || "Root",
|
|
465
465
|
tags: t.namespaced ? [Me] : []
|
|
466
466
|
}), Object.keys(t._children).forEach(function(o) {
|
|
467
|
-
|
|
467
|
+
Ve(e, t._children[o], r, n + o + "/");
|
|
468
468
|
});
|
|
469
469
|
}
|
|
470
470
|
function Bt(e, t, r) {
|
|
@@ -678,8 +678,8 @@ var j = function e(t) {
|
|
|
678
678
|
var i = this, l = this, c = l.dispatch, h = l.commit;
|
|
679
679
|
this.dispatch = function(x, C) {
|
|
680
680
|
return c.call(i, x, C);
|
|
681
|
-
}, this.commit = function(x, C,
|
|
682
|
-
return h.call(i, x, C,
|
|
681
|
+
}, this.commit = function(x, C, V) {
|
|
682
|
+
return h.call(i, x, C, V);
|
|
683
683
|
}, this.strict = o;
|
|
684
684
|
var m = this._modules.root.state;
|
|
685
685
|
ee(this, m, [], this._modules.root), ce(this, m), n.forEach(function(y) {
|
|
@@ -1065,7 +1065,7 @@ function wr(e, t, r, n, o, a) {
|
|
|
1065
1065
|
name: r.field_name,
|
|
1066
1066
|
"onUpdate:modelValue": t[1] || (t[1] = (l) => a.uploadedFileIds = l)
|
|
1067
1067
|
}, null, 8, Wt), [
|
|
1068
|
-
[
|
|
1068
|
+
[L, a.uploadedFileIds]
|
|
1069
1069
|
]),
|
|
1070
1070
|
o.isDragging ? (d(), u("div", Qt, tr)) : (d(), u("div", {
|
|
1071
1071
|
key: 0,
|
|
@@ -1121,7 +1121,7 @@ function wr(e, t, r, n, o, a) {
|
|
|
1121
1121
|
], 2)
|
|
1122
1122
|
], 64);
|
|
1123
1123
|
}
|
|
1124
|
-
const
|
|
1124
|
+
const Ld = /* @__PURE__ */ $(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 Vd = /* @__PURE__ */ $(kr, [["render", Er]]), jr = {
|
|
1217
1217
|
components: {},
|
|
1218
1218
|
props: {
|
|
1219
1219
|
field_name: {
|
|
@@ -1272,7 +1272,7 @@ function Mr(e, t, r, n, o, a) {
|
|
|
1272
1272
|
]))), 256))
|
|
1273
1273
|
]);
|
|
1274
1274
|
}
|
|
1275
|
-
const Bd = /* @__PURE__ */ $(jr, [["render", Mr]]), Nr = { class: "bg-white border rounded-lg border-stroke shadow-default dark:border-strokedark dark:bg-boxdark" },
|
|
1275
|
+
const Bd = /* @__PURE__ */ $(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
|
}, Gd = {
|
|
@@ -1289,8 +1289,8 @@ const Bd = /* @__PURE__ */ $(jr, [["render", Mr]]), Nr = { class: "bg-white bord
|
|
|
1289
1289
|
class: b(["flex flex-col gap-9", r.value])
|
|
1290
1290
|
}, [
|
|
1291
1291
|
s("div", Nr, [
|
|
1292
|
-
s("div",
|
|
1293
|
-
s("h3",
|
|
1292
|
+
s("div", Lr, [
|
|
1293
|
+
s("h3", Vr, [
|
|
1294
1294
|
T(n.$slots, "header")
|
|
1295
1295
|
])
|
|
1296
1296
|
]),
|
|
@@ -1562,7 +1562,7 @@ function ns(e, t, r, n, o, a) {
|
|
|
1562
1562
|
class: "block w-full p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",
|
|
1563
1563
|
placeholder: "Search ..."
|
|
1564
1564
|
}, null, 40, rs), [
|
|
1565
|
-
[
|
|
1565
|
+
[L, o.searchFilter]
|
|
1566
1566
|
])
|
|
1567
1567
|
])
|
|
1568
1568
|
]),
|
|
@@ -1772,7 +1772,7 @@ const Rd = /* @__PURE__ */ $(os, [["render", is]]), ds = { class: "font-bold pte
|
|
|
1772
1772
|
ref: i,
|
|
1773
1773
|
"onUpdate:modelValue": c[0] || (c[0] = (h) => l.inputTranslateValue = h)
|
|
1774
1774
|
}, null, 8, us), [
|
|
1775
|
-
[
|
|
1775
|
+
[L, l.inputTranslateValue]
|
|
1776
1776
|
]),
|
|
1777
1777
|
s("p", {
|
|
1778
1778
|
id: e.field_name,
|
|
@@ -1912,7 +1912,7 @@ const Rd = /* @__PURE__ */ $(os, [["render", is]]), ds = { class: "font-bold pte
|
|
|
1912
1912
|
ref: i,
|
|
1913
1913
|
"onUpdate:modelValue": c[0] || (c[0] = (h) => l.inputTranslateValue = h)
|
|
1914
1914
|
}, null, 8, vs), [
|
|
1915
|
-
[
|
|
1915
|
+
[L, l.inputTranslateValue]
|
|
1916
1916
|
]),
|
|
1917
1917
|
s("p", {
|
|
1918
1918
|
id: e.field_name,
|
|
@@ -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"],
|
|
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" }, zd = {
|
|
1967
1967
|
__name: "GlTextTranslate",
|
|
1968
1968
|
props: {
|
|
1969
1969
|
is_required: {
|
|
@@ -2046,7 +2046,7 @@ const Rd = /* @__PURE__ */ $(os, [["render", is]]), ds = { class: "font-bold pte
|
|
|
2046
2046
|
ref: "input_translate_s",
|
|
2047
2047
|
"onUpdate:modelValue": c[0] || (c[0] = (h) => l.inputTranslateValue = h)
|
|
2048
2048
|
}, null, 8, Es), [
|
|
2049
|
-
[
|
|
2049
|
+
[L, l.inputTranslateValue]
|
|
2050
2050
|
]),
|
|
2051
2051
|
s("p", {
|
|
2052
2052
|
id: e.field_name,
|
|
@@ -2091,12 +2091,12 @@ const Rd = /* @__PURE__ */ $(os, [["render", is]]), ds = { class: "font-bold pte
|
|
|
2091
2091
|
ref_key: "input",
|
|
2092
2092
|
ref: a
|
|
2093
2093
|
}, null, 42, Ns),
|
|
2094
|
-
s("span",
|
|
2095
|
-
s("small",
|
|
2094
|
+
s("span", Ls, g(e.error_message), 1),
|
|
2095
|
+
s("small", Vs, g(e.description), 1)
|
|
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" }, Hd = {
|
|
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" }, Hd = {
|
|
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
|
]),
|
|
@@ -2440,10 +2445,10 @@ const Kd = /* @__PURE__ */ $(ta, [["render", sa]]), aa = {
|
|
|
2440
2445
|
class: "flex justify-between pl-5 pr-5"
|
|
2441
2446
|
}, Ia = ["onClick"], Ma = /* @__PURE__ */ P(() => /* @__PURE__ */ s("span", null, null, -1)), Na = [
|
|
2442
2447
|
Ma
|
|
2443
|
-
],
|
|
2448
|
+
], La = {
|
|
2444
2449
|
key: 0,
|
|
2445
2450
|
class: "flex"
|
|
2446
|
-
},
|
|
2451
|
+
}, Va = { class: "flex items-center" }, Ba = { class: "w-full" }, Ga = {
|
|
2447
2452
|
key: 0,
|
|
2448
2453
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2449
2454
|
class: "w-6 h-6",
|
|
@@ -2608,8 +2613,8 @@ function dn(e, t, r, n, o, a) {
|
|
|
2608
2613
|
onClick: (l) => a.setDot(i)
|
|
2609
2614
|
}, Na, 10, Ia))), 128))
|
|
2610
2615
|
], 2),
|
|
2611
|
-
e.dotsNum > 0 ? (d(), u("div",
|
|
2612
|
-
s("div",
|
|
2616
|
+
e.dotsNum > 0 ? (d(), u("div", La, [
|
|
2617
|
+
s("div", Va, [
|
|
2613
2618
|
s("div", Ba, [
|
|
2614
2619
|
s("button", {
|
|
2615
2620
|
class: b(["p-3 rounded-full arrow_button_styles", r.direction_property == "rtl" ? "ml-3" : "mr-3"]),
|
|
@@ -2844,7 +2849,7 @@ const Wd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
2844
2849
|
}, Pn = { class: "font-bold ptext-lg dark:text-white" }, En = { class: "mt-3 mb-4" }, jn = { class: "bg-blue-100 text-blue-800 text-sm font-medium mb-2 mt-2 me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, An = /* @__PURE__ */ s("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), Tn = ["name", "id", "value"], In = {
|
|
2845
2850
|
key: 0,
|
|
2846
2851
|
class: "dropdown"
|
|
2847
|
-
}, Mn = { class: "border border-gray-200 rounded-lg focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:focus:ring-blue-500 dark:focus:border-blue-500" }, Nn = { class: "relative showOptions" },
|
|
2852
|
+
}, Mn = { class: "border border-gray-200 rounded-lg focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:focus:ring-blue-500 dark:focus:border-blue-500" }, Nn = { class: "relative showOptions" }, Ln = ["value", "placeholder"], Vn = { class: "text-gray-700 bg-white dark:border-strokedark dark:bg-boxdark dark:text-gray-200 !border-b !border-t-0 !border-r !border-l absolute w-full z-[999999999]" }, Bn = { class: "p-1" }, Gn = /* @__PURE__ */ s("label", {
|
|
2848
2853
|
for: "default-search",
|
|
2849
2854
|
class: "mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"
|
|
2850
2855
|
}, "Search", -1), Fn = { class: "relative" }, Rn = /* @__PURE__ */ s("div", { class: "absolute inset-y-0 flex items-center pointer-events-none start-0 ps-3" }, [
|
|
@@ -2940,7 +2945,7 @@ const Wd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
2940
2945
|
setup(e, { emit: t }) {
|
|
2941
2946
|
const r = e, n = t, o = S(null), a = S({}), i = S(0), l = S(!1), c = S(""), h = S("");
|
|
2942
2947
|
R(() => {
|
|
2943
|
-
h.value =
|
|
2948
|
+
h.value = V(), r.show || (document.body.addEventListener("click", (p) => {
|
|
2944
2949
|
ze(p);
|
|
2945
2950
|
}), document.addEventListener("keypress", (p) => {
|
|
2946
2951
|
p.key === "Enter" && p.target.form && p.preventDefault();
|
|
@@ -2967,7 +2972,7 @@ const Wd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
2967
2972
|
Ze(p.key);
|
|
2968
2973
|
}
|
|
2969
2974
|
}
|
|
2970
|
-
function
|
|
2975
|
+
function V() {
|
|
2971
2976
|
let p = (/* @__PURE__ */ new Date()).getTime();
|
|
2972
2977
|
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(
|
|
2973
2978
|
/[xy]/g,
|
|
@@ -2999,13 +3004,13 @@ const Wd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
2999
3004
|
}
|
|
3000
3005
|
function We() {
|
|
3001
3006
|
if (te(a.value))
|
|
3002
|
-
return
|
|
3007
|
+
return typeof a.value == "object" ? m.value.find(
|
|
3003
3008
|
(p) => String(p.id) === String(a.value.id)
|
|
3004
3009
|
) || {} : m.value.find(
|
|
3005
3010
|
(p) => String(p.id) === String(a.value)
|
|
3006
3011
|
) || {};
|
|
3007
3012
|
if (r.modelValue)
|
|
3008
|
-
return
|
|
3013
|
+
return typeof r.modelValue == "object" ? m.value.find(
|
|
3009
3014
|
(p) => String(p.id) === String(r.modelValue.id)
|
|
3010
3015
|
) || {} : m.value.find(
|
|
3011
3016
|
(p) => String(p.id) === String(r.modelValue)
|
|
@@ -3077,7 +3082,7 @@ const Wd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
3077
3082
|
placeholder: e.placeholder,
|
|
3078
3083
|
autocomplete: "off",
|
|
3079
3084
|
readonly: ""
|
|
3080
|
-
}, null, 10,
|
|
3085
|
+
}, null, 10, Ln),
|
|
3081
3086
|
O(s("i", {
|
|
3082
3087
|
onClick: D[1] || (D[1] = N((A) => Ye(), ["stop"])),
|
|
3083
3088
|
class: "absolute text-gray-500 cursor-pointer fas fa-times right-7 hover:text-gray-700 dark:hover:text-gray-800",
|
|
@@ -3091,7 +3096,7 @@ const Wd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
3091
3096
|
style: { top: "11px" }
|
|
3092
3097
|
}, null, 2)
|
|
3093
3098
|
]),
|
|
3094
|
-
O(s("div",
|
|
3099
|
+
O(s("div", Vn, [
|
|
3095
3100
|
s("div", Bn, [
|
|
3096
3101
|
Gn,
|
|
3097
3102
|
s("div", Fn, [
|
|
@@ -3107,7 +3112,7 @@ const Wd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
3107
3112
|
class: "block w-full p-2 text-sm text-gray-900 border rounded-lg outline-none border-frontend ps-10 bg-gray-50 focus:border-frontend dark:bg-gray-700 dark:border-frontenddark dark:placeholder-frontenddark dark:text-white dark:focus:border-frontenddark",
|
|
3108
3113
|
placeholder: "Search ..."
|
|
3109
3114
|
}, null, 40, Un), [
|
|
3110
|
-
[
|
|
3115
|
+
[L, c.value]
|
|
3111
3116
|
])
|
|
3112
3117
|
])
|
|
3113
3118
|
]),
|
|
@@ -3586,10 +3591,10 @@ const xo = /* @__PURE__ */ $(oo, [["render", vo]]), wo = {
|
|
|
3586
3591
|
], -1), Ao = { class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800" }, To = { class: "w-full h-full max-w-full overflow-hidden bg-white border-separate xl:overflow-auto lg:border-collapse border-spacing-y-3 lg:border-spacing-y-0 dark:border-strokedark dark:bg-boxdark" }, Io = { class: "hidden text-sm font-normal text-center text-gray-500 lg:table-header-group dark:border-strokedark bg-gray-50 dark:bg-gray-700 dark:text-gray-200" }, Mo = ["onClick"], No = {
|
|
3587
3592
|
key: 0,
|
|
3588
3593
|
class: "ml-2"
|
|
3589
|
-
},
|
|
3594
|
+
}, Lo = {
|
|
3590
3595
|
key: 0,
|
|
3591
3596
|
class: "fa fa-arrow-up"
|
|
3592
|
-
},
|
|
3597
|
+
}, Vo = {
|
|
3593
3598
|
key: 1,
|
|
3594
3599
|
class: "fa fa-arrow-down"
|
|
3595
3600
|
}, Bo = { key: 0 }, Go = ["colspan"], Fo = /* @__PURE__ */ s("div", {
|
|
@@ -3667,7 +3672,7 @@ function Ho(e, t, r, n, o, a) {
|
|
|
3667
3672
|
class: "block w-full p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",
|
|
3668
3673
|
placeholder: "Search ..."
|
|
3669
3674
|
}, null, 544), [
|
|
3670
|
-
[
|
|
3675
|
+
[L, o.search]
|
|
3671
3676
|
])
|
|
3672
3677
|
])
|
|
3673
3678
|
]),
|
|
@@ -3682,7 +3687,7 @@ function Ho(e, t, r, n, o, a) {
|
|
|
3682
3687
|
}, [
|
|
3683
3688
|
w(g(c.field_label) + " ", 1),
|
|
3684
3689
|
o.sortField === c.field_name ? (d(), u("span", No, [
|
|
3685
|
-
o.sortOrder === "asc" ? (d(), u("i",
|
|
3690
|
+
o.sortOrder === "asc" ? (d(), u("i", Lo)) : (d(), u("i", Vo))
|
|
3686
3691
|
])) : f("", !0)
|
|
3687
3692
|
], 8, Mo))), 128))
|
|
3688
3693
|
])
|
|
@@ -3710,8 +3715,8 @@ function Ho(e, t, r, n, o, a) {
|
|
|
3710
3715
|
xprops: r.xprops,
|
|
3711
3716
|
tdProps: m.tdProps,
|
|
3712
3717
|
onDeleteAction: t[3] || (t[3] = (x) => a.GetItemLists()),
|
|
3713
|
-
onEditAction:
|
|
3714
|
-
}, null, 40, ["row", "field", "xprops", "tdProps"])) : (d(), u(v, { key: 1 }, [
|
|
3718
|
+
onEditAction: (x) => a.editAction(c)
|
|
3719
|
+
}, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction"])) : (d(), u(v, { key: 1 }, [
|
|
3715
3720
|
w(g(c[m.field_name]), 1)
|
|
3716
3721
|
], 64))
|
|
3717
3722
|
])
|
|
@@ -3915,7 +3920,7 @@ function jl(e, t, r, n, o, a) {
|
|
|
3915
3920
|
class: "block p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 w-80 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",
|
|
3916
3921
|
placeholder: "Search ..."
|
|
3917
3922
|
}, null, 512), [
|
|
3918
|
-
[
|
|
3923
|
+
[L, o.search]
|
|
3919
3924
|
])
|
|
3920
3925
|
])
|
|
3921
3926
|
]),
|
|
@@ -4041,10 +4046,10 @@ const tu = /* @__PURE__ */ $(Zo, [["render", jl]]), Al = {
|
|
|
4041
4046
|
], -1), Ml = /* @__PURE__ */ s("span", { class: "sr-only" }, "Check icon", -1), Nl = [
|
|
4042
4047
|
Il,
|
|
4043
4048
|
Ml
|
|
4044
|
-
],
|
|
4049
|
+
], Ll = {
|
|
4045
4050
|
key: 1,
|
|
4046
4051
|
class: "inline-flex items-center justify-center flex-shrink-0 w-8 h-8 text-red-500 bg-red-100 rounded-lg dark:bg-red-800 dark:text-red-200"
|
|
4047
|
-
},
|
|
4052
|
+
}, Vl = /* @__PURE__ */ s("svg", {
|
|
4048
4053
|
class: "w-5 h-5",
|
|
4049
4054
|
"aria-hidden": "true",
|
|
4050
4055
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4053,7 +4058,7 @@ const tu = /* @__PURE__ */ $(Zo, [["render", jl]]), Al = {
|
|
|
4053
4058
|
}, [
|
|
4054
4059
|
/* @__PURE__ */ s("path", { d: "M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 11.793a1 1 0 1 1-1.414 1.414L10 11.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L8.586 10 6.293 7.707a1 1 0 0 1 1.414-1.414L10 8.586l2.293-2.293a1 1 0 0 1 1.414 1.414L11.414 10l2.293 2.293Z" })
|
|
4055
4060
|
], -1), Bl = /* @__PURE__ */ s("span", { class: "sr-only" }, "Error icon", -1), Gl = [
|
|
4056
|
-
|
|
4061
|
+
Vl,
|
|
4057
4062
|
Bl
|
|
4058
4063
|
], Fl = {
|
|
4059
4064
|
key: 2,
|
|
@@ -4106,7 +4111,7 @@ const tu = /* @__PURE__ */ $(Zo, [["render", jl]]), Al = {
|
|
|
4106
4111
|
const n = t;
|
|
4107
4112
|
return (o, a) => (d(), u("div", Al, [
|
|
4108
4113
|
r.type === "success" ? (d(), u("div", Tl, Nl)) : f("", !0),
|
|
4109
|
-
r.type === "error" ? (d(), u("div",
|
|
4114
|
+
r.type === "error" ? (d(), u("div", Ll, Gl)) : f("", !0),
|
|
4110
4115
|
r.type === "warning" ? (d(), u("div", Fl, ql)) : f("", !0),
|
|
4111
4116
|
s("div", zl, g(r.message), 1),
|
|
4112
4117
|
s("button", {
|
|
@@ -4223,7 +4228,7 @@ const tu = /* @__PURE__ */ $(Zo, [["render", jl]]), Al = {
|
|
|
4223
4228
|
});
|
|
4224
4229
|
};
|
|
4225
4230
|
return (x, C) => {
|
|
4226
|
-
const
|
|
4231
|
+
const V = De("click-outside");
|
|
4227
4232
|
return d(), u(v, null, [
|
|
4228
4233
|
Z(ue, {
|
|
4229
4234
|
isOpen: a.value,
|
|
@@ -4262,7 +4267,7 @@ const tu = /* @__PURE__ */ $(Zo, [["render", jl]]), Al = {
|
|
|
4262
4267
|
[F, o.value]
|
|
4263
4268
|
])
|
|
4264
4269
|
])), [
|
|
4265
|
-
[
|
|
4270
|
+
[V, i]
|
|
4266
4271
|
]) : f("", !0)
|
|
4267
4272
|
], 64);
|
|
4268
4273
|
};
|
|
@@ -4329,7 +4334,7 @@ const tu = /* @__PURE__ */ $(Zo, [["render", jl]]), Al = {
|
|
|
4329
4334
|
});
|
|
4330
4335
|
};
|
|
4331
4336
|
return (x, C) => {
|
|
4332
|
-
const
|
|
4337
|
+
const V = De("click-outside");
|
|
4333
4338
|
return d(), u(v, null, [
|
|
4334
4339
|
Z(ue, {
|
|
4335
4340
|
isOpen: a.value,
|
|
@@ -4359,7 +4364,7 @@ const tu = /* @__PURE__ */ $(Zo, [["render", jl]]), Al = {
|
|
|
4359
4364
|
[F, o.value]
|
|
4360
4365
|
])
|
|
4361
4366
|
])), [
|
|
4362
|
-
[
|
|
4367
|
+
[V, i]
|
|
4363
4368
|
]) : f("", !0)
|
|
4364
4369
|
], 64);
|
|
4365
4370
|
};
|
|
@@ -4378,7 +4383,6 @@ const tu = /* @__PURE__ */ $(Zo, [["render", jl]]), Al = {
|
|
|
4378
4383
|
}
|
|
4379
4384
|
},
|
|
4380
4385
|
mounted() {
|
|
4381
|
-
console.log("row : ", this.row);
|
|
4382
4386
|
}
|
|
4383
4387
|
}, mi = ["href", "title"], bi = /* @__PURE__ */ s("svg", {
|
|
4384
4388
|
class: "w-3 h-3 text-white me-2",
|
|
@@ -4561,10 +4565,10 @@ function Mi(e, t, r, n, o, a) {
|
|
|
4561
4565
|
}
|
|
4562
4566
|
const iu = /* @__PURE__ */ $(Ai, [["render", Mi]]), Ni = {
|
|
4563
4567
|
props: ["field", "row", "tdProps"]
|
|
4564
|
-
},
|
|
4568
|
+
}, Li = { key: 0 }, Vi = { class: "m-1 d-inline-block" }, Bi = ["href", "title"], Gi = ["src", "alt", "title"];
|
|
4565
4569
|
function Fi(e, t, r, n, o, a) {
|
|
4566
|
-
return r.row[r.field] ? (d(), u("div",
|
|
4567
|
-
s("div",
|
|
4570
|
+
return r.row[r.field] ? (d(), u("div", Li, [
|
|
4571
|
+
s("div", Vi, [
|
|
4568
4572
|
s("a", {
|
|
4569
4573
|
href: r.row[r.field].url,
|
|
4570
4574
|
title: r.row[r.field].name,
|
|
@@ -4840,12 +4844,12 @@ export {
|
|
|
4840
4844
|
fu as GlDatatableStatusSpecficColor,
|
|
4841
4845
|
ue as GlDeleteConfirmationModal,
|
|
4842
4846
|
Jd as GlDropdown,
|
|
4843
|
-
|
|
4847
|
+
Ld as GlFilesUpload,
|
|
4844
4848
|
Bd as GlLanguageSelector,
|
|
4845
4849
|
Yd as GlModal,
|
|
4846
4850
|
Wd as GlMultiItemSlide,
|
|
4847
4851
|
Fd as GlMultiSelectDropdown,
|
|
4848
|
-
|
|
4852
|
+
Vd as GlNotify,
|
|
4849
4853
|
Kd as GlTab,
|
|
4850
4854
|
Zd as GlTabsWrapper,
|
|
4851
4855
|
xo as GlTailwindPagination,
|