ngx-techlify-core 11.4.8 → 11.4.9
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 -24
- package/bundles/ngx-techlify-core.umd.js +8085 -8047
- package/bundles/ngx-techlify-core.umd.js.map +1 -1
- package/bundles/ngx-techlify-core.umd.min.js +1 -1
- package/bundles/ngx-techlify-core.umd.min.js.map +1 -1
- package/esm2015/lib/action-popup/action-popup.component.js +32 -32
- package/esm2015/lib/action-popup/action-popup.model.js +3 -3
- package/esm2015/lib/action-popup/action-popup.module.js +26 -26
- package/esm2015/lib/action-popup/index.js +3 -3
- package/esm2015/lib/audit-log/audit-log-for-model/audit-log-for-model-routing.module.js +12 -12
- package/esm2015/lib/audit-log/audit-log-for-model/audit-log-for-model.component.js +49 -49
- package/esm2015/lib/audit-log/audit-log-for-model/audit-log-for-model.module.js +25 -25
- package/esm2015/lib/audit-log/audit-log-list/audit-log-list-routing.module.js +12 -12
- package/esm2015/lib/audit-log/audit-log-list/audit-log-list.component.js +132 -132
- package/esm2015/lib/audit-log/audit-log-list/audit-log-list.module.js +29 -29
- package/esm2015/lib/audit-log/audit-log-list-filter/audit-log-list-filter-routing.module.js +12 -12
- package/esm2015/lib/audit-log/audit-log-list-filter/audit-log-list-filter.component.js +67 -67
- package/esm2015/lib/audit-log/audit-log-list-filter/audit-log-list-filter.module.js +25 -25
- package/esm2015/lib/audit-log/audit-log-routing.module.js +19 -19
- package/esm2015/lib/audit-log/audit-log-view/audit-log-view-routing.module.js +12 -12
- package/esm2015/lib/audit-log/audit-log-view/audit-log-view.component.js +60 -60
- package/esm2015/lib/audit-log/audit-log-view/audit-log-view.module.js +21 -21
- package/esm2015/lib/audit-log/audit-log-view-model/audit-log-view-model-routing.module.js +12 -12
- package/esm2015/lib/audit-log/audit-log-view-model/audit-log-view-model.component.js +57 -57
- package/esm2015/lib/audit-log/audit-log-view-model/audit-log-view-model.module.js +21 -21
- package/esm2015/lib/audit-log/audit-log.module.js +20 -20
- package/esm2015/lib/audit-log/audit-logs-view-model/audit-logs-view-model-routing.module.js +12 -12
- package/esm2015/lib/audit-log/audit-logs-view-model/audit-logs-view-model.component.js +35 -35
- package/esm2015/lib/audit-log/audit-logs-view-model/audit-logs-view-model.module.js +21 -21
- package/esm2015/lib/base-model/index.js +4 -4
- package/esm2015/lib/base-model/techlify-form-component.class.js +51 -51
- package/esm2015/lib/base-model/techlify-listing-component.class.js +41 -41
- package/esm2015/lib/base-model/techlify-service.class.js +64 -64
- package/esm2015/lib/core/alert.service.js +39 -39
- package/esm2015/lib/core/api-prefix.interceptor.js +28 -28
- package/esm2015/lib/core/authentication.guard.js +39 -39
- package/esm2015/lib/core/authentication.service.js +59 -59
- package/esm2015/lib/core/cache.interceptor.js +60 -60
- package/esm2015/lib/core/config.service.js +47 -47
- package/esm2015/lib/core/core.module.js +42 -42
- package/esm2015/lib/core/credentials.service.js +84 -84
- package/esm2015/lib/core/dataManager.service.js +120 -120
- package/esm2015/lib/core/error-handler.interceptor.js +53 -53
- package/esm2015/lib/core/error-handler.service.js +59 -59
- package/esm2015/lib/core/form-validator.service.js +23 -23
- package/esm2015/lib/core/header.interceptor.js +22 -22
- package/esm2015/lib/core/http-cache.service.js +110 -110
- package/esm2015/lib/core/http.service.js +82 -82
- package/esm2015/lib/core/index.js +21 -21
- package/esm2015/lib/core/logger.service.js +100 -100
- package/esm2015/lib/core/route-reusable-strategy.js +35 -35
- package/esm2015/lib/core/snack/snack.component.js +33 -33
- package/esm2015/lib/core/snack/snack.module.js +25 -25
- package/esm2015/lib/core/storage.service.js +36 -36
- package/esm2015/lib/core/techlify-config.model.js +28 -28
- package/esm2015/lib/core/token.interceptor.js +30 -30
- package/esm2015/lib/data-table/data-table.component.js +190 -190
- package/esm2015/lib/data-table/data-table.model.js +11 -11
- package/esm2015/lib/data-table/data-table.module.js +25 -25
- package/esm2015/lib/data-table/index.js +3 -3
- package/esm2015/lib/date-validator.js +10 -10
- package/esm2015/lib/document-viewer/document-viewer.component.js +58 -58
- package/esm2015/lib/document-viewer/document-viewer.module.js +25 -25
- package/esm2015/lib/document-viewer/index.js +3 -3
- package/esm2015/lib/document-viewer/viewer-config.model.js +3 -3
- package/esm2015/lib/email-subscription/email-subscription-for-user/email-subscription-for-user-routing.module.js +26 -26
- package/esm2015/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.component.js +72 -72
- package/esm2015/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.module.js +23 -23
- package/esm2015/lib/email-subscription/email-subscription-for-user/index.js +2 -2
- package/esm2015/lib/email-subscription/email-subscription-routing.module.js +12 -12
- package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form-routing.module.js +12 -12
- package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.component.js +102 -102
- package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.module.js +28 -28
- package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-form/index.js +2 -2
- package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list-routing.module.js +28 -28
- package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.component.js +153 -153
- package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.module.js +27 -27
- package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-list/index.js +1 -1
- package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-routing.module.js +12 -12
- package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type.module.js +15 -15
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form-routing.module.js +12 -12
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.component.js +99 -99
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.module.js +27 -27
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-form/index.js +2 -2
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list-routing.module.js +28 -28
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.component.js +155 -155
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.module.js +29 -29
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list/index.js +2 -2
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter-routing.module.js +12 -12
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.component.js +50 -50
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.module.js +25 -25
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/index.js +2 -2
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-routing.module.js +12 -12
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user.module.js +15 -15
- package/esm2015/lib/email-subscription/email-subscription.module.js +15 -15
- package/esm2015/lib/entity-files/entity-file-form/entity-file-form.component.js +147 -138
- package/esm2015/lib/entity-files/entity-file.service.js +42 -42
- package/esm2015/lib/entity-files/entity-files-view-all.component.js +234 -208
- package/esm2015/lib/entity-files/entity-files-view-all.module.js +40 -34
- package/esm2015/lib/entity-files/index.js +3 -3
- package/esm2015/lib/export-excel/export-excel-button/export-excel-button.component.js +32 -32
- package/esm2015/lib/export-excel/export-excel.module.js +17 -17
- package/esm2015/lib/file-dropper/file-dropper.component.js +122 -122
- package/esm2015/lib/file-dropper/file-dropper.model.js +3 -3
- package/esm2015/lib/file-dropper/file-dropper.module.js +21 -21
- package/esm2015/lib/file-dropper/index.js +3 -3
- package/esm2015/lib/import-csv/data-import/data-import.component.js +18 -18
- package/esm2015/lib/import-csv/failed-items-list/failed-items-list.component.js +33 -33
- package/esm2015/lib/import-csv/field-mapping/field-mapping.component.js +148 -148
- package/esm2015/lib/import-csv/import-csv-config.js +2 -2
- package/esm2015/lib/import-csv/import-csv.component.js +196 -196
- package/esm2015/lib/import-csv/import-csv.module.js +46 -46
- package/esm2015/lib/import-csv/import-history-list/import-history-list.component.js +71 -71
- package/esm2015/lib/import-csv/import-success/import-success.component.js +19 -19
- package/esm2015/lib/loader/index.js +2 -2
- package/esm2015/lib/loader/loader.component.js +22 -22
- package/esm2015/lib/loader/loader.module.js +21 -21
- package/esm2015/lib/login-history-for-user/login-history-for-user-routing.module.js +20 -20
- package/esm2015/lib/login-history-for-user/login-history-for-user.component.js +88 -88
- package/esm2015/lib/login-history-for-user/login-history-for-user.module.js +27 -27
- package/esm2015/lib/material.module.js +60 -60
- package/esm2015/lib/note/comment-form/comment-form.component.js +73 -73
- package/esm2015/lib/note/index.js +4 -4
- package/esm2015/lib/note/note-form/note-form.component.js +81 -81
- package/esm2015/lib/note/note-list/note-list.component.js +151 -151
- package/esm2015/lib/note/note.module.js +36 -36
- package/esm2015/lib/note/note.service.js +31 -31
- package/esm2015/lib/read-more/read-more.component.js +43 -43
- package/esm2015/lib/read-more/read-more.module.js +21 -21
- package/esm2015/lib/searchable-selector/index.js +3 -3
- package/esm2015/lib/searchable-selector/mat-select-infinite-scroll.directive.js +81 -81
- package/esm2015/lib/searchable-selector/searchable-selector.component.js +307 -307
- package/esm2015/lib/searchable-selector/searchable-selector.module.js +28 -28
- package/esm2015/lib/techlify-feature/on-off-switch/on-off-switch.component.js +27 -27
- package/esm2015/lib/techlify-feature/techlify-feature-enabled.directive.js +78 -78
- package/esm2015/lib/techlify-feature/techlify-feature-listing.component.js +177 -177
- package/esm2015/lib/techlify-feature/techlify-feature.module.js +30 -30
- package/esm2015/lib/techlify-feature/techlify-feature.routing.js +12 -12
- package/esm2015/lib/techlify-feature/techlify-feature.service.js +28 -28
- package/esm2015/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-config.model.js +15 -15
- package/esm2015/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.component.js +269 -269
- package/esm2015/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.module.js +25 -25
- package/esm2015/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.component.js +168 -168
- package/esm2015/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.module.js +29 -29
- package/esm2015/lib/techlify-update/techlify-update-form/techlify-update-form.component.js +114 -114
- package/esm2015/lib/techlify-update/techlify-update-form/techlify-update-form.module.js +28 -28
- package/esm2015/lib/techlify-update/techlify-update-history/techlify-update-history-routing.module.js +22 -22
- package/esm2015/lib/techlify-update/techlify-update-history/techlify-update-history.component.js +143 -143
- package/esm2015/lib/techlify-update/techlify-update-history/techlify-update-history.module.js +28 -28
- package/esm2015/lib/techlify-update/techlify-update-routing.module.js +22 -22
- package/esm2015/lib/techlify-update/techlify-update.module.js +30 -30
- package/esm2015/lib/techlify-update/techlify-update.service.js +43 -43
- package/esm2015/lib/techlify-update/techlify-updates-list/techlify-updates-list.component.js +161 -161
- package/esm2015/lib/techlify-update/update-notifier/update-notifier-snack/update-notifier-snack.component.js +82 -82
- package/esm2015/lib/techlify-update/update-notifier/update-notifier.component.js +62 -62
- package/esm2015/lib/techlify-update/update-notifier/update-notifier.module.js +29 -29
- package/esm2015/lib/techlify-update/update-view/update-view.component.js +36 -36
- package/esm2015/lib/techlify-update/update-view/update-view.module.js +24 -24
- package/esm2015/lib/timeline-filter/calculate-timeline.js +102 -102
- package/esm2015/lib/timeline-filter/index.js +4 -4
- package/esm2015/lib/timeline-filter/timeline-filter-routing.module.js +12 -12
- package/esm2015/lib/timeline-filter/timeline-filter.component.js +213 -213
- package/esm2015/lib/timeline-filter/timeline-filter.module.js +23 -23
- package/esm2015/lib/timeline-filter/timeline.model.js +18 -18
- package/esm2015/lib/utility/date-utils.service.js +48 -48
- package/esm2015/lib/utility/index.js +4 -4
- package/esm2015/lib/utility/num-items-selector.component.js +29 -29
- package/esm2015/lib/utility/number-selector.component.js +38 -38
- package/esm2015/lib/utility/utility.module.js +20 -20
- package/esm2015/ngx-techlify-core.js +60 -60
- package/esm2015/public-api.js +96 -96
- package/fesm2015/ngx-techlify-core.js +6941 -6903
- package/fesm2015/ngx-techlify-core.js.map +1 -1
- package/lib/action-popup/action-popup.component.d.ts +14 -14
- package/lib/action-popup/action-popup.model.d.ts +5 -5
- package/lib/action-popup/action-popup.module.d.ts +2 -2
- package/lib/action-popup/index.d.ts +2 -2
- package/lib/audit-log/audit-log-for-model/audit-log-for-model-routing.module.d.ts +2 -2
- package/lib/audit-log/audit-log-for-model/audit-log-for-model.component.d.ts +12 -12
- package/lib/audit-log/audit-log-for-model/audit-log-for-model.module.d.ts +2 -2
- package/lib/audit-log/audit-log-list/audit-log-list-routing.module.d.ts +2 -2
- package/lib/audit-log/audit-log-list/audit-log-list.component.d.ts +32 -32
- package/lib/audit-log/audit-log-list/audit-log-list.module.d.ts +2 -2
- package/lib/audit-log/audit-log-list-filter/audit-log-list-filter-routing.module.d.ts +2 -2
- package/lib/audit-log/audit-log-list-filter/audit-log-list-filter.component.d.ts +19 -19
- package/lib/audit-log/audit-log-list-filter/audit-log-list-filter.module.d.ts +2 -2
- package/lib/audit-log/audit-log-routing.module.d.ts +2 -2
- package/lib/audit-log/audit-log-view/audit-log-view-routing.module.d.ts +2 -2
- package/lib/audit-log/audit-log-view/audit-log-view.component.d.ts +17 -17
- package/lib/audit-log/audit-log-view/audit-log-view.module.d.ts +2 -2
- package/lib/audit-log/audit-log-view-model/audit-log-view-model-routing.module.d.ts +2 -2
- package/lib/audit-log/audit-log-view-model/audit-log-view-model.component.d.ts +15 -15
- package/lib/audit-log/audit-log-view-model/audit-log-view-model.module.d.ts +2 -2
- package/lib/audit-log/audit-log.module.d.ts +2 -2
- package/lib/audit-log/audit-logs-view-model/audit-logs-view-model-routing.module.d.ts +2 -2
- package/lib/audit-log/audit-logs-view-model/audit-logs-view-model.component.d.ts +11 -11
- package/lib/audit-log/audit-logs-view-model/audit-logs-view-model.module.d.ts +2 -2
- package/lib/base-model/index.d.ts +3 -3
- package/lib/base-model/techlify-form-component.class.d.ts +43 -43
- package/lib/base-model/techlify-listing-component.class.d.ts +47 -47
- package/lib/base-model/techlify-service.class.d.ts +52 -52
- package/lib/core/alert.service.d.ts +12 -12
- package/lib/core/api-prefix.interceptor.d.ts +11 -11
- package/lib/core/authentication.guard.d.ts +10 -10
- package/lib/core/authentication.service.d.ts +23 -23
- package/lib/core/cache.interceptor.d.ts +21 -21
- package/lib/core/config.service.d.ts +19 -19
- package/lib/core/core.module.d.ts +3 -3
- package/lib/core/credentials.service.d.ts +36 -36
- package/lib/core/dataManager.service.d.ts +70 -70
- package/lib/core/error-handler.interceptor.d.ts +14 -14
- package/lib/core/error-handler.service.d.ts +14 -14
- package/lib/core/form-validator.service.d.ts +8 -8
- package/lib/core/header.interceptor.d.ts +8 -8
- package/lib/core/http-cache.service.d.ts +54 -54
- package/lib/core/http.service.d.ts +56 -56
- package/lib/core/index.d.ts +20 -20
- package/lib/core/logger.service.d.ts +85 -85
- package/lib/core/route-reusable-strategy.d.ts +13 -13
- package/lib/core/snack/snack.component.d.ts +8 -8
- package/lib/core/snack/snack.module.d.ts +2 -2
- package/lib/core/storage.service.d.ts +15 -15
- package/lib/core/techlify-config.model.d.ts +18 -18
- package/lib/core/token.interceptor.d.ts +11 -11
- package/lib/data-table/data-table.component.d.ts +60 -60
- package/lib/data-table/data-table.model.d.ts +46 -46
- package/lib/data-table/data-table.module.d.ts +2 -2
- package/lib/data-table/index.d.ts +2 -2
- package/lib/date-validator.d.ts +1 -1
- package/lib/document-viewer/document-viewer.component.d.ts +16 -16
- package/lib/document-viewer/document-viewer.module.d.ts +2 -2
- package/lib/document-viewer/index.d.ts +2 -2
- package/lib/document-viewer/viewer-config.model.d.ts +5 -5
- package/lib/email-subscription/email-subscription-for-user/email-subscription-for-user-routing.module.d.ts +7 -7
- package/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.component.d.ts +17 -17
- package/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.module.d.ts +2 -2
- package/lib/email-subscription/email-subscription-for-user/index.d.ts +1 -1
- package/lib/email-subscription/email-subscription-routing.module.d.ts +2 -2
- package/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form-routing.module.d.ts +2 -2
- package/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.component.d.ts +32 -32
- package/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.module.d.ts +2 -2
- package/lib/email-subscription/email-subscription-type/email-subscription-type-form/index.d.ts +1 -1
- package/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list-routing.module.d.ts +9 -9
- package/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.component.d.ts +30 -30
- package/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.module.d.ts +2 -2
- package/lib/email-subscription/email-subscription-type/email-subscription-type-list/index.d.ts +1 -1
- package/lib/email-subscription/email-subscription-type/email-subscription-type-routing.module.d.ts +2 -2
- package/lib/email-subscription/email-subscription-type/email-subscription-type.module.d.ts +2 -2
- package/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form-routing.module.d.ts +2 -2
- package/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.component.d.ts +32 -32
- package/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.module.d.ts +2 -2
- package/lib/email-subscription/email-subscription-user/email-subscription-user-form/index.d.ts +1 -1
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list-routing.module.d.ts +9 -9
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.component.d.ts +32 -32
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.module.d.ts +2 -2
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list/index.d.ts +1 -1
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter-routing.module.d.ts +2 -2
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.component.d.ts +13 -13
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.module.d.ts +2 -2
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/index.d.ts +1 -1
- package/lib/email-subscription/email-subscription-user/email-subscription-user-routing.module.d.ts +2 -2
- package/lib/email-subscription/email-subscription-user/email-subscription-user.module.d.ts +2 -2
- package/lib/email-subscription/email-subscription.module.d.ts +2 -2
- package/lib/entity-files/entity-file-form/entity-file-form.component.d.ts +38 -34
- package/lib/entity-files/entity-file.service.d.ts +10 -10
- package/lib/entity-files/entity-files-view-all.component.d.ts +51 -45
- package/lib/entity-files/entity-files-view-all.module.d.ts +2 -2
- package/lib/entity-files/index.d.ts +2 -2
- package/lib/export-excel/export-excel-button/export-excel-button.component.d.ts +8 -8
- package/lib/export-excel/export-excel.module.d.ts +2 -2
- package/lib/file-dropper/file-dropper.component.d.ts +33 -33
- package/lib/file-dropper/file-dropper.model.d.ts +10 -10
- package/lib/file-dropper/file-dropper.module.d.ts +2 -2
- package/lib/file-dropper/index.d.ts +2 -2
- package/lib/import-csv/data-import/data-import.component.d.ts +6 -6
- package/lib/import-csv/failed-items-list/failed-items-list.component.d.ts +12 -12
- package/lib/import-csv/field-mapping/field-mapping.component.d.ts +34 -34
- package/lib/import-csv/import-csv-config.d.ts +17 -17
- package/lib/import-csv/import-csv.component.d.ts +33 -33
- package/lib/import-csv/import-csv.module.d.ts +2 -2
- package/lib/import-csv/import-history-list/import-history-list.component.d.ts +21 -21
- package/lib/import-csv/import-success/import-success.component.d.ts +8 -8
- package/lib/loader/index.d.ts +1 -1
- package/lib/loader/loader.component.d.ts +8 -8
- package/lib/loader/loader.module.d.ts +2 -2
- package/lib/login-history-for-user/login-history-for-user-routing.module.d.ts +2 -2
- package/lib/login-history-for-user/login-history-for-user.component.d.ts +23 -23
- package/lib/login-history-for-user/login-history-for-user.module.d.ts +2 -2
- package/lib/material.module.d.ts +2 -2
- package/lib/note/comment-form/comment-form.component.d.ts +22 -22
- package/lib/note/index.d.ts +3 -3
- package/lib/note/note-form/note-form.component.d.ts +27 -27
- package/lib/note/note-list/note-list.component.d.ts +28 -28
- package/lib/note/note.module.d.ts +2 -2
- package/lib/note/note.service.d.ts +9 -9
- package/lib/read-more/read-more.component.d.ts +12 -12
- package/lib/read-more/read-more.module.d.ts +2 -2
- package/lib/searchable-selector/index.d.ts +2 -2
- package/lib/searchable-selector/mat-select-infinite-scroll.directive.d.ts +23 -23
- package/lib/searchable-selector/searchable-selector.component.d.ts +81 -81
- package/lib/searchable-selector/searchable-selector.module.d.ts +2 -2
- package/lib/techlify-feature/on-off-switch/on-off-switch.component.d.ts +9 -9
- package/lib/techlify-feature/techlify-feature-enabled.directive.d.ts +17 -17
- package/lib/techlify-feature/techlify-feature-listing.component.d.ts +37 -37
- package/lib/techlify-feature/techlify-feature.module.d.ts +2 -2
- package/lib/techlify-feature/techlify-feature.routing.d.ts +2 -2
- package/lib/techlify-feature/techlify-feature.service.d.ts +8 -8
- package/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-config.model.d.ts +12 -12
- package/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.component.d.ts +76 -76
- package/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.module.d.ts +2 -2
- package/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.component.d.ts +58 -58
- package/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.module.d.ts +2 -2
- package/lib/techlify-update/techlify-update-form/techlify-update-form.component.d.ts +30 -30
- package/lib/techlify-update/techlify-update-form/techlify-update-form.module.d.ts +2 -2
- package/lib/techlify-update/techlify-update-history/techlify-update-history-routing.module.d.ts +2 -2
- package/lib/techlify-update/techlify-update-history/techlify-update-history.component.d.ts +31 -31
- package/lib/techlify-update/techlify-update-history/techlify-update-history.module.d.ts +2 -2
- package/lib/techlify-update/techlify-update-routing.module.d.ts +2 -2
- package/lib/techlify-update/techlify-update.module.d.ts +2 -2
- package/lib/techlify-update/techlify-update.service.d.ts +13 -13
- package/lib/techlify-update/techlify-updates-list/techlify-updates-list.component.d.ts +31 -31
- package/lib/techlify-update/update-notifier/update-notifier-snack/update-notifier-snack.component.d.ts +25 -25
- package/lib/techlify-update/update-notifier/update-notifier.component.d.ts +16 -16
- package/lib/techlify-update/update-notifier/update-notifier.module.d.ts +2 -2
- package/lib/techlify-update/update-view/update-view.component.d.ts +14 -14
- package/lib/techlify-update/update-view/update-view.module.d.ts +2 -2
- package/lib/timeline-filter/calculate-timeline.d.ts +6 -6
- package/lib/timeline-filter/index.d.ts +3 -3
- package/lib/timeline-filter/timeline-filter-routing.module.d.ts +2 -2
- package/lib/timeline-filter/timeline-filter.component.d.ts +61 -61
- package/lib/timeline-filter/timeline-filter.module.d.ts +2 -2
- package/lib/timeline-filter/timeline.model.d.ts +17 -17
- package/lib/utility/date-utils.service.d.ts +21 -21
- package/lib/utility/index.d.ts +3 -3
- package/lib/utility/num-items-selector.component.d.ts +16 -16
- package/lib/utility/number-selector.component.d.ts +20 -20
- package/lib/utility/utility.module.d.ts +2 -2
- package/ngx-techlify-core.d.ts +59 -59
- package/ngx-techlify-core.metadata.json +1 -1
- package/package.json +2 -2
- package/public-api.d.ts +92 -92
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
import { HttpService } from '../core/http.service';
|
|
2
|
-
/**
|
|
3
|
-
* Interface used to ensure we have a consistent structure across our listing pages
|
|
4
|
-
*
|
|
5
|
-
* @todo This should be moved to ngx-techlify-core
|
|
6
|
-
*
|
|
7
|
-
* Advantages of this abstract class
|
|
8
|
-
* - Less code, less maintenance, less bugs
|
|
9
|
-
* - more consistent code
|
|
10
|
-
* - comments on more code
|
|
11
|
-
* - save time, save energy
|
|
12
|
-
*/
|
|
13
|
-
export declare class TechlifyServiceBaseClass {
|
|
14
|
-
protected http: HttpService;
|
|
15
|
-
protected baseUrl: string;
|
|
16
|
-
constructor(http: HttpService, baseUrl: string);
|
|
17
|
-
/**
|
|
18
|
-
* Loads a set of the model this service is for
|
|
19
|
-
*
|
|
20
|
-
* @param filters Restrictors to filter the set of models
|
|
21
|
-
* @returns
|
|
22
|
-
*/
|
|
23
|
-
index(filters: any): Promise<Object>;
|
|
24
|
-
/**
|
|
25
|
-
* Add a new record to the database
|
|
26
|
-
*
|
|
27
|
-
* @param model The data of the model to add
|
|
28
|
-
* @returns
|
|
29
|
-
*/
|
|
30
|
-
store(model: any): Promise<Object>;
|
|
31
|
-
/**
|
|
32
|
-
* Load a single model record, often with all relations and related data
|
|
33
|
-
*
|
|
34
|
-
* @param modelId ID of the model to load
|
|
35
|
-
* @returns
|
|
36
|
-
*/
|
|
37
|
-
show(modelId: any): Promise<Object>;
|
|
38
|
-
/**
|
|
39
|
-
* Update fields of a single existing model
|
|
40
|
-
*
|
|
41
|
-
* @param model Model to update
|
|
42
|
-
* @returns
|
|
43
|
-
*/
|
|
44
|
-
update(model: any): Promise<Object>;
|
|
45
|
-
/**
|
|
46
|
-
* Delete a single model
|
|
47
|
-
*
|
|
48
|
-
* @param model Model to delete
|
|
49
|
-
* @returns
|
|
50
|
-
*/
|
|
51
|
-
delete(model: any): Promise<Object>;
|
|
52
|
-
}
|
|
1
|
+
import { HttpService } from '../core/http.service';
|
|
2
|
+
/**
|
|
3
|
+
* Interface used to ensure we have a consistent structure across our listing pages
|
|
4
|
+
*
|
|
5
|
+
* @todo This should be moved to ngx-techlify-core
|
|
6
|
+
*
|
|
7
|
+
* Advantages of this abstract class
|
|
8
|
+
* - Less code, less maintenance, less bugs
|
|
9
|
+
* - more consistent code
|
|
10
|
+
* - comments on more code
|
|
11
|
+
* - save time, save energy
|
|
12
|
+
*/
|
|
13
|
+
export declare class TechlifyServiceBaseClass {
|
|
14
|
+
protected http: HttpService;
|
|
15
|
+
protected baseUrl: string;
|
|
16
|
+
constructor(http: HttpService, baseUrl: string);
|
|
17
|
+
/**
|
|
18
|
+
* Loads a set of the model this service is for
|
|
19
|
+
*
|
|
20
|
+
* @param filters Restrictors to filter the set of models
|
|
21
|
+
* @returns
|
|
22
|
+
*/
|
|
23
|
+
index(filters: any): Promise<Object>;
|
|
24
|
+
/**
|
|
25
|
+
* Add a new record to the database
|
|
26
|
+
*
|
|
27
|
+
* @param model The data of the model to add
|
|
28
|
+
* @returns
|
|
29
|
+
*/
|
|
30
|
+
store(model: any): Promise<Object>;
|
|
31
|
+
/**
|
|
32
|
+
* Load a single model record, often with all relations and related data
|
|
33
|
+
*
|
|
34
|
+
* @param modelId ID of the model to load
|
|
35
|
+
* @returns
|
|
36
|
+
*/
|
|
37
|
+
show(modelId: any): Promise<Object>;
|
|
38
|
+
/**
|
|
39
|
+
* Update fields of a single existing model
|
|
40
|
+
*
|
|
41
|
+
* @param model Model to update
|
|
42
|
+
* @returns
|
|
43
|
+
*/
|
|
44
|
+
update(model: any): Promise<Object>;
|
|
45
|
+
/**
|
|
46
|
+
* Delete a single model
|
|
47
|
+
*
|
|
48
|
+
* @param model Model to delete
|
|
49
|
+
* @returns
|
|
50
|
+
*/
|
|
51
|
+
delete(model: any): Promise<Object>;
|
|
52
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
2
|
-
/**
|
|
3
|
-
* Service used to manage alerts in the entire system frontend
|
|
4
|
-
*
|
|
5
|
-
* @author Gokula Prasanna
|
|
6
|
-
* @since 20210131
|
|
7
|
-
*/
|
|
8
|
-
export declare class AlertService {
|
|
9
|
-
snackBar: MatSnackBar;
|
|
10
|
-
constructor(snackBar: MatSnackBar);
|
|
11
|
-
addAlert(message: string, alertType: string, duration?: number): void;
|
|
12
|
-
}
|
|
1
|
+
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
2
|
+
/**
|
|
3
|
+
* Service used to manage alerts in the entire system frontend
|
|
4
|
+
*
|
|
5
|
+
* @author Gokula Prasanna
|
|
6
|
+
* @since 20210131
|
|
7
|
+
*/
|
|
8
|
+
export declare class AlertService {
|
|
9
|
+
snackBar: MatSnackBar;
|
|
10
|
+
constructor(snackBar: MatSnackBar);
|
|
11
|
+
addAlert(message: string, alertType: string, duration?: number): void;
|
|
12
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { HttpEvent, HttpInterceptor, HttpHandler, HttpRequest } from '@angular/common/http';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { ConfigService } from './config.service';
|
|
4
|
-
/**
|
|
5
|
-
* Prefixes all requests not starting with `http[s]` with `environment.serverUrl`.
|
|
6
|
-
*/
|
|
7
|
-
export declare class ApiPrefixInterceptor implements HttpInterceptor {
|
|
8
|
-
private configService;
|
|
9
|
-
constructor(configService: ConfigService);
|
|
10
|
-
intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
|
|
11
|
-
}
|
|
1
|
+
import { HttpEvent, HttpInterceptor, HttpHandler, HttpRequest } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { ConfigService } from './config.service';
|
|
4
|
+
/**
|
|
5
|
+
* Prefixes all requests not starting with `http[s]` with `environment.serverUrl`.
|
|
6
|
+
*/
|
|
7
|
+
export declare class ApiPrefixInterceptor implements HttpInterceptor {
|
|
8
|
+
private configService;
|
|
9
|
+
constructor(configService: ConfigService);
|
|
10
|
+
intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
|
|
11
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Router, CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router';
|
|
2
|
-
import { CredentialsService } from './credentials.service';
|
|
3
|
-
export declare class AuthenticationGuard implements CanActivate {
|
|
4
|
-
private router;
|
|
5
|
-
private credentialsService;
|
|
6
|
-
constructor(router: Router, credentialsService: CredentialsService);
|
|
7
|
-
canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean;
|
|
8
|
-
canLoad(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean;
|
|
9
|
-
isUserAuthenticated(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean;
|
|
10
|
-
}
|
|
1
|
+
import { Router, CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router';
|
|
2
|
+
import { CredentialsService } from './credentials.service';
|
|
3
|
+
export declare class AuthenticationGuard implements CanActivate {
|
|
4
|
+
private router;
|
|
5
|
+
private credentialsService;
|
|
6
|
+
constructor(router: Router, credentialsService: CredentialsService);
|
|
7
|
+
canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean;
|
|
8
|
+
canLoad(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean;
|
|
9
|
+
isUserAuthenticated(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean;
|
|
10
|
+
}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { Credentials, CredentialsService } from './credentials.service';
|
|
3
|
-
import { HttpService } from './http.service';
|
|
4
|
-
/**
|
|
5
|
-
* Provides a base for authentication workflow.
|
|
6
|
-
* The login/logout methods should be replaced with proper implementation.
|
|
7
|
-
*/
|
|
8
|
-
export declare class AuthenticationService {
|
|
9
|
-
private credentialsService;
|
|
10
|
-
private http;
|
|
11
|
-
constructor(credentialsService: CredentialsService, http: HttpService);
|
|
12
|
-
/**
|
|
13
|
-
* Authenticates the user.
|
|
14
|
-
* @param context The login parameters.
|
|
15
|
-
* @return The user credentials.
|
|
16
|
-
*/
|
|
17
|
-
login(context: any): Observable<Credentials>;
|
|
18
|
-
/**
|
|
19
|
-
* Logs out the user and clear credentials.
|
|
20
|
-
* @return True if the user was logged out successfully.
|
|
21
|
-
*/
|
|
22
|
-
logout(): Observable<boolean>;
|
|
23
|
-
}
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { Credentials, CredentialsService } from './credentials.service';
|
|
3
|
+
import { HttpService } from './http.service';
|
|
4
|
+
/**
|
|
5
|
+
* Provides a base for authentication workflow.
|
|
6
|
+
* The login/logout methods should be replaced with proper implementation.
|
|
7
|
+
*/
|
|
8
|
+
export declare class AuthenticationService {
|
|
9
|
+
private credentialsService;
|
|
10
|
+
private http;
|
|
11
|
+
constructor(credentialsService: CredentialsService, http: HttpService);
|
|
12
|
+
/**
|
|
13
|
+
* Authenticates the user.
|
|
14
|
+
* @param context The login parameters.
|
|
15
|
+
* @return The user credentials.
|
|
16
|
+
*/
|
|
17
|
+
login(context: any): Observable<Credentials>;
|
|
18
|
+
/**
|
|
19
|
+
* Logs out the user and clear credentials.
|
|
20
|
+
* @return True if the user was logged out successfully.
|
|
21
|
+
*/
|
|
22
|
+
logout(): Observable<boolean>;
|
|
23
|
+
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { HttpEvent, HttpInterceptor, HttpHandler, HttpRequest } from '@angular/common/http';
|
|
2
|
-
import { HttpCacheService } from './http-cache.service';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
/**
|
|
5
|
-
* Caches HTTP requests.
|
|
6
|
-
* Use ExtendedHttpClient fluent API to configure caching for each request.
|
|
7
|
-
*/
|
|
8
|
-
export declare class CacheInterceptor implements HttpInterceptor {
|
|
9
|
-
private httpCacheService;
|
|
10
|
-
private forceUpdate;
|
|
11
|
-
constructor(httpCacheService: HttpCacheService);
|
|
12
|
-
/**
|
|
13
|
-
* Configures interceptor options
|
|
14
|
-
* @param {{update: boolean}} options If update option is enabled, forces request to be made and updates cache entry.
|
|
15
|
-
* @return {CacheInterceptor} The configured instance.
|
|
16
|
-
*/
|
|
17
|
-
configure(options?: {
|
|
18
|
-
update?: boolean;
|
|
19
|
-
} | null): CacheInterceptor;
|
|
20
|
-
intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
|
|
21
|
-
}
|
|
1
|
+
import { HttpEvent, HttpInterceptor, HttpHandler, HttpRequest } from '@angular/common/http';
|
|
2
|
+
import { HttpCacheService } from './http-cache.service';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
/**
|
|
5
|
+
* Caches HTTP requests.
|
|
6
|
+
* Use ExtendedHttpClient fluent API to configure caching for each request.
|
|
7
|
+
*/
|
|
8
|
+
export declare class CacheInterceptor implements HttpInterceptor {
|
|
9
|
+
private httpCacheService;
|
|
10
|
+
private forceUpdate;
|
|
11
|
+
constructor(httpCacheService: HttpCacheService);
|
|
12
|
+
/**
|
|
13
|
+
* Configures interceptor options
|
|
14
|
+
* @param {{update: boolean}} options If update option is enabled, forces request to be made and updates cache entry.
|
|
15
|
+
* @return {CacheInterceptor} The configured instance.
|
|
16
|
+
*/
|
|
17
|
+
configure(options?: {
|
|
18
|
+
update?: boolean;
|
|
19
|
+
} | null): CacheInterceptor;
|
|
20
|
+
intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
|
|
21
|
+
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { TechlifyConfig } from "./techlify-config.model";
|
|
2
|
-
/**
|
|
3
|
-
* Service that provides settings for all other services
|
|
4
|
-
*
|
|
5
|
-
* @author Joshua Kissoon
|
|
6
|
-
* @since 20170709
|
|
7
|
-
*/
|
|
8
|
-
export declare class ConfigService {
|
|
9
|
-
static BASE_CREDENTIALS: string;
|
|
10
|
-
private config;
|
|
11
|
-
constructor(config: TechlifyConfig);
|
|
12
|
-
getConfigsRaw(): any;
|
|
13
|
-
getProjectKey(): string;
|
|
14
|
-
getApiUrl(): string;
|
|
15
|
-
getAuthClientSecret(): string;
|
|
16
|
-
getStorage(): Storage;
|
|
17
|
-
getAuthGrantType(): string;
|
|
18
|
-
getCredentialsKey(): string;
|
|
19
|
-
}
|
|
1
|
+
import { TechlifyConfig } from "./techlify-config.model";
|
|
2
|
+
/**
|
|
3
|
+
* Service that provides settings for all other services
|
|
4
|
+
*
|
|
5
|
+
* @author Joshua Kissoon
|
|
6
|
+
* @since 20170709
|
|
7
|
+
*/
|
|
8
|
+
export declare class ConfigService {
|
|
9
|
+
static BASE_CREDENTIALS: string;
|
|
10
|
+
private config;
|
|
11
|
+
constructor(config: TechlifyConfig);
|
|
12
|
+
getConfigsRaw(): any;
|
|
13
|
+
getProjectKey(): string;
|
|
14
|
+
getApiUrl(): string;
|
|
15
|
+
getAuthClientSecret(): string;
|
|
16
|
+
getStorage(): Storage;
|
|
17
|
+
getAuthGrantType(): string;
|
|
18
|
+
getCredentialsKey(): string;
|
|
19
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare class CoreModule {
|
|
2
|
-
constructor(parentModule: CoreModule);
|
|
3
|
-
}
|
|
1
|
+
export declare class CoreModule {
|
|
2
|
+
constructor(parentModule: CoreModule);
|
|
3
|
+
}
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { ConfigService } from './config.service';
|
|
2
|
-
export interface Credentials {
|
|
3
|
-
user: any;
|
|
4
|
-
token: any;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* Provides storage for authentication credentials.
|
|
8
|
-
* The Credentials interface should be replaced with proper implementation.
|
|
9
|
-
*/
|
|
10
|
-
export declare class CredentialsService {
|
|
11
|
-
private configService;
|
|
12
|
-
private _credentials;
|
|
13
|
-
constructor(configService: ConfigService);
|
|
14
|
-
/**
|
|
15
|
-
* Checks is the user is authenticated.
|
|
16
|
-
* @return True if the user is authenticated.
|
|
17
|
-
*/
|
|
18
|
-
get isAuthenticated(): boolean;
|
|
19
|
-
/**
|
|
20
|
-
* Gets the user credentials.
|
|
21
|
-
* @return The user credentials or null if the user is not authenticated.
|
|
22
|
-
*/
|
|
23
|
-
get credentials(): Credentials | null;
|
|
24
|
-
/**
|
|
25
|
-
* Sets the user credentials.
|
|
26
|
-
* The credentials may be persisted across sessions by setting the `remember` parameter to true.
|
|
27
|
-
* Otherwise, the credentials are only persisted for the current session.
|
|
28
|
-
* @param credentials The user credentials.
|
|
29
|
-
* @param remember True to remember credentials across sessions.
|
|
30
|
-
*/
|
|
31
|
-
setCredentials(credentials?: Credentials, remember?: boolean): void;
|
|
32
|
-
getAccessToken(): string | null;
|
|
33
|
-
getExpiration(): string;
|
|
34
|
-
getRefreshToken(): string;
|
|
35
|
-
refresh(): CredentialsService;
|
|
36
|
-
}
|
|
1
|
+
import { ConfigService } from './config.service';
|
|
2
|
+
export interface Credentials {
|
|
3
|
+
user: any;
|
|
4
|
+
token: any;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Provides storage for authentication credentials.
|
|
8
|
+
* The Credentials interface should be replaced with proper implementation.
|
|
9
|
+
*/
|
|
10
|
+
export declare class CredentialsService {
|
|
11
|
+
private configService;
|
|
12
|
+
private _credentials;
|
|
13
|
+
constructor(configService: ConfigService);
|
|
14
|
+
/**
|
|
15
|
+
* Checks is the user is authenticated.
|
|
16
|
+
* @return True if the user is authenticated.
|
|
17
|
+
*/
|
|
18
|
+
get isAuthenticated(): boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Gets the user credentials.
|
|
21
|
+
* @return The user credentials or null if the user is not authenticated.
|
|
22
|
+
*/
|
|
23
|
+
get credentials(): Credentials | null;
|
|
24
|
+
/**
|
|
25
|
+
* Sets the user credentials.
|
|
26
|
+
* The credentials may be persisted across sessions by setting the `remember` parameter to true.
|
|
27
|
+
* Otherwise, the credentials are only persisted for the current session.
|
|
28
|
+
* @param credentials The user credentials.
|
|
29
|
+
* @param remember True to remember credentials across sessions.
|
|
30
|
+
*/
|
|
31
|
+
setCredentials(credentials?: Credentials, remember?: boolean): void;
|
|
32
|
+
getAccessToken(): string | null;
|
|
33
|
+
getExpiration(): string;
|
|
34
|
+
getRefreshToken(): string;
|
|
35
|
+
refresh(): CredentialsService;
|
|
36
|
+
}
|
|
@@ -1,70 +1,70 @@
|
|
|
1
|
-
import { HttpService } from './http.service';
|
|
2
|
-
/**
|
|
3
|
-
* Service that provides a wrapper for retrieving data from the server
|
|
4
|
-
* @deprecated use HttpService Instead
|
|
5
|
-
* @author Joshua Kissoon
|
|
6
|
-
* @since 20170709
|
|
7
|
-
*/
|
|
8
|
-
export declare class DataManager {
|
|
9
|
-
private http;
|
|
10
|
-
constructor(http: HttpService);
|
|
11
|
-
/**
|
|
12
|
-
* Callback wrapper for the HTTP GET Call
|
|
13
|
-
*
|
|
14
|
-
* @param urlq The query part of the URL to be sent to the server
|
|
15
|
-
*
|
|
16
|
-
* @author Joshua Kissoon
|
|
17
|
-
* @since 20160826
|
|
18
|
-
* @updated 20170711 to add parameters
|
|
19
|
-
*/
|
|
20
|
-
GET(urlq: string, params?: {}): any;
|
|
21
|
-
/**
|
|
22
|
-
* Callback wrapper for the HTTP POST Call
|
|
23
|
-
*
|
|
24
|
-
* @param urlq The query part of the URL to be sent to the server
|
|
25
|
-
* @param object The object containing the POST data to be sent
|
|
26
|
-
*
|
|
27
|
-
* @author Joshua Kissoon
|
|
28
|
-
* @since 20160826
|
|
29
|
-
*/
|
|
30
|
-
POST(urlq: string, object: any): any;
|
|
31
|
-
/**
|
|
32
|
-
* Callback wrapper for the HTTP POST Call
|
|
33
|
-
*
|
|
34
|
-
* @param urlq The query part of the URL to be sent to the server
|
|
35
|
-
* @param object The object containing the POST data to be sent
|
|
36
|
-
*
|
|
37
|
-
* @author Joshua Kissoon
|
|
38
|
-
* @since 20160826
|
|
39
|
-
*/
|
|
40
|
-
POSTRAW(urlq: string, object: any): any;
|
|
41
|
-
/**
|
|
42
|
-
* Callback wrapper for the HTTP PUT Call
|
|
43
|
-
*
|
|
44
|
-
* @param urlq The query part of the URL to be sent to the server
|
|
45
|
-
* @param object The object containing the PUT data to be sent
|
|
46
|
-
*
|
|
47
|
-
* @author Joshua Kissoon
|
|
48
|
-
* @since 20160826
|
|
49
|
-
*/
|
|
50
|
-
PUT(urlq: string, object: any): any;
|
|
51
|
-
/**
|
|
52
|
-
* Callback wrapper for the HTTP PATCH Call
|
|
53
|
-
*
|
|
54
|
-
* @param urlq The query part of the URL to be sent to the server
|
|
55
|
-
* @param object The object containing the PUT data to be sent
|
|
56
|
-
*
|
|
57
|
-
* @author Joshua Kissoon
|
|
58
|
-
* @since 20161107
|
|
59
|
-
*/
|
|
60
|
-
PATCH(urlq: string, object: any): any;
|
|
61
|
-
/**
|
|
62
|
-
* Callback wrapper for the HTTP DELETE Call
|
|
63
|
-
*
|
|
64
|
-
* @param urlq The query part of the URL to be sent to the server
|
|
65
|
-
*
|
|
66
|
-
* @author Joshua Kissoon
|
|
67
|
-
* @since 20160826
|
|
68
|
-
*/
|
|
69
|
-
DELETE(urlq: string): any;
|
|
70
|
-
}
|
|
1
|
+
import { HttpService } from './http.service';
|
|
2
|
+
/**
|
|
3
|
+
* Service that provides a wrapper for retrieving data from the server
|
|
4
|
+
* @deprecated use HttpService Instead
|
|
5
|
+
* @author Joshua Kissoon
|
|
6
|
+
* @since 20170709
|
|
7
|
+
*/
|
|
8
|
+
export declare class DataManager {
|
|
9
|
+
private http;
|
|
10
|
+
constructor(http: HttpService);
|
|
11
|
+
/**
|
|
12
|
+
* Callback wrapper for the HTTP GET Call
|
|
13
|
+
*
|
|
14
|
+
* @param urlq The query part of the URL to be sent to the server
|
|
15
|
+
*
|
|
16
|
+
* @author Joshua Kissoon
|
|
17
|
+
* @since 20160826
|
|
18
|
+
* @updated 20170711 to add parameters
|
|
19
|
+
*/
|
|
20
|
+
GET(urlq: string, params?: {}): any;
|
|
21
|
+
/**
|
|
22
|
+
* Callback wrapper for the HTTP POST Call
|
|
23
|
+
*
|
|
24
|
+
* @param urlq The query part of the URL to be sent to the server
|
|
25
|
+
* @param object The object containing the POST data to be sent
|
|
26
|
+
*
|
|
27
|
+
* @author Joshua Kissoon
|
|
28
|
+
* @since 20160826
|
|
29
|
+
*/
|
|
30
|
+
POST(urlq: string, object: any): any;
|
|
31
|
+
/**
|
|
32
|
+
* Callback wrapper for the HTTP POST Call
|
|
33
|
+
*
|
|
34
|
+
* @param urlq The query part of the URL to be sent to the server
|
|
35
|
+
* @param object The object containing the POST data to be sent
|
|
36
|
+
*
|
|
37
|
+
* @author Joshua Kissoon
|
|
38
|
+
* @since 20160826
|
|
39
|
+
*/
|
|
40
|
+
POSTRAW(urlq: string, object: any): any;
|
|
41
|
+
/**
|
|
42
|
+
* Callback wrapper for the HTTP PUT Call
|
|
43
|
+
*
|
|
44
|
+
* @param urlq The query part of the URL to be sent to the server
|
|
45
|
+
* @param object The object containing the PUT data to be sent
|
|
46
|
+
*
|
|
47
|
+
* @author Joshua Kissoon
|
|
48
|
+
* @since 20160826
|
|
49
|
+
*/
|
|
50
|
+
PUT(urlq: string, object: any): any;
|
|
51
|
+
/**
|
|
52
|
+
* Callback wrapper for the HTTP PATCH Call
|
|
53
|
+
*
|
|
54
|
+
* @param urlq The query part of the URL to be sent to the server
|
|
55
|
+
* @param object The object containing the PUT data to be sent
|
|
56
|
+
*
|
|
57
|
+
* @author Joshua Kissoon
|
|
58
|
+
* @since 20161107
|
|
59
|
+
*/
|
|
60
|
+
PATCH(urlq: string, object: any): any;
|
|
61
|
+
/**
|
|
62
|
+
* Callback wrapper for the HTTP DELETE Call
|
|
63
|
+
*
|
|
64
|
+
* @param urlq The query part of the URL to be sent to the server
|
|
65
|
+
*
|
|
66
|
+
* @author Joshua Kissoon
|
|
67
|
+
* @since 20160826
|
|
68
|
+
*/
|
|
69
|
+
DELETE(urlq: string): any;
|
|
70
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { HttpEvent, HttpInterceptor, HttpHandler, HttpRequest } from '@angular/common/http';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { ConfigService } from './config.service';
|
|
4
|
-
import { ErrorHandlerService } from './error-handler.service';
|
|
5
|
-
/**
|
|
6
|
-
* Adds a default error handler to all requests.
|
|
7
|
-
*/
|
|
8
|
-
export declare class ErrorHandlerInterceptor implements HttpInterceptor {
|
|
9
|
-
private configService;
|
|
10
|
-
private errorHandler;
|
|
11
|
-
constructor(configService: ConfigService, errorHandler: ErrorHandlerService);
|
|
12
|
-
intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
|
|
13
|
-
private handleError;
|
|
14
|
-
}
|
|
1
|
+
import { HttpEvent, HttpInterceptor, HttpHandler, HttpRequest } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { ConfigService } from './config.service';
|
|
4
|
+
import { ErrorHandlerService } from './error-handler.service';
|
|
5
|
+
/**
|
|
6
|
+
* Adds a default error handler to all requests.
|
|
7
|
+
*/
|
|
8
|
+
export declare class ErrorHandlerInterceptor implements HttpInterceptor {
|
|
9
|
+
private configService;
|
|
10
|
+
private errorHandler;
|
|
11
|
+
constructor(configService: ConfigService, errorHandler: ErrorHandlerService);
|
|
12
|
+
intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
|
|
13
|
+
private handleError;
|
|
14
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { TechlifyConfig } from './techlify-config.model';
|
|
2
|
-
import { AlertService } from "./alert.service";
|
|
3
|
-
/**
|
|
4
|
-
* Service used to handle errors from the request
|
|
5
|
-
*
|
|
6
|
-
* @author Joshua Kissoon
|
|
7
|
-
* @since 20171202
|
|
8
|
-
*/
|
|
9
|
-
export declare class ErrorHandlerService {
|
|
10
|
-
private alerter;
|
|
11
|
-
private config;
|
|
12
|
-
constructor(alerter: AlertService, config: TechlifyConfig);
|
|
13
|
-
handleError(errorResponse: any, msg?: string): void;
|
|
14
|
-
}
|
|
1
|
+
import { TechlifyConfig } from './techlify-config.model';
|
|
2
|
+
import { AlertService } from "./alert.service";
|
|
3
|
+
/**
|
|
4
|
+
* Service used to handle errors from the request
|
|
5
|
+
*
|
|
6
|
+
* @author Joshua Kissoon
|
|
7
|
+
* @since 20171202
|
|
8
|
+
*/
|
|
9
|
+
export declare class ErrorHandlerService {
|
|
10
|
+
private alerter;
|
|
11
|
+
private config;
|
|
12
|
+
constructor(alerter: AlertService, config: TechlifyConfig);
|
|
13
|
+
handleError(errorResponse: any, msg?: string): void;
|
|
14
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { FormGroup } from '@angular/forms';
|
|
2
|
-
export declare class FormValidatorService {
|
|
3
|
-
constructor();
|
|
4
|
-
/**Method to evaluate form fields*/
|
|
5
|
-
isFieldValid(field: string, formGroup: FormGroup | any, firstAttempt?: boolean): any;
|
|
6
|
-
/**Method to find error in form fields*/
|
|
7
|
-
getErrorMessage(field: string, formGroup: FormGroup | any, errorMessages: any, errorField?: string): any;
|
|
8
|
-
}
|
|
1
|
+
import { FormGroup } from '@angular/forms';
|
|
2
|
+
export declare class FormValidatorService {
|
|
3
|
+
constructor();
|
|
4
|
+
/**Method to evaluate form fields*/
|
|
5
|
+
isFieldValid(field: string, formGroup: FormGroup | any, firstAttempt?: boolean): any;
|
|
6
|
+
/**Method to find error in form fields*/
|
|
7
|
+
getErrorMessage(field: string, formGroup: FormGroup | any, errorMessages: any, errorField?: string): any;
|
|
8
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { HttpEvent, HttpInterceptor, HttpHandler, HttpRequest } from '@angular/common/http';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
/**
|
|
4
|
-
* Prefixes all requests not starting with `http[s]` with `environment.serverUrl`.
|
|
5
|
-
*/
|
|
6
|
-
export declare class HeaderInterceptor implements HttpInterceptor {
|
|
7
|
-
intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
|
|
8
|
-
}
|
|
1
|
+
import { HttpEvent, HttpInterceptor, HttpHandler, HttpRequest } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
/**
|
|
4
|
+
* Prefixes all requests not starting with `http[s]` with `environment.serverUrl`.
|
|
5
|
+
*/
|
|
6
|
+
export declare class HeaderInterceptor implements HttpInterceptor {
|
|
7
|
+
intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
|
|
8
|
+
}
|