@mx-cartographer/experiences 9.7.154 → 9.7.156
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/dist/insights-v2/actionBlocks/AccountDetailsBlock/AccountDetailsBlock.es.js +19 -22
- package/dist/insights-v2/actionBlocks/AccountDetailsBlock/AccountDetailsBlock.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/AccountListBlock/AccountListBlock.es.js +43 -48
- package/dist/insights-v2/actionBlocks/AccountListBlock/AccountListBlock.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/ActionBlockLayer.es.js +30 -34
- package/dist/insights-v2/actionBlocks/ActionBlockLayer.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/AmountInputModalBlock/AmountInputModalBlock.es.js +52 -52
- package/dist/insights-v2/actionBlocks/AmountInputModalBlock/AmountInputModalBlock.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/BlockErrorMessage.d.ts +4 -0
- package/dist/insights-v2/actionBlocks/BlockErrorMessage.es.js +17 -0
- package/dist/insights-v2/actionBlocks/BlockErrorMessage.es.js.map +1 -0
- package/dist/insights-v2/actionBlocks/BudgetDetailsBlock/BudgetDetailsBlock.es.js +131 -135
- package/dist/insights-v2/actionBlocks/BudgetDetailsBlock/BudgetDetailsBlock.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/ContactSupportActionBlock.es.js +14 -18
- package/dist/insights-v2/actionBlocks/ContactSupportActionBlock.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/CreditUtilizationBlock/CreditUtilizationBlock.es.js +19 -25
- package/dist/insights-v2/actionBlocks/CreditUtilizationBlock/CreditUtilizationBlock.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/EmergencySavingsBlock/EmergencySavingsBlock.es.js +26 -28
- package/dist/insights-v2/actionBlocks/EmergencySavingsBlock/EmergencySavingsBlock.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/HelpBlock/HelpBlock.es.js +11 -14
- package/dist/insights-v2/actionBlocks/HelpBlock/HelpBlock.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/MakeTransferActionBlock/MakeTransferActionBlockLayer.es.js +12 -12
- package/dist/insights-v2/actionBlocks/MakeTransferActionBlock/MakeTransferActionBlockLayer.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/OverdraftBlock/OverdraftBlock.es.js +28 -30
- package/dist/insights-v2/actionBlocks/OverdraftBlock/OverdraftBlock.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/PayoffCalculatorBlock/PayoffCalculatorBlock.es.js +53 -55
- package/dist/insights-v2/actionBlocks/PayoffCalculatorBlock/PayoffCalculatorBlock.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/PayoffStrategiesBlock/PayoffStrategiesBlock.es.js +26 -31
- package/dist/insights-v2/actionBlocks/PayoffStrategiesBlock/PayoffStrategiesBlock.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/PayoffStrategiesBlock/PayoffStrategiesContent.es.js +18 -18
- package/dist/insights-v2/actionBlocks/PayoffStrategiesBlock/PayoffStrategiesContent.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/PlaceholderActionBlock.es.js +23 -22
- package/dist/insights-v2/actionBlocks/PlaceholderActionBlock.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/RemainingCashBlock/RemainingCashBlock.es.js +38 -41
- package/dist/insights-v2/actionBlocks/RemainingCashBlock/RemainingCashBlock.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/SubscriptionStatusModalBlock.es.js +44 -44
- package/dist/insights-v2/actionBlocks/SubscriptionStatusModalBlock.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/SurveyModalActionBlock.es.js +24 -24
- package/dist/insights-v2/actionBlocks/SurveyModalActionBlock.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/TransactionDetailsBlock/TransactionDetailsBlock.es.js +11 -16
- package/dist/insights-v2/actionBlocks/TransactionDetailsBlock/TransactionDetailsBlock.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/TransactionDetailsBlock/useTransactionDetailsBlock.es.js +20 -20
- package/dist/insights-v2/actionBlocks/TransactionDetailsBlock/useTransactionDetailsBlock.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/TransactionDetailsBlock/util.d.ts +1 -2
- package/dist/insights-v2/actionBlocks/TransactionDetailsBlock/util.es.js +3 -7
- package/dist/insights-v2/actionBlocks/TransactionDetailsBlock/util.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/TransactionDrillDown.es.js +39 -42
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/TransactionDrillDown.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/TransactionHistoryBlock.es.js +102 -104
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/TransactionHistoryBlock.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/useTransactionHistoryPrepare.es.js +11 -11
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/useTransactionHistoryPrepare.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/TransactionListBlock/TransactionListBlock.es.js +58 -58
- package/dist/insights-v2/actionBlocks/TransactionListBlock/TransactionListBlock.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/TransactionListBlock/TransactionListHeaderIconTile.d.ts +7 -0
- package/dist/insights-v2/actionBlocks/TransactionListBlock/TransactionListHeaderIconTile.es.js +28 -0
- package/dist/insights-v2/actionBlocks/TransactionListBlock/TransactionListHeaderIconTile.es.js.map +1 -0
- package/dist/insights-v2/actionBlocks/TransactionListBlock/TransactionListSubscriptionHeader.es.js +14 -33
- package/dist/insights-v2/actionBlocks/TransactionListBlock/TransactionListSubscriptionHeader.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/TransactionListBlock/TransactionListSummaryCard.es.js +24 -41
- package/dist/insights-v2/actionBlocks/TransactionListBlock/TransactionListSummaryCard.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/useOpenedCta.d.ts +9 -0
- package/dist/insights-v2/actionBlocks/useOpenedCta.es.js +11 -0
- package/dist/insights-v2/actionBlocks/useOpenedCta.es.js.map +1 -0
- package/dist/insights-v2/actionBlocks/util.d.ts +2 -1
- package/dist/insights-v2/actionBlocks/util.es.js.map +1 -1
- package/package.json +1 -1
package/dist/insights-v2/actionBlocks/TransactionDetailsBlock/useTransactionDetailsBlock.es.js
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { useActionContext as
|
|
2
|
-
import {
|
|
3
|
-
import { getBottomActionsByVariant as
|
|
4
|
-
import { resolveTopActions as
|
|
5
|
-
import
|
|
6
|
-
var
|
|
7
|
-
const { detailedTransactions:
|
|
1
|
+
import { useActionContext as y, useGlobalStore as h, useTransactionStore as A } from "../../../common/context/hooks.es.js";
|
|
2
|
+
import { useOpenedCta as T } from "../useOpenedCta.es.js";
|
|
3
|
+
import { getBottomActionsByVariant as B } from "./util.es.js";
|
|
4
|
+
import { resolveTopActions as D } from "./transactionDetailsActions.es.js";
|
|
5
|
+
import e from "react";
|
|
6
|
+
var E = (i) => {
|
|
7
|
+
const { detailedTransactions: u, isTransactionDataLoaded: p, transactions: g } = A(), { emitUpdate: a } = h(), r = T(i), { transaction_guid: f } = y() ?? {}, m = i.insights_payload, c = r?.drilldown_data, l = typeof c?.transaction_guid == "string" ? c.transaction_guid : void 0, t = f ?? l ?? m?.primary_transaction_guid, v = t ? u.find((n) => n.guid === t) : void 0, d = t ? g.find((n) => n.guid === t) : void 0, o = d ? JSON.stringify(d) : void 0, s = e.useRef({
|
|
8
8
|
guid: t,
|
|
9
|
-
snapshot:
|
|
9
|
+
snapshot: o
|
|
10
10
|
});
|
|
11
|
-
return
|
|
12
|
-
if (!
|
|
13
|
-
const n = s.current.guid === t && s.current.snapshot !== void 0,
|
|
11
|
+
return e.useEffect(() => {
|
|
12
|
+
if (!o) return;
|
|
13
|
+
const n = s.current.guid === t && s.current.snapshot !== void 0, _ = s.current.snapshot !== o;
|
|
14
14
|
s.current = {
|
|
15
15
|
guid: t,
|
|
16
|
-
snapshot:
|
|
17
|
-
}, n &&
|
|
16
|
+
snapshot: o
|
|
17
|
+
}, n && _ && a({ staleBeatGuid: i.guid });
|
|
18
18
|
}, [
|
|
19
19
|
t,
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
o,
|
|
21
|
+
i.guid,
|
|
22
|
+
a
|
|
23
23
|
]), {
|
|
24
|
-
bottomActions:
|
|
24
|
+
bottomActions: B(r?.variant),
|
|
25
25
|
isLoading: !p,
|
|
26
|
-
topActions:
|
|
27
|
-
transaction:
|
|
26
|
+
topActions: D(),
|
|
27
|
+
transaction: v
|
|
28
28
|
};
|
|
29
29
|
};
|
|
30
30
|
export {
|
|
31
|
-
|
|
31
|
+
E as useTransactionDetailsBlock
|
|
32
32
|
};
|
|
33
33
|
|
|
34
34
|
//# sourceMappingURL=useTransactionDetailsBlock.es.js.map
|
package/dist/insights-v2/actionBlocks/TransactionDetailsBlock/useTransactionDetailsBlock.es.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTransactionDetailsBlock.es.js","names":[],"sources":["../../../../src/insights-v2/actionBlocks/TransactionDetailsBlock/useTransactionDetailsBlock.ts"],"sourcesContent":["import React from 'react'\n\nimport {
|
|
1
|
+
{"version":3,"file":"useTransactionDetailsBlock.es.js","names":[],"sources":["../../../../src/insights-v2/actionBlocks/TransactionDetailsBlock/useTransactionDetailsBlock.ts"],"sourcesContent":["import React from 'react'\n\nimport { useActionContext, useGlobalStore, useTransactionStore } from '../../../common'\nimport type { Beat, Transaction, DrilldownPayload } from '../../../core'\nimport type { BottomActions, TopActions } from '../../../transactions/constants/Actions'\nimport { useOpenedCta } from '../useOpenedCta'\nimport { getBottomActionsByVariant } from './util'\nimport { resolveTopActions } from './transactionDetailsActions'\n\ninterface TransactionDetailsBlockState {\n bottomActions: BottomActions[]\n /** True while the store is still loading; the block shows a loader instead of an empty state. */\n isLoading: boolean\n topActions: TopActions[]\n /** `undefined` once loading finishes means the transaction could not be resolved. */\n transaction?: Transaction\n}\n\n/**\n * Resolves which transaction this drawer is about, and which inline actions it offers.\n *\n * The subject comes from the first of:\n * 1. `actionContext.transaction_guid` — set by a parent drawer (e.g. a row tapped in\n * `TransactionHistoryBlock`) when this drawer is opened nested.\n * 2. the clicked CTA's `drilldown_data.transaction_guid` — each drawer's data rides on the CTA\n * that opens it (ditto's `primary_cta.drilldown_data`).\n * 3. `insights_payload.primary_transaction_guid` — for beats whose CTA carries no drilldown guid.\n *\n * The guid is then looked up in `transactionStore.detailedTransactions` rather than used directly,\n * because `TransactionDetails` needs the *detailed* shape (account + category + taggings joined in)\n * and edits must write through to the same store object the rest of the app renders. `buildDetailed\n * Transactions` inside the store is this repo's equivalent of pulse's `buildTransactionDetails`.\n * A guid the store does not have resolves to `undefined` (the block's error state) rather than to\n * any beat-level snapshot, so inline edits can never be made against a stale copy.\n *\n * An edit made here (category, date, memo...) replaces the transaction in the store. The beat's card\n * is built from live data (a sampled beat's count), so the host is told the beat is stale, the same\n * signal a CTA's `refreshBeat` effect sends; pulse refetches the sample on it, as its legacy cards do\n * through `shouldUpdateOnTransactionChange`.\n *\n * Actions are not beat-configurable on the v2 contract: `instance_slot_data` is not part of it (the\n * LargeTransactionV2 payload omits the key entirely), so top actions are always the defaults and\n * bottom actions are derived from the triggering CTA's variant.\n */\nexport const useTransactionDetailsBlock = (beat: Beat): TransactionDetailsBlockState => {\n const { detailedTransactions, isTransactionDataLoaded, transactions } = useTransactionStore()\n const { emitUpdate } = useGlobalStore()\n\n const cta = useOpenedCta(beat)\n\n const { transaction_guid } = useActionContext<DrilldownPayload>() ?? {}\n const payload = beat.insights_payload\n\n const ctaDrilldown = cta?.drilldown_data\n const ctaGuid =\n typeof ctaDrilldown?.transaction_guid === 'string' ? ctaDrilldown.transaction_guid : undefined\n\n const guid = transaction_guid ?? ctaGuid ?? payload?.primary_transaction_guid\n\n const transaction = guid\n ? detailedTransactions.find((transaction) => transaction.guid === guid)\n : undefined\n\n // Every store load swaps in new objects, so an edit is a change in the transaction's content, not\n // its identity. The snapshot is per guid: opening another transaction is not an edit of the last.\n const stored = guid ? transactions.find((transaction) => transaction.guid === guid) : undefined\n const snapshot = stored ? JSON.stringify(stored) : undefined\n const seen = React.useRef({ guid, snapshot })\n\n React.useEffect(() => {\n if (!snapshot) return\n\n const isEdit = seen.current.guid === guid && seen.current.snapshot !== undefined\n const changed = seen.current.snapshot !== snapshot\n seen.current = { guid, snapshot }\n if (isEdit && changed) emitUpdate({ staleBeatGuid: beat.guid })\n }, [guid, snapshot, beat.guid, emitUpdate])\n\n const bottomActions = getBottomActionsByVariant(cta?.variant)\n return {\n bottomActions,\n isLoading: !isTransactionDataLoaded,\n topActions: resolveTopActions(),\n transaction,\n }\n}\n"],"mappings":";;;;;AA4CA,IAAa,IAAA,CAA8B,MAA6C;AACtF,QAAM,EAAE,sBAAA,GAAsB,yBAAA,GAAyB,cAAA,EAAA,IAAiB,EAAoB,GACtF,EAAE,YAAA,EAAA,IAAe,EAAe,GAEhC,IAAM,EAAa,CAAI,GAEvB,EAAE,kBAAA,EAAA,IAAqB,EAAmC,KAAK,CAAC,GAChE,IAAU,EAAK,kBAEf,IAAe,GAAK,gBACpB,IACJ,OAAO,GAAc,oBAAqB,WAAW,EAAa,mBAAmB,QAEjF,IAAO,KAAoB,KAAW,GAAS,0BAE/C,IAAc,IAChB,EAAqB,KAAA,CAAM,MAAgB,EAAY,SAAS,CAAI,IACpE,QAIE,IAAS,IAAO,EAAa,KAAA,CAAM,MAAgB,EAAY,SAAS,CAAI,IAAI,QAChF,IAAW,IAAS,KAAK,UAAU,CAAM,IAAI,QAC7C,IAAO,EAAM,OAAO;AAAA,IAAE,MAAA;AAAA,IAAM,UAAA;AAAA,EAAS,CAAC;AAE5C,SAAA,EAAM,UAAA,MAAgB;AACpB,QAAI,CAAC,EAAU;AAEf,UAAM,IAAS,EAAK,QAAQ,SAAS,KAAQ,EAAK,QAAQ,aAAa,QACjE,IAAU,EAAK,QAAQ,aAAa;AAC1C,IAAA,EAAK,UAAU;AAAA,MAAE,MAAA;AAAA,MAAM,UAAA;AAAA,IAAS,GAC5B,KAAU,KAAS,EAAW,EAAE,eAAe,EAAK,KAAK,CAAC;AAAA,EAChE,GAAG;AAAA,IAAC;AAAA,IAAM;AAAA,IAAU,EAAK;AAAA,IAAM;AAAA,EAAU,CAAC,GAGnC;AAAA,IACL,eAFoB,EAA0B,GAAK,OAEnD;AAAA,IACA,WAAW,CAAC;AAAA,IACZ,YAAY,EAAkB;AAAA,IAC9B,aAAA;AAAA,EACF;AACF"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { ActionDrawerState, InDescriptionCTA, PrimaryCTA, SecondaryCTA } from '../../../core';
|
|
2
1
|
import { BottomActions } from '../../../transactions/constants/Actions';
|
|
3
2
|
/**
|
|
4
3
|
* Bottom actions for the drawer, driven by the triggering CTA's `variant` via the per-variant
|
|
5
4
|
* config table in `./layout.ts`. Add variant-specific behavior (or styles) there, not here.
|
|
6
5
|
*/
|
|
7
|
-
export declare const getBottomActionsByVariant: (
|
|
6
|
+
export declare const getBottomActionsByVariant: (variant?: string | null) => BottomActions[];
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
var c = (t, o, r, a) => {
|
|
4
|
-
const i = n(t, o, r, a);
|
|
5
|
-
return e(i?.variant).bottomActions;
|
|
6
|
-
};
|
|
1
|
+
import { resolveLayoutConfig as t } from "./layout.es.js";
|
|
2
|
+
var i = (o) => t(o).bottomActions;
|
|
7
3
|
export {
|
|
8
|
-
|
|
4
|
+
i as getBottomActionsByVariant
|
|
9
5
|
};
|
|
10
6
|
|
|
11
7
|
//# sourceMappingURL=util.es.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"util.es.js","names":[],"sources":["../../../../src/insights-v2/actionBlocks/TransactionDetailsBlock/util.ts"],"sourcesContent":["import type {
|
|
1
|
+
{"version":3,"file":"util.es.js","names":[],"sources":["../../../../src/insights-v2/actionBlocks/TransactionDetailsBlock/util.ts"],"sourcesContent":["import type { BottomActions } from '../../../transactions/constants/Actions'\nimport { resolveLayoutConfig } from './layout'\n\n/**\n * Bottom actions for the drawer, driven by the triggering CTA's `variant` via the per-variant\n * config table in `./layout.ts`. Add variant-specific behavior (or styles) there, not here.\n */\nexport const getBottomActionsByVariant = (variant?: string | null): BottomActions[] =>\n resolveLayoutConfig(variant).bottomActions\n"],"mappings":";AAOA,IAAa,IAAA,CAA6B,MACxC,EAAoB,CAAO,EAAE"}
|
|
@@ -1,49 +1,46 @@
|
|
|
1
|
-
import { useGlobalCopyStore as
|
|
2
|
-
import { exportTransactionsToCSV as
|
|
3
|
-
import j from "../../../
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { SubTabs as K, subTabPanelProps as M } from "../../components/SubTabs.es.js";
|
|
1
|
+
import { useGlobalCopyStore as R, useTransactionStore as E } from "../../../common/context/hooks.es.js";
|
|
2
|
+
import { exportTransactionsToCSV as N } from "../../../core/utils/TransactionUtils.es.js";
|
|
3
|
+
import j from "../../../transactions/components/shared/transactionlist/TransactionRow.es.js";
|
|
4
|
+
import G from "../../../common/components/SubheaderRow.es.js";
|
|
5
|
+
import O from "../../../transactions/components/shared/TransactionList.es.js";
|
|
6
|
+
import { TipSection as U } from "../../../insights/components/shared/ChartDrawerTemplate/TipSection.es.js";
|
|
7
|
+
import { DRAWER_TIP_ICON as V } from "../../components/drawerTip.es.js";
|
|
8
|
+
import { SubTabs as q, subTabPanelProps as z } from "../../components/SubTabs.es.js";
|
|
10
9
|
import "react";
|
|
11
|
-
import { observer as
|
|
10
|
+
import { observer as J } from "mobx-react-lite";
|
|
12
11
|
import p from "@mui/material/Stack";
|
|
13
|
-
import { H3 as
|
|
14
|
-
import
|
|
15
|
-
import { Icon as
|
|
12
|
+
import { H3 as K, Text as b } from "@mxenabled/mxui";
|
|
13
|
+
import M from "@mui/material/Button";
|
|
14
|
+
import { Icon as Q } from "@mxenabled/mx-icons";
|
|
16
15
|
import { jsx as r, jsxs as o } from "react/jsx-runtime";
|
|
17
16
|
import t from "@mui/material/Box";
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
var S = "transaction-drill-down-panel", y = (
|
|
21
|
-
const { transactions: d } =
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
w?.(n);
|
|
25
|
-
}, g = u ? (L ?? $).filter(u(l)) : void 0, _ = g ?? P;
|
|
17
|
+
import X from "@mui/material/Tab";
|
|
18
|
+
import Y from "@mui/material/Tabs";
|
|
19
|
+
var S = "transaction-drill-down-panel", y = (h) => `transaction-details-tab-${h}`, C = "transaction-drill-down-series", xr = J(function({ ariaLabel: D, heading: e, subHeadingText: s, icon: I, tabs: f, selectedIndex: l, top: x, onSelectionChange: w, transactionFilter: T, tipSection: u, onEachRowClick: B, baseTransactions: k, subTabs: v, projectedRow: c }) {
|
|
20
|
+
const { transactions: d } = R(), { sortedTransactionsWithSplits: P, tags: W, detailedTransactions: L } = E(), m = !!f?.length, a = v?.tabs.length ? v : void 0, $ = D ?? d.transactions_title, A = (n, i) => {
|
|
21
|
+
w?.(i);
|
|
22
|
+
}, g = T ? (k ?? L).filter(T(l)) : void 0, _ = g ?? P;
|
|
26
23
|
return /* @__PURE__ */ o(t, {
|
|
27
24
|
sx: {
|
|
28
25
|
bgcolor: "background.paper",
|
|
29
26
|
width: "100%"
|
|
30
27
|
},
|
|
31
|
-
children: [m && /* @__PURE__ */ r(
|
|
32
|
-
"aria-label":
|
|
33
|
-
onChange:
|
|
28
|
+
children: [m && /* @__PURE__ */ r(Y, {
|
|
29
|
+
"aria-label": $,
|
|
30
|
+
onChange: A,
|
|
34
31
|
sx: { mb: 0 },
|
|
35
32
|
value: l,
|
|
36
33
|
variant: "fullWidth",
|
|
37
|
-
children:
|
|
34
|
+
children: f.map((n, i) => /* @__PURE__ */ r(X, {
|
|
38
35
|
"aria-controls": S,
|
|
39
|
-
"aria-label":
|
|
40
|
-
id: y(
|
|
41
|
-
label:
|
|
36
|
+
"aria-label": n.ariaLabel,
|
|
37
|
+
id: y(i),
|
|
38
|
+
label: n.label,
|
|
42
39
|
sx: {
|
|
43
40
|
minWidth: "auto",
|
|
44
41
|
px: 0
|
|
45
42
|
}
|
|
46
|
-
}, `${
|
|
43
|
+
}, `${n.label}-${i}`))
|
|
47
44
|
}), /* @__PURE__ */ o(t, {
|
|
48
45
|
"aria-labelledby": m ? y(l) : void 0,
|
|
49
46
|
id: S,
|
|
@@ -55,7 +52,7 @@ var S = "transaction-drill-down-panel", y = (f) => `transaction-details-tab-${f}
|
|
|
55
52
|
pt: 16,
|
|
56
53
|
px: 24
|
|
57
54
|
},
|
|
58
|
-
children: [e && /* @__PURE__ */ r(
|
|
55
|
+
children: [e && /* @__PURE__ */ r(K, { children: e }), s && /* @__PURE__ */ o(p, {
|
|
59
56
|
sx: {
|
|
60
57
|
alignItems: "center",
|
|
61
58
|
flexDirection: "row",
|
|
@@ -77,16 +74,16 @@ var S = "transaction-drill-down-panel", y = (f) => `transaction-details-tab-${f}
|
|
|
77
74
|
},
|
|
78
75
|
children: x
|
|
79
76
|
}),
|
|
80
|
-
|
|
81
|
-
icon:
|
|
82
|
-
...
|
|
77
|
+
u && /* @__PURE__ */ r(U, {
|
|
78
|
+
icon: V,
|
|
79
|
+
...u
|
|
83
80
|
}),
|
|
84
|
-
a && /* @__PURE__ */ r(
|
|
81
|
+
a && /* @__PURE__ */ r(q, {
|
|
85
82
|
...a,
|
|
86
83
|
id: C
|
|
87
84
|
}),
|
|
88
85
|
/* @__PURE__ */ o(t, {
|
|
89
|
-
...a &&
|
|
86
|
+
...a && z(C, a.selectedIndex),
|
|
90
87
|
children: [/* @__PURE__ */ o(p, {
|
|
91
88
|
sx: {
|
|
92
89
|
alignItems: "center",
|
|
@@ -103,11 +100,11 @@ var S = "transaction-drill-down-panel", y = (f) => `transaction-details-tab-${f}
|
|
|
103
100
|
bold: !0,
|
|
104
101
|
variant: "body1",
|
|
105
102
|
children: d.transactions_title
|
|
106
|
-
}), _.length > 0 && /* @__PURE__ */ r(
|
|
103
|
+
}), _.length > 0 && /* @__PURE__ */ r(M, {
|
|
107
104
|
onClick: () => {
|
|
108
|
-
|
|
105
|
+
N(_, W);
|
|
109
106
|
},
|
|
110
|
-
startIcon: /* @__PURE__ */ r(
|
|
107
|
+
startIcon: /* @__PURE__ */ r(Q, { name: "ios_share" }),
|
|
111
108
|
sx: { height: 28 },
|
|
112
109
|
children: /* @__PURE__ */ r(b, {
|
|
113
110
|
bold: !0,
|
|
@@ -115,12 +112,12 @@ var S = "transaction-drill-down-panel", y = (f) => `transaction-details-tab-${f}
|
|
|
115
112
|
children: d.export_csv_btn
|
|
116
113
|
})
|
|
117
114
|
})]
|
|
118
|
-
}), c ? /* @__PURE__ */ o(t, { children: [/* @__PURE__ */ r(
|
|
115
|
+
}), c ? /* @__PURE__ */ o(t, { children: [/* @__PURE__ */ r(G, { children: c.heading }), /* @__PURE__ */ r(j, {
|
|
119
116
|
component: "div",
|
|
120
117
|
transaction: c.transaction
|
|
121
118
|
})] }) : /* @__PURE__ */ r(t, {
|
|
122
119
|
sx: { bgcolor: "background.default" },
|
|
123
|
-
children: /* @__PURE__ */ r(
|
|
120
|
+
children: /* @__PURE__ */ r(O, {
|
|
124
121
|
transaction: g,
|
|
125
122
|
onClick: B
|
|
126
123
|
})
|
|
@@ -131,8 +128,8 @@ var S = "transaction-drill-down-panel", y = (f) => `transaction-details-tab-${f}
|
|
|
131
128
|
});
|
|
132
129
|
});
|
|
133
130
|
export {
|
|
134
|
-
|
|
135
|
-
|
|
131
|
+
xr as TransactionDrillDown,
|
|
132
|
+
xr as default
|
|
136
133
|
};
|
|
137
134
|
|
|
138
135
|
//# sourceMappingURL=TransactionDrillDown.es.js.map
|
package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/TransactionDrillDown.es.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransactionDrillDown.es.js","names":[],"sources":["../../../../src/insights-v2/actionBlocks/TransactionHistoryBlock/TransactionDrillDown.tsx"],"sourcesContent":["import React from 'react'\n\nimport Box from '@mui/material/Box'\nimport Button from '@mui/material/Button'\nimport Stack from '@mui/material/Stack'\nimport Tab from '@mui/material/Tab'\nimport Tabs from '@mui/material/Tabs'\nimport { observer } from 'mobx-react-lite'\n\nimport { Icon } from '@mxenabled/mx-icons'\nimport { H3, Text } from '@mxenabled/mxui'\n\nimport {\n TipSection,\n type TipSectionProps,\n} from '../../../insights/components/shared/ChartDrawerTemplate/TipSection'\nimport { Loader, useGlobalCopyStore, useGlobalUiStore, useTransactionStore } from '../../../common'\nimport type { Transaction } from '../../../core'\nimport { exportTransactionsToCSV } from '../../../core/utils/TransactionUtils'\nimport SubheaderRow from '../../../common/components/SubheaderRow'\nimport { DRAWER_TIP_ICON } from '../../components/drawerTip'\nimport { TransactionList, TransactionRow } from '../../../transactions'\nimport { SubTabs, subTabPanelProps, type SubTabsProps } from '../../components/SubTabs'\n\ninterface TabItem {\n label: string\n ariaLabel?: string\n}\n\nconst PANEL_ID = 'transaction-drill-down-panel'\nconst tabId = (index: number) => `transaction-details-tab-${index}`\nconst SUB_TABS_ID = 'transaction-drill-down-series'\n\ninterface TransactionDrillDownProps {\n ariaLabel?: string\n heading?: string\n subHeadingText?: string\n icon?: React.ReactNode\n tabs?: TabItem[]\n selectedIndex: number\n top: React.ReactNode\n tipSection?: TipSectionProps | false\n onSelectionChange?: (selectedIndex: number) => void\n onEachRowClick?: (guid: string) => void\n transactionFilter?: (selectedIndex: number) => (transaction: Transaction) => boolean\n baseTransactions?: Transaction[]\n // A second row of tabs between the chart and the list (the double-bar drawer's main / comparison\n // series, e.g. Spend / Income). Omitted for every single-series drawer.\n subTabs?: Omit<SubTabsProps, 'id'>\n // Shown instead of the list: one inert row under its own heading (Upcoming Bill's projected bill,\n // headed \"Projected amount\", as legacy pulse shows it). Not exported to CSV.\n projectedRow?: { heading: string; transaction: Transaction }\n}\n\nexport const TransactionDrillDown = observer(function TransactionDrillDown({\n ariaLabel,\n heading,\n subHeadingText,\n icon,\n tabs,\n selectedIndex,\n top,\n onSelectionChange,\n transactionFilter,\n tipSection,\n onEachRowClick,\n baseTransactions,\n subTabs,\n projectedRow,\n}: TransactionDrillDownProps) {\n const { transactions: transactionsCopy } = useGlobalCopyStore()\n const { isCopyLoaded } = useGlobalUiStore()\n const { sortedTransactionsWithSplits, tags, detailedTransactions } = useTransactionStore()\n\n if (!isCopyLoaded) return <Loader />\n\n const hasTabs = !!tabs?.length\n // Only a non-empty row gets the tabs and their panel.\n const seriesTabs = subTabs?.tabs.length ? subTabs : undefined\n const tablistLabel = ariaLabel ?? transactionsCopy.transactions_title\n\n const handlePrimaryChange = (_event: React.SyntheticEvent, newValue: number) => {\n onSelectionChange?.(newValue)\n }\n\n const filteredTransactions = transactionFilter\n ? (baseTransactions ?? detailedTransactions).filter(transactionFilter(selectedIndex))\n : undefined\n\n const exportTransactions = filteredTransactions ?? sortedTransactionsWithSplits\n\n return (\n <Box sx={{ bgcolor: 'background.paper', width: '100%' }}>\n {hasTabs && (\n <Tabs\n aria-label={tablistLabel}\n onChange={handlePrimaryChange}\n // The title sits 16px below the tab bar, as in every Figma chart drawer; the theme's 8px\n // gap under Tabs would make it 24.\n sx={{ mb: 0 }}\n value={selectedIndex}\n variant=\"fullWidth\"\n >\n {tabs!.map((tab, index) => (\n <Tab\n aria-controls={PANEL_ID}\n aria-label={tab.ariaLabel}\n id={tabId(index)}\n key={`${tab.label}-${index}`}\n label={tab.label}\n sx={{ minWidth: 'auto', px: 0 }}\n />\n ))}\n </Tabs>\n )}\n\n <Box\n aria-labelledby={hasTabs ? tabId(selectedIndex) : undefined}\n id={PANEL_ID}\n role={hasTabs ? 'tabpanel' : undefined}\n >\n {(heading || subHeadingText) && (\n <Stack sx={{ gap: 4, pt: 16, px: 24 }}>\n {heading && <H3>{heading}</H3>}\n {subHeadingText && (\n <Stack sx={{ alignItems: 'center', flexDirection: 'row', gap: 8 }}>\n {icon}\n <Text\n color=\"text.secondary\"\n sx={{ letterSpacing: '0.52px' }}\n textTransform=\"uppercase\"\n variant=\"body2\"\n >\n {subHeadingText}\n </Text>\n </Stack>\n )}\n </Stack>\n )}\n\n {/* Figma's chart drawer pads the chart 16px above and below. */}\n <Box sx={{ pb: top ? 16 : 0, pt: 16 }}>{top}</Box>\n\n {/* Every Figma chart drawer puts the tip under the chart, above any sub-tabs. */}\n {tipSection && <TipSection icon={DRAWER_TIP_ICON} {...tipSection} />}\n\n {seriesTabs && <SubTabs {...seriesTabs} id={SUB_TABS_ID} />}\n\n {/* The content the sub-tabs control, as the month tabs' panel above. */}\n <Box {...(seriesTabs && subTabPanelProps(SUB_TABS_ID, seriesTabs.selectedIndex))}>\n <Stack\n sx={{\n alignItems: 'center',\n borderBottomColor: 'divider',\n borderBottomStyle: 'solid',\n borderBottomWidth: 1,\n flexDirection: 'row',\n justifyContent: 'space-between',\n pb: 4,\n pt: 16,\n px: 24,\n }}\n >\n <Text bold={true} variant=\"body1\">\n {transactionsCopy.transactions_title}\n </Text>\n {exportTransactions.length > 0 && (\n <Button\n onClick={() => {\n exportTransactionsToCSV(exportTransactions, tags)\n }}\n startIcon={<Icon name=\"ios_share\" />}\n sx={{ height: 28 }}\n >\n <Text bold={true} variant=\"body2\">\n {transactionsCopy.export_csv_btn}\n </Text>\n </Button>\n )}\n </Stack>\n\n {projectedRow ? (\n <Box>\n <SubheaderRow>{projectedRow.heading}</SubheaderRow>\n <TransactionRow component=\"div\" transaction={projectedRow.transaction} />\n </Box>\n ) : (\n // The list's scroll box is taller than its rows; Figma fills the space below the last\n // row with background.default, and each row paints its own paper.\n <Box sx={{ bgcolor: 'background.default' }}>\n <TransactionList transaction={filteredTransactions} on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names":[],"sources":["../../../../src/insights-v2/actionBlocks/TransactionHistoryBlock/TransactionDrillDown.tsx"],"sourcesContent":["import React from 'react'\n\nimport Box from '@mui/material/Box'\nimport Button from '@mui/material/Button'\nimport Stack from '@mui/material/Stack'\nimport Tab from '@mui/material/Tab'\nimport Tabs from '@mui/material/Tabs'\nimport { observer } from 'mobx-react-lite'\n\nimport { Icon } from '@mxenabled/mx-icons'\nimport { H3, Text } from '@mxenabled/mxui'\n\nimport {\n TipSection,\n type TipSectionProps,\n} from '../../../insights/components/shared/ChartDrawerTemplate/TipSection'\nimport { useGlobalCopyStore, useTransactionStore } from '../../../common'\nimport type { Transaction } from '../../../core'\nimport { exportTransactionsToCSV } from '../../../core/utils/TransactionUtils'\nimport SubheaderRow from '../../../common/components/SubheaderRow'\nimport { DRAWER_TIP_ICON } from '../../components/drawerTip'\nimport { TransactionList, TransactionRow } from '../../../transactions'\nimport { SubTabs, subTabPanelProps, type SubTabsProps } from '../../components/SubTabs'\n\ninterface TabItem {\n label: string\n ariaLabel?: string\n}\n\nconst PANEL_ID = 'transaction-drill-down-panel'\nconst tabId = (index: number) => `transaction-details-tab-${index}`\nconst SUB_TABS_ID = 'transaction-drill-down-series'\n\ninterface TransactionDrillDownProps {\n ariaLabel?: string\n heading?: string\n subHeadingText?: string\n icon?: React.ReactNode\n tabs?: TabItem[]\n selectedIndex: number\n top: React.ReactNode\n tipSection?: TipSectionProps | false\n onSelectionChange?: (selectedIndex: number) => void\n onEachRowClick?: (guid: string) => void\n transactionFilter?: (selectedIndex: number) => (transaction: Transaction) => boolean\n baseTransactions?: Transaction[]\n // A second row of tabs between the chart and the list (the double-bar drawer's main / comparison\n // series, e.g. Spend / Income). Omitted for every single-series drawer.\n subTabs?: Omit<SubTabsProps, 'id'>\n // Shown instead of the list: one inert row under its own heading (Upcoming Bill's projected bill,\n // headed \"Projected amount\", as legacy pulse shows it). Not exported to CSV.\n projectedRow?: { heading: string; transaction: Transaction }\n}\n\nexport const TransactionDrillDown = observer(function TransactionDrillDown({\n ariaLabel,\n heading,\n subHeadingText,\n icon,\n tabs,\n selectedIndex,\n top,\n onSelectionChange,\n transactionFilter,\n tipSection,\n onEachRowClick,\n baseTransactions,\n subTabs,\n projectedRow,\n}: TransactionDrillDownProps) {\n const { transactions: transactionsCopy } = useGlobalCopyStore()\n const { sortedTransactionsWithSplits, tags, detailedTransactions } = useTransactionStore()\n\n const hasTabs = !!tabs?.length\n // Only a non-empty row gets the tabs and their panel.\n const seriesTabs = subTabs?.tabs.length ? subTabs : undefined\n const tablistLabel = ariaLabel ?? transactionsCopy.transactions_title\n\n const handlePrimaryChange = (_event: React.SyntheticEvent, newValue: number) => {\n onSelectionChange?.(newValue)\n }\n\n const filteredTransactions = transactionFilter\n ? (baseTransactions ?? detailedTransactions).filter(transactionFilter(selectedIndex))\n : undefined\n\n const exportTransactions = filteredTransactions ?? sortedTransactionsWithSplits\n\n return (\n <Box sx={{ bgcolor: 'background.paper', width: '100%' }}>\n {hasTabs && (\n <Tabs\n aria-label={tablistLabel}\n onChange={handlePrimaryChange}\n // The title sits 16px below the tab bar, as in every Figma chart drawer; the theme's 8px\n // gap under Tabs would make it 24.\n sx={{ mb: 0 }}\n value={selectedIndex}\n variant=\"fullWidth\"\n >\n {tabs!.map((tab, index) => (\n <Tab\n aria-controls={PANEL_ID}\n aria-label={tab.ariaLabel}\n id={tabId(index)}\n key={`${tab.label}-${index}`}\n label={tab.label}\n sx={{ minWidth: 'auto', px: 0 }}\n />\n ))}\n </Tabs>\n )}\n\n <Box\n aria-labelledby={hasTabs ? tabId(selectedIndex) : undefined}\n id={PANEL_ID}\n role={hasTabs ? 'tabpanel' : undefined}\n >\n {(heading || subHeadingText) && (\n <Stack sx={{ gap: 4, pt: 16, px: 24 }}>\n {heading && <H3>{heading}</H3>}\n {subHeadingText && (\n <Stack sx={{ alignItems: 'center', flexDirection: 'row', gap: 8 }}>\n {icon}\n <Text\n color=\"text.secondary\"\n sx={{ letterSpacing: '0.52px' }}\n textTransform=\"uppercase\"\n variant=\"body2\"\n >\n {subHeadingText}\n </Text>\n </Stack>\n )}\n </Stack>\n )}\n\n {/* Figma's chart drawer pads the chart 16px above and below. */}\n <Box sx={{ pb: top ? 16 : 0, pt: 16 }}>{top}</Box>\n\n {/* Every Figma chart drawer puts the tip under the chart, above any sub-tabs. */}\n {tipSection && <TipSection icon={DRAWER_TIP_ICON} {...tipSection} />}\n\n {seriesTabs && <SubTabs {...seriesTabs} id={SUB_TABS_ID} />}\n\n {/* The content the sub-tabs control, as the month tabs' panel above. */}\n <Box {...(seriesTabs && subTabPanelProps(SUB_TABS_ID, seriesTabs.selectedIndex))}>\n <Stack\n sx={{\n alignItems: 'center',\n borderBottomColor: 'divider',\n borderBottomStyle: 'solid',\n borderBottomWidth: 1,\n flexDirection: 'row',\n justifyContent: 'space-between',\n pb: 4,\n pt: 16,\n px: 24,\n }}\n >\n <Text bold={true} variant=\"body1\">\n {transactionsCopy.transactions_title}\n </Text>\n {exportTransactions.length > 0 && (\n <Button\n onClick={() => {\n exportTransactionsToCSV(exportTransactions, tags)\n }}\n startIcon={<Icon name=\"ios_share\" />}\n sx={{ height: 28 }}\n >\n <Text bold={true} variant=\"body2\">\n {transactionsCopy.export_csv_btn}\n </Text>\n </Button>\n )}\n </Stack>\n\n {projectedRow ? (\n <Box>\n <SubheaderRow>{projectedRow.heading}</SubheaderRow>\n <TransactionRow component=\"div\" transaction={projectedRow.transaction} />\n </Box>\n ) : (\n // The list's scroll box is taller than its rows; Figma fills the space below the last\n // row with background.default, and each row paints its own paper.\n <Box sx={{ bgcolor: 'background.default' }}>\n <TransactionList transaction={filteredTransactions} onClick={onEachRowClick} />\n </Box>\n )}\n </Box>\n </Box>\n </Box>\n )\n})\n\nexport default TransactionDrillDown\n"],"mappings":";;;;;;;;;;;;;;;;;;AA6BA,IAAM,IAAW,gCACX,IAAA,CAAS,MAAkB,2BAA2B,CAAA,IACtD,IAAc,iCAuBP,KAAuB,EAAS,SAA8B,EACzE,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A,cAAM,SAAQ;AAAA,cACvB,UAAA,EAAiB;AAAA,YACd,CAAA,GACL,EAAmB,SAAS,KAC3B,gBAAA,EAAC,GAAD;AAAA,cACE,SAAA,MAAe;AACb,gBAAA,EAAwB,GAAoB,CAAI;AAAA,cAClD;AAAA,cACA,WAAW,gBAAA,EAAC,GAAD,EAAM,MAAK,YAAa,CAAA;AAAA,cACnC,IAAI,EAAE,QAAQ,GAAG;AAAA,cAEjB,UAAA,gBAAA,EAAC,GAAD;AAAA,gBAAM,MAAM;AAAA,gBAAM,SAAQ;AAAA,gBACvB,UAAA,EAAiB;AAAA,cACd,CAAA;AAAA,YACA,CAAA,CAEL;AAAA,UAEN,CAAA,GAAA,IACC,gBAAA,EAAC,GAAD,EAAA,UAAA,CACE,gBAAA,EAAC,GAAD,EAAA,UAAe,EAAa,QAAsB,CAAA,GAClD,gBAAA,EAAC,GAAD;AAAA,YAAgB,WAAU;AAAA,YAAM,aAAa,EAAa;AAAA,UAAc,CAAA,CACrE,EAAA,CAAA,IAIL,gBAAA,EAAC,GAAD;AAAA,YAAK,IAAI,EAAE,SAAS,qBAAqB;AAAA,YACvC,UAAA,gBAAA,EAAC,GAAD;AAAA,cAAiB,aAAa;AAAA,cAAsB,SAAS;AAAA,YAAiB,CAAA;AAAA,UAC3E,CAAA,CAEJ;AAAA;MACF;AAAA,IACF,CAAA,CAAA;AAAA;AAET,CAAC"}
|
|
@@ -1,118 +1,116 @@
|
|
|
1
|
-
import { useGlobalCopyStore as
|
|
2
|
-
import { CURRENCY_FORMAT as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { BAR_ARIA_LABEL as
|
|
6
|
-
import { BarChartV2 as
|
|
7
|
-
import { EmptyBarChart as
|
|
8
|
-
import { ANALYTICS_EVENTS_CONFIG as
|
|
9
|
-
import { useAnalyticsEvent as
|
|
10
|
-
import { DoubleBarChart as
|
|
11
|
-
import { toLegendItems as
|
|
12
|
-
import { getDefaultSelection as
|
|
13
|
-
import {
|
|
14
|
-
import { TransactionDrillDown as
|
|
15
|
-
import { useTransactionHistory as
|
|
16
|
-
import { TransactionDetailsBlock as
|
|
17
|
-
import { useLayoutEffect as
|
|
18
|
-
import { observer as
|
|
19
|
-
import { Fragment as
|
|
20
|
-
import { useTheme as
|
|
21
|
-
var
|
|
22
|
-
const
|
|
1
|
+
import { useGlobalCopyStore as yt, useInsightsV2Store as At } from "../../../common/context/hooks.es.js";
|
|
2
|
+
import { CURRENCY_FORMAT as Dt, formatCurrency as Bt } from "../../../core/utils/NumberFormatting.es.js";
|
|
3
|
+
import vt from "../../../common/components/drawer/Drawer.es.js";
|
|
4
|
+
import { BlockErrorMessage as St } from "../BlockErrorMessage.es.js";
|
|
5
|
+
import { BAR_ARIA_LABEL as Lt } from "../../blocks/ChartBlocks/BarchartBlock/utils.es.js";
|
|
6
|
+
import { BarChartV2 as It } from "../../components/chartblocks/BarchartV2.es.js";
|
|
7
|
+
import { EmptyBarChart as Et } from "../../components/chartblocks/EmptyBarChart.es.js";
|
|
8
|
+
import { ANALYTICS_EVENTS_CONFIG as P } from "../../analytics/analyticsEventsConfig.es.js";
|
|
9
|
+
import { useAnalyticsEvent as Rt } from "../../analytics/useAnalyticsEvent.es.js";
|
|
10
|
+
import { DoubleBarChart as xt } from "../../components/chartblocks/DoubleBarChart.es.js";
|
|
11
|
+
import { toLegendItems as Ft } from "../../blocks/ChartBlocks/DoubleBarChartBlock/comparisonUtils.es.js";
|
|
12
|
+
import { getDefaultSelection as Ot, getDrillDownConfig as jt, getFlattenedDataSeries as Gt, resolveDrillDownSubHeader as Ht, splitProjectedTransaction as wt, toStoreFilter as kt } from "./utils.es.js";
|
|
13
|
+
import { useOpenedCta as Mt } from "../useOpenedCta.es.js";
|
|
14
|
+
import { TransactionDrillDown as Nt } from "./TransactionDrillDown.es.js";
|
|
15
|
+
import { useTransactionHistory as Kt } from "./useTransactionHistory.es.js";
|
|
16
|
+
import { TransactionDetailsBlock as Pt } from "../TransactionDetailsBlock/TransactionDetailsBlock.es.js";
|
|
17
|
+
import { useLayoutEffect as Vt, useState as d } from "react";
|
|
18
|
+
import { observer as zt } from "mobx-react-lite";
|
|
19
|
+
import { Fragment as Yt, jsx as s, jsxs as Ut } from "react/jsx-runtime";
|
|
20
|
+
import { useTheme as Wt } from "@mui/material/styles";
|
|
21
|
+
var fe = zt(({ beat: r }) => {
|
|
22
|
+
const A = Wt(), { actionDrawer: V, setActionContext: D } = At(), { insights_payload: B } = r, v = Mt(r), z = v?.variant, { top: e, filterMode: m, header: Y, colors: U, filterStrategy: W, tipSection: S, subTabAriaLabels: $, slotData: q, beatTransactions: J, averageFormat: Q, subTabs: X, boldLabel: Z } = jt(z ?? ""), { instanceSlotData: o, beatTransactions: u, spendCategoryGuids: L, allAccountGuids: I, categoryName: tt, displayedDateRange: f, transactionStore: et } = Kt(r, {
|
|
23
23
|
slotData: q,
|
|
24
24
|
beatTransactions: J
|
|
25
|
-
}, v?.drilldown_data), { common: ot, insights_feed:
|
|
25
|
+
}, v?.drilldown_data), { common: ot, insights_feed: a } = yt(), [at, E] = d(!1), [nt, rt] = d(!1), R = Rt(), { dataSeries: g, chartData: p, comparisonBars: i } = Gt({
|
|
26
26
|
data: o?.data_series,
|
|
27
|
-
ariaLabel: e === "doubleBar" ?
|
|
27
|
+
ariaLabel: e === "doubleBar" ? a?.general?.in_month_you_had_a_category_of_amount ?? "_1{month}, _2{category}: _3{amount}" : Lt,
|
|
28
28
|
top: e,
|
|
29
|
-
beatTransactions:
|
|
30
|
-
}),
|
|
31
|
-
chartTabCount:
|
|
29
|
+
beatTransactions: u
|
|
30
|
+
}), c = e === "doubleBar", st = e === "tabsOnly", l = c ? i : p, { chartBarIndex: x, subTabIndex: it } = Ot({
|
|
31
|
+
chartTabCount: p.length,
|
|
32
32
|
comparisonTabCount: i.length,
|
|
33
|
-
actionDrawer:
|
|
34
|
-
beatGuid:
|
|
35
|
-
}), [
|
|
36
|
-
l.length !==
|
|
33
|
+
actionDrawer: V,
|
|
34
|
+
beatGuid: r.guid
|
|
35
|
+
}), [n, h] = d(x), [C, F] = d(it), [lt, ct] = d(l.length);
|
|
36
|
+
l.length !== lt && (ct(l.length), h(x));
|
|
37
37
|
const T = (t) => W({
|
|
38
|
-
beat:
|
|
39
|
-
beatTransactions:
|
|
40
|
-
dataSeries:
|
|
38
|
+
beat: r,
|
|
39
|
+
beatTransactions: u,
|
|
40
|
+
dataSeries: g,
|
|
41
41
|
comparisonBars: i,
|
|
42
42
|
selectedIndex: t,
|
|
43
43
|
subIndex: C,
|
|
44
44
|
isLastTab: t === l.length - 1,
|
|
45
45
|
instanceSlotData: o,
|
|
46
|
-
spendCategoryGuids:
|
|
47
|
-
displayedDateRange:
|
|
48
|
-
}),
|
|
49
|
-
if (
|
|
50
|
-
const t =
|
|
46
|
+
spendCategoryGuids: L,
|
|
47
|
+
displayedDateRange: f
|
|
48
|
+
}), dt = u.map((t) => t.guid).join(","), mt = L.join(","), ut = I.join(","), gt = e === "list" || e === "tabsOnly" || e === "monthTabs" || g.length > 0, O = () => {
|
|
49
|
+
if (m !== "store") return;
|
|
50
|
+
const t = gt ? T(n) : {
|
|
51
51
|
accounts: [],
|
|
52
52
|
custom: () => !1
|
|
53
53
|
};
|
|
54
|
-
et.setFilter(
|
|
55
|
-
allAccountGuids:
|
|
56
|
-
displayedDateRange:
|
|
54
|
+
et.setFilter(kt(t, {
|
|
55
|
+
allAccountGuids: I,
|
|
56
|
+
displayedDateRange: f
|
|
57
57
|
}));
|
|
58
58
|
};
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
if (Vt(() => {
|
|
60
|
+
O();
|
|
61
61
|
}, [
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
r.guid,
|
|
63
|
+
n,
|
|
64
64
|
C,
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
m,
|
|
66
|
+
g.length,
|
|
67
67
|
o,
|
|
68
|
-
|
|
69
|
-
ut,
|
|
70
|
-
gt,
|
|
68
|
+
f,
|
|
71
69
|
mt,
|
|
70
|
+
ut,
|
|
71
|
+
dt,
|
|
72
72
|
e
|
|
73
|
-
]);
|
|
74
|
-
const
|
|
75
|
-
title:
|
|
76
|
-
subHeader:
|
|
73
|
+
]), !a) return /* @__PURE__ */ s(St, {});
|
|
74
|
+
const j = Ht(B), _ = Y?.({
|
|
75
|
+
title: B?.title,
|
|
76
|
+
subHeader: j,
|
|
77
77
|
categoryName: tt,
|
|
78
|
-
selectedDate:
|
|
78
|
+
selectedDate: p[n]?.date ?? void 0,
|
|
79
79
|
slotData: o
|
|
80
|
-
}),
|
|
81
|
-
if (!at) return /* @__PURE__ */ r(It, {});
|
|
82
|
-
const [w, N] = o?.legends ?? [], bt = u === "local" ? (t) => T(t).custom ?? (() => !0) : void 0, { transactions: ft, projectedTransaction: A } = kt(g), ht = u === "local" ? ft : void 0, k = n.general.projected_amount, _t = A && k && T(a).custom?.(A) ? {
|
|
80
|
+
}), G = U(A, o?.category_guid), [H, w] = o?.legends ?? [], pt = m === "local" ? (t) => T(t).custom ?? (() => !0) : void 0, { transactions: bt, projectedTransaction: y } = wt(u), ft = m === "local" ? bt : void 0, k = a.general.projected_amount, ht = y && k && T(n).custom?.(y) ? {
|
|
83
81
|
heading: k,
|
|
84
|
-
transaction:
|
|
85
|
-
} : void 0, M = (t,
|
|
86
|
-
|
|
82
|
+
transaction: y
|
|
83
|
+
} : void 0, M = (t, b) => {
|
|
84
|
+
R(P.DRAWER_CHART_BAR_CLICKED), h(t), b !== void 0 && F(b);
|
|
87
85
|
}, Ct = (t) => {
|
|
88
|
-
|
|
89
|
-
},
|
|
90
|
-
...
|
|
91
|
-
value: i[
|
|
86
|
+
R(P.TAB_SELECTED), h(t);
|
|
87
|
+
}, N = c ? Ft([{
|
|
88
|
+
...H,
|
|
89
|
+
value: i[n]?.main
|
|
92
90
|
}, {
|
|
93
|
-
...
|
|
94
|
-
value: i[
|
|
95
|
-
}]) : void 0, Tt = $?.(
|
|
91
|
+
...w,
|
|
92
|
+
value: i[n]?.comparison
|
|
93
|
+
}]) : void 0, Tt = $?.(a) ?? [], K = c ? (N ?? []).map((t, b) => ({
|
|
96
94
|
label: t.label,
|
|
97
|
-
ariaLabel: Tt[
|
|
98
|
-
})) :
|
|
95
|
+
ariaLabel: Tt[b]
|
|
96
|
+
})) : st ? g.flatMap((t) => t.localized_label ? [{ label: t.localized_label }] : []) : X?.({
|
|
99
97
|
instanceSlotData: o,
|
|
100
|
-
copy:
|
|
101
|
-
}).map((t) => ({ label: t })) ?? [],
|
|
98
|
+
copy: a
|
|
99
|
+
}).map((t) => ({ label: t })) ?? [], _t = c || e === "singleBar" || e === "upcomingBill" ? l.length ? c ? /* @__PURE__ */ s(xt, {
|
|
102
100
|
bars: i,
|
|
103
101
|
boldLabel: Z,
|
|
104
|
-
colors:
|
|
102
|
+
colors: G,
|
|
105
103
|
legendPosition: "top",
|
|
106
|
-
legends:
|
|
104
|
+
legends: N,
|
|
107
105
|
onBarClick: M,
|
|
108
|
-
selectedIndex:
|
|
109
|
-
}) : /* @__PURE__ */
|
|
106
|
+
selectedIndex: n
|
|
107
|
+
}) : /* @__PURE__ */ s(It, {
|
|
110
108
|
amounts: {
|
|
111
109
|
average: o?.average_amount,
|
|
112
|
-
formattedAverage:
|
|
110
|
+
formattedAverage: Bt(o?.average_amount ?? 0, Q ?? Dt.cents)
|
|
113
111
|
},
|
|
114
|
-
color:
|
|
115
|
-
data:
|
|
112
|
+
color: G[0] ?? A.palette.primary.main,
|
|
113
|
+
data: p,
|
|
116
114
|
legendPosition: "top",
|
|
117
115
|
heightOverride: 172,
|
|
118
116
|
margin: {
|
|
@@ -121,43 +119,43 @@ var _e = Yt(({ beat: s }) => {
|
|
|
121
119
|
left: 24,
|
|
122
120
|
right: 24
|
|
123
121
|
},
|
|
124
|
-
monthlyAmountLabel:
|
|
122
|
+
monthlyAmountLabel: H?.label ?? a.general.monthly_amount,
|
|
125
123
|
onBarClick: M,
|
|
126
|
-
selectedTabIndex:
|
|
127
|
-
trendAmountLabel:
|
|
128
|
-
}) : /* @__PURE__ */
|
|
129
|
-
return /* @__PURE__ */
|
|
130
|
-
baseTransactions:
|
|
131
|
-
projectedRow:
|
|
132
|
-
heading:
|
|
133
|
-
icon:
|
|
124
|
+
selectedTabIndex: n,
|
|
125
|
+
trendAmountLabel: w?.label ?? a.general.trend
|
|
126
|
+
}) : /* @__PURE__ */ s(Et, {}) : null;
|
|
127
|
+
return /* @__PURE__ */ Ut(Yt, { children: [/* @__PURE__ */ s(Nt, {
|
|
128
|
+
baseTransactions: ft,
|
|
129
|
+
projectedRow: ht,
|
|
130
|
+
heading: _?.heading,
|
|
131
|
+
icon: _?.icon,
|
|
134
132
|
onSelectionChange: Ct,
|
|
135
|
-
selectedIndex:
|
|
136
|
-
subHeadingText:
|
|
133
|
+
selectedIndex: n,
|
|
134
|
+
subHeadingText: _?.subHeadingText,
|
|
137
135
|
tabs: l,
|
|
138
|
-
top:
|
|
139
|
-
...
|
|
140
|
-
tabs:
|
|
136
|
+
top: _t,
|
|
137
|
+
...K.length > 0 && { subTabs: {
|
|
138
|
+
tabs: K,
|
|
141
139
|
selectedIndex: C,
|
|
142
|
-
onChange:
|
|
140
|
+
onChange: F
|
|
143
141
|
} },
|
|
144
|
-
...
|
|
145
|
-
transactionFilter:
|
|
142
|
+
...S && { tipSection: !nt && (S(rt, a, j?.text, o) ?? !1) },
|
|
143
|
+
transactionFilter: pt,
|
|
146
144
|
onEachRowClick: (t) => {
|
|
147
|
-
|
|
145
|
+
D({ transaction_guid: t }), E(!0);
|
|
148
146
|
}
|
|
149
|
-
}), /* @__PURE__ */
|
|
147
|
+
}), /* @__PURE__ */ s(vt, {
|
|
150
148
|
ariaLabelClose: ot.close_aria,
|
|
151
|
-
isOpen:
|
|
149
|
+
isOpen: at,
|
|
152
150
|
onClose: () => {
|
|
153
|
-
|
|
151
|
+
E(!1), D({ transaction_guid: void 0 }), O();
|
|
154
152
|
},
|
|
155
|
-
title:
|
|
156
|
-
children: /* @__PURE__ */
|
|
153
|
+
title: a.general.transaction_details_title,
|
|
154
|
+
children: /* @__PURE__ */ s(Pt, { beat: r })
|
|
157
155
|
})] });
|
|
158
156
|
});
|
|
159
157
|
export {
|
|
160
|
-
|
|
158
|
+
fe as TransactionHistoryBlock
|
|
161
159
|
};
|
|
162
160
|
|
|
163
161
|
//# sourceMappingURL=TransactionHistoryBlock.es.js.map
|