@wealthx/shadcn 1.5.18 → 1.5.20
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/.turbo/turbo-build.log +148 -148
- package/CHANGELOG.md +12 -0
- package/dist/{chunk-PUGQVHQL.mjs → chunk-2SDEURIQ.mjs} +2 -2
- package/dist/{chunk-STDCXTUU.mjs → chunk-3S4XQTAL.mjs} +2 -2
- package/dist/{chunk-ANERULZS.mjs → chunk-4UCRTTVL.mjs} +1 -1
- package/dist/{chunk-6LWCFAB4.mjs → chunk-57QES5LX.mjs} +1 -1
- package/dist/{chunk-KICT4VQL.mjs → chunk-5G2M45CA.mjs} +1 -1
- package/dist/{chunk-K3XP5ETH.mjs → chunk-66NM4AX2.mjs} +2 -2
- package/dist/{chunk-LWYMZHN7.mjs → chunk-6HTE24TP.mjs} +3 -3
- package/dist/{chunk-SSUK6C2K.mjs → chunk-6WRDXE7A.mjs} +1 -1
- package/dist/{chunk-RPOIXMHW.mjs → chunk-AADJ5IT6.mjs} +1 -1
- package/dist/{chunk-DKH35J4U.mjs → chunk-BWG7AX6X.mjs} +2 -2
- package/dist/{chunk-UBHBIWIA.mjs → chunk-DK55HZPN.mjs} +2 -2
- package/dist/{chunk-2UA4CPE5.mjs → chunk-DWJHPNFL.mjs} +1 -1
- package/dist/{chunk-ZAXZBOWI.mjs → chunk-EHQ35FYA.mjs} +4 -1
- package/dist/{chunk-WZFBLRNP.mjs → chunk-ETT5JAXF.mjs} +2 -2
- package/dist/{chunk-L7IZ3YHI.mjs → chunk-F3MIRXRF.mjs} +2 -2
- package/dist/{chunk-G7YCLJ53.mjs → chunk-G6RCC2SF.mjs} +2 -2
- package/dist/{chunk-NCMV3LTP.mjs → chunk-H3PTREG6.mjs} +4 -1
- package/dist/{chunk-7II6QRCZ.mjs → chunk-H5NI6ZIU.mjs} +1 -1
- package/dist/{chunk-TUC2BNUR.mjs → chunk-IG7JBQZO.mjs} +2 -2
- package/dist/{chunk-GAXNO4JB.mjs → chunk-INGYBZGU.mjs} +1 -1
- package/dist/{chunk-UXWNUMQA.mjs → chunk-IT3QJF3D.mjs} +1 -1
- package/dist/{chunk-45V7X563.mjs → chunk-JGUC3KCA.mjs} +2 -2
- package/dist/{chunk-C4ESZLGT.mjs → chunk-K4GJTP6N.mjs} +1 -1
- package/dist/{chunk-USOVLDGS.mjs → chunk-K6VCC2MK.mjs} +13 -1
- package/dist/{chunk-5BU7TNB4.mjs → chunk-NEMWMXGL.mjs} +2 -2
- package/dist/{chunk-B3CTBLIY.mjs → chunk-NTIFG5A7.mjs} +2 -2
- package/dist/{chunk-33VT74R4.mjs → chunk-OFQFD2E2.mjs} +1 -1
- package/dist/{chunk-LI2CTS5O.mjs → chunk-OIETBBXQ.mjs} +4 -2
- package/dist/{chunk-TLLD5IU6.mjs → chunk-PSBQ4I3M.mjs} +1 -1
- package/dist/{chunk-XNX3XJ2F.mjs → chunk-QJ3RSZF4.mjs} +1 -1
- package/dist/{chunk-3NJPNSJG.mjs → chunk-RGHKARAK.mjs} +1 -1
- package/dist/{chunk-RFWP2325.mjs → chunk-RJHE3V4M.mjs} +1 -1
- package/dist/{chunk-SH5L5VG6.mjs → chunk-RVDBYV2B.mjs} +1 -1
- package/dist/{chunk-SU6TPDEU.mjs → chunk-SET6GFGL.mjs} +1 -1
- package/dist/{chunk-JJSA772M.mjs → chunk-WIDZVCH3.mjs} +1 -1
- package/dist/components/ui/add-column-modal.js +4 -2
- package/dist/components/ui/add-column-modal.mjs +2 -2
- package/dist/components/ui/add-lead-modal.js +13 -6
- package/dist/components/ui/add-lead-modal.mjs +4 -4
- package/dist/components/ui/ai-assistant-drawer.mjs +2 -2
- package/dist/components/ui/ai-builder.js +4 -2
- package/dist/components/ui/ai-builder.mjs +2 -2
- package/dist/components/ui/ai-conversations.js +4 -2
- package/dist/components/ui/ai-conversations.mjs +2 -2
- package/dist/components/ui/appointment-action-dialogs.js +4 -2
- package/dist/components/ui/appointment-action-dialogs.mjs +2 -2
- package/dist/components/ui/appointment-availability-settings.js +10 -3
- package/dist/components/ui/appointment-availability-settings.mjs +3 -3
- package/dist/components/ui/appointment-book-dialog.js +10 -3
- package/dist/components/ui/appointment-book-dialog.mjs +3 -3
- package/dist/components/ui/appointment-detail-sheet.js +4 -2
- package/dist/components/ui/appointment-detail-sheet.mjs +4 -4
- package/dist/components/ui/appointment-upcoming-card.js +4 -2
- package/dist/components/ui/appointment-upcoming-card.mjs +2 -2
- package/dist/components/ui/backoffice-signup-steps.js +6 -1
- package/dist/components/ui/backoffice-signup-steps.mjs +3 -3
- package/dist/components/ui/bank-statement-generate-dialog.js +13 -6
- package/dist/components/ui/bank-statement-generate-dialog.mjs +4 -4
- package/dist/components/ui/bank-statement-pdf-viewer.js +4 -2
- package/dist/components/ui/bank-statement-pdf-viewer.mjs +2 -2
- package/dist/components/ui/category-edit-dialog.js +4 -2
- package/dist/components/ui/category-edit-dialog.mjs +2 -2
- package/dist/components/ui/contact-alert-dialog/index.js +22 -15
- package/dist/components/ui/contact-alert-dialog/index.mjs +3 -3
- package/dist/components/ui/create-contact-modal.js +25 -18
- package/dist/components/ui/create-contact-modal.mjs +3 -3
- package/dist/components/ui/csv-import-modal.js +4 -2
- package/dist/components/ui/csv-import-modal.mjs +2 -2
- package/dist/components/ui/dashboard-transactions-table.js +4 -2
- package/dist/components/ui/dashboard-transactions-table.mjs +2 -2
- package/dist/components/ui/data-table.js +13 -8
- package/dist/components/ui/data-table.mjs +3 -3
- package/dist/components/ui/dialog.js +4 -2
- package/dist/components/ui/dialog.mjs +1 -1
- package/dist/components/ui/document-checklist-template.js +6 -1
- package/dist/components/ui/document-checklist-template.mjs +2 -2
- package/dist/components/ui/drawer.js +4 -1
- package/dist/components/ui/drawer.mjs +1 -1
- package/dist/components/ui/file-preview-dialog.js +13 -6
- package/dist/components/ui/file-preview-dialog.mjs +3 -3
- package/dist/components/ui/financial-drawers.mjs +2 -2
- package/dist/components/ui/frontend-signup-steps.js +4 -0
- package/dist/components/ui/frontend-signup-steps.mjs +3 -3
- package/dist/components/ui/opportunity-edit-modals.js +54 -47
- package/dist/components/ui/opportunity-edit-modals.mjs +3 -3
- package/dist/components/ui/opportunity-summary-tab.js +59 -52
- package/dist/components/ui/opportunity-summary-tab.mjs +4 -4
- package/dist/components/ui/pagination.js +6 -1
- package/dist/components/ui/pagination.mjs +2 -2
- package/dist/components/ui/pipeline-dialogs.js +24 -17
- package/dist/components/ui/pipeline-dialogs.mjs +3 -3
- package/dist/components/ui/property-report-dialog.js +4 -2
- package/dist/components/ui/property-report-dialog.mjs +2 -2
- package/dist/components/ui/resource-center/index.js +4 -2
- package/dist/components/ui/resource-center/index.mjs +2 -2
- package/dist/components/ui/review-alerts-dialog.js +4 -2
- package/dist/components/ui/review-alerts-dialog.mjs +2 -2
- package/dist/components/ui/savings-goal-modal.js +4 -2
- package/dist/components/ui/savings-goal-modal.mjs +1 -1
- package/dist/components/ui/scenario-drawer.mjs +1 -1
- package/dist/components/ui/select.js +24 -1
- package/dist/components/ui/select.mjs +3 -1
- package/dist/components/ui/share-details-dialog.js +4 -2
- package/dist/components/ui/share-details-dialog.mjs +2 -2
- package/dist/components/ui/sheet.js +4 -1
- package/dist/components/ui/sheet.mjs +1 -1
- package/dist/components/ui/signup-form-primitives.js +6 -1
- package/dist/components/ui/signup-form-primitives.mjs +2 -2
- package/dist/index.js +168 -147
- package/dist/index.mjs +36 -34
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/src/components/index.tsx +2 -0
- package/src/components/ui/dialog.tsx +4 -2
- package/src/components/ui/drawer.tsx +4 -1
- package/src/components/ui/select.tsx +34 -1
- package/src/components/ui/sheet.tsx +4 -1
- package/src/styles/globals.css +6 -0
- package/src/styles/styles-css.ts +1 -1
|
@@ -68,7 +68,7 @@ __export(contact_alert_dialog_exports, {
|
|
|
68
68
|
module.exports = __toCommonJS(contact_alert_dialog_exports);
|
|
69
69
|
|
|
70
70
|
// src/components/ui/contact-alert-dialog/contact-alert-dialog.tsx
|
|
71
|
-
var
|
|
71
|
+
var React6 = __toESM(require("react"));
|
|
72
72
|
var import_lucide_react6 = require("lucide-react");
|
|
73
73
|
var import_ui4 = require("@react-awesome-query-builder/ui");
|
|
74
74
|
|
|
@@ -270,7 +270,7 @@ function DialogOverlay(_a) {
|
|
|
270
270
|
__spreadValues({
|
|
271
271
|
className: cn(
|
|
272
272
|
// WealthX: foreground/50 scrim (matches Figma — foreground token at 50% opacity)
|
|
273
|
-
"fixed inset-0 z-50 bg-foreground/50 data-ending-style:animate-out data-ending-style:fade-out-0 data-ending-style:fill-mode-forwards data-open:animate-in data-open:fade-in-0",
|
|
273
|
+
"fixed inset-0 z-50 bg-foreground/50 pointer-events-auto data-ending-style:animate-out data-ending-style:fade-out-0 data-ending-style:fill-mode-forwards data-open:animate-in data-open:fade-in-0",
|
|
274
274
|
className
|
|
275
275
|
),
|
|
276
276
|
"data-slot": "dialog-overlay"
|
|
@@ -321,7 +321,9 @@ function DialogContent(_a) {
|
|
|
321
321
|
// max-w-[calc(100%-2rem)] acts as a viewport-edge guard on all sizes.
|
|
322
322
|
// Fixed max-width is applied via inline style (sizeStyle) to avoid
|
|
323
323
|
// Tailwind v4 class-scanning gaps with dynamic class lookups.
|
|
324
|
-
|
|
324
|
+
// pointer-events-auto: Vaul Drawer (Radix DismissableLayer) sets body{pointer-events:none}
|
|
325
|
+
// when open — dialog portals to body and must override that on its own element.
|
|
326
|
+
"fixed left-[50%] z-50 grid max-w-[calc(100%-2rem)] translate-x-[-50%] gap-4 border bg-background p-6 duration-200 outline-none pointer-events-auto data-ending-style:animate-out data-ending-style:fade-out-0 data-ending-style:zoom-out-95 data-ending-style:fill-mode-forwards data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95",
|
|
325
327
|
// "auto" → hug content (with min-width floor); fixed sizes → fill to max-width
|
|
326
328
|
isAuto ? "w-auto" : "w-full",
|
|
327
329
|
align === "center" ? "top-[50%] translate-y-[-50%]" : "top-4 translate-y-0",
|
|
@@ -922,7 +924,7 @@ function isTreeValid(tree) {
|
|
|
922
924
|
}
|
|
923
925
|
|
|
924
926
|
// src/components/ui/contact-alert-dialog/builder-ui.tsx
|
|
925
|
-
var
|
|
927
|
+
var React5 = __toESM(require("react"));
|
|
926
928
|
var import_lucide_react5 = require("lucide-react");
|
|
927
929
|
var import_accordion = require("@base-ui/react/accordion");
|
|
928
930
|
var import_ui3 = require("@react-awesome-query-builder/ui");
|
|
@@ -1060,9 +1062,13 @@ function InputGroupInput(_a) {
|
|
|
1060
1062
|
}
|
|
1061
1063
|
|
|
1062
1064
|
// src/components/ui/select.tsx
|
|
1065
|
+
var React4 = __toESM(require("react"));
|
|
1063
1066
|
var import_lucide_react4 = require("lucide-react");
|
|
1064
1067
|
var import_select = require("@base-ui/react/select");
|
|
1065
1068
|
var import_jsx_runtime13 = require("react/jsx-runtime");
|
|
1069
|
+
var SelectPortalContext = React4.createContext(
|
|
1070
|
+
void 0
|
|
1071
|
+
);
|
|
1066
1072
|
function Select(_a) {
|
|
1067
1073
|
var props = __objRest(_a, []);
|
|
1068
1074
|
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_select.Select.Root, __spreadValues({ "data-slot": "select" }, props));
|
|
@@ -1109,7 +1115,8 @@ function SelectContent(_a) {
|
|
|
1109
1115
|
"style"
|
|
1110
1116
|
]);
|
|
1111
1117
|
const themeVars = useThemeVars();
|
|
1112
|
-
|
|
1118
|
+
const portalContainer = React4.useContext(SelectPortalContext);
|
|
1119
|
+
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_select.Select.Portal, { container: portalContainer, children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
1113
1120
|
import_select.Select.Positioner,
|
|
1114
1121
|
{
|
|
1115
1122
|
className: "z-[200]",
|
|
@@ -1527,11 +1534,11 @@ function CustomBuilderUI({
|
|
|
1527
1534
|
const rootId = (_a = treeJson == null ? void 0 : treeJson.id) != null ? _a : "root";
|
|
1528
1535
|
const conjunction = (_c = (_b = treeJson == null ? void 0 : treeJson.properties) == null ? void 0 : _b.conjunction) != null ? _c : "AND";
|
|
1529
1536
|
const children = (_d = treeJson == null ? void 0 : treeJson.children1) != null ? _d : [];
|
|
1530
|
-
const longestFieldLabel =
|
|
1537
|
+
const longestFieldLabel = React5.useMemo(
|
|
1531
1538
|
() => longestOf(fields.map((f) => f.label)),
|
|
1532
1539
|
[fields]
|
|
1533
1540
|
);
|
|
1534
|
-
const longestOperatorLabel =
|
|
1541
|
+
const longestOperatorLabel = React5.useMemo(
|
|
1535
1542
|
() => longestOf(allOperatorLabels(fields)),
|
|
1536
1543
|
[fields]
|
|
1537
1544
|
);
|
|
@@ -1641,7 +1648,7 @@ function ContactAlertQueryBuilder({
|
|
|
1641
1648
|
fields = ALERT_QUERY_FIELDS,
|
|
1642
1649
|
className
|
|
1643
1650
|
}) {
|
|
1644
|
-
const defaultOpenItems =
|
|
1651
|
+
const defaultOpenItems = React6.useMemo(() => {
|
|
1645
1652
|
var _a;
|
|
1646
1653
|
const json = import_ui4.Utils.getTree(value);
|
|
1647
1654
|
return ((_a = json == null ? void 0 : json.children1) != null ? _a : []).map((c) => {
|
|
@@ -1649,7 +1656,7 @@ function ContactAlertQueryBuilder({
|
|
|
1649
1656
|
return (_a2 = c.id) != null ? _a2 : "";
|
|
1650
1657
|
}).filter(Boolean);
|
|
1651
1658
|
}, []);
|
|
1652
|
-
const renderBuilder =
|
|
1659
|
+
const renderBuilder = React6.useCallback(
|
|
1653
1660
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1654
1661
|
(props) => /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
1655
1662
|
CustomBuilderUI,
|
|
@@ -1686,15 +1693,15 @@ function ContactAlertDialog({
|
|
|
1686
1693
|
isLoading = false,
|
|
1687
1694
|
className
|
|
1688
1695
|
}) {
|
|
1689
|
-
const [name, setName] =
|
|
1690
|
-
const [severity, setSeverity] =
|
|
1691
|
-
const [tree, setTree] =
|
|
1696
|
+
const [name, setName] = React6.useState(initialName);
|
|
1697
|
+
const [severity, setSeverity] = React6.useState(initialSeverity);
|
|
1698
|
+
const [tree, setTree] = React6.useState(
|
|
1692
1699
|
() => createAlertTree(initialQuery)
|
|
1693
1700
|
);
|
|
1694
|
-
const [shareAcrossCompany, setShareAcrossCompany] =
|
|
1701
|
+
const [shareAcrossCompany, setShareAcrossCompany] = React6.useState(
|
|
1695
1702
|
initialShareAcrossCompany
|
|
1696
1703
|
);
|
|
1697
|
-
|
|
1704
|
+
React6.useEffect(() => {
|
|
1698
1705
|
if (open) {
|
|
1699
1706
|
setName(initialName);
|
|
1700
1707
|
setSeverity(initialSeverity);
|
|
@@ -1702,7 +1709,7 @@ function ContactAlertDialog({
|
|
|
1702
1709
|
setShareAcrossCompany(initialShareAcrossCompany);
|
|
1703
1710
|
}
|
|
1704
1711
|
}, [open]);
|
|
1705
|
-
const hasValidRule =
|
|
1712
|
+
const hasValidRule = React6.useMemo(() => isTreeValid(tree), [tree]);
|
|
1706
1713
|
const canSave = name.trim().length > 0 && hasValidRule && !isLoading;
|
|
1707
1714
|
function handleSave() {
|
|
1708
1715
|
if (!canSave) return;
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
ContactAlertDialog,
|
|
5
5
|
ContactAlertQueryBuilder,
|
|
6
6
|
createAlertTree
|
|
7
|
-
} from "../../../chunk-
|
|
7
|
+
} from "../../../chunk-G6RCC2SF.mjs";
|
|
8
8
|
import "../../../chunk-7YI3HEBH.mjs";
|
|
9
9
|
import "../../../chunk-KPGARKFC.mjs";
|
|
10
10
|
import "../../../chunk-IKXYTCSB.mjs";
|
|
11
|
-
import "../../../chunk-
|
|
11
|
+
import "../../../chunk-K6VCC2MK.mjs";
|
|
12
12
|
import "../../../chunk-2GIYVERS.mjs";
|
|
13
13
|
import "../../../chunk-BS75ICOO.mjs";
|
|
14
|
-
import "../../../chunk-
|
|
14
|
+
import "../../../chunk-OIETBBXQ.mjs";
|
|
15
15
|
import "../../../chunk-LSRGA5BI.mjs";
|
|
16
16
|
import "../../../chunk-OWFQSXVD.mjs";
|
|
17
17
|
import "../../../chunk-6QAFGZC2.mjs";
|
|
@@ -62,7 +62,7 @@ __export(create_contact_modal_exports, {
|
|
|
62
62
|
CreateContactModal: () => CreateContactModal
|
|
63
63
|
});
|
|
64
64
|
module.exports = __toCommonJS(create_contact_modal_exports);
|
|
65
|
-
var
|
|
65
|
+
var React7 = __toESM(require("react"));
|
|
66
66
|
|
|
67
67
|
// src/components/ui/dialog.tsx
|
|
68
68
|
var import_lucide_react2 = require("lucide-react");
|
|
@@ -262,7 +262,7 @@ function DialogOverlay(_a) {
|
|
|
262
262
|
__spreadValues({
|
|
263
263
|
className: cn(
|
|
264
264
|
// WealthX: foreground/50 scrim (matches Figma — foreground token at 50% opacity)
|
|
265
|
-
"fixed inset-0 z-50 bg-foreground/50 data-ending-style:animate-out data-ending-style:fade-out-0 data-ending-style:fill-mode-forwards data-open:animate-in data-open:fade-in-0",
|
|
265
|
+
"fixed inset-0 z-50 bg-foreground/50 pointer-events-auto data-ending-style:animate-out data-ending-style:fade-out-0 data-ending-style:fill-mode-forwards data-open:animate-in data-open:fade-in-0",
|
|
266
266
|
className
|
|
267
267
|
),
|
|
268
268
|
"data-slot": "dialog-overlay"
|
|
@@ -313,7 +313,9 @@ function DialogContent(_a) {
|
|
|
313
313
|
// max-w-[calc(100%-2rem)] acts as a viewport-edge guard on all sizes.
|
|
314
314
|
// Fixed max-width is applied via inline style (sizeStyle) to avoid
|
|
315
315
|
// Tailwind v4 class-scanning gaps with dynamic class lookups.
|
|
316
|
-
|
|
316
|
+
// pointer-events-auto: Vaul Drawer (Radix DismissableLayer) sets body{pointer-events:none}
|
|
317
|
+
// when open — dialog portals to body and must override that on its own element.
|
|
318
|
+
"fixed left-[50%] z-50 grid max-w-[calc(100%-2rem)] translate-x-[-50%] gap-4 border bg-background p-6 duration-200 outline-none pointer-events-auto data-ending-style:animate-out data-ending-style:fade-out-0 data-ending-style:zoom-out-95 data-ending-style:fill-mode-forwards data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95",
|
|
317
319
|
// "auto" → hug content (with min-width floor); fixed sizes → fill to max-width
|
|
318
320
|
isAuto ? "w-auto" : "w-full",
|
|
319
321
|
align === "center" ? "top-[50%] translate-y-[-50%]" : "top-4 translate-y-0",
|
|
@@ -451,9 +453,13 @@ function Label(_a) {
|
|
|
451
453
|
}
|
|
452
454
|
|
|
453
455
|
// src/components/ui/select.tsx
|
|
456
|
+
var React3 = __toESM(require("react"));
|
|
454
457
|
var import_lucide_react3 = require("lucide-react");
|
|
455
458
|
var import_select = require("@base-ui/react/select");
|
|
456
459
|
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
460
|
+
var SelectPortalContext = React3.createContext(
|
|
461
|
+
void 0
|
|
462
|
+
);
|
|
457
463
|
function Select(_a) {
|
|
458
464
|
var props = __objRest(_a, []);
|
|
459
465
|
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_select.Select.Root, __spreadValues({ "data-slot": "select" }, props));
|
|
@@ -500,7 +506,8 @@ function SelectContent(_a) {
|
|
|
500
506
|
"style"
|
|
501
507
|
]);
|
|
502
508
|
const themeVars = useThemeVars();
|
|
503
|
-
|
|
509
|
+
const portalContainer = React3.useContext(SelectPortalContext);
|
|
510
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_select.Select.Portal, { container: portalContainer, children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
504
511
|
import_select.Select.Positioner,
|
|
505
512
|
{
|
|
506
513
|
className: "z-[200]",
|
|
@@ -627,14 +634,14 @@ function Spinner(_a) {
|
|
|
627
634
|
}
|
|
628
635
|
|
|
629
636
|
// src/components/ui/form-primitives.tsx
|
|
630
|
-
var
|
|
637
|
+
var React6 = __toESM(require("react"));
|
|
631
638
|
var import_lucide_react5 = require("lucide-react");
|
|
632
639
|
|
|
633
640
|
// src/components/ui/slider.tsx
|
|
634
|
-
var
|
|
641
|
+
var React4 = __toESM(require("react"));
|
|
635
642
|
var import_slider = require("@base-ui/react/slider");
|
|
636
643
|
var import_jsx_runtime8 = require("react/jsx-runtime");
|
|
637
|
-
var Slider =
|
|
644
|
+
var Slider = React4.forwardRef(
|
|
638
645
|
({
|
|
639
646
|
className,
|
|
640
647
|
value,
|
|
@@ -703,7 +710,7 @@ var Slider = React3.forwardRef(
|
|
|
703
710
|
Slider.displayName = "Slider";
|
|
704
711
|
|
|
705
712
|
// src/components/ui/toggle-group.tsx
|
|
706
|
-
var
|
|
713
|
+
var React5 = __toESM(require("react"));
|
|
707
714
|
var import_toggle_group = require("@base-ui/react/toggle-group");
|
|
708
715
|
var import_toggle2 = require("@base-ui/react/toggle");
|
|
709
716
|
|
|
@@ -734,7 +741,7 @@ var toggleVariants = (0, import_class_variance_authority3.cva)(
|
|
|
734
741
|
|
|
735
742
|
// src/components/ui/toggle-group.tsx
|
|
736
743
|
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
737
|
-
var ToggleGroupContext =
|
|
744
|
+
var ToggleGroupContext = React5.createContext({
|
|
738
745
|
size: "default",
|
|
739
746
|
variant: "default",
|
|
740
747
|
spacing: 0
|
|
@@ -788,13 +795,13 @@ function AddressAutocomplete({
|
|
|
788
795
|
onSelect,
|
|
789
796
|
className
|
|
790
797
|
}) {
|
|
791
|
-
const [internalValue, setInternalValue] =
|
|
798
|
+
const [internalValue, setInternalValue] = React6.useState("");
|
|
792
799
|
const inputValue = controlledValue !== void 0 ? controlledValue : internalValue;
|
|
793
|
-
const [open, setOpen] =
|
|
794
|
-
const [activeIndex, setActiveIndex] =
|
|
795
|
-
const containerRef =
|
|
796
|
-
const listRef =
|
|
797
|
-
const filtered =
|
|
800
|
+
const [open, setOpen] = React6.useState(false);
|
|
801
|
+
const [activeIndex, setActiveIndex] = React6.useState(-1);
|
|
802
|
+
const containerRef = React6.useRef(null);
|
|
803
|
+
const listRef = React6.useRef(null);
|
|
804
|
+
const filtered = React6.useMemo(() => {
|
|
798
805
|
if (!inputValue.trim()) return suggestions.slice(0, 5);
|
|
799
806
|
const q = inputValue.toLowerCase();
|
|
800
807
|
return suggestions.filter((s) => s.label.toLowerCase().includes(q)).slice(0, 5);
|
|
@@ -824,7 +831,7 @@ function AddressAutocomplete({
|
|
|
824
831
|
setOpen(false);
|
|
825
832
|
}
|
|
826
833
|
};
|
|
827
|
-
|
|
834
|
+
React6.useEffect(() => {
|
|
828
835
|
const handler = (e) => {
|
|
829
836
|
if (containerRef.current && !containerRef.current.contains(e.target)) {
|
|
830
837
|
setOpen(false);
|
|
@@ -924,8 +931,8 @@ function CreateContactModal({
|
|
|
924
931
|
className
|
|
925
932
|
}) {
|
|
926
933
|
var _a, _b;
|
|
927
|
-
const [form, setForm] =
|
|
928
|
-
|
|
934
|
+
const [form, setForm] = React7.useState(EMPTY_FORM);
|
|
935
|
+
React7.useEffect(() => {
|
|
929
936
|
if (open) setForm(EMPTY_FORM);
|
|
930
937
|
}, [open]);
|
|
931
938
|
function set(field, value) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CreateContactModal
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-BWG7AX6X.mjs";
|
|
4
4
|
import "../../chunk-ET4MTPIY.mjs";
|
|
5
5
|
import "../../chunk-ISUA7DSB.mjs";
|
|
6
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-K6VCC2MK.mjs";
|
|
7
7
|
import "../../chunk-JVMXMFBB.mjs";
|
|
8
|
-
import "../../chunk-
|
|
8
|
+
import "../../chunk-OIETBBXQ.mjs";
|
|
9
9
|
import "../../chunk-LSRGA5BI.mjs";
|
|
10
10
|
import "../../chunk-OWFQSXVD.mjs";
|
|
11
11
|
import "../../chunk-6QAFGZC2.mjs";
|
|
@@ -262,7 +262,7 @@ function DialogOverlay(_a) {
|
|
|
262
262
|
__spreadValues({
|
|
263
263
|
className: cn(
|
|
264
264
|
// WealthX: foreground/50 scrim (matches Figma — foreground token at 50% opacity)
|
|
265
|
-
"fixed inset-0 z-50 bg-foreground/50 data-ending-style:animate-out data-ending-style:fade-out-0 data-ending-style:fill-mode-forwards data-open:animate-in data-open:fade-in-0",
|
|
265
|
+
"fixed inset-0 z-50 bg-foreground/50 pointer-events-auto data-ending-style:animate-out data-ending-style:fade-out-0 data-ending-style:fill-mode-forwards data-open:animate-in data-open:fade-in-0",
|
|
266
266
|
className
|
|
267
267
|
),
|
|
268
268
|
"data-slot": "dialog-overlay"
|
|
@@ -313,7 +313,9 @@ function DialogContent(_a) {
|
|
|
313
313
|
// max-w-[calc(100%-2rem)] acts as a viewport-edge guard on all sizes.
|
|
314
314
|
// Fixed max-width is applied via inline style (sizeStyle) to avoid
|
|
315
315
|
// Tailwind v4 class-scanning gaps with dynamic class lookups.
|
|
316
|
-
|
|
316
|
+
// pointer-events-auto: Vaul Drawer (Radix DismissableLayer) sets body{pointer-events:none}
|
|
317
|
+
// when open — dialog portals to body and must override that on its own element.
|
|
318
|
+
"fixed left-[50%] z-50 grid max-w-[calc(100%-2rem)] translate-x-[-50%] gap-4 border bg-background p-6 duration-200 outline-none pointer-events-auto data-ending-style:animate-out data-ending-style:fade-out-0 data-ending-style:zoom-out-95 data-ending-style:fill-mode-forwards data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95",
|
|
317
319
|
// "auto" → hug content (with min-width floor); fixed sizes → fill to max-width
|
|
318
320
|
isAuto ? "w-auto" : "w-full",
|
|
319
321
|
align === "center" ? "top-[50%] translate-y-[-50%]" : "top-4 translate-y-0",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CsvImportModal
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-RGHKARAK.mjs";
|
|
4
4
|
import "../../chunk-I4KVSZCH.mjs";
|
|
5
|
-
import "../../chunk-
|
|
5
|
+
import "../../chunk-OIETBBXQ.mjs";
|
|
6
6
|
import "../../chunk-XYSRRDBH.mjs";
|
|
7
7
|
import "../../chunk-FRCTOAKZ.mjs";
|
|
8
8
|
import "../../chunk-NOOEKOWY.mjs";
|
|
@@ -445,7 +445,7 @@ function DialogOverlay(_a) {
|
|
|
445
445
|
__spreadValues({
|
|
446
446
|
className: cn(
|
|
447
447
|
// WealthX: foreground/50 scrim (matches Figma — foreground token at 50% opacity)
|
|
448
|
-
"fixed inset-0 z-50 bg-foreground/50 data-ending-style:animate-out data-ending-style:fade-out-0 data-ending-style:fill-mode-forwards data-open:animate-in data-open:fade-in-0",
|
|
448
|
+
"fixed inset-0 z-50 bg-foreground/50 pointer-events-auto data-ending-style:animate-out data-ending-style:fade-out-0 data-ending-style:fill-mode-forwards data-open:animate-in data-open:fade-in-0",
|
|
449
449
|
className
|
|
450
450
|
),
|
|
451
451
|
"data-slot": "dialog-overlay"
|
|
@@ -496,7 +496,9 @@ function DialogContent(_a) {
|
|
|
496
496
|
// max-w-[calc(100%-2rem)] acts as a viewport-edge guard on all sizes.
|
|
497
497
|
// Fixed max-width is applied via inline style (sizeStyle) to avoid
|
|
498
498
|
// Tailwind v4 class-scanning gaps with dynamic class lookups.
|
|
499
|
-
|
|
499
|
+
// pointer-events-auto: Vaul Drawer (Radix DismissableLayer) sets body{pointer-events:none}
|
|
500
|
+
// when open — dialog portals to body and must override that on its own element.
|
|
501
|
+
"fixed left-[50%] z-50 grid max-w-[calc(100%-2rem)] translate-x-[-50%] gap-4 border bg-background p-6 duration-200 outline-none pointer-events-auto data-ending-style:animate-out data-ending-style:fade-out-0 data-ending-style:zoom-out-95 data-ending-style:fill-mode-forwards data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95",
|
|
500
502
|
// "auto" → hug content (with min-width floor); fixed sizes → fill to max-width
|
|
501
503
|
isAuto ? "w-auto" : "w-full",
|
|
502
504
|
align === "center" ? "top-[50%] translate-y-[-50%]" : "top-4 translate-y-0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CategoryEditDialog
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-OFQFD2E2.mjs";
|
|
4
4
|
import {
|
|
5
5
|
Chip
|
|
6
6
|
} from "../../chunk-MPA2HV5U.mjs";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
CardTitle
|
|
15
15
|
} from "../../chunk-3VDET466.mjs";
|
|
16
16
|
import "../../chunk-PNSYFE3K.mjs";
|
|
17
|
-
import "../../chunk-
|
|
17
|
+
import "../../chunk-OIETBBXQ.mjs";
|
|
18
18
|
import {
|
|
19
19
|
Badge
|
|
20
20
|
} from "../../chunk-X6RC5UWB.mjs";
|
|
@@ -67,7 +67,7 @@ __export(data_table_exports, {
|
|
|
67
67
|
getSelectionColumn: () => getSelectionColumn
|
|
68
68
|
});
|
|
69
69
|
module.exports = __toCommonJS(data_table_exports);
|
|
70
|
-
var
|
|
70
|
+
var React4 = __toESM(require("react"));
|
|
71
71
|
var import_react_table = require("@tanstack/react-table");
|
|
72
72
|
var import_lucide_react6 = require("lucide-react");
|
|
73
73
|
|
|
@@ -378,6 +378,7 @@ function Checkbox(_a) {
|
|
|
378
378
|
}
|
|
379
379
|
|
|
380
380
|
// src/components/ui/select.tsx
|
|
381
|
+
var React3 = __toESM(require("react"));
|
|
381
382
|
var import_lucide_react3 = require("lucide-react");
|
|
382
383
|
var import_select = require("@base-ui/react/select");
|
|
383
384
|
|
|
@@ -391,6 +392,9 @@ function useThemeVars() {
|
|
|
391
392
|
|
|
392
393
|
// src/components/ui/select.tsx
|
|
393
394
|
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
395
|
+
var SelectPortalContext = React3.createContext(
|
|
396
|
+
void 0
|
|
397
|
+
);
|
|
394
398
|
function Select(_a) {
|
|
395
399
|
var props = __objRest(_a, []);
|
|
396
400
|
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_select.Select.Root, __spreadValues({ "data-slot": "select" }, props));
|
|
@@ -437,7 +441,8 @@ function SelectContent(_a) {
|
|
|
437
441
|
"style"
|
|
438
442
|
]);
|
|
439
443
|
const themeVars = useThemeVars();
|
|
440
|
-
|
|
444
|
+
const portalContainer = React3.useContext(SelectPortalContext);
|
|
445
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_select.Select.Portal, { container: portalContainer, children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
441
446
|
import_select.Select.Positioner,
|
|
442
447
|
{
|
|
443
448
|
className: "z-[200]",
|
|
@@ -941,20 +946,20 @@ function DataTable({
|
|
|
941
946
|
onColumnFiltersChange: onColumnFiltersChangeProp
|
|
942
947
|
}) {
|
|
943
948
|
var _a;
|
|
944
|
-
const [internalSorting, setInternalSorting] =
|
|
949
|
+
const [internalSorting, setInternalSorting] = React4.useState(
|
|
945
950
|
[]
|
|
946
951
|
);
|
|
947
|
-
const [internalColumnFilters, setInternalColumnFilters] =
|
|
948
|
-
const [internalPagination, setInternalPagination] =
|
|
952
|
+
const [internalColumnFilters, setInternalColumnFilters] = React4.useState([]);
|
|
953
|
+
const [internalPagination, setInternalPagination] = React4.useState({
|
|
949
954
|
pageIndex: 0,
|
|
950
955
|
pageSize: (_a = pageSizeOptions[0]) != null ? _a : 10
|
|
951
956
|
});
|
|
952
|
-
const [columnVisibility, setColumnVisibility] =
|
|
953
|
-
const [rowSelection, setRowSelection] =
|
|
957
|
+
const [columnVisibility, setColumnVisibility] = React4.useState({});
|
|
958
|
+
const [rowSelection, setRowSelection] = React4.useState({});
|
|
954
959
|
const sorting = controlledSorting != null ? controlledSorting : internalSorting;
|
|
955
960
|
const columnFilters = controlledColumnFilters != null ? controlledColumnFilters : internalColumnFilters;
|
|
956
961
|
const pagination = controlledPagination != null ? controlledPagination : internalPagination;
|
|
957
|
-
const resolvedColumns =
|
|
962
|
+
const resolvedColumns = React4.useMemo(() => {
|
|
958
963
|
if (!enableRowSelection) return userColumns;
|
|
959
964
|
return [getSelectionColumn(), ...userColumns];
|
|
960
965
|
}, [userColumns, enableRowSelection]);
|
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
DataTableSkeleton,
|
|
6
6
|
DataTableToolbar,
|
|
7
7
|
getSelectionColumn
|
|
8
|
-
} from "../../chunk-
|
|
8
|
+
} from "../../chunk-IG7JBQZO.mjs";
|
|
9
9
|
import "../../chunk-GTAVSBDO.mjs";
|
|
10
|
-
import "../../chunk-
|
|
10
|
+
import "../../chunk-6WRDXE7A.mjs";
|
|
11
11
|
import "../../chunk-GT3RU6GA.mjs";
|
|
12
12
|
import "../../chunk-IKXYTCSB.mjs";
|
|
13
|
-
import "../../chunk-
|
|
13
|
+
import "../../chunk-K6VCC2MK.mjs";
|
|
14
14
|
import "../../chunk-H5DTKPJ2.mjs";
|
|
15
15
|
import "../../chunk-LBTHZSBT.mjs";
|
|
16
16
|
import "../../chunk-XYSRRDBH.mjs";
|
|
@@ -276,7 +276,7 @@ function DialogOverlay(_a) {
|
|
|
276
276
|
__spreadValues({
|
|
277
277
|
className: cn(
|
|
278
278
|
// WealthX: foreground/50 scrim (matches Figma — foreground token at 50% opacity)
|
|
279
|
-
"fixed inset-0 z-50 bg-foreground/50 data-ending-style:animate-out data-ending-style:fade-out-0 data-ending-style:fill-mode-forwards data-open:animate-in data-open:fade-in-0",
|
|
279
|
+
"fixed inset-0 z-50 bg-foreground/50 pointer-events-auto data-ending-style:animate-out data-ending-style:fade-out-0 data-ending-style:fill-mode-forwards data-open:animate-in data-open:fade-in-0",
|
|
280
280
|
className
|
|
281
281
|
),
|
|
282
282
|
"data-slot": "dialog-overlay"
|
|
@@ -327,7 +327,9 @@ function DialogContent(_a) {
|
|
|
327
327
|
// max-w-[calc(100%-2rem)] acts as a viewport-edge guard on all sizes.
|
|
328
328
|
// Fixed max-width is applied via inline style (sizeStyle) to avoid
|
|
329
329
|
// Tailwind v4 class-scanning gaps with dynamic class lookups.
|
|
330
|
-
|
|
330
|
+
// pointer-events-auto: Vaul Drawer (Radix DismissableLayer) sets body{pointer-events:none}
|
|
331
|
+
// when open — dialog portals to body and must override that on its own element.
|
|
332
|
+
"fixed left-[50%] z-50 grid max-w-[calc(100%-2rem)] translate-x-[-50%] gap-4 border bg-background p-6 duration-200 outline-none pointer-events-auto data-ending-style:animate-out data-ending-style:fade-out-0 data-ending-style:zoom-out-95 data-ending-style:fill-mode-forwards data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95",
|
|
331
333
|
// "auto" → hug content (with min-width floor); fixed sizes → fill to max-width
|
|
332
334
|
isAuto ? "w-auto" : "w-full",
|
|
333
335
|
align === "center" ? "top-[50%] translate-y-[-50%]" : "top-4 translate-y-0",
|
|
@@ -295,6 +295,7 @@ function Switch(_a) {
|
|
|
295
295
|
}
|
|
296
296
|
|
|
297
297
|
// src/components/ui/select.tsx
|
|
298
|
+
var React3 = __toESM(require("react"));
|
|
298
299
|
var import_lucide_react2 = require("lucide-react");
|
|
299
300
|
var import_select = require("@base-ui/react/select");
|
|
300
301
|
|
|
@@ -308,6 +309,9 @@ function useThemeVars() {
|
|
|
308
309
|
|
|
309
310
|
// src/components/ui/select.tsx
|
|
310
311
|
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
312
|
+
var SelectPortalContext = React3.createContext(
|
|
313
|
+
void 0
|
|
314
|
+
);
|
|
311
315
|
function Select(_a) {
|
|
312
316
|
var props = __objRest(_a, []);
|
|
313
317
|
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_select.Select.Root, __spreadValues({ "data-slot": "select" }, props));
|
|
@@ -354,7 +358,8 @@ function SelectContent(_a) {
|
|
|
354
358
|
"style"
|
|
355
359
|
]);
|
|
356
360
|
const themeVars = useThemeVars();
|
|
357
|
-
|
|
361
|
+
const portalContainer = React3.useContext(SelectPortalContext);
|
|
362
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_select.Select.Portal, { container: portalContainer, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
358
363
|
import_select.Select.Positioner,
|
|
359
364
|
{
|
|
360
365
|
className: "z-[200]",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DocumentChecklistTemplate
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-57QES5LX.mjs";
|
|
4
|
+
import "../../chunk-K6VCC2MK.mjs";
|
|
5
5
|
import "../../chunk-PNSYFE3K.mjs";
|
|
6
6
|
import "../../chunk-LBTHZSBT.mjs";
|
|
7
7
|
import "../../chunk-XYSRRDBH.mjs";
|
|
@@ -205,7 +205,10 @@ function DrawerFooter(_a) {
|
|
|
205
205
|
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
206
206
|
"div",
|
|
207
207
|
__spreadValues({
|
|
208
|
-
className: cn(
|
|
208
|
+
className: cn(
|
|
209
|
+
"mt-auto flex flex-row justify-end gap-2 border-t border-border p-4",
|
|
210
|
+
className
|
|
211
|
+
),
|
|
209
212
|
"data-slot": "drawer-footer"
|
|
210
213
|
}, props)
|
|
211
214
|
);
|
|
@@ -62,7 +62,7 @@ __export(file_preview_dialog_exports, {
|
|
|
62
62
|
FilePreviewDialog: () => FilePreviewDialog
|
|
63
63
|
});
|
|
64
64
|
module.exports = __toCommonJS(file_preview_dialog_exports);
|
|
65
|
-
var
|
|
65
|
+
var React4 = __toESM(require("react"));
|
|
66
66
|
var import_lucide_react5 = require("lucide-react");
|
|
67
67
|
|
|
68
68
|
// src/components/ui/dialog.tsx
|
|
@@ -263,7 +263,7 @@ function DialogOverlay(_a) {
|
|
|
263
263
|
__spreadValues({
|
|
264
264
|
className: cn(
|
|
265
265
|
// WealthX: foreground/50 scrim (matches Figma — foreground token at 50% opacity)
|
|
266
|
-
"fixed inset-0 z-50 bg-foreground/50 data-ending-style:animate-out data-ending-style:fade-out-0 data-ending-style:fill-mode-forwards data-open:animate-in data-open:fade-in-0",
|
|
266
|
+
"fixed inset-0 z-50 bg-foreground/50 pointer-events-auto data-ending-style:animate-out data-ending-style:fade-out-0 data-ending-style:fill-mode-forwards data-open:animate-in data-open:fade-in-0",
|
|
267
267
|
className
|
|
268
268
|
),
|
|
269
269
|
"data-slot": "dialog-overlay"
|
|
@@ -314,7 +314,9 @@ function DialogContent(_a) {
|
|
|
314
314
|
// max-w-[calc(100%-2rem)] acts as a viewport-edge guard on all sizes.
|
|
315
315
|
// Fixed max-width is applied via inline style (sizeStyle) to avoid
|
|
316
316
|
// Tailwind v4 class-scanning gaps with dynamic class lookups.
|
|
317
|
-
|
|
317
|
+
// pointer-events-auto: Vaul Drawer (Radix DismissableLayer) sets body{pointer-events:none}
|
|
318
|
+
// when open — dialog portals to body and must override that on its own element.
|
|
319
|
+
"fixed left-[50%] z-50 grid max-w-[calc(100%-2rem)] translate-x-[-50%] gap-4 border bg-background p-6 duration-200 outline-none pointer-events-auto data-ending-style:animate-out data-ending-style:fade-out-0 data-ending-style:zoom-out-95 data-ending-style:fill-mode-forwards data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95",
|
|
318
320
|
// "auto" → hug content (with min-width floor); fixed sizes → fill to max-width
|
|
319
321
|
isAuto ? "w-auto" : "w-full",
|
|
320
322
|
align === "center" ? "top-[50%] translate-y-[-50%]" : "top-4 translate-y-0",
|
|
@@ -614,9 +616,13 @@ function TooltipContent(_a) {
|
|
|
614
616
|
}
|
|
615
617
|
|
|
616
618
|
// src/components/ui/select.tsx
|
|
619
|
+
var React3 = __toESM(require("react"));
|
|
617
620
|
var import_lucide_react4 = require("lucide-react");
|
|
618
621
|
var import_select = require("@base-ui/react/select");
|
|
619
622
|
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
623
|
+
var SelectPortalContext = React3.createContext(
|
|
624
|
+
void 0
|
|
625
|
+
);
|
|
620
626
|
function Select(_a) {
|
|
621
627
|
var props = __objRest(_a, []);
|
|
622
628
|
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_select.Select.Root, __spreadValues({ "data-slot": "select" }, props));
|
|
@@ -663,7 +669,8 @@ function SelectContent(_a) {
|
|
|
663
669
|
"style"
|
|
664
670
|
]);
|
|
665
671
|
const themeVars = useThemeVars();
|
|
666
|
-
|
|
672
|
+
const portalContainer = React3.useContext(SelectPortalContext);
|
|
673
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_select.Select.Portal, { container: portalContainer, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
667
674
|
import_select.Select.Positioner,
|
|
668
675
|
{
|
|
669
676
|
className: "z-[200]",
|
|
@@ -843,8 +850,8 @@ function FilePreviewDialog({
|
|
|
843
850
|
staffSelector,
|
|
844
851
|
className
|
|
845
852
|
}) {
|
|
846
|
-
const [page, setPage] =
|
|
847
|
-
|
|
853
|
+
const [page, setPage] = React4.useState(0);
|
|
854
|
+
React4.useEffect(() => {
|
|
848
855
|
setPage(0);
|
|
849
856
|
}, [rows.length]);
|
|
850
857
|
const totalPages = Math.ceil(rows.length / pageSize);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FilePreviewDialog
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-DK55HZPN.mjs";
|
|
4
4
|
import "../../chunk-JPGL36WQ.mjs";
|
|
5
5
|
import "../../chunk-GTAVSBDO.mjs";
|
|
6
6
|
import "../../chunk-GT3RU6GA.mjs";
|
|
7
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-K6VCC2MK.mjs";
|
|
8
8
|
import "../../chunk-JVMXMFBB.mjs";
|
|
9
9
|
import "../../chunk-3S6KVFF5.mjs";
|
|
10
|
-
import "../../chunk-
|
|
10
|
+
import "../../chunk-OIETBBXQ.mjs";
|
|
11
11
|
import "../../chunk-XYSRRDBH.mjs";
|
|
12
12
|
import "../../chunk-FRCTOAKZ.mjs";
|
|
13
13
|
import "../../chunk-NOOEKOWY.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OpportunityDetailsDrawer,
|
|
3
3
|
SummaryReportDrawer
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-PSBQ4I3M.mjs";
|
|
5
|
+
import "../../chunk-H3PTREG6.mjs";
|
|
6
6
|
import "../../chunk-JVMXMFBB.mjs";
|
|
7
7
|
import "../../chunk-WE4YKBDE.mjs";
|
|
8
8
|
import "../../chunk-XYSRRDBH.mjs";
|