diff --git a/components/common/simulation-page/simulation-menu/SimulationMenuBar.tsx b/components/common/simulation-page/simulation-menu/SimulationMenuBar.tsx index bd9a237510893fa71a8504640cfd81b5667f9b8a..c4b5f363c1a5f0d4f3a89ad54cd8856ec20531fd 100644 --- a/components/common/simulation-page/simulation-menu/SimulationMenuBar.tsx +++ b/components/common/simulation-page/simulation-menu/SimulationMenuBar.tsx @@ -54,7 +54,7 @@ class SimulationMenuBar extends PureComponent<Props> { <Grid item> <Legende montrerPLF={montrerPLF} /> </Grid> - /*<Grid item> + {/* <Grid item> <div className={styles.inflalegende}> Hypothèse d'inflation : </div> @@ -62,7 +62,7 @@ class SimulationMenuBar extends PureComponent<Props> { <span className={styles.inflataux}>0.0%</span> <span className={styles.infladetails}>(Aucune inflation prise en compte)</span> </div> - </Grid>*/ + </Grid> */} <Grid item> <Grid container diff --git a/components/ir/cartes-impact/gagnants-perdants/gagnants-perdants-component.tsx b/components/ir/cartes-impact/gagnants-perdants/gagnants-perdants-component.tsx index 3ed5fef8cdc3697f4411353ce0662e5d7a2cb4f9..350ecd71cb0acb987668fb6752d6fc89a3cf239a 100644 --- a/components/ir/cartes-impact/gagnants-perdants/gagnants-perdants-component.tsx +++ b/components/ir/cartes-impact/gagnants-perdants/gagnants-perdants-component.tsx @@ -90,86 +90,94 @@ class GagnantsPerdantsCard extends PureComponent<PropsFromRedux> { return ( <Card - content1={( - <Fragment> - <div className={styles.explicationPLF2022}> - Les données disponibles au sujet de la dynamique économique traduite par une augmentation de la masse totale des revenus imposés, telle qu'exposée dans le PLF 2022 ; ne suffisent pas à fournir une estimation du nombre de foyers ayant une augmentation ou une baisse de leur impôt. Les données - </div> - {isDisabledEtat && (/* - <div> - <div className={styles.buttonPosition}> - <Button - color="secondary" - size="medium" - variant="outlined" - onClick={onClickSimPop}> - <AccountBalanceIcon /> - <FaceIcon className={styles.marginIcon} /> - Estimer ~60" - <CachedIcon className={styles.miniIcon} /> - </Button> - </div> - </div> - */)} - {!isDisabledEtat && isLoadingEtat && (/* - <div className={styles.buttonPosition}> - <CircularProgress color="secondary" /> - </div> - */)} - {!isDisabledEtat && !isLoadingEtat && (/* - <GagnantsPerdantsContent - amendement={hausseReforme} - caption="de foyers nouvellement imposables" - captionAmendement={hausseZeroReforme} - captionPlf={hausseZeroPlf} - icon={( - <ArrowUpwardIcon - classes={{ root: styles.styleIconPerdant }} - fontSize="default" - /> - )} - plf={haussePlf} - title="ayant une augmentation" - /> - */)} - </Fragment> - )} - content2={(!isDisabledEtat && !isLoadingEtat) ? (/* - <GagnantsPerdantsContent - amendement={baisseReforme} - icon={( - <ArrowDownwardIcon - classes={{ root: styles.styleIconGagnant }} - fontSize="default" - /> - )} - plf={baissePlf} - title="ayant une baisse" - /> - */) : null} - content3={(!isDisabledEtat && !isLoadingEtat) ? (/* - <Fragment> - <GagnantsPerdantsContent - amendement={neutreReforme} - caption="de foyers toujours exonérés" - captionAmendement={neutreZeroReforme} - captionPlf={neutreZeroPlf} - icon={( - <NotInterestedIcon - classes={{ root: styles.styleIconNeutre }} - fontSize="default" - /> - )} - plf={neutrePlf} - title="non concernés" - /> - <div className={styles.sourceInsee}> - * Chiffrages indicatifs. - <br /> - Données ERFS-FPR (Insee 2018). - </div> - </Fragment> - */) : null} + content1={ + (<div className={styles.explicationPLF2022}> + Les données de population disponibles à ce jour ne suffisent pas à fournir une estimation du nombre de foyers ayant une augmentation ou une baisse de leur impôt. + </div>) + + // ( + // <Fragment> + + // {isDisabledEtat && ( + // <div> + // <div className={styles.buttonPosition}> + // <Button + // color="secondary" + // size="medium" + // variant="outlined" + // onClick={onClickSimPop}> + // <AccountBalanceIcon /> + // <FaceIcon className={styles.marginIcon} /> + // Estimer ~60" + // <CachedIcon className={styles.miniIcon} /> + // </Button> + // </div> + // </div> + // )} + // {!isDisabledEtat && isLoadingEtat && ( + // <div className={styles.buttonPosition}> + // <CircularProgress color="secondary" /> + // </div> + // )} + // {!isDisabledEtat && !isLoadingEtat && ( + // <GagnantsPerdantsContent + // amendement={hausseReforme} + // caption="de foyers nouvellement imposables" + // captionAmendement={hausseZeroReforme} + // captionPlf={hausseZeroPlf} + // icon={( + // <ArrowUpwardIcon + // classes={{ root: styles.styleIconPerdant }} + // fontSize="default" + // /> + // )} + // plf={haussePlf} + // title="ayant une augmentation" + // /> + // )} + // </Fragment> + // ) + } + content2={null + // (!isDisabledEtat && !isLoadingEtat) ? ( + // <GagnantsPerdantsContent + // amendement={baisseReforme} + // icon={( + // <ArrowDownwardIcon + // classes={{ root: styles.styleIconGagnant }} + // fontSize="default" + // /> + // )} + // plf={baissePlf} + // title="ayant une baisse" + // /> + // ) : null + } + content3={null + // (!isDisabledEtat && !isLoadingEtat) ? ( + // <Fragment> + // <GagnantsPerdantsContent + // amendement={neutreReforme} + // caption="de foyers toujours exonérés" + // captionAmendement={neutreZeroReforme} + // captionPlf={neutreZeroPlf} + // icon={( + // <NotInterestedIcon + // classes={{ root: styles.styleIconNeutre }} + // fontSize="default" + // /> + // )} + // plf={neutrePlf} + // title="non concernés" + // /> + // <div className={styles.sourceInsee}> + // * Chiffrages indicatifs. + // <br /> + // Données ERFS-FPR (Insee 2018). + // </div> + // </Fragment> + // ) : null + } icon={<Icon height="40" icon={familyManGirlGirl} width="40" />} subTitle="en millions pour population à RFR stable depuis 2019" title="Nombre de foyers fiscaux"