ngx-techlify-core 11.4.8 → 11.4.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -24
- package/bundles/ngx-techlify-core.umd.js +8085 -8047
- package/bundles/ngx-techlify-core.umd.js.map +1 -1
- package/bundles/ngx-techlify-core.umd.min.js +1 -1
- package/bundles/ngx-techlify-core.umd.min.js.map +1 -1
- package/esm2015/lib/action-popup/action-popup.component.js +32 -32
- package/esm2015/lib/action-popup/action-popup.model.js +3 -3
- package/esm2015/lib/action-popup/action-popup.module.js +26 -26
- package/esm2015/lib/action-popup/index.js +3 -3
- package/esm2015/lib/audit-log/audit-log-for-model/audit-log-for-model-routing.module.js +12 -12
- package/esm2015/lib/audit-log/audit-log-for-model/audit-log-for-model.component.js +49 -49
- package/esm2015/lib/audit-log/audit-log-for-model/audit-log-for-model.module.js +25 -25
- package/esm2015/lib/audit-log/audit-log-list/audit-log-list-routing.module.js +12 -12
- package/esm2015/lib/audit-log/audit-log-list/audit-log-list.component.js +132 -132
- package/esm2015/lib/audit-log/audit-log-list/audit-log-list.module.js +29 -29
- package/esm2015/lib/audit-log/audit-log-list-filter/audit-log-list-filter-routing.module.js +12 -12
- package/esm2015/lib/audit-log/audit-log-list-filter/audit-log-list-filter.component.js +67 -67
- package/esm2015/lib/audit-log/audit-log-list-filter/audit-log-list-filter.module.js +25 -25
- package/esm2015/lib/audit-log/audit-log-routing.module.js +19 -19
- package/esm2015/lib/audit-log/audit-log-view/audit-log-view-routing.module.js +12 -12
- package/esm2015/lib/audit-log/audit-log-view/audit-log-view.component.js +60 -60
- package/esm2015/lib/audit-log/audit-log-view/audit-log-view.module.js +21 -21
- package/esm2015/lib/audit-log/audit-log-view-model/audit-log-view-model-routing.module.js +12 -12
- package/esm2015/lib/audit-log/audit-log-view-model/audit-log-view-model.component.js +57 -57
- package/esm2015/lib/audit-log/audit-log-view-model/audit-log-view-model.module.js +21 -21
- package/esm2015/lib/audit-log/audit-log.module.js +20 -20
- package/esm2015/lib/audit-log/audit-logs-view-model/audit-logs-view-model-routing.module.js +12 -12
- package/esm2015/lib/audit-log/audit-logs-view-model/audit-logs-view-model.component.js +35 -35
- package/esm2015/lib/audit-log/audit-logs-view-model/audit-logs-view-model.module.js +21 -21
- package/esm2015/lib/base-model/index.js +4 -4
- package/esm2015/lib/base-model/techlify-form-component.class.js +51 -51
- package/esm2015/lib/base-model/techlify-listing-component.class.js +41 -41
- package/esm2015/lib/base-model/techlify-service.class.js +64 -64
- package/esm2015/lib/core/alert.service.js +39 -39
- package/esm2015/lib/core/api-prefix.interceptor.js +28 -28
- package/esm2015/lib/core/authentication.guard.js +39 -39
- package/esm2015/lib/core/authentication.service.js +59 -59
- package/esm2015/lib/core/cache.interceptor.js +60 -60
- package/esm2015/lib/core/config.service.js +47 -47
- package/esm2015/lib/core/core.module.js +42 -42
- package/esm2015/lib/core/credentials.service.js +84 -84
- package/esm2015/lib/core/dataManager.service.js +120 -120
- package/esm2015/lib/core/error-handler.interceptor.js +53 -53
- package/esm2015/lib/core/error-handler.service.js +59 -59
- package/esm2015/lib/core/form-validator.service.js +23 -23
- package/esm2015/lib/core/header.interceptor.js +22 -22
- package/esm2015/lib/core/http-cache.service.js +110 -110
- package/esm2015/lib/core/http.service.js +82 -82
- package/esm2015/lib/core/index.js +21 -21
- package/esm2015/lib/core/logger.service.js +100 -100
- package/esm2015/lib/core/route-reusable-strategy.js +35 -35
- package/esm2015/lib/core/snack/snack.component.js +33 -33
- package/esm2015/lib/core/snack/snack.module.js +25 -25
- package/esm2015/lib/core/storage.service.js +36 -36
- package/esm2015/lib/core/techlify-config.model.js +28 -28
- package/esm2015/lib/core/token.interceptor.js +30 -30
- package/esm2015/lib/data-table/data-table.component.js +190 -190
- package/esm2015/lib/data-table/data-table.model.js +11 -11
- package/esm2015/lib/data-table/data-table.module.js +25 -25
- package/esm2015/lib/data-table/index.js +3 -3
- package/esm2015/lib/date-validator.js +10 -10
- package/esm2015/lib/document-viewer/document-viewer.component.js +58 -58
- package/esm2015/lib/document-viewer/document-viewer.module.js +25 -25
- package/esm2015/lib/document-viewer/index.js +3 -3
- package/esm2015/lib/document-viewer/viewer-config.model.js +3 -3
- package/esm2015/lib/email-subscription/email-subscription-for-user/email-subscription-for-user-routing.module.js +26 -26
- package/esm2015/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.component.js +72 -72
- package/esm2015/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.module.js +23 -23
- package/esm2015/lib/email-subscription/email-subscription-for-user/index.js +2 -2
- package/esm2015/lib/email-subscription/email-subscription-routing.module.js +12 -12
- package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form-routing.module.js +12 -12
- package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.component.js +102 -102
- package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.module.js +28 -28
- package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-form/index.js +2 -2
- package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list-routing.module.js +28 -28
- package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.component.js +153 -153
- package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.module.js +27 -27
- package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-list/index.js +1 -1
- package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-routing.module.js +12 -12
- package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type.module.js +15 -15
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form-routing.module.js +12 -12
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.component.js +99 -99
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.module.js +27 -27
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-form/index.js +2 -2
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list-routing.module.js +28 -28
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.component.js +155 -155
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.module.js +29 -29
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list/index.js +2 -2
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter-routing.module.js +12 -12
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.component.js +50 -50
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.module.js +25 -25
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/index.js +2 -2
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-routing.module.js +12 -12
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user.module.js +15 -15
- package/esm2015/lib/email-subscription/email-subscription.module.js +15 -15
- package/esm2015/lib/entity-files/entity-file-form/entity-file-form.component.js +147 -138
- package/esm2015/lib/entity-files/entity-file.service.js +42 -42
- package/esm2015/lib/entity-files/entity-files-view-all.component.js +234 -208
- package/esm2015/lib/entity-files/entity-files-view-all.module.js +40 -34
- package/esm2015/lib/entity-files/index.js +3 -3
- package/esm2015/lib/export-excel/export-excel-button/export-excel-button.component.js +32 -32
- package/esm2015/lib/export-excel/export-excel.module.js +17 -17
- package/esm2015/lib/file-dropper/file-dropper.component.js +122 -122
- package/esm2015/lib/file-dropper/file-dropper.model.js +3 -3
- package/esm2015/lib/file-dropper/file-dropper.module.js +21 -21
- package/esm2015/lib/file-dropper/index.js +3 -3
- package/esm2015/lib/import-csv/data-import/data-import.component.js +18 -18
- package/esm2015/lib/import-csv/failed-items-list/failed-items-list.component.js +33 -33
- package/esm2015/lib/import-csv/field-mapping/field-mapping.component.js +148 -148
- package/esm2015/lib/import-csv/import-csv-config.js +2 -2
- package/esm2015/lib/import-csv/import-csv.component.js +196 -196
- package/esm2015/lib/import-csv/import-csv.module.js +46 -46
- package/esm2015/lib/import-csv/import-history-list/import-history-list.component.js +71 -71
- package/esm2015/lib/import-csv/import-success/import-success.component.js +19 -19
- package/esm2015/lib/loader/index.js +2 -2
- package/esm2015/lib/loader/loader.component.js +22 -22
- package/esm2015/lib/loader/loader.module.js +21 -21
- package/esm2015/lib/login-history-for-user/login-history-for-user-routing.module.js +20 -20
- package/esm2015/lib/login-history-for-user/login-history-for-user.component.js +88 -88
- package/esm2015/lib/login-history-for-user/login-history-for-user.module.js +27 -27
- package/esm2015/lib/material.module.js +60 -60
- package/esm2015/lib/note/comment-form/comment-form.component.js +73 -73
- package/esm2015/lib/note/index.js +4 -4
- package/esm2015/lib/note/note-form/note-form.component.js +81 -81
- package/esm2015/lib/note/note-list/note-list.component.js +151 -151
- package/esm2015/lib/note/note.module.js +36 -36
- package/esm2015/lib/note/note.service.js +31 -31
- package/esm2015/lib/read-more/read-more.component.js +43 -43
- package/esm2015/lib/read-more/read-more.module.js +21 -21
- package/esm2015/lib/searchable-selector/index.js +3 -3
- package/esm2015/lib/searchable-selector/mat-select-infinite-scroll.directive.js +81 -81
- package/esm2015/lib/searchable-selector/searchable-selector.component.js +307 -307
- package/esm2015/lib/searchable-selector/searchable-selector.module.js +28 -28
- package/esm2015/lib/techlify-feature/on-off-switch/on-off-switch.component.js +27 -27
- package/esm2015/lib/techlify-feature/techlify-feature-enabled.directive.js +78 -78
- package/esm2015/lib/techlify-feature/techlify-feature-listing.component.js +177 -177
- package/esm2015/lib/techlify-feature/techlify-feature.module.js +30 -30
- package/esm2015/lib/techlify-feature/techlify-feature.routing.js +12 -12
- package/esm2015/lib/techlify-feature/techlify-feature.service.js +28 -28
- package/esm2015/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-config.model.js +15 -15
- package/esm2015/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.component.js +269 -269
- package/esm2015/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.module.js +25 -25
- package/esm2015/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.component.js +168 -168
- package/esm2015/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.module.js +29 -29
- package/esm2015/lib/techlify-update/techlify-update-form/techlify-update-form.component.js +114 -114
- package/esm2015/lib/techlify-update/techlify-update-form/techlify-update-form.module.js +28 -28
- package/esm2015/lib/techlify-update/techlify-update-history/techlify-update-history-routing.module.js +22 -22
- package/esm2015/lib/techlify-update/techlify-update-history/techlify-update-history.component.js +143 -143
- package/esm2015/lib/techlify-update/techlify-update-history/techlify-update-history.module.js +28 -28
- package/esm2015/lib/techlify-update/techlify-update-routing.module.js +22 -22
- package/esm2015/lib/techlify-update/techlify-update.module.js +30 -30
- package/esm2015/lib/techlify-update/techlify-update.service.js +43 -43
- package/esm2015/lib/techlify-update/techlify-updates-list/techlify-updates-list.component.js +161 -161
- package/esm2015/lib/techlify-update/update-notifier/update-notifier-snack/update-notifier-snack.component.js +82 -82
- package/esm2015/lib/techlify-update/update-notifier/update-notifier.component.js +62 -62
- package/esm2015/lib/techlify-update/update-notifier/update-notifier.module.js +29 -29
- package/esm2015/lib/techlify-update/update-view/update-view.component.js +36 -36
- package/esm2015/lib/techlify-update/update-view/update-view.module.js +24 -24
- package/esm2015/lib/timeline-filter/calculate-timeline.js +102 -102
- package/esm2015/lib/timeline-filter/index.js +4 -4
- package/esm2015/lib/timeline-filter/timeline-filter-routing.module.js +12 -12
- package/esm2015/lib/timeline-filter/timeline-filter.component.js +213 -213
- package/esm2015/lib/timeline-filter/timeline-filter.module.js +23 -23
- package/esm2015/lib/timeline-filter/timeline.model.js +18 -18
- package/esm2015/lib/utility/date-utils.service.js +48 -48
- package/esm2015/lib/utility/index.js +4 -4
- package/esm2015/lib/utility/num-items-selector.component.js +29 -29
- package/esm2015/lib/utility/number-selector.component.js +38 -38
- package/esm2015/lib/utility/utility.module.js +20 -20
- package/esm2015/ngx-techlify-core.js +60 -60
- package/esm2015/public-api.js +96 -96
- package/fesm2015/ngx-techlify-core.js +6941 -6903
- package/fesm2015/ngx-techlify-core.js.map +1 -1
- package/lib/action-popup/action-popup.component.d.ts +14 -14
- package/lib/action-popup/action-popup.model.d.ts +5 -5
- package/lib/action-popup/action-popup.module.d.ts +2 -2
- package/lib/action-popup/index.d.ts +2 -2
- package/lib/audit-log/audit-log-for-model/audit-log-for-model-routing.module.d.ts +2 -2
- package/lib/audit-log/audit-log-for-model/audit-log-for-model.component.d.ts +12 -12
- package/lib/audit-log/audit-log-for-model/audit-log-for-model.module.d.ts +2 -2
- package/lib/audit-log/audit-log-list/audit-log-list-routing.module.d.ts +2 -2
- package/lib/audit-log/audit-log-list/audit-log-list.component.d.ts +32 -32
- package/lib/audit-log/audit-log-list/audit-log-list.module.d.ts +2 -2
- package/lib/audit-log/audit-log-list-filter/audit-log-list-filter-routing.module.d.ts +2 -2
- package/lib/audit-log/audit-log-list-filter/audit-log-list-filter.component.d.ts +19 -19
- package/lib/audit-log/audit-log-list-filter/audit-log-list-filter.module.d.ts +2 -2
- package/lib/audit-log/audit-log-routing.module.d.ts +2 -2
- package/lib/audit-log/audit-log-view/audit-log-view-routing.module.d.ts +2 -2
- package/lib/audit-log/audit-log-view/audit-log-view.component.d.ts +17 -17
- package/lib/audit-log/audit-log-view/audit-log-view.module.d.ts +2 -2
- package/lib/audit-log/audit-log-view-model/audit-log-view-model-routing.module.d.ts +2 -2
- package/lib/audit-log/audit-log-view-model/audit-log-view-model.component.d.ts +15 -15
- package/lib/audit-log/audit-log-view-model/audit-log-view-model.module.d.ts +2 -2
- package/lib/audit-log/audit-log.module.d.ts +2 -2
- package/lib/audit-log/audit-logs-view-model/audit-logs-view-model-routing.module.d.ts +2 -2
- package/lib/audit-log/audit-logs-view-model/audit-logs-view-model.component.d.ts +11 -11
- package/lib/audit-log/audit-logs-view-model/audit-logs-view-model.module.d.ts +2 -2
- package/lib/base-model/index.d.ts +3 -3
- package/lib/base-model/techlify-form-component.class.d.ts +43 -43
- package/lib/base-model/techlify-listing-component.class.d.ts +47 -47
- package/lib/base-model/techlify-service.class.d.ts +52 -52
- package/lib/core/alert.service.d.ts +12 -12
- package/lib/core/api-prefix.interceptor.d.ts +11 -11
- package/lib/core/authentication.guard.d.ts +10 -10
- package/lib/core/authentication.service.d.ts +23 -23
- package/lib/core/cache.interceptor.d.ts +21 -21
- package/lib/core/config.service.d.ts +19 -19
- package/lib/core/core.module.d.ts +3 -3
- package/lib/core/credentials.service.d.ts +36 -36
- package/lib/core/dataManager.service.d.ts +70 -70
- package/lib/core/error-handler.interceptor.d.ts +14 -14
- package/lib/core/error-handler.service.d.ts +14 -14
- package/lib/core/form-validator.service.d.ts +8 -8
- package/lib/core/header.interceptor.d.ts +8 -8
- package/lib/core/http-cache.service.d.ts +54 -54
- package/lib/core/http.service.d.ts +56 -56
- package/lib/core/index.d.ts +20 -20
- package/lib/core/logger.service.d.ts +85 -85
- package/lib/core/route-reusable-strategy.d.ts +13 -13
- package/lib/core/snack/snack.component.d.ts +8 -8
- package/lib/core/snack/snack.module.d.ts +2 -2
- package/lib/core/storage.service.d.ts +15 -15
- package/lib/core/techlify-config.model.d.ts +18 -18
- package/lib/core/token.interceptor.d.ts +11 -11
- package/lib/data-table/data-table.component.d.ts +60 -60
- package/lib/data-table/data-table.model.d.ts +46 -46
- package/lib/data-table/data-table.module.d.ts +2 -2
- package/lib/data-table/index.d.ts +2 -2
- package/lib/date-validator.d.ts +1 -1
- package/lib/document-viewer/document-viewer.component.d.ts +16 -16
- package/lib/document-viewer/document-viewer.module.d.ts +2 -2
- package/lib/document-viewer/index.d.ts +2 -2
- package/lib/document-viewer/viewer-config.model.d.ts +5 -5
- package/lib/email-subscription/email-subscription-for-user/email-subscription-for-user-routing.module.d.ts +7 -7
- package/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.component.d.ts +17 -17
- package/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.module.d.ts +2 -2
- package/lib/email-subscription/email-subscription-for-user/index.d.ts +1 -1
- package/lib/email-subscription/email-subscription-routing.module.d.ts +2 -2
- package/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form-routing.module.d.ts +2 -2
- package/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.component.d.ts +32 -32
- package/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.module.d.ts +2 -2
- package/lib/email-subscription/email-subscription-type/email-subscription-type-form/index.d.ts +1 -1
- package/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list-routing.module.d.ts +9 -9
- package/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.component.d.ts +30 -30
- package/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.module.d.ts +2 -2
- package/lib/email-subscription/email-subscription-type/email-subscription-type-list/index.d.ts +1 -1
- package/lib/email-subscription/email-subscription-type/email-subscription-type-routing.module.d.ts +2 -2
- package/lib/email-subscription/email-subscription-type/email-subscription-type.module.d.ts +2 -2
- package/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form-routing.module.d.ts +2 -2
- package/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.component.d.ts +32 -32
- package/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.module.d.ts +2 -2
- package/lib/email-subscription/email-subscription-user/email-subscription-user-form/index.d.ts +1 -1
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list-routing.module.d.ts +9 -9
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.component.d.ts +32 -32
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.module.d.ts +2 -2
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list/index.d.ts +1 -1
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter-routing.module.d.ts +2 -2
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.component.d.ts +13 -13
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.module.d.ts +2 -2
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/index.d.ts +1 -1
- package/lib/email-subscription/email-subscription-user/email-subscription-user-routing.module.d.ts +2 -2
- package/lib/email-subscription/email-subscription-user/email-subscription-user.module.d.ts +2 -2
- package/lib/email-subscription/email-subscription.module.d.ts +2 -2
- package/lib/entity-files/entity-file-form/entity-file-form.component.d.ts +38 -34
- package/lib/entity-files/entity-file.service.d.ts +10 -10
- package/lib/entity-files/entity-files-view-all.component.d.ts +51 -45
- package/lib/entity-files/entity-files-view-all.module.d.ts +2 -2
- package/lib/entity-files/index.d.ts +2 -2
- package/lib/export-excel/export-excel-button/export-excel-button.component.d.ts +8 -8
- package/lib/export-excel/export-excel.module.d.ts +2 -2
- package/lib/file-dropper/file-dropper.component.d.ts +33 -33
- package/lib/file-dropper/file-dropper.model.d.ts +10 -10
- package/lib/file-dropper/file-dropper.module.d.ts +2 -2
- package/lib/file-dropper/index.d.ts +2 -2
- package/lib/import-csv/data-import/data-import.component.d.ts +6 -6
- package/lib/import-csv/failed-items-list/failed-items-list.component.d.ts +12 -12
- package/lib/import-csv/field-mapping/field-mapping.component.d.ts +34 -34
- package/lib/import-csv/import-csv-config.d.ts +17 -17
- package/lib/import-csv/import-csv.component.d.ts +33 -33
- package/lib/import-csv/import-csv.module.d.ts +2 -2
- package/lib/import-csv/import-history-list/import-history-list.component.d.ts +21 -21
- package/lib/import-csv/import-success/import-success.component.d.ts +8 -8
- package/lib/loader/index.d.ts +1 -1
- package/lib/loader/loader.component.d.ts +8 -8
- package/lib/loader/loader.module.d.ts +2 -2
- package/lib/login-history-for-user/login-history-for-user-routing.module.d.ts +2 -2
- package/lib/login-history-for-user/login-history-for-user.component.d.ts +23 -23
- package/lib/login-history-for-user/login-history-for-user.module.d.ts +2 -2
- package/lib/material.module.d.ts +2 -2
- package/lib/note/comment-form/comment-form.component.d.ts +22 -22
- package/lib/note/index.d.ts +3 -3
- package/lib/note/note-form/note-form.component.d.ts +27 -27
- package/lib/note/note-list/note-list.component.d.ts +28 -28
- package/lib/note/note.module.d.ts +2 -2
- package/lib/note/note.service.d.ts +9 -9
- package/lib/read-more/read-more.component.d.ts +12 -12
- package/lib/read-more/read-more.module.d.ts +2 -2
- package/lib/searchable-selector/index.d.ts +2 -2
- package/lib/searchable-selector/mat-select-infinite-scroll.directive.d.ts +23 -23
- package/lib/searchable-selector/searchable-selector.component.d.ts +81 -81
- package/lib/searchable-selector/searchable-selector.module.d.ts +2 -2
- package/lib/techlify-feature/on-off-switch/on-off-switch.component.d.ts +9 -9
- package/lib/techlify-feature/techlify-feature-enabled.directive.d.ts +17 -17
- package/lib/techlify-feature/techlify-feature-listing.component.d.ts +37 -37
- package/lib/techlify-feature/techlify-feature.module.d.ts +2 -2
- package/lib/techlify-feature/techlify-feature.routing.d.ts +2 -2
- package/lib/techlify-feature/techlify-feature.service.d.ts +8 -8
- package/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-config.model.d.ts +12 -12
- package/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.component.d.ts +76 -76
- package/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.module.d.ts +2 -2
- package/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.component.d.ts +58 -58
- package/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.module.d.ts +2 -2
- package/lib/techlify-update/techlify-update-form/techlify-update-form.component.d.ts +30 -30
- package/lib/techlify-update/techlify-update-form/techlify-update-form.module.d.ts +2 -2
- package/lib/techlify-update/techlify-update-history/techlify-update-history-routing.module.d.ts +2 -2
- package/lib/techlify-update/techlify-update-history/techlify-update-history.component.d.ts +31 -31
- package/lib/techlify-update/techlify-update-history/techlify-update-history.module.d.ts +2 -2
- package/lib/techlify-update/techlify-update-routing.module.d.ts +2 -2
- package/lib/techlify-update/techlify-update.module.d.ts +2 -2
- package/lib/techlify-update/techlify-update.service.d.ts +13 -13
- package/lib/techlify-update/techlify-updates-list/techlify-updates-list.component.d.ts +31 -31
- package/lib/techlify-update/update-notifier/update-notifier-snack/update-notifier-snack.component.d.ts +25 -25
- package/lib/techlify-update/update-notifier/update-notifier.component.d.ts +16 -16
- package/lib/techlify-update/update-notifier/update-notifier.module.d.ts +2 -2
- package/lib/techlify-update/update-view/update-view.component.d.ts +14 -14
- package/lib/techlify-update/update-view/update-view.module.d.ts +2 -2
- package/lib/timeline-filter/calculate-timeline.d.ts +6 -6
- package/lib/timeline-filter/index.d.ts +3 -3
- package/lib/timeline-filter/timeline-filter-routing.module.d.ts +2 -2
- package/lib/timeline-filter/timeline-filter.component.d.ts +61 -61
- package/lib/timeline-filter/timeline-filter.module.d.ts +2 -2
- package/lib/timeline-filter/timeline.model.d.ts +17 -17
- package/lib/utility/date-utils.service.d.ts +21 -21
- package/lib/utility/index.d.ts +3 -3
- package/lib/utility/num-items-selector.component.d.ts +16 -16
- package/lib/utility/number-selector.component.d.ts +20 -20
- package/lib/utility/utility.module.d.ts +2 -2
- package/ngx-techlify-core.d.ts +59 -59
- package/ngx-techlify-core.metadata.json +1 -1
- package/package.json +2 -2
- package/public-api.d.ts +92 -92
|
@@ -1,14 +1,14 @@
|
|
|
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
|
+
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,5 +1,5 @@
|
|
|
1
|
-
export declare class ActionPopup {
|
|
2
|
-
name: string;
|
|
3
|
-
title: string;
|
|
4
|
-
message: string;
|
|
5
|
-
}
|
|
1
|
+
export declare class ActionPopup {
|
|
2
|
+
name: string;
|
|
3
|
+
title: string;
|
|
4
|
+
message: string;
|
|
5
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare class ActionPopupModule {
|
|
2
|
-
}
|
|
1
|
+
export declare class ActionPopupModule {
|
|
2
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './action-popup.component';
|
|
2
|
-
export * from './action-popup.model';
|
|
1
|
+
export * from './action-popup.component';
|
|
2
|
+
export * from './action-popup.model';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare class AuditLogForModelRoutingModule {
|
|
2
|
-
}
|
|
1
|
+
export declare class AuditLogForModelRoutingModule {
|
|
2
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
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
|
+
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,2 +1,2 @@
|
|
|
1
|
-
export declare class AuditLogForModelModule {
|
|
2
|
-
}
|
|
1
|
+
export declare class AuditLogForModelModule {
|
|
2
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare class AuditLogListRoutingModule {
|
|
2
|
-
}
|
|
1
|
+
export declare class AuditLogListRoutingModule {
|
|
2
|
+
}
|
|
@@ -1,32 +1,32 @@
|
|
|
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
|
+
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,2 +1,2 @@
|
|
|
1
|
-
export declare class AuditLogListModule {
|
|
2
|
-
}
|
|
1
|
+
export declare class AuditLogListModule {
|
|
2
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare class AuditLogListFilterRoutingModule {
|
|
2
|
-
}
|
|
1
|
+
export declare class AuditLogListFilterRoutingModule {
|
|
2
|
+
}
|
|
@@ -1,19 +1,19 @@
|
|
|
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
|
+
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,2 +1,2 @@
|
|
|
1
|
-
export declare class AuditLogListFilterModule {
|
|
2
|
-
}
|
|
1
|
+
export declare class AuditLogListFilterModule {
|
|
2
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare class AuditLogRoutingModule {
|
|
2
|
-
}
|
|
1
|
+
export declare class AuditLogRoutingModule {
|
|
2
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare class AuditLogViewRoutingModule {
|
|
2
|
-
}
|
|
1
|
+
export declare class AuditLogViewRoutingModule {
|
|
2
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
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
|
+
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,2 +1,2 @@
|
|
|
1
|
-
export declare class AuditLogViewModule {
|
|
2
|
-
}
|
|
1
|
+
export declare class AuditLogViewModule {
|
|
2
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare class AuditLogViewModelRoutingModule {
|
|
2
|
-
}
|
|
1
|
+
export declare class AuditLogViewModelRoutingModule {
|
|
2
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
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
|
+
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,2 +1,2 @@
|
|
|
1
|
-
export declare class AuditLogViewModelModule {
|
|
2
|
-
}
|
|
1
|
+
export declare class AuditLogViewModelModule {
|
|
2
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare class AuditLogModule {
|
|
2
|
-
}
|
|
1
|
+
export declare class AuditLogModule {
|
|
2
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare class AuditLogsViewModelRoutingModule {
|
|
2
|
-
}
|
|
1
|
+
export declare class AuditLogsViewModelRoutingModule {
|
|
2
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
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
|
+
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,2 +1,2 @@
|
|
|
1
|
-
export declare class AuditLogsViewModelModule {
|
|
2
|
-
}
|
|
1
|
+
export declare class AuditLogsViewModelModule {
|
|
2
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './techlify-form-component.class';
|
|
2
|
-
export * from './techlify-listing-component.class';
|
|
3
|
-
export * from './techlify-service.class';
|
|
1
|
+
export * from './techlify-form-component.class';
|
|
2
|
+
export * from './techlify-listing-component.class';
|
|
3
|
+
export * from './techlify-service.class';
|
|
@@ -1,43 +1,43 @@
|
|
|
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
|
+
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 +1,47 @@
|
|
|
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
|
+
/**
|
|
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
|
+
}
|