@mx-cartographer/experiences 9.7.117 → 9.7.118
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 +8 -0
- package/dist/common/components/drawer/Drawer.d.ts +3 -0
- package/dist/common/components/drawer/Drawer.es.js +30 -29
- package/dist/common/components/drawer/Drawer.es.js.map +1 -1
- package/dist/common/components/drawer/Header.d.ts +3 -0
- package/dist/common/components/drawer/Header.es.js +51 -45
- package/dist/common/components/drawer/Header.es.js.map +1 -1
- package/dist/core/stores/InsightsV2Store.d.ts +10 -0
- package/dist/core/stores/InsightsV2Store.es.js +15 -7
- package/dist/core/stores/InsightsV2Store.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/ActionBlockLayer.es.js +44 -33
- package/dist/insights-v2/actionBlocks/ActionBlockLayer.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/AmountInputModalBlock/AmountInputModalBlock.d.ts +1 -9
- package/dist/insights-v2/actionBlocks/AmountInputModalBlock/AmountInputModalBlock.es.js +96 -83
- package/dist/insights-v2/actionBlocks/AmountInputModalBlock/AmountInputModalBlock.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/AmountInputModalBlock/CreateBudgetDialog.d.ts +5 -0
- package/dist/insights-v2/actionBlocks/AmountInputModalBlock/CreateBudgetDialog.es.js +62 -0
- package/dist/insights-v2/actionBlocks/AmountInputModalBlock/CreateBudgetDialog.es.js.map +1 -0
- package/dist/insights-v2/actionBlocks/AmountInputModalBlock/layout.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/BudgetDetailsBlock/BudgetDetailsBlock.es.js +212 -145
- package/dist/insights-v2/actionBlocks/BudgetDetailsBlock/BudgetDetailsBlock.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/BudgetDetailsBlock/BudgetSummary.d.ts +3 -1
- package/dist/insights-v2/actionBlocks/BudgetDetailsBlock/BudgetSummary.es.js +36 -36
- package/dist/insights-v2/actionBlocks/BudgetDetailsBlock/BudgetSummary.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/BudgetDetailsBlock/layout.d.ts +32 -2
- package/dist/insights-v2/actionBlocks/BudgetDetailsBlock/layout.es.js +68 -22
- package/dist/insights-v2/actionBlocks/BudgetDetailsBlock/layout.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/BudgetDetailsBlock/useBudgetDetailsPrepare.d.ts +3 -0
- package/dist/insights-v2/actionBlocks/BudgetDetailsBlock/useBudgetDetailsPrepare.es.js +34 -0
- package/dist/insights-v2/actionBlocks/BudgetDetailsBlock/useBudgetDetailsPrepare.es.js.map +1 -0
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/TransactionHistoryBlock.es.js +61 -61
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/TransactionHistoryBlock.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/layout.d.ts +1 -0
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/layout.es.js +42 -40
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/layout.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/useTransactionHistoryPrepare.es.js +3 -3
- package/dist/insights-v2/actionBlocks/util.d.ts +2 -11
- package/dist/insights-v2/actionBlocks/util.es.js +16 -6
- package/dist/insights-v2/actionBlocks/util.es.js.map +1 -1
- package/dist/insights-v2/analytics/analyticsEventsConfig.d.ts +16 -0
- package/dist/insights-v2/analytics/analyticsEventsConfig.es.js +19 -2
- package/dist/insights-v2/analytics/analyticsEventsConfig.es.js.map +1 -1
- package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/BarchartBlock.es.js +8 -8
- package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/BarchartBlock.es.js.map +1 -1
- package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/utils.d.ts +1 -1
- package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/utils.es.js +28 -27
- package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/utils.es.js.map +1 -1
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/AccountBlock.es.js +4 -4
- package/dist/insights-v2/blocks/ComponentBlocks/TransactionBlock/TransactionBlock.es.js +4 -4
- package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/SVGImageBlock.es.js +4 -4
- package/dist/insights-v2/components/BaseLayout.es.js +137 -118
- package/dist/insights-v2/components/BaseLayout.es.js.map +1 -1
- package/dist/insights-v2/mappings/blocks.d.ts +1 -0
- package/dist/insights-v2/mappings/blocks.es.js +131 -121
- package/dist/insights-v2/mappings/blocks.es.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,47 +1,48 @@
|
|
|
1
1
|
import { buildDynamicCopy as u } from "../../../../core/utils/Localization.es.js";
|
|
2
|
-
import { DATE_FORMATS_INTL as
|
|
3
|
-
import { formatCurrency as
|
|
4
|
-
import { getCategoryColor as
|
|
5
|
-
import { getLayoutConfig as
|
|
6
|
-
import { parseISO as
|
|
7
|
-
var
|
|
2
|
+
import { DATE_FORMATS_INTL as c, formatDate as l } from "../../../../core/constants/DateFormats.es.js";
|
|
3
|
+
import { formatCurrency as i } from "../../../../core/utils/NumberFormatting.es.js";
|
|
4
|
+
import { getCategoryColor as A } from "../../../../core/utils/CategoryUtil.es.js";
|
|
5
|
+
import { getLayoutConfig as p } from "./layout.es.js";
|
|
6
|
+
import { parseISO as s } from "date-fns/parseISO";
|
|
7
|
+
var _ = {
|
|
8
8
|
CATEGORY_COLOR: "category_color",
|
|
9
9
|
ACCOUNT_BALANCE: "account_balance",
|
|
10
10
|
MONTHLY_SPEND_COMPARISON: "monthly_spend_comparison"
|
|
11
|
-
},
|
|
11
|
+
}, T = "_1{month}: _2{amount}", R = (a) => a ? a.data ? a.data.map((o) => {
|
|
12
12
|
const e = {};
|
|
13
13
|
return a.names?.map((t, r) => {
|
|
14
|
-
e[t] =
|
|
14
|
+
e[t] = o[r];
|
|
15
15
|
}), e;
|
|
16
|
-
}) : [] : [],
|
|
17
|
-
const r = t.date ?
|
|
16
|
+
}) : [] : [], L = (a, o, e = c.MONTH_SHORT) => [...a].sort((t, r) => !t.date || !r.date ? 0 : new Date(t.date).getTime() - new Date(r.date).getTime()).map((t) => {
|
|
17
|
+
const r = t.date ? l(s(t.date), e) : t.label ?? "", n = t.amount ?? 0;
|
|
18
18
|
return {
|
|
19
|
-
ariaLabel: u(
|
|
19
|
+
ariaLabel: u(o, r, i(n, "0.00")),
|
|
20
20
|
date: t.date ?? null,
|
|
21
21
|
label: r,
|
|
22
|
-
value:
|
|
23
|
-
formattedAmount:
|
|
22
|
+
value: n,
|
|
23
|
+
formattedAmount: i(n, "0,0")
|
|
24
24
|
};
|
|
25
|
-
}),
|
|
26
|
-
const { variant:
|
|
27
|
-
if (
|
|
28
|
-
|
|
25
|
+
}), g = (a, o, e, t) => {
|
|
26
|
+
const { variant: r } = a, n = p(e);
|
|
27
|
+
if (r === _.CATEGORY_COLOR && o) return {
|
|
28
|
+
chartHeight: t === "mini" ? 94 : void 0,
|
|
29
|
+
color: A(o, e),
|
|
29
30
|
showMonthlyAmount: !0
|
|
30
31
|
};
|
|
31
|
-
const
|
|
32
|
+
const m = n[r];
|
|
32
33
|
return {
|
|
33
|
-
chartHeight:
|
|
34
|
-
color:
|
|
35
|
-
showMonthlyAmount:
|
|
36
|
-
unselectedOpacity:
|
|
34
|
+
chartHeight: m?.chartHeight,
|
|
35
|
+
color: m?.color ?? e.palette.primary.main,
|
|
36
|
+
showMonthlyAmount: m?.showMonthlyAmount ?? !0,
|
|
37
|
+
unselectedOpacity: m?.unselectedOpacity
|
|
37
38
|
};
|
|
38
39
|
};
|
|
39
40
|
export {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
41
|
+
T as BAR_ARIA_LABEL,
|
|
42
|
+
_ as BAR_CHART_VARIANTS,
|
|
43
|
+
g as barChartVariant,
|
|
44
|
+
L as buildChartData,
|
|
45
|
+
R as buildDataSeries
|
|
45
46
|
};
|
|
46
47
|
|
|
47
48
|
//# sourceMappingURL=utils.es.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.es.js","names":[],"sources":["../../../../../src/insights-v2/blocks/ChartBlocks/BarchartBlock/utils.ts"],"sourcesContent":["import { type Theme } from '@mui/material/styles'\n\nimport { parseISO } from 'date-fns/parseISO'\n\nimport { getCategoryColor } from '../../../../core/utils/CategoryUtil'\nimport { buildDynamicCopy } from '../../../../core/utils/Localization'\nimport { formatCurrency } from '../../../../core/utils/NumberFormatting'\nimport { DATE_FORMATS_INTL, formatDate } from '../../../../core/constants'\nimport type { DataSeries, InstanceSlot } from '../../../../core'\nimport { getLayoutConfig } from './layout'\n\nexport const BAR_CHART_VARIANTS = {\n CATEGORY_COLOR: 'category_color',\n ACCOUNT_BALANCE: 'account_balance',\n MONTHLY_SPEND_COMPARISON: 'monthly_spend_comparison',\n}\n\nexport interface ChartDataSeriesItem {\n date?: string\n amount?: number\n guid?: string\n label?: string\n aggregated_guids?: string[]\n localized_label?: string\n category_guid?: string\n}\n\n/** Per-bar aria label, built in the frontend: \"{month}: {amount}\" (buildDynamicCopy placeholders). */\nexport const BAR_ARIA_LABEL = '_1{month}: _2{amount}'\n\nexport const buildDataSeries = (data: DataSeries | undefined): ChartDataSeriesItem[] => {\n if (!data) {\n return []\n }\n\n if (data.data) {\n return data.data.map((d) => {\n const item: any = {}\n\n data.names?.map((name, index) => {\n item[name] = d[index]\n })\n return item\n })\n } else {\n return []\n }\n}\n\nexport const buildChartData = (\n dataSeries: ChartDataSeriesItem[],\n ariaLabel: string,\n dateFormat: Parameters<typeof formatDate>[1] = DATE_FORMATS_INTL.MONTH_SHORT,\n) => {\n const data = [...dataSeries]\n .sort((a, b) => {\n if (!a.date || !b.date) return 0\n\n return new Date(a.date).getTime() - new Date(b.date).getTime()\n })\n .map((total) => {\n const label = total.date ? formatDate(parseISO(total.date), dateFormat) : (total.label ?? '')\n const amount = total.amount ?? 0\n\n return {\n ariaLabel: buildDynamicCopy(ariaLabel, label, formatCurrency(amount, '0.00')) as string,\n date: total.date ?? null,\n label,\n value: amount,\n formattedAmount: formatCurrency(amount, '0,0'),\n }\n })\n\n return data\n}\n\n/** A bar chart variant's look: its layout entry, resolved with defaults. */\nexport interface BarChartVariantLayout {\n chartHeight?: number\n color: string\n showMonthlyAmount: boolean\n unselectedOpacity?: number\n}\n\nexport const barChartVariant = (\n instanceSlot: InstanceSlot,\n categoryGuid: string | undefined,\n theme: Theme,\n): BarChartVariantLayout => {\n const { variant } = instanceSlot\n const barChartLayout = getLayoutConfig(theme)\n if (variant === BAR_CHART_VARIANTS.CATEGORY_COLOR && categoryGuid) {\n return { color: getCategoryColor(categoryGuid, theme), showMonthlyAmount: true }\n }\n const layout: Partial<BarChartVariantLayout> | undefined =\n barChartLayout[variant as keyof typeof barChartLayout]\n return {\n chartHeight: layout?.chartHeight,\n color: layout?.color ?? theme.palette.primary.main,\n showMonthlyAmount: layout?.showMonthlyAmount ?? true,\n unselectedOpacity: layout?.unselectedOpacity,\n }\n}\n"],"mappings":";;;;;;AAWA,IAAa,IAAqB;AAAA,EAChC,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,0BAA0B;AAC5B,GAaa,IAAiB,yBAEjB,IAAA,CAAmB,MACzB,IAID,EAAK,OACA,EAAK,KAAK,IAAA,CAAK,MAAM;AAC1B,QAAM,IAAY,CAAC;AAEnB,SAAA,EAAK,OAAO,IAAA,CAAK,GAAM,MAAU;AAC/B,IAAA,EAAK,CAAA,IAAQ,EAAE,CAAA;AAAA,EACjB,CAAC,GACM;AACT,CAAC,IAEM,CAAC,IAbD,CAAC,GAiBC,IAAA,CACX,GACA,GACA,IAA+C,EAAkB,gBAEpD,CAAC,GAAG,CAAU,EACxB,KAAA,CAAM,GAAG,MACJ,CAAC,EAAE,QAAQ,CAAC,EAAE,OAAa,IAExB,IAAI,KAAK,EAAE,IAAI,EAAE,QAAQ,IAAI,IAAI,KAAK,EAAE,IAAI,EAAE,QAAQ,CAC9D,EACA,IAAA,CAAK,MAAU;AACd,QAAM,IAAQ,EAAM,OAAO,EAAW,EAAS,EAAM,IAAI,GAAG,CAAU,IAAK,EAAM,SAAS,IACpF,IAAS,EAAM,UAAU;AAE/B,SAAO;AAAA,IACL,WAAW,EAAiB,GAAW,GAAO,EAAe,GAAQ,MAAM,CAAC;AAAA,IAC5E,MAAM,EAAM,QAAQ;AAAA,IACpB,OAAA;AAAA,IACA,OAAO;AAAA,IACP,iBAAiB,EAAe,GAAQ,KAAK;AAAA,EAC/C;AACF,CAEK,GAWI,IAAA,CACX,GACA,GACA,MAC0B;AAC1B,QAAM,EAAE,SAAA,EAAA,IAAY,GACd,IAAiB,EAAgB,CAAK;AAC5C,MAAI,MAAY,EAAmB,kBAAkB,
|
|
1
|
+
{"version":3,"file":"utils.es.js","names":[],"sources":["../../../../../src/insights-v2/blocks/ChartBlocks/BarchartBlock/utils.ts"],"sourcesContent":["import { type Theme } from '@mui/material/styles'\n\nimport { parseISO } from 'date-fns/parseISO'\n\nimport { getCategoryColor } from '../../../../core/utils/CategoryUtil'\nimport { buildDynamicCopy } from '../../../../core/utils/Localization'\nimport { formatCurrency } from '../../../../core/utils/NumberFormatting'\nimport { DATE_FORMATS_INTL, formatDate } from '../../../../core/constants'\nimport type { DataSeries, InstanceSlot } from '../../../../core'\nimport { getLayoutConfig } from './layout'\n\nexport const BAR_CHART_VARIANTS = {\n CATEGORY_COLOR: 'category_color',\n ACCOUNT_BALANCE: 'account_balance',\n MONTHLY_SPEND_COMPARISON: 'monthly_spend_comparison',\n}\n\nexport interface ChartDataSeriesItem {\n date?: string\n amount?: number\n guid?: string\n label?: string\n aggregated_guids?: string[]\n localized_label?: string\n category_guid?: string\n}\n\n/** Per-bar aria label, built in the frontend: \"{month}: {amount}\" (buildDynamicCopy placeholders). */\nexport const BAR_ARIA_LABEL = '_1{month}: _2{amount}'\n\nexport const buildDataSeries = (data: DataSeries | undefined): ChartDataSeriesItem[] => {\n if (!data) {\n return []\n }\n\n if (data.data) {\n return data.data.map((d) => {\n const item: any = {}\n\n data.names?.map((name, index) => {\n item[name] = d[index]\n })\n return item\n })\n } else {\n return []\n }\n}\n\nexport const buildChartData = (\n dataSeries: ChartDataSeriesItem[],\n ariaLabel: string,\n dateFormat: Parameters<typeof formatDate>[1] = DATE_FORMATS_INTL.MONTH_SHORT,\n) => {\n const data = [...dataSeries]\n .sort((a, b) => {\n if (!a.date || !b.date) return 0\n\n return new Date(a.date).getTime() - new Date(b.date).getTime()\n })\n .map((total) => {\n const label = total.date ? formatDate(parseISO(total.date), dateFormat) : (total.label ?? '')\n const amount = total.amount ?? 0\n\n return {\n ariaLabel: buildDynamicCopy(ariaLabel, label, formatCurrency(amount, '0.00')) as string,\n date: total.date ?? null,\n label,\n value: amount,\n formattedAmount: formatCurrency(amount, '0,0'),\n }\n })\n\n return data\n}\n\n/** A bar chart variant's look: its layout entry, resolved with defaults. */\nexport interface BarChartVariantLayout {\n chartHeight?: number\n color: string\n showMonthlyAmount: boolean\n unselectedOpacity?: number\n}\n\nexport const barChartVariant = (\n instanceSlot: InstanceSlot,\n categoryGuid: string | undefined,\n theme: Theme,\n widgetType?: string,\n): BarChartVariantLayout => {\n const { variant } = instanceSlot\n const barChartLayout = getLayoutConfig(theme)\n if (variant === BAR_CHART_VARIANTS.CATEGORY_COLOR && categoryGuid) {\n // Figma (Mini | Category Spending): the chart and the legend share the full chart's 122px.\n const chartHeight = widgetType === 'mini' ? 94 : undefined\n return { chartHeight, color: getCategoryColor(categoryGuid, theme), showMonthlyAmount: true }\n }\n const layout: Partial<BarChartVariantLayout> | undefined =\n barChartLayout[variant as keyof typeof barChartLayout]\n return {\n chartHeight: layout?.chartHeight,\n color: layout?.color ?? theme.palette.primary.main,\n showMonthlyAmount: layout?.showMonthlyAmount ?? true,\n unselectedOpacity: layout?.unselectedOpacity,\n }\n}\n"],"mappings":";;;;;;AAWA,IAAa,IAAqB;AAAA,EAChC,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,0BAA0B;AAC5B,GAaa,IAAiB,yBAEjB,IAAA,CAAmB,MACzB,IAID,EAAK,OACA,EAAK,KAAK,IAAA,CAAK,MAAM;AAC1B,QAAM,IAAY,CAAC;AAEnB,SAAA,EAAK,OAAO,IAAA,CAAK,GAAM,MAAU;AAC/B,IAAA,EAAK,CAAA,IAAQ,EAAE,CAAA;AAAA,EACjB,CAAC,GACM;AACT,CAAC,IAEM,CAAC,IAbD,CAAC,GAiBC,IAAA,CACX,GACA,GACA,IAA+C,EAAkB,gBAEpD,CAAC,GAAG,CAAU,EACxB,KAAA,CAAM,GAAG,MACJ,CAAC,EAAE,QAAQ,CAAC,EAAE,OAAa,IAExB,IAAI,KAAK,EAAE,IAAI,EAAE,QAAQ,IAAI,IAAI,KAAK,EAAE,IAAI,EAAE,QAAQ,CAC9D,EACA,IAAA,CAAK,MAAU;AACd,QAAM,IAAQ,EAAM,OAAO,EAAW,EAAS,EAAM,IAAI,GAAG,CAAU,IAAK,EAAM,SAAS,IACpF,IAAS,EAAM,UAAU;AAE/B,SAAO;AAAA,IACL,WAAW,EAAiB,GAAW,GAAO,EAAe,GAAQ,MAAM,CAAC;AAAA,IAC5E,MAAM,EAAM,QAAQ;AAAA,IACpB,OAAA;AAAA,IACA,OAAO;AAAA,IACP,iBAAiB,EAAe,GAAQ,KAAK;AAAA,EAC/C;AACF,CAEK,GAWI,IAAA,CACX,GACA,GACA,GACA,MAC0B;AAC1B,QAAM,EAAE,SAAA,EAAA,IAAY,GACd,IAAiB,EAAgB,CAAK;AAC5C,MAAI,MAAY,EAAmB,kBAAkB,EAGnD,QAAO;AAAA,IAAE,aADW,MAAe,SAAS,KAAK;AAAA,IAC3B,OAAO,EAAiB,GAAc,CAAK;AAAA,IAAG,mBAAmB;AAAA,EAAK;AAE9F,QAAM,IACJ,EAAe,CAAA;AACjB,SAAO;AAAA,IACL,aAAa,GAAQ;AAAA,IACrB,OAAO,GAAQ,SAAS,EAAM,QAAQ,QAAQ;AAAA,IAC9C,mBAAmB,GAAQ,qBAAqB;AAAA,IAChD,mBAAmB,GAAQ;AAAA,EAC7B;AACF"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { slot as d } from "../../../../core/types/Insights.es.js";
|
|
2
2
|
import { formatCurrency as I } from "../../../../core/utils/NumberFormatting.es.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { resolveVariantConfig as P } from "../../resolveVariantConfig.es.js";
|
|
4
|
+
import { useContainerDimensions as H } from "../../../hooks/useContainerDimensions.es.js";
|
|
5
5
|
import N from "../../../components/LogoFromGuid.es.js";
|
|
6
6
|
import { Confetti as E } from "../../../components/shared/Confetti.es.js";
|
|
7
7
|
import { ReactComponent as G } from "../../../components/shared/images/PaidOffCard.es.js";
|
|
@@ -20,9 +20,9 @@ import { jsx as o, jsxs as r } from "react/jsx-runtime";
|
|
|
20
20
|
import { useTheme as X } from "@mui/material/styles";
|
|
21
21
|
import a from "@mui/material/Box";
|
|
22
22
|
var vo = ({ payload: g }) => {
|
|
23
|
-
const h = X(), b = U(null), { height: w, width: v } =
|
|
23
|
+
const h = X(), b = U(null), { height: w, width: v } = H(b), { instance_slot: n } = g, { variant: p, institution_guid: D, institution_name: A, icon_name: B, merchant_name: F } = n;
|
|
24
24
|
if (q(p)) return /* @__PURE__ */ o(J, { payload: g });
|
|
25
|
-
const { data: i } = n, m = i !== void 0, f = d(i, "amount"), u = m ? typeof f == "number" && Number.isFinite(f) ? f : void 0 : n.amount, y = d(i, "sub_text"), R = typeof y == "string" ? y : void 0, T = m ? R : n.sub_text, L = m ? R : n.label, _ = d(i, "header_text"), s = m ? typeof _ == "string" ? _ : void 0 : n.header_text, c = d(i, "logo"), t =
|
|
25
|
+
const { data: i } = n, m = i !== void 0, f = d(i, "amount"), u = m ? typeof f == "number" && Number.isFinite(f) ? f : void 0 : n.amount, y = d(i, "sub_text"), R = typeof y == "string" ? y : void 0, T = m ? R : n.sub_text, L = m ? R : n.label, _ = d(i, "header_text"), s = m ? typeof _ == "string" ? _ : void 0 : n.header_text, c = d(i, "logo"), t = P(M(h), p, "default", "AccountBlock");
|
|
26
26
|
if (t?.isConfetti) {
|
|
27
27
|
const x = W(c?.guid), V = {
|
|
28
28
|
paidOffCard: /* @__PURE__ */ o(a, {
|
|
@@ -3,8 +3,8 @@ import { slot as c } from "../../../../core/types/Insights.es.js";
|
|
|
3
3
|
import { formatCurrency as C } from "../../../../core/utils/NumberFormatting.es.js";
|
|
4
4
|
import { getCategoryColor as I } from "../../../../core/utils/CategoryUtil.es.js";
|
|
5
5
|
import { useBeatActions as U } from "../../../beatActions.es.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
6
|
+
import { resolveVariantConfig as W } from "../../resolveVariantConfig.es.js";
|
|
7
|
+
import { USER_RESPONSE as Y, repeatingTransactionOf as J } from "../../../ctaActions/subscriptionAnswer.es.js";
|
|
8
8
|
import { logoFromRef as K } from "../../../components/shared/EntityLogo.es.js";
|
|
9
9
|
import Q from "../../../components/LogoFromGuid.es.js";
|
|
10
10
|
import { statusIconName as X, statusIconPalette as S } from "../../../components/statusIcon.es.js";
|
|
@@ -93,10 +93,10 @@ var u = 32, mo = Math.round(u * 0.625), lo = 24, T = 32, go = 20, fo = ({ icon:
|
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
}, Fo = no(({ payload: a }) => {
|
|
96
|
-
const n = uo(), { getTopLevelCategoryGuid: s } = H(), m = V(), { recurring: o } = P(), { beat: i } = U(), { data: e, variant: B } = a.instance_slot, { answeredBackground: p, background: l, cardVariant: L, creditAmounts: R, elevated: k, followsSubscription: g, headerColor: O, raised: A, showFooter: $, showFrequency: y, showHeader: z, statusMessage: F, sx: N, tintedCategoryLogo: M } =
|
|
96
|
+
const n = uo(), { getTopLevelCategoryGuid: s } = H(), m = V(), { recurring: o } = P(), { beat: i } = U(), { data: e, variant: B } = a.instance_slot, { answeredBackground: p, background: l, cardVariant: L, creditAmounts: R, elevated: k, followsSubscription: g, headerColor: O, raised: A, showFooter: $, showFrequency: y, showHeader: z, statusMessage: F, sx: N, tintedCategoryLogo: M } = W(eo(n), B, io.NoHeader, "TransactionBlock"), _ = (y || g) && i ? J({
|
|
97
97
|
beat: i,
|
|
98
98
|
stores: m
|
|
99
|
-
}) : void 0, h = !!g && _?.user_response ===
|
|
99
|
+
}) : void 0, h = !!g && _?.user_response === Y.CONFIRMED;
|
|
100
100
|
if (F) {
|
|
101
101
|
const t = c(e, "message");
|
|
102
102
|
return typeof t != "string" || !t.trim() ? (console.warn("[TransactionBlock] status_message has no message — rendering nothing."), null) : /* @__PURE__ */ r(to, {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ThemedSVGImage as f } from "../../../components/chartblocks/ThemedSVGImage.es.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { resolveVariantConfig as p } from "../../resolveVariantConfig.es.js";
|
|
3
|
+
import { CtaStatus as d } from "../../../components/CtaStatus.es.js";
|
|
4
4
|
import { getLayoutConfig as v } from "./layout.es.js";
|
|
5
5
|
import { EmergencySavingsAccountPicker as h } from "./EmergencySavingsAccountPicker.es.js";
|
|
6
6
|
import s from "@mui/material/Stack";
|
|
7
7
|
import { jsx as o, jsxs as u } from "react/jsx-runtime";
|
|
8
8
|
var V = ({ payload: { instance_slot: m, instance_slot_data: n, widget_type: t }, beatGuid: c }) => {
|
|
9
|
-
const l = t === "mini", a = t === "full", { variant: g, data: e } = m, i =
|
|
9
|
+
const l = t === "mini", a = t === "full", { variant: g, data: e } = m, i = p(v(n?.isCIBC), g, "savings", "SVGImageBlock"), r = typeof e?.saved_label == "string" ? e.saved_label.trim() : "";
|
|
10
10
|
return /* @__PURE__ */ u(s, {
|
|
11
11
|
alignItems: "center",
|
|
12
12
|
sx: { width: "100%" },
|
|
@@ -25,7 +25,7 @@ var V = ({ payload: { instance_slot: m, instance_slot_data: n, widget_type: t },
|
|
|
25
25
|
px: 16,
|
|
26
26
|
width: "100%"
|
|
27
27
|
},
|
|
28
|
-
children: /* @__PURE__ */ o(
|
|
28
|
+
children: /* @__PURE__ */ o(d, {
|
|
29
29
|
icon: "check_circle",
|
|
30
30
|
label: r,
|
|
31
31
|
tone: "success"
|
|
@@ -1,35 +1,36 @@
|
|
|
1
|
-
import { useAppConfig as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
1
|
+
import { useAppConfig as no, useGlobalCopyStore as ro, useGlobalStore as so, useInsightsV2Store as ao } from "../../common/context/hooks.es.js";
|
|
2
|
+
import { BEAT_ACTIVE_AT_KEY as lo } from "../../core/stores/InsightsV2Store.es.js";
|
|
3
|
+
import { sendClientConfiguredCta as co } from "../../common/utils/PostMessage.es.js";
|
|
4
|
+
import { BeatActionsProvider as mo } from "../beatActions.es.js";
|
|
5
|
+
import { isContactSupportCtaDisabled as po } from "../actionBlocks/ContactSupportActionBlock.es.js";
|
|
6
|
+
import { CtaStatus as uo } from "./CtaStatus.es.js";
|
|
7
|
+
import { HOST_ACTIONS as fo } from "../ctaActions/hostActions.es.js";
|
|
8
|
+
import { reportCtaClick as Co } from "../ctaActions/runCtaAction.es.js";
|
|
9
|
+
import { useBeatCtaActions as go } from "../ctaActions/useCtaAction.es.js";
|
|
10
|
+
import { actionBlocksKey as ho } from "../mappings/actionBlocksKey.es.js";
|
|
11
|
+
import { logoFromRef as bo } from "./shared/EntityLogo.es.js";
|
|
12
|
+
import _o from "./FeedbackDialog.es.js";
|
|
13
|
+
import { ErrorCard as yo } from "./ErrorCard.es.js";
|
|
14
|
+
import { blocks as ko } from "../mappings/blocks.es.js";
|
|
15
|
+
import { ActionBlockLayer as vo } from "../actionBlocks/ActionBlockLayer.es.js";
|
|
16
|
+
import xo from "./Footer.es.js";
|
|
17
|
+
import So from "./Header.es.js";
|
|
18
|
+
import { FeedbackBar as Ao } from "./FeedbackBar.es.js";
|
|
19
|
+
import { DismissInsightDialog as To } from "./DismissInsightDialog.es.js";
|
|
20
|
+
import { HiddenConfirmationCard as wo } from "./HiddenConfirmationCard.es.js";
|
|
21
|
+
import { LoadingCard as Bo } from "./LoadingCard.es.js";
|
|
21
22
|
import { ObsolesceBanner as Lo } from "./ObsolesceBanner.es.js";
|
|
22
|
-
import { useBeatFeedbackFlow as
|
|
23
|
-
import { useMemo as
|
|
24
|
-
import { observer as
|
|
25
|
-
import
|
|
26
|
-
import { P as
|
|
23
|
+
import { useBeatFeedbackFlow as Do } from "../hooks/useBeatFeedbackFlow.es.js";
|
|
24
|
+
import { useEffect as Oo, useMemo as Io } from "react";
|
|
25
|
+
import { observer as Eo } from "mobx-react-lite";
|
|
26
|
+
import T from "@mui/material/Stack";
|
|
27
|
+
import { P as Fo } from "@mxenabled/mxui";
|
|
27
28
|
import f from "@mui/material/Button";
|
|
28
|
-
import { ChevronRight as
|
|
29
|
-
import { Fragment as
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
var
|
|
29
|
+
import { ChevronRight as H } from "@mxenabled/mx-icons";
|
|
30
|
+
import { Fragment as Ho, jsx as t, jsxs as C } from "react/jsx-runtime";
|
|
31
|
+
import Po from "@mui/material/Box";
|
|
32
|
+
import Mo from "@mui/material/Card";
|
|
33
|
+
var No = {}, Ro = {
|
|
33
34
|
position: "absolute",
|
|
34
35
|
top: 0,
|
|
35
36
|
left: 0,
|
|
@@ -38,7 +39,7 @@ var Eo = {}, Ho = {
|
|
|
38
39
|
backgroundColor: "background.default",
|
|
39
40
|
opacity: 0.7,
|
|
40
41
|
zIndex: 3
|
|
41
|
-
},
|
|
42
|
+
}, w = {
|
|
42
43
|
alignSelf: "flex-start",
|
|
43
44
|
fontSize: 13,
|
|
44
45
|
fontWeight: 600,
|
|
@@ -50,12 +51,12 @@ var Eo = {}, Ho = {
|
|
|
50
51
|
px: 0,
|
|
51
52
|
py: 4,
|
|
52
53
|
textAlign: "left"
|
|
53
|
-
},
|
|
54
|
-
...
|
|
54
|
+
}, Go = {
|
|
55
|
+
...w,
|
|
55
56
|
alignItems: "center",
|
|
56
57
|
display: "flex",
|
|
57
58
|
textTransform: "none"
|
|
58
|
-
},
|
|
59
|
+
}, Wo = {
|
|
59
60
|
color: "text.secondary",
|
|
60
61
|
fontSize: 13,
|
|
61
62
|
fontWeight: 600,
|
|
@@ -65,162 +66,180 @@ var Eo = {}, Ho = {
|
|
|
65
66
|
px: 16,
|
|
66
67
|
py: 12,
|
|
67
68
|
"&.Mui-disabled": { color: "text.disabled" }
|
|
68
|
-
},
|
|
69
|
-
const
|
|
69
|
+
}, yt = Eo(({ beat: i, beatActions: c = No, obsolete: b, isLoading: P = !1, isError: M = !1 }) => {
|
|
70
|
+
const N = ro(), _ = ao(), { config: R } = no(), o = Do(i, c), y = so(), { runCta: G, primary: k, secondary: B, linkPresentation: W } = go(i, c, i.insights_payload?.primary_cta ?? void 0, i.insights_payload?.secondary_cta ?? void 0, i.insights_payload?.in_description_cta ?? void 0), l = i.insights_payload?.widget_type === "mini", g = i.active_at ?? i.insights_payload?.active_at;
|
|
71
|
+
Oo(() => {
|
|
72
|
+
g == null || g === "" || _.setBeatContext(i.guid, { [lo]: g });
|
|
73
|
+
}, [
|
|
74
|
+
g,
|
|
75
|
+
i.guid,
|
|
76
|
+
_
|
|
77
|
+
]);
|
|
78
|
+
const V = Io(() => ({
|
|
70
79
|
...o.wrappedActions,
|
|
71
|
-
beat:
|
|
72
|
-
}), [o.wrappedActions,
|
|
73
|
-
if (
|
|
74
|
-
const e =
|
|
80
|
+
beat: i
|
|
81
|
+
}), [o.wrappedActions, i]);
|
|
82
|
+
if (M) return /* @__PURE__ */ t(yo, {});
|
|
83
|
+
const e = i.insights_payload;
|
|
75
84
|
if (!e || o.cardState === "dismissed") return null;
|
|
76
|
-
const { instance_slot:
|
|
77
|
-
logo:
|
|
85
|
+
const { instance_slot: X, primary_cta: r, secondary_cta: d, sub_title: z, title: K, guid: L, dismissed_at: j } = e, { block: U } = X, Y = z ?? (e.subtitle ? {
|
|
86
|
+
logo: bo(e.logo),
|
|
78
87
|
text: e.subtitle
|
|
79
|
-
} : void 0),
|
|
80
|
-
if (!
|
|
81
|
-
if (a.block ===
|
|
82
|
-
|
|
83
|
-
beat:
|
|
84
|
-
stores:
|
|
85
|
-
hostActions:
|
|
88
|
+
} : void 0), m = (s) => po(s, R, c.onContactSupport), D = async (s, a) => {
|
|
89
|
+
if (!m(a.block)) {
|
|
90
|
+
if (a.block === ho.CONTACT_SUPPORT_ACTION_BLOCK) {
|
|
91
|
+
Co({
|
|
92
|
+
beat: i,
|
|
93
|
+
stores: y,
|
|
94
|
+
hostActions: c,
|
|
86
95
|
slot: s
|
|
87
|
-
}),
|
|
96
|
+
}), c.onContactSupport?.();
|
|
88
97
|
return;
|
|
89
98
|
}
|
|
90
|
-
await
|
|
99
|
+
await G(s, a);
|
|
91
100
|
}
|
|
92
|
-
},
|
|
93
|
-
const { is_mobile_webview: s, clientConfig: a } =
|
|
94
|
-
|
|
101
|
+
}, O = ko[U], p = e.in_description_cta, v = !l && p?.label && p.block ? p : void 0, $ = r?.label || (v ? void 0 : p?.label) || void 0, u = !l && !!r?.label, I = i.in_description_cta || i.html_in_description_cta, q = () => {
|
|
102
|
+
const { is_mobile_webview: s, clientConfig: a } = y.appDataStore.appConfig;
|
|
103
|
+
co(i.template, {
|
|
95
104
|
isMobileWebview: s,
|
|
96
105
|
webviewScheme: a?.master?.ui_message_webview_url_scheme,
|
|
97
|
-
userGuid: e.user_guid ??
|
|
106
|
+
userGuid: e.user_guid ?? i.user_guid
|
|
98
107
|
});
|
|
99
|
-
}, n = u ?
|
|
100
|
-
const { onCtaAction: a } =
|
|
108
|
+
}, n = u ? k.presentation : void 0, J = n?.kind === "hidden" && !!n.hideAll, E = !l && !!d?.label && !J, h = l ? W : void 0, Q = h?.kind === "status" ? h : void 0, F = h ? Q?.action?.label : $, Z = h?.title || K || "", oo = !!F && !u, to = u && n?.kind !== "hidden" || E, io = (s) => {
|
|
109
|
+
const { onCtaAction: a } = c;
|
|
101
110
|
a && (s.stopPropagation(), Promise.resolve().then(() => a({
|
|
102
|
-
beatGuid:
|
|
103
|
-
name:
|
|
104
|
-
})).catch((
|
|
111
|
+
beatGuid: i.guid,
|
|
112
|
+
name: fo.cardClick
|
|
113
|
+
})).catch((eo) => y.captureException(eo, {
|
|
105
114
|
store: "BaseLayout",
|
|
106
|
-
template:
|
|
115
|
+
template: i.template,
|
|
107
116
|
handler: "cardClick"
|
|
108
117
|
})));
|
|
109
|
-
},
|
|
110
|
-
return /* @__PURE__ */
|
|
111
|
-
value:
|
|
112
|
-
children: /* @__PURE__ */ C(
|
|
118
|
+
}, x = l, S = N.insights_feed?.general, A = b?.state === "not_refreshable" && !j && !!S;
|
|
119
|
+
return /* @__PURE__ */ t(mo, {
|
|
120
|
+
value: V,
|
|
121
|
+
children: /* @__PURE__ */ C(T, {
|
|
113
122
|
sx: { mb: 16 },
|
|
114
123
|
children: [
|
|
115
|
-
o.cardState === "confirming" ? /* @__PURE__ */
|
|
124
|
+
o.cardState === "confirming" ? /* @__PURE__ */ t(wo, {
|
|
116
125
|
onClose: o.collapseConfirmation,
|
|
117
126
|
onLeaveFeedback: o.openHideSurvey,
|
|
118
127
|
onUndo: o.undoDismiss
|
|
119
|
-
}) : /* @__PURE__ */ C(
|
|
120
|
-
...
|
|
121
|
-
copy:
|
|
122
|
-
}), /* @__PURE__ */ C(
|
|
123
|
-
inert:
|
|
124
|
-
sx: {
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
128
|
+
}) : /* @__PURE__ */ C(Ho, { children: [b && S && /* @__PURE__ */ t(Lo, {
|
|
129
|
+
...b,
|
|
130
|
+
copy: S
|
|
131
|
+
}), /* @__PURE__ */ C(Mo, {
|
|
132
|
+
inert: A,
|
|
133
|
+
sx: {
|
|
134
|
+
...x && {
|
|
135
|
+
display: "flex",
|
|
136
|
+
flexDirection: "column"
|
|
137
|
+
},
|
|
138
|
+
...A && {
|
|
139
|
+
position: "relative",
|
|
140
|
+
zIndex: 2,
|
|
141
|
+
pointerEvents: "none"
|
|
142
|
+
}
|
|
143
|
+
},
|
|
129
144
|
children: [
|
|
130
|
-
|
|
131
|
-
/* @__PURE__ */
|
|
132
|
-
isMini:
|
|
133
|
-
subtitle:
|
|
134
|
-
title:
|
|
145
|
+
A && /* @__PURE__ */ t(Po, { sx: Ro }),
|
|
146
|
+
/* @__PURE__ */ t(So, {
|
|
147
|
+
isMini: l,
|
|
148
|
+
subtitle: Y,
|
|
149
|
+
title: Z
|
|
135
150
|
}),
|
|
136
|
-
|
|
151
|
+
P ? /* @__PURE__ */ t(Bo, {}) : O && /* @__PURE__ */ t(O, {
|
|
137
152
|
beatGuid: L,
|
|
138
153
|
payload: e
|
|
139
154
|
}),
|
|
140
|
-
/* @__PURE__ */ C(
|
|
155
|
+
/* @__PURE__ */ C(T, {
|
|
141
156
|
sx: {
|
|
142
157
|
gap: 6,
|
|
143
158
|
pb: 16,
|
|
144
159
|
pt: 12,
|
|
145
|
-
px: 16
|
|
160
|
+
px: 16,
|
|
161
|
+
...x && { flexGrow: 1 }
|
|
146
162
|
},
|
|
147
163
|
children: [
|
|
148
|
-
/* @__PURE__ */
|
|
164
|
+
/* @__PURE__ */ t(Fo, {
|
|
149
165
|
dangerouslySetInnerHTML: { __html: e.description.html_text },
|
|
150
166
|
sx: { fontWeight: "fontWeightRegular" },
|
|
151
167
|
variant: "subtitle2"
|
|
152
168
|
}),
|
|
153
|
-
|
|
154
|
-
endIcon: /* @__PURE__ */
|
|
155
|
-
onClick: () =>
|
|
169
|
+
v && /* @__PURE__ */ t(f, {
|
|
170
|
+
endIcon: /* @__PURE__ */ t(H, {}),
|
|
171
|
+
onClick: () => _.openActionDrawer({
|
|
156
172
|
guid: L,
|
|
157
173
|
trigger: "inDescriptionCta"
|
|
158
174
|
}),
|
|
159
|
-
sx:
|
|
160
|
-
children:
|
|
175
|
+
sx: w,
|
|
176
|
+
children: v.label
|
|
161
177
|
}),
|
|
162
|
-
|
|
163
|
-
onClick:
|
|
164
|
-
sx:
|
|
178
|
+
oo && /* @__PURE__ */ t(f, {
|
|
179
|
+
onClick: l ? io : void 0,
|
|
180
|
+
sx: {
|
|
181
|
+
...Go,
|
|
182
|
+
...x && { mt: "auto" }
|
|
183
|
+
},
|
|
165
184
|
variant: "text",
|
|
166
|
-
children:
|
|
185
|
+
children: F
|
|
167
186
|
}),
|
|
168
|
-
!
|
|
169
|
-
endIcon: /* @__PURE__ */
|
|
170
|
-
onClick:
|
|
171
|
-
sx:
|
|
172
|
-
children:
|
|
187
|
+
!p?.label && I && /* @__PURE__ */ t(f, {
|
|
188
|
+
endIcon: /* @__PURE__ */ t(H, {}),
|
|
189
|
+
onClick: q,
|
|
190
|
+
sx: w,
|
|
191
|
+
children: I
|
|
173
192
|
})
|
|
174
193
|
]
|
|
175
194
|
}),
|
|
176
|
-
|
|
195
|
+
to && /* @__PURE__ */ C(T, {
|
|
177
196
|
sx: {
|
|
178
197
|
gap: 8,
|
|
179
198
|
pb: 16,
|
|
180
199
|
px: 16
|
|
181
200
|
},
|
|
182
201
|
children: [
|
|
183
|
-
u && r && n?.kind === "status" && /* @__PURE__ */
|
|
202
|
+
u && r && n?.kind === "status" && /* @__PURE__ */ t(uo, {
|
|
184
203
|
action: n.action,
|
|
185
204
|
sx: n.sx,
|
|
186
205
|
icon: n.icon,
|
|
187
206
|
label: n.label,
|
|
188
207
|
tone: n.tone
|
|
189
208
|
}),
|
|
190
|
-
u && r && !n && /* @__PURE__ */
|
|
191
|
-
"aria-disabled":
|
|
192
|
-
disabled:
|
|
193
|
-
onClick: () =>
|
|
194
|
-
sx: { ...
|
|
209
|
+
u && r && !n && /* @__PURE__ */ t(f, {
|
|
210
|
+
"aria-disabled": m(r.block) || k.disabled,
|
|
211
|
+
disabled: k.disabled,
|
|
212
|
+
onClick: () => D("primary", r),
|
|
213
|
+
sx: { ...m(r.block) && { color: "text.disabled" } },
|
|
195
214
|
variant: "outlined",
|
|
196
215
|
children: r.label
|
|
197
216
|
}),
|
|
198
|
-
|
|
199
|
-
"aria-disabled":
|
|
217
|
+
E && d && /* @__PURE__ */ t(f, {
|
|
218
|
+
"aria-disabled": m(d.block) || B.disabled,
|
|
200
219
|
color: "inherit",
|
|
201
|
-
disabled:
|
|
202
|
-
onClick: () =>
|
|
220
|
+
disabled: B.disabled,
|
|
221
|
+
onClick: () => D("secondary", d),
|
|
203
222
|
sx: {
|
|
204
|
-
...
|
|
205
|
-
...
|
|
223
|
+
...Wo,
|
|
224
|
+
...m(d.block) && { color: "text.disabled" }
|
|
206
225
|
},
|
|
207
226
|
children: d.label
|
|
208
227
|
})
|
|
209
228
|
]
|
|
210
229
|
}),
|
|
211
|
-
/* @__PURE__ */
|
|
230
|
+
/* @__PURE__ */ t(Ao, {
|
|
212
231
|
onTellUsMore: o.openRatingSurvey,
|
|
213
232
|
show: o.isFeedbackBarShown
|
|
214
233
|
})
|
|
215
234
|
]
|
|
216
235
|
})] }),
|
|
217
|
-
/* @__PURE__ */
|
|
218
|
-
/* @__PURE__ */
|
|
236
|
+
/* @__PURE__ */ t(vo, { beat: i }),
|
|
237
|
+
/* @__PURE__ */ t(To, {
|
|
219
238
|
isOpen: o.isDismissOpen,
|
|
220
239
|
onClose: o.closeDismissDialog,
|
|
221
240
|
onDismiss: o.confirmDismiss
|
|
222
241
|
}),
|
|
223
|
-
o.isSurveyOpen && /* @__PURE__ */
|
|
242
|
+
o.isSurveyOpen && /* @__PURE__ */ t(_o, {
|
|
224
243
|
characterLimitLabel: o.survey.characterLimitLabel,
|
|
225
244
|
closeAriaLabel: o.survey.closeAriaLabel,
|
|
226
245
|
isOpen: !0,
|
|
@@ -233,13 +252,13 @@ var Eo = {}, Ho = {
|
|
|
233
252
|
secondaryText: o.survey.backText,
|
|
234
253
|
title: o.survey.title
|
|
235
254
|
}),
|
|
236
|
-
o.cardState === "visible" && e.footer && /* @__PURE__ */
|
|
255
|
+
o.cardState === "visible" && e.footer && /* @__PURE__ */ t(xo, { footer: e.footer })
|
|
237
256
|
]
|
|
238
257
|
})
|
|
239
258
|
});
|
|
240
259
|
});
|
|
241
260
|
export {
|
|
242
|
-
|
|
261
|
+
yt as default
|
|
243
262
|
};
|
|
244
263
|
|
|
245
264
|
//# sourceMappingURL=BaseLayout.es.js.map
|