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