golden-logic-ui 1.0.594 → 1.0.596
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 +13 -10
- package/dist/golden-logic-ui.umd.cjs +2 -2
- package/package.json +1 -1
package/dist/golden-logic-ui.js
CHANGED
|
@@ -538,7 +538,7 @@ const kxe = /* @__PURE__ */ Ti(jae, [["render", ple]]), ble = {
|
|
|
538
538
|
id: this.menu_id
|
|
539
539
|
};
|
|
540
540
|
axios.get("/admin/get_locals", { params: u }).then((o) => {
|
|
541
|
-
this.locals = o.data.locals, this.default_language = o.data.default_language;
|
|
541
|
+
this.locals = o.data.locals, this.default_language = o.data.default_language, this.$refs.language_selector.classList.add("gl-multilanguage");
|
|
542
542
|
}).catch((o) => {
|
|
543
543
|
console.error(o);
|
|
544
544
|
});
|
|
@@ -549,7 +549,10 @@ const kxe = /* @__PURE__ */ Ti(jae, [["render", ple]]), ble = {
|
|
|
549
549
|
},
|
|
550
550
|
mounted() {
|
|
551
551
|
}
|
|
552
|
-
}, Ole = {
|
|
552
|
+
}, Ole = {
|
|
553
|
+
class: "grid w-full gap-1 mt-5 mb-5 md:gap-0 md:grid-cols-10 language-selector",
|
|
554
|
+
ref: "language_selector"
|
|
555
|
+
}, yle = ["name", "value", "id", "checked"], vle = ["for"];
|
|
553
556
|
function wle(u, o, i, c, f, m) {
|
|
554
557
|
return Ce(), Pe("ul", Ole, [
|
|
555
558
|
(Ce(!0), Pe(Fo, null, Hr(f.locals, (O, w) => (Ce(), Pe("li", null, [
|
|
@@ -571,7 +574,7 @@ function wle(u, o, i, c, f, m) {
|
|
|
571
574
|
}, "block w-full p-1 font-bold text-center text-gray-500 uppercase bg-white border-gray-200 rounded-lg cursor-pointer md:rounded-none dark:hover:text-gray-300 dark:border-gray-700 dark:peer-checked:text-blue-500 peer-checked:border-blue-600 peer-checked:text-blue-600 hover:text-gray-600 hover:bg-gray-100 dark:text-gray-400 dark:bg-gray-800 dark:hover:bg-gray-700"])
|
|
572
575
|
}, Mt(O), 11, vle)
|
|
573
576
|
]))), 256))
|
|
574
|
-
]);
|
|
577
|
+
], 512);
|
|
575
578
|
}
|
|
576
579
|
const Cxe = /* @__PURE__ */ Ti(ble, [["render", wle]]), xle = { class: "bg-white border rounded-lg border-stroke shadow-default dark:border-strokedark dark:bg-boxdark" }, Sle = { class: "px-3 py-4 border-b border-stroke dark:border-strokedark" }, kle = { class: "font-semibold text-black dark:text-white" }, Txe = {
|
|
577
580
|
__name: "GlCard",
|
|
@@ -1049,7 +1052,7 @@ const Cxe = /* @__PURE__ */ Ti(ble, [["render", wle]]), xle = { class: "bg-white
|
|
|
1049
1052
|
O.value && f("update:modelValueTranslate", O.value.value);
|
|
1050
1053
|
};
|
|
1051
1054
|
return Xf(() => {
|
|
1052
|
-
m.value !== null && m.value.hasAttribute("autofocus") && m.value.focus(), c.modelValue && (f("update:modelValue", c.modelValue), m.value.value = c.modelValue), c.modelValueTranslate && (f("update:modelValueTranslate", c.modelValueTranslate), O.value.value = c.modelValueTranslate);
|
|
1055
|
+
m.value !== null && m.value.hasAttribute("autofocus") && m.value.focus(), c.modelValue && (f("update:modelValue", c.modelValue), m.value.value = c.modelValue), c.modelValueTranslate && (f("update:modelValueTranslate", c.modelValueTranslate), O.value.value = c.modelValueTranslate), m.value.classList.add("gl-multilanguage");
|
|
1053
1056
|
}), o({ focus: () => m.value.focus() }), (T, P) => (Ce(), Pe(Fo, null, [
|
|
1054
1057
|
u.show ? (Ce(), Pe("div", {
|
|
1055
1058
|
key: 0,
|
|
@@ -1097,7 +1100,7 @@ const Cxe = /* @__PURE__ */ Ti(ble, [["render", wle]]), xle = { class: "bg-white
|
|
|
1097
1100
|
ref: O
|
|
1098
1101
|
}, null, 40, Vle),
|
|
1099
1102
|
Z("textarea", {
|
|
1100
|
-
class: xn(["form-input-translation
|
|
1103
|
+
class: xn(["mt-4 form-input-translation", {
|
|
1101
1104
|
" gl-textarea-form": u.error_message == "",
|
|
1102
1105
|
" gl-textarea-form-invalid": u.error_message !== ""
|
|
1103
1106
|
}]),
|
|
@@ -1170,7 +1173,7 @@ const Cxe = /* @__PURE__ */ Ti(ble, [["render", wle]]), xle = { class: "bg-white
|
|
|
1170
1173
|
O.value && f("update:modelValueTranslate", O.value.value);
|
|
1171
1174
|
};
|
|
1172
1175
|
return Xf(() => {
|
|
1173
|
-
m.value !== null && m.value.hasAttribute("autofocus") && m.value.focus(), c.modelValue && (f("update:modelValue", c.modelValue), m.value.value = c.modelValue), c.modelValueTranslate && (f("update:modelValueTranslate", c.modelValueTranslate), O.value.value = c.modelValueTranslate);
|
|
1176
|
+
m.value !== null && m.value.hasAttribute("autofocus") && m.value.focus(), c.modelValue && (f("update:modelValue", c.modelValue), m.value.value = c.modelValue), c.modelValueTranslate && (f("update:modelValueTranslate", c.modelValueTranslate), O.value.value = c.modelValueTranslate), m.value.classList.add("gl-multilanguage");
|
|
1174
1177
|
}), o({ focus: () => m.value.focus() }), (T, P) => (Ce(), Pe(Fo, null, [
|
|
1175
1178
|
u.show ? (Ce(), Pe("div", {
|
|
1176
1179
|
key: 0,
|
|
@@ -1221,7 +1224,7 @@ const Cxe = /* @__PURE__ */ Ti(ble, [["render", wle]]), xle = { class: "bg-white
|
|
|
1221
1224
|
required: u.is_required,
|
|
1222
1225
|
name: u.field_name,
|
|
1223
1226
|
id: u.field_name,
|
|
1224
|
-
class: xn(["form-input-translation
|
|
1227
|
+
class: xn(["mt-2 form-input-translation", {
|
|
1225
1228
|
" gl-input-form": u.error_message == "",
|
|
1226
1229
|
" gl-input-form-invalid": u.error_message !== ""
|
|
1227
1230
|
}]),
|
|
@@ -74078,7 +74081,7 @@ const bse = /* @__PURE__ */ new Set(/* @__PURE__ */ "area base br col command em
|
|
|
74078
74081
|
parent: f.value
|
|
74079
74082
|
});
|
|
74080
74083
|
}
|
|
74081
|
-
i.modelValueTranslate && (c("update:modelValueTranslate", i.modelValueTranslate), m.value.value = i.modelValueTranslate);
|
|
74084
|
+
i.modelValueTranslate && (c("update:modelValueTranslate", i.modelValueTranslate), m.value.value = i.modelValueTranslate), f.value.classList.add("gl-multilanguage");
|
|
74082
74085
|
}), Qu(
|
|
74083
74086
|
() => i.modelValue,
|
|
74084
74087
|
(H) => {
|
|
@@ -74275,7 +74278,7 @@ const bse = /* @__PURE__ */ new Set(/* @__PURE__ */ "area base br col command em
|
|
|
74275
74278
|
F.setContent(c.modelValue);
|
|
74276
74279
|
});
|
|
74277
74280
|
}
|
|
74278
|
-
});
|
|
74281
|
+
}), m.value.classList.add("gl-multilanguage");
|
|
74279
74282
|
}, P = () => {
|
|
74280
74283
|
O.value && f("update:modelValueTranslate", O.value.value);
|
|
74281
74284
|
};
|
|
@@ -74343,7 +74346,7 @@ const bse = /* @__PURE__ */ new Set(/* @__PURE__ */ "area base br col command em
|
|
|
74343
74346
|
Ur(Z("textarea", {
|
|
74344
74347
|
name: u.field_name,
|
|
74345
74348
|
id: u.field_name,
|
|
74346
|
-
class: xn(["tiny form-input-translation
|
|
74349
|
+
class: xn(["mt-4 tiny form-input-translation", {
|
|
74347
74350
|
" gl-textarea-form": u.error_message == "",
|
|
74348
74351
|
" gl-textarea-form-invalid": u.error_message !== ""
|
|
74349
74352
|
}]),
|