@openmrs/esm-report-builder 0.1.1-pre.87
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/.eslintignore +5 -0
- package/.eslintrc.js +19 -0
- package/.prettierrc +8 -0
- package/.tx/config +12 -0
- package/LICENSE +401 -0
- package/README.md +336 -0
- package/__mocks__/react-i18next.js +12 -0
- package/dist/162.js +1 -0
- package/dist/162.js.map +1 -0
- package/dist/184.js +2 -0
- package/dist/184.js.LICENSE.txt +14 -0
- package/dist/184.js.map +1 -0
- package/dist/242.js +2 -0
- package/dist/242.js.LICENSE.txt +21 -0
- package/dist/242.js.map +1 -0
- package/dist/253.js +1 -0
- package/dist/253.js.map +1 -0
- package/dist/300.js +1 -0
- package/dist/311.js +1 -0
- package/dist/311.js.map +1 -0
- package/dist/469.js +2 -0
- package/dist/469.js.LICENSE.txt +45 -0
- package/dist/469.js.map +1 -0
- package/dist/478.js +2 -0
- package/dist/478.js.LICENSE.txt +9 -0
- package/dist/478.js.map +1 -0
- package/dist/539.js +1 -0
- package/dist/539.js.map +1 -0
- package/dist/540.js +2 -0
- package/dist/540.js.LICENSE.txt +9 -0
- package/dist/540.js.map +1 -0
- package/dist/669.js +1 -0
- package/dist/669.js.map +1 -0
- package/dist/710.js +1 -0
- package/dist/710.js.map +1 -0
- package/dist/729.js +1 -0
- package/dist/729.js.map +1 -0
- package/dist/838.js +2 -0
- package/dist/838.js.LICENSE.txt +9 -0
- package/dist/838.js.map +1 -0
- package/dist/917.js +1 -0
- package/dist/917.js.map +1 -0
- package/dist/961.js +2 -0
- package/dist/961.js.LICENSE.txt +19 -0
- package/dist/961.js.map +1 -0
- package/dist/main.js +1 -0
- package/dist/main.js.map +1 -0
- package/dist/openmrs-esm-report-builder.js +1 -0
- package/dist/openmrs-esm-report-builder.js.buildmanifest.json +530 -0
- package/dist/openmrs-esm-report-builder.js.map +1 -0
- package/dist/routes.json +1 -0
- package/e2e/core/env.ts +5 -0
- package/e2e/core/global-setup.ts +34 -0
- package/e2e/core/test.ts +21 -0
- package/e2e/pages/app-shell.page.ts +34 -0
- package/e2e/pages/etl-sources.page.ts +35 -0
- package/e2e/pages/report-sections.page.ts +20 -0
- package/e2e/pages/section-preview.modal.ts +29 -0
- package/e2e/specs/etl-sources.spec.ts +51 -0
- package/e2e/specs/navigation.spec.ts +13 -0
- package/e2e/specs/section-preview-validation.spec.ts +38 -0
- package/e2e/specs/section-preview.spec.ts +94 -0
- package/e2e/support/github/Dockerfile +22 -0
- package/e2e/support/github/Dockerfile.dockerignore +13 -0
- package/e2e/support/github/docker-compose.yml +31 -0
- package/e2e/support/github/run-e2e-docker-env.sh +131 -0
- package/e2e/support/github/spa-assemble-config.json +9 -0
- package/e2e/tsconfig.json +11 -0
- package/example.env +5 -0
- package/jest.config.js +28 -0
- package/linelist_report_builder_design_spec.md +816 -0
- package/package.json +111 -0
- package/playwright.config.ts +28 -0
- package/routes.json +22 -0
- package/src/__debug__/all-designs.test.tsx +30 -0
- package/src/admin-card-link.extension.module.scss +55 -0
- package/src/admin-card-link.extension.tsx +24 -0
- package/src/components/admin/admin-page.component.tsx +75 -0
- package/src/components/admin/age-categories-page.component.tsx +109 -0
- package/src/components/admin/age-groups-page.component.tsx +146 -0
- package/src/components/admin/etl-browser/columns-tab.component.tsx +80 -0
- package/src/components/admin/etl-browser/etl-browser-page.component.tsx +309 -0
- package/src/components/admin/etl-browser/etl-browser.component.scss +424 -0
- package/src/components/admin/etl-browser/metadata-tab.component.tsx +65 -0
- package/src/components/admin/etl-browser/preview-grid.component.tsx +189 -0
- package/src/components/admin/etl-browser/relationships-tab.component.tsx +21 -0
- package/src/components/admin/etl-browser/sources-tree.component.tsx +118 -0
- package/src/components/admin/etl-browser/table-detail.component.tsx +124 -0
- package/src/components/admin/etl-browser/table-info-strip.component.tsx +51 -0
- package/src/components/admin/etl-browser/table-list.component.tsx +136 -0
- package/src/components/admin/etl-browser/use-table-preview.ts +47 -0
- package/src/components/admin/etl-sources-page.component.tsx +355 -0
- package/src/components/admin/etl-tasks-page.component.scss +370 -0
- package/src/components/admin/etl-tasks-page.component.tsx +768 -0
- package/src/components/admin/report-categories-page.component.tsx +267 -0
- package/src/components/admin/report-library-page.component.tsx +551 -0
- package/src/components/ai-support/ai-assist-button.component.tsx +30 -0
- package/src/components/ai-support/ai-assist-modal.component.tsx +81 -0
- package/src/components/ai-support/ai.service.ts +21 -0
- package/src/components/ai-support/ai.types.ts +12 -0
- package/src/components/app-shell/report-builder-shell.component.tsx +242 -0
- package/src/components/app-shell/report-builder-shell.scss +18 -0
- package/src/components/dashboards/dashboard-config.schema.ts +97 -0
- package/src/components/dashboards/dashboard-form-modal.component.tsx +150 -0
- package/src/components/dashboards/dashboards-admin.scss +62 -0
- package/src/components/dashboards/dashboards-page.component.tsx +153 -0
- package/src/components/dashboards/dashboards-table.component.tsx +130 -0
- package/src/components/dashboards/sections/dashboard-autoinclude.section.tsx +75 -0
- package/src/components/dashboards/sections/dashboard-basics.section.tsx +80 -0
- package/src/components/dashboards/sections/dashboard-json.section.tsx +79 -0
- package/src/components/dashboards/sections/dashboard-sections-editor.section.tsx +130 -0
- package/src/components/dashboards/sections/dashboard-widgets-editor.section.tsx +184 -0
- package/src/components/data-themes/data-theme-form.component.tsx +59 -0
- package/src/components/data-themes/data-theme-modal.component.tsx +349 -0
- package/src/components/data-themes/data-themes-page.component.tsx +139 -0
- package/src/components/data-themes/data-themes-table.component.tsx +98 -0
- package/src/components/data-themes/icon-registry.ts +35 -0
- package/src/components/data-themes/sections/data-theme-basics.section.tsx +63 -0
- package/src/components/data-themes/sections/data-theme-condition-columns.section.tsx +397 -0
- package/src/components/data-themes/sections/data-theme-fields-editor.section.tsx +125 -0
- package/src/components/data-themes/sections/data-theme-metadata.section.tsx +245 -0
- package/src/components/data-themes/sections/data-theme-preview.section.tsx +115 -0
- package/src/components/data-themes/sections/data-theme-source.section.tsx +184 -0
- package/src/components/data-visualizer/components/cqi-components/cqi-data-table.component.tsx +214 -0
- package/src/components/data-visualizer/components/cqi-components/cqi-elements.ts +203 -0
- package/src/components/data-visualizer/components/cqi-components/detail.component.tsx +110 -0
- package/src/components/data-visualizer/components/cqi-components/detail.scss +22 -0
- package/src/components/data-visualizer/components/data-table/data-table.component.tsx +208 -0
- package/src/components/data-visualizer/components/data-table/data-tables.scss +206 -0
- package/src/components/data-visualizer/components/empty-state/empty-state-illustration.component.tsx +53 -0
- package/src/components/data-visualizer/components/header/header.component.tsx +43 -0
- package/src/components/data-visualizer/components/header/header.scss +71 -0
- package/src/components/data-visualizer/components/model/confirm.component.tsx +40 -0
- package/src/components/data-visualizer/components/panel/panel.component.tsx +20 -0
- package/src/components/data-visualizer/components/panel/panel.scss +25 -0
- package/src/components/data-visualizer/components/popover/modifier-panel.tsx +53 -0
- package/src/components/data-visualizer/constants.ts +445 -0
- package/src/components/data-visualizer/data-visualizer-illustration.component.tsx +31 -0
- package/src/components/data-visualizer/data-visualizer.component.tsx +1935 -0
- package/src/components/data-visualizer/data-visualizer.resource.ts +462 -0
- package/src/components/data-visualizer/data-visualizer.scss +449 -0
- package/src/components/data-visualizer/declarations.d.ts +131 -0
- package/src/components/data-visualizer/parameter-inputs/boolean-parameter-input.component.tsx +34 -0
- package/src/components/data-visualizer/parameter-inputs/concept-parameter-input.component.tsx +81 -0
- package/src/components/data-visualizer/parameter-inputs/date-parameter-input.component.tsx +110 -0
- package/src/components/data-visualizer/parameter-inputs/date-range-input.component.scss +47 -0
- package/src/components/data-visualizer/parameter-inputs/date-range-input.component.tsx +228 -0
- package/src/components/data-visualizer/parameter-inputs/identifier-type-parameter-input.component.tsx +69 -0
- package/src/components/data-visualizer/parameter-inputs/list-parameter-input.component.tsx +73 -0
- package/src/components/data-visualizer/parameter-inputs/location-parameter-input.component.tsx +81 -0
- package/src/components/data-visualizer/parameter-inputs/number-parameter-input.component.tsx +40 -0
- package/src/components/data-visualizer/parameter-inputs/person-attribute-parameter-input.component.tsx +71 -0
- package/src/components/data-visualizer/parameter-inputs/text-parameter-input.component.tsx +52 -0
- package/src/components/data-visualizer/report-parameter-modal.component.tsx +383 -0
- package/src/components/data-visualizer/types.ts +206 -0
- package/src/components/etl-monitor/builder/builder-state-machine.ts +381 -0
- package/src/components/etl-monitor/builder/design-registry.tsx +139 -0
- package/src/components/etl-monitor/builder/etl-monitor-builder-context.tsx +702 -0
- package/src/components/etl-monitor/builder/etl-monitor-builder-modal.component.tsx +461 -0
- package/src/components/etl-monitor/builder/etl-monitor-builder-modal.scss +256 -0
- package/src/components/etl-monitor/builder/etl-monitor-builder-page.component.tsx +387 -0
- package/src/components/etl-monitor/builder/etl-monitor-builder-page.scss +976 -0
- package/src/components/etl-monitor/builder/generated-config-panel.component.tsx +168 -0
- package/src/components/etl-monitor/builder/generated-config-panel.scss +198 -0
- package/src/components/etl-monitor/builder/index.ts +5 -0
- package/src/components/etl-monitor/builder/monitor-preview.tsx +124 -0
- package/src/components/etl-monitor/builder/steps/data-source-step.component.tsx +667 -0
- package/src/components/etl-monitor/builder/steps/data-source-step.scss +284 -0
- package/src/components/etl-monitor/builder/steps/design-samples.ts +278 -0
- package/src/components/etl-monitor/builder/steps/design-step.component.tsx +299 -0
- package/src/components/etl-monitor/builder/steps/design-step.scss +479 -0
- package/src/components/etl-monitor/builder/steps/fields-step.component.tsx +859 -0
- package/src/components/etl-monitor/builder/steps/fields-step.scss +459 -0
- package/src/components/etl-monitor/builder/steps/general-step.component.tsx +288 -0
- package/src/components/etl-monitor/builder/steps/general-step.scss +103 -0
- package/src/components/etl-monitor/builder/steps/index.ts +5 -0
- package/src/components/etl-monitor/builder/steps/preview-step.component.tsx +245 -0
- package/src/components/etl-monitor/builder/steps/preview-step.scss +236 -0
- package/src/components/etl-monitor/etl-monitor-card-shell.component.tsx +154 -0
- package/src/components/etl-monitor/etl-monitor-card-shell.scss +103 -0
- package/src/components/etl-monitor/etl-monitor-dashboard.component.tsx +227 -0
- package/src/components/etl-monitor/etl-monitor-dashboard.scss +148 -0
- package/src/components/etl-monitor/etl-monitor-status-card.component.tsx +192 -0
- package/src/components/etl-monitor/etl-monitors-page.component.tsx +621 -0
- package/src/components/etl-monitor/renderers/DetailsRenderer.tsx +2 -0
- package/src/components/etl-monitor/renderers/ErrorLogRenderer.tsx +2 -0
- package/src/components/etl-monitor/renderers/EtlMonitorWidget.tsx +97 -0
- package/src/components/etl-monitor/renderers/MetricsGridRenderer.tsx +2 -0
- package/src/components/etl-monitor/renderers/MonitorRenderer.tsx +175 -0
- package/src/components/etl-monitor/renderers/ProgressRenderer.tsx +2 -0
- package/src/components/etl-monitor/renderers/StatusCardRenderer.tsx +2 -0
- package/src/components/etl-monitor/renderers/SummaryCardRenderer.tsx +2 -0
- package/src/components/etl-monitor/renderers/TableRenderer.tsx +2 -0
- package/src/components/etl-monitor/renderers/component-icons.tsx +33 -0
- package/src/components/etl-monitor/renderers/components/details-renderer.tsx +195 -0
- package/src/components/etl-monitor/renderers/components/error-log-renderer.tsx +104 -0
- package/src/components/etl-monitor/renderers/components/index.ts +6 -0
- package/src/components/etl-monitor/renderers/components/log-renderer.tsx +86 -0
- package/src/components/etl-monitor/renderers/components/metrics-grid-renderer.tsx +133 -0
- package/src/components/etl-monitor/renderers/components/progress-renderer.tsx +188 -0
- package/src/components/etl-monitor/renderers/components/status-card-renderer.tsx +247 -0
- package/src/components/etl-monitor/renderers/components/summary-card-renderer.tsx +160 -0
- package/src/components/etl-monitor/renderers/components/table-renderer.tsx +175 -0
- package/src/components/etl-monitor/renderers/components/time-series-renderer.tsx +310 -0
- package/src/components/etl-monitor/renderers/data-transformer.ts +361 -0
- package/src/components/etl-monitor/renderers/index.ts +11 -0
- package/src/components/etl-monitor/renderers/legacy-monitor-renderer.tsx +69 -0
- package/src/components/etl-monitor/renderers/monitor-renderer.tsx +6 -0
- package/src/components/etl-monitor/renderers/monitor-renderers.scss +1621 -0
- package/src/components/etl-monitor/renderers/monitor-widget-card.component.tsx +54 -0
- package/src/components/etl-monitor/renderers/monitor-widget-card.scss +16 -0
- package/src/components/etl-monitor/renderers/v2-monitor-renderer.tsx +227 -0
- package/src/components/import-export/artifact-groups.ts +153 -0
- package/src/components/import-export/export-report-modal.component.tsx +265 -0
- package/src/components/import-export/import-export-page.component.tsx +610 -0
- package/src/components/import-export/import-export.styles.scss +825 -0
- package/src/components/import-export/import-package-modal.component.tsx +401 -0
- package/src/components/import-export/index.ts +3 -0
- package/src/components/indicators/README.md +24 -0
- package/src/components/indicators/base-indicator-basic-fields.component.tsx +18 -0
- package/src/components/indicators/base-indicator-basics.section.tsx +54 -0
- package/src/components/indicators/base-indicator-countby.section.tsx +25 -0
- package/src/components/indicators/base-indicator-criteria.section.tsx +83 -0
- package/src/components/indicators/base-indicator-details-form.component.tsx +80 -0
- package/src/components/indicators/base-indicator-theme-unit-fields.component.tsx +39 -0
- package/src/components/indicators/create-base-indicator-modal.component.tsx +623 -0
- package/src/components/indicators/create-composite-base-indicator-modal.component.tsx +295 -0
- package/src/components/indicators/create-custom-indicator-modal.component.tsx +548 -0
- package/src/components/indicators/create-final-indicator-modal.component.tsx +285 -0
- package/src/components/indicators/custom-condition-input.component.tsx +310 -0
- package/src/components/indicators/diagnosis-filters-form.component.tsx +101 -0
- package/src/components/indicators/disaggregation-panel.component.tsx +93 -0
- package/src/components/indicators/handler/concept-search-multiselect.component.tsx +153 -0
- package/src/components/indicators/handler/question-answer-concept-search.component.tsx +336 -0
- package/src/components/indicators/indicator-run-preview-modal.component.tsx +391 -0
- package/src/components/indicators/indicator-search-select.component.tsx +297 -0
- package/src/components/indicators/indicator-status-tag.component.tsx +9 -0
- package/src/components/indicators/indicators-page.component.tsx +673 -0
- package/src/components/indicators/indicators-page.scss +121 -0
- package/src/components/indicators/indicators-table.component.tsx +188 -0
- package/src/components/indicators/preview-table.component.tsx +31 -0
- package/src/components/indicators/sections/composite-indicator-basics.section.tsx +36 -0
- package/src/components/indicators/sections/composite-indicator-picker.section.tsx +116 -0
- package/src/components/indicators/sections/composite-indicator-sql-preview.section.tsx +31 -0
- package/src/components/indicators/sections/custom-indicator-basics.section.tsx +65 -0
- package/src/components/indicators/sections/custom-indicator-disaggregation.section.tsx +93 -0
- package/src/components/indicators/sections/custom-indicator-filters.section.tsx +203 -0
- package/src/components/indicators/sections/custom-indicator-population.section.tsx +107 -0
- package/src/components/indicators/sections/custom-indicator-sql-preview.section.tsx +108 -0
- package/src/components/indicators/sections/final-indicator-basics.section.tsx +46 -0
- package/src/components/indicators/sections/final-indicator-disaggregation.section.tsx +47 -0
- package/src/components/indicators/sections/final-indicator-picker.section.tsx +60 -0
- package/src/components/indicators/sections/final-indicator-preview.section.tsx +20 -0
- package/src/components/indicators/sections/final-indicator-results-preview.section.tsx +65 -0
- package/src/components/indicators/sections/indicator-basics.section.tsx +40 -0
- package/src/components/indicators/sections/indicator-conditions.section.tsx +279 -0
- package/src/components/indicators/sections/indicator-sql-preview.section.tsx +63 -0
- package/src/components/indicators/sections/indicator-theme.section.tsx +48 -0
- package/src/components/indicators/sql-preview.component.tsx +19 -0
- package/src/components/indicators/tag-input.component.tsx +177 -0
- package/src/components/indicators/types/base-indicator-form.types.ts +17 -0
- package/src/components/indicators/types/base-indicator-theme.constants.ts +8 -0
- package/src/components/indicators/types/composite-indicator.types.ts +27 -0
- package/src/components/indicators/types/condition-ui.types.ts +11 -0
- package/src/components/indicators/types/custom-indicator.types.ts +161 -0
- package/src/components/indicators/types/data-theme-config.types.ts +88 -0
- package/src/components/indicators/types/indicator-types.ts +57 -0
- package/src/components/indicators/types/sql-builders.ts +43 -0
- package/src/components/indicators/utils/composite-indicator-sql.utils.test.ts +143 -0
- package/src/components/indicators/utils/composite-indicator-sql.utils.ts +426 -0
- package/src/components/indicators/utils/concept-preload.utils.ts +21 -0
- package/src/components/indicators/utils/custom-indicator-interpreter.test.ts +493 -0
- package/src/components/indicators/utils/custom-indicator-interpreter.ts +702 -0
- package/src/components/indicators/utils/final-indicator-sql.utils.ts +190 -0
- package/src/components/indicators/utils/indicator-conditions-hydration.utils.ts +254 -0
- package/src/components/indicators/utils/indicator-sql-resolution.utils.ts +204 -0
- package/src/components/indicators/utils/indicator-sql.utils.ts +721 -0
- package/src/components/indicators/utils/population-sql.compiler.test.ts +999 -0
- package/src/components/indicators/utils/population-sql.compiler.ts +858 -0
- package/src/components/landing/landing-action-item.component.tsx +50 -0
- package/src/components/landing/landing-action-list.component.tsx +12 -0
- package/src/components/landing/landing-activity-list.component.tsx +47 -0
- package/src/components/landing/landing-footer-grid.component.tsx +45 -0
- package/src/components/landing/landing-hero.component.tsx +18 -0
- package/src/components/landing/landing-section-card.component.tsx +33 -0
- package/src/components/landing/report-builder-landing-page.component.tsx +186 -0
- package/src/components/landing/report-builder-landing-page.scss +131 -0
- package/src/components/legacy-reports/legacy-report-detail-page.component.tsx +300 -0
- package/src/components/legacy-reports/legacy-report-editor-page.component.tsx +324 -0
- package/src/components/legacy-reports/legacy-report-upload-modal.component.tsx +307 -0
- package/src/components/legacy-reports/legacy-reports-page.component.tsx +206 -0
- package/src/components/legacy-reports/legacy-reports-table.component.tsx +154 -0
- package/src/components/legacy-reports/tabs/legacy-report-datasets-tab.component.tsx +344 -0
- package/src/components/legacy-reports/tabs/legacy-report-dimensions-tab.component.tsx +590 -0
- package/src/components/legacy-reports/tabs/legacy-report-indicators-tab.component.tsx +490 -0
- package/src/components/legacy-reports/tabs/legacy-report-json-preview-tab.component.tsx +272 -0
- package/src/components/legacy-reports/tabs/legacy-report-overview-tab.component.tsx +218 -0
- package/src/components/legacy-reports/tabs/legacy-report-parameters-tab.component.tsx +279 -0
- package/src/components/linelist/definition/indicator-to-sql.utils.ts +281 -0
- package/src/components/linelist/definition/linelist-definition-editor.component.tsx +1676 -0
- package/src/components/linelist/definition/linelist-definition-editor.scss +461 -0
- package/src/components/linelist/definition/linelist-definition.types.ts +108 -0
- package/src/components/linelist/definition/panels/column-properties-panel.component.tsx +328 -0
- package/src/components/linelist/definition/panels/column-selector-panel.component.tsx +1082 -0
- package/src/components/linelist/definition/panels/column-selector-panel.scss +100 -0
- package/src/components/linelist/definition/panels/custom-sql-column-modal.component.tsx +248 -0
- package/src/components/linelist/definition/panels/encounter-diagnosis-column-modal.component.tsx +300 -0
- package/src/components/linelist/definition/panels/encounter-diagnosis-column-modal.scss +21 -0
- package/src/components/linelist/definition/panels/multi-datasource-selector.component.tsx +332 -0
- package/src/components/linelist/definition/panels/multi-datasource-selector.scss +161 -0
- package/src/components/linelist/definition/panels/observation-column-modal.component.tsx +450 -0
- package/src/components/linelist/definition/panels/observation-column-modal.scss +29 -0
- package/src/components/linelist/definition/panels/parameter-panel.component.tsx +659 -0
- package/src/components/linelist/definition/panels/parameter-panel.scss +64 -0
- package/src/components/linelist/definition/panels/population-source-selector.component.tsx +407 -0
- package/src/components/linelist/definition/panels/population-source-selector.scss +187 -0
- package/src/components/linelist/design/panels/column-category-selector.component.tsx +433 -0
- package/src/components/linelist/design/panels/column-category-selector.scss +329 -0
- package/src/components/linelist/design/panels/column-debug-panel.component.tsx +197 -0
- package/src/components/linelist/design/panels/column-debug-panel.scss +141 -0
- package/src/components/linelist/design/panels/data-catalogue.component.tsx +1062 -0
- package/src/components/linelist/design/panels/data-catalogue.scss +263 -0
- package/src/components/linelist/design/panels/display-settings-panel.component.tsx +405 -0
- package/src/components/linelist/design/panels/display-settings-panel.scss +78 -0
- package/src/components/linelist/design/panels/filtermap-editor.component.tsx +434 -0
- package/src/components/linelist/design/panels/filtermap-editor.scss +176 -0
- package/src/components/linelist/design/panels/json-preview.component.tsx +114 -0
- package/src/components/linelist/design/panels/json-preview.scss +85 -0
- package/src/components/linelist/design/panels/query-config-panel.component.tsx +1137 -0
- package/src/components/linelist/design/panels/query-config-panel.scss +342 -0
- package/src/components/linelist/design/panels/sort-config-panel.component.tsx +330 -0
- package/src/components/linelist/design/panels/sort-config-panel.scss +77 -0
- package/src/components/linelist/design/panels/sql-builder-panel.component.tsx +475 -0
- package/src/components/linelist/design/panels/sql-builder-panel.scss +226 -0
- package/src/components/linelist/design/panels/transformation-panel.component.tsx +687 -0
- package/src/components/linelist/design/panels/transformation-panel.scss +81 -0
- package/src/components/linelist/design/panels/visual-filter-panel.component.tsx +595 -0
- package/src/components/linelist/design/panels/visual-filter-panel.scss +76 -0
- package/src/components/linelist/linelist-dashboard.page.component.tsx +756 -0
- package/src/components/linelist/linelist-dashboard.page.scss +240 -0
- package/src/components/linelist/linelist-editor.page.component.tsx +134 -0
- package/src/components/linelist/linelist-editor.page.scss +28 -0
- package/src/components/linelist/linelist-run-report.page.component.tsx +715 -0
- package/src/components/linelist/linelist-run-report.page.scss +136 -0
- package/src/components/linelist/modals/linelist-report-builder-modal.component.tsx +1454 -0
- package/src/components/linelist/modals/linelist-report-builder-modal.scss +164 -0
- package/src/components/linelist/modals/preview-parameter-modal.component.tsx +361 -0
- package/src/components/report/dashboard/reports-table.component.tsx +186 -0
- package/src/components/report/definition/panels/properties-panel.component.tsx +38 -0
- package/src/components/report/definition/panels/report-structure-panel.component.tsx +61 -0
- package/src/components/report/definition/panels/selection-panel.component.tsx +58 -0
- package/src/components/report/definition/report-definition-editor.component.tsx +99 -0
- package/src/components/report/definition/report-definition.types.ts +66 -0
- package/src/components/report/design/panels/IndicatorPropertiesPanel.scss +33 -0
- package/src/components/report/design/panels/IndicatorPropertiesPanel.tsx +389 -0
- package/src/components/report/design/panels/JsonPreviewPanel.scss +32 -0
- package/src/components/report/design/panels/JsonPreviewPanel.tsx +104 -0
- package/src/components/report/design/panels/mapping-preview-panel.component.tsx +82 -0
- package/src/components/report/design/panels/mapping-preview-panel.scss +55 -0
- package/src/components/report/design/panels/template-structure-panel.component.tsx +296 -0
- package/src/components/report/design/panels/template-structure-panel.scss +81 -0
- package/src/components/report/design/report-design-editor.component.tsx +1170 -0
- package/src/components/report/design/report-design.types.ts +48 -0
- package/src/components/report/design/report-design.utils.ts +86 -0
- package/src/components/report/panels/report-detail.component.tsx +71 -0
- package/src/components/report/panels/report-panel-shell.component.tsx +60 -0
- package/src/components/report/report-dashboard.page.component.tsx +554 -0
- package/src/components/report/report-editor.page.component.tsx +590 -0
- package/src/components/report/report.routes.tsx +32 -0
- package/src/components/report-sections/create-report-section-modal.component.tsx +388 -0
- package/src/components/report-sections/hooks/useAgeCategories.ts +25 -0
- package/src/components/report-sections/hooks/useSectionEditorState.ts +449 -0
- package/src/components/report-sections/panels/Dhis2MappingPanel.tsx +157 -0
- package/src/components/report-sections/panels/DisaggregationPanel.tsx +97 -0
- package/src/components/report-sections/panels/IndicatorPickerPanel.tsx +201 -0
- package/src/components/report-sections/panels/SectionBasicsPanel.tsx +27 -0
- package/src/components/report-sections/report-section-preview-modal.component.tsx +548 -0
- package/src/components/report-sections/report-sections-page.component.tsx +325 -0
- package/src/components/report-sections/section-disaggregation.utils.ts +637 -0
- package/src/components/report-sections/section-types.ts +55 -0
- package/src/components/report-sections/section-utils.ts +50 -0
- package/src/components/report-sections/sections-page.scss +79 -0
- package/src/components/run-reports/run-reports-page.component.tsx +8 -0
- package/src/components/security/access-denied-page.component.tsx +69 -0
- package/src/components/security/access-denied-page.scss +39 -0
- package/src/components/security/privilege-route.component.test.tsx +79 -0
- package/src/components/security/privilege-route.component.tsx +39 -0
- package/src/components/shared/compile-setup-modal.component.tsx +182 -0
- package/src/components/shared/concept-selector.component.tsx +245 -0
- package/src/components/shared/concept-selector.scss +121 -0
- package/src/components/shared/header/builder-header-actions.component.tsx +38 -0
- package/src/components/shared/header/header.component.tsx +85 -0
- package/src/components/shared/header/header.scss +150 -0
- package/src/components/shared/header/illustration.component.tsx +34 -0
- package/src/components/shared/indicator-properties-panel/IndicatorPropertiesPanel.scss +33 -0
- package/src/components/shared/indicator-properties-panel/IndicatorPropertiesPanel.tsx +389 -0
- package/src/components/shared/json-preview-panel/JsonPreviewPanel.scss +32 -0
- package/src/components/shared/json-preview-panel/JsonPreviewPanel.tsx +104 -0
- package/src/components/shared/mapping-preview-panel/mapping-preview-panel.component.tsx +82 -0
- package/src/components/shared/mapping-preview-panel/mapping-preview-panel.scss +55 -0
- package/src/components/shared/preview/query-results-preview.component.tsx +204 -0
- package/src/components/shared/template-structure-panel/template-structure-panel.component.tsx +296 -0
- package/src/components/shared/template-structure-panel/template-structure-panel.scss +81 -0
- package/src/config-schema.ts +43 -0
- package/src/constants/privileges.test.ts +53 -0
- package/src/constants/privileges.ts +118 -0
- package/src/features/dashboards/DashboardRendererPage.tsx +174 -0
- package/src/features/dashboards/DashboardsPage.tsx +164 -0
- package/src/features/dashboards/EtlDashboardPage.tsx +32 -0
- package/src/features/dashboards/components/DashboardEmptyState.tsx +41 -0
- package/src/features/dashboards/components/DashboardGrid.tsx +48 -0
- package/src/features/dashboards/components/DashboardHeader.tsx +58 -0
- package/src/features/dashboards/components/DashboardSection.tsx +46 -0
- package/src/features/dashboards/components/ReportLaunchCard.tsx +51 -0
- package/src/features/dashboards/components/WidgetSlotDispatcher.tsx +61 -0
- package/src/features/dashboards/components/WidgetUnavailableCard.tsx +36 -0
- package/src/features/dashboards/dashboards.scss +196 -0
- package/src/features/dashboards/hooks/useDashboard.ts +61 -0
- package/src/features/dashboards/hooks/useDashboardWidgets.ts +74 -0
- package/src/features/dashboards/hooks/useDashboards.ts +56 -0
- package/src/features/dashboards/hooks/useMonitorDataMap.ts +84 -0
- package/src/features/dashboards/index.ts +11 -0
- package/src/features/dashboards/utils/dashboard-config.util.test.ts +255 -0
- package/src/features/dashboards/utils/dashboard-config.util.ts +382 -0
- package/src/features/report-visualizer/ReportVisualizerPage.tsx +448 -0
- package/src/features/report-visualizer/components/Export/ExportMenu.tsx +141 -0
- package/src/features/report-visualizer/components/Export/index.ts +2 -0
- package/src/features/report-visualizer/components/ReportExplorer/QuickFilters.tsx +152 -0
- package/src/features/report-visualizer/components/ReportExplorer/ReportCategoryFilter.tsx +54 -0
- package/src/features/report-visualizer/components/ReportExplorer/ReportExplorerPanel.tsx +201 -0
- package/src/features/report-visualizer/components/ReportExplorer/ReportExplorerRail.tsx +202 -0
- package/src/features/report-visualizer/components/ReportExplorer/ReportList.tsx +287 -0
- package/src/features/report-visualizer/components/ReportExplorer/ReportSearch.tsx +151 -0
- package/src/features/report-visualizer/components/ReportExplorer/ReportTagFilter.tsx +100 -0
- package/src/features/report-visualizer/components/ReportExplorer/RunReportButton.tsx +42 -0
- package/src/features/report-visualizer/components/ReportExplorer/RuntimeParameterForm.tsx +259 -0
- package/src/features/report-visualizer/components/ReportExplorer/index.ts +8 -0
- package/src/features/report-visualizer/components/ReportWorkspace/ReportLayer.tsx +33 -0
- package/src/features/report-visualizer/components/ReportWorkspace/ReportSummary.tsx +88 -0
- package/src/features/report-visualizer/components/ReportWorkspace/ReportViewTabs.tsx +72 -0
- package/src/features/report-visualizer/components/ReportWorkspace/ReportWorkspaceHeader.tsx +92 -0
- package/src/features/report-visualizer/components/ReportWorkspace/ReportWorkspacePanel.tsx +242 -0
- package/src/features/report-visualizer/components/ReportWorkspace/index.ts +5 -0
- package/src/features/report-visualizer/components/TableView/ColumnVisibilityMenu.tsx +206 -0
- package/src/features/report-visualizer/components/TableView/ReportTable.tsx +253 -0
- package/src/features/report-visualizer/components/TableView/index.ts +2 -0
- package/src/features/report-visualizer/hooks/index.ts +4 -0
- package/src/features/report-visualizer/hooks/useExplorerPreferences.ts +103 -0
- package/src/features/report-visualizer/hooks/useReportCapabilities.ts +112 -0
- package/src/features/report-visualizer/hooks/useReportParameters.ts +152 -0
- package/src/features/report-visualizer/hooks/useReports.ts +135 -0
- package/src/features/report-visualizer/index.ts +6 -0
- package/src/features/report-visualizer/report-visualizer.scss +593 -0
- package/src/features/report-visualizer/types/index.ts +1 -0
- package/src/features/report-visualizer/types/report-visualizer.types.ts +104 -0
- package/src/features/report-visualizer/utils/status-colors.ts +117 -0
- package/src/globals.d.ts +14 -0
- package/src/hooks/address-template.ts +86 -0
- package/src/hooks/concept.ts +112 -0
- package/src/hooks/indicator/index.ts +1 -0
- package/src/hooks/indicator/useIndicatorsByTheme.ts +41 -0
- package/src/hooks/openmrs-reference-data.ts +432 -0
- package/src/hooks/theme/index.ts +4 -0
- package/src/hooks/theme/useDataTheme.ts +61 -0
- package/src/hooks/theme/useDataThemes.ts +28 -0
- package/src/hooks/theme/useMambaTableMeta.ts +34 -0
- package/src/hooks/theme/useMambaTables.ts +95 -0
- package/src/hooks/use-report-builder-privileges.test.tsx +98 -0
- package/src/hooks/use-report-builder-privileges.ts +58 -0
- package/src/index.ts +29 -0
- package/src/resources/address-template/address-template.api.ts +180 -0
- package/src/resources/agegroup/agegroups.api.ts +58 -0
- package/src/resources/concept/concept.api.ts +116 -0
- package/src/resources/concepts/concept-mapper.ts +21 -0
- package/src/resources/concepts/concept-types.ts +31 -0
- package/src/resources/concepts/concepts.resource.ts +44 -0
- package/src/resources/concepts/useConceptSearch.ts +41 -0
- package/src/resources/dashboard/dashboard.api.ts +107 -0
- package/src/resources/etl-monitor/etl-monitor-test.api.ts +409 -0
- package/src/resources/etl-monitor/etl-monitor.api.ts +381 -0
- package/src/resources/etl-source/etl-source.api.ts +65 -0
- package/src/resources/etl-task/etl-task.api.ts +96 -0
- package/src/resources/etl-task/etl-task.types.ts +31 -0
- package/src/resources/indicator/indicators.api.ts +125 -0
- package/src/resources/legacy-reports/legacy-reports.api.ts +144 -0
- package/src/resources/linelist/linelist-reports.api.ts +616 -0
- package/src/resources/location/location.api.ts +135 -0
- package/src/resources/openmrs-api.ts +40 -0
- package/src/resources/patient-identifier-type/patient-identifier-type.api.ts +65 -0
- package/src/resources/person-attribute-type/person-attribute-type.api.ts +71 -0
- package/src/resources/preview/sql-preview.api.ts +54 -0
- package/src/resources/report/reports.api.ts +140 -0
- package/src/resources/report-category/report-category.api.ts +41 -0
- package/src/resources/report-import-export/import-export-api.ts +164 -0
- package/src/resources/report-library/report-library.api.ts +63 -0
- package/src/resources/report-section/report-sections.api.ts +73 -0
- package/src/resources/report-section/section-preview.api.ts +25 -0
- package/src/resources/theme/data-theme.api.ts +88 -0
- package/src/resources/theme/etl-schema.api.ts +101 -0
- package/src/resources/theme/etl-table-meta.api.ts +45 -0
- package/src/root.component.tsx +20 -0
- package/src/routes/report-builder.routes.tsx +160 -0
- package/src/routes/report-builder.scss +56 -0
- package/src/routes.json +28 -0
- package/src/sample-template.ts +121 -0
- package/src/template-utils.ts +110 -0
- package/src/types/carbon-react-inert.d.ts +13 -0
- package/src/types/condition-operators.ts +63 -0
- package/src/types/dashboard/dashboard.types.ts +137 -0
- package/src/types/dashboard/index.ts +4 -0
- package/src/types/etl/etl-types.ts +238 -0
- package/src/types/etl-monitor/etl-monitor-builder.types.ts +555 -0
- package/src/types/etl-monitor/etl-monitor-v2.types.ts +397 -0
- package/src/types/etl-monitor/etl-monitor.types.ts +188 -0
- package/src/types/etl-monitor/index.ts +6 -0
- package/src/types/linelist/compile-config.ts +455 -0
- package/src/types/linelist-types.ts +2059 -0
- package/src/types/theme/data-theme.types.ts +88 -0
- package/src/utils/api-error.utils.test.ts +151 -0
- package/src/utils/api-error.utils.ts +131 -0
- package/src/utils/config-enhancer.ts +62 -0
- package/src/utils/etl-browser/etl-browser.util.test.ts +145 -0
- package/src/utils/etl-browser/export-csv.util.ts +43 -0
- package/src/utils/etl-browser/group-tables.util.ts +84 -0
- package/src/utils/etl-browser/index.ts +4 -0
- package/src/utils/etl-browser/summarize-columns.util.ts +27 -0
- package/src/utils/etl-browser/table-sql.util.ts +20 -0
- package/src/utils/etl-monitor/config-v2-adapter.util.ts +460 -0
- package/src/utils/etl-monitor/endpoint-config-normalizer.util.ts +383 -0
- package/src/utils/etl-monitor/index.ts +10 -0
- package/src/utils/etl-monitor/jsonpath-resolver.util.ts +118 -0
- package/src/utils/etl-monitor/normalization-examples.ts +0 -0
- package/src/utils/etl-monitor/schema-inspector.util.ts +76 -0
- package/src/utils/etl-monitor/semantic-type-detector.util.ts +76 -0
- package/src/utils/etl-monitor/status-mapper.util.ts +105 -0
- package/src/utils/etl-monitor/value-formatters.util.ts +167 -0
- package/src/utils/etl-task/etl-task-card.util.test.ts +239 -0
- package/src/utils/etl-task/etl-task-card.util.ts +276 -0
- package/src/utils/etl-task/index.ts +1 -0
- package/src/utils/html-entities.utils.ts +34 -0
- package/src/utils/parameter-resolution.ts +218 -0
- package/src/views/etl-monitor-builder/add-monitor-modal.component.scss +0 -0
- package/src/views/etl-monitor-builder/add-monitor-modal.component.tsx +210 -0
- package/src/views/etl-monitor-builder/etl-monitor-builder.component.scss +157 -0
- package/src/views/etl-monitor-builder/etl-monitor-builder.component.tsx +252 -0
- package/src/views/etl-monitor-builder/etl-monitor-builder.store.ts +126 -0
- package/tools/scss-stub.js +12 -0
- package/tools/setup-tests.ts +1 -0
- package/translations/en.json +65 -0
- package/tsconfig.json +43 -0
- package/webpack.config.js +30 -0
|
@@ -0,0 +1,530 @@
|
|
|
1
|
+
{
|
|
2
|
+
"chunks": [
|
|
3
|
+
{
|
|
4
|
+
"rendered": true,
|
|
5
|
+
"initial": false,
|
|
6
|
+
"entry": false,
|
|
7
|
+
"recorded": false,
|
|
8
|
+
"reason": "split chunk (cache group: defaultVendors)",
|
|
9
|
+
"size": 3605185,
|
|
10
|
+
"sizes": {
|
|
11
|
+
"javascript": 3605185
|
|
12
|
+
},
|
|
13
|
+
"names": [],
|
|
14
|
+
"idHints": [
|
|
15
|
+
"vendors"
|
|
16
|
+
],
|
|
17
|
+
"runtime": [
|
|
18
|
+
"@openmrs/esm-report-builder",
|
|
19
|
+
"main"
|
|
20
|
+
],
|
|
21
|
+
"files": [
|
|
22
|
+
"162.js"
|
|
23
|
+
],
|
|
24
|
+
"auxiliaryFiles": [
|
|
25
|
+
"162.js.map"
|
|
26
|
+
],
|
|
27
|
+
"hash": "7f955fc21ba7ff20",
|
|
28
|
+
"childrenByOrder": {}
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"rendered": true,
|
|
32
|
+
"initial": false,
|
|
33
|
+
"entry": false,
|
|
34
|
+
"recorded": false,
|
|
35
|
+
"reason": "reused as split chunk (cache group: defaultVendors)",
|
|
36
|
+
"size": 163792,
|
|
37
|
+
"sizes": {
|
|
38
|
+
"javascript": 163792
|
|
39
|
+
},
|
|
40
|
+
"names": [],
|
|
41
|
+
"idHints": [
|
|
42
|
+
"vendors"
|
|
43
|
+
],
|
|
44
|
+
"runtime": [
|
|
45
|
+
"@openmrs/esm-report-builder",
|
|
46
|
+
"main"
|
|
47
|
+
],
|
|
48
|
+
"files": [
|
|
49
|
+
"184.js"
|
|
50
|
+
],
|
|
51
|
+
"auxiliaryFiles": [
|
|
52
|
+
"184.js.map"
|
|
53
|
+
],
|
|
54
|
+
"hash": "4312e92d1042d4b6",
|
|
55
|
+
"childrenByOrder": {}
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"rendered": true,
|
|
59
|
+
"initial": false,
|
|
60
|
+
"entry": false,
|
|
61
|
+
"recorded": false,
|
|
62
|
+
"reason": "split chunk (cache group: defaultVendors)",
|
|
63
|
+
"size": 393422,
|
|
64
|
+
"sizes": {
|
|
65
|
+
"javascript": 393422
|
|
66
|
+
},
|
|
67
|
+
"names": [],
|
|
68
|
+
"idHints": [
|
|
69
|
+
"vendors"
|
|
70
|
+
],
|
|
71
|
+
"runtime": [
|
|
72
|
+
"@openmrs/esm-report-builder",
|
|
73
|
+
"main"
|
|
74
|
+
],
|
|
75
|
+
"files": [
|
|
76
|
+
"242.js"
|
|
77
|
+
],
|
|
78
|
+
"auxiliaryFiles": [
|
|
79
|
+
"242.js.map"
|
|
80
|
+
],
|
|
81
|
+
"hash": "2cedb8934051d68f",
|
|
82
|
+
"childrenByOrder": {}
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"rendered": true,
|
|
86
|
+
"initial": false,
|
|
87
|
+
"entry": false,
|
|
88
|
+
"recorded": false,
|
|
89
|
+
"size": 4016454,
|
|
90
|
+
"sizes": {
|
|
91
|
+
"javascript": 4016454
|
|
92
|
+
},
|
|
93
|
+
"names": [],
|
|
94
|
+
"idHints": [],
|
|
95
|
+
"runtime": [
|
|
96
|
+
"@openmrs/esm-report-builder",
|
|
97
|
+
"main"
|
|
98
|
+
],
|
|
99
|
+
"files": [
|
|
100
|
+
"253.js"
|
|
101
|
+
],
|
|
102
|
+
"auxiliaryFiles": [
|
|
103
|
+
"253.js.map"
|
|
104
|
+
],
|
|
105
|
+
"hash": "f8f4d54cdfbc5318",
|
|
106
|
+
"childrenByOrder": {}
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"rendered": true,
|
|
110
|
+
"initial": false,
|
|
111
|
+
"entry": false,
|
|
112
|
+
"recorded": false,
|
|
113
|
+
"size": 2435,
|
|
114
|
+
"sizes": {
|
|
115
|
+
"javascript": 2435
|
|
116
|
+
},
|
|
117
|
+
"names": [],
|
|
118
|
+
"idHints": [],
|
|
119
|
+
"runtime": [
|
|
120
|
+
"@openmrs/esm-report-builder",
|
|
121
|
+
"main"
|
|
122
|
+
],
|
|
123
|
+
"files": [
|
|
124
|
+
"300.js"
|
|
125
|
+
],
|
|
126
|
+
"auxiliaryFiles": [],
|
|
127
|
+
"hash": "5f1913986ab29170",
|
|
128
|
+
"childrenByOrder": {}
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"rendered": true,
|
|
132
|
+
"initial": false,
|
|
133
|
+
"entry": false,
|
|
134
|
+
"recorded": false,
|
|
135
|
+
"reason": "reused as split chunk (cache group: defaultVendors)",
|
|
136
|
+
"size": 48317,
|
|
137
|
+
"sizes": {
|
|
138
|
+
"javascript": 48317
|
|
139
|
+
},
|
|
140
|
+
"names": [],
|
|
141
|
+
"idHints": [
|
|
142
|
+
"vendors"
|
|
143
|
+
],
|
|
144
|
+
"runtime": [
|
|
145
|
+
"@openmrs/esm-report-builder",
|
|
146
|
+
"main"
|
|
147
|
+
],
|
|
148
|
+
"files": [
|
|
149
|
+
"311.js"
|
|
150
|
+
],
|
|
151
|
+
"auxiliaryFiles": [
|
|
152
|
+
"311.js.map"
|
|
153
|
+
],
|
|
154
|
+
"hash": "4c191874682568ee",
|
|
155
|
+
"childrenByOrder": {}
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"rendered": false,
|
|
159
|
+
"initial": false,
|
|
160
|
+
"entry": false,
|
|
161
|
+
"recorded": false,
|
|
162
|
+
"size": 84,
|
|
163
|
+
"sizes": {
|
|
164
|
+
"consume-shared": 84
|
|
165
|
+
},
|
|
166
|
+
"names": [],
|
|
167
|
+
"idHints": [],
|
|
168
|
+
"runtime": [
|
|
169
|
+
"@openmrs/esm-report-builder",
|
|
170
|
+
"main"
|
|
171
|
+
],
|
|
172
|
+
"files": [],
|
|
173
|
+
"auxiliaryFiles": [],
|
|
174
|
+
"hash": "9e704fc3ad401918",
|
|
175
|
+
"childrenByOrder": {}
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"rendered": true,
|
|
179
|
+
"initial": false,
|
|
180
|
+
"entry": false,
|
|
181
|
+
"recorded": false,
|
|
182
|
+
"reason": "split chunk (cache group: defaultVendors)",
|
|
183
|
+
"size": 3115304,
|
|
184
|
+
"sizes": {
|
|
185
|
+
"javascript": 3115304
|
|
186
|
+
},
|
|
187
|
+
"names": [],
|
|
188
|
+
"idHints": [
|
|
189
|
+
"vendors"
|
|
190
|
+
],
|
|
191
|
+
"runtime": [
|
|
192
|
+
"@openmrs/esm-report-builder",
|
|
193
|
+
"main"
|
|
194
|
+
],
|
|
195
|
+
"files": [
|
|
196
|
+
"469.js"
|
|
197
|
+
],
|
|
198
|
+
"auxiliaryFiles": [
|
|
199
|
+
"469.js.map"
|
|
200
|
+
],
|
|
201
|
+
"hash": "21304055d48ed9ac",
|
|
202
|
+
"childrenByOrder": {}
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"rendered": true,
|
|
206
|
+
"initial": false,
|
|
207
|
+
"entry": false,
|
|
208
|
+
"recorded": false,
|
|
209
|
+
"reason": "split chunk (cache group: defaultVendors)",
|
|
210
|
+
"size": 85041,
|
|
211
|
+
"sizes": {
|
|
212
|
+
"javascript": 85041
|
|
213
|
+
},
|
|
214
|
+
"names": [],
|
|
215
|
+
"idHints": [
|
|
216
|
+
"vendors"
|
|
217
|
+
],
|
|
218
|
+
"runtime": [
|
|
219
|
+
"@openmrs/esm-report-builder",
|
|
220
|
+
"main"
|
|
221
|
+
],
|
|
222
|
+
"files": [
|
|
223
|
+
"478.js"
|
|
224
|
+
],
|
|
225
|
+
"auxiliaryFiles": [
|
|
226
|
+
"478.js.map"
|
|
227
|
+
],
|
|
228
|
+
"hash": "759bca7b3c4d4478",
|
|
229
|
+
"childrenByOrder": {}
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"rendered": true,
|
|
233
|
+
"initial": true,
|
|
234
|
+
"entry": true,
|
|
235
|
+
"recorded": false,
|
|
236
|
+
"size": 20844,
|
|
237
|
+
"sizes": {
|
|
238
|
+
"javascript": 42,
|
|
239
|
+
"share-init": 252,
|
|
240
|
+
"runtime": 20550
|
|
241
|
+
},
|
|
242
|
+
"names": [
|
|
243
|
+
"@openmrs/esm-report-builder"
|
|
244
|
+
],
|
|
245
|
+
"idHints": [],
|
|
246
|
+
"runtime": [
|
|
247
|
+
"@openmrs/esm-report-builder"
|
|
248
|
+
],
|
|
249
|
+
"files": [
|
|
250
|
+
"openmrs-esm-report-builder.js"
|
|
251
|
+
],
|
|
252
|
+
"auxiliaryFiles": [
|
|
253
|
+
"openmrs-esm-report-builder.js.map"
|
|
254
|
+
],
|
|
255
|
+
"hash": "7592067877032090",
|
|
256
|
+
"childrenByOrder": {}
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"rendered": true,
|
|
260
|
+
"initial": false,
|
|
261
|
+
"entry": false,
|
|
262
|
+
"recorded": false,
|
|
263
|
+
"size": 5154,
|
|
264
|
+
"sizes": {
|
|
265
|
+
"javascript": 5154
|
|
266
|
+
},
|
|
267
|
+
"names": [],
|
|
268
|
+
"idHints": [],
|
|
269
|
+
"runtime": [
|
|
270
|
+
"@openmrs/esm-report-builder",
|
|
271
|
+
"main"
|
|
272
|
+
],
|
|
273
|
+
"files": [
|
|
274
|
+
"539.js"
|
|
275
|
+
],
|
|
276
|
+
"auxiliaryFiles": [
|
|
277
|
+
"539.js.map"
|
|
278
|
+
],
|
|
279
|
+
"hash": "c26b9b0dff3a96d6",
|
|
280
|
+
"childrenByOrder": {}
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"rendered": true,
|
|
284
|
+
"initial": false,
|
|
285
|
+
"entry": false,
|
|
286
|
+
"recorded": false,
|
|
287
|
+
"size": 7120,
|
|
288
|
+
"sizes": {
|
|
289
|
+
"javascript": 7120
|
|
290
|
+
},
|
|
291
|
+
"names": [],
|
|
292
|
+
"idHints": [],
|
|
293
|
+
"runtime": [
|
|
294
|
+
"@openmrs/esm-report-builder",
|
|
295
|
+
"main"
|
|
296
|
+
],
|
|
297
|
+
"files": [
|
|
298
|
+
"540.js"
|
|
299
|
+
],
|
|
300
|
+
"auxiliaryFiles": [
|
|
301
|
+
"540.js.map"
|
|
302
|
+
],
|
|
303
|
+
"hash": "2de5e7815cf9247c",
|
|
304
|
+
"childrenByOrder": {}
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"rendered": false,
|
|
308
|
+
"initial": false,
|
|
309
|
+
"entry": false,
|
|
310
|
+
"recorded": false,
|
|
311
|
+
"reason": "reused as split chunk (cache group: default)",
|
|
312
|
+
"size": 42,
|
|
313
|
+
"sizes": {
|
|
314
|
+
"consume-shared": 42
|
|
315
|
+
},
|
|
316
|
+
"names": [],
|
|
317
|
+
"idHints": [],
|
|
318
|
+
"runtime": [
|
|
319
|
+
"@openmrs/esm-report-builder",
|
|
320
|
+
"main"
|
|
321
|
+
],
|
|
322
|
+
"files": [],
|
|
323
|
+
"auxiliaryFiles": [],
|
|
324
|
+
"hash": "e1fc188f0822c4a6",
|
|
325
|
+
"childrenByOrder": {}
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"rendered": true,
|
|
329
|
+
"initial": false,
|
|
330
|
+
"entry": false,
|
|
331
|
+
"recorded": false,
|
|
332
|
+
"size": 1089,
|
|
333
|
+
"sizes": {
|
|
334
|
+
"javascript": 1089
|
|
335
|
+
},
|
|
336
|
+
"names": [],
|
|
337
|
+
"idHints": [],
|
|
338
|
+
"runtime": [
|
|
339
|
+
"@openmrs/esm-report-builder",
|
|
340
|
+
"main"
|
|
341
|
+
],
|
|
342
|
+
"files": [
|
|
343
|
+
"669.js"
|
|
344
|
+
],
|
|
345
|
+
"auxiliaryFiles": [
|
|
346
|
+
"669.js.map"
|
|
347
|
+
],
|
|
348
|
+
"hash": "bba2f4428e6fee5d",
|
|
349
|
+
"childrenByOrder": {}
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
"rendered": false,
|
|
353
|
+
"initial": false,
|
|
354
|
+
"entry": false,
|
|
355
|
+
"recorded": false,
|
|
356
|
+
"reason": "split chunk (cache group: default)",
|
|
357
|
+
"size": 84,
|
|
358
|
+
"sizes": {
|
|
359
|
+
"consume-shared": 84
|
|
360
|
+
},
|
|
361
|
+
"names": [],
|
|
362
|
+
"idHints": [],
|
|
363
|
+
"runtime": [
|
|
364
|
+
"@openmrs/esm-report-builder",
|
|
365
|
+
"main"
|
|
366
|
+
],
|
|
367
|
+
"files": [],
|
|
368
|
+
"auxiliaryFiles": [],
|
|
369
|
+
"hash": "129fd22c1deeab7a",
|
|
370
|
+
"childrenByOrder": {}
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"rendered": true,
|
|
374
|
+
"initial": false,
|
|
375
|
+
"entry": false,
|
|
376
|
+
"recorded": false,
|
|
377
|
+
"size": 1007,
|
|
378
|
+
"sizes": {
|
|
379
|
+
"javascript": 1007
|
|
380
|
+
},
|
|
381
|
+
"names": [],
|
|
382
|
+
"idHints": [],
|
|
383
|
+
"runtime": [
|
|
384
|
+
"@openmrs/esm-report-builder",
|
|
385
|
+
"main"
|
|
386
|
+
],
|
|
387
|
+
"files": [
|
|
388
|
+
"710.js"
|
|
389
|
+
],
|
|
390
|
+
"auxiliaryFiles": [
|
|
391
|
+
"710.js.map"
|
|
392
|
+
],
|
|
393
|
+
"hash": "64080d1e57c3bc8a",
|
|
394
|
+
"childrenByOrder": {}
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
"rendered": true,
|
|
398
|
+
"initial": false,
|
|
399
|
+
"entry": false,
|
|
400
|
+
"recorded": false,
|
|
401
|
+
"size": 2526,
|
|
402
|
+
"sizes": {
|
|
403
|
+
"consume-shared": 42,
|
|
404
|
+
"javascript": 2484
|
|
405
|
+
},
|
|
406
|
+
"names": [],
|
|
407
|
+
"idHints": [],
|
|
408
|
+
"runtime": [
|
|
409
|
+
"@openmrs/esm-report-builder"
|
|
410
|
+
],
|
|
411
|
+
"files": [
|
|
412
|
+
"729.js"
|
|
413
|
+
],
|
|
414
|
+
"auxiliaryFiles": [
|
|
415
|
+
"729.js.map"
|
|
416
|
+
],
|
|
417
|
+
"hash": "619a61df0d3be3cd",
|
|
418
|
+
"childrenByOrder": {}
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
"rendered": true,
|
|
422
|
+
"initial": true,
|
|
423
|
+
"entry": true,
|
|
424
|
+
"recorded": false,
|
|
425
|
+
"size": 23716,
|
|
426
|
+
"sizes": {
|
|
427
|
+
"consume-shared": 42,
|
|
428
|
+
"javascript": 2484,
|
|
429
|
+
"share-init": 252,
|
|
430
|
+
"runtime": 20938
|
|
431
|
+
},
|
|
432
|
+
"names": [
|
|
433
|
+
"main"
|
|
434
|
+
],
|
|
435
|
+
"idHints": [],
|
|
436
|
+
"runtime": [
|
|
437
|
+
"main"
|
|
438
|
+
],
|
|
439
|
+
"files": [
|
|
440
|
+
"main.js"
|
|
441
|
+
],
|
|
442
|
+
"auxiliaryFiles": [
|
|
443
|
+
"main.js.map"
|
|
444
|
+
],
|
|
445
|
+
"hash": "06ccb7eb980c2e60",
|
|
446
|
+
"childrenByOrder": {}
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
"rendered": true,
|
|
450
|
+
"initial": false,
|
|
451
|
+
"entry": false,
|
|
452
|
+
"recorded": false,
|
|
453
|
+
"reason": "split chunk (cache group: defaultVendors)",
|
|
454
|
+
"size": 708547,
|
|
455
|
+
"sizes": {
|
|
456
|
+
"javascript": 708547
|
|
457
|
+
},
|
|
458
|
+
"names": [],
|
|
459
|
+
"idHints": [
|
|
460
|
+
"vendors"
|
|
461
|
+
],
|
|
462
|
+
"runtime": [
|
|
463
|
+
"@openmrs/esm-report-builder",
|
|
464
|
+
"main"
|
|
465
|
+
],
|
|
466
|
+
"files": [
|
|
467
|
+
"838.js"
|
|
468
|
+
],
|
|
469
|
+
"auxiliaryFiles": [
|
|
470
|
+
"838.js.map"
|
|
471
|
+
],
|
|
472
|
+
"hash": "e0a1b89286fb9d5a",
|
|
473
|
+
"childrenByOrder": {}
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
"rendered": true,
|
|
477
|
+
"initial": false,
|
|
478
|
+
"entry": false,
|
|
479
|
+
"recorded": false,
|
|
480
|
+
"reason": "reused as split chunk (cache group: defaultVendors)",
|
|
481
|
+
"size": 20583,
|
|
482
|
+
"sizes": {
|
|
483
|
+
"javascript": 20583
|
|
484
|
+
},
|
|
485
|
+
"names": [],
|
|
486
|
+
"idHints": [
|
|
487
|
+
"vendors"
|
|
488
|
+
],
|
|
489
|
+
"runtime": [
|
|
490
|
+
"@openmrs/esm-report-builder",
|
|
491
|
+
"main"
|
|
492
|
+
],
|
|
493
|
+
"files": [
|
|
494
|
+
"917.js"
|
|
495
|
+
],
|
|
496
|
+
"auxiliaryFiles": [
|
|
497
|
+
"917.js.map"
|
|
498
|
+
],
|
|
499
|
+
"hash": "bb3a41028971fa99",
|
|
500
|
+
"childrenByOrder": {}
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
"rendered": true,
|
|
504
|
+
"initial": false,
|
|
505
|
+
"entry": false,
|
|
506
|
+
"recorded": false,
|
|
507
|
+
"reason": "reused as split chunk (cache group: defaultVendors)",
|
|
508
|
+
"size": 137481,
|
|
509
|
+
"sizes": {
|
|
510
|
+
"javascript": 137481
|
|
511
|
+
},
|
|
512
|
+
"names": [],
|
|
513
|
+
"idHints": [
|
|
514
|
+
"vendors"
|
|
515
|
+
],
|
|
516
|
+
"runtime": [
|
|
517
|
+
"@openmrs/esm-report-builder",
|
|
518
|
+
"main"
|
|
519
|
+
],
|
|
520
|
+
"files": [
|
|
521
|
+
"961.js"
|
|
522
|
+
],
|
|
523
|
+
"auxiliaryFiles": [
|
|
524
|
+
"961.js.map"
|
|
525
|
+
],
|
|
526
|
+
"hash": "dd61f6a129663646",
|
|
527
|
+
"childrenByOrder": {}
|
|
528
|
+
}
|
|
529
|
+
]
|
|
530
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"openmrs-esm-report-builder.js","mappings":"uDACIA,EADAC,ECAAC,EACAC,ECDAC,EAIAC,EAIAC,EAIAC,EAIAC,EAGAC,EAIAC,EAuBAC,EAMAC,EAUAC,EAMAC,EAWAC,EA0BAC,EAgBAC,EACAC,EASAC,EAgBAC,E,eCnJJ,IAAIC,EAAY,CACf,UAAW,IACHC,EAAoBC,EAAE,KAAKC,KAAK,IAAM,IAASF,EAAoB,QAGxEb,EAAM,CAACgB,EAAQC,KAClBJ,EAAoBK,EAAID,EACxBA,EACCJ,EAAoBM,EAAEP,EAAWI,GAC9BJ,EAAUI,KACVI,QAAQC,UAAUN,KAAK,KACxB,MAAM,IAAIO,MAAM,WAAaN,EAAS,oCAGzCH,EAAoBK,OAAIK,EACjBN,GAEJO,EAAO,CAACC,EAAYC,KACvB,GAAKb,EAAoBc,EAAzB,CACA,IAAIC,EAAO,UACPC,EAAWhB,EAAoBc,EAAEC,GACrC,GAAGC,GAAYA,IAAaJ,EAAY,MAAM,IAAIH,MAAM,mGAExD,OADAT,EAAoBc,EAAEC,GAAQH,EACvBZ,EAAoBiB,EAAEF,EAAMF,EALD,GASnCb,EAAoBkB,EAAEC,EAAS,CAC9BhC,IAAK,IAAM,EACXwB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KAAK2B,KAAKiE,G,KCrFvFhK,EAAoBgF,QAAKtE,ECGzB,IAAIwJ,EAAsBlK,EAAoB,M","sources":["webpack://@openmrs/esm-report-builder/webpack/runtime/create fake namespace object","webpack://@openmrs/esm-report-builder/webpack/runtime/load script","webpack://@openmrs/esm-report-builder/webpack/runtime/consumes","webpack://@openmrs/esm-report-builder/webpack/container-entry","webpack://@openmrs/esm-report-builder/webpack/bootstrap","webpack://@openmrs/esm-report-builder/webpack/runtime/compat get default export","webpack://@openmrs/esm-report-builder/webpack/runtime/define property getters","webpack://@openmrs/esm-report-builder/webpack/runtime/ensure chunk","webpack://@openmrs/esm-report-builder/webpack/runtime/get javascript chunk filename","webpack://@openmrs/esm-report-builder/webpack/runtime/global","webpack://@openmrs/esm-report-builder/webpack/runtime/hasOwnProperty shorthand","webpack://@openmrs/esm-report-builder/webpack/runtime/make namespace object","webpack://@openmrs/esm-report-builder/webpack/runtime/sharing","webpack://@openmrs/esm-report-builder/webpack/runtime/publicPath","webpack://@openmrs/esm-report-builder/webpack/runtime/jsonp chunk loading","webpack://@openmrs/esm-report-builder/webpack/runtime/nonce","webpack://@openmrs/esm-report-builder/webpack/startup"],"names":["leafPrototypes","getProto","inProgress","dataWebpackPrefix","parseVersion","versionLt","rangeToString","satisfy","exists","get","eagerOnly","findSingletonVersionKey","getInvalidSingletonVersionMessage","fail","warn","useFallback","loadSingletonVersion","installedModules","moduleToHandlerMapping","chunkMapping","startedInstallModules","moduleMap","__webpack_require__","e","then","module","getScope","R","o","Promise","resolve","Error","undefined","init","shareScope","initScope","S","name","oldScope","I","d","exports","__webpack_module_cache__","moduleId","cachedModule","id","__webpack_modules__","call","m","c","n","getter","__esModule","a","Object","getPrototypeOf","obj","t","value","mode","this","ns","create","r","def","current","indexOf","getOwnPropertyNames","forEach","key","definition","defineProperty","enumerable","f","chunkId","all","keys","reduce","promises","u","g","globalThis","Function","window","prop","prototype","hasOwnProperty","l","url","done","push","script","needAttach","scripts","document","getElementsByTagName","i","length","s","getAttribute","createElement","charset","nc","setAttribute","src","onScriptComplete","prev","event","onerror","onload","clearTimeout","timeout","doneFns","parentNode","removeChild","fn","setTimeout","bind","type","target","head","appendChild","Symbol","toStringTag","initPromises","initTokens","initToken","scope","uniqueName","register","version","factory","eager","versions","activeVersion","loaded","from","scriptUrl","importScripts","location","currentScript","tagName","toUpperCase","test","replace","p","str","split","map","exec","apply","b","range","pop","entry","filtered","requiredVersion","msg","console","scopeName","fallback","failAsNotExist","promise","consumes","onFactory","onError","error","installedChunks","j","installedChunkData","reject","errorType","realSrc","message","request","webpackJsonpCallback","parentChunkLoadingFunction","data","chunkIds","moreModules","runtime","some","chunkLoadingGlobal","self","__webpack_exports__"],"sourceRoot":""}
|
package/dist/routes.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json.openmrs.org/routes.schema.json","pages":[{"component":"root","route":"report-builder","online":true,"offline":false,"order":1}],"extensions":[{"name":"system-administration-report-builder-card-link","slot":"system-admin-page-card-link-slot","component":"reportBuilderAdminLink","online":true,"offline":false,"privileges":"Task: reportbuilder.report.view"},{"component":"confirmModal","name":"confirm-modal","online":true,"offline":true}],"version":"0.1.1-pre.87"}
|
package/e2e/core/env.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export const e2eBaseUrl = (process.env.E2E_BASE_URL || 'http://localhost:8080/openmrs').replace(/\/$/, '');
|
|
2
|
+
export const playwrightBaseUrl = process.env.PLAYWRIGHT_BASE_URL || `${e2eBaseUrl}/spa/report-builder`;
|
|
3
|
+
export const username = process.env.E2E_USERNAME || 'admin';
|
|
4
|
+
export const password = process.env.E2E_PASSWORD || 'Admin123';
|
|
5
|
+
export const loginLocation = process.env.E2E_LOGIN_LOCATION || '8d6c993e-c2cc-11de-8d13-0010c6dffd0f';
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { request, type FullConfig } from '@playwright/test';
|
|
2
|
+
import fs from 'node:fs/promises';
|
|
3
|
+
import path from 'node:path';
|
|
4
|
+
import { e2eBaseUrl, loginLocation, password, username } from './env';
|
|
5
|
+
|
|
6
|
+
async function globalSetup(config: FullConfig) {
|
|
7
|
+
const storageStatePath = config.projects[0]?.use?.storageState as string | undefined;
|
|
8
|
+
if (!storageStatePath) return;
|
|
9
|
+
|
|
10
|
+
const requestContext = await request.newContext({ baseURL: e2eBaseUrl });
|
|
11
|
+
|
|
12
|
+
const authHeader = `Basic ${Buffer.from(`${username}:${password}`).toString('base64')}`;
|
|
13
|
+
const response = await requestContext.post('/ws/rest/v1/session', {
|
|
14
|
+
headers: {
|
|
15
|
+
Authorization: authHeader,
|
|
16
|
+
'Content-Type': 'application/x-www-form-urlencoded',
|
|
17
|
+
},
|
|
18
|
+
form: {
|
|
19
|
+
sessionLocation: loginLocation,
|
|
20
|
+
},
|
|
21
|
+
failOnStatusCode: false,
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
if (!response.ok()) {
|
|
25
|
+
throw new Error(`E2E authentication failed with status ${response.status()}. Check E2E_* variables and backend availability.`);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
const state = await requestContext.storageState();
|
|
29
|
+
await fs.mkdir(path.dirname(storageStatePath), { recursive: true });
|
|
30
|
+
await fs.writeFile(storageStatePath, JSON.stringify(state, null, 2));
|
|
31
|
+
await requestContext.dispose();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export default globalSetup;
|
package/e2e/core/test.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { test as base, expect } from '@playwright/test';
|
|
2
|
+
import { AppShellPage } from '../pages/app-shell.page';
|
|
3
|
+
import { ETLSourcesPage } from '../pages/etl-sources.page';
|
|
4
|
+
import { ReportSectionsPage } from '../pages/report-sections.page';
|
|
5
|
+
import { SectionPreviewModal } from '../pages/section-preview.modal';
|
|
6
|
+
|
|
7
|
+
type Fixtures = {
|
|
8
|
+
appShell: AppShellPage;
|
|
9
|
+
etlSourcesPage: ETLSourcesPage;
|
|
10
|
+
reportSectionsPage: ReportSectionsPage;
|
|
11
|
+
sectionPreviewModal: SectionPreviewModal;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export const test = base.extend<Fixtures>({
|
|
15
|
+
appShell: async ({ page }, use) => use(new AppShellPage(page)),
|
|
16
|
+
etlSourcesPage: async ({ page }, use) => use(new ETLSourcesPage(page)),
|
|
17
|
+
reportSectionsPage: async ({ page }, use) => use(new ReportSectionsPage(page)),
|
|
18
|
+
sectionPreviewModal: async ({ page }, use) => use(new SectionPreviewModal(page)),
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
export { expect };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { Page } from '@playwright/test';
|
|
2
|
+
|
|
3
|
+
export class AppShellPage {
|
|
4
|
+
constructor(private readonly page: Page) {}
|
|
5
|
+
|
|
6
|
+
async goto(path = '/') {
|
|
7
|
+
await this.page.goto(path);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
async openHome() {
|
|
11
|
+
await this.page.getByRole('link', { name: 'Home' }).click();
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
async openReports() {
|
|
15
|
+
await this.page.getByRole('link', { name: 'Reports' }).click();
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
async openSections() {
|
|
19
|
+
await this.page.getByRole('link', { name: 'Sections' }).click();
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
async openIndicators() {
|
|
23
|
+
await this.page.getByRole('link', { name: 'Indicators' }).click();
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
async openAdminMenu() {
|
|
27
|
+
await this.page.getByText('Admin', { exact: true }).click();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
async openAdminTile(name: string) {
|
|
31
|
+
await this.openAdminMenu();
|
|
32
|
+
await this.page.getByText(name, { exact: true }).click();
|
|
33
|
+
}
|
|
34
|
+
}
|