@veevarts/design-system 1.17.0-beta.4 → 1.17.0-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -32,7 +32,7 @@ import { Document as Xs } from "@tiptap/extension-document";
|
|
|
32
32
|
import { Text as el } from "@tiptap/extension-text";
|
|
33
33
|
import { Dropcursor as tl } from "@tiptap/extension-dropcursor";
|
|
34
34
|
import { Gapcursor as nl } from "@tiptap/extension-gapcursor";
|
|
35
|
-
function
|
|
35
|
+
function Pf({ children: e }) {
|
|
36
36
|
return /* @__PURE__ */ a(Ui, { children: e });
|
|
37
37
|
}
|
|
38
38
|
const Q = ft(
|
|
@@ -814,7 +814,7 @@ function Dl({
|
|
|
814
814
|
}
|
|
815
815
|
);
|
|
816
816
|
}
|
|
817
|
-
function
|
|
817
|
+
function zf({
|
|
818
818
|
logo: e,
|
|
819
819
|
languages: t = [],
|
|
820
820
|
selectedLanguage: n,
|
|
@@ -862,7 +862,7 @@ function Of({
|
|
|
862
862
|
}
|
|
863
863
|
);
|
|
864
864
|
}
|
|
865
|
-
function
|
|
865
|
+
function Rf(e) {
|
|
866
866
|
return /* @__PURE__ */ a("div", { className: "min-h-screen flex flex-col", children: /* @__PURE__ */ a("div", { className: "flex-1 flex items-center justify-center p-12", children: /* @__PURE__ */ a(
|
|
867
867
|
ze,
|
|
868
868
|
{
|
|
@@ -1122,7 +1122,7 @@ const Ml = q.forwardRef(
|
|
|
1122
1122
|
}
|
|
1123
1123
|
);
|
|
1124
1124
|
Ml.displayName = "Stepper";
|
|
1125
|
-
function
|
|
1125
|
+
function Vf(e) {
|
|
1126
1126
|
return /* @__PURE__ */ a("div", { className: "min-h-screen flex flex-col", children: /* @__PURE__ */ a("div", { className: "flex-1 flex items-center justify-center p-12", children: /* @__PURE__ */ a(
|
|
1127
1127
|
ze,
|
|
1128
1128
|
{
|
|
@@ -1161,7 +1161,7 @@ function Fl(e, t, n = "en-US") {
|
|
|
1161
1161
|
function Cr(e, t, n, r) {
|
|
1162
1162
|
return Fl(e - t, n, r);
|
|
1163
1163
|
}
|
|
1164
|
-
function
|
|
1164
|
+
function Bf() {
|
|
1165
1165
|
return /* @__PURE__ */ f(
|
|
1166
1166
|
"footer",
|
|
1167
1167
|
{
|
|
@@ -1174,7 +1174,7 @@ function Rf() {
|
|
|
1174
1174
|
}
|
|
1175
1175
|
);
|
|
1176
1176
|
}
|
|
1177
|
-
const
|
|
1177
|
+
const Uf = (e) => {
|
|
1178
1178
|
const t = ce(
|
|
1179
1179
|
() => JSON.stringify({ allItems: e.allItems, selected: e.selected }),
|
|
1180
1180
|
[e.allItems, e.selected]
|
|
@@ -4351,7 +4351,7 @@ const sn = ({
|
|
|
4351
4351
|
}) => /* @__PURE__ */ f("div", { className: "flex items-center gap-2 text-sm text-gray-600", "data-testid": n, children: [
|
|
4352
4352
|
/* @__PURE__ */ a(U, { icon: e, width: 20, className: "text-default-500" }),
|
|
4353
4353
|
/* @__PURE__ */ a("span", { children: t })
|
|
4354
|
-
] }),
|
|
4354
|
+
] }), jf = ({
|
|
4355
4355
|
classes: e = "",
|
|
4356
4356
|
name: t,
|
|
4357
4357
|
imageUrl: n,
|
|
@@ -4474,7 +4474,7 @@ function Rr(e, t = "en-US", n = "USD") {
|
|
|
4474
4474
|
return console.warn(`Invalid currency formatting: ${r}`), `${n} ${e.toFixed(2)}`;
|
|
4475
4475
|
}
|
|
4476
4476
|
}
|
|
4477
|
-
function
|
|
4477
|
+
function Hf(e) {
|
|
4478
4478
|
const t = e.replace(/[^\d.,-]/g, ""), n = t.match(/,\d{1,2}$/);
|
|
4479
4479
|
let r;
|
|
4480
4480
|
n ? r = t.replace(/\./g, "").replace(",", ".") : r = t.replace(/,/g, "");
|
|
@@ -6260,10 +6260,10 @@ function qc(e = {}) {
|
|
|
6260
6260
|
s._state.mount || (s._setValid(), s._state.mount = !0), s._state.watch && (s._state.watch = !1, s._subjects.state.next({ ...s._formState })), s._removeUnmounted();
|
|
6261
6261
|
}), t.current.formState = q.useMemo(() => di(r, s), [s, r]), t.current;
|
|
6262
6262
|
}
|
|
6263
|
-
function
|
|
6263
|
+
function qf(e, t = 3) {
|
|
6264
6264
|
return e % 1 === 0 ? e.toString() : e.toFixed(t).replace(/\.?0+$/, "");
|
|
6265
6265
|
}
|
|
6266
|
-
function
|
|
6266
|
+
function Wf(e, t = "en-US", n = "USD") {
|
|
6267
6267
|
try {
|
|
6268
6268
|
return new Intl.NumberFormat(t, {
|
|
6269
6269
|
style: "currency",
|
|
@@ -6275,7 +6275,7 @@ function Hf(e, t = "en-US", n = "USD") {
|
|
|
6275
6275
|
return console.warn(`Invalid currency formatting: ${r}`), `${n} ${e.toFixed(2)}`;
|
|
6276
6276
|
}
|
|
6277
6277
|
}
|
|
6278
|
-
function
|
|
6278
|
+
function Yf(e = "USD", t = "en-US") {
|
|
6279
6279
|
try {
|
|
6280
6280
|
return new Intl.NumberFormat(t, {
|
|
6281
6281
|
style: "currency",
|
|
@@ -6285,14 +6285,14 @@ function qf(e = "USD", t = "en-US") {
|
|
|
6285
6285
|
return "$";
|
|
6286
6286
|
}
|
|
6287
6287
|
}
|
|
6288
|
-
function
|
|
6288
|
+
function Gf(e) {
|
|
6289
6289
|
const t = e.replace(/[^\d.,-]/g, ""), n = t.match(/,\d{1,2}$/);
|
|
6290
6290
|
let r;
|
|
6291
6291
|
n ? r = t.replace(/\./g, "").replace(",", ".") : r = t.replace(/,/g, "");
|
|
6292
6292
|
const i = parseFloat(r);
|
|
6293
6293
|
return isNaN(i) ? null : i;
|
|
6294
6294
|
}
|
|
6295
|
-
function
|
|
6295
|
+
function Kf(e, t, n = 1e-3) {
|
|
6296
6296
|
const r = e - t, i = Math.abs(r) <= n;
|
|
6297
6297
|
return {
|
|
6298
6298
|
difference: r,
|
|
@@ -6788,7 +6788,7 @@ function rd() {
|
|
|
6788
6788
|
);
|
|
6789
6789
|
}
|
|
6790
6790
|
const ad = (e) => Number.isFinite(e) ? Math.max(0, Math.min(100, Math.round(e * 100) / 100)) : 0, id = (e) => e.fund !== null;
|
|
6791
|
-
function
|
|
6791
|
+
function Qf({
|
|
6792
6792
|
assignments: e,
|
|
6793
6793
|
funds: t,
|
|
6794
6794
|
labels: n,
|
|
@@ -7180,7 +7180,7 @@ function ld({
|
|
|
7180
7180
|
}
|
|
7181
7181
|
);
|
|
7182
7182
|
}
|
|
7183
|
-
function
|
|
7183
|
+
function Zf() {
|
|
7184
7184
|
return /* @__PURE__ */ f(
|
|
7185
7185
|
"section",
|
|
7186
7186
|
{
|
|
@@ -7209,7 +7209,7 @@ const od = {
|
|
|
7209
7209
|
remainingBalance: "Remaining Balance",
|
|
7210
7210
|
amountReceived: "Amount Received:"
|
|
7211
7211
|
};
|
|
7212
|
-
function
|
|
7212
|
+
function Jf({
|
|
7213
7213
|
totalAmount: e,
|
|
7214
7214
|
remainingBalance: t,
|
|
7215
7215
|
amountReceived: n,
|
|
@@ -7348,7 +7348,7 @@ const gd = {
|
|
|
7348
7348
|
const t = e % 100 >= 11 && e % 100 <= 13 ? "th" : e % 10 === 1 ? "st" : e % 10 === 2 ? "nd" : e % 10 === 3 ? "rd" : "th";
|
|
7349
7349
|
return `${e}${t}`;
|
|
7350
7350
|
};
|
|
7351
|
-
function
|
|
7351
|
+
function Xf({
|
|
7352
7352
|
mode: e,
|
|
7353
7353
|
donationAmount: t,
|
|
7354
7354
|
currency: n = "USD",
|
|
@@ -7828,7 +7828,7 @@ function Ed({
|
|
|
7828
7828
|
}
|
|
7829
7829
|
);
|
|
7830
7830
|
}
|
|
7831
|
-
function
|
|
7831
|
+
function em() {
|
|
7832
7832
|
return /* @__PURE__ */ f(
|
|
7833
7833
|
"section",
|
|
7834
7834
|
{
|
|
@@ -7911,7 +7911,7 @@ const Xr = {
|
|
|
7911
7911
|
wrapper: "!absolute !inset-0 !z-50 !items-center !justify-center !p-4",
|
|
7912
7912
|
backdrop: "!absolute !inset-0 !z-40 rounded-2xl"
|
|
7913
7913
|
};
|
|
7914
|
-
function
|
|
7914
|
+
function tm({
|
|
7915
7915
|
installments: e,
|
|
7916
7916
|
currency: t,
|
|
7917
7917
|
locale: n = "en-US",
|
|
@@ -8259,7 +8259,7 @@ const Td = {
|
|
|
8259
8259
|
title: "Select Membership",
|
|
8260
8260
|
renewalTitle: "Automatic Renewal",
|
|
8261
8261
|
renewalDescription: "Membership will automatically renew at the end of each period"
|
|
8262
|
-
},
|
|
8262
|
+
}, nm = ({
|
|
8263
8263
|
cards: e,
|
|
8264
8264
|
locale: t,
|
|
8265
8265
|
currency: n,
|
|
@@ -9047,7 +9047,7 @@ const Hd = ({ title: e, value: t, description: n, onValueChange: r, className: i
|
|
|
9047
9047
|
}
|
|
9048
9048
|
)
|
|
9049
9049
|
] });
|
|
9050
|
-
},
|
|
9050
|
+
}, rm = ({
|
|
9051
9051
|
initialExpanded: e = !1,
|
|
9052
9052
|
userMaxLimit: t,
|
|
9053
9053
|
labels: n,
|
|
@@ -9470,6 +9470,31 @@ const du = {
|
|
|
9470
9470
|
}
|
|
9471
9471
|
);
|
|
9472
9472
|
uu.displayName = "StatusChip";
|
|
9473
|
+
const fu = {
|
|
9474
|
+
sm: "gap-1 rounded-md px-2 py-0.5 text-[11.5px] leading-normal",
|
|
9475
|
+
md: "gap-1.5 rounded-lg px-2.5 py-1 text-xs leading-normal"
|
|
9476
|
+
}, mu = ({
|
|
9477
|
+
label: e,
|
|
9478
|
+
value: t,
|
|
9479
|
+
size: n = "sm",
|
|
9480
|
+
className: r,
|
|
9481
|
+
"data-testid": i = "dimension-chip"
|
|
9482
|
+
}) => /* @__PURE__ */ f(
|
|
9483
|
+
"span",
|
|
9484
|
+
{
|
|
9485
|
+
"data-testid": i,
|
|
9486
|
+
className: g(
|
|
9487
|
+
"inline-flex items-baseline whitespace-nowrap border border-default-200 bg-default-100",
|
|
9488
|
+
fu[n],
|
|
9489
|
+
r
|
|
9490
|
+
),
|
|
9491
|
+
children: [
|
|
9492
|
+
/* @__PURE__ */ a("span", { className: "font-medium text-default-400", children: e }),
|
|
9493
|
+
/* @__PURE__ */ a("span", { className: "font-semibold text-default-700", children: t })
|
|
9494
|
+
]
|
|
9495
|
+
}
|
|
9496
|
+
);
|
|
9497
|
+
mu.displayName = "DimensionChip";
|
|
9473
9498
|
const $i = {
|
|
9474
9499
|
2: "sm:grid-cols-2",
|
|
9475
9500
|
3: "sm:grid-cols-3",
|
|
@@ -9477,7 +9502,7 @@ const $i = {
|
|
|
9477
9502
|
}, Ai = {
|
|
9478
9503
|
1: "grid-cols-1",
|
|
9479
9504
|
2: "grid-cols-2"
|
|
9480
|
-
},
|
|
9505
|
+
}, hu = (e) => typeof e == "string" ? /* @__PURE__ */ a(U, { icon: e, width: 16, height: 16, "aria-hidden": "true", className: "text-gray-400" }) : e, pu = ({
|
|
9481
9506
|
options: e,
|
|
9482
9507
|
selectedKeys: t,
|
|
9483
9508
|
onChange: n,
|
|
@@ -9555,7 +9580,7 @@ const $i = {
|
|
|
9555
9580
|
),
|
|
9556
9581
|
/* @__PURE__ */ f("span", { className: "flex min-w-0 flex-col", children: [
|
|
9557
9582
|
/* @__PURE__ */ f("span", { className: "flex items-center gap-1.5", children: [
|
|
9558
|
-
v.icon ?
|
|
9583
|
+
v.icon ? hu(v.icon) : null,
|
|
9559
9584
|
/* @__PURE__ */ a("span", { className: "text-sm font-medium text-gray-900", children: v.label })
|
|
9560
9585
|
] }),
|
|
9561
9586
|
v.description ? /* @__PURE__ */ a(
|
|
@@ -9591,8 +9616,8 @@ const $i = {
|
|
|
9591
9616
|
}
|
|
9592
9617
|
);
|
|
9593
9618
|
};
|
|
9594
|
-
|
|
9595
|
-
const
|
|
9619
|
+
pu.displayName = "CheckboxCardGroup";
|
|
9620
|
+
const gu = ({
|
|
9596
9621
|
isLoading: e = !1,
|
|
9597
9622
|
isError: t = !1,
|
|
9598
9623
|
isEmpty: n = !1,
|
|
@@ -9651,14 +9676,14 @@ const hu = ({
|
|
|
9651
9676
|
}
|
|
9652
9677
|
);
|
|
9653
9678
|
};
|
|
9654
|
-
|
|
9655
|
-
const
|
|
9679
|
+
gu.displayName = "ListPanel";
|
|
9680
|
+
const bu = 350, yu = {
|
|
9656
9681
|
receivedLabel: "Cash Received",
|
|
9657
9682
|
receivedPlaceholder: "$0.00",
|
|
9658
9683
|
changeLabel: "Change",
|
|
9659
9684
|
changeMessageTemplate: "You have to give back the client {change} in change",
|
|
9660
9685
|
insufficientMessageTemplate: "Amount received must be at least {due}"
|
|
9661
|
-
}, mn = (e, t) => Object.entries(t).reduce((n, [r, i]) => n.replace(`{${r}}`, i), e),
|
|
9686
|
+
}, mn = (e, t) => Object.entries(t).reduce((n, [r, i]) => n.replace(`{${r}}`, i), e), am = ({
|
|
9662
9687
|
dueAmount: e,
|
|
9663
9688
|
received: t,
|
|
9664
9689
|
defaultReceived: n = null,
|
|
@@ -9671,7 +9696,7 @@ const pu = 350, gu = {
|
|
|
9671
9696
|
className: d,
|
|
9672
9697
|
"data-testid": u = "cash-tender-form"
|
|
9673
9698
|
}) => {
|
|
9674
|
-
const h = { ...
|
|
9699
|
+
const h = { ...yu, ...s }, x = Ha(e.currency, i), m = t !== void 0, [w, S] = W(n ?? null), b = m ? t : w, N = ce(() => {
|
|
9675
9700
|
const L = typeof b == "number" && Number.isFinite(b) ? b : 0, _ = Cr(L, e.value, e.currency, i);
|
|
9676
9701
|
return {
|
|
9677
9702
|
received: L,
|
|
@@ -9701,7 +9726,7 @@ const pu = 350, gu = {
|
|
|
9701
9726
|
), y = b == null ? "" : String(b), v = N.isValid && N.change > 0, E = !N.isValid && N.received > 0, F = et(N.change, i, e.currency), O = et(e.value, i, e.currency), [A, z] = W(""), M = Pe(null);
|
|
9702
9727
|
De(() => {
|
|
9703
9728
|
M.current && clearTimeout(M.current);
|
|
9704
|
-
const L = v ? mn(h.changeMessageTemplate, { change: F }) : "", _ = v ?
|
|
9729
|
+
const L = v ? mn(h.changeMessageTemplate, { change: F }) : "", _ = v ? bu : 0;
|
|
9705
9730
|
return M.current = setTimeout(() => z(L), _), () => {
|
|
9706
9731
|
M.current && clearTimeout(M.current);
|
|
9707
9732
|
};
|
|
@@ -9769,7 +9794,7 @@ const pu = 350, gu = {
|
|
|
9769
9794
|
),
|
|
9770
9795
|
/* @__PURE__ */ a("span", { role: "status", "aria-live": "polite", className: "sr-only", children: A })
|
|
9771
9796
|
] });
|
|
9772
|
-
},
|
|
9797
|
+
}, xu = {
|
|
9773
9798
|
checkNumberLabel: "Check Number",
|
|
9774
9799
|
checkNumberPlaceholder: "e.g. 11234",
|
|
9775
9800
|
bankNameLabel: "Bank Name",
|
|
@@ -9779,7 +9804,7 @@ const pu = 350, gu = {
|
|
|
9779
9804
|
}, la = () => {
|
|
9780
9805
|
const e = /* @__PURE__ */ new Date(), t = (n) => String(n).padStart(2, "0");
|
|
9781
9806
|
return `${e.getFullYear()}-${t(e.getMonth() + 1)}-${t(e.getDate())}`;
|
|
9782
|
-
},
|
|
9807
|
+
}, vu = ({
|
|
9783
9808
|
dueAmount: e,
|
|
9784
9809
|
value: t,
|
|
9785
9810
|
defaultValue: n,
|
|
@@ -9797,7 +9822,7 @@ const pu = 350, gu = {
|
|
|
9797
9822
|
className: h,
|
|
9798
9823
|
"data-testid": x = "check-tender-form"
|
|
9799
9824
|
}) => {
|
|
9800
|
-
const m = { ...
|
|
9825
|
+
const m = { ...xu, ...i }, w = t !== void 0, [S, b] = W({
|
|
9801
9826
|
checkNumber: n?.checkNumber ?? "",
|
|
9802
9827
|
bankName: n?.bankName ?? "",
|
|
9803
9828
|
date: n?.date ?? la()
|
|
@@ -9889,8 +9914,8 @@ const pu = 350, gu = {
|
|
|
9889
9914
|
)
|
|
9890
9915
|
] });
|
|
9891
9916
|
};
|
|
9892
|
-
|
|
9893
|
-
const
|
|
9917
|
+
vu.displayName = "CheckTenderForm";
|
|
9918
|
+
const wu = {
|
|
9894
9919
|
// "Method" (not "Payment Method") because the orchestrator chrome
|
|
9895
9920
|
// typically renders a "Payment Method" heading right above this
|
|
9896
9921
|
// form's section — using the shorter label avoids the duplicate.
|
|
@@ -9899,15 +9924,15 @@ const xu = {
|
|
|
9899
9924
|
referenceLabel: "Reference",
|
|
9900
9925
|
referencePlaceholder: "e.g. Voucher #1234",
|
|
9901
9926
|
methodRequiredMessage: "Method is required"
|
|
9902
|
-
},
|
|
9927
|
+
}, Nu = [
|
|
9903
9928
|
{ value: "ach", label: "ACH" },
|
|
9904
9929
|
{ value: "wire", label: "Wire" },
|
|
9905
9930
|
{ value: "gift_card", label: "Gift Card" },
|
|
9906
9931
|
{ value: "voucher", label: "Voucher" },
|
|
9907
9932
|
{ value: "other", label: "Other" }
|
|
9908
|
-
],
|
|
9933
|
+
], ku = ({
|
|
9909
9934
|
dueAmount: e,
|
|
9910
|
-
methodOptions: t =
|
|
9935
|
+
methodOptions: t = Nu,
|
|
9911
9936
|
value: n,
|
|
9912
9937
|
defaultValue: r,
|
|
9913
9938
|
onChange: i,
|
|
@@ -9920,7 +9945,7 @@ const xu = {
|
|
|
9920
9945
|
className: c,
|
|
9921
9946
|
"data-testid": d = "other-tender-form"
|
|
9922
9947
|
}) => {
|
|
9923
|
-
const u = { ...
|
|
9948
|
+
const u = { ...wu, ...s }, h = n !== void 0, [x, m] = W({
|
|
9924
9949
|
method: r?.method ?? "",
|
|
9925
9950
|
reference: r?.reference ?? ""
|
|
9926
9951
|
}), w = ce(
|
|
@@ -10022,8 +10047,8 @@ const xu = {
|
|
|
10022
10047
|
)
|
|
10023
10048
|
] });
|
|
10024
10049
|
};
|
|
10025
|
-
|
|
10026
|
-
const
|
|
10050
|
+
ku.displayName = "OtherTenderForm";
|
|
10051
|
+
const Cu = {
|
|
10027
10052
|
collectedHeading: "Collected",
|
|
10028
10053
|
remainingLabel: "Remaining:",
|
|
10029
10054
|
completeLabel: "Complete",
|
|
@@ -10032,16 +10057,16 @@ const Nu = {
|
|
|
10032
10057
|
statusPending: "Pending",
|
|
10033
10058
|
statusRecorded: "Approved",
|
|
10034
10059
|
statusFailed: "Failed"
|
|
10035
|
-
},
|
|
10060
|
+
}, Su = {
|
|
10036
10061
|
card: "lucide:credit-card",
|
|
10037
10062
|
cash: "lucide:dollar-sign",
|
|
10038
10063
|
check: "lucide:edit-3",
|
|
10039
10064
|
other: "lucide:more-horizontal"
|
|
10040
|
-
},
|
|
10065
|
+
}, $u = {
|
|
10041
10066
|
pending: "warning",
|
|
10042
10067
|
recorded: "success",
|
|
10043
10068
|
failed: "danger"
|
|
10044
|
-
},
|
|
10069
|
+
}, Au = (e) => e === "pending" || e === "recorded", Du = (e) => `#${e + 1}`, Eu = ({
|
|
10045
10070
|
total: e,
|
|
10046
10071
|
tenders: t,
|
|
10047
10072
|
onRemove: n,
|
|
@@ -10051,8 +10076,8 @@ const Nu = {
|
|
|
10051
10076
|
className: o,
|
|
10052
10077
|
"data-testid": l = "split-payment-summary"
|
|
10053
10078
|
}) => {
|
|
10054
|
-
const c = { ...
|
|
10055
|
-
const m = t.reduce((S, b) =>
|
|
10079
|
+
const c = { ...Cu, ...i }, { collected: d, remaining: u, isComplete: h } = ce(() => {
|
|
10080
|
+
const m = t.reduce((S, b) => Au(b.status) ? S + b.amount : S, 0), w = Math.max(e.value - m, 0);
|
|
10056
10081
|
return {
|
|
10057
10082
|
collected: m,
|
|
10058
10083
|
remaining: w,
|
|
@@ -10081,7 +10106,7 @@ const Nu = {
|
|
|
10081
10106
|
!s && t.length > 0 && /* @__PURE__ */ f("div", { className: "flex flex-col gap-2", "data-testid": `${l}-collected-list`, children: [
|
|
10082
10107
|
/* @__PURE__ */ a("h3", { className: "text-base font-semibold", children: c.collectedHeading }),
|
|
10083
10108
|
t.map((m, w) => /* @__PURE__ */ a(
|
|
10084
|
-
|
|
10109
|
+
Iu,
|
|
10085
10110
|
{
|
|
10086
10111
|
index: w,
|
|
10087
10112
|
tender: m,
|
|
@@ -10099,8 +10124,8 @@ const Nu = {
|
|
|
10099
10124
|
] })
|
|
10100
10125
|
] });
|
|
10101
10126
|
};
|
|
10102
|
-
|
|
10103
|
-
const
|
|
10127
|
+
Eu.displayName = "SplitPaymentSummary";
|
|
10128
|
+
const Iu = ({
|
|
10104
10129
|
index: e,
|
|
10105
10130
|
tender: t,
|
|
10106
10131
|
locale: n,
|
|
@@ -10135,11 +10160,11 @@ const Du = ({
|
|
|
10135
10160
|
className: "flex items-center gap-3 rounded-xl bg-default-50 px-4 py-3 motion-safe:animate-[pp-row-in_200ms_ease-out]",
|
|
10136
10161
|
"data-testid": d,
|
|
10137
10162
|
children: [
|
|
10138
|
-
/* @__PURE__ */ a("span", { className: "text-sm font-medium text-default-500 w-6 shrink-0", children:
|
|
10163
|
+
/* @__PURE__ */ a("span", { className: "text-sm font-medium text-default-500 w-6 shrink-0", children: Du(e) }),
|
|
10139
10164
|
/* @__PURE__ */ a(
|
|
10140
10165
|
U,
|
|
10141
10166
|
{
|
|
10142
|
-
icon:
|
|
10167
|
+
icon: Su[t.type],
|
|
10143
10168
|
width: 20,
|
|
10144
10169
|
height: 20,
|
|
10145
10170
|
className: "text-default-700 shrink-0",
|
|
@@ -10154,7 +10179,7 @@ const Du = ({
|
|
|
10154
10179
|
size: "sm",
|
|
10155
10180
|
radius: "full",
|
|
10156
10181
|
variant: "flat",
|
|
10157
|
-
color:
|
|
10182
|
+
color: $u[t.status],
|
|
10158
10183
|
startContent: t.status === "recorded" ? /* @__PURE__ */ a(U, { icon: "lucide:check-circle", width: 14, height: 14, "aria-hidden": "true" }) : t.status === "failed" ? /* @__PURE__ */ a(U, { icon: "lucide:alert-circle", width: 14, height: 14, "aria-hidden": "true" }) : void 0,
|
|
10159
10184
|
"data-testid": `${d}-status`,
|
|
10160
10185
|
children: o
|
|
@@ -10164,7 +10189,7 @@ const Du = ({
|
|
|
10164
10189
|
]
|
|
10165
10190
|
}
|
|
10166
10191
|
);
|
|
10167
|
-
},
|
|
10192
|
+
}, Mu = `
|
|
10168
10193
|
@keyframes pp-modal-in {
|
|
10169
10194
|
from { opacity: 0; transform: scale(0.96); }
|
|
10170
10195
|
to { opacity: 1; transform: scale(1); }
|
|
@@ -10189,9 +10214,9 @@ const Du = ({
|
|
|
10189
10214
|
from { opacity: 0; transform: translateY(-6px); }
|
|
10190
10215
|
to { opacity: 1; transform: translateY(0); }
|
|
10191
10216
|
}
|
|
10192
|
-
`,
|
|
10217
|
+
`, Fu = q.forwardRef(
|
|
10193
10218
|
({ children: e, relativeOverlayRoot: t = !0, className: n, style: r, "data-testid": i = "modal-shell" }, s) => /* @__PURE__ */ f(be, { children: [
|
|
10194
|
-
/* @__PURE__ */ a("style", { children:
|
|
10219
|
+
/* @__PURE__ */ a("style", { children: Mu }),
|
|
10195
10220
|
/* @__PURE__ */ a(
|
|
10196
10221
|
"div",
|
|
10197
10222
|
{
|
|
@@ -10230,8 +10255,8 @@ const Du = ({
|
|
|
10230
10255
|
)
|
|
10231
10256
|
] })
|
|
10232
10257
|
);
|
|
10233
|
-
|
|
10234
|
-
const
|
|
10258
|
+
Fu.displayName = "ModalShell";
|
|
10259
|
+
const Lu = ({
|
|
10235
10260
|
title: e,
|
|
10236
10261
|
onClose: t,
|
|
10237
10262
|
closeLabel: n = "Close",
|
|
@@ -10257,8 +10282,8 @@ const Mu = ({
|
|
|
10257
10282
|
)
|
|
10258
10283
|
] })
|
|
10259
10284
|
] });
|
|
10260
|
-
|
|
10261
|
-
const
|
|
10285
|
+
Lu.displayName = "ModalShellHeader";
|
|
10286
|
+
const Tu = ({
|
|
10262
10287
|
children: e,
|
|
10263
10288
|
columns: t = 2,
|
|
10264
10289
|
className: n,
|
|
@@ -10292,8 +10317,8 @@ const Fu = ({
|
|
|
10292
10317
|
children: e
|
|
10293
10318
|
}
|
|
10294
10319
|
);
|
|
10295
|
-
|
|
10296
|
-
const hn = (e) => typeof e == "string" ? /* @__PURE__ */ a(U, { icon: e, width: 20, height: 20, "aria-hidden": "true" }) : e,
|
|
10320
|
+
Tu.displayName = "ModalShellFooter";
|
|
10321
|
+
const hn = (e) => typeof e == "string" ? /* @__PURE__ */ a(U, { icon: e, width: 20, height: 20, "aria-hidden": "true" }) : e, _u = ({
|
|
10297
10322
|
options: e,
|
|
10298
10323
|
selectedKey: t,
|
|
10299
10324
|
onSelect: n,
|
|
@@ -10412,8 +10437,8 @@ const hn = (e) => typeof e == "string" ? /* @__PURE__ */ a(U, { icon: e, width:
|
|
|
10412
10437
|
)
|
|
10413
10438
|
] });
|
|
10414
10439
|
};
|
|
10415
|
-
|
|
10416
|
-
const
|
|
10440
|
+
_u.displayName = "TileSelect";
|
|
10441
|
+
const Ou = {
|
|
10417
10442
|
subtle: {
|
|
10418
10443
|
wrapper: "bg-default-100",
|
|
10419
10444
|
amount: "text-default-900"
|
|
@@ -10422,7 +10447,7 @@ const Tu = {
|
|
|
10422
10447
|
wrapper: "bg-success-50 text-success-700",
|
|
10423
10448
|
amount: "text-success-700"
|
|
10424
10449
|
}
|
|
10425
|
-
},
|
|
10450
|
+
}, Pu = ({
|
|
10426
10451
|
total: e,
|
|
10427
10452
|
label: t,
|
|
10428
10453
|
locale: n = "en-US",
|
|
@@ -10430,7 +10455,7 @@ const Tu = {
|
|
|
10430
10455
|
className: i,
|
|
10431
10456
|
"data-testid": s = "payment-total-banner"
|
|
10432
10457
|
}) => {
|
|
10433
|
-
const o =
|
|
10458
|
+
const o = Ou[r];
|
|
10434
10459
|
return /* @__PURE__ */ f(
|
|
10435
10460
|
"div",
|
|
10436
10461
|
{
|
|
@@ -10450,8 +10475,8 @@ const Tu = {
|
|
|
10450
10475
|
}
|
|
10451
10476
|
);
|
|
10452
10477
|
};
|
|
10453
|
-
|
|
10454
|
-
const
|
|
10478
|
+
Pu.displayName = "PaymentTotalBanner";
|
|
10479
|
+
const zu = {
|
|
10455
10480
|
// ~70% white + slight blur — matches Type=Processing.png design:
|
|
10456
10481
|
// the form behind (tabs, fields, totals) stays VISIBLY dimmed
|
|
10457
10482
|
// instead of being almost-fully-occluded. Gives the cashier a
|
|
@@ -10459,7 +10484,7 @@ const Ou = {
|
|
|
10459
10484
|
// clear the modal is busy.
|
|
10460
10485
|
white: "bg-white/70 backdrop-blur-sm",
|
|
10461
10486
|
transparent: "bg-transparent"
|
|
10462
|
-
},
|
|
10487
|
+
}, Ru = ({
|
|
10463
10488
|
title: e,
|
|
10464
10489
|
subtitle: t,
|
|
10465
10490
|
backdrop: n = "white",
|
|
@@ -10476,7 +10501,7 @@ const Ou = {
|
|
|
10476
10501
|
"data-state": r ? "exiting" : "visible",
|
|
10477
10502
|
className: g(
|
|
10478
10503
|
"absolute inset-0 z-10 flex flex-col items-center justify-center gap-4 rounded-3xl",
|
|
10479
|
-
|
|
10504
|
+
zu[n],
|
|
10480
10505
|
// Two animation modes:
|
|
10481
10506
|
// visible → fade-in entrance (150ms).
|
|
10482
10507
|
// exiting → fade-out + non-interactive; `forwards` fill
|
|
@@ -10502,7 +10527,7 @@ const Ou = {
|
|
|
10502
10527
|
]
|
|
10503
10528
|
}
|
|
10504
10529
|
);
|
|
10505
|
-
|
|
10530
|
+
Ru.displayName = "LoadingOverlay";
|
|
10506
10531
|
const Di = ({
|
|
10507
10532
|
cashChange: e,
|
|
10508
10533
|
label: t = "Cash to return",
|
|
@@ -10581,7 +10606,7 @@ const Di = ({
|
|
|
10581
10606
|
);
|
|
10582
10607
|
};
|
|
10583
10608
|
Di.displayName = "PaymentCashChangeBanner";
|
|
10584
|
-
const
|
|
10609
|
+
const Vu = ({
|
|
10585
10610
|
title: e,
|
|
10586
10611
|
subtitle: t,
|
|
10587
10612
|
emailLine: n,
|
|
@@ -10662,8 +10687,8 @@ const zu = ({
|
|
|
10662
10687
|
}
|
|
10663
10688
|
);
|
|
10664
10689
|
};
|
|
10665
|
-
|
|
10666
|
-
const
|
|
10690
|
+
Vu.displayName = "PaymentSuccessView";
|
|
10691
|
+
const Bu = ({
|
|
10667
10692
|
heading: e,
|
|
10668
10693
|
amountLabel: t,
|
|
10669
10694
|
value: n,
|
|
@@ -10728,8 +10753,8 @@ const Ru = ({
|
|
|
10728
10753
|
}
|
|
10729
10754
|
);
|
|
10730
10755
|
};
|
|
10731
|
-
|
|
10732
|
-
const
|
|
10756
|
+
Bu.displayName = "PaymentSubAmountInput";
|
|
10757
|
+
const Uu = {
|
|
10733
10758
|
danger: {
|
|
10734
10759
|
tile: "bg-danger-50 text-danger-600",
|
|
10735
10760
|
icon: "solar:danger-circle-outline",
|
|
@@ -10740,7 +10765,7 @@ const Vu = {
|
|
|
10740
10765
|
icon: "solar:danger-triangle-outline",
|
|
10741
10766
|
confirmColor: "warning"
|
|
10742
10767
|
}
|
|
10743
|
-
},
|
|
10768
|
+
}, ju = (e) => typeof e == "string" ? /* @__PURE__ */ a(U, { icon: e, className: "size-5", "aria-hidden": "true" }) : e, Hu = ({
|
|
10744
10769
|
isOpen: e,
|
|
10745
10770
|
title: t,
|
|
10746
10771
|
confirmLabel: n,
|
|
@@ -10757,7 +10782,7 @@ const Vu = {
|
|
|
10757
10782
|
icon: m,
|
|
10758
10783
|
"data-testid": w = "confirm-dialog"
|
|
10759
10784
|
}) => {
|
|
10760
|
-
const S = s ?? o ?? null, b =
|
|
10785
|
+
const S = s ?? o ?? null, b = Uu[c], N = x ? null : ju(m ?? b.icon);
|
|
10761
10786
|
return /* @__PURE__ */ a(
|
|
10762
10787
|
Tn,
|
|
10763
10788
|
{
|
|
@@ -10827,14 +10852,14 @@ const Vu = {
|
|
|
10827
10852
|
}
|
|
10828
10853
|
);
|
|
10829
10854
|
};
|
|
10830
|
-
|
|
10831
|
-
const
|
|
10855
|
+
Hu.displayName = "ConfirmDialog";
|
|
10856
|
+
const qu = 60, Wu = (e, t, n = qu) => t ? e > n : e < -n, Ei = (e, t) => Math.max(0, Math.min(e, t)), Yu = 160, Gu = (e, t, n = Yu) => Math.min(e, Math.max(0, t - n)), Ku = (e, t, n) => Ei(e - t, n), Qu = (e, t, n) => e !== null ? Ei(e, n) : t ? n : 0, Zu = (e) => e ? "" : "transition-[height] duration-300 ease-out", Ju = (e) => ({
|
|
10832
10857
|
onDrag: (t, n) => {
|
|
10833
10858
|
const r = e.open ? e.fullHeight : 0;
|
|
10834
|
-
e.setDragHeight(
|
|
10859
|
+
e.setDragHeight(Ku(r, n?.offset?.y ?? 0, e.fullHeight));
|
|
10835
10860
|
},
|
|
10836
10861
|
onDragEnd: (t, n) => {
|
|
10837
|
-
|
|
10862
|
+
Wu(n?.offset?.y ?? 0, e.open) && e.onToggleOpen?.(), e.setDragHeight(null);
|
|
10838
10863
|
}
|
|
10839
10864
|
}), tt = (e, t) => et(e.value, t, e.currency), sr = ({
|
|
10840
10865
|
item: e,
|
|
@@ -11270,14 +11295,14 @@ const Pi = ({
|
|
|
11270
11295
|
l && /* @__PURE__ */ a("div", { children: l })
|
|
11271
11296
|
] });
|
|
11272
11297
|
Pi.displayName = "SummaryActionBar";
|
|
11273
|
-
const
|
|
11274
|
-
const [t, n] = W(() =>
|
|
11298
|
+
const Xu = "(max-width: 767px)", ef = (e) => typeof window < "u" && typeof window.matchMedia == "function" ? window.matchMedia(e).matches : !1, tf = (e = Xu) => {
|
|
11299
|
+
const [t, n] = W(() => ef(e));
|
|
11275
11300
|
return De(() => {
|
|
11276
11301
|
if (typeof window > "u" || typeof window.matchMedia != "function") return;
|
|
11277
11302
|
const r = window.matchMedia(e), i = () => n(r.matches);
|
|
11278
11303
|
return i(), r.addEventListener("change", i), () => r.removeEventListener("change", i);
|
|
11279
11304
|
}, [e]), t;
|
|
11280
|
-
},
|
|
11305
|
+
}, nf = ({
|
|
11281
11306
|
title: e = "Summary",
|
|
11282
11307
|
pricesInLabel: t = "Prices are in",
|
|
11283
11308
|
currency: n,
|
|
@@ -11304,11 +11329,11 @@ const Zu = "(max-width: 767px)", Ju = (e) => typeof window < "u" && typeof windo
|
|
|
11304
11329
|
"data-testid": F = "summary",
|
|
11305
11330
|
className: O
|
|
11306
11331
|
}) => {
|
|
11307
|
-
const A = v?.removeAriaLabel ?? "Remove item", z = v?.toggleAriaLabel ?? "Toggle summary", M = v?.cartAriaLabel ?? "View cart", D =
|
|
11332
|
+
const A = v?.removeAriaLabel ?? "Remove item", z = v?.toggleAriaLabel ?? "Toggle summary", M = v?.cartAriaLabel ?? "View cart", D = tf(), _ = d ?? (k ?? (D ? "mobile" : "main")) === "mobile", [Z, j] = W(x), H = u !== void 0, X = !_ || (H ? u : Z), re = te(() => {
|
|
11308
11333
|
H || j((ee) => !ee), h?.();
|
|
11309
11334
|
}, [H, h]), [se, G] = W(0), [B, K] = W(null), J = Pe(null), de = Pe(null), le = te(() => {
|
|
11310
11335
|
const ee = J.current;
|
|
11311
|
-
ee && G(
|
|
11336
|
+
ee && G(Gu(ee.scrollHeight, window.innerHeight));
|
|
11312
11337
|
}, []), Fe = te(
|
|
11313
11338
|
(ee) => {
|
|
11314
11339
|
de.current?.disconnect(), de.current = null, J.current = ee, ee && (le(), typeof ResizeObserver < "u" && (de.current = new ResizeObserver(le), de.current.observe(ee)));
|
|
@@ -11316,7 +11341,7 @@ const Zu = "(max-width: 767px)", Ju = (e) => typeof window < "u" && typeof windo
|
|
|
11316
11341
|
[le]
|
|
11317
11342
|
);
|
|
11318
11343
|
De(() => (window.addEventListener("resize", le), () => window.removeEventListener("resize", le)), [le]);
|
|
11319
|
-
const Ee =
|
|
11344
|
+
const Ee = Ju({ open: X, fullHeight: se, setDragHeight: K, onToggleOpen: re }), Ne = B !== null, Be = Qu(B, X, se), Ue = se > 0 ? Math.min(1, Math.max(0, Be / se)) : X ? 1 : 0, rt = /* @__PURE__ */ a(Li, { total: l, locale: r, className: E.total }), je = c && /* @__PURE__ */ a(Ti, { secondaryTotal: c, locale: r, className: E.secondaryTotal }), Ge = N != null && /* @__PURE__ */ a(
|
|
11320
11345
|
"p",
|
|
11321
11346
|
{
|
|
11322
11347
|
"data-testid": "summary-cta-caption",
|
|
@@ -11393,7 +11418,7 @@ const Zu = "(max-width: 767px)", Ju = (e) => typeof window < "u" && typeof windo
|
|
|
11393
11418
|
"min-h-0",
|
|
11394
11419
|
X && !Ne ? "overflow-y-auto overscroll-contain [scrollbar-width:none] [&::-webkit-scrollbar]:hidden" : "overflow-hidden",
|
|
11395
11420
|
!X && "pointer-events-none",
|
|
11396
|
-
|
|
11421
|
+
Zu(Ne)
|
|
11397
11422
|
),
|
|
11398
11423
|
children: /* @__PURE__ */ f("div", { ref: Fe, className: "flex flex-col gap-4 pb-4", children: [
|
|
11399
11424
|
_e,
|
|
@@ -11449,54 +11474,55 @@ const Zu = "(max-width: 767px)", Ju = (e) => typeof window < "u" && typeof windo
|
|
|
11449
11474
|
}
|
|
11450
11475
|
);
|
|
11451
11476
|
};
|
|
11452
|
-
|
|
11477
|
+
nf.displayName = "Summary";
|
|
11453
11478
|
export {
|
|
11454
11479
|
Q as Button,
|
|
11455
|
-
|
|
11480
|
+
am as CashTenderForm,
|
|
11456
11481
|
Od as CatalogItemCard,
|
|
11457
|
-
|
|
11458
|
-
|
|
11459
|
-
|
|
11460
|
-
|
|
11482
|
+
vu as CheckTenderForm,
|
|
11483
|
+
pu as CheckboxCardGroup,
|
|
11484
|
+
Jf as CommitmentDetails,
|
|
11485
|
+
Hu as ConfirmDialog,
|
|
11461
11486
|
ar as ConfirmationModal,
|
|
11462
|
-
|
|
11487
|
+
Rf as ConfirmationPageTemplate,
|
|
11463
11488
|
ja as DatePicker,
|
|
11489
|
+
mu as DimensionChip,
|
|
11464
11490
|
lo as DonationAmounts,
|
|
11465
11491
|
Ni as EmptyState,
|
|
11466
11492
|
ki as ErrorState,
|
|
11467
|
-
|
|
11468
|
-
|
|
11493
|
+
jf as EventDetails,
|
|
11494
|
+
Vf as EventDetailsTemplate,
|
|
11469
11495
|
fo as ExpireCartTimer,
|
|
11470
11496
|
$t as FeedbackState,
|
|
11471
11497
|
nu as FilterPopover,
|
|
11472
|
-
|
|
11473
|
-
|
|
11474
|
-
|
|
11475
|
-
|
|
11476
|
-
|
|
11477
|
-
|
|
11478
|
-
|
|
11498
|
+
Bf as Footer,
|
|
11499
|
+
Pf as HeroUIProvider,
|
|
11500
|
+
Qf as InstallmentFundAssignment,
|
|
11501
|
+
Zf as InstallmentFundAssignmentSkeleton,
|
|
11502
|
+
Xf as InstallmentSchedule,
|
|
11503
|
+
em as InstallmentScheduleSkeleton,
|
|
11504
|
+
tm as InstallmentTable,
|
|
11479
11505
|
_d as ItemCard,
|
|
11480
|
-
|
|
11481
|
-
|
|
11506
|
+
gu as ListPanel,
|
|
11507
|
+
Ru as LoadingOverlay,
|
|
11482
11508
|
Ci as LoadingState,
|
|
11483
|
-
|
|
11484
|
-
|
|
11485
|
-
|
|
11486
|
-
|
|
11487
|
-
|
|
11488
|
-
|
|
11509
|
+
nm as MembershipSelectCards,
|
|
11510
|
+
Fu as ModalShell,
|
|
11511
|
+
Tu as ModalShellFooter,
|
|
11512
|
+
Lu as ModalShellHeader,
|
|
11513
|
+
Uf as Multiselect,
|
|
11514
|
+
zf as Navbar,
|
|
11489
11515
|
$n as OfferCard,
|
|
11490
11516
|
pc as OfferCardEmpty,
|
|
11491
11517
|
bc as OfferCardError,
|
|
11492
11518
|
kc as OfferCardList,
|
|
11493
11519
|
xc as OfferCardSkeleton,
|
|
11494
|
-
|
|
11520
|
+
ku as OtherTenderForm,
|
|
11495
11521
|
cu as PageHeader,
|
|
11496
11522
|
Di as PaymentCashChangeBanner,
|
|
11497
|
-
|
|
11498
|
-
|
|
11499
|
-
|
|
11523
|
+
Bu as PaymentSubAmountInput,
|
|
11524
|
+
Vu as PaymentSuccessView,
|
|
11525
|
+
Pu as PaymentTotalBanner,
|
|
11500
11526
|
Jl as RICH_TEXT_PRESETS,
|
|
11501
11527
|
Yc as RevenueDistributionCard,
|
|
11502
11528
|
Gc as RevenueDistributionEmpty,
|
|
@@ -11505,28 +11531,28 @@ export {
|
|
|
11505
11531
|
ao as RichTextArea,
|
|
11506
11532
|
Xe as Select,
|
|
11507
11533
|
lu as SessionTimeline,
|
|
11508
|
-
|
|
11534
|
+
Eu as SplitPaymentSummary,
|
|
11509
11535
|
uu as StatusChip,
|
|
11510
11536
|
Ml as Stepper,
|
|
11511
11537
|
jd as SuccessState,
|
|
11512
|
-
|
|
11513
|
-
|
|
11514
|
-
|
|
11538
|
+
nf as Summary,
|
|
11539
|
+
rm as TicketSelection,
|
|
11540
|
+
_u as TileSelect,
|
|
11515
11541
|
Hd as Toggle,
|
|
11516
|
-
|
|
11542
|
+
Kf as calculateAllocationDifference,
|
|
11517
11543
|
Cr as computeChange,
|
|
11518
11544
|
Ha as currencyFractionDigits,
|
|
11519
11545
|
et as formatMoney,
|
|
11520
11546
|
Rr as formatOfferCurrency,
|
|
11521
|
-
|
|
11522
|
-
|
|
11547
|
+
qf as formatRevenueAmount,
|
|
11548
|
+
Wf as formatRevenueCurrency,
|
|
11523
11549
|
hd as generateAutomaticInstallments,
|
|
11524
11550
|
bi as generateDistributionId,
|
|
11525
|
-
|
|
11551
|
+
Yf as getCurrencySymbol,
|
|
11526
11552
|
wc as offerCardVariants,
|
|
11527
11553
|
vc as offerListVariants,
|
|
11528
|
-
|
|
11529
|
-
|
|
11554
|
+
Hf as parseOfferCurrency,
|
|
11555
|
+
Gf as parseRevenueCurrency,
|
|
11530
11556
|
Fl as roundToCurrency
|
|
11531
11557
|
};
|
|
11532
11558
|
(function(){"use strict";try{if(typeof document<"u"){var r=document.createElement("style");r.appendChild(document.createTextNode('.ProseMirror{flex:1;width:100%;min-height:100%;height:100%;cursor:text;background-color:#fff;padding:1rem;overflow-y:auto;box-sizing:border-box}.ProseMirror p{min-height:1.5em}.dark .ProseMirror{background-color:rgb(var(--nextui-background))}.ProseMirror ul{list-style-type:disc!important;list-style-position:outside!important;padding-left:2rem!important;margin:1rem 0!important;display:block!important}.ProseMirror ol{list-style-type:decimal!important;list-style-position:outside!important;padding-left:2rem!important;margin:1rem 0!important;display:block!important}.ProseMirror ul li,.ProseMirror ol li{display:list-item!important;list-style:inherit!important;margin:.25rem 0!important}.ProseMirror ul li p,.ProseMirror ol li p{margin:0!important;display:inline!important}.ProseMirror ul[data-type=taskList]{list-style:none!important;padding-left:0!important;margin:1rem 0!important}.ProseMirror ul[data-type=taskList] li{display:flex!important;align-items:flex-start!important;margin:.5rem 0!important}.ProseMirror ul[data-type=taskList] li label{margin-right:.5rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ProseMirror ul[data-type=taskList] li input[type=checkbox]{cursor:pointer;margin-top:.25rem}.ProseMirror h1,.ProseMirror h2,.ProseMirror h3,.ProseMirror h4,.ProseMirror h5,.ProseMirror h6{line-height:1.2!important;margin:1rem 0 .5rem!important;font-weight:600!important}.ProseMirror h1{font-size:2rem!important}.ProseMirror h2{font-size:1.5rem!important}.ProseMirror h3{font-size:1.25rem!important}.ProseMirror h4{font-size:1.1rem!important}.ProseMirror h5{font-size:1rem!important;font-weight:600!important}.ProseMirror h6{font-size:.9rem!important;font-weight:600!important}.ProseMirror code{background-color:rgb(var(--nextui-default-100));border-radius:.4rem;color:rgb(var(--nextui-default-800));font-size:.85rem;padding:.25em .3em}.ProseMirror pre{background:rgb(var(--nextui-default-900));border-radius:.5rem;color:rgb(var(--nextui-default-50));font-family:JetBrainsMono,monospace;margin:1.5rem 0;padding:.75rem 1rem;overflow-x:auto}.ProseMirror pre code{background:none;color:inherit;font-size:.8rem;padding:0}.ProseMirror mark{background-color:#faf594;border-radius:.4rem;-webkit-box-decoration-break:clone;box-decoration-break:clone;padding:.1rem .3rem}.ProseMirror blockquote{border-left:3px solid rgb(var(--nextui-default-300));margin:1.5rem 0;padding-left:1rem;color:rgb(var(--nextui-default-600))}.ProseMirror hr{border:none;border-top:1px solid rgb(var(--nextui-divider));margin:2rem 0}.ProseMirror a{color:rgb(var(--nextui-primary));text-decoration:underline;cursor:pointer}.ProseMirror a:hover{text-decoration:underline}.ProseMirror strong{font-weight:700!important}.ProseMirror em{font-style:italic!important}.ProseMirror s{text-decoration:line-through!important}.ProseMirror u{text-decoration:underline!important}.ProseMirror .has-text-align-left,.ProseMirror [style*="text-align: left"]{text-align:left!important}.ProseMirror .has-text-align-center,.ProseMirror [style*="text-align: center"]{text-align:center!important}.ProseMirror .has-text-align-right,.ProseMirror [style*="text-align: right"]{text-align:right!important}.ProseMirror .has-text-align-justify,.ProseMirror [style*="text-align: justify"]{text-align:justify!important}.ProseMirror ul li[style*="text-align: left"],.ProseMirror ol li[style*="text-align: left"]{text-align:left!important;list-style-position:inside!important}.ProseMirror ul li[style*="text-align: center"],.ProseMirror ol li[style*="text-align: center"]{text-align:center!important;list-style-position:inside!important}.ProseMirror ul li[style*="text-align: right"],.ProseMirror ol li[style*="text-align: right"]{text-align:right!important;list-style-position:inside!important}.ProseMirror ul li[style*="text-align: justify"],.ProseMirror ol li[style*="text-align: justify"]{text-align:justify!important;list-style-position:inside!important}.ProseMirror ul[data-type=taskList] li[style*="text-align: left"]{justify-content:flex-start!important}.ProseMirror ul[data-type=taskList] li[style*="text-align: center"]{justify-content:center!important}.ProseMirror ul[data-type=taskList] li[style*="text-align: right"]{justify-content:flex-end!important}.ProseMirror p.is-editor-empty:first-child:before{color:rgb(var(--nextui-default-400));content:attr(data-placeholder);float:left;height:0;pointer-events:none}')),document.head.appendChild(r)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|