@mx-cartographer/experiences 9.4.70 → 9.5.0-alpha.al0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/README.md +2 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailEdit.es.js +2 -2
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailEdit.es.js.map +1 -1
- package/dist/core/types/Insights.d.ts +8 -0
- package/dist/debts/components/DebtsTable.es.js +2 -2
- package/dist/debts/components/DebtsTable.es.js.map +1 -1
- package/dist/finstrong/components/ManageDOB.es.js +1 -1
- package/dist/finstrong/components/ManageDOB.es.js.map +1 -1
- package/dist/finstrong/components/onboarding/OnboardingBirthday.es.js +1 -1
- package/dist/finstrong/components/onboarding/OnboardingBirthday.es.js.map +1 -1
- package/dist/goals/components/actions/BirthdayAction.es.js +1 -1
- package/dist/goals/components/actions/BirthdayAction.es.js.map +1 -1
- package/dist/insights-v2/blocks/ComponentBlocks/DirectDepositBlock/DirectDepositBlock.d.ts +16 -0
- package/dist/insights-v2/blocks/ComponentBlocks/DirectDepositBlock/DirectDepositBlock.es.js +24 -0
- package/dist/insights-v2/blocks/ComponentBlocks/DirectDepositBlock/DirectDepositBlock.es.js.map +1 -0
- package/dist/insights-v2/blocks/ComponentBlocks/DirectDepositBlock/index.d.ts +1 -0
- package/dist/insights-v2/blocks/ComponentBlocks/DirectDepositBlock/layout.d.ts +28 -0
- package/dist/insights-v2/blocks/ComponentBlocks/DirectDepositBlock/layout.es.js +63 -0
- package/dist/insights-v2/blocks/ComponentBlocks/DirectDepositBlock/layout.es.js.map +1 -0
- package/dist/insights-v2/blocks/ComponentBlocks/index.d.ts +1 -0
- package/dist/insights-v2/components/AccountHeroCard.d.ts +7 -1
- package/dist/insights-v2/components/AccountHeroCard.es.js +6 -7
- package/dist/insights-v2/components/AccountHeroCard.es.js.map +1 -1
- package/dist/insights-v2/components/DirectDepositCard.d.ts +48 -0
- package/dist/insights-v2/components/DirectDepositCard.es.js +37 -0
- package/dist/insights-v2/components/DirectDepositCard.es.js.map +1 -0
- package/dist/insights-v2/components/TransferLogoCard.d.ts +5 -0
- package/dist/insights-v2/components/TransferLogoCard.es.js +37 -55
- package/dist/insights-v2/components/TransferLogoCard.es.js.map +1 -1
- package/dist/insights-v2/components/shared/ConfettiOverlay.d.ts +1 -0
- package/dist/insights-v2/components/shared/ConfettiOverlay.es.js +27 -0
- package/dist/insights-v2/components/shared/ConfettiOverlay.es.js.map +1 -0
- package/dist/insights-v2/index.d.ts +1 -0
- package/dist/insights-v2/index.es.js +70 -66
- package/dist/insights-v2/mappings/blocks.es.js +34 -32
- package/dist/insights-v2/mappings/blocks.es.js.map +1 -1
- package/dist/investments/components/HoldingTable.es.js +1 -1
- package/dist/investments/components/HoldingTable.es.js.map +1 -1
- package/dist/recurringtransactions/components/PaymentSchedule.es.js +1 -1
- package/dist/recurringtransactions/components/PaymentSchedule.es.js.map +1 -1
- package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceCalendar.es.js +1 -1
- package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceCalendar.es.js.map +1 -1
- package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceDay.d.ts +1 -1
- package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceDay.es.js.map +1 -1
- package/dist/settings/components/notifications/AccountProfileListItem.es.js +10 -10
- package/dist/settings/components/notifications/AccountProfileListItem.es.js.map +1 -1
- package/dist/settings/components/profile/ProfileTab.es.js +22 -22
- package/dist/settings/components/profile/ProfileTab.es.js.map +1 -1
- package/dist/transactions/components/shared/TransactionTable.es.js +2 -2
- package/dist/transactions/components/shared/TransactionTable.es.js.map +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/DateAction.es.js +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/DateAction.es.js.map +1 -1
- package/dist/trends/components/trendstable/AccessibleSortIcon.d.ts +2 -9
- package/dist/trends/components/trendstable/AccessibleSortIcon.es.js +19 -20
- package/dist/trends/components/trendstable/AccessibleSortIcon.es.js.map +1 -1
- package/dist/trends/components/trendstable/TrendsTable.es.js +2 -2
- package/dist/trends/components/trendstable/TrendsTable.es.js.map +1 -1
- package/package.json +17 -6
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import n from "./StatusPill.es.js";
|
|
2
|
+
import { ConfettiOverlay as b } from "./shared/ConfettiOverlay.es.js";
|
|
3
|
+
import f from "./AccountHeroCard.es.js";
|
|
4
|
+
import { NEUTRAL_PILL as s } from "../blocks/ComponentBlocks/DirectDepositBlock/layout.es.js";
|
|
5
|
+
import { Icon as C } from "@mxenabled/mx-icons";
|
|
6
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
7
|
+
var h = ({ backgroundImage: t, bgcolor: i = "primary.lighter", logo: a, name: d, nameVariant: m = "body2", pill: o = s, showConfetti: l = !1, statusLabel: e, subtitle: c }) => /* @__PURE__ */ r(f, {
|
|
8
|
+
backdrop: l ? /* @__PURE__ */ r(b, {}) : void 0,
|
|
9
|
+
backgroundImage: t,
|
|
10
|
+
bgcolor: i,
|
|
11
|
+
logo: a,
|
|
12
|
+
name: d,
|
|
13
|
+
nameVariant: m,
|
|
14
|
+
status: e ? /* @__PURE__ */ r(n, {
|
|
15
|
+
bgcolor: o.bgcolor,
|
|
16
|
+
borderColor: o.borderColor,
|
|
17
|
+
icon: o.icon ? /* @__PURE__ */ r(C, {
|
|
18
|
+
"aria-hidden": !0,
|
|
19
|
+
"data-testid": "pill-icon",
|
|
20
|
+
name: o.icon,
|
|
21
|
+
size: 16,
|
|
22
|
+
sx: { color: o.labelColor }
|
|
23
|
+
}) : void 0,
|
|
24
|
+
label: e,
|
|
25
|
+
labelColor: o.labelColor,
|
|
26
|
+
sx: {
|
|
27
|
+
border: "none",
|
|
28
|
+
px: 12
|
|
29
|
+
}
|
|
30
|
+
}) : void 0,
|
|
31
|
+
subtitle: c
|
|
32
|
+
});
|
|
33
|
+
export {
|
|
34
|
+
h as default
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
//# sourceMappingURL=DirectDepositCard.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DirectDepositCard.es.js","names":[],"sources":["../../../src/insights-v2/components/DirectDepositCard.tsx"],"sourcesContent":["import type { ReactNode } from 'react'\n\nimport { Icon } from '@mxenabled/mx-icons'\n\nimport AccountHeroCard from './AccountHeroCard'\nimport StatusPill from './StatusPill'\n\nimport { ConfettiOverlay } from './shared/ConfettiOverlay'\nimport { NEUTRAL_PILL } from '../blocks/ComponentBlocks/DirectDepositBlock/layout'\n\nexport interface DirectDepositPillConfig {\n /** Pill background color token. */\n bgcolor: string\n /** Pill border color token. */\n borderColor: string\n /** Pill label color token. */\n labelColor: string\n /** Optional mx-icons glyph rendered before the label (e.g. `check_circle`). */\n icon?: string\n}\n\n/**\n * Style props for the card. Variant-specific values live in the Direct Deposit\n * block's `layout.ts` (`getLayoutConfig`) — the card itself is variant-agnostic.\n */\nexport interface DirectDepositCardStyleProps {\n /** Slot surface token behind the white hero card. Default `primary.lighter`. */\n bgcolor?: string\n /** Decorative wash layered over `bgcolor` (celebration/gradient slots). */\n backgroundImage?: string\n /** Confetti burst behind the hero card (complete states). */\n showConfetti?: boolean\n /** Hero name typography. Default `body2` (13/16); rate variants use `body1` (15/20). */\n nameVariant?: 'body1' | 'body2'\n /** Status pill color tokens + optional leading glyph. */\n pill?: DirectDepositPillConfig\n}\n\ninterface DirectDepositCardProps extends DirectDepositCardStyleProps {\n /** Institution/account logo, rendered overhanging the hero card's top edge. */\n logo: ReactNode\n /** Primary line, e.g. \"Epic Bank Checking, *1234\". */\n name: ReactNode\n /** Optional secondary line, e.g. \"Checking Account\" / \"Credit Card\". */\n subtitle?: ReactNode\n /** Optional status pill label, e.g. \"Direct Deposit Not Set Up\". */\n statusLabel?: ReactNode\n}\n\n/**\n * The basic Direct Deposit hero card: an overhanging logo above a white card\n * with a name, optional subtitle, and a status pill, over a tinted/gradient\n * slot with an optional confetti backdrop.\n *\n * Purely presentational — it knows nothing about beats or variants. The Direct\n * Deposit block resolves `instance_slot.variant` to these style props via its\n * `layout.ts` (`getLayoutConfig`).\n */\nconst DirectDepositCard = ({\n backgroundImage,\n bgcolor = 'primary.lighter',\n logo,\n name,\n nameVariant = 'body2',\n pill = NEUTRAL_PILL,\n showConfetti = false,\n statusLabel,\n subtitle,\n}: DirectDepositCardProps) => {\n return (\n <AccountHeroCard\n backdrop={showConfetti ? <ConfettiOverlay /> : undefined}\n backgroundImage={backgroundImage}\n bgcolor={bgcolor}\n logo={logo}\n name={name}\n nameVariant={nameVariant}\n status={\n statusLabel ? (\n <StatusPill\n bgcolor={pill.bgcolor}\n borderColor={pill.borderColor}\n icon={\n pill.icon ? (\n <Icon\n aria-hidden={true}\n data-testid=\"pill-icon\"\n name={pill.icon}\n size={16}\n sx={{ color: pill.labelColor }}\n />\n ) : undefined\n }\n label={statusLabel}\n labelColor={pill.labelColor}\n // Figma pill geometry: 24px tall, 12px side padding, no stroke\n // (StatusPill defaults draw a 1px border and 16px padding).\n sx={{ border: 'none', px: 12 }}\n />\n ) : undefined\n }\n subtitle={subtitle}\n />\n )\n}\n\nexport default DirectDepositCard\n"],"mappings":";;;;;;AA0DA,IAAM,IAAA,CAAqB,EACzB,iBAAA,GACA,SAAA,IAAU,mBACV,MAAA,GACA,MAAA,GACA,aAAA,IAAc,SACd,MAAA,IAAO,GACP,cAAA,IAAe,IACf,aAAA,GACA,UAAA,EAAA,MAGE,gBAAA,EAAC,GAAD;AAAA,EACE,UAAU,IAAe,gBAAA,EAAC,GAAD,CAAkB,CAAA,IAAI;AAAA,EAC9B,iBAAA;AAAA,EACR,SAAA;AAAA,EACH,MAAA;AAAA,EACA,MAAA;AAAA,EACO,aAAA;AAAA,EACb,QACE,IACE,gBAAA,EAAC,GAAD;AAAA,IACE,SAAS,EAAK;AAAA,IACd,aAAa,EAAK;AAAA,IAClB,MACE,EAAK,OACH,gBAAA,EAAC,GAAD;AAAA,MACE,eAAa;AAAA,MACb,eAAY;AAAA,MACZ,MAAM,EAAK;AAAA,MACX,MAAM;AAAA,MACN,IAAI,EAAE,OAAO,EAAK,WAAW;AAAA,IAC9B,CAAA,IACC;AAAA,IAEN,OAAO;AAAA,IACP,YAAY,EAAK;AAAA,IAGjB,IAAI;AAAA,MAAE,QAAQ;AAAA,MAAQ,IAAI;AAAA,IAAG;AAAA,EAC9B,CAAA,IACC;AAAA,EAEI,UAAA;AACX,CAAA"}
|
|
@@ -34,6 +34,11 @@ interface TransferLogoCardProps {
|
|
|
34
34
|
showConfetti?: boolean;
|
|
35
35
|
sx?: SxProps;
|
|
36
36
|
}
|
|
37
|
+
/**
|
|
38
|
+
* Confetti overlay for the success state. Measures the container and fires the
|
|
39
|
+
* burst once dimensions arrive. Scoped to this component so the resize listener
|
|
40
|
+
* only mounts when confetti is shown.
|
|
41
|
+
*/
|
|
37
42
|
/**
|
|
38
43
|
* A from → to account transfer visual: two institution logos on a rounded track
|
|
39
44
|
* with a central arrow badge and connector dots between them.
|
|
@@ -1,118 +1,100 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Confetti as v } from "./shared/Confetti.es.js";
|
|
3
|
-
import { useRef as I } from "react";
|
|
1
|
+
import { ConfettiOverlay as w } from "./shared/ConfettiOverlay.es.js";
|
|
4
2
|
import d from "@mui/material/Stack";
|
|
5
|
-
import { Icon as
|
|
6
|
-
import { jsx as r, jsxs as
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
var
|
|
3
|
+
import { Icon as v } from "@mxenabled/mx-icons";
|
|
4
|
+
import { jsx as r, jsxs as o } from "react/jsx-runtime";
|
|
5
|
+
import e from "@mui/material/Box";
|
|
6
|
+
import I from "@mui/material/Card";
|
|
7
|
+
var b = 240, R = 40, T = 204, y = /* @__PURE__ */ r(v, {
|
|
10
8
|
"aria-hidden": !0,
|
|
11
9
|
name: "arrow_forward",
|
|
12
10
|
size: 20,
|
|
13
11
|
sx: { color: "neutral.lighter" }
|
|
14
|
-
}),
|
|
15
|
-
bgcolor:
|
|
12
|
+
}), a = ({ color: n = "neutral.darker", size: i = 4 }) => /* @__PURE__ */ r(e, { sx: {
|
|
13
|
+
bgcolor: n,
|
|
16
14
|
borderRadius: "4px",
|
|
17
|
-
height:
|
|
18
|
-
width:
|
|
19
|
-
} }),
|
|
20
|
-
const
|
|
21
|
-
return /* @__PURE__ */ r(i, {
|
|
22
|
-
"aria-hidden": !0,
|
|
23
|
-
ref: t,
|
|
24
|
-
sx: {
|
|
25
|
-
inset: 0,
|
|
26
|
-
position: "absolute",
|
|
27
|
-
zIndex: 0
|
|
28
|
-
},
|
|
29
|
-
children: /* @__PURE__ */ r(v, {
|
|
30
|
-
height: e,
|
|
31
|
-
shouldRun: e > 0,
|
|
32
|
-
width: o
|
|
33
|
-
})
|
|
34
|
-
});
|
|
35
|
-
}, O = ({ badgeBgColor: t = "neutral.darker", bgcolor: e = "primary.lighter", backgroundImage: o, dotColor: n = "neutral.darker", from: f, hasBigDots: x = !0, icon: u = D, showConfetti: m = !1, size: l = 64, to: p, sx: g }) => {
|
|
36
|
-
const h = x ? 6 : 4, c = {
|
|
15
|
+
height: i,
|
|
16
|
+
width: i
|
|
17
|
+
} }), S = ({ badgeBgColor: n = "neutral.darker", bgcolor: i = "primary.lighter", backgroundImage: s, dotColor: t = "neutral.darker", from: x, hasBigDots: f = !0, icon: p = y, showConfetti: g = !1, size: l = 64, to: m, sx: u }) => {
|
|
18
|
+
const h = f ? 6 : 4, c = {
|
|
37
19
|
borderRadius: "4px",
|
|
38
20
|
flexShrink: 0,
|
|
39
21
|
height: l,
|
|
40
22
|
overflow: "hidden",
|
|
41
23
|
width: l
|
|
42
24
|
};
|
|
43
|
-
return /* @__PURE__ */
|
|
25
|
+
return /* @__PURE__ */ o(e, {
|
|
44
26
|
sx: {
|
|
45
|
-
bgcolor:
|
|
46
|
-
...
|
|
27
|
+
bgcolor: i,
|
|
28
|
+
...s && { backgroundImage: s },
|
|
47
29
|
p: 16,
|
|
48
30
|
position: "relative",
|
|
49
31
|
width: "100%",
|
|
50
|
-
...
|
|
32
|
+
...u
|
|
51
33
|
},
|
|
52
|
-
children: [
|
|
34
|
+
children: [g && /* @__PURE__ */ r(w, {}), /* @__PURE__ */ r(I, {
|
|
53
35
|
sx: {
|
|
54
36
|
position: "relative",
|
|
55
37
|
py: 16,
|
|
56
38
|
zIndex: 1
|
|
57
39
|
},
|
|
58
|
-
children: /* @__PURE__ */
|
|
40
|
+
children: /* @__PURE__ */ o(e, {
|
|
59
41
|
sx: {
|
|
60
42
|
display: "grid",
|
|
61
43
|
placeItems: "center"
|
|
62
44
|
},
|
|
63
|
-
children: [/* @__PURE__ */ r(
|
|
45
|
+
children: [/* @__PURE__ */ r(e, { sx: {
|
|
64
46
|
bgcolor: "neutral.lighter",
|
|
65
47
|
borderRadius: "24px",
|
|
66
48
|
gridArea: "1 / 1",
|
|
67
|
-
height:
|
|
68
|
-
width:
|
|
69
|
-
} }), /* @__PURE__ */
|
|
49
|
+
height: R,
|
|
50
|
+
width: b
|
|
51
|
+
} }), /* @__PURE__ */ o(d, {
|
|
70
52
|
sx: {
|
|
71
53
|
alignItems: "center",
|
|
72
54
|
flexDirection: "row",
|
|
73
55
|
gridArea: "1 / 1",
|
|
74
56
|
height: l,
|
|
75
57
|
justifyContent: "space-between",
|
|
76
|
-
width:
|
|
58
|
+
width: T
|
|
77
59
|
},
|
|
78
60
|
children: [
|
|
79
|
-
/* @__PURE__ */ r(
|
|
61
|
+
/* @__PURE__ */ r(e, {
|
|
80
62
|
sx: c,
|
|
81
|
-
children:
|
|
63
|
+
children: x
|
|
82
64
|
}),
|
|
83
|
-
/* @__PURE__ */
|
|
65
|
+
/* @__PURE__ */ o(d, {
|
|
84
66
|
sx: {
|
|
85
67
|
alignItems: "center",
|
|
86
68
|
flexDirection: "row",
|
|
87
69
|
gap: 4
|
|
88
70
|
},
|
|
89
71
|
children: [
|
|
90
|
-
/* @__PURE__ */ r(
|
|
91
|
-
/* @__PURE__ */ r(
|
|
92
|
-
color:
|
|
72
|
+
/* @__PURE__ */ r(a, { color: t }),
|
|
73
|
+
/* @__PURE__ */ r(a, {
|
|
74
|
+
color: t,
|
|
93
75
|
size: h
|
|
94
76
|
}),
|
|
95
77
|
/* @__PURE__ */ r(d, {
|
|
96
78
|
sx: {
|
|
97
79
|
alignItems: "center",
|
|
98
|
-
bgcolor:
|
|
80
|
+
bgcolor: n,
|
|
99
81
|
borderRadius: "50%",
|
|
100
82
|
height: 28,
|
|
101
83
|
justifyContent: "center",
|
|
102
84
|
width: 28
|
|
103
85
|
},
|
|
104
|
-
children:
|
|
86
|
+
children: p
|
|
105
87
|
}),
|
|
106
|
-
/* @__PURE__ */ r(
|
|
107
|
-
color:
|
|
88
|
+
/* @__PURE__ */ r(a, {
|
|
89
|
+
color: t,
|
|
108
90
|
size: h
|
|
109
91
|
}),
|
|
110
|
-
/* @__PURE__ */ r(
|
|
92
|
+
/* @__PURE__ */ r(a, { color: t })
|
|
111
93
|
]
|
|
112
94
|
}),
|
|
113
|
-
/* @__PURE__ */ r(
|
|
95
|
+
/* @__PURE__ */ r(e, {
|
|
114
96
|
sx: c,
|
|
115
|
-
children:
|
|
97
|
+
children: m
|
|
116
98
|
})
|
|
117
99
|
]
|
|
118
100
|
})]
|
|
@@ -121,7 +103,7 @@ var y = 240, T = 40, C = 204, D = /* @__PURE__ */ r(R, {
|
|
|
121
103
|
});
|
|
122
104
|
};
|
|
123
105
|
export {
|
|
124
|
-
|
|
106
|
+
S as default
|
|
125
107
|
};
|
|
126
108
|
|
|
127
109
|
//# sourceMappingURL=TransferLogoCard.es.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransferLogoCard.es.js","names":[],"sources":["../../../src/insights-v2/components/TransferLogoCard.tsx"],"sourcesContent":["import type { ReactNode } from 'react'\
|
|
1
|
+
{"version":3,"file":"TransferLogoCard.es.js","names":[],"sources":["../../../src/insights-v2/components/TransferLogoCard.tsx"],"sourcesContent":["import type { ReactNode } from 'react'\n\nimport Box from '@mui/material/Box'\nimport Card from '@mui/material/Card'\nimport Stack from '@mui/material/Stack'\nimport type { SxProps } from '@mui/material/styles'\n\nimport { Icon } from '@mxenabled/mx-icons'\nimport { ConfettiOverlay } from './shared/ConfettiOverlay'\n\n// Figma track/row footprints (mirrors v1 `shared/ConnectionCard`): a 240×40\n// rounded track centered behind a 204×64 row of logos + center badge.\nconst TRACK_WIDTH = 240\nconst TRACK_HEIGHT = 40\nconst ROW_WIDTH = 204\n\ninterface TransferLogoCardProps {\n /** Source institution logo (left). */\n from: ReactNode\n /** Destination institution logo (right). */\n to: ReactNode\n /** Logo tile size in px (Figma: 64). */\n size?: number\n /** Arrow icon rendered in the center badge. Defaults to a right arrow. */\n icon?: ReactNode\n /**\n * Enlarge the inner connector dots (6px vs 4px), matching the Discovered\n * Accounts insight for cross-insight consistency. Default true.\n */\n hasBigDots?: boolean\n /** Connector-dot color token. Default `neutral.darker` (theme-aware). */\n dotColor?: string\n /** Center badge background color token. Default `neutral.darker` (dark circle\n * for Switch DD default; set to `success.main` for Discovered Accounts success). */\n badgeBgColor?: string\n /** Slot surface color token. Default `primary.lighter` (Figma's tinted slot,\n * theme-aware: light-blue in light mode, navy in dark). */\n bgcolor?: string\n /**\n * Optional background image (e.g., celebration gradient) for success states.\n * Layered over the `bgcolor` via `backgroundImage` (not `background` shorthand).\n */\n backgroundImage?: string\n /**\n * Show a confetti animation filling the slot (for success/celebration states).\n * Requires `useContainerDimensions` to measure the slot. Default false.\n */\n showConfetti?: boolean\n sx?: SxProps\n}\n\n// Default center-badge glyph. Hoisted to a stable reference so it isn't\n// re-created each render (`neutral.lighter` is the theme-aware inverse of the\n// badge fill: light glyph on dark badge, and vice-versa in dark).\nconst defaultTransferIcon = (\n <Icon aria-hidden={true} name=\"arrow_forward\" size={20} sx={{ color: 'neutral.lighter' }} />\n)\n\n// Connector dot: a small rounded square that reads as a dot at this size\n// (matches v1 `ConnectionCard`'s `Dot`). `neutral.darker` is theme-aware. The\n// inner pair is larger (`bigDots`, as Discovered Accounts uses) than the outer.\nconst Dot = ({ color = 'neutral.darker', size = 4 }: { color?: string; size?: number }) => (\n <Box sx={{ bgcolor: color, borderRadius: '4px', height: size, width: size }} />\n)\n\n/**\n * Confetti overlay for the success state. Measures the container and fires the\n * burst once dimensions arrive. Scoped to this component so the resize listener\n * only mounts when confetti is shown.\n */\n\n/**\n * A from → to account transfer visual: two institution logos on a rounded track\n * with a central arrow badge and connector dots between them.\n *\n * Figma: Switch Direct Deposit (default) Content. Structure ported from v1\n * `insights/components/shared/ConnectionCard` (grid-overlaid track + row).\n * Scope is the Content section only.\n */\nconst TransferLogoCard = ({\n badgeBgColor = 'neutral.darker',\n bgcolor = 'primary.lighter',\n backgroundImage,\n dotColor = 'neutral.darker',\n from,\n hasBigDots = true,\n icon = defaultTransferIcon,\n showConfetti = false,\n size = 64,\n to,\n sx,\n}: TransferLogoCardProps) => {\n const dotSize = hasBigDots ? 6 : 4\n const logoSx = {\n borderRadius: '4px',\n flexShrink: 0,\n height: size,\n overflow: 'hidden',\n width: size,\n } as const\n\n return (\n <Box\n sx={{\n bgcolor,\n ...(backgroundImage && { backgroundImage }),\n p: 16,\n // Positioned wrapper so the confetti overlay can fill the slot; the card\n // sits above it (zIndex). No `overflow: hidden` — that would clip the\n // burst's upper area (per the figma-to-code confetti guidance).\n position: 'relative',\n width: '100%',\n ...sx,\n }}\n >\n {showConfetti && <ConfettiOverlay />}\n <Card sx={{ position: 'relative', py: 16, zIndex: 1 }}>\n <Box sx={{ display: 'grid', placeItems: 'center' }}>\n {/* Grey track, centered behind the row via a shared grid cell. */}\n <Box\n sx={{\n bgcolor: 'neutral.lighter',\n borderRadius: '24px',\n gridArea: '1 / 1',\n height: TRACK_HEIGHT,\n width: TRACK_WIDTH,\n }}\n />\n <Stack\n sx={{\n alignItems: 'center',\n flexDirection: 'row',\n gridArea: '1 / 1',\n height: size,\n justifyContent: 'space-between',\n width: ROW_WIDTH,\n }}\n >\n <Box sx={logoSx}>{from}</Box>\n <Stack sx={{ alignItems: 'center', flexDirection: 'row', gap: 4 }}>\n <Dot color={dotColor} />\n <Dot color={dotColor} size={dotSize} />\n <Stack\n sx={{\n alignItems: 'center',\n bgcolor: badgeBgColor,\n borderRadius: '50%',\n height: 28,\n justifyContent: 'center',\n width: 28,\n }}\n >\n {icon}\n </Stack>\n <Dot color={dotColor} size={dotSize} />\n <Dot color={dotColor} />\n </Stack>\n <Box sx={logoSx}>{to}</Box>\n </Stack>\n </Box>\n </Card>\n </Box>\n )\n}\n\nexport default TransferLogoCard\n"],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ConfettiOverlay: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { useContainerDimensions as i } from "../../hooks/useContainerDimensions.es.js";
|
|
2
|
+
import { Confetti as n } from "./Confetti.es.js";
|
|
3
|
+
import { useRef as s } from "react";
|
|
4
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
5
|
+
import { Box as m } from "@mui/material";
|
|
6
|
+
var d = () => {
|
|
7
|
+
const o = s(null), { height: r, width: t } = i(o);
|
|
8
|
+
return /* @__PURE__ */ e(m, {
|
|
9
|
+
"aria-hidden": !0,
|
|
10
|
+
ref: o,
|
|
11
|
+
sx: {
|
|
12
|
+
inset: 0,
|
|
13
|
+
position: "absolute",
|
|
14
|
+
zIndex: 0
|
|
15
|
+
},
|
|
16
|
+
children: /* @__PURE__ */ e(n, {
|
|
17
|
+
height: r,
|
|
18
|
+
shouldRun: r > 0,
|
|
19
|
+
width: t
|
|
20
|
+
})
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
export {
|
|
24
|
+
d as ConfettiOverlay
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=ConfettiOverlay.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConfettiOverlay.es.js","names":[],"sources":["../../../../src/insights-v2/components/shared/ConfettiOverlay.tsx"],"sourcesContent":["import { useRef } from 'react'\nimport { useContainerDimensions } from '../../hooks/useContainerDimensions'\nimport Confetti from './Confetti'\nimport { Box } from '@mui/material'\n\nexport const ConfettiOverlay = () => {\n const overlayRef = useRef<HTMLDivElement>(null)\n const { height, width } = useContainerDimensions(overlayRef)\n return (\n <Box aria-hidden={true} ref={overlayRef} sx={{ inset: 0, position: 'absolute', zIndex: 0 }}>\n <Confetti height={height} shouldRun={height > 0} width={width} />\n </Box>\n )\n}\n"],"mappings":";;;;;AAKA,IAAa,IAAA,MAAwB;AACnC,QAAM,IAAa,EAAuB,IAAI,GACxC,EAAE,QAAA,GAAQ,OAAA,EAAA,IAAU,EAAuB,CAAU;AAC3D,SACE,gBAAA,EAAC,GAAD;AAAA,IAAK,eAAa;AAAA,IAAM,KAAK;AAAA,IAAY,IAAI;AAAA,MAAE,OAAO;AAAA,MAAG,UAAU;AAAA,MAAY,QAAQ;AAAA,IAAE;AAAA,IACvF,UAAA,gBAAA,EAAC,GAAD;AAAA,MAAkB,QAAA;AAAA,MAAQ,WAAW,IAAS;AAAA,MAAU,OAAA;AAAA,IAAQ,CAAA;AAAA,EAC7D,CAAA;AAET"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from './blocks';
|
|
2
2
|
export { default as AccountHeroCard } from './components/AccountHeroCard';
|
|
3
|
+
export { default as DirectDepositCard, type DirectDepositCardStyleProps, type DirectDepositPillConfig, } from './components/DirectDepositCard';
|
|
3
4
|
export { default as AmountPill } from './components/AmountPill';
|
|
4
5
|
export { default as BadgedTile } from './components/BadgedTile';
|
|
5
6
|
export { default as StatusBadge, type StatusTone } from './components/StatusBadge';
|
|
@@ -8,7 +8,7 @@ import d, { isLogoGuid as C } from "./components/LogoFromGuid.es.js";
|
|
|
8
8
|
import B from "./components/StatusBadge.es.js";
|
|
9
9
|
import h from "./components/CompactInsightCard.es.js";
|
|
10
10
|
import S from "./components/InsightErrorCard.es.js";
|
|
11
|
-
import { BAR_CHART_VARIANTS as
|
|
11
|
+
import { BAR_CHART_VARIANTS as A, barChartVariant as T, buildChartData as b, buildDataSeries as I } from "./blocks/ChartBlocks/BarchartBlock/utils.es.js";
|
|
12
12
|
import { BarchartBlock as H } from "./blocks/ChartBlocks/BarchartBlock/BarchartBlock.es.js";
|
|
13
13
|
import { DoubleBarChartBlock as O } from "./blocks/ChartBlocks/DoubleBarChartBlock/DoubleBarChartBlock.es.js";
|
|
14
14
|
import E from "./blocks/ChartBlocks/StepChartBlock/StepChartBlock.es.js";
|
|
@@ -17,90 +17,94 @@ import V from "./blocks/ChartBlocks/DoubleProgressBarBlock/DoubleProgressBarBloc
|
|
|
17
17
|
import y from "./blocks/ComponentBlocks/AccountBlock/AccountBlock.es.js";
|
|
18
18
|
import G from "./components/TransferLogoCard.es.js";
|
|
19
19
|
import N from "./blocks/ComponentBlocks/AccountSwitchBlock/AccountSwitchBlock.es.js";
|
|
20
|
-
import
|
|
21
|
-
import q from "./components/
|
|
22
|
-
import J from "./blocks/ComponentBlocks/
|
|
23
|
-
import Q from "./
|
|
24
|
-
import Y from "./components/
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import {
|
|
29
|
-
import er from "./components/
|
|
30
|
-
import sr from "./
|
|
31
|
-
import lr from "./
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
import hr from "./components/
|
|
35
|
-
import {
|
|
36
|
-
import
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import
|
|
42
|
-
import Vr from "./
|
|
43
|
-
import yr from "./components/
|
|
44
|
-
import Gr from "./components/
|
|
45
|
-
import Nr from "./components/
|
|
46
|
-
import Ur from "./components/
|
|
47
|
-
import qr from "./components/
|
|
48
|
-
import Jr from "./components/
|
|
49
|
-
import Qr from "./components/
|
|
20
|
+
import U from "./components/AccountHeroCard.es.js";
|
|
21
|
+
import q from "./components/DirectDepositCard.es.js";
|
|
22
|
+
import J from "./blocks/ComponentBlocks/DirectDepositBlock/DirectDepositBlock.es.js";
|
|
23
|
+
import { BudgetBlock as Q } from "./blocks/ComponentBlocks/BudgetBlock/BudgetBlock.es.js";
|
|
24
|
+
import Y from "./components/SaveAnExtraCard.es.js";
|
|
25
|
+
import $ from "./blocks/ComponentBlocks/SaveExtraBlock/SaveExtraBlock.es.js";
|
|
26
|
+
import or from "./components/InsightTransactionRow.es.js";
|
|
27
|
+
import mr from "./components/TransactionListCard.es.js";
|
|
28
|
+
import { TransactionBlock as ar, TransactionBlockVariant as pr } from "./blocks/ComponentBlocks/TransactionBlock/TransactionBlock.es.js";
|
|
29
|
+
import er from "./components/WithdrawalCard.es.js";
|
|
30
|
+
import sr from "./blocks/ComponentBlocks/WithdrawalBlock/WithdrawalBlock.es.js";
|
|
31
|
+
import { SVGImageBlock as lr } from "./blocks/ImageBlocks/SVGImageBlock/SVGImageBlock.es.js";
|
|
32
|
+
import Cr from "./components/AmountPill.es.js";
|
|
33
|
+
import Br from "./components/DesignateEmergencySavingsCard.es.js";
|
|
34
|
+
import { ErrorCard as hr } from "./components/ErrorCard.es.js";
|
|
35
|
+
import { FeedbackBar as Sr } from "./components/FeedbackBar.es.js";
|
|
36
|
+
import Ar from "./components/FeedbackDialog.es.js";
|
|
37
|
+
import { DismissInsightDialog as br } from "./components/DismissInsightDialog.es.js";
|
|
38
|
+
import { HiddenConfirmationCard as Lr } from "./components/HiddenConfirmationCard.es.js";
|
|
39
|
+
import { LoadingCard as vr } from "./components/LoadingCard.es.js";
|
|
40
|
+
import { ObsolesceBanner as wr } from "./components/ObsolesceBanner.es.js";
|
|
41
|
+
import { HOST_ACTIONS as Pr } from "./ctaActions/hostActions.es.js";
|
|
42
|
+
import { useBeatCtaActions as Mr, useCtaHandler as Vr } from "./ctaActions/useCtaAction.es.js";
|
|
43
|
+
import yr from "./components/BaseLayout.es.js";
|
|
44
|
+
import Gr from "./components/StatusMessageCard.es.js";
|
|
45
|
+
import Nr from "./components/LogoTile.es.js";
|
|
46
|
+
import Ur from "./components/LogoClusterCard.es.js";
|
|
47
|
+
import qr from "./components/MerchantHighlightCard.es.js";
|
|
48
|
+
import Jr from "./components/P2PLogoStack.es.js";
|
|
49
|
+
import Qr from "./components/SavingsOpportunityCard.es.js";
|
|
50
|
+
import Yr from "./components/SubscriptionHeroCard.es.js";
|
|
51
|
+
import $r from "./components/UpcomingBillCard.es.js";
|
|
50
52
|
export {
|
|
51
53
|
y as AccountBlock,
|
|
52
|
-
|
|
54
|
+
U as AccountHeroCard,
|
|
53
55
|
N as AccountSwitchBlock,
|
|
54
|
-
|
|
55
|
-
|
|
56
|
+
Cr as AmountPill,
|
|
57
|
+
A as BAR_CHART_VARIANTS,
|
|
56
58
|
f as BadgedTile,
|
|
57
59
|
H as BarchartBlock,
|
|
58
|
-
|
|
59
|
-
|
|
60
|
+
yr as BaseLayout,
|
|
61
|
+
Q as BudgetBlock,
|
|
60
62
|
h as CompactInsightCard,
|
|
61
|
-
|
|
62
|
-
|
|
63
|
+
Br as DesignateEmergencySavingsCard,
|
|
64
|
+
J as DirectDepositBlock,
|
|
65
|
+
q as DirectDepositCard,
|
|
66
|
+
br as DismissInsightDialog,
|
|
63
67
|
R as DonutChartBlock,
|
|
64
68
|
O as DoubleBarChartBlock,
|
|
65
69
|
V as DoubleProgressBarBlock,
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
70
|
+
hr as ErrorCard,
|
|
71
|
+
Sr as FeedbackBar,
|
|
72
|
+
Ar as FeedbackDialog,
|
|
73
|
+
Pr as HOST_ACTIONS,
|
|
74
|
+
Lr as HiddenConfirmationCard,
|
|
71
75
|
S as InsightErrorCard,
|
|
72
76
|
c as InsightOptionsMenu,
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
77
|
+
or as InsightTransactionRow,
|
|
78
|
+
vr as LoadingCard,
|
|
79
|
+
Ur as LogoClusterCard,
|
|
76
80
|
d as LogoFromGuid,
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
81
|
+
Nr as LogoTile,
|
|
82
|
+
qr as MerchantHighlightCard,
|
|
83
|
+
wr as ObsolesceBanner,
|
|
80
84
|
n as OverflowMenu,
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
85
|
+
Jr as P2PLogoStack,
|
|
86
|
+
lr as SVGImageBlock,
|
|
87
|
+
Y as SaveAnExtraCard,
|
|
88
|
+
$ as SaveExtraBlock,
|
|
89
|
+
Qr as SavingsOpportunityCard,
|
|
86
90
|
B as StatusBadge,
|
|
87
|
-
|
|
91
|
+
Gr as StatusMessageCard,
|
|
88
92
|
o as StatusPill,
|
|
89
93
|
E as StepChartBlock,
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
+
Yr as SubscriptionHeroCard,
|
|
95
|
+
ar as TransactionBlock,
|
|
96
|
+
pr as TransactionBlockVariant,
|
|
97
|
+
mr as TransactionListCard,
|
|
94
98
|
G as TransferLogoCard,
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
99
|
+
$r as UpcomingBillCard,
|
|
100
|
+
sr as WithdrawalBlock,
|
|
101
|
+
er as WithdrawalCard,
|
|
102
|
+
T as barChartVariant,
|
|
103
|
+
b as buildChartData,
|
|
100
104
|
I as buildDataSeries,
|
|
101
105
|
C as isLogoGuid,
|
|
102
106
|
m as resolveInsightRender,
|
|
103
107
|
a as useBeatActions,
|
|
104
|
-
|
|
105
|
-
|
|
108
|
+
Mr as useBeatCtaActions,
|
|
109
|
+
Vr as useCtaHandler
|
|
106
110
|
};
|
|
@@ -1,52 +1,53 @@
|
|
|
1
|
-
import { ContactSupportActionBlock as
|
|
1
|
+
import { ContactSupportActionBlock as l } from "../actionBlocks/ContactSupportActionBlock.es.js";
|
|
2
2
|
import { actionBlocksKey as r } from "./actionBlocksKey.es.js";
|
|
3
|
-
import { BarchartBlock as
|
|
3
|
+
import { BarchartBlock as n } from "../blocks/ChartBlocks/BarchartBlock/BarchartBlock.es.js";
|
|
4
4
|
import { DoubleBarChartBlock as m } from "../blocks/ChartBlocks/DoubleBarChartBlock/DoubleBarChartBlock.es.js";
|
|
5
5
|
import _ from "../blocks/ChartBlocks/StepChartBlock/StepChartBlock.es.js";
|
|
6
6
|
import p from "../blocks/ChartBlocks/DonutChartBlock/DonutChartBlock.es.js";
|
|
7
7
|
import s from "../blocks/ChartBlocks/DoubleProgressBarBlock/DoubleProgressBarBlock.es.js";
|
|
8
8
|
import k from "../blocks/ComponentBlocks/AccountBlock/AccountBlock.es.js";
|
|
9
9
|
import C from "../blocks/ComponentBlocks/AccountSwitchBlock/AccountSwitchBlock.es.js";
|
|
10
|
-
import
|
|
11
|
-
import T from "../blocks/ComponentBlocks/
|
|
10
|
+
import B from "../blocks/ComponentBlocks/DirectDepositBlock/DirectDepositBlock.es.js";
|
|
11
|
+
import { BudgetBlock as T } from "../blocks/ComponentBlocks/BudgetBlock/BudgetBlock.es.js";
|
|
12
|
+
import f from "../blocks/ComponentBlocks/SaveExtraBlock/SaveExtraBlock.es.js";
|
|
12
13
|
import { TransactionBlock as u } from "../blocks/ComponentBlocks/TransactionBlock/TransactionBlock.es.js";
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import { SVGImageBlock as
|
|
14
|
+
import A from "../blocks/ComponentBlocks/WithdrawalBlock/WithdrawalBlock.es.js";
|
|
15
|
+
import O from "../blocks/ImageBlocks/ImageBlock.es.js";
|
|
16
|
+
import { SVGImageBlock as b } from "../blocks/ImageBlocks/SVGImageBlock/SVGImageBlock.es.js";
|
|
16
17
|
import { PlaceholderActionBlock as N } from "../actionBlocks/PlaceholderActionBlock.es.js";
|
|
17
|
-
import { getMakeTransferDrawerTitle as
|
|
18
|
-
import { MakeTransferActionBlockLayer as
|
|
19
|
-
import { getDrawerHeaderTitle as
|
|
18
|
+
import { getMakeTransferDrawerTitle as h } from "../actionBlocks/MakeTransferActionBlock/layout.es.js";
|
|
19
|
+
import { MakeTransferActionBlockLayer as I } from "../actionBlocks/MakeTransferActionBlock/MakeTransferActionBlockLayer.es.js";
|
|
20
|
+
import { getDrawerHeaderTitle as d } from "../actionBlocks/TransactionHistoryBlock/utils.es.js";
|
|
20
21
|
import { TransactionDetailsBlock as g } from "../actionBlocks/TransactionDetailsBlock/TransactionDetailsBlock.es.js";
|
|
21
22
|
import { useTransactionDetailsPrepare as a } from "../actionBlocks/TransactionDetailsBlock/useTransactionDetailsPrepare.es.js";
|
|
22
23
|
import { TransactionHistoryBlock as L } from "../actionBlocks/TransactionHistoryBlock/TransactionHistoryBlock.es.js";
|
|
23
24
|
import { useRecurringTransactionPrepare as i } from "../actionBlocks/RecurringTransactionBlock/useRecurringTransactionPrepare.es.js";
|
|
24
25
|
import { RecurringTransactionBlock as S } from "../actionBlocks/RecurringTransactionBlock/RecurringTransactionBlock.es.js";
|
|
25
|
-
import { TransactionListBlock as
|
|
26
|
-
import { RemainingCashBlock as
|
|
26
|
+
import { TransactionListBlock as R } from "../actionBlocks/TransactionListBlock/TransactionListBlock.es.js";
|
|
27
|
+
import { RemainingCashBlock as P } from "../actionBlocks/RemainingCashBlock/RemainingCashBlock.es.js";
|
|
27
28
|
var e = (t) => {
|
|
28
|
-
},
|
|
29
|
+
}, D = /* @__PURE__ */ new Set([
|
|
29
30
|
"",
|
|
30
31
|
"null",
|
|
31
32
|
"undefined"
|
|
32
|
-
]),
|
|
33
|
+
]), io = (t) => {
|
|
33
34
|
const o = t?.trim().toLowerCase();
|
|
34
|
-
return !!o && !
|
|
35
|
-
},
|
|
35
|
+
return !!o && !D.has(o);
|
|
36
|
+
}, co = {
|
|
36
37
|
[r.PLACEHOLDER_ACTION_BLOCK]: {
|
|
37
38
|
Component: N,
|
|
38
39
|
usePrepare: e,
|
|
39
40
|
title: () => "Action Block Layer Drilldown"
|
|
40
41
|
},
|
|
41
42
|
[r.MAKE_TRANSFER_ACTION_BLOCK]: {
|
|
42
|
-
Component:
|
|
43
|
+
Component: I,
|
|
43
44
|
usePrepare: e,
|
|
44
|
-
title:
|
|
45
|
+
title: h
|
|
45
46
|
},
|
|
46
47
|
[r.TRANSCATION_HISTORY_ACTION_BLOCK]: {
|
|
47
48
|
Component: L,
|
|
48
49
|
usePrepare: e,
|
|
49
|
-
title:
|
|
50
|
+
title: d
|
|
50
51
|
},
|
|
51
52
|
[r.TRANSACTION_DETAILS_ACTION_BLOCK]: {
|
|
52
53
|
Component: g,
|
|
@@ -59,39 +60,40 @@ var e = (t) => {
|
|
|
59
60
|
title: (t, o) => o.recurring?.expense_details ?? ""
|
|
60
61
|
},
|
|
61
62
|
[r.REMAINING_CASH_ACTION_BLOCK]: {
|
|
62
|
-
Component:
|
|
63
|
+
Component: P,
|
|
63
64
|
usePrepare: i,
|
|
64
65
|
title: (t, o) => o.insights_feed?.remaining_cash?.title ?? ""
|
|
65
66
|
},
|
|
66
67
|
[r.CONTACT_SUPPORT_ACTION_BLOCK]: {
|
|
67
|
-
Component:
|
|
68
|
+
Component: l,
|
|
68
69
|
usePrepare: e,
|
|
69
70
|
title: (t, o) => o.help?.request_support ?? ""
|
|
70
71
|
},
|
|
71
72
|
[r.TRANSACTION_LIST_ACTION_BLOCK]: {
|
|
72
|
-
Component:
|
|
73
|
+
Component: R,
|
|
73
74
|
usePrepare: a,
|
|
74
75
|
title: (t, o, c) => c?.insights_payload?.title ?? ""
|
|
75
76
|
}
|
|
76
|
-
},
|
|
77
|
+
}, lo = {
|
|
77
78
|
account_block: k,
|
|
78
79
|
account_switch_block: C,
|
|
79
|
-
|
|
80
|
-
|
|
80
|
+
direct_deposit_block: B,
|
|
81
|
+
bar_chart_block: n,
|
|
82
|
+
budget_block: T,
|
|
81
83
|
donut_chart_block: p,
|
|
82
84
|
double_bar_chart_block: m,
|
|
83
85
|
double_progress_bar_block: s,
|
|
84
|
-
image_block:
|
|
85
|
-
save_extra_block:
|
|
86
|
+
image_block: O,
|
|
87
|
+
save_extra_block: f,
|
|
86
88
|
step_chart_block: _,
|
|
87
|
-
svg_image_block:
|
|
88
|
-
withdrawal_block:
|
|
89
|
+
svg_image_block: b,
|
|
90
|
+
withdrawal_block: A,
|
|
89
91
|
transaction_block: u
|
|
90
92
|
};
|
|
91
93
|
export {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
94
|
+
co as actionBlocks,
|
|
95
|
+
lo as blocks,
|
|
96
|
+
io as hasDrawerBlock
|
|
95
97
|
};
|
|
96
98
|
|
|
97
99
|
//# sourceMappingURL=blocks.es.js.map
|