golden-logic-ui 1.0.576 → 1.0.578
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 +21 -18
- package/dist/golden-logic-ui.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/golden-logic-ui.js
CHANGED
|
@@ -56085,9 +56085,8 @@ const xde = { class: "font-bold ptext-lg dark:text-white" }, Sde = ["id"], kde =
|
|
|
56085
56085
|
setup(u, { expose: o, emit: i }) {
|
|
56086
56086
|
const c = u, f = i, m = Go(null);
|
|
56087
56087
|
let O = null;
|
|
56088
|
-
|
|
56089
|
-
|
|
56090
|
-
await RF(), w.value = document.body.classList.contains("dark"), O && (O.destroy(), O = null), Loe.init({
|
|
56088
|
+
Go(!1), qf(async () => {
|
|
56089
|
+
await RF(), O && (O.destroy(), O = null), Loe.init({
|
|
56091
56090
|
selector: "#" + c.field_name,
|
|
56092
56091
|
height: 300,
|
|
56093
56092
|
plugins: [
|
|
@@ -56111,30 +56110,32 @@ const xde = { class: "font-bold ptext-lg dark:text-white" }, Sde = ["id"], kde =
|
|
|
56111
56110
|
],
|
|
56112
56111
|
toolbar: "undo redo | blocks | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | removeformat | help",
|
|
56113
56112
|
skin: !1,
|
|
56113
|
+
// disable import of skins
|
|
56114
56114
|
content_css: !1,
|
|
56115
|
+
// disable import of css
|
|
56115
56116
|
images_upload_url: "/uploadImages",
|
|
56116
|
-
setup(
|
|
56117
|
-
O =
|
|
56118
|
-
f("update:modelValue",
|
|
56119
|
-
}),
|
|
56120
|
-
|
|
56117
|
+
setup($) {
|
|
56118
|
+
O = $, $.on("Change", () => {
|
|
56119
|
+
f("update:modelValue", $.getContent());
|
|
56120
|
+
}), $.on("init", () => {
|
|
56121
|
+
$.setContent(c.modelValue);
|
|
56121
56122
|
});
|
|
56122
56123
|
}
|
|
56123
56124
|
});
|
|
56124
56125
|
}), E_(() => {
|
|
56125
56126
|
O && (O.destroy(), O = null);
|
|
56126
|
-
}), Iu(() => c.modelValue, (
|
|
56127
|
-
O && O.getContent() !==
|
|
56127
|
+
}), Iu(() => c.modelValue, ($) => {
|
|
56128
|
+
O && O.getContent() !== $ && O.setContent($);
|
|
56128
56129
|
});
|
|
56129
|
-
const
|
|
56130
|
+
const T = cu({
|
|
56130
56131
|
get() {
|
|
56131
56132
|
return c.modelValue;
|
|
56132
56133
|
},
|
|
56133
|
-
set(
|
|
56134
|
-
f("update:modelValue",
|
|
56134
|
+
set($) {
|
|
56135
|
+
f("update:modelValue", $);
|
|
56135
56136
|
}
|
|
56136
56137
|
});
|
|
56137
|
-
return o({ focus: () => m.value.focus() }), (R
|
|
56138
|
+
return o({ focus: () => m.value.focus() }), ($, R) => (Ce(), $e(Vo, null, [
|
|
56138
56139
|
u.show ? (Ce(), $e("div", {
|
|
56139
56140
|
key: 0,
|
|
56140
56141
|
class: xn(u.field_name)
|
|
@@ -56144,7 +56145,7 @@ const xde = { class: "font-bold ptext-lg dark:text-white" }, Sde = ["id"], kde =
|
|
|
56144
56145
|
id: u.field_name,
|
|
56145
56146
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
56146
56147
|
}, Rt(u.model_value), 9, Sde),
|
|
56147
|
-
|
|
56148
|
+
R[2] || (R[2] = V("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1))
|
|
56148
56149
|
], 2)) : Tt("", !0),
|
|
56149
56150
|
u.show ? Tt("", !0) : (Ce(), $e("div", {
|
|
56150
56151
|
key: 1,
|
|
@@ -56166,13 +56167,13 @@ const xde = { class: "font-bold ptext-lg dark:text-white" }, Sde = ["id"], kde =
|
|
|
56166
56167
|
"gl-textarea-form-invalid mt-4": u.error_message !== ""
|
|
56167
56168
|
}]),
|
|
56168
56169
|
type: u.type,
|
|
56169
|
-
"onUpdate:modelValue":
|
|
56170
|
-
onKeydown:
|
|
56170
|
+
"onUpdate:modelValue": R[0] || (R[0] = (F) => T.value = F),
|
|
56171
|
+
onKeydown: R[1] || (R[1] = (F) => $.$emit("keydown", F)),
|
|
56171
56172
|
ref_key: "input",
|
|
56172
56173
|
ref: m,
|
|
56173
56174
|
rows: "4"
|
|
56174
56175
|
}, null, 42, Cde), [
|
|
56175
|
-
[sf,
|
|
56176
|
+
[sf, T.value]
|
|
56176
56177
|
]),
|
|
56177
56178
|
V("span", Tde, Rt(u.error_message), 1),
|
|
56178
56179
|
V("small", _de, Rt(u.description), 1)
|
|
@@ -74103,7 +74104,9 @@ const Doe = /* @__PURE__ */ new Set(/* @__PURE__ */ "area base br col command em
|
|
|
74103
74104
|
],
|
|
74104
74105
|
toolbar: "undo redo | blocks | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | removeformat | help",
|
|
74105
74106
|
skin: !1,
|
|
74107
|
+
// disable import of skins
|
|
74106
74108
|
content_css: !1,
|
|
74109
|
+
// disable import of css
|
|
74107
74110
|
images_upload_url: "/uploadImages",
|
|
74108
74111
|
setup(F) {
|
|
74109
74112
|
w = F, F.on("Change", () => {
|