ngx-techlify-core 11.5.0 → 11.5.2
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/karma.conf.js +44 -0
- package/ng-package.json +27 -0
- package/package.json +29 -37
- package/src/lib/action-popup/action-popup.component.html +21 -0
- package/src/lib/action-popup/action-popup.component.scss +0 -0
- package/src/lib/action-popup/action-popup.component.spec.ts +25 -0
- package/src/lib/action-popup/action-popup.component.ts +31 -0
- package/{lib/action-popup/action-popup.model.d.ts → src/lib/action-popup/action-popup.model.ts} +5 -5
- package/src/lib/action-popup/action-popup.module.ts +23 -0
- package/{lib/action-popup/index.d.ts → src/lib/action-popup/index.ts} +2 -2
- package/src/lib/audit-log/audit-log-for-model/audit-log-for-model-routing.module.ts +10 -0
- package/src/lib/audit-log/audit-log-for-model/audit-log-for-model.component.html +9 -0
- package/src/lib/audit-log/audit-log-for-model/audit-log-for-model.component.scss +0 -0
- package/src/lib/audit-log/audit-log-for-model/audit-log-for-model.component.spec.ts +25 -0
- package/src/lib/audit-log/audit-log-for-model/audit-log-for-model.component.ts +49 -0
- package/src/lib/audit-log/audit-log-for-model/audit-log-for-model.module.ts +24 -0
- package/src/lib/audit-log/audit-log-list/audit-log-list-routing.module.ts +10 -0
- package/src/lib/audit-log/audit-log-list/audit-log-list.component.html +92 -0
- package/src/lib/audit-log/audit-log-list/audit-log-list.component.scss +21 -0
- package/src/lib/audit-log/audit-log-list/audit-log-list.component.spec.ts +25 -0
- package/src/lib/audit-log/audit-log-list/audit-log-list.component.ts +138 -0
- package/src/lib/audit-log/audit-log-list/audit-log-list.module.ts +28 -0
- package/src/lib/audit-log/audit-log-list-filter/audit-log-list-filter-routing.module.ts +10 -0
- package/src/lib/audit-log/audit-log-list-filter/audit-log-list-filter.component.html +49 -0
- package/src/lib/audit-log/audit-log-list-filter/audit-log-list-filter.component.scss +0 -0
- package/src/lib/audit-log/audit-log-list-filter/audit-log-list-filter.component.spec.ts +26 -0
- package/src/lib/audit-log/audit-log-list-filter/audit-log-list-filter.component.ts +74 -0
- package/src/lib/audit-log/audit-log-list-filter/audit-log-list-filter.module.ts +24 -0
- package/src/lib/audit-log/audit-log-routing.module.ts +18 -0
- package/src/lib/audit-log/audit-log-view/audit-log-view-routing.module.ts +10 -0
- package/src/lib/audit-log/audit-log-view/audit-log-view.component.html +46 -0
- package/src/lib/audit-log/audit-log-view/audit-log-view.component.scss +0 -0
- package/src/lib/audit-log/audit-log-view/audit-log-view.component.spec.ts +25 -0
- package/src/lib/audit-log/audit-log-view/audit-log-view.component.ts +54 -0
- package/src/lib/audit-log/audit-log-view/audit-log-view.module.ts +20 -0
- package/src/lib/audit-log/audit-log-view-model/audit-log-view-model-routing.module.ts +10 -0
- package/src/lib/audit-log/audit-log-view-model/audit-log-view-model.component.html +38 -0
- package/src/lib/audit-log/audit-log-view-model/audit-log-view-model.component.scss +4 -0
- package/src/lib/audit-log/audit-log-view-model/audit-log-view-model.component.spec.ts +25 -0
- package/src/lib/audit-log/audit-log-view-model/audit-log-view-model.component.ts +53 -0
- package/src/lib/audit-log/audit-log-view-model/audit-log-view-model.module.ts +20 -0
- package/src/lib/audit-log/audit-log.module.ts +20 -0
- package/src/lib/audit-log/audit-logs-view-model/audit-logs-view-model-routing.module.ts +10 -0
- package/src/lib/audit-log/audit-logs-view-model/audit-logs-view-model.component.html +4 -0
- package/src/lib/audit-log/audit-logs-view-model/audit-logs-view-model.component.scss +4 -0
- package/src/lib/audit-log/audit-logs-view-model/audit-logs-view-model.component.spec.ts +25 -0
- package/src/lib/audit-log/audit-logs-view-model/audit-logs-view-model.component.ts +28 -0
- package/src/lib/audit-log/audit-logs-view-model/audit-logs-view-model.module.ts +20 -0
- package/src/lib/base-model/index.ts +3 -0
- package/src/lib/base-model/techlify-form-component.class.ts +60 -0
- package/src/lib/base-model/techlify-listing-component.class.ts +67 -0
- package/src/lib/base-model/techlify-service.class.ts +73 -0
- package/src/lib/core/alert.service.ts +32 -0
- package/src/lib/core/api-prefix.interceptor.ts +22 -0
- package/src/lib/core/authentication.guard.ts +34 -0
- package/src/lib/core/authentication.service.ts +53 -0
- package/src/lib/core/cache.interceptor.ts +59 -0
- package/src/lib/core/config.service.ts +52 -0
- package/src/lib/core/core.module.ts +44 -0
- package/src/lib/core/credentials.service.ts +91 -0
- package/{lib/core/dataManager.service.d.ts → src/lib/core/dataManager.service.ts} +124 -70
- package/src/lib/core/error-handler.interceptor.ts +43 -0
- package/src/lib/core/error-handler.service.ts +61 -0
- package/src/lib/core/filter.service.ts +42 -0
- package/src/lib/core/form-validator.service.ts +23 -0
- package/src/lib/core/header.interceptor.ts +22 -0
- package/src/lib/core/http-cache.service.ts +122 -0
- package/src/lib/core/http.service.ts +137 -0
- package/{lib/core/index.d.ts → src/lib/core/index.ts} +22 -20
- package/src/lib/core/logger.service.ts +113 -0
- package/src/lib/core/route-reusable-strategy.ts +36 -0
- package/src/lib/core/snack/error-snack.html +8 -0
- package/src/lib/core/snack/snack.component.ts +19 -0
- package/src/lib/core/snack/snack.module.ts +22 -0
- package/src/lib/core/snack/snack.scss +18 -0
- package/src/lib/core/snack/success-snack.html +8 -0
- package/src/lib/core/storage.service.ts +38 -0
- package/src/lib/core/techlify-config.model.ts +32 -0
- package/src/lib/core/token.interceptor.ts +25 -0
- package/src/lib/data-table/data-table.component.html +139 -0
- package/src/lib/data-table/data-table.component.scss +54 -0
- package/src/lib/data-table/data-table.component.spec.ts +25 -0
- package/src/lib/data-table/data-table.component.ts +232 -0
- package/{lib/data-table/data-table.model.d.ts → src/lib/data-table/data-table.model.ts} +49 -46
- package/src/lib/data-table/data-table.module.ts +23 -0
- package/{lib/data-table/index.d.ts → src/lib/data-table/index.ts} +2 -2
- package/src/lib/date-validator.ts +12 -0
- package/src/lib/document-viewer/document-viewer.component.css +5 -0
- package/src/lib/document-viewer/document-viewer.component.html +19 -0
- package/src/lib/document-viewer/document-viewer.component.ts +66 -0
- package/src/lib/document-viewer/document-viewer.module.ts +22 -0
- package/{lib/document-viewer/index.d.ts → src/lib/document-viewer/index.ts} +2 -2
- package/src/lib/document-viewer/viewer-config.model.ts +5 -0
- package/src/lib/email-subscription/email-subscription-for-user/email-subscription-for-user-routing.module.ts +25 -0
- package/src/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.component.html +23 -0
- package/src/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.component.scss +4 -0
- package/src/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.component.spec.ts +25 -0
- package/src/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.component.ts +74 -0
- package/src/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.module.ts +22 -0
- package/{lib/email-subscription/email-subscription-for-user/index.d.ts → src/lib/email-subscription/email-subscription-for-user/index.ts} +1 -1
- package/src/lib/email-subscription/email-subscription-routing.module.ts +10 -0
- package/src/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form-routing.module.ts +10 -0
- package/src/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.component.html +47 -0
- package/src/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.component.scss +0 -0
- package/src/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.component.spec.ts +25 -0
- package/src/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.component.ts +113 -0
- package/src/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.module.ts +28 -0
- package/{lib/email-subscription/email-subscription-type/email-subscription-type-form/index.d.ts → src/lib/email-subscription/email-subscription-type/email-subscription-type-form/index.ts} +1 -1
- package/src/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list-routing.module.ts +29 -0
- package/src/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.component.html +76 -0
- package/src/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.component.scss +4 -0
- package/src/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.component.spec.ts +25 -0
- package/src/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.component.ts +170 -0
- package/src/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.module.ts +26 -0
- package/src/lib/email-subscription/email-subscription-type/email-subscription-type-list/index.ts +1 -0
- package/src/lib/email-subscription/email-subscription-type/email-subscription-type-routing.module.ts +11 -0
- package/src/lib/email-subscription/email-subscription-type/email-subscription-type.module.ts +14 -0
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form-routing.module.ts +10 -0
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.component.html +38 -0
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.component.scss +0 -0
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.component.spec.ts +25 -0
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.component.ts +113 -0
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.module.ts +26 -0
- package/{lib/email-subscription/email-subscription-user/email-subscription-user-form/index.d.ts → src/lib/email-subscription/email-subscription-user/email-subscription-user-form/index.ts} +1 -1
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list-routing.module.ts +27 -0
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.component.html +74 -0
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.component.scss +5 -0
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.component.spec.ts +25 -0
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.component.ts +174 -0
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.module.ts +28 -0
- package/{lib/email-subscription/email-subscription-user/email-subscription-user-list/index.d.ts → src/lib/email-subscription/email-subscription-user/email-subscription-user-list/index.ts} +1 -1
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter-routing.module.ts +10 -0
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.component.html +21 -0
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.component.scss +0 -0
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.component.spec.ts +25 -0
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.component.ts +56 -0
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.module.ts +24 -0
- package/{lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/index.d.ts → src/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/index.ts} +1 -1
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-routing.module.ts +11 -0
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user.module.ts +14 -0
- package/src/lib/email-subscription/email-subscription.module.ts +15 -0
- package/src/lib/entity-files/entity-file-form/entity-file-form.component.css +0 -0
- package/src/lib/entity-files/entity-file-form/entity-file-form.component.html +45 -0
- package/src/lib/entity-files/entity-file-form/entity-file-form.component.ts +172 -0
- package/src/lib/entity-files/entity-file.service.ts +46 -0
- package/src/lib/entity-files/entity-files-view-all.component.css +0 -0
- package/src/lib/entity-files/entity-files-view-all.component.html +236 -0
- package/src/lib/entity-files/entity-files-view-all.component.ts +325 -0
- package/src/lib/entity-files/entity-files-view-all.module.ts +38 -0
- package/src/lib/entity-files/index.ts +2 -0
- package/src/lib/export-excel/export-excel-button/export-excel-button.component.html +1 -0
- package/src/lib/export-excel/export-excel-button/export-excel-button.component.scss +0 -0
- package/src/lib/export-excel/export-excel-button/export-excel-button.component.spec.ts +25 -0
- package/src/lib/export-excel/export-excel-button/export-excel-button.component.ts +31 -0
- package/src/lib/export-excel/export-excel.module.ts +16 -0
- package/src/lib/file-dropper/file-dropper.component.html +41 -0
- package/src/lib/file-dropper/file-dropper.component.scss +8 -0
- package/src/lib/file-dropper/file-dropper.component.ts +139 -0
- package/src/lib/file-dropper/file-dropper.model.ts +10 -0
- package/src/lib/file-dropper/file-dropper.module.ts +18 -0
- package/{lib/file-dropper/index.d.ts → src/lib/file-dropper/index.ts} +2 -2
- package/src/lib/import-csv/data-import/data-import.component.html +11 -0
- package/src/lib/import-csv/data-import/data-import.component.scss +0 -0
- package/src/lib/import-csv/data-import/data-import.component.spec.ts +28 -0
- package/src/lib/import-csv/data-import/data-import.component.ts +16 -0
- package/src/lib/import-csv/failed-items-list/failed-items-list.component.html +61 -0
- package/src/lib/import-csv/failed-items-list/failed-items-list.component.scss +0 -0
- package/src/lib/import-csv/failed-items-list/failed-items-list.component.spec.ts +28 -0
- package/src/lib/import-csv/failed-items-list/failed-items-list.component.ts +30 -0
- package/src/lib/import-csv/field-mapping/field-mapping.component.html +70 -0
- package/src/lib/import-csv/field-mapping/field-mapping.component.scss +15 -0
- package/src/lib/import-csv/field-mapping/field-mapping.component.ts +161 -0
- package/src/lib/import-csv/import-csv-config.ts +17 -0
- package/src/lib/import-csv/import-csv.component.html +71 -0
- package/src/lib/import-csv/import-csv.component.scss +15 -0
- package/src/lib/import-csv/import-csv.component.spec.ts +28 -0
- package/src/lib/import-csv/import-csv.component.ts +198 -0
- package/src/lib/import-csv/import-csv.module.ts +43 -0
- package/src/lib/import-csv/import-history-list/import-history-list.component.html +43 -0
- package/src/lib/import-csv/import-history-list/import-history-list.component.scss +0 -0
- package/src/lib/import-csv/import-history-list/import-history-list.component.spec.ts +28 -0
- package/src/lib/import-csv/import-history-list/import-history-list.component.ts +74 -0
- package/src/lib/import-csv/import-success/import-success.component.html +22 -0
- package/src/lib/import-csv/import-success/import-success.component.scss +0 -0
- package/src/lib/import-csv/import-success/import-success.component.spec.ts +28 -0
- package/src/lib/import-csv/import-success/import-success.component.ts +17 -0
- package/{lib/loader/index.d.ts → src/lib/loader/index.ts} +1 -1
- package/src/lib/loader/loader.component.html +4 -0
- package/src/lib/loader/loader.component.scss +8 -0
- package/src/lib/loader/loader.component.spec.ts +73 -0
- package/src/lib/loader/loader.component.ts +18 -0
- package/src/lib/loader/loader.module.ts +18 -0
- package/src/lib/login-history-for-user/login-history-for-user-routing.module.ts +18 -0
- package/src/lib/login-history-for-user/login-history-for-user.component.html +31 -0
- package/src/lib/login-history-for-user/login-history-for-user.component.scss +4 -0
- package/src/lib/login-history-for-user/login-history-for-user.component.spec.ts +25 -0
- package/src/lib/login-history-for-user/login-history-for-user.component.ts +94 -0
- package/src/lib/login-history-for-user/login-history-for-user.module.ts +26 -0
- package/src/lib/material.module.ts +68 -0
- package/src/lib/note/comment-form/comment-form.component.html +45 -0
- package/src/lib/note/comment-form/comment-form.component.scss +7 -0
- package/src/lib/note/comment-form/comment-form.component.spec.ts +24 -0
- package/src/lib/note/comment-form/comment-form.component.ts +84 -0
- package/{lib/note/index.d.ts → src/lib/note/index.ts} +3 -3
- package/src/lib/note/note-form/note-form.component.css +0 -0
- package/src/lib/note/note-form/note-form.component.html +26 -0
- package/src/lib/note/note-form/note-form.component.spec.ts +25 -0
- package/src/lib/note/note-form/note-form.component.ts +93 -0
- package/src/lib/note/note-list/note-list.component.css +4 -0
- package/src/lib/note/note-list/note-list.component.html +58 -0
- package/src/lib/note/note-list/note-list.component.spec.ts +25 -0
- package/src/lib/note/note-list/note-list.component.ts +156 -0
- package/src/lib/note/note.module.ts +33 -0
- package/src/lib/note/note.service.spec.ts +16 -0
- package/src/lib/note/note.service.ts +26 -0
- package/src/lib/read-more/read-more.component.html +3 -0
- package/src/lib/read-more/read-more.component.scss +8 -0
- package/src/lib/read-more/read-more.component.spec.ts +24 -0
- package/src/lib/read-more/read-more.component.ts +41 -0
- package/src/lib/read-more/read-more.module.ts +18 -0
- package/src/lib/request-helper/request-helper.service.ts +92 -0
- package/src/lib/searchable-selector/index.ts +2 -0
- package/src/lib/searchable-selector/mat-select-infinite-scroll.directive.ts +89 -0
- package/src/lib/searchable-selector/searchable-selector.component.html +21 -0
- package/src/lib/searchable-selector/searchable-selector.component.scss +8 -0
- package/src/lib/searchable-selector/searchable-selector.component.spec.ts +25 -0
- package/src/lib/searchable-selector/searchable-selector.component.ts +337 -0
- package/src/lib/searchable-selector/searchable-selector.module.ts +25 -0
- package/src/lib/techlify-feature/on-off-switch/on-off-switch.component.html +4 -0
- package/src/lib/techlify-feature/on-off-switch/on-off-switch.component.scss +0 -0
- package/src/lib/techlify-feature/on-off-switch/on-off-switch.component.spec.ts +28 -0
- package/src/lib/techlify-feature/on-off-switch/on-off-switch.component.ts +25 -0
- package/src/lib/techlify-feature/techlify-feature-enabled.directive.ts +71 -0
- package/src/lib/techlify-feature/techlify-feature-listing.component.html +65 -0
- package/src/lib/techlify-feature/techlify-feature-listing.component.scss +0 -0
- package/src/lib/techlify-feature/techlify-feature-listing.component.ts +174 -0
- package/src/lib/techlify-feature/techlify-feature.module.ts +28 -0
- package/src/lib/techlify-feature/techlify-feature.routing.ts +13 -0
- package/src/lib/techlify-feature/techlify-feature.service.ts +23 -0
- package/src/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-config.model.ts +25 -0
- package/src/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.component.html +18 -0
- package/src/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.component.scss +6 -0
- package/src/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.component.spec.ts +25 -0
- package/src/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.component.ts +308 -0
- package/src/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.module.ts +24 -0
- package/src/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.component.html +8 -0
- package/src/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.component.scss +0 -0
- package/src/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.component.spec.ts +25 -0
- package/src/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.component.ts +180 -0
- package/src/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.module.ts +28 -0
- package/src/lib/techlify-update/techlify-update-form/techlify-update-form.component.html +78 -0
- package/src/lib/techlify-update/techlify-update-form/techlify-update-form.component.scss +0 -0
- package/src/lib/techlify-update/techlify-update-form/techlify-update-form.component.spec.ts +25 -0
- package/src/lib/techlify-update/techlify-update-form/techlify-update-form.component.ts +113 -0
- package/src/lib/techlify-update/techlify-update-form/techlify-update-form.module.ts +25 -0
- package/src/lib/techlify-update/techlify-update-history/index.ts +1 -0
- package/src/lib/techlify-update/techlify-update-history/techlify-update-history-routing.module.ts +21 -0
- package/src/lib/techlify-update/techlify-update-history/techlify-update-history.component.html +94 -0
- package/src/lib/techlify-update/techlify-update-history/techlify-update-history.component.scss +0 -0
- package/src/lib/techlify-update/techlify-update-history/techlify-update-history.component.ts +142 -0
- package/src/lib/techlify-update/techlify-update-history/techlify-update-history.module.ts +25 -0
- package/src/lib/techlify-update/techlify-update-routing.module.ts +21 -0
- package/src/lib/techlify-update/techlify-update.module.ts +27 -0
- package/src/lib/techlify-update/techlify-update.service.spec.ts +16 -0
- package/src/lib/techlify-update/techlify-update.service.ts +42 -0
- package/src/lib/techlify-update/techlify-updates-list/techlify-updates-list.component.html +104 -0
- package/src/lib/techlify-update/techlify-updates-list/techlify-updates-list.component.scss +0 -0
- package/src/lib/techlify-update/techlify-updates-list/techlify-updates-list.component.spec.ts +25 -0
- package/src/lib/techlify-update/techlify-updates-list/techlify-updates-list.component.ts +167 -0
- package/src/lib/techlify-update/update-notifier/update-notifier-snack/update-notifier-snack.component.html +39 -0
- package/src/lib/techlify-update/update-notifier/update-notifier-snack/update-notifier-snack.component.scss +57 -0
- package/src/lib/techlify-update/update-notifier/update-notifier-snack/update-notifier-snack.component.spec.ts +25 -0
- package/src/lib/techlify-update/update-notifier/update-notifier-snack/update-notifier-snack.component.ts +76 -0
- package/src/lib/techlify-update/update-notifier/update-notifier.component.html +0 -0
- package/src/lib/techlify-update/update-notifier/update-notifier.component.scss +3 -0
- package/src/lib/techlify-update/update-notifier/update-notifier.component.spec.ts +25 -0
- package/src/lib/techlify-update/update-notifier/update-notifier.component.ts +56 -0
- package/src/lib/techlify-update/update-notifier/update-notifier.module.ts +27 -0
- package/src/lib/techlify-update/update-view/update-view.component.html +63 -0
- package/src/lib/techlify-update/update-view/update-view.component.scss +19 -0
- package/src/lib/techlify-update/update-view/update-view.component.spec.ts +25 -0
- package/src/lib/techlify-update/update-view/update-view.component.ts +36 -0
- package/src/lib/techlify-update/update-view/update-view.module.ts +23 -0
- package/src/lib/timeline-filter/README.md +60 -0
- package/src/lib/timeline-filter/calculate-timeline.ts +109 -0
- package/{lib/timeline-filter/index.d.ts → src/lib/timeline-filter/index.ts} +3 -3
- package/src/lib/timeline-filter/timeline-filter-routing.module.ts +10 -0
- package/src/lib/timeline-filter/timeline-filter.component.html +54 -0
- package/src/lib/timeline-filter/timeline-filter.component.scss +0 -0
- package/src/lib/timeline-filter/timeline-filter.component.spec.ts +25 -0
- package/src/lib/timeline-filter/timeline-filter.component.ts +220 -0
- package/src/lib/timeline-filter/timeline-filter.module.ts +22 -0
- package/src/lib/timeline-filter/timeline.model.ts +17 -0
- package/src/lib/utility/date-utils.service.ts +51 -0
- package/{lib/utility/index.d.ts → src/lib/utility/index.ts} +3 -3
- package/src/lib/utility/num-items-selector.component.ts +29 -0
- package/src/lib/utility/num-items-selector.html +13 -0
- package/src/lib/utility/number-selector.component.ts +38 -0
- package/src/lib/utility/number-selector.html +6 -0
- package/src/lib/utility/utility.module.ts +20 -0
- package/{public-api.d.ts → src/public-api.ts} +123 -92
- package/src/test.ts +26 -0
- package/tsconfig.lib.json +26 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +17 -0
- package/tslint.json +17 -0
- package/bundles/ngx-techlify-core.umd.js +0 -8449
- package/bundles/ngx-techlify-core.umd.js.map +0 -1
- package/bundles/ngx-techlify-core.umd.min.js +0 -2
- package/bundles/ngx-techlify-core.umd.min.js.map +0 -1
- package/esm2015/lib/action-popup/action-popup.component.js +0 -32
- package/esm2015/lib/action-popup/action-popup.model.js +0 -3
- package/esm2015/lib/action-popup/action-popup.module.js +0 -26
- package/esm2015/lib/action-popup/index.js +0 -3
- package/esm2015/lib/audit-log/audit-log-for-model/audit-log-for-model-routing.module.js +0 -12
- package/esm2015/lib/audit-log/audit-log-for-model/audit-log-for-model.component.js +0 -49
- package/esm2015/lib/audit-log/audit-log-for-model/audit-log-for-model.module.js +0 -25
- package/esm2015/lib/audit-log/audit-log-list/audit-log-list-routing.module.js +0 -12
- package/esm2015/lib/audit-log/audit-log-list/audit-log-list.component.js +0 -132
- package/esm2015/lib/audit-log/audit-log-list/audit-log-list.module.js +0 -29
- package/esm2015/lib/audit-log/audit-log-list-filter/audit-log-list-filter-routing.module.js +0 -12
- package/esm2015/lib/audit-log/audit-log-list-filter/audit-log-list-filter.component.js +0 -67
- package/esm2015/lib/audit-log/audit-log-list-filter/audit-log-list-filter.module.js +0 -25
- package/esm2015/lib/audit-log/audit-log-routing.module.js +0 -19
- package/esm2015/lib/audit-log/audit-log-view/audit-log-view-routing.module.js +0 -12
- package/esm2015/lib/audit-log/audit-log-view/audit-log-view.component.js +0 -60
- package/esm2015/lib/audit-log/audit-log-view/audit-log-view.module.js +0 -21
- package/esm2015/lib/audit-log/audit-log-view-model/audit-log-view-model-routing.module.js +0 -12
- package/esm2015/lib/audit-log/audit-log-view-model/audit-log-view-model.component.js +0 -57
- package/esm2015/lib/audit-log/audit-log-view-model/audit-log-view-model.module.js +0 -21
- package/esm2015/lib/audit-log/audit-log.module.js +0 -20
- package/esm2015/lib/audit-log/audit-logs-view-model/audit-logs-view-model-routing.module.js +0 -12
- package/esm2015/lib/audit-log/audit-logs-view-model/audit-logs-view-model.component.js +0 -35
- package/esm2015/lib/audit-log/audit-logs-view-model/audit-logs-view-model.module.js +0 -21
- package/esm2015/lib/base-model/index.js +0 -4
- package/esm2015/lib/base-model/techlify-form-component.class.js +0 -51
- package/esm2015/lib/base-model/techlify-listing-component.class.js +0 -41
- package/esm2015/lib/base-model/techlify-service.class.js +0 -64
- package/esm2015/lib/core/alert.service.js +0 -40
- package/esm2015/lib/core/api-prefix.interceptor.js +0 -28
- package/esm2015/lib/core/authentication.guard.js +0 -39
- package/esm2015/lib/core/authentication.service.js +0 -59
- package/esm2015/lib/core/cache.interceptor.js +0 -60
- package/esm2015/lib/core/config.service.js +0 -47
- package/esm2015/lib/core/core.module.js +0 -42
- package/esm2015/lib/core/credentials.service.js +0 -84
- package/esm2015/lib/core/dataManager.service.js +0 -121
- package/esm2015/lib/core/error-handler.interceptor.js +0 -53
- package/esm2015/lib/core/error-handler.service.js +0 -60
- package/esm2015/lib/core/form-validator.service.js +0 -23
- package/esm2015/lib/core/header.interceptor.js +0 -22
- package/esm2015/lib/core/http-cache.service.js +0 -110
- package/esm2015/lib/core/http.service.js +0 -82
- package/esm2015/lib/core/index.js +0 -21
- package/esm2015/lib/core/logger.service.js +0 -100
- package/esm2015/lib/core/route-reusable-strategy.js +0 -35
- package/esm2015/lib/core/snack/snack.component.js +0 -33
- package/esm2015/lib/core/snack/snack.module.js +0 -25
- package/esm2015/lib/core/storage.service.js +0 -37
- package/esm2015/lib/core/techlify-config.model.js +0 -28
- package/esm2015/lib/core/token.interceptor.js +0 -30
- package/esm2015/lib/data-table/data-table.component.js +0 -190
- package/esm2015/lib/data-table/data-table.model.js +0 -11
- package/esm2015/lib/data-table/data-table.module.js +0 -25
- package/esm2015/lib/data-table/index.js +0 -3
- package/esm2015/lib/date-validator.js +0 -10
- package/esm2015/lib/document-viewer/document-viewer.component.js +0 -58
- package/esm2015/lib/document-viewer/document-viewer.module.js +0 -25
- package/esm2015/lib/document-viewer/index.js +0 -3
- package/esm2015/lib/document-viewer/viewer-config.model.js +0 -3
- package/esm2015/lib/email-subscription/email-subscription-for-user/email-subscription-for-user-routing.module.js +0 -26
- package/esm2015/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.component.js +0 -72
- package/esm2015/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.module.js +0 -23
- package/esm2015/lib/email-subscription/email-subscription-for-user/index.js +0 -2
- package/esm2015/lib/email-subscription/email-subscription-routing.module.js +0 -12
- package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form-routing.module.js +0 -12
- package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.component.js +0 -102
- package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.module.js +0 -28
- package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-form/index.js +0 -2
- package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list-routing.module.js +0 -28
- package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.component.js +0 -153
- package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.module.js +0 -27
- package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-list/index.js +0 -2
- package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-routing.module.js +0 -12
- package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type.module.js +0 -15
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form-routing.module.js +0 -12
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.component.js +0 -99
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.module.js +0 -27
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-form/index.js +0 -2
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list-routing.module.js +0 -28
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.component.js +0 -155
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.module.js +0 -29
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list/index.js +0 -2
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter-routing.module.js +0 -12
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.component.js +0 -50
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.module.js +0 -25
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/index.js +0 -2
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-routing.module.js +0 -12
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user.module.js +0 -15
- package/esm2015/lib/email-subscription/email-subscription.module.js +0 -15
- package/esm2015/lib/entity-files/entity-file-form/entity-file-form.component.js +0 -147
- package/esm2015/lib/entity-files/entity-file.service.js +0 -45
- package/esm2015/lib/entity-files/entity-files-view-all.component.js +0 -304
- package/esm2015/lib/entity-files/entity-files-view-all.module.js +0 -40
- package/esm2015/lib/entity-files/index.js +0 -3
- package/esm2015/lib/export-excel/export-excel-button/export-excel-button.component.js +0 -32
- package/esm2015/lib/export-excel/export-excel.module.js +0 -17
- package/esm2015/lib/file-dropper/file-dropper.component.js +0 -122
- package/esm2015/lib/file-dropper/file-dropper.model.js +0 -3
- package/esm2015/lib/file-dropper/file-dropper.module.js +0 -21
- package/esm2015/lib/file-dropper/index.js +0 -3
- package/esm2015/lib/import-csv/data-import/data-import.component.js +0 -18
- package/esm2015/lib/import-csv/failed-items-list/failed-items-list.component.js +0 -33
- package/esm2015/lib/import-csv/field-mapping/field-mapping.component.js +0 -148
- package/esm2015/lib/import-csv/import-csv-config.js +0 -2
- package/esm2015/lib/import-csv/import-csv.component.js +0 -196
- package/esm2015/lib/import-csv/import-csv.module.js +0 -46
- package/esm2015/lib/import-csv/import-history-list/import-history-list.component.js +0 -71
- package/esm2015/lib/import-csv/import-success/import-success.component.js +0 -19
- package/esm2015/lib/loader/index.js +0 -2
- package/esm2015/lib/loader/loader.component.js +0 -22
- package/esm2015/lib/loader/loader.module.js +0 -21
- package/esm2015/lib/login-history-for-user/login-history-for-user-routing.module.js +0 -20
- package/esm2015/lib/login-history-for-user/login-history-for-user.component.js +0 -88
- package/esm2015/lib/login-history-for-user/login-history-for-user.module.js +0 -27
- package/esm2015/lib/material.module.js +0 -62
- package/esm2015/lib/note/comment-form/comment-form.component.js +0 -73
- package/esm2015/lib/note/index.js +0 -4
- package/esm2015/lib/note/note-form/note-form.component.js +0 -81
- package/esm2015/lib/note/note-list/note-list.component.js +0 -151
- package/esm2015/lib/note/note.module.js +0 -36
- package/esm2015/lib/note/note.service.js +0 -31
- package/esm2015/lib/read-more/read-more.component.js +0 -43
- package/esm2015/lib/read-more/read-more.module.js +0 -21
- package/esm2015/lib/searchable-selector/index.js +0 -3
- package/esm2015/lib/searchable-selector/mat-select-infinite-scroll.directive.js +0 -81
- package/esm2015/lib/searchable-selector/searchable-selector.component.js +0 -307
- package/esm2015/lib/searchable-selector/searchable-selector.module.js +0 -28
- package/esm2015/lib/techlify-feature/on-off-switch/on-off-switch.component.js +0 -27
- package/esm2015/lib/techlify-feature/techlify-feature-enabled.directive.js +0 -78
- package/esm2015/lib/techlify-feature/techlify-feature-listing.component.js +0 -177
- package/esm2015/lib/techlify-feature/techlify-feature.module.js +0 -30
- package/esm2015/lib/techlify-feature/techlify-feature.routing.js +0 -12
- package/esm2015/lib/techlify-feature/techlify-feature.service.js +0 -28
- package/esm2015/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-config.model.js +0 -15
- package/esm2015/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.component.js +0 -269
- package/esm2015/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.module.js +0 -25
- package/esm2015/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.component.js +0 -168
- package/esm2015/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.module.js +0 -29
- package/esm2015/lib/techlify-update/techlify-update-form/techlify-update-form.component.js +0 -114
- package/esm2015/lib/techlify-update/techlify-update-form/techlify-update-form.module.js +0 -28
- package/esm2015/lib/techlify-update/techlify-update-history/techlify-update-history-routing.module.js +0 -22
- package/esm2015/lib/techlify-update/techlify-update-history/techlify-update-history.component.js +0 -143
- package/esm2015/lib/techlify-update/techlify-update-history/techlify-update-history.module.js +0 -28
- package/esm2015/lib/techlify-update/techlify-update-routing.module.js +0 -22
- package/esm2015/lib/techlify-update/techlify-update.module.js +0 -30
- package/esm2015/lib/techlify-update/techlify-update.service.js +0 -43
- package/esm2015/lib/techlify-update/techlify-updates-list/techlify-updates-list.component.js +0 -161
- package/esm2015/lib/techlify-update/update-notifier/update-notifier-snack/update-notifier-snack.component.js +0 -82
- package/esm2015/lib/techlify-update/update-notifier/update-notifier.component.js +0 -62
- package/esm2015/lib/techlify-update/update-notifier/update-notifier.module.js +0 -29
- package/esm2015/lib/techlify-update/update-view/update-view.component.js +0 -36
- package/esm2015/lib/techlify-update/update-view/update-view.module.js +0 -24
- package/esm2015/lib/timeline-filter/calculate-timeline.js +0 -102
- package/esm2015/lib/timeline-filter/index.js +0 -4
- package/esm2015/lib/timeline-filter/timeline-filter-routing.module.js +0 -12
- package/esm2015/lib/timeline-filter/timeline-filter.component.js +0 -213
- package/esm2015/lib/timeline-filter/timeline-filter.module.js +0 -23
- package/esm2015/lib/timeline-filter/timeline.model.js +0 -18
- package/esm2015/lib/utility/date-utils.service.js +0 -48
- package/esm2015/lib/utility/index.js +0 -4
- package/esm2015/lib/utility/num-items-selector.component.js +0 -30
- package/esm2015/lib/utility/number-selector.component.js +0 -38
- package/esm2015/lib/utility/utility.module.js +0 -21
- package/esm2015/ngx-techlify-core.js +0 -60
- package/esm2015/public-api.js +0 -96
- package/fesm2015/ngx-techlify-core.js +0 -7150
- package/fesm2015/ngx-techlify-core.js.map +0 -1
- package/lib/action-popup/action-popup.component.d.ts +0 -14
- package/lib/action-popup/action-popup.module.d.ts +0 -2
- package/lib/audit-log/audit-log-for-model/audit-log-for-model-routing.module.d.ts +0 -2
- package/lib/audit-log/audit-log-for-model/audit-log-for-model.component.d.ts +0 -12
- package/lib/audit-log/audit-log-for-model/audit-log-for-model.module.d.ts +0 -2
- package/lib/audit-log/audit-log-list/audit-log-list-routing.module.d.ts +0 -2
- package/lib/audit-log/audit-log-list/audit-log-list.component.d.ts +0 -32
- package/lib/audit-log/audit-log-list/audit-log-list.module.d.ts +0 -2
- package/lib/audit-log/audit-log-list-filter/audit-log-list-filter-routing.module.d.ts +0 -2
- package/lib/audit-log/audit-log-list-filter/audit-log-list-filter.component.d.ts +0 -19
- package/lib/audit-log/audit-log-list-filter/audit-log-list-filter.module.d.ts +0 -2
- package/lib/audit-log/audit-log-routing.module.d.ts +0 -2
- package/lib/audit-log/audit-log-view/audit-log-view-routing.module.d.ts +0 -2
- package/lib/audit-log/audit-log-view/audit-log-view.component.d.ts +0 -17
- package/lib/audit-log/audit-log-view/audit-log-view.module.d.ts +0 -2
- package/lib/audit-log/audit-log-view-model/audit-log-view-model-routing.module.d.ts +0 -2
- package/lib/audit-log/audit-log-view-model/audit-log-view-model.component.d.ts +0 -15
- package/lib/audit-log/audit-log-view-model/audit-log-view-model.module.d.ts +0 -2
- package/lib/audit-log/audit-log.module.d.ts +0 -2
- package/lib/audit-log/audit-logs-view-model/audit-logs-view-model-routing.module.d.ts +0 -2
- package/lib/audit-log/audit-logs-view-model/audit-logs-view-model.component.d.ts +0 -11
- package/lib/audit-log/audit-logs-view-model/audit-logs-view-model.module.d.ts +0 -2
- package/lib/base-model/index.d.ts +0 -3
- package/lib/base-model/techlify-form-component.class.d.ts +0 -43
- package/lib/base-model/techlify-listing-component.class.d.ts +0 -47
- package/lib/base-model/techlify-service.class.d.ts +0 -52
- package/lib/core/alert.service.d.ts +0 -12
- package/lib/core/api-prefix.interceptor.d.ts +0 -11
- package/lib/core/authentication.guard.d.ts +0 -10
- package/lib/core/authentication.service.d.ts +0 -23
- package/lib/core/cache.interceptor.d.ts +0 -21
- package/lib/core/config.service.d.ts +0 -19
- package/lib/core/core.module.d.ts +0 -3
- package/lib/core/credentials.service.d.ts +0 -36
- package/lib/core/error-handler.interceptor.d.ts +0 -14
- package/lib/core/error-handler.service.d.ts +0 -14
- package/lib/core/form-validator.service.d.ts +0 -8
- package/lib/core/header.interceptor.d.ts +0 -8
- package/lib/core/http-cache.service.d.ts +0 -54
- package/lib/core/http.service.d.ts +0 -56
- package/lib/core/logger.service.d.ts +0 -85
- package/lib/core/route-reusable-strategy.d.ts +0 -13
- package/lib/core/snack/snack.component.d.ts +0 -8
- package/lib/core/snack/snack.module.d.ts +0 -2
- package/lib/core/storage.service.d.ts +0 -15
- package/lib/core/techlify-config.model.d.ts +0 -18
- package/lib/core/token.interceptor.d.ts +0 -11
- package/lib/data-table/data-table.component.d.ts +0 -60
- package/lib/data-table/data-table.module.d.ts +0 -2
- package/lib/date-validator.d.ts +0 -1
- package/lib/document-viewer/document-viewer.component.d.ts +0 -16
- package/lib/document-viewer/document-viewer.module.d.ts +0 -2
- package/lib/document-viewer/viewer-config.model.d.ts +0 -5
- package/lib/email-subscription/email-subscription-for-user/email-subscription-for-user-routing.module.d.ts +0 -7
- package/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.component.d.ts +0 -17
- package/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.module.d.ts +0 -2
- package/lib/email-subscription/email-subscription-routing.module.d.ts +0 -2
- package/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form-routing.module.d.ts +0 -2
- package/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.component.d.ts +0 -32
- package/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.module.d.ts +0 -2
- package/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list-routing.module.d.ts +0 -9
- package/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.component.d.ts +0 -30
- package/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.module.d.ts +0 -2
- package/lib/email-subscription/email-subscription-type/email-subscription-type-list/index.d.ts +0 -1
- package/lib/email-subscription/email-subscription-type/email-subscription-type-routing.module.d.ts +0 -2
- package/lib/email-subscription/email-subscription-type/email-subscription-type.module.d.ts +0 -2
- package/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form-routing.module.d.ts +0 -2
- package/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.component.d.ts +0 -32
- package/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.module.d.ts +0 -2
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list-routing.module.d.ts +0 -9
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.component.d.ts +0 -32
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.module.d.ts +0 -2
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter-routing.module.d.ts +0 -2
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.component.d.ts +0 -13
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.module.d.ts +0 -2
- package/lib/email-subscription/email-subscription-user/email-subscription-user-routing.module.d.ts +0 -2
- package/lib/email-subscription/email-subscription-user/email-subscription-user.module.d.ts +0 -2
- package/lib/email-subscription/email-subscription.module.d.ts +0 -2
- package/lib/entity-files/entity-file-form/entity-file-form.component.d.ts +0 -38
- package/lib/entity-files/entity-file.service.d.ts +0 -11
- package/lib/entity-files/entity-files-view-all.component.d.ts +0 -65
- package/lib/entity-files/entity-files-view-all.module.d.ts +0 -2
- package/lib/entity-files/index.d.ts +0 -2
- package/lib/export-excel/export-excel-button/export-excel-button.component.d.ts +0 -8
- package/lib/export-excel/export-excel.module.d.ts +0 -2
- package/lib/file-dropper/file-dropper.component.d.ts +0 -33
- package/lib/file-dropper/file-dropper.model.d.ts +0 -10
- package/lib/file-dropper/file-dropper.module.d.ts +0 -2
- package/lib/import-csv/data-import/data-import.component.d.ts +0 -6
- package/lib/import-csv/failed-items-list/failed-items-list.component.d.ts +0 -12
- package/lib/import-csv/field-mapping/field-mapping.component.d.ts +0 -34
- package/lib/import-csv/import-csv-config.d.ts +0 -17
- package/lib/import-csv/import-csv.component.d.ts +0 -33
- package/lib/import-csv/import-csv.module.d.ts +0 -2
- package/lib/import-csv/import-history-list/import-history-list.component.d.ts +0 -21
- package/lib/import-csv/import-success/import-success.component.d.ts +0 -8
- package/lib/loader/loader.component.d.ts +0 -8
- package/lib/loader/loader.module.d.ts +0 -2
- package/lib/login-history-for-user/login-history-for-user-routing.module.d.ts +0 -2
- package/lib/login-history-for-user/login-history-for-user.component.d.ts +0 -23
- package/lib/login-history-for-user/login-history-for-user.module.d.ts +0 -2
- package/lib/material.module.d.ts +0 -2
- package/lib/note/comment-form/comment-form.component.d.ts +0 -22
- package/lib/note/note-form/note-form.component.d.ts +0 -27
- package/lib/note/note-list/note-list.component.d.ts +0 -28
- package/lib/note/note.module.d.ts +0 -2
- package/lib/note/note.service.d.ts +0 -9
- package/lib/read-more/read-more.component.d.ts +0 -12
- package/lib/read-more/read-more.module.d.ts +0 -2
- package/lib/searchable-selector/index.d.ts +0 -2
- package/lib/searchable-selector/mat-select-infinite-scroll.directive.d.ts +0 -23
- package/lib/searchable-selector/searchable-selector.component.d.ts +0 -81
- package/lib/searchable-selector/searchable-selector.module.d.ts +0 -2
- package/lib/techlify-feature/on-off-switch/on-off-switch.component.d.ts +0 -9
- package/lib/techlify-feature/techlify-feature-enabled.directive.d.ts +0 -17
- package/lib/techlify-feature/techlify-feature-listing.component.d.ts +0 -37
- package/lib/techlify-feature/techlify-feature.module.d.ts +0 -2
- package/lib/techlify-feature/techlify-feature.routing.d.ts +0 -2
- package/lib/techlify-feature/techlify-feature.service.d.ts +0 -8
- package/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-config.model.d.ts +0 -12
- package/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.component.d.ts +0 -76
- package/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.module.d.ts +0 -2
- package/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.component.d.ts +0 -58
- package/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.module.d.ts +0 -2
- package/lib/techlify-update/techlify-update-form/techlify-update-form.component.d.ts +0 -30
- package/lib/techlify-update/techlify-update-form/techlify-update-form.module.d.ts +0 -2
- package/lib/techlify-update/techlify-update-history/techlify-update-history-routing.module.d.ts +0 -2
- package/lib/techlify-update/techlify-update-history/techlify-update-history.component.d.ts +0 -31
- package/lib/techlify-update/techlify-update-history/techlify-update-history.module.d.ts +0 -2
- package/lib/techlify-update/techlify-update-routing.module.d.ts +0 -2
- package/lib/techlify-update/techlify-update.module.d.ts +0 -2
- package/lib/techlify-update/techlify-update.service.d.ts +0 -13
- package/lib/techlify-update/techlify-updates-list/techlify-updates-list.component.d.ts +0 -31
- package/lib/techlify-update/update-notifier/update-notifier-snack/update-notifier-snack.component.d.ts +0 -25
- package/lib/techlify-update/update-notifier/update-notifier.component.d.ts +0 -16
- package/lib/techlify-update/update-notifier/update-notifier.module.d.ts +0 -2
- package/lib/techlify-update/update-view/update-view.component.d.ts +0 -14
- package/lib/techlify-update/update-view/update-view.module.d.ts +0 -2
- package/lib/timeline-filter/calculate-timeline.d.ts +0 -6
- package/lib/timeline-filter/timeline-filter-routing.module.d.ts +0 -2
- package/lib/timeline-filter/timeline-filter.component.d.ts +0 -61
- package/lib/timeline-filter/timeline-filter.module.d.ts +0 -2
- package/lib/timeline-filter/timeline.model.d.ts +0 -17
- package/lib/utility/date-utils.service.d.ts +0 -21
- package/lib/utility/num-items-selector.component.d.ts +0 -16
- package/lib/utility/number-selector.component.d.ts +0 -20
- package/lib/utility/utility.module.d.ts +0 -2
- package/ngx-techlify-core.d.ts +0 -59
- package/ngx-techlify-core.metadata.json +0 -1
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
-
import { ActionPopup } from './action-popup.model';
|
|
4
|
-
export declare class ActionPopupComponent implements OnInit {
|
|
5
|
-
dialogRef: MatDialogRef<ActionPopupComponent>;
|
|
6
|
-
data: ActionPopup;
|
|
7
|
-
constructor(dialogRef: MatDialogRef<ActionPopupComponent>, data: ActionPopup);
|
|
8
|
-
ngOnInit(): void;
|
|
9
|
-
/**Method to close dialog box */
|
|
10
|
-
closeDialog(): void;
|
|
11
|
-
/**Method to close dialog box with the data given from parent component
|
|
12
|
-
*/
|
|
13
|
-
confirm(): void;
|
|
14
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
3
|
-
export declare class AuditLogForModelComponent implements OnInit {
|
|
4
|
-
private dialog;
|
|
5
|
-
modelType: string;
|
|
6
|
-
modelId: any;
|
|
7
|
-
logView: 'recent' | 'all';
|
|
8
|
-
constructor(dialog: MatDialog);
|
|
9
|
-
ngOnInit(): void;
|
|
10
|
-
getLogView(): void;
|
|
11
|
-
getLogsView(): void;
|
|
12
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
|
-
import { Router } from '@angular/router';
|
|
3
|
-
import { MatSort } from '@angular/material/sort';
|
|
4
|
-
import { PageEvent } from '../../data-table/data-table.model';
|
|
5
|
-
import { DataManager } from '../../core/dataManager.service';
|
|
6
|
-
import { DomSanitizer } from '@angular/platform-browser';
|
|
7
|
-
export declare class AuditLogListComponent implements OnInit, OnDestroy {
|
|
8
|
-
private dataManager;
|
|
9
|
-
private router;
|
|
10
|
-
sanitizer: DomSanitizer;
|
|
11
|
-
auditLogList: any[];
|
|
12
|
-
objectId: any;
|
|
13
|
-
objectType: any;
|
|
14
|
-
showFilter: boolean;
|
|
15
|
-
showExportButtons: boolean;
|
|
16
|
-
userId: any;
|
|
17
|
-
pageEvent: PageEvent;
|
|
18
|
-
filters: any;
|
|
19
|
-
displayedColumns: any[];
|
|
20
|
-
sort: MatSort;
|
|
21
|
-
constructor(dataManager: DataManager, router: Router, sanitizer: DomSanitizer);
|
|
22
|
-
ngOnInit(): void;
|
|
23
|
-
get excelData(): any[];
|
|
24
|
-
changeSort(event: any): void;
|
|
25
|
-
logClicked(log: any): void;
|
|
26
|
-
initializeData(): Promise<void>;
|
|
27
|
-
filterChange(event: any): void;
|
|
28
|
-
onScroll(): void;
|
|
29
|
-
reload(): void;
|
|
30
|
-
getTransformedChanges(log: any): string;
|
|
31
|
-
ngOnDestroy(): void;
|
|
32
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
-
import { FormGroup, FormBuilder } from '@angular/forms';
|
|
3
|
-
import { FormValidatorService } from '../../core/form-validator.service';
|
|
4
|
-
export declare class AuditLogListFilterComponent implements OnInit {
|
|
5
|
-
private fb;
|
|
6
|
-
private formValidatorService;
|
|
7
|
-
auditLogFilterForm: FormGroup;
|
|
8
|
-
objectId: any;
|
|
9
|
-
objectType: any;
|
|
10
|
-
valueChange: EventEmitter<any>;
|
|
11
|
-
constructor(fb: FormBuilder, formValidatorService: FormValidatorService);
|
|
12
|
-
get showObjectFilter(): boolean;
|
|
13
|
-
private createForm;
|
|
14
|
-
ngOnInit(): void;
|
|
15
|
-
resetFieldValue(field: string): void;
|
|
16
|
-
getFieldValue(field: string): any;
|
|
17
|
-
isFieldValid(field: string): any;
|
|
18
|
-
ngOnDestroy(): void;
|
|
19
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { ActivatedRoute } from '@angular/router';
|
|
3
|
-
import { Location } from '@angular/common';
|
|
4
|
-
import { DataManager } from '../../core/dataManager.service';
|
|
5
|
-
export declare class AuditLogViewComponent implements OnInit {
|
|
6
|
-
private dataManager;
|
|
7
|
-
private route;
|
|
8
|
-
private location;
|
|
9
|
-
logInfo: any;
|
|
10
|
-
showDeltaChanges: boolean;
|
|
11
|
-
changeList: any[];
|
|
12
|
-
constructor(dataManager: DataManager, route: ActivatedRoute, location: Location);
|
|
13
|
-
ngOnInit(): void;
|
|
14
|
-
getTransformedChanges(): void;
|
|
15
|
-
fetchLogDetail(logId: any): Promise<void>;
|
|
16
|
-
patchDelta(): void;
|
|
17
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
-
import { HttpService } from '../../core/http.service';
|
|
4
|
-
export declare class AuditLogViewModelComponent implements OnInit {
|
|
5
|
-
dialogRef: MatDialogRef<AuditLogViewModelComponent>;
|
|
6
|
-
data: any;
|
|
7
|
-
private http;
|
|
8
|
-
logInfo: any;
|
|
9
|
-
showDeltaChanges: boolean;
|
|
10
|
-
changeList: any[];
|
|
11
|
-
constructor(dialogRef: MatDialogRef<AuditLogViewModelComponent>, data: any, http: HttpService);
|
|
12
|
-
ngOnInit(): void;
|
|
13
|
-
getTransformedChanges(): void;
|
|
14
|
-
close(): void;
|
|
15
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
-
import { Router } from '@angular/router';
|
|
4
|
-
import { AuditLogViewModelComponent } from '../audit-log-view-model/audit-log-view-model.component';
|
|
5
|
-
export declare class AuditLogsViewModelComponent implements OnInit {
|
|
6
|
-
dialogRef: MatDialogRef<AuditLogViewModelComponent>;
|
|
7
|
-
data: any;
|
|
8
|
-
private router;
|
|
9
|
-
constructor(dialogRef: MatDialogRef<AuditLogViewModelComponent>, data: any, router: Router);
|
|
10
|
-
ngOnInit(): void;
|
|
11
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { FormGroup } from '@angular/forms';
|
|
2
|
-
import { FormValidatorService } from '../core/form-validator.service';
|
|
3
|
-
/**
|
|
4
|
-
* Interface used to ensure we have a consistent structure across our form components
|
|
5
|
-
*
|
|
6
|
-
* It also provides some abstraction of repeated code to reduce our codebase size
|
|
7
|
-
*
|
|
8
|
-
* @todo This should be moved to ngx-techlify-core
|
|
9
|
-
*
|
|
10
|
-
* Advantages of this abstract class
|
|
11
|
-
* - Less code, less maintenance, less bugs
|
|
12
|
-
* - more consistent code
|
|
13
|
-
* - comments on more code
|
|
14
|
-
* - save time, save energy
|
|
15
|
-
*/
|
|
16
|
-
export declare abstract class TechlifyFormComponentInterface {
|
|
17
|
-
protected formValidatorService: FormValidatorService;
|
|
18
|
-
form: FormGroup;
|
|
19
|
-
errorMessages: any;
|
|
20
|
-
constructor(formValidatorService: FormValidatorService);
|
|
21
|
-
/**
|
|
22
|
-
* Resets the value of a field in the HTML form
|
|
23
|
-
*
|
|
24
|
-
* @param event
|
|
25
|
-
* @param field
|
|
26
|
-
*/
|
|
27
|
-
resetFieldValue(event: any, field: string): void;
|
|
28
|
-
/**
|
|
29
|
-
* Retrieves the value of a field from the HTML form
|
|
30
|
-
*
|
|
31
|
-
* @param field
|
|
32
|
-
* @returns
|
|
33
|
-
*/
|
|
34
|
-
getFieldValue(field: string): any;
|
|
35
|
-
/**
|
|
36
|
-
* Method to evaluate form fields
|
|
37
|
-
* */
|
|
38
|
-
isFieldValid(field: string): any;
|
|
39
|
-
/**
|
|
40
|
-
* Method to find error in form fields
|
|
41
|
-
* */
|
|
42
|
-
getErrorMessage(field: string): any;
|
|
43
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Interface used to ensure we have a consistent structure across our listing pages
|
|
3
|
-
*
|
|
4
|
-
* @todo This should be moved to ngx-techlify-core
|
|
5
|
-
*
|
|
6
|
-
* Advantages of this abstract class
|
|
7
|
-
* - Less code, less maintenance, less bugs
|
|
8
|
-
* - more consistent code
|
|
9
|
-
* - comments on more code
|
|
10
|
-
* - save time, save energy
|
|
11
|
-
*/
|
|
12
|
-
export declare abstract class TechlifyListingControllerInterface {
|
|
13
|
-
models: any[];
|
|
14
|
-
page: number;
|
|
15
|
-
perPage: number;
|
|
16
|
-
lastPage: number;
|
|
17
|
-
isWorking: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* Function that listens for any changes in the form group to apply the filters
|
|
20
|
-
*/
|
|
21
|
-
abstract listenForChanges(): void;
|
|
22
|
-
/**
|
|
23
|
-
* Function that loads the main models of the application
|
|
24
|
-
*/
|
|
25
|
-
abstract loadData(): void;
|
|
26
|
-
/**
|
|
27
|
-
* Reload all data from page 1
|
|
28
|
-
*/
|
|
29
|
-
reload(): void;
|
|
30
|
-
/**
|
|
31
|
-
* Can be called when the user is scrolling,
|
|
32
|
-
* to trigger loading a new page of data
|
|
33
|
-
*/
|
|
34
|
-
onScroll(): void;
|
|
35
|
-
/**
|
|
36
|
-
* Function used to pop up the edit form for the model
|
|
37
|
-
*
|
|
38
|
-
* @param model
|
|
39
|
-
*/
|
|
40
|
-
abstract editForm(model: any): void;
|
|
41
|
-
/**
|
|
42
|
-
* Function used to pop up the delete form for the model
|
|
43
|
-
*
|
|
44
|
-
* @param model
|
|
45
|
-
*/
|
|
46
|
-
abstract deleteForm(model: any): void;
|
|
47
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
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 +0,0 @@
|
|
|
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 +0,0 @@
|
|
|
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 +0,0 @@
|
|
|
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 +0,0 @@
|
|
|
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 +0,0 @@
|
|
|
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 +0,0 @@
|
|
|
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,36 +0,0 @@
|
|
|
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,14 +0,0 @@
|
|
|
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 +0,0 @@
|
|
|
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 +0,0 @@
|
|
|
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 +0,0 @@
|
|
|
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 +0,0 @@
|
|
|
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 +0,0 @@
|
|
|
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
|
-
}
|