@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,38 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { OepaAttestation } from './oepa-attestation';
|
|
4
|
+
import { OepaSecurityQuestion } from './oepa-security-question';
|
|
5
|
+
import { OepaPin } from './oepa-pin';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class OepaPinService {
|
|
8
|
+
private http;
|
|
9
|
+
private pinsUrl;
|
|
10
|
+
constructor(http: HttpClient);
|
|
11
|
+
/**
|
|
12
|
+
* Retrieve an attestation by id.
|
|
13
|
+
* @param attestationID
|
|
14
|
+
*/
|
|
15
|
+
retrieveAttestationByID(attestationID: string): Observable<OepaAttestation>;
|
|
16
|
+
/**
|
|
17
|
+
* Retrieve an attestation of the specified type.
|
|
18
|
+
* @param attestationType
|
|
19
|
+
*/
|
|
20
|
+
retrieveAttestation(attestationType: string): Observable<OepaAttestation>;
|
|
21
|
+
/**
|
|
22
|
+
* Retrieve a random security question for the current user.
|
|
23
|
+
*/
|
|
24
|
+
retrieveSecurityQuestion(): Observable<OepaSecurityQuestion>;
|
|
25
|
+
/**
|
|
26
|
+
* Validate the pin entered by a user.
|
|
27
|
+
* @param pin
|
|
28
|
+
*/
|
|
29
|
+
validate(pin: OepaPin): Observable<boolean>;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @param userID Retrieve the Pin for the specified userID
|
|
33
|
+
* @returns OepaPin
|
|
34
|
+
*/
|
|
35
|
+
retrievePin(userID: string): Observable<OepaPin>;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OepaPinService, never>;
|
|
37
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<OepaPinService>;
|
|
38
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { BsModalRef } from 'ngx-bootstrap/modal';
|
|
5
|
+
import { OepaUserAccountService, OepaUserAccount } from '@ohioepa/oepa-common-lib';
|
|
6
|
+
import { OepaAttestation } from './oepa-attestation';
|
|
7
|
+
import { OepaSecurityQuestion } from './oepa-security-question';
|
|
8
|
+
import { OepaPinService } from './oepa-pin.service';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class PinModalComponent implements OnInit {
|
|
11
|
+
private userAccountService;
|
|
12
|
+
private fb;
|
|
13
|
+
private pinService;
|
|
14
|
+
bsModalRef: BsModalRef;
|
|
15
|
+
private _attestationID;
|
|
16
|
+
set attestationID(id: string);
|
|
17
|
+
get attestationID(): string;
|
|
18
|
+
submitCallback: () => Observable<any>;
|
|
19
|
+
submittingComponent: any;
|
|
20
|
+
close: EventEmitter<void>;
|
|
21
|
+
imageRoot: string;
|
|
22
|
+
oepaSubmissionForm: FormGroup;
|
|
23
|
+
pinAttestation: OepaAttestation;
|
|
24
|
+
serviceAttestation: OepaAttestation;
|
|
25
|
+
securityQuestion: OepaSecurityQuestion;
|
|
26
|
+
noPin: boolean;
|
|
27
|
+
loadingQuestion: boolean;
|
|
28
|
+
submitInProgress: boolean;
|
|
29
|
+
submitDisabled: boolean;
|
|
30
|
+
errorMessage: string;
|
|
31
|
+
showValidation: boolean;
|
|
32
|
+
loadingAttestations: boolean;
|
|
33
|
+
currentUserID: string | undefined;
|
|
34
|
+
userAccount: OepaUserAccount | undefined;
|
|
35
|
+
constructor(userAccountService: OepaUserAccountService, fb: FormBuilder, pinService: OepaPinService, bsModalRef: BsModalRef);
|
|
36
|
+
ngOnInit(): void;
|
|
37
|
+
private retrievePin;
|
|
38
|
+
submit(): void;
|
|
39
|
+
cancel(): void;
|
|
40
|
+
private createForm;
|
|
41
|
+
private invokeSubmitCallback;
|
|
42
|
+
private retrieveAttestations;
|
|
43
|
+
private retrieveNewSecurityQuestion;
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PinModalComponent, never>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PinModalComponent, "oepa-pin-modal", never, { "attestationID": { "alias": "attestationID"; "required": false; }; "submitCallback": { "alias": "submitCallback"; "required": false; }; "submittingComponent": { "alias": "submittingComponent"; "required": false; }; }, { "close": "close"; }, never, never, false, never>;
|
|
46
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { OnInit, EventEmitter, OnChanges, SimpleChanges, ElementRef } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { OepaComponentIdService, OepaSmallService } from '@ohioepa/oepa-common-lib';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SelectInputComponent implements OnInit, OnChanges {
|
|
6
|
+
private idService;
|
|
7
|
+
private smallService;
|
|
8
|
+
private elRef;
|
|
9
|
+
componentId: string;
|
|
10
|
+
group: FormGroup;
|
|
11
|
+
field: string;
|
|
12
|
+
tableIdx: number | undefined;
|
|
13
|
+
title: string;
|
|
14
|
+
pickList: any[];
|
|
15
|
+
fullList: any[];
|
|
16
|
+
valueField: string;
|
|
17
|
+
displayField: string;
|
|
18
|
+
small: boolean;
|
|
19
|
+
onValueSelected: EventEmitter<string>;
|
|
20
|
+
internalPickList: any[] | undefined;
|
|
21
|
+
constructor(idService: OepaComponentIdService, smallService: OepaSmallService, elRef: ElementRef);
|
|
22
|
+
ngOnInit(): void;
|
|
23
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
24
|
+
private addCurrentValueToListIfMissing;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectInputComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectInputComponent, "oepa-select-input", never, { "group": { "alias": "group"; "required": false; }; "field": { "alias": "field"; "required": false; }; "tableIdx": { "alias": "tableIdx"; "required": false; }; "title": { "alias": "title"; "required": false; }; "pickList": { "alias": "pickList"; "required": false; }; "fullList": { "alias": "fullList"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "displayField": { "alias": "displayField"; "required": false; }; "small": { "alias": "small"; "required": false; }; }, { "onValueSelected": "onValueSelected"; }, never, never, false, never>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { OepaUserAccountService } from '@ohioepa/oepa-common-lib';
|
|
3
|
+
import { BsModalRef } from 'ngx-bootstrap/modal';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ServerTimeoutModalComponent implements OnInit {
|
|
6
|
+
private userAccountService;
|
|
7
|
+
bsModalRef: BsModalRef;
|
|
8
|
+
mm: string;
|
|
9
|
+
ss: string;
|
|
10
|
+
errorMessage: string;
|
|
11
|
+
connectionLost: boolean;
|
|
12
|
+
private timeoutID;
|
|
13
|
+
countdownSeconds: number;
|
|
14
|
+
onKeepAlive: EventEmitter<boolean>;
|
|
15
|
+
constructor(userAccountService: OepaUserAccountService, bsModalRef: BsModalRef);
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
private setMMSS;
|
|
18
|
+
private tick;
|
|
19
|
+
keepAlive(): void;
|
|
20
|
+
close(): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ServerTimeoutModalComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ServerTimeoutModalComponent, "oepa-server-timeout-modal", never, { "countdownSeconds": { "alias": "countdownSeconds"; "required": false; }; }, { "onKeepAlive": "onKeepAlive"; }, never, never, false, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { ShoppingCart } from '@ohioepa/oepa-ebiz-lib';
|
|
3
|
+
import { ShoppingCartService } from '../shopping-cart.service';
|
|
4
|
+
import { ToastrService } from 'ngx-toastr';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ShoppingCartSummaryComponent implements OnInit {
|
|
7
|
+
private shoppingCartService;
|
|
8
|
+
private toastr;
|
|
9
|
+
serviceName: string;
|
|
10
|
+
cartChange: EventEmitter<ShoppingCart>;
|
|
11
|
+
itemsText: string;
|
|
12
|
+
totalCost: number | undefined;
|
|
13
|
+
constructor(shoppingCartService: ShoppingCartService, toastr: ToastrService);
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
private loadCart;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShoppingCartSummaryComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShoppingCartSummaryComponent, "oepa-shopping-cart-summary", never, { "serviceName": { "alias": "serviceName"; "required": false; }; }, { "cartChange": "cartChange"; }, never, never, false, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { Router, ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { ShoppingCartService } from '../shopping-cart.service';
|
|
4
|
+
import { ShoppingCart } from '@ohioepa/oepa-ebiz-lib';
|
|
5
|
+
import { BsModalService } from 'ngx-bootstrap/modal';
|
|
6
|
+
import { OepaTableHeader } from '../../table/oepa-table-header';
|
|
7
|
+
import { OepaTableCellClickEvent } from '../../table/oepa-table-cell-click-event';
|
|
8
|
+
import { OepaTableConfig } from '../../table/oepa-table-config';
|
|
9
|
+
import { OepaTableRow } from '../../table/oepa-table-row';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class ShoppingCartViewComponent implements OnInit {
|
|
12
|
+
private router;
|
|
13
|
+
private route;
|
|
14
|
+
private modalService;
|
|
15
|
+
private shoppingCartService;
|
|
16
|
+
serviceName: string;
|
|
17
|
+
title: string;
|
|
18
|
+
returnLabel: string;
|
|
19
|
+
returnUrl: string;
|
|
20
|
+
shoppingCart: ShoppingCart | undefined;
|
|
21
|
+
empty: boolean;
|
|
22
|
+
loading: boolean;
|
|
23
|
+
errorMessage: string;
|
|
24
|
+
imageRoot: string;
|
|
25
|
+
checkOutInProgress: boolean;
|
|
26
|
+
totalColumn: string;
|
|
27
|
+
itemNumberLabel: string;
|
|
28
|
+
itemClassificationLabel: string;
|
|
29
|
+
itemNameLabel: string;
|
|
30
|
+
itemDescriptionLabel: string;
|
|
31
|
+
tblHeader: OepaTableHeader;
|
|
32
|
+
tblConfig: OepaTableConfig;
|
|
33
|
+
tblData: Array<OepaTableRow>;
|
|
34
|
+
constructor(router: Router, route: ActivatedRoute, modalService: BsModalService, shoppingCartService: ShoppingCartService);
|
|
35
|
+
ngOnInit(): void;
|
|
36
|
+
/**
|
|
37
|
+
* Set headers based on the labels defined for this shopping cart
|
|
38
|
+
*/
|
|
39
|
+
private updateHeaders;
|
|
40
|
+
private refresh;
|
|
41
|
+
private loadTable;
|
|
42
|
+
private convertCartItemToTableRow;
|
|
43
|
+
onCellClick(event: OepaTableCellClickEvent): void;
|
|
44
|
+
private deleteFromCart;
|
|
45
|
+
private deleteItemFromCart;
|
|
46
|
+
goBack(): void;
|
|
47
|
+
onCheckout(): void;
|
|
48
|
+
checkout(): void;
|
|
49
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShoppingCartViewComponent, never>;
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShoppingCartViewComponent, "oepa-shopping-cart-view", never, {}, {}, never, never, false, never>;
|
|
51
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { ShoppingCart, ShoppingCartItem } from '@ohioepa/oepa-ebiz-lib';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ShoppingCartService {
|
|
6
|
+
private http;
|
|
7
|
+
private paymentUrl;
|
|
8
|
+
constructor(http: HttpClient);
|
|
9
|
+
/**
|
|
10
|
+
* Retrieve a shopping cart for the current user for the provided serviceName.
|
|
11
|
+
* @param serviceName
|
|
12
|
+
* @returns Observable<ShoppingCart>
|
|
13
|
+
*/
|
|
14
|
+
retrieveShoppingCart(serviceName: string): Observable<ShoppingCart>;
|
|
15
|
+
/**
|
|
16
|
+
* Store cart in the database
|
|
17
|
+
* @param cart
|
|
18
|
+
* @returns Observable<ShoppingCart>
|
|
19
|
+
*/
|
|
20
|
+
updateShoppingCart(cart: ShoppingCart): Observable<ShoppingCart>;
|
|
21
|
+
/**
|
|
22
|
+
* Remove the item with the type id, id, from cart and store it in the database
|
|
23
|
+
* @param id
|
|
24
|
+
* @param cart
|
|
25
|
+
* @returns Observable<ShoppingCart>
|
|
26
|
+
*/
|
|
27
|
+
removeShoppingCartItem(id: string, cart: ShoppingCart): Observable<ShoppingCart>;
|
|
28
|
+
/**
|
|
29
|
+
* Add item to cart and store it in the database
|
|
30
|
+
* @param item
|
|
31
|
+
* @param cart
|
|
32
|
+
* @returns Observable<ShoppingCart>
|
|
33
|
+
*/
|
|
34
|
+
addShoppingCartItem(item: ShoppingCartItem, cart: ShoppingCart): Observable<ShoppingCart>;
|
|
35
|
+
/**
|
|
36
|
+
* Perform checkout for cart. This will create revenues for all items in the cart and return
|
|
37
|
+
* a transaction id for the shopping cart as a whole.
|
|
38
|
+
* @param cart
|
|
39
|
+
* @returns Observable<string>
|
|
40
|
+
*/
|
|
41
|
+
checkOut(cart: ShoppingCart): Observable<string>;
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShoppingCartService, never>;
|
|
43
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ShoppingCartService>;
|
|
44
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { OepaComponentIdService } from '@ohioepa/oepa-common-lib';
|
|
3
|
+
import { TimeRange } from '@ohioepa/oepa-ebiz-lib';
|
|
4
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class StartEndTimepickerComponent implements OnInit {
|
|
7
|
+
private fb;
|
|
8
|
+
private idService;
|
|
9
|
+
startComponentId: string;
|
|
10
|
+
endComponentId: string;
|
|
11
|
+
timeRangeInfo: TimeRange;
|
|
12
|
+
timeRangeInfoChange: EventEmitter<TimeRange>;
|
|
13
|
+
showValidation: boolean;
|
|
14
|
+
isRequired: boolean;
|
|
15
|
+
isReadOnly: boolean;
|
|
16
|
+
isDisabled: boolean;
|
|
17
|
+
defaultTimeRange: TimeRange;
|
|
18
|
+
private offsetHours;
|
|
19
|
+
form: FormGroup;
|
|
20
|
+
validStart: boolean;
|
|
21
|
+
validEnd: boolean;
|
|
22
|
+
constructor(fb: FormBuilder, idService: OepaComponentIdService);
|
|
23
|
+
isValidStart(event: boolean): void;
|
|
24
|
+
isValidEnd(event: boolean): void;
|
|
25
|
+
ngOnInit(): void;
|
|
26
|
+
setTime(hour: number, minute: number): Date;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StartEndTimepickerComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StartEndTimepickerComponent, "oepa-start-end-timepicker", never, { "timeRangeInfo": { "alias": "timeRangeInfo"; "required": false; }; "showValidation": { "alias": "showValidation"; "required": false; }; "isRequired": { "alias": "isRequired"; "required": false; }; "isReadOnly": { "alias": "isReadOnly"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "defaultTimeRange": { "alias": "defaultTimeRange"; "required": false; }; }, { "timeRangeInfoChange": "timeRangeInfoChange"; }, never, never, false, never>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PipeTransform } from "@angular/core";
|
|
2
|
+
import { OepaTableRow } from "./oepa-table-row";
|
|
3
|
+
import { OepaTableColumn } from "./oepa-table-column";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class OepaTableCellClassnamePipe implements PipeTransform {
|
|
6
|
+
transform(row: OepaTableRow, column: OepaTableColumn): string;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OepaTableCellClassnamePipe, never>;
|
|
8
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<OepaTableCellClassnamePipe, "cellClassname", false>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { OepaTableRow } from './oepa-table-row';
|
|
2
|
+
export interface OepaTableCellClickEvent {
|
|
3
|
+
/**
|
|
4
|
+
* The entire row of data for the cell that was clicked.
|
|
5
|
+
*/
|
|
6
|
+
row: OepaTableRow;
|
|
7
|
+
/**
|
|
8
|
+
* The column id for the cell that was clicked.
|
|
9
|
+
*/
|
|
10
|
+
columnId: string;
|
|
11
|
+
/**
|
|
12
|
+
* The value of the cell that was clicked.
|
|
13
|
+
*/
|
|
14
|
+
value: any;
|
|
15
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PipeTransform } from "@angular/core";
|
|
2
|
+
import { OepaTableRow } from "./oepa-table-row";
|
|
3
|
+
import { OepaTableColumn } from "./oepa-table-column";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class OepaTableCellColSpanPipe implements PipeTransform {
|
|
6
|
+
transform(row: OepaTableRow, column: OepaTableColumn): number;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OepaTableCellColSpanPipe, never>;
|
|
8
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<OepaTableCellColSpanPipe, "cellColspan", false>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PipeTransform } from "@angular/core";
|
|
2
|
+
import { OepaTableRow } from "./oepa-table-row";
|
|
3
|
+
import { OepaTableColumn } from "./oepa-table-column";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class OepaTableCellHiddenPipe implements PipeTransform {
|
|
6
|
+
transform(row: OepaTableRow, column: OepaTableColumn): boolean;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OepaTableCellHiddenPipe, never>;
|
|
8
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<OepaTableCellHiddenPipe, "cellHidden", false>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PipeTransform } from "@angular/core";
|
|
2
|
+
import { OepaTableRow } from "./oepa-table-row";
|
|
3
|
+
import { OepaTableColumn } from "./oepa-table-column";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class OepaTableCellIconClassnamePipe implements PipeTransform {
|
|
6
|
+
transform(row: OepaTableRow, column: OepaTableColumn): string;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OepaTableCellIconClassnamePipe, never>;
|
|
8
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<OepaTableCellIconClassnamePipe, "cellIconClassname", false>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PipeTransform } from "@angular/core";
|
|
2
|
+
import { OepaTableRow } from "./oepa-table-row";
|
|
3
|
+
import { OepaTableColumn } from "./oepa-table-column";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class OepaTableCellImgSrcPipe implements PipeTransform {
|
|
6
|
+
transform(row: OepaTableRow, column: OepaTableColumn): string;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OepaTableCellImgSrcPipe, never>;
|
|
8
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<OepaTableCellImgSrcPipe, "cellImgSrc", false>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PipeTransform } from "@angular/core";
|
|
2
|
+
import { OepaTableRow } from "./oepa-table-row";
|
|
3
|
+
import { OepaTableColumn } from "./oepa-table-column";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class OepaTableCellInnerHtmlPipe implements PipeTransform {
|
|
6
|
+
transform(row: OepaTableRow, column: OepaTableColumn): string;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OepaTableCellInnerHtmlPipe, never>;
|
|
8
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<OepaTableCellInnerHtmlPipe, "cellInnerHTML", false>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PipeTransform } from "@angular/core";
|
|
2
|
+
import { OepaTableRow } from "./oepa-table-row";
|
|
3
|
+
import { OepaTableColumn } from "./oepa-table-column";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class OepaTableCellInputComponentPipe implements PipeTransform {
|
|
6
|
+
transform(row: OepaTableRow, column: OepaTableColumn): any;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OepaTableCellInputComponentPipe, never>;
|
|
8
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<OepaTableCellInputComponentPipe, "cellInputComponent", false>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PipeTransform } from "@angular/core";
|
|
2
|
+
import { OepaTableRow } from "./oepa-table-row";
|
|
3
|
+
import { OepaTableColumn } from "./oepa-table-column";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class OepaTableCellNotSelectablePipe implements PipeTransform {
|
|
6
|
+
transform(row: OepaTableRow, column: OepaTableColumn): boolean;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OepaTableCellNotSelectablePipe, never>;
|
|
8
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<OepaTableCellNotSelectablePipe, "cellNotSelectable", false>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PipeTransform } from "@angular/core";
|
|
2
|
+
import { OepaTableRow } from "./oepa-table-row";
|
|
3
|
+
import { OepaTableColumn } from "./oepa-table-column";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class OepaTableCellValuePipe implements PipeTransform {
|
|
6
|
+
transform(row: OepaTableRow, column: OepaTableColumn): string;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OepaTableCellValuePipe, never>;
|
|
8
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<OepaTableCellValuePipe, "cellValue", false>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Interface defining a cell in an TableComponent.
|
|
3
|
+
*/
|
|
4
|
+
export interface OepaTableCell {
|
|
5
|
+
/**
|
|
6
|
+
* Column Id to which this cell corresponds.
|
|
7
|
+
*/
|
|
8
|
+
id: string;
|
|
9
|
+
/**
|
|
10
|
+
* The value displayed in the cell (should be a string or number).
|
|
11
|
+
*/
|
|
12
|
+
value?: any;
|
|
13
|
+
/**
|
|
14
|
+
* Hide the value on the screen, but show it in Export to Excel/HTML
|
|
15
|
+
*/
|
|
16
|
+
hideValue?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* If the value is a date or other value that needs to be sorted differently than its visual represenation,
|
|
19
|
+
* use this field to represent the sortable value.
|
|
20
|
+
*/
|
|
21
|
+
sortValue?: any;
|
|
22
|
+
/**
|
|
23
|
+
* If the value is a currency, number with commas, or other value that needs to be filtered differently than its visual represenation,
|
|
24
|
+
* use this field to represent the filterable value.
|
|
25
|
+
*/
|
|
26
|
+
filterValue?: any;
|
|
27
|
+
/**
|
|
28
|
+
* The css class that should be applied to the value of this cell. This can be used to display an icon in the cell.
|
|
29
|
+
*/
|
|
30
|
+
iconClassName?: string;
|
|
31
|
+
/**
|
|
32
|
+
* The css class that should be applied to the contents of this cell's div. This should be used for coloring
|
|
33
|
+
* the cell or emphasizing its content.
|
|
34
|
+
*/
|
|
35
|
+
className?: string;
|
|
36
|
+
/**
|
|
37
|
+
* The path to an image that should be displayed in the cell. The image will be displayed to the left of any text in the cell.
|
|
38
|
+
*/
|
|
39
|
+
imgSrc?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Use the inner HTML attribute to display an HTML string with its formatting intact. Note: you should also provide a
|
|
42
|
+
* sortValue attribute without the HTML markup if this column is sortable.
|
|
43
|
+
*/
|
|
44
|
+
innerHTML?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Use colspan for a cell that will span more than one column. Need to set colspan of cells occupied by the cell that spans
|
|
47
|
+
* more than one column to 0.
|
|
48
|
+
*/
|
|
49
|
+
colSpan?: number;
|
|
50
|
+
/**
|
|
51
|
+
* An OepaTemplateComponent that allows the user to input data into this cell.
|
|
52
|
+
* This must be defined if the column's inputColumn is true.
|
|
53
|
+
*/
|
|
54
|
+
inputComponent?: any;
|
|
55
|
+
/**
|
|
56
|
+
* If this cell is in a column that is selectable, but this cell should not be selectable, set notSelectable to true
|
|
57
|
+
*/
|
|
58
|
+
notSelectable?: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* This field is used to specify the data format for this cell in an exported Excel spreadsheet.
|
|
61
|
+
* Currently, the only valid value is 'INTEGER' which will format the cell as an integer instead of
|
|
62
|
+
* a numeric field. Other formats may be added, but will require a change to the TableExportManager
|
|
63
|
+
* class in the foundation project.
|
|
64
|
+
*/
|
|
65
|
+
excelDataFormat?: string;
|
|
66
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Interface defining a column in an TableComponent.
|
|
3
|
+
*/
|
|
4
|
+
export interface OepaTableColumn {
|
|
5
|
+
/**
|
|
6
|
+
* The unique identifier for the column.
|
|
7
|
+
*/
|
|
8
|
+
id: string;
|
|
9
|
+
field?: string;
|
|
10
|
+
/**
|
|
11
|
+
* The string that appears in the column header
|
|
12
|
+
*/
|
|
13
|
+
title: string;
|
|
14
|
+
header?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Name of css class used to style column header
|
|
17
|
+
*/
|
|
18
|
+
className?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Indicator of whether the column is sorted. If this attribute is not provided, the column will not be sortable.
|
|
21
|
+
* May have the following values:
|
|
22
|
+
- `none` - column is not sorted by default
|
|
23
|
+
- `asc` - column is sorted in ascending order by default
|
|
24
|
+
- `desc` - column is sorted in descending order by default
|
|
25
|
+
*/
|
|
26
|
+
sort?: string;
|
|
27
|
+
/**
|
|
28
|
+
* The sort order index of this column.
|
|
29
|
+
*/
|
|
30
|
+
sortIndex?: number;
|
|
31
|
+
/**
|
|
32
|
+
* Indicator of whether cells in the column are displayed as hyperlinks
|
|
33
|
+
*/
|
|
34
|
+
hyperlink?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Indicator of whether this column is hidden.
|
|
37
|
+
*/
|
|
38
|
+
hidden?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Indicator of whether column should be "frozen" while scrolling
|
|
41
|
+
*/
|
|
42
|
+
frozenColumn?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Indicator of whether column is a select column.
|
|
45
|
+
*/
|
|
46
|
+
selectColumn?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Indicator of whether column is a single select column.
|
|
49
|
+
*/
|
|
50
|
+
singleSelectColumn?: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Indicator of wheter column is an action column.
|
|
53
|
+
*/
|
|
54
|
+
actionColumn?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Indicator of whether column allows for user input
|
|
57
|
+
*/
|
|
58
|
+
inputColumn?: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Column span value for the column (default is 1)
|
|
61
|
+
*/
|
|
62
|
+
colspan?: number;
|
|
63
|
+
/**
|
|
64
|
+
* Row span value for the column (default is 1)
|
|
65
|
+
*/
|
|
66
|
+
rowspan?: number;
|
|
67
|
+
/**
|
|
68
|
+
* Indicater of whether this column can be filtered.
|
|
69
|
+
*/
|
|
70
|
+
filterable?: boolean;
|
|
71
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Interface defining the configuration options of TableComponent.
|
|
3
|
+
*/
|
|
4
|
+
export interface OepaTableConfig {
|
|
5
|
+
/**
|
|
6
|
+
* Class name for div surrounding table. Add table-responsive here if desired.
|
|
7
|
+
*/
|
|
8
|
+
divClassName?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Specify table css classes as a string.
|
|
11
|
+
*/
|
|
12
|
+
className?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Specify table css classes as an array.
|
|
15
|
+
*/
|
|
16
|
+
classNames?: Array<string>;
|
|
17
|
+
/**
|
|
18
|
+
* Indicate whether table shoud scroll veritcally
|
|
19
|
+
*/
|
|
20
|
+
verticalScroll?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* expession indicating scroll height (e.g. calc(60vh))
|
|
23
|
+
*/
|
|
24
|
+
scrollHeight?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Indicate whether table should be hidden (buttons will still be shown unless hidden as well)
|
|
27
|
+
*/
|
|
28
|
+
hideTable?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Indicate whether footer should be hidden.
|
|
31
|
+
*/
|
|
32
|
+
hideFooter?: boolean;
|
|
33
|
+
/** Indicate whether global filter box should be hidden */
|
|
34
|
+
hideGlobalFilter?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Indicate whether Export to Excel button should be shown.
|
|
37
|
+
*/
|
|
38
|
+
exportToExcel?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Indicate whether Export to HTML button should be shown.
|
|
41
|
+
*/
|
|
42
|
+
exportToHTML?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Indicate whether Pagination should be disabled (hidden).
|
|
45
|
+
*/
|
|
46
|
+
disablePagination?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Indicate how many table rows to display per page (default is 10)
|
|
49
|
+
*/
|
|
50
|
+
rowsPerPage?: number;
|
|
51
|
+
/**
|
|
52
|
+
* Indicate whether tables should be exported with subtables embeded.
|
|
53
|
+
* If true, sub tables will not be shown beside the parent table in
|
|
54
|
+
* an export but will be embeded within the parent table.
|
|
55
|
+
*/
|
|
56
|
+
exportEmbedSubTable?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Indicate whether tables should be exported with hidden columns shown.
|
|
59
|
+
* If true, columns that are hidden in the display will be shown in the
|
|
60
|
+
* HTML and Excel export files.
|
|
61
|
+
*/
|
|
62
|
+
exportShowHiddenColumns?: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* When data is exported to HTML or Excel, only export the rows that are visible on the
|
|
65
|
+
* screen by default if this variable is true.
|
|
66
|
+
*/
|
|
67
|
+
exportVisibleOnly?: boolean;
|
|
68
|
+
/**
|
|
69
|
+
* Display the total row count in the footer of the table
|
|
70
|
+
*/
|
|
71
|
+
showRowCountInFooter?: boolean;
|
|
72
|
+
}
|