ngx-techlify-core 11.4.6 → 11.4.7
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 +7861 -7849
- package/bundles/ngx-techlify-core.umd.js.map +1 -1
- package/bundles/ngx-techlify-core.umd.min.js +2 -2
- 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/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 +138 -138
- package/esm2015/lib/entity-files/entity-file.service.js +42 -42
- package/esm2015/lib/entity-files/entity-files-view-all.component.js +208 -204
- package/esm2015/lib/entity-files/entity-files-view-all.module.js +34 -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 +59 -59
- package/esm2015/public-api.js +95 -95
- package/fesm2015/ngx-techlify-core.js +6726 -6722
- 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/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 +34 -34
- package/lib/entity-files/entity-file.service.d.ts +10 -10
- package/lib/entity-files/entity-files-view-all.component.d.ts +45 -44
- 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 +1 -1
- package/public-api.d.ts +91 -91
|
@@ -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
|
+
}
|
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
import { HttpResponse } from '@angular/common/http';
|
|
2
|
-
import { ConfigService } from './config.service';
|
|
3
|
-
export interface HttpCacheEntry {
|
|
4
|
-
lastUpdated: Date;
|
|
5
|
-
data: HttpResponse<any>;
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* Provides a cache facility for HTTP requests with configurable persistence policy.
|
|
9
|
-
*/
|
|
10
|
-
export declare class HttpCacheService {
|
|
11
|
-
private configService;
|
|
12
|
-
private cachedData;
|
|
13
|
-
private storage;
|
|
14
|
-
private cachePersistenceKey;
|
|
15
|
-
constructor(configService: ConfigService);
|
|
16
|
-
/**
|
|
17
|
-
* Sets the cache data for the specified request.
|
|
18
|
-
* @param {!string} url The request URL.
|
|
19
|
-
* @param {ResponseOptions} data The received data.
|
|
20
|
-
* @param {Date=} lastUpdated The cache last update, current date is used if not specified.
|
|
21
|
-
*/
|
|
22
|
-
setCacheData(url: string, data: HttpResponse<any>, lastUpdated?: Date): void;
|
|
23
|
-
/**
|
|
24
|
-
* Gets the cached data for the specified request.
|
|
25
|
-
* @param {!string} url The request URL.
|
|
26
|
-
* @return {?ResponseOptions} The cached data or null if no cached data exists for this request.
|
|
27
|
-
*/
|
|
28
|
-
getCacheData(url: string): HttpResponse<any> | null;
|
|
29
|
-
/**
|
|
30
|
-
* Gets the cached entry for the specified request.
|
|
31
|
-
* @param {!string} url The request URL.
|
|
32
|
-
* @return {?HttpCacheEntry} The cache entry or null if no cache entry exists for this request.
|
|
33
|
-
*/
|
|
34
|
-
getHttpCacheEntry(url: string): HttpCacheEntry | null;
|
|
35
|
-
/**
|
|
36
|
-
* Clears the cached entry (if exists) for the specified request.
|
|
37
|
-
* @param {!string} url The request URL.
|
|
38
|
-
*/
|
|
39
|
-
clearCache(url: string): void;
|
|
40
|
-
/**
|
|
41
|
-
* Cleans cache entries older than the specified date.
|
|
42
|
-
* @param {date=} expirationDate The cache expiration date. If no date is specified, all cache is cleared.
|
|
43
|
-
*/
|
|
44
|
-
cleanCache(expirationDate?: Date): void;
|
|
45
|
-
/**
|
|
46
|
-
* Sets the cache persistence policy.
|
|
47
|
-
* Note that changing the cache persistence will also clear the cache from its previous storage.
|
|
48
|
-
* @param {'local'|'session'=} persistence How the cache should be persisted, it can be either local or session
|
|
49
|
-
* storage, or if no value is provided it will be only in-memory (default).
|
|
50
|
-
*/
|
|
51
|
-
setPersistence(persistence?: 'local' | 'session'): void;
|
|
52
|
-
private saveCacheData;
|
|
53
|
-
private loadCacheData;
|
|
54
|
-
}
|
|
1
|
+
import { HttpResponse } from '@angular/common/http';
|
|
2
|
+
import { ConfigService } from './config.service';
|
|
3
|
+
export interface HttpCacheEntry {
|
|
4
|
+
lastUpdated: Date;
|
|
5
|
+
data: HttpResponse<any>;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Provides a cache facility for HTTP requests with configurable persistence policy.
|
|
9
|
+
*/
|
|
10
|
+
export declare class HttpCacheService {
|
|
11
|
+
private configService;
|
|
12
|
+
private cachedData;
|
|
13
|
+
private storage;
|
|
14
|
+
private cachePersistenceKey;
|
|
15
|
+
constructor(configService: ConfigService);
|
|
16
|
+
/**
|
|
17
|
+
* Sets the cache data for the specified request.
|
|
18
|
+
* @param {!string} url The request URL.
|
|
19
|
+
* @param {ResponseOptions} data The received data.
|
|
20
|
+
* @param {Date=} lastUpdated The cache last update, current date is used if not specified.
|
|
21
|
+
*/
|
|
22
|
+
setCacheData(url: string, data: HttpResponse<any>, lastUpdated?: Date): void;
|
|
23
|
+
/**
|
|
24
|
+
* Gets the cached data for the specified request.
|
|
25
|
+
* @param {!string} url The request URL.
|
|
26
|
+
* @return {?ResponseOptions} The cached data or null if no cached data exists for this request.
|
|
27
|
+
*/
|
|
28
|
+
getCacheData(url: string): HttpResponse<any> | null;
|
|
29
|
+
/**
|
|
30
|
+
* Gets the cached entry for the specified request.
|
|
31
|
+
* @param {!string} url The request URL.
|
|
32
|
+
* @return {?HttpCacheEntry} The cache entry or null if no cache entry exists for this request.
|
|
33
|
+
*/
|
|
34
|
+
getHttpCacheEntry(url: string): HttpCacheEntry | null;
|
|
35
|
+
/**
|
|
36
|
+
* Clears the cached entry (if exists) for the specified request.
|
|
37
|
+
* @param {!string} url The request URL.
|
|
38
|
+
*/
|
|
39
|
+
clearCache(url: string): void;
|
|
40
|
+
/**
|
|
41
|
+
* Cleans cache entries older than the specified date.
|
|
42
|
+
* @param {date=} expirationDate The cache expiration date. If no date is specified, all cache is cleared.
|
|
43
|
+
*/
|
|
44
|
+
cleanCache(expirationDate?: Date): void;
|
|
45
|
+
/**
|
|
46
|
+
* Sets the cache persistence policy.
|
|
47
|
+
* Note that changing the cache persistence will also clear the cache from its previous storage.
|
|
48
|
+
* @param {'local'|'session'=} persistence How the cache should be persisted, it can be either local or session
|
|
49
|
+
* storage, or if no value is provided it will be only in-memory (default).
|
|
50
|
+
*/
|
|
51
|
+
setPersistence(persistence?: 'local' | 'session'): void;
|
|
52
|
+
private saveCacheData;
|
|
53
|
+
private loadCacheData;
|
|
54
|
+
}
|
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
import { InjectionToken, Injector } from '@angular/core';
|
|
2
|
-
import { HttpClient, HttpInterceptor, HttpHandler } from '@angular/common/http';
|
|
3
|
-
export interface HttpCustomClient {
|
|
4
|
-
/**
|
|
5
|
-
* Enables caching for this request.
|
|
6
|
-
* @param {boolean} forceUpdate Forces request to be made and updates cache entry.
|
|
7
|
-
* @return {HttpCustomClient} The new instance.
|
|
8
|
-
*/
|
|
9
|
-
cache(forceUpdate?: boolean): HttpCustomClient;
|
|
10
|
-
/**
|
|
11
|
-
* Skips default error handler for this request.
|
|
12
|
-
* @return {HttpCustomClient} The new instance.
|
|
13
|
-
*/
|
|
14
|
-
skipErrorHandler(): HttpCustomClient;
|
|
15
|
-
/**
|
|
16
|
-
* Skips default API Prefix for this request.
|
|
17
|
-
* @return {HttpCustomClient} The new instance.
|
|
18
|
-
*/
|
|
19
|
-
skipApiPrefix(): HttpCustomClient;
|
|
20
|
-
/**
|
|
21
|
-
* Skips default Token Interceptor for this request.
|
|
22
|
-
* @return {HttpCustomClient} The new instance.
|
|
23
|
-
*/
|
|
24
|
-
skipToken(): HttpCustomClient;
|
|
25
|
-
/**
|
|
26
|
-
* Skips default Header Interceptor for this request.
|
|
27
|
-
* @return {HttpCustomClient} The new instance.
|
|
28
|
-
*/
|
|
29
|
-
skipHeader(): HttpCustomClient;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Allows to override default dynamic interceptors that can be disabled with the HttpService extension.
|
|
33
|
-
* Except for very specific needs, you should better configure these interceptors directly in the constructor below
|
|
34
|
-
* for better readability.
|
|
35
|
-
*
|
|
36
|
-
* For static interceptors that should always be enabled (like ApiPrefixInterceptor), use the standard
|
|
37
|
-
* HTTP_INTERCEPTORS token.
|
|
38
|
-
*/
|
|
39
|
-
export declare const HTTP_DYNAMIC_INTERCEPTORS: InjectionToken<HttpInterceptor>;
|
|
40
|
-
/**
|
|
41
|
-
* Extends HttpClient with per request configuration using dynamic interceptors.
|
|
42
|
-
*/
|
|
43
|
-
export declare class HttpService extends HttpClient implements HttpCustomClient {
|
|
44
|
-
private httpHandler;
|
|
45
|
-
private injector;
|
|
46
|
-
private interceptors;
|
|
47
|
-
constructor(httpHandler: HttpHandler, injector: Injector, interceptors?: HttpInterceptor[]);
|
|
48
|
-
cache(forceUpdate?: boolean): HttpService;
|
|
49
|
-
skipErrorHandler(): HttpService;
|
|
50
|
-
skipApiPrefix(): HttpService;
|
|
51
|
-
skipToken(): HttpService;
|
|
52
|
-
skipHeader(): HttpService;
|
|
53
|
-
request(method?: any, url?: any, options?: any): any;
|
|
54
|
-
private removeInterceptor;
|
|
55
|
-
private addInterceptor;
|
|
56
|
-
}
|
|
1
|
+
import { InjectionToken, Injector } from '@angular/core';
|
|
2
|
+
import { HttpClient, HttpInterceptor, HttpHandler } from '@angular/common/http';
|
|
3
|
+
export interface HttpCustomClient {
|
|
4
|
+
/**
|
|
5
|
+
* Enables caching for this request.
|
|
6
|
+
* @param {boolean} forceUpdate Forces request to be made and updates cache entry.
|
|
7
|
+
* @return {HttpCustomClient} The new instance.
|
|
8
|
+
*/
|
|
9
|
+
cache(forceUpdate?: boolean): HttpCustomClient;
|
|
10
|
+
/**
|
|
11
|
+
* Skips default error handler for this request.
|
|
12
|
+
* @return {HttpCustomClient} The new instance.
|
|
13
|
+
*/
|
|
14
|
+
skipErrorHandler(): HttpCustomClient;
|
|
15
|
+
/**
|
|
16
|
+
* Skips default API Prefix for this request.
|
|
17
|
+
* @return {HttpCustomClient} The new instance.
|
|
18
|
+
*/
|
|
19
|
+
skipApiPrefix(): HttpCustomClient;
|
|
20
|
+
/**
|
|
21
|
+
* Skips default Token Interceptor for this request.
|
|
22
|
+
* @return {HttpCustomClient} The new instance.
|
|
23
|
+
*/
|
|
24
|
+
skipToken(): HttpCustomClient;
|
|
25
|
+
/**
|
|
26
|
+
* Skips default Header Interceptor for this request.
|
|
27
|
+
* @return {HttpCustomClient} The new instance.
|
|
28
|
+
*/
|
|
29
|
+
skipHeader(): HttpCustomClient;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Allows to override default dynamic interceptors that can be disabled with the HttpService extension.
|
|
33
|
+
* Except for very specific needs, you should better configure these interceptors directly in the constructor below
|
|
34
|
+
* for better readability.
|
|
35
|
+
*
|
|
36
|
+
* For static interceptors that should always be enabled (like ApiPrefixInterceptor), use the standard
|
|
37
|
+
* HTTP_INTERCEPTORS token.
|
|
38
|
+
*/
|
|
39
|
+
export declare const HTTP_DYNAMIC_INTERCEPTORS: InjectionToken<HttpInterceptor>;
|
|
40
|
+
/**
|
|
41
|
+
* Extends HttpClient with per request configuration using dynamic interceptors.
|
|
42
|
+
*/
|
|
43
|
+
export declare class HttpService extends HttpClient implements HttpCustomClient {
|
|
44
|
+
private httpHandler;
|
|
45
|
+
private injector;
|
|
46
|
+
private interceptors;
|
|
47
|
+
constructor(httpHandler: HttpHandler, injector: Injector, interceptors?: HttpInterceptor[]);
|
|
48
|
+
cache(forceUpdate?: boolean): HttpService;
|
|
49
|
+
skipErrorHandler(): HttpService;
|
|
50
|
+
skipApiPrefix(): HttpService;
|
|
51
|
+
skipToken(): HttpService;
|
|
52
|
+
skipHeader(): HttpService;
|
|
53
|
+
request(method?: any, url?: any, options?: any): any;
|
|
54
|
+
private removeInterceptor;
|
|
55
|
+
private addInterceptor;
|
|
56
|
+
}
|
package/lib/core/index.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
export * from './snack/snack.component';
|
|
2
|
-
export * from './snack/snack.module';
|
|
3
|
-
export * from './alert.service';
|
|
4
|
-
export * from './api-prefix.interceptor';
|
|
5
|
-
export * from './authentication.guard';
|
|
6
|
-
export * from './authentication.service';
|
|
7
|
-
export * from './cache.interceptor';
|
|
8
|
-
export * from './config.service';
|
|
9
|
-
export * from './credentials.service';
|
|
10
|
-
export * from './error-handler.interceptor';
|
|
11
|
-
export * from './error-handler.service';
|
|
12
|
-
export * from './form-validator.service';
|
|
13
|
-
export * from './http-cache.service';
|
|
14
|
-
export * from './http.service';
|
|
15
|
-
export * from './logger.service';
|
|
16
|
-
export * from './route-reusable-strategy';
|
|
17
|
-
export * from './storage.service';
|
|
18
|
-
export * from './techlify-config.model';
|
|
19
|
-
export * from './token.interceptor';
|
|
20
|
-
export * from './dataManager.service';
|
|
1
|
+
export * from './snack/snack.component';
|
|
2
|
+
export * from './snack/snack.module';
|
|
3
|
+
export * from './alert.service';
|
|
4
|
+
export * from './api-prefix.interceptor';
|
|
5
|
+
export * from './authentication.guard';
|
|
6
|
+
export * from './authentication.service';
|
|
7
|
+
export * from './cache.interceptor';
|
|
8
|
+
export * from './config.service';
|
|
9
|
+
export * from './credentials.service';
|
|
10
|
+
export * from './error-handler.interceptor';
|
|
11
|
+
export * from './error-handler.service';
|
|
12
|
+
export * from './form-validator.service';
|
|
13
|
+
export * from './http-cache.service';
|
|
14
|
+
export * from './http.service';
|
|
15
|
+
export * from './logger.service';
|
|
16
|
+
export * from './route-reusable-strategy';
|
|
17
|
+
export * from './storage.service';
|
|
18
|
+
export * from './techlify-config.model';
|
|
19
|
+
export * from './token.interceptor';
|
|
20
|
+
export * from './dataManager.service';
|