@cling-se/widget 0.22.0 → 0.22.2
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 +12 -0
- package/dist/{AddClientCallout-CxbvK6ZG.js → AddClientCallout-CtfDZ5iE.js} +4 -4
- package/dist/{AnswerModal-vTetGwVn.js → AnswerModal-DER90JgH.js} +4 -4
- package/dist/{AttachmentItem-DSHNRIq_.js → AttachmentItem-CFxoxFwU.js} +11 -11
- package/dist/{BaseUpload-CWaM_bb7.js → BaseUpload-D3vsnEbC.js} +2 -2
- package/dist/{BlockMedia-B1T85G4R.js → BlockMedia-CrmRCTpi.js} +9 -9
- package/dist/{CCallout-BieMmWa4.js → CCallout-B86E6HJd.js} +1 -1
- package/dist/{CCurrencyDropdown-DKWtCUE_.js → CCurrencyDropdown-B2L-Pv3G.js} +3 -3
- package/dist/{CDropdownItem-pNNH9fV3.js → CDropdownItem-BU65rYaX.js} +7 -7
- package/dist/{CFormField.vue_vue_type_script_setup_true_lang-B57OaS--.js → CFormField.vue_vue_type_script_setup_true_lang-d4-FghaL.js} +4 -4
- package/dist/{CPhoneFormat-CyrQRGmd.js → CPhoneFormat-CSys3pPM.js} +1 -1
- package/dist/{CPhoneInput-BQHgpUCY.js → CPhoneInput-hF_VGitf.js} +5 -5
- package/dist/{CPriceInput-DnFN-I6p.js → CPriceInput-CLM3EzaL.js} +2 -2
- package/dist/{CSelect-DB4-JxH8.js → CSelect-DsoRaNYd.js} +1 -1
- package/dist/{CSkeleton-DpRDxR6D.js → CSkeleton-B0wL3--W.js} +1 -1
- package/dist/{ClientAutocomplete-BjwvkuJ-.js → ClientAutocomplete-qkpa-KG_.js} +7 -7
- package/dist/{ClientModal-oBN2VSio.js → ClientModal-BHUD-VYM.js} +16 -16
- package/dist/{ColorPicker-B5rSvXLV.js → ColorPicker-uVefUdOd.js} +1 -1
- package/dist/{CompanyModal-QrsUL6Et.js → CompanyModal-C38jvSZX.js} +68 -69
- package/dist/{ContentWrapper-Yx-KMsfH.js → ContentWrapper-Du0rszAK.js} +15 -15
- package/dist/{CoverBlockSettings-C8giTiEZ.js → CoverBlockSettings-DqKNt5cM.js} +7 -7
- package/dist/{DocAnswer-Djyhwfrp.js → DocAnswer-Bm6FQnu7.js} +2 -2
- package/dist/{DocDetails-Dv6noPvB.js → DocDetails-Cg1EQ2xc.js} +4 -4
- package/dist/{DocForm-BFHchJ6w.js → DocForm-DUjeY7qQ.js} +440 -438
- package/dist/{DocFormSend-K2rbjklj.js → DocFormSend-B8x93Oo_.js} +2 -2
- package/dist/{DocLinks-DpUl89XR.js → DocLinks-bnZCCfQJ.js} +2 -2
- package/dist/{DocModalBase-BlTZ8CY3.js → DocModalBase-CwuAA5_c.js} +1 -1
- package/dist/{DocPrint-Bmfl4Abk.js → DocPrint-DkmwNCYi.js} +1 -1
- package/dist/{DocReceipt-3wi5YXqR.js → DocReceipt-BzrwYz7z.js} +2 -2
- package/dist/{DocSendReminder-CHqgC_wM.js → DocSendReminder--ZuTWwRa.js} +1 -1
- package/dist/{DocTextEditor-BGzwRwjt.js → DocTextEditor-CblX6a9b.js} +8 -8
- package/dist/{DocTimeline-BG7ldFgR.js → DocTimeline-C3cx2eIz.js} +8 -8
- package/dist/{DocumentClient-CLCAh4lI.js → DocumentClient-B9yEPQ1U.js} +5 -5
- package/dist/{DocumentLayout-DHSEYClM.js → DocumentLayout-BMgU3m7Q.js} +5 -5
- package/dist/{DocumentLogotype-0jH2-sr7.js → DocumentLogotype-BBA1HLK3.js} +28 -31
- package/dist/{DocumentVoided-BAS8mATO.js → DocumentVoided-AL_vXoWD.js} +1 -1
- package/dist/{EmbedInput-DnSz1tbL.js → EmbedInput-BHy9NMjl.js} +3 -3
- package/dist/{EmbedSettings-BQ1kKupC.js → EmbedSettings-DwcY0r8D.js} +3 -3
- package/dist/{ErrorCallout-XMtdcNvE.js → ErrorCallout-DKV9zW1H.js} +1 -1
- package/dist/{FilePreviewModal-Bv28RVrN.js → FilePreviewModal-DEoFvxri.js} +20 -20
- package/dist/{Flag-CcF7qtHi.js → Flag-BZ7C12iN.js} +1 -1
- package/dist/{HeaderSettings-SKEJyM9y.js → HeaderSettings-Bsj1JZNt.js} +9 -9
- package/dist/{ImageSelectModal-BNXs_Rfh.js → ImageSelectModal-Dd9le6p5.js} +3 -3
- package/dist/{ImageUploadWrapper-BmlB0qHZ.js → ImageUploadWrapper-DY9TKhpB.js} +2 -2
- package/dist/{Index-Dz3beMLO.js → Index-4ZB096MF.js} +8 -8
- package/dist/{Index-DRadSzmh.js → Index-B1HU3FW8.js} +3 -3
- package/dist/{Index-Ca6-XJ1q.js → Index-B3S-W2Du.js} +14 -14
- package/dist/{Index-BNetDL7G.js → Index-B8v_k79U.js} +4 -4
- package/dist/{Index-CfpNMWEI.js → Index-BPua2gSJ.js} +4 -4
- package/dist/{Index-GmMgg4ZI.js → Index-BSDQejtT.js} +7 -7
- package/dist/{Index-B1mvOHsr.js → Index-BW4sv9So.js} +5 -5
- package/dist/{Index-BDW4tvrc.js → Index-BWog4DkS.js} +2 -2
- package/dist/{Index-B4EqZ9op.js → Index-BZ5ZfAMl.js} +5 -5
- package/dist/Index-BfMZgBeX.js +4 -0
- package/dist/{Index-CVoJGfTj.js → Index-Bx8Dt9rr.js} +2 -2
- package/dist/{Index-Coef67Wb.js → Index-C9W7656O.js} +5 -5
- package/dist/{Index-ec9osPpw.js → Index-CB7F-c3z.js} +4 -4
- package/dist/{Index-B8soD6pI.js → Index-CEg8sUf6.js} +2 -2
- package/dist/{Index-BLC_eYvf.js → Index-CEm7_7xb.js} +2 -2
- package/dist/{Index-Bxi4pinD.js → Index-CGDHE6Q9.js} +3 -3
- package/dist/{Index-BS1J5b8c.js → Index-CadObAqC.js} +3 -3
- package/dist/{Index-mcDMCki9.js → Index-Cazuortx.js} +15 -15
- package/dist/{Index-LNHTL5EH.js → Index-Cfh_uoVu.js} +1 -1
- package/dist/{Index-CDdxLKdQ.js → Index-D9S6btwh.js} +4 -4
- package/dist/{Index-C9k2n-HK.js → Index-DCeSSD89.js} +4 -4
- package/dist/{Index-BRIv1n05.js → Index-DLzhjgNh.js} +4 -4
- package/dist/{Index-B_R1p7cp.js → Index-Da3NMw99.js} +1 -1
- package/dist/{Index-DquGwrE6.js → Index-DiQG7Yys.js} +8 -8
- package/dist/{Index-DU19comM.js → Index-DkuudM32.js} +6 -6
- package/dist/{Index-C6r2p8Qd.js → Index-DpNsBSK5.js} +3 -3
- package/dist/{Index-Bd3gjqXz.js → Index-DsAM46X9.js} +4 -4
- package/dist/{Index-C2Jql1QC.js → Index-IOHmUaDV.js} +8 -8
- package/dist/{Index-Bz6vrP4D.js → Index-N95Kg_Bu.js} +4 -4
- package/dist/{Index-Ra_-tX11.js → Index-T8YnqXUP.js} +7 -7
- package/dist/{Index-BbEj20KG.js → Index-bSfn5DlT.js} +8 -8
- package/dist/{Index-CYjEFdMF.js → Index-hOzI3WwH.js} +2 -2
- package/dist/{Index-BS-ERsZ7.js → Index-lxyzCTwv.js} +9 -9
- package/dist/{Index-CQSkYi57.js → Index-usMDK34R.js} +6 -6
- package/dist/{Index.vue_vue_type_script_lang-DOtAXSQl.js → Index.vue_vue_type_script_lang-CyrjCnmM.js} +2 -2
- package/dist/{InputToggleRow-DH7USYPf.js → InputToggleRow-DX08yhB8.js} +1 -1
- package/dist/{ManualPopover-JDRhdC8G.js → ManualPopover-DjkDQLEk.js} +1 -1
- package/dist/{MediaWrapper-DdbmCwGw.js → MediaWrapper-BRDS1uEY.js} +3 -3
- package/dist/{NotBindingText-CwV-MkgL.js → NotBindingText-gttVLkSY.js} +2 -2
- package/dist/{PackageGroup-CH-8hyAF.js → PackageGroup-DqCNizOl.js} +5 -5
- package/dist/{PdfTerms-BBeN_k6I.js → PdfTerms-9EF-oTZV.js} +2 -2
- package/dist/{PdfViewer-Du_M79jv.js → PdfViewer-fgokwyxy.js} +2 -2
- package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-BKJdTPrg.js → PlainHtml.vue_vue_type_script_setup_true_lang-wz4hWvo8.js} +1 -1
- package/dist/{PriceHeader-Be2QwWzs.js → PriceHeader-DBiTZGL4.js} +7 -7
- package/dist/{SearchApi-dNunyqch.js → SearchApi-DP2NKS7Z.js} +1 -1
- package/dist/{SendForm-BIIwVZwY.js → SendForm-Dx-meiU3.js} +535 -514
- package/dist/{Setup-DBbHXz4_.js → Setup-KZckFxmn.js} +1 -1
- package/dist/{SmartList-C2JUKK2W.js → SmartList-C7tf3UFs.js} +1 -1
- package/dist/{Sortable.vue_vue_type_script_setup_true_lang-CzrvSsIg.js → Sortable.vue_vue_type_script_setup_true_lang-CKwuc60B.js} +1 -1
- package/dist/{TermsSettings-BZBWd3c9.js → TermsSettings-O43bydwI.js} +5 -5
- package/dist/{ThemeColorRow-7KF7icN8.js → ThemeColorRow-BiIviRnJ.js} +3 -3
- package/dist/{ToggleBinding-w8lNunzO.js → ToggleBinding-DNh6J5WO.js} +4 -4
- package/dist/{UploadModal-BRdimOyC.js → UploadModal-BLnwHEtM.js} +2 -2
- package/dist/{VideoPlayerInput-BHmr7HvX.js → VideoPlayerInput-CDSsWKbt.js} +4 -4
- package/dist/{VideoPlayerSettings-fI8gpjks.js → VideoPlayerSettings-9e0rWXBn.js} +2 -2
- package/dist/{VideoSelectModal-Beq5yE0M.js → VideoSelectModal-DdmGQUJs.js} +3 -3
- package/dist/{focusDrawerMixin-vhY6JO7g.js → focusDrawerMixin-Cz1mPbI5.js} +1 -1
- package/dist/{formDrawerState-ChHVYfc3.js → formDrawerState-VO67JhNj.js} +1 -1
- package/dist/{fortnoxTheme-BGyYnb8i.js → fortnoxTheme-C6LfSfkU.js} +1 -1
- package/dist/{helpers-Dw4CluFv.js → helpers-DdvMGJyI.js} +1 -1
- package/dist/{index-DihGX5od.js → index--tMYYuEo.js} +8 -8
- package/dist/{index-C-tsPusW.js → index-BtdoM5zU.js} +1 -1
- package/dist/{index-syUJ22zc.js → index-C6t6B42B.js} +8 -7
- package/dist/{index-BcnDsk0Z.js → index-CYrm4Bbf.js} +1 -1
- package/dist/{index-BUPqyA87.js → index-Cn5TO9wL.js} +1 -1
- package/dist/{index-DJYVhEQt.js → index-DrxPFi0q.js} +3 -3
- package/dist/{index-CPfrJsi9.js → index-SreRcZHY.js} +1 -1
- package/dist/index.es.js +2 -2
- package/dist/index.umd.js +149 -149
- package/dist/{main-BBhJGb7I.js → main-BI2UvBxx.js} +4953 -4997
- package/dist/{mapFormMixin-CCKubywa.js → mapFormMixin-DmIyfVCN.js} +2 -2
- package/dist/{omit-Cdd54eFA.js → omit-FBv_EXqi.js} +1 -1
- package/dist/{splitpanes-nCfEUpmu.js → splitpanes-CpTZw8TJ.js} +1 -1
- package/dist/{template-B-Ds8x_U.js → template-B4OhhS85.js} +1 -1
- package/dist/{tippy.esm-DdYqbHFh.js → tippy.esm-D5nfFX7g.js} +5 -5
- package/dist/{useTermsModal-Z_pZQ4H2.js → useTermsModal-CvdV0cT0.js} +4 -4
- package/dist/{utils-C3tvmZHk.js → utils-Blt-S487.js} +1 -1
- package/dist/{validation-CWxbj-wT.js → validation-ZZ0eQUj2.js} +2 -2
- package/dist/widget.css +1 -1
- package/package.json +1 -1
- package/dist/Index-aOBMRrRj.js +0 -4
- package/dist/publicSenderState-LkIY-kEl.js +0 -21
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { m as
|
|
2
|
-
import { _ as Nr, I as Lr, a as Ur } from "./index-
|
|
3
|
-
import { cn as Wr, co as Yr, cp as Hr, cq as jr, cr as zr, cs as Jr, ct as qr, cu as
|
|
4
|
-
import { a as
|
|
5
|
-
import { E as wo } from "./ErrorCallout-
|
|
6
|
-
import { C as $o, a as Do } from "./ClientModal-
|
|
7
|
-
import { u as
|
|
1
|
+
import { m as Tt } from "./mapFormMixin-DmIyfVCN.js";
|
|
2
|
+
import { _ as Nr, I as Lr, a as Ur } from "./index-C6t6B42B.js";
|
|
3
|
+
import { cn as Wr, co as Yr, cp as Hr, cq as jr, cr as zr, cs as Jr, ct as qr, cu as Ae, cv as Da, cw as Kr, cx as Mt, cy as Je, cz as ln, cA as yt, I as S, B as I, bg as Ca, E as Z, cB as xa, cC as _a, cD as We, J as f, a7 as P, c as D, o as h, w, U as O, T as q, f as M, bt as j, bu as z, s as N, t as C, az as Rt, G as Gr, k as Qr, a4 as Vt, ap as ka, j as x, ai as Nn, an as re, M as Se, A as Ne, ak as _t, cE as me, cF as Zr, bJ as Aa, bM as Xr, cG as Ln, e as F, bi as eo, d as A, X as bn, aM as to, cH as no, cI as Sa, F as W, cJ as Ma, H as ao, r as Oa, cK as ro, cL as oo, cM as lo, p as io, aE as so, bh as uo, b as T, y as Ie, q as fe, _ as Le, a as wn, aq as co, v as ze, x as Ea, l as fo, cN as Un, al as mo, af as Ot, cO as po, cP as Pa, ab as ho, W as vo, a5 as Ba, cm as yo, aV as go } from "./main-BI2UvBxx.js";
|
|
4
|
+
import { a as Ia, C as Fa, b as bo } from "./CDropdownItem-BU65rYaX.js";
|
|
5
|
+
import { E as wo } from "./ErrorCallout-DKV9zW1H.js";
|
|
6
|
+
import { C as $o, a as Do } from "./ClientModal-BHUD-VYM.js";
|
|
7
|
+
import { u as Ta } from "./index-SreRcZHY.js";
|
|
8
8
|
/* empty css */
|
|
9
|
-
import Co from "./AddClientCallout-
|
|
9
|
+
import Co from "./AddClientCallout-CtfDZ5iE.js";
|
|
10
10
|
function qe(e, t) {
|
|
11
11
|
return e - t * Math.floor(e / t);
|
|
12
12
|
}
|
|
13
|
-
const
|
|
13
|
+
const Ra = 1721426;
|
|
14
14
|
function Be(e, t, n, a) {
|
|
15
15
|
t = pt(e, t);
|
|
16
16
|
let r = t - 1, o = -2;
|
|
17
|
-
return n <= 2 ? o = 0 : ke(t) && (o = -1),
|
|
17
|
+
return n <= 2 ? o = 0 : ke(t) && (o = -1), Ra - 1 + 365 * r + Math.floor(r / 4) - Math.floor(r / 100) + Math.floor(r / 400) + Math.floor((367 * n - 362) / 12 + o + a);
|
|
18
18
|
}
|
|
19
19
|
function ke(e) {
|
|
20
20
|
return e % 4 === 0 && (e % 100 !== 0 || e % 400 === 0);
|
|
@@ -61,7 +61,7 @@ const xo = {
|
|
|
61
61
|
};
|
|
62
62
|
class oe {
|
|
63
63
|
fromJulianDay(t) {
|
|
64
|
-
let n = t, a = n -
|
|
64
|
+
let n = t, a = n - Ra, r = Math.floor(a / 146097), o = qe(a, 146097), l = Math.floor(o / 36524), i = qe(o, 36524), s = Math.floor(i / 1461), d = qe(i, 1461), c = Math.floor(d / 365), u = r * 400 + l * 100 + s * 4 + c + (l !== 4 && c !== 4 ? 1 : 0), [y, v] = Nt(u), g = n - Be(y, v, 1, 1), m = 2;
|
|
65
65
|
n < Be(y, v, 3, 1) ? m = 0 : ke(v) && (m = 1);
|
|
66
66
|
let p = Math.floor(((g + m) * 12 + 373) / 367), b = n - Be(y, v, p, 1) + 1;
|
|
67
67
|
return new Y(y, v, p, b);
|
|
@@ -196,7 +196,7 @@ const _o = {
|
|
|
196
196
|
VN: 1,
|
|
197
197
|
XK: 1
|
|
198
198
|
};
|
|
199
|
-
function
|
|
199
|
+
function Fe(e, t) {
|
|
200
200
|
return t = Q(t, e.calendar), e.era === t.era && e.year === t.year && e.month === t.month && e.day === t.day;
|
|
201
201
|
}
|
|
202
202
|
function ko(e, t) {
|
|
@@ -208,18 +208,18 @@ function Ke(e, t) {
|
|
|
208
208
|
function Wn(e, t) {
|
|
209
209
|
return e = ct(e), t = ct(t), e.calendar.identifier === t.calendar.identifier && e.era === t.era && e.year === t.year && e.month === t.month;
|
|
210
210
|
}
|
|
211
|
-
function
|
|
212
|
-
return
|
|
211
|
+
function Ao(e, t) {
|
|
212
|
+
return Fe(e, $n(t));
|
|
213
213
|
}
|
|
214
214
|
function Va(e, t) {
|
|
215
215
|
let n = e.calendar.toJulianDay(e), a = Math.ceil(n + 1 - Eo(t)) % 7;
|
|
216
216
|
return a < 0 && (a += 7), a;
|
|
217
217
|
}
|
|
218
|
-
function
|
|
218
|
+
function So(e) {
|
|
219
219
|
return we(Date.now(), e);
|
|
220
220
|
}
|
|
221
221
|
function $n(e) {
|
|
222
|
-
return
|
|
222
|
+
return Io(So(e));
|
|
223
223
|
}
|
|
224
224
|
function Na(e, t) {
|
|
225
225
|
return e.calendar.toJulianDay(e) - t.calendar.toJulianDay(t);
|
|
@@ -347,9 +347,9 @@ function Wa(e, t, n = "compatible") {
|
|
|
347
347
|
}
|
|
348
348
|
function we(e, t) {
|
|
349
349
|
let n = sn(e, t), a = new Date(e + n), r = a.getUTCFullYear(), o = a.getUTCMonth() + 1, l = a.getUTCDate(), i = a.getUTCHours(), s = a.getUTCMinutes(), d = a.getUTCSeconds(), c = a.getUTCMilliseconds();
|
|
350
|
-
return new
|
|
350
|
+
return new Re(r, o, l, t, n, i, s, d, c);
|
|
351
351
|
}
|
|
352
|
-
function
|
|
352
|
+
function Io(e) {
|
|
353
353
|
return new Y(e.calendar, e.era, e.year, e.month, e.day);
|
|
354
354
|
}
|
|
355
355
|
function tt(e, t) {
|
|
@@ -361,15 +361,15 @@ function tt(e, t) {
|
|
|
361
361
|
function Q(e, t) {
|
|
362
362
|
if (e.calendar.identifier === t.identifier) return e;
|
|
363
363
|
let n = t.fromJulianDay(e.calendar.toJulianDay(e)), a = e.copy();
|
|
364
|
-
return a.calendar = t, a.era = n.era, a.year = n.year, a.month = n.month, a.day = n.day,
|
|
364
|
+
return a.calendar = t, a.era = n.era, a.year = n.year, a.month = n.month, a.day = n.day, Te(a), a;
|
|
365
365
|
}
|
|
366
|
-
function
|
|
367
|
-
if (e instanceof
|
|
366
|
+
function Fo(e, t, n) {
|
|
367
|
+
if (e instanceof Re)
|
|
368
368
|
return e.timeZone === t ? e : Ya(e, t);
|
|
369
369
|
let a = be(e, t, n);
|
|
370
370
|
return we(a, t);
|
|
371
371
|
}
|
|
372
|
-
function
|
|
372
|
+
function To(e) {
|
|
373
373
|
let t = et(e) - e.offset;
|
|
374
374
|
return new Date(t);
|
|
375
375
|
}
|
|
@@ -380,7 +380,7 @@ function Ya(e, t) {
|
|
|
380
380
|
const st = 36e5;
|
|
381
381
|
function Lt(e, t) {
|
|
382
382
|
let n = e.copy(), a = "hour" in n ? Lo(n, t) : 0;
|
|
383
|
-
un(n, t.years || 0), n.calendar.balanceYearMonth && n.calendar.balanceYearMonth(n, e), n.month += t.months || 0, dn(n), Ha(n), n.day += (t.weeks || 0) * 7, n.day += t.days || 0, n.day += a,
|
|
383
|
+
un(n, t.years || 0), n.calendar.balanceYearMonth && n.calendar.balanceYearMonth(n, e), n.month += t.months || 0, dn(n), Ha(n), n.day += (t.weeks || 0) * 7, n.day += t.days || 0, n.day += a, Ro(n), n.calendar.balanceDate && n.calendar.balanceDate(n), n.year < 1 && (n.year = 1, n.month = 1, n.day = 1);
|
|
384
384
|
let r = n.calendar.getYearsInEra(n);
|
|
385
385
|
if (n.year > r) {
|
|
386
386
|
var o, l;
|
|
@@ -402,7 +402,7 @@ function dn(e) {
|
|
|
402
402
|
for (; e.month > (t = e.calendar.getMonthsInYear(e)); )
|
|
403
403
|
e.month -= t, un(e, 1);
|
|
404
404
|
}
|
|
405
|
-
function
|
|
405
|
+
function Ro(e) {
|
|
406
406
|
for (; e.day < 1; )
|
|
407
407
|
e.month--, dn(e), e.day += e.calendar.getDaysInMonth(e);
|
|
408
408
|
for (; e.day > e.calendar.getDaysInMonth(e); )
|
|
@@ -411,7 +411,7 @@ function To(e) {
|
|
|
411
411
|
function Ha(e) {
|
|
412
412
|
e.month = Math.max(1, Math.min(e.calendar.getMonthsInYear(e), e.month)), e.day = Math.max(1, Math.min(e.calendar.getDaysInMonth(e), e.day));
|
|
413
413
|
}
|
|
414
|
-
function
|
|
414
|
+
function Te(e) {
|
|
415
415
|
e.calendar.constrainDate && e.calendar.constrainDate(e), e.year = Math.max(1, Math.min(e.calendar.getYearsInEra(e), e.year)), Ha(e);
|
|
416
416
|
}
|
|
417
417
|
function ja(e) {
|
|
@@ -424,7 +424,7 @@ function za(e, t) {
|
|
|
424
424
|
}
|
|
425
425
|
function Dn(e, t) {
|
|
426
426
|
let n = e.copy();
|
|
427
|
-
return t.era != null && (n.era = t.era), t.year != null && (n.year = t.year), t.month != null && (n.month = t.month), t.day != null && (n.day = t.day),
|
|
427
|
+
return t.era != null && (n.era = t.era), t.year != null && (n.year = t.year), t.month != null && (n.month = t.month), t.day != null && (n.day = t.day), Te(n), n;
|
|
428
428
|
}
|
|
429
429
|
function Et(e, t) {
|
|
430
430
|
let n = e.copy();
|
|
@@ -451,7 +451,7 @@ function Cn(e, t, n, a) {
|
|
|
451
451
|
case "era": {
|
|
452
452
|
let i = e.calendar.getEras(), s = i.indexOf(e.era);
|
|
453
453
|
if (s < 0) throw new Error("Invalid era: " + e.era);
|
|
454
|
-
s = $e(s, n, 0, i.length - 1, a == null ? void 0 : a.round), r.era = i[s],
|
|
454
|
+
s = $e(s, n, 0, i.length - 1, a == null ? void 0 : a.round), r.era = i[s], Te(r);
|
|
455
455
|
break;
|
|
456
456
|
}
|
|
457
457
|
case "year":
|
|
@@ -467,7 +467,7 @@ function Cn(e, t, n, a) {
|
|
|
467
467
|
default:
|
|
468
468
|
throw new Error("Unsupported field " + t);
|
|
469
469
|
}
|
|
470
|
-
return e.calendar.balanceDate && e.calendar.balanceDate(r),
|
|
470
|
+
return e.calendar.balanceDate && e.calendar.balanceDate(r), Te(r), r;
|
|
471
471
|
}
|
|
472
472
|
function Ja(e, t, n, a) {
|
|
473
473
|
let r = e.copy();
|
|
@@ -569,7 +569,7 @@ const Ho = /^(\d{4})-(\d{2})-(\d{2})(?:T(\d{2}))?(?::(\d{2}))?(?::(\d{2}))?(\.\d
|
|
|
569
569
|
function jo(e, t) {
|
|
570
570
|
let n = e.match(Ho);
|
|
571
571
|
if (!n) throw new Error("Invalid ISO 8601 date time string: " + e);
|
|
572
|
-
let a = new
|
|
572
|
+
let a = new Re(ye(n[1], 1, 9999), ye(n[2], 1, 12), 1, t, 0, n[4] ? ye(n[4], 0, 23) : 0, n[5] ? ye(n[5], 0, 59) : 0, n[6] ? ye(n[6], 0, 59) : 0, n[7] ? ye(n[7], 0, 1 / 0) * 1e3 : 0);
|
|
573
573
|
a.day = ye(n[3], 0, a.calendar.getDaysInMonth(a));
|
|
574
574
|
var r;
|
|
575
575
|
return n[8] && (a.offset = ye(n[8], -23, 23) * 36e5 + ye((r = n[9]) !== null && r !== void 0 ? r : "0", 0, 59) * 6e4), Ya(a, t);
|
|
@@ -667,7 +667,7 @@ class Y {
|
|
|
667
667
|
value: void 0
|
|
668
668
|
});
|
|
669
669
|
let [n, a, r, o, l] = _n(t);
|
|
670
|
-
this.calendar = n, this.era = a, this.year = r, this.month = o, this.day = l,
|
|
670
|
+
this.calendar = n, this.era = a, this.year = r, this.month = o, this.day = l, Te(this);
|
|
671
671
|
}
|
|
672
672
|
}
|
|
673
673
|
var Zo = /* @__PURE__ */ new WeakMap();
|
|
@@ -722,14 +722,14 @@ class nt {
|
|
|
722
722
|
value: void 0
|
|
723
723
|
});
|
|
724
724
|
let [n, a, r, o, l] = _n(t);
|
|
725
|
-
this.calendar = n, this.era = a, this.year = r, this.month = o, this.day = l, this.hour = t.shift() || 0, this.minute = t.shift() || 0, this.second = t.shift() || 0, this.millisecond = t.shift() || 0,
|
|
725
|
+
this.calendar = n, this.era = a, this.year = r, this.month = o, this.day = l, this.hour = t.shift() || 0, this.minute = t.shift() || 0, this.second = t.shift() || 0, this.millisecond = t.shift() || 0, Te(this);
|
|
726
726
|
}
|
|
727
727
|
}
|
|
728
728
|
var Xo = /* @__PURE__ */ new WeakMap();
|
|
729
|
-
class
|
|
729
|
+
class Re {
|
|
730
730
|
/** Returns a copy of this date. */
|
|
731
731
|
copy() {
|
|
732
|
-
return this.era ? new
|
|
732
|
+
return this.era ? new Re(this.calendar, this.era, this.year, this.month, this.day, this.timeZone, this.offset, this.hour, this.minute, this.second, this.millisecond) : new Re(this.calendar, this.year, this.month, this.day, this.timeZone, this.offset, this.hour, this.minute, this.second, this.millisecond);
|
|
733
733
|
}
|
|
734
734
|
/** Returns a new `ZonedDateTime` with the given duration added to it. */
|
|
735
735
|
add(t) {
|
|
@@ -752,7 +752,7 @@ class Te {
|
|
|
752
752
|
}
|
|
753
753
|
/** Converts the date to a native JavaScript Date object. */
|
|
754
754
|
toDate() {
|
|
755
|
-
return
|
|
755
|
+
return To(this);
|
|
756
756
|
}
|
|
757
757
|
/** Converts the date to an ISO 8601 formatted string, including the UTC offset and time zone identifier. */
|
|
758
758
|
toString() {
|
|
@@ -764,7 +764,7 @@ class Te {
|
|
|
764
764
|
}
|
|
765
765
|
/** Compares this date with another. A negative result indicates that this date is before the given one, and a positive date indicates that it is after. */
|
|
766
766
|
compare(t) {
|
|
767
|
-
return this.toDate().getTime() -
|
|
767
|
+
return this.toDate().getTime() - Fo(t, this.timeZone).toDate().getTime();
|
|
768
768
|
}
|
|
769
769
|
constructor(...t) {
|
|
770
770
|
xn(this, Xo, {
|
|
@@ -772,7 +772,7 @@ class Te {
|
|
|
772
772
|
value: void 0
|
|
773
773
|
});
|
|
774
774
|
let [n, a, r, o, l] = _n(t), i = t.shift(), s = t.shift();
|
|
775
|
-
this.calendar = n, this.era = a, this.year = r, this.month = o, this.day = l, this.timeZone = i, this.offset = s, this.hour = t.shift() || 0, this.minute = t.shift() || 0, this.second = t.shift() || 0, this.millisecond = t.shift() || 0,
|
|
775
|
+
this.calendar = n, this.era = a, this.year = r, this.month = o, this.day = l, this.timeZone = i, this.offset = s, this.hour = t.shift() || 0, this.minute = t.shift() || 0, this.second = t.shift() || 0, this.millisecond = t.shift() || 0, Te(this);
|
|
776
776
|
}
|
|
777
777
|
}
|
|
778
778
|
const Ge = [
|
|
@@ -1052,11 +1052,11 @@ class ol extends oe {
|
|
|
1052
1052
|
}
|
|
1053
1053
|
}
|
|
1054
1054
|
const Bt = 1948440, na = 1948439, ae = 1300, Ye = 1600, ll = 460322;
|
|
1055
|
-
function
|
|
1055
|
+
function It(e, t, n, a) {
|
|
1056
1056
|
return a + Math.ceil(29.5 * (n - 1)) + (t - 1) * 354 + Math.floor((3 + 11 * t) / 30) + e - 1;
|
|
1057
1057
|
}
|
|
1058
1058
|
function Xa(e, t, n) {
|
|
1059
|
-
let a = Math.floor((30 * (n - t) + 10646) / 10631), r = Math.min(12, Math.ceil((n - (29 +
|
|
1059
|
+
let a = Math.floor((30 * (n - t) + 10646) / 10631), r = Math.min(12, Math.ceil((n - (29 + It(t, a, 1, 1))) / 29.5) + 1), o = n - It(t, a, r, 1) + 1;
|
|
1060
1060
|
return new Y(e, a, r, o);
|
|
1061
1061
|
}
|
|
1062
1062
|
function aa(e) {
|
|
@@ -1067,7 +1067,7 @@ class kn {
|
|
|
1067
1067
|
return Xa(this, Bt, t);
|
|
1068
1068
|
}
|
|
1069
1069
|
toJulianDay(t) {
|
|
1070
|
-
return
|
|
1070
|
+
return It(Bt, t.year, t.month, t.day);
|
|
1071
1071
|
}
|
|
1072
1072
|
getDaysInMonth(t) {
|
|
1073
1073
|
let n = 29 + t.month % 2;
|
|
@@ -1096,7 +1096,7 @@ class il extends kn {
|
|
|
1096
1096
|
return Xa(this, na, t);
|
|
1097
1097
|
}
|
|
1098
1098
|
toJulianDay(t) {
|
|
1099
|
-
return
|
|
1099
|
+
return It(na, t.year, t.month, t.day);
|
|
1100
1100
|
}
|
|
1101
1101
|
constructor(...t) {
|
|
1102
1102
|
super(...t), this.identifier = "islamic-tbla";
|
|
@@ -1104,7 +1104,7 @@ class il extends kn {
|
|
|
1104
1104
|
}
|
|
1105
1105
|
const sl = "qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI=";
|
|
1106
1106
|
let cn, Qe;
|
|
1107
|
-
function
|
|
1107
|
+
function At(e) {
|
|
1108
1108
|
return ll + Qe[e - ae];
|
|
1109
1109
|
}
|
|
1110
1110
|
function ut(e, t) {
|
|
@@ -1112,7 +1112,7 @@ function ut(e, t) {
|
|
|
1112
1112
|
return (cn[n] & a) === 0 ? 29 : 30;
|
|
1113
1113
|
}
|
|
1114
1114
|
function ra(e, t) {
|
|
1115
|
-
let n =
|
|
1115
|
+
let n = At(e);
|
|
1116
1116
|
for (let a = 1; a < t; a++) n += ut(e, a);
|
|
1117
1117
|
return n;
|
|
1118
1118
|
}
|
|
@@ -1121,12 +1121,12 @@ function oa(e) {
|
|
|
1121
1121
|
}
|
|
1122
1122
|
class ul extends kn {
|
|
1123
1123
|
fromJulianDay(t) {
|
|
1124
|
-
let n = t - Bt, a =
|
|
1124
|
+
let n = t - Bt, a = At(ae), r = At(Ye);
|
|
1125
1125
|
if (n < a || n > r) return super.fromJulianDay(t);
|
|
1126
1126
|
{
|
|
1127
1127
|
let o = ae - 1, l = 1, i = 1;
|
|
1128
1128
|
for (; i > 0; ) {
|
|
1129
|
-
o++, i = n -
|
|
1129
|
+
o++, i = n - At(o) + 1;
|
|
1130
1130
|
let s = oa(o);
|
|
1131
1131
|
if (i === s) {
|
|
1132
1132
|
l = 12;
|
|
@@ -1165,16 +1165,16 @@ const la = 347997, er = 1080, tr = 24 * er, dl = 29, cl = 12 * er + 793, fl = dl
|
|
|
1165
1165
|
function Pe(e) {
|
|
1166
1166
|
return qe(e * 7 + 1, 19) < 7;
|
|
1167
1167
|
}
|
|
1168
|
-
function
|
|
1168
|
+
function St(e) {
|
|
1169
1169
|
let t = Math.floor((235 * e - 234) / 19), n = 12084 + 13753 * t, a = t * 29 + Math.floor(n / 25920);
|
|
1170
1170
|
return qe(3 * (a + 1), 7) < 3 && (a += 1), a;
|
|
1171
1171
|
}
|
|
1172
1172
|
function ml(e) {
|
|
1173
|
-
let t =
|
|
1174
|
-
return
|
|
1173
|
+
let t = St(e - 1), n = St(e);
|
|
1174
|
+
return St(e + 1) - n === 356 ? 2 : n - t === 382 ? 1 : 0;
|
|
1175
1175
|
}
|
|
1176
1176
|
function dt(e) {
|
|
1177
|
-
return
|
|
1177
|
+
return St(e) + ml(e);
|
|
1178
1178
|
}
|
|
1179
1179
|
function nr(e) {
|
|
1180
1180
|
return dt(e + 1) - dt(e);
|
|
@@ -1239,11 +1239,11 @@ class hl {
|
|
|
1239
1239
|
}
|
|
1240
1240
|
}
|
|
1241
1241
|
const fn = 1723856, ia = 1824665, mn = 5500;
|
|
1242
|
-
function
|
|
1242
|
+
function Ft(e, t, n, a) {
|
|
1243
1243
|
return e + 365 * t + Math.floor(t / 4) + 30 * (n - 1) + a - 1;
|
|
1244
1244
|
}
|
|
1245
|
-
function
|
|
1246
|
-
let n = Math.floor(4 * (t - e) / 1461), a = 1 + Math.floor((t -
|
|
1245
|
+
function An(e, t) {
|
|
1246
|
+
let n = Math.floor(4 * (t - e) / 1461), a = 1 + Math.floor((t - Ft(e, n, 1, 1)) / 30), r = t + 1 - Ft(e, n, a, 1);
|
|
1247
1247
|
return [
|
|
1248
1248
|
n,
|
|
1249
1249
|
a,
|
|
@@ -1256,14 +1256,14 @@ function ar(e) {
|
|
|
1256
1256
|
function rr(e, t) {
|
|
1257
1257
|
return t % 13 !== 0 ? 30 : ar(e) + 5;
|
|
1258
1258
|
}
|
|
1259
|
-
class
|
|
1259
|
+
class Sn {
|
|
1260
1260
|
fromJulianDay(t) {
|
|
1261
|
-
let [n, a, r] =
|
|
1261
|
+
let [n, a, r] = An(fn, t), o = "AM";
|
|
1262
1262
|
return n <= 0 && (o = "AA", n += mn), new Y(this, o, n, a, r);
|
|
1263
1263
|
}
|
|
1264
1264
|
toJulianDay(t) {
|
|
1265
1265
|
let n = t.year;
|
|
1266
|
-
return t.era === "AA" && (n -= mn),
|
|
1266
|
+
return t.era === "AA" && (n -= mn), Ft(fn, n, t.month, t.day);
|
|
1267
1267
|
}
|
|
1268
1268
|
getDaysInMonth(t) {
|
|
1269
1269
|
return rr(t.year, t.month);
|
|
@@ -1287,9 +1287,9 @@ class An {
|
|
|
1287
1287
|
this.identifier = "ethiopic";
|
|
1288
1288
|
}
|
|
1289
1289
|
}
|
|
1290
|
-
class vl extends
|
|
1290
|
+
class vl extends Sn {
|
|
1291
1291
|
fromJulianDay(t) {
|
|
1292
|
-
let [n, a, r] =
|
|
1292
|
+
let [n, a, r] = An(fn, t);
|
|
1293
1293
|
return n += mn, new Y(this, "AA", n, a, r);
|
|
1294
1294
|
}
|
|
1295
1295
|
getEras() {
|
|
@@ -1304,14 +1304,14 @@ class vl extends An {
|
|
|
1304
1304
|
super(...t), this.identifier = "ethioaa";
|
|
1305
1305
|
}
|
|
1306
1306
|
}
|
|
1307
|
-
class yl extends
|
|
1307
|
+
class yl extends Sn {
|
|
1308
1308
|
fromJulianDay(t) {
|
|
1309
|
-
let [n, a, r] =
|
|
1309
|
+
let [n, a, r] = An(ia, t), o = "CE";
|
|
1310
1310
|
return n <= 0 && (o = "BCE", n = 1 - n), new Y(this, o, n, a, r);
|
|
1311
1311
|
}
|
|
1312
1312
|
toJulianDay(t) {
|
|
1313
1313
|
let n = t.year;
|
|
1314
|
-
return t.era === "BCE" && (n = 1 - n),
|
|
1314
|
+
return t.era === "BCE" && (n = 1 - n), Ft(ia, n, t.month, t.day);
|
|
1315
1315
|
}
|
|
1316
1316
|
getDaysInMonth(t) {
|
|
1317
1317
|
let n = t.year;
|
|
@@ -1341,7 +1341,7 @@ function gl(e) {
|
|
|
1341
1341
|
case "buddhist":
|
|
1342
1342
|
return new nl();
|
|
1343
1343
|
case "ethiopic":
|
|
1344
|
-
return new
|
|
1344
|
+
return new Sn();
|
|
1345
1345
|
case "ethioaa":
|
|
1346
1346
|
return new vl();
|
|
1347
1347
|
case "coptic":
|
|
@@ -1476,7 +1476,7 @@ function xl(e) {
|
|
|
1476
1476
|
return e instanceof nt;
|
|
1477
1477
|
}
|
|
1478
1478
|
function Mn(e) {
|
|
1479
|
-
return e instanceof
|
|
1479
|
+
return e instanceof Re;
|
|
1480
1480
|
}
|
|
1481
1481
|
function _l(e) {
|
|
1482
1482
|
return xl(e) || Mn(e);
|
|
@@ -1498,7 +1498,7 @@ function kl(e, t, n) {
|
|
|
1498
1498
|
const a = Va(e, n);
|
|
1499
1499
|
return t > a ? e.subtract({ days: a + 7 - t }) : t === a ? e : e.subtract({ days: a - t });
|
|
1500
1500
|
}
|
|
1501
|
-
function
|
|
1501
|
+
function Al(e, t, n) {
|
|
1502
1502
|
const a = Va(e, n), r = t === 0 ? 6 : t - 1;
|
|
1503
1503
|
return a === r ? e : a > r ? e.add({ days: 7 - a + r }) : e.add({ days: r - a });
|
|
1504
1504
|
}
|
|
@@ -1511,16 +1511,16 @@ function sa(e, t) {
|
|
|
1511
1511
|
return n;
|
|
1512
1512
|
}
|
|
1513
1513
|
function Xt(e) {
|
|
1514
|
-
const { dateObj: t, weekStartsOn: n, fixedWeeks: a, locale: r } = e, o = ft(t), l = Array.from({ length: o }, (p, b) => t.set({ day: b + 1 })), i = ct(t), s = Hn(t), d = kl(i, n, r), c =
|
|
1514
|
+
const { dateObj: t, weekStartsOn: n, fixedWeeks: a, locale: r } = e, o = ft(t), l = Array.from({ length: o }, (p, b) => t.set({ day: b + 1 })), i = ct(t), s = Hn(t), d = kl(i, n, r), c = Al(s, n, r), u = sa(d.subtract({ days: 1 }), i), y = sa(s, c.add({ days: 1 })), v = u.length + l.length + y.length;
|
|
1515
1515
|
if (a && v < 42) {
|
|
1516
1516
|
const p = 42 - v;
|
|
1517
1517
|
let b = y[y.length - 1];
|
|
1518
1518
|
b || (b = Hn(t));
|
|
1519
|
-
const
|
|
1519
|
+
const _ = Array.from({ length: p }, ($, E) => {
|
|
1520
1520
|
const B = E + 1;
|
|
1521
1521
|
return b.add({ days: B });
|
|
1522
1522
|
});
|
|
1523
|
-
y.push(...
|
|
1523
|
+
y.push(..._);
|
|
1524
1524
|
}
|
|
1525
1525
|
const g = u.concat(l, y), m = Cl(g, 7);
|
|
1526
1526
|
return {
|
|
@@ -1590,7 +1590,7 @@ function ht(e) {
|
|
|
1590
1590
|
} = ie(e);
|
|
1591
1591
|
return /auto|scroll|overlay|hidden|clip/.test(t + a + n) && !["inline", "contents"].includes(r);
|
|
1592
1592
|
}
|
|
1593
|
-
function
|
|
1593
|
+
function Sl(e) {
|
|
1594
1594
|
return ["table", "td", "th"].includes(Ue(e));
|
|
1595
1595
|
}
|
|
1596
1596
|
function Wt(e) {
|
|
@@ -1680,7 +1680,7 @@ function Bn(e) {
|
|
|
1680
1680
|
function Ze(e) {
|
|
1681
1681
|
const t = Bn(e);
|
|
1682
1682
|
if (!pe(t))
|
|
1683
|
-
return
|
|
1683
|
+
return Ae(1);
|
|
1684
1684
|
const n = t.getBoundingClientRect(), {
|
|
1685
1685
|
width: a,
|
|
1686
1686
|
height: r,
|
|
@@ -1692,7 +1692,7 @@ function Ze(e) {
|
|
|
1692
1692
|
y: i
|
|
1693
1693
|
};
|
|
1694
1694
|
}
|
|
1695
|
-
const Ol = /* @__PURE__ */
|
|
1695
|
+
const Ol = /* @__PURE__ */ Ae(0);
|
|
1696
1696
|
function sr(e) {
|
|
1697
1697
|
const t = X(e);
|
|
1698
1698
|
return !Pn() || !t.visualViewport ? Ol : {
|
|
@@ -1706,15 +1706,15 @@ function El(e, t, n) {
|
|
|
1706
1706
|
function Ve(e, t, n, a) {
|
|
1707
1707
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
1708
1708
|
const r = e.getBoundingClientRect(), o = Bn(e);
|
|
1709
|
-
let l =
|
|
1709
|
+
let l = Ae(1);
|
|
1710
1710
|
t && (a ? le(a) && (l = Ze(a)) : l = Ze(e));
|
|
1711
|
-
const i = El(o, n, a) ? sr(o) :
|
|
1711
|
+
const i = El(o, n, a) ? sr(o) : Ae(0);
|
|
1712
1712
|
let s = (r.left + i.x) / l.x, d = (r.top + i.y) / l.y, c = r.width / l.x, u = r.height / l.y;
|
|
1713
1713
|
if (o) {
|
|
1714
1714
|
const y = X(o), v = a && le(a) ? X(a) : a;
|
|
1715
1715
|
let g = y, m = pn(g);
|
|
1716
1716
|
for (; m && a && v !== g; ) {
|
|
1717
|
-
const p = Ze(m), b = m.getBoundingClientRect(),
|
|
1717
|
+
const p = Ze(m), b = m.getBoundingClientRect(), _ = ie(m), $ = b.left + (m.clientLeft + parseFloat(_.paddingLeft)) * p.x, E = b.top + (m.clientTop + parseFloat(_.paddingTop)) * p.y;
|
|
1718
1718
|
s *= p.x, d *= p.y, c *= p.x, u *= p.y, s += $, d += E, g = X(m), m = pn(g);
|
|
1719
1719
|
}
|
|
1720
1720
|
}
|
|
@@ -1738,8 +1738,8 @@ function Pl(e) {
|
|
|
1738
1738
|
let s = {
|
|
1739
1739
|
scrollLeft: 0,
|
|
1740
1740
|
scrollTop: 0
|
|
1741
|
-
}, d =
|
|
1742
|
-
const c =
|
|
1741
|
+
}, d = Ae(1);
|
|
1742
|
+
const c = Ae(0), u = pe(a);
|
|
1743
1743
|
if ((u || !u && !o) && ((Ue(a) !== "body" || ht(l)) && (s = Yt(a)), pe(a))) {
|
|
1744
1744
|
const y = Ve(a);
|
|
1745
1745
|
d = Ze(a), c.x = y.x + a.clientLeft, c.y = y.y + a.clientTop;
|
|
@@ -1758,7 +1758,7 @@ function hn(e, t) {
|
|
|
1758
1758
|
const n = Yt(e).scrollLeft;
|
|
1759
1759
|
return t ? t.left + n : Ve(he(e)).left + n;
|
|
1760
1760
|
}
|
|
1761
|
-
function
|
|
1761
|
+
function Il(e) {
|
|
1762
1762
|
const t = he(e), n = Yt(e), a = e.ownerDocument.body, r = Je(t.scrollWidth, t.clientWidth, a.scrollWidth, a.clientWidth), o = Je(t.scrollHeight, t.clientHeight, a.scrollHeight, a.clientHeight);
|
|
1763
1763
|
let l = -n.scrollLeft + hn(e);
|
|
1764
1764
|
const i = -n.scrollTop;
|
|
@@ -1769,7 +1769,7 @@ function Fl(e) {
|
|
|
1769
1769
|
y: i
|
|
1770
1770
|
};
|
|
1771
1771
|
}
|
|
1772
|
-
function
|
|
1772
|
+
function Fl(e, t) {
|
|
1773
1773
|
const n = X(e), a = he(e), r = n.visualViewport;
|
|
1774
1774
|
let o = a.clientWidth, l = a.clientHeight, i = 0, s = 0;
|
|
1775
1775
|
if (r) {
|
|
@@ -1784,8 +1784,8 @@ function Il(e, t) {
|
|
|
1784
1784
|
y: s
|
|
1785
1785
|
};
|
|
1786
1786
|
}
|
|
1787
|
-
function
|
|
1788
|
-
const n = Ve(e, !0, t === "fixed"), a = n.top + e.clientTop, r = n.left + e.clientLeft, o = pe(e) ? Ze(e) :
|
|
1787
|
+
function Tl(e, t) {
|
|
1788
|
+
const n = Ve(e, !0, t === "fixed"), a = n.top + e.clientTop, r = n.left + e.clientLeft, o = pe(e) ? Ze(e) : Ae(1), l = e.clientWidth * o.x, i = e.clientHeight * o.y, s = r * o.x, d = a * o.y;
|
|
1789
1789
|
return {
|
|
1790
1790
|
width: l,
|
|
1791
1791
|
height: i,
|
|
@@ -1796,11 +1796,11 @@ function Rl(e, t) {
|
|
|
1796
1796
|
function da(e, t, n) {
|
|
1797
1797
|
let a;
|
|
1798
1798
|
if (t === "viewport")
|
|
1799
|
-
a =
|
|
1799
|
+
a = Fl(e, n);
|
|
1800
1800
|
else if (t === "document")
|
|
1801
|
-
a =
|
|
1801
|
+
a = Il(he(e));
|
|
1802
1802
|
else if (le(t))
|
|
1803
|
-
a =
|
|
1803
|
+
a = Tl(t, n);
|
|
1804
1804
|
else {
|
|
1805
1805
|
const r = sr(e);
|
|
1806
1806
|
a = {
|
|
@@ -1815,7 +1815,7 @@ function ur(e, t) {
|
|
|
1815
1815
|
const n = Me(e);
|
|
1816
1816
|
return n === t || !le(n) || at(n) ? !1 : ie(n).position === "fixed" || ur(n, t);
|
|
1817
1817
|
}
|
|
1818
|
-
function
|
|
1818
|
+
function Rl(e, t) {
|
|
1819
1819
|
const n = t.get(e);
|
|
1820
1820
|
if (n)
|
|
1821
1821
|
return n;
|
|
@@ -1835,7 +1835,7 @@ function Vl(e) {
|
|
|
1835
1835
|
rootBoundary: a,
|
|
1836
1836
|
strategy: r
|
|
1837
1837
|
} = e;
|
|
1838
|
-
const l = [...n === "clippingAncestors" ? Wt(t) ? [] :
|
|
1838
|
+
const l = [...n === "clippingAncestors" ? Wt(t) ? [] : Rl(t, this._c) : [].concat(n), a], i = l[0], s = l.reduce((d, c) => {
|
|
1839
1839
|
const u = da(t, c, r);
|
|
1840
1840
|
return d.top = Je(u.top, d.top), d.right = ln(u.right, d.right), d.bottom = ln(u.bottom, d.bottom), d.left = Je(u.left, d.left), d;
|
|
1841
1841
|
}, da(t, i, r));
|
|
@@ -1862,7 +1862,7 @@ function Ll(e, t, n) {
|
|
|
1862
1862
|
scrollLeft: 0,
|
|
1863
1863
|
scrollTop: 0
|
|
1864
1864
|
};
|
|
1865
|
-
const s =
|
|
1865
|
+
const s = Ae(0);
|
|
1866
1866
|
if (a || !a && !o)
|
|
1867
1867
|
if ((Ue(t) !== "body" || ht(r)) && (i = Yt(t)), a) {
|
|
1868
1868
|
const v = Ve(t, !0, o, t);
|
|
@@ -1907,7 +1907,7 @@ function dr(e, t) {
|
|
|
1907
1907
|
return n;
|
|
1908
1908
|
}
|
|
1909
1909
|
let a = ca(e, t);
|
|
1910
|
-
for (; a &&
|
|
1910
|
+
for (; a && Sl(a) && en(a); )
|
|
1911
1911
|
a = ca(a, t);
|
|
1912
1912
|
return a && at(a) && en(a) && !En(a) ? n : a || Ml(e) || n;
|
|
1913
1913
|
}
|
|
@@ -1955,7 +1955,7 @@ function Hl(e, t) {
|
|
|
1955
1955
|
} = e.getBoundingClientRect();
|
|
1956
1956
|
if (i || t(), !u || !y)
|
|
1957
1957
|
return;
|
|
1958
|
-
const v = yt(c), g = yt(r.clientWidth - (d + u)), m = yt(r.clientHeight - (c + y)), p = yt(d),
|
|
1958
|
+
const v = yt(c), g = yt(r.clientWidth - (d + u)), m = yt(r.clientHeight - (c + y)), p = yt(d), _ = {
|
|
1959
1959
|
rootMargin: -v + "px " + -g + "px " + -m + "px " + -p + "px",
|
|
1960
1960
|
threshold: Je(0, ln(1, s)) || 1
|
|
1961
1961
|
};
|
|
@@ -1973,12 +1973,12 @@ function Hl(e, t) {
|
|
|
1973
1973
|
}
|
|
1974
1974
|
try {
|
|
1975
1975
|
n = new IntersectionObserver(E, {
|
|
1976
|
-
...
|
|
1976
|
+
..._,
|
|
1977
1977
|
// Handle <iframe>s
|
|
1978
1978
|
root: r.ownerDocument
|
|
1979
1979
|
});
|
|
1980
1980
|
} catch {
|
|
1981
|
-
n = new IntersectionObserver(E,
|
|
1981
|
+
n = new IntersectionObserver(E, _);
|
|
1982
1982
|
}
|
|
1983
1983
|
n.observe(e);
|
|
1984
1984
|
}
|
|
@@ -2001,8 +2001,8 @@ function jl(e, t, n, a) {
|
|
|
2001
2001
|
const u = d && i ? Hl(d, n) : null;
|
|
2002
2002
|
let y = -1, v = null;
|
|
2003
2003
|
l && (v = new ResizeObserver((b) => {
|
|
2004
|
-
let [
|
|
2005
|
-
|
|
2004
|
+
let [_] = b;
|
|
2005
|
+
_ && _.target === d && v && (v.unobserve(t), cancelAnimationFrame(y), y = requestAnimationFrame(() => {
|
|
2006
2006
|
var $;
|
|
2007
2007
|
($ = v) == null || $.observe(t);
|
|
2008
2008
|
})), n();
|
|
@@ -2015,8 +2015,8 @@ function jl(e, t, n, a) {
|
|
|
2015
2015
|
}
|
|
2016
2016
|
return n(), () => {
|
|
2017
2017
|
var b;
|
|
2018
|
-
c.forEach((
|
|
2019
|
-
r &&
|
|
2018
|
+
c.forEach((_) => {
|
|
2019
|
+
r && _.removeEventListener("scroll", n), o && _.removeEventListener("resize", n);
|
|
2020
2020
|
}), u == null || u(), (b = v) == null || b.disconnect(), v = null, s && cancelAnimationFrame(g);
|
|
2021
2021
|
};
|
|
2022
2022
|
}
|
|
@@ -2068,29 +2068,29 @@ function ma(e, t) {
|
|
|
2068
2068
|
}
|
|
2069
2069
|
function ti(e, t, n) {
|
|
2070
2070
|
n === void 0 && (n = {});
|
|
2071
|
-
const a = n.whileElementsMounted, r =
|
|
2072
|
-
var
|
|
2073
|
-
return (
|
|
2074
|
-
}), o =
|
|
2075
|
-
var
|
|
2076
|
-
return (
|
|
2077
|
-
}), i =
|
|
2078
|
-
var
|
|
2079
|
-
return (
|
|
2080
|
-
}), s =
|
|
2081
|
-
var
|
|
2082
|
-
return (
|
|
2083
|
-
}), d =
|
|
2084
|
-
const
|
|
2071
|
+
const a = n.whileElementsMounted, r = S(() => {
|
|
2072
|
+
var R;
|
|
2073
|
+
return (R = je(n.open)) != null ? R : !0;
|
|
2074
|
+
}), o = S(() => je(n.middleware)), l = S(() => {
|
|
2075
|
+
var R;
|
|
2076
|
+
return (R = je(n.placement)) != null ? R : "bottom";
|
|
2077
|
+
}), i = S(() => {
|
|
2078
|
+
var R;
|
|
2079
|
+
return (R = je(n.strategy)) != null ? R : "absolute";
|
|
2080
|
+
}), s = S(() => {
|
|
2081
|
+
var R;
|
|
2082
|
+
return (R = je(n.transform)) != null ? R : !0;
|
|
2083
|
+
}), d = S(() => vn(e.value)), c = S(() => vn(t.value)), u = I(0), y = I(0), v = I(i.value), g = I(l.value), m = Ca({}), p = I(!1), b = S(() => {
|
|
2084
|
+
const R = {
|
|
2085
2085
|
position: v.value,
|
|
2086
2086
|
left: "0",
|
|
2087
2087
|
top: "0"
|
|
2088
2088
|
};
|
|
2089
2089
|
if (!c.value)
|
|
2090
|
-
return
|
|
2090
|
+
return R;
|
|
2091
2091
|
const J = ma(c.value, u.value), ee = ma(c.value, y.value);
|
|
2092
2092
|
return s.value ? {
|
|
2093
|
-
...
|
|
2093
|
+
...R,
|
|
2094
2094
|
transform: "translate(" + J + "px, " + ee + "px)",
|
|
2095
2095
|
...cr(c.value) >= 1.5 && {
|
|
2096
2096
|
willChange: "transform"
|
|
@@ -2101,21 +2101,21 @@ function ti(e, t, n) {
|
|
|
2101
2101
|
top: ee + "px"
|
|
2102
2102
|
};
|
|
2103
2103
|
});
|
|
2104
|
-
let
|
|
2104
|
+
let _;
|
|
2105
2105
|
function $() {
|
|
2106
2106
|
if (d.value == null || c.value == null)
|
|
2107
2107
|
return;
|
|
2108
|
-
const
|
|
2108
|
+
const R = r.value;
|
|
2109
2109
|
Zl(d.value, c.value, {
|
|
2110
2110
|
middleware: o.value,
|
|
2111
2111
|
placement: l.value,
|
|
2112
2112
|
strategy: i.value
|
|
2113
2113
|
}).then((J) => {
|
|
2114
|
-
u.value = J.x, y.value = J.y, v.value = J.strategy, g.value = J.placement, m.value = J.middlewareData, p.value =
|
|
2114
|
+
u.value = J.x, y.value = J.y, v.value = J.strategy, g.value = J.placement, m.value = J.middlewareData, p.value = R !== !1;
|
|
2115
2115
|
});
|
|
2116
2116
|
}
|
|
2117
2117
|
function E() {
|
|
2118
|
-
typeof
|
|
2118
|
+
typeof _ == "function" && (_(), _ = void 0);
|
|
2119
2119
|
}
|
|
2120
2120
|
function B() {
|
|
2121
2121
|
if (E(), a === void 0) {
|
|
@@ -2123,7 +2123,7 @@ function ti(e, t, n) {
|
|
|
2123
2123
|
return;
|
|
2124
2124
|
}
|
|
2125
2125
|
if (d.value != null && c.value != null) {
|
|
2126
|
-
|
|
2126
|
+
_ = a(d.value, c.value, $);
|
|
2127
2127
|
return;
|
|
2128
2128
|
}
|
|
2129
2129
|
}
|
|
@@ -2215,7 +2215,7 @@ function oi(e) {
|
|
|
2215
2215
|
};
|
|
2216
2216
|
return (...o) => (t += 1, n || (a = Ma(!0), n = a.run(() => e(...o))), pr(r), n);
|
|
2217
2217
|
}
|
|
2218
|
-
function
|
|
2218
|
+
function In(e) {
|
|
2219
2219
|
return typeof e == "function" ? e() : f(e);
|
|
2220
2220
|
}
|
|
2221
2221
|
const Oe = typeof window < "u" && typeof document < "u";
|
|
@@ -2234,19 +2234,19 @@ function fi(e, t) {
|
|
|
2234
2234
|
}
|
|
2235
2235
|
function ot(e) {
|
|
2236
2236
|
var t;
|
|
2237
|
-
const n =
|
|
2237
|
+
const n = In(e);
|
|
2238
2238
|
return (t = n == null ? void 0 : n.$el) != null ? t : n;
|
|
2239
2239
|
}
|
|
2240
|
-
const
|
|
2240
|
+
const Fn = Oe ? window : void 0;
|
|
2241
2241
|
function hr(...e) {
|
|
2242
2242
|
let t, n, a, r;
|
|
2243
|
-
if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([n, a, r] = e, t =
|
|
2243
|
+
if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([n, a, r] = e, t = Fn) : [t, n, a, r] = e, !t)
|
|
2244
2244
|
return ui;
|
|
2245
2245
|
Array.isArray(n) || (n = [n]), Array.isArray(a) || (a = [a]);
|
|
2246
2246
|
const o = [], l = () => {
|
|
2247
2247
|
o.forEach((c) => c()), o.length = 0;
|
|
2248
2248
|
}, i = (c, u, y, v) => (c.addEventListener(u, y, v), () => c.removeEventListener(u, y, v)), s = Z(
|
|
2249
|
-
() => [ot(t),
|
|
2249
|
+
() => [ot(t), In(r)],
|
|
2250
2250
|
([c, u]) => {
|
|
2251
2251
|
if (l(), !c)
|
|
2252
2252
|
return;
|
|
@@ -2268,17 +2268,17 @@ function pi(...e) {
|
|
|
2268
2268
|
let t, n, a = {};
|
|
2269
2269
|
e.length === 3 ? (t = e[0], n = e[1], a = e[2]) : e.length === 2 ? typeof e[1] == "object" ? (t = !0, n = e[0], a = e[1]) : (t = e[0], n = e[1]) : (t = !0, n = e[0]);
|
|
2270
2270
|
const {
|
|
2271
|
-
target: r =
|
|
2271
|
+
target: r = Fn,
|
|
2272
2272
|
eventName: o = "keydown",
|
|
2273
2273
|
passive: l = !1,
|
|
2274
2274
|
dedupe: i = !1
|
|
2275
2275
|
} = a, s = mi(t);
|
|
2276
2276
|
return hr(r, o, (d) => {
|
|
2277
|
-
d.repeat &&
|
|
2277
|
+
d.repeat && In(i) || s(d) && n(d);
|
|
2278
2278
|
}, l);
|
|
2279
2279
|
}
|
|
2280
2280
|
function hi() {
|
|
2281
|
-
const e =
|
|
2281
|
+
const e = I(!1), t = Ne();
|
|
2282
2282
|
return t && Vt(() => {
|
|
2283
2283
|
e.value = !0;
|
|
2284
2284
|
}, t), e;
|
|
@@ -2298,36 +2298,36 @@ function Xe(e, t, n, a = {}) {
|
|
|
2298
2298
|
} = a, v = Ne(), g = n || (v == null ? void 0 : v.emit) || ((r = v == null ? void 0 : v.$emit) == null ? void 0 : r.bind(v)) || ((l = (o = v == null ? void 0 : v.proxy) == null ? void 0 : o.$emit) == null ? void 0 : l.bind(v == null ? void 0 : v.proxy));
|
|
2299
2299
|
let m = d;
|
|
2300
2300
|
t || (t = "modelValue"), m = m || `update:${t.toString()}`;
|
|
2301
|
-
const p = ($) => i ? typeof i == "function" ? i($) : vi($) : $, b = () => li(e[t]) ? p(e[t]) : u,
|
|
2301
|
+
const p = ($) => i ? typeof i == "function" ? i($) : vi($) : $, b = () => li(e[t]) ? p(e[t]) : u, _ = ($) => {
|
|
2302
2302
|
y ? y($) && g(m, $) : g(m, $);
|
|
2303
2303
|
};
|
|
2304
2304
|
if (s) {
|
|
2305
|
-
const $ = b(), E =
|
|
2305
|
+
const $ = b(), E = I($);
|
|
2306
2306
|
let B = !1;
|
|
2307
2307
|
return Z(
|
|
2308
2308
|
() => e[t],
|
|
2309
2309
|
(k) => {
|
|
2310
|
-
B || (B = !0, E.value = p(k),
|
|
2310
|
+
B || (B = !0, E.value = p(k), Se(() => B = !1));
|
|
2311
2311
|
}
|
|
2312
2312
|
), Z(
|
|
2313
2313
|
E,
|
|
2314
2314
|
(k) => {
|
|
2315
|
-
!B && (k !== e[t] || c) &&
|
|
2315
|
+
!B && (k !== e[t] || c) && _(k);
|
|
2316
2316
|
},
|
|
2317
2317
|
{ deep: c }
|
|
2318
2318
|
), E;
|
|
2319
2319
|
} else
|
|
2320
|
-
return
|
|
2320
|
+
return S({
|
|
2321
2321
|
get() {
|
|
2322
2322
|
return b();
|
|
2323
2323
|
},
|
|
2324
2324
|
set($) {
|
|
2325
|
-
|
|
2325
|
+
_($);
|
|
2326
2326
|
}
|
|
2327
2327
|
});
|
|
2328
2328
|
}
|
|
2329
|
-
function
|
|
2330
|
-
return e ? e.flatMap((t) => t.type === W ?
|
|
2329
|
+
function Tn(e) {
|
|
2330
|
+
return e ? e.flatMap((t) => t.type === W ? Tn(t.children) : [t]) : [];
|
|
2331
2331
|
}
|
|
2332
2332
|
function tn(e) {
|
|
2333
2333
|
if (e === null || typeof e != "object")
|
|
@@ -2357,7 +2357,7 @@ function yi(e) {
|
|
|
2357
2357
|
t.reduce((n, a) => yn(n, a, ""), {})
|
|
2358
2358
|
);
|
|
2359
2359
|
}
|
|
2360
|
-
const gi = yi(), [
|
|
2360
|
+
const gi = yi(), [Rn, ic] = rt("ConfigProvider");
|
|
2361
2361
|
let bi = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", wi = (e = 21) => {
|
|
2362
2362
|
let t = "", n = e;
|
|
2363
2363
|
for (; n--; )
|
|
@@ -2365,13 +2365,13 @@ let bi = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", wi
|
|
|
2365
2365
|
return t;
|
|
2366
2366
|
};
|
|
2367
2367
|
const $i = oi(() => {
|
|
2368
|
-
const e =
|
|
2368
|
+
const e = I(/* @__PURE__ */ new Map()), t = I(), n = S(() => {
|
|
2369
2369
|
for (const l of e.value.values())
|
|
2370
2370
|
if (l)
|
|
2371
2371
|
return !0;
|
|
2372
2372
|
return !1;
|
|
2373
|
-
}), a =
|
|
2374
|
-
scrollBody:
|
|
2373
|
+
}), a = Rn({
|
|
2374
|
+
scrollBody: I(!0)
|
|
2375
2375
|
});
|
|
2376
2376
|
let r = null;
|
|
2377
2377
|
const o = () => {
|
|
@@ -2395,7 +2395,7 @@ const $i = oi(() => {
|
|
|
2395
2395
|
"touchmove",
|
|
2396
2396
|
(y) => Ci(y),
|
|
2397
2397
|
{ passive: !1 }
|
|
2398
|
-
)),
|
|
2398
|
+
)), Se(() => {
|
|
2399
2399
|
document.body.style.pointerEvents = "none", document.body.style.overflow = "hidden";
|
|
2400
2400
|
});
|
|
2401
2401
|
}, { immediate: !0, flush: "sync" }), e;
|
|
@@ -2403,7 +2403,7 @@ const $i = oi(() => {
|
|
|
2403
2403
|
function Di(e) {
|
|
2404
2404
|
const t = wi(6), n = $i();
|
|
2405
2405
|
n.value.set(t, e);
|
|
2406
|
-
const a =
|
|
2406
|
+
const a = S({
|
|
2407
2407
|
get: () => n.value.get(t) ?? !1,
|
|
2408
2408
|
set: (r) => n.value.set(t, r)
|
|
2409
2409
|
});
|
|
@@ -2425,7 +2425,7 @@ function Ci(e) {
|
|
|
2425
2425
|
return n instanceof Element && vr(n) ? !1 : t.touches.length > 1 ? !0 : (t.preventDefault && t.cancelable && t.preventDefault(), !1);
|
|
2426
2426
|
}
|
|
2427
2427
|
function xi(e) {
|
|
2428
|
-
const t =
|
|
2428
|
+
const t = I(e);
|
|
2429
2429
|
function n() {
|
|
2430
2430
|
return t.value;
|
|
2431
2431
|
}
|
|
@@ -2481,7 +2481,7 @@ function xi(e) {
|
|
|
2481
2481
|
second: "numeric"
|
|
2482
2482
|
};
|
|
2483
2483
|
function g(m, p, b = {}) {
|
|
2484
|
-
const
|
|
2484
|
+
const _ = { ...v, ...b }, $ = c(m, _).find((E) => E.type === p);
|
|
2485
2485
|
return $ ? $.value : "";
|
|
2486
2486
|
}
|
|
2487
2487
|
return {
|
|
@@ -2500,10 +2500,10 @@ function xi(e) {
|
|
|
2500
2500
|
};
|
|
2501
2501
|
}
|
|
2502
2502
|
function yr(e) {
|
|
2503
|
-
const t =
|
|
2504
|
-
dir:
|
|
2503
|
+
const t = Rn({
|
|
2504
|
+
dir: I("ltr")
|
|
2505
2505
|
});
|
|
2506
|
-
return
|
|
2506
|
+
return S(() => {
|
|
2507
2507
|
var n;
|
|
2508
2508
|
return (e == null ? void 0 : e.value) || ((n = t.dir) == null ? void 0 : n.value) || "ltr";
|
|
2509
2509
|
});
|
|
@@ -2513,7 +2513,7 @@ function _i(e) {
|
|
|
2513
2513
|
return n != null && n.length || console.warn(
|
|
2514
2514
|
`No emitted event found. Please check component: ${t == null ? void 0 : t.type.__name}`
|
|
2515
2515
|
), n == null || n.forEach((r) => {
|
|
2516
|
-
a[Xr(
|
|
2516
|
+
a[Xr(Aa(r))] = (...o) => e(r, ...o);
|
|
2517
2517
|
}), a;
|
|
2518
2518
|
}
|
|
2519
2519
|
let nn = 0;
|
|
@@ -2542,22 +2542,22 @@ function gr(e) {
|
|
|
2542
2542
|
const l = (t == null ? void 0 : t.type.props[o]).default;
|
|
2543
2543
|
return l !== void 0 && (r[o] = l), r;
|
|
2544
2544
|
}, {}), a = Zr(e);
|
|
2545
|
-
return
|
|
2545
|
+
return S(() => {
|
|
2546
2546
|
const r = {}, o = (t == null ? void 0 : t.vnode.props) ?? {};
|
|
2547
2547
|
return Object.keys(o).forEach((l) => {
|
|
2548
|
-
r[
|
|
2548
|
+
r[Aa(l)] = o[l];
|
|
2549
2549
|
}), Object.keys({ ...n, ...r }).reduce((l, i) => (a.value[i] !== void 0 && (l[i] = a.value[i]), l), {});
|
|
2550
2550
|
});
|
|
2551
2551
|
}
|
|
2552
2552
|
function Ht(e, t) {
|
|
2553
2553
|
const n = gr(e), a = t ? _i(t) : {};
|
|
2554
|
-
return
|
|
2554
|
+
return S(() => ({
|
|
2555
2555
|
...n.value,
|
|
2556
2556
|
...a
|
|
2557
2557
|
}));
|
|
2558
2558
|
}
|
|
2559
2559
|
function se() {
|
|
2560
|
-
const e = Ne(), t =
|
|
2560
|
+
const e = Ne(), t = I(), n = S(() => {
|
|
2561
2561
|
var l, i;
|
|
2562
2562
|
return ["#text", "#comment"].includes((l = t.value) == null ? void 0 : l.$el.nodeName) ? (i = t.value) == null ? void 0 : i.$el.nextElementSibling : ot(t);
|
|
2563
2563
|
}), a = Object.assign({}, e.exposed), r = {};
|
|
@@ -2588,14 +2588,14 @@ function se() {
|
|
|
2588
2588
|
}
|
|
2589
2589
|
return { forwardRef: o, currentRef: t, currentElement: n };
|
|
2590
2590
|
}
|
|
2591
|
-
var
|
|
2591
|
+
var Ai = function(e) {
|
|
2592
2592
|
if (typeof document > "u")
|
|
2593
2593
|
return null;
|
|
2594
2594
|
var t = Array.isArray(e) ? e[0] : e;
|
|
2595
2595
|
return t.ownerDocument.body;
|
|
2596
2596
|
}, He = /* @__PURE__ */ new WeakMap(), Dt = /* @__PURE__ */ new WeakMap(), Ct = {}, an = 0, br = function(e) {
|
|
2597
2597
|
return e && (e.host || br(e.parentNode));
|
|
2598
|
-
},
|
|
2598
|
+
}, Si = function(e, t) {
|
|
2599
2599
|
return t.map(function(n) {
|
|
2600
2600
|
if (e.contains(n))
|
|
2601
2601
|
return n;
|
|
@@ -2605,7 +2605,7 @@ var Si = function(e) {
|
|
|
2605
2605
|
return !!n;
|
|
2606
2606
|
});
|
|
2607
2607
|
}, Mi = function(e, t, n, a) {
|
|
2608
|
-
var r =
|
|
2608
|
+
var r = Si(t, Array.isArray(e) ? e : [e]);
|
|
2609
2609
|
Ct[n] || (Ct[n] = /* @__PURE__ */ new WeakMap());
|
|
2610
2610
|
var o = Ct[n], l = [], i = /* @__PURE__ */ new Set(), s = new Set(r), d = function(u) {
|
|
2611
2611
|
!u || i.has(u) || (i.add(u), d(u.parentNode));
|
|
@@ -2632,7 +2632,7 @@ var Si = function(e) {
|
|
|
2632
2632
|
};
|
|
2633
2633
|
}, Oi = function(e, t, n) {
|
|
2634
2634
|
n === void 0 && (n = "data-aria-hidden");
|
|
2635
|
-
var a = Array.from(Array.isArray(e) ? e : [e]), r =
|
|
2635
|
+
var a = Array.from(Array.isArray(e) ? e : [e]), r = Ai(e);
|
|
2636
2636
|
return r ? (a.push.apply(a, Array.from(r.querySelectorAll("[aria-live]"))), Mi(a, r, n, "aria-hidden")) : function() {
|
|
2637
2637
|
return null;
|
|
2638
2638
|
};
|
|
@@ -2641,20 +2641,20 @@ function Ei(e) {
|
|
|
2641
2641
|
let t;
|
|
2642
2642
|
Z(() => ot(e), (n) => {
|
|
2643
2643
|
n ? t = Oi(n) : t && t();
|
|
2644
|
-
}),
|
|
2644
|
+
}), Sa(() => {
|
|
2645
2645
|
t && t();
|
|
2646
2646
|
});
|
|
2647
2647
|
}
|
|
2648
2648
|
let Pi = 0;
|
|
2649
2649
|
function Bi(e, t = "radix") {
|
|
2650
|
-
const n =
|
|
2650
|
+
const n = Rn({ useId: void 0 });
|
|
2651
2651
|
return Ln ? `${t}-${Ln()}` : n.useId ? `${t}-${n.useId()}` : `${t}-${++Pi}`;
|
|
2652
2652
|
}
|
|
2653
|
-
function
|
|
2654
|
-
const t =
|
|
2653
|
+
function Ii(e) {
|
|
2654
|
+
const t = I(), n = S(() => {
|
|
2655
2655
|
var r;
|
|
2656
2656
|
return ((r = t.value) == null ? void 0 : r.width) ?? 0;
|
|
2657
|
-
}), a =
|
|
2657
|
+
}), a = S(() => {
|
|
2658
2658
|
var r;
|
|
2659
2659
|
return ((r = t.value) == null ? void 0 : r.height) ?? 0;
|
|
2660
2660
|
});
|
|
@@ -2682,8 +2682,8 @@ function Fi(e) {
|
|
|
2682
2682
|
height: a
|
|
2683
2683
|
};
|
|
2684
2684
|
}
|
|
2685
|
-
function
|
|
2686
|
-
const n =
|
|
2685
|
+
function Fi(e, t) {
|
|
2686
|
+
const n = I(e);
|
|
2687
2687
|
function a(r) {
|
|
2688
2688
|
return t[n.value][r] ?? n.value;
|
|
2689
2689
|
}
|
|
@@ -2694,7 +2694,7 @@ function Ii(e, t) {
|
|
|
2694
2694
|
}
|
|
2695
2695
|
};
|
|
2696
2696
|
}
|
|
2697
|
-
function
|
|
2697
|
+
function Ti() {
|
|
2698
2698
|
return {
|
|
2699
2699
|
ALT: "Alt",
|
|
2700
2700
|
ARROW_DOWN: "ArrowDown",
|
|
@@ -2732,7 +2732,7 @@ function Ri() {
|
|
|
2732
2732
|
SPACE_CODE: "Space"
|
|
2733
2733
|
};
|
|
2734
2734
|
}
|
|
2735
|
-
const
|
|
2735
|
+
const Ri = P({
|
|
2736
2736
|
name: "PrimitiveSlot",
|
|
2737
2737
|
inheritAttrs: !1,
|
|
2738
2738
|
setup(e, { attrs: t, slots: n }) {
|
|
@@ -2740,7 +2740,7 @@ const Ti = P({
|
|
|
2740
2740
|
var a, r;
|
|
2741
2741
|
if (!n.default)
|
|
2742
2742
|
return null;
|
|
2743
|
-
const o =
|
|
2743
|
+
const o = Tn(n.default()), l = o.findIndex((c) => c.type !== to);
|
|
2744
2744
|
if (l === -1)
|
|
2745
2745
|
return o;
|
|
2746
2746
|
const i = o[l];
|
|
@@ -2768,11 +2768,11 @@ const Ti = P({
|
|
|
2768
2768
|
},
|
|
2769
2769
|
setup(e, { attrs: t, slots: n }) {
|
|
2770
2770
|
const a = e.asChild ? "template" : e.as;
|
|
2771
|
-
return typeof a == "string" && ["area", "img", "input"].includes(a) ? () => _t(a, t) : a !== "template" ? () => _t(e.as, t, { default: n.default }) : () => _t(
|
|
2771
|
+
return typeof a == "string" && ["area", "img", "input"].includes(a) ? () => _t(a, t) : a !== "template" ? () => _t(e.as, t, { default: n.default }) : () => _t(Ri, t, { default: n.default });
|
|
2772
2772
|
}
|
|
2773
2773
|
});
|
|
2774
2774
|
function wr() {
|
|
2775
|
-
const e =
|
|
2775
|
+
const e = I(), t = S(() => {
|
|
2776
2776
|
var n, a;
|
|
2777
2777
|
return ["#text", "#comment"].includes((n = e.value) == null ? void 0 : n.$el.nodeName) ? (a = e.value) == null ? void 0 : a.$el.nextElementSibling : ot(e);
|
|
2778
2778
|
});
|
|
@@ -2783,9 +2783,9 @@ function wr() {
|
|
|
2783
2783
|
}
|
|
2784
2784
|
function Vi(e, t) {
|
|
2785
2785
|
var n;
|
|
2786
|
-
const a =
|
|
2786
|
+
const a = I({}), r = I("none"), o = I(e), l = e.value ? "mounted" : "unmounted";
|
|
2787
2787
|
let i;
|
|
2788
|
-
const s = ((n = t.value) == null ? void 0 : n.ownerDocument.defaultView) ??
|
|
2788
|
+
const s = ((n = t.value) == null ? void 0 : n.ownerDocument.defaultView) ?? Fn, { state: d, dispatch: c } = Fi(l, {
|
|
2789
2789
|
mounted: {
|
|
2790
2790
|
UNMOUNT: "unmounted",
|
|
2791
2791
|
ANIMATION_OUT: "unmountSuspended"
|
|
@@ -2800,27 +2800,27 @@ function Vi(e, t) {
|
|
|
2800
2800
|
}), u = (p) => {
|
|
2801
2801
|
var b;
|
|
2802
2802
|
if (Oe) {
|
|
2803
|
-
const
|
|
2804
|
-
(b = t.value) == null || b.dispatchEvent(
|
|
2803
|
+
const _ = new CustomEvent(p, { bubbles: !1, cancelable: !1 });
|
|
2804
|
+
(b = t.value) == null || b.dispatchEvent(_);
|
|
2805
2805
|
}
|
|
2806
2806
|
};
|
|
2807
2807
|
Z(
|
|
2808
2808
|
e,
|
|
2809
2809
|
async (p, b) => {
|
|
2810
|
-
var
|
|
2810
|
+
var _;
|
|
2811
2811
|
const $ = b !== p;
|
|
2812
|
-
if (await
|
|
2812
|
+
if (await Se(), $) {
|
|
2813
2813
|
const E = r.value, B = xt(t.value);
|
|
2814
|
-
p ? (c("MOUNT"), u("enter"), B === "none" && u("after-enter")) : B === "none" || ((
|
|
2814
|
+
p ? (c("MOUNT"), u("enter"), B === "none" && u("after-enter")) : B === "none" || ((_ = a.value) == null ? void 0 : _.display) === "none" ? (c("UNMOUNT"), u("leave"), u("after-leave")) : b && E !== B ? (c("ANIMATION_OUT"), u("leave")) : (c("UNMOUNT"), u("after-leave"));
|
|
2815
2815
|
}
|
|
2816
2816
|
},
|
|
2817
2817
|
{ immediate: !0 }
|
|
2818
2818
|
);
|
|
2819
2819
|
const y = (p) => {
|
|
2820
|
-
const b = xt(t.value),
|
|
2820
|
+
const b = xt(t.value), _ = b.includes(
|
|
2821
2821
|
p.animationName
|
|
2822
2822
|
), $ = d.value === "mounted" ? "enter" : "leave";
|
|
2823
|
-
if (p.target === t.value &&
|
|
2823
|
+
if (p.target === t.value && _ && (u(`after-${$}`), c("ANIMATION_END"), !o.value)) {
|
|
2824
2824
|
const E = t.value.style.animationFillMode;
|
|
2825
2825
|
t.value.style.animationFillMode = "forwards", i = s == null ? void 0 : s.setTimeout(() => {
|
|
2826
2826
|
var B;
|
|
@@ -2840,10 +2840,10 @@ function Vi(e, t) {
|
|
|
2840
2840
|
const p = xt(t.value);
|
|
2841
2841
|
r.value = d.value === "mounted" ? p : "none";
|
|
2842
2842
|
});
|
|
2843
|
-
return
|
|
2843
|
+
return Sa(() => {
|
|
2844
2844
|
g(), m();
|
|
2845
2845
|
}), {
|
|
2846
|
-
isPresent:
|
|
2846
|
+
isPresent: S(
|
|
2847
2847
|
() => ["mounted", "unmountSuspended"].includes(d.value)
|
|
2848
2848
|
)
|
|
2849
2849
|
};
|
|
@@ -2865,10 +2865,10 @@ const Ni = P({
|
|
|
2865
2865
|
slots: {},
|
|
2866
2866
|
setup(e, { slots: t, expose: n }) {
|
|
2867
2867
|
var a;
|
|
2868
|
-
const { present: r, forceMount: o } =
|
|
2868
|
+
const { present: r, forceMount: o } = Rt(e), l = I(), { isPresent: i } = Vi(r, l);
|
|
2869
2869
|
n({ present: i });
|
|
2870
2870
|
let s = t.default({ present: i });
|
|
2871
|
-
s =
|
|
2871
|
+
s = Tn(s || []);
|
|
2872
2872
|
const d = Ne();
|
|
2873
2873
|
if (s && (s == null ? void 0 : s.length) > 1) {
|
|
2874
2874
|
const c = (a = d == null ? void 0 : d.parent) != null && a.type.name ? `<${d.parent.type.name} />` : "component";
|
|
@@ -2909,7 +2909,7 @@ const Ni = P({
|
|
|
2909
2909
|
disabled: n.disabled
|
|
2910
2910
|
}, [
|
|
2911
2911
|
O(n.$slots, "default")
|
|
2912
|
-
], 8, ["to", "disabled"])) :
|
|
2912
|
+
], 8, ["to", "disabled"])) : F("", !0);
|
|
2913
2913
|
}
|
|
2914
2914
|
}), Ui = "dismissableLayer.pointerDownOutside", Wi = "dismissableLayer.focusOutside";
|
|
2915
2915
|
function $r(e, t) {
|
|
@@ -2924,7 +2924,7 @@ function $r(e, t) {
|
|
|
2924
2924
|
}
|
|
2925
2925
|
function Yi(e, t) {
|
|
2926
2926
|
var n;
|
|
2927
|
-
const a = ((n = t == null ? void 0 : t.value) == null ? void 0 : n.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), r =
|
|
2927
|
+
const a = ((n = t == null ? void 0 : t.value) == null ? void 0 : n.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), r = I(!1), o = I(() => {
|
|
2928
2928
|
});
|
|
2929
2929
|
return me((l) => {
|
|
2930
2930
|
if (!Oe)
|
|
@@ -2964,12 +2964,12 @@ function Yi(e, t) {
|
|
|
2964
2964
|
}
|
|
2965
2965
|
function Hi(e, t) {
|
|
2966
2966
|
var n;
|
|
2967
|
-
const a = ((n = t == null ? void 0 : t.value) == null ? void 0 : n.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), r =
|
|
2967
|
+
const a = ((n = t == null ? void 0 : t.value) == null ? void 0 : n.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), r = I(!1);
|
|
2968
2968
|
return me((o) => {
|
|
2969
2969
|
if (!Oe)
|
|
2970
2970
|
return;
|
|
2971
2971
|
const l = async (i) => {
|
|
2972
|
-
t != null && t.value && (await
|
|
2972
|
+
t != null && t.value && (await Se(), !(!t.value || $r(t.value, i.target)) && i.target && !r.value && fr(
|
|
2973
2973
|
Wi,
|
|
2974
2974
|
e,
|
|
2975
2975
|
{ originalEvent: i }
|
|
@@ -2994,19 +2994,19 @@ const ge = Oa({
|
|
|
2994
2994
|
},
|
|
2995
2995
|
emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "dismiss"],
|
|
2996
2996
|
setup(e, { emit: t }) {
|
|
2997
|
-
const n = e, a = t, { forwardRef: r, currentElement: o } = se(), l =
|
|
2997
|
+
const n = e, a = t, { forwardRef: r, currentElement: o } = se(), l = S(
|
|
2998
2998
|
() => {
|
|
2999
2999
|
var g;
|
|
3000
3000
|
return ((g = o.value) == null ? void 0 : g.ownerDocument) ?? globalThis.document;
|
|
3001
3001
|
}
|
|
3002
|
-
), i =
|
|
3002
|
+
), i = S(() => ge.layersRoot), s = S(() => o.value ? Array.from(i.value).indexOf(o.value) : -1), d = S(() => ge.layersWithOutsidePointerEventsDisabled.size > 0), c = S(() => {
|
|
3003
3003
|
const g = Array.from(i.value), [m] = [...ge.layersWithOutsidePointerEventsDisabled].slice(-1), p = g.indexOf(m);
|
|
3004
3004
|
return s.value >= p;
|
|
3005
3005
|
}), u = Yi(async (g) => {
|
|
3006
3006
|
const m = [...ge.branches].some(
|
|
3007
3007
|
(p) => p == null ? void 0 : p.contains(g.target)
|
|
3008
3008
|
);
|
|
3009
|
-
!c.value || m || (a("pointerDownOutside", g), a("interactOutside", g), await
|
|
3009
|
+
!c.value || m || (a("pointerDownOutside", g), a("interactOutside", g), await Se(), g.defaultPrevented || a("dismiss"));
|
|
3010
3010
|
}, o), y = Hi((g) => {
|
|
3011
3011
|
[...ge.branches].some(
|
|
3012
3012
|
(m) => m == null ? void 0 : m.contains(g.target)
|
|
@@ -3089,7 +3089,7 @@ function xe(e, { select: t = !1 } = {}) {
|
|
|
3089
3089
|
e.focus({ preventScroll: !0 }), e !== n && Ki(e) && t && e.select();
|
|
3090
3090
|
}
|
|
3091
3091
|
}
|
|
3092
|
-
const Gi = ri(() =>
|
|
3092
|
+
const Gi = ri(() => I([]));
|
|
3093
3093
|
function Qi() {
|
|
3094
3094
|
const e = Gi();
|
|
3095
3095
|
return {
|
|
@@ -3120,7 +3120,7 @@ const Xi = /* @__PURE__ */ P({
|
|
|
3120
3120
|
},
|
|
3121
3121
|
emits: ["mountAutoFocus", "unmountAutoFocus"],
|
|
3122
3122
|
setup(e, { emit: t }) {
|
|
3123
|
-
const n = e, a = t, { currentRef: r, currentElement: o } = se(), l =
|
|
3123
|
+
const n = e, a = t, { currentRef: r, currentElement: o } = se(), l = I(null), i = Qi(), s = Oa({
|
|
3124
3124
|
paused: !1,
|
|
3125
3125
|
pause() {
|
|
3126
3126
|
this.paused = !0;
|
|
@@ -3157,7 +3157,7 @@ const Xi = /* @__PURE__ */ P({
|
|
|
3157
3157
|
});
|
|
3158
3158
|
}), me(async (c) => {
|
|
3159
3159
|
const u = o.value;
|
|
3160
|
-
if (await
|
|
3160
|
+
if (await Se(), !u)
|
|
3161
3161
|
return;
|
|
3162
3162
|
i.add(s);
|
|
3163
3163
|
const y = document.activeElement;
|
|
@@ -3203,9 +3203,9 @@ const Xi = /* @__PURE__ */ P({
|
|
|
3203
3203
|
});
|
|
3204
3204
|
function es(e) {
|
|
3205
3205
|
function t(a) {
|
|
3206
|
-
return Array.isArray(e.date.value) ? e.date.value.some((r) =>
|
|
3206
|
+
return Array.isArray(e.date.value) ? e.date.value.some((r) => Fe(r, a)) : e.date.value ? Fe(e.date.value, a) : !1;
|
|
3207
3207
|
}
|
|
3208
|
-
const n =
|
|
3208
|
+
const n = S(
|
|
3209
3209
|
() => {
|
|
3210
3210
|
var a, r, o, l;
|
|
3211
3211
|
if (Array.isArray(e.date.value)) {
|
|
@@ -3243,18 +3243,18 @@ function rs(e, t) {
|
|
|
3243
3243
|
return t(e);
|
|
3244
3244
|
}
|
|
3245
3245
|
function os(e) {
|
|
3246
|
-
const t = xi(e.locale.value), n =
|
|
3246
|
+
const t = xi(e.locale.value), n = S(() => {
|
|
3247
3247
|
const m = {
|
|
3248
3248
|
calendar: e.placeholder.value.calendar.identifier
|
|
3249
3249
|
};
|
|
3250
3250
|
return e.placeholder.value.calendar.identifier === "gregory" && e.placeholder.value.era === "BC" && (m.era = "short"), m;
|
|
3251
|
-
}), a =
|
|
3251
|
+
}), a = I(Ee({
|
|
3252
3252
|
dateObj: e.placeholder.value,
|
|
3253
3253
|
weekStartsOn: e.weekStartsOn.value,
|
|
3254
3254
|
locale: e.locale.value,
|
|
3255
3255
|
fixedWeeks: e.fixedWeeks.value,
|
|
3256
3256
|
numberOfMonths: e.numberOfMonths.value
|
|
3257
|
-
})), r =
|
|
3257
|
+
})), r = S(() => a.value.map((m) => m.value));
|
|
3258
3258
|
function o(m) {
|
|
3259
3259
|
return !r.value.some((p) => Wn(m, p));
|
|
3260
3260
|
}
|
|
@@ -3272,8 +3272,8 @@ function os(e) {
|
|
|
3272
3272
|
const $ = b.add({ years: 1 }).set({ day: 1, month: 1 });
|
|
3273
3273
|
return $t($, e.maxValue.value);
|
|
3274
3274
|
}
|
|
3275
|
-
const
|
|
3276
|
-
return $t(
|
|
3275
|
+
const _ = b.add({ months: 1 }).set({ day: 1 });
|
|
3276
|
+
return $t(_, e.maxValue.value);
|
|
3277
3277
|
}, i = (m = "month", p) => {
|
|
3278
3278
|
if (!e.minValue.value || !a.value.length)
|
|
3279
3279
|
return !1;
|
|
@@ -3288,8 +3288,8 @@ function os(e) {
|
|
|
3288
3288
|
const $ = b.subtract({ years: 1 }).set({ day: 35, month: 13 });
|
|
3289
3289
|
return wt($, e.minValue.value);
|
|
3290
3290
|
}
|
|
3291
|
-
const
|
|
3292
|
-
return wt(
|
|
3291
|
+
const _ = b.subtract({ months: 1 }).set({ day: 35 });
|
|
3292
|
+
return wt(_, e.minValue.value);
|
|
3293
3293
|
};
|
|
3294
3294
|
function s(m) {
|
|
3295
3295
|
var p;
|
|
@@ -3298,7 +3298,7 @@ function os(e) {
|
|
|
3298
3298
|
const d = (m) => {
|
|
3299
3299
|
var p;
|
|
3300
3300
|
return !!((p = e.isDateUnavailable) != null && p.call(e, m));
|
|
3301
|
-
}, c =
|
|
3301
|
+
}, c = S(() => a.value.length ? a.value[0].rows[0].map((m) => t.dayOfWeek(ce(m), e.weekdayFormat.value)) : []), u = (m = "month", p) => {
|
|
3302
3302
|
const b = a.value[0].value;
|
|
3303
3303
|
if (p || e.nextPage.value) {
|
|
3304
3304
|
const E = as(b, p || e.nextPage.value), B = Ee({
|
|
@@ -3311,14 +3311,14 @@ function os(e) {
|
|
|
3311
3311
|
a.value = B;
|
|
3312
3312
|
const k = {};
|
|
3313
3313
|
if (!p) {
|
|
3314
|
-
const
|
|
3315
|
-
|
|
3314
|
+
const R = B[0].value.compare(b);
|
|
3315
|
+
R >= ft(b) && (k.day = 1), R >= 365 && (k.month = 1);
|
|
3316
3316
|
}
|
|
3317
3317
|
e.placeholder.value = B[0].value.set({ ...k });
|
|
3318
3318
|
return;
|
|
3319
3319
|
}
|
|
3320
|
-
const
|
|
3321
|
-
dateObj:
|
|
3320
|
+
const _ = m === "month" ? b.add({ months: e.pagedNavigation.value ? e.numberOfMonths.value : 1 }) : b.add({ years: 1 }), $ = Ee({
|
|
3321
|
+
dateObj: _,
|
|
3322
3322
|
weekStartsOn: e.weekStartsOn.value,
|
|
3323
3323
|
locale: e.locale.value,
|
|
3324
3324
|
fixedWeeks: e.fixedWeeks.value,
|
|
@@ -3338,14 +3338,14 @@ function os(e) {
|
|
|
3338
3338
|
a.value = B;
|
|
3339
3339
|
const k = {};
|
|
3340
3340
|
if (!p) {
|
|
3341
|
-
const
|
|
3342
|
-
|
|
3341
|
+
const R = b.compare(B[0].value);
|
|
3342
|
+
R >= ft(b) && (k.day = 1), R >= 365 && (k.month = 1);
|
|
3343
3343
|
}
|
|
3344
3344
|
e.placeholder.value = B[0].value.set({ ...k });
|
|
3345
3345
|
return;
|
|
3346
3346
|
}
|
|
3347
|
-
const
|
|
3348
|
-
dateObj:
|
|
3347
|
+
const _ = m === "month" ? b.subtract({ months: e.pagedNavigation.value ? e.numberOfMonths.value : 1 }) : b.subtract({ years: 1 }), $ = Ee({
|
|
3348
|
+
dateObj: _,
|
|
3349
3349
|
weekStartsOn: e.weekStartsOn.value,
|
|
3350
3350
|
locale: e.locale.value,
|
|
3351
3351
|
fixedWeeks: e.fixedWeeks.value,
|
|
@@ -3370,16 +3370,16 @@ function os(e) {
|
|
|
3370
3370
|
numberOfMonths: e.numberOfMonths.value
|
|
3371
3371
|
});
|
|
3372
3372
|
});
|
|
3373
|
-
const v =
|
|
3373
|
+
const v = S(() => {
|
|
3374
3374
|
if (!a.value.length)
|
|
3375
3375
|
return "";
|
|
3376
3376
|
if (e.locale.value !== t.getLocale() && t.setLocale(e.locale.value), a.value.length === 1) {
|
|
3377
3377
|
const B = a.value[0].value;
|
|
3378
3378
|
return `${t.fullMonthAndYear(ce(B), n.value)}`;
|
|
3379
3379
|
}
|
|
3380
|
-
const m = ce(a.value[0].value), p = ce(a.value[a.value.length - 1].value), b = t.fullMonth(m, n.value),
|
|
3381
|
-
return $ === E ? `${b} - ${
|
|
3382
|
-
}), g =
|
|
3380
|
+
const m = ce(a.value[0].value), p = ce(a.value[a.value.length - 1].value), b = t.fullMonth(m, n.value), _ = t.fullMonth(p, n.value), $ = t.fullYear(m, n.value), E = t.fullYear(p, n.value);
|
|
3381
|
+
return $ === E ? `${b} - ${_} ${E}` : `${b} ${$} - ${_} ${E}`;
|
|
3382
|
+
}), g = S(() => `${e.calendarLabel.value ?? "Event Date"}, ${v.value}`);
|
|
3383
3383
|
return {
|
|
3384
3384
|
isDateDisabled: s,
|
|
3385
3385
|
isDateUnavailable: d,
|
|
@@ -3445,18 +3445,18 @@ const ls = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
|
|
|
3445
3445
|
numberOfMonths: m,
|
|
3446
3446
|
preventDeselect: p,
|
|
3447
3447
|
isDateDisabled: b,
|
|
3448
|
-
isDateUnavailable:
|
|
3448
|
+
isDateUnavailable: _,
|
|
3449
3449
|
calendarLabel: $,
|
|
3450
3450
|
defaultValue: E,
|
|
3451
3451
|
nextPage: B,
|
|
3452
3452
|
prevPage: k,
|
|
3453
|
-
dir:
|
|
3454
|
-
} =
|
|
3453
|
+
dir: R
|
|
3454
|
+
} = Rt(n), { primitiveElement: J, currentElement: ee } = wr(), L = yr(R), U = Xe(n, "modelValue", a, {
|
|
3455
3455
|
defaultValue: E.value,
|
|
3456
3456
|
passive: n.modelValue === void 0
|
|
3457
3457
|
}), G = mr({
|
|
3458
3458
|
defaultPlaceholder: n.placeholder,
|
|
3459
|
-
defaultValue:
|
|
3459
|
+
defaultValue: U.value,
|
|
3460
3460
|
locale: n.locale
|
|
3461
3461
|
}), K = Xe(n, "placeholder", a, {
|
|
3462
3462
|
defaultValue: n.defaultPlaceholder ?? G.copy(),
|
|
@@ -3475,9 +3475,9 @@ const ls = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
|
|
|
3475
3475
|
weekdays: Er,
|
|
3476
3476
|
isOutsideVisibleView: Pr,
|
|
3477
3477
|
nextPage: Br,
|
|
3478
|
-
prevPage:
|
|
3479
|
-
formatter:
|
|
3480
|
-
grid:
|
|
3478
|
+
prevPage: Ir,
|
|
3479
|
+
formatter: Fr,
|
|
3480
|
+
grid: Tr
|
|
3481
3481
|
} = os({
|
|
3482
3482
|
locale: r,
|
|
3483
3483
|
placeholder: K,
|
|
@@ -3490,19 +3490,19 @@ const ls = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
|
|
|
3490
3490
|
weekdayFormat: c,
|
|
3491
3491
|
pagedNavigation: s,
|
|
3492
3492
|
isDateDisabled: b.value,
|
|
3493
|
-
isDateUnavailable:
|
|
3493
|
+
isDateUnavailable: _.value,
|
|
3494
3494
|
calendarLabel: $,
|
|
3495
3495
|
nextPage: B,
|
|
3496
3496
|
prevPage: k
|
|
3497
3497
|
}), {
|
|
3498
3498
|
isInvalid: Vn,
|
|
3499
|
-
isDateSelected:
|
|
3499
|
+
isDateSelected: Rr
|
|
3500
3500
|
} = es({
|
|
3501
|
-
date:
|
|
3501
|
+
date: U,
|
|
3502
3502
|
isDateDisabled: ne,
|
|
3503
3503
|
isDateUnavailable: it
|
|
3504
3504
|
});
|
|
3505
|
-
Z(
|
|
3505
|
+
Z(U, (V) => {
|
|
3506
3506
|
if (Array.isArray(V) && V.length) {
|
|
3507
3507
|
const ve = V[V.length - 1];
|
|
3508
3508
|
ve && !Ke(K.value, ve) && te(ve);
|
|
@@ -3510,37 +3510,37 @@ const ls = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
|
|
|
3510
3510
|
});
|
|
3511
3511
|
function Vr(V) {
|
|
3512
3512
|
if (y.value) {
|
|
3513
|
-
if (!
|
|
3514
|
-
|
|
3515
|
-
else if (Array.isArray(
|
|
3516
|
-
if (
|
|
3517
|
-
|
|
3513
|
+
if (!U.value)
|
|
3514
|
+
U.value = [V.copy()];
|
|
3515
|
+
else if (Array.isArray(U.value)) {
|
|
3516
|
+
if (U.value.findIndex((ve) => Fe(ve, V)) === -1)
|
|
3517
|
+
U.value = [...U.value, V];
|
|
3518
3518
|
else if (!p.value) {
|
|
3519
|
-
const ve =
|
|
3519
|
+
const ve = U.value.filter((zt) => !Fe(zt, V));
|
|
3520
3520
|
if (!ve.length) {
|
|
3521
|
-
K.value = V.copy(),
|
|
3521
|
+
K.value = V.copy(), U.value = void 0;
|
|
3522
3522
|
return;
|
|
3523
3523
|
}
|
|
3524
|
-
|
|
3524
|
+
U.value = ve.map((zt) => zt.copy());
|
|
3525
3525
|
}
|
|
3526
3526
|
}
|
|
3527
3527
|
} else {
|
|
3528
|
-
if (!
|
|
3529
|
-
|
|
3528
|
+
if (!U.value) {
|
|
3529
|
+
U.value = V.copy();
|
|
3530
3530
|
return;
|
|
3531
3531
|
}
|
|
3532
|
-
!p.value && Ke(
|
|
3532
|
+
!p.value && Ke(U.value, V) ? (K.value = V.copy(), U.value = void 0) : U.value = V.copy();
|
|
3533
3533
|
}
|
|
3534
3534
|
}
|
|
3535
3535
|
return Vt(() => {
|
|
3536
3536
|
i.value && ni(ee.value);
|
|
3537
3537
|
}), ss({
|
|
3538
3538
|
isDateUnavailable: it,
|
|
3539
|
-
dir:
|
|
3539
|
+
dir: L,
|
|
3540
3540
|
isDateDisabled: ne,
|
|
3541
3541
|
locale: r,
|
|
3542
|
-
formatter:
|
|
3543
|
-
modelValue:
|
|
3542
|
+
formatter: Fr,
|
|
3543
|
+
modelValue: U,
|
|
3544
3544
|
placeholder: K,
|
|
3545
3545
|
disabled: o,
|
|
3546
3546
|
initialFocus: i,
|
|
@@ -3555,12 +3555,12 @@ const ls = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
|
|
|
3555
3555
|
fullCalendarLabel: ue,
|
|
3556
3556
|
headingValue: Ce,
|
|
3557
3557
|
isInvalid: Vn,
|
|
3558
|
-
isDateSelected:
|
|
3558
|
+
isDateSelected: Rr,
|
|
3559
3559
|
isNextButtonDisabled: jt,
|
|
3560
3560
|
isPrevButtonDisabled: Or,
|
|
3561
3561
|
isOutsideVisibleView: Pr,
|
|
3562
3562
|
nextPage: Br,
|
|
3563
|
-
prevPage:
|
|
3563
|
+
prevPage: Ir,
|
|
3564
3564
|
parentElement: ee,
|
|
3565
3565
|
onPlaceholderChange: te,
|
|
3566
3566
|
onDateChange: Vr
|
|
@@ -3574,19 +3574,19 @@ const ls = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
|
|
|
3574
3574
|
"data-readonly": f(l) ? "" : void 0,
|
|
3575
3575
|
"data-disabled": f(o) ? "" : void 0,
|
|
3576
3576
|
"data-invalid": f(Vn) ? "" : void 0,
|
|
3577
|
-
dir: f(
|
|
3577
|
+
dir: f(L)
|
|
3578
3578
|
}, {
|
|
3579
3579
|
default: w(() => [
|
|
3580
3580
|
O(V.$slots, "default", {
|
|
3581
3581
|
date: f(K),
|
|
3582
|
-
grid: f(
|
|
3582
|
+
grid: f(Tr),
|
|
3583
3583
|
weekDays: f(Er),
|
|
3584
3584
|
weekStartsOn: f(d),
|
|
3585
3585
|
locale: f(r),
|
|
3586
3586
|
fixedWeeks: f(u)
|
|
3587
3587
|
}),
|
|
3588
|
-
|
|
3589
|
-
|
|
3588
|
+
x("div", ls, [
|
|
3589
|
+
x("div", is, C(f(ue)), 1)
|
|
3590
3590
|
])
|
|
3591
3591
|
]),
|
|
3592
3592
|
_: 3
|
|
@@ -3622,7 +3622,7 @@ const ls = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
|
|
|
3622
3622
|
O(a.$slots, "default", {
|
|
3623
3623
|
headingValue: f(n).headingValue.value
|
|
3624
3624
|
}, () => [
|
|
3625
|
-
|
|
3625
|
+
N(C(f(n).headingValue.value), 1)
|
|
3626
3626
|
])
|
|
3627
3627
|
]),
|
|
3628
3628
|
_: 3
|
|
@@ -3635,7 +3635,7 @@ const ls = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
|
|
|
3635
3635
|
as: { default: "table" }
|
|
3636
3636
|
},
|
|
3637
3637
|
setup(e) {
|
|
3638
|
-
const t = e, n = lt(), a =
|
|
3638
|
+
const t = e, n = lt(), a = S(() => n.disabled.value ? !0 : void 0), r = S(() => n.readonly.value ? !0 : void 0);
|
|
3639
3639
|
return (o, l) => (h(), D(f(H), q(t, {
|
|
3640
3640
|
tabindex: "-1",
|
|
3641
3641
|
role: "grid",
|
|
@@ -3700,7 +3700,7 @@ const ls = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
|
|
|
3700
3700
|
as: { default: "button" }
|
|
3701
3701
|
},
|
|
3702
3702
|
setup(e) {
|
|
3703
|
-
const t = e, n =
|
|
3703
|
+
const t = e, n = S(() => a.disabled.value || a.isNextButtonDisabled(t.step, t.nextPage)), a = lt();
|
|
3704
3704
|
return (r, o) => (h(), D(f(H), {
|
|
3705
3705
|
as: t.as,
|
|
3706
3706
|
"as-child": t.asChild,
|
|
@@ -3713,7 +3713,7 @@ const ls = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
|
|
|
3713
3713
|
}, {
|
|
3714
3714
|
default: w(() => [
|
|
3715
3715
|
O(r.$slots, "default", {}, () => [
|
|
3716
|
-
|
|
3716
|
+
N("Next page")
|
|
3717
3717
|
])
|
|
3718
3718
|
]),
|
|
3719
3719
|
_: 3
|
|
@@ -3728,7 +3728,7 @@ const ls = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
|
|
|
3728
3728
|
as: { default: "button" }
|
|
3729
3729
|
},
|
|
3730
3730
|
setup(e) {
|
|
3731
|
-
const t = e, n =
|
|
3731
|
+
const t = e, n = S(() => a.disabled.value || a.isPrevButtonDisabled(t.step, t.prevPage)), a = lt();
|
|
3732
3732
|
return (r, o) => (h(), D(f(H), {
|
|
3733
3733
|
"aria-label": "Previous page",
|
|
3734
3734
|
as: t.as,
|
|
@@ -3741,7 +3741,7 @@ const ls = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
|
|
|
3741
3741
|
}, {
|
|
3742
3742
|
default: w(() => [
|
|
3743
3743
|
O(r.$slots, "default", {}, () => [
|
|
3744
|
-
|
|
3744
|
+
N("Prev page")
|
|
3745
3745
|
])
|
|
3746
3746
|
]),
|
|
3747
3747
|
_: 3
|
|
@@ -3801,19 +3801,19 @@ const ls = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
|
|
|
3801
3801
|
as: { default: "div" }
|
|
3802
3802
|
},
|
|
3803
3803
|
setup(e) {
|
|
3804
|
-
const t = e, n =
|
|
3804
|
+
const t = e, n = Ti(), a = lt(), { primitiveElement: r, currentElement: o } = wr(), l = S(() => t.day.day.toLocaleString(a.locale.value)), i = S(() => a.formatter.custom(ce(t.day), {
|
|
3805
3805
|
weekday: "long",
|
|
3806
3806
|
month: "long",
|
|
3807
3807
|
day: "numeric",
|
|
3808
3808
|
year: "numeric"
|
|
3809
|
-
})), s =
|
|
3809
|
+
})), s = S(() => a.isDateDisabled(t.day)), d = S(
|
|
3810
3810
|
() => {
|
|
3811
3811
|
var $;
|
|
3812
3812
|
return ($ = a.isDateUnavailable) == null ? void 0 : $.call(a, t.day);
|
|
3813
3813
|
}
|
|
3814
|
-
), c =
|
|
3814
|
+
), c = S(() => Ao(t.day, De())), u = S(() => !ko(t.day, t.month)), y = S(
|
|
3815
3815
|
() => a.isOutsideVisibleView(t.day)
|
|
3816
|
-
), v =
|
|
3816
|
+
), v = S(() => !a.disabled.value && Fe(t.day, a.placeholder.value)), g = S(() => a.isDateSelected(t.day)), m = "[data-radix-vue-calendar-cell-trigger]:not([data-disabled]):not([data-outside-month]):not([data-outside-visible-months])";
|
|
3817
3817
|
function p($) {
|
|
3818
3818
|
var E;
|
|
3819
3819
|
a.readonly.value || a.isDateDisabled($) || (E = a.isDateUnavailable) != null && E.call(a, $) || a.onDateChange($);
|
|
@@ -3821,11 +3821,11 @@ const ls = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
|
|
|
3821
3821
|
function b() {
|
|
3822
3822
|
p(t.day);
|
|
3823
3823
|
}
|
|
3824
|
-
function
|
|
3824
|
+
function _($) {
|
|
3825
3825
|
$.preventDefault(), $.stopPropagation();
|
|
3826
3826
|
const E = a.parentElement.value, B = E ? Array.from(E.querySelectorAll(m)) : [];
|
|
3827
3827
|
let k = B.indexOf(o.value);
|
|
3828
|
-
const
|
|
3828
|
+
const R = 7, J = a.dir.value === "rtl" ? -1 : 1;
|
|
3829
3829
|
switch ($.code) {
|
|
3830
3830
|
case n.ARROW_RIGHT:
|
|
3831
3831
|
k += J;
|
|
@@ -3834,10 +3834,10 @@ const ls = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
|
|
|
3834
3834
|
k -= J;
|
|
3835
3835
|
break;
|
|
3836
3836
|
case n.ARROW_UP:
|
|
3837
|
-
k -=
|
|
3837
|
+
k -= R;
|
|
3838
3838
|
break;
|
|
3839
3839
|
case n.ARROW_DOWN:
|
|
3840
|
-
k +=
|
|
3840
|
+
k += R;
|
|
3841
3841
|
break;
|
|
3842
3842
|
case n.ENTER:
|
|
3843
3843
|
case n.SPACE_CODE:
|
|
@@ -3853,7 +3853,7 @@ const ls = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
|
|
|
3853
3853
|
if (k < 0) {
|
|
3854
3854
|
if (a.isPrevButtonDisabled("month"))
|
|
3855
3855
|
return;
|
|
3856
|
-
a.prevPage(),
|
|
3856
|
+
a.prevPage(), Se(() => {
|
|
3857
3857
|
const ee = E ? Array.from(E.querySelectorAll(m)) : [];
|
|
3858
3858
|
ee[ee.length - Math.abs(k)].focus();
|
|
3859
3859
|
});
|
|
@@ -3862,7 +3862,7 @@ const ls = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
|
|
|
3862
3862
|
if (k >= B.length) {
|
|
3863
3863
|
if (a.isNextButtonDisabled("month"))
|
|
3864
3864
|
return;
|
|
3865
|
-
a.nextPage(),
|
|
3865
|
+
a.nextPage(), Se(() => {
|
|
3866
3866
|
(E ? Array.from(E.querySelectorAll(m)) : [])[k - B.length].focus();
|
|
3867
3867
|
});
|
|
3868
3868
|
}
|
|
@@ -3886,14 +3886,14 @@ const ls = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
|
|
|
3886
3886
|
tabindex: v.value ? 0 : u.value || s.value ? void 0 : -1,
|
|
3887
3887
|
onClick: b,
|
|
3888
3888
|
onKeydown: [
|
|
3889
|
-
Nn(
|
|
3889
|
+
Nn(_, ["up", "down", "left", "right", "space", "enter"]),
|
|
3890
3890
|
E[0] || (E[0] = Nn(re(() => {
|
|
3891
3891
|
}, ["prevent"]), ["enter"]))
|
|
3892
3892
|
]
|
|
3893
3893
|
}), {
|
|
3894
3894
|
default: w(() => [
|
|
3895
3895
|
O($.$slots, "default", { dayValue: l.value }, () => [
|
|
3896
|
-
|
|
3896
|
+
N(C(l.value), 1)
|
|
3897
3897
|
])
|
|
3898
3898
|
]),
|
|
3899
3899
|
_: 3
|
|
@@ -3903,7 +3903,7 @@ const ls = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
|
|
|
3903
3903
|
inheritAttrs: !1,
|
|
3904
3904
|
__name: "PopperRoot",
|
|
3905
3905
|
setup(e) {
|
|
3906
|
-
const t =
|
|
3906
|
+
const t = I();
|
|
3907
3907
|
return $s({
|
|
3908
3908
|
anchor: t,
|
|
3909
3909
|
onAnchorChange: (n) => t.value = n
|
|
@@ -3964,7 +3964,7 @@ const ks = {
|
|
|
3964
3964
|
hideWhenDetached: !1,
|
|
3965
3965
|
updatePositionStrategy: "optimized",
|
|
3966
3966
|
prioritizePosition: !1
|
|
3967
|
-
}, [
|
|
3967
|
+
}, [As, Ss] = rt("PopperContent"), Ms = /* @__PURE__ */ P({
|
|
3968
3968
|
inheritAttrs: !1,
|
|
3969
3969
|
__name: "PopperContent",
|
|
3970
3970
|
props: /* @__PURE__ */ ro({
|
|
@@ -3987,9 +3987,9 @@ const ks = {
|
|
|
3987
3987
|
}),
|
|
3988
3988
|
emits: ["placed"],
|
|
3989
3989
|
setup(e, { emit: t }) {
|
|
3990
|
-
const n = e, a = t, r = Cr(), { forwardRef: o, currentElement: l } = se(), i =
|
|
3990
|
+
const n = e, a = t, r = Cr(), { forwardRef: o, currentElement: l } = se(), i = I(), s = I(), { width: d, height: c } = Ii(s), u = S(
|
|
3991
3991
|
() => n.side + (n.align !== "center" ? `-${n.align}` : "")
|
|
3992
|
-
), y =
|
|
3992
|
+
), y = S(() => typeof n.collisionPadding == "number" ? n.collisionPadding : { top: 0, right: 0, bottom: 0, left: 0, ...n.collisionPadding }), v = S(() => Array.isArray(n.collisionBoundary) ? n.collisionBoundary : [n.collisionBoundary]), g = S(() => ({
|
|
3993
3993
|
padding: y.value,
|
|
3994
3994
|
boundary: v.value.filter(xs),
|
|
3995
3995
|
// with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
|
|
@@ -4013,8 +4013,8 @@ const ks = {
|
|
|
4013
4013
|
}),
|
|
4014
4014
|
ql({
|
|
4015
4015
|
...g.value,
|
|
4016
|
-
apply: ({ elements:
|
|
4017
|
-
const { width: te, height: ue } =
|
|
4016
|
+
apply: ({ elements: L, rects: U, availableWidth: G, availableHeight: K }) => {
|
|
4017
|
+
const { width: te, height: ue } = U.reference, Ce = L.floating.style;
|
|
4018
4018
|
Ce.setProperty(
|
|
4019
4019
|
"--radix-popper-available-width",
|
|
4020
4020
|
`${G}px`
|
|
@@ -4036,59 +4036,59 @@ const ks = {
|
|
|
4036
4036
|
arrowHeight: c.value
|
|
4037
4037
|
}),
|
|
4038
4038
|
n.hideWhenDetached && Kl({ strategy: "referenceHidden", ...g.value })
|
|
4039
|
-
]), { floatingStyles: p, placement: b, isPositioned:
|
|
4039
|
+
]), { floatingStyles: p, placement: b, isPositioned: _, middlewareData: $ } = ti(
|
|
4040
4040
|
r.anchor,
|
|
4041
4041
|
i,
|
|
4042
4042
|
{
|
|
4043
4043
|
strategy: "fixed",
|
|
4044
4044
|
placement: u,
|
|
4045
|
-
whileElementsMounted: (...
|
|
4045
|
+
whileElementsMounted: (...L) => jl(...L, {
|
|
4046
4046
|
animationFrame: n.updatePositionStrategy === "always"
|
|
4047
4047
|
}),
|
|
4048
4048
|
middleware: m
|
|
4049
4049
|
}
|
|
4050
|
-
), E =
|
|
4050
|
+
), E = S(
|
|
4051
4051
|
() => gn(b.value)[0]
|
|
4052
|
-
), B =
|
|
4052
|
+
), B = S(
|
|
4053
4053
|
() => gn(b.value)[1]
|
|
4054
4054
|
);
|
|
4055
4055
|
oo(() => {
|
|
4056
|
-
|
|
4056
|
+
_.value && a("placed");
|
|
4057
4057
|
});
|
|
4058
|
-
const k =
|
|
4058
|
+
const k = S(
|
|
4059
4059
|
() => {
|
|
4060
|
-
var
|
|
4061
|
-
return ((
|
|
4060
|
+
var L;
|
|
4061
|
+
return ((L = $.value.arrow) == null ? void 0 : L.centerOffset) !== 0;
|
|
4062
4062
|
}
|
|
4063
|
-
),
|
|
4063
|
+
), R = I("");
|
|
4064
4064
|
me(() => {
|
|
4065
|
-
l.value && (
|
|
4065
|
+
l.value && (R.value = window.getComputedStyle(l.value).zIndex);
|
|
4066
4066
|
});
|
|
4067
|
-
const J =
|
|
4068
|
-
var
|
|
4069
|
-
return ((
|
|
4070
|
-
}), ee =
|
|
4071
|
-
var
|
|
4072
|
-
return ((
|
|
4067
|
+
const J = S(() => {
|
|
4068
|
+
var L;
|
|
4069
|
+
return ((L = $.value.arrow) == null ? void 0 : L.x) ?? 0;
|
|
4070
|
+
}), ee = S(() => {
|
|
4071
|
+
var L;
|
|
4072
|
+
return ((L = $.value.arrow) == null ? void 0 : L.y) ?? 0;
|
|
4073
4073
|
});
|
|
4074
|
-
return
|
|
4074
|
+
return Ss({
|
|
4075
4075
|
placedSide: E,
|
|
4076
|
-
onArrowChange: (
|
|
4076
|
+
onArrowChange: (L) => s.value = L,
|
|
4077
4077
|
arrowX: J,
|
|
4078
4078
|
arrowY: ee,
|
|
4079
4079
|
shouldHideArrow: k
|
|
4080
|
-
}), (
|
|
4080
|
+
}), (L, U) => {
|
|
4081
4081
|
var G, K, te;
|
|
4082
|
-
return h(),
|
|
4082
|
+
return h(), A("div", {
|
|
4083
4083
|
ref_key: "floatingRef",
|
|
4084
4084
|
ref: i,
|
|
4085
4085
|
"data-radix-popper-content-wrapper": "",
|
|
4086
4086
|
style: bn({
|
|
4087
4087
|
...f(p),
|
|
4088
|
-
transform: f(
|
|
4088
|
+
transform: f(_) ? f(p).transform : "translate(0, -200%)",
|
|
4089
4089
|
// keep off the page when measuring
|
|
4090
4090
|
minWidth: "max-content",
|
|
4091
|
-
zIndex:
|
|
4091
|
+
zIndex: R.value,
|
|
4092
4092
|
"--radix-popper-transform-origin": [
|
|
4093
4093
|
(G = f($).transformOrigin) == null ? void 0 : G.x,
|
|
4094
4094
|
(K = f($).transformOrigin) == null ? void 0 : K.y
|
|
@@ -4102,26 +4102,26 @@ const ks = {
|
|
|
4102
4102
|
}
|
|
4103
4103
|
})
|
|
4104
4104
|
}, [
|
|
4105
|
-
M(f(H), q({ ref: f(o) },
|
|
4105
|
+
M(f(H), q({ ref: f(o) }, L.$attrs, {
|
|
4106
4106
|
"as-child": n.asChild,
|
|
4107
|
-
as:
|
|
4107
|
+
as: L.as,
|
|
4108
4108
|
"data-side": E.value,
|
|
4109
4109
|
"data-align": B.value,
|
|
4110
4110
|
style: {
|
|
4111
4111
|
// if the PopperContent hasn't been placed yet (not all measurements done)
|
|
4112
4112
|
// we prevent animations so that users's animation don't kick in too early referring wrong sides
|
|
4113
|
-
animation: f(
|
|
4113
|
+
animation: f(_) ? void 0 : "none"
|
|
4114
4114
|
}
|
|
4115
4115
|
}), {
|
|
4116
4116
|
default: w(() => [
|
|
4117
|
-
O(
|
|
4117
|
+
O(L.$slots, "default")
|
|
4118
4118
|
]),
|
|
4119
4119
|
_: 3
|
|
4120
4120
|
}, 16, ["as-child", "as", "data-side", "data-align", "style"])
|
|
4121
4121
|
], 4);
|
|
4122
4122
|
};
|
|
4123
4123
|
}
|
|
4124
|
-
}), Os = /* @__PURE__ */
|
|
4124
|
+
}), Os = /* @__PURE__ */ x("polygon", { points: "0,0 30,0 15,10" }, null, -1), Es = /* @__PURE__ */ P({
|
|
4125
4125
|
__name: "Arrow",
|
|
4126
4126
|
props: {
|
|
4127
4127
|
width: { default: 10 },
|
|
@@ -4160,10 +4160,10 @@ const ks = {
|
|
|
4160
4160
|
as: { default: "svg" }
|
|
4161
4161
|
},
|
|
4162
4162
|
setup(e) {
|
|
4163
|
-
const { forwardRef: t } = se(), n =
|
|
4163
|
+
const { forwardRef: t } = se(), n = As(), a = S(() => Ps[n.placedSide.value]);
|
|
4164
4164
|
return (r, o) => {
|
|
4165
4165
|
var l, i, s, d;
|
|
4166
|
-
return h(),
|
|
4166
|
+
return h(), A("span", {
|
|
4167
4167
|
ref: (c) => {
|
|
4168
4168
|
f(n).onArrowChange(c);
|
|
4169
4169
|
},
|
|
@@ -4205,7 +4205,7 @@ const ks = {
|
|
|
4205
4205
|
], 4);
|
|
4206
4206
|
};
|
|
4207
4207
|
}
|
|
4208
|
-
}),
|
|
4208
|
+
}), Is = /* @__PURE__ */ P({
|
|
4209
4209
|
__name: "DatePickerHeader",
|
|
4210
4210
|
props: {
|
|
4211
4211
|
asChild: { type: Boolean },
|
|
@@ -4220,7 +4220,7 @@ const ks = {
|
|
|
4220
4220
|
_: 3
|
|
4221
4221
|
}, 16));
|
|
4222
4222
|
}
|
|
4223
|
-
}),
|
|
4223
|
+
}), Fs = /* @__PURE__ */ P({
|
|
4224
4224
|
__name: "DatePickerHeading",
|
|
4225
4225
|
props: {
|
|
4226
4226
|
asChild: { type: Boolean },
|
|
@@ -4231,13 +4231,13 @@ const ks = {
|
|
|
4231
4231
|
return (n, a) => (h(), D(f(cs), j(z(t)), {
|
|
4232
4232
|
default: w(({ headingValue: r }) => [
|
|
4233
4233
|
O(n.$slots, "default", { headingValue: r }, () => [
|
|
4234
|
-
|
|
4234
|
+
N(C(r), 1)
|
|
4235
4235
|
])
|
|
4236
4236
|
]),
|
|
4237
4237
|
_: 3
|
|
4238
4238
|
}, 16));
|
|
4239
4239
|
}
|
|
4240
|
-
}),
|
|
4240
|
+
}), Ts = /* @__PURE__ */ P({
|
|
4241
4241
|
__name: "DatePickerGrid",
|
|
4242
4242
|
props: {
|
|
4243
4243
|
asChild: { type: Boolean },
|
|
@@ -4252,7 +4252,7 @@ const ks = {
|
|
|
4252
4252
|
_: 3
|
|
4253
4253
|
}, 16));
|
|
4254
4254
|
}
|
|
4255
|
-
}),
|
|
4255
|
+
}), Rs = /* @__PURE__ */ P({
|
|
4256
4256
|
__name: "DatePickerCell",
|
|
4257
4257
|
props: {
|
|
4258
4258
|
date: {},
|
|
@@ -4430,19 +4430,19 @@ const ks = {
|
|
|
4430
4430
|
defaultOpen: m,
|
|
4431
4431
|
modal: p,
|
|
4432
4432
|
id: b,
|
|
4433
|
-
name:
|
|
4433
|
+
name: _,
|
|
4434
4434
|
required: $,
|
|
4435
4435
|
minValue: E,
|
|
4436
4436
|
maxValue: B,
|
|
4437
4437
|
granularity: k,
|
|
4438
|
-
hideTimeZone:
|
|
4438
|
+
hideTimeZone: R,
|
|
4439
4439
|
hourCycle: J,
|
|
4440
4440
|
defaultValue: ee,
|
|
4441
|
-
dir:
|
|
4442
|
-
} =
|
|
4441
|
+
dir: L
|
|
4442
|
+
} = Rt(n), U = yr(L), G = Xe(n, "modelValue", a, {
|
|
4443
4443
|
defaultValue: ee.value,
|
|
4444
4444
|
passive: n.modelValue === void 0
|
|
4445
|
-
}), K =
|
|
4445
|
+
}), K = S(() => mr({
|
|
4446
4446
|
defaultPlaceholder: n.placeholder,
|
|
4447
4447
|
granularity: n.granularity,
|
|
4448
4448
|
defaultValue: G.value,
|
|
@@ -4453,7 +4453,7 @@ const ks = {
|
|
|
4453
4453
|
}), ue = Xe(n, "open", a, {
|
|
4454
4454
|
defaultValue: m.value,
|
|
4455
4455
|
passive: n.open === void 0
|
|
4456
|
-
}), Ce =
|
|
4456
|
+
}), Ce = I();
|
|
4457
4457
|
return Hs({
|
|
4458
4458
|
isDateUnavailable: g.value,
|
|
4459
4459
|
isDateDisabled: v.value,
|
|
@@ -4472,17 +4472,17 @@ const ks = {
|
|
|
4472
4472
|
modal: p,
|
|
4473
4473
|
open: ue,
|
|
4474
4474
|
id: b,
|
|
4475
|
-
name:
|
|
4475
|
+
name: _,
|
|
4476
4476
|
required: $,
|
|
4477
4477
|
minValue: E,
|
|
4478
4478
|
maxValue: B,
|
|
4479
4479
|
granularity: k,
|
|
4480
|
-
hideTimeZone:
|
|
4480
|
+
hideTimeZone: R,
|
|
4481
4481
|
hourCycle: J,
|
|
4482
4482
|
dateFieldRef: Ce,
|
|
4483
|
-
dir:
|
|
4483
|
+
dir: U,
|
|
4484
4484
|
onDateChange(ne) {
|
|
4485
|
-
!ne || !G.value ? G.value = ne : !y.value &&
|
|
4485
|
+
!ne || !G.value ? G.value = ne : !y.value && Fe(G.value, ne) ? G.value = void 0 : G.value = ne.copy();
|
|
4486
4486
|
},
|
|
4487
4487
|
onPlaceholderChange(ne) {
|
|
4488
4488
|
Ke(ne, te.value) || (te.value = ne.copy());
|
|
@@ -4626,10 +4626,10 @@ const ks = {
|
|
|
4626
4626
|
},
|
|
4627
4627
|
emits: ["update:open"],
|
|
4628
4628
|
setup(e, { emit: t }) {
|
|
4629
|
-
const n = e, a = t, { modal: r } =
|
|
4629
|
+
const n = e, a = t, { modal: r } = Rt(n), o = Xe(n, "open", a, {
|
|
4630
4630
|
defaultValue: n.defaultOpen,
|
|
4631
4631
|
passive: n.open === void 0
|
|
4632
|
-
}), l =
|
|
4632
|
+
}), l = I(), i = I(!1);
|
|
4633
4633
|
return Gs({
|
|
4634
4634
|
contentId: "",
|
|
4635
4635
|
modal: r,
|
|
@@ -4785,7 +4785,7 @@ const ks = {
|
|
|
4785
4785
|
},
|
|
4786
4786
|
emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
|
|
4787
4787
|
setup(e, { emit: t }) {
|
|
4788
|
-
const n = e, a = t, r = vt(), o =
|
|
4788
|
+
const n = e, a = t, r = vt(), o = I(!1);
|
|
4789
4789
|
Di(!0);
|
|
4790
4790
|
const l = Ht(n, a), { forwardRef: i, currentElement: s } = se();
|
|
4791
4791
|
return Ei(s), (d, c) => (h(), D(_r, q(f(l), {
|
|
@@ -4835,7 +4835,7 @@ const ks = {
|
|
|
4835
4835
|
},
|
|
4836
4836
|
emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
|
|
4837
4837
|
setup(e, { emit: t }) {
|
|
4838
|
-
const n = e, a = t, r = vt(), o =
|
|
4838
|
+
const n = e, a = t, r = vt(), o = I(!1), l = I(!1), i = Ht(n, a);
|
|
4839
4839
|
return (s, d) => (h(), D(_r, q(f(i), {
|
|
4840
4840
|
"trap-focus": !1,
|
|
4841
4841
|
"disable-outside-pointer-events": !1,
|
|
@@ -4948,15 +4948,15 @@ const ou = { class: "flex flex-col gap-2" }, lu = { class: "flex flex-col space-
|
|
|
4948
4948
|
function i(c) {
|
|
4949
4949
|
return zo(c);
|
|
4950
4950
|
}
|
|
4951
|
-
const s =
|
|
4951
|
+
const s = S({
|
|
4952
4952
|
get: () => e.modelValue ? i(e.modelValue) : null,
|
|
4953
4953
|
set: (c) => r("update:modelValue", l(c))
|
|
4954
|
-
}), d =
|
|
4954
|
+
}), d = S(
|
|
4955
4955
|
() => s.value ? a.format(s.value.toDate(De())) : e.placeholder
|
|
4956
4956
|
);
|
|
4957
4957
|
return (c, u) => {
|
|
4958
|
-
const y =
|
|
4959
|
-
return h(),
|
|
4958
|
+
const y = T("CIcon");
|
|
4959
|
+
return h(), A("div", ou, [
|
|
4960
4960
|
M(f(js), q({
|
|
4961
4961
|
id: "date-field",
|
|
4962
4962
|
locale: c.locale,
|
|
@@ -4967,13 +4967,13 @@ const ou = { class: "flex flex-col gap-2" }, lu = { class: "flex flex-col space-
|
|
|
4967
4967
|
}, c.datePickerProps), {
|
|
4968
4968
|
default: w(() => [
|
|
4969
4969
|
M(f(qs), {
|
|
4970
|
-
class:
|
|
4970
|
+
class: Ie(
|
|
4971
4971
|
!c.$slots.default && "focus:shadow-primary-500 flex h-[3em] w-full select-none items-center rounded-md border border-gray-300 bg-white px-3 py-2 text-base leading-normal focus:shadow-[0_0_0_2px] data-[invalid]:border-red-500"
|
|
4972
4972
|
)
|
|
4973
4973
|
}, {
|
|
4974
4974
|
default: w(() => [
|
|
4975
4975
|
O(c.$slots, "default", { formattedDate: d.value }, () => [
|
|
4976
|
-
|
|
4976
|
+
N(C(d.value), 1)
|
|
4977
4977
|
])
|
|
4978
4978
|
]),
|
|
4979
4979
|
_: 3
|
|
@@ -4987,7 +4987,7 @@ const ou = { class: "flex flex-col gap-2" }, lu = { class: "flex flex-col space-
|
|
|
4987
4987
|
M(f(Js), { class: "fill-white" }),
|
|
4988
4988
|
M(f(zs), { class: "p-4" }, {
|
|
4989
4989
|
default: w(({ weekDays: v, grid: g }) => [
|
|
4990
|
-
M(f(
|
|
4990
|
+
M(f(Is), { class: "flex items-center justify-between" }, {
|
|
4991
4991
|
default: w(() => [
|
|
4992
4992
|
M(f(Ls), { class: "border-input inline-flex h-7 w-7 items-center justify-center rounded-md border bg-transparent p-0 opacity-50 hover:bg-gray-100 hover:opacity-100 focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50" }, {
|
|
4993
4993
|
default: w(() => [
|
|
@@ -4999,7 +4999,7 @@ const ou = { class: "flex flex-col gap-2" }, lu = { class: "flex flex-col space-
|
|
|
4999
4999
|
]),
|
|
5000
5000
|
_: 1
|
|
5001
5001
|
}),
|
|
5002
|
-
M(f(
|
|
5002
|
+
M(f(Fs), { class: "font-medium text-black" }),
|
|
5003
5003
|
M(f(Ns), { class: "border-input inline-flex h-7 w-7 items-center justify-center rounded-md border bg-transparent p-0 opacity-50 hover:bg-gray-100 hover:opacity-100 focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50" }, {
|
|
5004
5004
|
default: w(() => [
|
|
5005
5005
|
M(y, {
|
|
@@ -5013,8 +5013,8 @@ const ou = { class: "flex flex-col gap-2" }, lu = { class: "flex flex-col space-
|
|
|
5013
5013
|
]),
|
|
5014
5014
|
_: 1
|
|
5015
5015
|
}),
|
|
5016
|
-
|
|
5017
|
-
(h(!0),
|
|
5016
|
+
x("div", lu, [
|
|
5017
|
+
(h(!0), A(W, null, fe(g, (m) => (h(), D(f(Ts), {
|
|
5018
5018
|
key: m.value.toString(),
|
|
5019
5019
|
class: "w-full border-collapse select-none space-y-1"
|
|
5020
5020
|
}, {
|
|
@@ -5023,12 +5023,12 @@ const ou = { class: "flex flex-col gap-2" }, lu = { class: "flex flex-col space-
|
|
|
5023
5023
|
default: w(() => [
|
|
5024
5024
|
M(f(ba), { class: "mb-1 flex w-full justify-between" }, {
|
|
5025
5025
|
default: w(() => [
|
|
5026
|
-
(h(!0),
|
|
5026
|
+
(h(!0), A(W, null, fe(v, (p) => (h(), D(f(Vs), {
|
|
5027
5027
|
key: p,
|
|
5028
5028
|
class: "w-8 rounded-md text-xs"
|
|
5029
5029
|
}, {
|
|
5030
5030
|
default: w(() => [
|
|
5031
|
-
|
|
5031
|
+
N(C(p), 1)
|
|
5032
5032
|
]),
|
|
5033
5033
|
_: 2
|
|
5034
5034
|
}, 1024))), 128))
|
|
@@ -5040,18 +5040,18 @@ const ou = { class: "flex flex-col gap-2" }, lu = { class: "flex flex-col space-
|
|
|
5040
5040
|
}, 1024),
|
|
5041
5041
|
M(f(Ws), null, {
|
|
5042
5042
|
default: w(() => [
|
|
5043
|
-
(h(!0),
|
|
5043
|
+
(h(!0), A(W, null, fe(m.rows, (p, b) => (h(), D(f(ba), {
|
|
5044
5044
|
key: `weekDate-${b}`,
|
|
5045
5045
|
class: "flex w-full"
|
|
5046
5046
|
}, {
|
|
5047
5047
|
default: w(() => [
|
|
5048
|
-
(h(!0),
|
|
5049
|
-
key:
|
|
5050
|
-
date:
|
|
5048
|
+
(h(!0), A(W, null, fe(p, (_) => (h(), D(f(Rs), {
|
|
5049
|
+
key: _.toString(),
|
|
5050
|
+
date: _
|
|
5051
5051
|
}, {
|
|
5052
5052
|
default: w(() => [
|
|
5053
5053
|
M(f(Ys), {
|
|
5054
|
-
day:
|
|
5054
|
+
day: _,
|
|
5055
5055
|
month: m.value,
|
|
5056
5056
|
class: "data-[selected]:bg-primary-500 hover:border-primary-500 focus:shadow-primary-500 relative flex h-8 w-8 items-center justify-center whitespace-nowrap rounded-[9px] border border-transparent bg-transparent text-sm font-normal text-black outline-none focus:shadow-[0_0_0_2px] data-[unavailable]:pointer-events-none data-[selected]:font-medium data-[disabled]:text-black/30 data-[selected]:text-white data-[unavailable]:text-black/30 data-[unavailable]:line-through [&[data-today]:not([data-selected])]:bg-gray-100 [&[data-today]:not([data-selected])]:text-black"
|
|
5057
5057
|
}, null, 8, ["day", "month"])
|
|
@@ -5081,17 +5081,17 @@ const ou = { class: "flex flex-col gap-2" }, lu = { class: "flex flex-col space-
|
|
|
5081
5081
|
};
|
|
5082
5082
|
}
|
|
5083
5083
|
});
|
|
5084
|
-
function
|
|
5084
|
+
function Ar(e, t) {
|
|
5085
5085
|
const n = new Date(e.getTime());
|
|
5086
5086
|
return n.setDate(
|
|
5087
5087
|
e.getDate() + (7 + t - e.getDay() - 1) % 7 + 1
|
|
5088
5088
|
), n.setHours(8, 0, 0, 0), n;
|
|
5089
5089
|
}
|
|
5090
|
-
function
|
|
5090
|
+
function Sr(e) {
|
|
5091
5091
|
const t = new Date(e.getTime());
|
|
5092
5092
|
return t.setDate(t.getDate() + 1), t.setHours(10, 0, 0, 0), t;
|
|
5093
5093
|
}
|
|
5094
|
-
let wa =
|
|
5094
|
+
let wa = Sr(/* @__PURE__ */ new Date()), $a = Ar(/* @__PURE__ */ new Date(), 1);
|
|
5095
5095
|
const iu = {
|
|
5096
5096
|
name: "DocumentSendLater",
|
|
5097
5097
|
i18nOptions: {
|
|
@@ -5140,7 +5140,7 @@ const iu = {
|
|
|
5140
5140
|
},
|
|
5141
5141
|
setup() {
|
|
5142
5142
|
return {
|
|
5143
|
-
v$:
|
|
5143
|
+
v$: Ta()
|
|
5144
5144
|
};
|
|
5145
5145
|
},
|
|
5146
5146
|
data() {
|
|
@@ -5181,7 +5181,7 @@ const iu = {
|
|
|
5181
5181
|
}
|
|
5182
5182
|
},
|
|
5183
5183
|
created() {
|
|
5184
|
-
wa =
|
|
5184
|
+
wa = Sr(/* @__PURE__ */ new Date()), $a = Ar(/* @__PURE__ */ new Date(), 1);
|
|
5185
5185
|
},
|
|
5186
5186
|
methods: {
|
|
5187
5187
|
setTime(e) {
|
|
@@ -5220,43 +5220,43 @@ const iu = {
|
|
|
5220
5220
|
class: "error-wrapper"
|
|
5221
5221
|
};
|
|
5222
5222
|
function wu(e, t, n, a, r, o) {
|
|
5223
|
-
const l =
|
|
5224
|
-
return h(),
|
|
5225
|
-
|
|
5226
|
-
|
|
5227
|
-
|
|
5228
|
-
(h(!0),
|
|
5223
|
+
const l = T("CIcon"), i = T("DatePicker"), s = T("CInput"), d = T("CButton"), c = T("Animation");
|
|
5224
|
+
return h(), A("div", su, [
|
|
5225
|
+
x("div", uu, [
|
|
5226
|
+
x("div", du, C(e.$t("title")), 1),
|
|
5227
|
+
x("div", cu, [
|
|
5228
|
+
(h(!0), A(W, null, fe([
|
|
5229
5229
|
[o.tomorrowMorning, "tomorrowMorning"],
|
|
5230
5230
|
[o.mondayMorning, "mondayMorning"]
|
|
5231
|
-
], (u, y) => (h(),
|
|
5231
|
+
], (u, y) => (h(), A("div", {
|
|
5232
5232
|
key: y,
|
|
5233
5233
|
class: "mb-4 flex cursor-pointer select-none items-center justify-between rounded-md border border-gray-200 bg-gray-50 p-4 text-sm hover:border-gray-300 hover:bg-gray-100 active:border-gray-400 active:bg-gray-200",
|
|
5234
5234
|
onClick: () => o.onSendAt(u[0])
|
|
5235
5235
|
}, [
|
|
5236
|
-
|
|
5237
|
-
|
|
5236
|
+
x("div", mu, C(e.$t(u[1])), 1),
|
|
5237
|
+
x("div", pu, C(e.$formatDate(u[0], "p, d MMM")), 1)
|
|
5238
5238
|
], 8, fu))), 128))
|
|
5239
5239
|
])
|
|
5240
5240
|
]),
|
|
5241
|
-
|
|
5242
|
-
class:
|
|
5241
|
+
x("div", {
|
|
5242
|
+
class: Ie([r.showCustom ? "" : "cursor-pointer hover:bg-gray-200", "border-t border-gray-200 bg-gray-100 px-8 py-6"]),
|
|
5243
5243
|
onClick: t[1] || (t[1] = (u) => r.showCustom = !0)
|
|
5244
5244
|
}, [
|
|
5245
|
-
|
|
5245
|
+
x("div", hu, [
|
|
5246
5246
|
M(l, {
|
|
5247
5247
|
type: "calendar",
|
|
5248
5248
|
size: "18",
|
|
5249
5249
|
class: "text-primary-500 mr-2"
|
|
5250
5250
|
}),
|
|
5251
|
-
|
|
5251
|
+
x("div", {
|
|
5252
5252
|
class: "font-medium",
|
|
5253
5253
|
textContent: C(e.$t("custom.title"))
|
|
5254
5254
|
}, null, 8, vu)
|
|
5255
5255
|
]),
|
|
5256
5256
|
M(c, null, {
|
|
5257
5257
|
default: w(() => [
|
|
5258
|
-
ze(
|
|
5259
|
-
|
|
5258
|
+
ze(x("div", yu, [
|
|
5259
|
+
x("div", gu, [
|
|
5260
5260
|
M(i, {
|
|
5261
5261
|
"model-value": r.sendAt,
|
|
5262
5262
|
"onUpdate:modelValue": o.setDate
|
|
@@ -5267,13 +5267,13 @@ function wu(e, t, n, a, r, o) {
|
|
|
5267
5267
|
"onUpdate:modelValue": o.setTime
|
|
5268
5268
|
}, null, 8, ["model-value", "onUpdate:modelValue"])
|
|
5269
5269
|
]),
|
|
5270
|
-
a.v$.$invalid ? (h(),
|
|
5270
|
+
a.v$.$invalid ? (h(), A("div", bu, [
|
|
5271
5271
|
M(l, {
|
|
5272
5272
|
type: "calendar",
|
|
5273
5273
|
class: "text-primary-500 mr-2"
|
|
5274
5274
|
}),
|
|
5275
|
-
|
|
5276
|
-
])) :
|
|
5275
|
+
N(" " + C(e.$t("custom.invalid")), 1)
|
|
5276
|
+
])) : F("", !0),
|
|
5277
5277
|
M(d, {
|
|
5278
5278
|
loading: e.isPostingDocument,
|
|
5279
5279
|
type: "secondary",
|
|
@@ -5282,7 +5282,7 @@ function wu(e, t, n, a, r, o) {
|
|
|
5282
5282
|
onClick: t[0] || (t[0] = (u) => o.onSendAt(r.sendAt))
|
|
5283
5283
|
}, {
|
|
5284
5284
|
default: w(() => [
|
|
5285
|
-
|
|
5285
|
+
N(C(e.$t("_common:send")) + " " + C(e.$formatDate(r.sendAt, "d MMM - p")), 1)
|
|
5286
5286
|
]),
|
|
5287
5287
|
_: 1
|
|
5288
5288
|
}, 8, ["loading"])
|
|
@@ -5307,6 +5307,8 @@ const $u = /* @__PURE__ */ Le(iu, [["render", wu], ["__scopeId", "data-v-f6f8fb8
|
|
|
5307
5307
|
scheduledTooltip: "Schemalägg utskick",
|
|
5308
5308
|
clientsAreMissingContactInfo: "En eller flera mottagare saknar kontaktuppgifter för sin leveransmetod. Dokumentet kommer inte att kunna skickas till dem.",
|
|
5309
5309
|
missingDeliveryMethod: "Välj en eller fler leveransmetoder",
|
|
5310
|
+
expiresAtInPastTitle: "Utgångsdatumet har passerat.",
|
|
5311
|
+
expiresAtInPastText: "Mottagarna kanske inte kan signera. Uppdatera datumet innan du skickar.",
|
|
5310
5312
|
sendButton: "Skicka dokument",
|
|
5311
5313
|
signMethod: {
|
|
5312
5314
|
title: "Signeringsmetod",
|
|
@@ -5344,6 +5346,8 @@ const $u = /* @__PURE__ */ Le(iu, [["render", wu], ["__scopeId", "data-v-f6f8fb8
|
|
|
5344
5346
|
scheduledTooltip: "Schedule delivery",
|
|
5345
5347
|
clientsAreMissingContactInfo: "One or more recipients are missing contact info for their delivery method. The document will not be sent to them.",
|
|
5346
5348
|
missingDeliveryMethod: "Please select one or more delivery methods",
|
|
5349
|
+
expiresAtInPastTitle: "Expiry date has passed.",
|
|
5350
|
+
expiresAtInPastText: "Recipients may not be able to sign. Update the date before sending.",
|
|
5347
5351
|
sendButton: "Send document",
|
|
5348
5352
|
signMethod: {
|
|
5349
5353
|
title: "Signing method",
|
|
@@ -5398,7 +5402,7 @@ const $u = /* @__PURE__ */ Le(iu, [["render", wu], ["__scopeId", "data-v-f6f8fb8
|
|
|
5398
5402
|
}, xu = {
|
|
5399
5403
|
name: "ClientSendListItem",
|
|
5400
5404
|
components: {
|
|
5401
|
-
CDropdown:
|
|
5405
|
+
CDropdown: Ia
|
|
5402
5406
|
},
|
|
5403
5407
|
emits: ["open", "remove", "move"],
|
|
5404
5408
|
props: {
|
|
@@ -5448,11 +5452,11 @@ const $u = /* @__PURE__ */ Le(iu, [["render", wu], ["__scopeId", "data-v-f6f8fb8
|
|
|
5448
5452
|
}, ku = {
|
|
5449
5453
|
key: 0,
|
|
5450
5454
|
style: { "font-size": "12px", "font-weight": "500" }
|
|
5451
|
-
},
|
|
5455
|
+
}, Au = {
|
|
5452
5456
|
key: 1,
|
|
5453
5457
|
class: "text-gray-700",
|
|
5454
5458
|
style: { "font-size": "13px", "margin-top": "4px" }
|
|
5455
|
-
},
|
|
5459
|
+
}, Su = {
|
|
5456
5460
|
key: 2,
|
|
5457
5461
|
class: "compact-order"
|
|
5458
5462
|
}, Mu = {
|
|
@@ -5461,24 +5465,24 @@ const $u = /* @__PURE__ */ Le(iu, [["render", wu], ["__scopeId", "data-v-f6f8fb8
|
|
|
5461
5465
|
}, Ou = { style: { width: "34px", flex: "0 0 34px", display: "inline-flex", "justify-content": "center" } }, Eu = {
|
|
5462
5466
|
key: 0,
|
|
5463
5467
|
style: { position: "relative", display: "inline-block" }
|
|
5464
|
-
}, Pu = { class: "rc-order" }, Bu = { class: "rc-data w-full truncate" },
|
|
5468
|
+
}, Pu = { class: "rc-order" }, Bu = { class: "rc-data w-full truncate" }, Iu = {
|
|
5465
5469
|
key: 0,
|
|
5466
5470
|
style: { "font-weight": "500" }
|
|
5467
|
-
},
|
|
5471
|
+
}, Fu = {
|
|
5468
5472
|
key: 1,
|
|
5469
5473
|
class: "text-gray-500"
|
|
5470
|
-
},
|
|
5474
|
+
}, Tu = {
|
|
5471
5475
|
key: 2,
|
|
5472
5476
|
class: "text-gray-500"
|
|
5473
|
-
},
|
|
5477
|
+
}, Ru = { class: "text-xs text-gray-700" }, Vu = { key: 0 }, Nu = { key: 1 }, Lu = {
|
|
5474
5478
|
key: 0,
|
|
5475
5479
|
class: "text-red-500"
|
|
5476
5480
|
}, Uu = { key: 1 }, Wu = { key: 2 };
|
|
5477
5481
|
function Yu(e, t, n, a, r, o) {
|
|
5478
5482
|
var c;
|
|
5479
|
-
const l =
|
|
5480
|
-
return h(),
|
|
5481
|
-
class:
|
|
5483
|
+
const l = T("CIcon"), i = T("CButton"), s = T("CPhoneFormat"), d = T("CDropdown");
|
|
5484
|
+
return h(), A("div", {
|
|
5485
|
+
class: Ie([{
|
|
5482
5486
|
"is-hover": r.isHover,
|
|
5483
5487
|
"has-controls": n.isOrder
|
|
5484
5488
|
}, "rc-card flex items-center"]),
|
|
@@ -5487,28 +5491,28 @@ function Yu(e, t, n, a, r, o) {
|
|
|
5487
5491
|
onMouseoverPassive: t[8] || (t[8] = (u) => r.isHover = !0),
|
|
5488
5492
|
onMouseleavePassive: t[9] || (t[9] = (u) => r.isHover = !1)
|
|
5489
5493
|
}, [
|
|
5490
|
-
n.compact ? (h(),
|
|
5491
|
-
|
|
5492
|
-
n.client.name && n.client.companyName ? (h(),
|
|
5493
|
-
n.client.documentRole ? (h(),
|
|
5494
|
-
n.isOrder ? (h(),
|
|
5494
|
+
n.compact ? (h(), A("div", _u, [
|
|
5495
|
+
x("div", null, C(n.client.name || n.client.companyName), 1),
|
|
5496
|
+
n.client.name && n.client.companyName ? (h(), A("div", ku, C(n.client.companyName), 1)) : F("", !0),
|
|
5497
|
+
n.client.documentRole ? (h(), A("div", Au, C(e.$t(`_common:documentRole.${n.client.documentRole}.description`)), 1)) : F("", !0),
|
|
5498
|
+
n.isOrder ? (h(), A("div", Su, [
|
|
5495
5499
|
M(l, {
|
|
5496
5500
|
size: "16",
|
|
5497
5501
|
type: "chevron-up",
|
|
5498
5502
|
class: "compact-order-button",
|
|
5499
5503
|
onClick: t[0] || (t[0] = re((u) => e.$emit("move", -1), ["prevent", "stop"]))
|
|
5500
5504
|
}),
|
|
5501
|
-
|
|
5505
|
+
x("div", Mu, C(n.client.signOrder), 1),
|
|
5502
5506
|
M(l, {
|
|
5503
5507
|
size: "16",
|
|
5504
5508
|
type: "chevron-down",
|
|
5505
5509
|
class: "compact-order-button",
|
|
5506
5510
|
onClick: t[1] || (t[1] = re((u) => e.$emit("move", 1), ["prevent", "stop"]))
|
|
5507
5511
|
})
|
|
5508
|
-
])) :
|
|
5509
|
-
])) : (h(),
|
|
5510
|
-
|
|
5511
|
-
n.isOrder ? (h(),
|
|
5512
|
+
])) : F("", !0)
|
|
5513
|
+
])) : (h(), A(W, { key: 1 }, [
|
|
5514
|
+
x("div", Ou, [
|
|
5515
|
+
n.isOrder ? (h(), A("div", Eu, [
|
|
5512
5516
|
M(i, {
|
|
5513
5517
|
class: "rc-order__button up",
|
|
5514
5518
|
type: "none",
|
|
@@ -5529,7 +5533,7 @@ function Yu(e, t, n, a, r, o) {
|
|
|
5529
5533
|
icon: "plus",
|
|
5530
5534
|
onClick: t[3] || (t[3] = re((u) => e.$emit("move", 1), ["prevent", "stop"]))
|
|
5531
5535
|
}),
|
|
5532
|
-
|
|
5536
|
+
x("div", Pu, C(n.client.signOrder), 1)
|
|
5533
5537
|
])) : (h(), D(l, {
|
|
5534
5538
|
key: 1,
|
|
5535
5539
|
type: n.isSender ? "send" : ["signee", "approver"].includes(n.client.documentRole) ? "pen-tool" : "eye",
|
|
@@ -5538,26 +5542,26 @@ function Yu(e, t, n, a, r, o) {
|
|
|
5538
5542
|
class: "text-primary-500"
|
|
5539
5543
|
}, null, 8, ["type"]))
|
|
5540
5544
|
]),
|
|
5541
|
-
|
|
5542
|
-
n.client.name || n.client.companyName ? (h(),
|
|
5543
|
-
|
|
5544
|
-
n.isSender ? (h(),
|
|
5545
|
-
n.isSender ? (h(),
|
|
5546
|
-
n.client.documentRole === "signee" ? (h(),
|
|
5547
|
-
], 64)) : (h(),
|
|
5548
|
-
((c = n.client.answerMethod) == null ? void 0 : c.accept) === "inPerson" ? (h(),
|
|
5549
|
-
|
|
5550
|
-
|
|
5551
|
-
])) :
|
|
5552
|
-
n.client.documentRole ? (h(),
|
|
5553
|
-
n.client.email ? (h(),
|
|
5554
|
-
|
|
5545
|
+
x("div", Bu, [
|
|
5546
|
+
n.client.name || n.client.companyName ? (h(), A("div", Iu, C(n.client.name || n.client.companyName), 1)) : n.isSender ? (h(), A("div", Fu, C(e.$t("_common:empty", { thing: e.$t("_common:reference") })), 1)) : (h(), A("div", Tu, C(e.$t("_common:missing", { thing: e.$t("_common:name") })), 1)),
|
|
5547
|
+
x("div", Ru, [
|
|
5548
|
+
n.isSender ? (h(), A(W, { key: 0 }, [
|
|
5549
|
+
n.isSender ? (h(), A("span", Vu, C(e.$t("_common:documentRole.sender.description")), 1)) : F("", !0),
|
|
5550
|
+
n.client.documentRole === "signee" ? (h(), A("span", Nu, C(e.$t(`_common:documentRole.${n.client.documentRole}.description`)), 1)) : F("", !0)
|
|
5551
|
+
], 64)) : (h(), A(W, { key: 1 }, [
|
|
5552
|
+
((c = n.client.answerMethod) == null ? void 0 : c.accept) === "inPerson" ? (h(), A("span", Lu, [
|
|
5553
|
+
N(C(e.$t("_common:signMethod.title")) + ": ", 1),
|
|
5554
|
+
x("span", null, C(e.$t("_common:signMethod.inPerson")), 1)
|
|
5555
|
+
])) : F("", !0),
|
|
5556
|
+
n.client.documentRole ? (h(), A("span", Uu, C(e.$t(`_common:documentRole.${n.client.documentRole}.description`)), 1)) : F("", !0),
|
|
5557
|
+
n.client.email ? (h(), A("span", Wu, [
|
|
5558
|
+
N(C(n.client.email) + " ", 1),
|
|
5555
5559
|
n.client.cellphone ? (h(), D(s, {
|
|
5556
5560
|
key: 0,
|
|
5557
5561
|
phone: n.client.cellphone,
|
|
5558
5562
|
region: n.client.cellphoneRegion
|
|
5559
|
-
}, null, 8, ["phone", "region"])) :
|
|
5560
|
-
])) :
|
|
5563
|
+
}, null, 8, ["phone", "region"])) : F("", !0)
|
|
5564
|
+
])) : F("", !0)
|
|
5561
5565
|
], 64))
|
|
5562
5566
|
])
|
|
5563
5567
|
])
|
|
@@ -5567,7 +5571,7 @@ function Yu(e, t, n, a, r, o) {
|
|
|
5567
5571
|
name: "fade-100"
|
|
5568
5572
|
}, {
|
|
5569
5573
|
default: w(() => [
|
|
5570
|
-
r.isHover || r.isDropdownOpen ? (h(),
|
|
5574
|
+
r.isHover || r.isDropdownOpen ? (h(), A(W, { key: 0 }, [
|
|
5571
5575
|
n.isSender ? (h(), D(d, {
|
|
5572
5576
|
key: 0,
|
|
5573
5577
|
ref: "dropdown",
|
|
@@ -5605,11 +5609,11 @@ function Yu(e, t, n, a, r, o) {
|
|
|
5605
5609
|
raised: "",
|
|
5606
5610
|
style: { position: "absolute", right: "calc(0.5 * var(--rem))" },
|
|
5607
5611
|
onClick: t[6] || (t[6] = re((u) => e.$emit("remove"), ["stop"]))
|
|
5608
|
-
})) :
|
|
5609
|
-
], 64)) :
|
|
5612
|
+
})) : F("", !0)
|
|
5613
|
+
], 64)) : F("", !0)
|
|
5610
5614
|
]),
|
|
5611
5615
|
_: 3
|
|
5612
|
-
})) :
|
|
5616
|
+
})) : F("", !0)
|
|
5613
5617
|
], 34);
|
|
5614
5618
|
}
|
|
5615
5619
|
const Mr = /* @__PURE__ */ Le(xu, [["render", Yu], ["__scopeId", "data-v-99cf9979"]]), Hu = {
|
|
@@ -5633,10 +5637,10 @@ const Mr = /* @__PURE__ */ Le(xu, [["render", Yu], ["__scopeId", "data-v-99cf997
|
|
|
5633
5637
|
},
|
|
5634
5638
|
components: {
|
|
5635
5639
|
RecipientBlockItem: Mr,
|
|
5636
|
-
CDropdownItem:
|
|
5640
|
+
CDropdownItem: Fa
|
|
5637
5641
|
},
|
|
5638
5642
|
mixins: [
|
|
5639
|
-
|
|
5643
|
+
Tt(["senderClient"], {
|
|
5640
5644
|
useEmit: !1,
|
|
5641
5645
|
setFnName: "setFormValue"
|
|
5642
5646
|
})
|
|
@@ -5713,7 +5717,7 @@ const Mr = /* @__PURE__ */ Le(xu, [["render", Yu], ["__scopeId", "data-v-99cf997
|
|
|
5713
5717
|
calc(1 * var(--rem))`, "font-weight": "500" }
|
|
5714
5718
|
};
|
|
5715
5719
|
function Ju(e, t, n, a, r, o) {
|
|
5716
|
-
const l =
|
|
5720
|
+
const l = T("CDropdownItem"), i = T("RecipientBlockItem");
|
|
5717
5721
|
return r.senderClientData ? (h(), D(i, {
|
|
5718
5722
|
key: 0,
|
|
5719
5723
|
client: r.senderClientData,
|
|
@@ -5730,14 +5734,14 @@ function Ju(e, t, n, a, r, o) {
|
|
|
5730
5734
|
onInput: o.toggleSenderSign
|
|
5731
5735
|
}, {
|
|
5732
5736
|
default: w(() => [
|
|
5733
|
-
|
|
5737
|
+
N(C(e.$t("toggle.label")), 1)
|
|
5734
5738
|
]),
|
|
5735
5739
|
_: 1
|
|
5736
5740
|
}, 8, ["value", "onInput"]),
|
|
5737
|
-
e.senderClient ? (h(),
|
|
5741
|
+
e.senderClient ? (h(), A(W, { key: 1 }, [
|
|
5738
5742
|
M(l, { separator: "" }),
|
|
5739
|
-
|
|
5740
|
-
(h(!0),
|
|
5743
|
+
x("div", zu, C(e.$t("_common:signMethod.title")), 1),
|
|
5744
|
+
(h(!0), A(W, null, fe([
|
|
5741
5745
|
"login",
|
|
5742
5746
|
"signature",
|
|
5743
5747
|
...e.feature("bankId") ? ["bankId"] : [],
|
|
@@ -5748,14 +5752,14 @@ function Ju(e, t, n, a, r, o) {
|
|
|
5748
5752
|
onClick: (d) => o.setSenderMethod(s)
|
|
5749
5753
|
}, {
|
|
5750
5754
|
default: w(() => [
|
|
5751
|
-
|
|
5755
|
+
N(C(e.$t(`_common:signMethod.${s}`)), 1)
|
|
5752
5756
|
]),
|
|
5753
5757
|
_: 2
|
|
5754
5758
|
}, 1032, ["icon-right", "onClick"]))), 128))
|
|
5755
|
-
], 64)) : (h(),
|
|
5759
|
+
], 64)) : (h(), A("div", ju, C(e.$t("toggle.description")), 1))
|
|
5756
5760
|
]),
|
|
5757
5761
|
_: 1
|
|
5758
|
-
}, 8, ["client", "right-button"])) :
|
|
5762
|
+
}, 8, ["client", "right-button"])) : F("", !0);
|
|
5759
5763
|
}
|
|
5760
5764
|
const qu = /* @__PURE__ */ Le(Hu, [["render", Ju]]), Ku = {
|
|
5761
5765
|
name: "RecipientBlock",
|
|
@@ -5770,7 +5774,7 @@ const qu = /* @__PURE__ */ Le(Hu, [["render", Ju]]), Ku = {
|
|
|
5770
5774
|
CSwitch: bo
|
|
5771
5775
|
},
|
|
5772
5776
|
mixins: [
|
|
5773
|
-
|
|
5777
|
+
Tt(["clients"], {
|
|
5774
5778
|
useEmit: !1,
|
|
5775
5779
|
setFnName: "setFormValue"
|
|
5776
5780
|
})
|
|
@@ -5872,10 +5876,10 @@ const qu = /* @__PURE__ */ Le(Hu, [["render", Ju]]), Ku = {
|
|
|
5872
5876
|
class: "mt-4 flex rounded-lg border border-orange-200 bg-orange-50 p-4 text-sm text-orange-600"
|
|
5873
5877
|
}, ad = { class: "-mt-px mr-3" }, rd = { class: "font-medium" }, od = { class: "mb-2 opacity-90" };
|
|
5874
5878
|
function ld(e, t, n, a, r, o) {
|
|
5875
|
-
const l =
|
|
5876
|
-
return h(),
|
|
5877
|
-
n.compact ?
|
|
5878
|
-
|
|
5879
|
+
const l = T("SenderBlockItem"), i = T("CIcon"), s = T("CSwitch"), d = T("RecipientBlockItem"), c = T("CButton"), u = T("AddClientCallout"), y = Ba("tooltip");
|
|
5880
|
+
return h(), A("div", null, [
|
|
5881
|
+
n.compact ? F("", !0) : (h(), A(W, { key: 0 }, [
|
|
5882
|
+
x("div", Gu, C(e.$t("_common:from").capitalize()) + ": ", 1),
|
|
5879
5883
|
M(l, {
|
|
5880
5884
|
_document: e._document,
|
|
5881
5885
|
_value: { senderClient: "senderClient" },
|
|
@@ -5883,11 +5887,11 @@ function ld(e, t, n, a, r, o) {
|
|
|
5883
5887
|
"default-add-sender-client": n.defaultAddSenderClient
|
|
5884
5888
|
}, null, 8, ["_document", "set-form-value", "default-add-sender-client"])
|
|
5885
5889
|
], 64)),
|
|
5886
|
-
|
|
5887
|
-
class:
|
|
5890
|
+
x("div", {
|
|
5891
|
+
class: Ie([{ "block-title__line": !n.compact }, "block-title flex pb-0.5 pt-2 text-xs text-gray-500"])
|
|
5888
5892
|
}, [
|
|
5889
|
-
n.compact ?
|
|
5890
|
-
e.clients && e.clients.length ? (h(),
|
|
5893
|
+
n.compact ? F("", !0) : (h(), A("div", Qu, C(e.$t("_common:to").capitalize()) + ": ", 1)),
|
|
5894
|
+
e.clients && e.clients.length ? (h(), A("div", Zu, [
|
|
5891
5895
|
ze(M(i, {
|
|
5892
5896
|
type: "info",
|
|
5893
5897
|
size: "14",
|
|
@@ -5895,7 +5899,7 @@ function ld(e, t, n, a, r, o) {
|
|
|
5895
5899
|
}, null, 512), [
|
|
5896
5900
|
[y, e.$t("signOrder.tooltip")]
|
|
5897
5901
|
]),
|
|
5898
|
-
|
|
5902
|
+
x("div", Xu, C(e.$t("signOrder.label")), 1),
|
|
5899
5903
|
M(s, {
|
|
5900
5904
|
"model-value": o.useSignOrder,
|
|
5901
5905
|
size: "tiny",
|
|
@@ -5903,9 +5907,9 @@ function ld(e, t, n, a, r, o) {
|
|
|
5903
5907
|
class: "!mr-0",
|
|
5904
5908
|
"onUpdate:modelValue": o.toggleSignOrder
|
|
5905
5909
|
}, null, 8, ["model-value", "onUpdate:modelValue"])
|
|
5906
|
-
])) :
|
|
5910
|
+
])) : F("", !0)
|
|
5907
5911
|
], 2),
|
|
5908
|
-
e.clients && e.clients.length ? (h(),
|
|
5912
|
+
e.clients && e.clients.length ? (h(), A(W, { key: 1 }, [
|
|
5909
5913
|
o.useSignOrder ? (h(), D(yo, {
|
|
5910
5914
|
key: 0,
|
|
5911
5915
|
name: "list-move",
|
|
@@ -5913,19 +5917,19 @@ function ld(e, t, n, a, r, o) {
|
|
|
5913
5917
|
tag: "div"
|
|
5914
5918
|
}, {
|
|
5915
5919
|
default: w(() => [
|
|
5916
|
-
(h(!0),
|
|
5920
|
+
(h(!0), A(W, null, fe(o.sortedClients, (v, g) => (h(), A(W, {
|
|
5917
5921
|
key: `${g}${v._uniqueId}`
|
|
5918
5922
|
}, [
|
|
5919
|
-
g > 0 && v.signOrder !== o.sortedClients[g - 1].signOrder ? (h(),
|
|
5920
|
-
|
|
5921
|
-
]))) :
|
|
5922
|
-
|
|
5923
|
+
g > 0 && v.signOrder !== o.sortedClients[g - 1].signOrder ? (h(), A("div", ed, t[3] || (t[3] = [
|
|
5924
|
+
x("div", { class: "bg-primary-500 h-full w-0.5 rounded-sm" }, null, -1)
|
|
5925
|
+
]))) : F("", !0),
|
|
5926
|
+
x("div", td, [
|
|
5923
5927
|
M(d, {
|
|
5924
5928
|
client: v,
|
|
5925
5929
|
"is-order": o.useSignOrder,
|
|
5926
5930
|
compact: n.compact,
|
|
5927
5931
|
"allow-edit-clients": n.allowEditClients,
|
|
5928
|
-
class:
|
|
5932
|
+
class: Ie({
|
|
5929
5933
|
"first-of-group": g === 0 || g > 0 && v.signOrder !== o.sortedClients[g - 1].signOrder,
|
|
5930
5934
|
"last-of-group": g === o.sortedClients.length - 1 || o.sortedClients[g + 1] && v.signOrder !== o.sortedClients[g + 1].signOrder
|
|
5931
5935
|
}),
|
|
@@ -5937,13 +5941,13 @@ function ld(e, t, n, a, r, o) {
|
|
|
5937
5941
|
], 64))), 128))
|
|
5938
5942
|
]),
|
|
5939
5943
|
_: 1
|
|
5940
|
-
})) : (h(!0),
|
|
5944
|
+
})) : (h(!0), A(W, { key: 1 }, fe(e.clients, (v, g) => (h(), D(d, {
|
|
5941
5945
|
key: v._uniqueId,
|
|
5942
5946
|
"is-order": o.useSignOrder,
|
|
5943
5947
|
compact: n.compact,
|
|
5944
5948
|
"allow-edit-clients": n.allowEditClients,
|
|
5945
5949
|
client: v,
|
|
5946
|
-
class:
|
|
5950
|
+
class: Ie([{
|
|
5947
5951
|
"first-of-group": g === 0,
|
|
5948
5952
|
"last-of-group": g === e.clients.length - 1
|
|
5949
5953
|
}, "mb-0.5 mt-px"]),
|
|
@@ -5960,10 +5964,10 @@ function ld(e, t, n, a, r, o) {
|
|
|
5960
5964
|
onClick: t[0] || (t[0] = (v) => o.openClientModal(e.clients.length))
|
|
5961
5965
|
}, {
|
|
5962
5966
|
default: w(() => [
|
|
5963
|
-
|
|
5967
|
+
N(C(e.$t("addButton")), 1)
|
|
5964
5968
|
]),
|
|
5965
5969
|
_: 1
|
|
5966
|
-
})) :
|
|
5970
|
+
})) : F("", !0)
|
|
5967
5971
|
], 64)) : (o.getView === "widget" || e.viewSettings.isPublicForm) && n.allowEditClients ? (h(), D(c, {
|
|
5968
5972
|
key: 2,
|
|
5969
5973
|
type: "secondary",
|
|
@@ -5975,7 +5979,7 @@ function ld(e, t, n, a, r, o) {
|
|
|
5975
5979
|
onClick: t[1] || (t[1] = (v) => o.openClientModal(e.clients.length))
|
|
5976
5980
|
}, {
|
|
5977
5981
|
default: w(() => [
|
|
5978
|
-
|
|
5982
|
+
N(C(e.$t("addFirstButton")), 1)
|
|
5979
5983
|
]),
|
|
5980
5984
|
_: 1
|
|
5981
5985
|
})) : !n.compact && n.allowEditClients ? (h(), D(u, {
|
|
@@ -5984,19 +5988,19 @@ function ld(e, t, n, a, r, o) {
|
|
|
5984
5988
|
onAdd: t[2] || (t[2] = (v) => o.openClientModal(e.clients.length)),
|
|
5985
5989
|
onSetClient: o.setClient,
|
|
5986
5990
|
"default-answer-method": e._document.data.defaultAnswerMethod
|
|
5987
|
-
}, null, 8, ["onSetClient", "default-answer-method"])) :
|
|
5988
|
-
o.warnSameRecipientOrder ? (h(),
|
|
5989
|
-
|
|
5991
|
+
}, null, 8, ["onSetClient", "default-answer-method"])) : F("", !0),
|
|
5992
|
+
o.warnSameRecipientOrder ? (h(), A("div", nd, [
|
|
5993
|
+
x("div", ad, [
|
|
5990
5994
|
M(i, {
|
|
5991
5995
|
type: "warning",
|
|
5992
5996
|
size: "16"
|
|
5993
5997
|
})
|
|
5994
5998
|
]),
|
|
5995
|
-
|
|
5996
|
-
|
|
5997
|
-
|
|
5999
|
+
x("div", null, [
|
|
6000
|
+
x("div", rd, C(e.$t("signOrder.warning.title")), 1),
|
|
6001
|
+
x("div", od, C(e.$t("signOrder.warning.text")), 1)
|
|
5998
6002
|
])
|
|
5999
|
-
])) :
|
|
6003
|
+
])) : F("", !0)
|
|
6000
6004
|
]);
|
|
6001
6005
|
}
|
|
6002
6006
|
const id = /* @__PURE__ */ Le(Ku, [["render", ld], ["__scopeId", "data-v-1557335c"]]), sd = {
|
|
@@ -6024,17 +6028,17 @@ const id = /* @__PURE__ */ Le(Ku, [["render", ld], ["__scopeId", "data-v-1557335
|
|
|
6024
6028
|
class: "text-xs text-gray-500"
|
|
6025
6029
|
};
|
|
6026
6030
|
function hd(e, t, n, a, r, o) {
|
|
6027
|
-
const l =
|
|
6028
|
-
return h(),
|
|
6029
|
-
|
|
6030
|
-
|
|
6031
|
-
n.done ? (h(),
|
|
6031
|
+
const l = T("CIcon"), i = T("CButton");
|
|
6032
|
+
return h(), A("div", ud, [
|
|
6033
|
+
x("div", dd, C(n.label), 1),
|
|
6034
|
+
x("div", cd, [
|
|
6035
|
+
n.done ? (h(), A("span", fd, [
|
|
6032
6036
|
M(l, {
|
|
6033
6037
|
type: "check",
|
|
6034
6038
|
size: "18"
|
|
6035
6039
|
}),
|
|
6036
|
-
|
|
6037
|
-
])) : (h(),
|
|
6040
|
+
N(" " + C(e.$t("sent")), 1)
|
|
6041
|
+
])) : (h(), A(W, { key: 1 }, [
|
|
6038
6042
|
M(i, {
|
|
6039
6043
|
icon: "minus",
|
|
6040
6044
|
size: "small",
|
|
@@ -6043,10 +6047,10 @@ function hd(e, t, n, a, r, o) {
|
|
|
6043
6047
|
class: "!h-6 !w-6 bg-white",
|
|
6044
6048
|
onClick: t[0] || (t[0] = (s) => e.$emit("input", Math.max(n.value - 1, 0)))
|
|
6045
6049
|
}),
|
|
6046
|
-
|
|
6047
|
-
n.value ? (h(),
|
|
6048
|
-
|
|
6049
|
-
], 64)) : (h(),
|
|
6050
|
+
x("div", md, [
|
|
6051
|
+
n.value ? (h(), A(W, { key: 0 }, [
|
|
6052
|
+
N(C(e.$tc("day", { count: Number(n.value) })), 1)
|
|
6053
|
+
], 64)) : (h(), A("span", pd, C(e.$t("disabled").capitalize()), 1))
|
|
6050
6054
|
]),
|
|
6051
6055
|
M(i, {
|
|
6052
6056
|
icon: "plus",
|
|
@@ -6083,7 +6087,7 @@ const vd = /* @__PURE__ */ Le(sd, [["render", hd]]), yd = {
|
|
|
6083
6087
|
DocumentSendReminderItem: vd
|
|
6084
6088
|
},
|
|
6085
6089
|
emits: ["close"],
|
|
6086
|
-
mixins: [
|
|
6090
|
+
mixins: [Tt()],
|
|
6087
6091
|
props: {
|
|
6088
6092
|
setFormValue: {
|
|
6089
6093
|
type: Function,
|
|
@@ -6145,11 +6149,11 @@ const vd = /* @__PURE__ */ Le(sd, [["render", hd]]), yd = {
|
|
|
6145
6149
|
style: { "margin-top": "calc(2.5 * var(--rem))" }
|
|
6146
6150
|
};
|
|
6147
6151
|
function Dd(e, t, n, a, r, o) {
|
|
6148
|
-
const l =
|
|
6149
|
-
return h(),
|
|
6150
|
-
|
|
6151
|
-
|
|
6152
|
-
(h(),
|
|
6152
|
+
const l = T("DocumentSendReminderItem"), i = T("CButton");
|
|
6153
|
+
return h(), A("div", gd, [
|
|
6154
|
+
x("div", bd, C(e.$t("_common:reminder_other").capitalize()), 1),
|
|
6155
|
+
x("div", wd, C(e.$t("description")), 1),
|
|
6156
|
+
(h(), A(W, null, fe([
|
|
6153
6157
|
{ type: "notViewed", fallbackKey: "viewed" },
|
|
6154
6158
|
{ type: "notAnswered", fallbackKey: "reminder" },
|
|
6155
6159
|
{ type: "expires", fallbackKey: "expires" }
|
|
@@ -6160,14 +6164,14 @@ function Dd(e, t, n, a, r, o) {
|
|
|
6160
6164
|
done: o.reminders[s.type] && o.reminders[s.type].status === "successful",
|
|
6161
6165
|
onInput: (c) => o.setReminder(o.reminders[s.type] || s.fallbackKey, c)
|
|
6162
6166
|
}, null, 8, ["label", "value", "done", "onInput"])), 64)),
|
|
6163
|
-
|
|
6167
|
+
x("div", $d, [
|
|
6164
6168
|
M(i, {
|
|
6165
6169
|
type: "secondary",
|
|
6166
6170
|
expanded: "",
|
|
6167
6171
|
onClick: t[0] || (t[0] = (s) => e.$emit("close"))
|
|
6168
6172
|
}, {
|
|
6169
6173
|
default: w(() => [
|
|
6170
|
-
|
|
6174
|
+
N(C(e.$t("_common:save")), 1)
|
|
6171
6175
|
]),
|
|
6172
6176
|
_: 1
|
|
6173
6177
|
})
|
|
@@ -6188,12 +6192,12 @@ const Cd = /* @__PURE__ */ Le(yd, [["render", Dd]]), xd = {
|
|
|
6188
6192
|
IsPremiumPreStep: Ur,
|
|
6189
6193
|
IsPremium: Lr,
|
|
6190
6194
|
ProBadge: Nr,
|
|
6191
|
-
CDropdown:
|
|
6192
|
-
CDropdownItem:
|
|
6195
|
+
CDropdown: Ia,
|
|
6196
|
+
CDropdownItem: Fa,
|
|
6193
6197
|
CRadio: Do
|
|
6194
6198
|
},
|
|
6195
6199
|
mixins: [
|
|
6196
|
-
|
|
6200
|
+
Tt(
|
|
6197
6201
|
["expiresAt", "clients", "defaultAnswerMethod", "reminders", "name"],
|
|
6198
6202
|
{
|
|
6199
6203
|
useEmit: !1,
|
|
@@ -6241,7 +6245,7 @@ const Cd = /* @__PURE__ */ Le(yd, [["render", Dd]]), xd = {
|
|
|
6241
6245
|
},
|
|
6242
6246
|
setup() {
|
|
6243
6247
|
return {
|
|
6244
|
-
v$:
|
|
6248
|
+
v$: Ta()
|
|
6245
6249
|
};
|
|
6246
6250
|
},
|
|
6247
6251
|
data() {
|
|
@@ -6290,6 +6294,9 @@ const Cd = /* @__PURE__ */ Le(yd, [["render", Dd]]), xd = {
|
|
|
6290
6294
|
...this.smsActivated ? [this.$t("_common:sms")] : []
|
|
6291
6295
|
].join(" & ") : this._document.isDirty("isManualDelivery") && this.clients.length ? this.$t("manualDelivery") : " ";
|
|
6292
6296
|
},
|
|
6297
|
+
isExpiresAtInPast() {
|
|
6298
|
+
return this.expiresAt ? new Date(this.expiresAt) < /* @__PURE__ */ new Date() : !1;
|
|
6299
|
+
},
|
|
6293
6300
|
clientsAreMissingContactInfo() {
|
|
6294
6301
|
return this.isManualDelivery ? !1 : this.clients.some(
|
|
6295
6302
|
(e) => !e.deliveryTypes.some(
|
|
@@ -6414,43 +6421,46 @@ const Cd = /* @__PURE__ */ Le(yd, [["render", Dd]]), xd = {
|
|
|
6414
6421
|
return !!(this.smsActivated && !t || ((n = this.defaultAnswerMethod) == null ? void 0 : n.accept) === "bankId" && !e);
|
|
6415
6422
|
}
|
|
6416
6423
|
}
|
|
6417
|
-
}, _d = { class: "@container flex h-full flex-col" }, kd = { class: "@md:px-8 @md:pb-8 @xl:px-16 @xl:pb-16 relative px-4 pb-4 pt-6" },
|
|
6424
|
+
}, _d = { class: "@container flex h-full flex-col" }, kd = { class: "@md:px-8 @md:pb-8 @xl:px-16 @xl:pb-16 relative px-4 pb-4 pt-6" }, Ad = { class: "pb-4 text-lg font-bold" }, Sd = {
|
|
6418
6425
|
key: 0,
|
|
6419
6426
|
class: "mb-6"
|
|
6420
6427
|
}, Md = { class: "pb-0.5 text-xs font-medium text-gray-900" }, Od = { class: "mb-6" }, Ed = {
|
|
6421
6428
|
key: 1,
|
|
6422
6429
|
class: "mb-8"
|
|
6423
|
-
}, Pd = { class: "block-title pb-0.5 text-xs font-medium text-gray-900" }, Bd = { class: "cb-card-group" },
|
|
6430
|
+
}, Pd = { class: "block-title pb-0.5 text-xs font-medium text-gray-900" }, Bd = { class: "cb-card-group" }, Id = ["onClick"], Fd = { class: "flex-grow" }, Td = { class: "cb-card-title flex items-center justify-between" }, Rd = {
|
|
6431
|
+
key: 2,
|
|
6432
|
+
class: "mb-2 flex items-start gap-2 rounded-md border border-amber-200 bg-amber-50 px-2.5 py-2"
|
|
6433
|
+
}, Vd = { class: "text-xs text-amber-700" }, Nd = { class: "font-semibold" }, Ld = {
|
|
6424
6434
|
class: "grid items-center gap-2",
|
|
6425
6435
|
style: { "grid-template-columns": "repeat(auto-fit, minmax(200px, 1fr))" }
|
|
6426
|
-
},
|
|
6436
|
+
}, Ud = { class: "psuedo-input-label" }, Wd = {
|
|
6427
6437
|
class: "psuedo-input",
|
|
6428
6438
|
tabindex: "0"
|
|
6429
|
-
},
|
|
6439
|
+
}, Yd = { class: "psuedo-input-label" }, Hd = ["innerHTML"], jd = {
|
|
6430
6440
|
key: 0,
|
|
6431
6441
|
class: "bg-primary-500 ml-2 rounded-full px-1.5 py-1 text-[10px] font-semibold leading-none text-white"
|
|
6432
|
-
},
|
|
6433
|
-
function
|
|
6434
|
-
const l =
|
|
6442
|
+
}, zd = { class: "psuedo-input-label" }, Jd = { class: "@md:px-8 @xl:px-16 px-4 pb-4" }, qd = { class: "flex" }, Kd = ["textContent"], Gd = { class: "flex-auto" };
|
|
6443
|
+
function Qd(e, t, n, a, r, o) {
|
|
6444
|
+
const l = T("CInput"), i = T("RecipientBlock"), s = T("CIcon"), d = T("CRadio"), c = T("ProBadge"), u = T("CButton"), y = T("DatePicker"), v = T("CDropdownItem"), g = T("CDropdown"), m = T("ErrorCallout"), p = T("IsPremiumPreStep"), b = T("IsPremium"), _ = Ba("tooltip");
|
|
6435
6445
|
return h(), D(b, null, {
|
|
6436
6446
|
default: w(({ canUseBankId: $, canUseSms: E }) => [
|
|
6437
|
-
|
|
6447
|
+
x("div", _d, [
|
|
6438
6448
|
(h(), D(ka(n.useScroll ? "Simplebar" : "div"), { class: "main-container" }, {
|
|
6439
6449
|
default: w(() => {
|
|
6440
6450
|
var B;
|
|
6441
6451
|
return [
|
|
6442
|
-
|
|
6443
|
-
|
|
6444
|
-
n.showName ? (h(),
|
|
6445
|
-
|
|
6452
|
+
x("div", kd, [
|
|
6453
|
+
x("div", Ad, C(e.$t("title")), 1),
|
|
6454
|
+
n.showName ? (h(), A("div", Sd, [
|
|
6455
|
+
x("div", Md, C(e.$t("nameLabel")), 1),
|
|
6446
6456
|
M(l, {
|
|
6447
6457
|
modelValue: e.name,
|
|
6448
6458
|
"onUpdate:modelValue": t[0] || (t[0] = (k) => e.name = k),
|
|
6449
6459
|
placeholder: e.$t("namePlaceholder"),
|
|
6450
6460
|
filled: ""
|
|
6451
6461
|
}, null, 8, ["modelValue", "placeholder"])
|
|
6452
|
-
])) :
|
|
6453
|
-
|
|
6462
|
+
])) : F("", !0),
|
|
6463
|
+
x("div", Od, [
|
|
6454
6464
|
M(i, {
|
|
6455
6465
|
_value: {
|
|
6456
6466
|
clients: "clients"
|
|
@@ -6464,24 +6474,24 @@ function qd(e, t, n, a, r, o) {
|
|
|
6464
6474
|
}, null, 8, ["_document", "set-form-value", "remove-form-value", "default-add-sender-client", "allow-edit-clients", "is-public-form"])
|
|
6465
6475
|
]),
|
|
6466
6476
|
O(e.$slots, "default", {}, void 0, !0),
|
|
6467
|
-
e.defaultAnswerMethod && o.signMethods.length > 1 ? (h(),
|
|
6468
|
-
|
|
6469
|
-
|
|
6477
|
+
e.defaultAnswerMethod && o.signMethods.length > 1 ? (h(), A("div", Ed, [
|
|
6478
|
+
x("div", Pd, [
|
|
6479
|
+
N(C(e.$t("signMethod.title")) + " ", 1),
|
|
6470
6480
|
ze(M(s, {
|
|
6471
6481
|
type: "info",
|
|
6472
6482
|
size: "14",
|
|
6473
6483
|
class: "ml-px text-gray-500"
|
|
6474
6484
|
}, null, 512), [
|
|
6475
|
-
[
|
|
6485
|
+
[_, e.$t("signMethod.tooltip")]
|
|
6476
6486
|
])
|
|
6477
6487
|
]),
|
|
6478
|
-
|
|
6479
|
-
(h(!0),
|
|
6488
|
+
x("div", Bd, [
|
|
6489
|
+
(h(!0), A(W, null, fe(o.signMethods, (k) => (h(), A("div", {
|
|
6480
6490
|
key: k.value,
|
|
6481
|
-
class:
|
|
6491
|
+
class: Ie([{
|
|
6482
6492
|
checked: e.defaultAnswerMethod.accept === k.value
|
|
6483
6493
|
}, "cb-card flex border-2 border-transparent hover:border-gray-300/30 hover:bg-gray-200"]),
|
|
6484
|
-
onClick: (
|
|
6494
|
+
onClick: (R) => e.defaultAnswerMethod.accept !== k.value ? o.setAnswerMethod(k.value) : null
|
|
6485
6495
|
}, [
|
|
6486
6496
|
M(d, {
|
|
6487
6497
|
"model-value": e.defaultAnswerMethod.accept,
|
|
@@ -6490,20 +6500,31 @@ function qd(e, t, n, a, r, o) {
|
|
|
6490
6500
|
size: "small",
|
|
6491
6501
|
class: "sign-radio pointer-events-none mr-3"
|
|
6492
6502
|
}, null, 8, ["model-value", "native-value"]),
|
|
6493
|
-
|
|
6494
|
-
|
|
6495
|
-
|
|
6496
|
-
k.value === "bankId" && !$ ? (h(), D(c, { key: 0 })) :
|
|
6503
|
+
x("div", Fd, [
|
|
6504
|
+
x("div", Td, [
|
|
6505
|
+
N(C(k.title) + " ", 1),
|
|
6506
|
+
k.value === "bankId" && !$ ? (h(), D(c, { key: 0 })) : F("", !0)
|
|
6497
6507
|
]),
|
|
6498
|
-
ze(
|
|
6508
|
+
ze(x("div", { class: "cb-card-body" }, C(k.content), 513), [
|
|
6499
6509
|
[Ea, e.defaultAnswerMethod.accept === k.value]
|
|
6500
6510
|
])
|
|
6501
6511
|
])
|
|
6502
|
-
], 10,
|
|
6512
|
+
], 10, Id))), 128))
|
|
6513
|
+
])
|
|
6514
|
+
])) : F("", !0),
|
|
6515
|
+
o.isExpiresAtInPast ? (h(), A("div", Rd, [
|
|
6516
|
+
M(s, {
|
|
6517
|
+
type: "warning",
|
|
6518
|
+
size: "14",
|
|
6519
|
+
class: "mt-px shrink-0 text-amber-600"
|
|
6520
|
+
}),
|
|
6521
|
+
x("div", Vd, [
|
|
6522
|
+
x("span", Nd, C(e.$t("expiresAtInPastTitle")), 1),
|
|
6523
|
+
N(" " + C(e.$t("expiresAtInPastText")), 1)
|
|
6503
6524
|
])
|
|
6504
|
-
])) :
|
|
6505
|
-
|
|
6506
|
-
|
|
6525
|
+
])) : F("", !0),
|
|
6526
|
+
x("div", Ld, [
|
|
6527
|
+
x("div", null, [
|
|
6507
6528
|
M(y, {
|
|
6508
6529
|
modelValue: e.expiresAt,
|
|
6509
6530
|
"onUpdate:modelValue": t[2] || (t[2] = (k) => e.expiresAt = k),
|
|
@@ -6512,8 +6533,8 @@ function qd(e, t, n, a, r, o) {
|
|
|
6512
6533
|
tabindex: "0"
|
|
6513
6534
|
}, {
|
|
6514
6535
|
default: w(() => [
|
|
6515
|
-
|
|
6516
|
-
|
|
6536
|
+
x("div", Ud, C(e.$t("validityPeriod")), 1),
|
|
6537
|
+
x("div", null, C(e.expiresAt ? e.$formatDate(e.expiresAt) : e.$t("_common:disabled").capitalize()), 1),
|
|
6517
6538
|
e.expiresAt ? (h(), D(u, {
|
|
6518
6539
|
key: 0,
|
|
6519
6540
|
icon: "x",
|
|
@@ -6527,7 +6548,7 @@ function qd(e, t, n, a, r, o) {
|
|
|
6527
6548
|
},
|
|
6528
6549
|
["prevent", "stop"]
|
|
6529
6550
|
))
|
|
6530
|
-
})) :
|
|
6551
|
+
})) : F("", !0)
|
|
6531
6552
|
]),
|
|
6532
6553
|
_: 1
|
|
6533
6554
|
}, 8, ["modelValue"])
|
|
@@ -6539,9 +6560,9 @@ function qd(e, t, n, a, r, o) {
|
|
|
6539
6560
|
expanded: ""
|
|
6540
6561
|
}, {
|
|
6541
6562
|
trigger: w(() => [
|
|
6542
|
-
|
|
6543
|
-
|
|
6544
|
-
|
|
6563
|
+
x("div", Wd, [
|
|
6564
|
+
x("div", Yd, C(e.$t("sendAs")), 1),
|
|
6565
|
+
x("div", { innerHTML: o.sendTypesText }, null, 8, Hd)
|
|
6545
6566
|
])
|
|
6546
6567
|
]),
|
|
6547
6568
|
default: w(() => [
|
|
@@ -6552,7 +6573,7 @@ function qd(e, t, n, a, r, o) {
|
|
|
6552
6573
|
onClick: t[3] || (t[3] = (k) => o.setDeliveryMethod("email", !o.emailActivated))
|
|
6553
6574
|
}, {
|
|
6554
6575
|
default: w(() => [
|
|
6555
|
-
|
|
6576
|
+
N(C(e.$t("_common:email").capitalize()), 1)
|
|
6556
6577
|
]),
|
|
6557
6578
|
_: 1
|
|
6558
6579
|
}, 8, ["value"]),
|
|
@@ -6564,11 +6585,11 @@ function qd(e, t, n, a, r, o) {
|
|
|
6564
6585
|
onClick: t[4] || (t[4] = (k) => o.setDeliveryMethod("sms", !o.smsActivated))
|
|
6565
6586
|
}, {
|
|
6566
6587
|
default: w(() => [
|
|
6567
|
-
|
|
6568
|
-
E ?
|
|
6588
|
+
N(C(e.$t("_common:sms")) + " ", 1),
|
|
6589
|
+
E ? F("", !0) : (h(), A("div", jd, " Pro "))
|
|
6569
6590
|
]),
|
|
6570
6591
|
_: 2
|
|
6571
|
-
}, 1032, ["value"])) :
|
|
6592
|
+
}, 1032, ["value"])) : F("", !0),
|
|
6572
6593
|
n.allowManualDelivery ? (h(), D(v, {
|
|
6573
6594
|
key: 1,
|
|
6574
6595
|
value: "",
|
|
@@ -6579,18 +6600,18 @@ function qd(e, t, n, a, r, o) {
|
|
|
6579
6600
|
o.setDeliveryMethod("sms", !1), o.setDeliveryMethod("email", !1), e._document.setDirty("isManualDelivery");
|
|
6580
6601
|
}),
|
|
6581
6602
|
textContent: C(e.$t("manualDelivery"))
|
|
6582
|
-
}, null, 8, ["tooltip", "textContent"])) :
|
|
6603
|
+
}, null, 8, ["tooltip", "textContent"])) : F("", !0)
|
|
6583
6604
|
]),
|
|
6584
6605
|
_: 2
|
|
6585
6606
|
}, 1032, ["disabled", "mobile-label"]),
|
|
6586
|
-
!o.useSignOrder && !o.isManualDelivery ? (h(),
|
|
6607
|
+
!o.useSignOrder && !o.isManualDelivery ? (h(), A("div", {
|
|
6587
6608
|
key: 0,
|
|
6588
6609
|
class: "psuedo-input relative",
|
|
6589
6610
|
tabindex: "0",
|
|
6590
6611
|
onClick: t[7] || (t[7] = (...k) => o.openReminders && o.openReminders(...k))
|
|
6591
6612
|
}, [
|
|
6592
|
-
|
|
6593
|
-
|
|
6613
|
+
x("div", zd, C(e.$t("_common:reminder_other").capitalize()), 1),
|
|
6614
|
+
x("div", null, C(o.noOfReminders ? `${o.noOfReminders} ${e.$i18n.lang === "sv" ? e.$t("_common:unitType.unit") : ""}` : e.$t("_common:disabled").capitalize()), 1),
|
|
6594
6615
|
o.noOfReminders ? (h(), D(u, {
|
|
6595
6616
|
key: 0,
|
|
6596
6617
|
icon: "x",
|
|
@@ -6599,26 +6620,26 @@ function qd(e, t, n, a, r, o) {
|
|
|
6599
6620
|
pattern: "secondary",
|
|
6600
6621
|
class: "absolute right-2.5 top-2",
|
|
6601
6622
|
onClick: t[6] || (t[6] = re((k) => e.reminders = [], ["prevent", "stop"]))
|
|
6602
|
-
})) :
|
|
6603
|
-
])) :
|
|
6623
|
+
})) : F("", !0)
|
|
6624
|
+
])) : F("", !0)
|
|
6604
6625
|
]),
|
|
6605
6626
|
o.clientsAreMissingContactInfo || (B = a.v$.isManualDelivery) != null && B.$invalid ? (h(), D(m, {
|
|
6606
|
-
key:
|
|
6627
|
+
key: 3,
|
|
6607
6628
|
message: o.clientsAreMissingContactInfo ? e.$t("clientsAreMissingContactInfo") : e.$t("missingDeliveryMethod"),
|
|
6608
6629
|
size: "small"
|
|
6609
|
-
}, null, 8, ["message"])) :
|
|
6630
|
+
}, null, 8, ["message"])) : F("", !0),
|
|
6610
6631
|
O(e.$slots, "content", {}, void 0, !0)
|
|
6611
6632
|
])
|
|
6612
6633
|
];
|
|
6613
6634
|
}),
|
|
6614
6635
|
_: 2
|
|
6615
6636
|
}, 1024)),
|
|
6616
|
-
|
|
6637
|
+
x("div", Jd, [
|
|
6617
6638
|
O(e.$slots, "send-header", {}, void 0, !0),
|
|
6618
6639
|
O(e.$slots, "send", {}, () => [
|
|
6619
6640
|
M(p, { feature: "bankIdAndSms" }, {
|
|
6620
6641
|
default: w(({ onClick: B }) => [
|
|
6621
|
-
|
|
6642
|
+
x("div", qd, [
|
|
6622
6643
|
n.showSave ? ze((h(), D(u, {
|
|
6623
6644
|
key: 0,
|
|
6624
6645
|
loading: o.isPosting,
|
|
@@ -6629,12 +6650,12 @@ function qd(e, t, n, a, r, o) {
|
|
|
6629
6650
|
onClick: t[8] || (t[8] = (k) => o.doSaveDocument({ doSend: !1 }))
|
|
6630
6651
|
}, null, 8, ["loading"])), [
|
|
6631
6652
|
[
|
|
6632
|
-
|
|
6653
|
+
_,
|
|
6633
6654
|
e.$t("_common:save", {
|
|
6634
6655
|
thing: e.$t("_common:document").toLowerCase()
|
|
6635
6656
|
})
|
|
6636
6657
|
]
|
|
6637
|
-
]) :
|
|
6658
|
+
]) : F("", !0),
|
|
6638
6659
|
n.showSchedule && !o.useSignOrder && !o.isManualDelivery ? (h(), D(u, {
|
|
6639
6660
|
key: 1,
|
|
6640
6661
|
disabled: o.isPosting || !e.clients.length,
|
|
@@ -6645,10 +6666,10 @@ function qd(e, t, n, a, r, o) {
|
|
|
6645
6666
|
onClick: o.openSendLater
|
|
6646
6667
|
}, {
|
|
6647
6668
|
default: w(() => [
|
|
6648
|
-
|
|
6669
|
+
x("span", {
|
|
6649
6670
|
class: "@md:!block !hidden",
|
|
6650
6671
|
textContent: C(e.$t("scheduledTooltip"))
|
|
6651
|
-
}, null, 8,
|
|
6672
|
+
}, null, 8, Kd),
|
|
6652
6673
|
M(s, {
|
|
6653
6674
|
class: "@md:!hidden",
|
|
6654
6675
|
type: "calendar",
|
|
@@ -6656,8 +6677,8 @@ function qd(e, t, n, a, r, o) {
|
|
|
6656
6677
|
})
|
|
6657
6678
|
]),
|
|
6658
6679
|
_: 1
|
|
6659
|
-
}, 8, ["disabled", "onClick"])) :
|
|
6660
|
-
ze((h(),
|
|
6680
|
+
}, 8, ["disabled", "onClick"])) : F("", !0),
|
|
6681
|
+
ze((h(), A("div", Gd, [
|
|
6661
6682
|
M(u, {
|
|
6662
6683
|
disabled: a.v$.$invalid,
|
|
6663
6684
|
loading: o.isPosting,
|
|
@@ -6672,13 +6693,13 @@ function qd(e, t, n, a, r, o) {
|
|
|
6672
6693
|
}) : o.doSendDocument()
|
|
6673
6694
|
}, {
|
|
6674
6695
|
default: w(() => [
|
|
6675
|
-
|
|
6696
|
+
N(C(e.$t("sendButton")), 1)
|
|
6676
6697
|
]),
|
|
6677
6698
|
_: 2
|
|
6678
6699
|
}, 1032, ["disabled", "loading", "onClick"])
|
|
6679
6700
|
])), [
|
|
6680
6701
|
[
|
|
6681
|
-
|
|
6702
|
+
_,
|
|
6682
6703
|
a.v$.$invalid ? {
|
|
6683
6704
|
content: e.clients.length ? e.$t("missingDeliveryMethod") : e.$t(
|
|
6684
6705
|
"components:account.documentForm.clients.errorMessage"
|
|
@@ -6698,7 +6719,7 @@ function qd(e, t, n, a, r, o) {
|
|
|
6698
6719
|
_: 3
|
|
6699
6720
|
});
|
|
6700
6721
|
}
|
|
6701
|
-
const
|
|
6722
|
+
const sc = /* @__PURE__ */ Le(xd, [["render", Qd], ["__scopeId", "data-v-d4d190d9"]]);
|
|
6702
6723
|
export {
|
|
6703
|
-
|
|
6724
|
+
sc as S
|
|
6704
6725
|
};
|