@cling-se/widget 0.22.4 → 0.23.0
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/CHANGELOG.md +16 -0
- package/dist/{AddClientCallout-DNZHh9aJ.js → AddClientCallout-Bv6IKK40.js} +6 -6
- package/dist/AnswerModal-BH7HUCFy.js +4511 -0
- package/dist/{AttachmentItem-D6b6WSIC.js → AttachmentItem-DVVxOm2E.js} +6 -6
- package/dist/{BaseUpload-DW7wAWia.js → BaseUpload-B8k82P27.js} +2 -2
- package/dist/{BlockMedia-CIz6WbRP.js → BlockMedia-BcvfBi4G.js} +4 -4
- package/dist/{CCallout-BuWA9vQi.js → CCallout-BbBdzwkb.js} +3 -3
- package/dist/{CCurrencyDropdown-rIQOA7zf.js → CCurrencyDropdown-2PRaeJHp.js} +5 -5
- package/dist/{CDropdownItem-DA4QbI32.js → CDropdownItem-CFTdvAJc.js} +13 -13
- package/dist/{CFormField.vue_vue_type_script_setup_true_lang-qFddDazf.js → CFormField.vue_vue_type_script_setup_true_lang-B0HHxy2B.js} +7 -7
- package/dist/{CPhoneFormat-CvkaRSKJ.js → CPhoneFormat-D__bIItZ.js} +1 -1
- package/dist/{regions-BdZt9Srn.js → CPhoneInput-DPqzQOjR.js} +205 -3
- package/dist/{CPriceInput-C5r9iilu.js → CPriceInput-BJ1hmANq.js} +4 -4
- package/dist/{CSelect-GoTrnuJR.js → CSelect-GhGdyQzt.js} +4 -4
- package/dist/{CSkeleton-C4jNQwG5.js → CSkeleton-Ro7hmy5_.js} +5 -5
- package/dist/{ClientAutocomplete-BMbBwVkp.js → ClientAutocomplete-Ci08U3Eg.js} +10 -10
- package/dist/{ClientModal-cLE2g03X.js → ClientModal-CZjzCgw_.js} +253 -223
- package/dist/{ColorPicker-DephKZ2W.js → ColorPicker-Bdev0Tci.js} +27 -27
- package/dist/{CompanyModal-BLF26B1Y.js → CompanyModal-vZnMCWG-.js} +8 -8
- package/dist/{ContentWrapper-DqH_Tg4O.js → ContentWrapper-CAlHzSsP.js} +18 -18
- package/dist/{CoverBlockSettings-CjLkmC3R.js → CoverBlockSettings-CRG8Q2mD.js} +42 -42
- package/dist/{DocAnswer-BOCE0iTj.js → DocAnswer-DHVVPZff.js} +2 -2
- package/dist/{DocDetails-BNzZbHuR.js → DocDetails-W4sRFsQP.js} +8 -8
- package/dist/{DocForm-DATslViB.js → DocForm-B0HWL32c.js} +853 -757
- package/dist/{DocFormSend-TrpwDUwL.js → DocFormSend-BHjoq88x.js} +2 -2
- package/dist/{DocLinks-COu3hrrY.js → DocLinks-BKJ_usNd.js} +2 -2
- package/dist/{DocModalBase-1C2Kgo0U.js → DocModalBase-Z1ZEPL_z.js} +1 -1
- package/dist/{DocPrint-D0C1wkRv.js → DocPrint-W53zklGf.js} +3 -3
- package/dist/{DocReceipt-DuCwfC4c.js → DocReceipt-CG954L85.js} +10 -10
- package/dist/{DocSendReminder-CIuktfcG.js → DocSendReminder-rE0hlFaZ.js} +3 -3
- package/dist/{DocTextEditor-D3GXD6oS.js → DocTextEditor-DwYMXhZv.js} +9 -9
- package/dist/{DocTimeline-DFRH0ZoY.js → DocTimeline-BsvUw4lW.js} +17 -17
- package/dist/{DocumentClient-C-x_FhRo.js → DocumentClient-DeDGrmbP.js} +5 -5
- package/dist/{DocumentLayout-CG3CMORs.js → DocumentLayout-DdXflWEb.js} +28 -28
- package/dist/{DocumentLogotype-Dzg56cWX.js → DocumentLogotype-eSStO83t.js} +3 -3
- package/dist/{DocumentVoided-BwR0opXX.js → DocumentVoided-CF_snlgf.js} +1 -1
- package/dist/{EmbedInput-BsE3t6-g.js → EmbedInput-C6zvXcOu.js} +5 -5
- package/dist/{EmbedSettings-D-9KP6m4.js → EmbedSettings-BO0wk_Mz.js} +3 -3
- package/dist/{ErrorCallout-B_mC-Fe1.js → ErrorCallout-BX44gJMR.js} +1 -1
- package/dist/{FilePreviewModal-BvjuHHjm.js → FilePreviewModal-Dl9kL1D4.js} +2 -2
- package/dist/{Flag-DPAkxgnZ.js → Flag-CUjMh16L.js} +1 -1
- package/dist/{HeaderSettings-BvSFZXCC.js → HeaderSettings-CGAKOOf2.js} +18 -18
- package/dist/{ImageSelectModal-dxT1FSSS.js → ImageSelectModal-CBJLdDWY.js} +3 -3
- package/dist/{ImageUploadWrapper-Nv2ER9An.js → ImageUploadWrapper-3iw_ifJm.js} +2 -2
- package/dist/{Index-CmW_KqwC.js → Index--LhQAU0e.js} +4 -4
- package/dist/{Index-C8TA-TOH.js → Index-B9IVTM-6.js} +4 -4
- package/dist/{Index-CfhN1h-r.js → Index-BHc8-EVf.js} +2 -2
- package/dist/{Index-B7qmjT-n.js → Index-BKdt7W1p.js} +11 -11
- package/dist/{Index-BYZV5v4f.js → Index-BQjcDZPz.js} +8 -8
- package/dist/{Index-CN-SsBzv.js → Index-BXgbccOo.js} +2 -2
- package/dist/{Index-Di3aqW-F.js → Index-Bc75-4Ee.js} +41 -41
- package/dist/{Index-D5ZQV_ag.js → Index-Bf6twTPv.js} +1 -1
- package/dist/{Index-D05kz85o.js → Index-BwyxrAfq.js} +2 -2
- package/dist/{Index-CM_86t2X.js → Index-CFk1oikV.js} +5 -5
- package/dist/{Index-D5hQ9Sjn.js → Index-CRPvQg7m.js} +4 -4
- package/dist/{Index-DAlIF7c_.js → Index-CZLo46BA.js} +2 -2
- package/dist/{Index-CXzCLl4Y.js → Index-Cay1MsI0.js} +4 -4
- package/dist/{Index-jRiyU4XJ.js → Index-CbJAROk-.js} +6 -6
- package/dist/{Index-Dlgu9gBy.js → Index-Ck3YMDt4.js} +14 -14
- package/dist/{Index-CeYtiMwu.js → Index-CmtHodVa.js} +7 -7
- package/dist/{Index-BYyYmGls.js → Index-Cv-ZmqIf.js} +19 -19
- package/dist/Index-D3GyeaZ3.js +4 -0
- package/dist/{Index-CUbEi910.js → Index-D3YAyImu.js} +3 -3
- package/dist/{Index-N8nTYiyd.js → Index-D48EyoXi.js} +4 -4
- package/dist/{Index-CjunFweP.js → Index-DDTMR3LI.js} +6 -6
- package/dist/{Index-DJAySS1C.js → Index-DExnFebC.js} +29 -29
- package/dist/{Index-xt53y9Zo.js → Index-DRNXEsk-.js} +5 -5
- package/dist/{Index-C5Fj3fR9.js → Index-DUvA8MIy.js} +3 -3
- package/dist/{Index-jle7V_kM.js → Index-DaOOJQM2.js} +3 -3
- package/dist/{Index-D5oFyd4s.js → Index-DlWc7i0k.js} +4 -4
- package/dist/{Index-C3Rh5cbz.js → Index-Dttziehp.js} +11 -11
- package/dist/{Index-D63aOUOW.js → Index-T6kXb5Sf.js} +5 -5
- package/dist/{Index-DckdXVR6.js → Index-_Xoo1bdc.js} +3 -3
- package/dist/{Index-BNIu3Ud9.js → Index-foC5v_3Y.js} +3 -3
- package/dist/{Index-DTVfouJF.js → Index-gLA2kURi.js} +4 -4
- package/dist/{Index-CNl8W0Qj.js → Index-gOnXhVx4.js} +7 -7
- package/dist/{Index-BzaWm4so.js → Index-j78ap3EU.js} +3 -3
- package/dist/{Index-DEcmLf1s.js → Index-qAnbtxTE.js} +7 -7
- package/dist/{Index.vue_vue_type_script_lang-CTwo2Vcj.js → Index.vue_vue_type_script_lang-DkStHbk0.js} +2 -2
- package/dist/{InputToggleRow-hhpru4Tk.js → InputToggleRow-COQQQaJS.js} +1 -1
- package/dist/{ManualPopover-DWHgPmo4.js → ManualPopover-2myYukDY.js} +3 -3
- package/dist/{MediaWrapper-DFQOWgIv.js → MediaWrapper-CzLU8HWj.js} +3 -3
- package/dist/{NotBindingText-C8nuYQyU.js → NotBindingText-Ds156Rs5.js} +2 -2
- package/dist/{PackageGroup-SphTfHuX.js → PackageGroup-wT1ri3ij.js} +9 -9
- package/dist/{PdfTerms-DBaBtDkV.js → PdfTerms-CcFpPx19.js} +2 -2
- package/dist/{PdfViewer-BAwmny53.js → PdfViewer-B7qdDox0.js} +24 -24
- package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-DCWzxQzX.js → PlainHtml.vue_vue_type_script_setup_true_lang-pAIAnHdh.js} +1 -1
- package/dist/{PriceHeader-WCjqK7Bi.js → PriceHeader-CdJspOjM.js} +12 -12
- package/dist/{SearchApi-D3No6Dqd.js → SearchApi-zTefPc4C.js} +15 -5
- package/dist/{SendForm-DRc7hoaV.js → SendForm-DWiNVIs2.js} +8 -8
- package/dist/{Setup-Cs6_giNI.js → Setup-D90T_HW3.js} +1 -1
- package/dist/{SmartList-B0PP_sSE.js → SmartList-mO6hykju.js} +1 -1
- package/dist/{Sortable.vue_vue_type_script_setup_true_lang-ZolW_Wsv.js → Sortable.vue_vue_type_script_setup_true_lang-D22AqpXY.js} +35 -35
- package/dist/{TermsSettings-D1gsuKfo.js → TermsSettings-CW4GvPBa.js} +14 -14
- package/dist/{ThemeColorRow-MBlQPvxx.js → ThemeColorRow-C9XPet4I.js} +5 -5
- package/dist/{ToggleBinding-8pGtAGC1.js → ToggleBinding-5Ewi_NNo.js} +5 -5
- package/dist/{UploadModal-Bjf1zHOJ.js → UploadModal-ChOeO-8_.js} +4 -4
- package/dist/{VideoPlayerInput-C47DpiP5.js → VideoPlayerInput-CtZi6yF_.js} +6 -6
- package/dist/{VideoPlayerSettings-4IkCJlQi.js → VideoPlayerSettings-Bg8IvjwK.js} +2 -2
- package/dist/{VideoSelectModal-Cqto80td.js → VideoSelectModal-E01NsD3K.js} +5 -5
- package/dist/{dom-DOcGU3-g.js → dom-B_lSczxY.js} +5 -6
- package/dist/{focusDrawerMixin-BKLMBRx9.js → focusDrawerMixin-DfuFLIV0.js} +1 -1
- package/dist/{formDrawerState-DLcwOQ4Q.js → formDrawerState-DlaQS_ZT.js} +1 -1
- package/dist/{fortnoxTheme-afOWlK_c.js → fortnoxTheme-CyUIkVuu.js} +1 -1
- package/dist/{helpers-DIwX03XH.js → helpers-B1vYJYc-.js} +1 -1
- package/dist/{index-DWh08PmG.js → index-BPR1VsLM.js} +1 -1
- package/dist/{index-Brm5io83.js → index-CBkI7Hc7.js} +28 -28
- package/dist/index-CXYvBw0i.js +107 -0
- package/dist/index-DK3w2fdd.js +896 -0
- package/dist/{index-1lAgEf-q.js → index-DOK_hQri.js} +28 -28
- package/dist/{index-C5Y--h93.js → index-DnMhYLAz.js} +1 -1
- package/dist/{index-Bx76J19m.js → index-hj2QoJyP.js} +8 -8
- package/dist/index.es.js +2 -2
- package/dist/index.umd.js +190 -219
- package/dist/{main-2P1is0vk.js → main-BnJTDeKH.js} +368 -392
- package/dist/{mapFormMixin-CwOdsAx8.js → mapFormMixin-sXjgYtfb.js} +2 -2
- package/dist/{omit-DRXgPscM.js → omit-DQlOTuQS.js} +1 -1
- package/dist/{splitpanes-BgdVTU0e.js → splitpanes-4FF5o_FM.js} +1 -1
- package/dist/{template-Dbh8Beut.js → template-dbF0t2om.js} +1 -1
- package/dist/{tippy.esm-BRo_GJ2r.js → tippy.esm-Bu14Lq2S.js} +50 -50
- package/dist/{useTermsModal-BoFP5jyd.js → useTermsModal-DKiiU8a4.js} +4 -4
- package/dist/{utils-BbQPVxxj.js → utils-Dn9pHgbx.js} +1 -1
- package/dist/{validation-B0Jd0etq.js → validation-D_KP2hMr.js} +3 -3
- package/dist/widget.css +1 -1
- package/package.json +1 -1
- package/dist/AnswerModal-Disz8n8v.js +0 -3653
- package/dist/CPhoneInput-DT0zBmee.js +0 -207
- package/dist/Index--uza8ciS.js +0 -4
- package/dist/anime.es-4wvNItHq.js +0 -862
- package/dist/index-BsFKTasH.js +0 -3590
- package/dist/index-_a-1nXaE.js +0 -149
- package/dist/validations-ohsJ5nBz.js +0 -34
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { aF as r, aE as d, i as m, bw as w, bx as g, by as y, bz as x, bA as v, bB as k,
|
|
2
|
-
import { t as V, c as b, a as H, g as I, b as M } from "./template-
|
|
1
|
+
import { aF as r, aE as d, i as m, bw as w, bx as g, by as y, bz as x, bA as v, bB as k, ae as h } from "./main-BnJTDeKH.js";
|
|
2
|
+
import { t as V, c as b, a as H, g as I, b as M } from "./template-dbF0t2om.js";
|
|
3
3
|
const T = (e) => {
|
|
4
4
|
const t = Array(2).fill().map(() => r());
|
|
5
5
|
return [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aW as A, aX as P, aY as y, aZ as S, a_ as p, a$ as x, b0 as D, b1 as G, b2 as I, b3 as M, aL as N } from "./main-
|
|
1
|
+
import { aW as A, aX as P, aY as y, aZ as S, a_ as p, a$ as x, b0 as D, b1 as G, b2 as I, b3 as M, aL as N } from "./main-BnJTDeKH.js";
|
|
2
2
|
var f, q;
|
|
3
3
|
function T() {
|
|
4
4
|
if (q) return f;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { aj as m, d as u, o as c, O as z, Q as x } from "./main-BnJTDeKH.js";
|
|
2
2
|
const M = {
|
|
3
3
|
name: "splitpanes",
|
|
4
4
|
emits: ["ready", "resize", "resized", "pane-click", "pane-maximize", "pane-add", "pane-remove", "splitter-click"],
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { F as Tr } from "./DocumentLayout-
|
|
2
|
-
import { _ as Ar, n as Cr, b as xe,
|
|
3
|
-
import {
|
|
4
|
-
import { C as jr } from "./ColorPicker-
|
|
5
|
-
import { C as Br } from "./CCurrencyDropdown-
|
|
1
|
+
import { F as Tr } from "./DocumentLayout-DdXflWEb.js";
|
|
2
|
+
import { _ as Ar, n as Cr, b as xe, Y as Dr, d as I, o as P, j as _, v as kr, e as It, t as pe, F as Le, q as st, y as _r, a5 as ve, f as ce, w as Se, Q as Lr, an as Sr, c as Rr, s as Pr } from "./main-BnJTDeKH.js";
|
|
3
|
+
import { C as Ir, b as Mr } from "./CDropdownItem-CFTdvAJc.js";
|
|
4
|
+
import { C as jr } from "./ColorPicker-Bdev0Tci.js";
|
|
5
|
+
import { C as Br } from "./CCurrencyDropdown-2PRaeJHp.js";
|
|
6
6
|
const Vr = {
|
|
7
7
|
components: {
|
|
8
8
|
ColorPicker: jr,
|
|
@@ -47,7 +47,7 @@ const Vr = {
|
|
|
47
47
|
"stroke-width": "2",
|
|
48
48
|
"stroke-linecap": "square",
|
|
49
49
|
"stroke-linejoin": "bevel"
|
|
50
|
-
}, Ur = { style: { flex: "1 1 60%", margin: "7px 0 7px 0", width: "1px", display: "flex" } }, Wr = ["onInput", "onKeypress"], zr = ["onInput", "onKeypress"], qr = { class: "select-wrapper" },
|
|
50
|
+
}, Ur = { style: { flex: "1 1 60%", margin: "7px 0 7px 0", width: "1px", display: "flex" } }, Wr = ["onInput", "onKeypress"], zr = ["onInput", "onKeypress"], qr = { class: "select-wrapper" }, Yr = ["onInput"], Xr = ["value", "selected"], Kr = ["onClick"], Gr = ["onClick"], Jr = ["onInput"], Qr = ["value", "selected"], Zr = { style: { height: "26px", display: "flex", "align-items": "center", "flex-wrap": "nowrap", overflow: "hidden", "border-radius": "5px", "font-size": "13px", cursor: "pointer" } }, en = { style: { padding: "0 5px" } }, tn = ["onClick"], rn = { class: "w-full truncate" }, nn = { style: { width: "90%", display: "block" } }, on = { class: "w-full truncate" }, an = { style: { width: "90%", display: "block" } }, sn = { style: { height: "26px", display: "flex", "align-items": "center", "flex-wrap": "nowrap", overflow: "hidden", "border-radius": "5px", "font-size": "13px", cursor: "pointer" } }, un = { style: { padding: "0 5px" } }, pn = ["onClick"];
|
|
51
51
|
function cn(e, t, r, n, i, s) {
|
|
52
52
|
const p = xe("CIcon"), c = xe("ColorPicker"), u = xe("CDropdown"), v = xe("FontPickerDropdown"), d = xe("CCurrencyDropdown"), x = xe("CSwitch"), O = xe("FormInputRow", !0), y = Dr("tooltip");
|
|
53
53
|
return P(), I("div", $r, [
|
|
@@ -111,8 +111,8 @@ function cn(e, t, r, n, i, s) {
|
|
|
111
111
|
key: f.value,
|
|
112
112
|
value: f.value,
|
|
113
113
|
selected: f.value === l.props.select.value
|
|
114
|
-
}, pe(f.label), 9,
|
|
115
|
-
], 16,
|
|
114
|
+
}, pe(f.label), 9, Xr))), 128))
|
|
115
|
+
], 16, Yr)
|
|
116
116
|
])
|
|
117
117
|
])) : l.component === "step" ? (P(), I("div", {
|
|
118
118
|
key: b + "step",
|
|
@@ -277,9 +277,9 @@ const ln = /* @__PURE__ */ Ar(Vr, [["render", cn], ["__scopeId", "data-v-8c904ab
|
|
|
277
277
|
__proto__: null,
|
|
278
278
|
default: ln
|
|
279
279
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
280
|
-
var H = "top", K = "bottom", G = "right", U = "left", At = "auto",
|
|
280
|
+
var H = "top", K = "bottom", G = "right", U = "left", At = "auto", Xe = [H, K, G, U], Re = "start", qe = "end", dn = "clippingParents", er = "viewport", He = "popper", vn = "reference", Mt = /* @__PURE__ */ Xe.reduce(function(e, t) {
|
|
281
281
|
return e.concat([t + "-" + Re, t + "-" + qe]);
|
|
282
|
-
}, []), tr = /* @__PURE__ */ [].concat(
|
|
282
|
+
}, []), tr = /* @__PURE__ */ [].concat(Xe, [At]).reduce(function(e, t) {
|
|
283
283
|
return e.concat([t, t + "-" + Re, t + "-" + qe]);
|
|
284
284
|
}, []), mn = "beforeRead", hn = "read", gn = "afterRead", yn = "beforeMain", bn = "main", wn = "afterMain", xn = "beforeWrite", On = "write", En = "afterWrite", Tn = [mn, hn, gn, yn, bn, wn, xn, On, En];
|
|
285
285
|
function oe(e) {
|
|
@@ -298,7 +298,7 @@ function Te(e) {
|
|
|
298
298
|
var t = J(e).Element;
|
|
299
299
|
return e instanceof t || e instanceof Element;
|
|
300
300
|
}
|
|
301
|
-
function
|
|
301
|
+
function X(e) {
|
|
302
302
|
var t = J(e).HTMLElement;
|
|
303
303
|
return e instanceof t || e instanceof HTMLElement;
|
|
304
304
|
}
|
|
@@ -312,7 +312,7 @@ function An(e) {
|
|
|
312
312
|
var t = e.state;
|
|
313
313
|
Object.keys(t.elements).forEach(function(r) {
|
|
314
314
|
var n = t.styles[r] || {}, i = t.attributes[r] || {}, s = t.elements[r];
|
|
315
|
-
!
|
|
315
|
+
!X(s) || !oe(s) || (Object.assign(s.style, n), Object.keys(i).forEach(function(p) {
|
|
316
316
|
var c = i[p];
|
|
317
317
|
c === !1 ? s.removeAttribute(p) : s.setAttribute(p, c === !0 ? "" : c);
|
|
318
318
|
}));
|
|
@@ -336,7 +336,7 @@ function Cn(e) {
|
|
|
336
336
|
var i = t.elements[n], s = t.attributes[n] || {}, p = Object.keys(t.styles.hasOwnProperty(n) ? t.styles[n] : r[n]), c = p.reduce(function(u, v) {
|
|
337
337
|
return u[v] = "", u;
|
|
338
338
|
}, {});
|
|
339
|
-
!
|
|
339
|
+
!X(i) || !oe(i) || (Object.assign(i.style, c), Object.keys(s).forEach(function(u) {
|
|
340
340
|
i.removeAttribute(u);
|
|
341
341
|
}));
|
|
342
342
|
});
|
|
@@ -366,7 +366,7 @@ function nr() {
|
|
|
366
366
|
function Ie(e, t, r) {
|
|
367
367
|
t === void 0 && (t = !1), r === void 0 && (r = !1);
|
|
368
368
|
var n = e.getBoundingClientRect(), i = 1, s = 1;
|
|
369
|
-
t &&
|
|
369
|
+
t && X(e) && (i = e.offsetWidth > 0 && Pe(n.width) / e.offsetWidth || 1, s = e.offsetHeight > 0 && Pe(n.height) / e.offsetHeight || 1);
|
|
370
370
|
var p = Te(e) ? J(e) : window, c = p.visualViewport, u = !nr() && r, v = (n.left + (u && c ? c.offsetLeft : 0)) / i, d = (n.top + (u && c ? c.offsetTop : 0)) / s, x = n.width / i, O = n.height / s;
|
|
371
371
|
return {
|
|
372
372
|
width: x,
|
|
@@ -427,18 +427,18 @@ function dt(e) {
|
|
|
427
427
|
);
|
|
428
428
|
}
|
|
429
429
|
function jt(e) {
|
|
430
|
-
return !
|
|
430
|
+
return !X(e) || // https://github.com/popperjs/popper-core/issues/837
|
|
431
431
|
le(e).position === "fixed" ? null : e.offsetParent;
|
|
432
432
|
}
|
|
433
433
|
function kn(e) {
|
|
434
434
|
var t = /firefox/i.test(xt()), r = /Trident/i.test(xt());
|
|
435
|
-
if (r &&
|
|
435
|
+
if (r && X(e)) {
|
|
436
436
|
var n = le(e);
|
|
437
437
|
if (n.position === "fixed")
|
|
438
438
|
return null;
|
|
439
439
|
}
|
|
440
440
|
var i = dt(e);
|
|
441
|
-
for (Ct(i) && (i = i.host);
|
|
441
|
+
for (Ct(i) && (i = i.host); X(i) && ["html", "body"].indexOf(oe(i)) < 0; ) {
|
|
442
442
|
var s = le(i);
|
|
443
443
|
if (s.transform !== "none" || s.perspective !== "none" || s.contain === "paint" || ["transform", "perspective"].indexOf(s.willChange) !== -1 || t && s.willChange === "filter" || t && s.filter && s.filter !== "none")
|
|
444
444
|
return i;
|
|
@@ -480,7 +480,7 @@ function sr(e, t) {
|
|
|
480
480
|
var Ln = function(t, r) {
|
|
481
481
|
return t = typeof t == "function" ? t(Object.assign({}, r.rects, {
|
|
482
482
|
placement: r.placement
|
|
483
|
-
})) : t, ar(typeof t != "number" ? t : sr(t,
|
|
483
|
+
})) : t, ar(typeof t != "number" ? t : sr(t, Xe));
|
|
484
484
|
};
|
|
485
485
|
function Sn(e) {
|
|
486
486
|
var t, r = e.state, n = e.name, i = e.options, s = r.elements.arrow, p = r.modifiersData.popperOffsets, c = ne(r.placement), u = kt(c), v = [U, G].indexOf(c) >= 0, d = v ? "height" : "width";
|
|
@@ -672,7 +672,7 @@ function St(e) {
|
|
|
672
672
|
return /auto|scroll|overlay|hidden/.test(r + i + n);
|
|
673
673
|
}
|
|
674
674
|
function ur(e) {
|
|
675
|
-
return ["html", "body", "#document"].indexOf(oe(e)) >= 0 ? e.ownerDocument.body :
|
|
675
|
+
return ["html", "body", "#document"].indexOf(oe(e)) >= 0 ? e.ownerDocument.body : X(e) && St(e) ? e : ur(dt(e));
|
|
676
676
|
}
|
|
677
677
|
function We(e, t) {
|
|
678
678
|
var r;
|
|
@@ -699,7 +699,7 @@ function $t(e, t, r) {
|
|
|
699
699
|
return t === er ? Ot(Hn(e, r)) : Te(t) ? Wn(t, r) : Ot(Un(he(e)));
|
|
700
700
|
}
|
|
701
701
|
function zn(e) {
|
|
702
|
-
var t = We(dt(e)), r = ["absolute", "fixed"].indexOf(le(e).position) >= 0, n = r &&
|
|
702
|
+
var t = We(dt(e)), r = ["absolute", "fixed"].indexOf(le(e).position) >= 0, n = r && X(e) ? Ke(e) : e;
|
|
703
703
|
return Te(n) ? t.filter(function(i) {
|
|
704
704
|
return Te(i) && or(i, n) && oe(i) !== "body";
|
|
705
705
|
}) : [];
|
|
@@ -758,9 +758,9 @@ function pr(e) {
|
|
|
758
758
|
}
|
|
759
759
|
return u;
|
|
760
760
|
}
|
|
761
|
-
function
|
|
761
|
+
function Ye(e, t) {
|
|
762
762
|
t === void 0 && (t = {});
|
|
763
|
-
var r = t, n = r.placement, i = n === void 0 ? e.placement : n, s = r.strategy, p = s === void 0 ? e.strategy : s, c = r.boundary, u = c === void 0 ? dn : c, v = r.rootBoundary, d = v === void 0 ? er : v, x = r.elementContext, O = x === void 0 ? He : x, y = r.altBoundary, l = y === void 0 ? !1 : y, b = r.padding, f = b === void 0 ? 0 : b, g = ar(typeof f != "number" ? f : sr(f,
|
|
763
|
+
var r = t, n = r.placement, i = n === void 0 ? e.placement : n, s = r.strategy, p = s === void 0 ? e.strategy : s, c = r.boundary, u = c === void 0 ? dn : c, v = r.rootBoundary, d = v === void 0 ? er : v, x = r.elementContext, O = x === void 0 ? He : x, y = r.altBoundary, l = y === void 0 ? !1 : y, b = r.padding, f = b === void 0 ? 0 : b, g = ar(typeof f != "number" ? f : sr(f, Xe)), E = O === He ? vn : He, T = e.rects.popper, o = e.elements[l ? E : O], A = qn(Te(o) ? o : o.contextElement || he(e.elements.popper), u, d, p), h = Ie(e.elements.reference), k = pr({
|
|
764
764
|
reference: h,
|
|
765
765
|
element: T,
|
|
766
766
|
placement: i
|
|
@@ -779,16 +779,16 @@ function Xe(e, t) {
|
|
|
779
779
|
}
|
|
780
780
|
return S;
|
|
781
781
|
}
|
|
782
|
-
function
|
|
782
|
+
function Yn(e, t) {
|
|
783
783
|
t === void 0 && (t = {});
|
|
784
784
|
var r = t, n = r.placement, i = r.boundary, s = r.rootBoundary, p = r.padding, c = r.flipVariations, u = r.allowedAutoPlacements, v = u === void 0 ? tr : u, d = Me(n), x = d ? c ? Mt : Mt.filter(function(l) {
|
|
785
785
|
return Me(l) === d;
|
|
786
|
-
}) :
|
|
786
|
+
}) : Xe, O = x.filter(function(l) {
|
|
787
787
|
return v.indexOf(l) >= 0;
|
|
788
788
|
});
|
|
789
789
|
O.length === 0 && (O = x);
|
|
790
790
|
var y = O.reduce(function(l, b) {
|
|
791
|
-
return l[b] =
|
|
791
|
+
return l[b] = Ye(e, {
|
|
792
792
|
placement: b,
|
|
793
793
|
boundary: i,
|
|
794
794
|
rootBoundary: s,
|
|
@@ -799,7 +799,7 @@ function Xn(e, t) {
|
|
|
799
799
|
return y[l] - y[b];
|
|
800
800
|
});
|
|
801
801
|
}
|
|
802
|
-
function
|
|
802
|
+
function Xn(e) {
|
|
803
803
|
if (ne(e) === At)
|
|
804
804
|
return [];
|
|
805
805
|
var t = ct(e);
|
|
@@ -808,8 +808,8 @@ function Yn(e) {
|
|
|
808
808
|
function Kn(e) {
|
|
809
809
|
var t = e.state, r = e.options, n = e.name;
|
|
810
810
|
if (!t.modifiersData[n]._skip) {
|
|
811
|
-
for (var i = r.mainAxis, s = i === void 0 ? !0 : i, p = r.altAxis, c = p === void 0 ? !0 : p, u = r.fallbackPlacements, v = r.padding, d = r.boundary, x = r.rootBoundary, O = r.altBoundary, y = r.flipVariations, l = y === void 0 ? !0 : y, b = r.allowedAutoPlacements, f = t.options.placement, g = ne(f), E = g === f, T = u || (E || !l ? [ct(f)] :
|
|
812
|
-
return ie.concat(ne(Q) === At ?
|
|
811
|
+
for (var i = r.mainAxis, s = i === void 0 ? !0 : i, p = r.altAxis, c = p === void 0 ? !0 : p, u = r.fallbackPlacements, v = r.padding, d = r.boundary, x = r.rootBoundary, O = r.altBoundary, y = r.flipVariations, l = y === void 0 ? !0 : y, b = r.allowedAutoPlacements, f = t.options.placement, g = ne(f), E = g === f, T = u || (E || !l ? [ct(f)] : Xn(f)), o = [f].concat(T).reduce(function(ie, Q) {
|
|
812
|
+
return ie.concat(ne(Q) === At ? Yn(t, {
|
|
813
813
|
placement: Q,
|
|
814
814
|
boundary: d,
|
|
815
815
|
rootBoundary: x,
|
|
@@ -818,7 +818,7 @@ function Kn(e) {
|
|
|
818
818
|
allowedAutoPlacements: b
|
|
819
819
|
}) : Q);
|
|
820
820
|
}, []), A = t.rects.reference, h = t.rects.popper, k = /* @__PURE__ */ new Map(), j = !0, M = o[0], S = 0; S < o.length; S++) {
|
|
821
|
-
var B = o[S], R = ne(B), L = Me(B) === Re, W = [H, K].indexOf(R) >= 0, z = W ? "width" : "height", $ =
|
|
821
|
+
var B = o[S], R = ne(B), L = Me(B) === Re, W = [H, K].indexOf(R) >= 0, z = W ? "width" : "height", $ = Ye(t, {
|
|
822
822
|
placement: B,
|
|
823
823
|
boundary: d,
|
|
824
824
|
rootBoundary: x,
|
|
@@ -880,9 +880,9 @@ function Ft(e) {
|
|
|
880
880
|
});
|
|
881
881
|
}
|
|
882
882
|
function Jn(e) {
|
|
883
|
-
var t = e.state, r = e.name, n = t.rects.reference, i = t.rects.popper, s = t.modifiersData.preventOverflow, p =
|
|
883
|
+
var t = e.state, r = e.name, n = t.rects.reference, i = t.rects.popper, s = t.modifiersData.preventOverflow, p = Ye(t, {
|
|
884
884
|
elementContext: "reference"
|
|
885
|
-
}), c =
|
|
885
|
+
}), c = Ye(t, {
|
|
886
886
|
altBoundary: !0
|
|
887
887
|
}), u = Nt(p, n), v = Nt(c, i, s), d = Ft(u), x = Ft(v);
|
|
888
888
|
t.modifiersData[r] = {
|
|
@@ -946,7 +946,7 @@ function oo(e) {
|
|
|
946
946
|
return e === "x" ? "y" : "x";
|
|
947
947
|
}
|
|
948
948
|
function io(e) {
|
|
949
|
-
var t = e.state, r = e.options, n = e.name, i = r.mainAxis, s = i === void 0 ? !0 : i, p = r.altAxis, c = p === void 0 ? !1 : p, u = r.boundary, v = r.rootBoundary, d = r.altBoundary, x = r.padding, O = r.tether, y = O === void 0 ? !0 : O, l = r.tetherOffset, b = l === void 0 ? 0 : l, f =
|
|
949
|
+
var t = e.state, r = e.options, n = e.name, i = r.mainAxis, s = i === void 0 ? !0 : i, p = r.altAxis, c = p === void 0 ? !1 : p, u = r.boundary, v = r.rootBoundary, d = r.altBoundary, x = r.padding, O = r.tether, y = O === void 0 ? !0 : O, l = r.tetherOffset, b = l === void 0 ? 0 : l, f = Ye(t, {
|
|
950
950
|
boundary: u,
|
|
951
951
|
rootBoundary: v,
|
|
952
952
|
padding: x,
|
|
@@ -992,7 +992,7 @@ function so(e) {
|
|
|
992
992
|
};
|
|
993
993
|
}
|
|
994
994
|
function uo(e) {
|
|
995
|
-
return e === J(e) || !
|
|
995
|
+
return e === J(e) || !X(e) ? _t(e) : so(e);
|
|
996
996
|
}
|
|
997
997
|
function po(e) {
|
|
998
998
|
var t = e.getBoundingClientRect(), r = Pe(t.width) / e.offsetWidth || 1, n = Pe(t.height) / e.offsetHeight || 1;
|
|
@@ -1000,7 +1000,7 @@ function po(e) {
|
|
|
1000
1000
|
}
|
|
1001
1001
|
function co(e, t, r) {
|
|
1002
1002
|
r === void 0 && (r = !1);
|
|
1003
|
-
var n =
|
|
1003
|
+
var n = X(t), i = X(t) && po(t), s = he(t), p = Ie(e, i, r), c = {
|
|
1004
1004
|
scrollLeft: 0,
|
|
1005
1005
|
scrollTop: 0
|
|
1006
1006
|
}, u = {
|
|
@@ -1008,7 +1008,7 @@ function co(e, t, r) {
|
|
|
1008
1008
|
y: 0
|
|
1009
1009
|
};
|
|
1010
1010
|
return (n || !n && !r) && ((oe(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
1011
|
-
St(s)) && (c = uo(t)),
|
|
1011
|
+
St(s)) && (c = uo(t)), X(t) ? (u = Ie(t, !0), u.x += t.clientLeft, u.y += t.clientTop) : s && (u.x = Lt(s))), {
|
|
1012
1012
|
x: p.left + c.scrollLeft - u.x,
|
|
1013
1013
|
y: p.top + c.scrollTop - u.y,
|
|
1014
1014
|
width: p.width,
|
|
@@ -1263,7 +1263,7 @@ function yt(e, t) {
|
|
|
1263
1263
|
r && (r.style.transitionDuration = t + "ms");
|
|
1264
1264
|
});
|
|
1265
1265
|
}
|
|
1266
|
-
function
|
|
1266
|
+
function Yt(e, t) {
|
|
1267
1267
|
e.forEach(function(r) {
|
|
1268
1268
|
r && r.setAttribute("data-state", t);
|
|
1269
1269
|
});
|
|
@@ -1288,7 +1288,7 @@ function bt(e, t, r) {
|
|
|
1288
1288
|
e[n](i, r);
|
|
1289
1289
|
});
|
|
1290
1290
|
}
|
|
1291
|
-
function
|
|
1291
|
+
function Xt(e, t) {
|
|
1292
1292
|
for (var r = t; r; ) {
|
|
1293
1293
|
var n;
|
|
1294
1294
|
if (e.contains(r))
|
|
@@ -1561,8 +1561,8 @@ function Uo(e, t) {
|
|
|
1561
1561
|
if (o.state.isVisible)
|
|
1562
1562
|
C.setAttribute(m, F ? F + " " + w : w);
|
|
1563
1563
|
else {
|
|
1564
|
-
var
|
|
1565
|
-
|
|
1564
|
+
var Y = F && F.replace(w, "").trim();
|
|
1565
|
+
Y ? C.setAttribute(m, Y) : C.removeAttribute(m);
|
|
1566
1566
|
}
|
|
1567
1567
|
});
|
|
1568
1568
|
}
|
|
@@ -1583,9 +1583,9 @@ function Uo(e, t) {
|
|
|
1583
1583
|
function te(a) {
|
|
1584
1584
|
if (!(re.isTouch && (u || a.type === "mousedown"))) {
|
|
1585
1585
|
var m = a.composedPath && a.composedPath()[0] || a.target;
|
|
1586
|
-
if (!(o.props.interactive &&
|
|
1586
|
+
if (!(o.props.interactive && Xt(h, m))) {
|
|
1587
1587
|
if (Oe(o.props.triggerTarget || e).some(function(w) {
|
|
1588
|
-
return
|
|
1588
|
+
return Xt(w, m);
|
|
1589
1589
|
})) {
|
|
1590
1590
|
if (re.isTouch || o.state.isVisible && o.props.trigger.indexOf("click") >= 0)
|
|
1591
1591
|
return;
|
|
@@ -1679,7 +1679,7 @@ function Uo(e, t) {
|
|
|
1679
1679
|
var m = a.target, w = L().contains(m) || h.contains(m);
|
|
1680
1680
|
if (!(a.type === "mousemove" && w)) {
|
|
1681
1681
|
var D = de().concat(h).map(function(C) {
|
|
1682
|
-
var F,
|
|
1682
|
+
var F, Y = C._tippy, ke = (F = Y.popperInstance) == null ? void 0 : F.state;
|
|
1683
1683
|
return ke ? {
|
|
1684
1684
|
popperRect: C.getBoundingClientRect(),
|
|
1685
1685
|
popperState: ke,
|
|
@@ -1707,7 +1707,7 @@ function Uo(e, t) {
|
|
|
1707
1707
|
}
|
|
1708
1708
|
function Ze() {
|
|
1709
1709
|
et();
|
|
1710
|
-
var a = o.props, m = a.popperOptions, w = a.placement, D = a.offset, C = a.getReferenceClientRect, F = a.moveTransition,
|
|
1710
|
+
var a = o.props, m = a.popperOptions, w = a.placement, D = a.offset, C = a.getReferenceClientRect, F = a.moveTransition, Y = R() ? Tt(h).arrow : null, ke = C ? {
|
|
1711
1711
|
getBoundingClientRect: C,
|
|
1712
1712
|
contextElement: C.contextElement || L()
|
|
1713
1713
|
} : e, Pt = {
|
|
@@ -1750,10 +1750,10 @@ function Uo(e, t) {
|
|
|
1750
1750
|
adaptive: !F
|
|
1751
1751
|
}
|
|
1752
1752
|
}, Pt];
|
|
1753
|
-
R() &&
|
|
1753
|
+
R() && Y && we.push({
|
|
1754
1754
|
name: "arrow",
|
|
1755
1755
|
options: {
|
|
1756
|
-
element:
|
|
1756
|
+
element: Y,
|
|
1757
1757
|
padding: 3
|
|
1758
1758
|
}
|
|
1759
1759
|
}), we.push.apply(we, (m == null ? void 0 : m.modifiers) || []), o.popperInstance = yo(ke, h, Object.assign({}, m, {
|
|
@@ -1824,15 +1824,15 @@ function Uo(e, t) {
|
|
|
1824
1824
|
var a = o.state.isVisible, m = o.state.isDestroyed, w = !o.state.isEnabled, D = re.isTouch && !o.props.touch, C = gt(o.props.duration, 0, q.duration);
|
|
1825
1825
|
if (!(a || m || w || D) && !L().hasAttribute("disabled") && (V("onShow", [o], !1), o.props.onShow(o) !== !1)) {
|
|
1826
1826
|
if (o.state.isVisible = !0, R() && (h.style.visibility = "visible"), N(), Q(), o.state.isMounted || (h.style.transition = "none"), R()) {
|
|
1827
|
-
var F = z(),
|
|
1828
|
-
yt([
|
|
1827
|
+
var F = z(), Y = F.box, ke = F.content;
|
|
1828
|
+
yt([Y, ke], 0);
|
|
1829
1829
|
}
|
|
1830
1830
|
O = function() {
|
|
1831
1831
|
var we;
|
|
1832
1832
|
if (!(!o.state.isVisible || v)) {
|
|
1833
1833
|
if (v = !0, h.offsetHeight, h.style.transition = o.props.moveTransition, R() && o.props.animation) {
|
|
1834
1834
|
var mt = z(), it = mt.box, _e = mt.content;
|
|
1835
|
-
yt([it, _e], C),
|
|
1835
|
+
yt([it, _e], C), Yt([it, _e], "visible");
|
|
1836
1836
|
}
|
|
1837
1837
|
Z(), ee(), zt(wt, o), (we = o.popperInstance) == null || we.forceUpdate(), V("onMount", [o]), o.props.animation && R() && se(C, function() {
|
|
1838
1838
|
o.state.isShown = !0, V("onShown", [o]);
|
|
@@ -1845,8 +1845,8 @@ function Uo(e, t) {
|
|
|
1845
1845
|
var a = !o.state.isVisible, m = o.state.isDestroyed, w = !o.state.isEnabled, D = gt(o.props.duration, 1, q.duration);
|
|
1846
1846
|
if (!(a || m || w) && (V("onHide", [o], !1), o.props.onHide(o) !== !1)) {
|
|
1847
1847
|
if (o.state.isVisible = !1, o.state.isShown = !1, v = !1, p = !1, R() && (h.style.visibility = "hidden"), ge(), ae(), N(!0), R()) {
|
|
1848
|
-
var C = z(), F = C.box,
|
|
1849
|
-
o.props.animation && (yt([F,
|
|
1848
|
+
var C = z(), F = C.box, Y = C.content;
|
|
1849
|
+
o.props.animation && (yt([F, Y], D), Yt([F, Y], "hidden"));
|
|
1850
1850
|
}
|
|
1851
1851
|
Z(), ee(), o.props.animation ? R() && Ae(D, o.unmount) : o.unmount();
|
|
1852
1852
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _, b as m, d as f, o as h, j as i, f as c, w as u, aK as v } from "./main-
|
|
2
|
-
import { m as M } from "./mapFormMixin-
|
|
3
|
-
import { D as w } from "./DocModalBase-
|
|
4
|
-
import { _ as x } from "./DocumentLayout-
|
|
1
|
+
import { _, b as m, d as f, o as h, j as i, f as c, w as u, aK as v } from "./main-BnJTDeKH.js";
|
|
2
|
+
import { m as M } from "./mapFormMixin-sXjgYtfb.js";
|
|
3
|
+
import { D as w } from "./DocModalBase-Z1ZEPL_z.js";
|
|
4
|
+
import { _ as x } from "./DocumentLayout-DdXflWEb.js";
|
|
5
5
|
const C = {
|
|
6
6
|
name: "TermsModal",
|
|
7
7
|
components: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { k as c, R as u, l as d, p as m } from "./main-
|
|
2
|
-
import { g as f, s as v } from "./dom-
|
|
3
|
-
import { u as p } from "./index-
|
|
1
|
+
import { k as c, R as u, l as d, p as m } from "./main-BnJTDeKH.js";
|
|
2
|
+
import { g as f, s as v } from "./dom-B_lSczxY.js";
|
|
3
|
+
import { u as p } from "./index-DnMhYLAz.js";
|
|
4
4
|
const y = Symbol(
|
|
5
5
|
"validateDocument"
|
|
6
6
|
);
|