@mx-cartographer/experiences 6.26.5 → 6.26.6
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 +4 -0
 - package/dist/common/types/localization/FinstrongCopy.d.ts +5 -0
 - package/dist/finstrong/components/KeyIndicatorsDrawer.d.ts +2 -0
 - package/dist/finstrong/components/ScoreHistoryDrawer.d.ts +8 -0
 - package/dist/finstrong/util/finstrongUtils.d.ts +8 -1
 - package/dist/index.es.js +11 -4
 - package/dist/index.es.js.map +1 -1
 - package/package.json +1 -1
 
    
        package/CHANGELOG.md
    CHANGED
    
    
| 
         @@ -50,6 +50,7 @@ export interface FinstrongCopy { 
     | 
|
| 
       50 
50 
     | 
    
         
             
                accounts: string;
         
     | 
| 
       51 
51 
     | 
    
         
             
                add_profile_item: string;
         
     | 
| 
       52 
52 
     | 
    
         
             
                building: string;
         
     | 
| 
      
 53 
     | 
    
         
            +
                building_description: string;
         
     | 
| 
       53 
54 
     | 
    
         
             
                complete: string;
         
     | 
| 
       54 
55 
     | 
    
         
             
                connect_more_accounts_button: string;
         
     | 
| 
       55 
56 
     | 
    
         
             
                connect_more_accounts_description: string;
         
     | 
| 
         @@ -82,16 +83,20 @@ export interface FinstrongCopy { 
     | 
|
| 
       82 
83 
     | 
    
         
             
                missing_data_title: string;
         
     | 
| 
       83 
84 
     | 
    
         
             
                monthly_income: string;
         
     | 
| 
       84 
85 
     | 
    
         
             
                profile: string;
         
     | 
| 
      
 86 
     | 
    
         
            +
                score_history: string;
         
     | 
| 
       85 
87 
     | 
    
         
             
                score_rubric: string;
         
     | 
| 
       86 
88 
     | 
    
         
             
                peer_average: string;
         
     | 
| 
       87 
89 
     | 
    
         
             
                see_whats_possible: string;
         
     | 
| 
       88 
90 
     | 
    
         
             
                see_whats_possible_description: string;
         
     | 
| 
       89 
91 
     | 
    
         
             
                stable: string;
         
     | 
| 
      
 92 
     | 
    
         
            +
                stable_description: string;
         
     | 
| 
       90 
93 
     | 
    
         
             
                strong: string;
         
     | 
| 
      
 94 
     | 
    
         
            +
                strong_description: string;
         
     | 
| 
       91 
95 
     | 
    
         
             
                title: string;
         
     | 
| 
       92 
96 
     | 
    
         
             
                understand_your_habits: string;
         
     | 
| 
       93 
97 
     | 
    
         
             
                understand_your_habits_description: string;
         
     | 
| 
       94 
98 
     | 
    
         
             
                vulnerable: string;
         
     | 
| 
      
 99 
     | 
    
         
            +
                vulnerable_description: string;
         
     | 
| 
       95 
100 
     | 
    
         
             
                we_ask_questions: string;
         
     | 
| 
       96 
101 
     | 
    
         
             
                we_ask_questions_description_1: string;
         
     | 
| 
       97 
102 
     | 
    
         
             
                we_ask_questions_description_2: string;
         
     | 
| 
         @@ -3,7 +3,9 @@ interface KeyIndicatorsDrawerProps { 
     | 
|
| 
       3 
3 
     | 
    
         
             
                additionalContent?: React.ReactNode;
         
     | 
| 
       4 
4 
     | 
    
         
             
                children?: React.ReactNode;
         
     | 
| 
       5 
5 
     | 
    
         
             
                description?: string;
         
     | 
| 
      
 6 
     | 
    
         
            +
                drawerTitle?: string;
         
     | 
| 
       6 
7 
     | 
    
         
             
                isOpen: boolean;
         
     | 
| 
      
 8 
     | 
    
         
            +
                loadConnectAccountsCard?: boolean;
         
     | 
| 
       7 
9 
     | 
    
         
             
                onClose: () => void;
         
     | 
| 
       8 
10 
     | 
    
         
             
                stickyComponent?: React.ReactNode;
         
     | 
| 
       9 
11 
     | 
    
         
             
                title?: string;
         
     | 
| 
         @@ -2,7 +2,14 @@ import { PieValueType } from '@mui/x-charts'; 
     | 
|
| 
       2 
2 
     | 
    
         
             
            import { CreditScoreStatusCopy, FinstrongCopy } from '../../common/types/localization/FinstrongCopy';
         
     | 
| 
       3 
3 
     | 
    
         
             
            import { Action } from '../components/ProfileList';
         
     | 
| 
       4 
4 
     | 
    
         
             
            export declare const radiansToDegrees: (radians: number) => number;
         
     | 
| 
       5 
     | 
    
         
            -
            export declare const calculateFinstrongScoreStatus: (healthScore: number, copy: FinstrongCopy) =>  
     | 
| 
      
 5 
     | 
    
         
            +
            export declare const calculateFinstrongScoreStatus: (healthScore: number, copy: FinstrongCopy) => {
         
     | 
| 
      
 6 
     | 
    
         
            +
                max: number;
         
     | 
| 
      
 7 
     | 
    
         
            +
                status: string;
         
     | 
| 
      
 8 
     | 
    
         
            +
                description: string;
         
     | 
| 
      
 9 
     | 
    
         
            +
            } | {
         
     | 
| 
      
 10 
     | 
    
         
            +
                status: string;
         
     | 
| 
      
 11 
     | 
    
         
            +
                description: string;
         
     | 
| 
      
 12 
     | 
    
         
            +
            };
         
     | 
| 
       6 
13 
     | 
    
         
             
            export declare const CreditScoreLightColors: {
         
     | 
| 
       7 
14 
     | 
    
         
             
                POOR: string;
         
     | 
| 
       8 
15 
     | 
    
         
             
                FAIR: string;
         
     | 
    
        package/dist/index.es.js
    CHANGED
    
    | 
         @@ -12528,7 +12528,12 @@ const Bp = ({ list: e, onClickItem: n }) => /* @__PURE__ */ t(O, { sx: { bgcolor 
     | 
|
| 
       12528 
12528 
     | 
    
         
             
                  a < e.length - 1 && /* @__PURE__ */ t(P, { sx: { color: "divider", ml: 68 } })
         
     | 
| 
       12529 
12529 
     | 
    
         
             
                ] }, i.key))
         
     | 
| 
       12530 
12530 
     | 
    
         
             
              }
         
     | 
| 
       12531 
     | 
    
         
            -
            ) }), Qr = (e) => e * (180 / Math.PI), Hp = (e, n) =>  
     | 
| 
      
 12531 
     | 
    
         
            +
            ) }), Qr = (e) => e * (180 / Math.PI), Hp = (e, n) => [
         
     | 
| 
      
 12532 
     | 
    
         
            +
              { max: 25, status: n.vulnerable, description: n.vulnerable_description },
         
     | 
| 
      
 12533 
     | 
    
         
            +
              { max: 50, status: n.building, description: n.building_description },
         
     | 
| 
      
 12534 
     | 
    
         
            +
              { max: 75, status: n.stable, description: n.stable_description },
         
     | 
| 
      
 12535 
     | 
    
         
            +
              { max: 100, status: n.strong, description: n.strong_description }
         
     | 
| 
      
 12536 
     | 
    
         
            +
            ].find((o) => e > 0 && e <= o.max) || { status: n.insufficient_data, description: "" }, _n = {
         
     | 
| 
       12532 
12537 
     | 
    
         
             
              POOR: "#8C0E0E",
         
     | 
| 
       12533 
12538 
     | 
    
         
             
              FAIR: "#E32727",
         
     | 
| 
       12534 
12539 
     | 
    
         
             
              GOOD: "#FFB70D",
         
     | 
| 
         @@ -12823,18 +12828,20 @@ const Bp = ({ list: e, onClickItem: n }) => /* @__PURE__ */ t(O, { sx: { bgcolor 
     | 
|
| 
       12823 
12828 
     | 
    
         
             
                  { id: 3, label: "Group C", value: 25 },
         
     | 
| 
       12824 
12829 
     | 
    
         
             
                  { id: 4, label: "Group D", value: 25 }
         
     | 
| 
       12825 
12830 
     | 
    
         
             
                ], { finstrong: r } = A(), { isCopyLoaded: s } = _e();
         
     | 
| 
       12826 
     | 
    
         
            -
                 
     | 
| 
      
 12831 
     | 
    
         
            +
                if (!s) return /* @__PURE__ */ t(ue, {});
         
     | 
| 
      
 12832 
     | 
    
         
            +
                const c = Hp(i, r);
         
     | 
| 
      
 12833 
     | 
    
         
            +
                return /* @__PURE__ */ t(
         
     | 
| 
       12827 
12834 
     | 
    
         
             
                  Zc,
         
     | 
| 
       12828 
12835 
     | 
    
         
             
                  {
         
     | 
| 
       12829 
12836 
     | 
    
         
             
                    arcRadius: e,
         
     | 
| 
       12830 
12837 
     | 
    
         
             
                    dialScoreData: o,
         
     | 
| 
       12831 
12838 
     | 
    
         
             
                    footerCenterContent: n === "L" ? r.footer_center_content_updated_just_now : a,
         
     | 
| 
       12832 
12839 
     | 
    
         
             
                    healthScore: i,
         
     | 
| 
       12833 
     | 
    
         
            -
                    healthScoreStatus:  
     | 
| 
      
 12840 
     | 
    
         
            +
                    healthScoreStatus: c.status,
         
     | 
| 
       12834 
12841 
     | 
    
         
             
                    isFinacialStrengthGraph: !0,
         
     | 
| 
       12835 
12842 
     | 
    
         
             
                    size: n
         
     | 
| 
       12836 
12843 
     | 
    
         
             
                  }
         
     | 
| 
       12837 
     | 
    
         
            -
                ) 
     | 
| 
      
 12844 
     | 
    
         
            +
                );
         
     | 
| 
       12838 
12845 
     | 
    
         
             
              }
         
     | 
| 
       12839 
12846 
     | 
    
         
             
            ), j2 = x(
         
     | 
| 
       12840 
12847 
     | 
    
         
             
              ({
         
     |