@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,28 @@
|
|
|
1
|
+
import { OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { BsDatepickerConfig } from 'ngx-bootstrap/datepicker';
|
|
4
|
+
import { OepaComponentIdService } from '@ohioepa/oepa-common-lib';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class DatepickerComponent implements OnInit, OnChanges {
|
|
7
|
+
private idService;
|
|
8
|
+
componentId: string;
|
|
9
|
+
group: FormGroup;
|
|
10
|
+
field: string;
|
|
11
|
+
bsConfig: Partial<BsDatepickerConfig>;
|
|
12
|
+
showValidation: boolean;
|
|
13
|
+
placement: string;
|
|
14
|
+
tableIdx: number | undefined;
|
|
15
|
+
small: boolean;
|
|
16
|
+
minDate: Date | undefined;
|
|
17
|
+
maxDate: Date | undefined;
|
|
18
|
+
isDisabled: boolean;
|
|
19
|
+
getPlacement(): 'top' | 'bottom' | 'left' | 'right';
|
|
20
|
+
constructor(idService: OepaComponentIdService);
|
|
21
|
+
checkValidity(): boolean | null;
|
|
22
|
+
clearDate(): void;
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
onValueChange(event: any): void;
|
|
25
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerComponent, "oepa-datepicker", never, { "group": { "alias": "group"; "required": false; }; "field": { "alias": "field"; "required": false; }; "bsConfig": { "alias": "bsConfig"; "required": false; }; "showValidation": { "alias": "showValidation"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "tableIdx": { "alias": "tableIdx"; "required": false; }; "small": { "alias": "small"; "required": false; }; }, {}, never, never, false, never>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { BsDatepickerConfig } from 'ngx-bootstrap/datepicker';
|
|
4
|
+
import { OepaComponentIdService } from '@ohioepa/oepa-common-lib';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class DaterangepickerComponent implements OnInit {
|
|
7
|
+
private idService;
|
|
8
|
+
componentId: string;
|
|
9
|
+
minDate: Date | undefined;
|
|
10
|
+
maxDate: Date | undefined;
|
|
11
|
+
isDisabled: boolean;
|
|
12
|
+
group: FormGroup;
|
|
13
|
+
field: string;
|
|
14
|
+
bsConfig: Partial<BsDatepickerConfig>;
|
|
15
|
+
showValidation: boolean;
|
|
16
|
+
constructor(idService: OepaComponentIdService);
|
|
17
|
+
checkValidity(): boolean | null;
|
|
18
|
+
clearRange(): void;
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaterangepickerComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DaterangepickerComponent, "oepa-daterangepicker", never, { "group": { "alias": "group"; "required": false; }; "field": { "alias": "field"; "required": false; }; "bsConfig": { "alias": "bsConfig"; "required": false; }; "showValidation": { "alias": "showValidation"; "required": false; }; }, {}, never, never, false, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { OnInit, AfterViewInit } from '@angular/core';
|
|
2
|
+
import { PortalDocument } from '../portal-document';
|
|
3
|
+
import { PortalDocumentSection } from '../portal-document-section';
|
|
4
|
+
import { DocumentService } from '../document.service';
|
|
5
|
+
import { BsModalService } from 'ngx-bootstrap/modal';
|
|
6
|
+
import { ToastrService } from 'ngx-toastr';
|
|
7
|
+
import { TabsetComponent } from 'ngx-bootstrap/tabs';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class DocumentEditorComponent implements OnInit, AfterViewInit {
|
|
10
|
+
private modalService;
|
|
11
|
+
private toastr;
|
|
12
|
+
private documentService;
|
|
13
|
+
document: PortalDocument | undefined;
|
|
14
|
+
allowRemoveSection: boolean;
|
|
15
|
+
showSectionOptions: boolean;
|
|
16
|
+
documentSectionTabs?: TabsetComponent;
|
|
17
|
+
busy: boolean;
|
|
18
|
+
private static selectedTabIndex;
|
|
19
|
+
constructor(modalService: BsModalService, toastr: ToastrService, documentService: DocumentService);
|
|
20
|
+
ngOnInit(): void;
|
|
21
|
+
ngAfterViewInit(): void;
|
|
22
|
+
onSectionTabSelect(index: number): void;
|
|
23
|
+
moveSectionUp(section: PortalDocumentSection): void;
|
|
24
|
+
insertAboveSection(section: PortalDocumentSection): void;
|
|
25
|
+
moveSectionDown(section: PortalDocumentSection): void;
|
|
26
|
+
insertBelowSection(section: PortalDocumentSection): void;
|
|
27
|
+
private newSection;
|
|
28
|
+
private insertSection;
|
|
29
|
+
private resequence;
|
|
30
|
+
deleteSection(section: PortalDocumentSection): void;
|
|
31
|
+
editSection(section: PortalDocumentSection): void;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DocumentEditorComponent, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DocumentEditorComponent, "oepa-document-editor", never, { "document": { "alias": "document"; "required": false; }; "allowRemoveSection": { "alias": "allowRemoveSection"; "required": false; }; "showSectionOptions": { "alias": "showSectionOptions"; "required": false; }; }, {}, never, never, false, never>;
|
|
34
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DocumentEventEntityType } from "./document-event-entity-type";
|
|
2
|
+
import { DocumentEventType } from "./document-event-type";
|
|
3
|
+
export interface DocumentEvent {
|
|
4
|
+
eventType?: DocumentEventType;
|
|
5
|
+
entityType?: DocumentEventEntityType;
|
|
6
|
+
entityID?: string;
|
|
7
|
+
confirmationMessage?: string;
|
|
8
|
+
entity?: any;
|
|
9
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { PortalDocumentGroup } from '../portal-document-group';
|
|
3
|
+
import { PortalDocumentPart } from '../portal-document-part';
|
|
4
|
+
import { DocumentService } from '../document.service';
|
|
5
|
+
import { BsModalService } from 'ngx-bootstrap/modal';
|
|
6
|
+
import { ToastrService } from 'ngx-toastr';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class DocumentGroupComponent implements OnInit {
|
|
9
|
+
private modalService;
|
|
10
|
+
private toastr;
|
|
11
|
+
private documentService;
|
|
12
|
+
group: PortalDocumentGroup;
|
|
13
|
+
onMoveUp: EventEmitter<PortalDocumentGroup>;
|
|
14
|
+
onInsertAbove: EventEmitter<PortalDocumentGroup>;
|
|
15
|
+
onMoveDown: EventEmitter<PortalDocumentGroup>;
|
|
16
|
+
onInsertBelow: EventEmitter<PortalDocumentGroup>;
|
|
17
|
+
onDelete: EventEmitter<PortalDocumentGroup>;
|
|
18
|
+
busy: boolean;
|
|
19
|
+
constructor(modalService: BsModalService, toastr: ToastrService, documentService: DocumentService);
|
|
20
|
+
ngOnInit(): void;
|
|
21
|
+
moveUp(): void;
|
|
22
|
+
insertAbove(): void;
|
|
23
|
+
moveDown(): void;
|
|
24
|
+
insertBelow(): void;
|
|
25
|
+
delete(): void;
|
|
26
|
+
movePartUp(part: PortalDocumentPart): void;
|
|
27
|
+
insertAbovePart(part: PortalDocumentPart): void;
|
|
28
|
+
movePartDown(part: PortalDocumentPart): void;
|
|
29
|
+
insertBelowPart(part: PortalDocumentPart): void;
|
|
30
|
+
private newPart;
|
|
31
|
+
private insertPart;
|
|
32
|
+
deletePart(part: PortalDocumentPart): void;
|
|
33
|
+
private doDeletePart;
|
|
34
|
+
private resequence;
|
|
35
|
+
editGroup(group: PortalDocumentGroup): void;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DocumentGroupComponent, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DocumentGroupComponent, "oepa-document-group", never, { "group": { "alias": "group"; "required": false; }; }, { "onMoveUp": "onMoveUp"; "onInsertAbove": "onInsertAbove"; "onMoveDown": "onMoveDown"; "onInsertBelow": "onInsertBelow"; "onDelete": "onDelete"; }, never, never, false, never>;
|
|
38
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { PortalDocumentPart } from '../portal-document-part';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DocumentPartComponent implements OnInit {
|
|
5
|
+
part: PortalDocumentPart;
|
|
6
|
+
constructor();
|
|
7
|
+
ngOnInit(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DocumentPartComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DocumentPartComponent, "oepa-document-part", never, { "part": { "alias": "part"; "required": false; }; }, {}, never, never, false, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { PortalDocumentPart } from '../portal-document-part';
|
|
3
|
+
import { FormGroup, FormBuilder } from '@angular/forms';
|
|
4
|
+
import { DocumentService } from '../document.service';
|
|
5
|
+
import { ToastrService } from 'ngx-toastr';
|
|
6
|
+
import { BsModalService } from 'ngx-bootstrap/modal';
|
|
7
|
+
import { SummernoteOptions } from 'ngx-summernote/lib/summernote-options';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class DocumentPartEditorComponent implements OnInit {
|
|
10
|
+
private fb;
|
|
11
|
+
private modalService;
|
|
12
|
+
private toastr;
|
|
13
|
+
documentService: DocumentService;
|
|
14
|
+
part: PortalDocumentPart;
|
|
15
|
+
editing: boolean;
|
|
16
|
+
partChange: EventEmitter<PortalDocumentPart>;
|
|
17
|
+
onMoveUp: EventEmitter<PortalDocumentPart>;
|
|
18
|
+
onInsertAbove: EventEmitter<PortalDocumentPart>;
|
|
19
|
+
onMoveDown: EventEmitter<PortalDocumentPart>;
|
|
20
|
+
onInsertBelow: EventEmitter<PortalDocumentPart>;
|
|
21
|
+
onDelete: EventEmitter<PortalDocumentPart>;
|
|
22
|
+
form: FormGroup;
|
|
23
|
+
config: SummernoteOptions;
|
|
24
|
+
errorMessage: string;
|
|
25
|
+
busy: boolean;
|
|
26
|
+
constructor(fb: FormBuilder, modalService: BsModalService, toastr: ToastrService, documentService: DocumentService);
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
private createForm;
|
|
29
|
+
private initializePart;
|
|
30
|
+
savePart(): void;
|
|
31
|
+
editPart(part: PortalDocumentPart): void;
|
|
32
|
+
updateDisplay(display: boolean): void;
|
|
33
|
+
moveUp(): void;
|
|
34
|
+
insertAbove(): void;
|
|
35
|
+
moveDown(): void;
|
|
36
|
+
insertBelow(): void;
|
|
37
|
+
delete(): void;
|
|
38
|
+
doCustomAction(): void;
|
|
39
|
+
getConfig(): SummernoteOptions;
|
|
40
|
+
private invokePlaceHolderModal;
|
|
41
|
+
private invokeMonitoringPlaceHolderModal;
|
|
42
|
+
private invokeSchedulePlaceHolderModal;
|
|
43
|
+
private invokeErasePlaceHolder;
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DocumentPartEditorComponent, never>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DocumentPartEditorComponent, "oepa-document-part-editor", never, { "part": { "alias": "part"; "required": false; }; "editing": { "alias": "editing"; "required": false; }; }, { "partChange": "partChange"; "onMoveUp": "onMoveUp"; "onInsertAbove": "onInsertAbove"; "onMoveDown": "onMoveDown"; "onInsertBelow": "onInsertBelow"; "onDelete": "onDelete"; }, never, never, false, never>;
|
|
46
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { BsModalRef } from 'ngx-bootstrap/modal';
|
|
3
|
+
import { PortalDocumentPlaceholder } from '../portal-document-placeholder';
|
|
4
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class DocumentPlaceholderModalComponent implements OnInit {
|
|
7
|
+
private fb;
|
|
8
|
+
private bsModalRef;
|
|
9
|
+
placeholders: PortalDocumentPlaceholder[];
|
|
10
|
+
placeholderSelected: EventEmitter<PortalDocumentPlaceholder>;
|
|
11
|
+
modalForm: FormGroup;
|
|
12
|
+
hasPlaceholderChildren: boolean;
|
|
13
|
+
constructor(fb: FormBuilder, bsModalRef: BsModalRef);
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
submit(): void;
|
|
16
|
+
cancel(): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DocumentPlaceholderModalComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DocumentPlaceholderModalComponent, "oepa-document-placeholder-modal", never, { "placeholders": { "alias": "placeholders"; "required": false; }; }, { "placeholderSelected": "placeholderSelected"; }, never, never, false, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { PortalDocumentSection } from '../portal-document-section';
|
|
3
|
+
import { PortalDocumentGroup } from '../portal-document-group';
|
|
4
|
+
import { BsModalService } from 'ngx-bootstrap/modal';
|
|
5
|
+
import { ToastrService } from 'ngx-toastr';
|
|
6
|
+
import { DocumentService } from '../document.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class DocumentSectionComponent implements OnInit {
|
|
9
|
+
private modalService;
|
|
10
|
+
private toastr;
|
|
11
|
+
private documentService;
|
|
12
|
+
section: PortalDocumentSection;
|
|
13
|
+
onMoveUp: EventEmitter<PortalDocumentSection>;
|
|
14
|
+
onInsertAbove: EventEmitter<PortalDocumentSection>;
|
|
15
|
+
onMoveDown: EventEmitter<PortalDocumentSection>;
|
|
16
|
+
onInsertBelow: EventEmitter<PortalDocumentSection>;
|
|
17
|
+
onDelete: EventEmitter<PortalDocumentSection>;
|
|
18
|
+
busy: boolean;
|
|
19
|
+
constructor(modalService: BsModalService, toastr: ToastrService, documentService: DocumentService);
|
|
20
|
+
ngOnInit(): void;
|
|
21
|
+
moveUp(): void;
|
|
22
|
+
insertAbove(): void;
|
|
23
|
+
moveDown(): void;
|
|
24
|
+
insertBelow(): void;
|
|
25
|
+
delete(): void;
|
|
26
|
+
moveGroupUp(group: PortalDocumentGroup): void;
|
|
27
|
+
insertAboveGroup(group: PortalDocumentGroup): void;
|
|
28
|
+
moveGroupDown(group: PortalDocumentGroup): void;
|
|
29
|
+
insertBelowGroup(group: PortalDocumentGroup): void;
|
|
30
|
+
private newGroup;
|
|
31
|
+
private insertGroup;
|
|
32
|
+
private resequence;
|
|
33
|
+
deleteGroup(group: PortalDocumentGroup): void;
|
|
34
|
+
editSection(section: PortalDocumentSection): void;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DocumentSectionComponent, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DocumentSectionComponent, "oepa-document-section", never, { "section": { "alias": "section"; "required": false; }; }, { "onMoveUp": "onMoveUp"; "onInsertAbove": "onInsertAbove"; "onMoveDown": "onMoveDown"; "onInsertBelow": "onInsertBelow"; "onDelete": "onDelete"; }, never, never, false, never>;
|
|
37
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { PortalDocumentPlaceholder } from './portal-document-placeholder';
|
|
4
|
+
import { PortalDocumentSection } from './portal-document-section';
|
|
5
|
+
import { PortalDocumentGroup } from './portal-document-group';
|
|
6
|
+
import { PortalDocumentPart } from './portal-document-part';
|
|
7
|
+
import { PortalDocumentText } from './portal-document-text';
|
|
8
|
+
import { PortalDocument } from './portal-document';
|
|
9
|
+
import { PortalDocumentType } from './portal-document-type';
|
|
10
|
+
import { DocumentEvent } from './document-event';
|
|
11
|
+
import { PortalEmailFilter } from './portal-email-filter';
|
|
12
|
+
import { PortalEmail } from './portal-email';
|
|
13
|
+
import { OepaAction } from '../action-btn/oepa-action';
|
|
14
|
+
import * as i0 from "@angular/core";
|
|
15
|
+
export declare class DocumentService {
|
|
16
|
+
private http;
|
|
17
|
+
private placeholders;
|
|
18
|
+
private monitoringPlaceholders;
|
|
19
|
+
private monitoringLabel;
|
|
20
|
+
private scheduleLabel;
|
|
21
|
+
private schedulePlaceholders;
|
|
22
|
+
private toolbar;
|
|
23
|
+
private height;
|
|
24
|
+
private tabSize;
|
|
25
|
+
private fontNames;
|
|
26
|
+
private documentIDSubject;
|
|
27
|
+
private selectedSectionNameSubject;
|
|
28
|
+
private documentPartActionSubject;
|
|
29
|
+
private documentPartUpdateSubject;
|
|
30
|
+
private documentEventSubject;
|
|
31
|
+
private overridenEvents;
|
|
32
|
+
private customPartAction;
|
|
33
|
+
constructor(http: HttpClient);
|
|
34
|
+
setPlaceholders(placeholders: PortalDocumentPlaceholder[]): void;
|
|
35
|
+
getPlaceholders(): PortalDocumentPlaceholder[];
|
|
36
|
+
setMonitoringPlaceholders(placeholders: PortalDocumentPlaceholder[], monitoringLabel?: string): void;
|
|
37
|
+
getMonitoringPlaceholders(): PortalDocumentPlaceholder[];
|
|
38
|
+
getMonitoringLabel(): string;
|
|
39
|
+
setSchedulePlaceholders(placeholders: PortalDocumentPlaceholder[], scheduleLabel?: string): void;
|
|
40
|
+
getSchedulePlaceholders(): PortalDocumentPlaceholder[];
|
|
41
|
+
getScheduleLabel(): string;
|
|
42
|
+
setToolbar(toolbar: any): void;
|
|
43
|
+
getToolbar(): any;
|
|
44
|
+
setFontNames(fontNames: string[]): void;
|
|
45
|
+
getFontNames(): string[];
|
|
46
|
+
setHeight(height: number): void;
|
|
47
|
+
getHeight(): number;
|
|
48
|
+
setTabSize(tabSize: number): void;
|
|
49
|
+
getTabSize(): number;
|
|
50
|
+
updateDcoumentID(id: string): void;
|
|
51
|
+
updateSelectedSectionName(name: string | undefined): void;
|
|
52
|
+
overrideEvent(event: DocumentEvent): void;
|
|
53
|
+
removeOverridenEvent(event: DocumentEvent): void;
|
|
54
|
+
isOverriddenEvent(event: DocumentEvent): DocumentEvent | undefined;
|
|
55
|
+
getDocumentIDSubject(): Observable<string>;
|
|
56
|
+
getSelectedSectionName(): Observable<string>;
|
|
57
|
+
getDocumentEventSubject(): Observable<DocumentEvent>;
|
|
58
|
+
retrieveDocumentTemplate(templateID: string): Observable<PortalDocument>;
|
|
59
|
+
cloneDocumentTemplate(template: PortalDocumentType): Observable<string>;
|
|
60
|
+
retrieveDocument(id: string): Observable<PortalDocument>;
|
|
61
|
+
retrieveLegacyDocumentTemplate(id: string): Observable<PortalDocument>;
|
|
62
|
+
retrieveLegacyDocumentForPermit(permitID: string): Observable<PortalDocument>;
|
|
63
|
+
updateDocument(document: PortalDocument): Observable<any>;
|
|
64
|
+
createDocumentSection(section: PortalDocumentSection): Observable<string>;
|
|
65
|
+
updateDocumentSection(section: PortalDocumentSection): Observable<any>;
|
|
66
|
+
deleteDocumentSection(section: PortalDocumentSection): Observable<any>;
|
|
67
|
+
doDeleteDocumentSection(section: PortalDocumentSection): Observable<any>;
|
|
68
|
+
createDocumentGroup(group: PortalDocumentGroup): Observable<string>;
|
|
69
|
+
retrieveDocumentGroup(documentID: string, groupID: string): Observable<PortalDocumentGroup>;
|
|
70
|
+
updateDocumentGroup(group: PortalDocumentGroup): Observable<any>;
|
|
71
|
+
deleteDocumentGroup(group: PortalDocumentGroup): Observable<any>;
|
|
72
|
+
doDeleteDocumentGroup(group: PortalDocumentGroup): Observable<any>;
|
|
73
|
+
createDocumentPart(part: PortalDocumentPart): Observable<string>;
|
|
74
|
+
updateDocumentPart(part: PortalDocumentPart): Observable<any>;
|
|
75
|
+
deleteDocumentPart(part: PortalDocumentPart): Observable<any>;
|
|
76
|
+
updateDocumentText(documentID: string, partID: string, text: PortalDocumentText): Observable<any>;
|
|
77
|
+
retrieveAllDocumentPlaceholders(serviceName: string): Observable<PortalDocumentPlaceholder[]>;
|
|
78
|
+
setCustomPartAction(action: OepaAction): void;
|
|
79
|
+
getCustomPartAction(): OepaAction | undefined;
|
|
80
|
+
getDocumentPartActionSubject(): Observable<PortalDocumentPart>;
|
|
81
|
+
fireCustomPartAction(part: PortalDocumentPart): void;
|
|
82
|
+
getDocumentPartUpdateSubject(): Observable<PortalDocumentPart>;
|
|
83
|
+
fireDocumentPartUpdate(part: PortalDocumentPart): void;
|
|
84
|
+
searchEmails(filter: PortalEmailFilter): Observable<PortalEmail[]>;
|
|
85
|
+
retrieveDocumentByDocumentID(documentID: string): Observable<PortalDocument>;
|
|
86
|
+
updateApprovalStatusForEmails(ids: string[], status: string): Observable<any>;
|
|
87
|
+
sendApprovedEmails(emails: PortalEmail[]): Observable<any>;
|
|
88
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DocumentService, never>;
|
|
89
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DocumentService>;
|
|
90
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { PortalDocumentGroup } from '../portal-document-group';
|
|
3
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
4
|
+
import { BsModalRef } from 'ngx-bootstrap/modal';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class GroupModalComponent implements OnInit {
|
|
7
|
+
private fb;
|
|
8
|
+
bsModalRef: BsModalRef;
|
|
9
|
+
group: PortalDocumentGroup;
|
|
10
|
+
label: string;
|
|
11
|
+
onGroupSave: EventEmitter<PortalDocumentGroup>;
|
|
12
|
+
modalForm: FormGroup;
|
|
13
|
+
constructor(fb: FormBuilder, bsModalRef: BsModalRef);
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
private createForm;
|
|
16
|
+
save(): void;
|
|
17
|
+
cancel(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GroupModalComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GroupModalComponent, "oepa-group-modal", never, { "group": { "alias": "group"; "required": false; }; "label": { "alias": "label"; "required": false; }; }, { "onGroupSave": "onGroupSave"; }, never, never, false, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { PortalDocumentPart } from '../portal-document-part';
|
|
3
|
+
import { BsModalRef } from 'ngx-bootstrap/modal';
|
|
4
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class PartModalComponent implements OnInit {
|
|
7
|
+
private fb;
|
|
8
|
+
bsModalRef: BsModalRef;
|
|
9
|
+
label: string;
|
|
10
|
+
part: PortalDocumentPart;
|
|
11
|
+
onPartSave: EventEmitter<PortalDocumentPart>;
|
|
12
|
+
modalForm: FormGroup;
|
|
13
|
+
constructor(fb: FormBuilder, bsModalRef: BsModalRef);
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
private createForm;
|
|
16
|
+
save(): void;
|
|
17
|
+
cancel(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PartModalComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PartModalComponent, "oepa-part-modal", never, { "label": { "alias": "label"; "required": false; }; "part": { "alias": "part"; "required": false; }; }, { "onPartSave": "onPartSave"; }, never, never, false, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Interface for us.oh.state.epa.portal.document.PortalDocumentClass
|
|
3
|
+
*/
|
|
4
|
+
import { DomainObject } from '@ohioepa/oepa-ebiz-lib';
|
|
5
|
+
export interface PortalDocumentClass extends DomainObject {
|
|
6
|
+
className?: string;
|
|
7
|
+
subclassName?: string;
|
|
8
|
+
comments?: string;
|
|
9
|
+
serviceName?: string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Interface for us.oh.state.epa.portal.document.PortalDocumentGroup
|
|
3
|
+
*/
|
|
4
|
+
import { DomainObject } from '@ohioepa/oepa-ebiz-lib';
|
|
5
|
+
import { PortalDocumentPart } from "./portal-document-part";
|
|
6
|
+
export interface PortalDocumentGroup extends DomainObject {
|
|
7
|
+
sectionID?: string;
|
|
8
|
+
name?: string;
|
|
9
|
+
type?: string;
|
|
10
|
+
notes?: string;
|
|
11
|
+
documentID?: string;
|
|
12
|
+
sequence?: number;
|
|
13
|
+
parts?: PortalDocumentPart[];
|
|
14
|
+
isCollapsed?: boolean;
|
|
15
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Interface for us.oh.state.epa.portal.document.PortalDocumentPart
|
|
3
|
+
*/
|
|
4
|
+
import { DomainObject } from '@ohioepa/oepa-ebiz-lib';
|
|
5
|
+
import { PortalDocumentText } from "./portal-document-text";
|
|
6
|
+
export interface PortalDocumentPart extends DomainObject {
|
|
7
|
+
parentPartID?: string;
|
|
8
|
+
groupID?: string;
|
|
9
|
+
documentID?: string;
|
|
10
|
+
sequence?: number;
|
|
11
|
+
text?: PortalDocumentText;
|
|
12
|
+
sourceText?: PortalDocumentText;
|
|
13
|
+
name?: string;
|
|
14
|
+
display?: boolean;
|
|
15
|
+
required?: boolean;
|
|
16
|
+
listType?: string;
|
|
17
|
+
listValue?: string;
|
|
18
|
+
level?: number;
|
|
19
|
+
differsFromBoilerplate?: boolean;
|
|
20
|
+
parts?: PortalDocumentPart[];
|
|
21
|
+
isCollapsed?: boolean;
|
|
22
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Interface for us.oh.state.epa.portal.document.PortalDocumentPlaceholder
|
|
3
|
+
*/
|
|
4
|
+
import { DomainObject } from '@ohioepa/oepa-ebiz-lib';
|
|
5
|
+
export interface PortalDocumentPlaceholder extends DomainObject {
|
|
6
|
+
displayName?: string;
|
|
7
|
+
itemName?: string;
|
|
8
|
+
format?: string;
|
|
9
|
+
comments?: string;
|
|
10
|
+
children?: PortalDocumentPlaceholder[];
|
|
11
|
+
info?: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Interface for us.oh.state.epa.portal.document.PortalDocumentSection
|
|
3
|
+
*/
|
|
4
|
+
import { DomainObject } from '@ohioepa/oepa-ebiz-lib';
|
|
5
|
+
import { PortalDocumentGroup } from "./portal-document-group";
|
|
6
|
+
export interface PortalDocumentSection extends DomainObject {
|
|
7
|
+
documentID?: string;
|
|
8
|
+
name?: string;
|
|
9
|
+
notes?: string;
|
|
10
|
+
sequence?: number;
|
|
11
|
+
groups?: PortalDocumentGroup[];
|
|
12
|
+
isCollapsed?: boolean;
|
|
13
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Interface for us.oh.state.epa.portal.document.PortalDocumentType
|
|
3
|
+
*/
|
|
4
|
+
import { DomainObject, Attachment } from '@ohioepa/oepa-ebiz-lib';
|
|
5
|
+
import { PortalDocumentClass } from "./portal-document-class";
|
|
6
|
+
export interface PortalDocumentType extends DomainObject {
|
|
7
|
+
documentClass?: PortalDocumentClass;
|
|
8
|
+
category?: string;
|
|
9
|
+
type?: string;
|
|
10
|
+
subType?: string;
|
|
11
|
+
coverage?: string;
|
|
12
|
+
name?: string;
|
|
13
|
+
comments?: string;
|
|
14
|
+
template?: Attachment;
|
|
15
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Interface for us.oh.state.epa.portal.document.PortalDocument
|
|
3
|
+
*/
|
|
4
|
+
import { PortalDocumentSection } from "./portal-document-section";
|
|
5
|
+
import { PortalDocumentClass } from "./portal-document-class";
|
|
6
|
+
import { DomainObject } from '@ohioepa/oepa-ebiz-lib';
|
|
7
|
+
export interface PortalDocument extends DomainObject {
|
|
8
|
+
documentClass?: PortalDocumentClass;
|
|
9
|
+
documentTypeID?: string;
|
|
10
|
+
serviceName?: string;
|
|
11
|
+
name?: string;
|
|
12
|
+
comments?: string;
|
|
13
|
+
versionNumber?: string;
|
|
14
|
+
versionName?: string;
|
|
15
|
+
effectiveDate?: Date;
|
|
16
|
+
expirationDate?: Date;
|
|
17
|
+
isBoilerplate?: boolean;
|
|
18
|
+
header?: string;
|
|
19
|
+
body?: string;
|
|
20
|
+
footer?: string;
|
|
21
|
+
isFinal?: boolean;
|
|
22
|
+
documentCategory?: string;
|
|
23
|
+
documentType?: string;
|
|
24
|
+
documentSubtype?: string;
|
|
25
|
+
documentCoverage?: string;
|
|
26
|
+
sections?: PortalDocumentSection[];
|
|
27
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EDocumentAttachment } from "../edoc-attachment/edocument-attachment";
|
|
2
|
+
import { DomainObject } from '@ohioepa/oepa-ebiz-lib';
|
|
3
|
+
import { PortalEmailAttachmentType } from "./portal-email-attachment-type";
|
|
4
|
+
export interface PortalEmailAttachment extends DomainObject {
|
|
5
|
+
attachmentType?: PortalEmailAttachmentType;
|
|
6
|
+
emailID?: string;
|
|
7
|
+
userFileName?: string;
|
|
8
|
+
systemFileName?: string;
|
|
9
|
+
location?: string;
|
|
10
|
+
fileSize?: number;
|
|
11
|
+
eDocAttachment?: EDocumentAttachment;
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface PortalEmailFilter {
|
|
2
|
+
startDate?: Date;
|
|
3
|
+
endDate?: Date;
|
|
4
|
+
documentCategory?: string;
|
|
5
|
+
documentSubClass?: string;
|
|
6
|
+
documentType?: string;
|
|
7
|
+
documentSubtype?: string;
|
|
8
|
+
documentCoverage?: string;
|
|
9
|
+
emailSent?: boolean;
|
|
10
|
+
referenceID?: string;
|
|
11
|
+
approvalStatus?: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DomainObject } from '@ohioepa/oepa-ebiz-lib';
|
|
2
|
+
import { PortalEmailAttachment } from "./portal-email-attachment";
|
|
3
|
+
import { PortalDocument } from "./portal-document";
|
|
4
|
+
export interface PortalEmail extends DomainObject {
|
|
5
|
+
document?: PortalDocument;
|
|
6
|
+
sender?: string;
|
|
7
|
+
subject?: string;
|
|
8
|
+
recipients?: string[];
|
|
9
|
+
ccList?: string[];
|
|
10
|
+
body?: string;
|
|
11
|
+
referenceID?: string;
|
|
12
|
+
referenceDesc?: string;
|
|
13
|
+
templateID?: string;
|
|
14
|
+
description?: string;
|
|
15
|
+
attachments?: PortalEmailAttachment[];
|
|
16
|
+
emailSent?: boolean;
|
|
17
|
+
approvalStatus?: string;
|
|
18
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { PortalDocumentSection } from '../portal-document-section';
|
|
3
|
+
import { FormGroup, FormBuilder } from '@angular/forms';
|
|
4
|
+
import { BsModalRef } from 'ngx-bootstrap/modal';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class SectionModalComponent implements OnInit {
|
|
7
|
+
private fb;
|
|
8
|
+
bsModalRef: BsModalRef;
|
|
9
|
+
section: PortalDocumentSection;
|
|
10
|
+
label: string;
|
|
11
|
+
onSectionSave: EventEmitter<PortalDocumentSection>;
|
|
12
|
+
modalForm: FormGroup;
|
|
13
|
+
constructor(fb: FormBuilder, bsModalRef: BsModalRef);
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
private createForm;
|
|
16
|
+
save(): void;
|
|
17
|
+
cancel(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SectionModalComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SectionModalComponent, "oepa-insert-section-modal", never, { "section": { "alias": "section"; "required": false; }; "label": { "alias": "label"; "required": false; }; }, { "onSectionSave": "onSectionSave"; }, never, never, false, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Utility class to not hardcode sort directions
|
|
5
|
+
*/
|
|
6
|
+
export declare class SortOptions {
|
|
7
|
+
/**
|
|
8
|
+
* Static property to defined ASC and DESC values
|
|
9
|
+
* to avoid hardcoding and repeating
|
|
10
|
+
* replaces string enums
|
|
11
|
+
*/
|
|
12
|
+
static direction: {
|
|
13
|
+
ASC: string;
|
|
14
|
+
DESC: string;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Pipe used to sort arrays by using lodash
|
|
19
|
+
* Takes array and array of 2 strings(parameters), key and direction
|
|
20
|
+
* direction must be either ASC or DESC
|
|
21
|
+
*/
|
|
22
|
+
export declare class ArraySortPipe implements PipeTransform {
|
|
23
|
+
transform(array: Array<any>, args: string[]): Array<string> | Array<any>;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArraySortPipe, never>;
|
|
25
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ArraySortPipe, "arraySort", false>;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Pipe used to filter array, takes input array and
|
|
29
|
+
* array of 2 arguments, key of object and search term
|
|
30
|
+
* if key does not exist, pipe assumes the item is string
|
|
31
|
+
*/
|
|
32
|
+
export declare class ArrayFilterPipe implements PipeTransform {
|
|
33
|
+
transform(array: Array<any>, args: string[]): Array<string> | Array<any>;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArrayFilterPipe, never>;
|
|
35
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ArrayFilterPipe, "arrayFilter", false>;
|
|
36
|
+
}
|