@veevarts/design-system 2.19.0 → 2.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +3 -3
- package/dist/index.js +256 -241
- package/dist/patterns/MetaCard/types.d.ts +2 -0
- package/dist/patterns/ReasonSelect/types.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -32,7 +32,7 @@ import { Document as ac } from "@tiptap/extension-document";
|
|
|
32
32
|
import { Text as nc } from "@tiptap/extension-text";
|
|
33
33
|
import { Dropcursor as rc } from "@tiptap/extension-dropcursor";
|
|
34
34
|
import { Gapcursor as ic } from "@tiptap/extension-gapcursor";
|
|
35
|
-
const
|
|
35
|
+
const Me = {
|
|
36
36
|
brand: {
|
|
37
37
|
primary: {
|
|
38
38
|
500: "#C14615",
|
|
@@ -103,7 +103,7 @@ const _e = {
|
|
|
103
103
|
tight: "1.25",
|
|
104
104
|
normal: "1.5"
|
|
105
105
|
}
|
|
106
|
-
}, { gray: fa } =
|
|
106
|
+
}, { gray: fa } = Me.neutral, sc = Me.palettes.warning[700], lc = Me.palettes.warning[100], xt = {
|
|
107
107
|
rustFill: "#FBEBE4",
|
|
108
108
|
rustBorder: "#EBC3B1",
|
|
109
109
|
page: "#F6F7F8",
|
|
@@ -114,12 +114,12 @@ const _e = {
|
|
|
114
114
|
infoFill: "#E8EEFC"
|
|
115
115
|
}, Qi = {
|
|
116
116
|
// Brand — the 500 already matches the scale exactly.
|
|
117
|
-
"--rust":
|
|
117
|
+
"--rust": Me.brand.primary[500],
|
|
118
118
|
"--rust-fill": xt.rustFill,
|
|
119
119
|
"--rust-border": xt.rustBorder,
|
|
120
120
|
// Chrome
|
|
121
121
|
"--page": xt.page,
|
|
122
|
-
"--surface":
|
|
122
|
+
"--surface": Me.neutral.white,
|
|
123
123
|
"--border": xt.border,
|
|
124
124
|
"--hair": xt.hair,
|
|
125
125
|
// Text — all four match the scale's grays exactly.
|
|
@@ -128,19 +128,19 @@ const _e = {
|
|
|
128
128
|
"--sub": fa[500],
|
|
129
129
|
"--muted": fa[400],
|
|
130
130
|
// Semantic — text tone paired with the tint it sits on.
|
|
131
|
-
"--ok":
|
|
131
|
+
"--ok": Me.semantic.success,
|
|
132
132
|
"--ok-fill": xt.okFill,
|
|
133
133
|
"--warn": sc,
|
|
134
134
|
"--warn-fill": lc,
|
|
135
|
-
"--danger":
|
|
135
|
+
"--danger": Me.semantic.danger,
|
|
136
136
|
"--danger-fill": xt.dangerFill,
|
|
137
|
-
"--info":
|
|
137
|
+
"--info": Me.semantic.info,
|
|
138
138
|
"--info-fill": xt.infoFill
|
|
139
139
|
};
|
|
140
140
|
Object.fromEntries(
|
|
141
141
|
Object.entries(Qi).map(([e, t]) => [e.replace(/^--/, ""), t])
|
|
142
142
|
);
|
|
143
|
-
function
|
|
143
|
+
function _g({
|
|
144
144
|
scope: e = ".acct",
|
|
145
145
|
fontFamily: t = "'NeueMontreal', system-ui, sans-serif"
|
|
146
146
|
} = {}) {
|
|
@@ -153,7 +153,7 @@ ${a}${r}
|
|
|
153
153
|
}
|
|
154
154
|
`;
|
|
155
155
|
}
|
|
156
|
-
const
|
|
156
|
+
const _e = {
|
|
157
157
|
/** `--line`: row, card and divider hairline. */
|
|
158
158
|
line: "#E7E7E9",
|
|
159
159
|
/** `--line2`: the lighter hairline under list rows and above the role bar. */
|
|
@@ -170,7 +170,7 @@ const Re = {
|
|
|
170
170
|
"warn-icon": "#EFD9B2",
|
|
171
171
|
/** `--eb` / `--ef`, plus the banner icon disc `.banner.err .bic`. */
|
|
172
172
|
"danger-fill": "#FCEBEB",
|
|
173
|
-
danger:
|
|
173
|
+
danger: Me.semantic.danger,
|
|
174
174
|
"danger-icon": "#F3D3CF",
|
|
175
175
|
/** `--ib` / `--if` */
|
|
176
176
|
"info-fill": "#EAF1FC",
|
|
@@ -182,18 +182,18 @@ const Re = {
|
|
|
182
182
|
/** `.btn-dstr` — the fill behind an irreversible confirmation. */
|
|
183
183
|
destructive: "#A32D2D"
|
|
184
184
|
};
|
|
185
|
-
({ ...
|
|
186
|
-
function
|
|
185
|
+
({ ..._e });
|
|
186
|
+
function Mg({ children: e }) {
|
|
187
187
|
return /* @__PURE__ */ n(Tl, { children: e });
|
|
188
188
|
}
|
|
189
189
|
const Zi = la("default");
|
|
190
190
|
function Yn() {
|
|
191
191
|
return pt(Zi);
|
|
192
192
|
}
|
|
193
|
-
function
|
|
193
|
+
function Rg(e) {
|
|
194
194
|
return Yn() === "touch" ? "lg" : e;
|
|
195
195
|
}
|
|
196
|
-
function
|
|
196
|
+
function Pg({ density: e, children: t }) {
|
|
197
197
|
return /* @__PURE__ */ n(Zi.Provider, { value: e, children: t });
|
|
198
198
|
}
|
|
199
199
|
function oc(e, t) {
|
|
@@ -1967,7 +1967,7 @@ const st = Ft(({ popoverProps: e, ...t }, a) => {
|
|
|
1967
1967
|
}, []), /* @__PURE__ */ n("span", { ref: r, className: "contents", children: /* @__PURE__ */ n(Vl, { ref: a, ...t, popoverProps: d }) });
|
|
1968
1968
|
});
|
|
1969
1969
|
st.displayName = "Select";
|
|
1970
|
-
function
|
|
1970
|
+
function Og({
|
|
1971
1971
|
state: e,
|
|
1972
1972
|
onSubmit: t,
|
|
1973
1973
|
onRemove: a,
|
|
@@ -2145,7 +2145,7 @@ function Pd({
|
|
|
2145
2145
|
}
|
|
2146
2146
|
);
|
|
2147
2147
|
}
|
|
2148
|
-
function
|
|
2148
|
+
function zg({
|
|
2149
2149
|
logo: e,
|
|
2150
2150
|
languages: t = [],
|
|
2151
2151
|
selectedLanguage: a,
|
|
@@ -2193,7 +2193,7 @@ function Og({
|
|
|
2193
2193
|
}
|
|
2194
2194
|
);
|
|
2195
2195
|
}
|
|
2196
|
-
function
|
|
2196
|
+
function Tg(e) {
|
|
2197
2197
|
return /* @__PURE__ */ n("div", { className: "min-h-screen flex flex-col", children: /* @__PURE__ */ n("div", { className: "flex-1 flex items-center justify-center p-12", children: /* @__PURE__ */ n(
|
|
2198
2198
|
lt,
|
|
2199
2199
|
{
|
|
@@ -2453,7 +2453,7 @@ const zd = G.forwardRef(
|
|
|
2453
2453
|
}
|
|
2454
2454
|
);
|
|
2455
2455
|
zd.displayName = "Stepper";
|
|
2456
|
-
function
|
|
2456
|
+
function Ig(e) {
|
|
2457
2457
|
return /* @__PURE__ */ n("div", { className: "min-h-screen flex flex-col", children: /* @__PURE__ */ n("div", { className: "flex-1 flex items-center justify-center p-12", children: /* @__PURE__ */ n(
|
|
2458
2458
|
lt,
|
|
2459
2459
|
{
|
|
@@ -2693,7 +2693,7 @@ const qr = {
|
|
|
2693
2693
|
}
|
|
2694
2694
|
);
|
|
2695
2695
|
Bd.displayName = "HorizontalSteps";
|
|
2696
|
-
function
|
|
2696
|
+
function Bg() {
|
|
2697
2697
|
return /* @__PURE__ */ u(
|
|
2698
2698
|
"footer",
|
|
2699
2699
|
{
|
|
@@ -2706,7 +2706,7 @@ function Ig() {
|
|
|
2706
2706
|
}
|
|
2707
2707
|
);
|
|
2708
2708
|
}
|
|
2709
|
-
const
|
|
2709
|
+
const Vg = (e) => {
|
|
2710
2710
|
const t = ce(
|
|
2711
2711
|
() => JSON.stringify({ allItems: e.allItems, selected: e.selected }),
|
|
2712
2712
|
[e.allItems, e.selected]
|
|
@@ -4272,16 +4272,16 @@ const su = {
|
|
|
4272
4272
|
s: "text-decoration: line-through;",
|
|
4273
4273
|
u: "text-decoration: underline;",
|
|
4274
4274
|
// Code - using mono font family and token colors
|
|
4275
|
-
code: `background-color: ${
|
|
4276
|
-
pre: `background: ${
|
|
4275
|
+
code: `background-color: ${Me.neutral.gray[100]}; border-radius: 0.4rem; font-size: ${ye.fontSize.sm}; padding: 0.25em 0.3em; font-family: ${ye.fontFamily.mono};`,
|
|
4276
|
+
pre: `background: ${Me.neutral.gray[800]}; border-radius: ${be.sm}; color: ${Me.neutral.gray[100]}; font-family: ${ye.fontFamily.mono}; margin: ${be.lg} 0; padding: 0.75rem ${be.md}; overflow-x: auto;`,
|
|
4277
4277
|
// Blockquote
|
|
4278
|
-
blockquote: `border-left: 3px solid ${
|
|
4278
|
+
blockquote: `border-left: 3px solid ${Me.neutral.gray[300]}; margin: ${be.lg} 0; padding-left: ${be.md}; color: ${Me.neutral.gray[500]};`,
|
|
4279
4279
|
// Horizontal rule
|
|
4280
|
-
hr: `border: none; border-top: 1px solid ${
|
|
4280
|
+
hr: `border: none; border-top: 1px solid ${Me.neutral.gray[200]}; margin: ${be.xl} 0;`,
|
|
4281
4281
|
// Links - using brand primary color
|
|
4282
|
-
a: `color: ${
|
|
4282
|
+
a: `color: ${Me.brand.primary.DEFAULT}; text-decoration: underline; cursor: pointer;`,
|
|
4283
4283
|
// Mark/Highlight - using warning palette
|
|
4284
|
-
mark: `background-color: ${
|
|
4284
|
+
mark: `background-color: ${Me.palettes.warning[200]}; border-radius: ${be.xs}; padding: 0 0.125rem;`,
|
|
4285
4285
|
// Task list checkbox label
|
|
4286
4286
|
label: `display: flex; align-items: center; gap: ${be.sm}; cursor: pointer;`,
|
|
4287
4287
|
// Input checkbox (task items)
|
|
@@ -4747,7 +4747,7 @@ const _t = ({
|
|
|
4747
4747
|
}) => /* @__PURE__ */ u("div", { className: "flex items-center gap-2 text-sm text-gray-600", "data-testid": a, children: [
|
|
4748
4748
|
/* @__PURE__ */ n(T, { icon: e, width: 20, className: "text-default-500" }),
|
|
4749
4749
|
/* @__PURE__ */ n("span", { children: t })
|
|
4750
|
-
] }),
|
|
4750
|
+
] }), Ug = ({
|
|
4751
4751
|
classes: e = "",
|
|
4752
4752
|
name: t,
|
|
4753
4753
|
imageUrl: a,
|
|
@@ -4914,7 +4914,7 @@ function Qr(e, t = "en-US", a = "USD") {
|
|
|
4914
4914
|
return console.warn(`Invalid currency formatting: ${r}`), `${a} ${e.toFixed(2)}`;
|
|
4915
4915
|
}
|
|
4916
4916
|
}
|
|
4917
|
-
function
|
|
4917
|
+
function jg(e) {
|
|
4918
4918
|
const t = e.replace(/[^\d.,-]/g, ""), a = t.match(/,\d{1,2}$/);
|
|
4919
4919
|
let r;
|
|
4920
4920
|
a ? r = t.replace(/\./g, "").replace(",", ".") : r = t.replace(/,/g, "");
|
|
@@ -6703,10 +6703,10 @@ function Zu(e = {}) {
|
|
|
6703
6703
|
s._state.mount || (s._setValid(), s._state.mount = !0), s._state.watch && (s._state.watch = !1, s._subjects.state.next({ ...s._formState })), s._removeUnmounted();
|
|
6704
6704
|
}), t.current.formState = G.useMemo(() => Vs(r, s), [s, r]), t.current;
|
|
6705
6705
|
}
|
|
6706
|
-
function
|
|
6706
|
+
function Hg(e, t = 3) {
|
|
6707
6707
|
return e % 1 === 0 ? e.toString() : e.toFixed(t).replace(/\.?0+$/, "");
|
|
6708
6708
|
}
|
|
6709
|
-
function
|
|
6709
|
+
function Wg(e, t = "en-US", a = "USD") {
|
|
6710
6710
|
try {
|
|
6711
6711
|
return new Intl.NumberFormat(t, {
|
|
6712
6712
|
style: "currency",
|
|
@@ -6718,7 +6718,7 @@ function Hg(e, t = "en-US", a = "USD") {
|
|
|
6718
6718
|
return console.warn(`Invalid currency formatting: ${r}`), `${a} ${e.toFixed(2)}`;
|
|
6719
6719
|
}
|
|
6720
6720
|
}
|
|
6721
|
-
function
|
|
6721
|
+
function qg(e = "USD", t = "en-US") {
|
|
6722
6722
|
try {
|
|
6723
6723
|
return new Intl.NumberFormat(t, {
|
|
6724
6724
|
style: "currency",
|
|
@@ -6728,14 +6728,14 @@ function Wg(e = "USD", t = "en-US") {
|
|
|
6728
6728
|
return "$";
|
|
6729
6729
|
}
|
|
6730
6730
|
}
|
|
6731
|
-
function
|
|
6731
|
+
function Gg(e) {
|
|
6732
6732
|
const t = e.replace(/[^\d.,-]/g, ""), a = t.match(/,\d{1,2}$/);
|
|
6733
6733
|
let r;
|
|
6734
6734
|
a ? r = t.replace(/\./g, "").replace(",", ".") : r = t.replace(/,/g, "");
|
|
6735
6735
|
const i = parseFloat(r);
|
|
6736
6736
|
return isNaN(i) ? null : i;
|
|
6737
6737
|
}
|
|
6738
|
-
function
|
|
6738
|
+
function Kg(e, t, a = 1e-3) {
|
|
6739
6739
|
const r = e - t, i = Math.abs(r) <= a;
|
|
6740
6740
|
return {
|
|
6741
6741
|
difference: r,
|
|
@@ -7232,7 +7232,7 @@ function cm() {
|
|
|
7232
7232
|
);
|
|
7233
7233
|
}
|
|
7234
7234
|
const dm = (e) => Number.isFinite(e) ? Math.max(0, Math.min(100, Math.round(e * 100) / 100)) : 0, um = (e) => e.fund !== null;
|
|
7235
|
-
function
|
|
7235
|
+
function Yg({
|
|
7236
7236
|
assignments: e,
|
|
7237
7237
|
funds: t,
|
|
7238
7238
|
labels: a,
|
|
@@ -7634,7 +7634,7 @@ function fm({
|
|
|
7634
7634
|
}
|
|
7635
7635
|
);
|
|
7636
7636
|
}
|
|
7637
|
-
function
|
|
7637
|
+
function Qg() {
|
|
7638
7638
|
return /* @__PURE__ */ u(
|
|
7639
7639
|
"section",
|
|
7640
7640
|
{
|
|
@@ -7663,7 +7663,7 @@ const hm = {
|
|
|
7663
7663
|
remainingBalance: "Remaining Balance",
|
|
7664
7664
|
amountReceived: "Amount Received:"
|
|
7665
7665
|
};
|
|
7666
|
-
function
|
|
7666
|
+
function Zg({
|
|
7667
7667
|
totalAmount: e,
|
|
7668
7668
|
remainingBalance: t,
|
|
7669
7669
|
amountReceived: a,
|
|
@@ -7820,7 +7820,7 @@ const $m = {
|
|
|
7820
7820
|
const t = e % 100 >= 11 && e % 100 <= 13 ? "th" : e % 10 === 1 ? "st" : e % 10 === 2 ? "nd" : e % 10 === 3 ? "rd" : "th";
|
|
7821
7821
|
return `${e}${t}`;
|
|
7822
7822
|
};
|
|
7823
|
-
function
|
|
7823
|
+
function Xg({
|
|
7824
7824
|
mode: e,
|
|
7825
7825
|
donationAmount: t,
|
|
7826
7826
|
currency: a = "USD",
|
|
@@ -8306,7 +8306,7 @@ function Bm({
|
|
|
8306
8306
|
}
|
|
8307
8307
|
);
|
|
8308
8308
|
}
|
|
8309
|
-
function
|
|
8309
|
+
function Jg() {
|
|
8310
8310
|
return /* @__PURE__ */ u(
|
|
8311
8311
|
"section",
|
|
8312
8312
|
{
|
|
@@ -8408,7 +8408,7 @@ const ui = {
|
|
|
8408
8408
|
wrapper: "!absolute !inset-0 !z-50 !items-center !justify-center !p-4",
|
|
8409
8409
|
backdrop: "!absolute !inset-0 !z-40 rounded-2xl"
|
|
8410
8410
|
}, jm = [];
|
|
8411
|
-
function
|
|
8411
|
+
function eb({
|
|
8412
8412
|
installments: e,
|
|
8413
8413
|
currency: t,
|
|
8414
8414
|
locale: a = "en-US",
|
|
@@ -8799,7 +8799,7 @@ const Gm = {
|
|
|
8799
8799
|
title: "Select Membership",
|
|
8800
8800
|
renewalTitle: "Automatic Renewal",
|
|
8801
8801
|
renewalDescription: "Membership will automatically renew at the end of each period"
|
|
8802
|
-
},
|
|
8802
|
+
}, tb = ({
|
|
8803
8803
|
cards: e,
|
|
8804
8804
|
locale: t,
|
|
8805
8805
|
currency: a,
|
|
@@ -9632,7 +9632,7 @@ const mf = ({ title: e, value: t, description: a, onValueChange: r, className: i
|
|
|
9632
9632
|
}
|
|
9633
9633
|
)
|
|
9634
9634
|
] });
|
|
9635
|
-
},
|
|
9635
|
+
}, ab = ({
|
|
9636
9636
|
initialExpanded: e = !1,
|
|
9637
9637
|
userMaxLimit: t,
|
|
9638
9638
|
labels: a,
|
|
@@ -10076,16 +10076,16 @@ const _f = 48, Ye = {
|
|
|
10076
10076
|
}, Pf = (e) => e.variant === "list" ? /* @__PURE__ */ n(Rf, { ...e }) : /* @__PURE__ */ n(rl, { ...e, list: !1, narrow: !1 });
|
|
10077
10077
|
Pf.displayName = "PageHeader";
|
|
10078
10078
|
const et = {
|
|
10079
|
-
ok: { fg:
|
|
10080
|
-
warn: { fg:
|
|
10081
|
-
danger: { fg:
|
|
10082
|
-
info: { fg:
|
|
10083
|
-
violet: { fg:
|
|
10084
|
-
neutral: { fg:
|
|
10079
|
+
ok: { fg: _e.ok, bg: _e["ok-fill"] },
|
|
10080
|
+
warn: { fg: _e.warn, bg: _e["warn-fill"] },
|
|
10081
|
+
danger: { fg: _e.danger, bg: _e["danger-fill"] },
|
|
10082
|
+
info: { fg: _e.info, bg: _e["info-fill"] },
|
|
10083
|
+
violet: { fg: _e.violet, bg: _e["violet-fill"] },
|
|
10084
|
+
neutral: { fg: _e.neutral, bg: _e["neutral-fill"] }
|
|
10085
10085
|
};
|
|
10086
10086
|
function ua(e) {
|
|
10087
|
-
if (e === "positive") return { color:
|
|
10088
|
-
if (e === "negative") return { color:
|
|
10087
|
+
if (e === "positive") return { color: _e.ok };
|
|
10088
|
+
if (e === "negative") return { color: _e.danger };
|
|
10089
10089
|
}
|
|
10090
10090
|
const Of = {
|
|
10091
10091
|
active: "success",
|
|
@@ -11399,7 +11399,7 @@ const fl = (e, t) => t <= 0 ? /^\d*$/.test(e) : new RegExp(`^\\d*(?:[.,]\\d{0,${
|
|
|
11399
11399
|
} catch {
|
|
11400
11400
|
return Ne(e, t, a);
|
|
11401
11401
|
}
|
|
11402
|
-
}, Bh = (e, t) => (e ?? 0) === (t ?? 0), Yt = (e, t) => Object.entries(t).reduce((a, [r, i]) => a.replace(`{${r}}`, i), e),
|
|
11402
|
+
}, Bh = (e, t) => (e ?? 0) === (t ?? 0), Yt = (e, t) => Object.entries(t).reduce((a, [r, i]) => a.replace(`{${r}}`, i), e), nb = ({
|
|
11403
11403
|
dueAmount: e,
|
|
11404
11404
|
received: t,
|
|
11405
11405
|
defaultReceived: a = null,
|
|
@@ -12959,13 +12959,13 @@ const xp = {
|
|
|
12959
12959
|
unreport: () => {
|
|
12960
12960
|
}
|
|
12961
12961
|
}, Qa = la(xp), mr = la(null);
|
|
12962
|
-
function
|
|
12962
|
+
function rb(e) {
|
|
12963
12963
|
const { report: t, unreport: a } = pt(Qa), r = pt(mr), i = Je();
|
|
12964
12964
|
we(() => {
|
|
12965
12965
|
t(i, { scope: r, isDirty: e });
|
|
12966
12966
|
}, [t, i, r, e]), we(() => () => a(i), [a, i]);
|
|
12967
12967
|
}
|
|
12968
|
-
function
|
|
12968
|
+
function ib() {
|
|
12969
12969
|
const { guardScope: e, bypass: t } = pt(Qa);
|
|
12970
12970
|
return ce(() => ({ guard: (a) => e(null, a), bypass: t }), [e, t]);
|
|
12971
12971
|
}
|
|
@@ -13009,7 +13009,7 @@ const yp = ({ scope: e, children: t }) => /* @__PURE__ */ n(mr.Provider, { value
|
|
|
13009
13009
|
};
|
|
13010
13010
|
vp.displayName = "DiscardGuard";
|
|
13011
13011
|
const fr = la(null);
|
|
13012
|
-
function
|
|
13012
|
+
function sb() {
|
|
13013
13013
|
const e = pt(fr), t = vl(), a = e?.back, r = Z(() => {
|
|
13014
13014
|
a && t(a);
|
|
13015
13015
|
}, [t, a]);
|
|
@@ -13082,7 +13082,7 @@ class Sp {
|
|
|
13082
13082
|
}
|
|
13083
13083
|
}
|
|
13084
13084
|
const $p = "flex flex-initial items-center gap-2 py-4 pl-4 pr-12 text-large font-semibold", Ap = "min-w-0 flex-1 truncate text-large font-semibold", Dp = "flex shrink-0 items-center gap-2", Ep = "size-5";
|
|
13085
|
-
function
|
|
13085
|
+
function lb({ panels: e, children: t }) {
|
|
13086
13086
|
const [a] = W(() => new Sp()), { entries: r, back: i } = e, s = r[r.length - 1].key, l = ue(null);
|
|
13087
13087
|
return Vt(() => {
|
|
13088
13088
|
const o = l.current;
|
|
@@ -13164,7 +13164,7 @@ const Fp = ({ entryKey: e, isActive: t, canGoBack: a, back: r, memory: i, childr
|
|
|
13164
13164
|
] });
|
|
13165
13165
|
};
|
|
13166
13166
|
Lp.displayName = "ModalPanelHeader";
|
|
13167
|
-
function
|
|
13167
|
+
function ob(e) {
|
|
13168
13168
|
const t = ue(1), [a] = W(e), [r, i] = W(() => [
|
|
13169
13169
|
{ key: "panel-0", panel: e }
|
|
13170
13170
|
]), s = Z((f) => {
|
|
@@ -13192,7 +13192,7 @@ function lb(e) {
|
|
|
13192
13192
|
);
|
|
13193
13193
|
return ce(() => ({ current: r[r.length - 1].panel, entries: r, canGoBack: r.length > 1, push: l, back: o, replace: c, reset: d }), [r, l, o, c, d]);
|
|
13194
13194
|
}
|
|
13195
|
-
function
|
|
13195
|
+
function cb() {
|
|
13196
13196
|
const e = ue(/* @__PURE__ */ new Map()), [t, a] = W(0), [r, i] = W(null), [s, l] = W(0), o = Z(() => {
|
|
13197
13197
|
let b = 0;
|
|
13198
13198
|
for (const N of e.current.values()) N.isDirty && (b += 1);
|
|
@@ -14038,7 +14038,7 @@ const Hp = {
|
|
|
14038
14038
|
cancel: "Cancel",
|
|
14039
14039
|
partialBadge: "Partial refund",
|
|
14040
14040
|
owesBadge: "Customer owes"
|
|
14041
|
-
}, Wp = { backgroundColor:
|
|
14041
|
+
}, Wp = { backgroundColor: _e.destructive, color: "#fff" }, Di = "inline-flex h-[22px] items-center gap-[5px] whitespace-nowrap rounded-full px-[9px] text-xs font-medium leading-none", yn = "absolute top-0 h-5 w-5 opacity-0", qp = ({
|
|
14042
14042
|
onClose: e,
|
|
14043
14043
|
steps: t,
|
|
14044
14044
|
activeStepId: a,
|
|
@@ -14545,7 +14545,7 @@ const Qp = {
|
|
|
14545
14545
|
] });
|
|
14546
14546
|
};
|
|
14547
14547
|
Jp.displayName = "LineItemList";
|
|
14548
|
-
const El = ({
|
|
14548
|
+
const e0 = { color: _e.danger }, El = ({
|
|
14549
14549
|
children: e,
|
|
14550
14550
|
className: t,
|
|
14551
14551
|
"data-testid": a = "meta-card"
|
|
@@ -14554,12 +14554,25 @@ El.displayName = "MetaCard";
|
|
|
14554
14554
|
const Fl = ({
|
|
14555
14555
|
label: e,
|
|
14556
14556
|
htmlFor: t,
|
|
14557
|
-
|
|
14558
|
-
|
|
14559
|
-
|
|
14560
|
-
|
|
14561
|
-
|
|
14562
|
-
/* @__PURE__ */
|
|
14557
|
+
required: a,
|
|
14558
|
+
children: r,
|
|
14559
|
+
className: i,
|
|
14560
|
+
"data-testid": s = "meta-card-row"
|
|
14561
|
+
}) => /* @__PURE__ */ u("div", { className: p("flex flex-wrap items-center justify-between gap-4", i), "data-testid": s, children: [
|
|
14562
|
+
/* @__PURE__ */ u("label", { htmlFor: t, className: "text-[13px] font-medium text-default-600", children: [
|
|
14563
|
+
e,
|
|
14564
|
+
a && /* @__PURE__ */ n(
|
|
14565
|
+
"span",
|
|
14566
|
+
{
|
|
14567
|
+
"aria-hidden": "true",
|
|
14568
|
+
className: "ms-0.5 text-danger",
|
|
14569
|
+
style: e0,
|
|
14570
|
+
"data-testid": `${s}-required`,
|
|
14571
|
+
children: "*"
|
|
14572
|
+
}
|
|
14573
|
+
)
|
|
14574
|
+
] }),
|
|
14575
|
+
/* @__PURE__ */ n("div", { className: "w-full sm:w-[290px] sm:shrink-0", children: r })
|
|
14563
14576
|
] });
|
|
14564
14577
|
Fl.displayName = "MetaCard.Row";
|
|
14565
14578
|
const Ll = ({
|
|
@@ -14579,7 +14592,7 @@ const Ll = ({
|
|
|
14579
14592
|
}
|
|
14580
14593
|
);
|
|
14581
14594
|
Ll.displayName = "MetaCard.Section";
|
|
14582
|
-
const
|
|
14595
|
+
const db = Object.assign(El, { Row: Fl, Section: Ll }), t0 = ({
|
|
14583
14596
|
heading: e,
|
|
14584
14597
|
icon: t = "lucide:rotate-ccw",
|
|
14585
14598
|
action: a,
|
|
@@ -14620,8 +14633,8 @@ const cb = Object.assign(El, { Row: Fl, Section: Ll }), e0 = ({
|
|
|
14620
14633
|
]
|
|
14621
14634
|
}
|
|
14622
14635
|
);
|
|
14623
|
-
|
|
14624
|
-
const
|
|
14636
|
+
t0.displayName = "SectionPanel";
|
|
14637
|
+
const a0 = ({
|
|
14625
14638
|
name: e,
|
|
14626
14639
|
detail: t,
|
|
14627
14640
|
icon: a = "lucide:users",
|
|
@@ -14643,47 +14656,49 @@ const t0 = ({
|
|
|
14643
14656
|
]
|
|
14644
14657
|
}
|
|
14645
14658
|
);
|
|
14646
|
-
|
|
14647
|
-
const
|
|
14659
|
+
a0.displayName = "CustomerCard";
|
|
14660
|
+
const n0 = {
|
|
14648
14661
|
label: "Reason for the return",
|
|
14649
14662
|
placeholder: "Select a reason…"
|
|
14650
|
-
},
|
|
14663
|
+
}, r0 = ({
|
|
14651
14664
|
options: e,
|
|
14652
14665
|
value: t,
|
|
14653
14666
|
onChange: a,
|
|
14654
14667
|
error: r,
|
|
14655
|
-
|
|
14656
|
-
|
|
14657
|
-
|
|
14668
|
+
isRequired: i,
|
|
14669
|
+
labels: s,
|
|
14670
|
+
className: l,
|
|
14671
|
+
"data-testid": o = "reason-select"
|
|
14658
14672
|
}) => {
|
|
14659
|
-
const
|
|
14673
|
+
const c = { ...n0, ...s };
|
|
14660
14674
|
return /* @__PURE__ */ n(
|
|
14661
14675
|
st,
|
|
14662
14676
|
{
|
|
14663
|
-
label:
|
|
14677
|
+
label: c.label,
|
|
14664
14678
|
labelPlacement: "outside",
|
|
14665
|
-
placeholder:
|
|
14679
|
+
placeholder: c.placeholder,
|
|
14666
14680
|
selectedKeys: t ? [t] : [],
|
|
14681
|
+
isRequired: i,
|
|
14667
14682
|
isInvalid: !!r,
|
|
14668
14683
|
errorMessage: r,
|
|
14669
|
-
className: p(
|
|
14670
|
-
"data-testid":
|
|
14671
|
-
onSelectionChange: (
|
|
14672
|
-
if (
|
|
14673
|
-
const
|
|
14674
|
-
|
|
14684
|
+
className: p(l),
|
|
14685
|
+
"data-testid": o,
|
|
14686
|
+
onSelectionChange: (d) => {
|
|
14687
|
+
if (d === "all") return;
|
|
14688
|
+
const f = [...d][0];
|
|
14689
|
+
f && a(String(f));
|
|
14675
14690
|
},
|
|
14676
|
-
children: e.map((
|
|
14691
|
+
children: e.map((d) => /* @__PURE__ */ n(ht, { children: d.label }, d.id))
|
|
14677
14692
|
}
|
|
14678
14693
|
);
|
|
14679
14694
|
};
|
|
14680
|
-
|
|
14681
|
-
const
|
|
14695
|
+
r0.displayName = "ReasonSelect";
|
|
14696
|
+
const i0 = {
|
|
14682
14697
|
toggle: "Add a note",
|
|
14683
14698
|
optionalTag: "(optional)",
|
|
14684
14699
|
heading: "Additional note",
|
|
14685
14700
|
placeholder: "Add a note (optional)"
|
|
14686
|
-
},
|
|
14701
|
+
}, s0 = ({
|
|
14687
14702
|
value: e,
|
|
14688
14703
|
onChange: t,
|
|
14689
14704
|
maxLength: a,
|
|
@@ -14693,7 +14708,7 @@ const r0 = {
|
|
|
14693
14708
|
className: l,
|
|
14694
14709
|
"data-testid": o = "notes-field"
|
|
14695
14710
|
}) => {
|
|
14696
|
-
const c = { ...
|
|
14711
|
+
const c = { ...i0, ...s }, [d, f] = W(e !== "");
|
|
14697
14712
|
return r ? /* @__PURE__ */ u("div", { className: p("flex flex-col gap-2", l), "data-testid": o, children: [
|
|
14698
14713
|
!i && /* @__PURE__ */ n("label", { htmlFor: `${o}-textarea`, className: "text-[13px] font-medium text-default-600", children: c.heading }),
|
|
14699
14714
|
/* @__PURE__ */ n(
|
|
@@ -14740,11 +14755,11 @@ const r0 = {
|
|
|
14740
14755
|
}
|
|
14741
14756
|
) });
|
|
14742
14757
|
};
|
|
14743
|
-
|
|
14744
|
-
const
|
|
14758
|
+
s0.displayName = "NotesField";
|
|
14759
|
+
const l0 = {
|
|
14745
14760
|
danger: { surface: "bg-pos-danger-fill", disc: "bg-pos-danger-icon text-pos-danger", title: "text-pos-danger" },
|
|
14746
14761
|
warning: { surface: "bg-pos-warn-fill", disc: "bg-pos-warn-icon text-pos-warn", title: "text-pos-warn" }
|
|
14747
|
-
},
|
|
14762
|
+
}, o0 = {
|
|
14748
14763
|
danger: "gravity-ui:circle-exclamation-fill",
|
|
14749
14764
|
warning: "gravity-ui:triangle-exclamation-fill"
|
|
14750
14765
|
}, Fi = "h-8 min-w-0 rounded-[10px] px-3 text-[13px] font-semibold", gr = ({
|
|
@@ -14760,7 +14775,7 @@ const s0 = {
|
|
|
14760
14775
|
retryTestId: d,
|
|
14761
14776
|
chooseDifferentTestId: f
|
|
14762
14777
|
}) => {
|
|
14763
|
-
const m =
|
|
14778
|
+
const m = l0[e];
|
|
14764
14779
|
return /* @__PURE__ */ u(
|
|
14765
14780
|
"div",
|
|
14766
14781
|
{
|
|
@@ -14773,7 +14788,7 @@ const s0 = {
|
|
|
14773
14788
|
{
|
|
14774
14789
|
className: p("flex h-10 w-10 shrink-0 items-center justify-center rounded-full", m.disc),
|
|
14775
14790
|
"aria-hidden": "true",
|
|
14776
|
-
children: /* @__PURE__ */ n(T, { icon:
|
|
14791
|
+
children: /* @__PURE__ */ n(T, { icon: o0[e], width: 22, height: 22 })
|
|
14777
14792
|
}
|
|
14778
14793
|
),
|
|
14779
14794
|
/* @__PURE__ */ u("div", { className: "min-w-0 flex-1", children: [
|
|
@@ -14798,7 +14813,7 @@ const s0 = {
|
|
|
14798
14813
|
);
|
|
14799
14814
|
};
|
|
14800
14815
|
gr.displayName = "TenderBanner";
|
|
14801
|
-
const
|
|
14816
|
+
const c0 = {
|
|
14802
14817
|
split: "Split across multiple methods",
|
|
14803
14818
|
declinedTitle: "Refund declined",
|
|
14804
14819
|
declinedBody: "The processor declined this refund. Nothing was sent.",
|
|
@@ -14807,12 +14822,12 @@ const o0 = {
|
|
|
14807
14822
|
retry: "Try again",
|
|
14808
14823
|
chooseDifferent: "Choose different method",
|
|
14809
14824
|
destinationsHeading: "Money back to"
|
|
14810
|
-
},
|
|
14825
|
+
}, d0 = {
|
|
14811
14826
|
card: "lucide:credit-card",
|
|
14812
14827
|
cash: "lucide:dollar-sign",
|
|
14813
14828
|
check: "lucide:edit-3",
|
|
14814
14829
|
other: "lucide:more-horizontal"
|
|
14815
|
-
},
|
|
14830
|
+
}, u0 = ({
|
|
14816
14831
|
tenders: e,
|
|
14817
14832
|
selectedTenderId: t,
|
|
14818
14833
|
onSelect: a,
|
|
@@ -14822,7 +14837,7 @@ const o0 = {
|
|
|
14822
14837
|
className: l,
|
|
14823
14838
|
"data-testid": o = "tender-methods"
|
|
14824
14839
|
}) => {
|
|
14825
|
-
const c = { ...
|
|
14840
|
+
const c = { ...c0, ...s }, d = i?.kind === "processor_declined";
|
|
14826
14841
|
return /* @__PURE__ */ u("div", { className: p("flex flex-col text-default-900", l), "data-testid": o, children: [
|
|
14827
14842
|
i && /* @__PURE__ */ n(
|
|
14828
14843
|
gr,
|
|
@@ -14873,7 +14888,7 @@ const o0 = {
|
|
|
14873
14888
|
"flex h-[34px] w-[34px] shrink-0 items-center justify-center rounded-[10px]",
|
|
14874
14889
|
m ? "bg-primary text-white" : "bg-default-100 text-default-600"
|
|
14875
14890
|
),
|
|
14876
|
-
children: /* @__PURE__ */ n(T, { icon:
|
|
14891
|
+
children: /* @__PURE__ */ n(T, { icon: d0[f.kind], width: 18, height: 18, "aria-hidden": "true" })
|
|
14877
14892
|
}
|
|
14878
14893
|
),
|
|
14879
14894
|
/* @__PURE__ */ u("span", { className: "min-w-0", children: [
|
|
@@ -14907,8 +14922,8 @@ const o0 = {
|
|
|
14907
14922
|
)
|
|
14908
14923
|
] });
|
|
14909
14924
|
};
|
|
14910
|
-
|
|
14911
|
-
const
|
|
14925
|
+
u0.displayName = "TenderMethods";
|
|
14926
|
+
const m0 = (e) => e.refunded !== null, f0 = {
|
|
14912
14927
|
title: "Split refund",
|
|
14913
14928
|
refundedSoFar: "Refunded so far",
|
|
14914
14929
|
remaining: "Remaining",
|
|
@@ -14924,7 +14939,7 @@ const u0 = (e) => e.refunded !== null, m0 = {
|
|
|
14924
14939
|
chooseDifferent: "Choose different method",
|
|
14925
14940
|
pending: "Pending",
|
|
14926
14941
|
succeeded: "Refunded"
|
|
14927
|
-
},
|
|
14942
|
+
}, h0 = "mb-2 text-[11px] font-semibold uppercase tracking-[.08em] text-default-500", p0 = "inline-flex h-[22px] shrink-0 items-center gap-[5px] whitespace-nowrap rounded-full px-[9px] text-xs font-medium leading-none", g0 = ({
|
|
14928
14943
|
parts: e,
|
|
14929
14944
|
refundedSoFar: t,
|
|
14930
14945
|
remaining: a,
|
|
@@ -14939,7 +14954,7 @@ const u0 = (e) => e.refunded !== null, m0 = {
|
|
|
14939
14954
|
className: m,
|
|
14940
14955
|
"data-testid": g = "split-tender-panel"
|
|
14941
14956
|
}) => {
|
|
14942
|
-
const h = { ...
|
|
14957
|
+
const h = { ...f0, ...f }, x = e.filter(m0), y = e.find((C) => C.tenderId === r.tenderId)?.label, b = !!(i?.length && r.onTenderChange), N = qa(a.currency), {
|
|
14943
14958
|
draft: k,
|
|
14944
14959
|
setDraft: E,
|
|
14945
14960
|
normalize: w
|
|
@@ -14978,7 +14993,7 @@ const u0 = (e) => e.refunded !== null, m0 = {
|
|
|
14978
14993
|
] })
|
|
14979
14994
|
] }),
|
|
14980
14995
|
x.length > 0 && /* @__PURE__ */ u("div", { children: [
|
|
14981
|
-
/* @__PURE__ */ n("p", { className:
|
|
14996
|
+
/* @__PURE__ */ n("p", { className: h0, children: h.refundedSoFar }),
|
|
14982
14997
|
x.map((C, A) => /* @__PURE__ */ u(
|
|
14983
14998
|
"div",
|
|
14984
14999
|
{
|
|
@@ -15007,7 +15022,7 @@ const u0 = (e) => e.refunded !== null, m0 = {
|
|
|
15007
15022
|
"span",
|
|
15008
15023
|
{
|
|
15009
15024
|
className: p(
|
|
15010
|
-
|
|
15025
|
+
p0,
|
|
15011
15026
|
C.status === "pending" ? "bg-pos-warn-fill text-pos-warn" : "bg-pos-ok-fill text-pos-ok"
|
|
15012
15027
|
),
|
|
15013
15028
|
children: C.status === "pending" ? h.pending : h.succeeded
|
|
@@ -15101,11 +15116,11 @@ const u0 = (e) => e.refunded !== null, m0 = {
|
|
|
15101
15116
|
] })
|
|
15102
15117
|
] });
|
|
15103
15118
|
};
|
|
15104
|
-
|
|
15105
|
-
const
|
|
15119
|
+
g0.displayName = "SplitTenderPanel";
|
|
15120
|
+
const b0 = {
|
|
15106
15121
|
label: "Supervisor authorization",
|
|
15107
15122
|
placeholder: "••••"
|
|
15108
|
-
},
|
|
15123
|
+
}, x0 = ({
|
|
15109
15124
|
pin: e,
|
|
15110
15125
|
onChange: t,
|
|
15111
15126
|
hint: a,
|
|
@@ -15114,7 +15129,7 @@ const g0 = {
|
|
|
15114
15129
|
className: s,
|
|
15115
15130
|
"data-testid": l = "pin-field"
|
|
15116
15131
|
}) => {
|
|
15117
|
-
const o = { ...
|
|
15132
|
+
const o = { ...b0, ...i };
|
|
15118
15133
|
return /* @__PURE__ */ u(
|
|
15119
15134
|
"div",
|
|
15120
15135
|
{
|
|
@@ -15153,8 +15168,8 @@ const g0 = {
|
|
|
15153
15168
|
}
|
|
15154
15169
|
);
|
|
15155
15170
|
};
|
|
15156
|
-
|
|
15157
|
-
const
|
|
15171
|
+
x0.displayName = "PinField";
|
|
15172
|
+
const y0 = {
|
|
15158
15173
|
processing: "Processing refund…",
|
|
15159
15174
|
title: "Refund complete",
|
|
15160
15175
|
destinationsTitle: "Refund destinations",
|
|
@@ -15166,10 +15181,10 @@ const x0 = {
|
|
|
15166
15181
|
succeeded: "Refunded",
|
|
15167
15182
|
reason: "Reason · {reason}",
|
|
15168
15183
|
authorizedBy: "Authorized by {name}"
|
|
15169
|
-
},
|
|
15184
|
+
}, v0 = {
|
|
15170
15185
|
succeeded: "bg-pos-ok-fill text-pos-ok",
|
|
15171
15186
|
pending: "bg-pos-warn-fill text-pos-warn"
|
|
15172
|
-
},
|
|
15187
|
+
}, w0 = "inline-flex h-[22px] items-center gap-[5px] whitespace-nowrap rounded-full px-[9px] text-xs font-medium leading-none", Li = "mb-1.5 text-[11px] font-semibold uppercase tracking-[.05em] text-default-500", N0 = "mx-auto max-w-[1040px] rounded-[20px] border border-pos-line bg-white px-7 py-[26px] shadow-[0_1px_2px_rgba(0,0,0,0.05)]", k0 = ["email", "print"], C0 = ({
|
|
15173
15188
|
state: e,
|
|
15174
15189
|
total: t,
|
|
15175
15190
|
destinations: a,
|
|
@@ -15183,7 +15198,7 @@ const x0 = {
|
|
|
15183
15198
|
className: f,
|
|
15184
15199
|
"data-testid": m = "outcome-view"
|
|
15185
15200
|
}) => {
|
|
15186
|
-
const g = { ...
|
|
15201
|
+
const g = { ...y0, ...d }, h = t ? Ne(t.value, void 0, t.currency) : null;
|
|
15187
15202
|
return e === "processing" ? /* @__PURE__ */ n(
|
|
15188
15203
|
"div",
|
|
15189
15204
|
{
|
|
@@ -15212,7 +15227,7 @@ const x0 = {
|
|
|
15212
15227
|
) : /* @__PURE__ */ u(
|
|
15213
15228
|
"div",
|
|
15214
15229
|
{
|
|
15215
|
-
className: p("flex flex-col text-default-900", !c &&
|
|
15230
|
+
className: p("flex flex-col text-default-900", !c && N0, f),
|
|
15216
15231
|
"aria-live": "polite",
|
|
15217
15232
|
"data-testid": m,
|
|
15218
15233
|
children: [
|
|
@@ -15233,7 +15248,7 @@ const x0 = {
|
|
|
15233
15248
|
/* @__PURE__ */ n("span", { className: "font-semibold", children: x.label }),
|
|
15234
15249
|
/* @__PURE__ */ u("div", { className: "flex items-center gap-2.5", children: [
|
|
15235
15250
|
/* @__PURE__ */ n("span", { className: "tabular-nums text-default-600", children: Ne(x.amount.value, void 0, x.amount.currency) }),
|
|
15236
|
-
/* @__PURE__ */ n("span", { className: p(
|
|
15251
|
+
/* @__PURE__ */ n("span", { className: p(w0, v0[x.status]), children: x.status === "succeeded" ? g.succeeded : g.pending })
|
|
15237
15252
|
] })
|
|
15238
15253
|
]
|
|
15239
15254
|
},
|
|
@@ -15242,7 +15257,7 @@ const x0 = {
|
|
|
15242
15257
|
] }),
|
|
15243
15258
|
l && /* @__PURE__ */ u("div", { className: "mt-5 text-left", children: [
|
|
15244
15259
|
/* @__PURE__ */ n("p", { className: Li, children: g.sendReceipt }),
|
|
15245
|
-
/* @__PURE__ */ n("div", { className: "flex flex-col gap-2", children:
|
|
15260
|
+
/* @__PURE__ */ n("div", { className: "flex flex-col gap-2", children: k0.map((x) => {
|
|
15246
15261
|
const y = s?.includes(x) ?? !1;
|
|
15247
15262
|
return /* @__PURE__ */ u(
|
|
15248
15263
|
"button",
|
|
@@ -15277,7 +15292,7 @@ const x0 = {
|
|
|
15277
15292
|
}
|
|
15278
15293
|
);
|
|
15279
15294
|
};
|
|
15280
|
-
|
|
15295
|
+
C0.displayName = "OutcomeView";
|
|
15281
15296
|
const ze = {
|
|
15282
15297
|
base: "relative inline-grid min-w-[var(--filter-select-min)] max-w-max shrink grow basis-[var(--filter-select-min)] grid-cols-[minmax(0,1fr)] [--filter-select-min:6rem]",
|
|
15283
15298
|
baseActive: "[--filter-select-min:8rem]",
|
|
@@ -15293,7 +15308,7 @@ const ze = {
|
|
|
15293
15308
|
clear: "absolute right-[1.875rem] top-1/2 z-20 inline-flex size-[1.25rem] -translate-y-1/2 items-center justify-center rounded-md text-primary-600 outline-none hover:bg-white/70 focus-visible:outline focus-visible:outline-2 focus-visible:outline-primary",
|
|
15294
15309
|
clearIcon: "size-[0.8125rem]",
|
|
15295
15310
|
optionTitle: "whitespace-normal break-words"
|
|
15296
|
-
},
|
|
15311
|
+
}, S0 = "grid shrink grow basis-0 grid-flow-col auto-cols-auto gap-2.5 [--filter-select-cap:16rem] max-w-[calc(var(--filter-select-count)*var(--filter-select-cap)+(var(--filter-select-count)-1)*0.625rem)] [&>[data-slot=filter-select]]:max-w-none", $0 = "calc(100vw - 1.5rem)", A0 = ({
|
|
15297
15312
|
label: e,
|
|
15298
15313
|
value: t,
|
|
15299
15314
|
options: a,
|
|
@@ -15335,7 +15350,7 @@ const ze = {
|
|
|
15335
15350
|
// Taking over HeroUI's popover ref skips its effect that pins the list to the trigger width.
|
|
15336
15351
|
ref: f,
|
|
15337
15352
|
placement: "bottom-start",
|
|
15338
|
-
style: { minWidth: m, maxWidth:
|
|
15353
|
+
style: { minWidth: m, maxWidth: $0 }
|
|
15339
15354
|
},
|
|
15340
15355
|
"data-testid": `${l}-trigger`,
|
|
15341
15356
|
classNames: {
|
|
@@ -15373,8 +15388,8 @@ const ze = {
|
|
|
15373
15388
|
}
|
|
15374
15389
|
);
|
|
15375
15390
|
};
|
|
15376
|
-
|
|
15377
|
-
const
|
|
15391
|
+
A0.displayName = "FilterSelect";
|
|
15392
|
+
const D0 = ({
|
|
15378
15393
|
children: e,
|
|
15379
15394
|
className: t,
|
|
15380
15395
|
"data-testid": a = "filter-select-group"
|
|
@@ -15383,19 +15398,19 @@ const A0 = ({
|
|
|
15383
15398
|
{
|
|
15384
15399
|
"data-testid": a,
|
|
15385
15400
|
"data-slot": "filter-select-group",
|
|
15386
|
-
className: p(
|
|
15401
|
+
className: p(S0, t),
|
|
15387
15402
|
style: { "--filter-select-count": G.Children.toArray(e).length },
|
|
15388
15403
|
children: e
|
|
15389
15404
|
}
|
|
15390
15405
|
);
|
|
15391
|
-
|
|
15406
|
+
D0.displayName = "FilterSelectGroup";
|
|
15392
15407
|
const yt = {
|
|
15393
15408
|
base: "flex flex-wrap items-center justify-center gap-2.5 border-t border-pos-hair px-5 py-[0.875rem] text-[0.84375rem] text-default-500",
|
|
15394
15409
|
idle: "w-full",
|
|
15395
15410
|
sentinel: "h-px w-full",
|
|
15396
15411
|
spinner: "inline-flex",
|
|
15397
15412
|
error: "text-pos-danger"
|
|
15398
|
-
},
|
|
15413
|
+
}, E0 = ({
|
|
15399
15414
|
status: e,
|
|
15400
15415
|
onLoadMore: t,
|
|
15401
15416
|
loadingLabel: a,
|
|
@@ -15466,7 +15481,7 @@ const yt = {
|
|
|
15466
15481
|
}
|
|
15467
15482
|
);
|
|
15468
15483
|
};
|
|
15469
|
-
|
|
15484
|
+
E0.displayName = "LoadMoreFooter";
|
|
15470
15485
|
const $e = {
|
|
15471
15486
|
base: "w-full",
|
|
15472
15487
|
list: "m-0 list-none p-0",
|
|
@@ -15499,7 +15514,7 @@ const $e = {
|
|
|
15499
15514
|
/* @__PURE__ */ n("span", { className: $e.rowLabel, children: a.label }),
|
|
15500
15515
|
/* @__PURE__ */ n("span", { className: $e.rowValue, children: a.value })
|
|
15501
15516
|
] }, r)) })
|
|
15502
|
-
] }),
|
|
15517
|
+
] }), F0 = ({
|
|
15503
15518
|
items: e,
|
|
15504
15519
|
ariaLabel: t,
|
|
15505
15520
|
onSelect: a,
|
|
@@ -15532,8 +15547,8 @@ const $e = {
|
|
|
15532
15547
|
)
|
|
15533
15548
|
] }, l.id);
|
|
15534
15549
|
}) }) });
|
|
15535
|
-
|
|
15536
|
-
const
|
|
15550
|
+
F0.displayName = "CardList";
|
|
15551
|
+
const L0 = 48, se = {
|
|
15537
15552
|
base: `mb-4 overflow-hidden rounded-2xl border border-pos-line bg-white ${Ya}`,
|
|
15538
15553
|
band: "flex items-center gap-2.5 border-b border-pos-hair bg-pos-page px-4 py-2.5",
|
|
15539
15554
|
back: `inline-flex size-[1.625rem] shrink-0 items-center justify-center rounded-[0.625rem] text-default-500 outline-none transition-colors hover:bg-default-100 focus-visible:outline focus-visible:outline-2 focus-visible:outline-primary ${ma}`,
|
|
@@ -15576,7 +15591,7 @@ const F0 = 48, se = {
|
|
|
15576
15591
|
statsNarrow: "px-4 pb-4"
|
|
15577
15592
|
}, _l = Ft((e, t) => /* @__PURE__ */ n("li", { ref: t, ...Object.fromEntries(Object.entries(e).filter(([a]) => a !== "data-testid")) }));
|
|
15578
15593
|
_l.displayName = "CrumbBase";
|
|
15579
|
-
const
|
|
15594
|
+
const _0 = ({
|
|
15580
15595
|
breadcrumb: e = [],
|
|
15581
15596
|
onBack: t,
|
|
15582
15597
|
backLabel: a,
|
|
@@ -15592,7 +15607,7 @@ const L0 = ({
|
|
|
15592
15607
|
banner: g,
|
|
15593
15608
|
"data-testid": h = "record-header"
|
|
15594
15609
|
}) => {
|
|
15595
|
-
const { ref: x, width: y } = Ut(), b = !da(y,
|
|
15610
|
+
const { ref: x, width: y } = Ut(), b = !da(y, L0), N = e.length > 0 || !!t, k = !!(f && f.length > 0), E = !!s || oe(l) || oe(o) || oe(c) || oe(d) || k;
|
|
15596
15611
|
return /* @__PURE__ */ u("div", { ref: x, "data-testid": h, "data-size": b ? "narrow" : "wide", className: se.base, children: [
|
|
15597
15612
|
N && /* @__PURE__ */ u("div", { "data-testid": `${h}-band`, className: se.band, children: [
|
|
15598
15613
|
t && /* @__PURE__ */ n(
|
|
@@ -15702,19 +15717,19 @@ const L0 = ({
|
|
|
15702
15717
|
oe(g) && /* @__PURE__ */ n("div", { "data-testid": `${h}-banner`, children: g })
|
|
15703
15718
|
] });
|
|
15704
15719
|
};
|
|
15705
|
-
|
|
15706
|
-
const
|
|
15720
|
+
_0.displayName = "RecordHeader";
|
|
15721
|
+
const M0 = 50, Qt = {
|
|
15707
15722
|
base: "grid items-start gap-4",
|
|
15708
15723
|
split: "grid-cols-[minmax(0,1fr)_23.25rem]",
|
|
15709
15724
|
stacked: "grid-cols-[minmax(0,1fr)]",
|
|
15710
15725
|
column: "min-w-0",
|
|
15711
15726
|
aside: "flex min-w-0 flex-col gap-[0.875rem]"
|
|
15712
|
-
},
|
|
15727
|
+
}, R0 = ({
|
|
15713
15728
|
children: e,
|
|
15714
15729
|
aside: t,
|
|
15715
15730
|
"data-testid": a = "record-layout"
|
|
15716
15731
|
}) => {
|
|
15717
|
-
const { ref: r, width: i } = Ut(), s = oe(t), l = s && i > 0 && da(i,
|
|
15732
|
+
const { ref: r, width: i } = Ut(), s = oe(t), l = s && i > 0 && da(i, M0), o = /* @__PURE__ */ n("div", { "data-testid": `${a}-main`, className: Qt.column, children: e }, "main"), c = s ? /* @__PURE__ */ n("div", { "data-testid": `${a}-aside`, className: Qt.aside, children: t }, "aside") : null;
|
|
15718
15733
|
return /* @__PURE__ */ n(
|
|
15719
15734
|
"div",
|
|
15720
15735
|
{
|
|
@@ -15726,15 +15741,15 @@ const _0 = 50, Qt = {
|
|
|
15726
15741
|
}
|
|
15727
15742
|
);
|
|
15728
15743
|
};
|
|
15729
|
-
|
|
15730
|
-
const
|
|
15744
|
+
R0.displayName = "RecordLayout";
|
|
15745
|
+
const P0 = 560, Zt = {
|
|
15731
15746
|
base: "grid gap-3",
|
|
15732
15747
|
tile: "min-w-0 rounded-[14px] border border-pos-line bg-white px-[18px] py-4 shadow-[0_1px_4px_rgba(0,0,0,.06),0_4px_12px_rgba(0,0,0,.06)]",
|
|
15733
15748
|
value: "text-[23px] font-bold leading-[1.2] tracking-[-.02em] tabular-nums text-default-900 [overflow-wrap:anywhere]",
|
|
15734
15749
|
label: "mt-[5px] text-[13.5px] text-default-500",
|
|
15735
15750
|
caption: "mt-0.5 text-[12.5px] text-default-500"
|
|
15736
|
-
},
|
|
15737
|
-
const { ref: a, width: r } = Ut(), i = r >= Lf ? Math.max(e.length, 1) : r >=
|
|
15751
|
+
}, O0 = ({ items: e, "data-testid": t = "stat-tiles" }) => {
|
|
15752
|
+
const { ref: a, width: r } = Ut(), i = r >= Lf ? Math.max(e.length, 1) : r >= P0 ? 2 : 1;
|
|
15738
15753
|
return /* @__PURE__ */ n(
|
|
15739
15754
|
"div",
|
|
15740
15755
|
{
|
|
@@ -15759,7 +15774,7 @@ const R0 = 560, Zt = {
|
|
|
15759
15774
|
}
|
|
15760
15775
|
);
|
|
15761
15776
|
};
|
|
15762
|
-
|
|
15777
|
+
O0.displayName = "StatTiles";
|
|
15763
15778
|
const ut = {
|
|
15764
15779
|
base: "mb-3.5 w-full",
|
|
15765
15780
|
tabList: "w-full gap-1 rounded-full border border-pos-line bg-default-100 p-1",
|
|
@@ -15771,7 +15786,7 @@ const ut = {
|
|
|
15771
15786
|
title: "flex items-center whitespace-nowrap",
|
|
15772
15787
|
icon: "flex shrink-0",
|
|
15773
15788
|
count: "rounded-full bg-default-200 py-px leading-[1.5] font-semibold text-default-600 group-data-[selected=true]:bg-acct-rust-fill group-data-[selected=true]:text-primary-600"
|
|
15774
|
-
},
|
|
15789
|
+
}, z0 = {
|
|
15775
15790
|
md: {
|
|
15776
15791
|
tab: "px-[0.875rem] py-[0.5625rem]",
|
|
15777
15792
|
tabContent: "text-[0.84375rem]",
|
|
@@ -15786,12 +15801,12 @@ const ut = {
|
|
|
15786
15801
|
icon: "[&_svg]:size-5",
|
|
15787
15802
|
count: "px-2 text-[0.8125rem]"
|
|
15788
15803
|
}
|
|
15789
|
-
}, br = "pill-tabs", Ml = (e, t = br) => `${t}-tab-${e}`, Rl = (e, t = br) => `${t}-panel-${e}`,
|
|
15804
|
+
}, br = "pill-tabs", Ml = (e, t = br) => `${t}-tab-${e}`, Rl = (e, t = br) => `${t}-panel-${e}`, ub = (e, t = br) => ({
|
|
15790
15805
|
role: "tabpanel",
|
|
15791
15806
|
id: Rl(e, t),
|
|
15792
15807
|
"aria-labelledby": Ml(e, t),
|
|
15793
15808
|
tabIndex: 0
|
|
15794
|
-
}),
|
|
15809
|
+
}), T0 = ({
|
|
15795
15810
|
items: e,
|
|
15796
15811
|
value: t,
|
|
15797
15812
|
onChange: a,
|
|
@@ -15800,7 +15815,7 @@ const ut = {
|
|
|
15800
15815
|
size: s = "md",
|
|
15801
15816
|
"data-testid": l = "pill-tabs"
|
|
15802
15817
|
}) => {
|
|
15803
|
-
const o = Wf(), c = !!so()?.disableAnimation, d = i ?? l, f =
|
|
15818
|
+
const o = Wf(), c = !!so()?.disableAnimation, d = i ?? l, f = z0[s];
|
|
15804
15819
|
return /* @__PURE__ */ n(
|
|
15805
15820
|
qn,
|
|
15806
15821
|
{
|
|
@@ -15856,7 +15871,7 @@ const ut = {
|
|
|
15856
15871
|
}
|
|
15857
15872
|
);
|
|
15858
15873
|
};
|
|
15859
|
-
|
|
15874
|
+
T0.displayName = "PillTabs";
|
|
15860
15875
|
const ve = {
|
|
15861
15876
|
base: "w-full",
|
|
15862
15877
|
list: "m-0 list-none p-0",
|
|
@@ -15899,7 +15914,7 @@ const ve = {
|
|
|
15899
15914
|
children: e.note
|
|
15900
15915
|
}
|
|
15901
15916
|
) : null })
|
|
15902
|
-
] }),
|
|
15917
|
+
] }), I0 = ({
|
|
15903
15918
|
rows: e,
|
|
15904
15919
|
footer: t,
|
|
15905
15920
|
emptyContent: a,
|
|
@@ -15934,7 +15949,7 @@ const ve = {
|
|
|
15934
15949
|
t.note != null && /* @__PURE__ */ n("div", { "data-testid": `${i}-footer-note`, className: ve.footerNote, children: t.note })
|
|
15935
15950
|
] })
|
|
15936
15951
|
] });
|
|
15937
|
-
|
|
15952
|
+
I0.displayName = "AmountList";
|
|
15938
15953
|
const He = {
|
|
15939
15954
|
list: "m-0 list-none p-0 pl-0.5",
|
|
15940
15955
|
event: "flex gap-3.5",
|
|
@@ -15949,7 +15964,7 @@ const He = {
|
|
|
15949
15964
|
detail: "mt-[0.1875rem] min-w-0 text-[0.84375rem] leading-[1.5] text-default-500 [overflow-wrap:anywhere]",
|
|
15950
15965
|
actor: "mt-[0.1875rem] min-w-0 text-[0.78125rem] text-default-500 [overflow-wrap:anywhere]",
|
|
15951
15966
|
empty: "text-[0.875rem] text-default-500"
|
|
15952
|
-
},
|
|
15967
|
+
}, B0 = ({
|
|
15953
15968
|
events: e,
|
|
15954
15969
|
emptyContent: t,
|
|
15955
15970
|
"data-testid": a = "activity-timeline"
|
|
@@ -15970,7 +15985,7 @@ const He = {
|
|
|
15970
15985
|
] })
|
|
15971
15986
|
] }, r.id);
|
|
15972
15987
|
}) });
|
|
15973
|
-
|
|
15988
|
+
B0.displayName = "ActivityTimeline";
|
|
15974
15989
|
const Fe = {
|
|
15975
15990
|
base: `overflow-hidden rounded-2xl border border-pos-line bg-white ${Ya}`,
|
|
15976
15991
|
header: "flex flex-wrap items-center gap-2 px-5 pt-4",
|
|
@@ -15998,7 +16013,7 @@ const Fe = {
|
|
|
15998
16013
|
!!e.secondary && /* @__PURE__ */ n("span", { className: Fe.secondary, children: e.secondary })
|
|
15999
16014
|
] }),
|
|
16000
16015
|
!!e.amount && /* @__PURE__ */ n("span", { "data-testid": `${t}-amount`, className: Fe.amount, style: ua(e.amountTone), children: e.amount })
|
|
16001
|
-
] }),
|
|
16016
|
+
] }), V0 = ({
|
|
16002
16017
|
title: e,
|
|
16003
16018
|
count: t,
|
|
16004
16019
|
rows: a,
|
|
@@ -16052,8 +16067,8 @@ const Fe = {
|
|
|
16052
16067
|
}
|
|
16053
16068
|
);
|
|
16054
16069
|
};
|
|
16055
|
-
|
|
16056
|
-
const
|
|
16070
|
+
V0.displayName = "RelatedRecordList";
|
|
16071
|
+
const U0 = ({
|
|
16057
16072
|
title: e,
|
|
16058
16073
|
titleAs: t = "h2",
|
|
16059
16074
|
icon: a,
|
|
@@ -16106,27 +16121,27 @@ const V0 = ({
|
|
|
16106
16121
|
}
|
|
16107
16122
|
);
|
|
16108
16123
|
};
|
|
16109
|
-
|
|
16110
|
-
const
|
|
16124
|
+
U0.displayName = "RecordCard";
|
|
16125
|
+
const j0 = {
|
|
16111
16126
|
stack: "flex min-w-0 flex-col gap-[0.875rem]",
|
|
16112
16127
|
grid: "grid min-w-0 grid-cols-[repeat(auto-fit,minmax(min(100%,18.75rem),1fr))] items-start gap-[0.875rem]"
|
|
16113
|
-
},
|
|
16128
|
+
}, H0 = ({
|
|
16114
16129
|
layout: e = "stack",
|
|
16115
16130
|
className: t,
|
|
16116
16131
|
children: a,
|
|
16117
16132
|
"data-testid": r = "card-stack",
|
|
16118
16133
|
...i
|
|
16119
|
-
}) => /* @__PURE__ */ n("div", { ...i, "data-testid": r, "data-layout": e, className: p(
|
|
16120
|
-
|
|
16134
|
+
}) => /* @__PURE__ */ n("div", { ...i, "data-testid": r, "data-layout": e, className: p(j0[e], t), children: a });
|
|
16135
|
+
H0.displayName = "CardStack";
|
|
16121
16136
|
const ya = {
|
|
16122
16137
|
list: "m-0 divide-y divide-pos-hair",
|
|
16123
16138
|
row: "flex items-baseline gap-3",
|
|
16124
16139
|
label: "min-w-0 text-[0.84375rem] text-default-500",
|
|
16125
16140
|
value: "m-0 ml-auto flex min-w-0 flex-wrap justify-end gap-[0.3125rem] text-right text-[0.875rem] text-default-900 [overflow-wrap:anywhere]"
|
|
16126
|
-
},
|
|
16141
|
+
}, W0 = {
|
|
16127
16142
|
regular: "py-[0.5625rem]",
|
|
16128
16143
|
compact: "py-2"
|
|
16129
|
-
},
|
|
16144
|
+
}, q0 = ({
|
|
16130
16145
|
rows: e,
|
|
16131
16146
|
density: t = "regular",
|
|
16132
16147
|
"data-testid": a = "key-value-rows"
|
|
@@ -16134,7 +16149,7 @@ const ya = {
|
|
|
16134
16149
|
"div",
|
|
16135
16150
|
{
|
|
16136
16151
|
"data-testid": `${a}-row-${r.id ?? i}`,
|
|
16137
|
-
className: p(ya.row,
|
|
16152
|
+
className: p(ya.row, W0[t]),
|
|
16138
16153
|
children: [
|
|
16139
16154
|
/* @__PURE__ */ n("dt", { className: ya.label, children: r.label }),
|
|
16140
16155
|
/* @__PURE__ */ n("dd", { className: ya.value, children: r.value })
|
|
@@ -16142,7 +16157,7 @@ const ya = {
|
|
|
16142
16157
|
},
|
|
16143
16158
|
r.id ?? i
|
|
16144
16159
|
)) });
|
|
16145
|
-
|
|
16160
|
+
q0.displayName = "KeyValueRows";
|
|
16146
16161
|
const Qe = {
|
|
16147
16162
|
list: "m-0 list-none p-0",
|
|
16148
16163
|
row: "flex items-start gap-[0.875rem] border-t border-pos-hair px-5 py-3",
|
|
@@ -16155,7 +16170,7 @@ const Qe = {
|
|
|
16155
16170
|
amounts: "inline-flex items-baseline gap-2",
|
|
16156
16171
|
original: "text-[0.8125rem] tabular-nums text-default-500 line-through",
|
|
16157
16172
|
amount: "whitespace-nowrap text-[0.9375rem] font-bold tabular-nums text-default-900"
|
|
16158
|
-
},
|
|
16173
|
+
}, G0 = ({
|
|
16159
16174
|
items: e,
|
|
16160
16175
|
ariaLabel: t,
|
|
16161
16176
|
originalAmountLabel: a,
|
|
@@ -16202,8 +16217,8 @@ const Qe = {
|
|
|
16202
16217
|
i.id
|
|
16203
16218
|
);
|
|
16204
16219
|
}) });
|
|
16205
|
-
|
|
16206
|
-
const
|
|
16220
|
+
G0.displayName = "LineItemRows";
|
|
16221
|
+
const K0 = 37.5, Re = {
|
|
16207
16222
|
base: "mx-5 border-t border-pos-hair pb-[1.125rem] pt-2.5",
|
|
16208
16223
|
rowWide: "flex items-baseline gap-4",
|
|
16209
16224
|
rowNarrow: "flex flex-wrap items-baseline gap-x-3",
|
|
@@ -16220,56 +16235,56 @@ const G0 = 37.5, Me = {
|
|
|
16220
16235
|
totalLabel: "text-[0.9375rem] font-bold text-default-900",
|
|
16221
16236
|
totalValue: "ml-auto shrink-0 whitespace-nowrap text-right text-[1.0625rem] font-bold tabular-nums text-default-900",
|
|
16222
16237
|
memo: "mt-2 text-[0.78125rem] leading-[1.6] text-default-500"
|
|
16223
|
-
},
|
|
16238
|
+
}, Y0 = ({
|
|
16224
16239
|
rows: e,
|
|
16225
16240
|
total: t,
|
|
16226
16241
|
memo: a,
|
|
16227
16242
|
"data-testid": r = "record-totals"
|
|
16228
16243
|
}) => {
|
|
16229
|
-
const { ref: i, width: s } = Ut(), l = s > 0 && !da(s,
|
|
16244
|
+
const { ref: i, width: s } = Ut(), l = s > 0 && !da(s, K0), o = l ? Re.rowNarrow : Re.rowWide, c = l ? Re.labelNarrow : Re.labelWide, d = l ? Re.noteNarrow : Re.noteWide;
|
|
16230
16245
|
return /* @__PURE__ */ u(
|
|
16231
16246
|
"div",
|
|
16232
16247
|
{
|
|
16233
16248
|
ref: i,
|
|
16234
16249
|
"data-testid": r,
|
|
16235
16250
|
"data-size": l ? "narrow" : "wide",
|
|
16236
|
-
className:
|
|
16251
|
+
className: Re.base,
|
|
16237
16252
|
children: [
|
|
16238
16253
|
e.map((f) => {
|
|
16239
16254
|
const m = `${r}-row-${f.id}`;
|
|
16240
|
-
return /* @__PURE__ */ u("div", { "data-testid": m, className: p(o,
|
|
16241
|
-
/* @__PURE__ */ n("span", { "data-testid": `${m}-label`, className: p(c,
|
|
16242
|
-
/* @__PURE__ */ n("span", { "data-testid": `${m}-note`, className: p(d,
|
|
16255
|
+
return /* @__PURE__ */ u("div", { "data-testid": m, className: p(o, Re.row), children: [
|
|
16256
|
+
/* @__PURE__ */ n("span", { "data-testid": `${m}-label`, className: p(c, Re.label), children: f.label }),
|
|
16257
|
+
/* @__PURE__ */ n("span", { "data-testid": `${m}-note`, className: p(d, Re.note), children: f.note }),
|
|
16243
16258
|
/* @__PURE__ */ n(
|
|
16244
16259
|
"span",
|
|
16245
16260
|
{
|
|
16246
16261
|
"data-testid": `${m}-value`,
|
|
16247
|
-
className:
|
|
16262
|
+
className: Re.value,
|
|
16248
16263
|
style: ua(f.tone),
|
|
16249
16264
|
children: f.value
|
|
16250
16265
|
}
|
|
16251
16266
|
)
|
|
16252
16267
|
] }, f.id);
|
|
16253
16268
|
}),
|
|
16254
|
-
/* @__PURE__ */ n("div", { className:
|
|
16255
|
-
/* @__PURE__ */ n("span", { className: p(c,
|
|
16256
|
-
/* @__PURE__ */ n("span", { "data-testid": `${r}-total-value`, className:
|
|
16269
|
+
/* @__PURE__ */ n("div", { className: Re.totalRule, children: /* @__PURE__ */ u("div", { "data-testid": `${r}-total`, className: p(o, Re.totalRow), children: [
|
|
16270
|
+
/* @__PURE__ */ n("span", { className: p(c, Re.totalLabel), children: t.label }),
|
|
16271
|
+
/* @__PURE__ */ n("span", { "data-testid": `${r}-total-value`, className: Re.totalValue, children: t.value })
|
|
16257
16272
|
] }) }),
|
|
16258
|
-
oe(a) && /* @__PURE__ */ n("div", { "data-testid": `${r}-memo`, className:
|
|
16273
|
+
oe(a) && /* @__PURE__ */ n("div", { "data-testid": `${r}-memo`, className: Re.memo, children: a })
|
|
16259
16274
|
]
|
|
16260
16275
|
}
|
|
16261
16276
|
);
|
|
16262
16277
|
};
|
|
16263
|
-
|
|
16278
|
+
Y0.displayName = "RecordTotals";
|
|
16264
16279
|
const In = {
|
|
16265
16280
|
base: "whitespace-nowrap text-[0.875rem]",
|
|
16266
16281
|
secondary: "text-default-500",
|
|
16267
16282
|
chipStack: "inline-flex flex-col items-start gap-[0.3125rem]"
|
|
16268
|
-
},
|
|
16283
|
+
}, Q0 = {
|
|
16269
16284
|
text: "text-default-900",
|
|
16270
16285
|
reference: "font-normal text-primary",
|
|
16271
16286
|
amount: "font-semibold tabular-nums text-default-900"
|
|
16272
|
-
},
|
|
16287
|
+
}, Z0 = ({
|
|
16273
16288
|
variant: e = "text",
|
|
16274
16289
|
tone: t,
|
|
16275
16290
|
secondary: a,
|
|
@@ -16279,7 +16294,7 @@ const In = {
|
|
|
16279
16294
|
"span",
|
|
16280
16295
|
{
|
|
16281
16296
|
"data-testid": i,
|
|
16282
|
-
className: p(In.base,
|
|
16297
|
+
className: p(In.base, Q0[e]),
|
|
16283
16298
|
style: ua(t),
|
|
16284
16299
|
children: [
|
|
16285
16300
|
r,
|
|
@@ -16290,32 +16305,32 @@ const In = {
|
|
|
16290
16305
|
]
|
|
16291
16306
|
}
|
|
16292
16307
|
);
|
|
16293
|
-
|
|
16294
|
-
const
|
|
16295
|
-
|
|
16308
|
+
Z0.displayName = "CellText";
|
|
16309
|
+
const X0 = ({ children: e, "data-testid": t = "chip-stack" }) => /* @__PURE__ */ n("span", { "data-testid": t, className: In.chipStack, children: e });
|
|
16310
|
+
X0.displayName = "ChipStack";
|
|
16296
16311
|
export {
|
|
16297
|
-
|
|
16312
|
+
B0 as ActivityTimeline,
|
|
16298
16313
|
fh as AdminFieldLabel,
|
|
16299
16314
|
Xf as AdminTable,
|
|
16300
16315
|
hh as AdminTextField,
|
|
16301
16316
|
ah as AdminToolbar,
|
|
16302
|
-
|
|
16317
|
+
I0 as AmountList,
|
|
16303
16318
|
cd as AppliedCodeCard,
|
|
16304
16319
|
B as Button,
|
|
16305
|
-
|
|
16306
|
-
|
|
16307
|
-
|
|
16320
|
+
F0 as CardList,
|
|
16321
|
+
H0 as CardStack,
|
|
16322
|
+
nb as CashTenderForm,
|
|
16308
16323
|
Ym as CatalogItemCard,
|
|
16309
|
-
|
|
16324
|
+
Z0 as CellText,
|
|
16310
16325
|
Uh as CheckTenderForm,
|
|
16311
|
-
|
|
16312
|
-
|
|
16326
|
+
X0 as ChipStack,
|
|
16327
|
+
Zg as CommitmentDetails,
|
|
16313
16328
|
yl as ConfirmDialog,
|
|
16314
16329
|
Ys as ConfirmationModal,
|
|
16315
|
-
|
|
16316
|
-
|
|
16330
|
+
Tg as ConfirmationPageTemplate,
|
|
16331
|
+
a0 as CustomerCard,
|
|
16317
16332
|
_s as DatePicker,
|
|
16318
|
-
|
|
16333
|
+
Pg as DensityProvider,
|
|
16319
16334
|
Uf as DimensionChip,
|
|
16320
16335
|
vp as DiscardGuard,
|
|
16321
16336
|
pu as DonationAmounts,
|
|
@@ -16324,48 +16339,48 @@ export {
|
|
|
16324
16339
|
Ah as EntityListSkeleton,
|
|
16325
16340
|
Sh as EntityRow,
|
|
16326
16341
|
tl as ErrorState,
|
|
16327
|
-
|
|
16328
|
-
|
|
16342
|
+
Ug as EventDetails,
|
|
16343
|
+
Ig as EventDetailsTemplate,
|
|
16329
16344
|
yu as ExpireCartTimer,
|
|
16330
16345
|
ca as FeedbackState,
|
|
16331
16346
|
Cf as FilterPopover,
|
|
16332
|
-
|
|
16333
|
-
|
|
16334
|
-
|
|
16335
|
-
|
|
16347
|
+
A0 as FilterSelect,
|
|
16348
|
+
D0 as FilterSelectGroup,
|
|
16349
|
+
Bg as Footer,
|
|
16350
|
+
Mg as HeroUIProvider,
|
|
16336
16351
|
Bd as HorizontalSteps,
|
|
16337
16352
|
bp as InlineConfirm,
|
|
16338
|
-
|
|
16339
|
-
|
|
16340
|
-
|
|
16341
|
-
|
|
16342
|
-
|
|
16353
|
+
Yg as InstallmentFundAssignment,
|
|
16354
|
+
Qg as InstallmentFundAssignmentSkeleton,
|
|
16355
|
+
Xg as InstallmentSchedule,
|
|
16356
|
+
Jg as InstallmentScheduleSkeleton,
|
|
16357
|
+
eb as InstallmentTable,
|
|
16343
16358
|
Km as ItemCard,
|
|
16344
16359
|
Uf as KeyValueChip,
|
|
16345
|
-
|
|
16360
|
+
q0 as KeyValueRows,
|
|
16346
16361
|
Jp as LineItemList,
|
|
16347
|
-
|
|
16362
|
+
G0 as LineItemRows,
|
|
16348
16363
|
Mh as ListPanel,
|
|
16349
|
-
|
|
16364
|
+
E0 as LoadMoreFooter,
|
|
16350
16365
|
mp as LoadingOverlay,
|
|
16351
16366
|
al as LoadingState,
|
|
16352
|
-
|
|
16353
|
-
|
|
16367
|
+
tb as MembershipSelectCards,
|
|
16368
|
+
db as MetaCard,
|
|
16354
16369
|
Lp as ModalPanelHeader,
|
|
16355
|
-
|
|
16370
|
+
lb as ModalPanels,
|
|
16356
16371
|
ep as ModalShell,
|
|
16357
16372
|
ap as ModalShellFooter,
|
|
16358
16373
|
tp as ModalShellHeader,
|
|
16359
|
-
|
|
16360
|
-
|
|
16361
|
-
|
|
16374
|
+
Vg as Multiselect,
|
|
16375
|
+
zg as Navbar,
|
|
16376
|
+
s0 as NotesField,
|
|
16362
16377
|
Ln as OfferCard,
|
|
16363
16378
|
wu as OfferCardEmpty,
|
|
16364
16379
|
ku as OfferCardError,
|
|
16365
16380
|
Eu as OfferCardList,
|
|
16366
16381
|
Su as OfferCardSkeleton,
|
|
16367
16382
|
Wh as OtherTenderForm,
|
|
16368
|
-
|
|
16383
|
+
C0 as OutcomeView,
|
|
16369
16384
|
Pf as PageHeader,
|
|
16370
16385
|
Eh as PaginationSummary,
|
|
16371
16386
|
bl as PaymentCashChangeBanner,
|
|
@@ -16373,36 +16388,36 @@ export {
|
|
|
16373
16388
|
fp as PaymentSuccessView,
|
|
16374
16389
|
dp as PaymentTotalBanner,
|
|
16375
16390
|
bh as PickerRow,
|
|
16376
|
-
|
|
16377
|
-
|
|
16391
|
+
T0 as PillTabs,
|
|
16392
|
+
x0 as PinField,
|
|
16378
16393
|
Zm as ProgramListItem,
|
|
16379
16394
|
su as RICH_TEXT_PRESETS,
|
|
16380
|
-
|
|
16381
|
-
|
|
16382
|
-
|
|
16383
|
-
|
|
16384
|
-
|
|
16385
|
-
|
|
16386
|
-
|
|
16395
|
+
r0 as ReasonSelect,
|
|
16396
|
+
U0 as RecordCard,
|
|
16397
|
+
_0 as RecordHeader,
|
|
16398
|
+
R0 as RecordLayout,
|
|
16399
|
+
Y0 as RecordTotals,
|
|
16400
|
+
Og as RedeemCodeInput,
|
|
16401
|
+
V0 as RelatedRecordList,
|
|
16387
16402
|
Ju as RevenueDistributionCard,
|
|
16388
16403
|
em as RevenueDistributionEmpty,
|
|
16389
16404
|
am as RevenueDistributionError,
|
|
16390
16405
|
nm as RevenueDistributionSkeleton,
|
|
16391
16406
|
mu as RichTextArea,
|
|
16392
16407
|
gh as RowActions,
|
|
16393
|
-
|
|
16408
|
+
t0 as SectionPanel,
|
|
16394
16409
|
st as Select,
|
|
16395
16410
|
Ef as SessionTimeline,
|
|
16396
16411
|
Zh as SplitPaymentSummary,
|
|
16397
|
-
|
|
16398
|
-
|
|
16412
|
+
g0 as SplitTenderPanel,
|
|
16413
|
+
O0 as StatTiles,
|
|
16399
16414
|
Bf as StatusChip,
|
|
16400
16415
|
zd as Stepper,
|
|
16401
16416
|
uf as SuccessState,
|
|
16402
16417
|
jp as Summary,
|
|
16403
16418
|
qf as TableSkeleton,
|
|
16404
|
-
|
|
16405
|
-
|
|
16419
|
+
u0 as TenderMethods,
|
|
16420
|
+
ab as TicketSelection,
|
|
16406
16421
|
lp as TileSelect,
|
|
16407
16422
|
mf as Toggle,
|
|
16408
16423
|
sh as ToolbarButton,
|
|
@@ -16416,38 +16431,38 @@ export {
|
|
|
16416
16431
|
dh as adminInputReadOnlyClass,
|
|
16417
16432
|
oh as adminInputWrapperClass,
|
|
16418
16433
|
Yf as adminRowClass,
|
|
16419
|
-
|
|
16434
|
+
_g as adminSurfaceCss,
|
|
16420
16435
|
Qi as adminSurfaceTokens,
|
|
16421
16436
|
Qf as adminTableClass,
|
|
16422
16437
|
Zf as adminTableFooterClass,
|
|
16423
16438
|
Kf as adminTdClass,
|
|
16424
16439
|
Gf as adminThClass,
|
|
16425
|
-
|
|
16440
|
+
Kg as calculateAllocationDifference,
|
|
16426
16441
|
Wr as computeChange,
|
|
16427
16442
|
qa as currencyFractionDigits,
|
|
16428
16443
|
Ne as formatMoney,
|
|
16429
16444
|
Qr as formatOfferCurrency,
|
|
16430
|
-
|
|
16431
|
-
|
|
16445
|
+
Hg as formatRevenueAmount,
|
|
16446
|
+
Wg as formatRevenueCurrency,
|
|
16432
16447
|
vm as generateAutomaticInstallments,
|
|
16433
16448
|
Ks as generateDistributionId,
|
|
16434
|
-
|
|
16449
|
+
qg as getCurrencySymbol,
|
|
16435
16450
|
Au as offerCardVariants,
|
|
16436
16451
|
$u as offerListVariants,
|
|
16437
16452
|
Dh as pageRange,
|
|
16438
|
-
|
|
16439
|
-
|
|
16453
|
+
jg as parseOfferCurrency,
|
|
16454
|
+
Gg as parseRevenueCurrency,
|
|
16440
16455
|
Ml as pillTabId,
|
|
16441
16456
|
Rl as pillTabPanelId,
|
|
16442
|
-
|
|
16443
|
-
|
|
16457
|
+
ub as pillTabPanelProps,
|
|
16458
|
+
_e as posSurfaceTokens,
|
|
16444
16459
|
Rs as roundToCurrency,
|
|
16445
|
-
|
|
16460
|
+
Rg as useControlSize,
|
|
16446
16461
|
Yn as useDensity,
|
|
16447
|
-
|
|
16448
|
-
|
|
16449
|
-
|
|
16450
|
-
|
|
16451
|
-
|
|
16462
|
+
cb as useDiscardGuard,
|
|
16463
|
+
ib as useDiscardGuardActions,
|
|
16464
|
+
sb as useModalPanel,
|
|
16465
|
+
ob as useModalPanels,
|
|
16466
|
+
rb as useReportUnsavedChanges
|
|
16452
16467
|
};
|
|
16453
16468
|
(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)}})();
|