@openmrs/ngx-formentry 3.2.1-pre.275 → 3.2.1-pre.278
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/package.json +37 -90
- package/.editorconfig +0 -13
- package/.eslintrc.json +0 -45
- package/.prettierignore +0 -40
- package/.prettierrc +0 -6
- package/.turbo/turbo-build:lib.log +0 -37
- package/.yarn/plugins/@yarnpkg/plugin-version.cjs +0 -550
- package/.yarn/versions/6b8f5374.yml +0 -0
- package/README.md +0 -429
- package/angular.json +0 -164
- package/dist/ngx-formentry/package.json +0 -48
- package/proxy.conf.json +0 -6
- package/scripts/build.sh +0 -2
- package/tsconfig.json +0 -29
- package/turbo.json +0 -18
- /package/{dist/ngx-formentry/abstract-controls-extension → abstract-controls-extension}/afe-control-type.d.ts +0 -0
- /package/{dist/ngx-formentry/abstract-controls-extension → abstract-controls-extension}/afe-form-array.d.ts +0 -0
- /package/{dist/ngx-formentry/abstract-controls-extension → abstract-controls-extension}/afe-form-control.d.ts +0 -0
- /package/{dist/ngx-formentry/abstract-controls-extension → abstract-controls-extension}/afe-form-group.d.ts +0 -0
- /package/{dist/ngx-formentry/abstract-controls-extension → abstract-controls-extension}/control-extensions.d.ts +0 -0
- /package/{dist/ngx-formentry/abstract-controls-extension → abstract-controls-extension}/index.d.ts +0 -0
- /package/{dist/ngx-formentry/abstract-controls-extension → abstract-controls-extension}/value-change.listener.d.ts +0 -0
- /package/{dist/ngx-formentry/change-tracking → change-tracking}/control-relation.d.ts +0 -0
- /package/{dist/ngx-formentry/change-tracking → change-tracking}/control-relations.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/afe-ng-select.component.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/appointments-overview/appointments-overview.component.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/check-box/checkbox.component.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/check-box/checkbox.module.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/custom-component-wrapper/custom-component-wrapper..module.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/custom-component-wrapper/custom-component-wrapper.component.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/custom-control-wrapper/custom-control-wrapper..module.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/custom-control-wrapper/custom-control-wrapper.component.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/date-time-picker/date-picker/date-picker.component.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/date-time-picker/date-time-picker.component.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/date-time-picker/date-time-picker.module.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/date-time-picker/index.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/date-time-picker/picker-modal/modal.component.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/date-time-picker/pipes/moment.pipe.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/date-time-picker/time-picker/time-picker.component.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/file-upload/file-upload.component.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/file-upload/file-upload.module.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/file-upload/secure.pipe.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/input/input.directive.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/input/input.module.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/input/label.component.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/input/text-area.directive.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/ngx-datetime-picker/ngx-datetime-picker.component.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/ngx-datetime-picker/ngx-datetime-picker.module.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/ngx-pick-datetime/lib/date-time/adapter/date-time-adapter.class.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/ngx-pick-datetime/lib/date-time/adapter/date-time-format.class.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/ngx-pick-datetime/lib/date-time/adapter/native-date-time-adapter.class.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/ngx-pick-datetime/lib/date-time/adapter/native-date-time-format.class.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/ngx-pick-datetime/lib/date-time/adapter/native-date-time.module.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/ngx-pick-datetime/lib/date-time/calendar-body.component.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/ngx-pick-datetime/lib/date-time/calendar-month-view.component.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/ngx-pick-datetime/lib/date-time/calendar-multi-year-view.component.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/ngx-pick-datetime/lib/date-time/calendar-year-view.component.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/ngx-pick-datetime/lib/date-time/calendar.component.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/ngx-pick-datetime/lib/date-time/date-time-inline.component.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/ngx-pick-datetime/lib/date-time/date-time-picker-container.component.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/ngx-pick-datetime/lib/date-time/date-time-picker-input.directive.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/ngx-pick-datetime/lib/date-time/date-time-picker-intl.service.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/ngx-pick-datetime/lib/date-time/date-time-picker-trigger.directive.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/ngx-pick-datetime/lib/date-time/date-time-picker.animations.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/ngx-pick-datetime/lib/date-time/date-time-picker.component.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/ngx-pick-datetime/lib/date-time/date-time.class.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/ngx-pick-datetime/lib/date-time/date-time.module.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/ngx-pick-datetime/lib/date-time/numberedFixLen.pipe.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/ngx-pick-datetime/lib/date-time/timer-box.component.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/ngx-pick-datetime/lib/date-time/timer.component.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/ngx-pick-datetime/lib/dialog/dialog-config.class.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/ngx-pick-datetime/lib/dialog/dialog-container.component.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/ngx-pick-datetime/lib/dialog/dialog-ref.class.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/ngx-pick-datetime/lib/dialog/dialog.module.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/ngx-pick-datetime/lib/dialog/dialog.service.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/ngx-pick-datetime/lib/utils/index.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/ngx-pick-datetime/lib/utils/object.utils.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/ngx-remote-select/ngx-remote-select.component.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/ngx-remote-select/ngx-remote-select.module.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/ngx-tabset/components/ngx-tab-set.component.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/ngx-tabset/components/tab.component.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/ngx-tabset/directives/hover-class.directive.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/ngx-tabset/modules/ngx-tabset.module.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/number-input/number-input.component.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/number-input/number-input.module.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/number-input/number.directive.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/radio-button/radio.component.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/radio-button/radio.module.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/select/optgroup.directive.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/select/option.directive.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/select/select.component.d.ts +0 -0
- /package/{dist/ngx-formentry/components → components}/select/select.module.d.ts +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/abstract-controls-extension/afe-control-type.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/abstract-controls-extension/afe-form-array.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/abstract-controls-extension/afe-form-control.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/abstract-controls-extension/afe-form-group.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/abstract-controls-extension/control-extensions.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/abstract-controls-extension/index.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/abstract-controls-extension/value-change.listener.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/change-tracking/control-relation.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/change-tracking/control-relations.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/afe-ng-select.component.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/appointments-overview/appointments-overview.component.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/check-box/checkbox.component.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/check-box/checkbox.module.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/custom-component-wrapper/custom-component-wrapper..module.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/custom-component-wrapper/custom-component-wrapper.component.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/custom-control-wrapper/custom-control-wrapper..module.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/custom-control-wrapper/custom-control-wrapper.component.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/date-time-picker/date-picker/date-picker.component.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/date-time-picker/date-time-picker.component.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/date-time-picker/date-time-picker.module.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/date-time-picker/index.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/date-time-picker/picker-modal/modal.component.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/date-time-picker/pipes/moment.pipe.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/date-time-picker/time-picker/time-picker.component.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/file-upload/file-upload.component.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/file-upload/file-upload.module.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/file-upload/secure.pipe.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/input/input.directive.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/input/input.module.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/input/label.component.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/input/text-area.directive.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/ngx-datetime-picker/ngx-datetime-picker.component.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/ngx-datetime-picker/ngx-datetime-picker.module.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/ngx-pick-datetime/lib/date-time/adapter/date-time-adapter.class.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/ngx-pick-datetime/lib/date-time/adapter/date-time-format.class.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/ngx-pick-datetime/lib/date-time/adapter/native-date-time-adapter.class.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/ngx-pick-datetime/lib/date-time/adapter/native-date-time-format.class.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/ngx-pick-datetime/lib/date-time/adapter/native-date-time.module.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/ngx-pick-datetime/lib/date-time/calendar-body.component.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/ngx-pick-datetime/lib/date-time/calendar-month-view.component.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/ngx-pick-datetime/lib/date-time/calendar-multi-year-view.component.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/ngx-pick-datetime/lib/date-time/calendar-year-view.component.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/ngx-pick-datetime/lib/date-time/calendar.component.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/ngx-pick-datetime/lib/date-time/date-time-inline.component.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/ngx-pick-datetime/lib/date-time/date-time-picker-container.component.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/ngx-pick-datetime/lib/date-time/date-time-picker-input.directive.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/ngx-pick-datetime/lib/date-time/date-time-picker-intl.service.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/ngx-pick-datetime/lib/date-time/date-time-picker-trigger.directive.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/ngx-pick-datetime/lib/date-time/date-time-picker.animations.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/ngx-pick-datetime/lib/date-time/date-time-picker.component.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/ngx-pick-datetime/lib/date-time/date-time.class.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/ngx-pick-datetime/lib/date-time/date-time.module.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/ngx-pick-datetime/lib/date-time/numberedFixLen.pipe.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/ngx-pick-datetime/lib/date-time/timer-box.component.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/ngx-pick-datetime/lib/date-time/timer.component.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/ngx-pick-datetime/lib/dialog/dialog-config.class.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/ngx-pick-datetime/lib/dialog/dialog-container.component.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/ngx-pick-datetime/lib/dialog/dialog-ref.class.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/ngx-pick-datetime/lib/dialog/dialog.module.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/ngx-pick-datetime/lib/dialog/dialog.service.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/ngx-pick-datetime/lib/utils/index.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/ngx-pick-datetime/lib/utils/object.utils.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/ngx-remote-select/ngx-remote-select.component.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/ngx-remote-select/ngx-remote-select.module.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/ngx-tabset/components/ngx-tab-set.component.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/ngx-tabset/components/tab.component.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/ngx-tabset/directives/hover-class.directive.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/ngx-tabset/modules/ngx-tabset.module.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/number-input/number-input.component.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/number-input/number-input.module.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/number-input/number.directive.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/radio-button/radio.component.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/radio-button/radio.module.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/select/optgroup.directive.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/select/option.directive.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/select/select.component.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/components/select/select.module.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/control-alerts/alert-helpers.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/control-alerts/can-generate-alert.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/control-calculators/can-calculate.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/control-hiders-disablers/can-disable.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/control-hiders-disablers/can-hide.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/control-hiders-disablers/disabler-helper.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/control-hiders-disablers/hider-helpers.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/data-sources/data-sources.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/data-sources/dummy-data-source.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/directives/collapse-animations.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/directives/collapse.directive.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/directives/historical-value.directive.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/error-renderer/error-renderer.component.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/expression-runner/expression-runner.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/form-entry.module.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/form-factory/control-relations.factory.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/form-factory/form-control.service.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/form-factory/form-node.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/form-factory/form.factory.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/form-factory/form.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/form-factory/hiders-disablers.factory.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/form-factory/index.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/form-factory/question.factory.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/form-factory/show-messages.factory.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/form-factory/validation.factory.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/form-renderer/form-renderer.component.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/helpers/historical-expression-helper-service.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/helpers/historical-field-helper-service.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/helpers/js-expression-helper.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/helpers/risk-dataset-table.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/pipes/time-ago.pipe.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/question-models/checkbox.model.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/question-models/conditional-validation.model.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/question-models/custom-control-question.model.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/question-models/date-question.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/question-models/date-validation.model.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/question-models/diagnosis-question.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/question-models/file-upload-question.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/question-models/group-question.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/question-models/interfaces/base-options.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/question-models/interfaces/checkbox-options.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/question-models/interfaces/data-source.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/question-models/interfaces/date-question-options.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/question-models/interfaces/diagnosis-question-options.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/question-models/interfaces/file-upload-question-options.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/question-models/interfaces/group-question-options.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/question-models/interfaces/multi-select-options.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/question-models/interfaces/nested-questions.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/question-models/interfaces/radio-button-options.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/question-models/interfaces/repeating-question-options.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/question-models/interfaces/select-option.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/question-models/interfaces/select-question-options.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/question-models/interfaces/test-order-question-options.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/question-models/interfaces/text-area-question-options.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/question-models/interfaces/text-question-options.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/question-models/interfaces/ui-select-question-options.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/question-models/js-expression-validation.model.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/question-models/max-length-validation.model.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/question-models/max-validation.model.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/question-models/min-length-validation.model.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/question-models/min-validation.model.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/question-models/models.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/question-models/multi-select-question.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/question-models/pair.model.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/question-models/question-base.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/question-models/radio-button.model.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/question-models/rendering-type.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/question-models/repeating-question.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/question-models/select-option.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/question-models/select-question.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/question-models/test-order-question.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/question-models/text-area-input-question.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/question-models/text-input-question.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/question-models/ui-select-question.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/question-models/validation.model.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/services/debug-mode.service.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/services/form-errors.service.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/services/form-schema-compiler.service.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/services/historical-encounter-data.service.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/validators/conditional-answered.validator.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/validators/conditional-required.validator.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/validators/date.validator.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/validators/future-date-restriction.validator.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/validators/js-expression.validator.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/validators/max-date.validator.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/validators/max-length.validator.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/validators/max.validator.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/validators/min-date.validator.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/validators/min-length.validator.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/validators/min.validator.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/validators/required.validator.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/validators/validations.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/value-adapters/diagnosis.adapter.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/value-adapters/encounter.adapter.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/value-adapters/obs-adapter-helper.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/value-adapters/obs.adapter.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/value-adapters/order.adapter.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/value-adapters/patient-identifier.adapter.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/value-adapters/person-attribute.adapter.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/form-entry/value-adapters/value.adapter.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/lib/index.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/openmrs-ngx-formentry.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/public_api.mjs +0 -0
- /package/{dist/ngx-formentry/esm2020 → esm2020}/shared.module.mjs +0 -0
- /package/{dist/ngx-formentry/fesm2015 → fesm2015}/openmrs-ngx-formentry.mjs +0 -0
- /package/{dist/ngx-formentry/fesm2015 → fesm2015}/openmrs-ngx-formentry.mjs.map +0 -0
- /package/{dist/ngx-formentry/fesm2020 → fesm2020}/openmrs-ngx-formentry.mjs +0 -0
- /package/{dist/ngx-formentry/fesm2020 → fesm2020}/openmrs-ngx-formentry.mjs.map +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/control-alerts/alert-helpers.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/control-alerts/can-generate-alert.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/control-calculators/can-calculate.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/control-hiders-disablers/can-disable.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/control-hiders-disablers/can-hide.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/control-hiders-disablers/disabler-helper.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/control-hiders-disablers/hider-helpers.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/data-sources/data-sources.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/data-sources/dummy-data-source.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/directives/collapse-animations.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/directives/collapse.directive.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/directives/historical-value.directive.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/error-renderer/error-renderer.component.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/expression-runner/expression-runner.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/form-entry.module.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/form-factory/control-relations.factory.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/form-factory/form-control.service.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/form-factory/form-node.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/form-factory/form.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/form-factory/form.factory.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/form-factory/hiders-disablers.factory.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/form-factory/index.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/form-factory/question.factory.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/form-factory/show-messages.factory.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/form-factory/validation.factory.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/form-renderer/form-renderer.component.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/helpers/historical-expression-helper-service.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/helpers/historical-field-helper-service.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/helpers/js-expression-helper.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/helpers/risk-dataset-table.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/pipes/time-ago.pipe.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/question-models/checkbox.model.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/question-models/conditional-validation.model.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/question-models/custom-control-question.model.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/question-models/date-question.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/question-models/date-validation.model.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/question-models/diagnosis-question.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/question-models/file-upload-question.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/question-models/group-question.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/question-models/interfaces/base-options.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/question-models/interfaces/checkbox-options.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/question-models/interfaces/data-source.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/question-models/interfaces/date-question-options.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/question-models/interfaces/diagnosis-question-options.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/question-models/interfaces/file-upload-question-options.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/question-models/interfaces/group-question-options.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/question-models/interfaces/multi-select-options.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/question-models/interfaces/nested-questions.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/question-models/interfaces/radio-button-options.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/question-models/interfaces/repeating-question-options.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/question-models/interfaces/select-option.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/question-models/interfaces/select-question-options.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/question-models/interfaces/test-order-question-options.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/question-models/interfaces/text-area-question-options.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/question-models/interfaces/text-question-options.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/question-models/interfaces/ui-select-question-options.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/question-models/js-expression-validation.model.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/question-models/max-length-validation.model.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/question-models/max-validation.model.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/question-models/min-length-validation.model.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/question-models/min-validation.model.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/question-models/models.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/question-models/multi-select-question.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/question-models/pair.model.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/question-models/question-base.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/question-models/radio-button.model.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/question-models/rendering-type.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/question-models/repeating-question.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/question-models/select-option.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/question-models/select-question.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/question-models/test-order-question.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/question-models/text-area-input-question.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/question-models/text-input-question.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/question-models/ui-select-question.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/question-models/validation.model.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/services/debug-mode.service.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/services/form-errors.service.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/services/form-schema-compiler.service.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/services/historical-encounter-data.service.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/validators/conditional-answered.validator.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/validators/conditional-required.validator.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/validators/date.validator.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/validators/future-date-restriction.validator.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/validators/js-expression.validator.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/validators/max-date.validator.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/validators/max-length.validator.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/validators/max.validator.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/validators/min-date.validator.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/validators/min-length.validator.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/validators/min.validator.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/validators/required.validator.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/validators/validations.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/value-adapters/diagnosis.adapter.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/value-adapters/encounter.adapter.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/value-adapters/obs-adapter-helper.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/value-adapters/obs.adapter.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/value-adapters/order.adapter.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/value-adapters/patient-identifier.adapter.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/value-adapters/person-attribute.adapter.d.ts +0 -0
- /package/{dist/ngx-formentry/form-entry → form-entry}/value-adapters/value.adapter.d.ts +0 -0
- /package/{dist/ngx-formentry/lib → lib}/index.d.ts +0 -0
- /package/{dist/ngx-formentry/openmrs-ngx-formentry.d.ts → openmrs-ngx-formentry.d.ts} +0 -0
- /package/{dist/ngx-formentry/public_api.d.ts → public_api.d.ts} +0 -0
- /package/{dist/ngx-formentry/shared.module.d.ts → shared.module.d.ts} +0 -0
- /package/{dist/ngx-formentry/styles → styles}/ngx-formentry.css +0 -0
- /package/{dist/ngx-formentry/styles → styles}/picker.min.css +0 -0
|
File without changes
|
package/README.md
DELETED
|
@@ -1,429 +0,0 @@
|
|
|
1
|
-
# AMPATH POC Formentry
|
|
2
|
-
|
|
3
|
-
Ampath forms is a forms engine that is inspired and built to work with OpenMRS and its encounter/obs model. That being said it tries not to assume that it will be used with an OpenMRS context and does not take responsibility for fetching any dynamic data from OpenMRS that responsibility should be handled by the consuming application by providing data sources to the engine
|
|
4
|
-
|
|
5
|
-
The form engine is built on top Angular forms and provides extensions to support our specific data collection requirements. A good place to start for you to understand Ampath forms is the Angular tutorial on [building dynamic forms](https://angular.io/guide/dynamic-form) (We highly recommend that you work through the tutorial)
|
|
6
|
-
|
|
7
|
-
## Main Concepts
|
|
8
|
-
|
|
9
|
-
### Question Model
|
|
10
|
-
|
|
11
|
-
The question model is lifted from the Angular tutorial and adapted to support our form schema.
|
|
12
|
-
|
|
13
|
-
### Datasources
|
|
14
|
-
|
|
15
|
-
The concept of datasources is an attempt at eliminating need for the library to know about the OpenMRS backend for cases where you need to ;
|
|
16
|
-
|
|
17
|
-
- Resolve uuid to labels by hitting an OpenMRS endpoint (Mostly used for values which provide concept uuids and allows us fetch the label from a remote endpoint)
|
|
18
|
-
- Fetch options for a select drop down by searching via rest (Used for concepts and drugs)
|
|
19
|
-
- Upload documents and relate them to an encounter(Basically allows us to upload images and then set the url as an obs value which may not be ideal)
|
|
20
|
-
|
|
21
|
-
The engine does not care about where the data sources get their data, only that they return observables which the engine can subscribe to for the data it needs. Which means you can provide dummy observables to the engine and it will happily consume them (That is how the example consumer app in the repository works without having an OpenMRS backend)
|
|
22
|
-
|
|
23
|
-
### Expression runner
|
|
24
|
-
|
|
25
|
-
The expression run is basically that it takes in an expression , runs it and returns true or false. It is used for hiding/showing , disabling/enabling controls and in running complex validation logic.
|
|
26
|
-
|
|
27
|
-
### Control Relations
|
|
28
|
-
|
|
29
|
-
This is an important component that allows validation and skip logic. It is done after the question model has been transformed into an angular form schema and basically just goes through each control and identifies which fields cares about subscribes to their changes.
|
|
30
|
-
|
|
31
|
-
### Validation and Skip logic
|
|
32
|
-
|
|
33
|
-
We use Javascript expressions through the expression runner to achieve complex cross field validations and skip logic.
|
|
34
|
-
|
|
35
|
-
### Calculations
|
|
36
|
-
|
|
37
|
-
The engine contains a suite of helpers to allow fields to calculate their values based on the values of other field this is also dependant on the expression runner.
|
|
38
|
-
|
|
39
|
-
### Control Interfaces
|
|
40
|
-
|
|
41
|
-
CanHide - This is used in a control to provide an implementation for hiding a control
|
|
42
|
-
|
|
43
|
-
CanDisable - This is used in a control to provide an implementation for disabling a control
|
|
44
|
-
|
|
45
|
-
CanGenerateAlert - This is used in a control to provide an implementation for generating FYI alerts that won’t prevent you from saving the form
|
|
46
|
-
|
|
47
|
-
CanCalculate - This is used in a control to provide an implementation for calculating the value of the field base on other values in the form
|
|
48
|
-
|
|
49
|
-
### Custom Controls
|
|
50
|
-
|
|
51
|
-
Angular provides various controls for handling forms FormControl - for simple fields , FormGroup - grouped fields and FormArray for repeating fields. Afe\* controls are custom implementations of these fields to add some custom behaviour necessary for the form engine.
|
|
52
|
-
|
|
53
|
-
AfeFormControl
|
|
54
|
-
|
|
55
|
-
AfeFormGroup
|
|
56
|
-
|
|
57
|
-
AfeFormArray
|
|
58
|
-
|
|
59
|
-
### Custom Components
|
|
60
|
-
|
|
61
|
-
The form engine supports using custom widgets and controls. The widgets and controls are standards web components customized to work with the engine by implimeneting a set a of inputs.
|
|
62
|
-
|
|
63
|
-
The custom widgets take recieve this inputs
|
|
64
|
-
|
|
65
|
-
- `config` which provides the the widgets configs
|
|
66
|
-
- `dark` which will be used to toggle the them to match the engine when this is true the widget should have a background color of `#f4f4f4` and `#ffffff` otherwise
|
|
67
|
-
|
|
68
|
-
Custom Controls will receive
|
|
69
|
-
|
|
70
|
-
- `question` - Json of the question as defined in the schema
|
|
71
|
-
- `value` - current value of the control
|
|
72
|
-
- `disabled` - disabled state of the control
|
|
73
|
-
- `config` - the config of the control
|
|
74
|
-
|
|
75
|
-
When developing the engine expects custom components to be served at localhost:8000 see example components at https://github.com/enyachoke/afe-ref-custom-components. Otherwise project will complain about the proxy
|
|
76
|
-
|
|
77
|
-
`[HPM] Error occurred while trying to proxy request /lib/web-components.bundled.js?module from localhost:4200 to http://localhost:8000 (ECONNREFUSED) (https://nodejs.org/api/errors.html#errors_common_system_errors)`
|
|
78
|
-
|
|
79
|
-
Which is should be fine if your are not working on custom components (Make sure to not include them in the schema)
|
|
80
|
-
|
|
81
|
-
### Developing
|
|
82
|
-
|
|
83
|
-
`$ git clone https://github.com/AMPATH/ngx-openmrs-formentry`
|
|
84
|
-
|
|
85
|
-
`$ cd ngx-openmrs-formentry`
|
|
86
|
-
|
|
87
|
-
`$ yarn`
|
|
88
|
-
|
|
89
|
-
`$ yarn start`
|
|
90
|
-
|
|
91
|
-
### Build the library by running:
|
|
92
|
-
|
|
93
|
-
`$ yarn run build:lib`
|
|
94
|
-
|
|
95
|
-
### Linking ngx-formentry with form-entry-app in patient chart
|
|
96
|
-
|
|
97
|
-
While you have your patient chart and ngx-formentry repo open locally,
|
|
98
|
-
Build the ngx-formentry project by
|
|
99
|
-
running `$yarn run build:lib`
|
|
100
|
-
|
|
101
|
-
Then cd into the `dist/ngx-formentry` directory created from the previous step.
|
|
102
|
-
Run `$ pwd | pbcopy` to copy that path.
|
|
103
|
-
|
|
104
|
-
On the patient chart repo cd into `esm-form-entry-app`
|
|
105
|
-
|
|
106
|
-
While there, run `yarn link` + the path you copied earlier e.g `/Users/hadijahkyampeire/Desktop/openmrs-ngx-formentry/dist/ngx-formentry`.
|
|
107
|
-
|
|
108
|
-
The above command should install the local copy of the form entry library into the `esm-form-entry-app` package. You can check that this worked by opening the `package.json` manifest file entry for `@openmrs/ngx-formentry`.
|
|
109
|
-
|
|
110
|
-
When you start the form entry app, it should now be using the local copy of `openmrs-ngx-formentry`
|
|
111
|
-
|
|
112
|
-
The key thing to note is that an override for the form entry import map URL is already set up on the dev server.
|
|
113
|
-
|
|
114
|
-
Launch the patient chart and then you will be able to test your local changes.
|
|
115
|
-
|
|
116
|
-
Refer to this doc for detailed information [Ampath Forms docs](https://ampath-forms.vercel.app/docs/developer-guide/run-form-engine-in-openmrs3)
|
|
117
|
-
|
|
118
|
-
### Usage
|
|
119
|
-
|
|
120
|
-
`app.component.ts`
|
|
121
|
-
|
|
122
|
-
```Javascript
|
|
123
|
-
import { Component, OnInit } from '@angular/core';
|
|
124
|
-
import { HttpClient, HttpHeaders } from '@angular/common/http';
|
|
125
|
-
import { FormGroup } from '@angular/forms';
|
|
126
|
-
|
|
127
|
-
import { Subscriber } from 'rxjs';
|
|
128
|
-
import { Observable, Subject, of } from 'rxjs';
|
|
129
|
-
|
|
130
|
-
import {
|
|
131
|
-
QuestionFactory,
|
|
132
|
-
Form,
|
|
133
|
-
FormFactory,
|
|
134
|
-
ObsValueAdapter,
|
|
135
|
-
OrderValueAdapter,
|
|
136
|
-
EncounterAdapter,
|
|
137
|
-
DataSources,
|
|
138
|
-
FormErrorsService,
|
|
139
|
-
EncounterPdfViewerService
|
|
140
|
-
} from '../../dist/ngx-formentry';
|
|
141
|
-
import { MockObs } from './mock/mock-obs';
|
|
142
|
-
|
|
143
|
-
const adultForm = require('./adult-1.4.json');
|
|
144
|
-
const adultFormObs = require('./mock/obs.json');
|
|
145
|
-
const formOrdersPayload = require('./mock/orders.json');
|
|
146
|
-
@Component({
|
|
147
|
-
selector: 'app-root',
|
|
148
|
-
templateUrl: './app.component.html',
|
|
149
|
-
styleUrls: ['./app.component.css']
|
|
150
|
-
})
|
|
151
|
-
export class AppComponent implements OnInit {
|
|
152
|
-
data: any;
|
|
153
|
-
schema: any;
|
|
154
|
-
sections: {} = {};
|
|
155
|
-
formGroup: FormGroup;
|
|
156
|
-
activeTab = 0;
|
|
157
|
-
form: Form;
|
|
158
|
-
stack = [];
|
|
159
|
-
encounterObject = adultFormObs;
|
|
160
|
-
showingEncounterViewer = false;
|
|
161
|
-
public header = 'UMD Demo';
|
|
162
|
-
|
|
163
|
-
constructor(
|
|
164
|
-
private questionFactory: QuestionFactory,
|
|
165
|
-
private formFactory: FormFactory,
|
|
166
|
-
private obsValueAdapater: ObsValueAdapter,
|
|
167
|
-
private orderAdaptor: OrderValueAdapter,
|
|
168
|
-
private encAdapter: EncounterAdapter,
|
|
169
|
-
private dataSources: DataSources,
|
|
170
|
-
private encounterPdfViewerService: EncounterPdfViewerService,
|
|
171
|
-
private formErrorsService: FormErrorsService,
|
|
172
|
-
private http: HttpClient
|
|
173
|
-
) {
|
|
174
|
-
this.schema = adultForm;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
ngOnInit() {
|
|
178
|
-
this.dataSources.registerDataSource('drug', {
|
|
179
|
-
searchOptions: this.sampleSearch,
|
|
180
|
-
resolveSelectedValue: this.sampleResolve
|
|
181
|
-
});
|
|
182
|
-
this.dataSources.registerDataSource('personAttribute', {
|
|
183
|
-
searchOptions: this.sampleSearch,
|
|
184
|
-
resolveSelectedValue: this.sampleResolve
|
|
185
|
-
});
|
|
186
|
-
this.dataSources.registerDataSource('problem', {
|
|
187
|
-
searchOptions: this.sampleSearch,
|
|
188
|
-
resolveSelectedValue: this.sampleResolve
|
|
189
|
-
});
|
|
190
|
-
this.dataSources.registerDataSource('location', {
|
|
191
|
-
searchOptions: this.sampleSearch,
|
|
192
|
-
resolveSelectedValue: this.sampleResolve
|
|
193
|
-
});
|
|
194
|
-
this.dataSources.registerDataSource('provider', {
|
|
195
|
-
searchOptions: this.sampleSearch,
|
|
196
|
-
resolveSelectedValue: this.sampleResolve
|
|
197
|
-
});
|
|
198
|
-
|
|
199
|
-
const ds = {
|
|
200
|
-
dataSourceOptions: { concept: undefined },
|
|
201
|
-
searchOptions: (text?: string) => {
|
|
202
|
-
if (ds.dataSourceOptions && ds.dataSourceOptions.concept) {
|
|
203
|
-
const items: Array<any> = [
|
|
204
|
-
{ id: 1, text: 'Stage 1 Symptom' },
|
|
205
|
-
{ id: 2, text: 'Stage 2 Symptom' }
|
|
206
|
-
];
|
|
207
|
-
return Observable.create((observer: Subject<any>) => {
|
|
208
|
-
setTimeout(() => {
|
|
209
|
-
observer.next(items);
|
|
210
|
-
}, 1000);
|
|
211
|
-
});
|
|
212
|
-
}
|
|
213
|
-
},
|
|
214
|
-
|
|
215
|
-
resolveSelectedValue: (key: string) => {
|
|
216
|
-
if (ds.dataSourceOptions && ds.dataSourceOptions.concept) {
|
|
217
|
-
const item = { id: 1, text: 'Stage 1 Symptom' };
|
|
218
|
-
return Observable.create((observer: Subject<any>) => {
|
|
219
|
-
setTimeout(() => {
|
|
220
|
-
observer.next(item);
|
|
221
|
-
}, 1000);
|
|
222
|
-
});
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
};
|
|
226
|
-
|
|
227
|
-
this.dataSources.registerDataSource('conceptAnswers', ds);
|
|
228
|
-
|
|
229
|
-
const obs = new MockObs();
|
|
230
|
-
this.dataSources.registerDataSource('rawPrevEnc', obs.getObs());
|
|
231
|
-
|
|
232
|
-
this.dataSources.registerDataSource('patient', { sex: 'M' }, true);
|
|
233
|
-
|
|
234
|
-
this.dataSources.registerDataSource('patientInfo', {
|
|
235
|
-
name: 'Test Patient',
|
|
236
|
-
age: '37',
|
|
237
|
-
birthdate: '7/7/1982',
|
|
238
|
-
mui: '447062073-5',
|
|
239
|
-
nid: '1234567'
|
|
240
|
-
});
|
|
241
|
-
|
|
242
|
-
this.dataSources.registerDataSource('file', {
|
|
243
|
-
fileUpload: (data) => {
|
|
244
|
-
return of({ image: 'https://unsplash.it/1040/720' });
|
|
245
|
-
},
|
|
246
|
-
fetchFile: (url) => {
|
|
247
|
-
return new Observable((observer: Subscriber<any>) => {
|
|
248
|
-
let objectUrl: string = null;
|
|
249
|
-
const headers = new HttpHeaders({
|
|
250
|
-
Accept: 'image/png,image/jpeg,image/gif,application/pdf'
|
|
251
|
-
});
|
|
252
|
-
this.http
|
|
253
|
-
.get('https://unsplash.it/1040/720', {
|
|
254
|
-
headers,
|
|
255
|
-
responseType: 'json'
|
|
256
|
-
})
|
|
257
|
-
.subscribe((res: any) => {
|
|
258
|
-
const blob = new Blob(res.body);
|
|
259
|
-
objectUrl = URL.createObjectURL(blob);
|
|
260
|
-
observer.next(objectUrl);
|
|
261
|
-
});
|
|
262
|
-
|
|
263
|
-
return () => {
|
|
264
|
-
if (objectUrl) {
|
|
265
|
-
URL.revokeObjectURL(objectUrl);
|
|
266
|
-
objectUrl = null;
|
|
267
|
-
}
|
|
268
|
-
};
|
|
269
|
-
});
|
|
270
|
-
}
|
|
271
|
-
});
|
|
272
|
-
|
|
273
|
-
// Create form
|
|
274
|
-
this.createForm();
|
|
275
|
-
|
|
276
|
-
// Set encounter, obs, orders
|
|
277
|
-
adultFormObs.orders = formOrdersPayload.orders;
|
|
278
|
-
this.encAdapter.populateForm(this.form, adultFormObs);
|
|
279
|
-
|
|
280
|
-
this.setUpCascadeSelectForWHOStaging();
|
|
281
|
-
|
|
282
|
-
// Alternative is to set individually for obs and orders as show below
|
|
283
|
-
// // Set obs
|
|
284
|
-
// this.obsValueAdapater.populateForm(this.form, adultFormObs.obs);
|
|
285
|
-
|
|
286
|
-
// // Set orders
|
|
287
|
-
// this.orderAdaptor.populateForm(this.form, formOrdersPayload);
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
public setUpCascadeSelectForWHOStaging() {
|
|
291
|
-
const subject = new Subject();
|
|
292
|
-
const source = this.dataSources.dataSources['conceptAnswers'];
|
|
293
|
-
source.dataFromSourceChanged = subject.asObservable();
|
|
294
|
-
|
|
295
|
-
const whoStageQuestion = this.form.searchNodeByQuestionId(
|
|
296
|
-
'adultWHOStage'
|
|
297
|
-
)[0];
|
|
298
|
-
if (whoStageQuestion) {
|
|
299
|
-
whoStageQuestion.control.valueChanges.subscribe((val) => {
|
|
300
|
-
if (source.dataFromSourceChanged) {
|
|
301
|
-
if (val === 'a89b2606-1350-11df-a1f1-0026b9348838') {
|
|
302
|
-
subject.next([
|
|
303
|
-
{ value: 3, label: 'Stage 3 Symptom' },
|
|
304
|
-
{ value: 4, label: 'Stage 4 Symptom' }
|
|
305
|
-
]);
|
|
306
|
-
} else {
|
|
307
|
-
subject.next([
|
|
308
|
-
{ value: 5, label: 'Stage 5 Symptom' },
|
|
309
|
-
{ value: 6, label: 'Stage 6 Symptom' }
|
|
310
|
-
]);
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
});
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
public getSectionData(sectionId) {
|
|
318
|
-
let data = {};
|
|
319
|
-
data = this.sections[sectionId];
|
|
320
|
-
return data;
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
public clickTab(tabNumber) {
|
|
324
|
-
this.activeTab = tabNumber;
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
public createForm() {
|
|
328
|
-
this.form = this.formFactory.createForm(
|
|
329
|
-
this.schema,
|
|
330
|
-
this.dataSources.dataSources
|
|
331
|
-
);
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
public sampleResolve(): Observable<any> {
|
|
335
|
-
const item = { value: '1', label: 'Art3mis' };
|
|
336
|
-
return Observable.create((observer: Subject<any>) => {
|
|
337
|
-
setTimeout(() => {
|
|
338
|
-
observer.next(item);
|
|
339
|
-
}, 1000);
|
|
340
|
-
});
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
public sampleSearch(): Observable<any> {
|
|
344
|
-
const items: Array<any> = [
|
|
345
|
-
{ value: '0', label: 'Aech' },
|
|
346
|
-
{ value: '5b6e58ea-1359-11df-a1f1-0026b9348838', label: 'Art3mis' },
|
|
347
|
-
{ value: '2', label: 'Daito' },
|
|
348
|
-
{ value: '3', label: 'Parzival' },
|
|
349
|
-
{ value: '4', label: 'Shoto' }
|
|
350
|
-
];
|
|
351
|
-
|
|
352
|
-
return Observable.create((observer: Subject<any>) => {
|
|
353
|
-
setTimeout(() => {
|
|
354
|
-
observer.next(items);
|
|
355
|
-
}, 1000);
|
|
356
|
-
});
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
public onSubmit($event) {
|
|
360
|
-
$event.preventDefault();
|
|
361
|
-
|
|
362
|
-
// Set valueProcessingInfo
|
|
363
|
-
this.form.valueProcessingInfo = {
|
|
364
|
-
patientUuid: 'patientUuid',
|
|
365
|
-
visitUuid: 'visitUuid',
|
|
366
|
-
encounterTypeUuid: 'encounterTypeUuid',
|
|
367
|
-
formUuid: 'formUuid',
|
|
368
|
-
encounterUuid: 'encounterUuid',
|
|
369
|
-
providerUuid: 'providerUuid',
|
|
370
|
-
utcOffset: '+0300'
|
|
371
|
-
};
|
|
372
|
-
|
|
373
|
-
if (this.form.valid) {
|
|
374
|
-
this.form.showErrors = false;
|
|
375
|
-
const payload = this.encAdapter.generateFormPayload(this.form);
|
|
376
|
-
|
|
377
|
-
// Alternative is to populate for each as shown below
|
|
378
|
-
// // generate obs payload
|
|
379
|
-
// let payload = this.obsValueAdapater.generateFormPayload(this.form);
|
|
380
|
-
|
|
381
|
-
// // generate orders payload
|
|
382
|
-
// let ordersPayload = this.orderAdaptor.generateFormPayload(this.form);
|
|
383
|
-
} else {
|
|
384
|
-
this.form.showErrors = true;
|
|
385
|
-
this.form.markInvalidControls(this.form.rootNode);
|
|
386
|
-
}
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
}
|
|
390
|
-
```
|
|
391
|
-
|
|
392
|
-
`app.component.html`
|
|
393
|
-
|
|
394
|
-
```html
|
|
395
|
-
<div *ngIf="form && form.rootNode">
|
|
396
|
-
<form [formGroup]="form.rootNode.control">
|
|
397
|
-
<ofe-form-renderer
|
|
398
|
-
(onAction)="actionClicked($event)"
|
|
399
|
-
[node]="form.rootNode"
|
|
400
|
-
></ofe-form-renderer>
|
|
401
|
-
</form>
|
|
402
|
-
</div>
|
|
403
|
-
```
|
|
404
|
-
|
|
405
|
-
See `src/app/adult-1.4.json` for and `src/app/mock/obs.json` for sample encounter payload
|
|
406
|
-
|
|
407
|
-
### To publish:
|
|
408
|
-
|
|
409
|
-
Update the version in both of the `package.json` files
|
|
410
|
-
|
|
411
|
-
`$ git add -f dist`
|
|
412
|
-
|
|
413
|
-
`$ git commit -m 'Bump <Version>'`
|
|
414
|
-
|
|
415
|
-
`$ git tag <Version>`
|
|
416
|
-
|
|
417
|
-
Reset branch so you don't commit the dist to the src repository
|
|
418
|
-
|
|
419
|
-
```
|
|
420
|
-
|
|
421
|
-
$ git reset HEAD~1 --hard
|
|
422
|
-
|
|
423
|
-
$ git checkout <version tag>
|
|
424
|
-
|
|
425
|
-
$ npm login
|
|
426
|
-
|
|
427
|
-
$ npm publish
|
|
428
|
-
|
|
429
|
-
```
|
package/angular.json
DELETED
|
@@ -1,164 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
3
|
-
"cli": {
|
|
4
|
-
"analytics": false,
|
|
5
|
-
"defaultCollection": "@angular-eslint/schematics",
|
|
6
|
-
"packageManager": "yarn"
|
|
7
|
-
},
|
|
8
|
-
"version": 1,
|
|
9
|
-
"newProjectRoot": "projects",
|
|
10
|
-
"projects": {
|
|
11
|
-
"ngx-openmrs-formentry": {
|
|
12
|
-
"root": "",
|
|
13
|
-
"sourceRoot": "src",
|
|
14
|
-
"projectType": "application",
|
|
15
|
-
"prefix": "app",
|
|
16
|
-
"schematics": {},
|
|
17
|
-
"architect": {
|
|
18
|
-
"build": {
|
|
19
|
-
"builder": "@angular-devkit/build-angular:browser",
|
|
20
|
-
"options": {
|
|
21
|
-
"allowedCommonJsDependencies": ["core-js", "raf"],
|
|
22
|
-
"outputPath": "dist/ngx-openmrs-formentry",
|
|
23
|
-
"index": "src/index.html",
|
|
24
|
-
"main": "src/main.ts",
|
|
25
|
-
"polyfills": "src/polyfills.ts",
|
|
26
|
-
"tsConfig": "src/tsconfig.app.json",
|
|
27
|
-
"assets": ["src/favicon.ico", "src/assets"],
|
|
28
|
-
"styles": [
|
|
29
|
-
"src/styles.scss",
|
|
30
|
-
"projects/ngx-formentry/styles/ngx-formentry.css"
|
|
31
|
-
],
|
|
32
|
-
"stylePreprocessorOptions": {
|
|
33
|
-
"includePaths": ["projects/ngx-formentry/styles", "dist"]
|
|
34
|
-
},
|
|
35
|
-
"scripts": [],
|
|
36
|
-
"vendorChunk": true,
|
|
37
|
-
"extractLicenses": false,
|
|
38
|
-
"buildOptimizer": false,
|
|
39
|
-
"sourceMap": true,
|
|
40
|
-
"optimization": false,
|
|
41
|
-
"namedChunks": true
|
|
42
|
-
},
|
|
43
|
-
"configurations": {
|
|
44
|
-
"production": {
|
|
45
|
-
"budgets": [
|
|
46
|
-
{
|
|
47
|
-
"type": "anyComponentStyle",
|
|
48
|
-
"maximumWarning": "6kb"
|
|
49
|
-
}
|
|
50
|
-
],
|
|
51
|
-
"fileReplacements": [
|
|
52
|
-
{
|
|
53
|
-
"replace": "src/environments/environment.ts",
|
|
54
|
-
"with": "src/environments/environment.prod.ts"
|
|
55
|
-
}
|
|
56
|
-
],
|
|
57
|
-
"optimization": true,
|
|
58
|
-
"outputHashing": "all",
|
|
59
|
-
"sourceMap": false,
|
|
60
|
-
"namedChunks": false,
|
|
61
|
-
"extractLicenses": true,
|
|
62
|
-
"vendorChunk": false,
|
|
63
|
-
"buildOptimizer": true
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
"defaultConfiguration": ""
|
|
67
|
-
},
|
|
68
|
-
"serve": {
|
|
69
|
-
"builder": "@angular-devkit/build-angular:dev-server",
|
|
70
|
-
"options": {
|
|
71
|
-
"browserTarget": "ngx-openmrs-formentry:build"
|
|
72
|
-
},
|
|
73
|
-
"configurations": {
|
|
74
|
-
"production": {
|
|
75
|
-
"browserTarget": "ngx-openmrs-formentry:build:production"
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
"extract-i18n": {
|
|
80
|
-
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
81
|
-
"options": {
|
|
82
|
-
"browserTarget": "ngx-openmrs-formentry:build"
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
"test": {
|
|
86
|
-
"builder": "@angular-devkit/build-angular:karma",
|
|
87
|
-
"options": {
|
|
88
|
-
"main": "src/test.ts",
|
|
89
|
-
"polyfills": "src/polyfills.ts",
|
|
90
|
-
"tsConfig": "src/tsconfig.spec.json",
|
|
91
|
-
"karmaConfig": "src/karma.conf.js",
|
|
92
|
-
"styles": ["src/styles.scss"],
|
|
93
|
-
"scripts": ["node_modules/systemjs/dist/system.min.js"],
|
|
94
|
-
"assets": ["src/favicon.ico", "src/assets"]
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
"lint": {
|
|
98
|
-
"builder": "@angular-eslint/builder:lint",
|
|
99
|
-
"options": {
|
|
100
|
-
"lintFilePatterns": ["src/**/*.ts", "src/**/*.html"]
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
"ngx-openmrs-formentry-e2e": {
|
|
106
|
-
"root": "e2e/",
|
|
107
|
-
"projectType": "application",
|
|
108
|
-
"architect": {
|
|
109
|
-
"e2e": {
|
|
110
|
-
"builder": "@angular-devkit/build-angular:protractor",
|
|
111
|
-
"options": {
|
|
112
|
-
"protractorConfig": "e2e/protractor.conf.js",
|
|
113
|
-
"devServerTarget": "ngx-openmrs-formentry:serve"
|
|
114
|
-
}
|
|
115
|
-
},
|
|
116
|
-
"lint": {
|
|
117
|
-
"builder": "@angular-eslint/builder:lint",
|
|
118
|
-
"options": {
|
|
119
|
-
"lintFilePatterns": ["e2e//**/*.ts", "e2e//**/*.html"]
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
},
|
|
124
|
-
"ngx-formentry": {
|
|
125
|
-
"root": "projects/ngx-formentry",
|
|
126
|
-
"sourceRoot": "projects/ngx-formentry/src",
|
|
127
|
-
"projectType": "library",
|
|
128
|
-
"prefix": "lib",
|
|
129
|
-
"architect": {
|
|
130
|
-
"build": {
|
|
131
|
-
"builder": "@angular-devkit/build-angular:ng-packagr",
|
|
132
|
-
"options": {
|
|
133
|
-
"tsConfig": "projects/ngx-formentry/tsconfig.lib.json",
|
|
134
|
-
"project": "projects/ngx-formentry/ng-package.json"
|
|
135
|
-
},
|
|
136
|
-
"configurations": {
|
|
137
|
-
"production": {
|
|
138
|
-
"project": "projects/ngx-formentry/ng-package.prod.json",
|
|
139
|
-
"tsConfig": "projects/ngx-formentry/tsconfig.lib.prod.json"
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
},
|
|
143
|
-
"test": {
|
|
144
|
-
"builder": "@angular-devkit/build-angular:karma",
|
|
145
|
-
"options": {
|
|
146
|
-
"main": "projects/ngx-formentry/src/test.ts",
|
|
147
|
-
"tsConfig": "projects/ngx-formentry/tsconfig.spec.json",
|
|
148
|
-
"karmaConfig": "projects/ngx-formentry/karma.conf.js"
|
|
149
|
-
}
|
|
150
|
-
},
|
|
151
|
-
"lint": {
|
|
152
|
-
"builder": "@angular-eslint/builder:lint",
|
|
153
|
-
"options": {
|
|
154
|
-
"lintFilePatterns": [
|
|
155
|
-
"projects/ngx-formentry/**/*.ts",
|
|
156
|
-
"projects/ngx-formentry/**/*.html"
|
|
157
|
-
]
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
},
|
|
163
|
-
"defaultProject": "ngx-formentry"
|
|
164
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@openmrs/ngx-formentry",
|
|
3
|
-
"version": "3.1.1",
|
|
4
|
-
"dependencies": {
|
|
5
|
-
"tslib": "^2.3.0"
|
|
6
|
-
},
|
|
7
|
-
"peerDependencies": {
|
|
8
|
-
"@angular/animations": ">=11.2.14 <=12.0.4",
|
|
9
|
-
"@angular/cdk": ">=11.2.13 <=12.0.4",
|
|
10
|
-
"@angular/common": ">=11.2.14 <=12.0.4",
|
|
11
|
-
"@angular/compiler": ">=11.2.14 <=12.0.4",
|
|
12
|
-
"@angular/core": ">=11.2.14 <=12.0.4",
|
|
13
|
-
"@angular/forms": ">=11.2.14 <=12.0.4",
|
|
14
|
-
"@ngx-translate/core": "^13.0.0",
|
|
15
|
-
"hammerjs": "^2.0.8",
|
|
16
|
-
"lodash": "^4.17.4",
|
|
17
|
-
"moment": "^2.17.1",
|
|
18
|
-
"@ng-select/ng-select": "^6.1.0",
|
|
19
|
-
"ngx-webcam": "^0.2.2",
|
|
20
|
-
"reflect-metadata": "^0.1.9",
|
|
21
|
-
"shelljs": "^0.7.0",
|
|
22
|
-
"slick-carousel": "^1.6.0",
|
|
23
|
-
"tree-model": "^1.0.5",
|
|
24
|
-
"@carbon/styles": "^1.11.0",
|
|
25
|
-
"ngx-file-uploader": "^0.0.18",
|
|
26
|
-
"@angular-extensions/elements": "^12.6.0"
|
|
27
|
-
},
|
|
28
|
-
"module": "fesm2015/openmrs-ngx-formentry.mjs",
|
|
29
|
-
"es2020": "fesm2020/openmrs-ngx-formentry.mjs",
|
|
30
|
-
"esm2020": "esm2020/openmrs-ngx-formentry.mjs",
|
|
31
|
-
"fesm2020": "fesm2020/openmrs-ngx-formentry.mjs",
|
|
32
|
-
"fesm2015": "fesm2015/openmrs-ngx-formentry.mjs",
|
|
33
|
-
"typings": "openmrs-ngx-formentry.d.ts",
|
|
34
|
-
"exports": {
|
|
35
|
-
"./package.json": {
|
|
36
|
-
"default": "./package.json"
|
|
37
|
-
},
|
|
38
|
-
".": {
|
|
39
|
-
"types": "./openmrs-ngx-formentry.d.ts",
|
|
40
|
-
"esm2020": "./esm2020/openmrs-ngx-formentry.mjs",
|
|
41
|
-
"es2020": "./fesm2020/openmrs-ngx-formentry.mjs",
|
|
42
|
-
"es2015": "./fesm2015/openmrs-ngx-formentry.mjs",
|
|
43
|
-
"node": "./fesm2015/openmrs-ngx-formentry.mjs",
|
|
44
|
-
"default": "./fesm2020/openmrs-ngx-formentry.mjs"
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
"sideEffects": false
|
|
48
|
-
}
|
package/proxy.conf.json
DELETED
package/scripts/build.sh
DELETED
package/tsconfig.json
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compileOnSave": false,
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"baseUrl": "./",
|
|
5
|
-
"outDir": "./dist/out-tsc",
|
|
6
|
-
"allowSyntheticDefaultImports": true,
|
|
7
|
-
"sourceMap": true,
|
|
8
|
-
"declaration": false,
|
|
9
|
-
"downlevelIteration": true,
|
|
10
|
-
"esModuleInterop": true,
|
|
11
|
-
"experimentalDecorators": true,
|
|
12
|
-
"module": "es2020",
|
|
13
|
-
"moduleResolution": "node",
|
|
14
|
-
"resolveJsonModule": true,
|
|
15
|
-
"importHelpers": true,
|
|
16
|
-
"target": "es2015",
|
|
17
|
-
"typeRoots": ["node_modules/@types"],
|
|
18
|
-
"lib": ["es2018", "dom"],
|
|
19
|
-
"paths": {
|
|
20
|
-
"@openmrs/ngx-formentry": ["projects/ngx-formentry/src/lib"],
|
|
21
|
-
"@openmrs/ngx-formentry/*": ["projects/ngx-formentry/src/lib*"]
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
"angularCompilerOptions": {
|
|
25
|
-
"disableTypeScriptVersionCheck": true,
|
|
26
|
-
"fullTemplateTypeCheck": true,
|
|
27
|
-
"strictInjectionParameters": true
|
|
28
|
-
}
|
|
29
|
-
}
|