hisonvue 1.1.20 → 1.1.22
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-BCpczHV8.js → HAccordion-CKbaRrfY.js} +1 -1
- package/dist/{HAccordion-BMoSFHwf.mjs → HAccordion-CNWAodMp.mjs} +2 -2
- package/dist/{HBaggie-oMZLaa_F.js → HBaggie-BQYZO1MF.js} +1 -1
- package/dist/{HBaggie-CJvlgbDQ.mjs → HBaggie-C-OS7n2D.mjs} +2 -2
- package/dist/{HBanner-C2_LbE2h.js → HBanner-8AQVAGPP.js} +1 -1
- package/dist/{HBanner-DsRKDH1u.mjs → HBanner-D0ImN6h1.mjs} +2 -2
- package/dist/{HButton-yAD_RoyS.js → HButton-C1AtcoQd.js} +1 -1
- package/dist/{HButton-rFSlupkR.mjs → HButton-CuoH95_k.mjs} +2 -2
- package/dist/{HCalendar-iWmcJSvC.mjs → HCalendar-CnuUn3Xk.mjs} +71 -68
- package/dist/{HCalendar-CTlQGPMZ.js → HCalendar-DFXWXkci.js} +2 -2
- package/dist/{HCaption-c9m0kiX8.js → HCaption-BaelSNHR.js} +1 -1
- package/dist/{HCaption-DVmiGA4e.mjs → HCaption-Di8ePmqg.mjs} +1 -1
- package/dist/{HChart-BiAYvoFC.js → HChart-DKfoM5dM.js} +1 -1
- package/dist/{HChart-RTqgX9Vw.mjs → HChart-xM2KDiJi.mjs} +1 -1
- package/dist/HDrawer-A3BpOuup.js +1 -0
- package/dist/{HDrawer-_eAs8SUX.mjs → HDrawer-Vt4JA6pk.mjs} +163 -163
- package/dist/{HDropdown-Jr1jdIcK.mjs → HDropdown-BBEH646p.mjs} +2 -2
- package/dist/{HDropdown-BQ86MUJn.js → HDropdown-Dj7h-JPP.js} +1 -1
- package/dist/{HFileset-DzDl7B3M.js → HFileset-B9EmgNi1.js} +1 -1
- package/dist/{HFileset-CuLQPIg0.mjs → HFileset-oi7P1lcc.mjs} +1 -1
- package/dist/{HGap-2iQmQgTz.mjs → HGap-Bp1hRvbT.mjs} +1 -1
- package/dist/{HGap-CEVavkgg.js → HGap-Dy_H_-in.js} +1 -1
- package/dist/{HGrid-ifjYNehH.mjs → HGrid-Bc13aqjL.mjs} +51 -48
- package/dist/HGrid-DDbU5kIr.js +1 -0
- package/dist/{HImagebox-DwaNSiUE.mjs → HImagebox-8Uwvm5U0.mjs} +1 -1
- package/dist/{HImagebox-CIIOb3Vd.js → HImagebox-BVeQuB4p.js} +1 -1
- package/dist/{HInput-CoawK6h1.js → HInput-DHK28wmp.js} +1 -1
- package/dist/{HInput-B7jIOO-G.mjs → HInput-DoSKCROI.mjs} +1 -1
- package/dist/{HInputGroup-c6sx8xkm.mjs → HInputGroup-DSUZqea5.mjs} +1 -1
- package/dist/{HInputGroup-4FByzgDv.js → HInputGroup-gD-E8vgq.js} +1 -1
- package/dist/{HLabel-BdJsUUwI.js → HLabel-BAbaNhJP.js} +1 -1
- package/dist/{HLabel-ClzEe4t5.mjs → HLabel-DQVACpDP.mjs} +2 -2
- package/dist/{HLayout-odNbQHZs.mjs → HLayout-BoHgIQcJ.mjs} +1 -1
- package/dist/{HLayout-cCfkCCnY.js → HLayout-CgaYkiuH.js} +1 -1
- package/dist/{HList-C4Te9S2p.mjs → HList-BQEDGW7_.mjs} +2 -2
- package/dist/{HList-DlESPK5m.js → HList-BROYxKwn.js} +1 -1
- package/dist/{HModal-CD42g96i.js → HModal-DTqm3PfL.js} +1 -1
- package/dist/{HModal-IPNLslSW.mjs → HModal-GpwcBz5c.mjs} +1 -1
- package/dist/HNote-BotCfjhk.js +1 -0
- package/dist/{HNote-DOXVPQTE.mjs → HNote-Dv8mltb0.mjs} +31 -28
- package/dist/{HPagination-71-p-_fA.mjs → HPagination-DG0I3Orn.mjs} +2 -2
- package/dist/{HPagination-DAipfja0.js → HPagination-DyqohdbC.js} +1 -1
- package/dist/{HParagraph-D727CLzE.js → HParagraph-BheX7M-W.js} +1 -1
- package/dist/{HParagraph-DFr9VHuc.mjs → HParagraph-dWlO5RLM.mjs} +1 -1
- package/dist/{HPopup-BzNv0ETv.js → HPopup-BcGomDSy.js} +1 -1
- package/dist/{HPopup-CKF03bB8.mjs → HPopup-BrkB_lUB.mjs} +1 -1
- package/dist/{HSpinner-OrX8Lncm.js → HSpinner-CjjGcQJD.js} +1 -1
- package/dist/{HSpinner-DskT_CbT.mjs → HSpinner-D6VNpQLM.mjs} +1 -1
- package/dist/{HTable-CgFXqisG.js → HTable-BdNtBsjD.js} +1 -1
- package/dist/{HTable-D_wg634Z.mjs → HTable-D2HYTuO9.mjs} +1 -1
- package/dist/hisonvue.cjs.js +1 -1
- package/dist/hisonvue.css +1 -1
- package/dist/hisonvue.d.ts +9 -4
- package/dist/hisonvue.es.js +2 -2
- package/dist/{index-C4_ZZ_fO.mjs → index-CGr5-mvg.mjs} +82 -73
- package/dist/{index-Dndw65fe.js → index-DcB16odB.js} +16 -14
- package/dist/{setButtonCssEvent-C0T9J9fO.js → setButtonCssEvent-CTLQPvWj.js} +1 -1
- package/dist/{setButtonCssEvent-BEJDaHrp.mjs → setButtonCssEvent-T2QV1cDz.mjs} +1 -1
- package/package.json +1 -1
- package/dist/HDrawer-CC6pLF5V.js +0 -1
- package/dist/HGrid-6zIauOhZ.js +0 -1
- package/dist/HNote-D-0CwHiB.js +0 -1
|
@@ -1038,7 +1038,7 @@ insert rowIndex : `).concat(N));
|
|
|
1038
1038
|
for (Fe.method = $e, Fe.arg = yt; ; ) {
|
|
1039
1039
|
var Nt = Fe.delegate;
|
|
1040
1040
|
if (Nt) {
|
|
1041
|
-
var zt =
|
|
1041
|
+
var zt = ho(Nt, Fe);
|
|
1042
1042
|
if (zt) {
|
|
1043
1043
|
if (zt === Ft) continue;
|
|
1044
1044
|
return zt;
|
|
@@ -1059,9 +1059,9 @@ insert rowIndex : `).concat(N));
|
|
|
1059
1059
|
}
|
|
1060
1060
|
};
|
|
1061
1061
|
}
|
|
1062
|
-
function
|
|
1062
|
+
function ho(Ae, we) {
|
|
1063
1063
|
var Fe = we.method, at = Ae.iterator[Fe];
|
|
1064
|
-
if (at === d) return we.delegate = null, Fe === "throw" && Ae.iterator.return && (we.method = "return", we.arg = d,
|
|
1064
|
+
if (at === d) return we.delegate = null, Fe === "throw" && Ae.iterator.return && (we.method = "return", we.arg = d, ho(Ae, we), we.method === "throw") || Fe !== "return" && (we.method = "throw", we.arg = new TypeError("The iterator does not provide a '" + Fe + "' method")), Ft;
|
|
1065
1065
|
var $e = Y(at, Ae.iterator, we.arg);
|
|
1066
1066
|
if ($e.type === "throw") return we.method = "throw", we.arg = $e.arg, we.delegate = null, Ft;
|
|
1067
1067
|
var yt = $e.arg;
|
|
@@ -7475,7 +7475,7 @@ const pp = (t) => t == null, yp = () => {
|
|
|
7475
7475
|
if (Gs(t))
|
|
7476
7476
|
return t.replace(/\s+/g, "");
|
|
7477
7477
|
throw new Error(`Invalid color format: ${t}`);
|
|
7478
|
-
},
|
|
7478
|
+
}, _o = (t, e, n) => {
|
|
7479
7479
|
if (!bl(e))
|
|
7480
7480
|
throw new Error("add must be valid numbers");
|
|
7481
7481
|
if (n && !bl(n))
|
|
@@ -7550,7 +7550,7 @@ const pp = (t) => t == null, yp = () => {
|
|
|
7550
7550
|
}
|
|
7551
7551
|
return "";
|
|
7552
7552
|
}, _d = (t) => js(t) ? $a : Ya, mn = (t, e) => {
|
|
7553
|
-
t.buttonColor = e, t.borderColor =
|
|
7553
|
+
t.buttonColor = e, t.borderColor = _o(e, -31), t.shadowColor = _o(e, -47), t.hoverColor = _o(e, -24), t.activeColor = _o(e, -24), t.rowHoverColor = _o(e, 64, 0.2), t.stripeColor = _o(e, 64, 0.1), t.emptyTextColor = e, t.filledTextColor = _d(e);
|
|
7554
7554
|
}, Ip = (t, e) => t.replace(
|
|
7555
7555
|
/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([0-9.]+)\s*\)/i,
|
|
7556
7556
|
(n, o, r, i) => `rgba(${o},${r},${i},${e})`
|
|
@@ -7565,7 +7565,7 @@ const pp = (t) => t == null, yp = () => {
|
|
|
7565
7565
|
const e = Li.get(t);
|
|
7566
7566
|
e && e();
|
|
7567
7567
|
};
|
|
7568
|
-
var
|
|
7568
|
+
var lo = /* @__PURE__ */ ((t) => (t.xs = "xs", t.s = "s", t.m = "m", t.l = "l", t.xl = "xl", t))(lo || {}), bd = /* @__PURE__ */ ((t) => (t.primary = "primary", t.muted = "muted", t.info = "info", t.success = "success", t.danger = "danger", t.warning = "warning", t.custom1 = "custom1", t.custom2 = "custom2", t.custom3 = "custom3", t.custom4 = "custom4", t.custom5 = "custom5", t))(bd || {}), fi = { exports: {} }, Cd = fi.exports, Cl;
|
|
7569
7569
|
function xd() {
|
|
7570
7570
|
return Cl || (Cl = 1, function(t, e) {
|
|
7571
7571
|
(function(n, o) {
|
|
@@ -8007,8 +8007,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8007
8007
|
St.appendChild(Xn);
|
|
8008
8008
|
var Vn = h.createElementInput(I, f.consts.CLASS_NAMES.colorBackOpacityInput.id, f.consts.CLASS_NAMES.colorBackOpacityInput.className);
|
|
8009
8009
|
Vn.setAttribute("type", "number"), Vn.setAttribute("maxlength", "3"), h.addClickEvent(Vn, f.consts.CLASS_NAMES.colorBackOpacityInput.id, I), St.appendChild(Vn), Be = document.createElement("br"), St.appendChild(Be);
|
|
8010
|
-
var
|
|
8011
|
-
|
|
8010
|
+
var ho = h.createElementBasic("div", I, f.consts.CLASS_NAMES.colorBack0.id, f.consts.CLASS_NAMES.colorBack0.className);
|
|
8011
|
+
ho.style.backgroundColor = I._colors.color13, St.appendChild(ho);
|
|
8012
8012
|
var Ao = h.createElementBasic("div", I, f.consts.CLASS_NAMES.colorBack1.id, f.consts.CLASS_NAMES.colorBack1.className);
|
|
8013
8013
|
Ao.style.backgroundColor = I._colors.color14, St.appendChild(Ao);
|
|
8014
8014
|
var Jn = h.createElementBasic("div", I, f.consts.CLASS_NAMES.colorBack2.id, f.consts.CLASS_NAMES.colorBack2.className);
|
|
@@ -8105,8 +8105,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8105
8105
|
hn.appendChild(nl);
|
|
8106
8106
|
var ol = h.createElement("div", I, f.consts.CLASS_NAMES.attImageExplain1.id, f.consts.CLASS_NAMES.attImageExplain1.className, { isIcon: !1, text: f.languageSet[I._attributes.language].attImageExplain1 });
|
|
8107
8107
|
hn.appendChild(ol), Be = document.createElement("br"), hn.appendChild(Be);
|
|
8108
|
-
var
|
|
8109
|
-
|
|
8108
|
+
var mo = document.createElement("div");
|
|
8109
|
+
mo.setAttribute("style", "width:90%;text-align:center;margin:0 auto;position:relative;");
|
|
8110
8110
|
var Lo = h.createElementButton("button", I, f.consts.CLASS_NAMES.attImageViewPreButton.id, f.consts.CLASS_NAMES.attImageViewPreButton.className, { isIcon: !0, text: "navigate_before" });
|
|
8111
8111
|
if (f.iconSpanElement.attImageViewPreButtonIcon && f.iconSpanElement.attImageViewPreButtonIcon instanceof HTMLSpanElement) {
|
|
8112
8112
|
var _r = f.iconSpanElement.attImageViewPreButtonIcon.cloneNode(!0);
|
|
@@ -8114,13 +8114,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8114
8114
|
_r.classList.contains(ue) || _r.classList.add(ue);
|
|
8115
8115
|
}), Lo.replaceChild(_r, Lo.firstChild);
|
|
8116
8116
|
}
|
|
8117
|
-
Lo.setAttribute("style", "position:absolute;top:50%;transform:translateY(-50%) translateX(1%);"),
|
|
8117
|
+
Lo.setAttribute("style", "position:absolute;top:50%;transform:translateY(-50%) translateX(1%);"), mo.appendChild(Lo);
|
|
8118
8118
|
var vr = h.createElementBasic("div", I, f.consts.CLASS_NAMES.attImageUploadButtonAndView.id, f.consts.CLASS_NAMES.attImageUploadButtonAndView.className, { isIcon: !1, text: f.languageSet[I._attributes.language].attImageUploadButtonAndView });
|
|
8119
8119
|
vr.addEventListener("dragover", function(ue) {
|
|
8120
8120
|
I._elementEvents.attImageUploadButtonAndView_onBeforeDragover(ue) && (f.events.elementEvents.attImageUploadButtonAndView_onDragover(ue), I._elementEvents.attImageUploadButtonAndView_onAfterDragover(ue), ue.stopImmediatePropagation());
|
|
8121
8121
|
}), vr.addEventListener("drop", function(ue) {
|
|
8122
8122
|
I._elementEvents.attImageUploadButtonAndView_onBeforeDrop(ue) && (f.events.elementEvents.attImageUploadButtonAndView_onDrop(ue), I._elementEvents.attImageUploadButtonAndView_onAfterDrop(ue), ue.stopImmediatePropagation());
|
|
8123
|
-
}),
|
|
8123
|
+
}), mo.appendChild(vr);
|
|
8124
8124
|
var No = h.createElementButton("button", I, f.consts.CLASS_NAMES.attImageViewNextButton.id, f.consts.CLASS_NAMES.attImageViewNextButton.className, { isIcon: !0, text: "navigate_next" });
|
|
8125
8125
|
if (f.iconSpanElement.attImageViewNextButtonIcon && f.iconSpanElement.attImageViewNextButtonIcon instanceof HTMLSpanElement) {
|
|
8126
8126
|
var br = f.iconSpanElement.attImageViewNextButtonIcon.cloneNode(!0);
|
|
@@ -8128,7 +8128,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8128
8128
|
br.classList.contains(ue) || br.classList.add(ue);
|
|
8129
8129
|
}), No.replaceChild(br, No.firstChild);
|
|
8130
8130
|
}
|
|
8131
|
-
No.setAttribute("style", "position:absolute;top:50%;transform:translateY(-50%) translateX(-101%);"),
|
|
8131
|
+
No.setAttribute("style", "position:absolute;top:50%;transform:translateY(-50%) translateX(-101%);"), mo.appendChild(No), hn.appendChild(mo);
|
|
8132
8132
|
var Ro = h.createElementInput(I, f.consts.CLASS_NAMES.attImageUpload.id, f.consts.CLASS_NAMES.attImageUpload.className);
|
|
8133
8133
|
Ro.setAttribute("type", "file"), Ro.setAttribute("multiple", "");
|
|
8134
8134
|
var Jc = function(ue) {
|
|
@@ -8156,8 +8156,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8156
8156
|
qi.setAttribute("title", f.languageSet[I._attributes.language].attVideoEmbedIdTooltip), wn.appendChild(qi);
|
|
8157
8157
|
var ll = h.createElement("div", I, f.consts.CLASS_NAMES.attVideoExplain2.id, f.consts.CLASS_NAMES.attVideoExplain2.className, { isIcon: !1, text: f.languageSet[I._attributes.language].attVideoExplain2 });
|
|
8158
8158
|
wn.appendChild(ll);
|
|
8159
|
-
var
|
|
8160
|
-
|
|
8159
|
+
var go = document.createElement("div");
|
|
8160
|
+
go.setAttribute("style", "padding-left:20px;color:" + I._colors.color10);
|
|
8161
8161
|
var Mr = h.createElement("span", I, "", "modal_att_video_icon", { isIcon: !0, text: "width", iconStyle: "color:" + I._colors.color10 });
|
|
8162
8162
|
if (f.iconSpanElement.attVideoWidthTextIcon && f.iconSpanElement.attVideoWidthTextIcon instanceof HTMLSpanElement) {
|
|
8163
8163
|
var Sr = f.iconSpanElement.attVideoWidthTextIcon.cloneNode(!0);
|
|
@@ -8165,13 +8165,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8165
8165
|
Sr.classList.contains(ue) || Sr.classList.add(ue);
|
|
8166
8166
|
}), Mr.replaceChild(Sr, Mr.firstChild);
|
|
8167
8167
|
}
|
|
8168
|
-
|
|
8168
|
+
go.appendChild(Mr);
|
|
8169
8169
|
var Ho = h.createElementInput(I, f.consts.CLASS_NAMES.attVideoWidth.id, f.consts.CLASS_NAMES.attVideoWidth.className);
|
|
8170
|
-
Ho.setAttribute("title", f.languageSet[I._attributes.language].attVideoWidthTooltip), Ho.setAttribute("type", "number"), Ho.setAttribute("style", "text-align:right;"),
|
|
8170
|
+
Ho.setAttribute("title", f.languageSet[I._attributes.language].attVideoWidthTooltip), Ho.setAttribute("type", "number"), Ho.setAttribute("style", "text-align:right;"), go.appendChild(Ho);
|
|
8171
8171
|
var $i = h.createElement("span", I, "", "modal_att_video_icon", { isIcon: !1, text: "%" });
|
|
8172
|
-
$i.setAttribute("style", "padding-left:10px;font-size:0.8em"),
|
|
8173
|
-
var
|
|
8174
|
-
|
|
8172
|
+
$i.setAttribute("style", "padding-left:10px;font-size:0.8em"), go.appendChild($i), wn.appendChild(go);
|
|
8173
|
+
var po = document.createElement("div");
|
|
8174
|
+
po.setAttribute("style", "padding-left:20px;color:" + I._colors.color10);
|
|
8175
8175
|
var kr = h.createElement("span", I, "", "modal_att_video_icon", { isIcon: !0, text: "height", iconStyle: "color:" + I._colors.color10 });
|
|
8176
8176
|
if (f.iconSpanElement.attVideoHeightTextIcon && f.iconSpanElement.attVideoHeightTextIcon instanceof HTMLSpanElement) {
|
|
8177
8177
|
var Ir = f.iconSpanElement.attVideoHeightTextIcon.cloneNode(!0);
|
|
@@ -8179,11 +8179,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8179
8179
|
Ir.classList.contains(ue) || Ir.classList.add(ue);
|
|
8180
8180
|
}), kr.replaceChild(Ir, kr.firstChild);
|
|
8181
8181
|
}
|
|
8182
|
-
|
|
8182
|
+
po.appendChild(kr);
|
|
8183
8183
|
var Fo = h.createElementInput(I, f.consts.CLASS_NAMES.attVideoHeight.id, f.consts.CLASS_NAMES.attVideoHeight.className);
|
|
8184
|
-
Fo.setAttribute("title", f.languageSet[I._attributes.language].attVideoHeightTooltip), Fo.setAttribute("type", "number"), Fo.setAttribute("style", "text-align:right;"),
|
|
8184
|
+
Fo.setAttribute("title", f.languageSet[I._attributes.language].attVideoHeightTooltip), Fo.setAttribute("type", "number"), Fo.setAttribute("style", "text-align:right;"), po.appendChild(Fo);
|
|
8185
8185
|
var Yi = h.createElement("span", I, "", "modal_att_video_icon", { isIcon: !1, text: "px" });
|
|
8186
|
-
Yi.setAttribute("style", "padding-left:10px;font-size:0.8em"),
|
|
8186
|
+
Yi.setAttribute("style", "padding-left:10px;font-size:0.8em"), po.appendChild(Yi), wn.appendChild(po);
|
|
8187
8187
|
var sl = h.createElement("span", I, f.consts.CLASS_NAMES.attVideoValidCheckText.id, f.consts.CLASS_NAMES.attVideoValidCheckText.className), Ki = h.createElementInputCheckbox(I, f.consts.CLASS_NAMES.attVideoValidCheckbox.id, f.consts.CLASS_NAMES.attVideoValidCheckbox.className);
|
|
8188
8188
|
Ki.style.display = "none";
|
|
8189
8189
|
var Er = h.createElementButton("button", I, f.consts.CLASS_NAMES.attVideoInsertButton.id, f.consts.CLASS_NAMES.attVideoInsertButton.className, { isIcon: !0, text: "videocam" });
|
|
@@ -8195,7 +8195,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8195
8195
|
}
|
|
8196
8196
|
var Oo = h.createElement("div", I, f.consts.CLASS_NAMES.attVideoFooter.id, f.consts.CLASS_NAMES.attVideoFooter.className);
|
|
8197
8197
|
Oo.appendChild(sl), Oo.appendChild(Ki), Oo.appendChild(Er), wn.appendChild(Oo);
|
|
8198
|
-
var
|
|
8198
|
+
var yo = h.createElement("div", I, f.consts.CLASS_NAMES.attLinkTooltip.id, f.consts.CLASS_NAMES.attLinkTooltip.className), Xi = h.createElement("a", I, f.consts.CLASS_NAMES.attLinkTooltipHref.id, f.consts.CLASS_NAMES.attLinkTooltipHref.className);
|
|
8199
8199
|
Xi.setAttribute("target", "_blank");
|
|
8200
8200
|
var Ar = h.createElementButton("span", I, f.consts.CLASS_NAMES.attLinkTooltipEditButton.id, f.consts.CLASS_NAMES.attLinkTooltipEditButton.className, { isIcon: !0, text: "add_link", iconStyle: "font-size:0.9em" });
|
|
8201
8201
|
if (f.iconSpanElement.attLinkTooltipEditButtonIcon && f.iconSpanElement.attLinkTooltipEditButtonIcon instanceof HTMLSpanElement) {
|
|
@@ -8211,7 +8211,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8211
8211
|
Lr.classList.contains(ue) || Lr.classList.add(ue);
|
|
8212
8212
|
}), Br.replaceChild(Lr, Br.firstChild);
|
|
8213
8213
|
}
|
|
8214
|
-
|
|
8214
|
+
yo.appendChild(Ar), yo.appendChild(Br), yo.appendChild(Xi);
|
|
8215
8215
|
var Vo = h.createElement("div", I, f.consts.CLASS_NAMES.attImageAndVideoTooltip.id, f.consts.CLASS_NAMES.attImageAndVideoTooltip.className), un = document.createElement("div"), Do = document.createElement("span");
|
|
8216
8216
|
Do.setAttribute("class", m(I._noteName, I.id, "small_text_box")), Do.setAttribute("style", "padding: 0 0 0 10px;"), Do.textContent = f.languageSet[I._attributes.language].attImageAndVideoTooltipWidthInput, un.appendChild(Do);
|
|
8217
8217
|
var Nr = h.createElementInput(I, f.consts.CLASS_NAMES.attImageAndVideoTooltipWidthInput.id, f.consts.CLASS_NAMES.attImageAndVideoTooltipWidthInput.className);
|
|
@@ -8307,7 +8307,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
8307
8307
|
var yl = document.createElement("p");
|
|
8308
8308
|
yl.innerText = I._attributes.placeholderTextContent, Yr.appendChild(yl);
|
|
8309
8309
|
}
|
|
8310
|
-
Jt.appendChild(En), Jt.appendChild(Bo), Jt.appendChild(hn), Jt.appendChild(wn), Jt.appendChild(zo), tt.appendChild(Jt), tt.appendChild(Yr), I._attributes.toolToggleUsing && E.appendChild(s), E.appendChild(k), E.appendChild(et), E.appendChild(xt), E.appendChild(Mt), E.appendChild(v), E.appendChild(A), E.appendChild(g), E.appendChild(ce), E.appendChild(Q), E.appendChild(b), E.appendChild(R), E.appendChild(D), E.appendChild(Se), E.appendChild(Ue), E.appendChild(ct), E.appendChild(le), E.appendChild(Ft), E.appendChild(at), E.appendChild(yt), E.appendChild(zt), E.appendChild(ln), I._attributes.toolPosition === r.bottom ? (tt.appendChild(Ge), tt.appendChild(
|
|
8310
|
+
Jt.appendChild(En), Jt.appendChild(Bo), Jt.appendChild(hn), Jt.appendChild(wn), Jt.appendChild(zo), tt.appendChild(Jt), tt.appendChild(Yr), I._attributes.toolToggleUsing && E.appendChild(s), E.appendChild(k), E.appendChild(et), E.appendChild(xt), E.appendChild(Mt), E.appendChild(v), E.appendChild(A), E.appendChild(g), E.appendChild(ce), E.appendChild(Q), E.appendChild(b), E.appendChild(R), E.appendChild(D), E.appendChild(Se), E.appendChild(Ue), E.appendChild(ct), E.appendChild(le), E.appendChild(Ft), E.appendChild(at), E.appendChild(yt), E.appendChild(zt), E.appendChild(ln), I._attributes.toolPosition === r.bottom ? (tt.appendChild(Ge), tt.appendChild(yo), tt.appendChild(Vo), tt.appendChild(E)) : (tt.appendChild(E), tt.appendChild(yo), tt.appendChild(Vo), tt.appendChild(Ge)), I.appendChild(tt), ye.value = String(I._status.fontSize), je.value = String(I._status.letterSpacing), rt.value = String(I._status.lineHeight), p.value = I._status.colorTextR, S.value = I._status.colorTextG, O.value = I._status.colorTextB, G.value = I._status.colorTextO, Ct.value = I._status.colorBackR, an.value = I._status.colorBackG, On.value = I._status.colorBackB, Vn.value = I._status.colorBackO, be.usingParagraphStyle || (k.style.display = "none"), be.usingBold || (et.style.display = "none"), be.usingUnderline || (xt.style.display = "none"), be.usingItalic || (Mt.style.display = "none"), be.usingUl || (v.style.display = "none"), be.usingOl || (A.style.display = "none"), be.usingTextAlign || (g.style.display = "none"), be.usingAttLink || (ce.style.display = "none"), be.usingAttFile || (Q.style.display = "none"), be.usingAttImage || (b.style.display = "none"), be.usingAttVideo || (R.style.display = "none"), be.usingFontSize || (D.style.display = "none"), be.usingLetterSpacing || (Se.style.display = "none"), be.usingLineHeight || (Ue.style.display = "none"), be.usingFontFamily || (ct.style.display = "none"), be.usingColorText || (le.style.display = "none"), be.usingColorBack || (Ft.style.display = "none"), be.usingFormatClear || (at.style.display = "none"), be.usingUndo || (yt.style.display = "none"), be.usingRedo || (zt.style.display = "none"), be.usingHelp || (ln.style.display = "none"), I._elements = { template: tt, textarea: Ge, tool: E, toolToggleButton: s, paragraphStyleSelect: k, paragraphStyleSelectBox: J, paragraphStyleNormalButton: ae, paragraphStyleHeader1Button: ge, paragraphStyleHeader2Button: Ce, paragraphStyleHeader3Button: He, paragraphStyleHeader4Button: Le, paragraphStyleHeader5Button: Ke, paragraphStyleHeader6Button: Ze, boldButton: et, underlineButton: xt, italicButton: Mt, ulButton: v, olButton: A, textAlignSelect: g, textAlignSelectBox: B, textAlignLeftButton: H, textAlignCenterButton: q, textAlignRightButton: de, attLinkButton: ce, attFileButton: Q, attImageButton: b, attVideoButton: R, fontSizeInputBox: D, fontSizeInput: ye, letterSpacingInputBox: Se, letterSpacingInput: je, lineHeightInputBox: Ue, lineHeightInput: rt, fontFamilySelect: ct, fontFamilySelectBox: Ne, colorTextSelect: le, colorTextSelectBox: ht, colorTextRIcon: d, colorTextRInput: p, colorTextGIcon: x, colorTextGInput: S, colorTextBIcon: N, colorTextBInput: O, colorTextOpacityIcon: T, colorTextOpacityInput: G, colorText0: V, colorText1: Z, colorText2: oe, colorText3: Y, colorText4: se, colorText5: qe, colorText6: _t, colorText7: rn, colorBackSelect: Ft, colorBackSelectBox: St, colorBackRIcon: At, colorBackRInput: Ct, colorBackGIcon: jt, colorBackGInput: an, colorBackBIcon: In, colorBackBInput: On, colorBackOpacityIcon: Xn, colorBackOpacityInput: Vn, colorBack0: ho, colorBack1: Ao, colorBack2: Jn, colorBack3: Zn, colorBack4: Qn, colorBack5: Ae, colorBack6: we, colorBack7: Fe, formatClearButton: at, undoButton: yt, redoButton: zt, helpButton: ln, modalBack: Jt, attLinkModal: En, attLinkModalTitle: Ka, attLinkInTextExplain: Xa, attLinkText: Di, attLinkInLinkExplain: Ja, attLinkHref: Pi, attLinkIsBlankCheckbox: zi, attLinkIsOpenExplain: cr, attLinkValidCheckText: Za, attLinkValidCheckbox: Ui, attModalBox: To, attLinkInsertButton: dr, attFileModal: Bo, attFileModalTitle: Qa, attFilelayout: eo, attFileExplain1: el, attFileUploadDivBox: fr, attFileUploadDiv: hr, attFileUploadButtonBox: mr, attFileUploadButton: tl, attFileUpload: gr, attFileInsertButtonBox: Gi, attFileInsertButton: pr, attImageModal: hn, attImageModalTitle: nl, attImageExplain1: ol, attImageUploadButtonAndViewBox: mo, attImageViewPreButton: Lo, attImageUploadButtonAndView: vr, attImageViewNextButton: No, attImageUpload: Ro, attImageExplain2: rl, attImageURL: ji, attImageInsertButtonBox: Wi, attImageInsertButton: Cr, attVideoModal: wn, attVideoModalTitle: il, attVideoExplain1: al, attVideoEmbedId: qi, attVideoExplain2: ll, attVideoWidthTextBox: go, attVideoWidthText: Mr, attVideoWidth: Ho, attVideoWidthUnit: $i, attVideoHeightTextBox: po, attVideoHeightText: kr, attVideoHeight: Fo, attVideoHeightUnit: Yi, attVideoFooter: Oo, attVideoValidCheckText: sl, attVideoValidCheckbox: Ki, attVideoInsertButton: Er, attLinkTooltip: yo, attLinkTooltipHref: Xi, attLinkTooltipEditButton: Ar, attLinkTooltipUnlinkButton: Br, attImageAndVideoTooltip: Vo, attImageAndVideoTooltipWidthAndFloatBox: un, attImageAndVideoTooltipWidthText: Do, attImageAndVideoTooltipWidthInput: Nr, attImageAndVideoTooltipWidthUnit: Po, attImageAndVideoTooltipFloatRadioBox: Rr, attImageAndVideoTooltipFloatRadioNone: cl, attImageAndVideoTooltipFloatRadioNoneLabel: Hr, attImageAndVideoTooltipFloatRadioLeft: dl, attImageAndVideoTooltipFloatRadioLeftLabel: Or, attImageAndVideoTooltipFloatRadioRight: ul, attImageAndVideoTooltipFloatRadioRightLabel: Dr, attImageAndVideoTooltipShapeBox: An, attImageAndVideoTooltipShapeRadioBox: zr, attImageAndVideoTooltipShapeRadioSquare: fl, attImageAndVideoTooltipShapeRadioSquareLabel: Ur, attImageAndVideoTooltipShapeRadioRadius: hl, attImageAndVideoTooltipShapeRadioRadiusLabel: jr, attImageAndVideoTooltipShapeRadioCircle: ml, attImageAndVideoTooltipShapeRadioCircleLabel: qr, helpModal: zo, helpHeader: gl, helpMain: Ji, helpMainTable: Zi, helpFooter: Qi, placeholder: Yr };
|
|
8311
8311
|
}, on = function(f, h) {
|
|
8312
8312
|
for (var I, be = h.getAttribute("note-mode-by-device") && ["ADAPTIVE", "MOBILE", "DESKTOP"].indexOf(h.getAttribute("note-mode-by-device")) ? h.getAttribute("note-mode-by-device").toUpperCase() : f.attributes.noteModeByDevice, Be = be === "MOBILE" || be !== "DESKTOP" && X(), tt = h.getAttribute("tool-position") && ["BOTTOM", "TOP"].indexOf(h.getAttribute("tool-position")) >= 0 ? h.getAttribute("tool-position") : Be ? r.bottom : r.top, Ge = ee(h.getAttribute("tool-default-line")) ? Number(h.getAttribute("tool-default-line")) : Be ? 2 : 1, j = h.getAttribute("tool-toggle") ? h.getAttribute("tool-toggle").toLowerCase() === "true" : !!Be, E = h.getAttribute("textarea-width") ? h.getAttribute("textarea-width") : f.attributes.textareaOriginWidth, s = h.getAttribute("textarea-height") ? h.getAttribute("textarea-height") : f.attributes.textareaOriginHeight, l = h.getAttribute("textarea-max-width") ? h.getAttribute("textarea-max-width") : f.attributes.textareaMaxWidth, k = h.getAttribute("textarea-max-height") ? h.getAttribute("textarea-max-height") : f.attributes.textareaMaxHeight, $ = h.getAttribute("textarea-height-isModify") ? h.getAttribute("textarea-height-isModify").toLowerCase() === "true" : f.attributes.textareaHeightIsModify, J = h.getAttribute("placeholder-is-visible") ? h.getAttribute("placeholder-is-visible").toLowerCase() === "true" : f.attributes.placeholderIsVisible, ae = ie(h.getAttribute("placeholder-add-top")) ? Number(h.getAttribute("placeholder-add-top")) : f.attributes.placeholderAddTop, ge = ie(h.getAttribute("placeholder-add-left")) ? Number(h.getAttribute("placeholder-add-left")) : f.attributes.placeholderAddLeft, Ce = h.getAttribute("placeholder-width") ? h.getAttribute("placeholder-width") : f.attributes.placeholderWidth, He = h.getAttribute("placeholder-color") ? h.getAttribute("placeholder-color") : f.attributes.placeholderColor, Le = h.getAttribute("placeholder-background-color") ? h.getAttribute("placeholder-background-color") : f.attributes.placeholderBackgroundColor, Ke = h.getAttribute("placeholder-title") ? h.getAttribute("placeholder-title") : f.attributes.placeholderTitle, Ze = h.getAttribute("placeholder-text-content") ? h.getAttribute("placeholder-text-content") : f.attributes.placeholderTextContent, et = h.getAttribute("att-file-prevent-types") ? h.getAttribute("att-file-prevent-types").split(",") : f.attributes.attFilePreventTypes, Ve = h.getAttribute("att-file-accept-types") ? h.getAttribute("att-file-accept-types").split(",") : f.attributes.attFileAcceptTypes, xt = ee(h.getAttribute("att-file-max-size")) ? Number(h.getAttribute("att-file-max-size")) : f.attributes.attFileMaxSize, Rt = h.getAttribute("att-image-prevent-types") ? h.getAttribute("att-image-prevent-types").split(",") : f.attributes.attImagePreventTypes, Mt = h.getAttribute("att-image-accept-types") ? h.getAttribute("att-image-accept-types").split(",") : f.attributes.attImageAcceptTypes, Ht = ee(h.getAttribute("att-image-max-size")) ? Number(h.getAttribute("att-image-max-size")) : f.attributes.attImageMaxSize, v = f.attributes.defaultFontFamilies, w = h.getAttribute("add-font-family") ? h.getAttribute("add-font-family").split(",") : [], A = h.getAttribute("remove-font-family") ? h.getAttribute("remove-font-family").split(",") : [], M = 0; M < w.length; M++) w[M], w[M] && (v.includes(w[M]) || (I = w[M], /^[A-Za-z0-9]+$/.test(I) ? v.splice(7 + M, 0, w[M]) : v.push(w[M])));
|
|
8313
8313
|
for (var g = function(S) {
|
|
@@ -10381,16 +10381,19 @@ const ty = ["ADAPTIVE", "MOBILE", "DESKTOP"], ny = ["TOP", "BOTTOM"], jd = (t) =
|
|
|
10381
10381
|
}
|
|
10382
10382
|
if (te.componentStyle.size)
|
|
10383
10383
|
switch (te.componentStyle.size) {
|
|
10384
|
-
case
|
|
10384
|
+
case lo.xs:
|
|
10385
|
+
t.component.grid.attributes.defaultGridCssInfo.sizeLevel = 1;
|
|
10386
|
+
break;
|
|
10387
|
+
case lo.s:
|
|
10385
10388
|
t.component.grid.attributes.defaultGridCssInfo.sizeLevel = 3;
|
|
10386
10389
|
break;
|
|
10387
|
-
case
|
|
10390
|
+
case lo.m:
|
|
10388
10391
|
t.component.grid.attributes.defaultGridCssInfo.sizeLevel = 5;
|
|
10389
10392
|
break;
|
|
10390
|
-
case
|
|
10393
|
+
case lo.l:
|
|
10391
10394
|
t.component.grid.attributes.defaultGridCssInfo.sizeLevel = 7;
|
|
10392
10395
|
break;
|
|
10393
|
-
case
|
|
10396
|
+
case lo.xl:
|
|
10394
10397
|
t.component.grid.attributes.defaultGridCssInfo.sizeLevel = 9;
|
|
10395
10398
|
break;
|
|
10396
10399
|
}
|
|
@@ -10724,13 +10727,13 @@ function fu(t) {
|
|
|
10724
10727
|
function hu(t) {
|
|
10725
10728
|
return t && (t.a < 255 ? `rgba(${t.r}, ${t.g}, ${t.b}, ${Nn(t.a)})` : `rgb(${t.r}, ${t.g}, ${t.b})`);
|
|
10726
10729
|
}
|
|
10727
|
-
const na = (t) => t <= 31308e-7 ? t * 12.92 : Math.pow(t, 1 / 2.4) * 1.055 - 0.055,
|
|
10730
|
+
const na = (t) => t <= 31308e-7 ? t * 12.92 : Math.pow(t, 1 / 2.4) * 1.055 - 0.055, vo = (t) => t <= 0.04045 ? t / 12.92 : Math.pow((t + 0.055) / 1.055, 2.4);
|
|
10728
10731
|
function mu(t, e, n) {
|
|
10729
|
-
const o =
|
|
10732
|
+
const o = vo(Nn(t.r)), r = vo(Nn(t.g)), i = vo(Nn(t.b));
|
|
10730
10733
|
return {
|
|
10731
|
-
r: jn(na(o + n * (
|
|
10732
|
-
g: jn(na(r + n * (
|
|
10733
|
-
b: jn(na(i + n * (
|
|
10734
|
+
r: jn(na(o + n * (vo(Nn(e.r)) - o))),
|
|
10735
|
+
g: jn(na(r + n * (vo(Nn(e.g)) - r))),
|
|
10736
|
+
b: jn(na(i + n * (vo(Nn(e.b)) - i))),
|
|
10734
10737
|
a: t.a + n * (e.a - t.a)
|
|
10735
10738
|
};
|
|
10736
10739
|
}
|
|
@@ -11065,7 +11068,7 @@ function Fa(t, e, n) {
|
|
|
11065
11068
|
hi: o
|
|
11066
11069
|
};
|
|
11067
11070
|
}
|
|
11068
|
-
const
|
|
11071
|
+
const so = (t, e, n, o) => Fa(t, n, o ? (r) => {
|
|
11069
11072
|
const i = t[r][e];
|
|
11070
11073
|
return i < n || i === n && t[r + 1][e] === n;
|
|
11071
11074
|
} : (r) => t[r][e] < n), Bu = (t, e, n) => Fa(t, n, (o) => t[o][e] >= n);
|
|
@@ -11152,9 +11155,9 @@ function rc(t, e, n) {
|
|
|
11152
11155
|
if (K) {
|
|
11153
11156
|
if (r = Math.min(
|
|
11154
11157
|
// @ts-expect-error Need to type _parsed
|
|
11155
|
-
|
|
11158
|
+
so(m, L, P).lo,
|
|
11156
11159
|
// @ts-expect-error Need to fix types on _lookupByKey
|
|
11157
|
-
n ? o :
|
|
11160
|
+
n ? o : so(e, L, a.getPixelForValue(P)).lo
|
|
11158
11161
|
), C) {
|
|
11159
11162
|
const ee = m.slice(0, r + 1).reverse().findIndex((ie) => !vt(ie[c.axis]));
|
|
11160
11163
|
r -= Math.max(0, ee);
|
|
@@ -11164,9 +11167,9 @@ function rc(t, e, n) {
|
|
|
11164
11167
|
if (X) {
|
|
11165
11168
|
let ee = Math.max(
|
|
11166
11169
|
// @ts-expect-error Need to type _parsed
|
|
11167
|
-
|
|
11170
|
+
so(m, a.axis, W, !0).hi + 1,
|
|
11168
11171
|
// @ts-expect-error Need to fix types on _lookupByKey
|
|
11169
|
-
n ? 0 :
|
|
11172
|
+
n ? 0 : so(e, L, a.getPixelForValue(W), !0).hi + 1
|
|
11170
11173
|
);
|
|
11171
11174
|
if (C) {
|
|
11172
11175
|
const ie = m.slice(ee - 1).findIndex((fe) => !vt(fe[c.axis]));
|
|
@@ -11435,7 +11438,7 @@ function Gu(t) {
|
|
|
11435
11438
|
_indexable: (e) => e !== "backdropPadding"
|
|
11436
11439
|
});
|
|
11437
11440
|
}
|
|
11438
|
-
const
|
|
11441
|
+
const fo = /* @__PURE__ */ Object.create(null), _a = /* @__PURE__ */ Object.create(null);
|
|
11439
11442
|
function tr(t, e) {
|
|
11440
11443
|
if (!e)
|
|
11441
11444
|
return t;
|
|
@@ -11479,7 +11482,7 @@ class ju {
|
|
|
11479
11482
|
return ra(_a, e, n);
|
|
11480
11483
|
}
|
|
11481
11484
|
override(e, n) {
|
|
11482
|
-
return ra(
|
|
11485
|
+
return ra(fo, e, n);
|
|
11483
11486
|
}
|
|
11484
11487
|
route(e, n, o, r) {
|
|
11485
11488
|
const i = tr(this, e), a = tr(this, o), c = "_" + n;
|
|
@@ -11688,7 +11691,7 @@ function lc(t) {
|
|
|
11688
11691
|
left: "x"
|
|
11689
11692
|
});
|
|
11690
11693
|
}
|
|
11691
|
-
function
|
|
11694
|
+
function co(t) {
|
|
11692
11695
|
return Pa(t, [
|
|
11693
11696
|
"topLeft",
|
|
11694
11697
|
"topRight",
|
|
@@ -12069,7 +12072,7 @@ const xf = [
|
|
|
12069
12072
|
"bottom",
|
|
12070
12073
|
"left"
|
|
12071
12074
|
];
|
|
12072
|
-
function
|
|
12075
|
+
function uo(t, e, n) {
|
|
12073
12076
|
const o = {};
|
|
12074
12077
|
n = n ? "-" + n : "";
|
|
12075
12078
|
for (let r = 0; r < 4; r++) {
|
|
@@ -12097,7 +12100,7 @@ function Sf(t, e) {
|
|
|
12097
12100
|
function io(t, e) {
|
|
12098
12101
|
if ("native" in t)
|
|
12099
12102
|
return t;
|
|
12100
|
-
const { canvas: n, currentDevicePixelRatio: o } = e, r = Hi(n), i = r.boxSizing === "border-box", a =
|
|
12103
|
+
const { canvas: n, currentDevicePixelRatio: o } = e, r = Hi(n), i = r.boxSizing === "border-box", a = uo(r, "padding"), c = uo(r, "border", "width"), { x: m, y: C, box: L } = Sf(t, n), P = a.left + (L && c.left), W = a.top + (L && c.top);
|
|
12101
12104
|
let { width: K, height: X } = e;
|
|
12102
12105
|
return i && (K -= a.width + c.width, X -= a.height + c.height), {
|
|
12103
12106
|
x: Math.round((m - P) / K * n.width / o),
|
|
@@ -12111,7 +12114,7 @@ function kf(t, e, n) {
|
|
|
12111
12114
|
if (!i)
|
|
12112
12115
|
e = t.clientWidth, n = t.clientHeight;
|
|
12113
12116
|
else {
|
|
12114
|
-
const a = i.getBoundingClientRect(), c = Hi(i), m =
|
|
12117
|
+
const a = i.getBoundingClientRect(), c = Hi(i), m = uo(c, "border", "width"), C = uo(c, "padding");
|
|
12115
12118
|
e = a.width - C.width - m.width, n = a.height - C.height - m.height, o = Ii(c.maxWidth, i, "clientWidth"), r = Ii(c.maxHeight, i, "clientHeight");
|
|
12116
12119
|
}
|
|
12117
12120
|
}
|
|
@@ -12124,10 +12127,10 @@ function kf(t, e, n) {
|
|
|
12124
12127
|
}
|
|
12125
12128
|
const ti = (t) => Math.round(t * 10) / 10;
|
|
12126
12129
|
function If(t, e, n, o) {
|
|
12127
|
-
const r = Hi(t), i =
|
|
12130
|
+
const r = Hi(t), i = uo(r, "margin"), a = Ii(r.maxWidth, t, "clientWidth") || Si, c = Ii(r.maxHeight, t, "clientHeight") || Si, m = kf(t, e, n);
|
|
12128
12131
|
let { width: C, height: L } = m;
|
|
12129
12132
|
if (r.boxSizing === "content-box") {
|
|
12130
|
-
const W =
|
|
12133
|
+
const W = uo(r, "border", "width"), K = uo(r, "padding");
|
|
12131
12134
|
C -= K.width + W.width, L -= K.height + W.height;
|
|
12132
12135
|
}
|
|
12133
12136
|
return C = Math.max(0, C - i.width), L = Math.max(0, o ? C / o : L - i.height), C = ti(Math.min(C, a, m.maxWidth)), L = ti(Math.min(L, c, m.maxHeight)), C && !L && (L = ti(C / 2)), (e !== void 0 || n !== void 0) && o && m.height && L > m.height && (L = m.height, C = ti(Math.floor(L * o))), {
|
|
@@ -13994,7 +13997,7 @@ var dh = {
|
|
|
13994
13997
|
function uh(t, e, n, o) {
|
|
13995
13998
|
const { controller: r, data: i, _sorted: a } = t, c = r._cachedMeta.iScale, m = t.dataset && t.dataset.options ? t.dataset.options.spanGaps : null;
|
|
13996
13999
|
if (c && e === c.axis && e !== "r" && a && i.length) {
|
|
13997
|
-
const C = c._reversePixels ? Bu :
|
|
14000
|
+
const C = c._reversePixels ? Bu : so;
|
|
13998
14001
|
if (o) {
|
|
13999
14002
|
if (r._sharedOptions) {
|
|
14000
14003
|
const L = i[0], P = typeof L.getRange == "function" && L.getRange(e);
|
|
@@ -15379,7 +15382,7 @@ class ii {
|
|
|
15379
15382
|
}
|
|
15380
15383
|
unregister(e) {
|
|
15381
15384
|
const n = this.items, o = e.id, r = this.scope;
|
|
15382
|
-
o in n && delete n[o], r && o in Vt[r] && (delete Vt[r][o], this.override && delete
|
|
15385
|
+
o in n && delete n[o], r && o in Vt[r] && (delete Vt[r][o], this.override && delete fo[o]);
|
|
15383
15386
|
}
|
|
15384
15387
|
}
|
|
15385
15388
|
function Xh(t, e, n) {
|
|
@@ -15609,7 +15612,7 @@ function sm(t, e) {
|
|
|
15609
15612
|
return {};
|
|
15610
15613
|
}
|
|
15611
15614
|
function cm(t, e) {
|
|
15612
|
-
const n =
|
|
15615
|
+
const n = fo[t.type] || {
|
|
15613
15616
|
scales: {}
|
|
15614
15617
|
}, o = e.scales || {}, r = Ca(t.type, e), i = /* @__PURE__ */ Object.create(null);
|
|
15615
15618
|
return Object.keys(o).forEach((a) => {
|
|
@@ -15628,7 +15631,7 @@ function cm(t, e) {
|
|
|
15628
15631
|
L[C]
|
|
15629
15632
|
]);
|
|
15630
15633
|
}), t.data.datasets.forEach((a) => {
|
|
15631
|
-
const c = a.type || t.type, m = a.indexAxis || Ca(c, e), L = (
|
|
15634
|
+
const c = a.type || t.type, m = a.indexAxis || Ca(c, e), L = (fo[c] || {}).scales || {};
|
|
15632
15635
|
Object.keys(L).forEach((P) => {
|
|
15633
15636
|
const W = im(P, m), K = a[W + "AxisID"] || W;
|
|
15634
15637
|
i[K] = i[K] || /* @__PURE__ */ Object.create(null), Zo(i[K], [
|
|
@@ -15751,7 +15754,7 @@ class um {
|
|
|
15751
15754
|
return c;
|
|
15752
15755
|
const m = /* @__PURE__ */ new Set();
|
|
15753
15756
|
n.forEach((L) => {
|
|
15754
|
-
e && (m.add(e), L.forEach((P) => qo(m, e, P))), L.forEach((P) => qo(m, r, P)), L.forEach((P) => qo(m,
|
|
15757
|
+
e && (m.add(e), L.forEach((P) => qo(m, e, P))), L.forEach((P) => qo(m, r, P)), L.forEach((P) => qo(m, fo[i] || {}, P)), L.forEach((P) => qo(m, Vt, P)), L.forEach((P) => qo(m, _a, P));
|
|
15755
15758
|
});
|
|
15756
15759
|
const C = Array.from(m);
|
|
15757
15760
|
return C.length === 0 && C.push(/* @__PURE__ */ Object.create(null)), Ac.has(n) && a.set(n, C), C;
|
|
@@ -15760,7 +15763,7 @@ class um {
|
|
|
15760
15763
|
const { options: e, type: n } = this;
|
|
15761
15764
|
return [
|
|
15762
15765
|
e,
|
|
15763
|
-
|
|
15766
|
+
fo[n] || {},
|
|
15764
15767
|
Vt.datasets[n] || {},
|
|
15765
15768
|
{
|
|
15766
15769
|
type: n
|
|
@@ -16335,7 +16338,7 @@ class xn {
|
|
|
16335
16338
|
return this.getElementsAtEventForMode(e, i.mode, i, r);
|
|
16336
16339
|
}
|
|
16337
16340
|
}
|
|
16338
|
-
Oe(xn, "defaults", Vt), Oe(xn, "instances", vi), Oe(xn, "overrides",
|
|
16341
|
+
Oe(xn, "defaults", Vt), Oe(xn, "instances", vi), Oe(xn, "overrides", fo), Oe(xn, "registry", Cn), Oe(xn, "version", mm), Oe(xn, "getChart", ps);
|
|
16339
16342
|
function ys() {
|
|
16340
16343
|
return kt(xn.instances, (t) => t._plugins.invalidate());
|
|
16341
16344
|
}
|
|
@@ -16380,7 +16383,7 @@ function xm(t, e, n, o) {
|
|
|
16380
16383
|
innerEnd: Xt(r.innerEnd, 0, a)
|
|
16381
16384
|
};
|
|
16382
16385
|
}
|
|
16383
|
-
function
|
|
16386
|
+
function bo(t, e, n, o) {
|
|
16384
16387
|
return {
|
|
16385
16388
|
x: n + t * Math.cos(e),
|
|
16386
16389
|
y: o + t * Math.sin(e)
|
|
@@ -16398,22 +16401,22 @@ function wi(t, e, n, o, r, i) {
|
|
|
16398
16401
|
if (t.beginPath(), i) {
|
|
16399
16402
|
const Qe = (Te + We) / 2;
|
|
16400
16403
|
if (t.arc(a, c, P, Te, Qe), t.arc(a, c, P, Qe, We), ke > 0) {
|
|
16401
|
-
const dt =
|
|
16404
|
+
const dt = bo(Ie, We, a, c);
|
|
16402
16405
|
t.arc(dt.x, dt.y, ke, We, pe + Dt);
|
|
16403
16406
|
}
|
|
16404
|
-
const ut =
|
|
16407
|
+
const ut = bo(De, pe, a, c);
|
|
16405
16408
|
if (t.lineTo(ut.x, ut.y), Ee > 0) {
|
|
16406
|
-
const dt =
|
|
16409
|
+
const dt = bo(De, mt, a, c);
|
|
16407
16410
|
t.arc(dt.x, dt.y, Ee, pe + Dt, mt + Math.PI);
|
|
16408
16411
|
}
|
|
16409
16412
|
const Ye = (pe - Ee / W + (fe + ve / W)) / 2;
|
|
16410
16413
|
if (t.arc(a, c, W, pe - Ee / W, Ye, !0), t.arc(a, c, W, Ye, fe + ve / W, !0), ve > 0) {
|
|
16411
|
-
const dt =
|
|
16414
|
+
const dt = bo(nt, ot, a, c);
|
|
16412
16415
|
t.arc(dt.x, dt.y, ve, ot + Math.PI, fe - Dt);
|
|
16413
16416
|
}
|
|
16414
|
-
const Je =
|
|
16417
|
+
const Je = bo(xe, fe, a, c);
|
|
16415
16418
|
if (t.lineTo(Je.x, Je.y), Me > 0) {
|
|
16416
|
-
const dt =
|
|
16419
|
+
const dt = bo(xe, Te, a, c);
|
|
16417
16420
|
t.arc(dt.x, dt.y, Me, fe - Dt, Te);
|
|
16418
16421
|
}
|
|
16419
16422
|
} else {
|
|
@@ -16776,7 +16779,7 @@ function Rm(t, e, n) {
|
|
|
16776
16779
|
function Hm(t, e, n) {
|
|
16777
16780
|
const { enableBorderRadius: o } = t.getProps([
|
|
16778
16781
|
"enableBorderRadius"
|
|
16779
|
-
]), r = t.options.borderRadius, i =
|
|
16782
|
+
]), r = t.options.borderRadius, i = co(r), a = Math.min(e, n), c = t.borderSkipped, m = o || pt(r);
|
|
16780
16783
|
return {
|
|
16781
16784
|
topLeft: Gn(!m || c.top || c.left, i.topLeft, 0, a),
|
|
16782
16785
|
topRight: Gn(!m || c.top || c.right, i.topRight, 0, a),
|
|
@@ -17378,7 +17381,7 @@ class ks extends Yn {
|
|
|
17378
17381
|
}, nt = m.xPlus(Ee, X / 2), De = xe + W;
|
|
17379
17382
|
ac(r, We, nt, De, a.pointStyleWidth && X);
|
|
17380
17383
|
} else {
|
|
17381
|
-
const We = xe + Math.max((P - ee) / 2, 0), nt = m.leftForLtr(Ee, X), De =
|
|
17384
|
+
const We = xe + Math.max((P - ee) / 2, 0), nt = m.leftForLtr(Ee, X), De = co(Ie.borderRadius);
|
|
17382
17385
|
r.beginPath(), Object.values(De).some((ot) => ot !== 0) ? ar(r, {
|
|
17383
17386
|
x: nt,
|
|
17384
17387
|
y: We,
|
|
@@ -17687,7 +17690,7 @@ function pg(t, e, n) {
|
|
|
17687
17690
|
return e === "top" ? o += n : e === "bottom" ? o -= r + n : o -= r / 2, o;
|
|
17688
17691
|
}
|
|
17689
17692
|
function ws(t, e, n, o) {
|
|
17690
|
-
const { caretSize: r, caretPadding: i, cornerRadius: a } = t, { xAlign: c, yAlign: m } = n, C = r + i, { topLeft: L, topRight: P, bottomLeft: W, bottomRight: K } =
|
|
17693
|
+
const { caretSize: r, caretPadding: i, cornerRadius: a } = t, { xAlign: c, yAlign: m } = n, C = r + i, { topLeft: L, topRight: P, bottomLeft: W, bottomRight: K } = co(a);
|
|
17691
17694
|
let X = gg(e, c);
|
|
17692
17695
|
const ee = pg(e, m, C);
|
|
17693
17696
|
return m === "center" ? c === "left" ? X += C : c === "right" && (X -= C) : c === "left" ? X -= Math.max(L, W) + r : c === "right" && (X += Math.max(P, K) + r), {
|
|
@@ -17855,7 +17858,7 @@ class ka extends Yn {
|
|
|
17855
17858
|
n.lineTo(i.x1, i.y1), n.lineTo(i.x2, i.y2), n.lineTo(i.x3, i.y3);
|
|
17856
17859
|
}
|
|
17857
17860
|
getCaretPosition(e, n, o) {
|
|
17858
|
-
const { xAlign: r, yAlign: i } = this, { caretSize: a, cornerRadius: c } = o, { topLeft: m, topRight: C, bottomLeft: L, bottomRight: P } =
|
|
17861
|
+
const { xAlign: r, yAlign: i } = this, { caretSize: a, cornerRadius: c } = o, { topLeft: m, topRight: C, bottomLeft: L, bottomRight: P } = co(c), { x: W, y: K } = e, { width: X, height: ee } = n;
|
|
17859
17862
|
let ie, fe, pe, Me, ke, ve;
|
|
17860
17863
|
return i === "center" ? (ke = K + ee / 2, r === "left" ? (ie = W, fe = ie - a, Me = ke + a, ve = ke - a) : (ie = W + X, fe = ie + a, Me = ke - a, ve = ke + a), pe = ie) : (r === "left" ? fe = W + Math.max(m, L) + a : r === "right" ? fe = W + X - Math.max(C, P) - a : fe = this.caretX, i === "top" ? (Me = K, ke = Me - a, ie = fe - a, pe = fe + a) : (Me = K + ee, ke = Me + a, ie = fe + a, pe = fe - a), ve = Me), {
|
|
17861
17864
|
x1: ie,
|
|
@@ -17887,7 +17890,7 @@ class ka extends Yn {
|
|
|
17887
17890
|
e.strokeStyle = i.multiKeyBackground, e.fillStyle = i.multiKeyBackground, va(e, ee, ie, fe), e.strokeStyle = a.borderColor, e.fillStyle = a.backgroundColor, va(e, ee, ie, fe);
|
|
17888
17891
|
} else {
|
|
17889
17892
|
e.lineWidth = pt(a.borderWidth) ? Math.max(...Object.values(a.borderWidth)) : a.borderWidth || 1, e.strokeStyle = a.borderColor, e.setLineDash(a.borderDash || []), e.lineDashOffset = a.borderDashOffset || 0;
|
|
17890
|
-
const ee = r.leftForLtr(W, C), ie = r.leftForLtr(r.xPlus(W, 1), C - 2), fe =
|
|
17893
|
+
const ee = r.leftForLtr(W, C), ie = r.leftForLtr(r.xPlus(W, 1), C - 2), fe = co(a.borderRadius);
|
|
17891
17894
|
Object.values(fe).some((pe) => pe !== 0) ? (e.beginPath(), e.fillStyle = i.multiKeyBackground, ar(e, {
|
|
17892
17895
|
x: ee,
|
|
17893
17896
|
y: X,
|
|
@@ -17928,7 +17931,7 @@ class ka extends Yn {
|
|
|
17928
17931
|
}
|
|
17929
17932
|
}
|
|
17930
17933
|
drawBackground(e, n, o, r) {
|
|
17931
|
-
const { xAlign: i, yAlign: a } = this, { x: c, y: m } = e, { width: C, height: L } = o, { topLeft: P, topRight: W, bottomLeft: K, bottomRight: X } =
|
|
17934
|
+
const { xAlign: i, yAlign: a } = this, { x: c, y: m } = e, { width: C, height: L } = o, { topLeft: P, topRight: W, bottomLeft: K, bottomRight: X } = co(r.cornerRadius);
|
|
17932
17935
|
n.fillStyle = r.backgroundColor, n.strokeStyle = r.borderColor, n.lineWidth = r.borderWidth, n.beginPath(), n.moveTo(c + P, m), a === "top" && this.drawCaret(e, n, o, r), n.lineTo(c + C - W, m), n.quadraticCurveTo(c + C, m, c + C, m + W), a === "center" && i === "right" && this.drawCaret(e, n, o, r), n.lineTo(c + C, m + L - X), n.quadraticCurveTo(c + C, m + L, c + C - X, m + L), a === "bottom" && this.drawCaret(e, n, o, r), n.lineTo(c + K, m + L), n.quadraticCurveTo(c, m + L, c, m + L - K), a === "center" && i === "left" && this.drawCaret(e, n, o, r), n.lineTo(c, m + P), n.quadraticCurveTo(c, m, c + P, m), n.closePath(), n.fill(), r.borderWidth > 0 && n.stroke();
|
|
17933
17936
|
}
|
|
17934
17937
|
_updateAnimationTarget(e) {
|
|
@@ -18418,7 +18421,7 @@ function Bg(t, e, n) {
|
|
|
18418
18421
|
function Lg(t, e, n) {
|
|
18419
18422
|
const { left: o, top: r, right: i, bottom: a } = n, { backdropColor: c } = e;
|
|
18420
18423
|
if (!vt(c)) {
|
|
18421
|
-
const m =
|
|
18424
|
+
const m = co(e.borderRadius), C = Qt(e.backdropPadding);
|
|
18422
18425
|
t.fillStyle = c;
|
|
18423
18426
|
const L = o - C.left, P = r - C.top, W = i - o + C.width, K = a - r + C.height;
|
|
18424
18427
|
Object.values(m).some((X) => X !== 0) ? (t.beginPath(), ar(t, {
|
|
@@ -18904,7 +18907,7 @@ Oe(Ai, "id", "time"), Oe(Ai, "defaults", {
|
|
|
18904
18907
|
});
|
|
18905
18908
|
function si(t, e, n) {
|
|
18906
18909
|
let o = 0, r = t.length - 1, i, a, c, m;
|
|
18907
|
-
n ? (e >= t[o].pos && e <= t[r].pos && ({ lo: o, hi: r } =
|
|
18910
|
+
n ? (e >= t[o].pos && e <= t[r].pos && ({ lo: o, hi: r } = so(t, "pos", e)), { pos: i, time: c } = t[o], { pos: a, time: m } = t[r]) : (e >= t[o].time && e <= t[r].time && ({ lo: o, hi: r } = so(t, "time", e)), { time: i, pos: c } = t[o], { time: a, pos: m } = t[r]);
|
|
18908
18911
|
const C = a - i;
|
|
18909
18912
|
return C ? c + (m - c) * (e - i) / C : c;
|
|
18910
18913
|
}
|
|
@@ -19005,10 +19008,12 @@ const Dg = (t) => {
|
|
|
19005
19008
|
custom4Color: t.componentStyle.custom4Color,
|
|
19006
19009
|
custom5Color: t.componentStyle.custom5Color,
|
|
19007
19010
|
invertColor: t.componentStyle.invertColor,
|
|
19011
|
+
minHeightXS: t.componentStyle.minHeightXS,
|
|
19008
19012
|
minHeightS: t.componentStyle.minHeightS,
|
|
19009
19013
|
minHeightM: t.componentStyle.minHeightM,
|
|
19010
19014
|
minHeightL: t.componentStyle.minHeightL,
|
|
19011
19015
|
minHeightXL: t.componentStyle.minHeightXL,
|
|
19016
|
+
fontSizeXS: t.componentStyle.fontSizeXS,
|
|
19012
19017
|
fontSizeS: t.componentStyle.fontSizeS,
|
|
19013
19018
|
fontSizeM: t.componentStyle.fontSizeM,
|
|
19014
19019
|
fontSizeL: t.componentStyle.fontSizeL,
|
|
@@ -19482,7 +19487,7 @@ const Ta = zs("pc"), ry = () => rd(Ta), zg = () => {
|
|
|
19482
19487
|
filesetSize: 1 / 0
|
|
19483
19488
|
},
|
|
19484
19489
|
componentStyle: {
|
|
19485
|
-
size:
|
|
19490
|
+
size: lo.m,
|
|
19486
19491
|
filledColor: Ti,
|
|
19487
19492
|
emptyColor: Kc,
|
|
19488
19493
|
filledTextColor: Ya,
|
|
@@ -19499,10 +19504,12 @@ const Ta = zs("pc"), ry = () => rd(Ta), zg = () => {
|
|
|
19499
19504
|
custom4Color: $c,
|
|
19500
19505
|
custom5Color: Yc,
|
|
19501
19506
|
invertColor: !1,
|
|
19507
|
+
minHeightXS: 1.4,
|
|
19502
19508
|
minHeightS: 1.7,
|
|
19503
19509
|
minHeightM: 2,
|
|
19504
19510
|
minHeightL: 2.3,
|
|
19505
19511
|
minHeightXL: 2.6,
|
|
19512
|
+
fontSizeXS: 0.7,
|
|
19506
19513
|
fontSizeS: 0.8,
|
|
19507
19514
|
fontSizeM: 0.9,
|
|
19508
19515
|
fontSizeL: 1,
|
|
@@ -19695,10 +19702,12 @@ const Ta = zs("pc"), ry = () => rd(Ta), zg = () => {
|
|
|
19695
19702
|
--hison-custom5-filledTextColor: ${e.custom5.filledTextColor};
|
|
19696
19703
|
|
|
19697
19704
|
--hison-font-family: 'Arial, sans-serif';
|
|
19705
|
+
--hison-xs-min-height: ${t.minHeightXS};
|
|
19698
19706
|
--hison-s-min-height: ${t.minHeightS};
|
|
19699
19707
|
--hison-m-min-height: ${t.minHeightM};
|
|
19700
19708
|
--hison-l-min-height: ${t.minHeightL};
|
|
19701
19709
|
--hison-xl-min-height: ${t.minHeightXL};
|
|
19710
|
+
--hison-xs-font-size: ${t.fontSizeXS};
|
|
19702
19711
|
--hison-s-font-size: ${t.fontSizeS};
|
|
19703
19712
|
--hison-m-font-size: ${t.fontSizeM};
|
|
19704
19713
|
--hison-l-font-size: ${t.fontSizeL};
|
|
@@ -20133,7 +20142,7 @@ const Ta = zs("pc"), ry = () => rd(Ta), zg = () => {
|
|
|
20133
20142
|
return te.componentStyle.invertColor;
|
|
20134
20143
|
}
|
|
20135
20144
|
}, t.component = {}, t.component.getAccordion = (o) => te.component.accordionList[o], t.component.getBaggie = (o) => te.component.baggieList[o], t.component.getBanner = (o) => te.component.bannerList[o], t.component.getButton = (o) => te.component.buttonList[o], t.component.getCalendar = (o) => te.component.calendarList[o], t.component.getCaption = (o) => te.component.captionList[o], t.component.getChart = (o) => te.component.chartList[o], t.component.getDrawer = (o) => te.component.drawerList[o], t.component.getDropdown = (o) => te.component.dropdownList[o], t.component.getGap = (o) => te.component.gapList[o], t.component.getFileset = (o) => te.component.filesetList[o], t.component.getGrid = (o) => te.grid.getGrid(o), t.component.getImagebox = (o) => te.component.imageboxList[o], t.component.getInput = (o) => te.component.inputList[o], t.component.getInputGroup = (o) => te.component.inputGroupList[o], t.component.getLabel = (o) => te.component.labelList[o], t.component.getLayout = (o) => te.component.layoutList[o], t.component.getList = (o) => te.component.listList[o], t.component.getModal = (o) => te.component.modalList[o], t.component.getNote = (o) => te.note.getNote(o), t.component.getPagination = (o) => te.component.paginationList[o], t.component.getParagraph = (o) => te.component.paragraphList[o], t.component.getPopup = (o) => te.component.popupList[o], t.component.getSpinner = (o) => te.component.spinnerList[o], t.component.getTable = (o) => te.component.tableList[o];
|
|
20136
|
-
}, Gg = Bt(() => import("./HAccordion-
|
|
20145
|
+
}, Gg = Bt(() => import("./HAccordion-CNWAodMp.mjs"), "HAccordion"), jg = Bt(() => import("./HBaggie-C-OS7n2D.mjs"), "HBaggie"), Wg = Bt(() => import("./HBanner-D0ImN6h1.mjs"), "HBanner"), qg = Bt(() => import("./HButton-CuoH95_k.mjs"), "HButton"), $g = Bt(() => import("./HCalendar-CnuUn3Xk.mjs"), "HCalendar"), Yg = Bt(() => import("./HCaption-Di8ePmqg.mjs"), "HCaption"), Kg = Bt(() => import("./HChart-xM2KDiJi.mjs"), "HChart"), Xg = Bt(() => import("./HDrawer-Vt4JA6pk.mjs"), "HDrawer"), Jg = Bt(() => import("./HDropdown-BBEH646p.mjs"), "HDropdown"), Zg = Bt(() => import("./HFileset-oi7P1lcc.mjs"), "HFileset"), Qg = Bt(() => import("./HGap-Bp1hRvbT.mjs"), "HGap"), ep = Bt(() => import("./HGrid-Bc13aqjL.mjs"), "HGrid"), tp = Bt(() => import("./HImagebox-8Uwvm5U0.mjs"), "HImagebox"), np = Bt(() => import("./HInput-DoSKCROI.mjs"), "HInput"), op = Bt(() => import("./HInputGroup-DSUZqea5.mjs"), "HInputGroup"), rp = Bt(() => import("./HLabel-DQVACpDP.mjs"), "HLabel"), ip = Bt(() => import("./HLayout-BoHgIQcJ.mjs"), "HLayout"), ap = Bt(() => import("./HList-BQEDGW7_.mjs"), "HList"), lp = Bt(() => import("./HModal-GpwcBz5c.mjs"), "HModal"), sp = Bt(() => import("./HNote-Dv8mltb0.mjs"), "HNote"), cp = Bt(() => import("./HPagination-DG0I3Orn.mjs"), "HPagination"), dp = Bt(() => import("./HParagraph-dWlO5RLM.mjs"), "HParagraph"), up = Bt(() => import("./HPopup-BrkB_lUB.mjs"), "HPopup"), fp = Bt(() => import("./HSpinner-D6VNpQLM.mjs"), "HSpinner"), hp = Bt(() => import("./HTable-D2HYTuO9.mjs"), "HTable"), gn = sn.createHison(), iy = {
|
|
20137
20146
|
install(t, e) {
|
|
20138
20147
|
const n = Ps();
|
|
20139
20148
|
e ? Object.keys(n).forEach((o) => {
|
|
@@ -20239,7 +20248,7 @@ export {
|
|
|
20239
20248
|
Zt as s,
|
|
20240
20249
|
gd as t,
|
|
20241
20250
|
ry as u,
|
|
20242
|
-
|
|
20251
|
+
lo as v,
|
|
20243
20252
|
Od as w,
|
|
20244
20253
|
Fd as x,
|
|
20245
20254
|
Hd as y,
|