golden-logic-ui 1.0.81 → 1.0.82
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 +58 -59
- 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,8 +2091,8 @@ 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
|
}
|
|
@@ -2440,10 +2440,10 @@ const Kd = /* @__PURE__ */ $(ta, [["render", sa]]), aa = {
|
|
|
2440
2440
|
class: "flex justify-between pl-5 pr-5"
|
|
2441
2441
|
}, Ia = ["onClick"], Ma = /* @__PURE__ */ P(() => /* @__PURE__ */ s("span", null, null, -1)), Na = [
|
|
2442
2442
|
Ma
|
|
2443
|
-
],
|
|
2443
|
+
], La = {
|
|
2444
2444
|
key: 0,
|
|
2445
2445
|
class: "flex"
|
|
2446
|
-
},
|
|
2446
|
+
}, Va = { class: "flex items-center" }, Ba = { class: "w-full" }, Ga = {
|
|
2447
2447
|
key: 0,
|
|
2448
2448
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2449
2449
|
class: "w-6 h-6",
|
|
@@ -2608,8 +2608,8 @@ function dn(e, t, r, n, o, a) {
|
|
|
2608
2608
|
onClick: (l) => a.setDot(i)
|
|
2609
2609
|
}, Na, 10, Ia))), 128))
|
|
2610
2610
|
], 2),
|
|
2611
|
-
e.dotsNum > 0 ? (d(), u("div",
|
|
2612
|
-
s("div",
|
|
2611
|
+
e.dotsNum > 0 ? (d(), u("div", La, [
|
|
2612
|
+
s("div", Va, [
|
|
2613
2613
|
s("div", Ba, [
|
|
2614
2614
|
s("button", {
|
|
2615
2615
|
class: b(["p-3 rounded-full arrow_button_styles", r.direction_property == "rtl" ? "ml-3" : "mr-3"]),
|
|
@@ -2844,7 +2844,7 @@ const Wd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
2844
2844
|
}, 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
2845
|
key: 0,
|
|
2846
2846
|
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" },
|
|
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" }, 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
2848
|
for: "default-search",
|
|
2849
2849
|
class: "mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"
|
|
2850
2850
|
}, "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 +2940,7 @@ const Wd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
2940
2940
|
setup(e, { emit: t }) {
|
|
2941
2941
|
const r = e, n = t, o = S(null), a = S({}), i = S(0), l = S(!1), c = S(""), h = S("");
|
|
2942
2942
|
R(() => {
|
|
2943
|
-
h.value =
|
|
2943
|
+
h.value = V(), r.show || (document.body.addEventListener("click", (p) => {
|
|
2944
2944
|
ze(p);
|
|
2945
2945
|
}), document.addEventListener("keypress", (p) => {
|
|
2946
2946
|
p.key === "Enter" && p.target.form && p.preventDefault();
|
|
@@ -2967,7 +2967,7 @@ const Wd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
2967
2967
|
Ze(p.key);
|
|
2968
2968
|
}
|
|
2969
2969
|
}
|
|
2970
|
-
function
|
|
2970
|
+
function V() {
|
|
2971
2971
|
let p = (/* @__PURE__ */ new Date()).getTime();
|
|
2972
2972
|
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(
|
|
2973
2973
|
/[xy]/g,
|
|
@@ -2999,13 +2999,13 @@ const Wd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
2999
2999
|
}
|
|
3000
3000
|
function We() {
|
|
3001
3001
|
if (te(a.value))
|
|
3002
|
-
return
|
|
3002
|
+
return typeof a.value == "object" ? m.value.find(
|
|
3003
3003
|
(p) => String(p.id) === String(a.value.id)
|
|
3004
3004
|
) || {} : m.value.find(
|
|
3005
3005
|
(p) => String(p.id) === String(a.value)
|
|
3006
3006
|
) || {};
|
|
3007
3007
|
if (r.modelValue)
|
|
3008
|
-
return
|
|
3008
|
+
return typeof r.modelValue == "object" ? m.value.find(
|
|
3009
3009
|
(p) => String(p.id) === String(r.modelValue.id)
|
|
3010
3010
|
) || {} : m.value.find(
|
|
3011
3011
|
(p) => String(p.id) === String(r.modelValue)
|
|
@@ -3077,7 +3077,7 @@ const Wd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
3077
3077
|
placeholder: e.placeholder,
|
|
3078
3078
|
autocomplete: "off",
|
|
3079
3079
|
readonly: ""
|
|
3080
|
-
}, null, 10,
|
|
3080
|
+
}, null, 10, Ln),
|
|
3081
3081
|
O(s("i", {
|
|
3082
3082
|
onClick: D[1] || (D[1] = N((A) => Ye(), ["stop"])),
|
|
3083
3083
|
class: "absolute text-gray-500 cursor-pointer fas fa-times right-7 hover:text-gray-700 dark:hover:text-gray-800",
|
|
@@ -3091,7 +3091,7 @@ const Wd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
3091
3091
|
style: { top: "11px" }
|
|
3092
3092
|
}, null, 2)
|
|
3093
3093
|
]),
|
|
3094
|
-
O(s("div",
|
|
3094
|
+
O(s("div", Vn, [
|
|
3095
3095
|
s("div", Bn, [
|
|
3096
3096
|
Gn,
|
|
3097
3097
|
s("div", Fn, [
|
|
@@ -3107,7 +3107,7 @@ const Wd = /* @__PURE__ */ $(aa, [["render", dn], ["__scopeId", "data-v-a94f16a9
|
|
|
3107
3107
|
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
3108
|
placeholder: "Search ..."
|
|
3109
3109
|
}, null, 40, Un), [
|
|
3110
|
-
[
|
|
3110
|
+
[L, c.value]
|
|
3111
3111
|
])
|
|
3112
3112
|
])
|
|
3113
3113
|
]),
|
|
@@ -3525,7 +3525,7 @@ const xo = /* @__PURE__ */ $(oo, [["render", vo]]), wo = {
|
|
|
3525
3525
|
},
|
|
3526
3526
|
methods: {
|
|
3527
3527
|
editAction(e) {
|
|
3528
|
-
this.$emit("editAction", e);
|
|
3528
|
+
console.log("editAction: ", e), this.$emit("editAction", e);
|
|
3529
3529
|
},
|
|
3530
3530
|
forDynCompIs(e) {
|
|
3531
3531
|
return typeof e == "object" ? e : null;
|
|
@@ -3586,10 +3586,10 @@ const xo = /* @__PURE__ */ $(oo, [["render", vo]]), wo = {
|
|
|
3586
3586
|
], -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
3587
|
key: 0,
|
|
3588
3588
|
class: "ml-2"
|
|
3589
|
-
},
|
|
3589
|
+
}, Lo = {
|
|
3590
3590
|
key: 0,
|
|
3591
3591
|
class: "fa fa-arrow-up"
|
|
3592
|
-
},
|
|
3592
|
+
}, Vo = {
|
|
3593
3593
|
key: 1,
|
|
3594
3594
|
class: "fa fa-arrow-down"
|
|
3595
3595
|
}, Bo = { key: 0 }, Go = ["colspan"], Fo = /* @__PURE__ */ s("div", {
|
|
@@ -3667,7 +3667,7 @@ function Ho(e, t, r, n, o, a) {
|
|
|
3667
3667
|
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
3668
|
placeholder: "Search ..."
|
|
3669
3669
|
}, null, 544), [
|
|
3670
|
-
[
|
|
3670
|
+
[L, o.search]
|
|
3671
3671
|
])
|
|
3672
3672
|
])
|
|
3673
3673
|
]),
|
|
@@ -3682,7 +3682,7 @@ function Ho(e, t, r, n, o, a) {
|
|
|
3682
3682
|
}, [
|
|
3683
3683
|
w(g(c.field_label) + " ", 1),
|
|
3684
3684
|
o.sortField === c.field_name ? (d(), u("span", No, [
|
|
3685
|
-
o.sortOrder === "asc" ? (d(), u("i",
|
|
3685
|
+
o.sortOrder === "asc" ? (d(), u("i", Lo)) : (d(), u("i", Vo))
|
|
3686
3686
|
])) : f("", !0)
|
|
3687
3687
|
], 8, Mo))), 128))
|
|
3688
3688
|
])
|
|
@@ -3710,8 +3710,8 @@ function Ho(e, t, r, n, o, a) {
|
|
|
3710
3710
|
xprops: r.xprops,
|
|
3711
3711
|
tdProps: m.tdProps,
|
|
3712
3712
|
onDeleteAction: t[3] || (t[3] = (x) => a.GetItemLists()),
|
|
3713
|
-
onEditAction:
|
|
3714
|
-
}, null, 40, ["row", "field", "xprops", "tdProps"])) : (d(), u(v, { key: 1 }, [
|
|
3713
|
+
onEditAction: (x) => a.editAction(c)
|
|
3714
|
+
}, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction"])) : (d(), u(v, { key: 1 }, [
|
|
3715
3715
|
w(g(c[m.field_name]), 1)
|
|
3716
3716
|
], 64))
|
|
3717
3717
|
])
|
|
@@ -3915,7 +3915,7 @@ function jl(e, t, r, n, o, a) {
|
|
|
3915
3915
|
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
3916
|
placeholder: "Search ..."
|
|
3917
3917
|
}, null, 512), [
|
|
3918
|
-
[
|
|
3918
|
+
[L, o.search]
|
|
3919
3919
|
])
|
|
3920
3920
|
])
|
|
3921
3921
|
]),
|
|
@@ -4041,10 +4041,10 @@ const tu = /* @__PURE__ */ $(Zo, [["render", jl]]), Al = {
|
|
|
4041
4041
|
], -1), Ml = /* @__PURE__ */ s("span", { class: "sr-only" }, "Check icon", -1), Nl = [
|
|
4042
4042
|
Il,
|
|
4043
4043
|
Ml
|
|
4044
|
-
],
|
|
4044
|
+
], Ll = {
|
|
4045
4045
|
key: 1,
|
|
4046
4046
|
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
|
-
},
|
|
4047
|
+
}, Vl = /* @__PURE__ */ s("svg", {
|
|
4048
4048
|
class: "w-5 h-5",
|
|
4049
4049
|
"aria-hidden": "true",
|
|
4050
4050
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4053,7 +4053,7 @@ const tu = /* @__PURE__ */ $(Zo, [["render", jl]]), Al = {
|
|
|
4053
4053
|
}, [
|
|
4054
4054
|
/* @__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
4055
|
], -1), Bl = /* @__PURE__ */ s("span", { class: "sr-only" }, "Error icon", -1), Gl = [
|
|
4056
|
-
|
|
4056
|
+
Vl,
|
|
4057
4057
|
Bl
|
|
4058
4058
|
], Fl = {
|
|
4059
4059
|
key: 2,
|
|
@@ -4106,7 +4106,7 @@ const tu = /* @__PURE__ */ $(Zo, [["render", jl]]), Al = {
|
|
|
4106
4106
|
const n = t;
|
|
4107
4107
|
return (o, a) => (d(), u("div", Al, [
|
|
4108
4108
|
r.type === "success" ? (d(), u("div", Tl, Nl)) : f("", !0),
|
|
4109
|
-
r.type === "error" ? (d(), u("div",
|
|
4109
|
+
r.type === "error" ? (d(), u("div", Ll, Gl)) : f("", !0),
|
|
4110
4110
|
r.type === "warning" ? (d(), u("div", Fl, ql)) : f("", !0),
|
|
4111
4111
|
s("div", zl, g(r.message), 1),
|
|
4112
4112
|
s("button", {
|
|
@@ -4223,7 +4223,7 @@ const tu = /* @__PURE__ */ $(Zo, [["render", jl]]), Al = {
|
|
|
4223
4223
|
});
|
|
4224
4224
|
};
|
|
4225
4225
|
return (x, C) => {
|
|
4226
|
-
const
|
|
4226
|
+
const V = De("click-outside");
|
|
4227
4227
|
return d(), u(v, null, [
|
|
4228
4228
|
Z(ue, {
|
|
4229
4229
|
isOpen: a.value,
|
|
@@ -4262,7 +4262,7 @@ const tu = /* @__PURE__ */ $(Zo, [["render", jl]]), Al = {
|
|
|
4262
4262
|
[F, o.value]
|
|
4263
4263
|
])
|
|
4264
4264
|
])), [
|
|
4265
|
-
[
|
|
4265
|
+
[V, i]
|
|
4266
4266
|
]) : f("", !0)
|
|
4267
4267
|
], 64);
|
|
4268
4268
|
};
|
|
@@ -4329,7 +4329,7 @@ const tu = /* @__PURE__ */ $(Zo, [["render", jl]]), Al = {
|
|
|
4329
4329
|
});
|
|
4330
4330
|
};
|
|
4331
4331
|
return (x, C) => {
|
|
4332
|
-
const
|
|
4332
|
+
const V = De("click-outside");
|
|
4333
4333
|
return d(), u(v, null, [
|
|
4334
4334
|
Z(ue, {
|
|
4335
4335
|
isOpen: a.value,
|
|
@@ -4359,7 +4359,7 @@ const tu = /* @__PURE__ */ $(Zo, [["render", jl]]), Al = {
|
|
|
4359
4359
|
[F, o.value]
|
|
4360
4360
|
])
|
|
4361
4361
|
])), [
|
|
4362
|
-
[
|
|
4362
|
+
[V, i]
|
|
4363
4363
|
]) : f("", !0)
|
|
4364
4364
|
], 64);
|
|
4365
4365
|
};
|
|
@@ -4378,7 +4378,6 @@ const tu = /* @__PURE__ */ $(Zo, [["render", jl]]), Al = {
|
|
|
4378
4378
|
}
|
|
4379
4379
|
},
|
|
4380
4380
|
mounted() {
|
|
4381
|
-
console.log("row : ", this.row);
|
|
4382
4381
|
}
|
|
4383
4382
|
}, mi = ["href", "title"], bi = /* @__PURE__ */ s("svg", {
|
|
4384
4383
|
class: "w-3 h-3 text-white me-2",
|
|
@@ -4561,10 +4560,10 @@ function Mi(e, t, r, n, o, a) {
|
|
|
4561
4560
|
}
|
|
4562
4561
|
const iu = /* @__PURE__ */ $(Ai, [["render", Mi]]), Ni = {
|
|
4563
4562
|
props: ["field", "row", "tdProps"]
|
|
4564
|
-
},
|
|
4563
|
+
}, Li = { key: 0 }, Vi = { class: "m-1 d-inline-block" }, Bi = ["href", "title"], Gi = ["src", "alt", "title"];
|
|
4565
4564
|
function Fi(e, t, r, n, o, a) {
|
|
4566
|
-
return r.row[r.field] ? (d(), u("div",
|
|
4567
|
-
s("div",
|
|
4565
|
+
return r.row[r.field] ? (d(), u("div", Li, [
|
|
4566
|
+
s("div", Vi, [
|
|
4568
4567
|
s("a", {
|
|
4569
4568
|
href: r.row[r.field].url,
|
|
4570
4569
|
title: r.row[r.field].name,
|
|
@@ -4840,12 +4839,12 @@ export {
|
|
|
4840
4839
|
fu as GlDatatableStatusSpecficColor,
|
|
4841
4840
|
ue as GlDeleteConfirmationModal,
|
|
4842
4841
|
Jd as GlDropdown,
|
|
4843
|
-
|
|
4842
|
+
Ld as GlFilesUpload,
|
|
4844
4843
|
Bd as GlLanguageSelector,
|
|
4845
4844
|
Yd as GlModal,
|
|
4846
4845
|
Wd as GlMultiItemSlide,
|
|
4847
4846
|
Fd as GlMultiSelectDropdown,
|
|
4848
|
-
|
|
4847
|
+
Vd as GlNotify,
|
|
4849
4848
|
Kd as GlTab,
|
|
4850
4849
|
Zd as GlTabsWrapper,
|
|
4851
4850
|
xo as GlTailwindPagination,
|