hisonvue 1.1.38 → 1.1.39
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/{HAccordion-CfXf_b68.js → HAccordion-Bb5EQl3Q.js} +1 -1
- package/dist/{HAccordion-Bb0Ti8oH.mjs → HAccordion-BkEvH6Ey.mjs} +2 -2
- package/dist/{HBaggie-BHwku7zR.mjs → HBaggie-CfeAvM0z.mjs} +2 -2
- package/dist/{HBaggie-DkNdbHlh.js → HBaggie-e3WlKWB5.js} +1 -1
- package/dist/{HBanner-CsAXu3-n.js → HBanner-CkDsf505.js} +1 -1
- package/dist/{HBanner-Cq72ZmUp.mjs → HBanner-xCcVSety.mjs} +2 -2
- package/dist/{HButton-Db_xyV4h.mjs → HButton-BK77iM6O.mjs} +2 -2
- package/dist/{HButton-QRkpZF9_.js → HButton-pdDP3xI3.js} +1 -1
- package/dist/{HCalendar-L4_I4vtR.mjs → HCalendar-D5o7cn04.mjs} +1 -1
- package/dist/{HCalendar-U7a8U7NG.js → HCalendar-k8W3KKtT.js} +1 -1
- package/dist/{HCaption-CJQTdBo2.mjs → HCaption-CVmGUpim.mjs} +1 -1
- package/dist/{HCaption-CWIICxjM.js → HCaption-SDbWenvp.js} +1 -1
- package/dist/{HChart-BSWyGFmF.mjs → HChart-BAZ_mje0.mjs} +1 -1
- package/dist/{HChart-DIakVttG.js → HChart-Cg6WvF-m.js} +1 -1
- package/dist/{HDrawer-JsTxN_WA.js → HDrawer-CdXPUYKs.js} +1 -1
- package/dist/{HDrawer-BfU3CERU.mjs → HDrawer-CuYTcazp.mjs} +1 -1
- package/dist/{HDropdown-WqoVFpnz.js → HDropdown-Crtq97na.js} +1 -1
- package/dist/{HDropdown-8uFXTnF8.mjs → HDropdown-trpRIODH.mjs} +2 -2
- package/dist/{HFileset-BzZATkXD.js → HFileset-CQPVTrc0.js} +1 -1
- package/dist/{HFileset-BU-awaKJ.mjs → HFileset-yDnoWeFJ.mjs} +1 -1
- package/dist/{HGap-C7iub4-o.js → HGap-D2VPEhTy.js} +1 -1
- package/dist/{HGap-CPEuYOTp.mjs → HGap-DM1hp0HZ.mjs} +1 -1
- package/dist/{HGrid-DXu9RizR.js → HGrid-9WW04j6i.js} +1 -1
- package/dist/{HGrid-DPM5_h8t.mjs → HGrid-OT55Vyqy.mjs} +1 -1
- package/dist/{HImagebox-Dr81U7ac.mjs → HImagebox-DXnfszdl.mjs} +1 -1
- package/dist/{HImagebox-CC5tCOuN.js → HImagebox-Dn6okVVd.js} +1 -1
- package/dist/HInput-D-WhZgWg.js +1 -0
- package/dist/{HInput-Dk5iSpTo.mjs → HInput-DxqBZopO.mjs} +100 -98
- package/dist/{HInputGroup-DqRExx3z.js → HInputGroup-CMOBOaIy.js} +1 -1
- package/dist/{HInputGroup-R9TvNIKK.mjs → HInputGroup-kjL_gkY3.mjs} +1 -1
- package/dist/{HLabel-BgTu-BgS.js → HLabel-CdRo92gc.js} +1 -1
- package/dist/{HLabel-DU1fwrWs.mjs → HLabel-CuOsomVK.mjs} +2 -2
- package/dist/{HLayout-BetzAPL-.js → HLayout-BCjLoYqu.js} +1 -1
- package/dist/{HLayout-D7GS_yeA.mjs → HLayout-SDUsOGH9.mjs} +1 -1
- package/dist/{HList-AnGxwY_-.js → HList-BARBWvNB.js} +1 -1
- package/dist/{HList-BOuZ9ouM.mjs → HList-Cebfzf83.mjs} +2 -2
- package/dist/{HModal-BT403WfA.mjs → HModal-BPmK-z7W.mjs} +1 -1
- package/dist/{HModal-CF22crNc.js → HModal-BQC6Dwcw.js} +1 -1
- package/dist/{HNote-DcBX8pZp.mjs → HNote-DcZpFM82.mjs} +1 -1
- package/dist/{HNote-wC0DtZkC.js → HNote-DpqAofRU.js} +1 -1
- package/dist/{HPagination-P3ncMhQV.mjs → HPagination-DzGUrGXP.mjs} +2 -2
- package/dist/{HPagination-DwmGtPNN.js → HPagination-v-NFDeDA.js} +1 -1
- package/dist/{HParagraph-DV4xZBme.js → HParagraph-CdOVGIlk.js} +1 -1
- package/dist/{HParagraph-C0jW8M26.mjs → HParagraph-W9TnHmze.mjs} +1 -1
- package/dist/{HPopup-DcHibren.js → HPopup-CNt-lvtH.js} +1 -1
- package/dist/{HPopup-BXgoHhtg.mjs → HPopup-CXxinQhO.mjs} +1 -1
- package/dist/{HSpinner-B0o6-V7Y.mjs → HSpinner-DsolJ5Oc.mjs} +1 -1
- package/dist/{HSpinner-BUexJeY3.js → HSpinner-meptBXhz.js} +1 -1
- package/dist/{HTable-DR69cdeS.js → HTable-TGIonXp7.js} +1 -1
- package/dist/{HTable-Ct60xp2o.mjs → HTable-f_QsXz2G.mjs} +1 -1
- package/dist/hisonvue.cjs.js +1 -1
- package/dist/hisonvue.css +1 -1
- package/dist/hisonvue.d.ts +2 -0
- package/dist/hisonvue.es.js +2 -2
- package/dist/{index-B_ioyizT.mjs → index-CjHzPazZ.mjs} +1 -1
- package/dist/{index-Dq0JNnkv.js → index-DvM-XIAr.js} +1 -1
- package/dist/{setButtonCssEvent-DyKfCfPp.js → setButtonCssEvent-C2lqu16u.js} +1 -1
- package/dist/{setButtonCssEvent-XE99hJN2.mjs → setButtonCssEvent-DzgOFy1K.mjs} +1 -1
- package/package.json +1 -1
- package/dist/HInput-BzkayoJC.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { E as ee, T as
|
|
3
|
-
import { _ as
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as rn, ref as r, computed as f, inject as ve, onMounted as dn, onBeforeUnmount as an, watch as m, unref as mn, nextTick as $e, openBlock as y, createElementBlock as $, normalizeClass as g, normalizeStyle as I, createElementVNode as S, Fragment as Ce, renderList as vn, toDisplayString as Te, withDirectives as ke, vShow as he } from "vue";
|
|
2
|
+
import { E as ee, T as pn, P as fn, h as b, g as Mn, u as gn, Q as u, l as a, R as oe, y as F, e as bn, t as yn, a as $n, b as we, U as pe, V as Cn, W as Tn, r as kn, c as hn, d as wn } from "./index-CjHzPazZ.mjs";
|
|
3
|
+
import { _ as Nn } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
4
|
+
const Ln = {
|
|
5
5
|
/**
|
|
6
6
|
* Unique identifier for the input.
|
|
7
7
|
* - You can later retrieve its methods via `hison.component.getInput(id)`
|
|
@@ -65,7 +65,7 @@ const wn = {
|
|
|
65
65
|
inputType: {
|
|
66
66
|
type: String,
|
|
67
67
|
required: !1,
|
|
68
|
-
validator: (e) =>
|
|
68
|
+
validator: (e) => fn.includes(e)
|
|
69
69
|
},
|
|
70
70
|
/**
|
|
71
71
|
* Format string used for displaying or formatting the value.
|
|
@@ -140,7 +140,7 @@ const wn = {
|
|
|
140
140
|
textAlign: {
|
|
141
141
|
type: String,
|
|
142
142
|
default: null,
|
|
143
|
-
validator: (e) => e == null ||
|
|
143
|
+
validator: (e) => e == null || pn.includes(e)
|
|
144
144
|
},
|
|
145
145
|
/**
|
|
146
146
|
* Whether to show border (rendered as subtle box-shadow).
|
|
@@ -212,7 +212,7 @@ const wn = {
|
|
|
212
212
|
}
|
|
213
213
|
n.classList.add("hison-input-on-mouseover"), b.event.cssEvent.input_onAfterMouseover(e);
|
|
214
214
|
}
|
|
215
|
-
},
|
|
215
|
+
}, Ae = (e) => {
|
|
216
216
|
const n = e.currentTarget;
|
|
217
217
|
if (!n.readOnly) {
|
|
218
218
|
if (b.event.cssEvent.input_onBeforeMouseout(e) === !1) {
|
|
@@ -221,7 +221,7 @@ const wn = {
|
|
|
221
221
|
}
|
|
222
222
|
n.classList.remove("hison-input-on-mouseover"), b.event.cssEvent.input_onAfterMouseout(e);
|
|
223
223
|
}
|
|
224
|
-
},
|
|
224
|
+
}, Fe = (e) => {
|
|
225
225
|
const n = e.currentTarget;
|
|
226
226
|
if (!n.readOnly) {
|
|
227
227
|
if (b.event.cssEvent.input_onBeforeTouchstart(e) === !1) {
|
|
@@ -230,7 +230,7 @@ const wn = {
|
|
|
230
230
|
}
|
|
231
231
|
n.classList.add("hison-input-on-mouseover"), b.event.cssEvent.input_onAfterTouchstart(e);
|
|
232
232
|
}
|
|
233
|
-
},
|
|
233
|
+
}, Pe = (e) => {
|
|
234
234
|
const n = e.currentTarget;
|
|
235
235
|
if (!n.readOnly) {
|
|
236
236
|
if (b.event.cssEvent.input_onBeforeTouchend(e) === !1) {
|
|
@@ -242,17 +242,17 @@ const wn = {
|
|
|
242
242
|
}, Ie = (e) => {
|
|
243
243
|
const n = e.currentTarget;
|
|
244
244
|
n.readOnly || n.classList.remove("hison-input-on-mouseover");
|
|
245
|
-
}, Nn = (e) => {
|
|
246
|
-
te.has(e) || (te.add(e), e.addEventListener("mouseenter", Be), e.addEventListener("mouseleave", Fe), e.addEventListener("touchstart", Pe, { passive: !0, capture: !0 }), e.addEventListener("touchend", Ae, { passive: !0, capture: !0 }), e.addEventListener("touchcancel", Ie, { passive: !0, capture: !0 }));
|
|
247
|
-
}, Ln = (e) => {
|
|
248
|
-
te.has(e) && (te.delete(e), e.removeEventListener("mouseenter", Be), e.removeEventListener("mouseleave", Fe), e.removeEventListener("touchstart", Pe, { capture: !0 }), e.removeEventListener("touchend", Ae, { capture: !0 }), e.removeEventListener("touchcancel", Ie, { capture: !0 }), e.classList.remove("hison-input-on-mouseover"));
|
|
249
245
|
}, Bn = (e) => {
|
|
250
|
-
|
|
246
|
+
te.has(e) || (te.add(e), e.addEventListener("mouseenter", Be), e.addEventListener("mouseleave", Ae), e.addEventListener("touchstart", Fe, { passive: !0, capture: !0 }), e.addEventListener("touchend", Pe, { passive: !0, capture: !0 }), e.addEventListener("touchcancel", Ie, { passive: !0, capture: !0 }));
|
|
247
|
+
}, An = (e) => {
|
|
248
|
+
te.has(e) && (te.delete(e), e.removeEventListener("mouseenter", Be), e.removeEventListener("mouseleave", Ae), e.removeEventListener("touchstart", Fe, { capture: !0 }), e.removeEventListener("touchend", Pe, { capture: !0 }), e.removeEventListener("touchcancel", Ie, { capture: !0 }), e.classList.remove("hison-input-on-mouseover"));
|
|
251
249
|
}, Fn = (e) => {
|
|
250
|
+
ie.has(e) || (ie.add(e), e.addEventListener("focus", Ne), e.addEventListener("blur", Le));
|
|
251
|
+
}, Pn = (e) => {
|
|
252
252
|
ie.has(e) && (ie.delete(e), e.removeEventListener("focus", Ne), e.removeEventListener("blur", Le), e.classList.remove("hison-input-on-active"), e.classList.remove("hison-input-on-mouseover"));
|
|
253
|
-
},
|
|
253
|
+
}, In = rn({
|
|
254
254
|
name: "HInput",
|
|
255
|
-
props:
|
|
255
|
+
props: Ln,
|
|
256
256
|
inheritAttrs: !1,
|
|
257
257
|
emits: [
|
|
258
258
|
"update:modelValue",
|
|
@@ -296,8 +296,8 @@ const wn = {
|
|
|
296
296
|
"contextmenu"
|
|
297
297
|
],
|
|
298
298
|
setup(e, { emit: n }) {
|
|
299
|
-
const C = r(null),
|
|
300
|
-
q.value =
|
|
299
|
+
const C = r(null), P = r(null), k = r(null), v = e.id ? e.id : Mn(), o = r(e.name ?? v), Se = f(() => o.value), N = r((e.dataKey ?? "").trim() || v), ue = `hinput:${v}`, fe = gn(), q = r([]), le = () => {
|
|
300
|
+
q.value = bn(yn(e.class) || "", fe.value), $n(q.value, "col") === -1 && q.value.push("hison-col-12"), we(q.value, "size", b.componentStyle.size), we(q.value, "color", "primary");
|
|
301
301
|
}, s = r(e.inputType ?? u.text), se = f(() => {
|
|
302
302
|
switch (s.value) {
|
|
303
303
|
case u.checkbox:
|
|
@@ -321,8 +321,7 @@ const wn = {
|
|
|
321
321
|
default:
|
|
322
322
|
return s.value;
|
|
323
323
|
}
|
|
324
|
-
}), z = r(e.toggleStyle ?? "default"), L = r(e.format ?? null), B = r(a.utils.isNumeric(e.maxNumber) ? Number(e.maxNumber) : null),
|
|
325
|
-
f(() => {
|
|
324
|
+
}), z = r(e.toggleStyle ?? "default"), L = r(e.format ?? null), B = r(a.utils.isNumeric(e.maxNumber) ? Number(e.maxNumber) : null), A = r(a.utils.isNumeric(e.minNumber) ? Number(e.minNumber) : null), K = r(a.utils.isInteger(e.roundNumber) || a.utils.isNegativeInteger(e.roundNumber) || e.roundNumber === "0" ? Number(e.roundNumber) : null), De = f(() => {
|
|
326
325
|
switch (s.value) {
|
|
327
326
|
case u.number:
|
|
328
327
|
return B.value ?? void 0;
|
|
@@ -333,20 +332,19 @@ const wn = {
|
|
|
333
332
|
default:
|
|
334
333
|
return;
|
|
335
334
|
}
|
|
336
|
-
}), f(() => s.value === u.number ?
|
|
337
|
-
const E = r(a.utils.isPositiveInteger(e.maxLength) ? Number(e.maxLength) : null), D = r(a.utils.isPositiveInteger(e.maxByte) ? Number(e.maxByte) : null), re = (t) => {
|
|
335
|
+
}), Ve = f(() => s.value === u.number ? A.value ?? void 0 : void 0), E = r(a.utils.isPositiveInteger(e.maxLength) ? Number(e.maxLength) : null), D = r(a.utils.isPositiveInteger(e.maxByte) ? Number(e.maxByte) : null), re = (t) => {
|
|
338
336
|
switch (t) {
|
|
339
337
|
case u.number:
|
|
340
338
|
case u.digit:
|
|
341
|
-
return
|
|
339
|
+
return F.right;
|
|
342
340
|
case u.date:
|
|
343
341
|
case u.month:
|
|
344
342
|
case u.time:
|
|
345
|
-
return
|
|
343
|
+
return F.center;
|
|
346
344
|
default:
|
|
347
|
-
return
|
|
345
|
+
return F.left;
|
|
348
346
|
}
|
|
349
|
-
}, V = r(e.textAlign ?? re(s.value)),
|
|
347
|
+
}, V = r(e.textAlign ?? re(s.value)), qe = f(() => ({ textAlign: V.value })), U = r(e.border ?? !0), Ke = (t) => (t = String(t), E.value && (t = t.substring(0, E.value)), D.value && (t = a.utils.getCutByteLength(t, D.value)), t), Re = (t) => t === "" || typeof t == "string" && t.trim() === "" || (t = Number(t), Number.isNaN(t)) ? null : (B.value !== null && t > B.value && (t = B.value), A.value !== null && t < A.value && (t = A.value), K.value !== null && (t = a.utils.getRound(t, K.value)), t), de = (t) => {
|
|
350
348
|
if (oe(t))
|
|
351
349
|
return s.value === u.checkbox || s.value === u.radio ? !1 : t;
|
|
352
350
|
try {
|
|
@@ -357,10 +355,10 @@ const wn = {
|
|
|
357
355
|
case u.mask:
|
|
358
356
|
case u.digit:
|
|
359
357
|
case u.textarea:
|
|
360
|
-
s.value === u.mask && (t =
|
|
358
|
+
s.value === u.mask && (t = Cn(t, L.value ?? "")), s.value === u.digit && (t = Tn(t)), t = Ke(t);
|
|
361
359
|
break;
|
|
362
360
|
case u.number:
|
|
363
|
-
s.value === u.number && (t =
|
|
361
|
+
s.value === u.number && (t = Re(t));
|
|
364
362
|
break;
|
|
365
363
|
case u.date:
|
|
366
364
|
t && (t = a.utils.getDateWithFormat(t, pe.DateFormat["yyyy-MM-dd"]));
|
|
@@ -381,7 +379,7 @@ const wn = {
|
|
|
381
379
|
console.warn("[HInput] Failed to format value", t, i);
|
|
382
380
|
}
|
|
383
381
|
return t;
|
|
384
|
-
}, l = r(de(e.modelValue)),
|
|
382
|
+
}, l = r(de(e.modelValue)), ze = f(() => l.value), T = r(null), H = r(e.visible), O = r(e.title ?? ""), W = r(e.nullText ?? ""), h = r(e.editMode), Ue = f(() => h.value === ee.disable), ne = f(() => h.value === ee.readonly), He = f(() => U.value && !ne.value ? "hison-border" : ""), Oe = f(() => h.value !== ee.editable ? [`hison-input-${h.value}`, `hison-input-${se.value}-${h.value}`] : []), j = r(e.required), We = f(() => j.value ? ["hison-input-required", `hison-input-${se.value}-required`] : []), Y = r(e.placeholder ?? ""), Q = r(e.placeholderColor ?? "primary"), je = (t) => {
|
|
385
383
|
if (!t) return null;
|
|
386
384
|
const i = t.trim();
|
|
387
385
|
return [
|
|
@@ -397,18 +395,18 @@ const wn = {
|
|
|
397
395
|
"custom4",
|
|
398
396
|
"custom5"
|
|
399
397
|
].includes(i) ? `var(--hison-${i}-emptyTextColor)` : i;
|
|
400
|
-
},
|
|
401
|
-
const t =
|
|
398
|
+
}, Ye = f(() => {
|
|
399
|
+
const t = je(Q.value);
|
|
402
400
|
return t ? { "--hison-input-placeholder-color": t } : {};
|
|
403
|
-
}), X = r(e.fontBold),
|
|
401
|
+
}), X = r(e.fontBold), Qe = f(() => {
|
|
404
402
|
if (X.value) return "hison-font-bold";
|
|
405
|
-
}), J = r(e.fontItalic),
|
|
403
|
+
}), J = r(e.fontItalic), Xe = f(() => {
|
|
406
404
|
if (J.value) return "hison-font-italic";
|
|
407
|
-
}), Z = r(e.fontThruline),
|
|
405
|
+
}), Z = r(e.fontThruline), Je = f(() => {
|
|
408
406
|
if (Z.value) return "hison-font-thruline";
|
|
409
|
-
}), G = r(e.fontUnderline),
|
|
407
|
+
}), G = r(e.fontUnderline), Ze = f(() => {
|
|
410
408
|
if (G.value) return "hison-font-underline";
|
|
411
|
-
}),
|
|
409
|
+
}), Ge = f(() => H.value ? "" : "hison-display-none"), ae = r(!1), w = r(!1), x = r(
|
|
412
410
|
e.tabIndex !== null && e.tabIndex !== "" ? Number(e.tabIndex) : null
|
|
413
411
|
), c = r(!!e.disableAutoCapitalize), Me = ve("registerToInputGroup", null), d = ve("notifyInputGroupStatus", null), R = ve("radioMembershipChanged", null), me = (t) => {
|
|
414
412
|
if (s.value === u.checkbox || s.value === u.radio)
|
|
@@ -443,30 +441,30 @@ const wn = {
|
|
|
443
441
|
console.warn("[HInput] Failed to format value", t, M), i = "";
|
|
444
442
|
}
|
|
445
443
|
return i;
|
|
446
|
-
}, _ = r(""),
|
|
444
|
+
}, _ = r(""), xe = (t) => {
|
|
447
445
|
h.value === ee.editable && (ae.value = !0), $e(() => {
|
|
448
446
|
var i;
|
|
449
447
|
(i = C.value) == null || i.focus();
|
|
450
448
|
});
|
|
451
|
-
},
|
|
449
|
+
}, ce = (t) => {
|
|
452
450
|
let i = C.value.value;
|
|
453
451
|
(s.value === u.mask || s.value === u.digit || (E.value || D.value) && (s.value === u.text || s.value === u.email || s.value === u.password || s.value === u.textarea)) && (i = de(i), C.value.value = i), l.value = i, w.value = !0, d == null || d(v, l.value), n("input", t, k.value, l.value), n("update:modelValue", l.value);
|
|
454
|
-
},
|
|
452
|
+
}, _e = (t) => {
|
|
455
453
|
T.value = l.value, n("focus", t, k.value);
|
|
456
|
-
},
|
|
454
|
+
}, en = (t) => {
|
|
457
455
|
T.value !== l.value && (p(l.value, !0, !0), w.value = !0, d == null || d(v, l.value)), ae.value = !1, n("blur", t, k.value);
|
|
458
456
|
}, p = (t, i = !0, M = !1) => {
|
|
459
457
|
l.value = i ? de(t) : t, _.value = me(l.value), s.value === u.checkbox || s.value === u.radio ? C.value.checked = !!l.value : C.value.value = l.value, M && n("change", T.value, l.value, k.value);
|
|
460
|
-
},
|
|
458
|
+
}, nn = (t) => {
|
|
461
459
|
const i = t.target;
|
|
462
460
|
p(i.value, !1, !0), w.value = !0, d == null || d(v, l.value), n("update:modelValue", l.value);
|
|
463
|
-
},
|
|
461
|
+
}, on = (t) => {
|
|
464
462
|
const i = t.target;
|
|
465
463
|
p(i.value, !1, !0), w.value = !0, d == null || d(v, l.value), n("update:modelValue", l.value);
|
|
466
|
-
},
|
|
464
|
+
}, tn = (t) => {
|
|
467
465
|
const i = t.target;
|
|
468
466
|
p(i.checked, !1, !0), w.value = !0, d == null || d(v, l.value), n("update:modelValue", l.value);
|
|
469
|
-
},
|
|
467
|
+
}, un = (t) => {
|
|
470
468
|
const i = t.target;
|
|
471
469
|
if (p(i.checked, !1, !0), w.value = !0, d && o.value) {
|
|
472
470
|
const M = i.checked ? N.value || v : null;
|
|
@@ -474,10 +472,10 @@ const wn = {
|
|
|
474
472
|
} else
|
|
475
473
|
d == null || d(v, l.value);
|
|
476
474
|
n("update:modelValue", l.value);
|
|
477
|
-
},
|
|
475
|
+
}, ln = (t) => {
|
|
478
476
|
const i = t.target;
|
|
479
477
|
p(i.value, !1, !0), w.value = !0, d == null || d(v, l.value), n("update:modelValue", l.value);
|
|
480
|
-
},
|
|
478
|
+
}, sn = (t) => {
|
|
481
479
|
if (ne.value && (t.code === "Space" || t.code === "Enter")) {
|
|
482
480
|
t.preventDefault(), t.stopPropagation();
|
|
483
481
|
return;
|
|
@@ -488,9 +486,9 @@ const wn = {
|
|
|
488
486
|
}
|
|
489
487
|
n("keydown", t, k.value);
|
|
490
488
|
}, ge = () => {
|
|
491
|
-
b.component.inputList[v] && b.component.inputList[v].isHisonvueComponent && console.warn(`[Hisonvue] The input ID is at risk of being duplicated. ${v}`),
|
|
489
|
+
b.component.inputList[v] && b.component.inputList[v].isHisonvueComponent && console.warn(`[Hisonvue] The input ID is at risk of being duplicated. ${v}`), kn(ue, () => {
|
|
492
490
|
be(), $e(ge);
|
|
493
|
-
}), C.value && (le(),
|
|
491
|
+
}), C.value && (le(), P.value && Bn(P.value), s.value !== u.checkbox && s.value !== u.radio && s.value !== u.range && s.value !== u.color && Fn(C.value), p(l.value, !1), k.value = {
|
|
494
492
|
isHisonvueComponent: !0,
|
|
495
493
|
getId: () => v,
|
|
496
494
|
getType: () => "input",
|
|
@@ -548,9 +546,9 @@ const wn = {
|
|
|
548
546
|
setMaxNumber: (t) => {
|
|
549
547
|
a.utils.isNumeric(t) && (B.value = t, T.value = l.value, s.value === u.number && p(l.value));
|
|
550
548
|
},
|
|
551
|
-
getMinNumber: () =>
|
|
549
|
+
getMinNumber: () => A.value,
|
|
552
550
|
setMinNumber: (t) => {
|
|
553
|
-
a.utils.isNumeric(t) && (
|
|
551
|
+
a.utils.isNumeric(t) && (A.value = t, T.value = l.value, s.value === u.number && p(l.value));
|
|
554
552
|
},
|
|
555
553
|
getRoundNumber: () => K.value,
|
|
556
554
|
setRoundNumber: (t) => {
|
|
@@ -595,7 +593,7 @@ const wn = {
|
|
|
595
593
|
},
|
|
596
594
|
getTextAlign: () => V.value,
|
|
597
595
|
setTextAlign: (t) => {
|
|
598
|
-
(t ===
|
|
596
|
+
(t === F.left || t === F.center || t === F.right) && (V.value = t);
|
|
599
597
|
},
|
|
600
598
|
isBorder: () => U.value,
|
|
601
599
|
setBorder: (t) => {
|
|
@@ -615,14 +613,14 @@ const wn = {
|
|
|
615
613
|
},
|
|
616
614
|
focus: () => {
|
|
617
615
|
var t;
|
|
618
|
-
|
|
616
|
+
P.value ? P.value.focus() : (t = C.value) == null || t.focus();
|
|
619
617
|
},
|
|
620
|
-
reload: () =>
|
|
618
|
+
reload: () => hn(ue)
|
|
621
619
|
}, b.component.inputList[v] = k.value, Me && Me(v), n("mounted", k.value));
|
|
622
620
|
}, be = () => {
|
|
623
|
-
|
|
621
|
+
wn(ue), delete b.component.inputList[v], s.value !== u.checkbox && s.value !== u.radio && s.value !== u.range && s.value !== u.color && Pn(C.value), P.value && An(P.value);
|
|
624
622
|
};
|
|
625
|
-
return
|
|
623
|
+
return dn(ge), an(be), m(fe, (t) => {
|
|
626
624
|
le(), n("responsive-change", t);
|
|
627
625
|
}), m(() => e.modelValue, (t) => {
|
|
628
626
|
t !== l.value && p(t, !0);
|
|
@@ -656,7 +654,7 @@ const wn = {
|
|
|
656
654
|
i !== B.value && (B.value = i, s.value === u.number && p(l.value));
|
|
657
655
|
}), m(() => e.minNumber, (t) => {
|
|
658
656
|
const i = a.utils.isNumeric(t) ? Number(t) : null;
|
|
659
|
-
i !==
|
|
657
|
+
i !== A.value && (A.value = i, s.value === u.number && p(l.value));
|
|
660
658
|
}), m(() => e.roundNumber, (t) => {
|
|
661
659
|
const i = a.utils.isInteger(t) || a.utils.isNegativeInteger(t) || t === "0" ? Number(t) : null;
|
|
662
660
|
i !== K.value && (K.value = i, s.value === u.number && p(l.value));
|
|
@@ -667,7 +665,7 @@ const wn = {
|
|
|
667
665
|
const i = a.utils.isPositiveInteger(t) ? Number(t) : null;
|
|
668
666
|
i !== D.value && (D.value = i, p(l.value));
|
|
669
667
|
}), m(() => e.textAlign, (t) => {
|
|
670
|
-
t && t !== V.value && (t ===
|
|
668
|
+
t && t !== V.value && (t === F.left || t === F.center || t === F.right) && (V.value = t);
|
|
671
669
|
}), m(() => e.border, (t) => {
|
|
672
670
|
const i = !!t;
|
|
673
671
|
i !== U.value && (U.value = i);
|
|
@@ -704,25 +702,25 @@ const wn = {
|
|
|
704
702
|
i !== z.value && (i === "default" || i === "switch") && (z.value = i);
|
|
705
703
|
}), {
|
|
706
704
|
inputRef: C,
|
|
707
|
-
inputTextRef:
|
|
708
|
-
inputMethods: f(() =>
|
|
709
|
-
inputValue:
|
|
705
|
+
inputTextRef: P,
|
|
706
|
+
inputMethods: f(() => mn(k)),
|
|
707
|
+
inputValue: ze,
|
|
710
708
|
editing: ae,
|
|
711
709
|
props: e,
|
|
712
710
|
id: v,
|
|
713
711
|
nameAttr: Se,
|
|
714
712
|
responsiveClassList: q,
|
|
715
|
-
visibleClass:
|
|
716
|
-
editModeClassList:
|
|
717
|
-
requiredClassList:
|
|
718
|
-
fontBoldClass:
|
|
719
|
-
fontItalicClass:
|
|
720
|
-
fontThrulineClass:
|
|
721
|
-
fontUnderlineClass:
|
|
722
|
-
textAlignStyle:
|
|
723
|
-
placeholderColorStyle:
|
|
724
|
-
borderClass:
|
|
725
|
-
disable:
|
|
713
|
+
visibleClass: Ge,
|
|
714
|
+
editModeClassList: Oe,
|
|
715
|
+
requiredClassList: We,
|
|
716
|
+
fontBoldClass: Qe,
|
|
717
|
+
fontItalicClass: Xe,
|
|
718
|
+
fontThrulineClass: Je,
|
|
719
|
+
fontUnderlineClass: Ze,
|
|
720
|
+
textAlignStyle: qe,
|
|
721
|
+
placeholderColorStyle: Ye,
|
|
722
|
+
borderClass: He,
|
|
723
|
+
disable: Ue,
|
|
726
724
|
readonly: ne,
|
|
727
725
|
inputType: s,
|
|
728
726
|
inputExpressionType: se,
|
|
@@ -730,25 +728,29 @@ const wn = {
|
|
|
730
728
|
title: O,
|
|
731
729
|
placeholder: Y,
|
|
732
730
|
maxNumber: B,
|
|
733
|
-
minNumber:
|
|
731
|
+
minNumber: A,
|
|
732
|
+
// ⚠️ setup() 스타일이라 return에 없으면 템플릿 바인딩이 undefined로 풀림 —
|
|
733
|
+
// v1.1.38에서 이 두 개가 누락되어 date max가 실제로 안 붙던 버그 수정
|
|
734
|
+
nativeMaxAttr: De,
|
|
735
|
+
nativeMinAttr: Ve,
|
|
734
736
|
spanText: _,
|
|
735
737
|
toggleStyle: z,
|
|
736
738
|
tabIndex: x,
|
|
737
739
|
disableAutoCapitalize: c,
|
|
738
|
-
onInput:
|
|
739
|
-
onTextInputFocus:
|
|
740
|
-
onFocus:
|
|
741
|
-
onBlur:
|
|
742
|
-
onRangeChange:
|
|
743
|
-
onColorChange:
|
|
744
|
-
onCheckboxChange:
|
|
745
|
-
onRadioChange:
|
|
746
|
-
onSelectChange:
|
|
747
|
-
onKeydown:
|
|
740
|
+
onInput: ce,
|
|
741
|
+
onTextInputFocus: xe,
|
|
742
|
+
onFocus: _e,
|
|
743
|
+
onBlur: en,
|
|
744
|
+
onRangeChange: nn,
|
|
745
|
+
onColorChange: on,
|
|
746
|
+
onCheckboxChange: tn,
|
|
747
|
+
onRadioChange: un,
|
|
748
|
+
onSelectChange: ln,
|
|
749
|
+
onKeydown: sn
|
|
748
750
|
};
|
|
749
751
|
}
|
|
750
|
-
}),
|
|
751
|
-
function
|
|
752
|
+
}), Sn = ["id", "name", "value", "disabled", "readonly", "title", "tabindex"], En = ["id", "name", "value", "disabled", "readonly", "checked", "title", "tabindex"], Dn = ["id", "name", "disabled", "readonly", "checked", "title", "tabindex"], Vn = ["id", "name", "disabled", "readonly", "checked", "title", "tabindex"], qn = ["id", "name", "disabled", "readonly", "checked", "title", "tabindex"], Kn = ["id", "name", "disabled", "readonly", "checked", "title", "tabindex"], Rn = ["id", "name", "value", "disabled", "readonly", "title", "tabindex"], zn = ["value"], Un = ["id", "name", "value", "disabled", "readonly", "placeholder", "title", "maxlength", "tabindex", "autocapitalize", "autocorrect", "spellcheck"], Hn = ["id", "name", "value", "disabled", "readonly", "title", "placeholder", "tabindex", "autocapitalize", "autocorrect", "spellcheck"], On = ["id", "name", "value", "disabled", "readonly", "type", "title", "placeholder", "max", "min", "inputmode", "tabindex", "autocapitalize", "autocorrect", "spellcheck"];
|
|
753
|
+
function Wn(e, n, C, P, k, v) {
|
|
752
754
|
return y(), $("div", {
|
|
753
755
|
class: g([
|
|
754
756
|
"hison-wrapper",
|
|
@@ -802,7 +804,7 @@ function Hn(e, n, C, A, k, v) {
|
|
|
802
804
|
onTouchmove: n[19] || (n[19] = (o) => e.$emit("touchmove", o, e.inputMethods)),
|
|
803
805
|
onTouchcancel: n[20] || (n[20] = (o) => e.$emit("touchcancel", o, e.inputMethods)),
|
|
804
806
|
onContextmenu: n[21] || (n[21] = (o) => e.$emit("contextmenu", o, e.inputMethods))
|
|
805
|
-
}, null, 42,
|
|
807
|
+
}, null, 42, Sn)
|
|
806
808
|
], 4)) : e.inputType === "color" ? (y(), $("div", {
|
|
807
809
|
key: 1,
|
|
808
810
|
class: g([
|
|
@@ -849,7 +851,7 @@ function Hn(e, n, C, A, k, v) {
|
|
|
849
851
|
onTouchmove: n[41] || (n[41] = (o) => e.$emit("touchmove", o, e.inputMethods)),
|
|
850
852
|
onTouchcancel: n[42] || (n[42] = (o) => e.$emit("touchcancel", o, e.inputMethods)),
|
|
851
853
|
onContextmenu: n[43] || (n[43] = (o) => e.$emit("contextmenu", o, e.inputMethods))
|
|
852
|
-
}, null, 42,
|
|
854
|
+
}, null, 42, En)
|
|
853
855
|
], 4)) : e.inputType === "checkbox" ? (y(), $("div", {
|
|
854
856
|
key: 2,
|
|
855
857
|
class: g([
|
|
@@ -896,7 +898,7 @@ function Hn(e, n, C, A, k, v) {
|
|
|
896
898
|
onTouchmove: n[63] || (n[63] = (o) => e.$emit("touchmove", o, e.inputMethods)),
|
|
897
899
|
onTouchcancel: n[64] || (n[64] = (o) => e.$emit("touchcancel", o, e.inputMethods)),
|
|
898
900
|
onContextmenu: n[65] || (n[65] = (o) => e.$emit("contextmenu", o, e.inputMethods))
|
|
899
|
-
}, null, 42,
|
|
901
|
+
}, null, 42, Dn)) : (y(), $("label", {
|
|
900
902
|
key: 1,
|
|
901
903
|
class: g(["hison-input-checkbox-switch", ...e.editModeClassList])
|
|
902
904
|
}, [
|
|
@@ -933,7 +935,7 @@ function Hn(e, n, C, A, k, v) {
|
|
|
933
935
|
onTouchmove: n[85] || (n[85] = (o) => e.$emit("touchmove", o, e.inputMethods)),
|
|
934
936
|
onTouchcancel: n[86] || (n[86] = (o) => e.$emit("touchcancel", o, e.inputMethods)),
|
|
935
937
|
onContextmenu: n[87] || (n[87] = (o) => e.$emit("contextmenu", o, e.inputMethods))
|
|
936
|
-
}, null, 40,
|
|
938
|
+
}, null, 40, Vn),
|
|
937
939
|
S("span", {
|
|
938
940
|
class: g(["hison-switch-visual", [
|
|
939
941
|
...e.editModeClassList,
|
|
@@ -986,7 +988,7 @@ function Hn(e, n, C, A, k, v) {
|
|
|
986
988
|
onTouchmove: n[107] || (n[107] = (o) => e.$emit("touchmove", o, e.inputMethods)),
|
|
987
989
|
onTouchcancel: n[108] || (n[108] = (o) => e.$emit("touchcancel", o, e.inputMethods)),
|
|
988
990
|
onContextmenu: n[109] || (n[109] = (o) => e.$emit("contextmenu", o, e.inputMethods))
|
|
989
|
-
}, null, 42,
|
|
991
|
+
}, null, 42, qn)) : (y(), $("label", {
|
|
990
992
|
key: 1,
|
|
991
993
|
class: g(["hison-input-radio-switch", ...e.editModeClassList])
|
|
992
994
|
}, [
|
|
@@ -1023,7 +1025,7 @@ function Hn(e, n, C, A, k, v) {
|
|
|
1023
1025
|
onTouchmove: n[129] || (n[129] = (o) => e.$emit("touchmove", o, e.inputMethods)),
|
|
1024
1026
|
onTouchcancel: n[130] || (n[130] = (o) => e.$emit("touchcancel", o, e.inputMethods)),
|
|
1025
1027
|
onContextmenu: n[131] || (n[131] = (o) => e.$emit("contextmenu", o, e.inputMethods))
|
|
1026
|
-
}, null, 40,
|
|
1028
|
+
}, null, 40, Kn),
|
|
1027
1029
|
S("span", {
|
|
1028
1030
|
class: g(["hison-switch-visual", [
|
|
1029
1031
|
...e.editModeClassList,
|
|
@@ -1077,11 +1079,11 @@ function Hn(e, n, C, A, k, v) {
|
|
|
1077
1079
|
onTouchcancel: n[152] || (n[152] = (o) => e.$emit("touchcancel", o, e.inputMethods)),
|
|
1078
1080
|
onContextmenu: n[153] || (n[153] = (o) => e.$emit("contextmenu", o, e.inputMethods))
|
|
1079
1081
|
}, [
|
|
1080
|
-
(y(!0), $(Ce, null,
|
|
1082
|
+
(y(!0), $(Ce, null, vn(e.props.options, (o) => (y(), $("option", {
|
|
1081
1083
|
key: o.value,
|
|
1082
1084
|
value: o.value
|
|
1083
|
-
}, Te(o.text), 9,
|
|
1084
|
-
], 46,
|
|
1085
|
+
}, Te(o.text), 9, zn))), 128))
|
|
1086
|
+
], 46, Rn)) : e.inputType === "textarea" ? (y(), $("textarea", {
|
|
1085
1087
|
key: 5,
|
|
1086
1088
|
ref: "inputRef",
|
|
1087
1089
|
id: `${e.id}`,
|
|
@@ -1111,7 +1113,7 @@ function Hn(e, n, C, A, k, v) {
|
|
|
1111
1113
|
onInput: n[154] || (n[154] = (...o) => e.onInput && e.onInput(...o)),
|
|
1112
1114
|
onFocus: n[155] || (n[155] = (...o) => e.onFocus && e.onFocus(...o)),
|
|
1113
1115
|
onBlur: n[156] || (n[156] = (...o) => e.onBlur && e.onBlur(...o))
|
|
1114
|
-
}, Te(e.inputValue), 47,
|
|
1116
|
+
}, Te(e.inputValue), 47, Un)) : (y(), $(Ce, { key: 6 }, [
|
|
1115
1117
|
ke(S("input", {
|
|
1116
1118
|
ref: "inputTextRef",
|
|
1117
1119
|
id: `input_text_${e.id}`,
|
|
@@ -1157,7 +1159,7 @@ function Hn(e, n, C, A, k, v) {
|
|
|
1157
1159
|
onTouchend: n[173] || (n[173] = (o) => e.$emit("touchend", o, e.inputMethods)),
|
|
1158
1160
|
onTouchmove: n[174] || (n[174] = (o) => e.$emit("touchmove", o, e.inputMethods)),
|
|
1159
1161
|
onTouchcancel: n[175] || (n[175] = (o) => e.$emit("touchcancel", o, e.inputMethods))
|
|
1160
|
-
}, null, 46,
|
|
1162
|
+
}, null, 46, Hn), [
|
|
1161
1163
|
[he, !e.editing]
|
|
1162
1164
|
]),
|
|
1163
1165
|
ke(S("input", {
|
|
@@ -1201,13 +1203,13 @@ function Hn(e, n, C, A, k, v) {
|
|
|
1201
1203
|
onPaste: n[190] || (n[190] = (o) => e.$emit("paste", o, e.inputMethods)),
|
|
1202
1204
|
onWheel: n[191] || (n[191] = (o) => e.$emit("wheel", o, e.inputMethods)),
|
|
1203
1205
|
onContextmenu: n[192] || (n[192] = (o) => e.$emit("contextmenu", o, e.inputMethods))
|
|
1204
|
-
}, null, 46,
|
|
1206
|
+
}, null, 46, On), [
|
|
1205
1207
|
[he, e.editing]
|
|
1206
1208
|
])
|
|
1207
1209
|
], 64))
|
|
1208
1210
|
], 2);
|
|
1209
1211
|
}
|
|
1210
|
-
const
|
|
1212
|
+
const Xn = /* @__PURE__ */ Nn(In, [["render", Wn], ["__scopeId", "data-v-5e53dcf4"]]);
|
|
1211
1213
|
export {
|
|
1212
|
-
|
|
1214
|
+
Xn as default
|
|
1213
1215
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("vue"),r=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("vue"),r=require("./index-DvM-XIAr.js"),W=require("./_plugin-vue_export-helper-BHFhmbuH.js"),z={id:{type:String,required:!1},editMode:{type:String,required:!1,validator:i=>i==null||r.EDIT_MODE_VALUES.includes(i)},status:{type:String,required:!1,default:r.DataStatus.R,validator:i=>r.DATA_STATUS_VALUES.includes(i)},modelValue:{type:Object,default:()=>({})}},F=s.defineComponent({name:"HInputGroup",props:z,emits:["update:modelValue","mounted"],setup(i,{emit:E}){const U=s.ref(null),R=s.ref(null),D=i.id??r.getUUID(),K=`hinputGroup:${D}`,C=s.ref(i.editMode??r.EditMode.editable),h=s.ref(i.status??r.DataStatus.R),d=s.ref([]),f=s.ref({}),S=s.ref({}),O=s.ref({}),v=s.ref(!1),V=s.ref(null),m=s.ref(!1);let H=0;const j=()=>{const e=++H;s.nextTick(()=>{e===H&&(V.value=null,m.value=!1)})},k=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),y=e=>r.hison.component.getInput(e),p=e=>{var u;const t=y(e),o=(((u=t==null?void 0:t.getDataKey)==null?void 0:u.call(t))??"").toString().trim(),l=o||e;return O.value[e]=l,l},x=e=>{var o;const t=y(e);return((o=t==null?void 0:t.getInputType)==null?void 0:o.call(t))==="radio"},q=()=>{const e={};d.value.forEach(o=>{const l=p(o);e[l]||(e[l]=[]),e[l].push(o)}),Object.entries(e).forEach(([o,l])=>{l.length>1&&console.warn(`[Hisonvue] Duplicate dataKey detected in HInputGroup(${D}). dataKey=${o} inputIds=${l.join(",")}`)});const t={};d.value.forEach(o=>{if(x(o))return;const l=p(o);t[l]||(t[l]=[]),t[l].push(o)}),Object.keys(f.value).forEach(o=>{const l=t[o];l&&l.length>0&&console.warn(`[Hisonvue] Key collision detected in HInputGroup(${D}). radioGroupName=${o} conflictsWithInputDataKeyOf=${l.join(",")}`)})},L=(e,t)=>{if(t==null||typeof t!="string")return null;const o=t.trim();if(!o)return null;const l=f.value[e]||[];if(l.includes(o))return p(o);for(const u of l)if(p(u)===o)return o;return null},T=(e,t)=>{(f.value[e]||[]).forEach(l=>{var n;const u=y(l);if(!u)return;const a=p(l);(n=u.setValue)==null||n.call(u,t!=null&&a===t)}),S.value[e]=t},G=(e,t)=>{if(!e||typeof e!="object"||(t&&(V.value={...e},m.value=!1),!d.value||d.value.length===0))return;const o={};v.value=!0;try{d.value.forEach(a=>{var _,c,g;const n=y(a);if(!n||((_=n.getInputType)==null?void 0:_.call(n))==="radio")return;const M=p(a);if(k(e,M)){const b=e[M];(c=n.setValue)==null||c.call(n,b),o[M]=b}else if(k(e,a)){const b=e[a];(g=n.setValue)==null||g.call(n,b),o[M]=b}});for(const[a]of Object.entries(f.value)){if(!k(e,a))continue;const n=L(a,e[a]);T(a,n),o[a]=n}}finally{v.value=!1}if(!t)return;const l=Object.keys(o);if(l.length===0)return;const u={...i.modelValue||{}};l.forEach(a=>{u[a]=o[a]}),E("update:modelValue",u),m.value=!0,j()},B=e=>G(e,!1),$=e=>G(e,!0);s.provide("registerToInputGroup",e=>{var l,u,a,n,M,_;if(d.value.includes(e))return;d.value.push(e),d.value.sort((c,g)=>c.localeCompare(g)),p(e);const t=y(e),o=i.modelValue||{};if(t&&((l=t.getInputType)==null?void 0:l.call(t))!=="radio"){const c=p(e);if(k(o,c)){v.value=!0;try{(u=t.setValue)==null||u.call(t,o[c])}finally{v.value=!1}}else if(k(o,e)){v.value=!0;try{(a=t.setValue)==null||a.call(t,o[e])}finally{v.value=!1}}if(q(),V.value){const g=V.value;m.value?(G(g,!1),j()):G(g,!0)}return}if(t&&((n=t.getInputType)==null?void 0:n.call(t))==="radio"){const c=((M=t.getName)==null?void 0:M.call(t))||e;if(f.value[c]||(f.value[c]=[]),f.value[c].includes(e)||f.value[c].push(e),k(o,c)){const g=L(c,o[c]);v.value=!0;try{T(c,g)}finally{v.value=!1}}else{const g=p(e);if((_=t.getValue)!=null&&_.call(t)){v.value=!0;try{T(c,g)}finally{v.value=!1}}else k(S.value,c)||(S.value[c]=null)}if(q(),V.value){const g=V.value;m.value?(G(g,!1),j()):G(g,!0)}}}),s.provide("radioMembershipChanged",(e,t,o,l)=>{if(t===o)return;const u=p(e);if(t&&f.value[t]){if(f.value[t]=f.value[t].filter(a=>a!==e),S.value[t]===u){S.value[t]=null;const a={...i.modelValue||{}};a[t]=null,E("update:modelValue",a,e)}f.value[t].length===0&&(delete f.value[t],delete S.value[t])}if(f.value[o]||(f.value[o]=[]),f.value[o].includes(e)||f.value[o].push(e),l){v.value=!0;try{T(o,u)}finally{v.value=!1}const a={...i.modelValue||{}};a[o]=u,E("update:modelValue",a,e),h.value!==r.DataStatus.U&&(h.value=r.DataStatus.U)}else k(S.value,o)||(S.value[o]=null);q()}),s.provide("notifyInputGroupStatus",(e,t)=>{if(v.value)return;if(f.value[e]){const u=e,n=L(u,typeof t=="string"?t:null);v.value=!0;try{T(u,n)}finally{v.value=!1}const M={...i.modelValue||{}};M[u]=n,E("update:modelValue",M,n??void 0),h.value!==r.DataStatus.U&&(h.value=r.DataStatus.U);return}h.value!==r.DataStatus.U&&(h.value=r.DataStatus.U);const o=p(e),l={...i.modelValue||{}};l[o]=t,E("update:modelValue",l,e)});const P=()=>{const e={};if(!d.value)return e;d.value.forEach(t=>{var u,a;const o=y(t);if(!o||((u=o.getInputType)==null?void 0:u.call(o))==="radio")return;const l=p(t);e[l]=(a=o.getValue)==null?void 0:a.call(o)});for(const[t,o]of Object.entries(f.value)){let l=S.value[t]??null;if(l){let u=!1;for(const a of o)if(p(a)===l){u=!0;break}u||(l=null)}e[t]=l}return e},I=e=>{B(e)},w=()=>{r.hisonCloser.component.inputGroupList[D]&&r.hisonCloser.component.inputGroupList[D].isHisonvueComponent&&console.warn(`[Hisonvue] The input group ID is at risk of being duplicated. ${D}`),r.registerReloadable(K,()=>{A(),setTimeout(w)}),U.value&&(R.value={isHisonvueComponent:!0,getId:()=>D,getType:()=>"inputGroup",clear:(e=!0)=>{v.value=!0;try{d.value.forEach(t=>{const o=y(t);o&&o.setValue(null)})}finally{v.value=!1}e&&(h.value=r.DataStatus.C)},getDataModel:()=>new r.hison.data.DataModel(P()),setDataModel:e=>{e.getRowCount()>0&&$(e.getRow(0))},getDataObject:()=>P(),setDataObject:e=>{$(e)},load:e=>{if(e&&e.getIsDataModel&&e.getIsDataModel()){const t=e;if(t.getColumnCount()===0||t.getRowCount()===0)return;$(t.getRow(0))}else e&&typeof e=="object"&&$(e)},getStatus:()=>h.value,setStatus:e=>{h.value=r.DataStatus[e]},isModified:()=>{for(const e of d.value){const t=y(e);if(t&&t.isModified())return!0}return!1},initModified:()=>{d.value.forEach(e=>{const t=y(e);t&&t.setModified(!1)})},checkRequired:()=>{var e,t;for(const o of d.value){const l=y(o);if(!((e=l==null?void 0:l.getRequired)!=null&&e.call(l)))continue;const u=(t=l.getValue)==null?void 0:t.call(l);if(u==null||typeof u=="string"&&u.trim()==="")return l}return null},getEditMode:()=>C.value,setEditMode:e=>{C.value=e,d.value.forEach(t=>{const o=y(t);o&&o.setEditMode(e)})},focus:e=>{var t;if(e)return(t=y(e))==null?void 0:t.focus();for(const o of d.value){const l=y(o);if(l&&l.getEditMode()===r.EditMode.editable)return l.focus()}},reload:()=>r.reloadHisonComponent(K)},r.hisonCloser.component.inputGroupList[D]=R.value,E("mounted",R.value))},A=()=>{r.unregisterReloadable(K),delete r.hisonCloser.component.inputGroupList[D],d.value=[],f.value={},S.value={},O.value={},V.value=null,m.value=!1,H=0};return s.onMounted(w),s.onBeforeUnmount(A),s.watch(()=>i.modelValue,e=>{!e||typeof e!="object"||I(e)},{deep:!0}),s.watch(()=>i.editMode,e=>{e&&e!==C.value&&(C.value=e,d.value.forEach(t=>{var o,l;return(l=(o=y(t))==null?void 0:o.setEditMode)==null?void 0:l.call(o,C.value)}))}),s.watch(()=>i.status,e=>{e&&e!==h.value&&(h.value=e)}),{inputGroupRef:U,props:i}}}),J={ref:"inputGroupRef",class:"hison-data-group"};function Q(i,E,U,R,D,K){return s.openBlock(),s.createElementBlock("div",J,[s.renderSlot(i.$slots,"default")],512)}const X=W._export_sfc(F,[["render",Q]]);exports.default=X;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as J, ref as p, provide as P, onMounted as Q, onBeforeUnmount as Z, watch as q, nextTick as N, openBlock as ee, createElementBlock as te, renderSlot as le } from "vue";
|
|
2
|
-
import { X as D, Y as oe, A as ue, g as ae, E as W, l as X, h as U, r as ne, c as se, d as re } from "./index-
|
|
2
|
+
import { X as D, Y as oe, A as ue, g as ae, E as W, l as X, h as U, r as ne, c as se, d as re } from "./index-CjHzPazZ.mjs";
|
|
3
3
|
import { _ as ie } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
4
4
|
const ce = {
|
|
5
5
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),a=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),a=require("./index-DvM-XIAr.js"),N=require("./setButtonCssEvent-C2lqu16u.js"),ie=require("./_plugin-vue_export-helper-BHFhmbuH.js"),ce={id:{type:String,required:!1},class:{type:[String,Array,Object],required:!1},style:{type:[String,Object,Array],required:!1},visible:{type:Boolean,default:!0},title:{type:String,required:!1},text:{type:String,required:!1},href:{type:String,default:null},anchorAttrs:{type:Object,default:()=>({})},fontBold:{type:Boolean,default:!1},fontItalic:{type:Boolean,default:!1},fontThruline:{type:Boolean,default:!1},fontUnderline:{type:Boolean,default:!1},textAlign:{type:String,default:null,validator:l=>l==null||a.TEXT_ALIGN_VALUES.includes(l)},border:{type:Boolean,default:!1},backgroundType:{type:String,default:a.BackgroundType.empty,validator:l=>a.BACKGROUND_TYPE_VALUES.includes(l)},toggleTarget:{type:String,default:null},translate:{type:Boolean,default:!0},tabIndex:{type:[Number,String],default:null,validator:l=>l===null||l===""||!isNaN(+l)&&isFinite(+l)}},de=t.defineComponent({name:"HLabel",props:ce,inheritAttrs:!1,emits:["mounted","responsive-change","click","mousedown","mouseup","mouseover","mouseout"],setup(l,{emit:s,slots:z}){const g=t.ref(null),h=t.ref(null),i=l.id?l.id:a.getUUID(),u=`hlabel:${i}`,q=a.useDevice(),U=t.useSlots(),y=t.ref(l.visible),d=t.ref(l.title||""),C=t.ref(l.textAlign??a.TextAlign.left),J=t.computed(()=>({textAlign:C.value})),f=t.ref(l.href??null),r=t.ref({...l.anchorAttrs||{}}),m=t.computed(()=>!!(f.value&&String(f.value).trim())),X=t.computed(()=>{const e={...r.value};return d.value&&e.title==null&&(e.title=d.value),e.href=f.value||void 0,e.download===!0&&(e.download=""),String(e.target||"")==="_blank"&&(e.rel==null||String(e.rel).trim()==="")&&(e.rel="noopener noreferrer"),e}),M=t.computed(()=>U.default?U.default():[]),H=t.computed(()=>M.value.length>0&&M.value.every(e=>e.type===t.Text)),A=t.computed(()=>!!U.default&&!H.value),Y=t.computed(()=>A.value?"div":m.value?"a":"span"),p=t.ref(l.fontBold),Q=t.computed(()=>{if(p.value)return"hison-font-bold"}),k=t.ref(l.fontItalic),W=t.computed(()=>{if(k.value)return"hison-font-italic"}),B=t.ref(l.fontThruline),Z=t.computed(()=>{if(B.value)return"hison-font-thruline-important"}),w=t.ref(l.fontUnderline),_=t.computed(()=>{if(w.value)return"hison-font-underline-important"}),S=t.ref(l.border??!1),I=t.ref(l.backgroundType||a.BackgroundType.empty),ee=t.computed(()=>y.value?"":"hison-display-none"),te=t.computed(()=>S.value?"hison-border":""),le=t.computed(()=>{switch(I.value){case a.BackgroundType.empty:return"hison-bg-empty";case a.BackgroundType.transparent:return"hison-bg-transparent";default:return"hison-bg-filled"}}),c=t.ref(l.text||"");t.onMounted(()=>{if(H.value){const e=M.value.map(n=>String(n.children??"")).join("");c.value=e}});const v=t.ref(l.toggleTarget??null),b=t.computed(()=>!!(v.value&&String(v.value).trim())),T=t.ref(l.translate),ne=t.computed(()=>T.value===!1?"notranslate":""),ae=t.computed(()=>T.value===!1?"no":void 0),x=t.ref(l.tabIndex!==null&&l.tabIndex!==""?Number(l.tabIndex):null),E=t.ref([]),L=()=>{E.value=a.extractResponsiveClasses(a.toClassString(l.class)||"",q.value),a.addComponentNameToClass(E.value,"size",a.hisonCloser.componentStyle.size),a.addComponentNameToClass(E.value,"color","primary")},V=()=>{var D,R,j,G,P;if(!b.value)return;const e=String(v.value),n=document.getElementById(e);if(n&&(n.type==="checkbox"||n.type==="radio")&&!n.disabled){n.click();return}const o=(D=a.hisonCloser.component.inputList)==null?void 0:D[e];if(!o||!o.isHisonvueComponent)return;const F=(R=o.getInputType)==null?void 0:R.call(o),ue=(j=o.getEditMode)==null?void 0:j.call(o);if(F!=="checkbox"&&F!=="radio"||ue!=="editable")return;const re=!!((G=o.getValue)!=null&&G.call(o));(P=o.setValue)==null||P.call(o,F==="checkbox"?!re:!0,{emitModelValue:!0,emitChange:!0,notifyGroup:!0,markModified:!0})},oe=e=>{b.value&&V(),s("click",e,h.value)},se=e=>{if(b.value&&V(),!m.value)return;const n=g.value;n&&n.tagName==="A"&&n.click()},$=(e=!0)=>{const n=g.value;if(n){if(N.removeButtonCssEvent(n),b.value){N.addButtonCssEvent(n);return}e&&m.value&&n.tagName==="A"&&N.addButtonCssEvent(n)}},K=()=>{a.hisonCloser.component.labelList[i]&&a.hisonCloser.component.labelList[i].isHisonvueComponent&&console.warn(`[Hisonvue] The label ID is at risk of being duplicated. ${i}`),a.registerReloadable(u,()=>{O(),t.nextTick(K)}),L(),t.nextTick(()=>$(!0)),h.value={isHisonvueComponent:!0,getId:()=>i,getType:()=>"label",isVisible:()=>y.value,setVisible:e=>{y.value=e},getTitle:()=>d.value,setTitle:e=>{d.value=e},getText:()=>A.value?"":c.value,setText:e=>{A.value||(c.value=e)},getHref:()=>f.value??"",setHref:e=>{f.value=e??null},getAnchorAttrs:()=>({...r.value}),replaceAnchorAttrs:e=>{r.value={...e}},mergeAnchorAttrs:e=>{r.value={...r.value,...e}},setAnchorAttr:(e,n)=>{r.value={...r.value,[e]:n}},removeAnchorAttr:e=>{const n={...r.value};delete n[e],r.value=n},isFontBold:()=>p.value,setFontBold:e=>{p.value=e},isFontItalic:()=>k.value,setFontItalic:e=>{k.value=e},isFontThruline:()=>B.value,setFontThruline:e=>{B.value=e},isFontUnderline:()=>w.value,setFontUnderline:e=>{w.value=e},getTextAlign:()=>C.value,setTextAlign:e=>{(e===a.TextAlign.left||e===a.TextAlign.center||e===a.TextAlign.right)&&(C.value=e)},isBorder:()=>S.value,setBorder:e=>{S.value=e},getBackgroundType:()=>I.value,setBackgroundType:e=>{I.value=e},getToggleTarget:()=>v.value,setToggleTarget:e=>{v.value=e},isTranslate:()=>T.value,setTranslate:e=>{T.value=e},reload:()=>a.reloadHisonComponent(u),getTabIndex:()=>x.value,setTabIndex:e=>{x.value=e!=null?Number(e):null},focus:()=>{const e=g.value;e&&m.value&&e.tagName==="A"&&e.focus()}},a.hisonCloser.component.labelList[i]=h.value,s("mounted",h.value)},O=()=>{a.unregisterReloadable(u);const e=g.value;e&&N.removeButtonCssEvent(e),delete a.hisonCloser.component.labelList[i]};return t.onMounted(K),t.onBeforeUnmount(O),t.watch(q,e=>{L(),s("responsive-change",e)}),t.watch(m,e=>{t.nextTick(()=>$(e))},{flush:"post"}),t.watch(b,e=>{t.nextTick(()=>$(e))},{flush:"post"}),t.watch(()=>l.visible,e=>{const n=!!e;n!==y.value&&(y.value=n)}),t.watch(()=>l.title,e=>{const n=e??"";n!==d.value&&(d.value=n)}),t.watch(()=>l.text,e=>{if(!A.value){const n=e??"";n!==c.value&&(c.value=n)}}),t.watch(M,e=>{if(H.value){const n=e.map(o=>String(o.children??"")).join("");n!==c.value&&(c.value=n)}}),t.watch(()=>l.href,e=>{const n=e??null;n!==f.value&&(f.value=n)}),t.watch(()=>l.anchorAttrs,e=>{const n={...e||{}};JSON.stringify(n)!==JSON.stringify(r.value)&&(r.value=n)}),t.watch(()=>l.fontBold,e=>{const n=!!e;n!==p.value&&(p.value=n)}),t.watch(()=>l.fontItalic,e=>{const n=!!e;n!==k.value&&(k.value=n)}),t.watch(()=>l.fontThruline,e=>{const n=!!e;n!==B.value&&(B.value=n)}),t.watch(()=>l.fontUnderline,e=>{const n=!!e;n!==w.value&&(w.value=n)}),t.watch(()=>l.textAlign,e=>{e&&e!==C.value&&(e===a.TextAlign.left||e===a.TextAlign.center||e===a.TextAlign.right)&&(C.value=e)}),t.watch(()=>l.border,e=>{const n=!!e;n!==S.value&&(S.value=n)}),t.watch(()=>l.backgroundType,e=>{e&&e!==I.value&&(I.value=e)}),t.watch(()=>l.toggleTarget,e=>{const n=e??null;n!==v.value&&(v.value=n)}),t.watch(()=>l.translate,e=>{const n=!!e;n!==T.value&&(T.value=n)}),t.watch(()=>l.tabIndex,e=>{const n=e===null||e===""?null:Number(e);n!==x.value&&(x.value=n)}),t.watch(()=>l.class,()=>{L()}),{labelRef:g,labelMethods:t.computed(()=>t.unref(h)),props:l,title:d,hasHref:m,hasToggleTarget:b,hasElementSlot:A,renderTag:Y,internalText:c,computedAnchorAttrs:X,visibleClass:ee,fontBoldClass:Q,fontItalicClass:W,fontThrulineClass:Z,fontUnderlineClass:_,textAlignStyle:J,translateAttr:ae,translateClass:ne,borderClass:te,backgroundTypeClass:le,responsiveClassList:E,tabIndex:x,onClick:oe,onKeyActivate:se}}}),fe={key:2,class:"hison-label-text"};function ve(l,s,z,g,h,i){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["hison-wrapper",...l.responsiveClassList,l.visibleClass])},[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(l.renderTag),t.mergeProps({ref:"labelRef",class:["hison-label",l.hasHref?"hison-label-link":null,l.hasToggleTarget?"hison-label-has-toggle-target":null,l.fontBoldClass,l.fontItalicClass,l.fontThrulineClass,l.fontUnderlineClass,l.borderClass,l.backgroundTypeClass,l.translateClass],style:[l.textAlignStyle,l.props.style],title:l.title||void 0,tabindex:l.tabIndex??void 0,translate:l.translateAttr},l.renderTag==="a"?l.computedAnchorAttrs:void 0,{onClick:l.onClick,onMousedown:s[0]||(s[0]=u=>l.$emit("mousedown",u,l.labelMethods)),onMouseup:s[1]||(s[1]=u=>l.$emit("mouseup",u,l.labelMethods)),onMouseover:s[2]||(s[2]=u=>l.$emit("mouseover",u,l.labelMethods)),onMouseout:s[3]||(s[3]=u=>l.$emit("mouseout",u,l.labelMethods)),onKeydown:[t.withKeys(t.withModifiers(l.onKeyActivate,["prevent"]),["enter"]),t.withKeys(t.withModifiers(l.onKeyActivate,["prevent"]),["space"])]}),{default:t.withCtx(()=>[l.hasElementSlot?t.renderSlot(l.$slots,"default",{key:0}):l.hasHref?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(l.internalText),1)],64)):(t.openBlock(),t.createElementBlock("span",fe,t.toDisplayString(l.internalText),1))]),_:3},16,["class","style","title","tabindex","translate","onClick","onKeydown"]))],2)}const ge=ie._export_sfc(de,[["render",ve]]);exports.default=ge;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as ke, ref as a, useSlots as Se, computed as o, Text as Be, onMounted as Z, onBeforeUnmount as Ie, watch as n, nextTick as $, unref as pe, openBlock as x, createElementBlock as j, normalizeClass as Ne, createBlock as we, resolveDynamicComponent as Me, mergeProps as Ue, withKeys as _, withModifiers as ee, withCtx as Le, renderSlot as Ee, Fragment as He, createTextVNode as $e, toDisplayString as te } from "vue";
|
|
2
|
-
import { B as F, f as xe, T as Fe, g as Ve, u as Ke, y as b, e as Oe, t as Re, b as le, h as C, r as De, c as je, d as qe } from "./index-
|
|
3
|
-
import { r as ne, a as ae } from "./setButtonCssEvent-
|
|
2
|
+
import { B as F, f as xe, T as Fe, g as Ve, u as Ke, y as b, e as Oe, t as Re, b as le, h as C, r as De, c as je, d as qe } from "./index-CjHzPazZ.mjs";
|
|
3
|
+
import { r as ne, a as ae } from "./setButtonCssEvent-DzgOFy1K.mjs";
|
|
4
4
|
import { _ as Ge } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
5
5
|
const ze = {
|
|
6
6
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("vue"),o=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("vue"),o=require("./index-DvM-XIAr.js"),C=require("./_plugin-vue_export-helper-BHFhmbuH.js"),h={id:{type:String,required:!1},class:{type:[String,Array,Object],required:!1},style:{type:[String,Object,Array],required:!1},visible:{type:Boolean,default:!0},backImageSrc:{type:String,required:!1},backImageRepeat:{type:String,required:!1,validator:e=>e==null||o.BACK_IMAGE_STYLE_VALUES.includes(e)?!0:/^(repeat-x|repeat-y|repeat|no-repeat)(\s+\S+\/\S+)?$/.test(e)||/^(cover|contain)$/.test(e)||/[\/\s]/.test(e)},backImageWidth:{type:String,required:!1},backImageAlign:{type:String,required:!1,validator:e=>e==null||o.BACK_IMAGE_ALIGN_VALUES.includes(e)},backImageVerticalAlign:{type:String,required:!1,validator:e=>e==null||o.BACK_IMAGE_VERTICAL_ALIGN_VALUES.includes(e)},backColor:{type:String,required:!1},border:{type:Boolean,default:!1},height:{type:String,required:!1}},S=a.defineComponent({name:"HLayout",props:h,inheritAttrs:!1,emits:["mounted","responsive-change","click","mousedown","mouseup","mouseover","mouseout"],setup(e,{emit:n}){const l=a.ref(null),u=a.ref(null),r=e.id?e.id:o.getUUID(),m=`hlayout:${r}`,s=o.useDevice(),c=a.ref(e.visible),y=a.computed(()=>c.value?"":"hison-display-none"),d=a.ref(e.border??!1),f=a.computed(()=>d.value?"hison-border":""),I=a.computed(()=>{const t={};if(e.backImageSrc&&(t.backgroundImage=`url(${e.backImageSrc})`,t.backgroundRepeat=e.backImageRepeat||"no-repeat",t.backgroundSize=e.backImageWidth||"auto",t.backgroundPosition=`${e.backImageAlign||"center"} ${e.backImageVerticalAlign||"center"}`),e.backColor){const i=o.getHexCodeFromColorText(e.backColor)||e.backColor;t.backgroundColor=i}return e.height&&(t.height=e.height),t}),g=a.ref([]),b=()=>{g.value=o.extractResponsiveClasses(o.toClassString(e.class)||"",s.value),o.getIndexSpecificClassNameFromClassList(g.value,"col")===-1&&g.value.push("hison-col-12"),o.addComponentNameToClass(g.value,"color","primary")},k=()=>{o.hisonCloser.component.layoutList[r]&&o.hisonCloser.component.layoutList[r].isHisonvueComponent&&console.warn(`[Hisonvue] The layout ID is at risk of being duplicated. ${r}`),o.registerReloadable(m,()=>{v(),a.nextTick(k)}),l.value&&(b(),u.value={isHisonvueComponent:!0,getId:()=>r,getType:()=>"layout",isVisible:()=>c.value,setVisible:t=>{c.value=t},getBackImageSrc:()=>e.backImageSrc||"",setBackImageSrc:t=>{l.value&&(l.value.style.backgroundImage=`url(${t})`)},getBackImageRepeat:()=>e.backImageRepeat||"",setBackImageRepeat:t=>{l.value&&(l.value.style.backgroundRepeat=t)},getBackImageWidth:()=>e.backImageWidth||"",setBackImageWidth:t=>{l.value&&(l.value.style.backgroundSize=t)},getBackImageAlign:()=>e.backImageAlign||"",setBackImageAlign:t=>{if(l.value){const i=e.backImageVerticalAlign||"center";l.value.style.backgroundPosition=`${t} ${i}`}},getBackImageVerticalAlign:()=>e.backImageVerticalAlign||"",setBackImageVerticalAlign:t=>{if(l.value){const i=e.backImageAlign||"center";l.value.style.backgroundPosition=`${i} ${t}`}},getBackColor:()=>e.backColor||"",setBackColor:t=>{l.value&&(l.value.style.backgroundColor=o.getHexCodeFromColorText(t)||t)},isBorder:()=>d.value,setBorder:t=>{d.value=t},getHeight:()=>e.height||"",setHeight:t=>{l.value&&(l.value.style.height=t)},reload:()=>o.reloadHisonComponent(m)},o.hisonCloser.component.layoutList[r]=u.value,n("mounted",u.value))},v=()=>{o.unregisterReloadable(m),delete o.hisonCloser.component.layoutList[r]};return a.onMounted(k),a.onBeforeUnmount(v),a.watch(s,t=>{b(),n("responsive-change",t)}),a.watch(()=>e.visible,t=>{const i=!!t;i!==c.value&&(c.value=i)}),a.watch(()=>e.border,t=>{const i=!!t;i!==d.value&&(d.value=i)}),a.watch(()=>e.class,()=>{b()}),{layoutRef:l,layoutMethods:a.computed(()=>a.unref(u)),props:e,responsiveClassList:g,visibleClass:y,borderClass:f,computedBackStyle:I}}});function A(e,n,l,u,r,m){return a.openBlock(),a.createElementBlock("div",{ref:"layoutRef",class:a.normalizeClass(["hison-layout",...e.responsiveClassList,e.visibleClass,e.borderClass]),style:a.normalizeStyle([e.props.style,e.computedBackStyle]),onClick:n[0]||(n[0]=s=>e.$emit("click",s,e.layoutMethods)),onMousedown:n[1]||(n[1]=s=>e.$emit("mousedown",s,e.layoutMethods)),onMouseup:n[2]||(n[2]=s=>e.$emit("mouseup",s,e.layoutMethods)),onMouseover:n[3]||(n[3]=s=>e.$emit("mouseover",s,e.layoutMethods)),onMouseout:n[4]||(n[4]=s=>e.$emit("mouseout",s,e.layoutMethods))},[n[5]||(n[5]=a.createElementVNode("div",{class:"hison-layout-frame-adjust"},null,-1)),a.renderSlot(e.$slots,"default")],38)}const B=C._export_sfc(S,[["render",A]]);exports.default=B;
|