@hisptz/dhis2-analytics 2.0.32 → 2.0.34
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/dist/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/components/ChoroplethLegend.js.map +1 -1
- package/dist/components/Scorecard/Scorecard.stories.js +150 -879
- package/dist/components/Scorecard/Scorecard.stories.js.map +1 -1
- package/dist/components/Scorecard/ScorecardContext.stories.js +422 -0
- package/dist/components/Scorecard/ScorecardContext.stories.js.map +1 -0
- package/dist/components/Scorecard/components/DataProvider.js +4 -19
- package/dist/components/Scorecard/components/DataProvider.js.map +1 -1
- package/dist/components/Scorecard/components/LoadingIndicator.js +27 -0
- package/dist/components/Scorecard/components/LoadingIndicator.js.map +1 -0
- package/dist/components/Scorecard/components/MetaProvider.js +10 -2
- package/dist/components/Scorecard/components/MetaProvider.js.map +1 -1
- package/dist/components/Scorecard/components/ScorecardContext.js +52 -1
- package/dist/components/Scorecard/components/ScorecardContext.js.map +1 -1
- package/dist/components/Scorecard/components/ScorecardTable/ScorecardTable.js +33 -14
- package/dist/components/Scorecard/components/ScorecardTable/ScorecardTable.js.map +1 -1
- package/dist/components/Scorecard/components/ScorecardTable/ScorecardTable.module.css +18 -0
- package/dist/components/Scorecard/components/ScorecardTable/ScorecardTable.module.css.map +1 -1
- package/dist/components/Scorecard/components/ScorecardTable/components/AverageCell.js +47 -14
- package/dist/components/Scorecard/components/ScorecardTable/components/AverageCell.js.map +1 -1
- package/dist/components/Scorecard/components/ScorecardTable/components/AverageFooterCell.js +39 -8
- package/dist/components/Scorecard/components/ScorecardTable/components/AverageFooterCell.js.map +1 -1
- package/dist/components/Scorecard/components/ScorecardTable/components/CellLoader.js +12 -0
- package/dist/components/Scorecard/components/ScorecardTable/components/CellLoader.js.map +1 -0
- package/dist/components/Scorecard/components/ScorecardTable/components/DataContainer.js +24 -4
- package/dist/components/Scorecard/components/ScorecardTable/components/DataContainer.js.map +1 -1
- package/dist/components/Scorecard/components/ScorecardTable/components/DataFooterCell.js +125 -32
- package/dist/components/Scorecard/components/ScorecardTable/components/DataFooterCell.js.map +1 -1
- package/dist/components/Scorecard/components/ScorecardTable/components/DataRow.js +17 -7
- package/dist/components/Scorecard/components/ScorecardTable/components/DataRow.js.map +1 -1
- package/dist/components/Scorecard/components/ScorecardTable/components/DataValue.js +8 -5
- package/dist/components/Scorecard/components/ScorecardTable/components/DataValue.js.map +1 -1
- package/dist/components/Scorecard/components/ScorecardTable/components/ExpandedScorecardTable.js +16 -3
- package/dist/components/Scorecard/components/ScorecardTable/components/ExpandedScorecardTable.js.map +1 -1
- package/dist/components/Scorecard/components/ScorecardTable/components/LinkedCell.js +8 -2
- package/dist/components/Scorecard/components/ScorecardTable/components/LinkedCell.js.map +1 -1
- package/dist/components/Scorecard/components/ScorecardTable/components/LinkedDataCell.js.map +1 -1
- package/dist/components/Scorecard/components/ScorecardTable/components/MetaFooterCell.js +5 -3
- package/dist/components/Scorecard/components/ScorecardTable/components/MetaFooterCell.js.map +1 -1
- package/dist/components/Scorecard/components/ScorecardTable/components/SingleDataCell.js +2 -2
- package/dist/components/Scorecard/components/ScorecardTable/components/SingleDataCell.js.map +1 -1
- package/dist/components/Scorecard/components/ScorecardTable/components/TableBody.js +8 -3
- package/dist/components/Scorecard/components/ScorecardTable/components/TableBody.js.map +1 -1
- package/dist/components/Scorecard/components/ScorecardTable/components/TableFoot.js +8 -5
- package/dist/components/Scorecard/components/ScorecardTable/components/TableFoot.js.map +1 -1
- package/dist/components/Scorecard/components/ScorecardTable/components/TableHeader/TableHeader.js +7 -8
- package/dist/components/Scorecard/components/ScorecardTable/components/TableHeader/TableHeader.js.map +1 -1
- package/dist/components/Scorecard/components/ScorecardTable/components/TableHeader/components/AverageHeaderCell.js +6 -8
- package/dist/components/Scorecard/components/ScorecardTable/components/TableHeader/components/AverageHeaderCell.js.map +1 -1
- package/dist/components/Scorecard/components/ScorecardTable/components/TableHeader/components/DataHeaderCell.js +13 -4
- package/dist/components/Scorecard/components/ScorecardTable/components/TableHeader/components/DataHeaderCell.js.map +1 -1
- package/dist/components/Scorecard/components/ScorecardTable/components/TableHeader/components/FilterArea.js +4 -2
- package/dist/components/Scorecard/components/ScorecardTable/components/TableHeader/components/FilterArea.js.map +1 -1
- package/dist/components/Scorecard/components/ScorecardTable/components/TableHeader/components/LabelCell.js +4 -2
- package/dist/components/Scorecard/components/ScorecardTable/components/TableHeader/components/LabelCell.js.map +1 -1
- package/dist/components/Scorecard/components/ScorecardTable/components/TableHeader/components/MetaHeaderCell.js +6 -7
- package/dist/components/Scorecard/components/ScorecardTable/components/TableHeader/components/MetaHeaderCell.js.map +1 -1
- package/dist/components/Scorecard/components/StateProvider.js +8 -0
- package/dist/components/Scorecard/components/StateProvider.js.map +1 -1
- package/dist/components/Scorecard/hooks/cellData.js +3 -4
- package/dist/components/Scorecard/hooks/cellData.js.map +1 -1
- package/dist/components/Scorecard/hooks/columns.js +106 -89
- package/dist/components/Scorecard/hooks/columns.js.map +1 -1
- package/dist/components/Scorecard/hooks/data.js +128 -31
- package/dist/components/Scorecard/hooks/data.js.map +1 -1
- package/dist/components/Scorecard/hooks/metadata.js +23 -13
- package/dist/components/Scorecard/hooks/metadata.js.map +1 -1
- package/dist/components/Scorecard/hooks/table.js +137 -5
- package/dist/components/Scorecard/hooks/table.js.map +1 -1
- package/dist/components/Scorecard/hooks/value.js +198 -0
- package/dist/components/Scorecard/hooks/value.js.map +1 -0
- package/dist/components/Scorecard/schemas/config.js +27 -12
- package/dist/components/Scorecard/schemas/config.js.map +1 -1
- package/dist/components/Scorecard/utils/analytics.js +4 -3
- package/dist/components/Scorecard/utils/analytics.js.map +1 -1
- package/dist/components/Scorecard/utils/columns.js +66 -104
- package/dist/components/Scorecard/utils/columns.js.map +1 -1
- package/dist/components/Scorecard/utils/data.js +10 -100
- package/dist/components/Scorecard/utils/data.js.map +1 -1
- package/dist/components/Scorecard/utils/dataEngine.js +35 -0
- package/dist/components/Scorecard/utils/dataEngine.js.map +1 -0
- package/dist/esm/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/components/ChoroplethLegend.js.map +1 -1
- package/dist/esm/components/Scorecard/Scorecard.stories.js +148 -876
- package/dist/esm/components/Scorecard/Scorecard.stories.js.map +1 -1
- package/dist/esm/components/Scorecard/ScorecardContext.stories.js +417 -0
- package/dist/esm/components/Scorecard/ScorecardContext.stories.js.map +1 -0
- package/dist/esm/components/Scorecard/components/DataProvider.js +4 -19
- package/dist/esm/components/Scorecard/components/DataProvider.js.map +1 -1
- package/dist/esm/components/Scorecard/components/LoadingIndicator.js +25 -0
- package/dist/esm/components/Scorecard/components/LoadingIndicator.js.map +1 -0
- package/dist/esm/components/Scorecard/components/MetaProvider.js +6 -2
- package/dist/esm/components/Scorecard/components/MetaProvider.js.map +1 -1
- package/dist/esm/components/Scorecard/components/ScorecardContext.js +49 -2
- package/dist/esm/components/Scorecard/components/ScorecardContext.js.map +1 -1
- package/dist/esm/components/Scorecard/components/ScorecardTable/ScorecardTable.js +34 -15
- package/dist/esm/components/Scorecard/components/ScorecardTable/ScorecardTable.js.map +1 -1
- package/dist/esm/components/Scorecard/components/ScorecardTable/ScorecardTable.module.css +18 -0
- package/dist/esm/components/Scorecard/components/ScorecardTable/ScorecardTable.module.css.map +1 -1
- package/dist/esm/components/Scorecard/components/ScorecardTable/components/AverageCell.js +47 -14
- package/dist/esm/components/Scorecard/components/ScorecardTable/components/AverageCell.js.map +1 -1
- package/dist/esm/components/Scorecard/components/ScorecardTable/components/AverageFooterCell.js +40 -9
- package/dist/esm/components/Scorecard/components/ScorecardTable/components/AverageFooterCell.js.map +1 -1
- package/dist/esm/components/Scorecard/components/ScorecardTable/components/CellLoader.js +10 -0
- package/dist/esm/components/Scorecard/components/ScorecardTable/components/CellLoader.js.map +1 -0
- package/dist/esm/components/Scorecard/components/ScorecardTable/components/DataContainer.js +25 -5
- package/dist/esm/components/Scorecard/components/ScorecardTable/components/DataContainer.js.map +1 -1
- package/dist/esm/components/Scorecard/components/ScorecardTable/components/DataFooterCell.js +127 -34
- package/dist/esm/components/Scorecard/components/ScorecardTable/components/DataFooterCell.js.map +1 -1
- package/dist/esm/components/Scorecard/components/ScorecardTable/components/DataRow.js +18 -8
- package/dist/esm/components/Scorecard/components/ScorecardTable/components/DataRow.js.map +1 -1
- package/dist/esm/components/Scorecard/components/ScorecardTable/components/DataValue.js +10 -7
- package/dist/esm/components/Scorecard/components/ScorecardTable/components/DataValue.js.map +1 -1
- package/dist/esm/components/Scorecard/components/ScorecardTable/components/ExpandedScorecardTable.js +16 -3
- package/dist/esm/components/Scorecard/components/ScorecardTable/components/ExpandedScorecardTable.js.map +1 -1
- package/dist/esm/components/Scorecard/components/ScorecardTable/components/LinkedCell.js +8 -2
- package/dist/esm/components/Scorecard/components/ScorecardTable/components/LinkedCell.js.map +1 -1
- package/dist/esm/components/Scorecard/components/ScorecardTable/components/LinkedDataCell.js.map +1 -1
- package/dist/esm/components/Scorecard/components/ScorecardTable/components/MetaFooterCell.js +6 -4
- package/dist/esm/components/Scorecard/components/ScorecardTable/components/MetaFooterCell.js.map +1 -1
- package/dist/esm/components/Scorecard/components/ScorecardTable/components/SingleDataCell.js +2 -2
- package/dist/esm/components/Scorecard/components/ScorecardTable/components/SingleDataCell.js.map +1 -1
- package/dist/esm/components/Scorecard/components/ScorecardTable/components/TableBody.js +9 -4
- package/dist/esm/components/Scorecard/components/ScorecardTable/components/TableBody.js.map +1 -1
- package/dist/esm/components/Scorecard/components/ScorecardTable/components/TableFoot.js +9 -6
- package/dist/esm/components/Scorecard/components/ScorecardTable/components/TableFoot.js.map +1 -1
- package/dist/esm/components/Scorecard/components/ScorecardTable/components/TableHeader/TableHeader.js +7 -8
- package/dist/esm/components/Scorecard/components/ScorecardTable/components/TableHeader/TableHeader.js.map +1 -1
- package/dist/esm/components/Scorecard/components/ScorecardTable/components/TableHeader/components/AverageHeaderCell.js +7 -9
- package/dist/esm/components/Scorecard/components/ScorecardTable/components/TableHeader/components/AverageHeaderCell.js.map +1 -1
- package/dist/esm/components/Scorecard/components/ScorecardTable/components/TableHeader/components/DataHeaderCell.js +14 -6
- package/dist/esm/components/Scorecard/components/ScorecardTable/components/TableHeader/components/DataHeaderCell.js.map +1 -1
- package/dist/esm/components/Scorecard/components/ScorecardTable/components/TableHeader/components/FilterArea.js +5 -3
- package/dist/esm/components/Scorecard/components/ScorecardTable/components/TableHeader/components/FilterArea.js.map +1 -1
- package/dist/esm/components/Scorecard/components/ScorecardTable/components/TableHeader/components/LabelCell.js +5 -3
- package/dist/esm/components/Scorecard/components/ScorecardTable/components/TableHeader/components/LabelCell.js.map +1 -1
- package/dist/esm/components/Scorecard/components/ScorecardTable/components/TableHeader/components/MetaHeaderCell.js +7 -8
- package/dist/esm/components/Scorecard/components/ScorecardTable/components/TableHeader/components/MetaHeaderCell.js.map +1 -1
- package/dist/esm/components/Scorecard/components/StateProvider.js +9 -2
- package/dist/esm/components/Scorecard/components/StateProvider.js.map +1 -1
- package/dist/esm/components/Scorecard/hooks/cellData.js +1 -2
- package/dist/esm/components/Scorecard/hooks/cellData.js.map +1 -1
- package/dist/esm/components/Scorecard/hooks/columns.js +107 -90
- package/dist/esm/components/Scorecard/hooks/columns.js.map +1 -1
- package/dist/esm/components/Scorecard/hooks/data.js +132 -35
- package/dist/esm/components/Scorecard/hooks/data.js.map +1 -1
- package/dist/esm/components/Scorecard/hooks/metadata.js +24 -14
- package/dist/esm/components/Scorecard/hooks/metadata.js.map +1 -1
- package/dist/esm/components/Scorecard/hooks/table.js +138 -6
- package/dist/esm/components/Scorecard/hooks/table.js.map +1 -1
- package/dist/esm/components/Scorecard/hooks/value.js +194 -0
- package/dist/esm/components/Scorecard/hooks/value.js.map +1 -0
- package/dist/esm/components/Scorecard/schemas/config.js +24 -12
- package/dist/esm/components/Scorecard/schemas/config.js.map +1 -1
- package/dist/esm/components/Scorecard/utils/analytics.js +4 -3
- package/dist/esm/components/Scorecard/utils/analytics.js.map +1 -1
- package/dist/esm/components/Scorecard/utils/columns.js +67 -106
- package/dist/esm/components/Scorecard/utils/columns.js.map +1 -1
- package/dist/esm/components/Scorecard/utils/data.js +11 -101
- package/dist/esm/components/Scorecard/utils/data.js.map +1 -1
- package/dist/esm/components/Scorecard/utils/dataEngine.js +33 -0
- package/dist/esm/components/Scorecard/utils/dataEngine.js.map +1 -0
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/components/ChoroplethLegend.d.ts +1 -1
- package/dist/types/components/Map/components/MapLayer/components/ThematicLayer/components/Choropleth/components/ChoroplethLegend.d.ts.map +1 -1
- package/dist/types/components/Scorecard/components/DataProvider.d.ts +3 -3
- package/dist/types/components/Scorecard/components/DataProvider.d.ts.map +1 -1
- package/dist/types/components/Scorecard/components/LoadingIndicator.d.ts +2 -0
- package/dist/types/components/Scorecard/components/LoadingIndicator.d.ts.map +1 -0
- package/dist/types/components/Scorecard/components/MetaProvider.d.ts.map +1 -1
- package/dist/types/components/Scorecard/components/ScorecardContext.d.ts +1 -1
- package/dist/types/components/Scorecard/components/ScorecardContext.d.ts.map +1 -1
- package/dist/types/components/Scorecard/components/ScorecardTable/ScorecardTable.d.ts +2 -1
- package/dist/types/components/Scorecard/components/ScorecardTable/ScorecardTable.d.ts.map +1 -1
- package/dist/types/components/Scorecard/components/ScorecardTable/components/AverageCell.d.ts +4 -13
- package/dist/types/components/Scorecard/components/ScorecardTable/components/AverageCell.d.ts.map +1 -1
- package/dist/types/components/Scorecard/components/ScorecardTable/components/AverageFooterCell.d.ts.map +1 -1
- package/dist/types/components/Scorecard/components/ScorecardTable/components/CellLoader.d.ts +2 -0
- package/dist/types/components/Scorecard/components/ScorecardTable/components/CellLoader.d.ts.map +1 -0
- package/dist/types/components/Scorecard/components/ScorecardTable/components/DataContainer.d.ts +2 -2
- package/dist/types/components/Scorecard/components/ScorecardTable/components/DataContainer.d.ts.map +1 -1
- package/dist/types/components/Scorecard/components/ScorecardTable/components/DataFooterCell.d.ts +2 -2
- package/dist/types/components/Scorecard/components/ScorecardTable/components/DataFooterCell.d.ts.map +1 -1
- package/dist/types/components/Scorecard/components/ScorecardTable/components/DataRow.d.ts.map +1 -1
- package/dist/types/components/Scorecard/components/ScorecardTable/components/DataValue.d.ts +6 -5
- package/dist/types/components/Scorecard/components/ScorecardTable/components/DataValue.d.ts.map +1 -1
- package/dist/types/components/Scorecard/components/ScorecardTable/components/ExpandedScorecardTable.d.ts +2 -1
- package/dist/types/components/Scorecard/components/ScorecardTable/components/ExpandedScorecardTable.d.ts.map +1 -1
- package/dist/types/components/Scorecard/components/ScorecardTable/components/LinkedCell.d.ts +3 -3
- package/dist/types/components/Scorecard/components/ScorecardTable/components/LinkedCell.d.ts.map +1 -1
- package/dist/types/components/Scorecard/components/ScorecardTable/components/LinkedDataCell.d.ts +2 -2
- package/dist/types/components/Scorecard/components/ScorecardTable/components/LinkedDataCell.d.ts.map +1 -1
- package/dist/types/components/Scorecard/components/ScorecardTable/components/MetaFooterCell.d.ts +1 -3
- package/dist/types/components/Scorecard/components/ScorecardTable/components/MetaFooterCell.d.ts.map +1 -1
- package/dist/types/components/Scorecard/components/ScorecardTable/components/SingleDataCell.d.ts +2 -2
- package/dist/types/components/Scorecard/components/ScorecardTable/components/SingleDataCell.d.ts.map +1 -1
- package/dist/types/components/Scorecard/components/ScorecardTable/components/TableBody.d.ts +2 -1
- package/dist/types/components/Scorecard/components/ScorecardTable/components/TableBody.d.ts.map +1 -1
- package/dist/types/components/Scorecard/components/ScorecardTable/components/TableFoot.d.ts.map +1 -1
- package/dist/types/components/Scorecard/components/ScorecardTable/components/TableHeader/TableHeader.d.ts +2 -1
- package/dist/types/components/Scorecard/components/ScorecardTable/components/TableHeader/TableHeader.d.ts.map +1 -1
- package/dist/types/components/Scorecard/components/ScorecardTable/components/TableHeader/components/AverageHeaderCell.d.ts +1 -1
- package/dist/types/components/Scorecard/components/ScorecardTable/components/TableHeader/components/AverageHeaderCell.d.ts.map +1 -1
- package/dist/types/components/Scorecard/components/ScorecardTable/components/TableHeader/components/DataHeaderCell.d.ts +1 -0
- package/dist/types/components/Scorecard/components/ScorecardTable/components/TableHeader/components/DataHeaderCell.d.ts.map +1 -1
- package/dist/types/components/Scorecard/components/ScorecardTable/components/TableHeader/components/FilterArea.d.ts.map +1 -1
- package/dist/types/components/Scorecard/components/ScorecardTable/components/TableHeader/components/LabelCell.d.ts.map +1 -1
- package/dist/types/components/Scorecard/components/ScorecardTable/components/TableHeader/components/MetaHeaderCell.d.ts.map +1 -1
- package/dist/types/components/Scorecard/components/StateProvider.d.ts +1 -0
- package/dist/types/components/Scorecard/components/StateProvider.d.ts.map +1 -1
- package/dist/types/components/Scorecard/components/TableStateProvider.d.ts +0 -6
- package/dist/types/components/Scorecard/components/TableStateProvider.d.ts.map +1 -1
- package/dist/types/components/Scorecard/hooks/cellData.d.ts +2 -2
- package/dist/types/components/Scorecard/hooks/cellData.d.ts.map +1 -1
- package/dist/types/components/Scorecard/hooks/columns.d.ts +2 -8
- package/dist/types/components/Scorecard/hooks/columns.d.ts.map +1 -1
- package/dist/types/components/Scorecard/hooks/data.d.ts +11 -53
- package/dist/types/components/Scorecard/hooks/data.d.ts.map +1 -1
- package/dist/types/components/Scorecard/hooks/metadata.d.ts +1 -0
- package/dist/types/components/Scorecard/hooks/metadata.d.ts.map +1 -1
- package/dist/types/components/Scorecard/hooks/table.d.ts.map +1 -1
- package/dist/types/components/Scorecard/hooks/value.d.ts +87 -0
- package/dist/types/components/Scorecard/hooks/value.d.ts.map +1 -0
- package/dist/types/components/Scorecard/schemas/config.d.ts +666 -62
- package/dist/types/components/Scorecard/schemas/config.d.ts.map +1 -1
- package/dist/types/components/Scorecard/utils/analytics.d.ts +3 -2
- package/dist/types/components/Scorecard/utils/analytics.d.ts.map +1 -1
- package/dist/types/components/Scorecard/utils/columns.d.ts +19 -59
- package/dist/types/components/Scorecard/utils/columns.d.ts.map +1 -1
- package/dist/types/components/Scorecard/utils/data.d.ts +6 -4
- package/dist/types/components/Scorecard/utils/data.d.ts.map +1 -1
- package/dist/types/components/Scorecard/utils/dataEngine.d.ts +14 -0
- package/dist/types/components/Scorecard/utils/dataEngine.d.ts.map +1 -0
- package/package.json +5 -5
- package/dist/components/Scorecard/components/ScorecardTable/components/LinkedDataFooterCell.js +0 -45
- package/dist/components/Scorecard/components/ScorecardTable/components/LinkedDataFooterCell.js.map +0 -1
- package/dist/components/Scorecard/components/ScorecardTable/components/SingleDataFooterCell.js +0 -38
- package/dist/components/Scorecard/components/ScorecardTable/components/SingleDataFooterCell.js.map +0 -1
- package/dist/components/Scorecard/hooks/average.js +0 -50
- package/dist/components/Scorecard/hooks/average.js.map +0 -1
- package/dist/esm/components/Scorecard/components/ScorecardTable/components/LinkedDataFooterCell.js +0 -43
- package/dist/esm/components/Scorecard/components/ScorecardTable/components/LinkedDataFooterCell.js.map +0 -1
- package/dist/esm/components/Scorecard/components/ScorecardTable/components/SingleDataFooterCell.js +0 -36
- package/dist/esm/components/Scorecard/components/ScorecardTable/components/SingleDataFooterCell.js.map +0 -1
- package/dist/esm/components/Scorecard/hooks/average.js +0 -48
- package/dist/esm/components/Scorecard/hooks/average.js.map +0 -1
- package/dist/types/components/Scorecard/components/ScorecardTable/components/LinkedDataFooterCell.d.ts +0 -6
- package/dist/types/components/Scorecard/components/ScorecardTable/components/LinkedDataFooterCell.d.ts.map +0 -1
- package/dist/types/components/Scorecard/components/ScorecardTable/components/SingleDataFooterCell.d.ts +0 -6
- package/dist/types/components/Scorecard/components/ScorecardTable/components/SingleDataFooterCell.d.ts.map +0 -1
- package/dist/types/components/Scorecard/hooks/average.d.ts +0 -14
- package/dist/types/components/Scorecard/hooks/average.d.ts.map +0 -1
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import { jsx } from 'react/jsx-runtime';
|
|
1
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import { Scorecard } from './Scorecard';
|
|
3
|
-
import { useState } from 'react';
|
|
4
3
|
import { ScorecardContext } from './components';
|
|
4
|
+
import { useForm, FormProvider, Controller } from 'react-hook-form';
|
|
5
|
+
import { RHFCheckboxField } from '@hisptz/dhis2-ui';
|
|
6
|
+
import i18n from '@dhis2/d2-i18n';
|
|
5
7
|
|
|
6
8
|
const config = {
|
|
7
|
-
additionalLabels: ["
|
|
8
|
-
customHeader:
|
|
9
|
+
additionalLabels: ["Data label"],
|
|
10
|
+
customHeader: "<p>W</p>\n",
|
|
9
11
|
dataSelection: {
|
|
10
12
|
dataGroups: [
|
|
11
13
|
{
|
|
@@ -16,34 +18,35 @@ const config = {
|
|
|
16
18
|
displayArrows: true,
|
|
17
19
|
effectiveGap: 5,
|
|
18
20
|
highIsGood: true,
|
|
19
|
-
id: "
|
|
20
|
-
label: "
|
|
21
|
+
id: "EzE8xZ31zfC",
|
|
22
|
+
label: "Availability of Vaccines: BCG (no stockout)",
|
|
21
23
|
legends: [
|
|
22
24
|
{
|
|
23
25
|
endValue: 100,
|
|
24
|
-
id: "
|
|
26
|
+
id: "XWUMmCmeM6o",
|
|
25
27
|
legendDefinitionId: "#008000",
|
|
26
|
-
startValue:
|
|
28
|
+
startValue: 80
|
|
27
29
|
},
|
|
28
30
|
{
|
|
29
|
-
endValue:
|
|
30
|
-
id: "
|
|
31
|
+
endValue: 80,
|
|
32
|
+
id: "TOey7YmIgVW",
|
|
31
33
|
legendDefinitionId: "#FFFF00",
|
|
32
|
-
startValue:
|
|
34
|
+
startValue: 34
|
|
33
35
|
},
|
|
34
36
|
{
|
|
35
|
-
endValue:
|
|
36
|
-
id: "
|
|
37
|
+
endValue: 34,
|
|
38
|
+
id: "PeTnkJSrh0N",
|
|
37
39
|
legendDefinitionId: "#FF0000",
|
|
38
40
|
startValue: 1
|
|
39
41
|
}
|
|
40
42
|
],
|
|
43
|
+
name: "Availability of Vaccines: BCG (no stockout)",
|
|
41
44
|
showColors: true,
|
|
42
|
-
type: "
|
|
45
|
+
type: "indicator",
|
|
43
46
|
weight: 100
|
|
44
47
|
}
|
|
45
48
|
],
|
|
46
|
-
id:
|
|
49
|
+
id: 3
|
|
47
50
|
},
|
|
48
51
|
{
|
|
49
52
|
dataSources: [
|
|
@@ -51,34 +54,35 @@ const config = {
|
|
|
51
54
|
displayArrows: true,
|
|
52
55
|
effectiveGap: 5,
|
|
53
56
|
highIsGood: true,
|
|
54
|
-
id: "
|
|
55
|
-
label: "
|
|
57
|
+
id: "uNau1zjH08I",
|
|
58
|
+
label: "Availability of Vaccines DPT (no stockout)",
|
|
56
59
|
legends: [
|
|
57
60
|
{
|
|
58
61
|
endValue: 100,
|
|
59
|
-
id: "
|
|
62
|
+
id: "BwTObmlCQJ9",
|
|
60
63
|
legendDefinitionId: "#008000",
|
|
61
64
|
startValue: 67
|
|
62
65
|
},
|
|
63
66
|
{
|
|
64
67
|
endValue: 67,
|
|
65
|
-
id: "
|
|
68
|
+
id: "VBf0tTk0FAg",
|
|
66
69
|
legendDefinitionId: "#FFFF00",
|
|
67
70
|
startValue: 34
|
|
68
71
|
},
|
|
69
72
|
{
|
|
70
73
|
endValue: 34,
|
|
71
|
-
id: "
|
|
74
|
+
id: "Bi2wvoRTFtg",
|
|
72
75
|
legendDefinitionId: "#FF0000",
|
|
73
76
|
startValue: 1
|
|
74
77
|
}
|
|
75
78
|
],
|
|
79
|
+
name: "Availability of Vaccines DPT (no stockout)",
|
|
76
80
|
showColors: true,
|
|
77
|
-
type: "
|
|
81
|
+
type: "indicator",
|
|
78
82
|
weight: 100
|
|
79
83
|
}
|
|
80
84
|
],
|
|
81
|
-
id:
|
|
85
|
+
id: 6
|
|
82
86
|
},
|
|
83
87
|
{
|
|
84
88
|
dataSources: [
|
|
@@ -86,79 +90,71 @@ const config = {
|
|
|
86
90
|
displayArrows: true,
|
|
87
91
|
effectiveGap: 5,
|
|
88
92
|
highIsGood: true,
|
|
89
|
-
id: "
|
|
90
|
-
label: "
|
|
93
|
+
id: "Dca85UJ7O40",
|
|
94
|
+
label: "DPT1 coverage",
|
|
91
95
|
legends: [
|
|
92
96
|
{
|
|
93
97
|
endValue: 100,
|
|
94
|
-
id: "
|
|
98
|
+
id: "uClcTQnvGjo",
|
|
95
99
|
legendDefinitionId: "#008000",
|
|
96
100
|
startValue: 67
|
|
97
101
|
},
|
|
98
102
|
{
|
|
99
103
|
endValue: 67,
|
|
100
|
-
id: "
|
|
104
|
+
id: "VM7MrPcAzVY",
|
|
101
105
|
legendDefinitionId: "#FFFF00",
|
|
102
106
|
startValue: 34
|
|
103
107
|
},
|
|
104
108
|
{
|
|
105
109
|
endValue: 34,
|
|
106
|
-
id: "
|
|
110
|
+
id: "IgXxzTrOdfA",
|
|
107
111
|
legendDefinitionId: "#FF0000",
|
|
108
112
|
startValue: 1
|
|
109
113
|
}
|
|
110
114
|
],
|
|
115
|
+
name: "DPT1 coverage",
|
|
111
116
|
showColors: true,
|
|
112
|
-
type: "
|
|
117
|
+
type: "indicator",
|
|
113
118
|
weight: 100
|
|
114
119
|
}
|
|
115
120
|
],
|
|
116
|
-
id:
|
|
117
|
-
}
|
|
118
|
-
],
|
|
119
|
-
id: 1,
|
|
120
|
-
style: {
|
|
121
|
-
backgroundColor: "#ffffff",
|
|
122
|
-
color: "#000000"
|
|
123
|
-
},
|
|
124
|
-
title: "Pre-pregnancy and Adolescent"
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
dataHolders: [
|
|
121
|
+
id: 10
|
|
122
|
+
},
|
|
128
123
|
{
|
|
129
124
|
dataSources: [
|
|
130
125
|
{
|
|
131
126
|
displayArrows: true,
|
|
132
127
|
effectiveGap: 5,
|
|
133
128
|
highIsGood: true,
|
|
134
|
-
id: "
|
|
135
|
-
label: "
|
|
129
|
+
id: "YT5UD0H7875",
|
|
130
|
+
label: "DPT2 Coverage",
|
|
136
131
|
legends: [
|
|
137
132
|
{
|
|
138
133
|
endValue: 100,
|
|
139
|
-
id: "
|
|
134
|
+
id: "AvNvnIHhPL9",
|
|
140
135
|
legendDefinitionId: "#008000",
|
|
141
136
|
startValue: 67
|
|
142
137
|
},
|
|
143
138
|
{
|
|
144
139
|
endValue: 67,
|
|
145
|
-
id: "
|
|
140
|
+
id: "L6SjYX2Ob7X",
|
|
146
141
|
legendDefinitionId: "#FFFF00",
|
|
147
142
|
startValue: 34
|
|
148
143
|
},
|
|
149
144
|
{
|
|
150
145
|
endValue: 34,
|
|
151
|
-
id: "
|
|
146
|
+
id: "FDlibzlPjKa",
|
|
152
147
|
legendDefinitionId: "#FF0000",
|
|
153
148
|
startValue: 1
|
|
154
149
|
}
|
|
155
150
|
],
|
|
151
|
+
name: "DPT2 Coverage",
|
|
156
152
|
showColors: true,
|
|
157
|
-
type: "
|
|
153
|
+
type: "indicator",
|
|
158
154
|
weight: 100
|
|
159
155
|
}
|
|
160
156
|
],
|
|
161
|
-
id:
|
|
157
|
+
id: 4
|
|
162
158
|
},
|
|
163
159
|
{
|
|
164
160
|
dataSources: [
|
|
@@ -166,79 +162,71 @@ const config = {
|
|
|
166
162
|
displayArrows: true,
|
|
167
163
|
effectiveGap: 5,
|
|
168
164
|
highIsGood: true,
|
|
169
|
-
id: "
|
|
170
|
-
label: "
|
|
165
|
+
id: "E31SemmmFGb",
|
|
166
|
+
label: "DPT3 coverage",
|
|
171
167
|
legends: [
|
|
172
168
|
{
|
|
173
169
|
endValue: 100,
|
|
174
|
-
id: "
|
|
170
|
+
id: "vIzqi9I5U5W",
|
|
175
171
|
legendDefinitionId: "#008000",
|
|
176
172
|
startValue: 67
|
|
177
173
|
},
|
|
178
174
|
{
|
|
179
175
|
endValue: 67,
|
|
180
|
-
id: "
|
|
176
|
+
id: "p8iuaIFYrVh",
|
|
181
177
|
legendDefinitionId: "#FFFF00",
|
|
182
178
|
startValue: 34
|
|
183
179
|
},
|
|
184
180
|
{
|
|
185
181
|
endValue: 34,
|
|
186
|
-
id: "
|
|
182
|
+
id: "IAawVVFlrHW",
|
|
187
183
|
legendDefinitionId: "#FF0000",
|
|
188
184
|
startValue: 1
|
|
189
185
|
}
|
|
190
186
|
],
|
|
187
|
+
name: "DPT3 coverage",
|
|
191
188
|
showColors: true,
|
|
192
|
-
type: "
|
|
189
|
+
type: "indicator",
|
|
193
190
|
weight: 100
|
|
194
191
|
}
|
|
195
192
|
],
|
|
196
|
-
id:
|
|
197
|
-
}
|
|
198
|
-
],
|
|
199
|
-
id: 2,
|
|
200
|
-
style: {
|
|
201
|
-
backgroundColor: "#ffffff",
|
|
202
|
-
color: "#000000"
|
|
203
|
-
},
|
|
204
|
-
title: "Birth"
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
dataHolders: [
|
|
193
|
+
id: 9
|
|
194
|
+
},
|
|
208
195
|
{
|
|
209
196
|
dataSources: [
|
|
210
197
|
{
|
|
211
198
|
displayArrows: true,
|
|
212
199
|
effectiveGap: 5,
|
|
213
200
|
highIsGood: true,
|
|
214
|
-
id: "
|
|
215
|
-
label: "
|
|
201
|
+
id: "k7S2WEEZeWO",
|
|
202
|
+
label: "BCG coverage",
|
|
216
203
|
legends: [
|
|
217
204
|
{
|
|
218
205
|
endValue: 100,
|
|
219
|
-
id: "
|
|
206
|
+
id: "HTxdj0lqOni",
|
|
220
207
|
legendDefinitionId: "#008000",
|
|
221
208
|
startValue: 67
|
|
222
209
|
},
|
|
223
210
|
{
|
|
224
211
|
endValue: 67,
|
|
225
|
-
id: "
|
|
212
|
+
id: "QDRGsOkTFRo",
|
|
226
213
|
legendDefinitionId: "#FFFF00",
|
|
227
214
|
startValue: 34
|
|
228
215
|
},
|
|
229
216
|
{
|
|
230
217
|
endValue: 34,
|
|
231
|
-
id: "
|
|
218
|
+
id: "ijCUM3ePjXe",
|
|
232
219
|
legendDefinitionId: "#FF0000",
|
|
233
220
|
startValue: 1
|
|
234
221
|
}
|
|
235
222
|
],
|
|
223
|
+
name: "BCG coverage",
|
|
236
224
|
showColors: true,
|
|
237
|
-
type: "
|
|
225
|
+
type: "indicator",
|
|
238
226
|
weight: 100
|
|
239
227
|
}
|
|
240
228
|
],
|
|
241
|
-
id:
|
|
229
|
+
id: 5
|
|
242
230
|
},
|
|
243
231
|
{
|
|
244
232
|
dataSources: [
|
|
@@ -246,176 +234,90 @@ const config = {
|
|
|
246
234
|
displayArrows: true,
|
|
247
235
|
effectiveGap: 5,
|
|
248
236
|
highIsGood: true,
|
|
249
|
-
id: "
|
|
250
|
-
label: "
|
|
237
|
+
id: "wpgvPjYTBba",
|
|
238
|
+
label: "MCV1 Coverage",
|
|
251
239
|
legends: [
|
|
252
240
|
{
|
|
253
241
|
endValue: 100,
|
|
254
|
-
id: "
|
|
242
|
+
id: "cORYIx7oEkM",
|
|
255
243
|
legendDefinitionId: "#008000",
|
|
256
|
-
startValue:
|
|
244
|
+
startValue: 80
|
|
257
245
|
},
|
|
258
246
|
{
|
|
259
|
-
endValue:
|
|
260
|
-
id: "
|
|
247
|
+
endValue: 80,
|
|
248
|
+
id: "yCulcK3litW",
|
|
261
249
|
legendDefinitionId: "#FFFF00",
|
|
262
250
|
startValue: 34
|
|
263
251
|
},
|
|
264
252
|
{
|
|
265
253
|
endValue: 34,
|
|
266
|
-
id: "
|
|
254
|
+
id: "uHU6IMpweu1",
|
|
267
255
|
legendDefinitionId: "#FF0000",
|
|
268
256
|
startValue: 1
|
|
269
257
|
}
|
|
270
258
|
],
|
|
259
|
+
name: "MCV1 Coverage",
|
|
271
260
|
showColors: true,
|
|
272
|
-
type: "
|
|
261
|
+
type: "indicator",
|
|
273
262
|
weight: 100
|
|
274
263
|
}
|
|
275
264
|
],
|
|
276
|
-
id:
|
|
277
|
-
}
|
|
278
|
-
],
|
|
279
|
-
id: 3,
|
|
280
|
-
style: {
|
|
281
|
-
backgroundColor: "#ffffff",
|
|
282
|
-
color: "#000000"
|
|
283
|
-
},
|
|
284
|
-
title: "PNC"
|
|
285
|
-
},
|
|
286
|
-
{
|
|
287
|
-
dataHolders: [
|
|
265
|
+
id: 8
|
|
266
|
+
},
|
|
288
267
|
{
|
|
289
268
|
dataSources: [
|
|
290
269
|
{
|
|
291
270
|
displayArrows: true,
|
|
292
271
|
effectiveGap: 5,
|
|
293
272
|
highIsGood: true,
|
|
294
|
-
id: "
|
|
295
|
-
label: "
|
|
273
|
+
id: "TGFBdsVUobf",
|
|
274
|
+
label: "Fully Immunized",
|
|
296
275
|
legends: [
|
|
297
276
|
{
|
|
298
277
|
endValue: 100,
|
|
299
|
-
id: "
|
|
278
|
+
id: "aGVS5sqcRd4",
|
|
300
279
|
legendDefinitionId: "#008000",
|
|
301
280
|
startValue: 67
|
|
302
281
|
},
|
|
303
282
|
{
|
|
304
283
|
endValue: 67,
|
|
305
|
-
id: "
|
|
284
|
+
id: "EKIY64Ferh3",
|
|
306
285
|
legendDefinitionId: "#FFFF00",
|
|
307
286
|
startValue: 34
|
|
308
287
|
},
|
|
309
288
|
{
|
|
310
289
|
endValue: 34,
|
|
311
|
-
id: "
|
|
290
|
+
id: "EfSaPcUQvUA",
|
|
312
291
|
legendDefinitionId: "#FF0000",
|
|
313
292
|
startValue: 1
|
|
314
293
|
}
|
|
315
294
|
],
|
|
316
|
-
|
|
317
|
-
type: "dataElement",
|
|
318
|
-
weight: 100
|
|
319
|
-
}
|
|
320
|
-
],
|
|
321
|
-
id: 12
|
|
322
|
-
}
|
|
323
|
-
],
|
|
324
|
-
id: 4,
|
|
325
|
-
style: {
|
|
326
|
-
backgroundColor: "#ffffff",
|
|
327
|
-
color: "#000000"
|
|
328
|
-
},
|
|
329
|
-
title: "Childhood"
|
|
330
|
-
},
|
|
331
|
-
{
|
|
332
|
-
dataHolders: [
|
|
333
|
-
{
|
|
334
|
-
dataSources: [
|
|
335
|
-
{
|
|
336
|
-
description: "Proportion of the target population (women of reproductive age) within 5km or 1 hour travel time to the nearest health facility offering FANC",
|
|
337
|
-
displayArrows: true,
|
|
338
|
-
effectiveGap: 5,
|
|
339
|
-
highIsGood: true,
|
|
340
|
-
id: "BvG8P80QxqZ",
|
|
341
|
-
label: "Access to ANC Services",
|
|
342
|
-
legends: [
|
|
343
|
-
{
|
|
344
|
-
endValue: 33,
|
|
345
|
-
id: "Sq1tv5ayiMR",
|
|
346
|
-
legendDefinitionId: "#FF0000",
|
|
347
|
-
startValue: 0
|
|
348
|
-
},
|
|
349
|
-
{
|
|
350
|
-
endValue: 66,
|
|
351
|
-
id: "BHQ7EzH9bsO",
|
|
352
|
-
legendDefinitionId: "#FFFF00",
|
|
353
|
-
startValue: 33
|
|
354
|
-
},
|
|
355
|
-
{
|
|
356
|
-
endValue: 100,
|
|
357
|
-
id: "WpBcBEAdp6B",
|
|
358
|
-
legendDefinitionId: "#268626",
|
|
359
|
-
startValue: 66
|
|
360
|
-
}
|
|
361
|
-
],
|
|
295
|
+
name: "Fully Immunized",
|
|
362
296
|
showColors: true,
|
|
363
297
|
type: "indicator",
|
|
364
298
|
weight: 100
|
|
365
299
|
}
|
|
366
300
|
],
|
|
367
|
-
id:
|
|
301
|
+
id: 7
|
|
368
302
|
}
|
|
369
303
|
],
|
|
370
|
-
id:
|
|
304
|
+
id: 1,
|
|
371
305
|
style: {
|
|
372
|
-
backgroundColor: "#
|
|
306
|
+
backgroundColor: "#ffffff",
|
|
373
307
|
color: "#000000"
|
|
374
308
|
},
|
|
375
|
-
title: "
|
|
309
|
+
title: "Default"
|
|
376
310
|
}
|
|
377
311
|
]
|
|
378
312
|
},
|
|
379
|
-
description: "
|
|
380
|
-
highlightedIndicators: [
|
|
381
|
-
|
|
382
|
-
description: "Proportion of the target population (women of reproductive age) within 5km or 1 hour travel time to the nearest health facility offering FANC",
|
|
383
|
-
displayArrows: true,
|
|
384
|
-
effectiveGap: 5,
|
|
385
|
-
highIsGood: true,
|
|
386
|
-
id: "BvG8P80QxqZ",
|
|
387
|
-
label: "Access to ANC Services",
|
|
388
|
-
legends: [
|
|
389
|
-
{
|
|
390
|
-
endValue: 33,
|
|
391
|
-
id: "XG1msX1XDCF",
|
|
392
|
-
legendDefinitionId: "#FF0000",
|
|
393
|
-
startValue: 0
|
|
394
|
-
},
|
|
395
|
-
{
|
|
396
|
-
endValue: 66,
|
|
397
|
-
id: "PwWQxx0iVrw",
|
|
398
|
-
legendDefinitionId: "#FFFF00",
|
|
399
|
-
startValue: 33
|
|
400
|
-
},
|
|
401
|
-
{
|
|
402
|
-
endValue: 100,
|
|
403
|
-
id: "Ilaj6l1Wcbk",
|
|
404
|
-
legendDefinitionId: "#268626",
|
|
405
|
-
startValue: 66
|
|
406
|
-
}
|
|
407
|
-
],
|
|
408
|
-
showColors: true,
|
|
409
|
-
type: "indicator",
|
|
410
|
-
weight: 100
|
|
411
|
-
}
|
|
412
|
-
],
|
|
413
|
-
id: "b9p4p2eLEgS",
|
|
313
|
+
description: "Immunization scorecard",
|
|
314
|
+
highlightedIndicators: [],
|
|
315
|
+
id: "VQ4ipFr7YHx",
|
|
414
316
|
legendDefinitions: [
|
|
415
317
|
{
|
|
416
|
-
color: "#
|
|
417
|
-
id: "#
|
|
418
|
-
name: "
|
|
318
|
+
color: "#008000",
|
|
319
|
+
id: "#008000",
|
|
320
|
+
name: "Target achieved / on track"
|
|
419
321
|
},
|
|
420
322
|
{
|
|
421
323
|
color: "#FFFF00",
|
|
@@ -441,613 +343,14 @@ const config = {
|
|
|
441
343
|
}
|
|
442
344
|
],
|
|
443
345
|
options: {
|
|
444
|
-
averageColumn: true,
|
|
445
|
-
averageDisplayType: "ALL",
|
|
446
|
-
averageRow: true,
|
|
447
|
-
emptyRows: true,
|
|
448
|
-
highlightedIndicators: false,
|
|
449
|
-
itemNumber: true,
|
|
450
|
-
legend: true,
|
|
451
|
-
showHierarchy: false,
|
|
452
|
-
title: true,
|
|
453
|
-
showDataInRows: false,
|
|
454
|
-
arrows: true,
|
|
455
|
-
disableExpanding: false
|
|
456
|
-
},
|
|
457
|
-
orgUnitSelection: {
|
|
458
|
-
groups: [],
|
|
459
|
-
levels: [],
|
|
460
|
-
orgUnits: [],
|
|
461
|
-
userOrgUnit: true,
|
|
462
|
-
userSubUnit: true,
|
|
463
|
-
userSubX2Unit: true
|
|
464
|
-
},
|
|
465
|
-
periodSelection: {
|
|
466
|
-
periods: ["201811", "201809", "201810"].map((id) => ({ id })),
|
|
467
|
-
type: "Monthly"
|
|
468
|
-
},
|
|
469
|
-
subtitle: "",
|
|
470
|
-
title: "League Table: RMNCAH"
|
|
471
|
-
};
|
|
472
|
-
const linkedConfig = {
|
|
473
|
-
additionalLabels: [],
|
|
474
|
-
customHeader: '<p style="text-align: center;"><strong><span style="font-size: 14pt;">Reproductive Mother Newborn Child Adolescent Health Scorecard</span></strong></p>',
|
|
475
|
-
dataSelection: {
|
|
476
|
-
dataGroups: [
|
|
477
|
-
{
|
|
478
|
-
dataHolders: [
|
|
479
|
-
{
|
|
480
|
-
dataSources: [
|
|
481
|
-
{
|
|
482
|
-
displayArrows: true,
|
|
483
|
-
effectiveGap: 5,
|
|
484
|
-
highIsGood: true,
|
|
485
|
-
id: "UT1DJmtzyox",
|
|
486
|
-
label: "ANC 1st visit coverage (%)",
|
|
487
|
-
legends: {
|
|
488
|
-
BNQIkbGlA00: [
|
|
489
|
-
{
|
|
490
|
-
endValue: "100",
|
|
491
|
-
id: "KpYHhHJn6TW",
|
|
492
|
-
legendDefinitionId: "Hp7RQEOkeeI",
|
|
493
|
-
startValue: "66"
|
|
494
|
-
},
|
|
495
|
-
{
|
|
496
|
-
endValue: "66",
|
|
497
|
-
id: "D7p3mOofXV5",
|
|
498
|
-
legendDefinitionId: "Tdn0N0KCkfS",
|
|
499
|
-
startValue: "33"
|
|
500
|
-
},
|
|
501
|
-
{
|
|
502
|
-
endValue: "33",
|
|
503
|
-
id: "h53u0qtfWrm",
|
|
504
|
-
legendDefinitionId: "wvkMv3ABWbT",
|
|
505
|
-
startValue: "0"
|
|
506
|
-
}
|
|
507
|
-
],
|
|
508
|
-
P0QFTFfTl2X: [
|
|
509
|
-
{
|
|
510
|
-
endValue: "100",
|
|
511
|
-
id: "Gu1MEoKBM9z",
|
|
512
|
-
legendDefinitionId: "Hp7RQEOkeeI",
|
|
513
|
-
startValue: "66"
|
|
514
|
-
},
|
|
515
|
-
{
|
|
516
|
-
endValue: "66",
|
|
517
|
-
id: "Ov1gJoUyWGA",
|
|
518
|
-
legendDefinitionId: "Tdn0N0KCkfS",
|
|
519
|
-
startValue: "33"
|
|
520
|
-
},
|
|
521
|
-
{
|
|
522
|
-
endValue: "33",
|
|
523
|
-
id: "kdr4mFvCXeF",
|
|
524
|
-
legendDefinitionId: "wvkMv3ABWbT",
|
|
525
|
-
startValue: "0"
|
|
526
|
-
}
|
|
527
|
-
],
|
|
528
|
-
VJJOhuBJSJe: [
|
|
529
|
-
{
|
|
530
|
-
endValue: "100",
|
|
531
|
-
id: "ZRel5tdDTxP",
|
|
532
|
-
legendDefinitionId: "Hp7RQEOkeeI",
|
|
533
|
-
startValue: "66"
|
|
534
|
-
},
|
|
535
|
-
{
|
|
536
|
-
endValue: "66",
|
|
537
|
-
id: "ZdkqaQjk4dy",
|
|
538
|
-
legendDefinitionId: "Tdn0N0KCkfS",
|
|
539
|
-
startValue: "33"
|
|
540
|
-
},
|
|
541
|
-
{
|
|
542
|
-
endValue: "33",
|
|
543
|
-
id: "yHqYRGJTuZ7",
|
|
544
|
-
legendDefinitionId: "wvkMv3ABWbT",
|
|
545
|
-
startValue: "0"
|
|
546
|
-
}
|
|
547
|
-
],
|
|
548
|
-
ZqI1kKnH7ve: [
|
|
549
|
-
{
|
|
550
|
-
endValue: "100",
|
|
551
|
-
id: "M8SRVFU7qaJ",
|
|
552
|
-
legendDefinitionId: "Hp7RQEOkeeI",
|
|
553
|
-
startValue: "66"
|
|
554
|
-
},
|
|
555
|
-
{
|
|
556
|
-
endValue: "66",
|
|
557
|
-
id: "t0kMCebyKa3",
|
|
558
|
-
legendDefinitionId: "Tdn0N0KCkfS",
|
|
559
|
-
startValue: "33"
|
|
560
|
-
},
|
|
561
|
-
{
|
|
562
|
-
endValue: "33",
|
|
563
|
-
id: "qQWheNiAv5H",
|
|
564
|
-
legendDefinitionId: "wvkMv3ABWbT",
|
|
565
|
-
startValue: "0"
|
|
566
|
-
}
|
|
567
|
-
]
|
|
568
|
-
},
|
|
569
|
-
showColors: true,
|
|
570
|
-
type: "dataElement",
|
|
571
|
-
weight: 100
|
|
572
|
-
},
|
|
573
|
-
{
|
|
574
|
-
displayArrows: true,
|
|
575
|
-
effectiveGap: 5,
|
|
576
|
-
highIsGood: true,
|
|
577
|
-
id: "FgNnsRgCs8r",
|
|
578
|
-
label: "ANC 4th visit coverage (%)",
|
|
579
|
-
legends: {
|
|
580
|
-
BNQIkbGlA00: [
|
|
581
|
-
{
|
|
582
|
-
endValue: "100",
|
|
583
|
-
id: "XMzI6YTRjnh",
|
|
584
|
-
legendDefinitionId: "Hp7RQEOkeeI",
|
|
585
|
-
startValue: "66"
|
|
586
|
-
},
|
|
587
|
-
{
|
|
588
|
-
endValue: "66",
|
|
589
|
-
id: "XaSA3Wbd8ev",
|
|
590
|
-
legendDefinitionId: "Tdn0N0KCkfS",
|
|
591
|
-
startValue: "33"
|
|
592
|
-
},
|
|
593
|
-
{
|
|
594
|
-
endValue: "33",
|
|
595
|
-
id: "zTVnWeobd1W",
|
|
596
|
-
legendDefinitionId: "wvkMv3ABWbT",
|
|
597
|
-
startValue: "0"
|
|
598
|
-
}
|
|
599
|
-
],
|
|
600
|
-
P0QFTFfTl2X: [
|
|
601
|
-
{
|
|
602
|
-
endValue: "100",
|
|
603
|
-
id: "uMqW1iTVZbk",
|
|
604
|
-
legendDefinitionId: "Hp7RQEOkeeI",
|
|
605
|
-
startValue: "66"
|
|
606
|
-
},
|
|
607
|
-
{
|
|
608
|
-
endValue: "66",
|
|
609
|
-
id: "KF017pCID2N",
|
|
610
|
-
legendDefinitionId: "Tdn0N0KCkfS",
|
|
611
|
-
startValue: "33"
|
|
612
|
-
},
|
|
613
|
-
{
|
|
614
|
-
endValue: "33",
|
|
615
|
-
id: "L3PNXKkZlKn",
|
|
616
|
-
legendDefinitionId: "wvkMv3ABWbT",
|
|
617
|
-
startValue: "0"
|
|
618
|
-
}
|
|
619
|
-
],
|
|
620
|
-
VJJOhuBJSJe: [
|
|
621
|
-
{
|
|
622
|
-
endValue: "100",
|
|
623
|
-
id: "lpPPAVPWAHa",
|
|
624
|
-
legendDefinitionId: "Hp7RQEOkeeI",
|
|
625
|
-
startValue: "66"
|
|
626
|
-
},
|
|
627
|
-
{
|
|
628
|
-
endValue: "66",
|
|
629
|
-
id: "qtzhYa0YOZe",
|
|
630
|
-
legendDefinitionId: "Tdn0N0KCkfS",
|
|
631
|
-
startValue: "33"
|
|
632
|
-
},
|
|
633
|
-
{
|
|
634
|
-
endValue: "33",
|
|
635
|
-
id: "rcPPIBAegMP",
|
|
636
|
-
legendDefinitionId: "wvkMv3ABWbT",
|
|
637
|
-
startValue: "0"
|
|
638
|
-
}
|
|
639
|
-
],
|
|
640
|
-
ZqI1kKnH7ve: [
|
|
641
|
-
{
|
|
642
|
-
endValue: "100",
|
|
643
|
-
id: "w31XD1NVKYc",
|
|
644
|
-
legendDefinitionId: "Hp7RQEOkeeI",
|
|
645
|
-
startValue: "66"
|
|
646
|
-
},
|
|
647
|
-
{
|
|
648
|
-
endValue: "66",
|
|
649
|
-
id: "Yka97h8Gp5S",
|
|
650
|
-
legendDefinitionId: "Tdn0N0KCkfS",
|
|
651
|
-
startValue: "33"
|
|
652
|
-
},
|
|
653
|
-
{
|
|
654
|
-
endValue: "33",
|
|
655
|
-
id: "rq5CQddHPzj",
|
|
656
|
-
legendDefinitionId: "wvkMv3ABWbT",
|
|
657
|
-
startValue: "0"
|
|
658
|
-
}
|
|
659
|
-
]
|
|
660
|
-
},
|
|
661
|
-
showColors: true,
|
|
662
|
-
type: "dataElement",
|
|
663
|
-
weight: 100
|
|
664
|
-
}
|
|
665
|
-
],
|
|
666
|
-
id: "kJx1Eg83H1A"
|
|
667
|
-
}
|
|
668
|
-
],
|
|
669
|
-
id: "uRgQI4ArrDc",
|
|
670
|
-
style: {
|
|
671
|
-
backgroundColor: "#FFFFFF",
|
|
672
|
-
color: "#000000"
|
|
673
|
-
},
|
|
674
|
-
title: "ANC"
|
|
675
|
-
},
|
|
676
|
-
{
|
|
677
|
-
dataHolders: [
|
|
678
|
-
{
|
|
679
|
-
dataSources: [
|
|
680
|
-
{
|
|
681
|
-
displayArrows: true,
|
|
682
|
-
effectiveGap: 5,
|
|
683
|
-
highIsGood: true,
|
|
684
|
-
id: "S0IzYPGQLnN",
|
|
685
|
-
label: "PCV 3 coverage (%)",
|
|
686
|
-
legends: [
|
|
687
|
-
{
|
|
688
|
-
endValue: "100",
|
|
689
|
-
id: "bnLSP7FW4CD",
|
|
690
|
-
legendDefinitionId: "Hp7RQEOkeeI",
|
|
691
|
-
startValue: "66"
|
|
692
|
-
},
|
|
693
|
-
{
|
|
694
|
-
endValue: "66",
|
|
695
|
-
id: "eIQjXQYMwYF",
|
|
696
|
-
legendDefinitionId: "Tdn0N0KCkfS",
|
|
697
|
-
startValue: "33"
|
|
698
|
-
},
|
|
699
|
-
{
|
|
700
|
-
endValue: "33",
|
|
701
|
-
id: "eeXyZVN0FCX",
|
|
702
|
-
legendDefinitionId: "wvkMv3ABWbT",
|
|
703
|
-
startValue: "0"
|
|
704
|
-
}
|
|
705
|
-
],
|
|
706
|
-
showColors: true,
|
|
707
|
-
type: "dataElement",
|
|
708
|
-
weight: 100
|
|
709
|
-
},
|
|
710
|
-
{
|
|
711
|
-
displayArrows: true,
|
|
712
|
-
effectiveGap: 5,
|
|
713
|
-
highIsGood: true,
|
|
714
|
-
id: "ZNz5XzwJZK5",
|
|
715
|
-
label: "RMNCH IPTp1 coverage (%)",
|
|
716
|
-
legends: [
|
|
717
|
-
{
|
|
718
|
-
endValue: "100",
|
|
719
|
-
id: "M3O2zlFt2QR",
|
|
720
|
-
legendDefinitionId: "Hp7RQEOkeeI",
|
|
721
|
-
startValue: "66"
|
|
722
|
-
},
|
|
723
|
-
{
|
|
724
|
-
endValue: "66",
|
|
725
|
-
id: "XrYIKCaK5uO",
|
|
726
|
-
legendDefinitionId: "Tdn0N0KCkfS",
|
|
727
|
-
startValue: "33"
|
|
728
|
-
},
|
|
729
|
-
{
|
|
730
|
-
endValue: "33",
|
|
731
|
-
id: "yAfwEbfXWab",
|
|
732
|
-
legendDefinitionId: "wvkMv3ABWbT",
|
|
733
|
-
startValue: "0"
|
|
734
|
-
}
|
|
735
|
-
],
|
|
736
|
-
showColors: true,
|
|
737
|
-
type: "dataElement",
|
|
738
|
-
weight: 100
|
|
739
|
-
}
|
|
740
|
-
],
|
|
741
|
-
id: "kfl50Ej7lDu"
|
|
742
|
-
}
|
|
743
|
-
],
|
|
744
|
-
id: "QcZw8mJ1Rze",
|
|
745
|
-
style: {
|
|
746
|
-
backgroundColor: "#FFFFFF",
|
|
747
|
-
color: "#000000"
|
|
748
|
-
},
|
|
749
|
-
title: "Child Health"
|
|
750
|
-
},
|
|
751
|
-
{
|
|
752
|
-
dataHolders: [
|
|
753
|
-
{
|
|
754
|
-
dataSources: [
|
|
755
|
-
{
|
|
756
|
-
displayArrows: true,
|
|
757
|
-
effectiveGap: 5,
|
|
758
|
-
highIsGood: true,
|
|
759
|
-
id: "wc3XYCyuxyE",
|
|
760
|
-
label: "Post partum care coverage (within 2 days) (%)",
|
|
761
|
-
legends: [
|
|
762
|
-
{
|
|
763
|
-
endValue: "100",
|
|
764
|
-
id: "b3UiR0upygY",
|
|
765
|
-
legendDefinitionId: "Hp7RQEOkeeI",
|
|
766
|
-
startValue: "66"
|
|
767
|
-
},
|
|
768
|
-
{
|
|
769
|
-
endValue: "66",
|
|
770
|
-
id: "Qws2zJ6nnhO",
|
|
771
|
-
legendDefinitionId: "Tdn0N0KCkfS",
|
|
772
|
-
startValue: "33"
|
|
773
|
-
},
|
|
774
|
-
{
|
|
775
|
-
endValue: "33",
|
|
776
|
-
id: "EjYfDZUMrvh",
|
|
777
|
-
legendDefinitionId: "wvkMv3ABWbT",
|
|
778
|
-
startValue: "0"
|
|
779
|
-
}
|
|
780
|
-
],
|
|
781
|
-
showColors: true,
|
|
782
|
-
type: "dataElement",
|
|
783
|
-
weight: 100
|
|
784
|
-
},
|
|
785
|
-
{
|
|
786
|
-
displayArrows: true,
|
|
787
|
-
effectiveGap: 5,
|
|
788
|
-
highIsGood: true,
|
|
789
|
-
id: "NV6Xc9oGJZV",
|
|
790
|
-
label: "Breastfeeding within 1 hour after delivery (%)",
|
|
791
|
-
legends: [
|
|
792
|
-
{
|
|
793
|
-
endValue: "100",
|
|
794
|
-
id: "wqt6J8rW5Gg",
|
|
795
|
-
legendDefinitionId: "Hp7RQEOkeeI",
|
|
796
|
-
startValue: "66"
|
|
797
|
-
},
|
|
798
|
-
{
|
|
799
|
-
endValue: "66",
|
|
800
|
-
id: "BoXJK9Y7xfL",
|
|
801
|
-
legendDefinitionId: "Tdn0N0KCkfS",
|
|
802
|
-
startValue: "33"
|
|
803
|
-
},
|
|
804
|
-
{
|
|
805
|
-
endValue: "33",
|
|
806
|
-
id: "leioF1u23By",
|
|
807
|
-
legendDefinitionId: "wvkMv3ABWbT",
|
|
808
|
-
startValue: "0"
|
|
809
|
-
}
|
|
810
|
-
],
|
|
811
|
-
showColors: true,
|
|
812
|
-
type: "dataElement",
|
|
813
|
-
weight: 100
|
|
814
|
-
}
|
|
815
|
-
],
|
|
816
|
-
id: "w8XIm3FYgHf"
|
|
817
|
-
}
|
|
818
|
-
],
|
|
819
|
-
id: "UVvskRg3Q3O",
|
|
820
|
-
style: {
|
|
821
|
-
backgroundColor: "#FFFFFF",
|
|
822
|
-
color: "#000000"
|
|
823
|
-
},
|
|
824
|
-
title: "PNC"
|
|
825
|
-
},
|
|
826
|
-
{
|
|
827
|
-
dataHolders: [
|
|
828
|
-
{
|
|
829
|
-
dataSources: [
|
|
830
|
-
{
|
|
831
|
-
displayArrows: true,
|
|
832
|
-
effectiveGap: 5,
|
|
833
|
-
highIsGood: true,
|
|
834
|
-
id: "XXDXVGzvSx1",
|
|
835
|
-
label: "Caesarean section delivery rate (%)",
|
|
836
|
-
legends: [
|
|
837
|
-
{
|
|
838
|
-
endValue: "100",
|
|
839
|
-
id: "nYuMTV2paEd",
|
|
840
|
-
legendDefinitionId: "Hp7RQEOkeeI",
|
|
841
|
-
startValue: "66"
|
|
842
|
-
},
|
|
843
|
-
{
|
|
844
|
-
endValue: "66",
|
|
845
|
-
id: "iRmHVCt9uCF",
|
|
846
|
-
legendDefinitionId: "Tdn0N0KCkfS",
|
|
847
|
-
startValue: "33"
|
|
848
|
-
},
|
|
849
|
-
{
|
|
850
|
-
endValue: "33",
|
|
851
|
-
id: "oZC6QPZ7AAS",
|
|
852
|
-
legendDefinitionId: "wvkMv3ABWbT",
|
|
853
|
-
startValue: "0"
|
|
854
|
-
}
|
|
855
|
-
],
|
|
856
|
-
showColors: true,
|
|
857
|
-
type: "dataElement",
|
|
858
|
-
weight: 100
|
|
859
|
-
},
|
|
860
|
-
{
|
|
861
|
-
displayArrows: true,
|
|
862
|
-
effectiveGap: 5,
|
|
863
|
-
highIsGood: true,
|
|
864
|
-
id: "lMRhTK17SDQ",
|
|
865
|
-
label: "Institutional delivery rate (%)",
|
|
866
|
-
legends: {
|
|
867
|
-
BNQIkbGlA00: [
|
|
868
|
-
{
|
|
869
|
-
endValue: "100",
|
|
870
|
-
id: "mOYx4YWdhVl",
|
|
871
|
-
legendDefinitionId: "Hp7RQEOkeeI",
|
|
872
|
-
startValue: "66"
|
|
873
|
-
},
|
|
874
|
-
{
|
|
875
|
-
endValue: "66",
|
|
876
|
-
id: "gxG34EbioX8",
|
|
877
|
-
legendDefinitionId: "Tdn0N0KCkfS",
|
|
878
|
-
startValue: "33"
|
|
879
|
-
},
|
|
880
|
-
{
|
|
881
|
-
endValue: "33",
|
|
882
|
-
id: "MBAKh3ZG2dK",
|
|
883
|
-
legendDefinitionId: "wvkMv3ABWbT",
|
|
884
|
-
startValue: "0"
|
|
885
|
-
}
|
|
886
|
-
],
|
|
887
|
-
P0QFTFfTl2X: [
|
|
888
|
-
{
|
|
889
|
-
endValue: "100",
|
|
890
|
-
id: "MmQldQ7jgAH",
|
|
891
|
-
legendDefinitionId: "Hp7RQEOkeeI",
|
|
892
|
-
startValue: "66"
|
|
893
|
-
},
|
|
894
|
-
{
|
|
895
|
-
endValue: "66",
|
|
896
|
-
id: "WF1kso6rvDr",
|
|
897
|
-
legendDefinitionId: "Tdn0N0KCkfS",
|
|
898
|
-
startValue: "33"
|
|
899
|
-
},
|
|
900
|
-
{
|
|
901
|
-
endValue: "33",
|
|
902
|
-
id: "JcaFJoC6kNi",
|
|
903
|
-
legendDefinitionId: "wvkMv3ABWbT",
|
|
904
|
-
startValue: "0"
|
|
905
|
-
}
|
|
906
|
-
],
|
|
907
|
-
VJJOhuBJSJe: [
|
|
908
|
-
{
|
|
909
|
-
endValue: "100",
|
|
910
|
-
id: "L07Gb3JDHVS",
|
|
911
|
-
legendDefinitionId: "Hp7RQEOkeeI",
|
|
912
|
-
startValue: "66"
|
|
913
|
-
},
|
|
914
|
-
{
|
|
915
|
-
endValue: "66",
|
|
916
|
-
id: "jZ9fu7sOQDr",
|
|
917
|
-
legendDefinitionId: "Tdn0N0KCkfS",
|
|
918
|
-
startValue: "33"
|
|
919
|
-
},
|
|
920
|
-
{
|
|
921
|
-
endValue: "33",
|
|
922
|
-
id: "EoTSwqHRfZV",
|
|
923
|
-
legendDefinitionId: "wvkMv3ABWbT",
|
|
924
|
-
startValue: "0"
|
|
925
|
-
}
|
|
926
|
-
],
|
|
927
|
-
ZqI1kKnH7ve: [
|
|
928
|
-
{
|
|
929
|
-
endValue: "100",
|
|
930
|
-
id: "CO0eiIoCRty",
|
|
931
|
-
legendDefinitionId: "Hp7RQEOkeeI",
|
|
932
|
-
startValue: "66"
|
|
933
|
-
},
|
|
934
|
-
{
|
|
935
|
-
endValue: "66",
|
|
936
|
-
id: "YWySiVblPtQ",
|
|
937
|
-
legendDefinitionId: "Tdn0N0KCkfS",
|
|
938
|
-
startValue: "33"
|
|
939
|
-
},
|
|
940
|
-
{
|
|
941
|
-
endValue: "33",
|
|
942
|
-
id: "paJxvmioynV",
|
|
943
|
-
legendDefinitionId: "wvkMv3ABWbT",
|
|
944
|
-
startValue: "0"
|
|
945
|
-
}
|
|
946
|
-
]
|
|
947
|
-
},
|
|
948
|
-
showColors: true,
|
|
949
|
-
type: "dataElement",
|
|
950
|
-
weight: 100
|
|
951
|
-
}
|
|
952
|
-
],
|
|
953
|
-
id: "yZsI8HZOKab"
|
|
954
|
-
}
|
|
955
|
-
],
|
|
956
|
-
id: "erF3HyaFtYs",
|
|
957
|
-
style: {
|
|
958
|
-
backgroundColor: "#FFFFFF",
|
|
959
|
-
color: "#000000"
|
|
960
|
-
},
|
|
961
|
-
title: "Birth"
|
|
962
|
-
}
|
|
963
|
-
]
|
|
964
|
-
},
|
|
965
|
-
description: "Reproductive Mother Newborn Child Adolescent Health Score Card",
|
|
966
|
-
highlightedIndicators: [
|
|
967
|
-
{
|
|
968
|
-
displayArrows: true,
|
|
969
|
-
effectiveGap: 5,
|
|
970
|
-
highIsGood: true,
|
|
971
|
-
id: "BvG8P80QxqZ",
|
|
972
|
-
label: "Access to ANC Services",
|
|
973
|
-
legends: [
|
|
974
|
-
{
|
|
975
|
-
endValue: "100",
|
|
976
|
-
id: "gpxLYDFnZmu",
|
|
977
|
-
legendDefinitionId: "Hp7RQEOkeeI",
|
|
978
|
-
startValue: "80"
|
|
979
|
-
},
|
|
980
|
-
{
|
|
981
|
-
endValue: "80",
|
|
982
|
-
id: "nG6xsue9WBm",
|
|
983
|
-
legendDefinitionId: "Tdn0N0KCkfS",
|
|
984
|
-
startValue: "60"
|
|
985
|
-
},
|
|
986
|
-
{
|
|
987
|
-
endValue: "60",
|
|
988
|
-
id: "UeAJV56yLPg",
|
|
989
|
-
legendDefinitionId: "wvkMv3ABWbT",
|
|
990
|
-
startValue: "40"
|
|
991
|
-
},
|
|
992
|
-
{
|
|
993
|
-
endValue: "40",
|
|
994
|
-
id: "Gop7mo2IUdC",
|
|
995
|
-
legendDefinitionId: "N/A",
|
|
996
|
-
startValue: "20"
|
|
997
|
-
},
|
|
998
|
-
{
|
|
999
|
-
endValue: "20",
|
|
1000
|
-
id: "RE0ln0cImOf",
|
|
1001
|
-
legendDefinitionId: "No Data",
|
|
1002
|
-
startValue: "0"
|
|
1003
|
-
}
|
|
1004
|
-
],
|
|
1005
|
-
showColors: true,
|
|
1006
|
-
type: "indicator",
|
|
1007
|
-
weight: 100
|
|
1008
|
-
}
|
|
1009
|
-
],
|
|
1010
|
-
id: "KKQrggIIOlT",
|
|
1011
|
-
legendDefinitions: [
|
|
1012
|
-
{
|
|
1013
|
-
color: "#008000",
|
|
1014
|
-
id: "Hp7RQEOkeeI",
|
|
1015
|
-
name: "Target Reached/ On Track"
|
|
1016
|
-
},
|
|
1017
|
-
{
|
|
1018
|
-
color: "#FFFF00",
|
|
1019
|
-
id: "Tdn0N0KCkfS",
|
|
1020
|
-
name: "Progress, but more effort required"
|
|
1021
|
-
},
|
|
1022
|
-
{
|
|
1023
|
-
color: "#FF0000",
|
|
1024
|
-
id: "wvkMv3ABWbT",
|
|
1025
|
-
name: "Not on track"
|
|
1026
|
-
},
|
|
1027
|
-
{
|
|
1028
|
-
color: "#D3D3D3",
|
|
1029
|
-
id: "N/A",
|
|
1030
|
-
isDefault: true,
|
|
1031
|
-
name: "N/A"
|
|
1032
|
-
},
|
|
1033
|
-
{
|
|
1034
|
-
color: "#FFFFFF",
|
|
1035
|
-
id: "No Data",
|
|
1036
|
-
isDefault: true,
|
|
1037
|
-
name: "No Data"
|
|
1038
|
-
}
|
|
1039
|
-
],
|
|
1040
|
-
options: {
|
|
1041
|
-
arrows: true,
|
|
1042
346
|
averageColumn: false,
|
|
1043
347
|
averageDisplayType: "ALL",
|
|
1044
348
|
averageRow: false,
|
|
1045
|
-
emptyRows:
|
|
349
|
+
emptyRows: true,
|
|
1046
350
|
highlightedIndicators: false,
|
|
1047
351
|
itemNumber: true,
|
|
1048
352
|
legend: true,
|
|
1049
|
-
|
|
1050
|
-
showHierarchy: true,
|
|
353
|
+
showHierarchy: false,
|
|
1051
354
|
title: true
|
|
1052
355
|
},
|
|
1053
356
|
orgUnitSelection: {
|
|
@@ -1065,26 +368,70 @@ const linkedConfig = {
|
|
|
1065
368
|
periodSelection: {
|
|
1066
369
|
periods: [
|
|
1067
370
|
{
|
|
1068
|
-
id: "
|
|
371
|
+
id: "2018Q2"
|
|
1069
372
|
}
|
|
1070
|
-
]
|
|
373
|
+
],
|
|
374
|
+
type: "Quarterly"
|
|
375
|
+
},
|
|
376
|
+
sharing: {
|
|
377
|
+
external: false,
|
|
378
|
+
owner: "M5zQapPyTZI",
|
|
379
|
+
public: "------",
|
|
380
|
+
userGroups: {
|
|
381
|
+
ji3bRmgKwkS: {
|
|
382
|
+
access: "------",
|
|
383
|
+
id: "ji3bRmgKwkS"
|
|
384
|
+
}
|
|
385
|
+
},
|
|
386
|
+
users: {}
|
|
1071
387
|
},
|
|
1072
388
|
subtitle: "",
|
|
1073
|
-
title: "
|
|
389
|
+
title: "Immunization scorecard"
|
|
1074
390
|
};
|
|
1075
391
|
const meta = {
|
|
1076
392
|
title: "Scorecard",
|
|
1077
393
|
component: Scorecard,
|
|
1078
394
|
decorators: (Story, context) => {
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
395
|
+
const form = useForm({
|
|
396
|
+
defaultValues: {
|
|
397
|
+
options: {
|
|
398
|
+
...config.options,
|
|
399
|
+
averageRow: true,
|
|
400
|
+
averageColumn: true,
|
|
401
|
+
arrows: true,
|
|
402
|
+
averageDisplayType: "ALL"
|
|
403
|
+
},
|
|
404
|
+
orgUnitSelection: config.orgUnitSelection,
|
|
405
|
+
periodSelection: {
|
|
406
|
+
...config.periodSelection
|
|
407
|
+
}
|
|
408
|
+
}
|
|
1086
409
|
});
|
|
1087
|
-
return /* @__PURE__ */ jsx(
|
|
410
|
+
return /* @__PURE__ */ jsx(FormProvider, { ...form, children: /* @__PURE__ */ jsxs("div", { style: { maxWidth: 1400, overflowX: "auto" }, children: [
|
|
411
|
+
/* @__PURE__ */ jsx("div", { style: { display: "flex", gap: 16 }, children: /* @__PURE__ */ jsx(
|
|
412
|
+
RHFCheckboxField,
|
|
413
|
+
{
|
|
414
|
+
label: i18n.t("Show data in rows"),
|
|
415
|
+
name: "options.showDataInRows"
|
|
416
|
+
}
|
|
417
|
+
) }),
|
|
418
|
+
/* @__PURE__ */ jsx(
|
|
419
|
+
Controller,
|
|
420
|
+
{
|
|
421
|
+
render: ({ field }) => {
|
|
422
|
+
return /* @__PURE__ */ jsx(
|
|
423
|
+
ScorecardContext,
|
|
424
|
+
{
|
|
425
|
+
initialState: form.getValues(),
|
|
426
|
+
config,
|
|
427
|
+
children: /* @__PURE__ */ jsx(Story, { args: { ...context.args } })
|
|
428
|
+
}
|
|
429
|
+
);
|
|
430
|
+
},
|
|
431
|
+
name: "options"
|
|
432
|
+
}
|
|
433
|
+
)
|
|
434
|
+
] }) });
|
|
1088
435
|
}
|
|
1089
436
|
};
|
|
1090
437
|
var Scorecard_stories_default = meta;
|
|
@@ -1092,88 +439,13 @@ const Default = {
|
|
|
1092
439
|
name: "Default View",
|
|
1093
440
|
args: {
|
|
1094
441
|
config,
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
averageRow: true
|
|
1099
|
-
},
|
|
1100
|
-
orgUnitSelection: config.orgUnitSelection,
|
|
1101
|
-
periodSelection: config.periodSelection
|
|
1102
|
-
}
|
|
1103
|
-
}
|
|
1104
|
-
};
|
|
1105
|
-
const DataInRows = {
|
|
1106
|
-
name: "Data in rows view",
|
|
1107
|
-
args: {
|
|
1108
|
-
config,
|
|
1109
|
-
state: {
|
|
1110
|
-
options: {
|
|
1111
|
-
...config.options,
|
|
1112
|
-
showDataInRows: true
|
|
1113
|
-
},
|
|
1114
|
-
orgUnitSelection: config.orgUnitSelection,
|
|
1115
|
-
periodSelection: config.periodSelection
|
|
1116
|
-
}
|
|
1117
|
-
}
|
|
1118
|
-
};
|
|
1119
|
-
const FilteredAboveAverage = {
|
|
1120
|
-
name: "Filtered above average",
|
|
1121
|
-
args: {
|
|
1122
|
-
config,
|
|
1123
|
-
state: {
|
|
1124
|
-
options: {
|
|
1125
|
-
...config.options,
|
|
1126
|
-
showDataInRows: true,
|
|
1127
|
-
averageDisplayType: "ABOVE_AVERAGE"
|
|
1128
|
-
},
|
|
1129
|
-
orgUnitSelection: config.orgUnitSelection,
|
|
1130
|
-
periodSelection: config.periodSelection
|
|
1131
|
-
}
|
|
1132
|
-
}
|
|
1133
|
-
};
|
|
1134
|
-
const FilteredBelowAverage = {
|
|
1135
|
-
name: "Filtered below average",
|
|
1136
|
-
args: {
|
|
1137
|
-
config,
|
|
1138
|
-
state: {
|
|
1139
|
-
options: {
|
|
1140
|
-
...config.options,
|
|
1141
|
-
showDataInRows: true,
|
|
1142
|
-
averageDisplayType: "BELOW_AVERAGE"
|
|
1143
|
-
},
|
|
1144
|
-
orgUnitSelection: config.orgUnitSelection,
|
|
1145
|
-
periodSelection: config.periodSelection
|
|
1146
|
-
}
|
|
1147
|
-
}
|
|
1148
|
-
};
|
|
1149
|
-
const WithLinkedCells = {
|
|
1150
|
-
name: "With linked cells",
|
|
1151
|
-
args: {
|
|
1152
|
-
config: linkedConfig,
|
|
1153
|
-
state: {
|
|
1154
|
-
options: {
|
|
1155
|
-
...config.options
|
|
1156
|
-
},
|
|
1157
|
-
orgUnitSelection: linkedConfig.orgUnitSelection,
|
|
1158
|
-
periodSelection: linkedConfig.periodSelection
|
|
1159
|
-
}
|
|
1160
|
-
}
|
|
1161
|
-
};
|
|
1162
|
-
const WithLinkedCellsDataInRows = {
|
|
1163
|
-
name: "With linked cells and data in rows",
|
|
1164
|
-
args: {
|
|
1165
|
-
config: linkedConfig,
|
|
1166
|
-
state: {
|
|
1167
|
-
options: {
|
|
1168
|
-
...config.options,
|
|
1169
|
-
showDataInRows: true
|
|
1170
|
-
},
|
|
1171
|
-
orgUnitSelection: linkedConfig.orgUnitSelection,
|
|
1172
|
-
periodSelection: linkedConfig.periodSelection
|
|
442
|
+
initialState: {
|
|
443
|
+
...config,
|
|
444
|
+
periodSelection: {}
|
|
1173
445
|
}
|
|
1174
446
|
}
|
|
1175
447
|
};
|
|
1176
448
|
|
|
1177
|
-
export {
|
|
449
|
+
export { Default, Scorecard_stories_default as default };
|
|
1178
450
|
//# sourceMappingURL=out.js.map
|
|
1179
451
|
//# sourceMappingURL=Scorecard.stories.js.map
|