@mx-cartographer/experiences 9.7.49 → 9.7.50

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 CHANGED
@@ -1,3 +1,10 @@
1
+ ## [9.7.50] - 10-27-2026
2
+
3
+ - **CHANGED** - Help Request Support: the Institution card no longer lists "Login Issues" (it went straight to ticket submission); Login Issues is its own card that opens the help articles (WEC-1877)
4
+ - **ADDED** - The four Login Issues help articles are also listed under General FAQs on the main help screen, opening the same article pages (General FAQs delegates those topics to the `LoginIssues` section) (WEC-1877)
5
+ - **CHANGED** - General FAQs lists the four Login Issues articles first. Topics can set `copyIndex` to read a specific copy label, so the display order changes without reordering the copy (WEC-1877)
6
+ - **FIXED** - Even line spacing in Request Support's Contact Your Bank bullets (the theme's 44px list-item minimum padded one-line bullets but not wrapped ones) and between Login Issues article steps, via an optional `itemGap` on the shared help `List` (WEC-1877)
7
+
1
8
  ## [9.7.49] - 10-26-2026
2
9
 
3
10
  - **FIXED** - Transaction Details drilldown design QA (WEC-2137): the merchant logo no longer carries an elevation shadow (64px, radius 8, flat), and the account feed line is 9/12 bold 700 uppercase with 0.27px tracking in `text.secondary`, with the masked account number on that line instead of the account name line. A long feed description truncates in its line without pushing the number out, the number is omitted when the account has none, and the logo keeps a `background.paper` surface
@@ -1,30 +1,7 @@
1
- import { HelpByCategoryDefinition } from '../types/Help';
2
- export declare const HELP_CATEGORIES: ({
3
- guid: string;
4
- icon: string;
5
- title: string;
6
- topics: {
7
- topicKey: string;
8
- }[];
9
- flags?: undefined;
10
- } | {
11
- flags: string[];
12
- guid: string;
13
- icon: string;
14
- title: string;
15
- topics: {
16
- topicKey: string;
17
- }[];
18
- } | {
19
- flags: string[];
20
- guid: string;
21
- icon: string;
22
- title: string;
23
- topics: {
24
- label: string;
25
- topicKey: string;
26
- }[];
27
- })[];
1
+ import { HelpByCategoryDefinition, HelpCategoryDefinition } from '../types/Help';
2
+ export declare const LOGIN_ISSUE_TOPIC_KEYS: readonly ["not-receiving-code", "wrong-phone-number", "outdated-contact-info", "new-code-or-token"];
3
+ export declare const isLoginIssueTopic: (topicKey: string) => boolean;
4
+ export declare const HELP_CATEGORIES: HelpCategoryDefinition[];
28
5
  export declare const HELP_CONTENT: {
29
6
  accounts: {
30
7
  guid: string;
@@ -1,13 +1,46 @@
1
- var e = [
1
+ var t = [
2
+ "not-receiving-code",
3
+ "wrong-phone-number",
4
+ "outdated-contact-info",
5
+ "new-code-or-token"
6
+ ], i = (e) => t.includes(e), o = [
2
7
  {
3
8
  guid: "general",
4
9
  icon: "info",
5
10
  title: "General FAQs",
6
11
  topics: [
7
- { topicKey: "is-my-data-private-and-secure" },
8
- { topicKey: "why-are-some-of-my-transactions-uncategorized" },
9
- { topicKey: "why-cant-i-see-the-software" },
10
- { topicKey: "how-do-i-log-out-of-the-software" }
12
+ {
13
+ topicKey: "not-receiving-code",
14
+ copyIndex: 4
15
+ },
16
+ {
17
+ topicKey: "wrong-phone-number",
18
+ copyIndex: 5
19
+ },
20
+ {
21
+ topicKey: "outdated-contact-info",
22
+ copyIndex: 6
23
+ },
24
+ {
25
+ topicKey: "new-code-or-token",
26
+ copyIndex: 7
27
+ },
28
+ {
29
+ topicKey: "is-my-data-private-and-secure",
30
+ copyIndex: 0
31
+ },
32
+ {
33
+ topicKey: "why-are-some-of-my-transactions-uncategorized",
34
+ copyIndex: 1
35
+ },
36
+ {
37
+ topicKey: "why-cant-i-see-the-software",
38
+ copyIndex: 2
39
+ },
40
+ {
41
+ topicKey: "how-do-i-log-out-of-the-software",
42
+ copyIndex: 3
43
+ }
11
44
  ]
12
45
  },
13
46
  {
@@ -94,10 +127,7 @@ var e = [
94
127
  guid: "recurring_transactions",
95
128
  icon: "currency_exchange",
96
129
  title: "Recurring Transactions",
97
- topics: [{
98
- label: "Recurring Transactions Widget Overview",
99
- topicKey: "overview"
100
- }]
130
+ topics: [{ topicKey: "overview" }]
101
131
  },
102
132
  {
103
133
  flags: ["show_investments_widget_in_master"],
@@ -126,7 +156,7 @@ var e = [
126
156
  title: "Mobile",
127
157
  topics: [{ topicKey: "mobile-devices-overview" }]
128
158
  }
129
- ], t = [
159
+ ], n = [
130
160
  {
131
161
  guid: "personal_information",
132
162
  icon: "person",
@@ -153,7 +183,6 @@ var e = [
153
183
  topics: [
154
184
  { type: "external" },
155
185
  { type: "other" },
156
- { type: "internal" },
157
186
  { type: "internal" }
158
187
  ]
159
188
  },
@@ -181,7 +210,7 @@ var e = [
181
210
  icon: "call",
182
211
  topics: []
183
212
  }
184
- ], i = [
213
+ ], c = [
185
214
  { type: "external" },
186
215
  { type: "external" },
187
216
  { type: "external" },
@@ -190,9 +219,11 @@ var e = [
190
219
  { type: "internal" }
191
220
  ];
192
221
  export {
193
- t as HELP_BY_CATEGORY_LIST,
194
- e as HELP_CATEGORIES,
195
- i as POPULAR_TOPICS_LIST
222
+ n as HELP_BY_CATEGORY_LIST,
223
+ o as HELP_CATEGORIES,
224
+ t as LOGIN_ISSUE_TOPIC_KEYS,
225
+ c as POPULAR_TOPICS_LIST,
226
+ i as isLoginIssueTopic
196
227
  };
197
228
 
198
229
  //# sourceMappingURL=Help.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Help.es.js","names":[],"sources":["../../../src/core/constants/Help.ts"],"sourcesContent":["import type { HelpByCategoryDefinition } from '../types/Help'\n\nexport const HELP_CATEGORIES = [\n {\n guid: 'general',\n icon: 'info',\n title: 'General FAQs',\n topics: [\n {\n topicKey: 'is-my-data-private-and-secure',\n },\n {\n topicKey: 'why-are-some-of-my-transactions-uncategorized',\n },\n {\n topicKey: 'why-cant-i-see-the-software',\n },\n {\n topicKey: 'how-do-i-log-out-of-the-software',\n },\n ],\n },\n {\n flags: ['show_accounts_widget_in_master'],\n guid: 'accounts',\n icon: 'account_balance',\n title: 'Accounts',\n topics: [\n {\n topicKey: 'accounts-overview',\n },\n {\n topicKey: 'trouble-adding-an-account',\n },\n {\n topicKey: 'need-to-fix-a-broken-account',\n },\n {\n topicKey: 'seeing-outdated-accounts-or-paid-off-loans',\n },\n {\n topicKey: 'seeing-duplicate-accounts',\n },\n ],\n },\n {\n flags: ['show_transactions_widget_in_master'],\n guid: 'transactions',\n icon: 'receipt_long',\n title: 'Transactions',\n topics: [\n {\n topicKey: 'transactions-overview',\n },\n {\n topicKey: 'seeing-duplicate-transactions',\n },\n {\n topicKey: 'missing-transactions',\n },\n {\n topicKey: 'pending-transactions',\n },\n {\n topicKey: 'exporting-transactions',\n },\n ],\n },\n {\n flags: ['show_spending_widget_in_master'],\n guid: 'spending',\n icon: 'donut_small',\n title: 'Spending',\n topics: [\n {\n topicKey: 'spending-widget-overview',\n },\n {\n topicKey: 'not-seeing-all-spending-categories',\n },\n {\n topicKey: 'spending-categories-seem-inaccurate',\n },\n ],\n },\n {\n flags: ['show_budgets_widget_in_master'],\n guid: 'budgets',\n icon: 'bubble_chart',\n title: 'Budgets',\n topics: [\n {\n topicKey: 'budgets-overview',\n },\n ],\n },\n {\n flags: ['show_trends_widget_in_master'],\n guid: 'trends',\n icon: 'multiline_chart',\n title: 'Trends',\n topics: [\n {\n topicKey: 'trends-overview',\n },\n ],\n },\n {\n flags: ['show_debts_widget_in_master'],\n guid: 'debts',\n icon: 'note_stack',\n title: 'Debts',\n topics: [\n {\n topicKey: 'debts-overview',\n },\n ],\n },\n {\n flags: ['show_net_worth_widget_in_master'],\n guid: 'networth',\n icon: 'elevation',\n title: 'Net Worth',\n topics: [\n {\n topicKey: 'net-worth-overview',\n },\n ],\n },\n {\n flags: ['show_goals_widget_in_master'],\n guid: 'goals',\n icon: 'trophy',\n title: 'Goals',\n topics: [\n {\n topicKey: 'goals-overview',\n },\n ],\n },\n {\n flags: ['show_cash_flow_widget_in_master'],\n guid: 'cashflow',\n icon: 'flowsheet',\n title: 'Cash Flow',\n topics: [\n {\n topicKey: 'cash-flow-overview',\n },\n ],\n },\n {\n flags: ['show_recurring_transactions_widget_in_master'],\n guid: 'recurring_transactions',\n icon: 'currency_exchange',\n title: 'Recurring Transactions',\n topics: [\n {\n label: 'Recurring Transactions Widget Overview',\n topicKey: 'overview',\n },\n ],\n },\n {\n flags: ['show_investments_widget_in_master'],\n guid: 'investments',\n icon: 'bid_landscape',\n title: 'Investments',\n topics: [\n {\n topicKey: 'investments-overview',\n },\n ],\n },\n {\n flags: ['show_notifications_widget_in_master'],\n guid: 'alerts',\n icon: 'account_balance',\n title: 'Alerts',\n topics: [\n {\n topicKey: 'notifications-overview',\n },\n ],\n },\n {\n guid: 'insights',\n icon: 'lightbulb',\n title: 'Insights',\n topics: [\n {\n topicKey: 'insights-widget-overview',\n },\n ],\n },\n {\n flags: ['display_mobile_devices_in_settings'],\n guid: 'mobile',\n icon: 'phone_iphone',\n title: 'Mobile',\n topics: [\n {\n topicKey: 'mobile-devices-overview',\n },\n ],\n },\n]\n\nexport const HELP_CONTENT = {\n accounts: {\n guid: 'accounts',\n title: 'Accounts',\n topicTitle: 'Accounts Overview',\n content: {\n section1: {\n description:\n \"FinTech Solutions is committed to revolutionizing the way individuals and businesses manage their finances. By providing an integrated platform of smart tools, we make it easier to track personal expenses, manage investments, and optimize business finances all in one place. Our innovative technology empowers users to make informed decisions, whether it's monitoring their spending, analyzing investment performance, or ensuring smooth cash flow for their business operations. With a focus on security, simplicity, and efficiency, FinTech Solutions helps users navigate the complexities of finance with confidence and clarity. Our platform is designed to be intuitive, scalable, and adaptable, allowing users to customize their financial strategies according to their unique needs, ensuring long-term growth and financial success.\",\n image: 'https://assets.mx.com/images/company/careers/value-box-bg.png',\n title: 'Revolutionizing Financial Management',\n },\n section2: {\n description:\n \"FinTech Solutions is committed to revolutionizing the way individuals and businesses manage their finances. By providing an integrated platform of smart tools, we make it easier to track personal expenses, manage investments, and optimize business finances all in one place. Our innovative technology empowers users to make informed decisions, whether it's monitoring their spending, analyzing investment performance, or ensuring smooth cash flow for their business operations. With a focus on security, simplicity, and efficiency, FinTech Solutions helps users navigate the complexities of finance with confidence and clarity.\",\n image: 'https://assets.mx.com/images/company/careers/value-box-bg.png',\n listItems: [\n 'Easily track expenses and manage personal finances.',\n 'Easily track expenses and manage personal finances.',\n 'Manage cash flow and financial operations in one platform.',\n 'Ensure your financial data is protected with industry-leading security measures',\n ],\n listTitle: 'Effortless Financial Solutions',\n subDescription:\n 'FinTech Solutions combines advanced technology with intuitive tools to make financial management easy for both individuals and businesses. Our platform offers everything from budgeting features to real-time insights, empowering users to take control of their financial future with confidence and security.',\n subTitle: 'Simplifying Financial Management',\n title: 'Empowering Financial Management',\n },\n section3: {\n description:\n 'FinTech Solutions provides the tools and insights needed to make informed financial choices. From budgeting and investment tracking to comprehensive business financial management, our platform delivers real-time data and personalized recommendations. With a focus on ease of use and security, we help users navigate the complexities of finance and achieve their financial goals with confidence.',\n image: 'https://assets.mx.com/images/company/careers/value-box-bg.png',\n listItems: [\n 'Track expenses, set budgets, and achieve savings goals.',\n 'Monitor and analyze your investments with real-time updates.',\n 'Streamline cash flow management and financial reporting.',\n 'Protect your financial data with top-tier encryption and security protocols.',\n ],\n listTitle: 'Complete Financial Tools',\n title: 'Empowering Smarter Financial Decisions',\n },\n section4: {\n description:\n \"FinTech Solutions simplifies managing your finances with powerful tools designed for both individuals and businesses. Whether you're tracking personal spending, optimizing investments, or streamlining business operations, our platform provides the insights and features you need to make confident financial decisions. With a focus on ease of use and data security, we help you stay in control of your financial future. Our innovative solutions offer real-time updates, personalized recommendations, and automated reporting, ensuring you're always in the know. Plus, with scalable features tailored to your needs, our platform grows with you, making it the ideal choice for anyone looking to take charge of their financial journey.\",\n title: 'Seamless Financial Management',\n },\n },\n },\n}\n\n// TODO: Add more keys for additional logic\nexport const HELP_BY_CATEGORY_LIST: HelpByCategoryDefinition[] = [\n {\n guid: 'personal_information',\n icon: 'person',\n topics: [\n {\n type: 'external',\n },\n {\n type: 'external',\n },\n {\n type: 'internal',\n },\n {\n type: 'external',\n },\n ],\n },\n {\n guid: 'money_movement',\n icon: 'currency_exchange',\n topics: [\n {\n type: 'external',\n },\n {\n type: 'external',\n },\n {\n type: 'external',\n },\n {\n type: 'external',\n },\n ],\n },\n {\n guid: 'institution',\n icon: 'account_balance',\n topics: [\n {\n type: 'external',\n },\n {\n type: 'other',\n },\n {\n type: 'internal',\n },\n {\n type: 'internal',\n },\n ],\n },\n {\n guid: 'transactions',\n icon: 'compare_arrows',\n topics: [\n {\n type: 'internal',\n },\n {\n type: 'external',\n },\n {\n type: 'internal',\n },\n ],\n },\n {\n guid: 'login_issues',\n icon: 'lock',\n topics: [\n { topicKey: 'not-receiving-code' },\n { topicKey: 'wrong-phone-number' },\n { topicKey: 'outdated-contact-info' },\n { topicKey: 'new-code-or-token' },\n ],\n },\n {\n guid: 'contact_your_bank',\n icon: 'call',\n topics: [],\n },\n]\n\n// TODO: Add more keys for additional logic\nexport const POPULAR_TOPICS_LIST = [\n {\n type: 'external',\n },\n {\n type: 'external',\n },\n {\n type: 'external',\n },\n {\n type: 'external',\n },\n {\n type: 'other',\n },\n {\n type: 'internal',\n },\n]\n"],"mappings":"AAEA,IAAa,IAAkB;AAAA,EAC7B;AAAA,IACE,MAAM;AAAA,IACN,MAAM;AAAA,IACN,OAAO;AAAA,IACP,QAAQ;AAAA,MACN,EACE,UAAU,gCACZ;AAAA,MACA,EACE,UAAU,gDACZ;AAAA,MACA,EACE,UAAU,8BACZ;AAAA,MACA,EACE,UAAU,mCACZ;AAAA,IACF;AAAA,EACF;AAAA,EACA;AAAA,IACE,OAAO,CAAC,gCAAgC;AAAA,IACxC,MAAM;AAAA,IACN,MAAM;AAAA,IACN,OAAO;AAAA,IACP,QAAQ;AAAA,MACN,EACE,UAAU,oBACZ;AAAA,MACA,EACE,UAAU,4BACZ;AAAA,MACA,EACE,UAAU,+BACZ;AAAA,MACA,EACE,UAAU,6CACZ;AAAA,MACA,EACE,UAAU,4BACZ;AAAA,IACF;AAAA,EACF;AAAA,EACA;AAAA,IACE,OAAO,CAAC,oCAAoC;AAAA,IAC5C,MAAM;AAAA,IACN,MAA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ACF;AAAA,EACF;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,MAAM;AAAA,IACN,QAAQ;AAAA,MACN,EACE,MAAM,WACR;AAAA,MACA,EACE,MAAM,QACR;AAAA,MACA,EACE,MAAM,WACR;AAAA,MACA,EACE,MAAM,WACR;AAAA,IACF;AAAA,EACF;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,MAAM;AAAA,IACN,QAAQ;AAAA,MACN,EACE,MAAM,WACR;AAAA,MACA,EACE,MAAM,WACR;AAAA,MACA,EACE,MAAM,WACR;AAAA,IACF;AAAA,EACF;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,MAAM;AAAA,IACN,QAAQ;AAAA,MACN,EAAE,UAAU,qBAAqB;AAAA,MACjC,EAAE,UAAU,qBAAqB;AAAA,MACjC,EAAE,UAAU,wBAAwB;AAAA,MACpC,EAAE,UAAU,oBAAoB;AAAA,IAClC;AAAA,EACF;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,MAAM;AAAA,IACN,QAAQ,CAAC;AAAA,EACX;AACF,GAGa,IAAsB;AAAA,EACjC,EACE,MAAM,WACR;AAAA,EACA,EACE,MAAM,WACR;AAAA,EACA,EACE,MAAM,WACR;AAAA,EACA,EACE,MAAM,WACR;AAAA,EACA,EACE,MAAM,QACR;AAAA,EACA,EACE,MAAM,WACR;AACF"}
1
+ {"version":3,"file":"Help.es.js","names":[],"sources":["../../../src/core/constants/Help.ts"],"sourcesContent":["import type { HelpByCategoryDefinition, HelpCategoryDefinition } from '../types/Help'\n\n// Topic keys of the Login Issues articles. They are listed under General FAQs and the Login Issues\n// support card; the LoginIssues section renders them in both places.\nexport const LOGIN_ISSUE_TOPIC_KEYS = [\n 'not-receiving-code',\n 'wrong-phone-number',\n 'outdated-contact-info',\n 'new-code-or-token',\n] as const\n\nexport const isLoginIssueTopic = (topicKey: string) =>\n (LOGIN_ISSUE_TOPIC_KEYS as readonly string[]).includes(topicKey)\n\n// Topics pair with `copy.category_list[guid].topics` by position, so their order must match the\n// copy service's. A topic with `copyIndex` reads that copy label instead, so it can be shown in a\n// different order without reordering the copy.\nexport const HELP_CATEGORIES: HelpCategoryDefinition[] = [\n {\n guid: 'general',\n icon: 'info',\n title: 'General FAQs',\n topics: [\n // Login Issues articles first (rendered by the LoginIssues section); their copy labels sit\n // after the general ones, hence the explicit copyIndex.\n { topicKey: 'not-receiving-code', copyIndex: 4 },\n { topicKey: 'wrong-phone-number', copyIndex: 5 },\n { topicKey: 'outdated-contact-info', copyIndex: 6 },\n { topicKey: 'new-code-or-token', copyIndex: 7 },\n { topicKey: 'is-my-data-private-and-secure', copyIndex: 0 },\n {\n topicKey: 'why-are-some-of-my-transactions-uncategorized',\n copyIndex: 1,\n },\n { topicKey: 'why-cant-i-see-the-software', copyIndex: 2 },\n { topicKey: 'how-do-i-log-out-of-the-software', copyIndex: 3 },\n ],\n },\n {\n flags: ['show_accounts_widget_in_master'],\n guid: 'accounts',\n icon: 'account_balance',\n title: 'Accounts',\n topics: [\n {\n topicKey: 'accounts-overview',\n },\n {\n topicKey: 'trouble-adding-an-account',\n },\n {\n topicKey: 'need-to-fix-a-broken-account',\n },\n {\n topicKey: 'seeing-outdated-accounts-or-paid-off-loans',\n },\n {\n topicKey: 'seeing-duplicate-accounts',\n },\n ],\n },\n {\n flags: ['show_transactions_widget_in_master'],\n guid: 'transactions',\n icon: 'receipt_long',\n title: 'Transactions',\n topics: [\n {\n topicKey: 'transactions-overview',\n },\n {\n topicKey: 'seeing-duplicate-transactions',\n },\n {\n topicKey: 'missing-transactions',\n },\n {\n topicKey: 'pending-transactions',\n },\n {\n topicKey: 'exporting-transactions',\n },\n ],\n },\n {\n flags: ['show_spending_widget_in_master'],\n guid: 'spending',\n icon: 'donut_small',\n title: 'Spending',\n topics: [\n {\n topicKey: 'spending-widget-overview',\n },\n {\n topicKey: 'not-seeing-all-spending-categories',\n },\n {\n topicKey: 'spending-categories-seem-inaccurate',\n },\n ],\n },\n {\n flags: ['show_budgets_widget_in_master'],\n guid: 'budgets',\n icon: 'bubble_chart',\n title: 'Budgets',\n topics: [\n {\n topicKey: 'budgets-overview',\n },\n ],\n },\n {\n flags: ['show_trends_widget_in_master'],\n guid: 'trends',\n icon: 'multiline_chart',\n title: 'Trends',\n topics: [\n {\n topicKey: 'trends-overview',\n },\n ],\n },\n {\n flags: ['show_debts_widget_in_master'],\n guid: 'debts',\n icon: 'note_stack',\n title: 'Debts',\n topics: [\n {\n topicKey: 'debts-overview',\n },\n ],\n },\n {\n flags: ['show_net_worth_widget_in_master'],\n guid: 'networth',\n icon: 'elevation',\n title: 'Net Worth',\n topics: [\n {\n topicKey: 'net-worth-overview',\n },\n ],\n },\n {\n flags: ['show_goals_widget_in_master'],\n guid: 'goals',\n icon: 'trophy',\n title: 'Goals',\n topics: [\n {\n topicKey: 'goals-overview',\n },\n ],\n },\n {\n flags: ['show_cash_flow_widget_in_master'],\n guid: 'cashflow',\n icon: 'flowsheet',\n title: 'Cash Flow',\n topics: [\n {\n topicKey: 'cash-flow-overview',\n },\n ],\n },\n {\n flags: ['show_recurring_transactions_widget_in_master'],\n guid: 'recurring_transactions',\n icon: 'currency_exchange',\n title: 'Recurring Transactions',\n topics: [\n {\n topicKey: 'overview',\n },\n ],\n },\n {\n flags: ['show_investments_widget_in_master'],\n guid: 'investments',\n icon: 'bid_landscape',\n title: 'Investments',\n topics: [\n {\n topicKey: 'investments-overview',\n },\n ],\n },\n {\n flags: ['show_notifications_widget_in_master'],\n guid: 'alerts',\n icon: 'account_balance',\n title: 'Alerts',\n topics: [\n {\n topicKey: 'notifications-overview',\n },\n ],\n },\n {\n guid: 'insights',\n icon: 'lightbulb',\n title: 'Insights',\n topics: [\n {\n topicKey: 'insights-widget-overview',\n },\n ],\n },\n {\n flags: ['display_mobile_devices_in_settings'],\n guid: 'mobile',\n icon: 'phone_iphone',\n title: 'Mobile',\n topics: [\n {\n topicKey: 'mobile-devices-overview',\n },\n ],\n },\n]\n\nexport const HELP_CONTENT = {\n accounts: {\n guid: 'accounts',\n title: 'Accounts',\n topicTitle: 'Accounts Overview',\n content: {\n section1: {\n description:\n \"FinTech Solutions is committed to revolutionizing the way individuals and businesses manage their finances. By providing an integrated platform of smart tools, we make it easier to track personal expenses, manage investments, and optimize business finances all in one place. Our innovative technology empowers users to make informed decisions, whether it's monitoring their spending, analyzing investment performance, or ensuring smooth cash flow for their business operations. With a focus on security, simplicity, and efficiency, FinTech Solutions helps users navigate the complexities of finance with confidence and clarity. Our platform is designed to be intuitive, scalable, and adaptable, allowing users to customize their financial strategies according to their unique needs, ensuring long-term growth and financial success.\",\n image: 'https://assets.mx.com/images/company/careers/value-box-bg.png',\n title: 'Revolutionizing Financial Management',\n },\n section2: {\n description:\n \"FinTech Solutions is committed to revolutionizing the way individuals and businesses manage their finances. By providing an integrated platform of smart tools, we make it easier to track personal expenses, manage investments, and optimize business finances all in one place. Our innovative technology empowers users to make informed decisions, whether it's monitoring their spending, analyzing investment performance, or ensuring smooth cash flow for their business operations. With a focus on security, simplicity, and efficiency, FinTech Solutions helps users navigate the complexities of finance with confidence and clarity.\",\n image: 'https://assets.mx.com/images/company/careers/value-box-bg.png',\n listItems: [\n 'Easily track expenses and manage personal finances.',\n 'Easily track expenses and manage personal finances.',\n 'Manage cash flow and financial operations in one platform.',\n 'Ensure your financial data is protected with industry-leading security measures',\n ],\n listTitle: 'Effortless Financial Solutions',\n subDescription:\n 'FinTech Solutions combines advanced technology with intuitive tools to make financial management easy for both individuals and businesses. Our platform offers everything from budgeting features to real-time insights, empowering users to take control of their financial future with confidence and security.',\n subTitle: 'Simplifying Financial Management',\n title: 'Empowering Financial Management',\n },\n section3: {\n description:\n 'FinTech Solutions provides the tools and insights needed to make informed financial choices. From budgeting and investment tracking to comprehensive business financial management, our platform delivers real-time data and personalized recommendations. With a focus on ease of use and security, we help users navigate the complexities of finance and achieve their financial goals with confidence.',\n image: 'https://assets.mx.com/images/company/careers/value-box-bg.png',\n listItems: [\n 'Track expenses, set budgets, and achieve savings goals.',\n 'Monitor and analyze your investments with real-time updates.',\n 'Streamline cash flow management and financial reporting.',\n 'Protect your financial data with top-tier encryption and security protocols.',\n ],\n listTitle: 'Complete Financial Tools',\n title: 'Empowering Smarter Financial Decisions',\n },\n section4: {\n description:\n \"FinTech Solutions simplifies managing your finances with powerful tools designed for both individuals and businesses. Whether you're tracking personal spending, optimizing investments, or streamlining business operations, our platform provides the insights and features you need to make confident financial decisions. With a focus on ease of use and data security, we help you stay in control of your financial future. Our innovative solutions offer real-time updates, personalized recommendations, and automated reporting, ensuring you're always in the know. Plus, with scalable features tailored to your needs, our platform grows with you, making it the ideal choice for anyone looking to take charge of their financial journey.\",\n title: 'Seamless Financial Management',\n },\n },\n },\n}\n\n// TODO: Add more keys for additional logic\n// Topics pair with `copy.help_by_category_list[guid].topics` by position, so their order must match\n// the copy service's.\nexport const HELP_BY_CATEGORY_LIST: HelpByCategoryDefinition[] = [\n {\n guid: 'personal_information',\n icon: 'person',\n topics: [\n {\n type: 'external',\n },\n {\n type: 'external',\n },\n {\n type: 'internal',\n },\n {\n type: 'external',\n },\n ],\n },\n {\n guid: 'money_movement',\n icon: 'currency_exchange',\n topics: [\n {\n type: 'external',\n },\n {\n type: 'external',\n },\n {\n type: 'external',\n },\n {\n type: 'external',\n },\n ],\n },\n {\n guid: 'institution',\n icon: 'account_balance',\n // Login Issues is its own card (articles), so it is no longer a ticket row here.\n topics: [\n {\n type: 'external',\n },\n {\n type: 'other',\n },\n {\n type: 'internal',\n },\n ],\n },\n {\n guid: 'transactions',\n icon: 'compare_arrows',\n topics: [\n {\n type: 'internal',\n },\n {\n type: 'external',\n },\n {\n type: 'internal',\n },\n ],\n },\n {\n guid: 'login_issues',\n icon: 'lock',\n topics: [\n { topicKey: 'not-receiving-code' },\n { topicKey: 'wrong-phone-number' },\n { topicKey: 'outdated-contact-info' },\n { topicKey: 'new-code-or-token' },\n ],\n },\n {\n guid: 'contact_your_bank',\n icon: 'call',\n topics: [],\n },\n]\n\n// TODO: Add more keys for additional logic\nexport const POPULAR_TOPICS_LIST = [\n {\n type: 'external',\n },\n {\n type: 'external',\n },\n {\n type: 'external',\n },\n {\n type: 'external',\n },\n {\n type: 'other',\n },\n {\n type: 'internal',\n },\n]\n"],"mappings":"AAIA,IAAa,IAAyB;AAAA,EACpC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAEa,IAAA,CAAqB,MAC/B,EAA6C,SAAS,CAAQ,GAKpD,IAA4C;AAAA,EACvD;AAAA,IACE,MAAM;AAAA,IACN,MAAM;AAAA,IACN,OAAO;AAAA,IACP,QAAQ;AAAA,MAGN;AAAA,QAAE,UAAU;AAAA,QAAsB,WAAW;AAAA,MAAE;AAAA,MAC/C;AAAA,QAAE,UAAU;AAAA,QAAsB,WAAW;AAAA,MAAE;AAAA,MAC/C;AAAA,QAAE,UAAU;AAAA,QAAyB,WAAW;AAAA,MAAE;AAAA,MAClD;AAAA,QAAE,UAAU;AAAA,QAAqB,WAAW;AAAA,MAAE;AAAA,MAC9C;AAAA,QAAE,UAAU;AAAA,QAAiC,WAAW;AAAA,MAAE;AAAA,MAC1D;AAAA,QACE,UAAU;AAAA,QACV,WAAW;AAAA,MACb;AAAA,MACA;AAAA,QAAE,UAAU;AAAA,QAA+B,WAAW;AAAA,MAAE;AAAA,MACxD;AAAA,QAAE,UAAU;AAAA,QAAoC,WAAW;AAAA,MAAE;AAAA,IAC/D;AAAA,EACF;AAAA,EACA;AAAA,IACE,OAAO,CAAC,gCAAgC;AAAA,IACxC,MAAM;AAAA,IACN,MAAM;AAAA,IACN,OAAO;AAAA,IACP,QAAQ;AAAA,MACN,EACE,UAAU,oBACZ;AAAA,MACA,EACE,UAAU,4BACZ;AAAA,MACA,EACE,UAAU,+BACZ;AAAA,MACA,EACE,UAAU,6CACZ;AAAA,MACA,EACE,UAAU,4BACZ;AAAA,IACF;AAAA,EACF;AAAA,EACA;AAAA,IACE,OAAO,CAAC,oCAAoC;AAAA,IAC5C,MAAM;AAAA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,EACA;AAAA,IACE,MAAM;AAAA,IACN,MAAM;AAAA,IAEN,QAAQ;AAAA,MACN,EACE,MAAM,WACR;AAAA,MACA,EACE,MAAM,QACR;AAAA,MACA,EACE,MAAM,WACR;AAAA,IACF;AAAA,EACF;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,MAAM;AAAA,IACN,QAAQ;AAAA,MACN,EACE,MAAM,WACR;AAAA,MACA,EACE,MAAM,WACR;AAAA,MACA,EACE,MAAM,WACR;AAAA,IACF;AAAA,EACF;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,MAAM;AAAA,IACN,QAAQ;AAAA,MACN,EAAE,UAAU,qBAAqB;AAAA,MACjC,EAAE,UAAU,qBAAqB;AAAA,MACjC,EAAE,UAAU,wBAAwB;AAAA,MACpC,EAAE,UAAU,oBAAoB;AAAA,IAClC;AAAA,EACF;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,MAAM;AAAA,IACN,QAAQ,CAAC;AAAA,EACX;AACF,GAGa,IAAsB;AAAA,EACjC,EACE,MAAM,WACR;AAAA,EACA,EACE,MAAM,WACR;AAAA,EACA,EACE,MAAM,WACR;AAAA,EACA,EACE,MAAM,WACR;AAAA,EACA,EACE,MAAM,QACR;AAAA,EACA,EACE,MAAM,WACR;AACF"}
@@ -14,6 +14,13 @@ export interface HelpCategory {
14
14
  title: string;
15
15
  topics: HelpTopic[];
16
16
  }
17
+ export interface HelpCategoryDefinition {
18
+ flags?: string[];
19
+ guid: string;
20
+ icon: string;
21
+ title: string;
22
+ topics: HelpTopicDefinition[];
23
+ }
17
24
  export interface HelpByCategoryDefinition {
18
25
  guid: keyof HelpByCategoryList;
19
26
  icon: string;
@@ -34,6 +41,10 @@ export interface HelpTopic {
34
41
  label: string;
35
42
  topicKey: string;
36
43
  }
44
+ export interface HelpTopicDefinition {
45
+ copyIndex?: number;
46
+ topicKey: string;
47
+ }
37
48
  export type HelpType = 'external' | 'internal' | 'other' | undefined;
38
49
  export interface ImageContentProps {
39
50
  altImage: string;
@@ -71,6 +82,8 @@ export interface Ticket {
71
82
  title: string;
72
83
  }
73
84
  export interface ListProps {
85
+ /** Space between items in px, so multi-line steps stay visibly separate. Defaults to none. */
86
+ itemGap?: number;
74
87
  items: string[] | React.ReactNode[];
75
88
  subItemPlacement?: number;
76
89
  subItems?: string[] | React.ReactNode[];
@@ -1,26 +1,26 @@
1
- import { HELP_CATEGORIES as f } from "../constants/Help.es.js";
2
- var u = (e, i) => e.guid === "general" || e.guid === "insights" ? !0 : e.flags ? e.flags.every((t) => i[t]) : !1, g = (e, i) => {
1
+ import { HELP_CATEGORIES as u } from "../constants/Help.es.js";
2
+ var p = (e, i) => e.guid === "general" || e.guid === "insights" ? !0 : e.flags ? e.flags.every((t) => i[t]) : !1, d = (e, i) => {
3
3
  const t = [];
4
- for (const s of f) {
4
+ for (const s of u) {
5
5
  const r = i[s.guid];
6
6
  if (!r) continue;
7
7
  const n = r.topics ?? {}, o = {
8
8
  ...s,
9
9
  title: r.label,
10
- topics: s.topics.flatMap(({ topicKey: a }, c) => {
11
- const l = n[c];
10
+ topics: s.topics.flatMap(({ topicKey: a, copyIndex: c }, f) => {
11
+ const l = n[c ?? f];
12
12
  return l === void 0 ? [] : [{
13
13
  topicKey: a,
14
14
  label: l
15
15
  }];
16
16
  })
17
17
  };
18
- u(o, e) && t.push(o);
18
+ p(o, e) && t.push(o);
19
19
  }
20
20
  return t;
21
21
  };
22
22
  export {
23
- g as HelpUtil
23
+ d as HelpUtil
24
24
  };
25
25
 
26
26
  //# sourceMappingURL=HelpUtil.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"HelpUtil.es.js","names":[],"sources":["../../../src/core/utils/HelpUtil.ts"],"sourcesContent":["import type { HelpCategory, Profile } from '../types/Help'\nimport { CategoryList } from '../types/localization/HelpCopy'\nimport { HELP_CATEGORIES } from '../constants/Help'\n\nconst isCategoryAccessibleByProfile = (category: HelpCategory, profile: Profile): boolean => {\n if (category.guid === 'general' || category.guid === 'insights') return true\n if (!category.flags) return false\n return category.flags.every((flag) => profile[flag as keyof Profile])\n}\n\nexport const HelpUtil = (profile: Profile, categoryList: CategoryList): HelpCategory[] => {\n const accessibleCategories: HelpCategory[] = []\n\n for (const el of HELP_CATEGORIES) {\n const category = categoryList[el.guid as keyof CategoryList]\n if (!category) continue\n\n const topicLabels = category.topics ?? {}\n const updatedCategory = {\n ...el,\n title: category.label,\n // A definition entry whose copy is missing would otherwise produce a\n // focusable row with no name, so drop it.\n topics: el.topics.flatMap(({ topicKey }, index) => {\n const label = topicLabels[index]\n return label === undefined ? [] : [{ topicKey, label }]\n }),\n }\n if (isCategoryAccessibleByProfile(updatedCategory, profile))\n accessibleCategories.push(updatedCategory)\n }\n\n return accessibleCategories\n}\n"],"mappings":";AAIA,IAAM,IAAA,CAAiC,GAAwB,MACzD,EAAS,SAAS,aAAa,EAAS,SAAS,aAAmB,KACnE,EAAS,QACP,EAAS,MAAM,MAAA,CAAO,MAAS,EAAQ,CAAA,CAAsB,IADxC,IAIjB,IAAA,CAAY,GAAkB,MAA+C;AACxF,QAAM,IAAuC,CAAC;AAE9C,aAAW,KAAM,GAAiB;AAChC,UAAM,IAAW,EAAa,EAAG,IAAA;AACjC,QAAI,CAAC,EAAU;AAEf,UAAM,IAAc,EAAS,UAAU,CAAC,GAClC,IAAkB;AAAA,MACtB,GAAG;AAAA,MACH,OAAO,EAAS;AAAA,MAGhB,QAAQ,EAAG,OAAO,QAAA,CAAS,EAAE,UAAA,EAAA,GAAY,MAAU;AACjD,cAAM,IAAQ,EAAY,CAAA;AAC1B,eAAO,MAAU,SAAY,CAAC,IAAI,CAAC;AAAA,UAAE,UAAA;AAAA,UAAU,OAAA;AAAA,QAAM,CAAC;AAAA,MACxD,CAAC;AAAA,IACH;AACA,IAAI,EAA8B,GAAiB,CAAO,KACxD,EAAqB,KAAK,CAAe;AAAA,EAC7C;AAEA,SAAO;AACT"}
1
+ {"version":3,"file":"HelpUtil.es.js","names":[],"sources":["../../../src/core/utils/HelpUtil.ts"],"sourcesContent":["import type { HelpCategory, Profile } from '../types/Help'\nimport { CategoryList } from '../types/localization/HelpCopy'\nimport { HELP_CATEGORIES } from '../constants/Help'\n\nconst isCategoryAccessibleByProfile = (category: HelpCategory, profile: Profile): boolean => {\n if (category.guid === 'general' || category.guid === 'insights') return true\n if (!category.flags) return false\n return category.flags.every((flag) => profile[flag as keyof Profile])\n}\n\nexport const HelpUtil = (profile: Profile, categoryList: CategoryList): HelpCategory[] => {\n const accessibleCategories: HelpCategory[] = []\n\n for (const el of HELP_CATEGORIES) {\n const category = categoryList[el.guid as keyof CategoryList]\n if (!category) continue\n\n const topicLabels = category.topics ?? {}\n const updatedCategory = {\n ...el,\n title: category.label,\n // A definition entry whose copy is missing would otherwise produce a\n // focusable row with no name, so drop it.\n topics: el.topics.flatMap(({ topicKey, copyIndex }, index) => {\n const label = topicLabels[copyIndex ?? index]\n return label === undefined ? [] : [{ topicKey, label }]\n }),\n }\n if (isCategoryAccessibleByProfile(updatedCategory, profile))\n accessibleCategories.push(updatedCategory)\n }\n\n return accessibleCategories\n}\n"],"mappings":";AAIA,IAAM,IAAA,CAAiC,GAAwB,MACzD,EAAS,SAAS,aAAa,EAAS,SAAS,aAAmB,KACnE,EAAS,QACP,EAAS,MAAM,MAAA,CAAO,MAAS,EAAQ,CAAA,CAAsB,IADxC,IAIjB,IAAA,CAAY,GAAkB,MAA+C;AACxF,QAAM,IAAuC,CAAC;AAE9C,aAAW,KAAM,GAAiB;AAChC,UAAM,IAAW,EAAa,EAAG,IAAA;AACjC,QAAI,CAAC,EAAU;AAEf,UAAM,IAAc,EAAS,UAAU,CAAC,GAClC,IAAkB;AAAA,MACtB,GAAG;AAAA,MACH,OAAO,EAAS;AAAA,MAGhB,QAAQ,EAAG,OAAO,QAAA,CAAS,EAAE,UAAA,GAAU,WAAA,EAAA,GAAa,MAAU;AAC5D,cAAM,IAAQ,EAAY,KAAa,CAAA;AACvC,eAAO,MAAU,SAAY,CAAC,IAAI,CAAC;AAAA,UAAE,UAAA;AAAA,UAAU,OAAA;AAAA,QAAM,CAAC;AAAA,MACxD,CAAC;AAAA,IACH;AACA,IAAI,EAA8B,GAAiB,CAAO,KACxD,EAAqB,KAAK,CAAe;AAAA,EAC7C;AAEA,SAAO;AACT"}
@@ -1,59 +1,60 @@
1
- import { useAppConfig as _, useEvent as R, useGlobalCopyStore as d, useHelpStore as x } from "../../common/context/hooks.es.js";
2
- import { useScreenSize as y } from "../../common/hooks/useScreenSize.es.js";
3
- import { ANALYTICS_EVENTS as H } from "../../common/constants/Analytics.es.js";
4
- import g from "../../common/components/ErrorBoundary.es.js";
1
+ import { useAppConfig as q, useEvent as y, useGlobalCopyStore as g, useHelpStore as R } from "../../common/context/hooks.es.js";
2
+ import { useScreenSize as d } from "../../common/hooks/useScreenSize.es.js";
3
+ import { ANALYTICS_EVENTS as b } from "../../common/constants/Analytics.es.js";
4
+ import { isLoginIssueTopic as x } from "../../core/constants/Help.es.js";
5
+ import H from "../../common/components/ErrorBoundary.es.js";
5
6
  import { HelpList as E } from "./HelpList.es.js";
6
- import { HelpContent as O } from "./HelpContent.es.js";
7
- import { RequestSupport as b } from "./requestsupport/RequestSupport.es.js";
7
+ import { HelpContent as I } from "./HelpContent.es.js";
8
+ import { RequestSupport as L } from "./requestsupport/RequestSupport.es.js";
8
9
  import p from "react";
9
- import { jsx as s, jsxs as I } from "react/jsx-runtime";
10
- import L from "@mui/material/Box";
11
- var V = ({ sx: a = {} }) => {
12
- const { config: n } = _(), { onEvent: m } = R(), { help: t } = d(), { helpCategories: S } = x(), { isMobile: f } = y(), [h, o] = p.useState(!1), [r, l] = p.useState(null), [C, u] = p.useState(""), c = (e) => {
13
- m(H.HELP_CLICK_TOPIC, {
14
- feature: e.category,
10
+ import { jsx as s, jsxs as O } from "react/jsx-runtime";
11
+ import v from "@mui/material/Box";
12
+ var k = ({ sx: a = {} }) => {
13
+ const { config: n } = q(), { onEvent: m } = y(), { help: t } = g(), { helpCategories: f } = R(), { isMobile: S } = d(), [h, o] = p.useState(!1), [r, l] = p.useState(null), [T, i] = p.useState(""), u = (e) => {
14
+ m(b.HELP_CLICK_TOPIC, {
15
+ feature: x(e.topicKey) ? t.help_by_category_list?.login_issues?.label ?? e.category : e.category,
15
16
  helpTopic: e.pageTitle
16
17
  }), l(e);
17
- }, i = () => o(!0), T = (e) => {
18
- u(e), o(!0);
19
- }, q = () => {
20
- o(!1), u("");
18
+ }, c = () => o(!0), C = (e) => {
19
+ i(e), o(!0);
20
+ }, _ = () => {
21
+ o(!1), i("");
21
22
  };
22
- return /* @__PURE__ */ I(L, {
23
+ return /* @__PURE__ */ O(v, {
23
24
  sx: {
24
25
  pt: 24,
25
- px: f ? 24 : 0,
26
+ px: S ? 24 : 0,
26
27
  ...a
27
28
  },
28
- children: [r ? /* @__PURE__ */ s(O, {
29
+ children: [r ? /* @__PURE__ */ s(I, {
29
30
  copy: t,
30
31
  hasRequestButton: n.enable_support_requests,
31
32
  onNavigateToList: () => l(null),
32
- onOpenCase: T,
33
- onRequestSupport: i,
33
+ onOpenCase: C,
34
+ onRequestSupport: c,
34
35
  topicInfo: r
35
36
  }) : /* @__PURE__ */ s(E, {
36
37
  buttonText: t.request_support,
37
38
  copy: t,
38
39
  hasRequestButton: n.enable_support_requests,
39
- helpCategories: S,
40
+ helpCategories: f,
40
41
  helpContent: t.list_short_content,
41
42
  helpTitle: t.list_title,
42
- onRequestHelp: i,
43
- onTopicSelect: c
44
- }), /* @__PURE__ */ s(g, { children: /* @__PURE__ */ s(b, {
45
- caseTopic: C,
43
+ onRequestHelp: c,
44
+ onTopicSelect: u
45
+ }), /* @__PURE__ */ s(H, { children: /* @__PURE__ */ s(L, {
46
+ caseTopic: T,
46
47
  copy: t,
47
48
  isOpen: h,
48
49
  onTopicSelect: (e) => {
49
- c(e), o(!1);
50
+ u(e), o(!1);
50
51
  },
51
- onClose: q
52
+ onClose: _
52
53
  }) })]
53
54
  });
54
55
  };
55
56
  export {
56
- V as Help
57
+ k as Help
57
58
  };
58
59
 
59
60
  //# sourceMappingURL=Help.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Help.es.js","names":[],"sources":["../../../src/help/components/Help.tsx"],"sourcesContent":["import React from 'react'\n\nimport Box from '@mui/material/Box'\n\nimport {\n ANALYTICS_EVENTS,\n ErrorBoundary,\n useAppConfig,\n useEvent,\n useGlobalCopyStore,\n useHelpStore,\n useScreenSize,\n} from '../../common'\nimport { type SelectedTopic } from '../../core'\n\nimport { HelpList } from './HelpList'\nimport { HelpContent } from './HelpContent'\nimport { RequestSupport } from './requestsupport'\nimport type { SxProps } from '@mui/material/styles'\n\ninterface HelpProps {\n sx?: SxProps\n}\n\nexport const Help = ({ sx = {} }: HelpProps) => {\n const { config } = useAppConfig()\n const { onEvent } = useEvent()\n const { help: helpCopy } = useGlobalCopyStore()\n const { helpCategories } = useHelpStore()\n const { isMobile } = useScreenSize()\n\n const [isRequestSupportOpen, setIsRequestSupportOpen] = React.useState(false)\n const [selectedTopic, setSelectedTopic] = React.useState<SelectedTopic | null>(null)\n const [caseTopic, setCaseTopic] = React.useState('')\n\n const handleTopicSelect = (topic: SelectedTopic) => {\n onEvent(ANALYTICS_EVENTS.HELP_CLICK_TOPIC, {\n feature: topic.category,\n helpTopic: topic.pageTitle,\n })\n\n setSelectedTopic(topic)\n }\n const handleRequestHelp = () => setIsRequestSupportOpen(true)\n\n const handleOpenCase = (topic: string) => {\n setCaseTopic(topic)\n setIsRequestSupportOpen(true)\n }\n\n const handleCloseRequestSupport = () => {\n setIsRequestSupportOpen(false)\n setCaseTopic('')\n }\n\n return (\n <Box sx={{ pt: 24, px: isMobile ? 24 : 0, ...sx }}>\n {!selectedTopic ? (\n <HelpList\n buttonText={helpCopy.request_support}\n copy={helpCopy}\n hasRequestButton={config.enable_support_requests}\n helpCategories={helpCategories}\n helpContent={helpCopy.list_short_content}\n helpTitle={helpCopy.list_title}\n onRequestHelp={handleRequestHelp}\n onTopicSelect={handleTopicSelect}\n />\n ) : (\n <HelpContent\n copy={helpCopy}\n hasRequestButton={config.enable_support_requests}\n onNavigateToList={() => setSelectedTopic(null)}\n onOpenCase={handleOpenCase}\n onRequestSupport={handleRequestHelp}\n topicInfo={selectedTopic}\n />\n )}\n <ErrorBoundary>\n <RequestSupport\n caseTopic={caseTopic}\n copy={helpCopy}\n isOpen={isRequestSupportOpen}\n onTopicSelect={(topic) => {\n handleTopicSelect(topic)\n setIsRequestSupportOpen(false)\n }}\n onClose={handleCloseRequestSupport}\n />\n </ErrorBoundary>\n </Box>\n )\n}\n"],"mappings":";;;;;;;;;;AAwBA,IAAa,IAAA,CAAQ,EAAE,IAAA,IAAK,CAAC,EAAA,MAAmB;AAC9C,QAAM,EAAE,QAAA,EAAA,IAAW,EAAa,GAC1B,EAAE,SAAA,EAAA,IAAY,EAAS,GACvB,EAAE,MAAM,EAAA,IAAa,EAAmB,GACxC,EAAE,gBAAA,EAAA,IAAmB,EAAa,GAClC,EAAE,UAAA,EAAA,IAAa,EAAc,GAE7B,CAAC,GAAsB,CAAA,IAA2B,EAAM,SAAS,EAAK,GACtE,CAAC,GAAe,CAAA,IAAoB,EAAM,SAA+B,IAAI,GAC7E,CAAC,GAAW,CAAA,IAAgB,EAAM,SAAS,EAAE,GAE7C,IAAA,CAAqB,MAAyB;AAClD,IAAA,EAAQ,EAAiB,kBAAkB;AAAA,MACzC,SAAS,EAAM;AAAA,MACf,WAAW,EAAM;AAAA,IACnB,CAAC,GAED,EAAiB,CAAK;AAAA,EACxB,GACM,IAAA,MAA0B,EAAwB,EAAI,GAEtD,IAAA,CAAkB,MAAkB;AACxC,IAAA,EAAa,CAAK,GAClB,EAAwB,EAAI;AAAA,EAC9B,GAEM,IAAA,MAAkC;AACtC,IAAA,EAAwB,EAAK,GAC7B,EAAa,EAAE;AAAA,EACjB;AAEA,SACE,gBAAA,EAAC,GAAD;AAAA,IAAK,IAAI;AAAA,MAAE,IAAI;AAAA,MAAI,IAAI,IAAW,KAAK;AAAA,MAAG,GAAG;AAAA,IAAG;AAAA,IAAhD,UAAA,CACI,IAYA,gBAAA,EAAC,GAAD;AAAA,MACE,MAAM;AAAA,MACN,kBAAkB,EAAO;AAAA,MACzB,kBAAA,MAAwB,EAAiB,IAAI;AAAA,MAC7C,YAAY;AAAA,MACZ,kBAAkB;AAAA,MAClB,WAAW;AAAA,IACZ,CAAA,IAlBD,gBAAA,EAAC,GAAD;AAAA,MACE,YAAY,EAAS;AAAA,MACrB,MAAM;AAAA,MACN,kBAAkB,EAAO;AAAA,MACT,gBAAA;AAAA,MAChB,aAAa,EAAS;AAAA,MACtB,WAAW,EAAS;AAAA,MACpB,eAAe;AAAA,MACf,eAAe;AAAA,IAChB,CAAA,GAWH,gBAAA,EAAC,GAAD,EAAA,UACE,gBAAA,EAAC,GAAD;AAAA,MACa,WAAA;AAAA,MACX,MAAM;AAAA,MACN,QAAQ;AAAA,MACR,eAAA,CAAgB,MAAU;AACxB,QAAA,EAAkB,CAAK,GACvB,EAAwB,EAAK;AAAA,MAC/B;AAAA,MACA,SAAS;AAAA,IACV,CAAA,EACY,CAAA,CACZ;AAAA;AAET"}
1
+ {"version":3,"file":"Help.es.js","names":[],"sources":["../../../src/help/components/Help.tsx"],"sourcesContent":["import React from 'react'\n\nimport Box from '@mui/material/Box'\n\nimport {\n ANALYTICS_EVENTS,\n ErrorBoundary,\n useAppConfig,\n useEvent,\n useGlobalCopyStore,\n useHelpStore,\n useScreenSize,\n} from '../../common'\nimport { type SelectedTopic } from '../../core'\nimport { isLoginIssueTopic } from '../../core/constants/Help'\n\nimport { HelpList } from './HelpList'\nimport { HelpContent } from './HelpContent'\nimport { RequestSupport } from './requestsupport'\nimport type { SxProps } from '@mui/material/styles'\n\ninterface HelpProps {\n sx?: SxProps\n}\n\nexport const Help = ({ sx = {} }: HelpProps) => {\n const { config } = useAppConfig()\n const { onEvent } = useEvent()\n const { help: helpCopy } = useGlobalCopyStore()\n const { helpCategories } = useHelpStore()\n const { isMobile } = useScreenSize()\n\n const [isRequestSupportOpen, setIsRequestSupportOpen] = React.useState(false)\n const [selectedTopic, setSelectedTopic] = React.useState<SelectedTopic | null>(null)\n const [caseTopic, setCaseTopic] = React.useState('')\n\n const handleTopicSelect = (topic: SelectedTopic) => {\n onEvent(ANALYTICS_EVENTS.HELP_CLICK_TOPIC, {\n // A Login Issues article reports under Login Issues whether it was opened from that card or\n // from General FAQs, so its clicks are counted together.\n feature: isLoginIssueTopic(topic.topicKey)\n ? (helpCopy.help_by_category_list?.login_issues?.label ?? topic.category)\n : topic.category,\n helpTopic: topic.pageTitle,\n })\n\n setSelectedTopic(topic)\n }\n const handleRequestHelp = () => setIsRequestSupportOpen(true)\n\n const handleOpenCase = (topic: string) => {\n setCaseTopic(topic)\n setIsRequestSupportOpen(true)\n }\n\n const handleCloseRequestSupport = () => {\n setIsRequestSupportOpen(false)\n setCaseTopic('')\n }\n\n return (\n <Box sx={{ pt: 24, px: isMobile ? 24 : 0, ...sx }}>\n {!selectedTopic ? (\n <HelpList\n buttonText={helpCopy.request_support}\n copy={helpCopy}\n hasRequestButton={config.enable_support_requests}\n helpCategories={helpCategories}\n helpContent={helpCopy.list_short_content}\n helpTitle={helpCopy.list_title}\n onRequestHelp={handleRequestHelp}\n onTopicSelect={handleTopicSelect}\n />\n ) : (\n <HelpContent\n copy={helpCopy}\n hasRequestButton={config.enable_support_requests}\n onNavigateToList={() => setSelectedTopic(null)}\n onOpenCase={handleOpenCase}\n onRequestSupport={handleRequestHelp}\n topicInfo={selectedTopic}\n />\n )}\n <ErrorBoundary>\n <RequestSupport\n caseTopic={caseTopic}\n copy={helpCopy}\n isOpen={isRequestSupportOpen}\n onTopicSelect={(topic) => {\n handleTopicSelect(topic)\n setIsRequestSupportOpen(false)\n }}\n onClose={handleCloseRequestSupport}\n />\n </ErrorBoundary>\n </Box>\n )\n}\n"],"mappings":";;;;;;;;;;;AAyBA,IAAa,IAAA,CAAQ,EAAE,IAAA,IAAK,CAAC,EAAA,MAAmB;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AA,MACtB,WAAW,EAAS;AAAA,MACpB,eAAe;AAAA,MACf,eAAe;AAAA,IAChB,CAAA,GAWH,gBAAA,EAAC,GAAD,EAAA,UACE,gBAAA,EAAC,GAAD;AAAA,MACa,WAAA;AAAA,MACX,MAAM;AAAA,MACN,QAAQ;AAAA,MACR,eAAA,CAAgB,MAAU;AACxB,QAAA,EAAkB,CAAK,GACvB,EAAwB,EAAK;AAAA,MAC/B;AAAA,MACA,SAAS;AAAA,IACV,CAAA,EACY,CAAA,CACZ;AAAA;AAET"}
@@ -1,45 +1,46 @@
1
- import { H3 as h, P as d } from "@mxenabled/mxui";
2
- import { jsx as e, jsxs as f } from "react/jsx-runtime";
1
+ import { H3 as d, P as f } from "@mxenabled/mxui";
2
+ import { jsx as r, jsxs as u } from "react/jsx-runtime";
3
3
  import y from "@mui/material/Box";
4
- var o = ({ content: t, sx: r }) => /* @__PURE__ */ e(d, {
4
+ var o = ({ content: e, sx: l }) => /* @__PURE__ */ r(f, {
5
5
  sx: {
6
6
  lineHeight: "24px",
7
7
  py: 6,
8
- ...r
8
+ ...l
9
9
  },
10
- children: t
11
- }), j = ({ content: t, sx: r }) => /* @__PURE__ */ e(h, {
10
+ children: e
11
+ }), w = ({ content: e, sx: l }) => /* @__PURE__ */ r(d, {
12
12
  color: "text.primary",
13
13
  sx: {
14
14
  py: 12,
15
15
  whiteSpace: { sm: "nowrap" },
16
- ...r
16
+ ...l
17
17
  },
18
- children: t
19
- }), w = ({ items: t, listType: r = "ul", subItemPlacement: i, subItems: p = [], subListType: n = "ol" }) => {
20
- const c = r, m = n;
21
- return /* @__PURE__ */ e(y, {
22
- sx: { [r]: {
18
+ children: e
19
+ }), E = ({ itemGap: e, items: l, listType: n = "ul", subItemPlacement: c, subItems: m = [], subListType: t = "ol" }) => {
20
+ const p = n, x = t;
21
+ return /* @__PURE__ */ r(y, {
22
+ sx: { [n]: {
23
23
  m: 0,
24
24
  p: 0,
25
25
  pl: 16,
26
- "& li::marker": { fontSize: 15 }
26
+ "& li::marker": { fontSize: 15 },
27
+ ...e != null && { "& > li + li": { mt: e } }
27
28
  } },
28
- children: /* @__PURE__ */ e(c, { children: t.map((x, l) => /* @__PURE__ */ f("li", { children: [/* @__PURE__ */ e(o, {
29
- content: x,
29
+ children: /* @__PURE__ */ r(p, { children: l.map((a, i) => /* @__PURE__ */ u("li", { children: [/* @__PURE__ */ r(o, {
30
+ content: a,
30
31
  sx: { py: 1 }
31
- }), i === l ? /* @__PURE__ */ e(m, {
32
- ...n === "ol" && { type: "a" },
33
- children: p.map((a, s) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(o, {
34
- content: a,
32
+ }), c === i ? /* @__PURE__ */ r(x, {
33
+ ...t === "ol" && { type: "a" },
34
+ children: m.map((s, h) => /* @__PURE__ */ r("li", { children: /* @__PURE__ */ r(o, {
35
+ content: s,
35
36
  sx: { py: 1 }
36
- }) }, s))
37
- }) : null] }, l)) })
37
+ }) }, h))
38
+ }) : null] }, i)) })
38
39
  });
39
40
  };
40
41
  export {
41
- w as List,
42
- j as SectionTitle,
42
+ E as List,
43
+ w as SectionTitle,
43
44
  o as Text
44
45
  };
45
46
 
@@ -1 +1 @@
1
- {"version":3,"file":"ContentItem.es.js","names":[],"sources":["../../../../src/help/components/content/ContentItem.tsx"],"sourcesContent":["import Box from '@mui/material/Box'\nimport { H3, P } from '@mxenabled/mxui'\n\nimport { ListProps, SectionTitleProps, TextProps } from '../../../core/types/Help'\n\nexport const Text: React.FC<TextProps> = ({ content, sx }) => (\n <P sx={{ lineHeight: '24px', py: 6, ...sx }}>{content}</P>\n)\n\nexport const SectionTitle: React.FC<SectionTitleProps> = ({ content, sx }) => (\n <H3 color=\"text.primary\" sx={{ py: 12, whiteSpace: { sm: 'nowrap' }, ...sx }}>\n {content}\n </H3>\n)\n\nexport const List: React.FC<ListProps> = ({\n items,\n listType = 'ul',\n subItemPlacement,\n subItems = [],\n subListType = 'ol',\n}) => {\n const Element = listType\n const SubElement = subListType\n\n return (\n <Box sx={{ [listType]: { m: 0, p: 0, pl: 16, '& li::marker': { fontSize: 15 } } }}>\n <Element>\n {items.map((elm, i) => (\n <li key={i}>\n <Text content={elm} sx={{ py: 1 }} />\n {subItemPlacement === i ? (\n <SubElement {...(subListType === 'ol' && { type: 'a' })}>\n {subItems.map((subElm, index) => (\n <li key={index}>\n <Text content={subElm} sx={{ py: 1 }} />\n </li>\n ))}\n </SubElement>\n ) : null}\n </li>\n ))}\n </Element>\n </Box>\n )\n}\n"],"mappings":";;;AAKA,IAAa,IAAA,CAA6B,EAAE,SAAA,GAAS,IAAA,EAAA,MACnD,gBAAA,EAAC,GAAD;AAAA,EAAG,IAAI;AAAA,IAAE,YAAY;AAAA,IAAQ,IAAI;AAAA,IAAG,GAAG;AAAA,EAAG;AAAA,EAAI,UAAA;AAAW,CAAA,GAG9C,IAAA,CAA6C,EAAE,SAAA,GAAS,IAAA,EAAA,MACnE,gBAAA,EAAC,GAAD;AAAA,EAAI,OAAM;AAAA,EAAe,IAAI;AAAA,IAAE,IAAI;AAAA,IAAI,YAAY,EAAE,IAAI,SAAS;AAAA,IAAG,GAAG;AAAA,EAAG;AAAA,EACxE,UAAA;AACC,CAAA,GAGO,IAAA,CAA6B,EACxC,OAAA,GACA,UAAA,IAAW,MACX,kBAAA,GACA,UAAA,IAAW,CAAC,GACZ,aAAA,IAAc,KAAA,MACV;AACJ,QAAM,IAAU,GACV,IAAa;AAEnB,SACE,gBAAA,EAAC,GAAD;AAAA,IAAK,IAAI,EAAA,CAAG,CAAA,GAAW;AAAA,MAAE,GAAG;AAAA,MAAG,GAAG;AAAA,MAAG,IAAI;AAAA,MAAI,gBAAgB,EAAE,UAAU,GAAG;AAAA,IAAE,EAAE;AAAA,IAC9E,UAAA,gBAAA,EAAC,GAAD,EAAA,UACG,EAAM,IAAA,CAAK,GAAK,MACf,gBAAA,EAAC,MAAD,EAAA,UAAA,CACE,gBAAA,EAAC,GAAD;AAAA,MAAM,SAAS;AAAA,MAAK,IAAI,EAAE,IAAI,EAAE;AAAA,IAAI,CAAA,GACnC,MAAqB,IACpB,gBAAA,EAAC,GAAD;AAAA,MAAY,GAAK,MAAgB,QAAQ,EAAE,MAAM,IAAI;AAAA,MAClD,UAAA,EAAS,IAAA,CAAK,GAAQ,MACrB,gBAAA,EAAC,MAAD,EAAA,UACE,gBAAA,EAAC,GAAD;AAAA,QAAM,SAAS;AAAA,QAAQ,IAAI,EAAE,IAAI,EAAE;AAAA,MAAI,CAAA,EACrC,GAFK,CAEL,CACL;AAAA,IACS,CAAA,IACV,IACF,EAAA,GAXK,CAWL,CACL,EACM,CAAA;AAAA,EACN,CAAA;AAET"}
1
+ {"version":3,"file":"ContentItem.es.js","names":[],"sources":["../../../../src/help/components/content/ContentItem.tsx"],"sourcesContent":["import Box from '@mui/material/Box'\nimport { H3, P } from '@mxenabled/mxui'\n\nimport { ListProps, SectionTitleProps, TextProps } from '../../../core/types/Help'\n\nexport const Text: React.FC<TextProps> = ({ content, sx }) => (\n <P sx={{ lineHeight: '24px', py: 6, ...sx }}>{content}</P>\n)\n\nexport const SectionTitle: React.FC<SectionTitleProps> = ({ content, sx }) => (\n <H3 color=\"text.primary\" sx={{ py: 12, whiteSpace: { sm: 'nowrap' }, ...sx }}>\n {content}\n </H3>\n)\n\nexport const List: React.FC<ListProps> = ({\n itemGap,\n items,\n listType = 'ul',\n subItemPlacement,\n subItems = [],\n subListType = 'ol',\n}) => {\n const Element = listType\n const SubElement = subListType\n\n return (\n <Box\n sx={{\n [listType]: {\n m: 0,\n p: 0,\n pl: 16,\n '& li::marker': { fontSize: 15 },\n ...(itemGap != null && { '& > li + li': { mt: itemGap } }),\n },\n }}\n >\n <Element>\n {items.map((elm, i) => (\n <li key={i}>\n <Text content={elm} sx={{ py: 1 }} />\n {subItemPlacement === i ? (\n <SubElement {...(subListType === 'ol' && { type: 'a' })}>\n {subItems.map((subElm, index) => (\n <li key={index}>\n <Text content={subElm} sx={{ py: 1 }} />\n </li>\n ))}\n </Sub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AAC,MAAD,EAAA,UACE,gBAAA,EAAC,GAAD;AAAA,QAAM,SAAS;AAAA,QAAQ,IAAI,EAAE,IAAI,EAAE;AAAA,MAAI,CAAA,EACrC,GAFK,CAEL,CACL;AAAA,IACS,CAAA,IACV,IACF,EAAA,GAXK,CAWL,CACL,EACM,CAAA;AAAA,EACN,CAAA;AAET"}
@@ -1,18 +1,19 @@
1
1
  import { buildDynamicCopy as s } from "../../../../core/utils/Localization.es.js";
2
- import { BottomImageContent as c } from "../BottomImageContent.es.js";
3
- import { NoImageContent as o } from "../NoImageContent.es.js";
4
- import { List as r, Text as a } from "../ContentItem.es.js";
5
- import { HELP_IMAGES as p } from "../../../constants/HelpImages.es.js";
6
- import i from "react";
7
- import { jsx as t, jsxs as n } from "react/jsx-runtime";
8
- var f = ({ topicKey: _, copy: d }) => {
9
- const { general_faqs: e } = d;
10
- return {
11
- "is-my-data-private-and-secure": /* @__PURE__ */ t(o, {
12
- content: /* @__PURE__ */ n(i.Fragment, { children: [/* @__PURE__ */ t(a, {
2
+ import { isLoginIssueTopic as l } from "../../../../core/constants/Help.es.js";
3
+ import { BottomImageContent as p } from "../BottomImageContent.es.js";
4
+ import { NoImageContent as i } from "../NoImageContent.es.js";
5
+ import { List as a, Text as r } from "../ContentItem.es.js";
6
+ import { HELP_IMAGES as m } from "../../../constants/HelpImages.es.js";
7
+ import u from "./LoginIssues.es.js";
8
+ import n from "react";
9
+ import { jsx as t, jsxs as _ } from "react/jsx-runtime";
10
+ var I = ({ topicKey: o, copy: d }) => {
11
+ const { general_faqs: e } = d, c = {
12
+ "is-my-data-private-and-secure": /* @__PURE__ */ t(i, {
13
+ content: /* @__PURE__ */ _(n.Fragment, { children: [/* @__PURE__ */ t(r, {
13
14
  content: e.data_private_secure_subheader,
14
15
  sx: { lineHeight: "24px" }
15
- }), /* @__PURE__ */ t(r, { items: [
16
+ }), /* @__PURE__ */ t(a, { items: [
16
17
  s(e.data_private_secure_step1, /* @__PURE__ */ t("b", { children: e.encryption_firewalls_bold_text })),
17
18
  s(e.data_private_secure_step2, /* @__PURE__ */ t("b", { children: e.secure_authentication_bold_text })),
18
19
  s(e.data_private_secure_step3, /* @__PURE__ */ t("b", { children: e.privacy_protection_bold_text }), /* @__PURE__ */ t("b", { children: e.not_bold_text })),
@@ -20,16 +21,16 @@ var f = ({ topicKey: _, copy: d }) => {
20
21
  ] })] }),
21
22
  hasDivider: !1
22
23
  }),
23
- "why-are-some-of-my-transactions-uncategorized": /* @__PURE__ */ t(c, {
24
- altImage: _,
25
- content: /* @__PURE__ */ n(i.Fragment, { children: [
26
- /* @__PURE__ */ t(a, { content: e.transactions_categorized_subheader }),
27
- /* @__PURE__ */ t(r, { items: [s(e.transactions_categorized_step1, /* @__PURE__ */ t("b", { children: e.checks_atm_withdrawals_bold_text })), s(e.transactions_categorized_step2, /* @__PURE__ */ t("b", { children: e.limited_transaction_details_bold_text }))] }),
28
- /* @__PURE__ */ t(a, {
24
+ "why-are-some-of-my-transactions-uncategorized": /* @__PURE__ */ t(p, {
25
+ altImage: o,
26
+ content: /* @__PURE__ */ _(n.Fragment, { children: [
27
+ /* @__PURE__ */ t(r, { content: e.transactions_categorized_subheader }),
28
+ /* @__PURE__ */ t(a, { items: [s(e.transactions_categorized_step1, /* @__PURE__ */ t("b", { children: e.checks_atm_withdrawals_bold_text })), s(e.transactions_categorized_step2, /* @__PURE__ */ t("b", { children: e.limited_transaction_details_bold_text }))] }),
29
+ /* @__PURE__ */ t(r, {
29
30
  content: e.transactions_uncategorized_subheader,
30
31
  sx: { pt: 12 }
31
32
  }),
32
- /* @__PURE__ */ t(r, {
33
+ /* @__PURE__ */ t(a, {
33
34
  items: [
34
35
  s(e.transactions_uncategorized_step1, /* @__PURE__ */ t("b", { children: e.transactions_bold_text })),
35
36
  s(e.transactions_uncategorized_step2, /* @__PURE__ */ t("b", { children: e.categorize_bold_text })),
@@ -39,24 +40,24 @@ var f = ({ topicKey: _, copy: d }) => {
39
40
  ],
40
41
  listType: "ol"
41
42
  }),
42
- /* @__PURE__ */ t(a, {
43
+ /* @__PURE__ */ t(r, {
43
44
  content: e.transactions_uncategorized_footer_text,
44
45
  sx: { pt: 12 }
45
46
  })
46
47
  ] }),
47
48
  hasDivider: !1,
48
- image: p.GENERAL_CATEGORIZE_TRANSACTIONS,
49
+ image: m.GENERAL_CATEGORIZE_TRANSACTIONS,
49
50
  imageLargeBreakPoint: 10
50
51
  }),
51
- "why-cant-i-see-the-software": /* @__PURE__ */ t(o, {
52
- content: /* @__PURE__ */ n(i.Fragment, { children: [
53
- /* @__PURE__ */ t(a, { content: e.supported_browser_subheader }),
54
- /* @__PURE__ */ t(r, { items: [e.supported_browser_step1, e.supported_browser_step2] }),
55
- /* @__PURE__ */ t(a, {
52
+ "why-cant-i-see-the-software": /* @__PURE__ */ t(i, {
53
+ content: /* @__PURE__ */ _(n.Fragment, { children: [
54
+ /* @__PURE__ */ t(r, { content: e.supported_browser_subheader }),
55
+ /* @__PURE__ */ t(a, { items: [e.supported_browser_step1, e.supported_browser_step2] }),
56
+ /* @__PURE__ */ t(r, {
56
57
  content: e.display_issues_subheader,
57
58
  sx: { mt: 6 }
58
59
  }),
59
- /* @__PURE__ */ t(r, { items: [
60
+ /* @__PURE__ */ t(a, { items: [
60
61
  s(e.display_issues_step1, /* @__PURE__ */ t("b", { children: e.f12_bold_text })),
61
62
  s(e.display_issues_step2, /* @__PURE__ */ t("b", { children: e.browser_mode_bold_text })),
62
63
  e.display_issues_step3,
@@ -64,21 +65,25 @@ var f = ({ topicKey: _, copy: d }) => {
64
65
  e.display_issues_step5,
65
66
  e.display_issues_step6
66
67
  ] }),
67
- /* @__PURE__ */ t(a, {
68
+ /* @__PURE__ */ t(r, {
68
69
  content: e.display_issues_footer_text,
69
70
  sx: { mt: 6 }
70
71
  })
71
72
  ] }),
72
73
  hasDivider: !1
73
74
  }),
74
- "how-do-i-log-out-of-the-software": /* @__PURE__ */ t(o, {
75
- content: /* @__PURE__ */ t(a, { content: e.log_out_text }),
75
+ "how-do-i-log-out-of-the-software": /* @__PURE__ */ t(i, {
76
+ content: /* @__PURE__ */ t(r, { content: e.log_out_text }),
76
77
  hasDivider: !1
77
78
  })
78
- }[_];
79
+ };
80
+ return l(o) ? /* @__PURE__ */ t(u, {
81
+ copy: d,
82
+ topicKey: o
83
+ }) : c[o] ?? null;
79
84
  };
80
85
  export {
81
- f as default
86
+ I as default
82
87
  };
83
88
 
84
89
  //# sourceMappingURL=General.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"General.es.js","names":[],"sources":["../../../../../src/help/components/content/section/General.tsx"],"sourcesContent":["import React from 'react'\n\nimport { BottomImageContent, NoImageContent } from '..'\nimport { SectionProps } from '../../../../core/types/Help'\nimport { List, Text } from '../ContentItem'\nimport { HELP_IMAGES } from '../../../constants/HelpImages'\nimport { buildDynamicCopy } from '../../../../core/utils/Localization'\n\nconst General: React.FC<SectionProps> = ({ topicKey, copy }) => {\n const { general_faqs: generalCopyContent } = copy\n const dynamicGoalsSection = {\n 'is-my-data-private-and-secure': (\n <NoImageContent\n content={\n <React.Fragment>\n <Text\n content={generalCopyContent.data_private_secure_subheader}\n sx={{ lineHeight: '24px' }}\n />\n <List\n items={[\n buildDynamicCopy(\n generalCopyContent.data_private_secure_step1,\n <b>{generalCopyContent.encryption_firewalls_bold_text}</b>,\n ) as React.ReactNode,\n buildDynamicCopy(\n generalCopyContent.data_private_secure_step2,\n <b>{generalCopyContent.secure_authentication_bold_text}</b>,\n ) as React.ReactNode,\n buildDynamicCopy(\n generalCopyContent.data_private_secure_step3,\n <b>{generalCopyContent.privacy_protection_bold_text}</b>,\n <b>{generalCopyContent.not_bold_text}</b>,\n ) as React.ReactNode,\n buildDynamicCopy(\n generalCopyContent.data_private_secure_step4,\n <b>{generalCopyContent.policy_updates_bold_text}</b>,\n ) as React.ReactNode,\n ]}\n />\n </React.Fragment>\n }\n hasDivider={false}\n />\n ),\n 'why-are-some-of-my-transactions-uncategorized': (\n <BottomImageContent\n altImage={topicKey}\n content={\n <React.Fragment>\n <Text content={generalCopyContent.transactions_categorized_subheader} />\n <List\n items={[\n buildDynamicCopy(\n generalCopyContent.transactions_categorized_step1,\n <b>{generalCopyContent.checks_atm_withdrawals_bold_text}</b>,\n ) as React.ReactNode,\n buildDynamicCopy(\n generalCopyContent.transactions_categorized_step2,\n <b>{generalCopyContent.limited_transaction_details_bold_text}</b>,\n ) as React.ReactNode,\n ]}\n />\n <Text\n content={generalCopyContent.transactions_uncategorized_subheader}\n sx={{ pt: 12 }}\n />\n <List\n items={[\n buildDynamicCopy(\n generalCopyContent.transactions_uncategorized_step1,\n <b>{generalCopyContent.transactions_bold_text}</b>,\n ) as React.ReactNode,\n buildDynamicCopy(\n generalCopyContent.transactions_uncategorized_step2,\n <b>{generalCopyContent.categorize_bold_text}</b>,\n ) as React.ReactNode,\n generalCopyContent.transactions_uncategorized_step3,\n generalCopyContent.transactions_uncategorized_step4,\n generalCopyContent.transactions_uncategorized_step5,\n ]}\n listType=\"ol\"\n />\n <Text\n content={generalCopyContent.transactions_uncategorized_footer_text}\n sx={{ pt: 12 }}\n />\n </React.Fragment>\n }\n hasDivider={false}\n image={HELP_IMAGES.GENERAL_CATEGORIZE_TRANSACTIONS}\n imageLargeBreakPoint={10}\n />\n ),\n 'why-cant-i-see-the-software': (\n <NoImageContent\n content={\n <React.Fragment>\n <Text content={generalCopyContent.supported_browser_subheader} />\n <List\n items={[\n generalCopyContent.supported_browser_step1,\n generalCopyContent.supported_browser_step2,\n ]}\n />\n <Text content={generalCopyContent.display_issues_subheader} sx={{ mt: 6 }} />\n <List\n items={[\n buildDynamicCopy(\n generalCopyContent.display_issues_step1,\n <b>{generalCopyContent.f12_bold_text}</b>,\n ) as React.ReactNode,\n buildDynamicCopy(\n generalCopyContent.display_issues_step2,\n <b>{generalCopyContent.browser_mode_bold_text}</b>,\n ) as React.ReactNode,\n generalCopyContent.display_issues_step3,\n buildDynamicCopy(\n generalCopyContent.display_issues_step4,\n <b>{generalCopyContent.document_mode_bold_text}</b>,\n ) as React.ReactNode,\n generalCopyContent.display_issues_step5,\n generalCopyContent.display_issues_step6,\n ]}\n />\n <Text content={generalCopyContent.display_issues_footer_text} sx={{ mt: 6 }} />\n </React.Fragment>\n }\n hasDivider={false}\n />\n ),\n 'how-do-i-log-out-of-the-software': (\n <NoImageContent\n content={<Text content={generalCopyContent.log_out_text} />}\n hasDivider={false}\n />\n ),\n }\n\n return dynamicGoalsSection[topicKey as keyof typeof dynamicGoalsSection]\n}\n\nexport default General\n"],"mappings":";;;;;;;AAQA,IAAM,IAAA,CAAmC,EAAE,UAAA,GAAU,MAAA,EAAA,MAAW;AAC9D,QAAM,EAAE,cAAc,EAAA,IAAuB;AAkI7C,SAAO;AAAA,IAhIL,iCACE,gBAAA,EAAC,GAAD;AAAA,MACE,SACE,gBAAA,EAAC,EAAM,UAAP,EAAA,UAAA,CACE,gBAAA,EAAC,GAAD;AAAA,QACE,SAAS,EAAmB;AAAA,QAC5B,IAAI,EAAE,YAAY,OAAO;AAAA,MAC1B,CAAA,GACD,gBAAA,EAAC,GAAD,EACE,OAAO;AAAA,QACL,EACE,EAAmB,2BACnB,gBAAA,EAAC,KAAD,EAAA,UAAI,EAAmB,+BAAkC,CAAA,CAC3D;AAAA,QACA,EACE,EAAmB,2BACnB,gBAAA,EAAC,KAAD,EAAA,UAAI,EAAmB,gCAAmC,CAAA,CAC5D;AAAA,QACA,EACE,EAAmB,2BACnB,gBAAA,EAAC,KAAD,EAAA,UAAI,EAAmB,6BAAgC,CAAA,GACvD,gBAAA,EAAC,KAAD,EAAA,UAAI,EAAmB,cAAiB,CAAA,CAC1C;AAAA,QACA,EACE,EAAmB,2BACnB,gBAAA,EAAC,KAAD,EAAA,UAAI,EAAmB,yBAA4B,CAAA,CACrD;AAAA,MACF,EACD,CAAA,CACa,EAAA,CAAA;AAAA,MAElB,YAAY;AAAA,IACb,CAAA;AAAA,IAEH,iDACE,gBAAA,EAAC,GAAD;AAAA,MACE,UAAU;AA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,QACD,gBAAA,EAAC,GAAD;AAAA,UAAM,SAAS,EAAmB;AAAA,UAA0B,IAAI,EAAE,IAAI,EAAE;AAAA,QAAI,CAAA;AAAA,QAC5E,gBAAA,EAAC,GAAD,EACE,OAAO;AAAA,UACL,EACE,EAAmB,sBACnB,gBAAA,EAAC,KAAD,EAAA,UAAI,EAAmB,cAAiB,CAAA,CAC1C;AAAA,UACA,EACE,EAAmB,sBACnB,gBAAA,EAAC,KAAD,EAAA,UAAI,EAAmB,uBAA0B,CAAA,CACnD;AAAA,UACA,EAAmB;AAAA,UACnB,EACE,EAAmB,sBACnB,gBAAA,EAAC,KAAD,EAAA,UAAI,EAAmB,wBAA2B,CAAA,CACpD;AAAA,UACA,EAAmB;AAAA,UACnB,EAAmB;AAAA,QACrB,EACD,CAAA;AAAA,QACD,gBAAA,EAAC,GAAD;AAAA,UAAM,SAAS,EAAmB;AAAA,UAA4B,IAAI,EAAE,IAAI,EAAE;AAAA,QAAI,CAAA;AAAA,MAChE,EAAA,CAAA;AAAA,MAElB,YAAY;AAAA,IACb,CAAA;AAAA,IAEH,oCACE,gBAAA,EAAC,GAAD;AAAA,MACE,SAAS,gBAAA,EAAC,GAAD,EAAM,SAAS,EAAmB,aAAe,CAAA;AAAA,MAC1D,YAAY;AAAA,IACb,CAAA;AAAA,EAIE,EAAoB,CAAA;AAC7B"}
1
+ {"version":3,"file":"General.es.js","names":[],"sources":["../../../../../src/help/components/content/section/General.tsx"],"sourcesContent":["import React from 'react'\n\nimport { BottomImageContent, NoImageContent } from '..'\nimport { SectionProps } from '../../../../core/types/Help'\nimport { List, Text } from '../ContentItem'\nimport { HELP_IMAGES } from '../../../constants/HelpImages'\nimport { buildDynamicCopy } from '../../../../core/utils/Localization'\nimport { isLoginIssueTopic } from '../../../../core/constants/Help'\nimport LoginIssues from './LoginIssues'\n\nconst General: React.FC<SectionProps> = ({ topicKey, copy }) => {\n const { general_faqs: generalCopyContent } = copy\n const dynamicGoalsSection = {\n 'is-my-data-private-and-secure': (\n <NoImageContent\n content={\n <React.Fragment>\n <Text\n content={generalCopyContent.data_private_secure_subheader}\n sx={{ lineHeight: '24px' }}\n />\n <List\n items={[\n buildDynamicCopy(\n generalCopyContent.data_private_secure_step1,\n <b>{generalCopyContent.encryption_firewalls_bold_text}</b>,\n ) as React.ReactNode,\n buildDynamicCopy(\n generalCopyContent.data_private_secure_step2,\n <b>{generalCopyContent.secure_authentication_bold_text}</b>,\n ) as React.ReactNode,\n buildDynamicCopy(\n generalCopyContent.data_private_secure_step3,\n <b>{generalCopyContent.privacy_protection_bold_text}</b>,\n <b>{generalCopyContent.not_bold_text}</b>,\n ) as React.ReactNode,\n buildDynamicCopy(\n generalCopyContent.data_private_secure_step4,\n <b>{generalCopyContent.policy_updates_bold_text}</b>,\n ) as React.ReactNode,\n ]}\n />\n </React.Fragment>\n }\n hasDivider={false}\n />\n ),\n 'why-are-some-of-my-transactions-uncategorized': (\n <BottomImageContent\n altImage={topicKey}\n content={\n <React.Fragment>\n <Text content={generalCopyContent.transactions_categorized_subheader} />\n <List\n items={[\n buildDynamicCopy(\n generalCopyContent.transactions_categorized_step1,\n <b>{generalCopyContent.checks_atm_withdrawals_bold_text}</b>,\n ) as React.ReactNode,\n buildDynamicCopy(\n generalCopyContent.transactions_categorized_step2,\n <b>{generalCopyContent.limited_transaction_details_bold_text}</b>,\n ) as React.ReactNode,\n ]}\n />\n <Text\n content={generalCopyContent.transactions_uncategorized_subheader}\n sx={{ pt: 12 }}\n />\n <List\n items={[\n buildDynamicCopy(\n generalCopyContent.transactions_uncategorized_step1,\n <b>{generalCopyContent.transactions_bold_text}</b>,\n ) as React.ReactNode,\n buildDynamicCopy(\n generalCopyContent.transactions_uncategorized_step2,\n <b>{generalCopyContent.categorize_bold_text}</b>,\n ) as React.ReactNode,\n generalCopyContent.transactions_uncategorized_step3,\n generalCopyContent.transactions_uncategorized_step4,\n generalCopyContent.transactions_uncategorized_step5,\n ]}\n listType=\"ol\"\n />\n <Text\n content={generalCopyContent.transactions_uncategorized_footer_text}\n sx={{ pt: 12 }}\n />\n </React.Fragment>\n }\n hasDivider={false}\n image={HELP_IMAGES.GENERAL_CATEGORIZE_TRANSACTIONS}\n imageLargeBreakPoint={10}\n />\n ),\n 'why-cant-i-see-the-software': (\n <NoImageContent\n content={\n <React.Fragment>\n <Text content={generalCopyContent.supported_browser_subheader} />\n <List\n items={[\n generalCopyContent.supported_browser_step1,\n generalCopyContent.supported_browser_step2,\n ]}\n />\n <Text content={generalCopyContent.display_issues_subheader} sx={{ mt: 6 }} />\n <List\n items={[\n buildDynamicCopy(\n generalCopyContent.display_issues_step1,\n <b>{generalCopyContent.f12_bold_text}</b>,\n ) as React.ReactNode,\n buildDynamicCopy(\n generalCopyContent.display_issues_step2,\n <b>{generalCopyContent.browser_mode_bold_text}</b>,\n ) as React.ReactNode,\n generalCopyContent.display_issues_step3,\n buildDynamicCopy(\n generalCopyContent.display_issues_step4,\n <b>{generalCopyContent.document_mode_bold_text}</b>,\n ) as React.ReactNode,\n generalCopyContent.display_issues_step5,\n generalCopyContent.display_issues_step6,\n ]}\n />\n <Text content={generalCopyContent.display_issues_footer_text} sx={{ mt: 6 }} />\n </React.Fragment>\n }\n hasDivider={false}\n />\n ),\n 'how-do-i-log-out-of-the-software': (\n <NoImageContent\n content={<Text content={generalCopyContent.log_out_text} />}\n hasDivider={false}\n />\n ),\n }\n\n // The Login Issues articles are listed under General FAQs too; their content lives in LoginIssues.\n if (isLoginIssueTopic(topicKey)) return <LoginIssues copy={copy} topicKey={topicKey} />\n\n return dynamicGoalsSection[topicKey as keyof typeof dynamicGoalsSection] ?? null\n}\n\nexport default General\n"],"mappings":";;;;;;;;;AAUA,IAAM,IAAA,CAAmC,EAAE,UAAA,GAAU,MAAA,EAAA,MAAW;AAC9D,QAAM,EAAE,cAAc,EAAA,IAAuB,GACvC,IAAsB;AAAA,IAC1B,iCACE,gBAAA,EAAC,GAAD;AAAA,MACE,SACE,gBAAA,EAAC,EAAM,UAAP,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AAM,SAAS,EAAmB;AAAA,UAA4B,IAAI,EAAE,IAAI,EAAE;AAAA,QAAI,CAAA;AAAA,MAChE,EAAA,CAAA;AAAA,MAElB,YAAY;AAAA,IACb,CAAA;AAAA,IAEH,oCACE,gBAAA,EAAC,GAAD;AAAA,MACE,SAAS,gBAAA,EAAC,GAAD,EAAM,SAAS,EAAmB,aAAe,CAAA;AAAA,MAC1D,YAAY;AAAA,IACb,CAAA;AAAA,EAEL;AAGA,SAAI,EAAkB,CAAQ,IAAU,gBAAA,EAAC,GAAD;AAAA,IAAmB,MAAA;AAAA,IAAgB,UAAA;AAAA,EAAW,CAAA,IAE/E,EAAoB,CAAA,KAAiD;AAC9E"}
@@ -1,9 +1,11 @@
1
1
  import { NoImageContent as s } from "../NoImageContent.es.js";
2
- import { List as c, Text as t } from "../ContentItem.es.js";
2
+ import { List as c, Text as _ } from "../ContentItem.es.js";
3
3
  import i from "react";
4
- import { jsx as _, jsxs as p } from "react/jsx-runtime";
4
+ import { jsx as t, jsxs as p } from "react/jsx-runtime";
5
5
  var f = ({ topicKey: n, copy: r }) => {
6
- const e = r.login_issues, o = {
6
+ const e = r.login_issues;
7
+ if (!e) return null;
8
+ const o = {
7
9
  "not-receiving-code": {
8
10
  summary: e.not_receiving_code_summary,
9
11
  steps: [
@@ -47,15 +49,16 @@ var f = ({ topicKey: n, copy: r }) => {
47
49
  footer: e.new_code_or_token_footer
48
50
  }
49
51
  }[n];
50
- return o ? /* @__PURE__ */ _(s, {
52
+ return o ? /* @__PURE__ */ t(s, {
51
53
  hasDivider: !1,
52
54
  content: /* @__PURE__ */ p(i.Fragment, { children: [
53
- /* @__PURE__ */ _(t, { content: o.summary }),
54
- /* @__PURE__ */ _(c, {
55
+ /* @__PURE__ */ t(_, { content: o.summary }),
56
+ /* @__PURE__ */ t(c, {
57
+ itemGap: 8,
55
58
  items: [...o.steps],
56
59
  listType: "ol"
57
60
  }),
58
- /* @__PURE__ */ _(t, {
61
+ /* @__PURE__ */ t(_, {
59
62
  content: o.footer,
60
63
  sx: { pt: 12 }
61
64
  })
@@ -1 +1 @@
1
- {"version":3,"file":"LoginIssues.es.js","names":[],"sources":["../../../../../src/help/components/content/section/LoginIssues.tsx"],"sourcesContent":["import React from 'react'\n\nimport { NoImageContent } from '..'\nimport { SectionProps } from '../../../../core/types/Help'\nimport { List, Text } from '../ContentItem'\n\n// One render fun, keyed by lookup; unknown keys return null.\nconst LoginIssues: React.FC<SectionProps> = ({ topicKey, copy }) => {\n const c = copy.login_issues\n\n const articles = {\n 'not-receiving-code': {\n summary: c.not_receiving_code_summary,\n steps: [\n c.not_receiving_code_step_1,\n c.not_receiving_code_step_2,\n c.not_receiving_code_step_3,\n c.not_receiving_code_step_4,\n c.not_receiving_code_step_5,\n ],\n footer: c.not_receiving_code_footer,\n },\n 'wrong-phone-number': {\n summary: c.wrong_phone_number_summary,\n steps: [\n c.wrong_phone_number_step_1,\n c.wrong_phone_number_step_2,\n c.wrong_phone_number_step_3,\n c.wrong_phone_number_step_4,\n ],\n footer: c.wrong_phone_number_footer,\n },\n 'outdated-contact-info': {\n summary: c.outdated_contact_info_summary,\n steps: [\n c.outdated_contact_info_step_1,\n c.outdated_contact_info_step_2,\n c.outdated_contact_info_step_3,\n c.outdated_contact_info_step_4,\n ],\n footer: c.outdated_contact_info_footer,\n },\n 'new-code-or-token': {\n summary: c.new_code_or_token_summary,\n steps: [\n c.new_code_or_token_step_1,\n c.new_code_or_token_step_2,\n c.new_code_or_token_step_3,\n c.new_code_or_token_step_4,\n c.new_code_or_token_step_5,\n ],\n footer: c.new_code_or_token_footer,\n },\n } as const\n\n const entry = articles[topicKey as keyof typeof articles]\n if (!entry) return null\n\n return (\n <NoImageContent\n hasDivider={false}\n content={\n <React.Fragment>\n <Text content={entry.summary} />\n <List items={[...entry.steps]} listType=\"ol\" />\n <Text content={entry.footer} sx={{ pt: 12 }} />\n </React.Fragment>\n }\n />\n )\n}\n\nexport default LoginIssues\n"],"mappings":";;;;AAOA,IAA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,MAAI,CAAA;AAAA,IAChC,EAAA,CAAA;AAAA,EAEnB,CAAA,IAZgB;AAcrB"}
1
+ {"version":3,"file":"LoginIssues.es.js","names":[],"sources":["../../../../../src/help/components/content/section/LoginIssues.tsx"],"sourcesContent":["import React from 'react'\n\nimport { NoImageContent } from '..'\nimport { SectionProps } from '../../../../core/types/Help'\nimport { List, Text } from '../ContentItem'\n\n// One render fun, keyed by lookup; unknown keys return null.\nconst LoginIssues: React.FC<SectionProps> = ({ topicKey, copy }) => {\n const c = copy.login_issues\n // Copy ships separately; without it there is nothing to render, so don't throw.\n if (!c) return null\n\n const articles = {\n 'not-receiving-code': {\n summary: c.not_receiving_code_summary,\n steps: [\n c.not_receiving_code_step_1,\n c.not_receiving_code_step_2,\n c.not_receiving_code_step_3,\n c.not_receiving_code_step_4,\n c.not_receiving_code_step_5,\n ],\n footer: c.not_receiving_code_footer,\n },\n 'wrong-phone-number': {\n summary: c.wrong_phone_number_summary,\n steps: [\n c.wrong_phone_number_step_1,\n c.wrong_phone_number_step_2,\n c.wrong_phone_number_step_3,\n c.wrong_phone_number_step_4,\n ],\n footer: c.wrong_phone_number_footer,\n },\n 'outdated-contact-info': {\n summary: c.outdated_contact_info_summary,\n steps: [\n c.outdated_contact_info_step_1,\n c.outdated_contact_info_step_2,\n c.outdated_contact_info_step_3,\n c.outdated_contact_info_step_4,\n ],\n footer: c.outdated_contact_info_footer,\n },\n 'new-code-or-token': {\n summary: c.new_code_or_token_summary,\n steps: [\n c.new_code_or_token_step_1,\n c.new_code_or_token_step_2,\n c.new_code_or_token_step_3,\n c.new_code_or_token_step_4,\n c.new_code_or_token_step_5,\n ],\n footer: c.new_code_or_token_footer,\n },\n } as const\n\n const entry = articles[topicKey as keyof typeof articles]\n if (!entry) return null\n\n return (\n <NoImageContent\n hasDivider={false}\n content={\n <React.Fragment>\n <Text content={entry.summary} />\n <List itemGap={8} items={[...entry.steps]} listType=\"ol\" />\n <Text content={entry.footer} sx={{ pt: 12 }} />\n </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S;AAAA,MAAM,CAAA;AAAA,MAC1D,gBAAA,EAAC,GAAD;AAAA,QAAM,SAAS,EAAM;AAAA,QAAQ,IAAI,EAAE,IAAI,GAAG;AAAA,MAAI,CAAA;AAAA,IAChC,EAAA,CAAA;AAAA,EAEnB,CAAA,IAZgB;AAcrB"}
@@ -2,35 +2,35 @@ import o from "./Accounts.es.js";
2
2
  import r from "./Budgets.es.js";
3
3
  import t from "./CashFlow.es.js";
4
4
  import i from "./Debts.es.js";
5
- import s from "./General.es.js";
6
- import m from "./Goals.es.js";
7
- import n from "./Investments.es.js";
8
- import e from "./Mobile.es.js";
9
- import p from "./NetWorth.es.js";
10
- import a from "./Notifications.es.js";
11
- import f from "./RecurringTransactions.es.js";
12
- import c from "./Spending.es.js";
13
- import g from "./Transactions.es.js";
14
- import l from "./Trends.es.js";
15
- import u from "./Insights.es.js";
16
- import d from "./LoginIssues.es.js";
5
+ import s from "./LoginIssues.es.js";
6
+ import m from "./General.es.js";
7
+ import n from "./Goals.es.js";
8
+ import e from "./Investments.es.js";
9
+ import p from "./Mobile.es.js";
10
+ import a from "./NetWorth.es.js";
11
+ import f from "./Notifications.es.js";
12
+ import c from "./RecurringTransactions.es.js";
13
+ import g from "./Spending.es.js";
14
+ import l from "./Transactions.es.js";
15
+ import u from "./Trends.es.js";
16
+ import d from "./Insights.es.js";
17
17
  var L = {
18
18
  accounts: o,
19
- alerts: a,
19
+ alerts: f,
20
20
  budgets: r,
21
21
  cashflow: t,
22
22
  debts: i,
23
- general: s,
24
- goals: m,
25
- insights: u,
26
- login_issues: d,
27
- investments: n,
28
- mobile: e,
29
- networth: p,
30
- recurring_transactions: f,
31
- spending: c,
32
- transactions: g,
33
- trends: l
23
+ general: m,
24
+ goals: n,
25
+ insights: d,
26
+ login_issues: s,
27
+ investments: e,
28
+ mobile: p,
29
+ networth: a,
30
+ recurring_transactions: c,
31
+ spending: g,
32
+ transactions: l,
33
+ trends: u
34
34
  };
35
35
  export {
36
36
  L as contentSection
@@ -7,31 +7,31 @@ import { Icon as A, Text as d } from "@mxenabled/mxui";
7
7
  import { ExpandMore as T } from "@mxenabled/mx-icons";
8
8
  import { jsx as r, jsxs as c } from "react/jsx-runtime";
9
9
  import P from "@mui/material/Divider";
10
- import f from "@mui/material/List";
10
+ import h from "@mui/material/List";
11
11
  import N from "@mui/material/ListItem";
12
12
  import O from "@mui/material/ListItemButton";
13
13
  import B from "@mui/material/Accordion";
14
14
  import D from "@mui/material/AccordionDetails";
15
15
  import H from "@mui/material/AccordionSummary";
16
16
  var Z = ({ copy: n, helpByCategory: g, onClick: y, onOpenCase: E, onTopicSelect: _ }) => {
17
- const [b, C] = m.useState(null), u = m.useRef([]), { onEvent: s } = S();
17
+ const [L, b] = m.useState(null), u = m.useRef([]), { onEvent: s } = S();
18
18
  return /* @__PURE__ */ r(l, {
19
19
  sx: {
20
20
  flex: 1,
21
21
  gap: 12,
22
22
  p: 12
23
23
  },
24
- children: g.map(({ description: x, guid: L, icon: I, title: o, topics: t }, i) => /* @__PURE__ */ c(B, {
24
+ children: g.map(({ description: x, guid: C, icon: I, title: o, topics: t }, i) => /* @__PURE__ */ c(B, {
25
25
  disableGutters: !0,
26
- expanded: i === b,
26
+ expanded: i === L,
27
27
  onChange: (e, p) => {
28
- s(a.HELP_EXPAND_CATEGORY, { category: o }), C(p ? i : null);
28
+ s(a.HELP_EXPAND_CATEGORY, { category: o }), b(p ? i : null);
29
29
  },
30
30
  ref: (e) => {
31
31
  u.current[i] = e;
32
32
  },
33
- slotProps: { transition: { onEntered: () => u.current[i]?.scrollIntoView(G) } },
34
- sx: M,
33
+ slotProps: { transition: { onEntered: () => u.current[i]?.scrollIntoView(M) } },
34
+ sx: G,
35
35
  children: [
36
36
  /* @__PURE__ */ r(H, {
37
37
  expandIcon: /* @__PURE__ */ r(T, { sx: { color: "text.primary" } }),
@@ -70,19 +70,23 @@ var Z = ({ copy: n, helpByCategory: g, onClick: y, onOpenCase: E, onTopicSelect:
70
70
  color: "text.secondary",
71
71
  variant: "subtitle2",
72
72
  children: x
73
- }), t.length > 0 && /* @__PURE__ */ r(f, {
73
+ }), t.length > 0 && /* @__PURE__ */ r(h, {
74
74
  dense: !0,
75
75
  disablePadding: !0,
76
76
  sx: {
77
+ display: "flex",
78
+ flexDirection: "column",
79
+ gap: 8,
77
80
  listStyleType: "disc",
78
- pl: 20
81
+ pl: 20,
82
+ "&& > .MuiListItem-root": {
83
+ minHeight: 0,
84
+ py: 0
85
+ }
79
86
  },
80
87
  children: t.map(({ label: e }) => /* @__PURE__ */ r(N, {
81
88
  disableGutters: !0,
82
- sx: {
83
- display: "list-item",
84
- py: 2
85
- },
89
+ sx: { display: "list-item" },
86
90
  children: /* @__PURE__ */ r(d, {
87
91
  color: "text.secondary",
88
92
  variant: "subtitle2",
@@ -90,20 +94,20 @@ var Z = ({ copy: n, helpByCategory: g, onClick: y, onOpenCase: E, onTopicSelect:
90
94
  })
91
95
  }, e))
92
96
  })]
93
- }) : /* @__PURE__ */ c(m.Fragment, { children: [t.length > 0 && /* @__PURE__ */ r(f, {
97
+ }) : /* @__PURE__ */ c(m.Fragment, { children: [t.length > 0 && /* @__PURE__ */ r(h, {
94
98
  sx: { "& .MuiListItemButton-root": { pl: 6 } },
95
- children: t.map(({ label: e, type: p, topicKey: h }, R) => /* @__PURE__ */ r(O, {
99
+ children: t.map(({ label: e, type: p, topicKey: f }, R) => /* @__PURE__ */ r(O, {
96
100
  divider: !0,
97
101
  onClick: () => {
98
102
  if (s(a.HELP_CLICK_CATEGORY, {
99
103
  category: o,
100
104
  helpTopic: e
101
- }), h) {
105
+ }), f) {
102
106
  _({
103
- guid: L,
107
+ guid: C,
104
108
  category: o,
105
109
  pageTitle: e,
106
- topicKey: h
110
+ topicKey: f
107
111
  });
108
112
  return;
109
113
  }
@@ -145,10 +149,10 @@ var Z = ({ copy: n, helpByCategory: g, onClick: y, onOpenCase: E, onTopicSelect:
145
149
  ]
146
150
  }, i))
147
151
  });
148
- }, G = {
152
+ }, M = {
149
153
  behavior: "smooth",
150
154
  block: "nearest"
151
- }, M = (n) => ({
155
+ }, G = (n) => ({
152
156
  border: `1px solid ${n.palette.neutral?.light}`,
153
157
  borderRadius: "8px",
154
158
  "&:first-of-type": { borderRadius: "8px" },
@@ -1 +1 @@
1
- {"version":3,"file":"HelpByCategoryList.es.js","names":[],"sources":["../../../../src/help/components/requestsupport/HelpByCategoryList.tsx"],"sourcesContent":["import React from 'react'\n\nimport Accordion from '@mui/material/Accordion'\nimport AccordionDetails from '@mui/material/AccordionDetails'\nimport AccordionSummary from '@mui/material/AccordionSummary'\nimport Divider from '@mui/material/Divider'\nimport List from '@mui/material/List'\nimport ListItem from '@mui/material/ListItem'\nimport ListItemButton from '@mui/material/ListItemButton'\nimport Stack from '@mui/material/Stack'\n\nimport { Icon, Text } from '@mxenabled/mxui'\nimport { ExpandMore } from '@mxenabled/mx-icons'\n\nimport { ANALYTICS_EVENTS, useEvent } from '../../../common'\nimport type { HelpCopy, HelpType, SelectedTopic } from '../../../core'\nimport { SupportPrompt } from '../SupportPrompt'\n\ninterface HelpByCategory {\n description?: string\n guid: string\n icon: string\n title: string\n topics: Topic[]\n}\n\ninterface HelpByCategoryListProps {\n copy: HelpCopy\n helpByCategory: HelpByCategory[]\n onClick: (label: string, type: HelpType) => void\n onOpenCase: (topic: string) => void\n onTopicSelect: (topic: SelectedTopic) => void\n}\n\ninterface Topic {\n label: string\n type: HelpType\n topicKey?: string\n}\n\nexport const HelpByCategoryList: React.FC<HelpByCategoryListProps> = ({\n copy,\n helpByCategory,\n onClick,\n onOpenCase,\n onTopicSelect,\n}) => {\n const [expanded, setExpanded] = React.useState<number | null>(null)\n const accordionRefs = React.useRef<(HTMLDivElement | null)[]>([])\n\n const { onEvent } = useEvent()\n\n return (\n <Stack sx={{ flex: 1, gap: 12, p: 12 }}>\n {helpByCategory.map(({ description, guid, icon, title, topics }, i) => (\n <Accordion\n disableGutters={true}\n expanded={i === expanded}\n key={i}\n onChange={(_, isExpanded) => {\n onEvent(ANALYTICS_EVENTS.HELP_EXPAND_CATEGORY, {\n category: title,\n })\n\n setExpanded(isExpanded ? i : null)\n }}\n ref={(el: HTMLDivElement | null) => {\n accordionRefs.current[i] = el\n }}\n slotProps={{\n // Bring the newly expanded card fully into view once it has opened,\n // so content near the bottom of the drawer isn't cropped.\n transition: {\n onEntered: () => accordionRefs.current[i]?.scrollIntoView(SCROLL_OPTIONS),\n },\n }}\n sx={accordionStyles}\n >\n <AccordionSummary\n expandIcon={<ExpandMore sx={{ color: 'text.primary' }} />}\n sx={{ p: '14px 24px', height: 64 }}\n >\n <Stack sx={{ alignItems: 'center', flexDirection: 'row', gap: 12 }}>\n <Icon name={icon} size={24} />\n <Text variant=\"body1\">{title}</Text>\n </Stack>\n </AccordionSummary>\n <Divider />\n <AccordionDetails\n sx={{\n ml: 56,\n p: 0,\n }}\n >\n {description ? (\n <Stack sx={{ gap: 12, py: 16, pr: 24 }}>\n <Text color=\"text.secondary\" variant=\"subtitle2\">\n {description}\n </Text>\n {topics.length > 0 && (\n <List dense={true} disablePadding={true} sx={{ listStyleType: 'disc', pl: 20 }}>\n {topics.map(({ label }) => (\n <ListItem\n disableGutters={true}\n key={label}\n sx={{ display: 'list-item', py: 2 }}\n >\n <Text color=\"text.secondary\" variant=\"subtitle2\">\n {label}\n </Text>\n </ListItem>\n ))}\n </List>\n )}\n </Stack>\n ) : (\n <React.Fragment>\n {topics.length > 0 && (\n <List sx={{ '& .MuiListItemButton-root': { pl: 6 } }}>\n {topics.map(({ label, type, topicKey }, i) => (\n <ListItemButton\n divider={true}\n key={i}\n onClick={() => {\n onEvent(ANALYTICS_EVENTS.HELP_CLICK_CATEGORY, {\n category: title,\n helpTopic: label,\n })\n\n if (topicKey) {\n onTopicSelect({\n guid,\n category: title,\n pageTitle: label,\n topicKey,\n })\n return\n }\n onClick(label, type)\n }}\n sx={{\n borderColor: 'neutral.light',\n '&:last-child': {\n border: 'none',\n borderBottomRightRadius: 7,\n },\n }}\n >\n <Text color=\"text.secondary\" variant=\"body2\">\n {label}\n </Text>\n </ListItemButton>\n ))}\n </List>\n )}\n {topics.every(({ topicKey }) => !topicKey) && (\n <SupportPrompt\n actionText={copy.request_support_footer_button}\n onAction={() => {\n onEvent(ANALYTICS_EVENTS.HELP_CLICK_OPEN_CASE, {\n source: 'category',\n topic: title,\n })\n\n onOpenCase(title)\n }}\n onPrompt={() =>\n onEvent(ANALYTICS_EVENTS.HELP_CLICK_NEED_MORE_ASSISTANCE, {\n source: 'category',\n topic: title,\n })\n }\n promptText={copy.need_more_assistance}\n sx={{ alignItems: 'flex-start', pb: 16, pt: 4 }}\n />\n )}\n </React.Fragment>\n )}\n </AccordionDetails>\n </Accordion>\n ))}\n </Stack>\n )\n}\n\nconst SCROLL_OPTIONS: ScrollIntoViewOptions = { behavior: 'smooth', block: 'nearest' }\n\nconst accordionStyles = (theme: any) => {\n return {\n border: `1px solid ${theme.palette.neutral?.light}`,\n borderRadius: '8px',\n '&:first-of-type': { borderRadius: '8px' },\n '&:before': {\n opacity: 0,\n },\n '& .MuiAccordion-region': {\n borderBottomLeftRadius: 8,\n borderBottomRightRadius: 8,\n },\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;AAwCA,IAAa,IAAA,CAAyD,EACpE,MAAA,GACA,gBAAA,GACA,SAAA,GACA,YAAA,GACA,eAAA,EAAA,MACI;AACJ,QAAM,CAAC,GAAU,CAAA,IAAe,EAAM,SAAwB,IAAI,GAC5D,IAAgB,EAAM,OAAkC,CAAC,CAAC,GAE1D,EAAE,SAAA,EAAA,IAAY,EAAS;AAE7B,SACE,gBAAA,EAAC,GAAD;AAAA,IAAO,IAAI;AAAA,MAAE,MAAM;AAAA,MAAG,KAAK;AAAA,MAAI,GAAG;AAAA,IAAG;AAAA,IAClC,UAAA,EAAe,IAAA,CAAK,EAAE,aAAA,GAAa,MAAA,GAAM,MAAA,GAAM,OAAA,GAAO,QAAA,EAAA,GAAU,MAC/D,gBAAA,EAAC,GAAD;AAAA,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A,cAEA,UAAA,gBAAA,EAAC,GAAD;AAAA,gBAAM,OAAM;AAAA,gBAAiB,SAAQ;AAAA,gBAClC,UAAA;AAAA,cACG,CAAA;AAAA,YACQ,GA7BT,CA6BS,CACjB;AAAA,UACG,CAAA,GAEP,EAAO,MAAA,CAAO,EAAE,UAAA,EAAA,MAAe,CAAC,CAAQ,KACvC,gBAAA,EAAC,GAAD;AAAA,YACE,YAAY,EAAK;AAAA,YACjB,UAAA,MAAgB;AACd,cAAA,EAAQ,EAAiB,sBAAsB;AAAA,gBAC7C,QAAQ;AAAA,gBACR,OAAO;AAAA,cACT,CAAC,GAED,EAAW,CAAK;AAAA,YAClB;AAAA,YACA,UAAA,MACE,EAAQ,EAAiB,iCAAiC;AAAA,cACxD,QAAQ;AAAA,cACR,OAAO;AAAA,YACT,CAAC;AAAA,YAEH,YAAY,EAAK;AAAA,YACjB,IAAI;AAAA,cAAE,YAAY;AAAA,cAAc,IAAI;AAAA,cAAI,IAAI;AAAA,YAAE;AAAA,UAC/C,CAAA,CAEW,EAAA,CAAA;AAAA,QAEF,CAAA;AAAA,MACT;AAAA,IAzHJ,GAAA,CAyHI,CACZ;AAAA,EACI,CAAA;AAEX,GAEM,IAAwC;AAAA,EAAE,UAAU;AAAA,EAAU,OAAO;AAAU,GAE/E,IAAA,CAAmB,OAChB;AAAA,EACL,QAAQ,aAAa,EAAM,QAAQ,SAAS,KAAA;AAAA,EAC5C,cAAc;AAAA,EACd,mBAAmB,EAAE,cAAc,MAAM;AAAA,EACzC,YAAY,EACV,SAAS,EACX;AAAA,EACA,0BAA0B;AAAA,IACxB,wBAAwB;AAAA,IACxB,yBAAyB;AAAA,EAC3B;AACF"}
1
+ {"version":3,"file":"HelpByCategoryList.es.js","names":[],"sources":["../../../../src/help/components/requestsupport/HelpByCategoryList.tsx"],"sourcesContent":["import React from 'react'\n\nimport Accordion from '@mui/material/Accordion'\nimport AccordionDetails from '@mui/material/AccordionDetails'\nimport AccordionSummary from '@mui/material/AccordionSummary'\nimport Divider from '@mui/material/Divider'\nimport List from '@mui/material/List'\nimport ListItem from '@mui/material/ListItem'\nimport ListItemButton from '@mui/material/ListItemButton'\nimport Stack from '@mui/material/Stack'\n\nimport { Icon, Text } from '@mxenabled/mxui'\nimport { ExpandMore } from '@mxenabled/mx-icons'\n\nimport { ANALYTICS_EVENTS, useEvent } from '../../../common'\nimport type { HelpCopy, HelpType, SelectedTopic } from '../../../core'\nimport { SupportPrompt } from '../SupportPrompt'\n\ninterface HelpByCategory {\n description?: string\n guid: string\n icon: string\n title: string\n topics: Topic[]\n}\n\ninterface HelpByCategoryListProps {\n copy: HelpCopy\n helpByCategory: HelpByCategory[]\n onClick: (label: string, type: HelpType) => void\n onOpenCase: (topic: string) => void\n onTopicSelect: (topic: SelectedTopic) => void\n}\n\ninterface Topic {\n label: string\n type: HelpType\n topicKey?: string\n}\n\nexport const HelpByCategoryList: React.FC<HelpByCategoryListProps> = ({\n copy,\n helpByCategory,\n onClick,\n onOpenCase,\n onTopicSelect,\n}) => {\n const [expanded, setExpanded] = React.useState<number | null>(null)\n const accordionRefs = React.useRef<(HTMLDivElement | null)[]>([])\n\n const { onEvent } = useEvent()\n\n return (\n <Stack sx={{ flex: 1, gap: 12, p: 12 }}>\n {helpByCategory.map(({ description, guid, icon, title, topics }, i) => (\n <Accordion\n disableGutters={true}\n expanded={i === expanded}\n key={i}\n onChange={(_, isExpanded) => {\n onEvent(ANALYTICS_EVENTS.HELP_EXPAND_CATEGORY, {\n category: title,\n })\n\n setExpanded(isExpanded ? i : null)\n }}\n ref={(el: HTMLDivElement | null) => {\n accordionRefs.current[i] = el\n }}\n slotProps={{\n // Bring the newly expanded card fully into view once it has opened,\n // so content near the bottom of the drawer isn't cropped.\n transition: {\n onEntered: () => accordionRefs.current[i]?.scrollIntoView(SCROLL_OPTIONS),\n },\n }}\n sx={accordionStyles}\n >\n <AccordionSummary\n expandIcon={<ExpandMore sx={{ color: 'text.primary' }} />}\n sx={{ p: '14px 24px', height: 64 }}\n >\n <Stack sx={{ alignItems: 'center', flexDirection: 'row', gap: 12 }}>\n <Icon name={icon} size={24} />\n <Text variant=\"body1\">{title}</Text>\n </Stack>\n </AccordionSummary>\n <Divider />\n <AccordionDetails\n sx={{\n ml: 56,\n p: 0,\n }}\n >\n {description ? (\n <Stack sx={{ gap: 12, py: 16, pr: 24 }}>\n <Text color=\"text.secondary\" variant=\"subtitle2\">\n {description}\n </Text>\n {topics.length > 0 && (\n // Read-only bullets with one even gap. The theme gives every list item inside an\n // accordion a 44px min-height (a tap-target size), which padded one-line bullets but\n // not wrapped ones, so the gaps were uneven. The doubled class outranks the theme\n // rule, and `>` keeps the override to this list's own bullets.\n <List\n dense={true}\n disablePadding={true}\n sx={{\n display: 'flex',\n flexDirection: 'column',\n gap: 8,\n listStyleType: 'disc',\n pl: 20,\n '&& > .MuiListItem-root': { minHeight: 0, py: 0 },\n }}\n >\n {topics.map(({ label }) => (\n <ListItem disableGutters={true} key={label} sx={{ display: 'list-item' }}>\n <Text color=\"text.secondary\" variant=\"subtitle2\">\n {label}\n </Text>\n </ListItem>\n ))}\n </List>\n )}\n </Stack>\n ) : (\n <React.Fragment>\n {topics.length > 0 && (\n <List sx={{ '& .MuiListItemButton-root': { pl: 6 } }}>\n {topics.map(({ label, type, topicKey }, i) => (\n <ListItemButton\n divider={true}\n key={i}\n onClick={() => {\n onEvent(ANALYTICS_EVENTS.HELP_CLICK_CATEGORY, {\n category: title,\n helpTopic: label,\n })\n\n if (topicKey) {\n onTopicSelect({\n guid,\n category: title,\n pageTitle: label,\n topicKey,\n })\n return\n }\n onClick(label, type)\n }}\n sx={{\n borderColor: 'neutral.light',\n '&:last-child': {\n border: 'none',\n borderBottomRightRadius: 7,\n },\n }}\n >\n <Text color=\"text.secondary\" variant=\"body2\">\n {label}\n </Text>\n </ListItemButton>\n ))}\n </List>\n )}\n {topics.every(({ topicKey }) => !topicKey) && (\n <SupportPrompt\n actionText={copy.request_support_footer_button}\n onAction={() => {\n onEvent(ANALYTICS_EVENTS.HELP_CLICK_OPEN_CASE, {\n source: 'category',\n topic: title,\n })\n\n onOpenCase(title)\n }}\n onPrompt={() =>\n onEvent(ANALYTICS_EVENTS.HELP_CLICK_NEED_MORE_ASSISTANCE, {\n source: 'category',\n topic: title,\n })\n }\n promptText={copy.need_more_assistance}\n sx={{ alignItems: 'flex-start', pb: 16, pt: 4 }}\n />\n )}\n </React.Fragment>\n )}\n </AccordionDetails>\n </Accordion>\n ))}\n </Stack>\n )\n}\n\nconst SCROLL_OPTIONS: ScrollIntoViewOptions = { behavior: 'smooth', block: 'nearest' }\n\nconst accordionStyles = (theme: any) => {\n return {\n border: `1px solid ${theme.palette.neutral?.light}`,\n borderRadius: '8px',\n '&:first-of-type': { borderRadius: '8px' },\n '&:before': {\n opacity: 0,\n },\n '& .MuiAccordion-region': {\n borderBottomLeftRadius: 8,\n borderBottomRightRadius: 8,\n },\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;AAwCA,IAAa,IAAA,CAAyD,EACpE,MAAA,GACA,gBAAA,GACA,SAAA,GACA,YAAA,GACA,eAAA,EAAA,MACI;AACJ,QAAM,CAAC,GAAU,CAAA,IAAe,EAAM,SAAwB,IAAI,GAC5D,IAAgB,EAAM,OAAkC,CAAC,CAAC,GAE1D,EAAE,SAAA,EAAA,IAAY,EAAS;AAE7B,SACE,gBAAA,EAAC,GAAD;AAAA,IAAO,IAAI;AAAA,MAAE,MAAM;AAAA,MAAG,KAAK;AAAA,MAAI,GAAG;AAAA,IAAG;AAAA,IAClC,UAAA,EAAe,IAAA,CAAK,EAAE,aAAA,GAAa,MAAA,GAAM,MAAA,GAAM,OAAA,GAAO,QAAA,EAAA,GAAU,MAC/D,gBAAA,EAAC,GAAD;AAAA,MACE,gBAAgB;AAAA,MAChB,UAAU,MAAM;AAAA,MAEhB,UAAA,CAAW,GAAG,MAAe;AAC3B,QAAA,EAAQ,EAAiB,sBAAsB,EAC7C,UAAU,EACZ,CAAC,GAED,EAAY,IA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AA,gBAAiB,SAAQ;AAAA,gBAClC,UAAA;AAAA,cACG,CAAA;AAAA,YACQ,GA7BT,CA6BS,CACjB;AAAA,UACG,CAAA,GAEP,EAAO,MAAA,CAAO,EAAE,UAAA,EAAA,MAAe,CAAC,CAAQ,KACvC,gBAAA,EAAC,GAAD;AAAA,YACE,YAAY,EAAK;AAAA,YACjB,UAAA,MAAgB;AACd,cAAA,EAAQ,EAAiB,sBAAsB;AAAA,gBAC7C,QAAQ;AAAA,gBACR,OAAO;AAAA,cACT,CAAC,GAED,EAAW,CAAK;AAAA,YAClB;AAAA,YACA,UAAA,MACE,EAAQ,EAAiB,iCAAiC;AAAA,cACxD,QAAQ;AAAA,cACR,OAAO;AAAA,YACT,CAAC;AAAA,YAEH,YAAY,EAAK;AAAA,YACjB,IAAI;AAAA,cAAE,YAAY;AAAA,cAAc,IAAI;AAAA,cAAI,IAAI;AAAA,YAAE;AAAA,UAC/C,CAAA,CAEW,EAAA,CAAA;AAAA,QAEF,CAAA;AAAA,MACT;AAAA,IApIJ,GAAA,CAoII,CACZ;AAAA,EACI,CAAA;AAEX,GAEM,IAAwC;AAAA,EAAE,UAAU;AAAA,EAAU,OAAO;AAAU,GAE/E,IAAA,CAAmB,OAChB;AAAA,EACL,QAAQ,aAAa,EAAM,QAAQ,SAAS,KAAA;AAAA,EAC5C,cAAc;AAAA,EACd,mBAAmB,EAAE,cAAc,MAAM;AAAA,EACzC,YAAY,EACV,SAAS,EACX;AAAA,EACA,0BAA0B;AAAA,IACxB,wBAAwB;AAAA,IACxB,yBAAyB;AAAA,EAC3B;AACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mx-cartographer/experiences",
3
- "version": "9.7.49",
3
+ "version": "9.7.50",
4
4
  "description": "Library containing experience widgets",
5
5
  "author": "MX",
6
6
  "license": "MIT",