@ohioepa/oepa-ui-lib 1.1.0
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/README.md +24 -0
- package/esm2022/lib/account-search-input/account-search-input.component.mjs +147 -0
- package/esm2022/lib/account-search-modal/account-search-modal.component.mjs +151 -0
- package/esm2022/lib/action-btn/action-btn.component.mjs +70 -0
- package/esm2022/lib/action-btn/oepa-action-event.mjs +2 -0
- package/esm2022/lib/action-btn/oepa-action.mjs +2 -0
- package/esm2022/lib/action-btn-modal/action-btn-modal.component.mjs +21 -0
- package/esm2022/lib/address/address.component.mjs +174 -0
- package/esm2022/lib/address/oepa-address.service.mjs +64 -0
- package/esm2022/lib/address/oepa-form-address.mjs +2 -0
- package/esm2022/lib/blank/blank.component.mjs +14 -0
- package/esm2022/lib/checkbox/checkbox.component.mjs +33 -0
- package/esm2022/lib/checkbox-input/checkbox-input.component.mjs +41 -0
- package/esm2022/lib/comment-modal/comment-modal.component.mjs +56 -0
- package/esm2022/lib/common-forms.module.mjs +291 -0
- package/esm2022/lib/confirmation-modal/confirmation-modal.component.mjs +120 -0
- package/esm2022/lib/contact/contact.component.mjs +102 -0
- package/esm2022/lib/contact/oepa-form-contact.mjs +2 -0
- package/esm2022/lib/date-input/date-input.component.mjs +52 -0
- package/esm2022/lib/date-input-modal/date-input-modal.component.mjs +68 -0
- package/esm2022/lib/datepicker/datepicker.component.mjs +131 -0
- package/esm2022/lib/daterangepicker/daterangepicker.component.mjs +70 -0
- package/esm2022/lib/document/document-editor/document-editor.component.mjs +225 -0
- package/esm2022/lib/document/document-event-entity-type.mjs +7 -0
- package/esm2022/lib/document/document-event-type.mjs +7 -0
- package/esm2022/lib/document/document-event.mjs +2 -0
- package/esm2022/lib/document/document-group/document-group.component.mjs +210 -0
- package/esm2022/lib/document/document-part/document-part.component.mjs +19 -0
- package/esm2022/lib/document/document-part-editor/document-part-editor.component.mjs +296 -0
- package/esm2022/lib/document/document-placeholder-modal/document-placeholder-modal.component.mjs +49 -0
- package/esm2022/lib/document/document-section/document-section.component.mjs +226 -0
- package/esm2022/lib/document/document.service.mjs +325 -0
- package/esm2022/lib/document/group-modal/group-modal.component.mjs +46 -0
- package/esm2022/lib/document/part-modal/part-modal.component.mjs +48 -0
- package/esm2022/lib/document/portal-document-class.mjs +2 -0
- package/esm2022/lib/document/portal-document-group.mjs +2 -0
- package/esm2022/lib/document/portal-document-part.mjs +2 -0
- package/esm2022/lib/document/portal-document-placeholder.mjs +2 -0
- package/esm2022/lib/document/portal-document-section.mjs +2 -0
- package/esm2022/lib/document/portal-document-text.mjs +2 -0
- package/esm2022/lib/document/portal-document-type.mjs +2 -0
- package/esm2022/lib/document/portal-document.mjs +2 -0
- package/esm2022/lib/document/portal-email-attachment-type.mjs +2 -0
- package/esm2022/lib/document/portal-email-attachment.mjs +2 -0
- package/esm2022/lib/document/portal-email-filter.mjs +2 -0
- package/esm2022/lib/document/portal-email.mjs +2 -0
- package/esm2022/lib/document/section-modal/section-modal.component.mjs +46 -0
- package/esm2022/lib/dual-list-box/array.pipes.mjs +71 -0
- package/esm2022/lib/dual-list-box/dual-list-box.component.mjs +339 -0
- package/esm2022/lib/dual-list-box/items-moved-event.mjs +2 -0
- package/esm2022/lib/dual-list-box/list-box-item.mjs +2 -0
- package/esm2022/lib/ebiz-address/ebiz-address.component.mjs +62 -0
- package/esm2022/lib/edoc-attachment/edoc-attachment.component.mjs +216 -0
- package/esm2022/lib/edoc-attachment/edoc-attachment.service.mjs +38 -0
- package/esm2022/lib/edoc-attachment/edocument-attachment-metadata.mjs +2 -0
- package/esm2022/lib/edoc-attachment/edocument-attachment.mjs +2 -0
- package/esm2022/lib/edoc-attachment/edocument-reference.mjs +2 -0
- package/esm2022/lib/entity/entity.service.mjs +104 -0
- package/esm2022/lib/entity/organization-create-modal/organization-create-modal.component.mjs +307 -0
- package/esm2022/lib/entity/organization-search-input/organization-search-input.component.mjs +127 -0
- package/esm2022/lib/entity/organization-search-modal/organization-search-modal.component.mjs +304 -0
- package/esm2022/lib/entity/person-create-modal/person-create-modal.component.mjs +316 -0
- package/esm2022/lib/entity/person-search-input/person-search-input.component.mjs +129 -0
- package/esm2022/lib/entity/person-search-modal/person-search-modal.component.mjs +311 -0
- package/esm2022/lib/entity/place-create-modal/place-create-modal.component.mjs +14 -0
- package/esm2022/lib/entity/place-search-input/place-search-input.component.mjs +126 -0
- package/esm2022/lib/entity/place-search-modal/place-search-modal.component.mjs +216 -0
- package/esm2022/lib/esri-map/esri-map.component.mjs +416 -0
- package/esm2022/lib/file-upload/file-upload.component.mjs +148 -0
- package/esm2022/lib/lynx-image-upload/lynx-image-upload.component.mjs +143 -0
- package/esm2022/lib/lynx-image-upload/lynx.service.mjs +47 -0
- package/esm2022/lib/masks/oepa-create-integer-mask.mjs +39 -0
- package/esm2022/lib/masks/oepa-integer-mask-args.mjs +2 -0
- package/esm2022/lib/message/message.component.mjs +19 -0
- package/esm2022/lib/message/oepa-message-type.mjs +7 -0
- package/esm2022/lib/message/oepa-message.mjs +31 -0
- package/esm2022/lib/message-list/message-list.component.mjs +24 -0
- package/esm2022/lib/multi-file-upload/multi-file-upload.component.mjs +137 -0
- package/esm2022/lib/notes-modal/notes-modal.component.mjs +177 -0
- package/esm2022/lib/notes-modal/oepa-note-result.mjs +2 -0
- package/esm2022/lib/notes-modal/oepa-note.mjs +2 -0
- package/esm2022/lib/numeric-input/numeric-input.component.mjs +50 -0
- package/esm2022/lib/numeric-input.directive.mjs +76 -0
- package/esm2022/lib/oepa-error-message/oepa-error-message.component.mjs +39 -0
- package/esm2022/lib/oepa-forms.service.mjs +199 -0
- package/esm2022/lib/oepa-images.mjs +59 -0
- package/esm2022/lib/oepa-wait-message/oepa-wait-message.component.mjs +29 -0
- package/esm2022/lib/ohio-lat-long/ohio-lat-long.component.mjs +176 -0
- package/esm2022/lib/parameter/parameter.mjs +2 -0
- package/esm2022/lib/parameter/parameter.service.mjs +47 -0
- package/esm2022/lib/params-help-button/params-help-button.component.mjs +42 -0
- package/esm2022/lib/phone-number/phone-number.component.mjs +44 -0
- package/esm2022/lib/pin-modal/oepa-attestation.mjs +2 -0
- package/esm2022/lib/pin-modal/oepa-pin.mjs +2 -0
- package/esm2022/lib/pin-modal/oepa-pin.service.mjs +54 -0
- package/esm2022/lib/pin-modal/oepa-security-question.mjs +2 -0
- package/esm2022/lib/pin-modal/pin-modal.component.mjs +186 -0
- package/esm2022/lib/progress-indicator/progress-info.mjs +2 -0
- package/esm2022/lib/select-input/select-input.component.mjs +96 -0
- package/esm2022/lib/server-timeout-modal/server-timeout-modal.component.mjs +63 -0
- package/esm2022/lib/shopping-cart/shopping-cart-summary/shopping-cart-summary.component.mjs +54 -0
- package/esm2022/lib/shopping-cart/shopping-cart-view/shopping-cart-view-parameters.mjs +2 -0
- package/esm2022/lib/shopping-cart/shopping-cart-view/shopping-cart-view.component.mjs +190 -0
- package/esm2022/lib/shopping-cart/shopping-cart.service.mjs +89 -0
- package/esm2022/lib/start-end-timepicker/start-end-timepicker.component.mjs +126 -0
- package/esm2022/lib/table/oepa-p-column.mjs +2 -0
- package/esm2022/lib/table/oepa-table-cell-classname.pipe.mjs +22 -0
- package/esm2022/lib/table/oepa-table-cell-click-event.mjs +2 -0
- package/esm2022/lib/table/oepa-table-cell-colspan.pipe.mjs +22 -0
- package/esm2022/lib/table/oepa-table-cell-hidden.pipe.mjs +22 -0
- package/esm2022/lib/table/oepa-table-cell-icon-classname.pipe.mjs +22 -0
- package/esm2022/lib/table/oepa-table-cell-img-src.pipe.mjs +22 -0
- package/esm2022/lib/table/oepa-table-cell-inner-html.pipe.mjs +22 -0
- package/esm2022/lib/table/oepa-table-cell-input-component.pipe.mjs +22 -0
- package/esm2022/lib/table/oepa-table-cell-not-selectable.pipe.mjs +22 -0
- package/esm2022/lib/table/oepa-table-cell-value.pipe.mjs +22 -0
- package/esm2022/lib/table/oepa-table-cell.mjs +2 -0
- package/esm2022/lib/table/oepa-table-column.mjs +2 -0
- package/esm2022/lib/table/oepa-table-config.mjs +2 -0
- package/esm2022/lib/table/oepa-table-filter.mjs +2 -0
- package/esm2022/lib/table/oepa-table-filtering.directive.mjs +57 -0
- package/esm2022/lib/table/oepa-table-header.mjs +2 -0
- package/esm2022/lib/table/oepa-table-page-info.mjs +2 -0
- package/esm2022/lib/table/oepa-table-popover.mjs +2 -0
- package/esm2022/lib/table/oepa-table-row.mjs +2 -0
- package/esm2022/lib/table/oepa-table-sort-criterion.mjs +2 -0
- package/esm2022/lib/table/oepa-table-sorting.directive.mjs +57 -0
- package/esm2022/lib/table/oepa-table.mjs +2 -0
- package/esm2022/lib/table/p-table/p-table.component.mjs +826 -0
- package/esm2022/lib/table/table-data-cell/table-data-cell-click-event.mjs +2 -0
- package/esm2022/lib/table/table-data-cell/table-data-cell.component.mjs +60 -0
- package/esm2022/lib/table/table-export.service.mjs +57 -0
- package/esm2022/lib/table/table-header-cell/table-header-cell.component.mjs +61 -0
- package/esm2022/lib/table/table.component.mjs +793 -0
- package/esm2022/lib/table/table.service.mjs +112 -0
- package/esm2022/lib/template-confirmation-modal/template-confirmation-modal.component.mjs +46 -0
- package/esm2022/lib/text-area-input/text-area-input.component.mjs +48 -0
- package/esm2022/lib/text-input/text-input.component.mjs +48 -0
- package/esm2022/lib/timeout-modal/timeout-modal.component.mjs +31 -0
- package/esm2022/lib/timepicker/timepicker.component.mjs +48 -0
- package/esm2022/lib/validation/form-validator.mjs +2 -0
- package/esm2022/lib/validation/validation.service.mjs +134 -0
- package/esm2022/lib/yes-no/yes-no.component.mjs +44 -0
- package/esm2022/lib/yes-no-boolean/yes-no.component.mjs +44 -0
- package/esm2022/lib/yes-no-other-input/yes-no-other-input.component.mjs +41 -0
- package/esm2022/lib/zip-code/zip-code.component.mjs +42 -0
- package/esm2022/ohioepa-oepa-ui-lib.mjs +5 -0
- package/esm2022/public-api.mjs +142 -0
- package/fesm2022/ohioepa-oepa-ui-lib.mjs +10720 -0
- package/fesm2022/ohioepa-oepa-ui-lib.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/account-search-input/account-search-input.component.d.ts +36 -0
- package/lib/account-search-modal/account-search-modal.component.d.ts +40 -0
- package/lib/action-btn/action-btn.component.d.ts +34 -0
- package/lib/action-btn/oepa-action-event.d.ts +19 -0
- package/lib/action-btn/oepa-action.d.ts +13 -0
- package/lib/action-btn-modal/action-btn-modal.component.d.ts +12 -0
- package/lib/address/address.component.d.ts +43 -0
- package/lib/address/oepa-address.service.d.ts +28 -0
- package/lib/address/oepa-form-address.d.ts +19 -0
- package/lib/blank/blank.component.d.ts +8 -0
- package/lib/checkbox/checkbox.component.d.ts +15 -0
- package/lib/checkbox-input/checkbox-input.component.d.ts +17 -0
- package/lib/comment-modal/comment-modal.component.d.ts +22 -0
- package/lib/common-forms.module.d.ts +104 -0
- package/lib/confirmation-modal/confirmation-modal.component.d.ts +49 -0
- package/lib/contact/contact.component.d.ts +33 -0
- package/lib/contact/oepa-form-contact.d.ts +58 -0
- package/lib/date-input/date-input.component.d.ts +18 -0
- package/lib/date-input-modal/date-input-modal.component.d.ts +25 -0
- package/lib/datepicker/datepicker.component.d.ts +28 -0
- package/lib/daterangepicker/daterangepicker.component.d.ts +22 -0
- package/lib/document/document-editor/document-editor.component.d.ts +34 -0
- package/lib/document/document-event-entity-type.d.ts +5 -0
- package/lib/document/document-event-type.d.ts +5 -0
- package/lib/document/document-event.d.ts +9 -0
- package/lib/document/document-group/document-group.component.d.ts +38 -0
- package/lib/document/document-part/document-part.component.d.ts +10 -0
- package/lib/document/document-part-editor/document-part-editor.component.d.ts +46 -0
- package/lib/document/document-placeholder-modal/document-placeholder-modal.component.d.ts +19 -0
- package/lib/document/document-section/document-section.component.d.ts +37 -0
- package/lib/document/document.service.d.ts +90 -0
- package/lib/document/group-modal/group-modal.component.d.ts +20 -0
- package/lib/document/part-modal/part-modal.component.d.ts +20 -0
- package/lib/document/portal-document-class.d.ts +10 -0
- package/lib/document/portal-document-group.d.ts +15 -0
- package/lib/document/portal-document-part.d.ts +22 -0
- package/lib/document/portal-document-placeholder.d.ts +12 -0
- package/lib/document/portal-document-section.d.ts +13 -0
- package/lib/document/portal-document-text.d.ts +7 -0
- package/lib/document/portal-document-type.d.ts +15 -0
- package/lib/document/portal-document.d.ts +27 -0
- package/lib/document/portal-email-attachment-type.d.ts +6 -0
- package/lib/document/portal-email-attachment.d.ts +12 -0
- package/lib/document/portal-email-filter.d.ts +12 -0
- package/lib/document/portal-email.d.ts +18 -0
- package/lib/document/section-modal/section-modal.component.d.ts +20 -0
- package/lib/dual-list-box/array.pipes.d.ts +36 -0
- package/lib/dual-list-box/dual-list-box.component.d.ts +91 -0
- package/lib/dual-list-box/items-moved-event.d.ts +11 -0
- package/lib/dual-list-box/list-box-item.d.ts +7 -0
- package/lib/ebiz-address/ebiz-address.component.d.ts +23 -0
- package/lib/edoc-attachment/edoc-attachment.component.d.ts +44 -0
- package/lib/edoc-attachment/edoc-attachment.service.d.ts +16 -0
- package/lib/edoc-attachment/edocument-attachment-metadata.d.ts +16 -0
- package/lib/edoc-attachment/edocument-attachment.d.ts +12 -0
- package/lib/edoc-attachment/edocument-reference.d.ts +5 -0
- package/lib/entity/entity.service.d.ts +31 -0
- package/lib/entity/organization-create-modal/organization-create-modal.component.d.ts +53 -0
- package/lib/entity/organization-search-input/organization-search-input.component.d.ts +34 -0
- package/lib/entity/organization-search-modal/organization-search-modal.component.d.ts +56 -0
- package/lib/entity/person-create-modal/person-create-modal.component.d.ts +53 -0
- package/lib/entity/person-search-input/person-search-input.component.d.ts +34 -0
- package/lib/entity/person-search-modal/person-search-modal.component.d.ts +56 -0
- package/lib/entity/place-create-modal/place-create-modal.component.d.ts +8 -0
- package/lib/entity/place-search-input/place-search-input.component.d.ts +34 -0
- package/lib/entity/place-search-modal/place-search-modal.component.d.ts +41 -0
- package/lib/esri-map/esri-map.component.d.ts +41 -0
- package/lib/file-upload/file-upload.component.d.ts +37 -0
- package/lib/lynx-image-upload/lynx-image-upload.component.d.ts +36 -0
- package/lib/lynx-image-upload/lynx.service.d.ts +16 -0
- package/lib/masks/oepa-create-integer-mask.d.ts +8 -0
- package/lib/masks/oepa-integer-mask-args.d.ts +5 -0
- package/lib/message/message.component.d.ts +10 -0
- package/lib/message/oepa-message-type.d.ts +5 -0
- package/lib/message/oepa-message.d.ts +7 -0
- package/lib/message-list/message-list.component.d.ts +11 -0
- package/lib/multi-file-upload/multi-file-upload.component.d.ts +36 -0
- package/lib/notes-modal/notes-modal.component.d.ts +50 -0
- package/lib/notes-modal/oepa-note-result.d.ts +10 -0
- package/lib/notes-modal/oepa-note.d.ts +13 -0
- package/lib/numeric-input/numeric-input.component.d.ts +20 -0
- package/lib/numeric-input.directive.d.ts +19 -0
- package/lib/oepa-error-message/oepa-error-message.component.d.ts +9 -0
- package/lib/oepa-forms.service.d.ts +28 -0
- package/lib/oepa-images.d.ts +53 -0
- package/lib/oepa-wait-message/oepa-wait-message.component.d.ts +9 -0
- package/lib/ohio-lat-long/ohio-lat-long.component.d.ts +63 -0
- package/lib/parameter/parameter.d.ts +7 -0
- package/lib/parameter/parameter.service.d.ts +18 -0
- package/lib/params-help-button/params-help-button.component.d.ts +15 -0
- package/lib/phone-number/phone-number.component.d.ts +19 -0
- package/lib/pin-modal/oepa-attestation.d.ts +10 -0
- package/lib/pin-modal/oepa-pin.d.ts +26 -0
- package/lib/pin-modal/oepa-pin.service.d.ts +38 -0
- package/lib/pin-modal/oepa-security-question.d.ts +8 -0
- package/lib/pin-modal/pin-modal.component.d.ts +46 -0
- package/lib/progress-indicator/progress-info.d.ts +4 -0
- package/lib/select-input/select-input.component.d.ts +27 -0
- package/lib/server-timeout-modal/server-timeout-modal.component.d.ts +23 -0
- package/lib/shopping-cart/shopping-cart-summary/shopping-cart-summary.component.d.ts +18 -0
- package/lib/shopping-cart/shopping-cart-view/shopping-cart-view-parameters.d.ts +10 -0
- package/lib/shopping-cart/shopping-cart-view/shopping-cart-view.component.d.ts +51 -0
- package/lib/shopping-cart/shopping-cart.service.d.ts +44 -0
- package/lib/start-end-timepicker/start-end-timepicker.component.d.ts +29 -0
- package/lib/table/oepa-p-column.d.ts +4 -0
- package/lib/table/oepa-table-cell-classname.pipe.d.ts +9 -0
- package/lib/table/oepa-table-cell-click-event.d.ts +15 -0
- package/lib/table/oepa-table-cell-colspan.pipe.d.ts +9 -0
- package/lib/table/oepa-table-cell-hidden.pipe.d.ts +9 -0
- package/lib/table/oepa-table-cell-icon-classname.pipe.d.ts +9 -0
- package/lib/table/oepa-table-cell-img-src.pipe.d.ts +9 -0
- package/lib/table/oepa-table-cell-inner-html.pipe.d.ts +9 -0
- package/lib/table/oepa-table-cell-input-component.pipe.d.ts +9 -0
- package/lib/table/oepa-table-cell-not-selectable.pipe.d.ts +9 -0
- package/lib/table/oepa-table-cell-value.pipe.d.ts +9 -0
- package/lib/table/oepa-table-cell.d.ts +66 -0
- package/lib/table/oepa-table-column.d.ts +71 -0
- package/lib/table/oepa-table-config.d.ts +72 -0
- package/lib/table/oepa-table-filter.d.ts +10 -0
- package/lib/table/oepa-table-filtering.directive.d.ts +17 -0
- package/lib/table/oepa-table-header.d.ts +9 -0
- package/lib/table/oepa-table-page-info.d.ts +22 -0
- package/lib/table/oepa-table-popover.d.ts +28 -0
- package/lib/table/oepa-table-row.d.ts +84 -0
- package/lib/table/oepa-table-sort-criterion.d.ts +4 -0
- package/lib/table/oepa-table-sorting.directive.d.ts +16 -0
- package/lib/table/oepa-table.d.ts +42 -0
- package/lib/table/p-table/p-table.component.d.ts +155 -0
- package/lib/table/table-data-cell/table-data-cell-click-event.d.ts +5 -0
- package/lib/table/table-data-cell/table-data-cell.component.d.ts +23 -0
- package/lib/table/table-export.service.d.ts +33 -0
- package/lib/table/table-header-cell/table-header-cell.component.d.ts +24 -0
- package/lib/table/table.component.d.ts +144 -0
- package/lib/table/table.service.d.ts +28 -0
- package/lib/template-confirmation-modal/template-confirmation-modal.component.d.ts +19 -0
- package/lib/text-area-input/text-area-input.component.d.ts +19 -0
- package/lib/text-input/text-input.component.d.ts +19 -0
- package/lib/timeout-modal/timeout-modal.component.d.ts +13 -0
- package/lib/timepicker/timepicker.component.d.ts +17 -0
- package/lib/validation/form-validator.d.ts +10 -0
- package/lib/validation/validation.service.d.ts +16 -0
- package/lib/yes-no/yes-no.component.d.ts +19 -0
- package/lib/yes-no-boolean/yes-no.component.d.ts +19 -0
- package/lib/yes-no-other-input/yes-no-other-input.component.d.ts +18 -0
- package/lib/zip-code/zip-code.component.d.ts +19 -0
- package/ohioepa-oepa-ui-lib-1.1.0.tgz +0 -0
- package/package.json +25 -0
- package/public-api.d.ts +138 -0
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { FormGroup, FormBuilder, FormControl, ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import { ToastrService } from 'ngx-toastr';
|
|
4
|
+
import { IItemsMovedEvent } from './items-moved-event';
|
|
5
|
+
import { IListBoxItem } from './list-box-item';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* NOTE: This code is a modified version of the project: https://www.npmjs.com/package/ng2-dual-list-box
|
|
9
|
+
* LICENSE: MIT © [Eldar Granulo](mailto:eldar32@gmail.com)
|
|
10
|
+
*/
|
|
11
|
+
export declare class DualListBoxComponent implements OnInit, ControlValueAccessor {
|
|
12
|
+
fb: FormBuilder;
|
|
13
|
+
private toastr;
|
|
14
|
+
set available(items: Array<any>);
|
|
15
|
+
set selected(items: Array<any>);
|
|
16
|
+
set availableSearch(searchTerm: string);
|
|
17
|
+
set selectedSearch(searchTerm: string);
|
|
18
|
+
valueField: string;
|
|
19
|
+
textField: string;
|
|
20
|
+
title: string;
|
|
21
|
+
debounceTime: number;
|
|
22
|
+
moveAllButton: boolean;
|
|
23
|
+
availableText: string;
|
|
24
|
+
selectedText: string;
|
|
25
|
+
availableFilterPlaceholder: string;
|
|
26
|
+
selectedFilterPlaceholder: string;
|
|
27
|
+
idField: string;
|
|
28
|
+
set disabled(disabled: boolean);
|
|
29
|
+
listSize: number;
|
|
30
|
+
sortBy: string;
|
|
31
|
+
maxSelectableItems: number | undefined;
|
|
32
|
+
onAvailableItemSelected: EventEmitter<{} | Array<{}>>;
|
|
33
|
+
onSelectedItemsSelected: EventEmitter<{} | Array<{}>>;
|
|
34
|
+
onItemsMoved: EventEmitter<IItemsMovedEvent>;
|
|
35
|
+
searchTermAvailable: string;
|
|
36
|
+
searchTermSelected: string;
|
|
37
|
+
availableItems: Array<IListBoxItem>;
|
|
38
|
+
selectedItems: Array<IListBoxItem>;
|
|
39
|
+
listBoxForm: FormGroup;
|
|
40
|
+
availableListBoxControl: FormControl;
|
|
41
|
+
selectedListBoxControl: FormControl;
|
|
42
|
+
availableSearchInputControl: FormControl;
|
|
43
|
+
selectedSearchInputControl: FormControl;
|
|
44
|
+
_onChange: (_: any) => void;
|
|
45
|
+
_onTouched: () => void;
|
|
46
|
+
constructor(fb: FormBuilder, toastr: ToastrService);
|
|
47
|
+
ngOnInit(): void;
|
|
48
|
+
/**
|
|
49
|
+
* Move all items from available to selected
|
|
50
|
+
*/
|
|
51
|
+
moveAllItemsToSelected(): void;
|
|
52
|
+
/**
|
|
53
|
+
* Move all items from selected to available
|
|
54
|
+
*/
|
|
55
|
+
moveAllItemsToAvailable(): void;
|
|
56
|
+
/**
|
|
57
|
+
* Move marked items from available items to selected items
|
|
58
|
+
*/
|
|
59
|
+
moveMarkedAvailableItemsToSelected(): void;
|
|
60
|
+
/**
|
|
61
|
+
* Move marked items from selected items to available items
|
|
62
|
+
*/
|
|
63
|
+
moveMarkedSelectedItemsToAvailable(): void;
|
|
64
|
+
/**
|
|
65
|
+
* Move single item from available to selected
|
|
66
|
+
* @param item
|
|
67
|
+
*/
|
|
68
|
+
moveAvailableItemToSelected(item: IListBoxItem): void;
|
|
69
|
+
/**
|
|
70
|
+
* Move single item from selected to available
|
|
71
|
+
* @param item
|
|
72
|
+
*/
|
|
73
|
+
moveSelectedItemToAvailable(item: IListBoxItem): void;
|
|
74
|
+
/**
|
|
75
|
+
* Function to pass to ngFor to improve performance, tracks items
|
|
76
|
+
* by the value field
|
|
77
|
+
* @param index
|
|
78
|
+
* @param item
|
|
79
|
+
*/
|
|
80
|
+
trackByValue(index: number, item: any): string;
|
|
81
|
+
writeValue(value: any): void;
|
|
82
|
+
registerOnChange(fn: (_: any) => {}): void;
|
|
83
|
+
registerOnTouched(fn: () => {}): void;
|
|
84
|
+
/**
|
|
85
|
+
* Utility method to get values from
|
|
86
|
+
* selected items
|
|
87
|
+
*/
|
|
88
|
+
private getValues;
|
|
89
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DualListBoxComponent, never>;
|
|
90
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DualListBoxComponent, "oepa-dual-list-box", never, { "available": { "alias": "available"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "availableSearch": { "alias": "availableSearch"; "required": false; }; "selectedSearch": { "alias": "selectedSearch"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "title": { "alias": "title"; "required": false; }; "debounceTime": { "alias": "debounceTime"; "required": false; }; "moveAllButton": { "alias": "moveAllButton"; "required": false; }; "availableText": { "alias": "availableText"; "required": false; }; "selectedText": { "alias": "selectedText"; "required": false; }; "availableFilterPlaceholder": { "alias": "availableFilterPlaceholder"; "required": false; }; "selectedFilterPlaceholder": { "alias": "selectedFilterPlaceholder"; "required": false; }; "idField": { "alias": "idField"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "listSize": { "alias": "listSize"; "required": false; }; "sortBy": { "alias": "sortBy"; "required": false; }; "maxSelectableItems": { "alias": "maxSelectableItems"; "required": false; }; }, { "onAvailableItemSelected": "onAvailableItemSelected"; "onSelectedItemsSelected": "onSelectedItemsSelected"; "onItemsMoved": "onItemsMoved"; }, never, never, false, never>;
|
|
91
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Helper interface to emit event when
|
|
3
|
+
* items are moved between boxes
|
|
4
|
+
*/
|
|
5
|
+
export interface IItemsMovedEvent {
|
|
6
|
+
available: Array<{}>;
|
|
7
|
+
selected: Array<{}>;
|
|
8
|
+
movedItems: Array<{}>;
|
|
9
|
+
from: 'selected' | 'available';
|
|
10
|
+
to: 'selected' | 'available';
|
|
11
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { OepaComponentIdService } from '@ohioepa/oepa-common-lib';
|
|
4
|
+
import { OepaAddressService } from '../address/oepa-address.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class EbizAddressComponent implements OnInit {
|
|
7
|
+
private addressService;
|
|
8
|
+
private idService;
|
|
9
|
+
showStates: boolean;
|
|
10
|
+
usStates: string[];
|
|
11
|
+
componentId: string;
|
|
12
|
+
group: FormGroup;
|
|
13
|
+
showValidation: boolean;
|
|
14
|
+
addressOneLabel: string;
|
|
15
|
+
addressTwoLabel: string;
|
|
16
|
+
cityLabel: string;
|
|
17
|
+
stateLabel: string;
|
|
18
|
+
zipCodeLabel: string;
|
|
19
|
+
constructor(addressService: OepaAddressService, idService: OepaComponentIdService);
|
|
20
|
+
ngOnInit(): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EbizAddressComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EbizAddressComponent, "oepa-ebiz-address", never, { "group": { "alias": "group"; "required": false; }; "showValidation": { "alias": "showValidation"; "required": false; }; "addressOneLabel": { "alias": "addressOneLabel"; "required": false; }; "addressTwoLabel": { "alias": "addressTwoLabel"; "required": false; }; "cityLabel": { "alias": "cityLabel"; "required": false; }; "stateLabel": { "alias": "stateLabel"; "required": false; }; "zipCodeLabel": { "alias": "zipCodeLabel"; "required": false; }; }, {}, never, never, false, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { EDocumentAttachment } from './edocument-attachment';
|
|
4
|
+
import { OepaComponentIdService, OepaFileUtilService } from '@ohioepa/oepa-common-lib';
|
|
5
|
+
import { EdocAttachmentService } from './edoc-attachment.service';
|
|
6
|
+
import { BsModalService } from 'ngx-bootstrap/modal';
|
|
7
|
+
import { Subject } from 'rxjs';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class EdocAttachmentComponent implements OnInit {
|
|
10
|
+
private idService;
|
|
11
|
+
private fileUtilService;
|
|
12
|
+
private eDocAttachmentService;
|
|
13
|
+
private modalService;
|
|
14
|
+
componentId: string;
|
|
15
|
+
errorMsg: string;
|
|
16
|
+
busy: boolean;
|
|
17
|
+
private deleteSubscription;
|
|
18
|
+
attachment: EDocumentAttachment;
|
|
19
|
+
group: FormGroup;
|
|
20
|
+
field: string;
|
|
21
|
+
label: string;
|
|
22
|
+
errorLabel: string;
|
|
23
|
+
showValidation: boolean;
|
|
24
|
+
accept: string;
|
|
25
|
+
removeAllowed: boolean;
|
|
26
|
+
okToDelete: Subject<boolean> | undefined;
|
|
27
|
+
fileUploaded: EventEmitter<EDocumentAttachment>;
|
|
28
|
+
fileRemoved: EventEmitter<EDocumentAttachment>;
|
|
29
|
+
download: EventEmitter<EDocumentAttachment>;
|
|
30
|
+
constructor(idService: OepaComponentIdService, fileUtilService: OepaFileUtilService, eDocAttachmentService: EdocAttachmentService, modalService: BsModalService);
|
|
31
|
+
ngOnInit(): void;
|
|
32
|
+
fileChange(event: any): void;
|
|
33
|
+
private appendOepaAttachmentData;
|
|
34
|
+
private fileTypeCanBeAccepted;
|
|
35
|
+
removeFile(): void;
|
|
36
|
+
private attemptDeleteAttachment;
|
|
37
|
+
private deleteAttachment;
|
|
38
|
+
private clearAttachment;
|
|
39
|
+
downloadFile(attachment: EDocumentAttachment): void;
|
|
40
|
+
private downloadEDocFile;
|
|
41
|
+
private downloadServerFile;
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EdocAttachmentComponent, never>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EdocAttachmentComponent, "oepa-edoc-attachment", never, { "attachment": { "alias": "attachment"; "required": false; }; "group": { "alias": "group"; "required": false; }; "field": { "alias": "field"; "required": false; }; "label": { "alias": "label"; "required": false; }; "errorLabel": { "alias": "errorLabel"; "required": false; }; "showValidation": { "alias": "showValidation"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "removeAllowed": { "alias": "removeAllowed"; "required": false; }; "okToDelete": { "alias": "okToDelete"; "required": false; }; }, { "fileUploaded": "fileUploaded"; "fileRemoved": "fileRemoved"; "download": "download"; }, never, never, false, never>;
|
|
44
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { EDocumentAttachment } from './edocument-attachment';
|
|
4
|
+
import { StringResponse } from '@ohioepa/oepa-ebiz-lib';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class EdocAttachmentService {
|
|
7
|
+
private http;
|
|
8
|
+
private fileUtilUrl;
|
|
9
|
+
constructor(http: HttpClient);
|
|
10
|
+
createEDocAttachment(eDocAttachment: EDocumentAttachment): Observable<StringResponse>;
|
|
11
|
+
deleteEDocAttachment(eDocAttachmentID: string): Observable<any>;
|
|
12
|
+
retrieveEDocAttachment(eDocAttachmentID: string): Observable<EDocumentAttachment>;
|
|
13
|
+
downloadEDocAttachment(eDocAttachmentID: string): Observable<any>;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EdocAttachmentService, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EdocAttachmentService>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface EDocumentAttachmentMetadata {
|
|
2
|
+
corePlaceID?: string;
|
|
3
|
+
facilityName?: string;
|
|
4
|
+
environmentalInterestCode?: string;
|
|
5
|
+
countyName?: string;
|
|
6
|
+
secondaryIDValue?: string;
|
|
7
|
+
documentTypeName?: string;
|
|
8
|
+
documentSubtypeName?: string;
|
|
9
|
+
noticeOfViolationType?: string;
|
|
10
|
+
documentVisibilityCode?: string;
|
|
11
|
+
deliveryStatusCode?: string;
|
|
12
|
+
packageNumber?: string;
|
|
13
|
+
comment?: string;
|
|
14
|
+
maintainDocType?: boolean;
|
|
15
|
+
mimeType?: string;
|
|
16
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DomainObject } from '@ohioepa/oepa-ebiz-lib';
|
|
2
|
+
import { EDocumentAttachmentMetadata } from "./edocument-attachment-metadata";
|
|
3
|
+
import { EDocumentReference } from "./edocument-reference";
|
|
4
|
+
export interface EDocumentAttachment extends DomainObject {
|
|
5
|
+
eDocHandleID?: string;
|
|
6
|
+
metadata?: EDocumentAttachmentMetadata;
|
|
7
|
+
documentReference?: EDocumentReference;
|
|
8
|
+
systemFilename?: string;
|
|
9
|
+
userFilename?: string;
|
|
10
|
+
location?: string;
|
|
11
|
+
content?: any;
|
|
12
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { HttpClient } from '@angular/common/http';
|
|
3
|
+
import { OEPAPersonFilter } from '@ohioepa/oepa-ebiz-lib';
|
|
4
|
+
import { OEPAPerson } from '@ohioepa/oepa-ebiz-lib';
|
|
5
|
+
import { OEPAReference, OEPAProgram } from '@ohioepa/oepa-common-lib';
|
|
6
|
+
import { OEPAOrganizationFilter } from '@ohioepa/oepa-ebiz-lib';
|
|
7
|
+
import { OEPAOrganization } from '@ohioepa/oepa-common-lib';
|
|
8
|
+
import { OEPAEntityFilter } from '@ohioepa/oepa-ebiz-lib';
|
|
9
|
+
import { OEPAPlace } from '@ohioepa/oepa-ebiz-lib';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class EntityService {
|
|
12
|
+
private http;
|
|
13
|
+
private entityURL;
|
|
14
|
+
constructor(http: HttpClient);
|
|
15
|
+
searchPersons(filter: OEPAPersonFilter): Observable<OEPAPerson[]>;
|
|
16
|
+
matchPersons(filter: OEPAPersonFilter): Observable<OEPAPerson[]>;
|
|
17
|
+
createPerson(person: OEPAPerson): Observable<string>;
|
|
18
|
+
retrievePersonTypes(): Observable<OEPAReference[]>;
|
|
19
|
+
searchOrganizations(filter: OEPAOrganizationFilter): Observable<OEPAOrganization[]>;
|
|
20
|
+
matchOrganizations(filter: OEPAOrganizationFilter): Observable<OEPAOrganization[]>;
|
|
21
|
+
createOrganization(organization: OEPAOrganization): Observable<string>;
|
|
22
|
+
retrieveOrganizationTypes(): Observable<OEPAReference[]>;
|
|
23
|
+
searchPlaces(filter: OEPAEntityFilter): Observable<OEPAPlace[]>;
|
|
24
|
+
matchPlaces(filter: OEPAEntityFilter): Observable<OEPAPlace[]>;
|
|
25
|
+
createPlace(place: OEPAPlace): Observable<string>;
|
|
26
|
+
retrieveAddressTypes(): Observable<OEPAReference[]>;
|
|
27
|
+
retrieveTelephoneTypes(): Observable<OEPAReference[]>;
|
|
28
|
+
retrievePrograms(): Observable<OEPAProgram[]>;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EntityService, never>;
|
|
30
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EntityService>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { BsModalRef } from 'ngx-bootstrap/modal';
|
|
4
|
+
import { OEPAOrganization, OEPAProgram } from '@ohioepa/oepa-ebiz-lib';
|
|
5
|
+
import { EntityService } from '../entity.service';
|
|
6
|
+
import { OEPAOrganizationFilter } from '@ohioepa/oepa-ebiz-lib';
|
|
7
|
+
import { OEPAReference } from '@ohioepa/oepa-common-lib';
|
|
8
|
+
import { OepaTableRow } from '../../table/oepa-table-row';
|
|
9
|
+
import { OepaTableHeader } from '../../table/oepa-table-header';
|
|
10
|
+
import { OepaTableConfig } from '../../table/oepa-table-config';
|
|
11
|
+
import { OepaFormsService } from '../../oepa-forms.service';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
export declare class OrganizationCreateModalComponent implements OnInit {
|
|
14
|
+
private fb;
|
|
15
|
+
bsModalRef: BsModalRef;
|
|
16
|
+
private formService;
|
|
17
|
+
private entityService;
|
|
18
|
+
modalFormGroup: FormGroup;
|
|
19
|
+
errorMessage: string;
|
|
20
|
+
infoMessage: string;
|
|
21
|
+
inProgressMsg: string;
|
|
22
|
+
filter: OEPAOrganizationFilter;
|
|
23
|
+
organizationTypes: OEPAReference[];
|
|
24
|
+
programs: OEPAProgram[];
|
|
25
|
+
addressTypes: OEPAReference[];
|
|
26
|
+
phoneNumberTypes: OEPAReference[];
|
|
27
|
+
selectedOrganization: OEPAOrganization | undefined;
|
|
28
|
+
tableData: Array<OepaTableRow>;
|
|
29
|
+
tableHeader: OepaTableHeader;
|
|
30
|
+
tableConfig: OepaTableConfig;
|
|
31
|
+
onOrganizationCreated: EventEmitter<OEPAOrganization>;
|
|
32
|
+
constructor(fb: FormBuilder, bsModalRef: BsModalRef, formService: OepaFormsService, entityService: EntityService);
|
|
33
|
+
ngOnInit(): void;
|
|
34
|
+
private loadReferenceData;
|
|
35
|
+
private retrieveOrganizationTypes;
|
|
36
|
+
private retrievePrograms;
|
|
37
|
+
private retrieveAddressTypes;
|
|
38
|
+
private retrievePhoneNumberTypes;
|
|
39
|
+
private createForm;
|
|
40
|
+
private getFilterFromForm;
|
|
41
|
+
private getOrganizationFromForm;
|
|
42
|
+
saveOrganizationAfterSearch(): void;
|
|
43
|
+
private buildTableHeader;
|
|
44
|
+
private convertOrganizationToTableRow;
|
|
45
|
+
saveOrganization(): void;
|
|
46
|
+
onRowSelect(event: any): void;
|
|
47
|
+
saveSelectedOrganization(): void;
|
|
48
|
+
getModalFormGroup(name: string): FormGroup;
|
|
49
|
+
getModalFormGroupInvalidClass(name: string): any;
|
|
50
|
+
getModalFormGroupHasError(name: string, field: string): boolean;
|
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrganizationCreateModalComponent, never>;
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OrganizationCreateModalComponent, "oepa-organization-create-modal", never, {}, { "onOrganizationCreated": "onOrganizationCreated"; }, never, never, false, never>;
|
|
53
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { TypeaheadMatch } from 'ngx-bootstrap/typeahead';
|
|
3
|
+
import { FormGroup } from '@angular/forms';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import { BsModalService } from 'ngx-bootstrap/modal';
|
|
6
|
+
import { OepaComponentIdService } from '@ohioepa/oepa-common-lib';
|
|
7
|
+
import { EntityService } from '../entity.service';
|
|
8
|
+
import { OEPAOrganization } from '@ohioepa/oepa-ebiz-lib';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class OrganizationSearchInputComponent implements OnInit {
|
|
11
|
+
private idService;
|
|
12
|
+
private modalService;
|
|
13
|
+
private entityService;
|
|
14
|
+
nameSearch: string;
|
|
15
|
+
nameSource: Observable<OEPAOrganization[]>;
|
|
16
|
+
componentId: string;
|
|
17
|
+
errorMessage: string;
|
|
18
|
+
searching: boolean;
|
|
19
|
+
group: FormGroup;
|
|
20
|
+
organizationID: string;
|
|
21
|
+
field: string;
|
|
22
|
+
title: string;
|
|
23
|
+
errorMessageAddendum: string;
|
|
24
|
+
rowLayout: boolean;
|
|
25
|
+
organizationSelected: EventEmitter<OEPAOrganization>;
|
|
26
|
+
constructor(idService: OepaComponentIdService, modalService: BsModalService, entityService: EntityService);
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
onOrganizationSelect(e: TypeaheadMatch): void;
|
|
29
|
+
private loadOrganizationInForm;
|
|
30
|
+
private searchOrganizations;
|
|
31
|
+
advancedSearch(): void;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrganizationSearchInputComponent, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OrganizationSearchInputComponent, "oepa-organization-search-input", never, { "group": { "alias": "group"; "required": false; }; "organizationID": { "alias": "organizationID"; "required": false; }; "field": { "alias": "field"; "required": false; }; "title": { "alias": "title"; "required": false; }; "errorMessageAddendum": { "alias": "errorMessageAddendum"; "required": false; }; "rowLayout": { "alias": "rowLayout"; "required": false; }; }, { "organizationSelected": "organizationSelected"; }, never, never, false, never>;
|
|
34
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { BsModalRef } from 'ngx-bootstrap/modal';
|
|
4
|
+
import { BsModalService } from 'ngx-bootstrap/modal';
|
|
5
|
+
import { OEPAOrganization, OEPAProgram } from '@ohioepa/oepa-ebiz-lib';
|
|
6
|
+
import { EntityService } from '../entity.service';
|
|
7
|
+
import { OEPAOrganizationFilter } from '@ohioepa/oepa-ebiz-lib';
|
|
8
|
+
import { OEPAReference } from '@ohioepa/oepa-common-lib';
|
|
9
|
+
import { OepaTableRow } from '../../table/oepa-table-row';
|
|
10
|
+
import { OepaTableHeader } from '../../table/oepa-table-header';
|
|
11
|
+
import { OepaTableConfig } from '../../table/oepa-table-config';
|
|
12
|
+
import { OepaFormsService } from '../../oepa-forms.service';
|
|
13
|
+
import * as i0 from "@angular/core";
|
|
14
|
+
export declare class OrganizationSearchModalComponent implements OnInit {
|
|
15
|
+
private fb;
|
|
16
|
+
bsModalRef: BsModalRef;
|
|
17
|
+
private modalService;
|
|
18
|
+
private formService;
|
|
19
|
+
private entityService;
|
|
20
|
+
modalFormGroup: FormGroup;
|
|
21
|
+
errorMessage: string;
|
|
22
|
+
inProgressMsg: string;
|
|
23
|
+
filter: OEPAOrganizationFilter;
|
|
24
|
+
selectedOrganization: OEPAOrganization | undefined;
|
|
25
|
+
organizationTypes: OEPAReference[];
|
|
26
|
+
openSearchCriteria: boolean;
|
|
27
|
+
allowCreateNew: boolean;
|
|
28
|
+
programs: OEPAProgram[];
|
|
29
|
+
addressTypes: OEPAReference[];
|
|
30
|
+
phoneNumberTypes: OEPAReference[];
|
|
31
|
+
initializing: boolean;
|
|
32
|
+
tableData: Array<OepaTableRow>;
|
|
33
|
+
tableHeader: OepaTableHeader;
|
|
34
|
+
tableConfig: OepaTableConfig;
|
|
35
|
+
onOrganizationSelected: EventEmitter<OEPAOrganization>;
|
|
36
|
+
constructor(fb: FormBuilder, bsModalRef: BsModalRef, modalService: BsModalService, formService: OepaFormsService, entityService: EntityService);
|
|
37
|
+
ngOnInit(): void;
|
|
38
|
+
private loadReferenceData;
|
|
39
|
+
private retrievePrograms;
|
|
40
|
+
private retrieveOrganizationTypes;
|
|
41
|
+
private retrieveAddressTypes;
|
|
42
|
+
private retrievePhoneNumberTypes;
|
|
43
|
+
private createForm;
|
|
44
|
+
private getFilterFromForm;
|
|
45
|
+
private filterIsEmpty;
|
|
46
|
+
submitSearch(): void;
|
|
47
|
+
private buildTableHeader;
|
|
48
|
+
private convertOrganizationToTableRow;
|
|
49
|
+
resetSearch(): void;
|
|
50
|
+
onRowSelect(event: any): void;
|
|
51
|
+
save(): void;
|
|
52
|
+
createNewOrganization(): void;
|
|
53
|
+
getModalFormGroup(name: string): FormGroup;
|
|
54
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrganizationSearchModalComponent, never>;
|
|
55
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OrganizationSearchModalComponent, "oepa-organization-search-modal", never, {}, { "onOrganizationSelected": "onOrganizationSelected"; }, never, never, false, never>;
|
|
56
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { BsModalRef } from 'ngx-bootstrap/modal';
|
|
4
|
+
import { OEPAPerson, OEPAProgram } from '@ohioepa/oepa-ebiz-lib';
|
|
5
|
+
import { EntityService } from '../entity.service';
|
|
6
|
+
import { OEPAPersonFilter } from '@ohioepa/oepa-ebiz-lib';
|
|
7
|
+
import { OEPAReference } from '@ohioepa/oepa-common-lib';
|
|
8
|
+
import { OepaTableRow } from '../../table/oepa-table-row';
|
|
9
|
+
import { OepaTableHeader } from '../../table/oepa-table-header';
|
|
10
|
+
import { OepaTableConfig } from '../../table/oepa-table-config';
|
|
11
|
+
import { OepaFormsService } from '../../oepa-forms.service';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
export declare class PersonCreateModalComponent implements OnInit {
|
|
14
|
+
private fb;
|
|
15
|
+
bsModalRef: BsModalRef;
|
|
16
|
+
private formService;
|
|
17
|
+
private entityService;
|
|
18
|
+
modalFormGroup: FormGroup;
|
|
19
|
+
errorMessage: string;
|
|
20
|
+
infoMessage: string;
|
|
21
|
+
inProgressMsg: string;
|
|
22
|
+
filter: OEPAPersonFilter;
|
|
23
|
+
selectedPerson: OEPAPerson | undefined;
|
|
24
|
+
personSubTypes: OEPAReference[];
|
|
25
|
+
programs: OEPAProgram[];
|
|
26
|
+
addressTypes: OEPAReference[];
|
|
27
|
+
phoneNumberTypes: OEPAReference[];
|
|
28
|
+
tableData: Array<OepaTableRow>;
|
|
29
|
+
tableHeader: OepaTableHeader;
|
|
30
|
+
tableConfig: OepaTableConfig;
|
|
31
|
+
onPersonCreated: EventEmitter<OEPAPerson>;
|
|
32
|
+
constructor(fb: FormBuilder, bsModalRef: BsModalRef, formService: OepaFormsService, entityService: EntityService);
|
|
33
|
+
ngOnInit(): void;
|
|
34
|
+
private loadReferenceData;
|
|
35
|
+
private retrievePersonTypes;
|
|
36
|
+
private retrievePrograms;
|
|
37
|
+
private retrieveAddressTypes;
|
|
38
|
+
private retrievePhoneNumberTypes;
|
|
39
|
+
private createForm;
|
|
40
|
+
private getFilterFromForm;
|
|
41
|
+
private getPersonFromForm;
|
|
42
|
+
savePersonAfterSearch(): void;
|
|
43
|
+
private buildTableHeader;
|
|
44
|
+
private convertPersonToTableRow;
|
|
45
|
+
savePerson(): void;
|
|
46
|
+
onRowSelect(event: any): void;
|
|
47
|
+
saveSelectedPerson(): void;
|
|
48
|
+
getModalFormGroup(name: string): FormGroup;
|
|
49
|
+
getModalFormGroupInvalidClass(name: string): any;
|
|
50
|
+
getModalFormGroupHasError(name: string, field: string): boolean;
|
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PersonCreateModalComponent, never>;
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PersonCreateModalComponent, "oepa-person-create-modal", never, {}, { "onPersonCreated": "onPersonCreated"; }, never, never, false, never>;
|
|
53
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { TypeaheadMatch } from 'ngx-bootstrap/typeahead';
|
|
3
|
+
import { FormGroup } from '@angular/forms';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import { BsModalService } from 'ngx-bootstrap/modal';
|
|
6
|
+
import { OepaComponentIdService } from '@ohioepa/oepa-common-lib';
|
|
7
|
+
import { EntityService } from '../entity.service';
|
|
8
|
+
import { OEPAPerson } from '@ohioepa/oepa-ebiz-lib';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class PersonSearchInputComponent implements OnInit {
|
|
11
|
+
private idService;
|
|
12
|
+
private modalService;
|
|
13
|
+
private entityService;
|
|
14
|
+
nameSearch: string;
|
|
15
|
+
nameSource: Observable<OEPAPerson[]>;
|
|
16
|
+
componentId: string;
|
|
17
|
+
errorMessage: string;
|
|
18
|
+
searching: boolean;
|
|
19
|
+
group: FormGroup;
|
|
20
|
+
personID: string;
|
|
21
|
+
field: string;
|
|
22
|
+
title: string;
|
|
23
|
+
errorMessageAddendum: string;
|
|
24
|
+
rowLayout: boolean;
|
|
25
|
+
personSelected: EventEmitter<OEPAPerson>;
|
|
26
|
+
constructor(idService: OepaComponentIdService, modalService: BsModalService, entityService: EntityService);
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
onPersonSelect(e: TypeaheadMatch): void;
|
|
29
|
+
private loadPersonInForm;
|
|
30
|
+
private searchPersons;
|
|
31
|
+
advancedSearch(): void;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PersonSearchInputComponent, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PersonSearchInputComponent, "oepa-person-search-input", never, { "group": { "alias": "group"; "required": false; }; "personID": { "alias": "personID"; "required": false; }; "field": { "alias": "field"; "required": false; }; "title": { "alias": "title"; "required": false; }; "errorMessageAddendum": { "alias": "errorMessageAddendum"; "required": false; }; "rowLayout": { "alias": "rowLayout"; "required": false; }; }, { "personSelected": "personSelected"; }, never, never, false, never>;
|
|
34
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { BsModalRef } from 'ngx-bootstrap/modal';
|
|
4
|
+
import { BsModalService } from 'ngx-bootstrap/modal';
|
|
5
|
+
import { OEPAPerson, OEPAProgram } from '@ohioepa/oepa-ebiz-lib';
|
|
6
|
+
import { EntityService } from '../entity.service';
|
|
7
|
+
import { OEPAPersonFilter } from '@ohioepa/oepa-ebiz-lib';
|
|
8
|
+
import { OEPAReference } from '@ohioepa/oepa-common-lib';
|
|
9
|
+
import { OepaTableRow } from '../../table/oepa-table-row';
|
|
10
|
+
import { OepaTableHeader } from '../../table/oepa-table-header';
|
|
11
|
+
import { OepaTableConfig } from '../../table/oepa-table-config';
|
|
12
|
+
import { OepaFormsService } from '../../oepa-forms.service';
|
|
13
|
+
import * as i0 from "@angular/core";
|
|
14
|
+
export declare class PersonSearchModalComponent implements OnInit {
|
|
15
|
+
private fb;
|
|
16
|
+
bsModalRef: BsModalRef;
|
|
17
|
+
private modalService;
|
|
18
|
+
private formService;
|
|
19
|
+
private entityService;
|
|
20
|
+
modalFormGroup: FormGroup;
|
|
21
|
+
errorMessage: string;
|
|
22
|
+
inProgressMsg: string;
|
|
23
|
+
filter: OEPAPersonFilter;
|
|
24
|
+
selectedPerson: OEPAPerson | undefined;
|
|
25
|
+
personTypes: OEPAReference[];
|
|
26
|
+
programs: OEPAProgram[];
|
|
27
|
+
addressTypes: OEPAReference[];
|
|
28
|
+
phoneNumberTypes: OEPAReference[];
|
|
29
|
+
openSearchCriteria: boolean;
|
|
30
|
+
allowCreateNew: boolean;
|
|
31
|
+
initializing: boolean;
|
|
32
|
+
tableData: Array<OepaTableRow>;
|
|
33
|
+
tableHeader: OepaTableHeader;
|
|
34
|
+
tableConfig: OepaTableConfig;
|
|
35
|
+
onPersonSelected: EventEmitter<OEPAPerson>;
|
|
36
|
+
constructor(fb: FormBuilder, bsModalRef: BsModalRef, modalService: BsModalService, formService: OepaFormsService, entityService: EntityService);
|
|
37
|
+
ngOnInit(): void;
|
|
38
|
+
private loadReferenceData;
|
|
39
|
+
private retrievePersonTypes;
|
|
40
|
+
private retrievePrograms;
|
|
41
|
+
private retrieveAddressTypes;
|
|
42
|
+
private retrievePhoneNumberTypes;
|
|
43
|
+
private createForm;
|
|
44
|
+
private getFilterFromForm;
|
|
45
|
+
private filterIsEmpty;
|
|
46
|
+
submitSearch(): void;
|
|
47
|
+
private buildTableHeader;
|
|
48
|
+
private convertPersonToTableRow;
|
|
49
|
+
resetSearch(): void;
|
|
50
|
+
onRowSelect(event: any): void;
|
|
51
|
+
save(): void;
|
|
52
|
+
createNewPerson(): void;
|
|
53
|
+
getModalFormGroup(name: string): FormGroup;
|
|
54
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PersonSearchModalComponent, never>;
|
|
55
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PersonSearchModalComponent, "oepa-person-search-modal", never, {}, { "onPersonSelected": "onPersonSelected"; }, never, never, false, never>;
|
|
56
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class PlaceCreateModalComponent implements OnInit {
|
|
4
|
+
constructor();
|
|
5
|
+
ngOnInit(): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PlaceCreateModalComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PlaceCreateModalComponent, "oepa-place-create-modal", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { TypeaheadMatch } from 'ngx-bootstrap/typeahead';
|
|
3
|
+
import { FormGroup } from '@angular/forms';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import { BsModalService } from 'ngx-bootstrap/modal';
|
|
6
|
+
import { OepaComponentIdService } from '@ohioepa/oepa-common-lib';
|
|
7
|
+
import { EntityService } from '../entity.service';
|
|
8
|
+
import { OEPAPlace } from '@ohioepa/oepa-ebiz-lib';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class PlaceSearchInputComponent implements OnInit {
|
|
11
|
+
private idService;
|
|
12
|
+
private modalService;
|
|
13
|
+
private entityService;
|
|
14
|
+
nameSearch: string;
|
|
15
|
+
nameSource: Observable<OEPAPlace[]>;
|
|
16
|
+
componentId: string;
|
|
17
|
+
errorMessage: string;
|
|
18
|
+
searching: boolean;
|
|
19
|
+
group: FormGroup;
|
|
20
|
+
placeID: string;
|
|
21
|
+
field: string;
|
|
22
|
+
title: string;
|
|
23
|
+
errorMessageAddendum: string;
|
|
24
|
+
rowLayout: boolean;
|
|
25
|
+
placeSelected: EventEmitter<OEPAPlace>;
|
|
26
|
+
constructor(idService: OepaComponentIdService, modalService: BsModalService, entityService: EntityService);
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
onPlaceSelect(e: TypeaheadMatch): void;
|
|
29
|
+
private loadPlaceInForm;
|
|
30
|
+
private searchPlaces;
|
|
31
|
+
advancedSearch(): void;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PlaceSearchInputComponent, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PlaceSearchInputComponent, "oepa-place-search-input", never, { "group": { "alias": "group"; "required": false; }; "placeID": { "alias": "placeID"; "required": false; }; "field": { "alias": "field"; "required": false; }; "title": { "alias": "title"; "required": false; }; "errorMessageAddendum": { "alias": "errorMessageAddendum"; "required": false; }; "rowLayout": { "alias": "rowLayout"; "required": false; }; }, { "placeSelected": "placeSelected"; }, never, never, false, never>;
|
|
34
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { BsModalRef } from 'ngx-bootstrap/modal';
|
|
4
|
+
import { OEPAPlace } from '@ohioepa/oepa-ebiz-lib';
|
|
5
|
+
import { EntityService } from '../entity.service';
|
|
6
|
+
import { OEPAEntityFilter } from '@ohioepa/oepa-ebiz-lib';
|
|
7
|
+
import { OepaTableRow } from '../../table/oepa-table-row';
|
|
8
|
+
import { OepaTableHeader } from '../../table/oepa-table-header';
|
|
9
|
+
import { OepaTableConfig } from '../../table/oepa-table-config';
|
|
10
|
+
import { OepaFormsService } from '../../oepa-forms.service';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
export declare class PlaceSearchModalComponent implements OnInit {
|
|
13
|
+
private fb;
|
|
14
|
+
bsModalRef: BsModalRef;
|
|
15
|
+
private formService;
|
|
16
|
+
private entityService;
|
|
17
|
+
modalFormGroup: FormGroup;
|
|
18
|
+
errorMessage: string;
|
|
19
|
+
inProgressMsg: string;
|
|
20
|
+
filter: OEPAEntityFilter;
|
|
21
|
+
selectedPlace: OEPAPlace | undefined;
|
|
22
|
+
openSearchCriteria: boolean;
|
|
23
|
+
tableData: Array<OepaTableRow>;
|
|
24
|
+
tableHeader: OepaTableHeader;
|
|
25
|
+
tableConfig: OepaTableConfig;
|
|
26
|
+
onPlaceSelected: EventEmitter<OEPAPlace>;
|
|
27
|
+
constructor(fb: FormBuilder, bsModalRef: BsModalRef, formService: OepaFormsService, entityService: EntityService);
|
|
28
|
+
ngOnInit(): void;
|
|
29
|
+
private createForm;
|
|
30
|
+
private getFilterFromForm;
|
|
31
|
+
private filterIsEmpty;
|
|
32
|
+
submitSearch(): void;
|
|
33
|
+
private buildTableHeader;
|
|
34
|
+
private convertPlaceToTableRow;
|
|
35
|
+
resetSearch(): void;
|
|
36
|
+
onRowSelect(event: any): void;
|
|
37
|
+
save(): void;
|
|
38
|
+
getModalFormGroup(name: string): FormGroup;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PlaceSearchModalComponent, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PlaceSearchModalComponent, "oepa-place-search-modal", never, {}, { "onPlaceSelected": "onPlaceSelected"; }, never, never, false, never>;
|
|
41
|
+
}
|