@hisptz/dhis2-scorecard 1.0.9 → 1.0.10
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/Scorecard.stories.js +10 -3
- package/dist/Scorecard.stories.js.map +1 -1
- package/dist/ScorecardPrintArea.stories.js +1 -1
- package/dist/ScorecardPrintArea.stories.js.map +1 -1
- package/dist/components/ScorecardPrint/components/ScorecardDownloadButton.js +23 -25
- package/dist/components/ScorecardPrint/components/ScorecardDownloadButton.js.map +1 -1
- package/dist/components/ScorecardPrint/components/ScorecardPreviewArea.js +17 -2
- package/dist/components/ScorecardPrint/components/ScorecardPreviewArea.js.map +1 -1
- package/dist/components/ScorecardTable/components/DataFooterCell.js +3 -0
- package/dist/components/ScorecardTable/components/DataFooterCell.js.map +1 -1
- package/dist/components/StateProvider.js +18 -2
- package/dist/components/StateProvider.js.map +1 -1
- package/dist/esm/Scorecard.stories.js +10 -3
- package/dist/esm/Scorecard.stories.js.map +1 -1
- package/dist/esm/ScorecardPrintArea.stories.js +1 -1
- package/dist/esm/ScorecardPrintArea.stories.js.map +1 -1
- package/dist/esm/components/ScorecardPrint/components/ScorecardDownloadButton.js +24 -26
- package/dist/esm/components/ScorecardPrint/components/ScorecardDownloadButton.js.map +1 -1
- package/dist/esm/components/ScorecardPrint/components/ScorecardPreviewArea.js +17 -2
- package/dist/esm/components/ScorecardPrint/components/ScorecardPreviewArea.js.map +1 -1
- package/dist/esm/components/ScorecardTable/components/DataFooterCell.js +3 -0
- package/dist/esm/components/ScorecardTable/components/DataFooterCell.js.map +1 -1
- package/dist/esm/components/StateProvider.js +19 -3
- package/dist/esm/components/StateProvider.js.map +1 -1
- package/dist/types/components/ScorecardPrint/components/ScorecardDownloadButton.d.ts.map +1 -1
- package/dist/types/components/ScorecardPrint/components/ScorecardPreviewArea.d.ts.map +1 -1
- package/dist/types/components/ScorecardTable/components/DataFooterCell.d.ts.map +1 -1
- package/dist/types/components/StateProvider.d.ts +2 -1
- package/dist/types/components/StateProvider.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/ScorecardPrintArea.stories.tsx"],"names":[],"mappings":"AA49CO;AA19CP,SAAS,kBAAkB,sBAAsB;AACjD,SAAS,8BAA8B;AACvC,SAAS,iCAAiC;AAC1C,SAAS,6BAA6B;AAEtC,MAAM,aAA8B;AAAA,EACnC,IAAI;AAAA,EACJ,OAAO;AAAA,EACP,SAAS;AAAA,IACR,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,WAAW;AAAA,IACX,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,eAAe;AAAA,IACf,eAAe;AAAA,IACf,gBAAgB;AAAA,IAChB,oBAAoB;AAAA,IACpB,uBAAuB;AAAA,EACxB;AAAA,EACA,SAAS;AAAA,IACR,OAAO;AAAA,IACP,OAAO,CAAC;AAAA,IACR,QAAQ;AAAA,IACR,UAAU;AAAA,IACV,YAAY,CAAC;AAAA,EACd;AAAA,EACA,UAAU;AAAA,EACV,aAAa;AAAA,EACb,eAAe;AAAA,IACd,YAAY;AAAA,MACX;AAAA,QACC,IAAI;AAAA,QACJ,OAAO,CAAC;AAAA,QACR,OAAO;AAAA,QACP,aAAa;AAAA,UACZ;AAAA,YACC,IAAI;AAAA,YACJ,aAAa;AAAA,cACZ;AAAA,gBACC,IAAI;AAAA,gBACJ,MAAM;AAAA,gBACN,MAAM;AAAA,gBACN,OAAO;AAAA,gBACP,QAAQ;AAAA,gBACR,SAAS;AAAA,kBACR;AAAA,oBACC,IAAI;AAAA,oBACJ,UAAU;AAAA,oBACV,YAAY;AAAA,oBACZ,oBAAoB;AAAA,kBACrB;AAAA,kBACA;AAAA,oBACC,IAAI;AAAA,oBACJ,UAAU;AAAA,oBACV,YAAY;AAAA,oBACZ,oBAAoB;AAAA,kBACrB;AAAA,kBACA;AAAA,oBACC,IAAI;AAAA,oBACJ,UAAU;AAAA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,SAAS;AAAA,cACT,eAAe;AAAA,cACf,KAAK;AAAA,cACL,OAAO;AAAA,YACR;AAAA,YAEA,8BAAC,oBAAiB,QAAQ,YACzB,8BAAC,yBACA;AAAA,cAAC;AAAA;AAAA,gBACA,MAAM;AAAA,kBACL,GAAG,QAAQ;AAAA,gBACZ;AAAA;AAAA,YACD,GACD,GACD;AAAA;AAAA,QACD;AAAA;AAAA,IACD;AAAA,EAEF;AACD;AAEA,IAAO,qCAAQ;AAIR,MAAM,UAAiB;AAAA,EAC7B,MAAM;AAAA,EACN,MAAM;AAAA,IACL;AAAA,EACD;AACD","sourcesContent":["import type { Meta, StoryObj } from \"@storybook/react\";\nimport type { ScorecardConfig } from \"./schemas/config\";\nimport { ScorecardContext, ScorecardPrint } from \"./components\";\nimport { ScorecardStateProvider } from \"./components/StateProvider\";\nimport { getInitialStateFromConfig } from \"./utils\";\nimport { ScorecardDataProvider } from \"./components/DataProvider\";\n\nconst playConfig: ScorecardConfig = {\n\tid: \"YyeJxCBJpcz\",\n\ttitle: \"Test large scorecard\",\n\toptions: {\n\t\ttitle: true,\n\t\tarrows: true,\n\t\tlegend: true,\n\t\temptyRows: true,\n\t\taverageRow: false,\n\t\titemNumber: true,\n\t\taverageColumn: false,\n\t\tshowHierarchy: false,\n\t\tshowDataInRows: false,\n\t\taverageDisplayType: \"ALL\",\n\t\thighlightedIndicators: false,\n\t},\n\tsharing: {\n\t\towner: \"xE7jOejl9FI\",\n\t\tusers: {},\n\t\tpublic: \"--------\",\n\t\texternal: false,\n\t\tuserGroups: {},\n\t},\n\tsubtitle: \"Test large scorecard\",\n\tdescription: \"Test large scorecard\",\n\tdataSelection: {\n\t\tdataGroups: [\n\t\t\t{\n\t\t\t\tid: \"VakhYjKAA5L\",\n\t\t\t\tstyle: {},\n\t\t\t\ttitle: \"ANC\",\n\t\t\t\tdataHolders: [\n\t\t\t\t\t{\n\t\t\t\t\t\tid: \"sl3FPmEzlRQ\",\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: \"Uvn6LCg7dVU\",\n\t\t\t\t\t\t\t\tname: \"ANC 1 Coverage\",\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tlabel: \"ANC 1 Coverage\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"KBqf91u67Ro\",\n\t\t\t\t\t\t\t\t\t\tendValue: 33,\n\t\t\t\t\t\t\t\t\t\tstartValue: 0,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"ieUZM8WK8cc\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"mpjr0KieTWq\",\n\t\t\t\t\t\t\t\t\t\tendValue: 66,\n\t\t\t\t\t\t\t\t\t\tstartValue: 33,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"gbQ4Sz9lTmI\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"kAPjRBfoNHb\",\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tstartValue: 66,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"w3pILkfnTvU\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\tdisplayArrows: false,\n\t\t\t\t\t\t\t\tspecificTargets: [],\n\t\t\t\t\t\t\t\tspecificTargetsSet: false,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tid: \"MDGG5JZkC7Y\",\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: \"ReUHfIn0pTQ\",\n\t\t\t\t\t\t\t\tname: \"ANC 1-3 Dropout Rate\",\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tlabel: \"ANC 1-3 Dropout Rate\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"Prrlf0tASKb\",\n\t\t\t\t\t\t\t\t\t\tendValue: 33,\n\t\t\t\t\t\t\t\t\t\tstartValue: 0,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"ieUZM8WK8cc\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"OoApWIGYDKH\",\n\t\t\t\t\t\t\t\t\t\tendValue: 66,\n\t\t\t\t\t\t\t\t\t\tstartValue: 33,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"gbQ4Sz9lTmI\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"PMHXhSN0FTZ\",\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tstartValue: 66,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"w3pILkfnTvU\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\tdisplayArrows: false,\n\t\t\t\t\t\t\t\tspecificTargets: [],\n\t\t\t\t\t\t\t\tspecificTargetsSet: false,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tid: \"KqkECXxol62\",\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: \"OdiHJayrsKo\",\n\t\t\t\t\t\t\t\tname: \"ANC 2 Coverage\",\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tlabel: \"ANC 2 Coverage\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"BTPWwT1I403\",\n\t\t\t\t\t\t\t\t\t\tendValue: 33,\n\t\t\t\t\t\t\t\t\t\tstartValue: 0,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"ieUZM8WK8cc\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"zUvpqVIgKZh\",\n\t\t\t\t\t\t\t\t\t\tendValue: 66,\n\t\t\t\t\t\t\t\t\t\tstartValue: 33,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"gbQ4Sz9lTmI\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"GMDUUxd8oNp\",\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tstartValue: 66,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"w3pILkfnTvU\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\tdisplayArrows: false,\n\t\t\t\t\t\t\t\tspecificTargets: [],\n\t\t\t\t\t\t\t\tspecificTargetsSet: false,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tid: \"nAUoLvHygNy\",\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: \"sB79w2hiLp8\",\n\t\t\t\t\t\t\t\tname: \"ANC 3 Coverage\",\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tlabel: \"ANC 3 Coverage\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"Iv0KuN1QVOZ\",\n\t\t\t\t\t\t\t\t\t\tendValue: 33,\n\t\t\t\t\t\t\t\t\t\tstartValue: 0,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"ieUZM8WK8cc\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"zJfB5tn6JJJ\",\n\t\t\t\t\t\t\t\t\t\tendValue: 66,\n\t\t\t\t\t\t\t\t\t\tstartValue: 33,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"gbQ4Sz9lTmI\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"zArIepf6ZU8\",\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tstartValue: 66,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"w3pILkfnTvU\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\tdisplayArrows: false,\n\t\t\t\t\t\t\t\tspecificTargets: [],\n\t\t\t\t\t\t\t\tspecificTargetsSet: false,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tid: \"t3BzVoE76km\",\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: \"AUqdhY4mpvp\",\n\t\t\t\t\t\t\t\tname: \"ANC => 4 Coverage\",\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tlabel: \"ANC => 4 Coverage\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"dkCFTve9wTg\",\n\t\t\t\t\t\t\t\t\t\tendValue: 33,\n\t\t\t\t\t\t\t\t\t\tstartValue: 0,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"ieUZM8WK8cc\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"rNiVyCpg3Ck\",\n\t\t\t\t\t\t\t\t\t\tendValue: 66,\n\t\t\t\t\t\t\t\t\t\tstartValue: 33,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"gbQ4Sz9lTmI\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"mE4q4gjRZW1\",\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tstartValue: 66,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"w3pILkfnTvU\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\tdisplayArrows: false,\n\t\t\t\t\t\t\t\tspecificTargets: [],\n\t\t\t\t\t\t\t\tspecificTargetsSet: false,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tid: \"MBkuYQyjeb1\",\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: \"dwEq7wi6nXV\",\n\t\t\t\t\t\t\t\tname: \"ANC IPT 1 Coverage\",\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tlabel: \"ANC IPT 1 Coverage\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"rAyBjZPWD1E\",\n\t\t\t\t\t\t\t\t\t\tendValue: 33,\n\t\t\t\t\t\t\t\t\t\tstartValue: 0,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"ieUZM8WK8cc\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"zl4jZMLZ0lk\",\n\t\t\t\t\t\t\t\t\t\tendValue: 66,\n\t\t\t\t\t\t\t\t\t\tstartValue: 33,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"gbQ4Sz9lTmI\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"Tcsyb58pcgh\",\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tstartValue: 66,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"w3pILkfnTvU\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\tdisplayArrows: false,\n\t\t\t\t\t\t\t\tspecificTargets: [],\n\t\t\t\t\t\t\t\tspecificTargetsSet: false,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tid: \"VU3Y32VhgOd\",\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: \"c8fABiNpT0B\",\n\t\t\t\t\t\t\t\tname: \"ANC IPT 2 Coverage\",\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tlabel: \"ANC IPT 2 Coverage\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"remIGHppCft\",\n\t\t\t\t\t\t\t\t\t\tendValue: 33,\n\t\t\t\t\t\t\t\t\t\tstartValue: 0,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"ieUZM8WK8cc\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"Xu1x3y97s4v\",\n\t\t\t\t\t\t\t\t\t\tendValue: 66,\n\t\t\t\t\t\t\t\t\t\tstartValue: 33,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"gbQ4Sz9lTmI\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"rRmENa76Wt4\",\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tstartValue: 66,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"w3pILkfnTvU\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\tdisplayArrows: false,\n\t\t\t\t\t\t\t\tspecificTargets: [],\n\t\t\t\t\t\t\t\tspecificTargetsSet: false,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tid: \"UQjPFLfeMz3\",\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: \"Tt5TAvdfdVK\",\n\t\t\t\t\t\t\t\tname: \"ANC LLITN coverage\",\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tlabel: \"ANC LLITN coverage\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"hiVwKNC8KAO\",\n\t\t\t\t\t\t\t\t\t\tendValue: 33,\n\t\t\t\t\t\t\t\t\t\tstartValue: 0,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"ieUZM8WK8cc\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"mwheQQolL37\",\n\t\t\t\t\t\t\t\t\t\tendValue: 66,\n\t\t\t\t\t\t\t\t\t\tstartValue: 33,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"gbQ4Sz9lTmI\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"IrehypEPWN3\",\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tstartValue: 66,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"w3pILkfnTvU\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\tdisplayArrows: false,\n\t\t\t\t\t\t\t\tspecificTargets: [],\n\t\t\t\t\t\t\t\tspecificTargetsSet: false,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tid: \"MmT5zVXL2W5\",\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: \"puykO1tbcdi\",\n\t\t\t\t\t\t\t\tname: \"ANC TT2 coverage\",\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tlabel: \"ANC TT2 coverage\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"nxQuKBOX0qp\",\n\t\t\t\t\t\t\t\t\t\tendValue: 33,\n\t\t\t\t\t\t\t\t\t\tstartValue: 0,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"ieUZM8WK8cc\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"oUDhvFmsaWJ\",\n\t\t\t\t\t\t\t\t\t\tendValue: 66,\n\t\t\t\t\t\t\t\t\t\tstartValue: 33,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"gbQ4Sz9lTmI\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"iypIK6ubVEz\",\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tstartValue: 66,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"w3pILkfnTvU\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\tdisplayArrows: false,\n\t\t\t\t\t\t\t\tspecificTargets: [],\n\t\t\t\t\t\t\t\tspecificTargetsSet: false,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tid: \"O4npHQEsuFd\",\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: \"Lzg9LtG1xg3\",\n\t\t\t\t\t\t\t\tname: \"ANC visits per clinical professional\",\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tlabel: \"ANC visits per clinical professional\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"qTy67GvZmUq\",\n\t\t\t\t\t\t\t\t\t\tendValue: 33,\n\t\t\t\t\t\t\t\t\t\tstartValue: 0,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"ieUZM8WK8cc\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"RtIRjuB8PXc\",\n\t\t\t\t\t\t\t\t\t\tendValue: 66,\n\t\t\t\t\t\t\t\t\t\tstartValue: 33,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"gbQ4Sz9lTmI\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"vjbeOeOj2q3\",\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tstartValue: 66,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"w3pILkfnTvU\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\tdisplayArrows: false,\n\t\t\t\t\t\t\t\tspecificTargets: [],\n\t\t\t\t\t\t\t\tspecificTargetsSet: false,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t],\n\t},\n\tperiodSelection: {\n\t\tperiods: [\n\t\t\t{\n\t\t\t\tid: \"202401\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"202402\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"202403\",\n\t\t\t},\n\t\t],\n\t},\n\tadditionalLabels: [],\n\torgUnitSelection: {\n\t\tgroups: [],\n\t\tlevels: [],\n\t\torgUnits: [],\n\t\tuserOrgUnit: true,\n\t\tuserSubUnit: true,\n\t\tuserSubX2Unit: false,\n\t},\n\tlegendDefinitions: [\n\t\t{\n\t\t\tid: \"N/A\",\n\t\t\tname: \"N/A\",\n\t\t\tcolor: \"#D3D3D3\",\n\t\t\tisDefault: true,\n\t\t},\n\t\t{\n\t\t\tid: \"No Data\",\n\t\t\tname: \"No Data\",\n\t\t\tcolor: \"#FFFFFF\",\n\t\t\tisDefault: true,\n\t\t},\n\t\t{\n\t\t\tid: \"w3pILkfnTvU\",\n\t\t\tname: \"Target Reached/ On Track\",\n\t\t\tcolor: \"#008000\",\n\t\t},\n\t\t{\n\t\t\tid: \"gbQ4Sz9lTmI\",\n\t\t\tname: \"Progress, but more effort required\",\n\t\t\tcolor: \"#FFFF00\",\n\t\t},\n\t\t{\n\t\t\tid: \"ieUZM8WK8cc\",\n\t\t\tname: \"Not on track\",\n\t\t\tcolor: \"#FF0000\",\n\t\t},\n\t],\n\thighlightedIndicators: [],\n};\n\nconst config: ScorecardConfig = {\n\tadditionalLabels: [\"Data label\"],\n\tcustomHeader: \"<p>W</p>\\n\",\n\tdataSelection: {\n\t\tdataGroups: [\n\t\t\t{\n\t\t\t\tdataHolders: [\n\t\t\t\t\t{\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"EzE8xZ31zfC\",\n\t\t\t\t\t\t\t\tlabel: \"Availability of Vaccines: BCG (no stockout)\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tid: \"XWUMmCmeM6o\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#008000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 80,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 80,\n\t\t\t\t\t\t\t\t\t\tid: \"TOey7YmIgVW\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FFFF00\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 34,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 34,\n\t\t\t\t\t\t\t\t\t\tid: \"PeTnkJSrh0N\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FF0000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 1,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tname: \"Availability of Vaccines: BCG (no stockout)\",\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tid: 3,\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"uNau1zjH08I\",\n\t\t\t\t\t\t\t\tlabel: \"Availability of Vaccines DPT (no stockout)\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tid: \"BwTObmlCQJ9\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#008000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 67,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 67,\n\t\t\t\t\t\t\t\t\t\tid: \"VBf0tTk0FAg\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FFFF00\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 34,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 34,\n\t\t\t\t\t\t\t\t\t\tid: \"Bi2wvoRTFtg\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FF0000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 1,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tname: \"Availability of Vaccines DPT (no stockout)\",\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tid: 6,\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"Dca85UJ7O40\",\n\t\t\t\t\t\t\t\tlabel: \"DPT1 coverage\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tid: \"uClcTQnvGjo\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#008000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 67,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 67,\n\t\t\t\t\t\t\t\t\t\tid: \"VM7MrPcAzVY\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FFFF00\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 34,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 34,\n\t\t\t\t\t\t\t\t\t\tid: \"IgXxzTrOdfA\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FF0000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 1,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tname: \"DPT1 coverage\",\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tid: 10,\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"YT5UD0H7875\",\n\t\t\t\t\t\t\t\tlabel: \"DPT2 Coverage\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tid: \"AvNvnIHhPL9\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#008000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 67,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 67,\n\t\t\t\t\t\t\t\t\t\tid: \"L6SjYX2Ob7X\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FFFF00\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 34,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 34,\n\t\t\t\t\t\t\t\t\t\tid: \"FDlibzlPjKa\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FF0000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 1,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tname: \"DPT2 Coverage\",\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tid: 4,\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"E31SemmmFGb\",\n\t\t\t\t\t\t\t\tlabel: \"DPT3 coverage\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tid: \"vIzqi9I5U5W\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#008000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 67,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 67,\n\t\t\t\t\t\t\t\t\t\tid: \"p8iuaIFYrVh\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FFFF00\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 34,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 34,\n\t\t\t\t\t\t\t\t\t\tid: \"IAawVVFlrHW\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FF0000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 1,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tname: \"DPT3 coverage\",\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tid: 9,\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"k7S2WEEZeWO\",\n\t\t\t\t\t\t\t\tlabel: \"BCG coverage\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tid: \"HTxdj0lqOni\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#008000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 67,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 67,\n\t\t\t\t\t\t\t\t\t\tid: \"QDRGsOkTFRo\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FFFF00\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 34,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 34,\n\t\t\t\t\t\t\t\t\t\tid: \"ijCUM3ePjXe\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FF0000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 1,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tname: \"BCG coverage\",\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tid: 5,\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"wpgvPjYTBba\",\n\t\t\t\t\t\t\t\tlabel: \"MCV1 Coverage\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tid: \"cORYIx7oEkM\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#008000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 80,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 80,\n\t\t\t\t\t\t\t\t\t\tid: \"yCulcK3litW\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FFFF00\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 34,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 34,\n\t\t\t\t\t\t\t\t\t\tid: \"uHU6IMpweu1\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FF0000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 1,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tname: \"MCV1 Coverage\",\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tid: 8,\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"TGFBdsVUobf\",\n\t\t\t\t\t\t\t\tlabel: \"Fully Immunized\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tid: \"aGVS5sqcRd4\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#008000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 67,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 67,\n\t\t\t\t\t\t\t\t\t\tid: \"EKIY64Ferh3\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FFFF00\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 34,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 34,\n\t\t\t\t\t\t\t\t\t\tid: \"EfSaPcUQvUA\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FF0000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 1,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tname: \"Fully Immunized\",\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tid: 7,\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t\tid: 1,\n\t\t\t\tstyle: {\n\t\t\t\t\tbackgroundColor: \"#ffffff\",\n\t\t\t\t\tcolor: \"#000000\",\n\t\t\t\t},\n\t\t\t\ttitle: \"Default\",\n\t\t\t},\n\t\t],\n\t},\n\tdescription: \"Immunization scorecard\",\n\thighlightedIndicators: [],\n\tid: \"VQ4ipFr7YHx\",\n\tlegendDefinitions: [\n\t\t{\n\t\t\tcolor: \"#008000\",\n\t\t\tid: \"#008000\",\n\t\t\tname: \"Target achieved / on track\",\n\t\t},\n\t\t{\n\t\t\tcolor: \"#FFFF00\",\n\t\t\tid: \"#FFFF00\",\n\t\t\tname: \"Progress, but more effort required\",\n\t\t},\n\t\t{\n\t\t\tcolor: \"#FF0000\",\n\t\t\tid: \"#FF0000\",\n\t\t\tname: \"Not on track\",\n\t\t},\n\t\t{\n\t\t\tcolor: \"#D3D3D3\",\n\t\t\tid: \"N/A\",\n\t\t\tisDefault: true,\n\t\t\tname: \"N/A\",\n\t\t},\n\t\t{\n\t\t\tcolor: \"#FFFFFF\",\n\t\t\tid: \"No data\",\n\t\t\tisDefault: true,\n\t\t\tname: \"No data\",\n\t\t},\n\t],\n\toptions: {\n\t\taverageColumn: false,\n\t\taverageDisplayType: \"ALL\",\n\t\taverageRow: false,\n\t\temptyRows: true,\n\t\thighlightedIndicators: false,\n\t\titemNumber: true,\n\t\tlegend: true,\n\t\tshowHierarchy: false,\n\t\ttitle: true,\n\t},\n\torgUnitSelection: {\n\t\tgroups: [],\n\t\tlevels: [\"P0QFTFfTl2X\"],\n\t\torgUnits: [\n\t\t\t{\n\t\t\t\tid: \"GD7TowwI46c\",\n\t\t\t},\n\t\t],\n\t\tuserOrgUnit: false,\n\t\tuserSubUnit: false,\n\t\tuserSubX2Unit: false,\n\t},\n\tperiodSelection: {\n\t\tperiods: [\n\t\t\t{\n\t\t\t\tid: \"2018Q2\",\n\t\t\t},\n\t\t],\n\t\ttype: \"Quarterly\",\n\t},\n\tsharing: {\n\t\texternal: false,\n\t\towner: \"M5zQapPyTZI\",\n\t\tpublic: \"------\",\n\t\tuserGroups: {\n\t\t\tji3bRmgKwkS: {\n\t\t\t\taccess: \"------\",\n\t\t\t\tid: \"ji3bRmgKwkS\",\n\t\t\t},\n\t\t},\n\t\tusers: {},\n\t},\n\tsubtitle: \"\",\n\ttitle: \"Immunization scorecard\",\n};\n\nconst linkedConfig: ScorecardConfig = {\n\tadditionalLabels: [],\n\tcustomHeader:\n\t\t'<p style=\"text-align: center;\"><strong><span style=\"font-size: 14pt;\">Reproductive Mother Newborn Child Adolescent Health Scorecard</span></strong></p>',\n\tdataSelection: {\n\t\tdataGroups: [\n\t\t\t{\n\t\t\t\tdataHolders: [\n\t\t\t\t\t{\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"UT1DJmtzyox\",\n\t\t\t\t\t\t\t\tlabel: \"ANC 1st visit coverage (%)\",\n\t\t\t\t\t\t\t\tlegends: {\n\t\t\t\t\t\t\t\t\tBNQIkbGlA00: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"KpYHhHJn6TW\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"D7p3mOofXV5\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"h53u0qtfWrm\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\tP0QFTFfTl2X: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"Gu1MEoKBM9z\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"Ov1gJoUyWGA\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"kdr4mFvCXeF\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\tVJJOhuBJSJe: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"ZRel5tdDTxP\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"ZdkqaQjk4dy\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"yHqYRGJTuZ7\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\tZqI1kKnH7ve: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"M8SRVFU7qaJ\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"t0kMCebyKa3\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"qQWheNiAv5H\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"dataElement\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"FgNnsRgCs8r\",\n\t\t\t\t\t\t\t\tlabel: \"ANC 4th visit coverage (%)\",\n\t\t\t\t\t\t\t\tlegends: {\n\t\t\t\t\t\t\t\t\tBNQIkbGlA00: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"XMzI6YTRjnh\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"XaSA3Wbd8ev\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"zTVnWeobd1W\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\tP0QFTFfTl2X: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"uMqW1iTVZbk\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"KF017pCID2N\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"L3PNXKkZlKn\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\tVJJOhuBJSJe: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"lpPPAVPWAHa\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"qtzhYa0YOZe\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"rcPPIBAegMP\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\tZqI1kKnH7ve: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"w31XD1NVKYc\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"Yka97h8Gp5S\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"rq5CQddHPzj\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"dataElement\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tid: \"kJx1Eg83H1A\",\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t\tid: \"uRgQI4ArrDc\",\n\t\t\t\tstyle: {\n\t\t\t\t\tbackgroundColor: \"#FFFFFF\",\n\t\t\t\t\tcolor: \"#000000\",\n\t\t\t\t},\n\t\t\t\ttitle: \"ANC\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tdataHolders: [\n\t\t\t\t\t{\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"S0IzYPGQLnN\",\n\t\t\t\t\t\t\t\tlabel: \"PCV 3 coverage (%)\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\tid: \"bnLSP7FW4CD\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\tid: \"eIQjXQYMwYF\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\tid: \"eeXyZVN0FCX\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"dataElement\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"ZNz5XzwJZK5\",\n\t\t\t\t\t\t\t\tlabel: \"RMNCH IPTp1 coverage (%)\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\tid: \"M3O2zlFt2QR\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\tid: \"XrYIKCaK5uO\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\tid: \"yAfwEbfXWab\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"dataElement\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tid: \"kfl50Ej7lDu\",\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t\tid: \"QcZw8mJ1Rze\",\n\t\t\t\tstyle: {\n\t\t\t\t\tbackgroundColor: \"#FFFFFF\",\n\t\t\t\t\tcolor: \"#000000\",\n\t\t\t\t},\n\t\t\t\ttitle: \"Child Health\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tdataHolders: [\n\t\t\t\t\t{\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"wc3XYCyuxyE\",\n\t\t\t\t\t\t\t\tlabel: \"Post partum care coverage (within 2 days) (%)\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\tid: \"b3UiR0upygY\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\tid: \"Qws2zJ6nnhO\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\tid: \"EjYfDZUMrvh\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"dataElement\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"NV6Xc9oGJZV\",\n\t\t\t\t\t\t\t\tlabel: \"Breastfeeding within 1 hour after delivery (%)\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\tid: \"wqt6J8rW5Gg\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\tid: \"BoXJK9Y7xfL\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\tid: \"leioF1u23By\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"dataElement\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tid: \"w8XIm3FYgHf\",\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t\tid: \"UVvskRg3Q3O\",\n\t\t\t\tstyle: {\n\t\t\t\t\tbackgroundColor: \"#FFFFFF\",\n\t\t\t\t\tcolor: \"#000000\",\n\t\t\t\t},\n\t\t\t\ttitle: \"PNC\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tdataHolders: [\n\t\t\t\t\t{\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"XXDXVGzvSx1\",\n\t\t\t\t\t\t\t\tlabel: \"Caesarean section delivery rate (%)\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\tid: \"nYuMTV2paEd\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\tid: \"iRmHVCt9uCF\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\tid: \"oZC6QPZ7AAS\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"dataElement\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"lMRhTK17SDQ\",\n\t\t\t\t\t\t\t\tlabel: \"Institutional delivery rate (%)\",\n\t\t\t\t\t\t\t\tlegends: {\n\t\t\t\t\t\t\t\t\tBNQIkbGlA00: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"mOYx4YWdhVl\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"gxG34EbioX8\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"MBAKh3ZG2dK\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\tP0QFTFfTl2X: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"MmQldQ7jgAH\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"WF1kso6rvDr\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"JcaFJoC6kNi\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\tVJJOhuBJSJe: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"L07Gb3JDHVS\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"jZ9fu7sOQDr\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"EoTSwqHRfZV\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\tZqI1kKnH7ve: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"CO0eiIoCRty\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"YWySiVblPtQ\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"paJxvmioynV\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"dataElement\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tid: \"yZsI8HZOKab\",\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t\tid: \"erF3HyaFtYs\",\n\t\t\t\tstyle: {\n\t\t\t\t\tbackgroundColor: \"#FFFFFF\",\n\t\t\t\t\tcolor: \"#000000\",\n\t\t\t\t},\n\t\t\t\ttitle: \"Birth\",\n\t\t\t},\n\t\t],\n\t},\n\tdescription:\n\t\t\"Reproductive Mother Newborn Child Adolescent Health Score Card\",\n\thighlightedIndicators: [\n\t\t{\n\t\t\tdisplayArrows: true,\n\t\t\teffectiveGap: 5,\n\t\t\thighIsGood: true,\n\t\t\tid: \"BvG8P80QxqZ\",\n\t\t\tlabel: \"Access to ANC Services\",\n\t\t\tlegends: [\n\t\t\t\t{\n\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\tid: \"gpxLYDFnZmu\",\n\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\tstartValue: \"80\",\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tendValue: \"80\",\n\t\t\t\t\tid: \"nG6xsue9WBm\",\n\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\tstartValue: \"60\",\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tendValue: \"60\",\n\t\t\t\t\tid: \"UeAJV56yLPg\",\n\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\tstartValue: \"40\",\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tendValue: \"40\",\n\t\t\t\t\tid: \"Gop7mo2IUdC\",\n\t\t\t\t\tlegendDefinitionId: \"N/A\",\n\t\t\t\t\tstartValue: \"20\",\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tendValue: \"20\",\n\t\t\t\t\tid: \"RE0ln0cImOf\",\n\t\t\t\t\tlegendDefinitionId: \"No Data\",\n\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t},\n\t\t\t],\n\t\t\tshowColors: true,\n\t\t\ttype: \"indicator\",\n\t\t\tweight: 100,\n\t\t},\n\t],\n\tid: \"KKQrggIIOlT\",\n\tlegendDefinitions: [\n\t\t{\n\t\t\tcolor: \"#008000\",\n\t\t\tid: \"Hp7RQEOkeeI\",\n\t\t\tname: \"Target Reached/ On Track\",\n\t\t},\n\t\t{\n\t\t\tcolor: \"#FFFF00\",\n\t\t\tid: \"Tdn0N0KCkfS\",\n\t\t\tname: \"Progress, but more effort required\",\n\t\t},\n\t\t{\n\t\t\tcolor: \"#FF0000\",\n\t\t\tid: \"wvkMv3ABWbT\",\n\t\t\tname: \"Not on track\",\n\t\t},\n\t\t{\n\t\t\tcolor: \"#D3D3D3\",\n\t\t\tid: \"N/A\",\n\t\t\tisDefault: true,\n\t\t\tname: \"N/A\",\n\t\t},\n\t\t{\n\t\t\tcolor: \"#FFFFFF\",\n\t\t\tid: \"No Data\",\n\t\t\tisDefault: true,\n\t\t\tname: \"No Data\",\n\t\t},\n\t],\n\toptions: {\n\t\tarrows: true,\n\t\taverageColumn: false,\n\t\taverageDisplayType: \"ALL\",\n\t\taverageRow: false,\n\t\temptyRows: false,\n\t\thighlightedIndicators: false,\n\t\titemNumber: true,\n\t\tlegend: true,\n\t\tshowDataInRows: false,\n\t\tshowHierarchy: true,\n\t\ttitle: true,\n\t},\n\torgUnitSelection: {\n\t\tgroups: [],\n\t\tlevels: [\"P0QFTFfTl2X\"],\n\t\torgUnits: [\n\t\t\t{\n\t\t\t\tid: \"GD7TowwI46c\",\n\t\t\t},\n\t\t],\n\t\tuserOrgUnit: false,\n\t\tuserSubUnit: false,\n\t\tuserSubX2Unit: false,\n\t},\n\tperiodSelection: {\n\t\tperiods: [\n\t\t\t{\n\t\t\t\tid: \"2018\",\n\t\t\t},\n\t\t],\n\t},\n\tsubtitle: \"\",\n\ttitle: \"RMNCAH Score Card Revised\",\n};\n\nconst meta: Meta<typeof ScorecardPrint> = {\n\ttitle: \"Scorecard Print Area\",\n\tcomponent: ScorecardPrint,\n\tdecorators: (Story, context) => {\n\t\treturn (\n\t\t\t<ScorecardStateProvider\n\t\t\t\tconfig={config}\n\t\t\t\tinitialState={{\n\t\t\t\t\t...getInitialStateFromConfig(playConfig),\n\t\t\t\t\torgUnitSelection: {\n\t\t\t\t\t\tuserOrgUnit: true,\n\t\t\t\t\t\tuserSubUnit: true,\n\t\t\t\t\t\tuserSubX2Unit: false,\n\t\t\t\t\t},\n\t\t\t\t\toptions: {\n\t\t\t\t\t\t...getInitialStateFromConfig(playConfig).options,\n\t\t\t\t\t\tdisableExpanding: true,\n\t\t\t\t\t\tdisablePagination: true,\n\t\t\t\t\t\tprintMode: true,\n\t\t\t\t\t},\n\t\t\t\t}}\n\t\t\t>\n\t\t\t\t<div\n\t\t\t\t\tstyle={{\n\t\t\t\t\t\tdisplay: \"flex\",\n\t\t\t\t\t\tflexDirection: \"column\",\n\t\t\t\t\t\tgap: 32,\n\t\t\t\t\t\twidth: \"100%\",\n\t\t\t\t\t}}\n\t\t\t\t>\n\t\t\t\t\t<ScorecardContext config={playConfig}>\n\t\t\t\t\t\t<ScorecardDataProvider>\n\t\t\t\t\t\t\t<Story\n\t\t\t\t\t\t\t\targs={{\n\t\t\t\t\t\t\t\t\t...context.args,\n\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</ScorecardDataProvider>\n\t\t\t\t\t</ScorecardContext>\n\t\t\t\t</div>\n\t\t\t</ScorecardStateProvider>\n\t\t);\n\t},\n};\n\nexport default meta;\n\ntype Story = StoryObj<typeof ScorecardPrint>;\n\nexport const Default: Story = {\n\tname: \"Default View\",\n\targs: {\n\t\tconfig,\n\t},\n};\n// export const DataInRows: Story = {\n// \tname: \"Data in rows view\",\n// \targs: {},\n// };\n// export const FilteredAboveAverage: Story = {\n// \tname: \"Filtered above average\",\n// \targs: {},\n// };\n// export const FilteredBelowAverage: Story = {\n// \tname: \"Filtered below average\",\n// \targs: {},\n// };\n// export const WithLinkedCells: Story = {\n// \tname: \"With linked cells\",\n// \targs: {},\n// };\n// export const WithLinkedCellsDataInRows: Story = {\n// \tname: \"With linked cells and data in rows\",\n// \targs: {},\n// };\n"]}
|
|
1
|
+
{"version":3,"sources":["../src/ScorecardPrintArea.stories.tsx"],"names":[],"mappings":"AA49CO;AA19CP,SAAS,kBAAkB,sBAAsB;AACjD,SAAS,8BAA8B;AACvC,SAAS,iCAAiC;AAC1C,SAAS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AAA,QACD;AAAA;AAAA,IACD;AAAA,EAEF;AACD;AAEA,IAAO,qCAAQ;AAIR,MAAM,UAAiB;AAAA,EAC7B,MAAM;AAAA,EACN,MAAM;AAAA,IACL;AAAA,EACD;AACD","sourcesContent":["import type { Meta, StoryObj } from \"@storybook/react\";\nimport type { ScorecardConfig } from \"./schemas/config\";\nimport { ScorecardContext, ScorecardPrint } from \"./components\";\nimport { ScorecardStateProvider } from \"./components/StateProvider\";\nimport { getInitialStateFromConfig } from \"./utils\";\nimport { ScorecardDataProvider } from \"./components/DataProvider\";\n\nconst playConfig: ScorecardConfig = {\n\tid: \"YyeJxCBJpcz\",\n\ttitle: \"Test large scorecard\",\n\toptions: {\n\t\ttitle: true,\n\t\tarrows: true,\n\t\tlegend: true,\n\t\temptyRows: true,\n\t\taverageRow: false,\n\t\titemNumber: true,\n\t\taverageColumn: false,\n\t\tshowHierarchy: false,\n\t\tshowDataInRows: false,\n\t\taverageDisplayType: \"ALL\",\n\t\thighlightedIndicators: false,\n\t},\n\tsharing: {\n\t\towner: \"xE7jOejl9FI\",\n\t\tusers: {},\n\t\tpublic: \"--------\",\n\t\texternal: false,\n\t\tuserGroups: {},\n\t},\n\tsubtitle: \"Test large scorecard\",\n\tdescription: \"Test large scorecard\",\n\tdataSelection: {\n\t\tdataGroups: [\n\t\t\t{\n\t\t\t\tid: \"VakhYjKAA5L\",\n\t\t\t\tstyle: {},\n\t\t\t\ttitle: \"ANC\",\n\t\t\t\tdataHolders: [\n\t\t\t\t\t{\n\t\t\t\t\t\tid: \"sl3FPmEzlRQ\",\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: \"Uvn6LCg7dVU\",\n\t\t\t\t\t\t\t\tname: \"ANC 1 Coverage\",\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tlabel: \"ANC 1 Coverage\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"KBqf91u67Ro\",\n\t\t\t\t\t\t\t\t\t\tendValue: 33,\n\t\t\t\t\t\t\t\t\t\tstartValue: 0,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"ieUZM8WK8cc\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"mpjr0KieTWq\",\n\t\t\t\t\t\t\t\t\t\tendValue: 66,\n\t\t\t\t\t\t\t\t\t\tstartValue: 33,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"gbQ4Sz9lTmI\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"kAPjRBfoNHb\",\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tstartValue: 66,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"w3pILkfnTvU\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\tdisplayArrows: false,\n\t\t\t\t\t\t\t\tspecificTargets: [],\n\t\t\t\t\t\t\t\tspecificTargetsSet: false,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tid: \"MDGG5JZkC7Y\",\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: \"ReUHfIn0pTQ\",\n\t\t\t\t\t\t\t\tname: \"ANC 1-3 Dropout Rate\",\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tlabel: \"ANC 1-3 Dropout Rate\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"Prrlf0tASKb\",\n\t\t\t\t\t\t\t\t\t\tendValue: 33,\n\t\t\t\t\t\t\t\t\t\tstartValue: 0,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"ieUZM8WK8cc\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"OoApWIGYDKH\",\n\t\t\t\t\t\t\t\t\t\tendValue: 66,\n\t\t\t\t\t\t\t\t\t\tstartValue: 33,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"gbQ4Sz9lTmI\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"PMHXhSN0FTZ\",\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tstartValue: 66,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"w3pILkfnTvU\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\tdisplayArrows: false,\n\t\t\t\t\t\t\t\tspecificTargets: [],\n\t\t\t\t\t\t\t\tspecificTargetsSet: false,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tid: \"KqkECXxol62\",\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: \"OdiHJayrsKo\",\n\t\t\t\t\t\t\t\tname: \"ANC 2 Coverage\",\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tlabel: \"ANC 2 Coverage\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"BTPWwT1I403\",\n\t\t\t\t\t\t\t\t\t\tendValue: 33,\n\t\t\t\t\t\t\t\t\t\tstartValue: 0,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"ieUZM8WK8cc\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"zUvpqVIgKZh\",\n\t\t\t\t\t\t\t\t\t\tendValue: 66,\n\t\t\t\t\t\t\t\t\t\tstartValue: 33,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"gbQ4Sz9lTmI\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"GMDUUxd8oNp\",\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tstartValue: 66,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"w3pILkfnTvU\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\tdisplayArrows: false,\n\t\t\t\t\t\t\t\tspecificTargets: [],\n\t\t\t\t\t\t\t\tspecificTargetsSet: false,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tid: \"nAUoLvHygNy\",\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: \"sB79w2hiLp8\",\n\t\t\t\t\t\t\t\tname: \"ANC 3 Coverage\",\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tlabel: \"ANC 3 Coverage\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"Iv0KuN1QVOZ\",\n\t\t\t\t\t\t\t\t\t\tendValue: 33,\n\t\t\t\t\t\t\t\t\t\tstartValue: 0,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"ieUZM8WK8cc\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"zJfB5tn6JJJ\",\n\t\t\t\t\t\t\t\t\t\tendValue: 66,\n\t\t\t\t\t\t\t\t\t\tstartValue: 33,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"gbQ4Sz9lTmI\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"zArIepf6ZU8\",\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tstartValue: 66,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"w3pILkfnTvU\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\tdisplayArrows: false,\n\t\t\t\t\t\t\t\tspecificTargets: [],\n\t\t\t\t\t\t\t\tspecificTargetsSet: false,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tid: \"t3BzVoE76km\",\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: \"AUqdhY4mpvp\",\n\t\t\t\t\t\t\t\tname: \"ANC => 4 Coverage\",\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tlabel: \"ANC => 4 Coverage\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"dkCFTve9wTg\",\n\t\t\t\t\t\t\t\t\t\tendValue: 33,\n\t\t\t\t\t\t\t\t\t\tstartValue: 0,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"ieUZM8WK8cc\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"rNiVyCpg3Ck\",\n\t\t\t\t\t\t\t\t\t\tendValue: 66,\n\t\t\t\t\t\t\t\t\t\tstartValue: 33,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"gbQ4Sz9lTmI\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"mE4q4gjRZW1\",\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tstartValue: 66,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"w3pILkfnTvU\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\tdisplayArrows: false,\n\t\t\t\t\t\t\t\tspecificTargets: [],\n\t\t\t\t\t\t\t\tspecificTargetsSet: false,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tid: \"MBkuYQyjeb1\",\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: \"dwEq7wi6nXV\",\n\t\t\t\t\t\t\t\tname: \"ANC IPT 1 Coverage\",\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tlabel: \"ANC IPT 1 Coverage\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"rAyBjZPWD1E\",\n\t\t\t\t\t\t\t\t\t\tendValue: 33,\n\t\t\t\t\t\t\t\t\t\tstartValue: 0,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"ieUZM8WK8cc\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"zl4jZMLZ0lk\",\n\t\t\t\t\t\t\t\t\t\tendValue: 66,\n\t\t\t\t\t\t\t\t\t\tstartValue: 33,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"gbQ4Sz9lTmI\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"Tcsyb58pcgh\",\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tstartValue: 66,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"w3pILkfnTvU\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\tdisplayArrows: false,\n\t\t\t\t\t\t\t\tspecificTargets: [],\n\t\t\t\t\t\t\t\tspecificTargetsSet: false,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tid: \"VU3Y32VhgOd\",\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: \"c8fABiNpT0B\",\n\t\t\t\t\t\t\t\tname: \"ANC IPT 2 Coverage\",\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tlabel: \"ANC IPT 2 Coverage\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"remIGHppCft\",\n\t\t\t\t\t\t\t\t\t\tendValue: 33,\n\t\t\t\t\t\t\t\t\t\tstartValue: 0,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"ieUZM8WK8cc\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"Xu1x3y97s4v\",\n\t\t\t\t\t\t\t\t\t\tendValue: 66,\n\t\t\t\t\t\t\t\t\t\tstartValue: 33,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"gbQ4Sz9lTmI\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"rRmENa76Wt4\",\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tstartValue: 66,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"w3pILkfnTvU\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\tdisplayArrows: false,\n\t\t\t\t\t\t\t\tspecificTargets: [],\n\t\t\t\t\t\t\t\tspecificTargetsSet: false,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tid: \"UQjPFLfeMz3\",\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: \"Tt5TAvdfdVK\",\n\t\t\t\t\t\t\t\tname: \"ANC LLITN coverage\",\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tlabel: \"ANC LLITN coverage\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"hiVwKNC8KAO\",\n\t\t\t\t\t\t\t\t\t\tendValue: 33,\n\t\t\t\t\t\t\t\t\t\tstartValue: 0,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"ieUZM8WK8cc\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"mwheQQolL37\",\n\t\t\t\t\t\t\t\t\t\tendValue: 66,\n\t\t\t\t\t\t\t\t\t\tstartValue: 33,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"gbQ4Sz9lTmI\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"IrehypEPWN3\",\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tstartValue: 66,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"w3pILkfnTvU\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\tdisplayArrows: false,\n\t\t\t\t\t\t\t\tspecificTargets: [],\n\t\t\t\t\t\t\t\tspecificTargetsSet: false,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tid: \"MmT5zVXL2W5\",\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: \"puykO1tbcdi\",\n\t\t\t\t\t\t\t\tname: \"ANC TT2 coverage\",\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tlabel: \"ANC TT2 coverage\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"nxQuKBOX0qp\",\n\t\t\t\t\t\t\t\t\t\tendValue: 33,\n\t\t\t\t\t\t\t\t\t\tstartValue: 0,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"ieUZM8WK8cc\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"oUDhvFmsaWJ\",\n\t\t\t\t\t\t\t\t\t\tendValue: 66,\n\t\t\t\t\t\t\t\t\t\tstartValue: 33,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"gbQ4Sz9lTmI\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"iypIK6ubVEz\",\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tstartValue: 66,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"w3pILkfnTvU\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\tdisplayArrows: false,\n\t\t\t\t\t\t\t\tspecificTargets: [],\n\t\t\t\t\t\t\t\tspecificTargetsSet: false,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tid: \"O4npHQEsuFd\",\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: \"Lzg9LtG1xg3\",\n\t\t\t\t\t\t\t\tname: \"ANC visits per clinical professional\",\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tlabel: \"ANC visits per clinical professional\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"qTy67GvZmUq\",\n\t\t\t\t\t\t\t\t\t\tendValue: 33,\n\t\t\t\t\t\t\t\t\t\tstartValue: 0,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"ieUZM8WK8cc\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"RtIRjuB8PXc\",\n\t\t\t\t\t\t\t\t\t\tendValue: 66,\n\t\t\t\t\t\t\t\t\t\tstartValue: 33,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"gbQ4Sz9lTmI\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"vjbeOeOj2q3\",\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tstartValue: 66,\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"w3pILkfnTvU\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\tdisplayArrows: false,\n\t\t\t\t\t\t\t\tspecificTargets: [],\n\t\t\t\t\t\t\t\tspecificTargetsSet: false,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t],\n\t},\n\tperiodSelection: {\n\t\tperiods: [\n\t\t\t{\n\t\t\t\tid: \"202401\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"202402\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"202403\",\n\t\t\t},\n\t\t],\n\t},\n\tadditionalLabels: [],\n\torgUnitSelection: {\n\t\tgroups: [],\n\t\tlevels: [],\n\t\torgUnits: [],\n\t\tuserOrgUnit: true,\n\t\tuserSubUnit: true,\n\t\tuserSubX2Unit: false,\n\t},\n\tlegendDefinitions: [\n\t\t{\n\t\t\tid: \"N/A\",\n\t\t\tname: \"N/A\",\n\t\t\tcolor: \"#D3D3D3\",\n\t\t\tisDefault: true,\n\t\t},\n\t\t{\n\t\t\tid: \"No Data\",\n\t\t\tname: \"No Data\",\n\t\t\tcolor: \"#FFFFFF\",\n\t\t\tisDefault: true,\n\t\t},\n\t\t{\n\t\t\tid: \"w3pILkfnTvU\",\n\t\t\tname: \"Target Reached/ On Track\",\n\t\t\tcolor: \"#008000\",\n\t\t},\n\t\t{\n\t\t\tid: \"gbQ4Sz9lTmI\",\n\t\t\tname: \"Progress, but more effort required\",\n\t\t\tcolor: \"#FFFF00\",\n\t\t},\n\t\t{\n\t\t\tid: \"ieUZM8WK8cc\",\n\t\t\tname: \"Not on track\",\n\t\t\tcolor: \"#FF0000\",\n\t\t},\n\t],\n\thighlightedIndicators: [],\n};\n\nconst config: ScorecardConfig = {\n\tadditionalLabels: [\"Data label\"],\n\tcustomHeader: \"<p>W</p>\\n\",\n\tdataSelection: {\n\t\tdataGroups: [\n\t\t\t{\n\t\t\t\tdataHolders: [\n\t\t\t\t\t{\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"EzE8xZ31zfC\",\n\t\t\t\t\t\t\t\tlabel: \"Availability of Vaccines: BCG (no stockout)\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tid: \"XWUMmCmeM6o\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#008000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 80,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 80,\n\t\t\t\t\t\t\t\t\t\tid: \"TOey7YmIgVW\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FFFF00\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 34,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 34,\n\t\t\t\t\t\t\t\t\t\tid: \"PeTnkJSrh0N\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FF0000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 1,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tname: \"Availability of Vaccines: BCG (no stockout)\",\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tid: 3,\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"uNau1zjH08I\",\n\t\t\t\t\t\t\t\tlabel: \"Availability of Vaccines DPT (no stockout)\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tid: \"BwTObmlCQJ9\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#008000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 67,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 67,\n\t\t\t\t\t\t\t\t\t\tid: \"VBf0tTk0FAg\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FFFF00\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 34,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 34,\n\t\t\t\t\t\t\t\t\t\tid: \"Bi2wvoRTFtg\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FF0000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 1,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tname: \"Availability of Vaccines DPT (no stockout)\",\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tid: 6,\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"Dca85UJ7O40\",\n\t\t\t\t\t\t\t\tlabel: \"DPT1 coverage\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tid: \"uClcTQnvGjo\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#008000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 67,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 67,\n\t\t\t\t\t\t\t\t\t\tid: \"VM7MrPcAzVY\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FFFF00\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 34,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 34,\n\t\t\t\t\t\t\t\t\t\tid: \"IgXxzTrOdfA\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FF0000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 1,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tname: \"DPT1 coverage\",\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tid: 10,\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"YT5UD0H7875\",\n\t\t\t\t\t\t\t\tlabel: \"DPT2 Coverage\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tid: \"AvNvnIHhPL9\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#008000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 67,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 67,\n\t\t\t\t\t\t\t\t\t\tid: \"L6SjYX2Ob7X\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FFFF00\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 34,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 34,\n\t\t\t\t\t\t\t\t\t\tid: \"FDlibzlPjKa\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FF0000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 1,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tname: \"DPT2 Coverage\",\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tid: 4,\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"E31SemmmFGb\",\n\t\t\t\t\t\t\t\tlabel: \"DPT3 coverage\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tid: \"vIzqi9I5U5W\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#008000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 67,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 67,\n\t\t\t\t\t\t\t\t\t\tid: \"p8iuaIFYrVh\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FFFF00\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 34,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 34,\n\t\t\t\t\t\t\t\t\t\tid: \"IAawVVFlrHW\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FF0000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 1,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tname: \"DPT3 coverage\",\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tid: 9,\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"k7S2WEEZeWO\",\n\t\t\t\t\t\t\t\tlabel: \"BCG coverage\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tid: \"HTxdj0lqOni\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#008000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 67,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 67,\n\t\t\t\t\t\t\t\t\t\tid: \"QDRGsOkTFRo\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FFFF00\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 34,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 34,\n\t\t\t\t\t\t\t\t\t\tid: \"ijCUM3ePjXe\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FF0000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 1,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tname: \"BCG coverage\",\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tid: 5,\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"wpgvPjYTBba\",\n\t\t\t\t\t\t\t\tlabel: \"MCV1 Coverage\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tid: \"cORYIx7oEkM\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#008000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 80,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 80,\n\t\t\t\t\t\t\t\t\t\tid: \"yCulcK3litW\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FFFF00\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 34,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 34,\n\t\t\t\t\t\t\t\t\t\tid: \"uHU6IMpweu1\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FF0000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 1,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tname: \"MCV1 Coverage\",\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tid: 8,\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"TGFBdsVUobf\",\n\t\t\t\t\t\t\t\tlabel: \"Fully Immunized\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 100,\n\t\t\t\t\t\t\t\t\t\tid: \"aGVS5sqcRd4\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#008000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 67,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 67,\n\t\t\t\t\t\t\t\t\t\tid: \"EKIY64Ferh3\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FFFF00\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 34,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: 34,\n\t\t\t\t\t\t\t\t\t\tid: \"EfSaPcUQvUA\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"#FF0000\",\n\t\t\t\t\t\t\t\t\t\tstartValue: 1,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tname: \"Fully Immunized\",\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"indicator\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tid: 7,\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t\tid: 1,\n\t\t\t\tstyle: {\n\t\t\t\t\tbackgroundColor: \"#ffffff\",\n\t\t\t\t\tcolor: \"#000000\",\n\t\t\t\t},\n\t\t\t\ttitle: \"Default\",\n\t\t\t},\n\t\t],\n\t},\n\tdescription: \"Immunization scorecard\",\n\thighlightedIndicators: [],\n\tid: \"VQ4ipFr7YHx\",\n\tlegendDefinitions: [\n\t\t{\n\t\t\tcolor: \"#008000\",\n\t\t\tid: \"#008000\",\n\t\t\tname: \"Target achieved / on track\",\n\t\t},\n\t\t{\n\t\t\tcolor: \"#FFFF00\",\n\t\t\tid: \"#FFFF00\",\n\t\t\tname: \"Progress, but more effort required\",\n\t\t},\n\t\t{\n\t\t\tcolor: \"#FF0000\",\n\t\t\tid: \"#FF0000\",\n\t\t\tname: \"Not on track\",\n\t\t},\n\t\t{\n\t\t\tcolor: \"#D3D3D3\",\n\t\t\tid: \"N/A\",\n\t\t\tisDefault: true,\n\t\t\tname: \"N/A\",\n\t\t},\n\t\t{\n\t\t\tcolor: \"#FFFFFF\",\n\t\t\tid: \"No data\",\n\t\t\tisDefault: true,\n\t\t\tname: \"No data\",\n\t\t},\n\t],\n\toptions: {\n\t\taverageColumn: false,\n\t\taverageDisplayType: \"ALL\",\n\t\taverageRow: false,\n\t\temptyRows: true,\n\t\thighlightedIndicators: false,\n\t\titemNumber: true,\n\t\tlegend: true,\n\t\tshowHierarchy: false,\n\t\ttitle: true,\n\t},\n\torgUnitSelection: {\n\t\tgroups: [],\n\t\tlevels: [\"P0QFTFfTl2X\"],\n\t\torgUnits: [\n\t\t\t{\n\t\t\t\tid: \"GD7TowwI46c\",\n\t\t\t},\n\t\t],\n\t\tuserOrgUnit: false,\n\t\tuserSubUnit: false,\n\t\tuserSubX2Unit: false,\n\t},\n\tperiodSelection: {\n\t\tperiods: [\n\t\t\t{\n\t\t\t\tid: \"2018Q2\",\n\t\t\t},\n\t\t],\n\t\ttype: \"Quarterly\",\n\t},\n\tsharing: {\n\t\texternal: false,\n\t\towner: \"M5zQapPyTZI\",\n\t\tpublic: \"------\",\n\t\tuserGroups: {\n\t\t\tji3bRmgKwkS: {\n\t\t\t\taccess: \"------\",\n\t\t\t\tid: \"ji3bRmgKwkS\",\n\t\t\t},\n\t\t},\n\t\tusers: {},\n\t},\n\tsubtitle: \"\",\n\ttitle: \"Immunization scorecard\",\n};\n\nconst linkedConfig: ScorecardConfig = {\n\tadditionalLabels: [],\n\tcustomHeader:\n\t\t'<p style=\"text-align: center;\"><strong><span style=\"font-size: 14pt;\">Reproductive Mother Newborn Child Adolescent Health Scorecard</span></strong></p>',\n\tdataSelection: {\n\t\tdataGroups: [\n\t\t\t{\n\t\t\t\tdataHolders: [\n\t\t\t\t\t{\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"UT1DJmtzyox\",\n\t\t\t\t\t\t\t\tlabel: \"ANC 1st visit coverage (%)\",\n\t\t\t\t\t\t\t\tlegends: {\n\t\t\t\t\t\t\t\t\tBNQIkbGlA00: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"KpYHhHJn6TW\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"D7p3mOofXV5\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"h53u0qtfWrm\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\tP0QFTFfTl2X: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"Gu1MEoKBM9z\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"Ov1gJoUyWGA\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"kdr4mFvCXeF\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\tVJJOhuBJSJe: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"ZRel5tdDTxP\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"ZdkqaQjk4dy\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"yHqYRGJTuZ7\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\tZqI1kKnH7ve: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"M8SRVFU7qaJ\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"t0kMCebyKa3\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"qQWheNiAv5H\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"dataElement\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"FgNnsRgCs8r\",\n\t\t\t\t\t\t\t\tlabel: \"ANC 4th visit coverage (%)\",\n\t\t\t\t\t\t\t\tlegends: {\n\t\t\t\t\t\t\t\t\tBNQIkbGlA00: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"XMzI6YTRjnh\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"XaSA3Wbd8ev\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"zTVnWeobd1W\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\tP0QFTFfTl2X: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"uMqW1iTVZbk\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"KF017pCID2N\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"L3PNXKkZlKn\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\tVJJOhuBJSJe: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"lpPPAVPWAHa\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"qtzhYa0YOZe\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"rcPPIBAegMP\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\tZqI1kKnH7ve: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"w31XD1NVKYc\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"Yka97h8Gp5S\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"rq5CQddHPzj\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"dataElement\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tid: \"kJx1Eg83H1A\",\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t\tid: \"uRgQI4ArrDc\",\n\t\t\t\tstyle: {\n\t\t\t\t\tbackgroundColor: \"#FFFFFF\",\n\t\t\t\t\tcolor: \"#000000\",\n\t\t\t\t},\n\t\t\t\ttitle: \"ANC\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tdataHolders: [\n\t\t\t\t\t{\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"S0IzYPGQLnN\",\n\t\t\t\t\t\t\t\tlabel: \"PCV 3 coverage (%)\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\tid: \"bnLSP7FW4CD\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\tid: \"eIQjXQYMwYF\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\tid: \"eeXyZVN0FCX\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"dataElement\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"ZNz5XzwJZK5\",\n\t\t\t\t\t\t\t\tlabel: \"RMNCH IPTp1 coverage (%)\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\tid: \"M3O2zlFt2QR\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\tid: \"XrYIKCaK5uO\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\tid: \"yAfwEbfXWab\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"dataElement\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tid: \"kfl50Ej7lDu\",\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t\tid: \"QcZw8mJ1Rze\",\n\t\t\t\tstyle: {\n\t\t\t\t\tbackgroundColor: \"#FFFFFF\",\n\t\t\t\t\tcolor: \"#000000\",\n\t\t\t\t},\n\t\t\t\ttitle: \"Child Health\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tdataHolders: [\n\t\t\t\t\t{\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"wc3XYCyuxyE\",\n\t\t\t\t\t\t\t\tlabel: \"Post partum care coverage (within 2 days) (%)\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\tid: \"b3UiR0upygY\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\tid: \"Qws2zJ6nnhO\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\tid: \"EjYfDZUMrvh\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"dataElement\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"NV6Xc9oGJZV\",\n\t\t\t\t\t\t\t\tlabel: \"Breastfeeding within 1 hour after delivery (%)\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\tid: \"wqt6J8rW5Gg\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\tid: \"BoXJK9Y7xfL\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\tid: \"leioF1u23By\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"dataElement\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tid: \"w8XIm3FYgHf\",\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t\tid: \"UVvskRg3Q3O\",\n\t\t\t\tstyle: {\n\t\t\t\t\tbackgroundColor: \"#FFFFFF\",\n\t\t\t\t\tcolor: \"#000000\",\n\t\t\t\t},\n\t\t\t\ttitle: \"PNC\",\n\t\t\t},\n\t\t\t{\n\t\t\t\tdataHolders: [\n\t\t\t\t\t{\n\t\t\t\t\t\tdataSources: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"XXDXVGzvSx1\",\n\t\t\t\t\t\t\t\tlabel: \"Caesarean section delivery rate (%)\",\n\t\t\t\t\t\t\t\tlegends: [\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\tid: \"nYuMTV2paEd\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\tid: \"iRmHVCt9uCF\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\tid: \"oZC6QPZ7AAS\",\n\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"dataElement\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdisplayArrows: true,\n\t\t\t\t\t\t\t\teffectiveGap: 5,\n\t\t\t\t\t\t\t\thighIsGood: true,\n\t\t\t\t\t\t\t\tid: \"lMRhTK17SDQ\",\n\t\t\t\t\t\t\t\tlabel: \"Institutional delivery rate (%)\",\n\t\t\t\t\t\t\t\tlegends: {\n\t\t\t\t\t\t\t\t\tBNQIkbGlA00: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"mOYx4YWdhVl\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"gxG34EbioX8\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"MBAKh3ZG2dK\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\tP0QFTFfTl2X: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"MmQldQ7jgAH\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"WF1kso6rvDr\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"JcaFJoC6kNi\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\tVJJOhuBJSJe: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"L07Gb3JDHVS\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"jZ9fu7sOQDr\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"EoTSwqHRfZV\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\tZqI1kKnH7ve: [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"CO0eiIoCRty\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"66\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"YWySiVblPtQ\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tendValue: \"33\",\n\t\t\t\t\t\t\t\t\t\t\tid: \"paJxvmioynV\",\n\t\t\t\t\t\t\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\t\t\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tshowColors: true,\n\t\t\t\t\t\t\t\ttype: \"dataElement\",\n\t\t\t\t\t\t\t\tweight: 100,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t\tid: \"yZsI8HZOKab\",\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t\tid: \"erF3HyaFtYs\",\n\t\t\t\tstyle: {\n\t\t\t\t\tbackgroundColor: \"#FFFFFF\",\n\t\t\t\t\tcolor: \"#000000\",\n\t\t\t\t},\n\t\t\t\ttitle: \"Birth\",\n\t\t\t},\n\t\t],\n\t},\n\tdescription:\n\t\t\"Reproductive Mother Newborn Child Adolescent Health Score Card\",\n\thighlightedIndicators: [\n\t\t{\n\t\t\tdisplayArrows: true,\n\t\t\teffectiveGap: 5,\n\t\t\thighIsGood: true,\n\t\t\tid: \"BvG8P80QxqZ\",\n\t\t\tlabel: \"Access to ANC Services\",\n\t\t\tlegends: [\n\t\t\t\t{\n\t\t\t\t\tendValue: \"100\",\n\t\t\t\t\tid: \"gpxLYDFnZmu\",\n\t\t\t\t\tlegendDefinitionId: \"Hp7RQEOkeeI\",\n\t\t\t\t\tstartValue: \"80\",\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tendValue: \"80\",\n\t\t\t\t\tid: \"nG6xsue9WBm\",\n\t\t\t\t\tlegendDefinitionId: \"Tdn0N0KCkfS\",\n\t\t\t\t\tstartValue: \"60\",\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tendValue: \"60\",\n\t\t\t\t\tid: \"UeAJV56yLPg\",\n\t\t\t\t\tlegendDefinitionId: \"wvkMv3ABWbT\",\n\t\t\t\t\tstartValue: \"40\",\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tendValue: \"40\",\n\t\t\t\t\tid: \"Gop7mo2IUdC\",\n\t\t\t\t\tlegendDefinitionId: \"N/A\",\n\t\t\t\t\tstartValue: \"20\",\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tendValue: \"20\",\n\t\t\t\t\tid: \"RE0ln0cImOf\",\n\t\t\t\t\tlegendDefinitionId: \"No Data\",\n\t\t\t\t\tstartValue: \"0\",\n\t\t\t\t},\n\t\t\t],\n\t\t\tshowColors: true,\n\t\t\ttype: \"indicator\",\n\t\t\tweight: 100,\n\t\t},\n\t],\n\tid: \"KKQrggIIOlT\",\n\tlegendDefinitions: [\n\t\t{\n\t\t\tcolor: \"#008000\",\n\t\t\tid: \"Hp7RQEOkeeI\",\n\t\t\tname: \"Target Reached/ On Track\",\n\t\t},\n\t\t{\n\t\t\tcolor: \"#FFFF00\",\n\t\t\tid: \"Tdn0N0KCkfS\",\n\t\t\tname: \"Progress, but more effort required\",\n\t\t},\n\t\t{\n\t\t\tcolor: \"#FF0000\",\n\t\t\tid: \"wvkMv3ABWbT\",\n\t\t\tname: \"Not on track\",\n\t\t},\n\t\t{\n\t\t\tcolor: \"#D3D3D3\",\n\t\t\tid: \"N/A\",\n\t\t\tisDefault: true,\n\t\t\tname: \"N/A\",\n\t\t},\n\t\t{\n\t\t\tcolor: \"#FFFFFF\",\n\t\t\tid: \"No Data\",\n\t\t\tisDefault: true,\n\t\t\tname: \"No Data\",\n\t\t},\n\t],\n\toptions: {\n\t\tarrows: true,\n\t\taverageColumn: false,\n\t\taverageDisplayType: \"ALL\",\n\t\taverageRow: false,\n\t\temptyRows: false,\n\t\thighlightedIndicators: false,\n\t\titemNumber: true,\n\t\tlegend: true,\n\t\tshowDataInRows: false,\n\t\tshowHierarchy: true,\n\t\ttitle: true,\n\t},\n\torgUnitSelection: {\n\t\tgroups: [],\n\t\tlevels: [\"P0QFTFfTl2X\"],\n\t\torgUnits: [\n\t\t\t{\n\t\t\t\tid: \"GD7TowwI46c\",\n\t\t\t},\n\t\t],\n\t\tuserOrgUnit: false,\n\t\tuserSubUnit: false,\n\t\tuserSubX2Unit: false,\n\t},\n\tperiodSelection: {\n\t\tperiods: [\n\t\t\t{\n\t\t\t\tid: \"2018\",\n\t\t\t},\n\t\t],\n\t},\n\tsubtitle: \"\",\n\ttitle: \"RMNCAH Score Card Revised\",\n};\n\nconst meta: Meta<typeof ScorecardPrint> = {\n\ttitle: \"Scorecard Print Area\",\n\tcomponent: ScorecardPrint,\n\tdecorators: (Story, context) => {\n\t\treturn (\n\t\t\t<ScorecardStateProvider\n\t\t\t\tconfig={config}\n\t\t\t\tinitialState={{\n\t\t\t\t\t...getInitialStateFromConfig(playConfig),\n\t\t\t\t\torgUnitSelection: {\n\t\t\t\t\t\tuserOrgUnit: true,\n\t\t\t\t\t\tuserSubUnit: true,\n\t\t\t\t\t\tuserSubX2Unit: true,\n\t\t\t\t\t},\n\t\t\t\t\toptions: {\n\t\t\t\t\t\t...getInitialStateFromConfig(playConfig).options,\n\t\t\t\t\t\tdisableExpanding: true,\n\t\t\t\t\t\tdisablePagination: true,\n\t\t\t\t\t\tprintMode: true,\n\t\t\t\t\t},\n\t\t\t\t}}\n\t\t\t>\n\t\t\t\t<div\n\t\t\t\t\tstyle={{\n\t\t\t\t\t\tdisplay: \"flex\",\n\t\t\t\t\t\tflexDirection: \"column\",\n\t\t\t\t\t\tgap: 32,\n\t\t\t\t\t\twidth: \"100%\",\n\t\t\t\t\t}}\n\t\t\t\t>\n\t\t\t\t\t<ScorecardContext config={playConfig}>\n\t\t\t\t\t\t<ScorecardDataProvider>\n\t\t\t\t\t\t\t<Story\n\t\t\t\t\t\t\t\targs={{\n\t\t\t\t\t\t\t\t\t...context.args,\n\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</ScorecardDataProvider>\n\t\t\t\t\t</ScorecardContext>\n\t\t\t\t</div>\n\t\t\t</ScorecardStateProvider>\n\t\t);\n\t},\n};\n\nexport default meta;\n\ntype Story = StoryObj<typeof ScorecardPrint>;\n\nexport const Default: Story = {\n\tname: \"Default View\",\n\targs: {\n\t\tconfig,\n\t},\n};\n// export const DataInRows: Story = {\n// \tname: \"Data in rows view\",\n// \targs: {},\n// };\n// export const FilteredAboveAverage: Story = {\n// \tname: \"Filtered above average\",\n// \targs: {},\n// };\n// export const FilteredBelowAverage: Story = {\n// \tname: \"Filtered below average\",\n// \targs: {},\n// };\n// export const WithLinkedCells: Story = {\n// \tname: \"With linked cells\",\n// \targs: {},\n// };\n// export const WithLinkedCellsDataInRows: Story = {\n// \tname: \"With linked cells and data in rows\",\n// \targs: {},\n// };\n"]}
|
|
@@ -50,10 +50,15 @@ function DownloadMenu({
|
|
|
50
50
|
const onDownload = (type) => () => {
|
|
51
51
|
onClose();
|
|
52
52
|
switch (type) {
|
|
53
|
+
case "pdf":
|
|
54
|
+
print();
|
|
55
|
+
break;
|
|
53
56
|
case "csv":
|
|
54
57
|
case "excel":
|
|
55
58
|
const extension = type === "csv" ? "csv" : "xlsx";
|
|
56
|
-
const workbook = xlsx__namespace.utils.table_to_book(
|
|
59
|
+
const workbook = xlsx__namespace.utils.table_to_book(
|
|
60
|
+
previewRef.current
|
|
61
|
+
);
|
|
57
62
|
xlsx__namespace.writeFile(workbook, `${config.title}.${extension}`);
|
|
58
63
|
break;
|
|
59
64
|
case "almaMeta":
|
|
@@ -77,30 +82,23 @@ function DownloadMenu({
|
|
|
77
82
|
}
|
|
78
83
|
),
|
|
79
84
|
/* @__PURE__ */ jsxRuntime.jsx(ui.MenuItem, { onClick: onDownload("csv"), label: i18n__default.default.t("CSV") }),
|
|
80
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
)
|
|
97
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
98
|
-
ui.MenuItem,
|
|
99
|
-
{
|
|
100
|
-
onClick: onDownload("almaMeta"),
|
|
101
|
-
label: i18n__default.default.t("Metadata")
|
|
102
|
-
}
|
|
103
|
-
)
|
|
85
|
+
/* @__PURE__ */ jsxRuntime.jsx(ui.MenuItem, { onClick: onDownload("pdf"), label: i18n__default.default.t("PDF") }),
|
|
86
|
+
/* @__PURE__ */ jsxRuntime.jsxs(ui.MenuItem, { label: i18n__default.default.t("ALMA"), children: [
|
|
87
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
88
|
+
ui.MenuItem,
|
|
89
|
+
{
|
|
90
|
+
onClick: onDownload("alma"),
|
|
91
|
+
label: i18n__default.default.t("Data(JSON)")
|
|
92
|
+
}
|
|
93
|
+
),
|
|
94
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
95
|
+
ui.MenuItem,
|
|
96
|
+
{
|
|
97
|
+
onClick: onDownload("almaMeta"),
|
|
98
|
+
label: i18n__default.default.t("Metadata")
|
|
99
|
+
}
|
|
100
|
+
)
|
|
101
|
+
] })
|
|
104
102
|
] }) });
|
|
105
103
|
}
|
|
106
104
|
function ScorecardDownloadButton() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/components/ScorecardPrint/components/ScorecardDownloadButton.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/ScorecardPrint/components/ScorecardDownloadButton.tsx"],"names":[],"mappings":"AA6DE,mBAEE,KAMA,YARF;AA7DF;AAAA,EACC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACM;AACP,OAAO,UAAU;AACjB,SAAyB,WAAW,QAAQ,gBAAgB;AAC5D,SAAS,wBAAwB;AACjC,SAAS,uBAAuB;AAChC,SAAS,0BAA0B;AACnC,SAAS,4BAA4B;AACrC,YAAY,UAAU;AACtB,SAAS,wBAAwB;AACjC,SAAS,kBAAkB,wBAAwB;AAEnD,SAAS,aAAa;AAAA,EACrB;AAAA,EACA;AACD,GAGG;AACF,QAAM,SAAS,mBAAmB;AAClC,QAAM,EAAE,MAAM,WAAW,IAAI,iBAAiB;AAC9C,QAAM,OAAO,iBAAiB;AAC9B,QAAM,QAAQ,gBAAgB;AAAA,IAC7B,YAAY;AAAA,IACZ,oBAAoB;AAAA,IACpB,eAAe,OAAO;AAAA,EACvB,CAAC;AAED,QAAM,aACL,CAAC,SAAwD,MAAM;AAC9D,YAAQ;AACR,YAAQ,MAAM;AAAA,MACb,KAAK;AACJ,cAAM;AACN;AAAA,MACD,KAAK;AAAA,MACL,KAAK;AACJ,cAAM,YAAY,SAAS,QAAQ,QAAQ;AAC3C,cAAM,WAAW,KAAK,MAAM;AAAA,UAC3B,WAAW;AAAA,QACZ;AACA,aAAK,UAAU,UAAU,GAAG,OAAO,KAAK,IAAI,SAAS,EAAE;AACvD;AAAA,MACD,KAAK;AACJ,yBAAiB,EAAE,QAAQ,KAAY,CAAC;AACxC;AAAA,MACD,KAAK;AACJ,yBAAiB;AAAA,UAChB;AAAA,UACA;AAAA,UACA,MAAM,WAAW;AAAA,QAClB,CAAC;AACD;AAAA,IACF;AAAA,EACD;AAED,SACC,gCACC,+BAA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AAY,KAAK,EAAE,gBAAgB,IAAI,KAAK,EAAE,UAAU;AAAA;AAAA,IAC3D;AAAA,KACD;AAEF","sourcesContent":["import {\n\tDropdownButton,\n\tFlyoutMenu,\n\tIconDownload24,\n\tMenuItem,\n} from \"@dhis2/ui\";\nimport i18n from \"@dhis2/d2-i18n\";\nimport { type RefObject, useEffect, useRef, useState } from \"react\";\nimport { useScorecardData } from \"../../DataProvider\";\nimport { useReactToPrint } from \"react-to-print\";\nimport { useScorecardConfig } from \"../../ConfigProvider\";\nimport { ScorecardPreviewArea } from \"./ScorecardPreviewArea\";\nimport * as xlsx from \"xlsx\";\nimport { useScorecardMeta } from \"../../MetaProvider\";\nimport { downloadALMAData, downloadALMAMeta } from \"../utils/download\";\n\nfunction DownloadMenu({\n\tpreviewRef,\n\tonClose,\n}: {\n\tpreviewRef: RefObject<HTMLDivElement>;\n\tonClose: () => void;\n}) {\n\tconst config = useScorecardConfig();\n\tconst { data: dataEngine } = useScorecardData();\n\tconst meta = useScorecardMeta();\n\tconst print = useReactToPrint({\n\t\tcontentRef: previewRef,\n\t\tpreserveAfterPrint: false,\n\t\tdocumentTitle: config.title,\n\t});\n\n\tconst onDownload =\n\t\t(type: \"excel\" | \"csv\" | \"alma\" | \"almaMeta\" | \"pdf\") => () => {\n\t\t\tonClose();\n\t\t\tswitch (type) {\n\t\t\t\tcase \"pdf\":\n\t\t\t\t\tprint();\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"csv\":\n\t\t\t\tcase \"excel\":\n\t\t\t\t\tconst extension = type === \"csv\" ? \"csv\" : \"xlsx\";\n\t\t\t\t\tconst workbook = xlsx.utils.table_to_book(\n\t\t\t\t\t\tpreviewRef.current,\n\t\t\t\t\t);\n\t\t\t\t\txlsx.writeFile(workbook, `${config.title}.${extension}`);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"almaMeta\":\n\t\t\t\t\tdownloadALMAMeta({ config, meta: meta! });\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"alma\":\n\t\t\t\t\tdownloadALMAData({\n\t\t\t\t\t\tconfig,\n\t\t\t\t\t\tmeta: meta!,\n\t\t\t\t\t\tdata: dataEngine.data,\n\t\t\t\t\t});\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t};\n\n\treturn (\n\t\t<>\n\t\t\t<FlyoutMenu>\n\t\t\t\t<MenuItem\n\t\t\t\t\tonClick={onDownload(\"excel\")}\n\t\t\t\t\tlabel={i18n.t(\"Excel\")}\n\t\t\t\t/>\n\t\t\t\t<MenuItem onClick={onDownload(\"csv\")} label={i18n.t(\"CSV\")} />\n\t\t\t\t<MenuItem onClick={onDownload(\"pdf\")} label={i18n.t(\"PDF\")} />\n\t\t\t\t<MenuItem label={i18n.t(\"ALMA\")}>\n\t\t\t\t\t<MenuItem\n\t\t\t\t\t\tonClick={onDownload(\"alma\")}\n\t\t\t\t\t\tlabel={i18n.t(\"Data(JSON)\")}\n\t\t\t\t\t/>\n\t\t\t\t\t<MenuItem\n\t\t\t\t\t\tonClick={onDownload(\"almaMeta\")}\n\t\t\t\t\t\tlabel={i18n.t(\"Metadata\")}\n\t\t\t\t\t/>\n\t\t\t\t</MenuItem>\n\t\t\t</FlyoutMenu>\n\t\t</>\n\t);\n}\n\nexport function ScorecardDownloadButton() {\n\tconst { data: dataEngine } = useScorecardData();\n\tconst [menuRef, setMenuRef] = useState<boolean>(false);\n\tconst [completed, setCompleted] = useState<boolean>(dataEngine.isDone);\n\tconst previewRef = useRef<HTMLDivElement | null>(null);\n\n\tuseEffect(() => {\n\t\treturn dataEngine.addOnCompleteListener(setCompleted);\n\t}, [dataEngine]);\n\n\treturn (\n\t\t<>\n\t\t\t{completed && <ScorecardPreviewArea previewRef={previewRef} />}\n\t\t\t<DropdownButton\n\t\t\t\ttype=\"button\"\n\t\t\t\tdisabled={!completed}\n\t\t\t\topen={menuRef}\n\t\t\t\tonClick={(_, e) => {\n\t\t\t\t\tsetMenuRef(true);\n\t\t\t\t}}\n\t\t\t\ticon={<IconDownload24 />}\n\t\t\t\tcomponent={\n\t\t\t\t\t<DownloadMenu\n\t\t\t\t\t\tonClose={() => setMenuRef(false)}\n\t\t\t\t\t\tpreviewRef={previewRef}\n\t\t\t\t\t/>\n\t\t\t\t}\n\t\t\t>\n\t\t\t\t{!completed ? i18n.t(\"Please wait...\") : i18n.t(\"Download\")}\n\t\t\t</DropdownButton>\n\t\t</>\n\t);\n}\n"]}
|
|
@@ -8,11 +8,26 @@ var reactDndHtml5Backend = require('react-dnd-html5-backend');
|
|
|
8
8
|
var ScorecardTable = require('../../ScorecardTable');
|
|
9
9
|
var ScorecardHeader = require('../../ScorecardHeader');
|
|
10
10
|
var ScorecardLegendsView = require('../../ScorecardLegendsView');
|
|
11
|
+
var StateProvider = require('../../StateProvider');
|
|
12
|
+
var ConfigProvider = require('../../ConfigProvider');
|
|
13
|
+
var recoil = require('recoil');
|
|
14
|
+
var state = require('../../../state');
|
|
11
15
|
|
|
12
16
|
const ScorecardPreviewArea = react.memo(function ScorecardPreviewArea2({
|
|
13
17
|
previewRef
|
|
14
18
|
}) {
|
|
15
|
-
|
|
19
|
+
const config = ConfigProvider.useScorecardConfig();
|
|
20
|
+
const state$1 = recoil.useRecoilValue(state.scorecardStateAtom);
|
|
21
|
+
const updatedState = {
|
|
22
|
+
...state$1 ?? {},
|
|
23
|
+
options: {
|
|
24
|
+
...state$1?.options ?? {},
|
|
25
|
+
disableExpanding: true,
|
|
26
|
+
disablePagination: true,
|
|
27
|
+
printMode: true
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
return /* @__PURE__ */ jsxRuntime.jsx(StateProvider.ScorecardStateProvider, { initialState: updatedState, config, children: /* @__PURE__ */ jsxRuntime.jsx("div", { style: { display: "none" }, children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
16
31
|
"div",
|
|
17
32
|
{
|
|
18
33
|
className: "print-preview",
|
|
@@ -36,7 +51,7 @@ const ScorecardPreviewArea = react.memo(function ScorecardPreviewArea2({
|
|
|
36
51
|
) }) })
|
|
37
52
|
]
|
|
38
53
|
}
|
|
39
|
-
) });
|
|
54
|
+
) }) });
|
|
40
55
|
});
|
|
41
56
|
|
|
42
57
|
exports.ScorecardPreviewArea = ScorecardPreviewArea;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/components/ScorecardPrint/components/ScorecardPreviewArea.tsx"],"names":["ScorecardPreviewArea"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/ScorecardPrint/components/ScorecardPreviewArea.tsx"],"names":["ScorecardPreviewArea"],"mappings":"AAkCI,SAUC,KAVD;AAlCJ,SAAgB,YAA4B;AAC5C,SAAS,0BAA0B;AACnC,SAAS,mBAAmB;AAC5B,SAAS,oBAAoB;AAC7B,SAAS,sBAAsB;AAC/B,SAAS,uBAAuB;AAChC,SAAS,4BAA4B;AACrC,SAAS,8BAA8B;AACvC,SAAS,0BAA0B;AACnC,SAAS,sBAAsB;AAC/B,SAAS,0BAA0B;AAG5B,MAAM,uBAAuB,KAAK,SAASA,sBAAqB;AAAA,EACtE;AACD,GAEG;AACF,QAAM,SAAS,mBAAmB;AAClC,QAAM,QAAQ,eAAe,kBAAkB;AAE/C,QAAM,eAAe;AAAA,IACpB,GAAI,SAAS,CAAC;AAAA,IACd,SAAS;AAAA,MACR,GAAI,OAAO,WAAW,CAAC;AAAA,MACvB,kBAAkB;AAAA,MAClB,mBAAmB;AAAA,MACnB,WAAW;AAAA,IACZ;AAAA,EACD;AAEA,SACC,oBAAC,0BAAuB,cAAc,cAAc,QACnD,8BAAC,SAAI,OAAO,EAAE,SAAS,OAAO,GAC7B;AAAA,IAAC;AAAA;AAAA,MACA,WAAU;AAAA,MACV,OAAO;AAAA,QACN,QAAQ;AAAA,QACR,SAAS;AAAA,QACT,KAAK;AAAA,QACL,eAAe;AAAA,MAChB;AAAA,MACA,KAAK;AAAA,MAEL;AAAA,4BAAC,mBAAgB;AAAA,QACjB,oBAAC,wBAAqB;AAAA,QACtB,oBAAC,sBACA,8BAAC,eAAY,SAAS,cACrB;AAAA,UAAC;AAAA;AAAA,YACA,cAAa;AAAA,YACb,aAAY;AAAA,YACZ,OAAM;AAAA;AAAA,QACP,GACD,GACD;AAAA;AAAA;AAAA,EACD,GACD,GACD;AAEF,CAAC","sourcesContent":["import React, { memo, type RefObject } from \"react\";\nimport { TableStateProvider } from \"../../TableStateProvider\";\nimport { DndProvider } from \"react-dnd\";\nimport { HTML5Backend } from \"react-dnd-html5-backend\";\nimport { ScorecardTable } from \"../../ScorecardTable\";\nimport { ScorecardHeader } from \"../../ScorecardHeader\";\nimport { ScorecardLegendsView } from \"../../ScorecardLegendsView\";\nimport { ScorecardStateProvider } from \"../../StateProvider\";\nimport { useScorecardConfig } from \"../../ConfigProvider\";\nimport { useRecoilValue } from \"recoil\";\nimport { scorecardStateAtom } from \"../../../state\";\nimport type { ScorecardState } from \"../../../schemas/config\";\n\nexport const ScorecardPreviewArea = memo(function ScorecardPreviewArea({\n\tpreviewRef,\n}: {\n\tpreviewRef: RefObject<HTMLDivElement>;\n}) {\n\tconst config = useScorecardConfig();\n\tconst state = useRecoilValue(scorecardStateAtom);\n\n\tconst updatedState = {\n\t\t...(state ?? {}),\n\t\toptions: {\n\t\t\t...(state?.options ?? {}),\n\t\t\tdisableExpanding: true,\n\t\t\tdisablePagination: true,\n\t\t\tprintMode: true,\n\t\t},\n\t} as ScorecardState;\n\n\treturn (\n\t\t<ScorecardStateProvider initialState={updatedState} config={config}>\n\t\t\t<div style={{ display: \"none\" }}>\n\t\t\t\t<div\n\t\t\t\t\tclassName=\"print-preview\"\n\t\t\t\t\tstyle={{\n\t\t\t\t\t\theight: \"100%\",\n\t\t\t\t\t\tdisplay: \"flex\",\n\t\t\t\t\t\tgap: 16,\n\t\t\t\t\t\tflexDirection: \"column\",\n\t\t\t\t\t}}\n\t\t\t\t\tref={previewRef}\n\t\t\t\t>\n\t\t\t\t\t<ScorecardHeader />\n\t\t\t\t\t<ScorecardLegendsView />\n\t\t\t\t\t<TableStateProvider>\n\t\t\t\t\t\t<DndProvider backend={HTML5Backend}>\n\t\t\t\t\t\t\t<ScorecardTable\n\t\t\t\t\t\t\t\tscrollHeight=\"100%\"\n\t\t\t\t\t\t\t\tscrollWidth=\"100%\"\n\t\t\t\t\t\t\t\twidth=\"100%\"\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</DndProvider>\n\t\t\t\t\t</TableStateProvider>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</ScorecardStateProvider>\n\t);\n});\n"]}
|
|
@@ -113,6 +113,9 @@ function DataHolderFooterCell({
|
|
|
113
113
|
if (loading) {
|
|
114
114
|
return /* @__PURE__ */ jsxRuntime.jsx(CellLoader.CellLoader, { size });
|
|
115
115
|
}
|
|
116
|
+
if (isNaN(average)) {
|
|
117
|
+
return /* @__PURE__ */ jsxRuntime.jsx(ui.DataTableCell, { style: { width: size }, bordered: true, align: "center" });
|
|
118
|
+
}
|
|
116
119
|
return /* @__PURE__ */ jsxRuntime.jsx(ui.DataTableCell, { style: { width: size }, bordered: true, align: "center", children: /* @__PURE__ */ jsxRuntime.jsx("b", { children: average?.toFixed(2).toString() }) });
|
|
117
120
|
}
|
|
118
121
|
function DataFooterCell({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/components/ScorecardTable/components/DataFooterCell.tsx"],"names":["average"],"mappings":"AA+ES;AAzET,SAAS,WAAW,SAAS,gBAAgB;AAC7C,SAAS,qBAAqB;AAE9B,SAAS,wBAAwB;AACjC,SAAS,MAAM,SAAS,cAAc;AACtC,SAAS,kBAAkB;AAC3B,SAAS,mBAAmB,yBAAyB;AACrD,SAAS,sCAAsC;AAE/C,SAAS,kBAAkB;AAAA,EAC1B;AAAA,EACA;AACD,GAG+B;AAC9B,QAAM,mBAAmB,KAAK,iBAAiB;AAE/C,SAAO,iBAAiB,aAAa,IAAI,CAAC,WAAW;AACpD,UAAM,SAAS,iBAAiB;AAChC,UAAM,aA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;AAC5B,QAAM,iBAAiB,+BAAwC;AAAA,IAC9D;AAAA,IACA;AAAA,EACD,CAAC;AACD,QAAM,mBAAmB,QAAQ,MAAM;AACtC,WAAO,MACL,YAAY,EACZ,KAAK;AAAA,MAAI,CAAC,QACV,IAAI,SAAS,OAAO,EAAE;AAAA,IACvB;AAAA,EACF,GAAG,CAAC,MAAM,YAAY,EAAE,IAAI,CAAC;AAE7B,MAAI,gBAAgB;AACnB,WACC;AAAA,MAAC;AAAA;AAAA,QACA;AAAA,QACA,mBAAmB;AAAA;AAAA,IACpB;AAAA,EAEF;AAEA,SACC,oBAAC,qBAAkB,MAAY,mBAAmB,kBAAkB;AAEtE","sourcesContent":["import type { HeaderContext } from \"@tanstack/react-table\";\nimport type {\n\tScorecardAverageCellData,\n\tScorecardTableCellConfig,\n\tScorecardTableData,\n} from \"../../../schemas/config\";\nimport { useEffect, useMemo, useState } from \"react\";\nimport { DataTableCell } from \"@dhis2/ui\";\nimport type { AnalyticsData } from \"../../../utils/data\";\nimport { useScorecardData } from \"../../DataProvider\";\nimport { head, isEmpty, meanBy } from \"lodash\";\nimport { CellLoader } from \"./CellLoader\";\nimport { LinkedAverageCell, SingleAverageCell } from \"./AverageCell\";\nimport { useScorecardStateSelectorValue } from \"../../../state\";\n\nfunction getOrgUnitAverage({\n\tdataSourcesConfig,\n\tdata,\n}: {\n\tdataSourcesConfig: ScorecardTableCellConfig[];\n\tdata: AnalyticsData[];\n}): ScorecardAverageCellData[] {\n\tconst dataSourceConfig = head(dataSourcesConfig)!;\n\n\treturn dataSourceConfig.dataSources?.map((config) => {\n\t\tconst period = dataSourceConfig.currentPeriod!;\n\t\tconst dataValues = data.filter(\n\t\t\t(datum) => datum.pe === period && datum.dx === config.id,\n\t\t);\n\t\tconst average = meanBy(dataValues, (value) => parseFloat(value.value!));\n\n\t\treturn {\n\t\t\t...config,\n\t\t\tdata: {\n\t\t\t\taverage,\n\t\t\t},\n\t\t};\n\t});\n}\n\nfunction OrgUnitFooterCell({\n\tdataSourcesConfig,\n\tsize,\n}: {\n\tdataSourcesConfig: ScorecardTableCellConfig[];\n\tsize: number;\n}) {\n\tconst { data: scorecardEngine } = useScorecardData();\n\tconst [loading, setLoading] = useState<boolean>(false);\n\tconst [averageValues, setAverageValues] =\n\t\tuseState<ScorecardAverageCellData[]>();\n\n\tuseEffect(() => {\n\t\tsetLoading(true);\n\t\tconst listener = (completed: boolean) => {\n\t\t\tif (completed) {\n\t\t\t\tsetAverageValues(\n\t\t\t\t\tgetOrgUnitAverage({\n\t\t\t\t\t\tdataSourcesConfig,\n\t\t\t\t\t\tdata: scorecardEngine.data,\n\t\t\t\t\t}),\n\t\t\t\t);\n\t\t\t\tsetLoading(false);\n\t\t\t}\n\t\t};\n\t\tif (scorecardEngine.isDone) {\n\t\t\tsetAverageValues(\n\t\t\t\tgetOrgUnitAverage({\n\t\t\t\t\tdataSourcesConfig,\n\t\t\t\t\tdata: scorecardEngine.data,\n\t\t\t\t}),\n\t\t\t);\n\t\t\tsetLoading(false);\n\t\t} else {\n\t\t\treturn scorecardEngine.addOnCompleteListener(listener);\n\t\t}\n\t}, [dataSourcesConfig]);\n\n\tif (loading) {\n\t\treturn <CellLoader size={size} />;\n\t}\n\n\tif (isEmpty(averageValues)) {\n\t\treturn <DataTableCell style={{ width: size }} bordered />;\n\t}\n\n\tif (averageValues?.length === 1) {\n\t\treturn (\n\t\t\t<SingleAverageCell size={size} dataSource={head(averageValues)!} />\n\t\t);\n\t} else {\n\t\treturn <LinkedAverageCell size={size} dataSources={averageValues!} />;\n\t}\n}\n\nfunction DataHolderFooterCell({\n\tdataSourcesConfig,\n\tsize,\n}: {\n\tdataSourcesConfig: ScorecardTableCellConfig[];\n\tsize: number;\n}) {\n\tconst { data: scorecardEngine } = useScorecardData();\n\tconst [loading, setLoading] = useState<boolean>(false);\n\tconst [average, setAverage] = useState<number>();\n\n\tuseEffect(() => {\n\t\tsetLoading(true);\n\t\tconst listener = (completed: boolean) => {\n\t\t\tif (completed) {\n\t\t\t\tsetLoading(false);\n\t\t\t\tconst orgUnitId = head(dataSourcesConfig)!;\n\t\t\t\tconst dataValues = scorecardEngine.data.filter(\n\t\t\t\t\t(datum) => datum.ou === orgUnitId.orgUnit.uid,\n\t\t\t\t);\n\t\t\t\tconst average = meanBy(dataValues, (value) =>\n\t\t\t\t\tparseFloat(value.value!),\n\t\t\t\t);\n\t\t\t\tsetAverage(average);\n\t\t\t}\n\t\t};\n\t\tif (scorecardEngine.isDone) {\n\t\t\tconst orgUnitId = head(dataSourcesConfig)!;\n\t\t\tconst dataValues = scorecardEngine.data.filter(\n\t\t\t\t(datum) => datum.ou === orgUnitId.orgUnit.uid,\n\t\t\t);\n\t\t\tconst average = meanBy(dataValues, (value) =>\n\t\t\t\tparseFloat(value.value!),\n\t\t\t);\n\t\t\tsetAverage(average);\n\t\t\tsetLoading(false);\n\t\t} else {\n\t\t\treturn scorecardEngine.addOnCompleteListener(listener);\n\t\t}\n\t}, [dataSourcesConfig]);\n\n\tif (loading) {\n\t\treturn <CellLoader size={size} />;\n\t}\n\treturn (\n\t\t<DataTableCell style={{ width: size }} bordered align=\"center\">\n\t\t\t<b>{average?.toFixed(2).toString()}</b>\n\t\t</DataTableCell>\n\t);\n}\n\nexport function DataFooterCell({\n\ttable,\n\tcolumn,\n}: HeaderContext<ScorecardTableData, ScorecardTableCellConfig>) {\n\tconst size = column.getSize();\n\tconst showDataInRows = useScorecardStateSelectorValue<boolean>([\n\t\t\"options\",\n\t\t\"showDataInRows\",\n\t]);\n\tconst dataSourceConfig = useMemo(() => {\n\t\treturn table\n\t\t\t.getRowModel()\n\t\t\t.rows.map((row) =>\n\t\t\t\trow.getValue(column.id),\n\t\t\t) as ScorecardTableCellConfig[];\n\t}, [table.getRowModel().rows]);\n\n\tif (showDataInRows) {\n\t\treturn (\n\t\t\t<DataHolderFooterCell\n\t\t\t\tsize={size}\n\t\t\t\tdataSourcesConfig={dataSourceConfig}\n\t\t\t/>\n\t\t);\n\t}\n\n\treturn (\n\t\t<OrgUnitFooterCell size={size} dataSourcesConfig={dataSourceConfig} />\n\t);\n}\n"]}
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/ScorecardTable/components/DataFooterCell.tsx"],"names":["average"],"mappings":"AA+ES;AAzET,SAAS,WAAW,SAAS,gBAAgB;AAC7C,SAAS,qBAAqB;AAE9B,SAAS,wBAAwB;AACjC,SAAS,MAAM,SAAS,cAAc;AACtC,SAAS,kBAAkB;AAC3B,SAAS,mBAAmB,yBAAyB;AACrD,SAAS,sCAAsC;AAE/C,SAAS,kBAAkB;AAAA,EAC1B;AAAA,EACA;AACD,GAG+B;AAC9B,QAAM,mBAAmB,KAAK,iBAAiB;AAE/C,SAAO,iBAAiB,aAAa,IAAI,CAAC,WAAW;AACpD,UAAM,SAAS,iBAAiB;AAChC,UAAM,aAAa,KAAK;AAAA,MACvB,CAAC,UAAU,MAAM,OAAO,UAAU,MAAM,OAAO,OAAO;AAAA,IACvD;AACA,UAAM,UAAU,OAAO,YAAY,CAAC,UAAU,WAAW,MAAM,KAAM,CAAC;AAEtE,WAAO;AAAA,MACN,GAAG;AAAA,MACH,MAAM;AAAA,QACL;AAAA,MACD;AAAA,IACD;AAAA,EACD,CAAC;AACF;AAEA,SAAS,kBAAkB;AAAA,EAC1B;AAAA,EACA;AACD,GAGG;AACF,QAAM,EAAE,MAAM,gBAAgB,IAAI,iBAAiB;AACnD,QAAM,CAAC,SAAS,UAAU,IAAI,SAAkB,KAAK;AACrD,QAAM,CAAC,eAAe,gBAAgB,IACrC,SAAqC;AAEtC,YAAU,MAAM;AACf,eAAW,IAAI;AACf,UAAM,WAAW,CAAC,cAAuB;AACxC,UAAI,WAAW;AACd;AAAA,UACC,kBAAkB;AAAA,YACjB;AAAA,YACA,MAAM,gBAAgB;AAAA,UACvB,CAAC;AAAA,QACF;AACA,mBAAW,KAAK;AAAA,MACjB;AAAA,IACD;AACA,QAAI,gBAAgB,QAAQ;AAC3B;AAAA,QACC,kBAAkB;A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3C;AACA,YAAMA,WAAU;AAAA,QAAO;AAAA,QAAY,CAAC,UACnC,WAAW,MAAM,KAAM;AAAA,MACxB;AACA,iBAAWA,QAAO;AAClB,iBAAW,KAAK;AAAA,IACjB,OAAO;AACN,aAAO,gBAAgB,sBAAsB,QAAQ;AAAA,IACtD;AAAA,EACD,GAAG,CAAC,iBAAiB,CAAC;AAEtB,MAAI,SAAS;AACZ,WAAO,oBAAC,cAAW,MAAY;AAAA,EAChC;AAEA,MAAI,MAAM,OAAiB,GAAG;AAC7B,WACC,oBAAC,iBAAc,OAAO,EAAE,OAAO,KAAK,GAAG,UAAQ,MAAC,OAAM,UAAS;AAAA,EAEjE;AACA,SACC,oBAAC,iBAAc,OAAO,EAAE,OAAO,KAAK,GAAG,UAAQ,MAAC,OAAM,UACrD,8BAAC,OAAG,mBAAS,QAAQ,CAAC,EAAE,SAAS,GAAE,GACpC;AAEF;AAEO,SAAS,eAAe;AAAA,EAC9B;AAAA,EACA;AACD,GAAgE;AAC/D,QAAM,OAAO,OAAO,QAAQ;AAC5B,QAAM,iBAAiB,+BAAwC;AAAA,IAC9D;AAAA,IACA;AAAA,EACD,CAAC;AACD,QAAM,mBAAmB,QAAQ,MAAM;AACtC,WAAO,MACL,YAAY,EACZ,KAAK;AAAA,MAAI,CAAC,QACV,IAAI,SAAS,OAAO,EAAE;AAAA,IACvB;AAAA,EACF,GAAG,CAAC,MAAM,YAAY,EAAE,IAAI,CAAC;AAE7B,MAAI,gBAAgB;AACnB,WACC;AAAA,MAAC;AAAA;AAAA,QACA;AAAA,QACA,mBAAmB;AAAA;AAAA,IACpB;AAAA,EAEF;AAEA,SACC,oBAAC,qBAAkB,MAAY,mBAAmB,kBAAkB;AAEtE","sourcesContent":["import type { HeaderContext } from \"@tanstack/react-table\";\nimport type {\n\tScorecardAverageCellData,\n\tScorecardTableCellConfig,\n\tScorecardTableData,\n} from \"../../../schemas/config\";\nimport { useEffect, useMemo, useState } from \"react\";\nimport { DataTableCell } from \"@dhis2/ui\";\nimport type { AnalyticsData } from \"../../../utils/data\";\nimport { useScorecardData } from \"../../DataProvider\";\nimport { head, isEmpty, meanBy } from \"lodash\";\nimport { CellLoader } from \"./CellLoader\";\nimport { LinkedAverageCell, SingleAverageCell } from \"./AverageCell\";\nimport { useScorecardStateSelectorValue } from \"../../../state\";\n\nfunction getOrgUnitAverage({\n\tdataSourcesConfig,\n\tdata,\n}: {\n\tdataSourcesConfig: ScorecardTableCellConfig[];\n\tdata: AnalyticsData[];\n}): ScorecardAverageCellData[] {\n\tconst dataSourceConfig = head(dataSourcesConfig)!;\n\n\treturn dataSourceConfig.dataSources?.map((config) => {\n\t\tconst period = dataSourceConfig.currentPeriod!;\n\t\tconst dataValues = data.filter(\n\t\t\t(datum) => datum.pe === period && datum.dx === config.id,\n\t\t);\n\t\tconst average = meanBy(dataValues, (value) => parseFloat(value.value!));\n\n\t\treturn {\n\t\t\t...config,\n\t\t\tdata: {\n\t\t\t\taverage,\n\t\t\t},\n\t\t};\n\t});\n}\n\nfunction OrgUnitFooterCell({\n\tdataSourcesConfig,\n\tsize,\n}: {\n\tdataSourcesConfig: ScorecardTableCellConfig[];\n\tsize: number;\n}) {\n\tconst { data: scorecardEngine } = useScorecardData();\n\tconst [loading, setLoading] = useState<boolean>(false);\n\tconst [averageValues, setAverageValues] =\n\t\tuseState<ScorecardAverageCellData[]>();\n\n\tuseEffect(() => {\n\t\tsetLoading(true);\n\t\tconst listener = (completed: boolean) => {\n\t\t\tif (completed) {\n\t\t\t\tsetAverageValues(\n\t\t\t\t\tgetOrgUnitAverage({\n\t\t\t\t\t\tdataSourcesConfig,\n\t\t\t\t\t\tdata: scorecardEngine.data,\n\t\t\t\t\t}),\n\t\t\t\t);\n\t\t\t\tsetLoading(false);\n\t\t\t}\n\t\t};\n\t\tif (scorecardEngine.isDone) {\n\t\t\tsetAverageValues(\n\t\t\t\tgetOrgUnitAverage({\n\t\t\t\t\tdataSourcesConfig,\n\t\t\t\t\tdata: scorecardEngine.data,\n\t\t\t\t}),\n\t\t\t);\n\t\t\tsetLoading(false);\n\t\t} else {\n\t\t\treturn scorecardEngine.addOnCompleteListener(listener);\n\t\t}\n\t}, [dataSourcesConfig]);\n\n\tif (loading) {\n\t\treturn <CellLoader size={size} />;\n\t}\n\n\tif (isEmpty(averageValues)) {\n\t\treturn <DataTableCell style={{ width: size }} bordered />;\n\t}\n\n\tif (averageValues?.length === 1) {\n\t\treturn (\n\t\t\t<SingleAverageCell size={size} dataSource={head(averageValues)!} />\n\t\t);\n\t} else {\n\t\treturn <LinkedAverageCell size={size} dataSources={averageValues!} />;\n\t}\n}\n\nfunction DataHolderFooterCell({\n\tdataSourcesConfig,\n\tsize,\n}: {\n\tdataSourcesConfig: ScorecardTableCellConfig[];\n\tsize: number;\n}) {\n\tconst { data: scorecardEngine } = useScorecardData();\n\tconst [loading, setLoading] = useState<boolean>(false);\n\tconst [average, setAverage] = useState<number>();\n\n\tuseEffect(() => {\n\t\tsetLoading(true);\n\t\tconst listener = (completed: boolean) => {\n\t\t\tif (completed) {\n\t\t\t\tsetLoading(false);\n\t\t\t\tconst orgUnitId = head(dataSourcesConfig)!;\n\t\t\t\tconst dataValues = scorecardEngine.data.filter(\n\t\t\t\t\t(datum) => datum.ou === orgUnitId.orgUnit.uid,\n\t\t\t\t);\n\t\t\t\tconst average = meanBy(dataValues, (value) =>\n\t\t\t\t\tparseFloat(value.value!),\n\t\t\t\t);\n\t\t\t\tsetAverage(average);\n\t\t\t}\n\t\t};\n\t\tif (scorecardEngine.isDone) {\n\t\t\tconst orgUnitId = head(dataSourcesConfig)!;\n\t\t\tconst dataValues = scorecardEngine.data.filter(\n\t\t\t\t(datum) => datum.ou === orgUnitId.orgUnit.uid,\n\t\t\t);\n\t\t\tconst average = meanBy(dataValues, (value) =>\n\t\t\t\tparseFloat(value.value!),\n\t\t\t);\n\t\t\tsetAverage(average);\n\t\t\tsetLoading(false);\n\t\t} else {\n\t\t\treturn scorecardEngine.addOnCompleteListener(listener);\n\t\t}\n\t}, [dataSourcesConfig]);\n\n\tif (loading) {\n\t\treturn <CellLoader size={size} />;\n\t}\n\n\tif (isNaN(average as number)) {\n\t\treturn (\n\t\t\t<DataTableCell style={{ width: size }} bordered align=\"center\" />\n\t\t);\n\t}\n\treturn (\n\t\t<DataTableCell style={{ width: size }} bordered align=\"center\">\n\t\t\t<b>{average?.toFixed(2).toString()}</b>\n\t\t</DataTableCell>\n\t);\n}\n\nexport function DataFooterCell({\n\ttable,\n\tcolumn,\n}: HeaderContext<ScorecardTableData, ScorecardTableCellConfig>) {\n\tconst size = column.getSize();\n\tconst showDataInRows = useScorecardStateSelectorValue<boolean>([\n\t\t\"options\",\n\t\t\"showDataInRows\",\n\t]);\n\tconst dataSourceConfig = useMemo(() => {\n\t\treturn table\n\t\t\t.getRowModel()\n\t\t\t.rows.map((row) =>\n\t\t\t\trow.getValue(column.id),\n\t\t\t) as ScorecardTableCellConfig[];\n\t}, [table.getRowModel().rows]);\n\n\tif (showDataInRows) {\n\t\treturn (\n\t\t\t<DataHolderFooterCell\n\t\t\t\tsize={size}\n\t\t\t\tdataSourcesConfig={dataSourceConfig}\n\t\t\t/>\n\t\t);\n\t}\n\n\treturn (\n\t\t<OrgUnitFooterCell size={size} dataSourcesConfig={dataSourceConfig} />\n\t);\n}\n"]}
|
|
@@ -9,7 +9,8 @@ var utils = require('../utils');
|
|
|
9
9
|
function ScorecardStateProvider({
|
|
10
10
|
children,
|
|
11
11
|
initialState,
|
|
12
|
-
config
|
|
12
|
+
config,
|
|
13
|
+
withRecoilRoot
|
|
13
14
|
}) {
|
|
14
15
|
const initState = react.useCallback(
|
|
15
16
|
({ set }) => {
|
|
@@ -20,7 +21,22 @@ function ScorecardStateProvider({
|
|
|
20
21
|
},
|
|
21
22
|
[initialState, config]
|
|
22
23
|
);
|
|
23
|
-
|
|
24
|
+
const initializeStateWithoutRecoil = recoil.useRecoilCallback(
|
|
25
|
+
({ set, snapshot }) => (initialState2) => {
|
|
26
|
+
if (snapshot.getLoadable(state.scorecardStateAtom).contents === null) {
|
|
27
|
+
set(state.scorecardStateAtom, initialState2);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
);
|
|
31
|
+
if (!withRecoilRoot) {
|
|
32
|
+
initializeStateWithoutRecoil(
|
|
33
|
+
initialState ?? utils.getInitialStateFromConfig(config)
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
if (withRecoilRoot) {
|
|
37
|
+
return /* @__PURE__ */ jsxRuntime.jsx(recoil.RecoilRoot, { initializeState: initState, children });
|
|
38
|
+
}
|
|
39
|
+
return children;
|
|
24
40
|
}
|
|
25
41
|
|
|
26
42
|
exports.ScorecardStateProvider = ScorecardStateProvider;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/components/StateProvider.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/components/StateProvider.tsx"],"names":["initialState"],"mappings":"AA8CS;AA7CT,SAAyB,mBAAmB;AAC5C,SAA0B,YAAY,yBAAyB;AAC/D,SAAS,0BAA0B;AACnC,SAAS,iCAAiC;AASnC,SAAS,uBAAuB;AAAA,EACtC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACD,GAAgC;AAC/B,QAAM,YAAY;AAAA,IACjB,CAAC,EAAE,IAAI,MAAuB;AAC7B;AAAA,QACC;AAAA,QACA,gBAAgB,0BAA0B,MAAM;AAAA,MACjD;AAAA,IACD;AAAA,IACA,CAAC,cAAc,MAAM;AAAA,EACtB;AACA,QAAM,+BAA+B;AAAA,IACpC,CAAC,EAAE,KAAK,SAAS,MAChB,CAACA,kBAAiC;AACjC,UACC,SAAS,YAAY,kBAAkB,EAAE,aAAa,MACrD;AACD,YAAI,oBAAoBA,aAAY;AAAA,MACrC;AAAA,IACD;AAAA,EACF;AAEA,MAAI,CAAC,gBAAgB;AACpB;AAAA,MACC,gBAAgB,0BAA0B,MAAM;AAAA,IACjD;AAAA,EACD;AAEA,MAAI,gBAAgB;AACnB,WAAO,oBAAC,cAAW,iBAAiB,WAAY,UAAS;AAAA,EAC1D;AAEA,SAAO;AACR","sourcesContent":["import type { ScorecardConfig, ScorecardState } from \"../schemas/config\";\nimport { type ReactNode, useCallback } from \"react\";\nimport { MutableSnapshot, RecoilRoot, useRecoilCallback } from \"recoil\";\nimport { scorecardStateAtom } from \"../state\";\nimport { getInitialStateFromConfig } from \"../utils\";\n\nexport interface ScorecardStateProviderProps {\n\tinitialState?: ScorecardState;\n\tconfig: ScorecardConfig;\n\tchildren: ReactNode;\n\twithRecoilRoot?: boolean;\n}\n\nexport function ScorecardStateProvider({\n\tchildren,\n\tinitialState,\n\tconfig,\n\twithRecoilRoot,\n}: ScorecardStateProviderProps) {\n\tconst initState = useCallback(\n\t\t({ set }: MutableSnapshot) => {\n\t\t\tset(\n\t\t\t\tscorecardStateAtom,\n\t\t\t\tinitialState ?? getInitialStateFromConfig(config),\n\t\t\t);\n\t\t},\n\t\t[initialState, config],\n\t);\n\tconst initializeStateWithoutRecoil = useRecoilCallback(\n\t\t({ set, snapshot }) =>\n\t\t\t(initialState: ScorecardState) => {\n\t\t\t\tif (\n\t\t\t\t\tsnapshot.getLoadable(scorecardStateAtom).contents === null\n\t\t\t\t) {\n\t\t\t\t\tset(scorecardStateAtom, initialState);\n\t\t\t\t}\n\t\t\t},\n\t);\n\n\tif (!withRecoilRoot) {\n\t\tinitializeStateWithoutRecoil(\n\t\t\tinitialState ?? getInitialStateFromConfig(config),\n\t\t);\n\t}\n\n\tif (withRecoilRoot) {\n\t\treturn <RecoilRoot initializeState={initState}>{children}</RecoilRoot>;\n\t}\n\n\treturn children;\n}\n"]}
|