@mx-cartographer/experiences 9.6.11 → 9.6.13
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 +16 -0
- package/dist/core/stores/InsightsV2Store.d.ts +1 -1
- package/dist/core/stores/InsightsV2Store.es.js.map +1 -1
- package/dist/core/types/Insights.d.ts +24 -1
- package/dist/core/types/Insights.es.js.map +1 -1
- package/dist/core/types/index.d.ts +1 -1
- package/dist/insights-v2/actionBlocks/ActionBlockLayer.es.js +21 -21
- package/dist/insights-v2/actionBlocks/ActionBlockLayer.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/AmountInputModalBlock/AmountInputModalBlock.es.js +38 -38
- package/dist/insights-v2/actionBlocks/AmountInputModalBlock/AmountInputModalBlock.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/TransactionDetailsBlock/layout.d.ts +27 -0
- package/dist/insights-v2/actionBlocks/TransactionDetailsBlock/layout.es.js +14 -0
- package/dist/insights-v2/actionBlocks/TransactionDetailsBlock/layout.es.js.map +1 -0
- package/dist/insights-v2/actionBlocks/TransactionDetailsBlock/useTransactionDetailsBlock.es.js +5 -5
- package/dist/insights-v2/actionBlocks/TransactionDetailsBlock/useTransactionDetailsBlock.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/TransactionDetailsBlock/util.d.ts +6 -2
- package/dist/insights-v2/actionBlocks/TransactionDetailsBlock/util.es.js +7 -4
- package/dist/insights-v2/actionBlocks/TransactionDetailsBlock/util.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/TransactionHistoryBlock.es.js +63 -61
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/TransactionHistoryBlock.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/layout.d.ts +2 -1
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/layout.es.js +59 -38
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/layout.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/util.d.ts +6 -5
- package/dist/insights-v2/actionBlocks/util.es.js +3 -3
- package/dist/insights-v2/actionBlocks/util.es.js.map +1 -1
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/AccountBlock.es.js +57 -55
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/AccountBlock.es.js.map +1 -1
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/IconComponent.d.ts +4 -2
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/IconComponent.es.js +54 -23
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/IconComponent.es.js.map +1 -1
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/layout.d.ts +2 -0
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/layout.es.js +14 -10
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/layout.es.js.map +1 -1
- package/dist/insights-v2/components/BaseLayout.es.js +119 -99
- package/dist/insights-v2/components/BaseLayout.es.js.map +1 -1
- package/dist/insights-v2/components/CompactInsightCard.es.js +34 -24
- package/dist/insights-v2/components/CompactInsightCard.es.js.map +1 -1
- package/dist/insights-v2/components/LogoFromGuid.d.ts +2 -2
- package/dist/insights-v2/components/LogoFromGuid.es.js +44 -32
- package/dist/insights-v2/components/LogoFromGuid.es.js.map +1 -1
- package/dist/insights-v2/components/SubHeader.es.js +3 -2
- package/dist/insights-v2/components/SubHeader.es.js.map +1 -1
- package/dist/insights-v2/components/chartblocks/EmptyBarChart.es.js +4 -4
- package/dist/insights-v2/components/shared/EntityLogo.es.js +31 -21
- package/dist/insights-v2/components/shared/EntityLogo.es.js.map +1 -1
- package/dist/insights-v2/components/shared/images/FeeDetected.es.js +243 -0
- package/dist/insights-v2/components/shared/images/FeeDetected.es.js.map +1 -0
- package/dist/insights-v2/components/statusIcon.d.ts +7 -0
- package/dist/insights-v2/components/statusIcon.es.js +10 -0
- package/dist/insights-v2/components/statusIcon.es.js.map +1 -0
- package/dist/microinsights/cards/InsightCard.es.js +78 -73
- package/dist/microinsights/cards/InsightCard.es.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,48 +1,60 @@
|
|
|
1
|
-
import { useCategoryStore as
|
|
2
|
-
import { logoFromRef as
|
|
1
|
+
import { useCategoryStore as l } from "../../common/context/hooks.es.js";
|
|
2
|
+
import { logoFromRef as u } from "./shared/EntityLogo.es.js";
|
|
3
3
|
import { observer as g } from "mobx-react-lite";
|
|
4
|
-
import { CategoryIcon as
|
|
4
|
+
import { CategoryIcon as m, InstitutionLogo as c, MerchantLogo as d } from "@mxenabled/mxui";
|
|
5
|
+
import { Icon as f, IconList as s } from "@mxenabled/mx-icons";
|
|
5
6
|
import { jsx as n } from "react/jsx-runtime";
|
|
6
|
-
import
|
|
7
|
-
var
|
|
8
|
-
const { getTopLevelCategoryGuid:
|
|
9
|
-
if (!
|
|
10
|
-
const
|
|
11
|
-
alt:
|
|
12
|
-
|
|
13
|
-
|
|
7
|
+
import _ from "@mui/material/Box";
|
|
8
|
+
var h = /^(MCH|CAT|INS)-|^ICO-[a-z0-9_-]+$/, y = (e) => !!e && h.test(e), F = g(({ className: e, logo: t, size: i }) => {
|
|
9
|
+
const { getTopLevelCategoryGuid: a } = l();
|
|
10
|
+
if (!t || !y(t.guid)) return null;
|
|
11
|
+
const o = u({
|
|
12
|
+
alt: t.alt,
|
|
13
|
+
color: t.color,
|
|
14
|
+
fallback_guid: t.fallback_guid,
|
|
15
|
+
guid: t.guid
|
|
14
16
|
});
|
|
15
|
-
if (!
|
|
16
|
-
let
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
17
|
+
if (!o) return null;
|
|
18
|
+
let r = null;
|
|
19
|
+
if (o.logo_name) {
|
|
20
|
+
if (!(o.logo_name in s))
|
|
21
|
+
return console.warn(`[LogoFromGuid] "${t.guid}" names no mx-icons icon — rendering nothing.`), null;
|
|
22
|
+
r = /* @__PURE__ */ n(f, {
|
|
23
|
+
fill: o.logo_fill,
|
|
24
|
+
name: o.logo_name,
|
|
25
|
+
size: i,
|
|
26
|
+
sx: { color: o.logo_color }
|
|
27
|
+
});
|
|
28
|
+
} else o.merchant_guid ? r = /* @__PURE__ */ n(d, {
|
|
29
|
+
alt: o.merchant_name ?? "",
|
|
30
|
+
categoryGuid: o.category_guid ? a(o.category_guid) : "",
|
|
31
|
+
merchantGuid: o.merchant_guid,
|
|
32
|
+
size: i
|
|
33
|
+
}) : o.institution_guid ? r = /* @__PURE__ */ n(c, {
|
|
34
|
+
alt: o.institution_name ?? "",
|
|
35
|
+
institutionGuid: o.institution_guid,
|
|
36
|
+
size: i
|
|
37
|
+
}) : o.category_guid && (r = /* @__PURE__ */ n(m, {
|
|
38
|
+
categoryGuid: a(o.category_guid),
|
|
39
|
+
size: i
|
|
40
|
+
}));
|
|
41
|
+
return r ? /* @__PURE__ */ n(_, {
|
|
42
|
+
className: e,
|
|
31
43
|
"data-testid": "logo-from-guid",
|
|
32
44
|
sx: {
|
|
33
45
|
alignItems: "center",
|
|
34
46
|
display: "flex",
|
|
35
47
|
flexShrink: 0,
|
|
36
|
-
height:
|
|
48
|
+
height: i,
|
|
37
49
|
justifyContent: "center",
|
|
38
|
-
width:
|
|
50
|
+
width: i
|
|
39
51
|
},
|
|
40
|
-
children:
|
|
52
|
+
children: r
|
|
41
53
|
}) : null;
|
|
42
54
|
});
|
|
43
55
|
export {
|
|
44
|
-
|
|
45
|
-
|
|
56
|
+
F as default,
|
|
57
|
+
y as isLogoGuid
|
|
46
58
|
};
|
|
47
59
|
|
|
48
60
|
//# sourceMappingURL=LogoFromGuid.es.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LogoFromGuid.es.js","names":[],"sources":["../../../src/insights-v2/components/LogoFromGuid.tsx"],"sourcesContent":["import { observer } from 'mobx-react-lite'\n\nimport Box from '@mui/material/Box'\n\nimport { CategoryIcon, InstitutionLogo, MerchantLogo } from '@mxenabled/mxui'\n\nimport { useCategoryStore } from '../../common'\nimport type { LogoRef } from '../../core'\nimport { logoFromRef } from './shared/EntityLogo'\n\n/**\n * The guid prefixes that name a logo entity. A prefix heuristic by design: the V2 envelope carries\n * the entity only in the guid, and the notification row relies on non-insight rows carrying account\n * or budget guids and legacy insight rows carrying the `\"PARENT-ENTITY\"` sentinel. Exported beside\n * the component so a caller's branch (`NotificationCard`) and the dispatch here cannot drift apart.\n */\nconst LOGO_GUID_PREFIX = /^(MCH|CAT|INS)
|
|
1
|
+
{"version":3,"file":"LogoFromGuid.es.js","names":[],"sources":["../../../src/insights-v2/components/LogoFromGuid.tsx"],"sourcesContent":["import { observer } from 'mobx-react-lite'\n\nimport Box from '@mui/material/Box'\n\nimport { Icon, IconList } from '@mxenabled/mx-icons'\nimport { CategoryIcon, InstitutionLogo, MerchantLogo } from '@mxenabled/mxui'\n\nimport { useCategoryStore } from '../../common'\nimport type { LogoRef } from '../../core'\nimport { logoFromRef } from './shared/EntityLogo'\n\n/**\n * The guid prefixes that name a logo entity. A prefix heuristic by design: the V2 envelope carries\n * the entity only in the guid, and the notification row relies on non-insight rows carrying account\n * or budget guids and legacy insight rows carrying the `\"PARENT-ENTITY\"` sentinel. Exported beside\n * the component so a caller's branch (`NotificationCard`) and the dispatch here cannot drift apart.\n */\nconst LOGO_GUID_PREFIX = /^(MCH|CAT|INS)-|^ICO-[a-z0-9_-]+$/\n\nexport const isLogoGuid = (guid?: string | null): guid is string =>\n !!guid && LOGO_GUID_PREFIX.test(guid)\n\nexport interface LogoFromGuidProps {\n /** The envelope's logo object: `{ guid, fallback_guid?, alt?, color? }` (`color` is read for `ICO-` icons). */\n logo?: Pick<LogoRef, 'alt' | 'color' | 'fallback_guid' | 'guid'> | null\n /** Rendered square size in px (32 on rows, 40 on the compact card, 33 on the notification row). */\n size: number\n className?: string\n}\n\n/**\n * One component for every V2 logo. The envelope sends a single `{ guid, fallback_guid?, alt? }`\n * object whose prefix says what it is; this maps it onto the mxui component's props and renders\n * nothing — never a guess — for anything else (`PARENT-ENTITY`, an `ACT-`/`BGT-` guid, an empty guid).\n *\n * The fallback chain is mxui's, not ours: asset for `guid` → category tile for `fallback_guid`\n * (`MerchantLogo`'s `categoryGuid`, applied only when it is a `CAT-` guid because a category tile is\n * the only fallback `MerchantLogo` has) → `alt`. Nothing here probes whether an asset exists.\n *\n * Categories are walked up to their top-level parent before reaching mxui: `CategoryIcon` only knows\n * the top-level guids and silently shows the Uncategorized glyph for a sub-category (identity until\n * categories load). That applies to a `CAT-` logo and to a merchant's `fallback_guid` alike.\n */\nconst LogoFromGuid = observer(({ className, logo, size }: LogoFromGuidProps) => {\n const { getTopLevelCategoryGuid } = useCategoryStore()\n\n if (!logo || !isLogoGuid(logo.guid)) return null\n\n // Guid-only on purpose: `logoFromRef` lets a status `icon` win over `guid`, which is right for a\n // row but would silently turn this component into an icon renderer.\n const resolved = logoFromRef({\n alt: logo.alt,\n color: logo.color,\n fallback_guid: logo.fallback_guid,\n guid: logo.guid,\n })\n\n if (!resolved) return null\n\n let content: React.ReactNode = null\n\n if (resolved.logo_name) {\n // An unmapped name would draw an empty box; say so and draw nothing instead.\n if (!(resolved.logo_name in IconList)) {\n console.warn(`[LogoFromGuid] \"${logo.guid}\" names no mx-icons icon — rendering nothing.`)\n return null\n }\n content = (\n <Icon\n fill={resolved.logo_fill}\n name={resolved.logo_name}\n size={size}\n sx={{ color: resolved.logo_color }}\n />\n )\n } else if (resolved.merchant_guid) {\n content = (\n <MerchantLogo\n alt={resolved.merchant_name ?? ''}\n categoryGuid={resolved.category_guid ? getTopLevelCategoryGuid(resolved.category_guid) : ''}\n merchantGuid={resolved.merchant_guid}\n size={size}\n />\n )\n } else if (resolved.institution_guid) {\n content = (\n <InstitutionLogo\n alt={resolved.institution_name ?? ''}\n institutionGuid={resolved.institution_guid}\n size={size}\n />\n )\n } else if (resolved.category_guid) {\n content = (\n <CategoryIcon categoryGuid={getTopLevelCategoryGuid(resolved.category_guid)} size={size} />\n )\n }\n\n if (!content) return null\n\n return (\n <Box\n className={className}\n data-testid=\"logo-from-guid\"\n sx={{\n alignItems: 'center',\n display: 'flex',\n flexShrink: 0,\n height: size,\n justifyContent: 'center',\n width: size,\n }}\n >\n {content}\n </Box>\n )\n})\n\nexport default LogoFromGuid\n"],"mappings":";;;;;;;AAiBA,IAAM,IAAmB,qCAEZ,IAAA,CAAc,MACzB,CAAC,CAAC,KAAQ,EAAiB,KAAK,CAAI,GAuBhC,IAAe,EAAA,CAAU,EAAE,WAAA,GAAW,MAAA,GAAM,MAAA,EAAA,MAA8B;AAC9E,QAAM,EAAE,yBAAA,EAAA,IAA4B,EAAiB;AAErD,MAAI,CAAC,KAAQ,CAAC,EAAW,EAAK,IAAI,EAAG,QAAO;AAI5C,QAAM,IAAW,EAAY;AAAA,IAC3B,KAAK,EAAK;AAAA,IACV,OAAO,EAAK;AAAA,IACZ,eAAe,EAAK;AAAA,IACpB,MAAM,EAAK;AAAA,EACb,CAAC;AAED,MAAI,CAAC,EAAU,QAAO;AAEtB,MAAI,IAA2B;AAE/B,MAAI,EAAS,WAAW;AAEtB,QAAI,EAAE,EAAS,aAAa;AAC1B,qBAAQ,KAAK,mBAAmB,EAAK,IAAA,+CAAmD,GACjF;AAET,IAAA,IACE,gBAAA,EAAC,GAAD;AAAA,MACE,MAAM,EAAS;AAAA,MACf,MAAM,EAAS;AAAA,MACT,MAAA;AAAA,MACN,IAAI,EAAE,OAAO,EAAS,WAAW;AAAA,IAClC,CAAA;AAAA,EAEL,MAAO,CAAI,EAAS,gBAClB,IACE,gBAAA,EAAC,GAAD;AAAA,IACE,KAAK,EAAS,iBAAiB;AAAA,IAC/B,cAAc,EAAS,gBAAgB,EAAwB,EAAS,aAAa,IAAI;AAAA,IACzF,cAAc,EAAS;AAAA,IACjB,MAAA;AAAA,EACP,CAAA,IAEM,EAAS,mBAClB,IACE,gBAAA,EAAC,GAAD;AAAA,IACE,KAAK,EAAS,oBAAoB;AAAA,IAClC,iBAAiB,EAAS;AAAA,IACpB,MAAA;AAAA,EACP,CAAA,IAEM,EAAS,kBAClB,IACE,gBAAA,EAAC,GAAD;AAAA,IAAc,cAAc,EAAwB,EAAS,aAAa;AAAA,IAAS,MAAA;AAAA,EAAO,CAAA;AAI9F,SAAK,IAGH,gBAAA,EAAC,GAAD;AAAA,IACa,WAAA;AAAA,IACX,eAAY;AAAA,IACZ,IAAI;AAAA,MACF,YAAY;AAAA,MACZ,SAAS;AAAA,MACT,YAAY;AAAA,MACZ,QAAQ;AAAA,MACR,gBAAgB;AAAA,MAChB,OAAO;AAAA,IACT;AAAA,IAEC,UAAA;AAAA,EACE,CAAA,IAhBc;AAkBvB,CAAC"}
|
|
@@ -3,6 +3,7 @@ import { CategoryIcon as a, InstitutionLogo as u, MerchantLogo as c, Text as o }
|
|
|
3
3
|
import { Icon as s } from "@mxenabled/mx-icons";
|
|
4
4
|
import { jsx as r, jsxs as d } from "react/jsx-runtime";
|
|
5
5
|
var m = (t) => t ? t.logo_name ? /* @__PURE__ */ r(s, {
|
|
6
|
+
fill: t.logo_fill,
|
|
6
7
|
name: t.logo_name,
|
|
7
8
|
size: 16,
|
|
8
9
|
sx: { color: t.logo_color }
|
|
@@ -18,7 +19,7 @@ var m = (t) => t ? t.logo_name ? /* @__PURE__ */ r(s, {
|
|
|
18
19
|
}) : t.category_guid ? /* @__PURE__ */ r(a, {
|
|
19
20
|
categoryGuid: t.category_guid,
|
|
20
21
|
size: 16
|
|
21
|
-
}) : null : null,
|
|
22
|
+
}) : null : null, x = ({ subtitle: t }) => {
|
|
22
23
|
const { logo: e, text: i } = t;
|
|
23
24
|
return /* @__PURE__ */ d(n, {
|
|
24
25
|
sx: {
|
|
@@ -36,7 +37,7 @@ var m = (t) => t ? t.logo_name ? /* @__PURE__ */ r(s, {
|
|
|
36
37
|
});
|
|
37
38
|
};
|
|
38
39
|
export {
|
|
39
|
-
|
|
40
|
+
x as default
|
|
40
41
|
};
|
|
41
42
|
|
|
42
43
|
//# sourceMappingURL=SubHeader.es.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SubHeader.es.js","names":[],"sources":["../../../src/insights-v2/components/SubHeader.tsx"],"sourcesContent":["import Stack from '@mui/material/Stack'\n\nimport { CategoryIcon, InstitutionLogo, MerchantLogo, Text } from '@mxenabled/mxui'\nimport { Icon } from '@mxenabled/mx-icons'\nimport type { Logo, Subtitle } from '../../core'\n\ninterface SubHeaderProps {\n subtitle: Subtitle\n}\n\n// TODO: Ask backend to send the correct guid (institution_guid, merchant_guid, or category_guid)\n// per beat's logo, matching what that beat's subtitle is actually about.\nconst renderLogo = (logo: Logo | undefined) => {\n if (!logo) return null\n\n if (logo.logo_name) {\n return <Icon name={logo.logo_name} size={16} sx={{ color: logo.logo_color }} />\n }\n\n if (logo.merchant_guid) {\n return (\n <MerchantLogo\n alt={logo.merchant_name as string}\n categoryGuid={logo.category_guid as string}\n merchantGuid={logo.merchant_guid}\n size={16}\n />\n )\n }\n\n if (logo.institution_guid) {\n return (\n <InstitutionLogo\n alt={logo.institution_name as string}\n institutionGuid={logo.institution_guid}\n size={16}\n />\n )\n }\n\n if (logo.category_guid) {\n return <CategoryIcon categoryGuid={logo.category_guid} size={16} />\n }\n\n return null\n}\n\nconst SubHeader = ({ subtitle }: SubHeaderProps) => {\n const { logo, text } = subtitle\n\n return (\n <Stack sx={{ alignItems: 'center', flexDirection: 'row', gap: 8 }}>\n {renderLogo(logo)}\n {/* Figma `typography/body2 (upper)`: uppercased with 0.52px tracking. */}\n <Text\n color=\"text.secondary\"\n sx={{ letterSpacing: '0.52px' }}\n uppercase={true}\n variant=\"body2\"\n >\n {text}\n </Text>\n </Stack>\n )\n}\n\nexport default SubHeader\n"],"mappings":";;;;AAYA,IAAM,IAAA,CAAc,MACb,IAED,EAAK,
|
|
1
|
+
{"version":3,"file":"SubHeader.es.js","names":[],"sources":["../../../src/insights-v2/components/SubHeader.tsx"],"sourcesContent":["import Stack from '@mui/material/Stack'\n\nimport { CategoryIcon, InstitutionLogo, MerchantLogo, Text } from '@mxenabled/mxui'\nimport { Icon } from '@mxenabled/mx-icons'\nimport type { Logo, Subtitle } from '../../core'\n\ninterface SubHeaderProps {\n subtitle: Subtitle\n}\n\n// TODO: Ask backend to send the correct guid (institution_guid, merchant_guid, or category_guid)\n// per beat's logo, matching what that beat's subtitle is actually about.\nconst renderLogo = (logo: Logo | undefined) => {\n if (!logo) return null\n\n if (logo.logo_name) {\n return (\n <Icon fill={logo.logo_fill} name={logo.logo_name} size={16} sx={{ color: logo.logo_color }} />\n )\n }\n\n if (logo.merchant_guid) {\n return (\n <MerchantLogo\n alt={logo.merchant_name as string}\n categoryGuid={logo.category_guid as string}\n merchantGuid={logo.merchant_guid}\n size={16}\n />\n )\n }\n\n if (logo.institution_guid) {\n return (\n <InstitutionLogo\n alt={logo.institution_name as string}\n institutionGuid={logo.institution_guid}\n size={16}\n />\n )\n }\n\n if (logo.category_guid) {\n return <CategoryIcon categoryGuid={logo.category_guid} size={16} />\n }\n\n return null\n}\n\nconst SubHeader = ({ subtitle }: SubHeaderProps) => {\n const { logo, text } = subtitle\n\n return (\n <Stack sx={{ alignItems: 'center', flexDirection: 'row', gap: 8 }}>\n {renderLogo(logo)}\n {/* Figma `typography/body2 (upper)`: uppercased with 0.52px tracking. */}\n <Text\n color=\"text.secondary\"\n sx={{ letterSpacing: '0.52px' }}\n uppercase={true}\n variant=\"body2\"\n >\n {text}\n </Text>\n </Stack>\n )\n}\n\nexport default SubHeader\n"],"mappings":";;;;AAYA,IAAM,IAAA,CAAc,MACb,IAED,EAAK,YAEL,gBAAA,EAAC,GAAD;AAAA,EAAM,MAAM,EAAK;AAAA,EAAW,MAAM,EAAK;AAAA,EAAW,MAAM;AAAA,EAAI,IAAI,EAAE,OAAO,EAAK,WAAW;AAAI,CAAA,IAI7F,EAAK,gBAEL,gBAAA,EAAC,GAAD;AAAA,EACE,KAAK,EAAK;AAAA,EACV,cAAc,EAAK;AAAA,EACnB,cAAc,EAAK;AAAA,EACnB,MAAM;AACP,CAAA,IAID,EAAK,mBAEL,gBAAA,EAAC,GAAD;AAAA,EACE,KAAK,EAAK;AAAA,EACV,iBAAiB,EAAK;AAAA,EACtB,MAAM;AACP,CAAA,IAID,EAAK,gBACA,gBAAA,EAAC,GAAD;AAAA,EAAc,cAAc,EAAK;AAAA,EAAe,MAAM;AAAK,CAAA,IAG7D,OAjCW,MAoCd,IAAA,CAAa,EAAE,UAAA,EAAA,MAA+B;AAClD,QAAM,EAAE,MAAA,GAAM,MAAA,EAAA,IAAS;AAEvB,SACE,gBAAA,EAAC,GAAD;AAAA,IAAO,IAAI;AAAA,MAAE,YAAY;AAAA,MAAU,eAAe;AAAA,MAAO,KAAK;AAAA,IAAE;AAAA,IAAhE,UAAA,CACG,EAAW,CAAI,GAEhB,gBAAA,EAAC,GAAD;AAAA,MACE,OAAM;AAAA,MACN,IAAI,EAAE,eAAe,SAAS;AAAA,MAC9B,WAAW;AAAA,MACX,SAAQ;AAAA,MAEP,UAAA;AAAA,IACG,CAAA,CACD;AAAA;AAEX"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { ThemedSVGImage as r } from "./ThemedSVGImage.es.js";
|
|
2
|
+
import { ReactComponent as o } from "../../../insights/components/shared/images/EmptyBarChart.es.js";
|
|
3
3
|
import { jsx as m } from "react/jsx-runtime";
|
|
4
4
|
function p() {
|
|
5
|
-
return /* @__PURE__ */ m(
|
|
5
|
+
return /* @__PURE__ */ m(r, {
|
|
6
6
|
divProps: { style: {} },
|
|
7
|
-
image:
|
|
7
|
+
image: o
|
|
8
8
|
});
|
|
9
9
|
}
|
|
10
10
|
export {
|
|
@@ -1,29 +1,39 @@
|
|
|
1
|
-
var i = (
|
|
2
|
-
if (
|
|
3
|
-
if (
|
|
4
|
-
institution_guid:
|
|
5
|
-
institution_name:
|
|
1
|
+
var i = (o, r) => {
|
|
2
|
+
if (o) {
|
|
3
|
+
if (o.startsWith("INS-")) return {
|
|
4
|
+
institution_guid: o,
|
|
5
|
+
institution_name: r
|
|
6
6
|
};
|
|
7
|
-
if (
|
|
8
|
-
merchant_guid:
|
|
9
|
-
merchant_name:
|
|
7
|
+
if (o.startsWith("MCH-")) return {
|
|
8
|
+
merchant_guid: o,
|
|
9
|
+
merchant_name: r
|
|
10
10
|
};
|
|
11
|
-
if (
|
|
12
|
-
category_guid:
|
|
13
|
-
category_name:
|
|
11
|
+
if (o.startsWith("CAT-")) return {
|
|
12
|
+
category_guid: o,
|
|
13
|
+
category_name: r
|
|
14
14
|
};
|
|
15
|
+
if (o.startsWith("ICO-")) {
|
|
16
|
+
const t = o.slice(4);
|
|
17
|
+
return /^[a-z0-9_-]+$/.test(t) ? {
|
|
18
|
+
logo_fill: !0,
|
|
19
|
+
logo_name: t
|
|
20
|
+
} : void 0;
|
|
21
|
+
}
|
|
15
22
|
}
|
|
16
|
-
}, n = (
|
|
17
|
-
if (!
|
|
18
|
-
if (
|
|
19
|
-
logo_color:
|
|
20
|
-
logo_name:
|
|
23
|
+
}, n = (o, r) => {
|
|
24
|
+
if (!o) return;
|
|
25
|
+
if (o.icon) return {
|
|
26
|
+
logo_color: o.color,
|
|
27
|
+
logo_name: o.icon
|
|
21
28
|
};
|
|
22
|
-
const
|
|
23
|
-
return
|
|
24
|
-
...
|
|
25
|
-
|
|
26
|
-
} :
|
|
29
|
+
const t = i(o.guid, o.alt ?? r);
|
|
30
|
+
return t?.logo_name ? o.color ? {
|
|
31
|
+
...t,
|
|
32
|
+
logo_color: o.color
|
|
33
|
+
} : t : t?.merchant_guid && o.fallback_guid?.startsWith("CAT-") ? {
|
|
34
|
+
...t,
|
|
35
|
+
category_guid: o.fallback_guid
|
|
36
|
+
} : t;
|
|
27
37
|
};
|
|
28
38
|
export {
|
|
29
39
|
i as logoFromEntityGuid,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EntityLogo.es.js","names":[],"sources":["../../../../src/insights-v2/components/shared/EntityLogo.tsx"],"sourcesContent":["import type { Logo, LogoRef } from '../../../core'\n\n/**\n * The V2 beat envelope (LargeTransactionV2 onward) sends an entity logo as an opaque guid instead\n * of V1's named `institution_guid` / `merchant_guid` / `category_guid` fields. The entity is\n * carried only by the guid's prefix, so this maps a guid back onto the named `Logo` shape the\n * existing renderers (`SubHeader`, mxui logo components) already understand.\n *\n * An unrecognized prefix returns `undefined` rather than guessing: rendering a merchant logo for\n * an institution guid would silently show the wrong image.\n */\nexport const logoFromEntityGuid = (guid?: string, alt?: string): Logo | undefined => {\n if (!guid) return undefined\n\n if (guid.startsWith('INS-')) {\n return { institution_guid: guid, institution_name: alt }\n }\n\n if (guid.startsWith('MCH-')) {\n return { merchant_guid: guid, merchant_name: alt }\n }\n\n if (guid.startsWith('CAT-')) {\n return { category_guid: guid, category_name: alt }\n }\n\n return undefined\n}\n\n/**\n * Resolves a V2 `LogoRef` (header or row) onto the named `Logo` shape. The one mapping both the\n * header and the rows go through, so the two can never disagree about precedence:\n *\n * - `icon` becomes V1's `logo_name` / `logo_color` and wins over `guid`, as `logo_name` does in\n * `SubHeader`.\n * - Otherwise `guid` resolves by prefix (`logoFromEntityGuid`). For an `MCH-` guid, a `CAT-`\n * `fallback_guid` becomes the merchant's `category_guid`: `MerchantLogo` draws that category as a\n * tile when the merchant image fails to load, and without it the tile is the Uncategorized icon.\n * Only a category fallback is applied, because a category tile is the only fallback\n * `MerchantLogo` has.\n *\n * `fallbackAlt` names the logo when the ref carries no `alt` (rows pass their `primary_text`).\n */\nexport const logoFromRef = (ref?: LogoRef, fallbackAlt?: string): Logo | undefined => {\n if (!ref) return undefined\n\n if (ref.icon) {\n return { logo_color: ref.color, logo_name: ref.icon }\n }\n\n const logo = logoFromEntityGuid(ref.guid, ref.alt ?? fallbackAlt)\n\n if (logo?.merchant_guid && ref.fallback_guid?.startsWith('CAT-')) {\n return { ...logo, category_guid: ref.fallback_guid }\n }\n\n return logo\n}\n"],"mappings":"AAWA,IAAa,IAAA,CAAsB,GAAe,MAAmC;AACnF,MAAK,GAEL;AAAA,QAAI,EAAK,WAAW,MAAM,EACxB,QAAO;AAAA,MAAE,kBAAkB;AAAA,MAAM,kBAAkB;AAAA,IAAI;AAGzD,QAAI,EAAK,WAAW,MAAM,EACxB,QAAO;AAAA,MAAE,eAAe;AAAA,MAAM,eAAe;AAAA,IAAI;AAGnD,QAAI,EAAK,WAAW,MAAM,EACxB,QAAO;AAAA,MAAE,eAAe;AAAA,MAAM,eAAe;AAAA,IAAI;AAAA;
|
|
1
|
+
{"version":3,"file":"EntityLogo.es.js","names":[],"sources":["../../../../src/insights-v2/components/shared/EntityLogo.tsx"],"sourcesContent":["import type { Logo, LogoRef } from '../../../core'\n\n/**\n * The V2 beat envelope (LargeTransactionV2 onward) sends an entity logo as an opaque guid instead\n * of V1's named `institution_guid` / `merchant_guid` / `category_guid` fields. The entity is\n * carried only by the guid's prefix, so this maps a guid back onto the named `Logo` shape the\n * existing renderers (`SubHeader`, mxui logo components) already understand.\n *\n * An unrecognized prefix returns `undefined` rather than guessing: rendering a merchant logo for\n * an institution guid would silently show the wrong image.\n */\nexport const logoFromEntityGuid = (guid?: string, alt?: string): Logo | undefined => {\n if (!guid) return undefined\n\n if (guid.startsWith('INS-')) {\n return { institution_guid: guid, institution_name: alt }\n }\n\n if (guid.startsWith('MCH-')) {\n return { merchant_guid: guid, merchant_name: alt }\n }\n\n if (guid.startsWith('CAT-')) {\n return { category_guid: guid, category_name: alt }\n }\n\n // MXUI defines no `ICO-` prefix: `ICO-<name>` is our own contract for a filled mx-icons icon.\n // Unlike the entity prefixes above, the name (not the whole guid) becomes `logo_name`, and it must\n // be a non-empty icon slug, so the prefix is stripped and the remainder validated.\n if (guid.startsWith('ICO-')) {\n const icon = guid.slice(4)\n\n return /^[a-z0-9_-]+$/.test(icon) ? { logo_fill: true, logo_name: icon } : undefined\n }\n return undefined\n}\n\n/**\n * Resolves a V2 `LogoRef` (header or row) onto the named `Logo` shape. The one mapping both the\n * header and the rows go through, so the two can never disagree about precedence:\n *\n * - `icon` becomes V1's `logo_name` / `logo_color` and wins over `guid`, as `logo_name` does in\n * `SubHeader`.\n * - Otherwise `guid` resolves by prefix (`logoFromEntityGuid`). For an `MCH-` guid, a `CAT-`\n * `fallback_guid` becomes the merchant's `category_guid`: `MerchantLogo` draws that category as a\n * tile when the merchant image fails to load, and without it the tile is the Uncategorized icon.\n * Only a category fallback is applied, because a category tile is the only fallback\n * `MerchantLogo` has.\n *\n * `fallbackAlt` names the logo when the ref carries no `alt` (rows pass their `primary_text`).\n */\nexport const logoFromRef = (ref?: LogoRef, fallbackAlt?: string): Logo | undefined => {\n if (!ref) return undefined\n\n if (ref.icon) {\n return { logo_color: ref.color, logo_name: ref.icon }\n }\n\n const logo = logoFromEntityGuid(ref.guid, ref.alt ?? fallbackAlt)\n if (logo?.logo_name) {\n return ref.color ? { ...logo, logo_color: ref.color } : logo\n }\n\n if (logo?.merchant_guid && ref.fallback_guid?.startsWith('CAT-')) {\n return { ...logo, category_guid: ref.fallback_guid }\n }\n\n return logo\n}\n"],"mappings":"AAWA,IAAa,IAAA,CAAsB,GAAe,MAAmC;AACnF,MAAK,GAEL;AAAA,QAAI,EAAK,WAAW,MAAM,EACxB,QAAO;AAAA,MAAE,kBAAkB;AAAA,MAAM,kBAAkB;AAAA,IAAI;AAGzD,QAAI,EAAK,WAAW,MAAM,EACxB,QAAO;AAAA,MAAE,eAAe;AAAA,MAAM,eAAe;AAAA,IAAI;AAGnD,QAAI,EAAK,WAAW,MAAM,EACxB,QAAO;AAAA,MAAE,eAAe;AAAA,MAAM,eAAe;AAAA,IAAI;AAMnD,QAAI,EAAK,WAAW,MAAM,GAAG;AAC3B,YAAM,IAAO,EAAK,MAAM,CAAC;AAEzB,aAAO,gBAAgB,KAAK,CAAI,IAAI;AAAA,QAAE,WAAW;AAAA,QAAM,WAAW;AAAA,MAAK,IAAI;AAAA,IAC7E;AAAA;AAEF,GAgBa,IAAA,CAAe,GAAe,MAA2C;AACpF,MAAI,CAAC,EAAK;AAEV,MAAI,EAAI,KACN,QAAO;AAAA,IAAE,YAAY,EAAI;AAAA,IAAO,WAAW,EAAI;AAAA,EAAK;AAGtD,QAAM,IAAO,EAAmB,EAAI,MAAM,EAAI,OAAO,CAAW;AAChE,SAAI,GAAM,YACD,EAAI,QAAQ;AAAA,IAAE,GAAG;AAAA,IAAM,YAAY,EAAI;AAAA,EAAM,IAAI,IAGtD,GAAM,iBAAiB,EAAI,eAAe,WAAW,MAAM,IACtD;AAAA,IAAE,GAAG;AAAA,IAAM,eAAe,EAAI;AAAA,EAAc,IAG9C;AACT"}
|
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
import { forwardRef as i } from "react";
|
|
2
|
+
import { jsx as e, jsxs as r } from "react/jsx-runtime";
|
|
3
|
+
var d = (t, o) => /* @__PURE__ */ r("svg", {
|
|
4
|
+
width: 69.63,
|
|
5
|
+
height: 62.06,
|
|
6
|
+
viewBox: "318.76 47.75 69.63 62.06",
|
|
7
|
+
fill: "none",
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
+
ref: o,
|
|
10
|
+
...t,
|
|
11
|
+
children: [/* @__PURE__ */ r("g", {
|
|
12
|
+
id: "Embedded Content | Fee Detected",
|
|
13
|
+
children: [
|
|
14
|
+
/* @__PURE__ */ e("path", {
|
|
15
|
+
id: "Vector_2",
|
|
16
|
+
opacity: 0.25,
|
|
17
|
+
d: "M384.927 73.4087C387.943 78.5874 386.227 90.986 380.36 97.0299C375.97 101.553 361.637 108.577 353.787 107.744C336.824 105.944 348.044 85.3643 338.64 77.4848C330.851 70.958 318.747 60.8728 334.365 53.5202C344.569 48.7165 352.895 53.2886 365.162 61.8884C373.054 67.4211 378.295 62.022 384.927 73.4087Z",
|
|
18
|
+
className: "brand300",
|
|
19
|
+
fill: "#2C64EF"
|
|
20
|
+
}),
|
|
21
|
+
/* @__PURE__ */ r("g", {
|
|
22
|
+
id: "paper",
|
|
23
|
+
clipPath: "url(#fee_light_clip0)",
|
|
24
|
+
children: [
|
|
25
|
+
/* @__PURE__ */ r("g", {
|
|
26
|
+
id: "Vector_3",
|
|
27
|
+
children: [/* @__PURE__ */ e("path", {
|
|
28
|
+
d: "M367.852 51.9608V79.9019V95.3431L366.139 93.8725L364.426 95.3431L362.705 93.8725L360.992 95.3431L359.279 93.8725L357.558 95.3431L355.845 93.8725L354.124 95.3431L352.411 93.8725L350.698 95.3431L348.977 93.8725L347.264 95.3431L345.551 93.8725L343.83 95.3431L342.117 93.8725L340.396 95.3431L338.676 93.8725L336.97 95.3431V52.6961C336.97 51.916 337.28 51.1679 337.831 50.6163C338.383 50.0648 339.131 49.7549 339.911 49.7549H370.058H370.793",
|
|
29
|
+
fill: "white"
|
|
30
|
+
}), /* @__PURE__ */ e("path", {
|
|
31
|
+
d: "M370.058 49.7549H339.911C339.131 49.7549 338.383 50.0648 337.831 50.6163C337.28 51.1679 336.97 51.916 336.97 52.6961V95.3431L338.676 93.8725L340.396 95.3431L342.117 93.8725L343.83 95.3431L345.551 93.8725L347.264 95.3431L348.977 93.8725L350.698 95.3431L352.411 93.8725L354.124 95.3431L355.845 93.8725L357.558 95.3431L359.279 93.8725L360.992 95.3431L362.705 93.8725L364.426 95.3431L366.139 93.8725L367.852 95.3431V79.9019V51.9608C367.852 51.3757 368.084 50.8147 368.498 50.401C368.912 49.9873 369.473 49.7549 370.058 49.7549ZM370.058 49.7549H370.793",
|
|
32
|
+
className: "brand300",
|
|
33
|
+
stroke: "#2C64EF",
|
|
34
|
+
strokeWidth: 1.5,
|
|
35
|
+
strokeLinecap: "round",
|
|
36
|
+
strokeLinejoin: "round"
|
|
37
|
+
})]
|
|
38
|
+
}),
|
|
39
|
+
/* @__PURE__ */ e("path", {
|
|
40
|
+
id: "Vector_4",
|
|
41
|
+
d: "M341.374 89.4609H363.433",
|
|
42
|
+
className: "brand300",
|
|
43
|
+
stroke: "#2C64EF",
|
|
44
|
+
strokeWidth: 1.5,
|
|
45
|
+
strokeLinecap: "round",
|
|
46
|
+
strokeLinejoin: "round"
|
|
47
|
+
}),
|
|
48
|
+
/* @__PURE__ */ e("path", {
|
|
49
|
+
id: "Vector_5",
|
|
50
|
+
d: "M340.639 86.5195H363.433",
|
|
51
|
+
className: "brand300",
|
|
52
|
+
stroke: "#2C64EF",
|
|
53
|
+
strokeWidth: 1.5,
|
|
54
|
+
strokeLinecap: "round",
|
|
55
|
+
strokeLinejoin: "round"
|
|
56
|
+
}),
|
|
57
|
+
/* @__PURE__ */ e("path", {
|
|
58
|
+
id: "Vector_6",
|
|
59
|
+
d: "M336.963 54.167H357.551",
|
|
60
|
+
className: "brand300",
|
|
61
|
+
stroke: "#2C64EF",
|
|
62
|
+
strokeWidth: 1.5,
|
|
63
|
+
strokeLinecap: "round",
|
|
64
|
+
strokeLinejoin: "round"
|
|
65
|
+
}),
|
|
66
|
+
/* @__PURE__ */ e("path", {
|
|
67
|
+
id: "Vector_7",
|
|
68
|
+
d: "M367.853 51.9608C367.853 51.3757 368.085 50.8147 368.499 50.401C368.912 49.9873 369.473 49.7549 370.058 49.7549C370.643 49.7549 371.205 49.9873 371.618 50.401C372.032 50.8147 372.264 51.3757 372.264 51.9608",
|
|
69
|
+
className: "brand300",
|
|
70
|
+
stroke: "#2C64EF",
|
|
71
|
+
strokeWidth: 1.5,
|
|
72
|
+
strokeLinecap: "round",
|
|
73
|
+
strokeLinejoin: "round"
|
|
74
|
+
}),
|
|
75
|
+
/* @__PURE__ */ e("path", {
|
|
76
|
+
id: "Vector_8",
|
|
77
|
+
d: "M376.675 77.6963C376.675 78.2813 376.443 78.8424 376.029 79.2561C375.616 79.6698 375.055 79.9022 374.47 79.9022C373.885 79.9022 373.323 79.6698 372.91 79.2561C372.496 78.8424 372.264 78.2813 372.264 77.6963",
|
|
78
|
+
className: "brand300",
|
|
79
|
+
stroke: "#2C64EF",
|
|
80
|
+
strokeWidth: 1.5,
|
|
81
|
+
strokeLinecap: "round",
|
|
82
|
+
strokeLinejoin: "round"
|
|
83
|
+
}),
|
|
84
|
+
/* @__PURE__ */ e("path", {
|
|
85
|
+
id: "Vector_9",
|
|
86
|
+
d: "M376.668 77.6963V65.9316",
|
|
87
|
+
className: "brand300",
|
|
88
|
+
stroke: "#2C64EF",
|
|
89
|
+
strokeWidth: 1.5,
|
|
90
|
+
strokeLinecap: "round",
|
|
91
|
+
strokeLinejoin: "round"
|
|
92
|
+
}),
|
|
93
|
+
/* @__PURE__ */ e("path", {
|
|
94
|
+
id: "Vector_10",
|
|
95
|
+
d: "M376.669 65.9316H372.257",
|
|
96
|
+
className: "brand300",
|
|
97
|
+
stroke: "#2C64EF",
|
|
98
|
+
strokeWidth: 1.5,
|
|
99
|
+
strokeLinecap: "round",
|
|
100
|
+
strokeLinejoin: "round"
|
|
101
|
+
}),
|
|
102
|
+
/* @__PURE__ */ e("path", {
|
|
103
|
+
id: "Vector_11",
|
|
104
|
+
d: "M374.462 79.9023H367.845",
|
|
105
|
+
className: "brand300",
|
|
106
|
+
stroke: "#2C64EF",
|
|
107
|
+
strokeWidth: 1.5,
|
|
108
|
+
strokeLinecap: "round",
|
|
109
|
+
strokeLinejoin: "round"
|
|
110
|
+
}),
|
|
111
|
+
/* @__PURE__ */ e("path", {
|
|
112
|
+
id: "Vector_12",
|
|
113
|
+
d: "M367.853 51.9608C367.853 51.3757 368.085 50.8147 368.499 50.401C368.912 49.9873 369.473 49.7549 370.058 49.7549C370.643 49.7549 371.205 49.9873 371.618 50.401C372.032 50.8147 372.264 51.3757 372.264 51.9608V65.9314V77.6961C372.264 78.2811 372.497 78.8422 372.91 79.2558C373.324 79.6695 373.878 79.9019 374.463 79.9019H367.853V51.9608Z",
|
|
114
|
+
className: "brand300",
|
|
115
|
+
fill: "#2C64EF",
|
|
116
|
+
stroke: "#2C64EF",
|
|
117
|
+
strokeWidth: 1.5,
|
|
118
|
+
strokeLinecap: "round",
|
|
119
|
+
strokeLinejoin: "round"
|
|
120
|
+
}),
|
|
121
|
+
/* @__PURE__ */ e("path", {
|
|
122
|
+
id: "Vector_13",
|
|
123
|
+
d: "M372.264 65.9316V77.6963C372.264 78.2814 372.496 78.8424 372.91 79.2561C373.323 79.6698 373.877 79.9022 374.462 79.9022C375.047 79.9022 375.616 79.6698 376.029 79.2561C376.443 78.8424 376.668 78.2814 376.668 77.6963V65.9316H372.264Z",
|
|
124
|
+
fill: "white",
|
|
125
|
+
className: "brand300",
|
|
126
|
+
stroke: "#2C64EF",
|
|
127
|
+
strokeWidth: 1.5,
|
|
128
|
+
strokeLinecap: "round",
|
|
129
|
+
strokeLinejoin: "round"
|
|
130
|
+
})
|
|
131
|
+
]
|
|
132
|
+
}),
|
|
133
|
+
/* @__PURE__ */ r("g", {
|
|
134
|
+
id: "search",
|
|
135
|
+
clipPath: "url(#fee_light_clip1)",
|
|
136
|
+
children: [
|
|
137
|
+
/* @__PURE__ */ e("path", {
|
|
138
|
+
id: "Vector_14",
|
|
139
|
+
fillRule: "evenodd",
|
|
140
|
+
clipRule: "evenodd",
|
|
141
|
+
d: "M328.426 93.2653L338.117 83.5742L341.381 86.838L331.69 96.5291L328.426 93.2653Z",
|
|
142
|
+
fill: "white",
|
|
143
|
+
className: "brand300",
|
|
144
|
+
stroke: "#2C64EF",
|
|
145
|
+
strokeWidth: 1.5,
|
|
146
|
+
strokeLinecap: "round",
|
|
147
|
+
strokeLinejoin: "round"
|
|
148
|
+
}),
|
|
149
|
+
/* @__PURE__ */ e("path", {
|
|
150
|
+
id: "Vector_15",
|
|
151
|
+
d: "M351.611 90.2777C342.258 90.2777 334.676 82.6957 334.676 73.3429C334.676 63.9901 342.258 56.4082 351.611 56.4082C360.964 56.4082 368.546 63.9901 368.546 73.3429C368.546 82.6957 360.964 90.2777 351.611 90.2777Z",
|
|
152
|
+
fill: "white",
|
|
153
|
+
className: "brand300",
|
|
154
|
+
stroke: "#2C64EF",
|
|
155
|
+
strokeWidth: 1.5,
|
|
156
|
+
strokeLinecap: "round",
|
|
157
|
+
strokeLinejoin: "round"
|
|
158
|
+
}),
|
|
159
|
+
/* @__PURE__ */ e("path", {
|
|
160
|
+
id: "Vector_16",
|
|
161
|
+
d: "M351.611 87.1987C343.959 87.1987 337.755 80.9953 337.755 73.343C337.755 65.6907 343.959 59.4873 351.611 59.4873C359.263 59.4873 365.467 65.6907 365.467 73.343C365.467 80.9953 359.263 87.1987 351.611 87.1987Z",
|
|
162
|
+
className: "brand300",
|
|
163
|
+
fill: "#2C64EF",
|
|
164
|
+
fillOpacity: 0.1,
|
|
165
|
+
stroke: "#2C64EF",
|
|
166
|
+
strokeWidth: 1.5,
|
|
167
|
+
strokeLinecap: "round",
|
|
168
|
+
strokeLinejoin: "round"
|
|
169
|
+
}),
|
|
170
|
+
/* @__PURE__ */ r("g", {
|
|
171
|
+
id: "$",
|
|
172
|
+
children: [/* @__PURE__ */ e("path", {
|
|
173
|
+
id: "Vector_17",
|
|
174
|
+
d: "M355.807 69.0546C355.56 68.4667 355.147 67.9631 354.62 67.6045C354.092 67.246 353.472 67.0478 352.834 67.034C352.361 67.034 351.887 67.034 351.419 67.034C350.675 66.9659 349.925 67.0541 349.217 67.2928C348.633 67.5589 348.137 67.9874 347.79 68.5272C347.442 69.0671 347.257 69.6954 347.257 70.3374V70.3374C347.254 71.0279 347.467 71.702 347.867 72.2649C348.267 72.8278 348.834 73.2512 349.487 73.4757C350.198 73.6463 350.932 73.7021 351.661 73.6408C352.362 73.5843 353.067 73.6307 353.754 73.7785C354.426 73.9901 355.014 74.4116 355.43 74.9812C355.846 75.5509 356.069 76.2388 356.066 76.9442C356.065 77.5882 355.878 78.2181 355.527 78.7582C355.176 79.2984 354.677 79.7257 354.089 79.9888C353.382 80.2284 352.631 80.3165 351.887 80.2476C351.414 80.2476 350.94 80.2476 350.472 80.2476C349.834 80.2338 349.214 80.0357 348.687 79.6771C348.159 79.3185 347.747 78.8149 347.499 78.227",
|
|
175
|
+
className: "brand300",
|
|
176
|
+
stroke: "#2C64EF",
|
|
177
|
+
strokeWidth: 1.5,
|
|
178
|
+
strokeLinecap: "round",
|
|
179
|
+
strokeLinejoin: "round"
|
|
180
|
+
}), /* @__PURE__ */ e("path", {
|
|
181
|
+
id: "Vector_18",
|
|
182
|
+
d: "M351.656 65.9336V81.3494",
|
|
183
|
+
className: "brand300",
|
|
184
|
+
stroke: "#2C64EF",
|
|
185
|
+
strokeWidth: 1.5,
|
|
186
|
+
strokeLinecap: "round",
|
|
187
|
+
strokeLinejoin: "round"
|
|
188
|
+
})]
|
|
189
|
+
}),
|
|
190
|
+
/* @__PURE__ */ e("path", {
|
|
191
|
+
id: "Vector_19",
|
|
192
|
+
d: "M352.712 62.6191C350.912 62.4276 349.094 62.6923 347.424 63.3889",
|
|
193
|
+
className: "brand300",
|
|
194
|
+
stroke: "#2C64EF",
|
|
195
|
+
strokeWidth: 1.5,
|
|
196
|
+
strokeLinecap: "round",
|
|
197
|
+
strokeLinejoin: "round"
|
|
198
|
+
}),
|
|
199
|
+
/* @__PURE__ */ e("path", {
|
|
200
|
+
id: "Vector_20",
|
|
201
|
+
d: "M355.798 63.4123C355.59 63.3277 355.382 63.243 355.159 63.166",
|
|
202
|
+
className: "brand300",
|
|
203
|
+
stroke: "#2C64EF",
|
|
204
|
+
strokeWidth: 1.5,
|
|
205
|
+
strokeLinecap: "round",
|
|
206
|
+
strokeLinejoin: "round"
|
|
207
|
+
}),
|
|
208
|
+
/* @__PURE__ */ e("path", {
|
|
209
|
+
id: "Vector_21",
|
|
210
|
+
d: "M328.426 93.2646L331.689 96.5284L324.761 103.456C324.55 103.683 324.295 103.865 324.012 103.992C323.729 104.118 323.423 104.186 323.113 104.191C322.803 104.197 322.495 104.14 322.207 104.023C321.92 103.907 321.658 103.734 321.439 103.515C321.22 103.296 321.047 103.035 320.931 102.747C320.815 102.46 320.758 102.152 320.763 101.841C320.768 101.531 320.836 101.226 320.963 100.942C321.089 100.659 321.271 100.404 321.498 100.193L328.426 93.2646Z",
|
|
211
|
+
className: "brand300",
|
|
212
|
+
fill: "#2C64EF",
|
|
213
|
+
stroke: "#2C64EF",
|
|
214
|
+
strokeWidth: 1.5,
|
|
215
|
+
strokeLinecap: "round",
|
|
216
|
+
strokeLinejoin: "round"
|
|
217
|
+
})
|
|
218
|
+
]
|
|
219
|
+
})
|
|
220
|
+
]
|
|
221
|
+
}), /* @__PURE__ */ r("defs", { children: [/* @__PURE__ */ e("clipPath", {
|
|
222
|
+
id: "fee_light_clip0",
|
|
223
|
+
children: /* @__PURE__ */ e("rect", {
|
|
224
|
+
width: 41.1765,
|
|
225
|
+
height: 47.0588,
|
|
226
|
+
fill: "white",
|
|
227
|
+
transform: "translate(336.228 49.0205)"
|
|
228
|
+
})
|
|
229
|
+
}), /* @__PURE__ */ e("clipPath", {
|
|
230
|
+
id: "fee_light_clip1",
|
|
231
|
+
children: /* @__PURE__ */ e("rect", {
|
|
232
|
+
width: 49.2647,
|
|
233
|
+
height: 49.2647,
|
|
234
|
+
fill: "white",
|
|
235
|
+
transform: "matrix(-1 0 0 1 369.315 55.6387)"
|
|
236
|
+
})
|
|
237
|
+
})] })]
|
|
238
|
+
}), a = i(d);
|
|
239
|
+
export {
|
|
240
|
+
a as ReactComponent
|
|
241
|
+
};
|
|
242
|
+
|
|
243
|
+
//# sourceMappingURL=FeeDetected.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FeeDetected.es.js","names":[],"sources":["../../../../../src/insights-v2/components/shared/images/FeeDetected.svg"],"sourcesContent":["import * as React from \"react\";\nimport { forwardRef } from \"react\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst SvgFeeDetected = (props, ref) => /* @__PURE__ */ _jsxs(\"svg\", {\n\twidth: 69.63,\n\theight: 62.06,\n\tviewBox: \"318.76 47.75 69.63 62.06\",\n\tfill: \"none\",\n\txmlns: \"http://www.w3.org/2000/svg\",\n\tref,\n\t...props,\n\tchildren: [/* @__PURE__ */ _jsxs(\"g\", {\n\t\tid: \"Embedded Content | Fee Detected\",\n\t\tchildren: [\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\tid: \"Vector_2\",\n\t\t\t\topacity: .25,\n\t\t\t\td: \"M384.927 73.4087C387.943 78.5874 386.227 90.986 380.36 97.0299C375.97 101.553 361.637 108.577 353.787 107.744C336.824 105.944 348.044 85.3643 338.64 77.4848C330.851 70.958 318.747 60.8728 334.365 53.5202C344.569 48.7165 352.895 53.2886 365.162 61.8884C373.054 67.4211 378.295 62.022 384.927 73.4087Z\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tfill: \"#2C64EF\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsxs(\"g\", {\n\t\t\t\tid: \"paper\",\n\t\t\t\tclipPath: \"url(#fee_light_clip0)\",\n\t\t\t\tchildren: [\n\t\t\t\t\t/* @__PURE__ */ _jsxs(\"g\", {\n\t\t\t\t\t\tid: \"Vector_3\",\n\t\t\t\t\t\tchildren: [/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\t\t\t\td: \"M367.852 51.9608V79.9019V95.3431L366.139 93.8725L364.426 95.3431L362.705 93.8725L360.992 95.3431L359.279 93.8725L357.558 95.3431L355.845 93.8725L354.124 95.3431L352.411 93.8725L350.698 95.3431L348.977 93.8725L347.264 95.3431L345.551 93.8725L343.83 95.3431L342.117 93.8725L340.396 95.3431L338.676 93.8725L336.97 95.3431V52.6961C336.97 51.916 337.28 51.1679 337.831 50.6163C338.383 50.0648 339.131 49.7549 339.911 49.7549H370.058H370.793\",\n\t\t\t\t\t\t\tfill: \"white\"\n\t\t\t\t\t\t}), /* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\t\t\t\td: \"M370.058 49.7549H339.911C339.131 49.7549 338.383 50.0648 337.831 50.6163C337.28 51.1679 336.97 51.916 336.97 52.6961V95.3431L338.676 93.8725L340.396 95.3431L342.117 93.8725L343.83 95.3431L345.551 93.8725L347.264 95.3431L348.977 93.8725L350.698 95.3431L352.411 93.8725L354.124 95.3431L355.845 93.8725L357.558 95.3431L359.279 93.8725L360.992 95.3431L362.705 93.8725L364.426 95.3431L366.139 93.8725L367.852 95.3431V79.9019V51.9608C367.852 51.3757 368.084 50.8147 368.498 50.401C368.912 49.9873 369.473 49.7549 370.058 49.7549ZM370.058 49.7549H370.793\",\n\t\t\t\t\t\t\tclassName: \"brand300\",\n\t\t\t\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\t\t\t\tstrokeWidth: 1.5,\n\t\t\t\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t\t\t\t})]\n\t\t\t\t\t}),\n\t\t\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\t\t\tid: \"Vector_4\",\n\t\t\t\t\t\td: \"M341.374 89.4609H363.433\",\n\t\t\t\t\t\tclassName: \"brand300\",\n\t\t\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\t\t\tstrokeWidth: 1.5,\n\t\t\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t\t\t}),\n\t\t\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\t\t\tid: \"Vector_5\",\n\t\t\t\t\t\td: \"M340.639 86.5195H363.433\",\n\t\t\t\t\t\tclassName: \"brand300\",\n\t\t\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\t\t\tstrokeWidth: 1.5,\n\t\t\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t\t\t}),\n\t\t\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\t\t\tid: \"Vector_6\",\n\t\t\t\t\t\td: \"M336.963 54.167H357.551\",\n\t\t\t\t\t\tclassName: \"brand300\",\n\t\t\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\t\t\tstrokeWidth: 1.5,\n\t\t\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t\t\t}),\n\t\t\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\t\t\tid: \"Vector_7\",\n\t\t\t\t\t\td: \"M367.853 51.9608C367.853 51.3757 368.085 50.8147 368.499 50.401C368.912 49.9873 369.473 49.7549 370.058 49.7549C370.643 49.7549 371.205 49.9873 371.618 50.401C372.032 50.8147 372.264 51.3757 372.264 51.9608\",\n\t\t\t\t\t\tclassName: \"brand300\",\n\t\t\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\t\t\tstrokeWidth: 1.5,\n\t\t\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t\t\t}),\n\t\t\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\t\t\tid: \"Vector_8\",\n\t\t\t\t\t\td: \"M376.675 77.6963C376.675 78.2813 376.443 78.8424 376.029 79.2561C375.616 79.6698 375.055 79.9022 374.47 79.9022C373.885 79.9022 373.323 79.6698 372.91 79.2561C372.496 78.8424 372.264 78.2813 372.264 77.6963\",\n\t\t\t\t\t\tclassName: \"brand300\",\n\t\t\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\t\t\tstrokeWidth: 1.5,\n\t\t\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t\t\t}),\n\t\t\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\t\t\tid: \"Vector_9\",\n\t\t\t\t\t\td: \"M376.668 77.6963V65.9316\",\n\t\t\t\t\t\tclassName: \"brand300\",\n\t\t\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\t\t\tstrokeWidth: 1.5,\n\t\t\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t\t\t}),\n\t\t\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\t\t\tid: \"Vector_10\",\n\t\t\t\t\t\td: \"M376.669 65.9316H372.257\",\n\t\t\t\t\t\tclassName: \"brand300\",\n\t\t\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\t\t\tstrokeWidth: 1.5,\n\t\t\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t\t\t}),\n\t\t\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\t\t\tid: \"Vector_11\",\n\t\t\t\t\t\td: \"M374.462 79.9023H367.845\",\n\t\t\t\t\t\tclassName: \"brand300\",\n\t\t\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\t\t\tstrokeWidth: 1.5,\n\t\t\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t\t\t}),\n\t\t\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\t\t\tid: \"Vector_12\",\n\t\t\t\t\t\td: \"M367.853 51.9608C367.853 51.3757 368.085 50.8147 368.499 50.401C368.912 49.9873 369.473 49.7549 370.058 49.7549C370.643 49.7549 371.205 49.9873 371.618 50.401C372.032 50.8147 372.264 51.3757 372.264 51.9608V65.9314V77.6961C372.264 78.2811 372.497 78.8422 372.91 79.2558C373.324 79.6695 373.878 79.9019 374.463 79.9019H367.853V51.9608Z\",\n\t\t\t\t\t\tclassName: \"brand300\",\n\t\t\t\t\t\tfill: \"#2C64EF\",\n\t\t\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\t\t\tstrokeWidth: 1.5,\n\t\t\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t\t\t}),\n\t\t\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\t\t\tid: \"Vector_13\",\n\t\t\t\t\t\td: \"M372.264 65.9316V77.6963C372.264 78.2814 372.496 78.8424 372.91 79.2561C373.323 79.6698 373.877 79.9022 374.462 79.9022C375.047 79.9022 375.616 79.6698 376.029 79.2561C376.443 78.8424 376.668 78.2814 376.668 77.6963V65.9316H372.264Z\",\n\t\t\t\t\t\tfill: \"white\",\n\t\t\t\t\t\tclassName: \"brand300\",\n\t\t\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\t\t\tstrokeWidth: 1.5,\n\t\t\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t\t\t})\n\t\t\t\t]\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsxs(\"g\", {\n\t\t\t\tid: \"search\",\n\t\t\t\tclipPath: \"url(#fee_light_clip1)\",\n\t\t\t\tchildren: [\n\t\t\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\t\t\tid: \"Vector_14\",\n\t\t\t\t\t\tfillRule: \"evenodd\",\n\t\t\t\t\t\tclipRule: \"evenodd\",\n\t\t\t\t\t\td: \"M328.426 93.2653L338.117 83.5742L341.381 86.838L331.69 96.5291L328.426 93.2653Z\",\n\t\t\t\t\t\tfill: \"white\",\n\t\t\t\t\t\tclassName: \"brand300\",\n\t\t\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\t\t\tstrokeWidth: 1.5,\n\t\t\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t\t\t}),\n\t\t\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\t\t\tid: \"Vector_15\",\n\t\t\t\t\t\td: \"M351.611 90.2777C342.258 90.2777 334.676 82.6957 334.676 73.3429C334.676 63.9901 342.258 56.4082 351.611 56.4082C360.964 56.4082 368.546 63.9901 368.546 73.3429C368.546 82.6957 360.964 90.2777 351.611 90.2777Z\",\n\t\t\t\t\t\tfill: \"white\",\n\t\t\t\t\t\tclassName: \"brand300\",\n\t\t\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\t\t\tstrokeWidth: 1.5,\n\t\t\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t\t\t}),\n\t\t\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\t\t\tid: \"Vector_16\",\n\t\t\t\t\t\td: \"M351.611 87.1987C343.959 87.1987 337.755 80.9953 337.755 73.343C337.755 65.6907 343.959 59.4873 351.611 59.4873C359.263 59.4873 365.467 65.6907 365.467 73.343C365.467 80.9953 359.263 87.1987 351.611 87.1987Z\",\n\t\t\t\t\t\tclassName: \"brand300\",\n\t\t\t\t\t\tfill: \"#2C64EF\",\n\t\t\t\t\t\tfillOpacity: .1,\n\t\t\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\t\t\tstrokeWidth: 1.5,\n\t\t\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t\t\t}),\n\t\t\t\t\t/* @__PURE__ */ _jsxs(\"g\", {\n\t\t\t\t\t\tid: \"$\",\n\t\t\t\t\t\tchildren: [/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\t\t\t\tid: \"Vector_17\",\n\t\t\t\t\t\t\td: \"M355.807 69.0546C355.56 68.4667 355.147 67.9631 354.62 67.6045C354.092 67.246 353.472 67.0478 352.834 67.034C352.361 67.034 351.887 67.034 351.419 67.034C350.675 66.9659 349.925 67.0541 349.217 67.2928C348.633 67.5589 348.137 67.9874 347.79 68.5272C347.442 69.0671 347.257 69.6954 347.257 70.3374V70.3374C347.254 71.0279 347.467 71.702 347.867 72.2649C348.267 72.8278 348.834 73.2512 349.487 73.4757C350.198 73.6463 350.932 73.7021 351.661 73.6408C352.362 73.5843 353.067 73.6307 353.754 73.7785C354.426 73.9901 355.014 74.4116 355.43 74.9812C355.846 75.5509 356.069 76.2388 356.066 76.9442C356.065 77.5882 355.878 78.2181 355.527 78.7582C355.176 79.2984 354.677 79.7257 354.089 79.9888C353.382 80.2284 352.631 80.3165 351.887 80.2476C351.414 80.2476 350.94 80.2476 350.472 80.2476C349.834 80.2338 349.214 80.0357 348.687 79.6771C348.159 79.3185 347.747 78.8149 347.499 78.227\",\n\t\t\t\t\t\t\tclassName: \"brand300\",\n\t\t\t\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\t\t\t\tstrokeWidth: 1.5,\n\t\t\t\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t\t\t\t}), /* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\t\t\t\tid: \"Vector_18\",\n\t\t\t\t\t\t\td: \"M351.656 65.9336V81.3494\",\n\t\t\t\t\t\t\tclassName: \"brand300\",\n\t\t\t\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\t\t\t\tstrokeWidth: 1.5,\n\t\t\t\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t\t\t\t})]\n\t\t\t\t\t}),\n\t\t\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\t\t\tid: \"Vector_19\",\n\t\t\t\t\t\td: \"M352.712 62.6191C350.912 62.4276 349.094 62.6923 347.424 63.3889\",\n\t\t\t\t\t\tclassName: \"brand300\",\n\t\t\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\t\t\tstrokeWidth: 1.5,\n\t\t\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t\t\t}),\n\t\t\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\t\t\tid: \"Vector_20\",\n\t\t\t\t\t\td: \"M355.798 63.4123C355.59 63.3277 355.382 63.243 355.159 63.166\",\n\t\t\t\t\t\tclassName: \"brand300\",\n\t\t\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\t\t\tstrokeWidth: 1.5,\n\t\t\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t\t\t}),\n\t\t\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\t\t\tid: \"Vector_21\",\n\t\t\t\t\t\td: \"M328.426 93.2646L331.689 96.5284L324.761 103.456C324.55 103.683 324.295 103.865 324.012 103.992C323.729 104.118 323.423 104.186 323.113 104.191C322.803 104.197 322.495 104.14 322.207 104.023C321.92 103.907 321.658 103.734 321.439 103.515C321.22 103.296 321.047 103.035 320.931 102.747C320.815 102.46 320.758 102.152 320.763 101.841C320.768 101.531 320.836 101.226 320.963 100.942C321.089 100.659 321.271 100.404 321.498 100.193L328.426 93.2646Z\",\n\t\t\t\t\t\tclassName: \"brand300\",\n\t\t\t\t\t\tfill: \"#2C64EF\",\n\t\t\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\t\t\tstrokeWidth: 1.5,\n\t\t\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t\t\t})\n\t\t\t\t]\n\t\t\t})\n\t\t]\n\t}), /* @__PURE__ */ _jsxs(\"defs\", { children: [/* @__PURE__ */ _jsx(\"clipPath\", {\n\t\tid: \"fee_light_clip0\",\n\t\tchildren: /* @__PURE__ */ _jsx(\"rect\", {\n\t\t\twidth: 41.1765,\n\t\t\theight: 47.0588,\n\t\t\tfill: \"white\",\n\t\t\ttransform: \"translate(336.228 49.0205)\"\n\t\t})\n\t}), /* @__PURE__ */ _jsx(\"clipPath\", {\n\t\tid: \"fee_light_clip1\",\n\t\tchildren: /* @__PURE__ */ _jsx(\"rect\", {\n\t\t\twidth: 49.2647,\n\t\t\theight: 49.2647,\n\t\t\tfill: \"white\",\n\t\t\ttransform: \"matrix(-1 0 0 1 369.315 55.6387)\"\n\t\t})\n\t})] })]\n});\nconst ForwardRef = forwardRef(SvgFeeDetected);\nexport { ForwardRef as ReactComponent };\n"],"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other
|
|
3
|
+
* guid, a malformed name, or a name mx-icons does not define — so a caller renders nothing rather
|
|
4
|
+
* than an empty box. ditto names a status icon this way where a block has no entity logo (account_block
|
|
5
|
+
* `minimal`).
|
|
6
|
+
*/
|
|
7
|
+
export declare const statusIconName: (guid?: string | null) => string | undefined;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IconList as o } from "@mxenabled/mx-icons";
|
|
2
|
+
var n = (e) => {
|
|
3
|
+
const t = /^ICO-([a-z0-9_]+)$/.exec(e ?? "")?.[1];
|
|
4
|
+
return t && Object.hasOwn(o, t) ? t : void 0;
|
|
5
|
+
};
|
|
6
|
+
export {
|
|
7
|
+
n as statusIconName
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
//# sourceMappingURL=statusIcon.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"statusIcon.es.js","names":[],"sources":["../../../src/insights-v2/components/statusIcon.ts"],"sourcesContent":["import { IconList } from '@mxenabled/mx-icons'\n\n/**\n * The mx-icons name an `ICO-<name>` guid carries (`ICO-error` → `error`), or undefined for any other\n * guid, a malformed name, or a name mx-icons does not define — so a caller renders nothing rather\n * than an empty box. ditto names a status icon this way where a block has no entity logo (account_block\n * `minimal`).\n */\nexport const statusIconName = (guid?: string | null): string | undefined => {\n const name = /^ICO-([a-z0-9_]+)$/.exec(guid ?? '')?.[1]\n\n // Own keys only: `in` would also accept inherited names such as `constructor`.\n return name && Object.hasOwn(IconList, name) ? name : undefined\n}\n"],"mappings":";AAQA,IAAa,IAAA,CAAkB,MAA6C;AAC1E,QAAM,IAAO,qBAAqB,KAAK,KAAQ,EAAE,IAAI,CAAA;AAGrD,SAAO,KAAQ,OAAO,OAAO,GAAU,CAAI,IAAI,IAAO;AACxD"}
|