@hot-updater/console 1.0.0-rc.9 → 1.0.0
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/.output/nitro.json +1 -1
- package/.output/public/assets/ConsoleFeatureUnavailable-jB4Loglh.js +1 -0
- package/.output/public/assets/EventDetails-B6yUsyNA.js +1 -0
- package/.output/public/assets/HashValueDisplay-BFX_kY3-.js +1 -0
- package/.output/public/assets/InsightsInfo-BNO0WznZ.js +1 -0
- package/.output/public/assets/InsightsPageHeader-B892oVml.js +1 -0
- package/.output/public/assets/NotFoundPage-DIqCpWa3.js +1 -0
- package/.output/public/assets/alert-dialog-Bbk_4-WJ.js +1 -0
- package/.output/public/assets/api-DCM0wr6O.js +1 -0
- package/.output/public/assets/api-keys-CIO9L_wu.js +1 -0
- package/.output/public/assets/api-keys-DVTL_--f.js +1 -0
- package/.output/public/assets/arrow-left-CnMYpqB7.js +1 -0
- package/.output/public/assets/arrow-up-right-BtffZA6e.js +1 -0
- package/.output/public/assets/chevron-right-BqD5wtFb.js +1 -0
- package/.output/public/assets/clipboard-DS9ucUQL.js +1 -0
- package/.output/public/assets/console-features-api-BH5m_PtQ.js +1 -0
- package/.output/public/assets/dialog-Bqbb7B0N.js +1 -0
- package/.output/public/assets/dist-LxKJB-Vu.js +1 -0
- package/.output/public/assets/empty-CuT2UhFp.js +1 -0
- package/.output/public/assets/field-BBDpjIqu.js +1 -0
- package/.output/public/assets/index-6o51GkFe.js +11 -0
- package/.output/public/assets/input-group-ja_30qaF.js +1 -0
- package/.output/public/assets/insights-CmraDzQh.js +1 -0
- package/.output/public/assets/insights-CxZ2GCYV.js +2 -0
- package/.output/public/assets/insights-api-BigAU9sZ.js +1 -0
- package/.output/public/assets/insights-usage-rpc-DYEhsCKT.js +1 -0
- package/.output/public/assets/insights-vNRCrfnS.js +42 -0
- package/.output/public/assets/insights_.distribution-ChOerfJt.js +1 -0
- package/.output/public/assets/insights_.distribution-D-e4iga8.js +1 -0
- package/.output/public/assets/insights_.distribution-DZtkibX1.js +2 -0
- package/.output/public/assets/installations-BazSJXE0.js +2 -0
- package/.output/public/assets/installations-ClHTqdAO.js +1 -0
- package/.output/public/assets/installations-DpKsBuHi.js +1 -0
- package/.output/public/assets/key-round-wS_SIZ6b.js +1 -0
- package/.output/public/assets/list-CgrYiadM.js +1 -0
- package/.output/public/assets/refresh-cw-BYgoNCco.js +1 -0
- package/.output/public/assets/remote-config-BWwHOkCK.js +1 -0
- package/.output/public/assets/remote-config-Br56BODb.js +6 -0
- package/.output/public/assets/remote-config-CXOi0LRu.js +1 -0
- package/.output/public/assets/routes-B88Erkpk.js +2 -0
- package/.output/public/assets/routes-CfzsAleC.js +1 -0
- package/.output/public/assets/search-DaTDPW25.js +1 -0
- package/.output/public/assets/select-BZZBXMkr.js +1 -0
- package/.output/public/assets/sidebar-DNVyJPfX.js +3 -0
- package/.output/public/assets/smartphone-DpTFgtKf.js +1 -0
- package/.output/public/assets/styles-DTGEAJFv.css +2 -0
- package/.output/public/assets/switch-DZ1TPwx-.js +1 -0
- package/.output/public/assets/table-Gm4qRWwE.js +1 -0
- package/.output/public/assets/tabs-C7FOEjFC.js +1 -0
- package/.output/public/assets/undo-2-CmrHjwFc.js +1 -0
- package/.output/public/assets/useCompositeListItem-9E4pj_CH.js +1 -0
- package/.output/public/assets/valueToPercent-CH8GCHaL.js +1 -0
- package/.output/server/__23tanstack-start-server-fn-resolver-BpRlos5Q.mjs +170 -0
- package/.output/server/_libs/@base-ui/react+[...].mjs +4389 -4207
- package/.output/server/_libs/@tanstack/react-router+[...].mjs +3802 -4022
- package/.output/server/_libs/@tanstack/react-router-ssr-query+[...].mjs +140 -97
- package/.output/server/_libs/lucide-react.mjs +221 -9
- package/.output/server/_libs/next-themes.mjs +1 -1
- package/.output/server/_libs/react-redux+[...].mjs +1 -1
- package/.output/server/_libs/recharts+[...].mjs +483 -901
- package/.output/server/_libs/sonner.mjs +1 -1
- package/.output/server/_libs/tanstack__history.mjs +68 -41
- package/.output/server/_libs/tanstack__query-core.mjs +2010 -309
- package/.output/server/_libs/tanstack__react-query.mjs +448 -21
- package/.output/server/_libs/verkit.mjs +102 -1
- package/.output/server/_ssr/BundleIdDisplay-x94o9rlU.mjs +13 -0
- package/.output/server/_ssr/ConsoleFeatureUnavailable-ldW8v8-q.mjs +58 -0
- package/.output/server/_ssr/EventDetails-Q8kfj9Nr.mjs +344 -0
- package/.output/server/_ssr/{HashValueDisplay-CyMmr0O9.mjs → HashValueDisplay-n1GholGS.mjs} +3 -3
- package/.output/server/_ssr/InsightsInfo-DuJFatQO.mjs +75 -0
- package/.output/server/_ssr/InsightsPageHeader-BSUX3Ye9.mjs +145 -0
- package/.output/server/_ssr/NotFoundPage-DZzOOzS3.mjs +37 -0
- package/.output/server/_ssr/{dialog-CKvQ4VIE.mjs → alert-dialog-C43Doa0I.mjs} +6 -83
- package/.output/server/_ssr/{api-keys-CzZ7Ont4.mjs → api-keys-B4sYm8dM.mjs} +48 -9
- package/.output/server/_ssr/api-keys-CEnM9fqG.mjs +5 -0
- package/.output/server/_ssr/api-keys-rpc-BIFuUgMt.mjs +52 -0
- package/.output/server/_ssr/api-oZjRn9tP.mjs +186 -0
- package/.output/server/_ssr/api-rpc-BNiFRRK8.mjs +240 -0
- package/.output/server/_ssr/{auth-BF8mbAgF.mjs → auth-UP0wXs4i.mjs} +1 -1
- package/.output/server/_ssr/{auth-rpc-DH6Bhwcz.mjs → auth-rpc-DnZqYxyq.mjs} +6 -6
- package/.output/server/_ssr/auth.server-DFpyxRDd.mjs +5374 -0
- package/.output/server/_ssr/bundleActivity-M5gzBFNg.mjs +18 -0
- package/.output/server/_ssr/config-WVX4IxSR.mjs +15 -0
- package/.output/server/_ssr/config.server-DskXCAyI.mjs +35 -0
- package/.output/server/_ssr/console-access-BJfAXknd.mjs +17 -0
- package/.output/server/_ssr/console-features-Oz0q20jJ.mjs +61 -0
- package/.output/server/_ssr/console-features-api-C9kiKvaV.mjs +43 -0
- package/.output/server/_ssr/console-features-rpc-P0GL7Z-R.mjs +19 -0
- package/.output/server/_ssr/{createServerFn-B2hcXoPM.mjs → createMiddleware-Cm6Tn0_Y.mjs} +67 -56
- package/.output/server/_ssr/{createServerRpc-DB29C_5p.mjs → createServerRpc-RLR4H-Fn.mjs} +2 -2
- package/.output/server/_ssr/databaseConfig-C5SkAyUy.mjs +5 -0
- package/.output/server/_ssr/{databaseJsonValue-d6I3nAS4.mjs → databaseJsonValue-Csbuzc9Q.mjs} +28 -5
- package/.output/server/_ssr/databaseRows-CPphvbag.mjs +73 -0
- package/.output/server/_ssr/dialog-BbYDMjdC.mjs +84 -0
- package/.output/server/_ssr/{dist-CyzPaI5v.mjs → dist-CbQbBIw-.mjs} +140 -7
- package/.output/server/_ssr/{downloadBundle-CI7JUKvC.mjs → downloadBundle-CZysjmNW.mjs} +10 -10
- package/.output/server/_ssr/empty-CVLGfxuu.mjs +60 -0
- package/.output/server/_ssr/{empty-plugin-adapters-B5QvGpEl.mjs → empty-plugin-adapters-CPtwX8a7.mjs} +1 -1
- package/.output/server/_ssr/failureReports-DKDhVsXA.mjs +33 -0
- package/.output/server/_ssr/field-asw83X0v.mjs +189 -0
- package/.output/server/_ssr/getBundleChildren-Cv9iz1As.mjs +22 -0
- package/.output/server/_ssr/{input-group-BrGSjz4S.mjs → input-group-CuYJHosb.mjs} +2 -2
- package/.output/server/_ssr/insights-B55FG5fm.mjs +14 -0
- package/.output/server/_ssr/insights-CWnHIFUV.mjs +5 -0
- package/.output/server/_ssr/insights-CpLpedFZ.mjs +2315 -0
- package/.output/server/_ssr/insights-api-sjws23WF.mjs +122 -0
- package/.output/server/_ssr/insights-errors-BjnFUyZj.mjs +34 -0
- package/.output/server/_ssr/insights-failures-rpc-BvbWvqNf.mjs +36 -0
- package/.output/server/_ssr/insights-failures-xaa41Buf.mjs +46 -0
- package/.output/server/_ssr/insights-recovery-BWQhiZaF.mjs +28 -0
- package/.output/server/_ssr/insights-recovery-rpc-GiYXdkaY.mjs +32 -0
- package/.output/server/_ssr/{insights-rpc-DDKmIrpV.mjs → insights-rpc-DP_8Rmz4.mjs} +22 -14
- package/.output/server/_ssr/insights-usage-BpBM0U0c.mjs +29 -0
- package/.output/server/_ssr/insights-usage-rpc-BiolgB8e.mjs +29 -0
- package/.output/server/_ssr/insights-usage-rpc-KStL0zOx.mjs +41 -0
- package/.output/server/_ssr/insightsUsage-CzhVjsc8.mjs +56 -0
- package/.output/server/_ssr/insights_.distribution-CVrnbP3R.mjs +7 -0
- package/.output/server/_ssr/insights_.distribution-D2HaNTAA.mjs +16 -0
- package/.output/server/_ssr/{insights_.distribution-cIsU-kHG.mjs → insights_.distribution-DN9pR422.mjs} +50 -22
- package/.output/server/_ssr/installations-BHmbbnH8.mjs +5 -0
- package/.output/server/_ssr/{installations-C5anhyP0.mjs → installations-BSCmFq8Q.mjs} +279 -367
- package/.output/server/_ssr/installations-DD1g__Nc.mjs +69 -0
- package/.output/server/_ssr/listReleases-BfUBlCHo.mjs +79 -0
- package/.output/server/_ssr/plugins-BaD1slHx.mjs +2086 -0
- package/.output/server/_ssr/release-adoption-005tQRpo.mjs +55 -0
- package/.output/server/_ssr/release-adoption-rpc-BsstqxUp.mjs +41 -0
- package/.output/server/_ssr/releaseAdoption-CtOFkwli.mjs +114 -0
- package/.output/server/_ssr/releaseManagement-DFMUnDF5.mjs +11 -0
- package/.output/server/_ssr/remote-config-C2Ee8lXO.mjs +5 -0
- package/.output/server/_ssr/remote-config-Dv1ccMo-.mjs +17 -0
- package/.output/server/_ssr/remote-config-of0lGQH8.mjs +2648 -0
- package/.output/server/_ssr/remote-config-rpc-BzX31mUS.mjs +115 -0
- package/.output/server/_ssr/rolldown-runtime-rSIU-vHC.mjs +13 -0
- package/.output/server/_ssr/{router-BuanSsRI.mjs → router-D8NuoJ_I.mjs} +107 -134
- package/.output/server/_ssr/{routes-DY-vqU6R.mjs → routes-DgvnFqDy.mjs} +195 -429
- package/.output/server/_ssr/routes-V8sDybGf.mjs +409 -0
- package/.output/server/_ssr/runtime.server-De0QVWc9.mjs +104 -0
- package/.output/server/_ssr/schema-BiAVyEj2.mjs +361 -0
- package/.output/server/_ssr/{select-DD2szs3Y.mjs → select-t3iXRwc9.mjs} +3 -3
- package/.output/server/_ssr/server-h4VxnExB.mjs +8325 -0
- package/.output/server/_ssr/{createSsrRpc-CdlfejmI.mjs → sidebar-DJcErBMo.mjs} +107 -47
- package/.output/server/_ssr/ssr.mjs +1 -1
- package/.output/server/_ssr/start-BfFbHKMK.mjs +4 -0
- package/.output/server/_ssr/switch-E-btwMGt.mjs +43 -0
- package/.output/server/_ssr/{table-CTj6n-4F.mjs → table-37Dd23TN.mjs} +2 -2
- package/.output/server/_ssr/tabs-DEFnTm95.mjs +45 -0
- package/.output/server/_ssr/updateFailures-H6pnnYK4.mjs +40 -0
- package/.output/server/_ssr/{uuidv7-D0QFkPL_.mjs → uuidv7-C88s9jWF.mjs} +2 -2
- package/.output/server/_tanstack-start-manifest_v-55AGsehh.mjs +139 -0
- package/.output/server/index.mjs +309 -211
- package/LICENSE +13 -14
- package/README.md +80 -71
- package/lib/index.d.mts +23 -11
- package/lib/vite-internal.mjs +13 -3
- package/lib/vite.d.mts +2 -0
- package/package.json +14 -14
- package/src/components/AppSidebar.tsx +69 -74
- package/src/components/ConsoleFeatureUnavailable.tsx +80 -0
- package/src/components/NotFoundPage.tsx +7 -7
- package/src/components/features/FeatureSlots.tsx +103 -0
- package/src/components/features/api-keys/apiKeysFeatureUi.tsx +15 -0
- package/src/components/features/bundles/BundleMetadata.tsx +8 -5
- package/src/components/features/bundles/RolloutCohortsDialog.tsx +1 -1
- package/src/components/features/channels/ChannelManagementDialog.tsx +8 -6
- package/src/components/features/insights/AppUsage.tsx +41 -14
- package/src/components/features/insights/BuiltinBundle.tsx +36 -0
- package/src/components/features/insights/ComparedBundlesChart.tsx +310 -0
- package/src/components/features/insights/EstimatedCount.tsx +18 -0
- package/src/components/features/insights/EventDetails.tsx +390 -26
- package/src/components/features/insights/EventHistoryCard.tsx +111 -25
- package/src/components/features/insights/EventHistoryList.tsx +1 -1
- package/src/components/features/insights/FailureReports.tsx +407 -0
- package/src/components/features/insights/InsightsControls.tsx +240 -142
- package/src/components/features/insights/InsightsErrorAlert.tsx +14 -1
- package/src/components/features/insights/InsightsOverview.tsx +601 -403
- package/src/components/features/insights/InsightsPageHeader.tsx +19 -14
- package/src/components/features/insights/InsightsPeriodSelector.tsx +67 -12
- package/src/components/features/insights/InstallationHistoryCard.tsx +65 -10
- package/src/components/features/insights/InstallationMatchesCard.tsx +1 -1
- package/src/components/features/insights/ReleaseActivity.tsx +308 -0
- package/src/components/features/insights/ReportingDevicesSummary.tsx +13 -13
- package/src/components/features/insights/RollbackButton.tsx +118 -0
- package/src/components/features/insights/UpdateFailures.tsx +382 -0
- package/src/components/features/insights/insightsFeatureUi.tsx +35 -0
- package/src/components/features/releases/ReleaseEditorSheet.tsx +27 -13
- package/src/components/features/remote-config/ConditionDialog.tsx +592 -0
- package/src/components/features/remote-config/ConditionsCard.tsx +247 -0
- package/src/components/features/remote-config/ParameterDialog.tsx +426 -0
- package/src/components/features/remote-config/ParametersCard.tsx +254 -0
- package/src/components/features/remote-config/PreviewCard.tsx +284 -0
- package/src/components/features/remote-config/PublishDialog.tsx +325 -0
- package/src/components/features/remote-config/RemoteConfigPage.tsx +353 -0
- package/src/components/features/remote-config/RuleSummary.tsx +21 -0
- package/src/components/features/remote-config/ValueInput.tsx +151 -0
- package/src/components/features/remote-config/VersionsCard.tsx +384 -0
- package/src/components/features/remote-config/remoteConfigFeatureUi.tsx +15 -0
- package/src/components/features/remote-config/useDateTimeText.ts +16 -0
- package/src/components/ui/sidebar.tsx +22 -29
- package/src/index.ts +26 -19
- package/src/lib/api-keys-api.ts +0 -28
- package/src/lib/api-keys-rpc.ts +27 -38
- package/src/lib/api-rpc.ts +125 -288
- package/src/lib/api.ts +15 -134
- package/src/lib/bundle-activity.ts +24 -4
- package/src/lib/console-access.ts +20 -0
- package/src/lib/console-features-api.ts +68 -0
- package/src/lib/console-features-rpc.ts +13 -0
- package/src/lib/console-features.ts +98 -0
- package/src/lib/insights-api.ts +56 -2
- package/src/lib/insights-errors.ts +64 -0
- package/src/lib/insights-failures-rpc.ts +36 -0
- package/src/lib/insights-failures.ts +130 -0
- package/src/lib/insights-recovery-rpc.ts +13 -17
- package/src/lib/insights-recovery.ts +12 -36
- package/src/lib/insights-retention.ts +21 -0
- package/src/lib/insights-rpc.ts +30 -12
- package/src/lib/insights-search.ts +50 -4
- package/src/lib/insights-usage-rpc.ts +15 -9
- package/src/lib/insights-usage.ts +41 -3
- package/src/lib/insights-view.ts +34 -5
- package/src/lib/release-adoption-api.ts +214 -0
- package/src/lib/release-adoption-rpc.ts +49 -0
- package/src/lib/release-adoption.ts +164 -0
- package/src/lib/remote-config-api.ts +119 -0
- package/src/lib/remote-config-draft.ts +666 -0
- package/src/lib/remote-config-rpc.ts +196 -0
- package/src/lib/scroll-restoration.ts +21 -0
- package/src/lib/server/auth.server.ts +13 -5
- package/src/lib/server/bundleActivity.ts +27 -28
- package/src/lib/server/config.server.ts +21 -76
- package/src/lib/server/console-feature-apis.ts +70 -0
- package/src/lib/server/console-runtime.server.ts +82 -38
- package/src/lib/server/downloadBundle.ts +14 -15
- package/src/lib/server/failureReports.ts +50 -0
- package/src/lib/server/getBundleChildren.ts +31 -122
- package/src/lib/server/insightsUsage.ts +52 -113
- package/src/lib/server/listReleases.ts +109 -44
- package/src/lib/server/releaseAdoption.ts +151 -0
- package/src/lib/server/releaseReachability.ts +8 -8
- package/src/lib/server/remoteConfig.ts +75 -0
- package/src/lib/server/runtime.server.ts +120 -31
- package/src/lib/server/updateFailures.ts +66 -0
- package/src/lib/use-dialog-target.ts +27 -0
- package/src/routeTree.gen.ts +44 -44
- package/src/router.tsx +3 -2
- package/src/routes/-installations-search.ts +32 -8
- package/src/routes/-releases-search.ts +76 -29
- package/src/routes/__root.tsx +7 -1
- package/src/routes/api/bundles/$bundleId/download.ts +2 -5
- package/src/routes/api-keys.tsx +5 -2
- package/src/routes/index.tsx +210 -152
- package/src/routes/insights.tsx +91 -23
- package/src/routes/insights_.distribution.tsx +50 -9
- package/src/routes/installations.tsx +97 -40
- package/src/routes/remote-config.tsx +42 -0
- package/src/styles.css +9 -0
- package/src/vite-internal.ts +15 -3
- package/src/vite.ts +2 -0
- package/.output/public/assets/HashValueDisplay-BpTc3Oyg.js +0 -1
- package/.output/public/assets/InsightsPageHeader-DC2eEst8.js +0 -1
- package/.output/public/assets/api-CdUyUqzR.js +0 -42
- package/.output/public/assets/api-keys-64PM9PwW.js +0 -1
- package/.output/public/assets/api-keys-api-BeaJnvY5.js +0 -1
- package/.output/public/assets/arrow-left-04Rh8Zgp.js +0 -1
- package/.output/public/assets/card-CYHs5FZv.js +0 -1
- package/.output/public/assets/chart-no-axes-combined-DwyMsVFW.js +0 -1
- package/.output/public/assets/createServerFn-DU71xucx.js +0 -3
- package/.output/public/assets/dialog-IVMkBRCq.js +0 -1
- package/.output/public/assets/dist-BR4GzeEu.js +0 -1
- package/.output/public/assets/field-B3CYDpjg.js +0 -1
- package/.output/public/assets/index-Cb_D1D6N.js +0 -10
- package/.output/public/assets/info-C3y9HNoU.js +0 -1
- package/.output/public/assets/input-group-nLZylhWF.js +0 -1
- package/.output/public/assets/insights-Bm9v8uO3.js +0 -2
- package/.output/public/assets/insights-DS3iO7Up.js +0 -1
- package/.output/public/assets/insights-search-Byj3g3Mp.js +0 -1
- package/.output/public/assets/insights-usage-rpc-BaGR3lgq.js +0 -1
- package/.output/public/assets/insights_.distribution-B1i6cjlQ.js +0 -1
- package/.output/public/assets/insights_.distribution-C1Wf27eB.js +0 -2
- package/.output/public/assets/installations-CkFW4fV9.js +0 -2
- package/.output/public/assets/installations-DxTaIcHD.js +0 -1
- package/.output/public/assets/lazyRouteComponent-BapzjYnb.js +0 -1
- package/.output/public/assets/list-Dqt53fWZ.js +0 -1
- package/.output/public/assets/loader-circle-CUKfUqow.js +0 -1
- package/.output/public/assets/preload-helper-ClBMtM1g.js +0 -1
- package/.output/public/assets/refresh-cw-CNE_2PnD.js +0 -1
- package/.output/public/assets/routes-Cgtvspjg.js +0 -2
- package/.output/public/assets/routes-O2r2UUN8.js +0 -1
- package/.output/public/assets/shield-check-BFcJ46kz.js +0 -1
- package/.output/public/assets/signing-BgspC-xP.js +0 -1
- package/.output/public/assets/styles-DnrWuBwd.css +0 -2
- package/.output/public/assets/table-BuWQgxJJ.js +0 -1
- package/.output/public/assets/useMutation-CSV9NCUl.js +0 -1
- package/.output/public/assets/useOpenInteractionType-D5kduCTD.js +0 -1
- package/.output/public/assets/valueToPercent-BAtcbSLk.js +0 -1
- package/.output/server/__23tanstack-start-server-fn-resolver-DBRojHaG.mjs +0 -150
- package/.output/server/_ssr/InsightsPageHeader-mtxVuZKK.mjs +0 -64
- package/.output/server/_ssr/api-BfCgYlj5.mjs +0 -332
- package/.output/server/_ssr/api-keys-api-C3oeq01R.mjs +0 -60
- package/.output/server/_ssr/api-keys-rpc-CdPFdGOx.mjs +0 -136
- package/.output/server/_ssr/api-rpc-B2E1ZIG5.mjs +0 -1399
- package/.output/server/_ssr/auth.server-CmicHh0J.mjs +0 -47
- package/.output/server/_ssr/bundle-signing-rpc-Di7-I6fE.mjs +0 -16
- package/.output/server/_ssr/bundle-signing.server-Uqt1OF49.mjs +0 -12
- package/.output/server/_ssr/bundleActivity-pBrPSG01.mjs +0 -28
- package/.output/server/_ssr/card-Bemj0dpY.mjs +0 -108
- package/.output/server/_ssr/config-Dv8qLDZ0.mjs +0 -13
- package/.output/server/_ssr/config.server-B8WsT3s0.mjs +0 -368
- package/.output/server/_ssr/databaseRows-5bCRTxm-.mjs +0 -126
- package/.output/server/_ssr/deleteBundle-8X-jq7Z7.mjs +0 -66
- package/.output/server/_ssr/field-BrQ2u0fT.mjs +0 -74
- package/.output/server/_ssr/getBundleChildren-DoL8l_AS.mjs +0 -50
- package/.output/server/_ssr/insights-BwQ-wF2a.mjs +0 -10
- package/.output/server/_ssr/insights-gr1I_dJU.mjs +0 -938
- package/.output/server/_ssr/insights-recovery-Cv6RSyeR.mjs +0 -21
- package/.output/server/_ssr/insights-recovery-rpc-DOzxfYfv.mjs +0 -37
- package/.output/server/_ssr/insights-search-1czJMZgk.mjs +0 -21
- package/.output/server/_ssr/insights-usage-rpc-4ImOq_0p.mjs +0 -184
- package/.output/server/_ssr/insights-usage-rpc-BUruODjE.mjs +0 -24
- package/.output/server/_ssr/insightsContract-B09K_Px1.mjs +0 -303
- package/.output/server/_ssr/insightsHistory-Ci4rYAgl.mjs +0 -41
- package/.output/server/_ssr/insightsRecovery-CaghWL2t.mjs +0 -113
- package/.output/server/_ssr/insightsUsage-DNIj6jxF.mjs +0 -71
- package/.output/server/_ssr/insights_.distribution-VmHuikRE.mjs +0 -10
- package/.output/server/_ssr/installations-HXMF_kKf.mjs +0 -29
- package/.output/server/_ssr/routes-Dru3IRj0.mjs +0 -37
- package/.output/server/_ssr/runtime.server-CsiKFp_Z.mjs +0 -436
- package/.output/server/_ssr/server-DJm72Kj-.mjs +0 -7468
- package/.output/server/_ssr/signing-H8Lg4lPe.mjs +0 -133
- package/.output/server/_ssr/start-DpViQGnt.mjs +0 -4
- package/.output/server/_tanstack-start-manifest_v-DsFcTLw_.mjs +0 -125
- package/src/components/features/bundles/BundleActivityChart.tsx +0 -97
- package/src/components/features/bundles/BundleInsightsSummary.tsx +0 -126
- package/src/components/features/signing/BundleSigningPage.tsx +0 -139
- package/src/lib/bundle-signing-api.ts +0 -14
- package/src/lib/bundle-signing-rpc.ts +0 -16
- package/src/lib/server/bundle-signing.server.ts +0 -23
- package/src/lib/server/deleteBundle.ts +0 -145
- package/src/lib/server/insightsHistory.ts +0 -52
- package/src/lib/server/insightsRecovery.ts +0 -187
- package/src/routes/signing.tsx +0 -37
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as __toESM, n as __exportAll, t as __commonJSMin } from "../_runtime.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { _t as require_react, ft as require_react_dom } from "./@base-ui/react+[...].mjs";
|
|
3
3
|
import { n as clsx } from "./class-variance-authority+clsx.mjs";
|
|
4
4
|
import { C as cross_default, D as area_default, E as bumpY, O as line_default, S as diamond_default, T as bumpX, _ as Symbol$1, a as none_default$1, b as star_default, c as stepBefore, d as monotoneX, f as monotoneY, g as basis_default, h as basisClosed_default, i as stack_default, k as linear_default, l as step_default, m as basisOpen_default, n as silhouette_default, o as none_default, p as linearClosed_default, r as expand_default, s as stepAfter, t as wiggle_default, u as natural_default, v as wye_default, w as circle_default, x as square_default, y as triangle_default } from "./d3-shape.mjs";
|
|
5
5
|
import { a as require_uniqBy, i as require_sortBy, n as require_range, o as require_get, r as require_throttle, t as require_isPlainObject } from "./es-toolkit.mjs";
|
|
@@ -570,7 +570,7 @@ function svgPropertiesAndEventsFromUnknown(input) {
|
|
|
570
570
|
}
|
|
571
571
|
//#endregion
|
|
572
572
|
//#region ../../node_modules/.pnpm/recharts@3.8.0_@types+react@19.2.15_react-dom@19.2.6_react@19.2.6__react-is@19.2.7_react@19.2.6_redux@5.0.1/node_modules/recharts/es6/container/Surface.js
|
|
573
|
-
var _excluded$
|
|
573
|
+
var _excluded$20 = [
|
|
574
574
|
"children",
|
|
575
575
|
"width",
|
|
576
576
|
"height",
|
|
@@ -589,16 +589,16 @@ function _extends$26() {
|
|
|
589
589
|
return n;
|
|
590
590
|
}, _extends$26.apply(null, arguments);
|
|
591
591
|
}
|
|
592
|
-
function _objectWithoutProperties$
|
|
592
|
+
function _objectWithoutProperties$20(e, t) {
|
|
593
593
|
if (null == e) return {};
|
|
594
|
-
var o, r, i = _objectWithoutPropertiesLoose$
|
|
594
|
+
var o, r, i = _objectWithoutPropertiesLoose$20(e, t);
|
|
595
595
|
if (Object.getOwnPropertySymbols) {
|
|
596
596
|
var n = Object.getOwnPropertySymbols(e);
|
|
597
597
|
for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
598
598
|
}
|
|
599
599
|
return i;
|
|
600
600
|
}
|
|
601
|
-
function _objectWithoutPropertiesLoose$
|
|
601
|
+
function _objectWithoutPropertiesLoose$20(r, e) {
|
|
602
602
|
if (null == r) return {};
|
|
603
603
|
var t = {};
|
|
604
604
|
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
@@ -615,7 +615,7 @@ function _objectWithoutPropertiesLoose$21(r, e) {
|
|
|
615
615
|
* @link https://developer.mozilla.org/en-US/docs/Web/SVG/Element/svg
|
|
616
616
|
*/
|
|
617
617
|
var Surface = /* @__PURE__ */ (0, import_react.forwardRef)((props, ref) => {
|
|
618
|
-
var { children, width, height, viewBox, className, style, title, desc } = props, others = _objectWithoutProperties$
|
|
618
|
+
var { children, width, height, viewBox, className, style, title, desc } = props, others = _objectWithoutProperties$20(props, _excluded$20);
|
|
619
619
|
var svgView = viewBox || {
|
|
620
620
|
width,
|
|
621
621
|
height,
|
|
@@ -634,7 +634,7 @@ var Surface = /* @__PURE__ */ (0, import_react.forwardRef)((props, ref) => {
|
|
|
634
634
|
});
|
|
635
635
|
//#endregion
|
|
636
636
|
//#region ../../node_modules/.pnpm/recharts@3.8.0_@types+react@19.2.15_react-dom@19.2.6_react@19.2.6__react-is@19.2.7_react@19.2.6_redux@5.0.1/node_modules/recharts/es6/container/Layer.js
|
|
637
|
-
var _excluded$
|
|
637
|
+
var _excluded$19 = ["children", "className"];
|
|
638
638
|
function _extends$25() {
|
|
639
639
|
return _extends$25 = Object.assign ? Object.assign.bind() : function(n) {
|
|
640
640
|
for (var e = 1; e < arguments.length; e++) {
|
|
@@ -644,16 +644,16 @@ function _extends$25() {
|
|
|
644
644
|
return n;
|
|
645
645
|
}, _extends$25.apply(null, arguments);
|
|
646
646
|
}
|
|
647
|
-
function _objectWithoutProperties$
|
|
647
|
+
function _objectWithoutProperties$19(e, t) {
|
|
648
648
|
if (null == e) return {};
|
|
649
|
-
var o, r, i = _objectWithoutPropertiesLoose$
|
|
649
|
+
var o, r, i = _objectWithoutPropertiesLoose$19(e, t);
|
|
650
650
|
if (Object.getOwnPropertySymbols) {
|
|
651
651
|
var n = Object.getOwnPropertySymbols(e);
|
|
652
652
|
for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
653
653
|
}
|
|
654
654
|
return i;
|
|
655
655
|
}
|
|
656
|
-
function _objectWithoutPropertiesLoose$
|
|
656
|
+
function _objectWithoutPropertiesLoose$19(r, e) {
|
|
657
657
|
if (null == r) return {};
|
|
658
658
|
var t = {};
|
|
659
659
|
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
@@ -671,7 +671,7 @@ function _objectWithoutPropertiesLoose$20(r, e) {
|
|
|
671
671
|
* @link https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/g
|
|
672
672
|
*/
|
|
673
673
|
var Layer = /* @__PURE__ */ import_react.forwardRef((props, ref) => {
|
|
674
|
-
var { children, className } = props, others = _objectWithoutProperties$
|
|
674
|
+
var { children, className } = props, others = _objectWithoutProperties$19(props, _excluded$19);
|
|
675
675
|
var layerClass = clsx("recharts-layer", className);
|
|
676
676
|
return /* @__PURE__ */ import_react.createElement("g", _extends$25({ className: layerClass }, svgPropertiesAndEvents(others), { ref }), children);
|
|
677
677
|
});
|
|
@@ -798,7 +798,7 @@ function isNotNil(value) {
|
|
|
798
798
|
function noop$1() {}
|
|
799
799
|
//#endregion
|
|
800
800
|
//#region ../../node_modules/.pnpm/recharts@3.8.0_@types+react@19.2.15_react-dom@19.2.6_react@19.2.6__react-is@19.2.7_react@19.2.6_redux@5.0.1/node_modules/recharts/es6/shape/Symbols.js
|
|
801
|
-
var _excluded$
|
|
801
|
+
var _excluded$18 = [
|
|
802
802
|
"type",
|
|
803
803
|
"size",
|
|
804
804
|
"sizeType"
|
|
@@ -855,16 +855,16 @@ function _toPrimitive$43(t, r) {
|
|
|
855
855
|
}
|
|
856
856
|
return ("string" === r ? String : Number)(t);
|
|
857
857
|
}
|
|
858
|
-
function _objectWithoutProperties$
|
|
858
|
+
function _objectWithoutProperties$18(e, t) {
|
|
859
859
|
if (null == e) return {};
|
|
860
|
-
var o, r, i = _objectWithoutPropertiesLoose$
|
|
860
|
+
var o, r, i = _objectWithoutPropertiesLoose$18(e, t);
|
|
861
861
|
if (Object.getOwnPropertySymbols) {
|
|
862
862
|
var n = Object.getOwnPropertySymbols(e);
|
|
863
863
|
for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
864
864
|
}
|
|
865
865
|
return i;
|
|
866
866
|
}
|
|
867
|
-
function _objectWithoutPropertiesLoose$
|
|
867
|
+
function _objectWithoutPropertiesLoose$18(r, e) {
|
|
868
868
|
if (null == r) return {};
|
|
869
869
|
var t = {};
|
|
870
870
|
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
@@ -908,7 +908,7 @@ var registerSymbol = (key, factory) => {
|
|
|
908
908
|
*/
|
|
909
909
|
var Symbols = (_ref) => {
|
|
910
910
|
var { type = "circle", size = 64, sizeType = "area" } = _ref;
|
|
911
|
-
var props = _objectSpread$41(_objectSpread$41({}, _objectWithoutProperties$
|
|
911
|
+
var props = _objectSpread$41(_objectSpread$41({}, _objectWithoutProperties$18(_ref, _excluded$18)), {}, {
|
|
912
912
|
type,
|
|
913
913
|
size,
|
|
914
914
|
sizeType
|
|
@@ -2082,18 +2082,6 @@ var getStackedData = (data, dataKeys, offsetType) => {
|
|
|
2082
2082
|
});
|
|
2083
2083
|
return result;
|
|
2084
2084
|
};
|
|
2085
|
-
/**
|
|
2086
|
-
* Externally, we accept both strings and numbers as stack IDs
|
|
2087
|
-
* @inline
|
|
2088
|
-
*/
|
|
2089
|
-
/**
|
|
2090
|
-
* Stack IDs in the external props allow numbers; but internally we use it as an object key
|
|
2091
|
-
* and object keys are always strings. Also, it would be kinda confusing if stackId=8 and stackId='8' were different stacks
|
|
2092
|
-
* so let's just force a string.
|
|
2093
|
-
*/
|
|
2094
|
-
function getNormalizedStackId(publicStackId) {
|
|
2095
|
-
return publicStackId == null ? void 0 : String(publicStackId);
|
|
2096
|
-
}
|
|
2097
2085
|
function getCateCoordinateOfLine(_ref) {
|
|
2098
2086
|
var { axis, ticks, bandSize, entry, index, dataKey } = _ref;
|
|
2099
2087
|
if (axis.type === "category") {
|
|
@@ -2867,7 +2855,7 @@ function propsAreEqual(prevProps, nextProps) {
|
|
|
2867
2855
|
}
|
|
2868
2856
|
//#endregion
|
|
2869
2857
|
//#region ../../node_modules/.pnpm/recharts@3.8.0_@types+react@19.2.15_react-dom@19.2.6_react@19.2.6__react-is@19.2.7_react@19.2.6_redux@5.0.1/node_modules/recharts/es6/component/Legend.js
|
|
2870
|
-
var _excluded$
|
|
2858
|
+
var _excluded$17 = ["contextPayload"];
|
|
2871
2859
|
function _extends$21() {
|
|
2872
2860
|
return _extends$21 = Object.assign ? Object.assign.bind() : function(n) {
|
|
2873
2861
|
for (var e = 1; e < arguments.length; e++) {
|
|
@@ -2920,16 +2908,16 @@ function _toPrimitive$37(t, r) {
|
|
|
2920
2908
|
}
|
|
2921
2909
|
return ("string" === r ? String : Number)(t);
|
|
2922
2910
|
}
|
|
2923
|
-
function _objectWithoutProperties$
|
|
2911
|
+
function _objectWithoutProperties$17(e, t) {
|
|
2924
2912
|
if (null == e) return {};
|
|
2925
|
-
var o, r, i = _objectWithoutPropertiesLoose$
|
|
2913
|
+
var o, r, i = _objectWithoutPropertiesLoose$17(e, t);
|
|
2926
2914
|
if (Object.getOwnPropertySymbols) {
|
|
2927
2915
|
var n = Object.getOwnPropertySymbols(e);
|
|
2928
2916
|
for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
2929
2917
|
}
|
|
2930
2918
|
return i;
|
|
2931
2919
|
}
|
|
2932
|
-
function _objectWithoutPropertiesLoose$
|
|
2920
|
+
function _objectWithoutPropertiesLoose$17(r, e) {
|
|
2933
2921
|
if (null == r) return {};
|
|
2934
2922
|
var t = {};
|
|
2935
2923
|
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
@@ -2942,7 +2930,7 @@ function defaultUniqBy$1(entry) {
|
|
|
2942
2930
|
return entry.value;
|
|
2943
2931
|
}
|
|
2944
2932
|
function LegendContent(props) {
|
|
2945
|
-
var { contextPayload } = props, otherProps = _objectWithoutProperties$
|
|
2933
|
+
var { contextPayload } = props, otherProps = _objectWithoutProperties$17(props, _excluded$17);
|
|
2946
2934
|
var finalPayload = getUniqPayload(contextPayload, props.payloadUniqBy, defaultUniqBy$1);
|
|
2947
2935
|
var contentProps = _objectSpread$35(_objectSpread$35({}, otherProps), {}, { payload: finalPayload });
|
|
2948
2936
|
if (/* @__PURE__ */ import_react.isValidElement(props.content)) return /* @__PURE__ */ import_react.cloneElement(props.content, contentProps);
|
|
@@ -3544,7 +3532,7 @@ var Curve = (props) => {
|
|
|
3544
3532
|
/**
|
|
3545
3533
|
* @fileOverview Cross
|
|
3546
3534
|
*/
|
|
3547
|
-
var _excluded$
|
|
3535
|
+
var _excluded$16 = [
|
|
3548
3536
|
"x",
|
|
3549
3537
|
"y",
|
|
3550
3538
|
"top",
|
|
@@ -3605,16 +3593,16 @@ function _toPrimitive$33(t, r) {
|
|
|
3605
3593
|
}
|
|
3606
3594
|
return ("string" === r ? String : Number)(t);
|
|
3607
3595
|
}
|
|
3608
|
-
function _objectWithoutProperties$
|
|
3596
|
+
function _objectWithoutProperties$16(e, t) {
|
|
3609
3597
|
if (null == e) return {};
|
|
3610
|
-
var o, r, i = _objectWithoutPropertiesLoose$
|
|
3598
|
+
var o, r, i = _objectWithoutPropertiesLoose$16(e, t);
|
|
3611
3599
|
if (Object.getOwnPropertySymbols) {
|
|
3612
3600
|
var n = Object.getOwnPropertySymbols(e);
|
|
3613
3601
|
for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
3614
3602
|
}
|
|
3615
3603
|
return i;
|
|
3616
3604
|
}
|
|
3617
|
-
function _objectWithoutPropertiesLoose$
|
|
3605
|
+
function _objectWithoutPropertiesLoose$16(r, e) {
|
|
3618
3606
|
if (null == r) return {};
|
|
3619
3607
|
var t = {};
|
|
3620
3608
|
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
@@ -3627,7 +3615,7 @@ var getPath = (x, y, width, height, top, left) => {
|
|
|
3627
3615
|
return "M".concat(x, ",").concat(top, "v").concat(height, "M").concat(left, ",").concat(y, "h").concat(width);
|
|
3628
3616
|
};
|
|
3629
3617
|
var Cross = (_ref) => {
|
|
3630
|
-
var { x = 0, y = 0, top = 0, left = 0, width = 0, height = 0, className } = _ref, rest = _objectWithoutProperties$
|
|
3618
|
+
var { x = 0, y = 0, top = 0, left = 0, width = 0, height = 0, className } = _ref, rest = _objectWithoutProperties$16(_ref, _excluded$16);
|
|
3631
3619
|
var props = _objectSpread$31({
|
|
3632
3620
|
x,
|
|
3633
3621
|
y,
|
|
@@ -4156,7 +4144,7 @@ function useAnimationId(input) {
|
|
|
4156
4144
|
/**
|
|
4157
4145
|
* @fileOverview Rectangle
|
|
4158
4146
|
*/
|
|
4159
|
-
var _excluded$
|
|
4147
|
+
var _excluded$15 = ["radius"], _excluded2$8 = ["radius"];
|
|
4160
4148
|
var _templateObject$2, _templateObject2$2, _templateObject3$2, _templateObject4$2, _templateObject5$2, _templateObject6$1, _templateObject7$1, _templateObject8, _templateObject9, _templateObject0;
|
|
4161
4149
|
function ownKeys$28(e, r) {
|
|
4162
4150
|
var t = Object.keys(e);
|
|
@@ -4210,16 +4198,16 @@ function _extends$17() {
|
|
|
4210
4198
|
return n;
|
|
4211
4199
|
}, _extends$17.apply(null, arguments);
|
|
4212
4200
|
}
|
|
4213
|
-
function _objectWithoutProperties$
|
|
4201
|
+
function _objectWithoutProperties$15(e, t) {
|
|
4214
4202
|
if (null == e) return {};
|
|
4215
|
-
var o, r, i = _objectWithoutPropertiesLoose$
|
|
4203
|
+
var o, r, i = _objectWithoutPropertiesLoose$15(e, t);
|
|
4216
4204
|
if (Object.getOwnPropertySymbols) {
|
|
4217
4205
|
var n = Object.getOwnPropertySymbols(e);
|
|
4218
4206
|
for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
4219
4207
|
}
|
|
4220
4208
|
return i;
|
|
4221
4209
|
}
|
|
4222
|
-
function _objectWithoutPropertiesLoose$
|
|
4210
|
+
function _objectWithoutPropertiesLoose$15(r, e) {
|
|
4223
4211
|
if (null == r) return {};
|
|
4224
4212
|
var t = {};
|
|
4225
4213
|
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
@@ -4405,7 +4393,7 @@ var Rectangle = (rectangleProps) => {
|
|
|
4405
4393
|
if (x !== +x || y !== +y || width !== +width || height !== +height || width === 0 || height === 0) return null;
|
|
4406
4394
|
var layerClass = clsx("recharts-rectangle", className);
|
|
4407
4395
|
if (!isUpdateAnimationActive) {
|
|
4408
|
-
var _svgPropertiesAndEven = svgPropertiesAndEvents(props), { radius: _ } = _svgPropertiesAndEven, otherPathProps = _objectWithoutProperties$
|
|
4396
|
+
var _svgPropertiesAndEven = svgPropertiesAndEvents(props), { radius: _ } = _svgPropertiesAndEven, otherPathProps = _objectWithoutProperties$15(_svgPropertiesAndEven, _excluded$15);
|
|
4409
4397
|
return /* @__PURE__ */ import_react.createElement("path", _extends$17({}, otherPathProps, {
|
|
4410
4398
|
x: round(x),
|
|
4411
4399
|
y: round(y),
|
|
@@ -4449,7 +4437,7 @@ var Rectangle = (rectangleProps) => {
|
|
|
4449
4437
|
strokeDasharray: to
|
|
4450
4438
|
};
|
|
4451
4439
|
else animationStyle = { strokeDasharray: from };
|
|
4452
|
-
var _svgPropertiesAndEven2 = svgPropertiesAndEvents(props), { radius: _ } = _svgPropertiesAndEven2, otherPathProps = _objectWithoutProperties$
|
|
4440
|
+
var _svgPropertiesAndEven2 = svgPropertiesAndEvents(props), { radius: _ } = _svgPropertiesAndEven2, otherPathProps = _objectWithoutProperties$15(_svgPropertiesAndEven2, _excluded2$8);
|
|
4453
4441
|
return /* @__PURE__ */ import_react.createElement("path", _extends$17({}, otherPathProps, {
|
|
4454
4442
|
radius: typeof radius === "number" ? radius : void 0,
|
|
4455
4443
|
className: layerClass,
|
|
@@ -4911,10 +4899,6 @@ var selectChartDataWithIndexesIfNotInPanoramaPosition4 = (state, _unused1, _unus
|
|
|
4911
4899
|
if (isPanorama) return selectChartDataAndAlwaysIgnoreIndexes(state);
|
|
4912
4900
|
return selectChartDataWithIndexes(state);
|
|
4913
4901
|
};
|
|
4914
|
-
var selectChartDataWithIndexesIfNotInPanoramaPosition3 = (state, _unused1, isPanorama) => {
|
|
4915
|
-
if (isPanorama) return selectChartDataAndAlwaysIgnoreIndexes(state);
|
|
4916
|
-
return selectChartDataWithIndexes(state);
|
|
4917
|
-
};
|
|
4918
4902
|
//#endregion
|
|
4919
4903
|
//#region ../../node_modules/.pnpm/recharts@3.8.0_@types+react@19.2.15_react-dom@19.2.6_react@19.2.6__react-is@19.2.7_react@19.2.6_redux@5.0.1/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js
|
|
4920
4904
|
function isWellFormedNumberDomain(v) {
|
|
@@ -5258,7 +5242,6 @@ var selectChartName = (state) => state.options.chartName;
|
|
|
5258
5242
|
var selectSyncId = (state) => state.rootProps.syncId;
|
|
5259
5243
|
var selectSyncMethod = (state) => state.rootProps.syncMethod;
|
|
5260
5244
|
var selectEventEmitter = (state) => state.options.eventEmitter;
|
|
5261
|
-
var selectChartBaseValue = (state) => state.rootProps.baseValue;
|
|
5262
5245
|
//#endregion
|
|
5263
5246
|
//#region ../../node_modules/.pnpm/recharts@3.8.0_@types+react@19.2.15_react-dom@19.2.6_react@19.2.6__react-is@19.2.7_react@19.2.6_redux@5.0.1/node_modules/recharts/es6/zIndex/DefaultZIndexes.js
|
|
5264
5247
|
/**
|
|
@@ -8268,7 +8251,7 @@ var { setChartData, setDataStartEndIndexes, setComputedData } = chartDataSlice.a
|
|
|
8268
8251
|
var chartDataReducer = chartDataSlice.reducer;
|
|
8269
8252
|
//#endregion
|
|
8270
8253
|
//#region ../../node_modules/.pnpm/recharts@3.8.0_@types+react@19.2.15_react-dom@19.2.6_react@19.2.6__react-is@19.2.7_react@19.2.6_redux@5.0.1/node_modules/recharts/es6/synchronisation/useChartSynchronisation.js
|
|
8271
|
-
var _excluded$
|
|
8254
|
+
var _excluded$14 = ["x", "y"];
|
|
8272
8255
|
function ownKeys$18(e, r) {
|
|
8273
8256
|
var t = Object.keys(e);
|
|
8274
8257
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -8312,16 +8295,16 @@ function _toPrimitive$20(t, r) {
|
|
|
8312
8295
|
}
|
|
8313
8296
|
return ("string" === r ? String : Number)(t);
|
|
8314
8297
|
}
|
|
8315
|
-
function _objectWithoutProperties$
|
|
8298
|
+
function _objectWithoutProperties$14(e, t) {
|
|
8316
8299
|
if (null == e) return {};
|
|
8317
|
-
var o, r, i = _objectWithoutPropertiesLoose$
|
|
8300
|
+
var o, r, i = _objectWithoutPropertiesLoose$14(e, t);
|
|
8318
8301
|
if (Object.getOwnPropertySymbols) {
|
|
8319
8302
|
var n = Object.getOwnPropertySymbols(e);
|
|
8320
8303
|
for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
8321
8304
|
}
|
|
8322
8305
|
return i;
|
|
8323
8306
|
}
|
|
8324
|
-
function _objectWithoutPropertiesLoose$
|
|
8307
|
+
function _objectWithoutPropertiesLoose$14(r, e) {
|
|
8325
8308
|
if (null == r) return {};
|
|
8326
8309
|
var t = {};
|
|
8327
8310
|
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
@@ -8346,7 +8329,7 @@ function useTooltipSyncEventsListener() {
|
|
|
8346
8329
|
if (syncMethod === "index") {
|
|
8347
8330
|
var _action$payload;
|
|
8348
8331
|
if (viewBox && action !== null && action !== void 0 && (_action$payload = action.payload) !== null && _action$payload !== void 0 && _action$payload.coordinate && action.payload.sourceViewBox) {
|
|
8349
|
-
var _action$payload$coord = action.payload.coordinate, { x: _x, y: _y } = _action$payload$coord, otherCoordinateProps = _objectWithoutProperties$
|
|
8332
|
+
var _action$payload$coord = action.payload.coordinate, { x: _x, y: _y } = _action$payload$coord, otherCoordinateProps = _objectWithoutProperties$14(_action$payload$coord, _excluded$14);
|
|
8350
8333
|
var { x: sourceX, y: sourceY, width: sourceWidth, height: sourceHeight } = action.payload.sourceViewBox;
|
|
8351
8334
|
var scaledCoordinate = _objectSpread$18(_objectSpread$18({}, otherCoordinateProps), {}, {
|
|
8352
8335
|
x: viewBox.x + (sourceWidth ? (_x - sourceX) / sourceWidth : 0) * viewBox.width,
|
|
@@ -8987,7 +8970,7 @@ function reduceCSSCalc(expression) {
|
|
|
8987
8970
|
}
|
|
8988
8971
|
//#endregion
|
|
8989
8972
|
//#region ../../node_modules/.pnpm/recharts@3.8.0_@types+react@19.2.15_react-dom@19.2.6_react@19.2.6__react-is@19.2.7_react@19.2.6_redux@5.0.1/node_modules/recharts/es6/component/Text.js
|
|
8990
|
-
var _excluded$
|
|
8973
|
+
var _excluded$13 = [
|
|
8991
8974
|
"x",
|
|
8992
8975
|
"y",
|
|
8993
8976
|
"lineHeight",
|
|
@@ -8996,7 +8979,7 @@ var _excluded$14 = [
|
|
|
8996
8979
|
"scaleToFit",
|
|
8997
8980
|
"textAnchor",
|
|
8998
8981
|
"verticalAnchor"
|
|
8999
|
-
], _excluded2$
|
|
8982
|
+
], _excluded2$7 = [
|
|
9000
8983
|
"dx",
|
|
9001
8984
|
"dy",
|
|
9002
8985
|
"angle",
|
|
@@ -9012,16 +8995,16 @@ function _extends$14() {
|
|
|
9012
8995
|
return n;
|
|
9013
8996
|
}, _extends$14.apply(null, arguments);
|
|
9014
8997
|
}
|
|
9015
|
-
function _objectWithoutProperties$
|
|
8998
|
+
function _objectWithoutProperties$13(e, t) {
|
|
9016
8999
|
if (null == e) return {};
|
|
9017
|
-
var o, r, i = _objectWithoutPropertiesLoose$
|
|
9000
|
+
var o, r, i = _objectWithoutPropertiesLoose$13(e, t);
|
|
9018
9001
|
if (Object.getOwnPropertySymbols) {
|
|
9019
9002
|
var n = Object.getOwnPropertySymbols(e);
|
|
9020
9003
|
for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
9021
9004
|
}
|
|
9022
9005
|
return i;
|
|
9023
9006
|
}
|
|
9024
|
-
function _objectWithoutPropertiesLoose$
|
|
9007
|
+
function _objectWithoutPropertiesLoose$13(r, e) {
|
|
9025
9008
|
if (null == r) return {};
|
|
9026
9009
|
var t = {};
|
|
9027
9010
|
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
@@ -9158,7 +9141,7 @@ var textDefaultProps = {
|
|
|
9158
9141
|
y: 0
|
|
9159
9142
|
};
|
|
9160
9143
|
var Text = /* @__PURE__ */ (0, import_react.forwardRef)((outsideProps, ref) => {
|
|
9161
|
-
var _resolveDefaultProps = resolveDefaultProps(outsideProps, textDefaultProps), { x: propsX, y: propsY, lineHeight, capHeight, fill, scaleToFit, textAnchor, verticalAnchor } = _resolveDefaultProps, props = _objectWithoutProperties$
|
|
9144
|
+
var _resolveDefaultProps = resolveDefaultProps(outsideProps, textDefaultProps), { x: propsX, y: propsY, lineHeight, capHeight, fill, scaleToFit, textAnchor, verticalAnchor } = _resolveDefaultProps, props = _objectWithoutProperties$13(_resolveDefaultProps, _excluded$13);
|
|
9162
9145
|
var wordsByLines = (0, import_react.useMemo)(() => {
|
|
9163
9146
|
return getWordsByLines({
|
|
9164
9147
|
breakAll: props.breakAll,
|
|
@@ -9176,7 +9159,7 @@ var Text = /* @__PURE__ */ (0, import_react.forwardRef)((outsideProps, ref) => {
|
|
|
9176
9159
|
props.style,
|
|
9177
9160
|
props.width
|
|
9178
9161
|
]);
|
|
9179
|
-
var { dx, dy, angle, className, breakAll } = props, textProps = _objectWithoutProperties$
|
|
9162
|
+
var { dx, dy, angle, className, breakAll } = props, textProps = _objectWithoutProperties$13(props, _excluded2$7);
|
|
9180
9163
|
if (!isNumOrStr(propsX) || !isNumOrStr(propsY) || wordsByLines.length === 0) return null;
|
|
9181
9164
|
var x = Number(propsX) + (isNumber(dx) ? dx : 0);
|
|
9182
9165
|
var y = Number(propsY) + (isNumber(dy) ? dy : 0);
|
|
@@ -9406,17 +9389,17 @@ var getCartesianPosition = (options) => {
|
|
|
9406
9389
|
};
|
|
9407
9390
|
//#endregion
|
|
9408
9391
|
//#region ../../node_modules/.pnpm/recharts@3.8.0_@types+react@19.2.15_react-dom@19.2.6_react@19.2.6__react-is@19.2.7_react@19.2.6_redux@5.0.1/node_modules/recharts/es6/component/Label.js
|
|
9409
|
-
var _excluded$
|
|
9410
|
-
function _objectWithoutProperties$
|
|
9392
|
+
var _excluded$12 = ["labelRef"], _excluded2$6 = ["content"];
|
|
9393
|
+
function _objectWithoutProperties$12(e, t) {
|
|
9411
9394
|
if (null == e) return {};
|
|
9412
|
-
var o, r, i = _objectWithoutPropertiesLoose$
|
|
9395
|
+
var o, r, i = _objectWithoutPropertiesLoose$12(e, t);
|
|
9413
9396
|
if (Object.getOwnPropertySymbols) {
|
|
9414
9397
|
var n = Object.getOwnPropertySymbols(e);
|
|
9415
9398
|
for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
9416
9399
|
}
|
|
9417
9400
|
return i;
|
|
9418
9401
|
}
|
|
9419
|
-
function _objectWithoutPropertiesLoose$
|
|
9402
|
+
function _objectWithoutPropertiesLoose$12(r, e) {
|
|
9420
9403
|
if (null == r) return {};
|
|
9421
9404
|
var t = {};
|
|
9422
9405
|
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
@@ -9644,11 +9627,11 @@ function Label(outerProps) {
|
|
|
9644
9627
|
var propsWithViewBox = _objectSpread$14(_objectSpread$14({}, props), {}, { viewBox });
|
|
9645
9628
|
if (/* @__PURE__ */ (0, import_react.isValidElement)(content)) {
|
|
9646
9629
|
var { labelRef: _ } = propsWithViewBox;
|
|
9647
|
-
return /* @__PURE__ */ (0, import_react.cloneElement)(content, _objectWithoutProperties$
|
|
9630
|
+
return /* @__PURE__ */ (0, import_react.cloneElement)(content, _objectWithoutProperties$12(propsWithViewBox, _excluded$12));
|
|
9648
9631
|
}
|
|
9649
9632
|
if (typeof content === "function") {
|
|
9650
9633
|
var { content: _2 } = propsWithViewBox;
|
|
9651
|
-
label = /* @__PURE__ */ (0, import_react.createElement)(content, _objectWithoutProperties$
|
|
9634
|
+
label = /* @__PURE__ */ (0, import_react.createElement)(content, _objectWithoutProperties$12(propsWithViewBox, _excluded2$6));
|
|
9652
9635
|
if (/* @__PURE__ */ (0, import_react.isValidElement)(label)) return label;
|
|
9653
9636
|
} else label = getLabel(props);
|
|
9654
9637
|
var attrs = svgPropertiesAndEvents(props);
|
|
@@ -9711,7 +9694,7 @@ function CartesianLabelFromLabelProp(_ref3) {
|
|
|
9711
9694
|
}
|
|
9712
9695
|
//#endregion
|
|
9713
9696
|
//#region ../../node_modules/.pnpm/recharts@3.8.0_@types+react@19.2.15_react-dom@19.2.6_react@19.2.6__react-is@19.2.7_react@19.2.6_redux@5.0.1/node_modules/recharts/es6/component/LabelList.js
|
|
9714
|
-
var _excluded$
|
|
9697
|
+
var _excluded$11 = ["valueAccessor"], _excluded2$5 = [
|
|
9715
9698
|
"dataKey",
|
|
9716
9699
|
"clockWise",
|
|
9717
9700
|
"id",
|
|
@@ -9727,16 +9710,16 @@ function _extends$12() {
|
|
|
9727
9710
|
return n;
|
|
9728
9711
|
}, _extends$12.apply(null, arguments);
|
|
9729
9712
|
}
|
|
9730
|
-
function _objectWithoutProperties$
|
|
9713
|
+
function _objectWithoutProperties$11(e, t) {
|
|
9731
9714
|
if (null == e) return {};
|
|
9732
|
-
var o, r, i = _objectWithoutPropertiesLoose$
|
|
9715
|
+
var o, r, i = _objectWithoutPropertiesLoose$11(e, t);
|
|
9733
9716
|
if (Object.getOwnPropertySymbols) {
|
|
9734
9717
|
var n = Object.getOwnPropertySymbols(e);
|
|
9735
9718
|
for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
9736
9719
|
}
|
|
9737
9720
|
return i;
|
|
9738
9721
|
}
|
|
9739
|
-
function _objectWithoutPropertiesLoose$
|
|
9722
|
+
function _objectWithoutPropertiesLoose$11(r, e) {
|
|
9740
9723
|
if (null == r) return {};
|
|
9741
9724
|
var t = {};
|
|
9742
9725
|
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
@@ -9790,8 +9773,8 @@ function usePolarLabelListContext() {
|
|
|
9790
9773
|
* @consumes LabelListContext
|
|
9791
9774
|
*/
|
|
9792
9775
|
function LabelList(_ref) {
|
|
9793
|
-
var { valueAccessor = defaultAccessor } = _ref, restProps = _objectWithoutProperties$
|
|
9794
|
-
var { dataKey, clockWise, id, textBreakAll, zIndex } = restProps, others = _objectWithoutProperties$
|
|
9776
|
+
var { valueAccessor = defaultAccessor } = _ref, restProps = _objectWithoutProperties$11(_ref, _excluded$11);
|
|
9777
|
+
var { dataKey, clockWise, id, textBreakAll, zIndex } = restProps, others = _objectWithoutProperties$11(restProps, _excluded2$5);
|
|
9795
9778
|
var cartesianData = useCartesianLabelListContext();
|
|
9796
9779
|
var polarData = usePolarLabelListContext();
|
|
9797
9780
|
var data = cartesianData || polarData;
|
|
@@ -10061,22 +10044,22 @@ var Trapezoid = (outsideProps) => {
|
|
|
10061
10044
|
//#endregion
|
|
10062
10045
|
//#region ../../node_modules/.pnpm/recharts@3.8.0_@types+react@19.2.15_react-dom@19.2.6_react@19.2.6__react-is@19.2.7_react@19.2.6_redux@5.0.1/node_modules/recharts/es6/util/ActiveShapeUtils.js
|
|
10063
10046
|
var import_isPlainObject = /* @__PURE__ */ __toESM(require_isPlainObject());
|
|
10064
|
-
var _excluded$
|
|
10047
|
+
var _excluded$10 = [
|
|
10065
10048
|
"option",
|
|
10066
10049
|
"shapeType",
|
|
10067
10050
|
"activeClassName",
|
|
10068
10051
|
"inActiveClassName"
|
|
10069
10052
|
];
|
|
10070
|
-
function _objectWithoutProperties$
|
|
10053
|
+
function _objectWithoutProperties$10(e, t) {
|
|
10071
10054
|
if (null == e) return {};
|
|
10072
|
-
var o, r, i = _objectWithoutPropertiesLoose$
|
|
10055
|
+
var o, r, i = _objectWithoutPropertiesLoose$10(e, t);
|
|
10073
10056
|
if (Object.getOwnPropertySymbols) {
|
|
10074
10057
|
var n = Object.getOwnPropertySymbols(e);
|
|
10075
10058
|
for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
10076
10059
|
}
|
|
10077
10060
|
return i;
|
|
10078
10061
|
}
|
|
10079
|
-
function _objectWithoutPropertiesLoose$
|
|
10062
|
+
function _objectWithoutPropertiesLoose$10(r, e) {
|
|
10080
10063
|
if (null == r) return {};
|
|
10081
10064
|
var t = {};
|
|
10082
10065
|
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
@@ -10165,7 +10148,7 @@ function getPropsFromShapeOption(option) {
|
|
|
10165
10148
|
return option;
|
|
10166
10149
|
}
|
|
10167
10150
|
function Shape(_ref2) {
|
|
10168
|
-
var { option, shapeType, activeClassName = "recharts-active-shape", inActiveClassName = "recharts-shape" } = _ref2, props = _objectWithoutProperties$
|
|
10151
|
+
var { option, shapeType, activeClassName = "recharts-active-shape", inActiveClassName = "recharts-shape" } = _ref2, props = _objectWithoutProperties$10(_ref2, _excluded$10);
|
|
10169
10152
|
var shape;
|
|
10170
10153
|
if (/* @__PURE__ */ (0, import_react.isValidElement)(option)) shape = /* @__PURE__ */ (0, import_react.cloneElement)(option, _objectSpread$12(_objectSpread$12({}, props), getPropsFromShapeOption(option)));
|
|
10171
10154
|
else if (typeof option === "function") shape = option(props, props.index);
|
|
@@ -10369,7 +10352,7 @@ var SetCartesianGraphicalItemImpl = (props) => {
|
|
|
10369
10352
|
var SetCartesianGraphicalItem = /* @__PURE__ */ (0, import_react.memo)(SetCartesianGraphicalItemImpl);
|
|
10370
10353
|
//#endregion
|
|
10371
10354
|
//#region ../../node_modules/.pnpm/recharts@3.8.0_@types+react@19.2.15_react-dom@19.2.6_react@19.2.6__react-is@19.2.7_react@19.2.6_redux@5.0.1/node_modules/recharts/es6/component/Dots.js
|
|
10372
|
-
var _excluded$
|
|
10355
|
+
var _excluded$9 = ["points"];
|
|
10373
10356
|
function ownKeys$11(e, r) {
|
|
10374
10357
|
var t = Object.keys(e);
|
|
10375
10358
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -10422,16 +10405,16 @@ function _extends$9() {
|
|
|
10422
10405
|
return n;
|
|
10423
10406
|
}, _extends$9.apply(null, arguments);
|
|
10424
10407
|
}
|
|
10425
|
-
function _objectWithoutProperties$
|
|
10408
|
+
function _objectWithoutProperties$9(e, t) {
|
|
10426
10409
|
if (null == e) return {};
|
|
10427
|
-
var o, r, i = _objectWithoutPropertiesLoose$
|
|
10410
|
+
var o, r, i = _objectWithoutPropertiesLoose$9(e, t);
|
|
10428
10411
|
if (Object.getOwnPropertySymbols) {
|
|
10429
10412
|
var n = Object.getOwnPropertySymbols(e);
|
|
10430
10413
|
for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
10431
10414
|
}
|
|
10432
10415
|
return i;
|
|
10433
10416
|
}
|
|
10434
|
-
function _objectWithoutPropertiesLoose$
|
|
10417
|
+
function _objectWithoutPropertiesLoose$9(r, e) {
|
|
10435
10418
|
if (null == r) return {};
|
|
10436
10419
|
var t = {};
|
|
10437
10420
|
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
@@ -10445,7 +10428,7 @@ function DotItem(_ref) {
|
|
|
10445
10428
|
if (/* @__PURE__ */ (0, import_react.isValidElement)(option)) return /* @__PURE__ */ (0, import_react.cloneElement)(option, dotProps);
|
|
10446
10429
|
if (typeof option === "function") return option(dotProps);
|
|
10447
10430
|
var finalClassName = clsx(className, typeof option !== "boolean" ? option.className : "");
|
|
10448
|
-
var _ref2 = dotProps !== null && dotProps !== void 0 ? dotProps : {}, { points } = _ref2, props = _objectWithoutProperties$
|
|
10431
|
+
var _ref2 = dotProps !== null && dotProps !== void 0 ? dotProps : {}, { points } = _ref2, props = _objectWithoutProperties$9(_ref2, _excluded$9);
|
|
10449
10432
|
return /* @__PURE__ */ import_react.createElement(Dot, _extends$9({}, props, { className: finalClassName }));
|
|
10450
10433
|
}
|
|
10451
10434
|
function shouldRenderDots(points, dot) {
|
|
@@ -10819,6 +10802,31 @@ var { setBrushSettings } = brushSlice.actions;
|
|
|
10819
10802
|
var brushReducer = brushSlice.reducer;
|
|
10820
10803
|
//#endregion
|
|
10821
10804
|
//#region ../../node_modules/.pnpm/recharts@3.8.0_@types+react@19.2.15_react-dom@19.2.6_react@19.2.6__react-is@19.2.7_react@19.2.6_redux@5.0.1/node_modules/recharts/es6/util/CartesianUtils.js
|
|
10805
|
+
var rectWithPoints = (_ref, _ref2) => {
|
|
10806
|
+
var { x: x1, y: y1 } = _ref;
|
|
10807
|
+
var { x: x2, y: y2 } = _ref2;
|
|
10808
|
+
return {
|
|
10809
|
+
x: Math.min(x1, x2),
|
|
10810
|
+
y: Math.min(y1, y2),
|
|
10811
|
+
width: Math.abs(x2 - x1),
|
|
10812
|
+
height: Math.abs(y2 - y1)
|
|
10813
|
+
};
|
|
10814
|
+
};
|
|
10815
|
+
/**
|
|
10816
|
+
* Compute the x, y, width, and height of a box from two reference points.
|
|
10817
|
+
* @param {Object} coords x1, x2, y1, and y2
|
|
10818
|
+
* @return {Object} object
|
|
10819
|
+
*/
|
|
10820
|
+
var rectWithCoords = (_ref3) => {
|
|
10821
|
+
var { x1, y1, x2, y2 } = _ref3;
|
|
10822
|
+
return rectWithPoints({
|
|
10823
|
+
x: x1,
|
|
10824
|
+
y: y1
|
|
10825
|
+
}, {
|
|
10826
|
+
x: x2,
|
|
10827
|
+
y: y2
|
|
10828
|
+
});
|
|
10829
|
+
};
|
|
10822
10830
|
/** Normalizes the angle so that 0 <= angle < 180.
|
|
10823
10831
|
* @param {number} angle Angle in degrees.
|
|
10824
10832
|
* @return {number} the normalized angle with a value of at least 0 and never greater or equal to 180. */
|
|
@@ -10896,6 +10904,267 @@ var ClipPathProvider = (_ref) => {
|
|
|
10896
10904
|
width
|
|
10897
10905
|
}))), children);
|
|
10898
10906
|
};
|
|
10907
|
+
var useClipPathId = () => {
|
|
10908
|
+
return (0, import_react.useContext)(ClipPathIdContext);
|
|
10909
|
+
};
|
|
10910
|
+
//#endregion
|
|
10911
|
+
//#region ../../node_modules/.pnpm/recharts@3.8.0_@types+react@19.2.15_react-dom@19.2.6_react@19.2.6__react-is@19.2.7_react@19.2.6_redux@5.0.1/node_modules/recharts/es6/util/scale/CartesianScaleHelper.js
|
|
10912
|
+
/**
|
|
10913
|
+
* Groups X and Y scale functions together and provides helper methods.
|
|
10914
|
+
*/
|
|
10915
|
+
var CartesianScaleHelperImpl = class {
|
|
10916
|
+
constructor(_ref) {
|
|
10917
|
+
var { x, y } = _ref;
|
|
10918
|
+
this.xAxisScale = x;
|
|
10919
|
+
this.yAxisScale = y;
|
|
10920
|
+
}
|
|
10921
|
+
map(value, _ref2) {
|
|
10922
|
+
var _this$xAxisScale$map, _this$yAxisScale$map;
|
|
10923
|
+
var { position } = _ref2;
|
|
10924
|
+
return {
|
|
10925
|
+
x: (_this$xAxisScale$map = this.xAxisScale.map(value.x, { position })) !== null && _this$xAxisScale$map !== void 0 ? _this$xAxisScale$map : 0,
|
|
10926
|
+
y: (_this$yAxisScale$map = this.yAxisScale.map(value.y, { position })) !== null && _this$yAxisScale$map !== void 0 ? _this$yAxisScale$map : 0
|
|
10927
|
+
};
|
|
10928
|
+
}
|
|
10929
|
+
mapWithFallback(value, _ref3) {
|
|
10930
|
+
var _this$xAxisScale$map2, _this$yAxisScale$map2;
|
|
10931
|
+
var { position, fallback } = _ref3;
|
|
10932
|
+
var fallbackY, fallbackX;
|
|
10933
|
+
if (fallback === "rangeMin") fallbackY = this.yAxisScale.rangeMin();
|
|
10934
|
+
else if (fallback === "rangeMax") fallbackY = this.yAxisScale.rangeMax();
|
|
10935
|
+
else fallbackY = 0;
|
|
10936
|
+
if (fallback === "rangeMin") fallbackX = this.xAxisScale.rangeMin();
|
|
10937
|
+
else if (fallback === "rangeMax") fallbackX = this.xAxisScale.rangeMax();
|
|
10938
|
+
else fallbackX = 0;
|
|
10939
|
+
return {
|
|
10940
|
+
x: (_this$xAxisScale$map2 = this.xAxisScale.map(value.x, { position })) !== null && _this$xAxisScale$map2 !== void 0 ? _this$xAxisScale$map2 : fallbackX,
|
|
10941
|
+
y: (_this$yAxisScale$map2 = this.yAxisScale.map(value.y, { position })) !== null && _this$yAxisScale$map2 !== void 0 ? _this$yAxisScale$map2 : fallbackY
|
|
10942
|
+
};
|
|
10943
|
+
}
|
|
10944
|
+
isInRange(_ref4) {
|
|
10945
|
+
var { x, y } = _ref4;
|
|
10946
|
+
var xInRange = x == null || this.xAxisScale.isInRange(x);
|
|
10947
|
+
var yInRange = y == null || this.yAxisScale.isInRange(y);
|
|
10948
|
+
return xInRange && yInRange;
|
|
10949
|
+
}
|
|
10950
|
+
};
|
|
10951
|
+
//#endregion
|
|
10952
|
+
//#region ../../node_modules/.pnpm/recharts@3.8.0_@types+react@19.2.15_react-dom@19.2.6_react@19.2.6__react-is@19.2.7_react@19.2.6_redux@5.0.1/node_modules/recharts/es6/cartesian/ReferenceLine.js
|
|
10953
|
+
/**
|
|
10954
|
+
* @fileOverview Reference Line
|
|
10955
|
+
*/
|
|
10956
|
+
function ownKeys$8(e, r) {
|
|
10957
|
+
var t = Object.keys(e);
|
|
10958
|
+
if (Object.getOwnPropertySymbols) {
|
|
10959
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
10960
|
+
r && (o = o.filter(function(r) {
|
|
10961
|
+
return Object.getOwnPropertyDescriptor(e, r).enumerable;
|
|
10962
|
+
})), t.push.apply(t, o);
|
|
10963
|
+
}
|
|
10964
|
+
return t;
|
|
10965
|
+
}
|
|
10966
|
+
function _objectSpread$8(e) {
|
|
10967
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
10968
|
+
var t = null != arguments[r] ? arguments[r] : {};
|
|
10969
|
+
r % 2 ? ownKeys$8(Object(t), !0).forEach(function(r) {
|
|
10970
|
+
_defineProperty$8(e, r, t[r]);
|
|
10971
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$8(Object(t)).forEach(function(r) {
|
|
10972
|
+
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
|
10973
|
+
});
|
|
10974
|
+
}
|
|
10975
|
+
return e;
|
|
10976
|
+
}
|
|
10977
|
+
function _defineProperty$8(e, r, t) {
|
|
10978
|
+
return (r = _toPropertyKey$8(r)) in e ? Object.defineProperty(e, r, {
|
|
10979
|
+
value: t,
|
|
10980
|
+
enumerable: !0,
|
|
10981
|
+
configurable: !0,
|
|
10982
|
+
writable: !0
|
|
10983
|
+
}) : e[r] = t, e;
|
|
10984
|
+
}
|
|
10985
|
+
function _toPropertyKey$8(t) {
|
|
10986
|
+
var i = _toPrimitive$8(t, "string");
|
|
10987
|
+
return "symbol" == typeof i ? i : i + "";
|
|
10988
|
+
}
|
|
10989
|
+
function _toPrimitive$8(t, r) {
|
|
10990
|
+
if ("object" != typeof t || !t) return t;
|
|
10991
|
+
var e = t[Symbol.toPrimitive];
|
|
10992
|
+
if (void 0 !== e) {
|
|
10993
|
+
var i = e.call(t, r || "default");
|
|
10994
|
+
if ("object" != typeof i) return i;
|
|
10995
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
10996
|
+
}
|
|
10997
|
+
return ("string" === r ? String : Number)(t);
|
|
10998
|
+
}
|
|
10999
|
+
function _extends$8() {
|
|
11000
|
+
return _extends$8 = Object.assign ? Object.assign.bind() : function(n) {
|
|
11001
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
11002
|
+
var t = arguments[e];
|
|
11003
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
11004
|
+
}
|
|
11005
|
+
return n;
|
|
11006
|
+
}, _extends$8.apply(null, arguments);
|
|
11007
|
+
}
|
|
11008
|
+
/**
|
|
11009
|
+
* Single point that defines one end of a segment.
|
|
11010
|
+
* These coordinates are in data space, meaning that you should provide
|
|
11011
|
+
* values that correspond to the data domain of the axes.
|
|
11012
|
+
* So you would provide a value of `Page A` to indicate the data value `Page A`
|
|
11013
|
+
* and then recharts will convert that to pixels.
|
|
11014
|
+
*
|
|
11015
|
+
* Likewise for numbers. If your x-axis goes from 0 to 100,
|
|
11016
|
+
* and you want the line to end at 50, you would provide `50` here.
|
|
11017
|
+
*
|
|
11018
|
+
* @inline
|
|
11019
|
+
*/
|
|
11020
|
+
/**
|
|
11021
|
+
* This excludes `viewBox` prop from svg for two reasons:
|
|
11022
|
+
* 1. The components wants viewBox of object type, and svg wants string
|
|
11023
|
+
* - so there's a conflict, and the component will throw if it gets string
|
|
11024
|
+
* 2. Internally the component calls `svgPropertiesNoEvents` which filters the viewBox away anyway
|
|
11025
|
+
*/
|
|
11026
|
+
var renderLine = (option, props) => {
|
|
11027
|
+
var line;
|
|
11028
|
+
if (/* @__PURE__ */ import_react.isValidElement(option)) line = /* @__PURE__ */ import_react.cloneElement(option, props);
|
|
11029
|
+
else if (typeof option === "function") line = option(props);
|
|
11030
|
+
else {
|
|
11031
|
+
if (!isWellBehavedNumber(props.x1) || !isWellBehavedNumber(props.y1) || !isWellBehavedNumber(props.x2) || !isWellBehavedNumber(props.y2)) return null;
|
|
11032
|
+
line = /* @__PURE__ */ import_react.createElement("line", _extends$8({}, props, { className: "recharts-reference-line-line" }));
|
|
11033
|
+
}
|
|
11034
|
+
return line;
|
|
11035
|
+
};
|
|
11036
|
+
var getHorizontalLineEndPoints = (yCoord, ifOverflow, position, yAxisOrientation, yAxisScale, viewBox) => {
|
|
11037
|
+
var { x, width } = viewBox;
|
|
11038
|
+
var coord = yAxisScale.map(yCoord, { position });
|
|
11039
|
+
if (!isWellBehavedNumber(coord)) return null;
|
|
11040
|
+
if (ifOverflow === "discard" && !yAxisScale.isInRange(coord)) return null;
|
|
11041
|
+
var points = [{
|
|
11042
|
+
x: x + width,
|
|
11043
|
+
y: coord
|
|
11044
|
+
}, {
|
|
11045
|
+
x,
|
|
11046
|
+
y: coord
|
|
11047
|
+
}];
|
|
11048
|
+
return yAxisOrientation === "left" ? points.reverse() : points;
|
|
11049
|
+
};
|
|
11050
|
+
var getVerticalLineEndPoints = (xCoord, ifOverflow, position, xAxisOrientation, xAxisScale, viewBox) => {
|
|
11051
|
+
var { y, height } = viewBox;
|
|
11052
|
+
var coord = xAxisScale.map(xCoord, { position });
|
|
11053
|
+
if (!isWellBehavedNumber(coord)) return null;
|
|
11054
|
+
if (ifOverflow === "discard" && !xAxisScale.isInRange(coord)) return null;
|
|
11055
|
+
var points = [{
|
|
11056
|
+
x: coord,
|
|
11057
|
+
y: y + height
|
|
11058
|
+
}, {
|
|
11059
|
+
x: coord,
|
|
11060
|
+
y
|
|
11061
|
+
}];
|
|
11062
|
+
return xAxisOrientation === "top" ? points.reverse() : points;
|
|
11063
|
+
};
|
|
11064
|
+
var getSegmentLineEndPoints = (segment, ifOverflow, position, scales) => {
|
|
11065
|
+
var points = [scales.mapWithFallback(segment[0], {
|
|
11066
|
+
position,
|
|
11067
|
+
fallback: "rangeMin"
|
|
11068
|
+
}), scales.mapWithFallback(segment[1], {
|
|
11069
|
+
position,
|
|
11070
|
+
fallback: "rangeMax"
|
|
11071
|
+
})];
|
|
11072
|
+
if (ifOverflow === "discard" && points.some((p) => !scales.isInRange(p))) return null;
|
|
11073
|
+
return points;
|
|
11074
|
+
};
|
|
11075
|
+
var getEndPoints = (xAxisScale, yAxisScale, viewBox, position, xAxisOrientation, yAxisOrientation, props) => {
|
|
11076
|
+
var { x: xCoord, y: yCoord, segment, ifOverflow } = props;
|
|
11077
|
+
var isFixedX = isNumOrStr(xCoord);
|
|
11078
|
+
if (isNumOrStr(yCoord)) return getHorizontalLineEndPoints(yCoord, ifOverflow, position, yAxisOrientation, yAxisScale, viewBox);
|
|
11079
|
+
if (isFixedX) return getVerticalLineEndPoints(xCoord, ifOverflow, position, xAxisOrientation, xAxisScale, viewBox);
|
|
11080
|
+
if (segment != null && segment.length === 2) return getSegmentLineEndPoints(segment, ifOverflow, position, new CartesianScaleHelperImpl({
|
|
11081
|
+
x: xAxisScale,
|
|
11082
|
+
y: yAxisScale
|
|
11083
|
+
}));
|
|
11084
|
+
return null;
|
|
11085
|
+
};
|
|
11086
|
+
function ReportReferenceLine(props) {
|
|
11087
|
+
var dispatch = useAppDispatch();
|
|
11088
|
+
(0, import_react.useEffect)(() => {
|
|
11089
|
+
dispatch(addLine(props));
|
|
11090
|
+
return () => {
|
|
11091
|
+
dispatch(removeLine(props));
|
|
11092
|
+
};
|
|
11093
|
+
});
|
|
11094
|
+
return null;
|
|
11095
|
+
}
|
|
11096
|
+
function ReferenceLineImpl(props) {
|
|
11097
|
+
var { xAxisId, yAxisId, shape, className, ifOverflow } = props;
|
|
11098
|
+
var isPanorama = useIsPanorama();
|
|
11099
|
+
var clipPathId = useClipPathId();
|
|
11100
|
+
var xAxis = useAppSelector((state) => selectXAxisSettings(state, xAxisId));
|
|
11101
|
+
var yAxis = useAppSelector((state) => selectYAxisSettings(state, yAxisId));
|
|
11102
|
+
var xAxisScale = useAppSelector((state) => selectAxisScale(state, "xAxis", xAxisId, isPanorama));
|
|
11103
|
+
var yAxisScale = useAppSelector((state) => selectAxisScale(state, "yAxis", yAxisId, isPanorama));
|
|
11104
|
+
var viewBox = useViewBox();
|
|
11105
|
+
if (!clipPathId || !viewBox || xAxis == null || yAxis == null || xAxisScale == null || yAxisScale == null) return null;
|
|
11106
|
+
var endPoints = getEndPoints(xAxisScale, yAxisScale, viewBox, props.position, xAxis.orientation, yAxis.orientation, props);
|
|
11107
|
+
if (!endPoints) return null;
|
|
11108
|
+
var point1 = endPoints[0];
|
|
11109
|
+
var point2 = endPoints[1];
|
|
11110
|
+
if (point1 == null || point2 == null) return null;
|
|
11111
|
+
var { x: x1, y: y1 } = point1;
|
|
11112
|
+
var { x: x2, y: y2 } = point2;
|
|
11113
|
+
var lineProps = _objectSpread$8(_objectSpread$8({ clipPath: ifOverflow === "hidden" ? "url(#".concat(clipPathId, ")") : void 0 }, svgPropertiesAndEvents(props)), {}, {
|
|
11114
|
+
x1,
|
|
11115
|
+
y1,
|
|
11116
|
+
x2,
|
|
11117
|
+
y2
|
|
11118
|
+
});
|
|
11119
|
+
var rect = rectWithCoords({
|
|
11120
|
+
x1,
|
|
11121
|
+
y1,
|
|
11122
|
+
x2,
|
|
11123
|
+
y2
|
|
11124
|
+
});
|
|
11125
|
+
return /* @__PURE__ */ import_react.createElement(ZIndexLayer, { zIndex: props.zIndex }, /* @__PURE__ */ import_react.createElement(Layer, { className: clsx("recharts-reference-line", className) }, renderLine(shape, lineProps), /* @__PURE__ */ import_react.createElement(CartesianLabelContextProvider, _extends$8({}, rect, {
|
|
11126
|
+
lowerWidth: rect.width,
|
|
11127
|
+
upperWidth: rect.width
|
|
11128
|
+
}), /* @__PURE__ */ import_react.createElement(CartesianLabelFromLabelProp, { label: props.label }), props.children)));
|
|
11129
|
+
}
|
|
11130
|
+
var referenceLineDefaultProps = {
|
|
11131
|
+
ifOverflow: "discard",
|
|
11132
|
+
xAxisId: 0,
|
|
11133
|
+
yAxisId: 0,
|
|
11134
|
+
fill: "none",
|
|
11135
|
+
label: false,
|
|
11136
|
+
stroke: "#ccc",
|
|
11137
|
+
fillOpacity: 1,
|
|
11138
|
+
strokeWidth: 1,
|
|
11139
|
+
position: "middle",
|
|
11140
|
+
zIndex: DefaultZIndexes.line
|
|
11141
|
+
};
|
|
11142
|
+
/**
|
|
11143
|
+
* Draws a line on the chart connecting two points.
|
|
11144
|
+
*
|
|
11145
|
+
* This component, unlike {@link https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/line line}, is aware of the cartesian coordinate system,
|
|
11146
|
+
* so you specify the dimensions by using data coordinates instead of pixels.
|
|
11147
|
+
*
|
|
11148
|
+
* ReferenceLine will calculate the pixels based on the provided data coordinates.
|
|
11149
|
+
*
|
|
11150
|
+
* If you prefer to render using pixels rather than data coordinates,
|
|
11151
|
+
* consider using the {@link https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/line line SVG element} instead.
|
|
11152
|
+
*
|
|
11153
|
+
* @provides CartesianLabelContext
|
|
11154
|
+
* @consumes CartesianChartContext
|
|
11155
|
+
*/
|
|
11156
|
+
function ReferenceLine(outsideProps) {
|
|
11157
|
+
var props = resolveDefaultProps(outsideProps, referenceLineDefaultProps);
|
|
11158
|
+
return /* @__PURE__ */ import_react.createElement(import_react.Fragment, null, /* @__PURE__ */ import_react.createElement(ReportReferenceLine, {
|
|
11159
|
+
yAxisId: props.yAxisId,
|
|
11160
|
+
xAxisId: props.xAxisId,
|
|
11161
|
+
ifOverflow: props.ifOverflow,
|
|
11162
|
+
x: props.x,
|
|
11163
|
+
y: props.y,
|
|
11164
|
+
segment: props.segment
|
|
11165
|
+
}), /* @__PURE__ */ import_react.createElement(ReferenceLineImpl, props));
|
|
11166
|
+
}
|
|
11167
|
+
ReferenceLine.displayName = "ReferenceLine";
|
|
10899
11168
|
//#endregion
|
|
10900
11169
|
//#region ../../node_modules/.pnpm/recharts@3.8.0_@types+react@19.2.15_react-dom@19.2.6_react@19.2.6__react-is@19.2.7_react@19.2.6_redux@5.0.1/node_modules/recharts/es6/util/getEveryNth.js
|
|
10901
11170
|
/**
|
|
@@ -11025,7 +11294,7 @@ function getEquidistantPreserveEndTicks(sign, boundaries, getTickSize, ticks, mi
|
|
|
11025
11294
|
}
|
|
11026
11295
|
//#endregion
|
|
11027
11296
|
//#region ../../node_modules/.pnpm/recharts@3.8.0_@types+react@19.2.15_react-dom@19.2.6_react@19.2.6__react-is@19.2.7_react@19.2.6_redux@5.0.1/node_modules/recharts/es6/cartesian/getTicks.js
|
|
11028
|
-
function ownKeys$
|
|
11297
|
+
function ownKeys$7(e, r) {
|
|
11029
11298
|
var t = Object.keys(e);
|
|
11030
11299
|
if (Object.getOwnPropertySymbols) {
|
|
11031
11300
|
var o = Object.getOwnPropertySymbols(e);
|
|
@@ -11035,30 +11304,30 @@ function ownKeys$8(e, r) {
|
|
|
11035
11304
|
}
|
|
11036
11305
|
return t;
|
|
11037
11306
|
}
|
|
11038
|
-
function _objectSpread$
|
|
11307
|
+
function _objectSpread$7(e) {
|
|
11039
11308
|
for (var r = 1; r < arguments.length; r++) {
|
|
11040
11309
|
var t = null != arguments[r] ? arguments[r] : {};
|
|
11041
|
-
r % 2 ? ownKeys$
|
|
11042
|
-
_defineProperty$
|
|
11043
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$
|
|
11310
|
+
r % 2 ? ownKeys$7(Object(t), !0).forEach(function(r) {
|
|
11311
|
+
_defineProperty$7(e, r, t[r]);
|
|
11312
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$7(Object(t)).forEach(function(r) {
|
|
11044
11313
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
|
11045
11314
|
});
|
|
11046
11315
|
}
|
|
11047
11316
|
return e;
|
|
11048
11317
|
}
|
|
11049
|
-
function _defineProperty$
|
|
11050
|
-
return (r = _toPropertyKey$
|
|
11318
|
+
function _defineProperty$7(e, r, t) {
|
|
11319
|
+
return (r = _toPropertyKey$7(r)) in e ? Object.defineProperty(e, r, {
|
|
11051
11320
|
value: t,
|
|
11052
11321
|
enumerable: !0,
|
|
11053
11322
|
configurable: !0,
|
|
11054
11323
|
writable: !0
|
|
11055
11324
|
}) : e[r] = t, e;
|
|
11056
11325
|
}
|
|
11057
|
-
function _toPropertyKey$
|
|
11058
|
-
var i = _toPrimitive$
|
|
11326
|
+
function _toPropertyKey$7(t) {
|
|
11327
|
+
var i = _toPrimitive$7(t, "string");
|
|
11059
11328
|
return "symbol" == typeof i ? i : i + "";
|
|
11060
11329
|
}
|
|
11061
|
-
function _toPrimitive$
|
|
11330
|
+
function _toPrimitive$7(t, r) {
|
|
11062
11331
|
if ("object" != typeof t || !t) return t;
|
|
11063
11332
|
var e = t[Symbol.toPrimitive];
|
|
11064
11333
|
if (void 0 !== e) {
|
|
@@ -11084,12 +11353,12 @@ function getTicksEnd(sign, boundaries, getTickSize, ticks, minTickGap) {
|
|
|
11084
11353
|
};
|
|
11085
11354
|
if (i === len - 1) {
|
|
11086
11355
|
var gap = sign * (entry.coordinate + sign * getSize() / 2 - end);
|
|
11087
|
-
result[i] = entry = _objectSpread$
|
|
11088
|
-
} else result[i] = entry = _objectSpread$
|
|
11356
|
+
result[i] = entry = _objectSpread$7(_objectSpread$7({}, entry), {}, { tickCoord: gap > 0 ? entry.coordinate - gap * sign : entry.coordinate });
|
|
11357
|
+
} else result[i] = entry = _objectSpread$7(_objectSpread$7({}, entry), {}, { tickCoord: entry.coordinate });
|
|
11089
11358
|
if (entry.tickCoord != null) {
|
|
11090
11359
|
if (isVisible(sign, entry.tickCoord, getSize, start, end)) {
|
|
11091
11360
|
end = entry.tickCoord - sign * (getSize() / 2 + minTickGap);
|
|
11092
|
-
result[i] = _objectSpread$
|
|
11361
|
+
result[i] = _objectSpread$7(_objectSpread$7({}, entry), {}, { isShow: true });
|
|
11093
11362
|
}
|
|
11094
11363
|
}
|
|
11095
11364
|
};
|
|
@@ -11105,11 +11374,11 @@ function getTicksStart(sign, boundaries, getTickSize, ticks, minTickGap, preserv
|
|
|
11105
11374
|
if (tail != null) {
|
|
11106
11375
|
var tailSize = getTickSize(tail, len - 1);
|
|
11107
11376
|
var tailGap = sign * (tail.coordinate + sign * tailSize / 2 - end);
|
|
11108
|
-
result[len - 1] = tail = _objectSpread$
|
|
11377
|
+
result[len - 1] = tail = _objectSpread$7(_objectSpread$7({}, tail), {}, { tickCoord: tailGap > 0 ? tail.coordinate - tailGap * sign : tail.coordinate });
|
|
11109
11378
|
if (tail.tickCoord != null) {
|
|
11110
11379
|
if (isVisible(sign, tail.tickCoord, () => tailSize, start, end)) {
|
|
11111
11380
|
end = tail.tickCoord - sign * (tailSize / 2 + minTickGap);
|
|
11112
|
-
result[len - 1] = _objectSpread$
|
|
11381
|
+
result[len - 1] = _objectSpread$7(_objectSpread$7({}, tail), {}, { isShow: true });
|
|
11113
11382
|
}
|
|
11114
11383
|
}
|
|
11115
11384
|
}
|
|
@@ -11126,12 +11395,12 @@ function getTicksStart(sign, boundaries, getTickSize, ticks, minTickGap, preserv
|
|
|
11126
11395
|
};
|
|
11127
11396
|
if (i === 0) {
|
|
11128
11397
|
var gap = sign * (entry.coordinate - sign * getSize() / 2 - start);
|
|
11129
|
-
result[i] = entry = _objectSpread$
|
|
11130
|
-
} else result[i] = entry = _objectSpread$
|
|
11398
|
+
result[i] = entry = _objectSpread$7(_objectSpread$7({}, entry), {}, { tickCoord: gap < 0 ? entry.coordinate - gap * sign : entry.coordinate });
|
|
11399
|
+
} else result[i] = entry = _objectSpread$7(_objectSpread$7({}, entry), {}, { tickCoord: entry.coordinate });
|
|
11131
11400
|
if (entry.tickCoord != null) {
|
|
11132
11401
|
if (isVisible(sign, entry.tickCoord, getSize, start, end)) {
|
|
11133
11402
|
start = entry.tickCoord + sign * (getSize() / 2 + minTickGap);
|
|
11134
|
-
result[i] = _objectSpread$
|
|
11403
|
+
result[i] = _objectSpread$7(_objectSpread$7({}, entry), {}, { isShow: true });
|
|
11135
11404
|
}
|
|
11136
11405
|
}
|
|
11137
11406
|
};
|
|
@@ -11227,7 +11496,7 @@ var renderedTicksReducer = renderedTicksSlice.reducer;
|
|
|
11227
11496
|
/**
|
|
11228
11497
|
* @fileOverview Cartesian Axis
|
|
11229
11498
|
*/
|
|
11230
|
-
var _excluded$
|
|
11499
|
+
var _excluded$8 = [
|
|
11231
11500
|
"axisLine",
|
|
11232
11501
|
"width",
|
|
11233
11502
|
"height",
|
|
@@ -11237,16 +11506,16 @@ var _excluded$9 = [
|
|
|
11237
11506
|
"axisType",
|
|
11238
11507
|
"axisId"
|
|
11239
11508
|
];
|
|
11240
|
-
function _objectWithoutProperties$
|
|
11509
|
+
function _objectWithoutProperties$8(e, t) {
|
|
11241
11510
|
if (null == e) return {};
|
|
11242
|
-
var o, r, i = _objectWithoutPropertiesLoose$
|
|
11511
|
+
var o, r, i = _objectWithoutPropertiesLoose$8(e, t);
|
|
11243
11512
|
if (Object.getOwnPropertySymbols) {
|
|
11244
11513
|
var n = Object.getOwnPropertySymbols(e);
|
|
11245
11514
|
for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
11246
11515
|
}
|
|
11247
11516
|
return i;
|
|
11248
11517
|
}
|
|
11249
|
-
function _objectWithoutPropertiesLoose$
|
|
11518
|
+
function _objectWithoutPropertiesLoose$8(r, e) {
|
|
11250
11519
|
if (null == r) return {};
|
|
11251
11520
|
var t = {};
|
|
11252
11521
|
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
@@ -11255,16 +11524,16 @@ function _objectWithoutPropertiesLoose$9(r, e) {
|
|
|
11255
11524
|
}
|
|
11256
11525
|
return t;
|
|
11257
11526
|
}
|
|
11258
|
-
function _extends$
|
|
11259
|
-
return _extends$
|
|
11527
|
+
function _extends$7() {
|
|
11528
|
+
return _extends$7 = Object.assign ? Object.assign.bind() : function(n) {
|
|
11260
11529
|
for (var e = 1; e < arguments.length; e++) {
|
|
11261
11530
|
var t = arguments[e];
|
|
11262
11531
|
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
11263
11532
|
}
|
|
11264
11533
|
return n;
|
|
11265
|
-
}, _extends$
|
|
11534
|
+
}, _extends$7.apply(null, arguments);
|
|
11266
11535
|
}
|
|
11267
|
-
function ownKeys$
|
|
11536
|
+
function ownKeys$6(e, r) {
|
|
11268
11537
|
var t = Object.keys(e);
|
|
11269
11538
|
if (Object.getOwnPropertySymbols) {
|
|
11270
11539
|
var o = Object.getOwnPropertySymbols(e);
|
|
@@ -11274,30 +11543,30 @@ function ownKeys$7(e, r) {
|
|
|
11274
11543
|
}
|
|
11275
11544
|
return t;
|
|
11276
11545
|
}
|
|
11277
|
-
function _objectSpread$
|
|
11546
|
+
function _objectSpread$6(e) {
|
|
11278
11547
|
for (var r = 1; r < arguments.length; r++) {
|
|
11279
11548
|
var t = null != arguments[r] ? arguments[r] : {};
|
|
11280
|
-
r % 2 ? ownKeys$
|
|
11281
|
-
_defineProperty$
|
|
11282
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$
|
|
11549
|
+
r % 2 ? ownKeys$6(Object(t), !0).forEach(function(r) {
|
|
11550
|
+
_defineProperty$6(e, r, t[r]);
|
|
11551
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$6(Object(t)).forEach(function(r) {
|
|
11283
11552
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
|
11284
11553
|
});
|
|
11285
11554
|
}
|
|
11286
11555
|
return e;
|
|
11287
11556
|
}
|
|
11288
|
-
function _defineProperty$
|
|
11289
|
-
return (r = _toPropertyKey$
|
|
11557
|
+
function _defineProperty$6(e, r, t) {
|
|
11558
|
+
return (r = _toPropertyKey$6(r)) in e ? Object.defineProperty(e, r, {
|
|
11290
11559
|
value: t,
|
|
11291
11560
|
enumerable: !0,
|
|
11292
11561
|
configurable: !0,
|
|
11293
11562
|
writable: !0
|
|
11294
11563
|
}) : e[r] = t, e;
|
|
11295
11564
|
}
|
|
11296
|
-
function _toPropertyKey$
|
|
11297
|
-
var i = _toPrimitive$
|
|
11565
|
+
function _toPropertyKey$6(t) {
|
|
11566
|
+
var i = _toPrimitive$6(t, "string");
|
|
11298
11567
|
return "symbol" == typeof i ? i : i + "";
|
|
11299
11568
|
}
|
|
11300
|
-
function _toPrimitive$
|
|
11569
|
+
function _toPrimitive$6(t, r) {
|
|
11301
11570
|
if ("object" != typeof t || !t) return t;
|
|
11302
11571
|
var e = t[Symbol.toPrimitive];
|
|
11303
11572
|
if (void 0 !== e) {
|
|
@@ -11337,10 +11606,10 @@ var defaultCartesianAxisProps = {
|
|
|
11337
11606
|
function AxisLine(axisLineProps) {
|
|
11338
11607
|
var { x, y, width, height, orientation, mirror, axisLine, otherSvgProps } = axisLineProps;
|
|
11339
11608
|
if (!axisLine) return null;
|
|
11340
|
-
var props = _objectSpread$
|
|
11609
|
+
var props = _objectSpread$6(_objectSpread$6(_objectSpread$6({}, otherSvgProps), svgPropertiesNoEvents(axisLine)), {}, { fill: "none" });
|
|
11341
11610
|
if (orientation === "top" || orientation === "bottom") {
|
|
11342
11611
|
var needHeight = +(orientation === "top" && !mirror || orientation === "bottom" && mirror);
|
|
11343
|
-
props = _objectSpread$
|
|
11612
|
+
props = _objectSpread$6(_objectSpread$6({}, props), {}, {
|
|
11344
11613
|
x1: x,
|
|
11345
11614
|
y1: y + needHeight * height,
|
|
11346
11615
|
x2: x + width,
|
|
@@ -11348,14 +11617,14 @@ function AxisLine(axisLineProps) {
|
|
|
11348
11617
|
});
|
|
11349
11618
|
} else {
|
|
11350
11619
|
var needWidth = +(orientation === "left" && !mirror || orientation === "right" && mirror);
|
|
11351
|
-
props = _objectSpread$
|
|
11620
|
+
props = _objectSpread$6(_objectSpread$6({}, props), {}, {
|
|
11352
11621
|
x1: x + needWidth * width,
|
|
11353
11622
|
y1: y,
|
|
11354
11623
|
x2: x + needWidth * width,
|
|
11355
11624
|
y2: y + height
|
|
11356
11625
|
});
|
|
11357
11626
|
}
|
|
11358
|
-
return /* @__PURE__ */ import_react.createElement("line", _extends$
|
|
11627
|
+
return /* @__PURE__ */ import_react.createElement("line", _extends$7({}, props, { className: clsx("recharts-cartesian-axis-line", (0, import_get.default)(axisLine, "className")) }));
|
|
11359
11628
|
}
|
|
11360
11629
|
/**
|
|
11361
11630
|
* Calculate the coordinates of endpoints in ticks.
|
|
@@ -11448,12 +11717,12 @@ function TickItem(props) {
|
|
|
11448
11717
|
var { option, tickProps, value } = props;
|
|
11449
11718
|
var tickItem;
|
|
11450
11719
|
var combinedClassName = clsx(tickProps.className, "recharts-cartesian-axis-tick-value");
|
|
11451
|
-
if (/* @__PURE__ */ import_react.isValidElement(option)) tickItem = /* @__PURE__ */ import_react.cloneElement(option, _objectSpread$
|
|
11452
|
-
else if (typeof option === "function") tickItem = option(_objectSpread$
|
|
11720
|
+
if (/* @__PURE__ */ import_react.isValidElement(option)) tickItem = /* @__PURE__ */ import_react.cloneElement(option, _objectSpread$6(_objectSpread$6({}, tickProps), {}, { className: combinedClassName }));
|
|
11721
|
+
else if (typeof option === "function") tickItem = option(_objectSpread$6(_objectSpread$6({}, tickProps), {}, { className: combinedClassName }));
|
|
11453
11722
|
else {
|
|
11454
11723
|
var className = "recharts-cartesian-axis-tick-value";
|
|
11455
11724
|
if (typeof option !== "boolean") className = clsx(className, getClassNameFromUnknown(option));
|
|
11456
|
-
tickItem = /* @__PURE__ */ import_react.createElement(Text, _extends$
|
|
11725
|
+
tickItem = /* @__PURE__ */ import_react.createElement(Text, _extends$7({}, tickProps, { className }), value);
|
|
11457
11726
|
}
|
|
11458
11727
|
return tickItem;
|
|
11459
11728
|
}
|
|
@@ -11488,26 +11757,26 @@ function RenderedTicksReporter(_ref) {
|
|
|
11488
11757
|
}
|
|
11489
11758
|
var Ticks = /* @__PURE__ */ (0, import_react.forwardRef)((props, ref) => {
|
|
11490
11759
|
var { ticks = [], tick, tickLine, stroke, tickFormatter, unit, padding, tickTextProps, orientation, mirror, x, y, width, height, tickSize, tickMargin, fontSize, letterSpacing, getTicksConfig, events, axisType, axisId } = props;
|
|
11491
|
-
var finalTicks = getTicks(_objectSpread$
|
|
11760
|
+
var finalTicks = getTicks(_objectSpread$6(_objectSpread$6({}, getTicksConfig), {}, { ticks }), fontSize, letterSpacing);
|
|
11492
11761
|
var axisProps = svgPropertiesNoEvents(getTicksConfig);
|
|
11493
11762
|
var customTickProps = svgPropertiesNoEventsFromUnknown(tick);
|
|
11494
11763
|
var textAnchor = isValidTextAnchor(axisProps.textAnchor) ? axisProps.textAnchor : getTickTextAnchor(orientation, mirror);
|
|
11495
11764
|
var verticalAnchor = getTickVerticalAnchor(orientation, mirror);
|
|
11496
11765
|
var tickLinePropsObject = {};
|
|
11497
11766
|
if (typeof tickLine === "object") tickLinePropsObject = tickLine;
|
|
11498
|
-
var tickLineProps = _objectSpread$
|
|
11499
|
-
var tickLineCoords = finalTicks.map((entry) => _objectSpread$
|
|
11767
|
+
var tickLineProps = _objectSpread$6(_objectSpread$6({}, axisProps), {}, { fill: "none" }, tickLinePropsObject);
|
|
11768
|
+
var tickLineCoords = finalTicks.map((entry) => _objectSpread$6({ entry }, getTickLineCoord(entry, x, y, width, height, orientation, tickSize, mirror, tickMargin)));
|
|
11500
11769
|
var tickLines = tickLineCoords.map((_ref2) => {
|
|
11501
11770
|
var { entry, line: lineCoord } = _ref2;
|
|
11502
11771
|
return /* @__PURE__ */ import_react.createElement(Layer, {
|
|
11503
11772
|
className: "recharts-cartesian-axis-tick",
|
|
11504
11773
|
key: "tick-".concat(entry.value, "-").concat(entry.coordinate, "-").concat(entry.tickCoord)
|
|
11505
|
-
}, tickLine && /* @__PURE__ */ import_react.createElement("line", _extends$
|
|
11774
|
+
}, tickLine && /* @__PURE__ */ import_react.createElement("line", _extends$7({}, tickLineProps, lineCoord, { className: clsx("recharts-cartesian-axis-tick-line", (0, import_get.default)(tickLine, "className")) })));
|
|
11506
11775
|
});
|
|
11507
11776
|
var tickLabels = tickLineCoords.map((_ref3, i) => {
|
|
11508
11777
|
var _ref4, _tickTextProps$angle;
|
|
11509
11778
|
var { entry, tick: tickCoord } = _ref3;
|
|
11510
|
-
var finalTickProps = _objectSpread$
|
|
11779
|
+
var finalTickProps = _objectSpread$6(_objectSpread$6({}, _objectSpread$6(_objectSpread$6(_objectSpread$6(_objectSpread$6({ verticalAnchor }, axisProps), {}, {
|
|
11511
11780
|
textAnchor,
|
|
11512
11781
|
stroke: "none",
|
|
11513
11782
|
fill: stroke
|
|
@@ -11518,7 +11787,7 @@ var Ticks = /* @__PURE__ */ (0, import_react.forwardRef)((props, ref) => {
|
|
|
11518
11787
|
tickFormatter,
|
|
11519
11788
|
padding
|
|
11520
11789
|
}, tickTextProps), {}, { angle: (_ref4 = (_tickTextProps$angle = tickTextProps === null || tickTextProps === void 0 ? void 0 : tickTextProps.angle) !== null && _tickTextProps$angle !== void 0 ? _tickTextProps$angle : axisProps.angle) !== null && _ref4 !== void 0 ? _ref4 : 0 })), customTickProps);
|
|
11521
|
-
return /* @__PURE__ */ import_react.createElement(Layer, _extends$
|
|
11790
|
+
return /* @__PURE__ */ import_react.createElement(Layer, _extends$7({
|
|
11522
11791
|
className: "recharts-cartesian-axis-tick-label",
|
|
11523
11792
|
key: "tick-label-".concat(entry.value, "-").concat(entry.coordinate, "-").concat(entry.tickCoord)
|
|
11524
11793
|
}, adaptEventsOfChild(events, entry, i)), tick && /* @__PURE__ */ import_react.createElement(TickItem, {
|
|
@@ -11537,7 +11806,7 @@ var Ticks = /* @__PURE__ */ (0, import_react.forwardRef)((props, ref) => {
|
|
|
11537
11806
|
}, tickLabels)), tickLines.length > 0 && /* @__PURE__ */ import_react.createElement("g", { className: "recharts-cartesian-axis-tick-lines recharts-".concat(axisType, "-tick-lines") }, tickLines));
|
|
11538
11807
|
});
|
|
11539
11808
|
var CartesianAxisComponent = /* @__PURE__ */ (0, import_react.forwardRef)((props, ref) => {
|
|
11540
|
-
var { axisLine, width, height, className, hide, ticks, axisType, axisId } = props, rest = _objectWithoutProperties$
|
|
11809
|
+
var { axisLine, width, height, className, hide, ticks, axisType, axisId } = props, rest = _objectWithoutProperties$8(props, _excluded$8);
|
|
11541
11810
|
var [fontSize, setFontSize] = (0, import_react.useState)("");
|
|
11542
11811
|
var [letterSpacing, setLetterSpacing] = (0, import_react.useState)("");
|
|
11543
11812
|
var tickRefs = (0, import_react.useRef)(null);
|
|
@@ -11624,19 +11893,19 @@ var CartesianAxisComponent = /* @__PURE__ */ (0, import_react.forwardRef)((props
|
|
|
11624
11893
|
*/
|
|
11625
11894
|
var CartesianAxis = /* @__PURE__ */ import_react.forwardRef((outsideProps, ref) => {
|
|
11626
11895
|
var props = resolveDefaultProps(outsideProps, defaultCartesianAxisProps);
|
|
11627
|
-
return /* @__PURE__ */ import_react.createElement(CartesianAxisComponent, _extends$
|
|
11896
|
+
return /* @__PURE__ */ import_react.createElement(CartesianAxisComponent, _extends$7({}, props, { ref }));
|
|
11628
11897
|
});
|
|
11629
11898
|
CartesianAxis.displayName = "CartesianAxis";
|
|
11630
11899
|
//#endregion
|
|
11631
11900
|
//#region ../../node_modules/.pnpm/recharts@3.8.0_@types+react@19.2.15_react-dom@19.2.6_react@19.2.6__react-is@19.2.7_react@19.2.6_redux@5.0.1/node_modules/recharts/es6/cartesian/CartesianGrid.js
|
|
11632
|
-
var _excluded$
|
|
11901
|
+
var _excluded$7 = [
|
|
11633
11902
|
"x1",
|
|
11634
11903
|
"y1",
|
|
11635
11904
|
"x2",
|
|
11636
11905
|
"y2",
|
|
11637
11906
|
"key"
|
|
11638
|
-
], _excluded2$
|
|
11639
|
-
function ownKeys$
|
|
11907
|
+
], _excluded2$4 = ["offset"], _excluded3$3 = ["xAxisId", "yAxisId"], _excluded4 = ["xAxisId", "yAxisId"];
|
|
11908
|
+
function ownKeys$5(e, r) {
|
|
11640
11909
|
var t = Object.keys(e);
|
|
11641
11910
|
if (Object.getOwnPropertySymbols) {
|
|
11642
11911
|
var o = Object.getOwnPropertySymbols(e);
|
|
@@ -11646,30 +11915,30 @@ function ownKeys$6(e, r) {
|
|
|
11646
11915
|
}
|
|
11647
11916
|
return t;
|
|
11648
11917
|
}
|
|
11649
|
-
function _objectSpread$
|
|
11918
|
+
function _objectSpread$5(e) {
|
|
11650
11919
|
for (var r = 1; r < arguments.length; r++) {
|
|
11651
11920
|
var t = null != arguments[r] ? arguments[r] : {};
|
|
11652
|
-
r % 2 ? ownKeys$
|
|
11653
|
-
_defineProperty$
|
|
11654
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$
|
|
11921
|
+
r % 2 ? ownKeys$5(Object(t), !0).forEach(function(r) {
|
|
11922
|
+
_defineProperty$5(e, r, t[r]);
|
|
11923
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$5(Object(t)).forEach(function(r) {
|
|
11655
11924
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
|
11656
11925
|
});
|
|
11657
11926
|
}
|
|
11658
11927
|
return e;
|
|
11659
11928
|
}
|
|
11660
|
-
function _defineProperty$
|
|
11661
|
-
return (r = _toPropertyKey$
|
|
11929
|
+
function _defineProperty$5(e, r, t) {
|
|
11930
|
+
return (r = _toPropertyKey$5(r)) in e ? Object.defineProperty(e, r, {
|
|
11662
11931
|
value: t,
|
|
11663
11932
|
enumerable: !0,
|
|
11664
11933
|
configurable: !0,
|
|
11665
11934
|
writable: !0
|
|
11666
11935
|
}) : e[r] = t, e;
|
|
11667
11936
|
}
|
|
11668
|
-
function _toPropertyKey$
|
|
11669
|
-
var i = _toPrimitive$
|
|
11937
|
+
function _toPropertyKey$5(t) {
|
|
11938
|
+
var i = _toPrimitive$5(t, "string");
|
|
11670
11939
|
return "symbol" == typeof i ? i : i + "";
|
|
11671
11940
|
}
|
|
11672
|
-
function _toPrimitive$
|
|
11941
|
+
function _toPrimitive$5(t, r) {
|
|
11673
11942
|
if ("object" != typeof t || !t) return t;
|
|
11674
11943
|
var e = t[Symbol.toPrimitive];
|
|
11675
11944
|
if (void 0 !== e) {
|
|
@@ -11679,25 +11948,25 @@ function _toPrimitive$6(t, r) {
|
|
|
11679
11948
|
}
|
|
11680
11949
|
return ("string" === r ? String : Number)(t);
|
|
11681
11950
|
}
|
|
11682
|
-
function _extends$
|
|
11683
|
-
return _extends$
|
|
11951
|
+
function _extends$6() {
|
|
11952
|
+
return _extends$6 = Object.assign ? Object.assign.bind() : function(n) {
|
|
11684
11953
|
for (var e = 1; e < arguments.length; e++) {
|
|
11685
11954
|
var t = arguments[e];
|
|
11686
11955
|
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
11687
11956
|
}
|
|
11688
11957
|
return n;
|
|
11689
|
-
}, _extends$
|
|
11958
|
+
}, _extends$6.apply(null, arguments);
|
|
11690
11959
|
}
|
|
11691
|
-
function _objectWithoutProperties$
|
|
11960
|
+
function _objectWithoutProperties$7(e, t) {
|
|
11692
11961
|
if (null == e) return {};
|
|
11693
|
-
var o, r, i = _objectWithoutPropertiesLoose$
|
|
11962
|
+
var o, r, i = _objectWithoutPropertiesLoose$7(e, t);
|
|
11694
11963
|
if (Object.getOwnPropertySymbols) {
|
|
11695
11964
|
var n = Object.getOwnPropertySymbols(e);
|
|
11696
11965
|
for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
11697
11966
|
}
|
|
11698
11967
|
return i;
|
|
11699
11968
|
}
|
|
11700
|
-
function _objectWithoutPropertiesLoose$
|
|
11969
|
+
function _objectWithoutPropertiesLoose$7(r, e) {
|
|
11701
11970
|
if (null == r) return {};
|
|
11702
11971
|
var t = {};
|
|
11703
11972
|
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
@@ -11733,8 +12002,8 @@ function LineItem(_ref) {
|
|
|
11733
12002
|
else {
|
|
11734
12003
|
var _svgPropertiesNoEvent;
|
|
11735
12004
|
var { x1, y1, x2, y2, key } = lineItemProps;
|
|
11736
|
-
var _ref2 = (_svgPropertiesNoEvent = svgPropertiesNoEvents(_objectWithoutProperties$
|
|
11737
|
-
lineItem = /* @__PURE__ */ import_react.createElement("line", _extends$
|
|
12005
|
+
var _ref2 = (_svgPropertiesNoEvent = svgPropertiesNoEvents(_objectWithoutProperties$7(lineItemProps, _excluded$7))) !== null && _svgPropertiesNoEvent !== void 0 ? _svgPropertiesNoEvent : {}, { offset: __ } = _ref2, restOfFilteredProps = _objectWithoutProperties$7(_ref2, _excluded2$4);
|
|
12006
|
+
lineItem = /* @__PURE__ */ import_react.createElement("line", _extends$6({}, restOfFilteredProps, {
|
|
11738
12007
|
x1,
|
|
11739
12008
|
y1,
|
|
11740
12009
|
x2,
|
|
@@ -11748,9 +12017,9 @@ function LineItem(_ref) {
|
|
|
11748
12017
|
function HorizontalGridLines(props) {
|
|
11749
12018
|
var { x, width, horizontal = true, horizontalPoints } = props;
|
|
11750
12019
|
if (!horizontal || !horizontalPoints || !horizontalPoints.length) return null;
|
|
11751
|
-
var { xAxisId, yAxisId } = props, otherLineItemProps = _objectWithoutProperties$
|
|
12020
|
+
var { xAxisId, yAxisId } = props, otherLineItemProps = _objectWithoutProperties$7(props, _excluded3$3);
|
|
11752
12021
|
var items = horizontalPoints.map((entry, i) => {
|
|
11753
|
-
var lineItemProps = _objectSpread$
|
|
12022
|
+
var lineItemProps = _objectSpread$5(_objectSpread$5({}, otherLineItemProps), {}, {
|
|
11754
12023
|
x1: x,
|
|
11755
12024
|
y1: entry,
|
|
11756
12025
|
x2: x + width,
|
|
@@ -11769,9 +12038,9 @@ function HorizontalGridLines(props) {
|
|
|
11769
12038
|
function VerticalGridLines(props) {
|
|
11770
12039
|
var { y, height, vertical = true, verticalPoints } = props;
|
|
11771
12040
|
if (!vertical || !verticalPoints || !verticalPoints.length) return null;
|
|
11772
|
-
var { xAxisId, yAxisId } = props, otherLineItemProps = _objectWithoutProperties$
|
|
12041
|
+
var { xAxisId, yAxisId } = props, otherLineItemProps = _objectWithoutProperties$7(props, _excluded4);
|
|
11773
12042
|
var items = verticalPoints.map((entry, i) => {
|
|
11774
|
-
var lineItemProps = _objectSpread$
|
|
12043
|
+
var lineItemProps = _objectSpread$5(_objectSpread$5({}, otherLineItemProps), {}, {
|
|
11775
12044
|
x1: entry,
|
|
11776
12045
|
y1: y,
|
|
11777
12046
|
x2: entry,
|
|
@@ -11837,7 +12106,7 @@ function VerticalStripes(props) {
|
|
|
11837
12106
|
}
|
|
11838
12107
|
var defaultVerticalCoordinatesGenerator = (_ref3, syncWithTicks) => {
|
|
11839
12108
|
var { xAxis, width, height, offset } = _ref3;
|
|
11840
|
-
return getCoordinatesOfGrid(getTicks(_objectSpread$
|
|
12109
|
+
return getCoordinatesOfGrid(getTicks(_objectSpread$5(_objectSpread$5(_objectSpread$5({}, defaultCartesianAxisProps), xAxis), {}, {
|
|
11841
12110
|
ticks: getTicksOfAxis(xAxis, true),
|
|
11842
12111
|
viewBox: {
|
|
11843
12112
|
x: 0,
|
|
@@ -11849,7 +12118,7 @@ var defaultVerticalCoordinatesGenerator = (_ref3, syncWithTicks) => {
|
|
|
11849
12118
|
};
|
|
11850
12119
|
var defaultHorizontalCoordinatesGenerator = (_ref4, syncWithTicks) => {
|
|
11851
12120
|
var { yAxis, width, height, offset } = _ref4;
|
|
11852
|
-
return getCoordinatesOfGrid(getTicks(_objectSpread$
|
|
12121
|
+
return getCoordinatesOfGrid(getTicks(_objectSpread$5(_objectSpread$5(_objectSpread$5({}, defaultCartesianAxisProps), yAxis), {}, {
|
|
11853
12122
|
ticks: getTicksOfAxis(yAxis, true),
|
|
11854
12123
|
viewBox: {
|
|
11855
12124
|
x: 0,
|
|
@@ -11882,7 +12151,7 @@ function CartesianGrid(props) {
|
|
|
11882
12151
|
var chartWidth = useChartWidth();
|
|
11883
12152
|
var chartHeight = useChartHeight();
|
|
11884
12153
|
var offset = useOffsetInternal();
|
|
11885
|
-
var propsIncludingDefaults = _objectSpread$
|
|
12154
|
+
var propsIncludingDefaults = _objectSpread$5(_objectSpread$5({}, resolveDefaultProps(props, defaultCartesianGridProps)), {}, {
|
|
11886
12155
|
x: isNumber(props.x) ? props.x : offset.left,
|
|
11887
12156
|
y: isNumber(props.y) ? props.y : offset.top,
|
|
11888
12157
|
width: isNumber(props.width) ? props.width : offset.width,
|
|
@@ -11899,7 +12168,7 @@ function CartesianGrid(props) {
|
|
|
11899
12168
|
if ((!horizontalPoints || !horizontalPoints.length) && typeof horizontalCoordinatesGenerator === "function") {
|
|
11900
12169
|
var isHorizontalValues = horizontalValues && horizontalValues.length;
|
|
11901
12170
|
var generatorResult = horizontalCoordinatesGenerator({
|
|
11902
|
-
yAxis: yAxis ? _objectSpread$
|
|
12171
|
+
yAxis: yAxis ? _objectSpread$5(_objectSpread$5({}, yAxis), {}, { ticks: isHorizontalValues ? horizontalValues : yAxis.ticks }) : void 0,
|
|
11903
12172
|
width: chartWidth !== null && chartWidth !== void 0 ? chartWidth : width,
|
|
11904
12173
|
height: chartHeight !== null && chartHeight !== void 0 ? chartHeight : height,
|
|
11905
12174
|
offset
|
|
@@ -11910,7 +12179,7 @@ function CartesianGrid(props) {
|
|
|
11910
12179
|
if ((!verticalPoints || !verticalPoints.length) && typeof verticalCoordinatesGenerator === "function") {
|
|
11911
12180
|
var isVerticalValues = verticalValues && verticalValues.length;
|
|
11912
12181
|
var _generatorResult = verticalCoordinatesGenerator({
|
|
11913
|
-
xAxis: xAxis ? _objectSpread$
|
|
12182
|
+
xAxis: xAxis ? _objectSpread$5(_objectSpread$5({}, xAxis), {}, { ticks: isVerticalValues ? verticalValues : xAxis.ticks }) : void 0,
|
|
11914
12183
|
width: chartWidth !== null && chartWidth !== void 0 ? chartWidth : width,
|
|
11915
12184
|
height: chartHeight !== null && chartHeight !== void 0 ? chartHeight : height,
|
|
11916
12185
|
offset
|
|
@@ -11926,12 +12195,12 @@ function CartesianGrid(props) {
|
|
|
11926
12195
|
width: propsIncludingDefaults.width,
|
|
11927
12196
|
height: propsIncludingDefaults.height,
|
|
11928
12197
|
ry: propsIncludingDefaults.ry
|
|
11929
|
-
}), /* @__PURE__ */ import_react.createElement(HorizontalStripes, _extends$
|
|
12198
|
+
}), /* @__PURE__ */ import_react.createElement(HorizontalStripes, _extends$6({}, propsIncludingDefaults, { horizontalPoints })), /* @__PURE__ */ import_react.createElement(VerticalStripes, _extends$6({}, propsIncludingDefaults, { verticalPoints })), /* @__PURE__ */ import_react.createElement(HorizontalGridLines, _extends$6({}, propsIncludingDefaults, {
|
|
11930
12199
|
offset,
|
|
11931
12200
|
horizontalPoints,
|
|
11932
12201
|
xAxis,
|
|
11933
12202
|
yAxis
|
|
11934
|
-
})), /* @__PURE__ */ import_react.createElement(VerticalGridLines, _extends$
|
|
12203
|
+
})), /* @__PURE__ */ import_react.createElement(VerticalGridLines, _extends$6({}, propsIncludingDefaults, {
|
|
11935
12204
|
offset,
|
|
11936
12205
|
verticalPoints,
|
|
11937
12206
|
xAxis,
|
|
@@ -11964,17 +12233,17 @@ var { addErrorBar, replaceErrorBar, removeErrorBar } = errorBarSlice.actions;
|
|
|
11964
12233
|
var errorBarReducer = errorBarSlice.reducer;
|
|
11965
12234
|
//#endregion
|
|
11966
12235
|
//#region ../../node_modules/.pnpm/recharts@3.8.0_@types+react@19.2.15_react-dom@19.2.6_react@19.2.6__react-is@19.2.7_react@19.2.6_redux@5.0.1/node_modules/recharts/es6/context/ErrorBarContext.js
|
|
11967
|
-
var _excluded$
|
|
11968
|
-
function _objectWithoutProperties$
|
|
12236
|
+
var _excluded$6 = ["children"];
|
|
12237
|
+
function _objectWithoutProperties$6(e, t) {
|
|
11969
12238
|
if (null == e) return {};
|
|
11970
|
-
var o, r, i = _objectWithoutPropertiesLoose$
|
|
12239
|
+
var o, r, i = _objectWithoutPropertiesLoose$6(e, t);
|
|
11971
12240
|
if (Object.getOwnPropertySymbols) {
|
|
11972
12241
|
var n = Object.getOwnPropertySymbols(e);
|
|
11973
12242
|
for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
11974
12243
|
}
|
|
11975
12244
|
return i;
|
|
11976
12245
|
}
|
|
11977
|
-
function _objectWithoutPropertiesLoose$
|
|
12246
|
+
function _objectWithoutPropertiesLoose$6(r, e) {
|
|
11978
12247
|
if (null == r) return {};
|
|
11979
12248
|
var t = {};
|
|
11980
12249
|
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
@@ -11995,7 +12264,7 @@ var ErrorBarContext = /* @__PURE__ */ (0, import_react.createContext)({
|
|
|
11995
12264
|
errorBarOffset: 0
|
|
11996
12265
|
});
|
|
11997
12266
|
function SetErrorBarContext(props) {
|
|
11998
|
-
var { children } = props, rest = _objectWithoutProperties$
|
|
12267
|
+
var { children } = props, rest = _objectWithoutProperties$6(props, _excluded$6);
|
|
11999
12268
|
return /* @__PURE__ */ import_react.createElement(ErrorBarContext.Provider, { value: rest }, children);
|
|
12000
12269
|
}
|
|
12001
12270
|
//#endregion
|
|
@@ -12027,16 +12296,16 @@ function GraphicalItemClipPath(_ref) {
|
|
|
12027
12296
|
}
|
|
12028
12297
|
//#endregion
|
|
12029
12298
|
//#region ../../node_modules/.pnpm/recharts@3.8.0_@types+react@19.2.15_react-dom@19.2.6_react@19.2.6__react-is@19.2.7_react@19.2.6_redux@5.0.1/node_modules/recharts/es6/state/selectors/lineSelectors.js
|
|
12030
|
-
var selectXAxisWithScale
|
|
12031
|
-
var selectXAxisTicks
|
|
12032
|
-
var selectYAxisWithScale
|
|
12033
|
-
var selectYAxisTicks
|
|
12034
|
-
var selectBandSize
|
|
12299
|
+
var selectXAxisWithScale = (state, xAxisId, _yAxisId, isPanorama) => selectAxisWithScale(state, "xAxis", xAxisId, isPanorama);
|
|
12300
|
+
var selectXAxisTicks = (state, xAxisId, _yAxisId, isPanorama) => selectTicksOfGraphicalItem(state, "xAxis", xAxisId, isPanorama);
|
|
12301
|
+
var selectYAxisWithScale = (state, _xAxisId, yAxisId, isPanorama) => selectAxisWithScale(state, "yAxis", yAxisId, isPanorama);
|
|
12302
|
+
var selectYAxisTicks = (state, _xAxisId, yAxisId, isPanorama) => selectTicksOfGraphicalItem(state, "yAxis", yAxisId, isPanorama);
|
|
12303
|
+
var selectBandSize = createSelector([
|
|
12035
12304
|
selectChartLayout,
|
|
12036
|
-
selectXAxisWithScale
|
|
12037
|
-
selectYAxisWithScale
|
|
12038
|
-
selectXAxisTicks
|
|
12039
|
-
selectYAxisTicks
|
|
12305
|
+
selectXAxisWithScale,
|
|
12306
|
+
selectYAxisWithScale,
|
|
12307
|
+
selectXAxisTicks,
|
|
12308
|
+
selectYAxisTicks
|
|
12040
12309
|
], (layout, xAxis, yAxis, xAxisTicks, yAxisTicks) => {
|
|
12041
12310
|
if (isCategoricalAxis(layout, "xAxis")) return getBandSizeOfAxis(xAxis, xAxisTicks, false);
|
|
12042
12311
|
return getBandSizeOfAxis(yAxis, yAxisTicks, false);
|
|
@@ -12047,12 +12316,12 @@ function isLineSettings(item) {
|
|
|
12047
12316
|
}
|
|
12048
12317
|
var selectLinePoints = createSelector([
|
|
12049
12318
|
selectChartLayout,
|
|
12050
|
-
selectXAxisWithScale
|
|
12051
|
-
selectYAxisWithScale
|
|
12052
|
-
selectXAxisTicks
|
|
12053
|
-
selectYAxisTicks
|
|
12319
|
+
selectXAxisWithScale,
|
|
12320
|
+
selectYAxisWithScale,
|
|
12321
|
+
selectXAxisTicks,
|
|
12322
|
+
selectYAxisTicks,
|
|
12054
12323
|
createSelector([selectUnfilteredCartesianItems, pickLineId], (graphicalItems, id) => graphicalItems.filter(isLineSettings).find((x) => x.id === id)),
|
|
12055
|
-
selectBandSize
|
|
12324
|
+
selectBandSize,
|
|
12056
12325
|
selectChartDataWithIndexesIfNotInPanoramaPosition4
|
|
12057
12326
|
], (layout, xAxis, yAxis, xAxisTicks, yAxisTicks, lineSettings, bandSize, _ref) => {
|
|
12058
12327
|
var { chartData, dataStartIndex, dataEndIndex } = _ref;
|
|
@@ -12097,7 +12366,7 @@ function getRadiusAndStrokeWidthFromDot(dot) {
|
|
|
12097
12366
|
}
|
|
12098
12367
|
//#endregion
|
|
12099
12368
|
//#region ../../node_modules/.pnpm/recharts@3.8.0_@types+react@19.2.15_react-dom@19.2.6_react@19.2.6__react-is@19.2.7_react@19.2.6_redux@5.0.1/node_modules/recharts/es6/cartesian/Line.js
|
|
12100
|
-
var _excluded$
|
|
12369
|
+
var _excluded$5 = ["id"], _excluded2$3 = [
|
|
12101
12370
|
"type",
|
|
12102
12371
|
"layout",
|
|
12103
12372
|
"connectNulls",
|
|
@@ -12119,16 +12388,16 @@ var _excluded$6 = ["id"], _excluded2$4 = [
|
|
|
12119
12388
|
"yAxisId",
|
|
12120
12389
|
"id"
|
|
12121
12390
|
];
|
|
12122
|
-
function _extends$
|
|
12123
|
-
return _extends$
|
|
12391
|
+
function _extends$5() {
|
|
12392
|
+
return _extends$5 = Object.assign ? Object.assign.bind() : function(n) {
|
|
12124
12393
|
for (var e = 1; e < arguments.length; e++) {
|
|
12125
12394
|
var t = arguments[e];
|
|
12126
12395
|
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
12127
12396
|
}
|
|
12128
12397
|
return n;
|
|
12129
|
-
}, _extends$
|
|
12398
|
+
}, _extends$5.apply(null, arguments);
|
|
12130
12399
|
}
|
|
12131
|
-
function ownKeys$
|
|
12400
|
+
function ownKeys$4(e, r) {
|
|
12132
12401
|
var t = Object.keys(e);
|
|
12133
12402
|
if (Object.getOwnPropertySymbols) {
|
|
12134
12403
|
var o = Object.getOwnPropertySymbols(e);
|
|
@@ -12138,30 +12407,30 @@ function ownKeys$5(e, r) {
|
|
|
12138
12407
|
}
|
|
12139
12408
|
return t;
|
|
12140
12409
|
}
|
|
12141
|
-
function _objectSpread$
|
|
12410
|
+
function _objectSpread$4(e) {
|
|
12142
12411
|
for (var r = 1; r < arguments.length; r++) {
|
|
12143
12412
|
var t = null != arguments[r] ? arguments[r] : {};
|
|
12144
|
-
r % 2 ? ownKeys$
|
|
12145
|
-
_defineProperty$
|
|
12146
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$
|
|
12413
|
+
r % 2 ? ownKeys$4(Object(t), !0).forEach(function(r) {
|
|
12414
|
+
_defineProperty$4(e, r, t[r]);
|
|
12415
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$4(Object(t)).forEach(function(r) {
|
|
12147
12416
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
|
12148
12417
|
});
|
|
12149
12418
|
}
|
|
12150
12419
|
return e;
|
|
12151
12420
|
}
|
|
12152
|
-
function _defineProperty$
|
|
12153
|
-
return (r = _toPropertyKey$
|
|
12421
|
+
function _defineProperty$4(e, r, t) {
|
|
12422
|
+
return (r = _toPropertyKey$4(r)) in e ? Object.defineProperty(e, r, {
|
|
12154
12423
|
value: t,
|
|
12155
12424
|
enumerable: !0,
|
|
12156
12425
|
configurable: !0,
|
|
12157
12426
|
writable: !0
|
|
12158
12427
|
}) : e[r] = t, e;
|
|
12159
12428
|
}
|
|
12160
|
-
function _toPropertyKey$
|
|
12161
|
-
var i = _toPrimitive$
|
|
12429
|
+
function _toPropertyKey$4(t) {
|
|
12430
|
+
var i = _toPrimitive$4(t, "string");
|
|
12162
12431
|
return "symbol" == typeof i ? i : i + "";
|
|
12163
12432
|
}
|
|
12164
|
-
function _toPrimitive$
|
|
12433
|
+
function _toPrimitive$4(t, r) {
|
|
12165
12434
|
if ("object" != typeof t || !t) return t;
|
|
12166
12435
|
var e = t[Symbol.toPrimitive];
|
|
12167
12436
|
if (void 0 !== e) {
|
|
@@ -12171,16 +12440,16 @@ function _toPrimitive$5(t, r) {
|
|
|
12171
12440
|
}
|
|
12172
12441
|
return ("string" === r ? String : Number)(t);
|
|
12173
12442
|
}
|
|
12174
|
-
function _objectWithoutProperties$
|
|
12443
|
+
function _objectWithoutProperties$5(e, t) {
|
|
12175
12444
|
if (null == e) return {};
|
|
12176
|
-
var o, r, i = _objectWithoutPropertiesLoose$
|
|
12445
|
+
var o, r, i = _objectWithoutPropertiesLoose$5(e, t);
|
|
12177
12446
|
if (Object.getOwnPropertySymbols) {
|
|
12178
12447
|
var n = Object.getOwnPropertySymbols(e);
|
|
12179
12448
|
for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
12180
12449
|
}
|
|
12181
12450
|
return i;
|
|
12182
12451
|
}
|
|
12183
|
-
function _objectWithoutPropertiesLoose$
|
|
12452
|
+
function _objectWithoutPropertiesLoose$5(r, e) {
|
|
12184
12453
|
if (null == r) return {};
|
|
12185
12454
|
var t = {};
|
|
12186
12455
|
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
@@ -12198,7 +12467,7 @@ function _objectWithoutPropertiesLoose$6(r, e) {
|
|
|
12198
12467
|
/**
|
|
12199
12468
|
* Because of naming conflict, we are forced to ignore certain (valid) SVG attributes.
|
|
12200
12469
|
*/
|
|
12201
|
-
var computeLegendPayloadFromAreaData
|
|
12470
|
+
var computeLegendPayloadFromAreaData = (props) => {
|
|
12202
12471
|
var { dataKey, name, stroke, legendType, hide } = props;
|
|
12203
12472
|
return [{
|
|
12204
12473
|
inactive: hide,
|
|
@@ -12303,7 +12572,7 @@ function LineDotsWrapper(_ref2) {
|
|
|
12303
12572
|
var { clipPathId, points, props } = _ref2;
|
|
12304
12573
|
var { dot, dataKey, needClip } = props;
|
|
12305
12574
|
var { id } = props;
|
|
12306
|
-
var lineProps = svgPropertiesNoEvents(_objectWithoutProperties$
|
|
12575
|
+
var lineProps = svgPropertiesNoEvents(_objectWithoutProperties$5(props, _excluded$5));
|
|
12307
12576
|
return /* @__PURE__ */ import_react.createElement(Dots, {
|
|
12308
12577
|
points,
|
|
12309
12578
|
dot,
|
|
@@ -12328,7 +12597,7 @@ function LineLabelListProvider(_ref3) {
|
|
|
12328
12597
|
upperWidth: 0,
|
|
12329
12598
|
height: 0
|
|
12330
12599
|
};
|
|
12331
|
-
return _objectSpread$
|
|
12600
|
+
return _objectSpread$4(_objectSpread$4({}, viewBox), {}, {
|
|
12332
12601
|
value: point.value,
|
|
12333
12602
|
payload: point.payload,
|
|
12334
12603
|
viewBox,
|
|
@@ -12342,7 +12611,7 @@ function LineLabelListProvider(_ref3) {
|
|
|
12342
12611
|
function StaticCurve(_ref4) {
|
|
12343
12612
|
var { clipPathId, pathRef, points, strokeDasharray, props } = _ref4;
|
|
12344
12613
|
var { type, layout, connectNulls, needClip, shape } = props;
|
|
12345
|
-
var curveProps = _objectSpread$
|
|
12614
|
+
var curveProps = _objectSpread$4(_objectSpread$4({}, svgPropertiesAndEvents(_objectWithoutProperties$5(props, _excluded2$3))), {}, {
|
|
12346
12615
|
fill: "none",
|
|
12347
12616
|
className: "recharts-line-curve",
|
|
12348
12617
|
clipPath: needClip ? "url(#clipPath-".concat(clipPathId, ")") : void 0,
|
|
@@ -12352,7 +12621,7 @@ function StaticCurve(_ref4) {
|
|
|
12352
12621
|
connectNulls,
|
|
12353
12622
|
strokeDasharray: strokeDasharray !== null && strokeDasharray !== void 0 ? strokeDasharray : props.strokeDasharray
|
|
12354
12623
|
});
|
|
12355
|
-
return /* @__PURE__ */ import_react.createElement(import_react.Fragment, null, (points === null || points === void 0 ? void 0 : points.length) > 1 && /* @__PURE__ */ import_react.createElement(Shape, _extends$
|
|
12624
|
+
return /* @__PURE__ */ import_react.createElement(import_react.Fragment, null, (points === null || points === void 0 ? void 0 : points.length) > 1 && /* @__PURE__ */ import_react.createElement(Shape, _extends$5({
|
|
12356
12625
|
shapeType: "curve",
|
|
12357
12626
|
option: shape
|
|
12358
12627
|
}, curveProps, { pathRef })), /* @__PURE__ */ import_react.createElement(LineDotsWrapper, {
|
|
@@ -12420,16 +12689,16 @@ function CurveWithAnimation(_ref5) {
|
|
|
12420
12689
|
var prevPointIndex = Math.floor(index * prevPointsDiffFactor);
|
|
12421
12690
|
if (prevPoints[prevPointIndex]) {
|
|
12422
12691
|
var prev = prevPoints[prevPointIndex];
|
|
12423
|
-
return _objectSpread$
|
|
12692
|
+
return _objectSpread$4(_objectSpread$4({}, entry), {}, {
|
|
12424
12693
|
x: interpolate(prev.x, entry.x, t),
|
|
12425
12694
|
y: interpolate(prev.y, entry.y, t)
|
|
12426
12695
|
});
|
|
12427
12696
|
}
|
|
12428
|
-
if (animateNewValues) return _objectSpread$
|
|
12697
|
+
if (animateNewValues) return _objectSpread$4(_objectSpread$4({}, entry), {}, {
|
|
12429
12698
|
x: interpolate(width * 2, entry.x, t),
|
|
12430
12699
|
y: interpolate(height / 2, entry.y, t)
|
|
12431
12700
|
});
|
|
12432
|
-
return _objectSpread$
|
|
12701
|
+
return _objectSpread$4(_objectSpread$4({}, entry), {}, {
|
|
12433
12702
|
x: entry.x,
|
|
12434
12703
|
y: entry.y
|
|
12435
12704
|
});
|
|
@@ -12532,7 +12801,7 @@ var defaultLineProps = {
|
|
|
12532
12801
|
type: "linear"
|
|
12533
12802
|
};
|
|
12534
12803
|
function LineImpl(props) {
|
|
12535
|
-
var _resolveDefaultProps = resolveDefaultProps(props, defaultLineProps), { activeDot, animateNewValues, animationBegin, animationDuration, animationEasing, connectNulls, dot, hide, isAnimationActive, label, legendType, xAxisId, yAxisId, id } = _resolveDefaultProps, everythingElse = _objectWithoutProperties$
|
|
12804
|
+
var _resolveDefaultProps = resolveDefaultProps(props, defaultLineProps), { activeDot, animateNewValues, animationBegin, animationDuration, animationEasing, connectNulls, dot, hide, isAnimationActive, label, legendType, xAxisId, yAxisId, id } = _resolveDefaultProps, everythingElse = _objectWithoutProperties$5(_resolveDefaultProps, _excluded3$2);
|
|
12536
12805
|
var { needClip } = useNeedsClip(xAxisId, yAxisId);
|
|
12537
12806
|
var plotArea = usePlotArea();
|
|
12538
12807
|
var layout = useChartLayout();
|
|
@@ -12540,7 +12809,7 @@ function LineImpl(props) {
|
|
|
12540
12809
|
var points = useAppSelector((state) => selectLinePoints(state, xAxisId, yAxisId, isPanorama, id));
|
|
12541
12810
|
if (layout !== "horizontal" && layout !== "vertical" || points == null || plotArea == null) return null;
|
|
12542
12811
|
var { height, width, x: left, y: top } = plotArea;
|
|
12543
|
-
return /* @__PURE__ */ import_react.createElement(LineWithState, _extends$
|
|
12812
|
+
return /* @__PURE__ */ import_react.createElement(LineWithState, _extends$5({}, everythingElse, {
|
|
12544
12813
|
id,
|
|
12545
12814
|
connectNulls,
|
|
12546
12815
|
dot,
|
|
@@ -12607,7 +12876,7 @@ function LineFn(outsideProps) {
|
|
|
12607
12876
|
return /* @__PURE__ */ import_react.createElement(RegisterGraphicalItemId, {
|
|
12608
12877
|
id: props.id,
|
|
12609
12878
|
type: "line"
|
|
12610
|
-
}, (id) => /* @__PURE__ */ import_react.createElement(import_react.Fragment, null, /* @__PURE__ */ import_react.createElement(SetLegendPayload, { legendPayload: computeLegendPayloadFromAreaData
|
|
12879
|
+
}, (id) => /* @__PURE__ */ import_react.createElement(import_react.Fragment, null, /* @__PURE__ */ import_react.createElement(SetLegendPayload, { legendPayload: computeLegendPayloadFromAreaData(props) }), /* @__PURE__ */ import_react.createElement(SetLineTooltipEntrySettings, {
|
|
12611
12880
|
dataKey: props.dataKey,
|
|
12612
12881
|
data: props.data,
|
|
12613
12882
|
stroke: props.stroke,
|
|
@@ -12628,7 +12897,7 @@ function LineFn(outsideProps) {
|
|
|
12628
12897
|
dataKey: props.dataKey,
|
|
12629
12898
|
hide: props.hide,
|
|
12630
12899
|
isPanorama
|
|
12631
|
-
}), /* @__PURE__ */ import_react.createElement(LineImpl, _extends$
|
|
12900
|
+
}), /* @__PURE__ */ import_react.createElement(LineImpl, _extends$5({}, props, { id }))));
|
|
12632
12901
|
}
|
|
12633
12902
|
/**
|
|
12634
12903
|
* @provides LabelListContext
|
|
@@ -12638,675 +12907,6 @@ function LineFn(outsideProps) {
|
|
|
12638
12907
|
var Line = /* @__PURE__ */ import_react.memo(LineFn, propsAreEqual);
|
|
12639
12908
|
Line.displayName = "Line";
|
|
12640
12909
|
//#endregion
|
|
12641
|
-
//#region ../../node_modules/.pnpm/recharts@3.8.0_@types+react@19.2.15_react-dom@19.2.6_react@19.2.6__react-is@19.2.7_react@19.2.6_redux@5.0.1/node_modules/recharts/es6/state/selectors/graphicalItemSelectors.js
|
|
12642
|
-
function selectXAxisIdFromGraphicalItemId(state, id) {
|
|
12643
|
-
var _state$graphicalItems, _state$graphicalItems2;
|
|
12644
|
-
return (_state$graphicalItems = (_state$graphicalItems2 = state.graphicalItems.cartesianItems.find((item) => item.id === id)) === null || _state$graphicalItems2 === void 0 ? void 0 : _state$graphicalItems2.xAxisId) !== null && _state$graphicalItems !== void 0 ? _state$graphicalItems : 0;
|
|
12645
|
-
}
|
|
12646
|
-
function selectYAxisIdFromGraphicalItemId(state, id) {
|
|
12647
|
-
var _state$graphicalItems3, _state$graphicalItems4;
|
|
12648
|
-
return (_state$graphicalItems3 = (_state$graphicalItems4 = state.graphicalItems.cartesianItems.find((item) => item.id === id)) === null || _state$graphicalItems4 === void 0 ? void 0 : _state$graphicalItems4.yAxisId) !== null && _state$graphicalItems3 !== void 0 ? _state$graphicalItems3 : 0;
|
|
12649
|
-
}
|
|
12650
|
-
//#endregion
|
|
12651
|
-
//#region ../../node_modules/.pnpm/recharts@3.8.0_@types+react@19.2.15_react-dom@19.2.6_react@19.2.6__react-is@19.2.7_react@19.2.6_redux@5.0.1/node_modules/recharts/es6/state/selectors/areaSelectors.js
|
|
12652
|
-
var selectXAxisWithScale = (state, graphicalItemId, isPanorama) => selectAxisWithScale(state, "xAxis", selectXAxisIdFromGraphicalItemId(state, graphicalItemId), isPanorama);
|
|
12653
|
-
var selectXAxisTicks = (state, graphicalItemId, isPanorama) => selectTicksOfGraphicalItem(state, "xAxis", selectXAxisIdFromGraphicalItemId(state, graphicalItemId), isPanorama);
|
|
12654
|
-
var selectYAxisWithScale = (state, graphicalItemId, isPanorama) => selectAxisWithScale(state, "yAxis", selectYAxisIdFromGraphicalItemId(state, graphicalItemId), isPanorama);
|
|
12655
|
-
var selectYAxisTicks = (state, graphicalItemId, isPanorama) => selectTicksOfGraphicalItem(state, "yAxis", selectYAxisIdFromGraphicalItemId(state, graphicalItemId), isPanorama);
|
|
12656
|
-
var selectBandSize = createSelector([
|
|
12657
|
-
selectChartLayout,
|
|
12658
|
-
selectXAxisWithScale,
|
|
12659
|
-
selectYAxisWithScale,
|
|
12660
|
-
selectXAxisTicks,
|
|
12661
|
-
selectYAxisTicks
|
|
12662
|
-
], (layout, xAxis, yAxis, xAxisTicks, yAxisTicks) => {
|
|
12663
|
-
if (isCategoricalAxis(layout, "xAxis")) return getBandSizeOfAxis(xAxis, xAxisTicks, false);
|
|
12664
|
-
return getBandSizeOfAxis(yAxis, yAxisTicks, false);
|
|
12665
|
-
});
|
|
12666
|
-
var pickAreaId = (_state, id) => id;
|
|
12667
|
-
var selectSynchronisedAreaSettings = createSelector([selectUnfilteredCartesianItems, pickAreaId], (graphicalItems, id) => graphicalItems.filter((item) => item.type === "area").find((item) => item.id === id));
|
|
12668
|
-
var selectNumericalAxisType = (state) => {
|
|
12669
|
-
return isCategoricalAxis(selectChartLayout(state), "xAxis") ? "yAxis" : "xAxis";
|
|
12670
|
-
};
|
|
12671
|
-
var selectNumericalAxisIdFromGraphicalItemId = (state, graphicalItemId) => {
|
|
12672
|
-
if (selectNumericalAxisType(state) === "yAxis") return selectYAxisIdFromGraphicalItemId(state, graphicalItemId);
|
|
12673
|
-
return selectXAxisIdFromGraphicalItemId(state, graphicalItemId);
|
|
12674
|
-
};
|
|
12675
|
-
var selectNumericalAxisStackGroups = (state, graphicalItemId, isPanorama) => selectStackGroups(state, selectNumericalAxisType(state), selectNumericalAxisIdFromGraphicalItemId(state, graphicalItemId), isPanorama);
|
|
12676
|
-
var selectArea = createSelector([
|
|
12677
|
-
selectChartLayout,
|
|
12678
|
-
selectXAxisWithScale,
|
|
12679
|
-
selectYAxisWithScale,
|
|
12680
|
-
selectXAxisTicks,
|
|
12681
|
-
selectYAxisTicks,
|
|
12682
|
-
createSelector([selectSynchronisedAreaSettings, selectNumericalAxisStackGroups], (areaSettings, stackGroups) => {
|
|
12683
|
-
var _stackGroups$stackId;
|
|
12684
|
-
if (areaSettings == null || stackGroups == null) return;
|
|
12685
|
-
var { stackId } = areaSettings;
|
|
12686
|
-
var stackSeriesIdentifier = getStackSeriesIdentifier(areaSettings);
|
|
12687
|
-
if (stackId == null || stackSeriesIdentifier == null) return;
|
|
12688
|
-
var groups = (_stackGroups$stackId = stackGroups[stackId]) === null || _stackGroups$stackId === void 0 ? void 0 : _stackGroups$stackId.stackedData;
|
|
12689
|
-
var found = groups === null || groups === void 0 ? void 0 : groups.find((v) => v.key === stackSeriesIdentifier);
|
|
12690
|
-
if (found == null) return;
|
|
12691
|
-
return found.map((item) => [item[0], item[1]]);
|
|
12692
|
-
}),
|
|
12693
|
-
selectChartDataWithIndexesIfNotInPanoramaPosition3,
|
|
12694
|
-
selectBandSize,
|
|
12695
|
-
selectSynchronisedAreaSettings,
|
|
12696
|
-
selectChartBaseValue
|
|
12697
|
-
], (layout, xAxis, yAxis, xAxisTicks, yAxisTicks, stackedData, _ref, bandSize, areaSettings, chartBaseValue) => {
|
|
12698
|
-
var { chartData, dataStartIndex, dataEndIndex } = _ref;
|
|
12699
|
-
if (areaSettings == null || layout !== "horizontal" && layout !== "vertical" || xAxis == null || yAxis == null || xAxisTicks == null || yAxisTicks == null || xAxisTicks.length === 0 || yAxisTicks.length === 0 || bandSize == null) return;
|
|
12700
|
-
var { data } = areaSettings;
|
|
12701
|
-
var displayedData;
|
|
12702
|
-
if (data && data.length > 0) displayedData = data;
|
|
12703
|
-
else displayedData = chartData === null || chartData === void 0 ? void 0 : chartData.slice(dataStartIndex, dataEndIndex + 1);
|
|
12704
|
-
if (displayedData == null) return;
|
|
12705
|
-
return computeArea({
|
|
12706
|
-
layout,
|
|
12707
|
-
xAxis,
|
|
12708
|
-
yAxis,
|
|
12709
|
-
xAxisTicks,
|
|
12710
|
-
yAxisTicks,
|
|
12711
|
-
dataStartIndex,
|
|
12712
|
-
areaSettings,
|
|
12713
|
-
stackedData,
|
|
12714
|
-
displayedData,
|
|
12715
|
-
chartBaseValue,
|
|
12716
|
-
bandSize
|
|
12717
|
-
});
|
|
12718
|
-
});
|
|
12719
|
-
//#endregion
|
|
12720
|
-
//#region ../../node_modules/.pnpm/recharts@3.8.0_@types+react@19.2.15_react-dom@19.2.6_react@19.2.6__react-is@19.2.7_react@19.2.6_redux@5.0.1/node_modules/recharts/es6/cartesian/Area.js
|
|
12721
|
-
var _excluded$5 = ["id"], _excluded2$3 = [
|
|
12722
|
-
"activeDot",
|
|
12723
|
-
"animationBegin",
|
|
12724
|
-
"animationDuration",
|
|
12725
|
-
"animationEasing",
|
|
12726
|
-
"connectNulls",
|
|
12727
|
-
"dot",
|
|
12728
|
-
"fill",
|
|
12729
|
-
"fillOpacity",
|
|
12730
|
-
"hide",
|
|
12731
|
-
"isAnimationActive",
|
|
12732
|
-
"legendType",
|
|
12733
|
-
"stroke",
|
|
12734
|
-
"xAxisId",
|
|
12735
|
-
"yAxisId"
|
|
12736
|
-
];
|
|
12737
|
-
function _extends$5() {
|
|
12738
|
-
return _extends$5 = Object.assign ? Object.assign.bind() : function(n) {
|
|
12739
|
-
for (var e = 1; e < arguments.length; e++) {
|
|
12740
|
-
var t = arguments[e];
|
|
12741
|
-
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
12742
|
-
}
|
|
12743
|
-
return n;
|
|
12744
|
-
}, _extends$5.apply(null, arguments);
|
|
12745
|
-
}
|
|
12746
|
-
function _objectWithoutProperties$5(e, t) {
|
|
12747
|
-
if (null == e) return {};
|
|
12748
|
-
var o, r, i = _objectWithoutPropertiesLoose$5(e, t);
|
|
12749
|
-
if (Object.getOwnPropertySymbols) {
|
|
12750
|
-
var n = Object.getOwnPropertySymbols(e);
|
|
12751
|
-
for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
12752
|
-
}
|
|
12753
|
-
return i;
|
|
12754
|
-
}
|
|
12755
|
-
function _objectWithoutPropertiesLoose$5(r, e) {
|
|
12756
|
-
if (null == r) return {};
|
|
12757
|
-
var t = {};
|
|
12758
|
-
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
12759
|
-
if (-1 !== e.indexOf(n)) continue;
|
|
12760
|
-
t[n] = r[n];
|
|
12761
|
-
}
|
|
12762
|
-
return t;
|
|
12763
|
-
}
|
|
12764
|
-
function ownKeys$4(e, r) {
|
|
12765
|
-
var t = Object.keys(e);
|
|
12766
|
-
if (Object.getOwnPropertySymbols) {
|
|
12767
|
-
var o = Object.getOwnPropertySymbols(e);
|
|
12768
|
-
r && (o = o.filter(function(r) {
|
|
12769
|
-
return Object.getOwnPropertyDescriptor(e, r).enumerable;
|
|
12770
|
-
})), t.push.apply(t, o);
|
|
12771
|
-
}
|
|
12772
|
-
return t;
|
|
12773
|
-
}
|
|
12774
|
-
function _objectSpread$4(e) {
|
|
12775
|
-
for (var r = 1; r < arguments.length; r++) {
|
|
12776
|
-
var t = null != arguments[r] ? arguments[r] : {};
|
|
12777
|
-
r % 2 ? ownKeys$4(Object(t), !0).forEach(function(r) {
|
|
12778
|
-
_defineProperty$4(e, r, t[r]);
|
|
12779
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$4(Object(t)).forEach(function(r) {
|
|
12780
|
-
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
|
12781
|
-
});
|
|
12782
|
-
}
|
|
12783
|
-
return e;
|
|
12784
|
-
}
|
|
12785
|
-
function _defineProperty$4(e, r, t) {
|
|
12786
|
-
return (r = _toPropertyKey$4(r)) in e ? Object.defineProperty(e, r, {
|
|
12787
|
-
value: t,
|
|
12788
|
-
enumerable: !0,
|
|
12789
|
-
configurable: !0,
|
|
12790
|
-
writable: !0
|
|
12791
|
-
}) : e[r] = t, e;
|
|
12792
|
-
}
|
|
12793
|
-
function _toPropertyKey$4(t) {
|
|
12794
|
-
var i = _toPrimitive$4(t, "string");
|
|
12795
|
-
return "symbol" == typeof i ? i : i + "";
|
|
12796
|
-
}
|
|
12797
|
-
function _toPrimitive$4(t, r) {
|
|
12798
|
-
if ("object" != typeof t || !t) return t;
|
|
12799
|
-
var e = t[Symbol.toPrimitive];
|
|
12800
|
-
if (void 0 !== e) {
|
|
12801
|
-
var i = e.call(t, r || "default");
|
|
12802
|
-
if ("object" != typeof i) return i;
|
|
12803
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
12804
|
-
}
|
|
12805
|
-
return ("string" === r ? String : Number)(t);
|
|
12806
|
-
}
|
|
12807
|
-
/**
|
|
12808
|
-
* @inline
|
|
12809
|
-
*/
|
|
12810
|
-
/**
|
|
12811
|
-
* Our base value array has payload in it, and we expose it externally too.
|
|
12812
|
-
*/
|
|
12813
|
-
/**
|
|
12814
|
-
* Internal props, combination of external props + defaultProps + private Recharts state
|
|
12815
|
-
*/
|
|
12816
|
-
/**
|
|
12817
|
-
* External props, intended for end users to fill in
|
|
12818
|
-
*/
|
|
12819
|
-
/**
|
|
12820
|
-
* Because of naming conflict, we are forced to ignore certain (valid) SVG attributes.
|
|
12821
|
-
*/
|
|
12822
|
-
function getLegendItemColor(stroke, fill) {
|
|
12823
|
-
return stroke && stroke !== "none" ? stroke : fill;
|
|
12824
|
-
}
|
|
12825
|
-
var computeLegendPayloadFromAreaData = (props) => {
|
|
12826
|
-
var { dataKey, name, stroke, fill, legendType, hide } = props;
|
|
12827
|
-
return [{
|
|
12828
|
-
inactive: hide,
|
|
12829
|
-
dataKey,
|
|
12830
|
-
type: legendType,
|
|
12831
|
-
color: getLegendItemColor(stroke, fill),
|
|
12832
|
-
value: getTooltipNameProp(name, dataKey),
|
|
12833
|
-
payload: props
|
|
12834
|
-
}];
|
|
12835
|
-
};
|
|
12836
|
-
var SetAreaTooltipEntrySettings = /* @__PURE__ */ import_react.memo((_ref) => {
|
|
12837
|
-
var { dataKey, data, stroke, strokeWidth, fill, name, hide, unit, tooltipType, id } = _ref;
|
|
12838
|
-
var tooltipEntrySettings = {
|
|
12839
|
-
dataDefinedOnItem: data,
|
|
12840
|
-
getPosition: noop$1,
|
|
12841
|
-
settings: {
|
|
12842
|
-
stroke,
|
|
12843
|
-
strokeWidth,
|
|
12844
|
-
fill,
|
|
12845
|
-
dataKey,
|
|
12846
|
-
nameKey: void 0,
|
|
12847
|
-
name: getTooltipNameProp(name, dataKey),
|
|
12848
|
-
hide,
|
|
12849
|
-
type: tooltipType,
|
|
12850
|
-
color: getLegendItemColor(stroke, fill),
|
|
12851
|
-
unit,
|
|
12852
|
-
graphicalItemId: id
|
|
12853
|
-
}
|
|
12854
|
-
};
|
|
12855
|
-
return /* @__PURE__ */ import_react.createElement(SetTooltipEntrySettings, { tooltipEntrySettings });
|
|
12856
|
-
});
|
|
12857
|
-
function AreaDotsWrapper(_ref2) {
|
|
12858
|
-
var { clipPathId, points, props } = _ref2;
|
|
12859
|
-
var { needClip, dot, dataKey } = props;
|
|
12860
|
-
var areaProps = svgPropertiesNoEvents(props);
|
|
12861
|
-
return /* @__PURE__ */ import_react.createElement(Dots, {
|
|
12862
|
-
points,
|
|
12863
|
-
dot,
|
|
12864
|
-
className: "recharts-area-dots",
|
|
12865
|
-
dotClassName: "recharts-area-dot",
|
|
12866
|
-
dataKey,
|
|
12867
|
-
baseProps: areaProps,
|
|
12868
|
-
needClip,
|
|
12869
|
-
clipPathId
|
|
12870
|
-
});
|
|
12871
|
-
}
|
|
12872
|
-
function AreaLabelListProvider(_ref3) {
|
|
12873
|
-
var { showLabels, children, points } = _ref3;
|
|
12874
|
-
var labelListEntries = points.map((point) => {
|
|
12875
|
-
var _point$x, _point$y;
|
|
12876
|
-
var viewBox = {
|
|
12877
|
-
x: (_point$x = point.x) !== null && _point$x !== void 0 ? _point$x : 0,
|
|
12878
|
-
y: (_point$y = point.y) !== null && _point$y !== void 0 ? _point$y : 0,
|
|
12879
|
-
width: 0,
|
|
12880
|
-
lowerWidth: 0,
|
|
12881
|
-
upperWidth: 0,
|
|
12882
|
-
height: 0
|
|
12883
|
-
};
|
|
12884
|
-
return _objectSpread$4(_objectSpread$4({}, viewBox), {}, {
|
|
12885
|
-
value: point.value,
|
|
12886
|
-
payload: point.payload,
|
|
12887
|
-
parentViewBox: void 0,
|
|
12888
|
-
viewBox,
|
|
12889
|
-
fill: void 0
|
|
12890
|
-
});
|
|
12891
|
-
});
|
|
12892
|
-
return /* @__PURE__ */ import_react.createElement(CartesianLabelListContextProvider, { value: showLabels ? labelListEntries : void 0 }, children);
|
|
12893
|
-
}
|
|
12894
|
-
function StaticArea(_ref4) {
|
|
12895
|
-
var { points, baseLine, needClip, clipPathId, props } = _ref4;
|
|
12896
|
-
var { layout, type, stroke, connectNulls, isRange } = props;
|
|
12897
|
-
var { id } = props, propsWithoutId = _objectWithoutProperties$5(props, _excluded$5);
|
|
12898
|
-
var allOtherProps = svgPropertiesNoEvents(propsWithoutId);
|
|
12899
|
-
var propsWithEvents = svgPropertiesAndEvents(propsWithoutId);
|
|
12900
|
-
return /* @__PURE__ */ import_react.createElement(import_react.Fragment, null, (points === null || points === void 0 ? void 0 : points.length) > 1 && /* @__PURE__ */ import_react.createElement(Layer, { clipPath: needClip ? "url(#clipPath-".concat(clipPathId, ")") : void 0 }, /* @__PURE__ */ import_react.createElement(Curve, _extends$5({}, propsWithEvents, {
|
|
12901
|
-
id,
|
|
12902
|
-
points,
|
|
12903
|
-
connectNulls,
|
|
12904
|
-
type,
|
|
12905
|
-
baseLine,
|
|
12906
|
-
layout,
|
|
12907
|
-
stroke: "none",
|
|
12908
|
-
className: "recharts-area-area"
|
|
12909
|
-
})), stroke !== "none" && /* @__PURE__ */ import_react.createElement(Curve, _extends$5({}, allOtherProps, {
|
|
12910
|
-
className: "recharts-area-curve",
|
|
12911
|
-
layout,
|
|
12912
|
-
type,
|
|
12913
|
-
connectNulls,
|
|
12914
|
-
fill: "none",
|
|
12915
|
-
points
|
|
12916
|
-
})), stroke !== "none" && isRange && Array.isArray(baseLine) && /* @__PURE__ */ import_react.createElement(Curve, _extends$5({}, allOtherProps, {
|
|
12917
|
-
className: "recharts-area-curve",
|
|
12918
|
-
layout,
|
|
12919
|
-
type,
|
|
12920
|
-
connectNulls,
|
|
12921
|
-
fill: "none",
|
|
12922
|
-
points: baseLine
|
|
12923
|
-
}))), /* @__PURE__ */ import_react.createElement(AreaDotsWrapper, {
|
|
12924
|
-
points,
|
|
12925
|
-
props: propsWithoutId,
|
|
12926
|
-
clipPathId
|
|
12927
|
-
}));
|
|
12928
|
-
}
|
|
12929
|
-
function VerticalRect(_ref5) {
|
|
12930
|
-
var _points$, _points;
|
|
12931
|
-
var { alpha, baseLine, points, strokeWidth } = _ref5;
|
|
12932
|
-
var startY = (_points$ = points[0]) === null || _points$ === void 0 ? void 0 : _points$.y;
|
|
12933
|
-
var endY = (_points = points[points.length - 1]) === null || _points === void 0 ? void 0 : _points.y;
|
|
12934
|
-
if (!isWellBehavedNumber(startY) || !isWellBehavedNumber(endY)) return null;
|
|
12935
|
-
var height = alpha * Math.abs(startY - endY);
|
|
12936
|
-
var maxX = Math.max(...points.map((entry) => entry.x || 0));
|
|
12937
|
-
if (isNumber(baseLine)) maxX = Math.max(baseLine, maxX);
|
|
12938
|
-
else if (baseLine && Array.isArray(baseLine) && baseLine.length) maxX = Math.max(...baseLine.map((entry) => entry.x || 0), maxX);
|
|
12939
|
-
if (isNumber(maxX)) return /* @__PURE__ */ import_react.createElement("rect", {
|
|
12940
|
-
x: 0,
|
|
12941
|
-
y: startY < endY ? startY : startY - height,
|
|
12942
|
-
width: maxX + (strokeWidth ? parseInt("".concat(strokeWidth), 10) : 1),
|
|
12943
|
-
height: Math.floor(height)
|
|
12944
|
-
});
|
|
12945
|
-
return null;
|
|
12946
|
-
}
|
|
12947
|
-
function HorizontalRect(_ref6) {
|
|
12948
|
-
var _points$2, _points2;
|
|
12949
|
-
var { alpha, baseLine, points, strokeWidth } = _ref6;
|
|
12950
|
-
var startX = (_points$2 = points[0]) === null || _points$2 === void 0 ? void 0 : _points$2.x;
|
|
12951
|
-
var endX = (_points2 = points[points.length - 1]) === null || _points2 === void 0 ? void 0 : _points2.x;
|
|
12952
|
-
if (!isWellBehavedNumber(startX) || !isWellBehavedNumber(endX)) return null;
|
|
12953
|
-
var width = alpha * Math.abs(startX - endX);
|
|
12954
|
-
var maxY = Math.max(...points.map((entry) => entry.y || 0));
|
|
12955
|
-
if (isNumber(baseLine)) maxY = Math.max(baseLine, maxY);
|
|
12956
|
-
else if (baseLine && Array.isArray(baseLine) && baseLine.length) maxY = Math.max(...baseLine.map((entry) => entry.y || 0), maxY);
|
|
12957
|
-
if (isNumber(maxY)) return /* @__PURE__ */ import_react.createElement("rect", {
|
|
12958
|
-
x: startX < endX ? startX : startX - width,
|
|
12959
|
-
y: 0,
|
|
12960
|
-
width,
|
|
12961
|
-
height: Math.floor(maxY + (strokeWidth ? parseInt("".concat(strokeWidth), 10) : 1))
|
|
12962
|
-
});
|
|
12963
|
-
return null;
|
|
12964
|
-
}
|
|
12965
|
-
function ClipRect(_ref7) {
|
|
12966
|
-
var { alpha, layout, points, baseLine, strokeWidth } = _ref7;
|
|
12967
|
-
if (layout === "vertical") return /* @__PURE__ */ import_react.createElement(VerticalRect, {
|
|
12968
|
-
alpha,
|
|
12969
|
-
points,
|
|
12970
|
-
baseLine,
|
|
12971
|
-
strokeWidth
|
|
12972
|
-
});
|
|
12973
|
-
return /* @__PURE__ */ import_react.createElement(HorizontalRect, {
|
|
12974
|
-
alpha,
|
|
12975
|
-
points,
|
|
12976
|
-
baseLine,
|
|
12977
|
-
strokeWidth
|
|
12978
|
-
});
|
|
12979
|
-
}
|
|
12980
|
-
function AreaWithAnimation(_ref8) {
|
|
12981
|
-
var { needClip, clipPathId, props, previousPointsRef, previousBaselineRef } = _ref8;
|
|
12982
|
-
var { points, baseLine, isAnimationActive, animationBegin, animationDuration, animationEasing, onAnimationStart, onAnimationEnd } = props;
|
|
12983
|
-
var animationId = useAnimationId((0, import_react.useMemo)(() => ({
|
|
12984
|
-
points,
|
|
12985
|
-
baseLine
|
|
12986
|
-
}), [points, baseLine]), "recharts-area-");
|
|
12987
|
-
var layout = useCartesianChartLayout();
|
|
12988
|
-
var [isAnimating, setIsAnimating] = (0, import_react.useState)(false);
|
|
12989
|
-
var showLabels = !isAnimating;
|
|
12990
|
-
var handleAnimationEnd = (0, import_react.useCallback)(() => {
|
|
12991
|
-
if (typeof onAnimationEnd === "function") onAnimationEnd();
|
|
12992
|
-
setIsAnimating(false);
|
|
12993
|
-
}, [onAnimationEnd]);
|
|
12994
|
-
var handleAnimationStart = (0, import_react.useCallback)(() => {
|
|
12995
|
-
if (typeof onAnimationStart === "function") onAnimationStart();
|
|
12996
|
-
setIsAnimating(true);
|
|
12997
|
-
}, [onAnimationStart]);
|
|
12998
|
-
if (layout == null) return null;
|
|
12999
|
-
var prevPoints = previousPointsRef.current;
|
|
13000
|
-
var prevBaseLine = previousBaselineRef.current;
|
|
13001
|
-
return /* @__PURE__ */ import_react.createElement(AreaLabelListProvider, {
|
|
13002
|
-
showLabels,
|
|
13003
|
-
points
|
|
13004
|
-
}, props.children, /* @__PURE__ */ import_react.createElement(JavascriptAnimate, {
|
|
13005
|
-
animationId,
|
|
13006
|
-
begin: animationBegin,
|
|
13007
|
-
duration: animationDuration,
|
|
13008
|
-
isActive: isAnimationActive,
|
|
13009
|
-
easing: animationEasing,
|
|
13010
|
-
onAnimationEnd: handleAnimationEnd,
|
|
13011
|
-
onAnimationStart: handleAnimationStart,
|
|
13012
|
-
key: animationId
|
|
13013
|
-
}, (t) => {
|
|
13014
|
-
if (prevPoints) {
|
|
13015
|
-
var prevPointsDiffFactor = prevPoints.length / points.length;
|
|
13016
|
-
var stepPoints = t === 1 ? points : points.map((entry, index) => {
|
|
13017
|
-
var prevPointIndex = Math.floor(index * prevPointsDiffFactor);
|
|
13018
|
-
if (prevPoints[prevPointIndex]) {
|
|
13019
|
-
var prev = prevPoints[prevPointIndex];
|
|
13020
|
-
return _objectSpread$4(_objectSpread$4({}, entry), {}, {
|
|
13021
|
-
x: interpolate(prev.x, entry.x, t),
|
|
13022
|
-
y: interpolate(prev.y, entry.y, t)
|
|
13023
|
-
});
|
|
13024
|
-
}
|
|
13025
|
-
return entry;
|
|
13026
|
-
});
|
|
13027
|
-
var stepBaseLine;
|
|
13028
|
-
if (isNumber(baseLine)) stepBaseLine = interpolate(prevBaseLine, baseLine, t);
|
|
13029
|
-
else if (isNullish(baseLine) || isNan(baseLine)) stepBaseLine = interpolate(prevBaseLine, 0, t);
|
|
13030
|
-
else stepBaseLine = baseLine.map((entry, index) => {
|
|
13031
|
-
var prevPointIndex = Math.floor(index * prevPointsDiffFactor);
|
|
13032
|
-
if (Array.isArray(prevBaseLine) && prevBaseLine[prevPointIndex]) {
|
|
13033
|
-
var prev = prevBaseLine[prevPointIndex];
|
|
13034
|
-
return _objectSpread$4(_objectSpread$4({}, entry), {}, {
|
|
13035
|
-
x: interpolate(prev.x, entry.x, t),
|
|
13036
|
-
y: interpolate(prev.y, entry.y, t)
|
|
13037
|
-
});
|
|
13038
|
-
}
|
|
13039
|
-
return entry;
|
|
13040
|
-
});
|
|
13041
|
-
if (t > 0) {
|
|
13042
|
-
previousPointsRef.current = stepPoints;
|
|
13043
|
-
previousBaselineRef.current = stepBaseLine;
|
|
13044
|
-
}
|
|
13045
|
-
return /* @__PURE__ */ import_react.createElement(StaticArea, {
|
|
13046
|
-
points: stepPoints,
|
|
13047
|
-
baseLine: stepBaseLine,
|
|
13048
|
-
needClip,
|
|
13049
|
-
clipPathId,
|
|
13050
|
-
props
|
|
13051
|
-
});
|
|
13052
|
-
}
|
|
13053
|
-
if (t > 0) {
|
|
13054
|
-
previousPointsRef.current = points;
|
|
13055
|
-
previousBaselineRef.current = baseLine;
|
|
13056
|
-
}
|
|
13057
|
-
return /* @__PURE__ */ import_react.createElement(Layer, null, isAnimationActive && /* @__PURE__ */ import_react.createElement("defs", null, /* @__PURE__ */ import_react.createElement("clipPath", { id: "animationClipPath-".concat(clipPathId) }, /* @__PURE__ */ import_react.createElement(ClipRect, {
|
|
13058
|
-
alpha: t,
|
|
13059
|
-
points,
|
|
13060
|
-
baseLine,
|
|
13061
|
-
layout,
|
|
13062
|
-
strokeWidth: props.strokeWidth
|
|
13063
|
-
}))), /* @__PURE__ */ import_react.createElement(Layer, { clipPath: "url(#animationClipPath-".concat(clipPathId, ")") }, /* @__PURE__ */ import_react.createElement(StaticArea, {
|
|
13064
|
-
points,
|
|
13065
|
-
baseLine,
|
|
13066
|
-
needClip,
|
|
13067
|
-
clipPathId,
|
|
13068
|
-
props
|
|
13069
|
-
})));
|
|
13070
|
-
}), /* @__PURE__ */ import_react.createElement(LabelListFromLabelProp, { label: props.label }));
|
|
13071
|
-
}
|
|
13072
|
-
function RenderArea(_ref9) {
|
|
13073
|
-
var { needClip, clipPathId, props } = _ref9;
|
|
13074
|
-
var previousPointsRef = (0, import_react.useRef)(null);
|
|
13075
|
-
var previousBaselineRef = (0, import_react.useRef)();
|
|
13076
|
-
return /* @__PURE__ */ import_react.createElement(AreaWithAnimation, {
|
|
13077
|
-
needClip,
|
|
13078
|
-
clipPathId,
|
|
13079
|
-
props,
|
|
13080
|
-
previousPointsRef,
|
|
13081
|
-
previousBaselineRef
|
|
13082
|
-
});
|
|
13083
|
-
}
|
|
13084
|
-
var AreaWithState = class extends import_react.PureComponent {
|
|
13085
|
-
render() {
|
|
13086
|
-
var { hide, dot, points, className, top, left, needClip, xAxisId, yAxisId, width, height, id, baseLine, zIndex } = this.props;
|
|
13087
|
-
if (hide) return null;
|
|
13088
|
-
var layerClass = clsx("recharts-area", className);
|
|
13089
|
-
var clipPathId = id;
|
|
13090
|
-
var { r, strokeWidth } = getRadiusAndStrokeWidthFromDot(dot);
|
|
13091
|
-
var clipDot = isClipDot(dot);
|
|
13092
|
-
var dotSize = r * 2 + strokeWidth;
|
|
13093
|
-
var activePointsClipPath = needClip ? "url(#clipPath-".concat(clipDot ? "" : "dots-").concat(clipPathId, ")") : void 0;
|
|
13094
|
-
return /* @__PURE__ */ import_react.createElement(ZIndexLayer, { zIndex }, /* @__PURE__ */ import_react.createElement(Layer, { className: layerClass }, needClip && /* @__PURE__ */ import_react.createElement("defs", null, /* @__PURE__ */ import_react.createElement(GraphicalItemClipPath, {
|
|
13095
|
-
clipPathId,
|
|
13096
|
-
xAxisId,
|
|
13097
|
-
yAxisId
|
|
13098
|
-
}), !clipDot && /* @__PURE__ */ import_react.createElement("clipPath", { id: "clipPath-dots-".concat(clipPathId) }, /* @__PURE__ */ import_react.createElement("rect", {
|
|
13099
|
-
x: left - dotSize / 2,
|
|
13100
|
-
y: top - dotSize / 2,
|
|
13101
|
-
width: width + dotSize,
|
|
13102
|
-
height: height + dotSize
|
|
13103
|
-
}))), /* @__PURE__ */ import_react.createElement(RenderArea, {
|
|
13104
|
-
needClip,
|
|
13105
|
-
clipPathId,
|
|
13106
|
-
props: this.props
|
|
13107
|
-
})), /* @__PURE__ */ import_react.createElement(ActivePoints, {
|
|
13108
|
-
points,
|
|
13109
|
-
mainColor: getLegendItemColor(this.props.stroke, this.props.fill),
|
|
13110
|
-
itemDataKey: this.props.dataKey,
|
|
13111
|
-
activeDot: this.props.activeDot,
|
|
13112
|
-
clipPath: activePointsClipPath
|
|
13113
|
-
}), this.props.isRange && Array.isArray(baseLine) && /* @__PURE__ */ import_react.createElement(ActivePoints, {
|
|
13114
|
-
points: baseLine,
|
|
13115
|
-
mainColor: getLegendItemColor(this.props.stroke, this.props.fill),
|
|
13116
|
-
itemDataKey: this.props.dataKey,
|
|
13117
|
-
activeDot: this.props.activeDot,
|
|
13118
|
-
clipPath: activePointsClipPath
|
|
13119
|
-
}));
|
|
13120
|
-
}
|
|
13121
|
-
};
|
|
13122
|
-
var defaultAreaProps = {
|
|
13123
|
-
activeDot: true,
|
|
13124
|
-
animationBegin: 0,
|
|
13125
|
-
animationDuration: 1500,
|
|
13126
|
-
animationEasing: "ease",
|
|
13127
|
-
connectNulls: false,
|
|
13128
|
-
dot: false,
|
|
13129
|
-
fill: "#3182bd",
|
|
13130
|
-
fillOpacity: .6,
|
|
13131
|
-
hide: false,
|
|
13132
|
-
isAnimationActive: "auto",
|
|
13133
|
-
legendType: "line",
|
|
13134
|
-
stroke: "#3182bd",
|
|
13135
|
-
strokeWidth: 1,
|
|
13136
|
-
type: "linear",
|
|
13137
|
-
label: false,
|
|
13138
|
-
xAxisId: 0,
|
|
13139
|
-
yAxisId: 0,
|
|
13140
|
-
zIndex: DefaultZIndexes.area
|
|
13141
|
-
};
|
|
13142
|
-
function AreaImpl(props) {
|
|
13143
|
-
var _useAppSelector;
|
|
13144
|
-
var { activeDot, animationBegin, animationDuration, animationEasing, connectNulls, dot, fill, fillOpacity, hide, isAnimationActive, legendType, stroke, xAxisId, yAxisId } = props, everythingElse = _objectWithoutProperties$5(props, _excluded2$3);
|
|
13145
|
-
var layout = useChartLayout();
|
|
13146
|
-
var chartName = useChartName();
|
|
13147
|
-
var { needClip } = useNeedsClip(xAxisId, yAxisId);
|
|
13148
|
-
var isPanorama = useIsPanorama();
|
|
13149
|
-
var { points, isRange, baseLine } = (_useAppSelector = useAppSelector((state) => selectArea(state, props.id, isPanorama))) !== null && _useAppSelector !== void 0 ? _useAppSelector : {};
|
|
13150
|
-
var plotArea = usePlotArea();
|
|
13151
|
-
if (layout !== "horizontal" && layout !== "vertical" || plotArea == null) return null;
|
|
13152
|
-
if (chartName !== "AreaChart" && chartName !== "ComposedChart") return null;
|
|
13153
|
-
var { height, width, x: left, y: top } = plotArea;
|
|
13154
|
-
if (!points || !points.length) return null;
|
|
13155
|
-
return /* @__PURE__ */ import_react.createElement(AreaWithState, _extends$5({}, everythingElse, {
|
|
13156
|
-
activeDot,
|
|
13157
|
-
animationBegin,
|
|
13158
|
-
animationDuration,
|
|
13159
|
-
animationEasing,
|
|
13160
|
-
baseLine,
|
|
13161
|
-
connectNulls,
|
|
13162
|
-
dot,
|
|
13163
|
-
fill,
|
|
13164
|
-
fillOpacity,
|
|
13165
|
-
height,
|
|
13166
|
-
hide,
|
|
13167
|
-
layout,
|
|
13168
|
-
isAnimationActive,
|
|
13169
|
-
isRange,
|
|
13170
|
-
legendType,
|
|
13171
|
-
needClip,
|
|
13172
|
-
points,
|
|
13173
|
-
stroke,
|
|
13174
|
-
width,
|
|
13175
|
-
left,
|
|
13176
|
-
top,
|
|
13177
|
-
xAxisId,
|
|
13178
|
-
yAxisId
|
|
13179
|
-
}));
|
|
13180
|
-
}
|
|
13181
|
-
var getBaseValue = (layout, chartBaseValue, itemBaseValue, xAxis, yAxis) => {
|
|
13182
|
-
var baseValue = itemBaseValue !== null && itemBaseValue !== void 0 ? itemBaseValue : chartBaseValue;
|
|
13183
|
-
if (isNumber(baseValue)) return baseValue;
|
|
13184
|
-
var numericAxis = layout === "horizontal" ? yAxis : xAxis;
|
|
13185
|
-
var domain = numericAxis.scale.domain();
|
|
13186
|
-
if (numericAxis.type === "number") {
|
|
13187
|
-
var domainMax = Math.max(domain[0], domain[1]);
|
|
13188
|
-
var domainMin = Math.min(domain[0], domain[1]);
|
|
13189
|
-
if (baseValue === "dataMin") return domainMin;
|
|
13190
|
-
if (baseValue === "dataMax") return domainMax;
|
|
13191
|
-
return domainMax < 0 ? domainMax : Math.max(Math.min(domain[0], domain[1]), 0);
|
|
13192
|
-
}
|
|
13193
|
-
if (baseValue === "dataMin") return domain[0];
|
|
13194
|
-
if (baseValue === "dataMax") return domain[1];
|
|
13195
|
-
return domain[0];
|
|
13196
|
-
};
|
|
13197
|
-
function computeArea(_ref0) {
|
|
13198
|
-
var { areaSettings: { connectNulls, baseValue: itemBaseValue, dataKey }, stackedData, layout, chartBaseValue, xAxis, yAxis, displayedData, dataStartIndex, xAxisTicks, yAxisTicks, bandSize } = _ref0;
|
|
13199
|
-
var hasStack = stackedData && stackedData.length;
|
|
13200
|
-
var baseValue = getBaseValue(layout, chartBaseValue, itemBaseValue, xAxis, yAxis);
|
|
13201
|
-
var isHorizontalLayout = layout === "horizontal";
|
|
13202
|
-
var isRange = false;
|
|
13203
|
-
var points = displayedData.map((entry, index) => {
|
|
13204
|
-
var _valueAsArray$, _valueAsArray, _xAxis$scale$map;
|
|
13205
|
-
var valueAsArray;
|
|
13206
|
-
if (hasStack) valueAsArray = stackedData[dataStartIndex + index];
|
|
13207
|
-
else {
|
|
13208
|
-
var rawValue = getValueByDataKey(entry, dataKey);
|
|
13209
|
-
if (!Array.isArray(rawValue)) valueAsArray = [baseValue, rawValue];
|
|
13210
|
-
else {
|
|
13211
|
-
valueAsArray = rawValue;
|
|
13212
|
-
isRange = true;
|
|
13213
|
-
}
|
|
13214
|
-
}
|
|
13215
|
-
var value1 = (_valueAsArray$ = (_valueAsArray = valueAsArray) === null || _valueAsArray === void 0 ? void 0 : _valueAsArray[1]) !== null && _valueAsArray$ !== void 0 ? _valueAsArray$ : null;
|
|
13216
|
-
var isBreakPoint = value1 == null || hasStack && !connectNulls && getValueByDataKey(entry, dataKey) == null;
|
|
13217
|
-
if (isHorizontalLayout) {
|
|
13218
|
-
var _yAxis$scale$map;
|
|
13219
|
-
return {
|
|
13220
|
-
x: getCateCoordinateOfLine({
|
|
13221
|
-
axis: xAxis,
|
|
13222
|
-
ticks: xAxisTicks,
|
|
13223
|
-
bandSize,
|
|
13224
|
-
entry,
|
|
13225
|
-
index
|
|
13226
|
-
}),
|
|
13227
|
-
y: isBreakPoint ? null : (_yAxis$scale$map = yAxis.scale.map(value1)) !== null && _yAxis$scale$map !== void 0 ? _yAxis$scale$map : null,
|
|
13228
|
-
value: valueAsArray,
|
|
13229
|
-
payload: entry
|
|
13230
|
-
};
|
|
13231
|
-
}
|
|
13232
|
-
return {
|
|
13233
|
-
x: isBreakPoint ? null : (_xAxis$scale$map = xAxis.scale.map(value1)) !== null && _xAxis$scale$map !== void 0 ? _xAxis$scale$map : null,
|
|
13234
|
-
y: getCateCoordinateOfLine({
|
|
13235
|
-
axis: yAxis,
|
|
13236
|
-
ticks: yAxisTicks,
|
|
13237
|
-
bandSize,
|
|
13238
|
-
entry,
|
|
13239
|
-
index
|
|
13240
|
-
}),
|
|
13241
|
-
value: valueAsArray,
|
|
13242
|
-
payload: entry
|
|
13243
|
-
};
|
|
13244
|
-
});
|
|
13245
|
-
var baseLine;
|
|
13246
|
-
if (hasStack || isRange) baseLine = points.map((entry) => {
|
|
13247
|
-
var _xAxis$scale$map2;
|
|
13248
|
-
var x = Array.isArray(entry.value) ? entry.value[0] : null;
|
|
13249
|
-
if (isHorizontalLayout) {
|
|
13250
|
-
var _yAxis$scale$map2;
|
|
13251
|
-
return {
|
|
13252
|
-
x: entry.x,
|
|
13253
|
-
y: x != null && entry.y != null ? (_yAxis$scale$map2 = yAxis.scale.map(x)) !== null && _yAxis$scale$map2 !== void 0 ? _yAxis$scale$map2 : null : null,
|
|
13254
|
-
payload: entry.payload
|
|
13255
|
-
};
|
|
13256
|
-
}
|
|
13257
|
-
return {
|
|
13258
|
-
x: x != null ? (_xAxis$scale$map2 = xAxis.scale.map(x)) !== null && _xAxis$scale$map2 !== void 0 ? _xAxis$scale$map2 : null : null,
|
|
13259
|
-
y: entry.y,
|
|
13260
|
-
payload: entry.payload
|
|
13261
|
-
};
|
|
13262
|
-
});
|
|
13263
|
-
else baseLine = isHorizontalLayout ? yAxis.scale.map(baseValue) : xAxis.scale.map(baseValue);
|
|
13264
|
-
return {
|
|
13265
|
-
points,
|
|
13266
|
-
baseLine: baseLine !== null && baseLine !== void 0 ? baseLine : 0,
|
|
13267
|
-
isRange
|
|
13268
|
-
};
|
|
13269
|
-
}
|
|
13270
|
-
function AreaFn(outsideProps) {
|
|
13271
|
-
var props = resolveDefaultProps(outsideProps, defaultAreaProps);
|
|
13272
|
-
var isPanorama = useIsPanorama();
|
|
13273
|
-
return /* @__PURE__ */ import_react.createElement(RegisterGraphicalItemId, {
|
|
13274
|
-
id: props.id,
|
|
13275
|
-
type: "area"
|
|
13276
|
-
}, (id) => /* @__PURE__ */ import_react.createElement(import_react.Fragment, null, /* @__PURE__ */ import_react.createElement(SetLegendPayload, { legendPayload: computeLegendPayloadFromAreaData(props) }), /* @__PURE__ */ import_react.createElement(SetAreaTooltipEntrySettings, {
|
|
13277
|
-
dataKey: props.dataKey,
|
|
13278
|
-
data: props.data,
|
|
13279
|
-
stroke: props.stroke,
|
|
13280
|
-
strokeWidth: props.strokeWidth,
|
|
13281
|
-
fill: props.fill,
|
|
13282
|
-
name: props.name,
|
|
13283
|
-
hide: props.hide,
|
|
13284
|
-
unit: props.unit,
|
|
13285
|
-
tooltipType: props.tooltipType,
|
|
13286
|
-
id
|
|
13287
|
-
}), /* @__PURE__ */ import_react.createElement(SetCartesianGraphicalItem, {
|
|
13288
|
-
type: "area",
|
|
13289
|
-
id,
|
|
13290
|
-
data: props.data,
|
|
13291
|
-
dataKey: props.dataKey,
|
|
13292
|
-
xAxisId: props.xAxisId,
|
|
13293
|
-
yAxisId: props.yAxisId,
|
|
13294
|
-
zAxisId: 0,
|
|
13295
|
-
stackId: getNormalizedStackId(props.stackId),
|
|
13296
|
-
hide: props.hide,
|
|
13297
|
-
barSize: void 0,
|
|
13298
|
-
baseValue: props.baseValue,
|
|
13299
|
-
isPanorama,
|
|
13300
|
-
connectNulls: props.connectNulls
|
|
13301
|
-
}), /* @__PURE__ */ import_react.createElement(AreaImpl, _extends$5({}, props, { id }))));
|
|
13302
|
-
}
|
|
13303
|
-
/**
|
|
13304
|
-
* @provides LabelListContext
|
|
13305
|
-
* @consumes CartesianChartContext
|
|
13306
|
-
*/
|
|
13307
|
-
var Area = /* @__PURE__ */ import_react.memo(AreaFn, propsAreEqual);
|
|
13308
|
-
Area.displayName = "Area";
|
|
13309
|
-
//#endregion
|
|
13310
12910
|
//#region ../../node_modules/.pnpm/recharts@3.8.0_@types+react@19.2.15_react-dom@19.2.6_react@19.2.6__react-is@19.2.7_react@19.2.6_redux@5.0.1/node_modules/recharts/es6/util/axisPropsAreEqual.js
|
|
13311
12911
|
var _excluded$4 = ["domain", "range"], _excluded2$2 = ["domain", "range"];
|
|
13312
12912
|
function _objectWithoutProperties$4(e, t) {
|
|
@@ -15016,7 +14616,7 @@ var CartesianChart = /* @__PURE__ */ (0, import_react.forwardRef)(function Carte
|
|
|
15016
14616
|
});
|
|
15017
14617
|
//#endregion
|
|
15018
14618
|
//#region ../../node_modules/.pnpm/recharts@3.8.0_@types+react@19.2.15_react-dom@19.2.6_react@19.2.6__react-is@19.2.7_react@19.2.6_redux@5.0.1/node_modules/recharts/es6/chart/LineChart.js
|
|
15019
|
-
var allowedTooltipTypes
|
|
14619
|
+
var allowedTooltipTypes = ["axis"];
|
|
15020
14620
|
/**
|
|
15021
14621
|
* @consumes ResponsiveContainerContext
|
|
15022
14622
|
* @provides CartesianViewBoxContext
|
|
@@ -15026,24 +14626,6 @@ var LineChart = /* @__PURE__ */ (0, import_react.forwardRef)((props, ref) => {
|
|
|
15026
14626
|
return /* @__PURE__ */ import_react.createElement(CartesianChart, {
|
|
15027
14627
|
chartName: "LineChart",
|
|
15028
14628
|
defaultTooltipEventType: "axis",
|
|
15029
|
-
validateTooltipEventTypes: allowedTooltipTypes$1,
|
|
15030
|
-
tooltipPayloadSearcher: arrayTooltipSearcher,
|
|
15031
|
-
categoricalChartProps: props,
|
|
15032
|
-
ref
|
|
15033
|
-
});
|
|
15034
|
-
});
|
|
15035
|
-
//#endregion
|
|
15036
|
-
//#region ../../node_modules/.pnpm/recharts@3.8.0_@types+react@19.2.15_react-dom@19.2.6_react@19.2.6__react-is@19.2.7_react@19.2.6_redux@5.0.1/node_modules/recharts/es6/chart/AreaChart.js
|
|
15037
|
-
var allowedTooltipTypes = ["axis"];
|
|
15038
|
-
/**
|
|
15039
|
-
* @consumes ResponsiveContainerContext
|
|
15040
|
-
* @provides CartesianViewBoxContext
|
|
15041
|
-
* @provides CartesianChartContext
|
|
15042
|
-
*/
|
|
15043
|
-
var AreaChart = /* @__PURE__ */ (0, import_react.forwardRef)((props, ref) => {
|
|
15044
|
-
return /* @__PURE__ */ import_react.createElement(CartesianChart, {
|
|
15045
|
-
chartName: "AreaChart",
|
|
15046
|
-
defaultTooltipEventType: "axis",
|
|
15047
14629
|
validateTooltipEventTypes: allowedTooltipTypes,
|
|
15048
14630
|
tooltipPayloadSearcher: arrayTooltipSearcher,
|
|
15049
14631
|
categoricalChartProps: props,
|
|
@@ -15051,4 +14633,4 @@ var AreaChart = /* @__PURE__ */ (0, import_react.forwardRef)((props, ref) => {
|
|
|
15051
14633
|
});
|
|
15052
14634
|
});
|
|
15053
14635
|
//#endregion
|
|
15054
|
-
export {
|
|
14636
|
+
export { CartesianGrid as a, Legend as c, Line as i, ResponsiveContainer as l, YAxis as n, ReferenceLine as o, XAxis as r, Tooltip as s, LineChart as t };
|