ngx-techlify-core 11.5.2 → 14.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/action-popup/action-popup.component.mjs +34 -0
- package/esm2020/lib/action-popup/action-popup.model.mjs +3 -0
- package/esm2020/lib/action-popup/action-popup.module.mjs +32 -0
- package/esm2020/lib/action-popup/index.mjs +3 -0
- package/esm2020/lib/audit-log/audit-log-for-model/audit-log-for-model-routing.module.mjs +18 -0
- package/esm2020/lib/audit-log/audit-log-for-model/audit-log-for-model.component.mjs +51 -0
- package/esm2020/lib/audit-log/audit-log-for-model/audit-log-for-model.module.mjs +40 -0
- package/esm2020/lib/audit-log/audit-log-list/audit-log-list-routing.module.mjs +18 -0
- package/esm2020/lib/audit-log/audit-log-list/audit-log-list.component.mjs +139 -0
- package/esm2020/lib/audit-log/audit-log-list/audit-log-list.module.mjs +48 -0
- package/esm2020/lib/audit-log/audit-log-list-filter/audit-log-list-filter-routing.module.mjs +18 -0
- package/esm2020/lib/audit-log/audit-log-list-filter/audit-log-list-filter.component.mjs +74 -0
- package/esm2020/lib/audit-log/audit-log-list-filter/audit-log-list-filter.module.mjs +40 -0
- package/esm2020/lib/audit-log/audit-log-routing.module.mjs +25 -0
- package/esm2020/lib/audit-log/audit-log-view/audit-log-view-routing.module.mjs +18 -0
- package/esm2020/lib/audit-log/audit-log-view/audit-log-view.component.mjs +51 -0
- package/esm2020/lib/audit-log/audit-log-view/audit-log-view.module.mjs +32 -0
- package/esm2020/lib/audit-log/audit-log-view-model/audit-log-view-model-routing.module.mjs +18 -0
- package/esm2020/lib/audit-log/audit-log-view-model/audit-log-view-model.component.mjs +56 -0
- package/esm2020/lib/audit-log/audit-log-view-model/audit-log-view-model.module.mjs +32 -0
- package/esm2020/lib/audit-log/audit-log.module.mjs +31 -0
- package/esm2020/lib/audit-log/audit-logs-view-model/audit-logs-view-model-routing.module.mjs +18 -0
- package/esm2020/lib/audit-log/audit-logs-view-model/audit-logs-view-model.component.mjs +37 -0
- package/esm2020/lib/audit-log/audit-logs-view-model/audit-logs-view-model.module.mjs +32 -0
- package/esm2020/lib/base-model/index.mjs +4 -0
- package/esm2020/lib/base-model/techlify-form-component.class.mjs +49 -0
- package/esm2020/lib/base-model/techlify-listing-component.class.mjs +41 -0
- package/esm2020/lib/base-model/techlify-service.class.mjs +64 -0
- package/esm2020/lib/core/alert.service.mjs +38 -0
- package/esm2020/lib/core/api-prefix.interceptor.mjs +26 -0
- package/esm2020/lib/core/authentication.guard.mjs +35 -0
- package/esm2020/lib/core/authentication.service.mjs +54 -0
- package/esm2020/lib/core/cache.interceptor.mjs +58 -0
- package/esm2020/lib/core/config.service.mjs +45 -0
- package/esm2020/lib/core/core.module.mjs +63 -0
- package/esm2020/lib/core/credentials.service.mjs +79 -0
- package/esm2020/lib/core/dataManager.service.mjs +119 -0
- package/esm2020/lib/core/error-handler.interceptor.mjs +48 -0
- package/esm2020/lib/core/error-handler.service.mjs +55 -0
- package/esm2020/lib/core/filter.service.mjs +37 -0
- package/esm2020/lib/core/form-validator.service.mjs +24 -0
- package/esm2020/lib/core/header.interceptor.mjs +24 -0
- package/esm2020/lib/core/http-cache.service.mjs +107 -0
- package/esm2020/lib/core/http.service.mjs +84 -0
- package/esm2020/lib/core/index.mjs +22 -0
- package/esm2020/lib/core/logger.service.mjs +100 -0
- package/esm2020/lib/core/route-reusable-strategy.mjs +36 -0
- package/esm2020/lib/core/snack/snack.component.mjs +33 -0
- package/esm2020/lib/core/snack/snack.module.mjs +36 -0
- package/esm2020/lib/core/storage.service.mjs +38 -0
- package/esm2020/lib/core/techlify-config.model.mjs +28 -0
- package/esm2020/lib/core/token.interceptor.mjs +28 -0
- package/esm2020/lib/data-table/data-table.component.mjs +208 -0
- package/esm2020/lib/data-table/data-table.model.mjs +11 -0
- package/esm2020/lib/data-table/data-table.module.mjs +36 -0
- package/esm2020/lib/data-table/index.mjs +3 -0
- package/esm2020/lib/date-validator.mjs +10 -0
- package/esm2020/lib/document-viewer/document-viewer.component.mjs +65 -0
- package/esm2020/lib/document-viewer/document-viewer.module.mjs +36 -0
- package/esm2020/lib/document-viewer/index.mjs +3 -0
- package/esm2020/lib/document-viewer/viewer-config.model.mjs +3 -0
- package/esm2020/lib/email-subscription/email-subscription-for-user/email-subscription-for-user-routing.module.mjs +32 -0
- package/esm2020/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.component.mjs +76 -0
- package/esm2020/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.module.mjs +36 -0
- package/esm2020/lib/email-subscription/email-subscription-for-user/index.mjs +2 -0
- package/esm2020/lib/email-subscription/email-subscription-routing.module.mjs +18 -0
- package/esm2020/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form-routing.module.mjs +18 -0
- package/esm2020/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.component.mjs +105 -0
- package/esm2020/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.module.mjs +44 -0
- package/esm2020/lib/email-subscription/email-subscription-type/email-subscription-type-form/index.mjs +2 -0
- package/esm2020/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list-routing.module.mjs +34 -0
- package/esm2020/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.component.mjs +161 -0
- package/esm2020/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.module.mjs +44 -0
- package/esm2020/lib/email-subscription/email-subscription-type/email-subscription-type-list/index.mjs +2 -0
- package/esm2020/lib/email-subscription/email-subscription-type/email-subscription-type-routing.module.mjs +18 -0
- package/esm2020/lib/email-subscription/email-subscription-type/email-subscription-type.module.mjs +22 -0
- package/esm2020/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form-routing.module.mjs +18 -0
- package/esm2020/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.component.mjs +101 -0
- package/esm2020/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.module.mjs +43 -0
- package/esm2020/lib/email-subscription/email-subscription-user/email-subscription-user-form/index.mjs +2 -0
- package/esm2020/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list-routing.module.mjs +34 -0
- package/esm2020/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.component.mjs +165 -0
- package/esm2020/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.module.mjs +48 -0
- package/esm2020/lib/email-subscription/email-subscription-user/email-subscription-user-list/index.mjs +2 -0
- package/esm2020/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter-routing.module.mjs +18 -0
- package/esm2020/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.component.mjs +52 -0
- package/esm2020/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.module.mjs +40 -0
- package/esm2020/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/index.mjs +2 -0
- package/esm2020/lib/email-subscription/email-subscription-user/email-subscription-user-routing.module.mjs +18 -0
- package/esm2020/lib/email-subscription/email-subscription-user/email-subscription-user.module.mjs +22 -0
- package/esm2020/lib/email-subscription/email-subscription.module.mjs +22 -0
- package/esm2020/lib/entity-files/entity-file-form/entity-file-form.component.mjs +144 -0
- package/esm2020/lib/entity-files/entity-file.service.mjs +43 -0
- package/esm2020/lib/entity-files/entity-files-view-all.component.mjs +320 -0
- package/esm2020/lib/entity-files/entity-files-view-all.module.mjs +66 -0
- package/esm2020/lib/entity-files/index.mjs +3 -0
- package/esm2020/lib/export-excel/export-excel-button/export-excel-button.component.mjs +32 -0
- package/esm2020/lib/export-excel/export-excel.module.mjs +24 -0
- package/esm2020/lib/file-dropper/file-dropper.component.mjs +125 -0
- package/esm2020/lib/file-dropper/file-dropper.model.mjs +3 -0
- package/esm2020/lib/file-dropper/file-dropper.module.mjs +30 -0
- package/esm2020/lib/file-dropper/index.mjs +3 -0
- package/esm2020/lib/import-csv/data-import/data-import.component.mjs +18 -0
- package/esm2020/lib/import-csv/failed-items-list/failed-items-list.component.mjs +35 -0
- package/esm2020/lib/import-csv/field-mapping/field-mapping.component.mjs +153 -0
- package/esm2020/lib/import-csv/import-csv-config.mjs +2 -0
- package/esm2020/lib/import-csv/import-csv.component.mjs +198 -0
- package/esm2020/lib/import-csv/import-csv.module.mjs +74 -0
- package/esm2020/lib/import-csv/import-history-list/import-history-list.component.mjs +71 -0
- package/esm2020/lib/import-csv/import-success/import-success.component.mjs +24 -0
- package/esm2020/lib/loader/index.mjs +2 -0
- package/esm2020/lib/loader/loader.component.mjs +23 -0
- package/esm2020/lib/loader/loader.module.mjs +28 -0
- package/esm2020/lib/login-history-for-user/login-history-for-user-routing.module.mjs +26 -0
- package/esm2020/lib/login-history-for-user/login-history-for-user.component.mjs +92 -0
- package/esm2020/lib/login-history-for-user/login-history-for-user.module.mjs +44 -0
- package/esm2020/lib/material.module.mjs +115 -0
- package/esm2020/lib/note/comment-form/comment-form.component.mjs +77 -0
- package/esm2020/lib/note/index.mjs +4 -0
- package/esm2020/lib/note/note-form/note-form.component.mjs +79 -0
- package/esm2020/lib/note/note-list/note-list.component.mjs +148 -0
- package/esm2020/lib/note/note.module.mjs +54 -0
- package/esm2020/lib/note/note.service.mjs +29 -0
- package/esm2020/lib/read-more/read-more.component.mjs +43 -0
- package/esm2020/lib/read-more/read-more.module.mjs +30 -0
- package/esm2020/lib/request-helper/request-helper.service.mjs +106 -0
- package/esm2020/lib/searchable-selector/index.mjs +3 -0
- package/esm2020/lib/searchable-selector/mat-select-infinite-scroll.directive.mjs +84 -0
- package/esm2020/lib/searchable-selector/searchable-selector.component.mjs +350 -0
- package/esm2020/lib/searchable-selector/searchable-selector.module.mjs +41 -0
- package/esm2020/lib/techlify-feature/on-off-switch/on-off-switch.component.mjs +24 -0
- package/esm2020/lib/techlify-feature/techlify-feature-enabled.directive.mjs +73 -0
- package/esm2020/lib/techlify-feature/techlify-feature-listing.component.mjs +172 -0
- package/esm2020/lib/techlify-feature/techlify-feature.module.mjs +48 -0
- package/esm2020/lib/techlify-feature/techlify-feature.routing.mjs +12 -0
- package/esm2020/lib/techlify-feature/techlify-feature.service.mjs +26 -0
- package/esm2020/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-config.model.mjs +15 -0
- package/esm2020/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.component.mjs +285 -0
- package/esm2020/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.module.mjs +38 -0
- package/esm2020/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.component.mjs +180 -0
- package/esm2020/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.module.mjs +46 -0
- package/esm2020/lib/techlify-update/techlify-update-form/techlify-update-form.component.mjs +114 -0
- package/esm2020/lib/techlify-update/techlify-update-form/techlify-update-form.module.mjs +38 -0
- package/esm2020/lib/techlify-update/techlify-update-history/techlify-update-history-routing.module.mjs +28 -0
- package/esm2020/lib/techlify-update/techlify-update-history/techlify-update-history.component.mjs +144 -0
- package/esm2020/lib/techlify-update/techlify-update-history/techlify-update-history.module.mjs +47 -0
- package/esm2020/lib/techlify-update/techlify-update-routing.module.mjs +28 -0
- package/esm2020/lib/techlify-update/techlify-update.module.mjs +51 -0
- package/esm2020/lib/techlify-update/techlify-update.service.mjs +41 -0
- package/esm2020/lib/techlify-update/techlify-updates-list/techlify-updates-list.component.mjs +162 -0
- package/esm2020/lib/techlify-update/update-notifier/update-notifier-snack/update-notifier-snack.component.mjs +77 -0
- package/esm2020/lib/techlify-update/update-notifier/update-notifier.component.mjs +53 -0
- package/esm2020/lib/techlify-update/update-notifier/update-notifier.module.mjs +39 -0
- package/esm2020/lib/techlify-update/update-view/update-view.component.mjs +38 -0
- package/esm2020/lib/techlify-update/update-view/update-view.module.mjs +30 -0
- package/esm2020/lib/timeline-filter/calculate-timeline.mjs +101 -0
- package/esm2020/lib/timeline-filter/index.mjs +4 -0
- package/esm2020/lib/timeline-filter/timeline-filter-routing.module.mjs +18 -0
- package/esm2020/lib/timeline-filter/timeline-filter.component.mjs +237 -0
- package/esm2020/lib/timeline-filter/timeline-filter.module.mjs +60 -0
- package/esm2020/lib/timeline-filter/timeline.model.mjs +18 -0
- package/esm2020/lib/utility/date-utils.service.mjs +50 -0
- package/esm2020/lib/utility/index.mjs +4 -0
- package/esm2020/lib/utility/num-items-selector.component.mjs +31 -0
- package/esm2020/lib/utility/number-selector.component.mjs +42 -0
- package/esm2020/lib/utility/utility.module.mjs +28 -0
- package/esm2020/ngx-techlify-core.mjs +5 -0
- package/esm2020/public-api.mjs +97 -0
- package/fesm2015/ngx-techlify-core.mjs +7890 -0
- package/fesm2015/ngx-techlify-core.mjs.map +1 -0
- package/fesm2020/ngx-techlify-core.mjs +7795 -0
- package/fesm2020/ngx-techlify-core.mjs.map +1 -0
- package/index.d.ts +6 -0
- package/lib/action-popup/action-popup.component.d.ts +18 -0
- package/lib/action-popup/action-popup.component.d.ts.map +1 -0
- package/lib/action-popup/action-popup.model.d.ts +6 -0
- package/lib/action-popup/action-popup.model.d.ts.map +1 -0
- package/lib/action-popup/action-popup.module.d.ts +11 -0
- package/lib/action-popup/action-popup.module.d.ts.map +1 -0
- package/lib/action-popup/index.d.ts +3 -0
- package/lib/action-popup/index.d.ts.map +1 -0
- package/lib/audit-log/audit-log-for-model/audit-log-for-model-routing.module.d.ts +8 -0
- package/lib/audit-log/audit-log-for-model/audit-log-for-model-routing.module.d.ts.map +1 -0
- package/lib/audit-log/audit-log-for-model/audit-log-for-model.component.d.ts +16 -0
- package/lib/audit-log/audit-log-for-model/audit-log-for-model.component.d.ts.map +1 -0
- package/lib/audit-log/audit-log-for-model/audit-log-for-model.module.d.ts +14 -0
- package/lib/audit-log/audit-log-for-model/audit-log-for-model.module.d.ts.map +1 -0
- package/lib/audit-log/audit-log-list/audit-log-list-routing.module.d.ts +8 -0
- package/lib/audit-log/audit-log-list/audit-log-list-routing.module.d.ts.map +1 -0
- package/lib/audit-log/audit-log-list/audit-log-list.component.d.ts +36 -0
- package/lib/audit-log/audit-log-list/audit-log-list.component.d.ts.map +1 -0
- package/lib/audit-log/audit-log-list/audit-log-list.module.d.ts +16 -0
- package/lib/audit-log/audit-log-list/audit-log-list.module.d.ts.map +1 -0
- package/lib/audit-log/audit-log-list-filter/audit-log-list-filter-routing.module.d.ts +8 -0
- package/lib/audit-log/audit-log-list-filter/audit-log-list-filter-routing.module.d.ts.map +1 -0
- package/lib/audit-log/audit-log-list-filter/audit-log-list-filter.component.d.ts +23 -0
- package/lib/audit-log/audit-log-list-filter/audit-log-list-filter.component.d.ts.map +1 -0
- package/lib/audit-log/audit-log-list-filter/audit-log-list-filter.module.d.ts +14 -0
- package/lib/audit-log/audit-log-list-filter/audit-log-list-filter.module.d.ts.map +1 -0
- package/lib/audit-log/audit-log-routing.module.d.ts +8 -0
- package/lib/audit-log/audit-log-routing.module.d.ts.map +1 -0
- package/lib/audit-log/audit-log-view/audit-log-view-routing.module.d.ts +8 -0
- package/lib/audit-log/audit-log-view/audit-log-view-routing.module.d.ts.map +1 -0
- package/lib/audit-log/audit-log-view/audit-log-view.component.d.ts +21 -0
- package/lib/audit-log/audit-log-view/audit-log-view.component.d.ts.map +1 -0
- package/lib/audit-log/audit-log-view/audit-log-view.module.d.ts +12 -0
- package/lib/audit-log/audit-log-view/audit-log-view.module.d.ts.map +1 -0
- package/lib/audit-log/audit-log-view-model/audit-log-view-model-routing.module.d.ts +8 -0
- package/lib/audit-log/audit-log-view-model/audit-log-view-model-routing.module.d.ts.map +1 -0
- package/lib/audit-log/audit-log-view-model/audit-log-view-model.component.d.ts +19 -0
- package/lib/audit-log/audit-log-view-model/audit-log-view-model.component.d.ts.map +1 -0
- package/lib/audit-log/audit-log-view-model/audit-log-view-model.module.d.ts +12 -0
- package/lib/audit-log/audit-log-view-model/audit-log-view-model.module.d.ts.map +1 -0
- package/lib/audit-log/audit-log.module.d.ts +11 -0
- package/lib/audit-log/audit-log.module.d.ts.map +1 -0
- package/lib/audit-log/audit-logs-view-model/audit-logs-view-model-routing.module.d.ts +8 -0
- package/lib/audit-log/audit-logs-view-model/audit-logs-view-model-routing.module.d.ts.map +1 -0
- package/lib/audit-log/audit-logs-view-model/audit-logs-view-model.component.d.ts +15 -0
- package/lib/audit-log/audit-logs-view-model/audit-logs-view-model.component.d.ts.map +1 -0
- package/lib/audit-log/audit-logs-view-model/audit-logs-view-model.module.d.ts +12 -0
- package/lib/audit-log/audit-logs-view-model/audit-logs-view-model.module.d.ts.map +1 -0
- package/lib/base-model/index.d.ts +4 -0
- package/lib/base-model/index.d.ts.map +1 -0
- package/lib/base-model/techlify-form-component.class.d.ts +44 -0
- package/lib/base-model/techlify-form-component.class.d.ts.map +1 -0
- package/lib/base-model/techlify-listing-component.class.d.ts +48 -0
- package/lib/base-model/techlify-listing-component.class.d.ts.map +1 -0
- package/lib/base-model/techlify-service.class.d.ts +53 -0
- package/lib/base-model/techlify-service.class.d.ts.map +1 -0
- package/lib/core/alert.service.d.ts +16 -0
- package/lib/core/alert.service.d.ts.map +1 -0
- package/lib/core/api-prefix.interceptor.d.ts +15 -0
- package/lib/core/api-prefix.interceptor.d.ts.map +1 -0
- package/lib/core/authentication.guard.d.ts +14 -0
- package/lib/core/authentication.guard.d.ts.map +1 -0
- package/lib/core/authentication.service.d.ts +27 -0
- package/lib/core/authentication.service.d.ts.map +1 -0
- package/lib/core/cache.interceptor.d.ts +25 -0
- package/lib/core/cache.interceptor.d.ts.map +1 -0
- package/lib/core/config.service.d.ts +23 -0
- package/lib/core/config.service.d.ts.map +1 -0
- package/lib/core/core.module.d.ts +12 -0
- package/lib/core/core.module.d.ts.map +1 -0
- package/lib/core/credentials.service.d.ts +40 -0
- package/lib/core/credentials.service.d.ts.map +1 -0
- package/{src/lib/core/dataManager.service.ts → lib/core/dataManager.service.d.ts} +26 -76
- package/lib/core/dataManager.service.d.ts.map +1 -0
- package/lib/core/error-handler.interceptor.d.ts +18 -0
- package/lib/core/error-handler.interceptor.d.ts.map +1 -0
- package/lib/core/error-handler.service.d.ts +18 -0
- package/lib/core/error-handler.service.d.ts.map +1 -0
- package/lib/core/filter.service.d.ts +12 -0
- package/lib/core/filter.service.d.ts.map +1 -0
- package/lib/core/form-validator.service.d.ts +12 -0
- package/lib/core/form-validator.service.d.ts.map +1 -0
- package/lib/core/header.interceptor.d.ts +12 -0
- package/lib/core/header.interceptor.d.ts.map +1 -0
- package/lib/core/http-cache.service.d.ts +58 -0
- package/lib/core/http-cache.service.d.ts.map +1 -0
- package/lib/core/http.service.d.ts +60 -0
- package/lib/core/http.service.d.ts.map +1 -0
- package/{src/lib/core/index.ts → lib/core/index.d.ts} +1 -1
- package/lib/core/index.d.ts.map +1 -0
- package/lib/core/logger.service.d.ts +86 -0
- package/lib/core/logger.service.d.ts.map +1 -0
- package/lib/core/route-reusable-strategy.d.ts +17 -0
- package/lib/core/route-reusable-strategy.d.ts.map +1 -0
- package/lib/core/snack/snack.component.d.ts +14 -0
- package/lib/core/snack/snack.component.d.ts.map +1 -0
- package/lib/core/snack/snack.module.d.ts +11 -0
- package/lib/core/snack/snack.module.d.ts.map +1 -0
- package/lib/core/storage.service.d.ts +19 -0
- package/lib/core/storage.service.d.ts.map +1 -0
- package/lib/core/techlify-config.model.d.ts +19 -0
- package/lib/core/techlify-config.model.d.ts.map +1 -0
- package/lib/core/token.interceptor.d.ts +15 -0
- package/lib/core/token.interceptor.d.ts.map +1 -0
- package/lib/data-table/data-table.component.d.ts +64 -0
- package/lib/data-table/data-table.component.d.ts.map +1 -0
- package/{src/lib/data-table/data-table.model.ts → lib/data-table/data-table.model.d.ts} +7 -9
- package/lib/data-table/data-table.model.d.ts.map +1 -0
- package/lib/data-table/data-table.module.d.ts +12 -0
- package/lib/data-table/data-table.module.d.ts.map +1 -0
- package/lib/data-table/index.d.ts +3 -0
- package/lib/data-table/index.d.ts.map +1 -0
- package/lib/date-validator.d.ts +2 -0
- package/lib/date-validator.d.ts.map +1 -0
- package/lib/document-viewer/document-viewer.component.d.ts +20 -0
- package/lib/document-viewer/document-viewer.component.d.ts.map +1 -0
- package/lib/document-viewer/document-viewer.module.d.ts +12 -0
- package/lib/document-viewer/document-viewer.module.d.ts.map +1 -0
- package/lib/document-viewer/index.d.ts +3 -0
- package/lib/document-viewer/index.d.ts.map +1 -0
- package/lib/document-viewer/viewer-config.model.d.ts +6 -0
- package/lib/document-viewer/viewer-config.model.d.ts.map +1 -0
- package/lib/email-subscription/email-subscription-for-user/email-subscription-for-user-routing.module.d.ts +13 -0
- package/lib/email-subscription/email-subscription-for-user/email-subscription-for-user-routing.module.d.ts.map +1 -0
- package/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.component.d.ts +21 -0
- package/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.component.d.ts.map +1 -0
- package/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.module.d.ts +13 -0
- package/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.module.d.ts.map +1 -0
- package/{src/lib/email-subscription/email-subscription-for-user/index.ts → lib/email-subscription/email-subscription-for-user/index.d.ts} +1 -0
- package/lib/email-subscription/email-subscription-for-user/index.d.ts.map +1 -0
- package/lib/email-subscription/email-subscription-routing.module.d.ts +8 -0
- package/lib/email-subscription/email-subscription-routing.module.d.ts.map +1 -0
- package/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form-routing.module.d.ts +8 -0
- package/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form-routing.module.d.ts.map +1 -0
- package/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.component.d.ts +36 -0
- package/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.component.d.ts.map +1 -0
- package/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.module.d.ts +15 -0
- package/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.module.d.ts.map +1 -0
- package/{src/lib/email-subscription/email-subscription-type/email-subscription-type-form/index.ts → lib/email-subscription/email-subscription-type/email-subscription-type-form/index.d.ts} +1 -0
- package/lib/email-subscription/email-subscription-type/email-subscription-type-form/index.d.ts.map +1 -0
- package/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list-routing.module.d.ts +15 -0
- package/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list-routing.module.d.ts.map +1 -0
- package/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.component.d.ts +34 -0
- package/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.component.d.ts.map +1 -0
- package/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.module.d.ts +15 -0
- package/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.module.d.ts.map +1 -0
- package/lib/email-subscription/email-subscription-type/email-subscription-type-list/index.d.ts +2 -0
- package/lib/email-subscription/email-subscription-type/email-subscription-type-list/index.d.ts.map +1 -0
- package/lib/email-subscription/email-subscription-type/email-subscription-type-routing.module.d.ts +8 -0
- package/lib/email-subscription/email-subscription-type/email-subscription-type-routing.module.d.ts.map +1 -0
- package/lib/email-subscription/email-subscription-type/email-subscription-type.module.d.ts +9 -0
- package/lib/email-subscription/email-subscription-type/email-subscription-type.module.d.ts.map +1 -0
- package/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form-routing.module.d.ts +8 -0
- package/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form-routing.module.d.ts.map +1 -0
- package/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.component.d.ts +36 -0
- package/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.component.d.ts.map +1 -0
- package/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.module.d.ts +15 -0
- package/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.module.d.ts.map +1 -0
- package/{src/lib/email-subscription/email-subscription-user/email-subscription-user-form/index.ts → lib/email-subscription/email-subscription-user/email-subscription-user-form/index.d.ts} +1 -0
- package/lib/email-subscription/email-subscription-user/email-subscription-user-form/index.d.ts.map +1 -0
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list-routing.module.d.ts +15 -0
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list-routing.module.d.ts.map +1 -0
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.component.d.ts +36 -0
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.component.d.ts.map +1 -0
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.module.d.ts +16 -0
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.module.d.ts.map +1 -0
- package/{src/lib/email-subscription/email-subscription-user/email-subscription-user-list/index.ts → lib/email-subscription/email-subscription-user/email-subscription-user-list/index.d.ts} +1 -0
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list/index.d.ts.map +1 -0
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter-routing.module.d.ts +8 -0
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter-routing.module.d.ts.map +1 -0
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.component.d.ts +17 -0
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.component.d.ts.map +1 -0
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.module.d.ts +14 -0
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.module.d.ts.map +1 -0
- package/{src/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/index.ts → lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/index.d.ts} +1 -0
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/index.d.ts.map +1 -0
- package/lib/email-subscription/email-subscription-user/email-subscription-user-routing.module.d.ts +8 -0
- package/lib/email-subscription/email-subscription-user/email-subscription-user-routing.module.d.ts.map +1 -0
- package/lib/email-subscription/email-subscription-user/email-subscription-user.module.d.ts +9 -0
- package/lib/email-subscription/email-subscription-user/email-subscription-user.module.d.ts.map +1 -0
- package/lib/email-subscription/email-subscription.module.d.ts +9 -0
- package/lib/email-subscription/email-subscription.module.d.ts.map +1 -0
- package/lib/entity-files/entity-file-form/entity-file-form.component.d.ts +42 -0
- package/lib/entity-files/entity-file-form/entity-file-form.component.d.ts.map +1 -0
- package/lib/entity-files/entity-file.service.d.ts +15 -0
- package/lib/entity-files/entity-file.service.d.ts.map +1 -0
- package/lib/entity-files/entity-files-view-all.component.d.ts +69 -0
- package/lib/entity-files/entity-files-view-all.component.d.ts.map +1 -0
- package/lib/entity-files/entity-files-view-all.module.d.ts +20 -0
- package/lib/entity-files/entity-files-view-all.module.d.ts.map +1 -0
- package/lib/entity-files/index.d.ts +3 -0
- package/lib/entity-files/index.d.ts.map +1 -0
- package/lib/export-excel/export-excel-button/export-excel-button.component.d.ts +12 -0
- package/lib/export-excel/export-excel-button/export-excel-button.component.d.ts.map +1 -0
- package/lib/export-excel/export-excel.module.d.ts +10 -0
- package/lib/export-excel/export-excel.module.d.ts.map +1 -0
- package/lib/file-dropper/file-dropper.component.d.ts +37 -0
- package/lib/file-dropper/file-dropper.component.d.ts.map +1 -0
- package/lib/file-dropper/file-dropper.model.d.ts +11 -0
- package/lib/file-dropper/file-dropper.model.d.ts.map +1 -0
- package/lib/file-dropper/file-dropper.module.d.ts +11 -0
- package/lib/file-dropper/file-dropper.module.d.ts.map +1 -0
- package/lib/file-dropper/index.d.ts +3 -0
- package/lib/file-dropper/index.d.ts.map +1 -0
- package/lib/import-csv/data-import/data-import.component.d.ts +10 -0
- package/lib/import-csv/data-import/data-import.component.d.ts.map +1 -0
- package/lib/import-csv/failed-items-list/failed-items-list.component.d.ts +16 -0
- package/lib/import-csv/failed-items-list/failed-items-list.component.d.ts.map +1 -0
- package/lib/import-csv/field-mapping/field-mapping.component.d.ts +38 -0
- package/lib/import-csv/field-mapping/field-mapping.component.d.ts.map +1 -0
- package/lib/import-csv/import-csv-config.d.ts +18 -0
- package/lib/import-csv/import-csv-config.d.ts.map +1 -0
- package/lib/import-csv/import-csv.component.d.ts +37 -0
- package/lib/import-csv/import-csv.component.d.ts.map +1 -0
- package/lib/import-csv/import-csv.module.d.ts +21 -0
- package/lib/import-csv/import-csv.module.d.ts.map +1 -0
- package/lib/import-csv/import-history-list/import-history-list.component.d.ts +25 -0
- package/lib/import-csv/import-history-list/import-history-list.component.d.ts.map +1 -0
- package/lib/import-csv/import-success/import-success.component.d.ts +12 -0
- package/lib/import-csv/import-success/import-success.component.d.ts.map +1 -0
- package/{src/lib/loader/index.ts → lib/loader/index.d.ts} +1 -0
- package/lib/loader/index.d.ts.map +1 -0
- package/lib/loader/loader.component.d.ts +12 -0
- package/lib/loader/loader.component.d.ts.map +1 -0
- package/lib/loader/loader.module.d.ts +10 -0
- package/lib/loader/loader.module.d.ts.map +1 -0
- package/lib/login-history-for-user/login-history-for-user-routing.module.d.ts +8 -0
- package/lib/login-history-for-user/login-history-for-user-routing.module.d.ts.map +1 -0
- package/lib/login-history-for-user/login-history-for-user.component.d.ts +27 -0
- package/lib/login-history-for-user/login-history-for-user.component.d.ts.map +1 -0
- package/lib/login-history-for-user/login-history-for-user.module.d.ts +15 -0
- package/lib/login-history-for-user/login-history-for-user.module.d.ts.map +1 -0
- package/lib/material.module.d.ts +27 -0
- package/lib/material.module.d.ts.map +1 -0
- package/lib/note/comment-form/comment-form.component.d.ts +26 -0
- package/lib/note/comment-form/comment-form.component.d.ts.map +1 -0
- package/{src/lib/note/index.ts → lib/note/index.d.ts} +1 -0
- package/lib/note/index.d.ts.map +1 -0
- package/lib/note/note-form/note-form.component.d.ts +31 -0
- package/lib/note/note-form/note-form.component.d.ts.map +1 -0
- package/lib/note/note-list/note-list.component.d.ts +32 -0
- package/lib/note/note-list/note-list.component.d.ts.map +1 -0
- package/lib/note/note.module.d.ts +17 -0
- package/lib/note/note.module.d.ts.map +1 -0
- package/lib/note/note.service.d.ts +13 -0
- package/lib/note/note.service.d.ts.map +1 -0
- package/lib/read-more/read-more.component.d.ts +16 -0
- package/lib/read-more/read-more.component.d.ts.map +1 -0
- package/lib/read-more/read-more.module.d.ts +11 -0
- package/lib/read-more/read-more.module.d.ts.map +1 -0
- package/lib/request-helper/request-helper.service.d.ts +41 -0
- package/lib/request-helper/request-helper.service.d.ts.map +1 -0
- package/lib/searchable-selector/index.d.ts +3 -0
- package/lib/searchable-selector/index.d.ts.map +1 -0
- package/lib/searchable-selector/mat-select-infinite-scroll.directive.d.ts +27 -0
- package/lib/searchable-selector/mat-select-infinite-scroll.directive.d.ts.map +1 -0
- package/lib/searchable-selector/searchable-selector.component.d.ts +85 -0
- package/lib/searchable-selector/searchable-selector.component.d.ts.map +1 -0
- package/lib/searchable-selector/searchable-selector.module.d.ts +13 -0
- package/lib/searchable-selector/searchable-selector.module.d.ts.map +1 -0
- package/lib/techlify-feature/on-off-switch/on-off-switch.component.d.ts +13 -0
- package/lib/techlify-feature/on-off-switch/on-off-switch.component.d.ts.map +1 -0
- package/lib/techlify-feature/techlify-feature-enabled.directive.d.ts +21 -0
- package/lib/techlify-feature/techlify-feature-enabled.directive.d.ts.map +1 -0
- package/lib/techlify-feature/techlify-feature-listing.component.d.ts +41 -0
- package/lib/techlify-feature/techlify-feature-listing.component.d.ts.map +1 -0
- package/lib/techlify-feature/techlify-feature.module.d.ts +17 -0
- package/lib/techlify-feature/techlify-feature.module.d.ts.map +1 -0
- package/lib/techlify-feature/techlify-feature.routing.d.ts +3 -0
- package/lib/techlify-feature/techlify-feature.routing.d.ts.map +1 -0
- package/lib/techlify-feature/techlify-feature.service.d.ts +12 -0
- package/lib/techlify-feature/techlify-feature.service.d.ts.map +1 -0
- package/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-config.model.d.ts +13 -0
- package/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-config.model.d.ts.map +1 -0
- package/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.component.d.ts +80 -0
- package/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.component.d.ts.map +1 -0
- package/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.module.d.ts +13 -0
- package/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.module.d.ts.map +1 -0
- package/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.component.d.ts +62 -0
- package/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.component.d.ts.map +1 -0
- package/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.module.d.ts +15 -0
- package/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.module.d.ts.map +1 -0
- package/lib/techlify-update/techlify-update-form/techlify-update-form.component.d.ts +34 -0
- package/lib/techlify-update/techlify-update-form/techlify-update-form.component.d.ts.map +1 -0
- package/lib/techlify-update/techlify-update-form/techlify-update-form.module.d.ts +13 -0
- package/lib/techlify-update/techlify-update-form/techlify-update-form.module.d.ts.map +1 -0
- package/lib/techlify-update/techlify-update-history/techlify-update-history-routing.module.d.ts +8 -0
- package/lib/techlify-update/techlify-update-history/techlify-update-history-routing.module.d.ts.map +1 -0
- package/lib/techlify-update/techlify-update-history/techlify-update-history.component.d.ts +35 -0
- package/lib/techlify-update/techlify-update-history/techlify-update-history.component.d.ts.map +1 -0
- package/lib/techlify-update/techlify-update-history/techlify-update-history.module.d.ts +16 -0
- package/lib/techlify-update/techlify-update-history/techlify-update-history.module.d.ts.map +1 -0
- package/lib/techlify-update/techlify-update-routing.module.d.ts +8 -0
- package/lib/techlify-update/techlify-update-routing.module.d.ts.map +1 -0
- package/lib/techlify-update/techlify-update.module.d.ts +17 -0
- package/lib/techlify-update/techlify-update.module.d.ts.map +1 -0
- package/lib/techlify-update/techlify-update.service.d.ts +17 -0
- package/lib/techlify-update/techlify-update.service.d.ts.map +1 -0
- package/lib/techlify-update/techlify-updates-list/techlify-updates-list.component.d.ts +35 -0
- package/lib/techlify-update/techlify-updates-list/techlify-updates-list.component.d.ts.map +1 -0
- package/lib/techlify-update/update-notifier/update-notifier-snack/update-notifier-snack.component.d.ts +29 -0
- package/lib/techlify-update/update-notifier/update-notifier-snack/update-notifier-snack.component.d.ts.map +1 -0
- package/lib/techlify-update/update-notifier/update-notifier.component.d.ts +20 -0
- package/lib/techlify-update/update-notifier/update-notifier.component.d.ts.map +1 -0
- package/lib/techlify-update/update-notifier/update-notifier.module.d.ts +14 -0
- package/lib/techlify-update/update-notifier/update-notifier.module.d.ts.map +1 -0
- package/lib/techlify-update/update-view/update-view.component.d.ts +18 -0
- package/lib/techlify-update/update-view/update-view.component.d.ts.map +1 -0
- package/lib/techlify-update/update-view/update-view.module.d.ts +11 -0
- package/lib/techlify-update/update-view/update-view.module.d.ts.map +1 -0
- package/lib/timeline-filter/calculate-timeline.d.ts +7 -0
- package/lib/timeline-filter/calculate-timeline.d.ts.map +1 -0
- package/lib/timeline-filter/index.d.ts +4 -0
- package/lib/timeline-filter/index.d.ts.map +1 -0
- package/lib/timeline-filter/timeline-filter-routing.module.d.ts +8 -0
- package/lib/timeline-filter/timeline-filter-routing.module.d.ts.map +1 -0
- package/lib/timeline-filter/timeline-filter.component.d.ts +66 -0
- package/lib/timeline-filter/timeline-filter.component.d.ts.map +1 -0
- package/lib/timeline-filter/timeline-filter.module.d.ts +19 -0
- package/lib/timeline-filter/timeline-filter.module.d.ts.map +1 -0
- package/lib/timeline-filter/timeline.model.d.ts +18 -0
- package/lib/timeline-filter/timeline.model.d.ts.map +1 -0
- package/lib/utility/date-utils.service.d.ts +25 -0
- package/lib/utility/date-utils.service.d.ts.map +1 -0
- package/{src/lib/utility/index.ts → lib/utility/index.d.ts} +2 -1
- package/lib/utility/index.d.ts.map +1 -0
- package/lib/utility/num-items-selector.component.d.ts +20 -0
- package/lib/utility/num-items-selector.component.d.ts.map +1 -0
- package/lib/utility/number-selector.component.d.ts +24 -0
- package/lib/utility/number-selector.component.d.ts.map +1 -0
- package/lib/utility/utility.module.d.ts +11 -0
- package/lib/utility/utility.module.d.ts.map +1 -0
- package/ngx-techlify-core.d.ts.map +1 -0
- package/package.json +49 -29
- package/{src/public-api.ts → public-api.d.ts} +1 -30
- package/public-api.d.ts.map +1 -0
- package/karma.conf.js +0 -44
- package/ng-package.json +0 -27
- package/src/lib/action-popup/action-popup.component.html +0 -21
- package/src/lib/action-popup/action-popup.component.scss +0 -0
- package/src/lib/action-popup/action-popup.component.spec.ts +0 -25
- package/src/lib/action-popup/action-popup.component.ts +0 -31
- package/src/lib/action-popup/action-popup.model.ts +0 -5
- package/src/lib/action-popup/action-popup.module.ts +0 -23
- package/src/lib/action-popup/index.ts +0 -2
- package/src/lib/audit-log/audit-log-for-model/audit-log-for-model-routing.module.ts +0 -10
- package/src/lib/audit-log/audit-log-for-model/audit-log-for-model.component.html +0 -9
- 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 +0 -25
- package/src/lib/audit-log/audit-log-for-model/audit-log-for-model.component.ts +0 -49
- package/src/lib/audit-log/audit-log-for-model/audit-log-for-model.module.ts +0 -24
- package/src/lib/audit-log/audit-log-list/audit-log-list-routing.module.ts +0 -10
- package/src/lib/audit-log/audit-log-list/audit-log-list.component.html +0 -92
- package/src/lib/audit-log/audit-log-list/audit-log-list.component.scss +0 -21
- package/src/lib/audit-log/audit-log-list/audit-log-list.component.spec.ts +0 -25
- package/src/lib/audit-log/audit-log-list/audit-log-list.component.ts +0 -138
- package/src/lib/audit-log/audit-log-list/audit-log-list.module.ts +0 -28
- package/src/lib/audit-log/audit-log-list-filter/audit-log-list-filter-routing.module.ts +0 -10
- package/src/lib/audit-log/audit-log-list-filter/audit-log-list-filter.component.html +0 -49
- 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 +0 -26
- package/src/lib/audit-log/audit-log-list-filter/audit-log-list-filter.component.ts +0 -74
- package/src/lib/audit-log/audit-log-list-filter/audit-log-list-filter.module.ts +0 -24
- package/src/lib/audit-log/audit-log-routing.module.ts +0 -18
- package/src/lib/audit-log/audit-log-view/audit-log-view-routing.module.ts +0 -10
- package/src/lib/audit-log/audit-log-view/audit-log-view.component.html +0 -46
- 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 +0 -25
- package/src/lib/audit-log/audit-log-view/audit-log-view.component.ts +0 -54
- package/src/lib/audit-log/audit-log-view/audit-log-view.module.ts +0 -20
- package/src/lib/audit-log/audit-log-view-model/audit-log-view-model-routing.module.ts +0 -10
- package/src/lib/audit-log/audit-log-view-model/audit-log-view-model.component.html +0 -38
- package/src/lib/audit-log/audit-log-view-model/audit-log-view-model.component.scss +0 -4
- package/src/lib/audit-log/audit-log-view-model/audit-log-view-model.component.spec.ts +0 -25
- package/src/lib/audit-log/audit-log-view-model/audit-log-view-model.component.ts +0 -53
- package/src/lib/audit-log/audit-log-view-model/audit-log-view-model.module.ts +0 -20
- package/src/lib/audit-log/audit-log.module.ts +0 -20
- package/src/lib/audit-log/audit-logs-view-model/audit-logs-view-model-routing.module.ts +0 -10
- package/src/lib/audit-log/audit-logs-view-model/audit-logs-view-model.component.html +0 -4
- package/src/lib/audit-log/audit-logs-view-model/audit-logs-view-model.component.scss +0 -4
- package/src/lib/audit-log/audit-logs-view-model/audit-logs-view-model.component.spec.ts +0 -25
- package/src/lib/audit-log/audit-logs-view-model/audit-logs-view-model.component.ts +0 -28
- package/src/lib/audit-log/audit-logs-view-model/audit-logs-view-model.module.ts +0 -20
- package/src/lib/base-model/index.ts +0 -3
- package/src/lib/base-model/techlify-form-component.class.ts +0 -60
- package/src/lib/base-model/techlify-listing-component.class.ts +0 -67
- package/src/lib/base-model/techlify-service.class.ts +0 -73
- package/src/lib/core/alert.service.ts +0 -32
- package/src/lib/core/api-prefix.interceptor.ts +0 -22
- package/src/lib/core/authentication.guard.ts +0 -34
- package/src/lib/core/authentication.service.ts +0 -53
- package/src/lib/core/cache.interceptor.ts +0 -59
- package/src/lib/core/config.service.ts +0 -52
- package/src/lib/core/core.module.ts +0 -44
- package/src/lib/core/credentials.service.ts +0 -91
- package/src/lib/core/error-handler.interceptor.ts +0 -43
- package/src/lib/core/error-handler.service.ts +0 -61
- package/src/lib/core/filter.service.ts +0 -42
- package/src/lib/core/form-validator.service.ts +0 -23
- package/src/lib/core/header.interceptor.ts +0 -22
- package/src/lib/core/http-cache.service.ts +0 -122
- package/src/lib/core/http.service.ts +0 -137
- package/src/lib/core/logger.service.ts +0 -113
- package/src/lib/core/route-reusable-strategy.ts +0 -36
- package/src/lib/core/snack/error-snack.html +0 -8
- package/src/lib/core/snack/snack.component.ts +0 -19
- package/src/lib/core/snack/snack.module.ts +0 -22
- package/src/lib/core/snack/snack.scss +0 -18
- package/src/lib/core/snack/success-snack.html +0 -8
- package/src/lib/core/storage.service.ts +0 -38
- package/src/lib/core/techlify-config.model.ts +0 -32
- package/src/lib/core/token.interceptor.ts +0 -25
- package/src/lib/data-table/data-table.component.html +0 -139
- package/src/lib/data-table/data-table.component.scss +0 -54
- package/src/lib/data-table/data-table.component.spec.ts +0 -25
- package/src/lib/data-table/data-table.component.ts +0 -232
- package/src/lib/data-table/data-table.module.ts +0 -23
- package/src/lib/data-table/index.ts +0 -2
- package/src/lib/date-validator.ts +0 -12
- package/src/lib/document-viewer/document-viewer.component.css +0 -5
- package/src/lib/document-viewer/document-viewer.component.html +0 -19
- package/src/lib/document-viewer/document-viewer.component.ts +0 -66
- package/src/lib/document-viewer/document-viewer.module.ts +0 -22
- package/src/lib/document-viewer/index.ts +0 -2
- package/src/lib/document-viewer/viewer-config.model.ts +0 -5
- package/src/lib/email-subscription/email-subscription-for-user/email-subscription-for-user-routing.module.ts +0 -25
- package/src/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.component.html +0 -23
- package/src/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.component.scss +0 -4
- package/src/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.component.spec.ts +0 -25
- package/src/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.component.ts +0 -74
- package/src/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.module.ts +0 -22
- package/src/lib/email-subscription/email-subscription-routing.module.ts +0 -10
- package/src/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form-routing.module.ts +0 -10
- package/src/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.component.html +0 -47
- 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 +0 -25
- package/src/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.component.ts +0 -113
- package/src/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.module.ts +0 -28
- package/src/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list-routing.module.ts +0 -29
- package/src/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.component.html +0 -76
- package/src/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.component.scss +0 -4
- package/src/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.component.spec.ts +0 -25
- package/src/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.component.ts +0 -170
- package/src/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.module.ts +0 -26
- package/src/lib/email-subscription/email-subscription-type/email-subscription-type-list/index.ts +0 -1
- package/src/lib/email-subscription/email-subscription-type/email-subscription-type-routing.module.ts +0 -11
- package/src/lib/email-subscription/email-subscription-type/email-subscription-type.module.ts +0 -14
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form-routing.module.ts +0 -10
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.component.html +0 -38
- 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 +0 -25
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.component.ts +0 -113
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.module.ts +0 -26
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list-routing.module.ts +0 -27
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.component.html +0 -74
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.component.scss +0 -5
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.component.spec.ts +0 -25
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.component.ts +0 -174
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.module.ts +0 -28
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter-routing.module.ts +0 -10
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.component.html +0 -21
- 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 +0 -25
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.component.ts +0 -56
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.module.ts +0 -24
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-routing.module.ts +0 -11
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user.module.ts +0 -14
- package/src/lib/email-subscription/email-subscription.module.ts +0 -15
- 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 +0 -45
- package/src/lib/entity-files/entity-file-form/entity-file-form.component.ts +0 -172
- package/src/lib/entity-files/entity-file.service.ts +0 -46
- package/src/lib/entity-files/entity-files-view-all.component.css +0 -0
- package/src/lib/entity-files/entity-files-view-all.component.html +0 -236
- package/src/lib/entity-files/entity-files-view-all.component.ts +0 -325
- package/src/lib/entity-files/entity-files-view-all.module.ts +0 -38
- package/src/lib/entity-files/index.ts +0 -2
- package/src/lib/export-excel/export-excel-button/export-excel-button.component.html +0 -1
- 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 +0 -25
- package/src/lib/export-excel/export-excel-button/export-excel-button.component.ts +0 -31
- package/src/lib/export-excel/export-excel.module.ts +0 -16
- package/src/lib/file-dropper/file-dropper.component.html +0 -41
- package/src/lib/file-dropper/file-dropper.component.scss +0 -8
- package/src/lib/file-dropper/file-dropper.component.ts +0 -139
- package/src/lib/file-dropper/file-dropper.model.ts +0 -10
- package/src/lib/file-dropper/file-dropper.module.ts +0 -18
- package/src/lib/file-dropper/index.ts +0 -2
- package/src/lib/import-csv/data-import/data-import.component.html +0 -11
- 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 +0 -28
- package/src/lib/import-csv/data-import/data-import.component.ts +0 -16
- package/src/lib/import-csv/failed-items-list/failed-items-list.component.html +0 -61
- 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 +0 -28
- package/src/lib/import-csv/failed-items-list/failed-items-list.component.ts +0 -30
- package/src/lib/import-csv/field-mapping/field-mapping.component.html +0 -70
- package/src/lib/import-csv/field-mapping/field-mapping.component.scss +0 -15
- package/src/lib/import-csv/field-mapping/field-mapping.component.ts +0 -161
- package/src/lib/import-csv/import-csv-config.ts +0 -17
- package/src/lib/import-csv/import-csv.component.html +0 -71
- package/src/lib/import-csv/import-csv.component.scss +0 -15
- package/src/lib/import-csv/import-csv.component.spec.ts +0 -28
- package/src/lib/import-csv/import-csv.component.ts +0 -198
- package/src/lib/import-csv/import-csv.module.ts +0 -43
- package/src/lib/import-csv/import-history-list/import-history-list.component.html +0 -43
- 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 +0 -28
- package/src/lib/import-csv/import-history-list/import-history-list.component.ts +0 -74
- package/src/lib/import-csv/import-success/import-success.component.html +0 -22
- 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 +0 -28
- package/src/lib/import-csv/import-success/import-success.component.ts +0 -17
- package/src/lib/loader/loader.component.html +0 -4
- package/src/lib/loader/loader.component.scss +0 -8
- package/src/lib/loader/loader.component.spec.ts +0 -73
- package/src/lib/loader/loader.component.ts +0 -18
- package/src/lib/loader/loader.module.ts +0 -18
- package/src/lib/login-history-for-user/login-history-for-user-routing.module.ts +0 -18
- package/src/lib/login-history-for-user/login-history-for-user.component.html +0 -31
- package/src/lib/login-history-for-user/login-history-for-user.component.scss +0 -4
- package/src/lib/login-history-for-user/login-history-for-user.component.spec.ts +0 -25
- package/src/lib/login-history-for-user/login-history-for-user.component.ts +0 -94
- package/src/lib/login-history-for-user/login-history-for-user.module.ts +0 -26
- package/src/lib/material.module.ts +0 -68
- package/src/lib/note/comment-form/comment-form.component.html +0 -45
- package/src/lib/note/comment-form/comment-form.component.scss +0 -7
- package/src/lib/note/comment-form/comment-form.component.spec.ts +0 -24
- package/src/lib/note/comment-form/comment-form.component.ts +0 -84
- package/src/lib/note/note-form/note-form.component.css +0 -0
- package/src/lib/note/note-form/note-form.component.html +0 -26
- package/src/lib/note/note-form/note-form.component.spec.ts +0 -25
- package/src/lib/note/note-form/note-form.component.ts +0 -93
- package/src/lib/note/note-list/note-list.component.css +0 -4
- package/src/lib/note/note-list/note-list.component.html +0 -58
- package/src/lib/note/note-list/note-list.component.spec.ts +0 -25
- package/src/lib/note/note-list/note-list.component.ts +0 -156
- package/src/lib/note/note.module.ts +0 -33
- package/src/lib/note/note.service.spec.ts +0 -16
- package/src/lib/note/note.service.ts +0 -26
- package/src/lib/read-more/read-more.component.html +0 -3
- package/src/lib/read-more/read-more.component.scss +0 -8
- package/src/lib/read-more/read-more.component.spec.ts +0 -24
- package/src/lib/read-more/read-more.component.ts +0 -41
- package/src/lib/read-more/read-more.module.ts +0 -18
- package/src/lib/request-helper/request-helper.service.ts +0 -92
- package/src/lib/searchable-selector/index.ts +0 -2
- package/src/lib/searchable-selector/mat-select-infinite-scroll.directive.ts +0 -89
- package/src/lib/searchable-selector/searchable-selector.component.html +0 -21
- package/src/lib/searchable-selector/searchable-selector.component.scss +0 -8
- package/src/lib/searchable-selector/searchable-selector.component.spec.ts +0 -25
- package/src/lib/searchable-selector/searchable-selector.component.ts +0 -337
- package/src/lib/searchable-selector/searchable-selector.module.ts +0 -25
- package/src/lib/techlify-feature/on-off-switch/on-off-switch.component.html +0 -4
- 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 +0 -28
- package/src/lib/techlify-feature/on-off-switch/on-off-switch.component.ts +0 -25
- package/src/lib/techlify-feature/techlify-feature-enabled.directive.ts +0 -71
- package/src/lib/techlify-feature/techlify-feature-listing.component.html +0 -65
- package/src/lib/techlify-feature/techlify-feature-listing.component.scss +0 -0
- package/src/lib/techlify-feature/techlify-feature-listing.component.ts +0 -174
- package/src/lib/techlify-feature/techlify-feature.module.ts +0 -28
- package/src/lib/techlify-feature/techlify-feature.routing.ts +0 -13
- package/src/lib/techlify-feature/techlify-feature.service.ts +0 -23
- package/src/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-config.model.ts +0 -25
- package/src/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.component.html +0 -18
- package/src/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.component.scss +0 -6
- package/src/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.component.spec.ts +0 -25
- package/src/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.component.ts +0 -308
- package/src/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.module.ts +0 -24
- package/src/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.component.html +0 -8
- 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 +0 -25
- package/src/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.component.ts +0 -180
- package/src/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.module.ts +0 -28
- package/src/lib/techlify-update/techlify-update-form/techlify-update-form.component.html +0 -78
- 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 +0 -25
- package/src/lib/techlify-update/techlify-update-form/techlify-update-form.component.ts +0 -113
- package/src/lib/techlify-update/techlify-update-form/techlify-update-form.module.ts +0 -25
- package/src/lib/techlify-update/techlify-update-history/index.ts +0 -1
- package/src/lib/techlify-update/techlify-update-history/techlify-update-history-routing.module.ts +0 -21
- package/src/lib/techlify-update/techlify-update-history/techlify-update-history.component.html +0 -94
- 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 +0 -142
- package/src/lib/techlify-update/techlify-update-history/techlify-update-history.module.ts +0 -25
- package/src/lib/techlify-update/techlify-update-routing.module.ts +0 -21
- package/src/lib/techlify-update/techlify-update.module.ts +0 -27
- package/src/lib/techlify-update/techlify-update.service.spec.ts +0 -16
- package/src/lib/techlify-update/techlify-update.service.ts +0 -42
- package/src/lib/techlify-update/techlify-updates-list/techlify-updates-list.component.html +0 -104
- 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 +0 -25
- package/src/lib/techlify-update/techlify-updates-list/techlify-updates-list.component.ts +0 -167
- package/src/lib/techlify-update/update-notifier/update-notifier-snack/update-notifier-snack.component.html +0 -39
- package/src/lib/techlify-update/update-notifier/update-notifier-snack/update-notifier-snack.component.scss +0 -57
- package/src/lib/techlify-update/update-notifier/update-notifier-snack/update-notifier-snack.component.spec.ts +0 -25
- package/src/lib/techlify-update/update-notifier/update-notifier-snack/update-notifier-snack.component.ts +0 -76
- package/src/lib/techlify-update/update-notifier/update-notifier.component.html +0 -0
- package/src/lib/techlify-update/update-notifier/update-notifier.component.scss +0 -3
- package/src/lib/techlify-update/update-notifier/update-notifier.component.spec.ts +0 -25
- package/src/lib/techlify-update/update-notifier/update-notifier.component.ts +0 -56
- package/src/lib/techlify-update/update-notifier/update-notifier.module.ts +0 -27
- package/src/lib/techlify-update/update-view/update-view.component.html +0 -63
- package/src/lib/techlify-update/update-view/update-view.component.scss +0 -19
- package/src/lib/techlify-update/update-view/update-view.component.spec.ts +0 -25
- package/src/lib/techlify-update/update-view/update-view.component.ts +0 -36
- package/src/lib/techlify-update/update-view/update-view.module.ts +0 -23
- package/src/lib/timeline-filter/calculate-timeline.ts +0 -109
- package/src/lib/timeline-filter/index.ts +0 -3
- package/src/lib/timeline-filter/timeline-filter-routing.module.ts +0 -10
- package/src/lib/timeline-filter/timeline-filter.component.html +0 -54
- package/src/lib/timeline-filter/timeline-filter.component.scss +0 -0
- package/src/lib/timeline-filter/timeline-filter.component.spec.ts +0 -25
- package/src/lib/timeline-filter/timeline-filter.component.ts +0 -220
- package/src/lib/timeline-filter/timeline-filter.module.ts +0 -22
- package/src/lib/timeline-filter/timeline.model.ts +0 -17
- package/src/lib/utility/date-utils.service.ts +0 -51
- package/src/lib/utility/num-items-selector.component.ts +0 -29
- package/src/lib/utility/num-items-selector.html +0 -13
- package/src/lib/utility/number-selector.component.ts +0 -38
- package/src/lib/utility/number-selector.html +0 -6
- package/src/lib/utility/utility.module.ts +0 -20
- package/src/test.ts +0 -26
- package/tsconfig.lib.json +0 -26
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -17
- package/tslint.json +0 -17
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { ReadMoreModule } from '../read-more/read-more.module';
|
|
2
|
+
import { TechlifyUpdateFormModule } from './techlify-update-form/techlify-update-form.module';
|
|
3
|
+
import { TechlifyUpdateRoutingModule } from './techlify-update-routing.module';
|
|
4
|
+
import { NgModule } from '@angular/core';
|
|
5
|
+
import { CommonModule } from '@angular/common';
|
|
6
|
+
import { TechlifyUpdatesListComponent } from './techlify-updates-list/techlify-updates-list.component';
|
|
7
|
+
import { InfiniteScrollModule } from 'ngx-infinite-scroll';
|
|
8
|
+
import { ReactiveFormsModule } from '@angular/forms';
|
|
9
|
+
import { MaterialModule } from '../material.module';
|
|
10
|
+
import { FlexLayoutModule } from '@angular/flex-layout';
|
|
11
|
+
import { ActionPopupModule } from '../action-popup/action-popup.module';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
export class TechlifyUpdateModule {
|
|
14
|
+
}
|
|
15
|
+
TechlifyUpdateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: TechlifyUpdateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
16
|
+
TechlifyUpdateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.7", ngImport: i0, type: TechlifyUpdateModule, declarations: [TechlifyUpdatesListComponent], imports: [CommonModule,
|
|
17
|
+
ReactiveFormsModule,
|
|
18
|
+
InfiniteScrollModule,
|
|
19
|
+
FlexLayoutModule,
|
|
20
|
+
MaterialModule,
|
|
21
|
+
ActionPopupModule,
|
|
22
|
+
TechlifyUpdateRoutingModule,
|
|
23
|
+
TechlifyUpdateFormModule,
|
|
24
|
+
ReadMoreModule] });
|
|
25
|
+
TechlifyUpdateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: TechlifyUpdateModule, imports: [CommonModule,
|
|
26
|
+
ReactiveFormsModule,
|
|
27
|
+
InfiniteScrollModule,
|
|
28
|
+
FlexLayoutModule,
|
|
29
|
+
MaterialModule,
|
|
30
|
+
ActionPopupModule,
|
|
31
|
+
TechlifyUpdateRoutingModule,
|
|
32
|
+
TechlifyUpdateFormModule,
|
|
33
|
+
ReadMoreModule] });
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: TechlifyUpdateModule, decorators: [{
|
|
35
|
+
type: NgModule,
|
|
36
|
+
args: [{
|
|
37
|
+
declarations: [TechlifyUpdatesListComponent],
|
|
38
|
+
imports: [
|
|
39
|
+
CommonModule,
|
|
40
|
+
ReactiveFormsModule,
|
|
41
|
+
InfiniteScrollModule,
|
|
42
|
+
FlexLayoutModule,
|
|
43
|
+
MaterialModule,
|
|
44
|
+
ActionPopupModule,
|
|
45
|
+
TechlifyUpdateRoutingModule,
|
|
46
|
+
TechlifyUpdateFormModule,
|
|
47
|
+
ReadMoreModule,
|
|
48
|
+
]
|
|
49
|
+
}]
|
|
50
|
+
}] });
|
|
51
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVjaGxpZnktdXBkYXRlLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC10Z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XRlU2Nyb2xsTW9kdWxlIH0gZnJvbSAnbmd4LWluZmluaXRlLXNjcm9sbCc7XHJcbmltcG9ydCB7IFJlYWN0aXZlRm9ybXNNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9mb3Jtcyc7XHJcbmltcG9ydCB7IE1hdGVyaWFsTW9kdWxlIH0gZnJvbSAnLi4vbWF0ZXJpYWwubW9kdWxlJztcclxuaW1wb3J0IHsgRmxleExheW91dE1vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2ZsZXgtbGF5b3V0JztcclxuaW1wb3J0IHsgQWN0aW9uUG9wdXBNb2R1bGUgfSBmcm9tICcuLi9hY3Rpb24tcG9wdXAvYWN0aW9uLXBvcHVwLm1vZHVsZSc7XHJcblxyXG5ATmdNb2R1bGUoe1xyXG4gIGRlY2xhcmF0aW9uczogW1RlY2hsaWZ5VXBkYXRlc0xpc3RDb21wb25lbnRdLFxyXG4gIGltcG9ydHM6IFtcclxuICAgIENvbW1vbk1vZHVsZSxcclxuICAgIFJlYWN0aXZlRm9ybXNNb2R1bGUsXHJcbiAgICBJbmZpbml0ZVNjcm9sbE1vZHVsZSxcclxuICAgIEZsZXhMYXlvdXRNb2R1bGUsXHJcbiAgICBNYXRlcmlhbE1vZHVsZSxcclxuICAgIEFjdGlvblBvcHVwTW9kdWxlLFxyXG4gICAgVGVjaGxpZnlVcGRhdGVSb3V0aW5nTW9kdWxlLFxyXG4gICAgVGVjaGxpZnlVcGRhdGVGb3JtTW9kdWxlLFxyXG4gICAgUmVhZE1vcmVNb2R1bGUsXHJcbiAgXVxyXG59KVxyXG5leHBvcnQgY2xhc3MgVGVjaGxpZnlVcGRhdGVNb2R1bGUgeyB9XHJcbiJdfQ==
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "../core/http.service";
|
|
4
|
+
export class TechlifyUpdateService {
|
|
5
|
+
constructor(http) {
|
|
6
|
+
this.http = http;
|
|
7
|
+
}
|
|
8
|
+
getTechlifyUpdates(filters) {
|
|
9
|
+
return this.http.get(`api/techlify-updates`, { params: filters }).toPromise();
|
|
10
|
+
}
|
|
11
|
+
createTechlifyUpdate(techlifyUpdate) {
|
|
12
|
+
return this.http.post(`api/techlify-updates`, techlifyUpdate).toPromise();
|
|
13
|
+
}
|
|
14
|
+
updateTechlifyUpdate(techlifyUpdate) {
|
|
15
|
+
return this.http.put(`api/techlify-updates/${techlifyUpdate.id}`, techlifyUpdate).toPromise();
|
|
16
|
+
}
|
|
17
|
+
deleteTechlifyUpdate(techlifyUpdateId) {
|
|
18
|
+
return this.http.delete(`api/techlify-updates/${techlifyUpdateId}`).toPromise();
|
|
19
|
+
}
|
|
20
|
+
getTechlifyUpdate(techlifyUpdateId) {
|
|
21
|
+
return this.http.get(`api/techlify-updates/${techlifyUpdateId}`).toPromise();
|
|
22
|
+
}
|
|
23
|
+
getNewUpdateForCurrentUser() {
|
|
24
|
+
return this.http.get(`api/current-user-techlify-updates`).toPromise();
|
|
25
|
+
}
|
|
26
|
+
createUpdateViewRecord(techlifyUpdateView) {
|
|
27
|
+
return this.http.post(`api/techlify-update-views`, techlifyUpdateView).toPromise();
|
|
28
|
+
}
|
|
29
|
+
updateCurrentUserUpdates() {
|
|
30
|
+
return this.http.get(`api/techlify-updates/update-view`).toPromise();
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
TechlifyUpdateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: TechlifyUpdateService, deps: [{ token: i1.HttpService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
34
|
+
TechlifyUpdateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: TechlifyUpdateService, providedIn: 'root' });
|
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: TechlifyUpdateService, decorators: [{
|
|
36
|
+
type: Injectable,
|
|
37
|
+
args: [{
|
|
38
|
+
providedIn: 'root'
|
|
39
|
+
}]
|
|
40
|
+
}], ctorParameters: function () { return [{ type: i1.HttpService }]; } });
|
|
41
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVjaGxpZnktdXBkYXRlLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtdGVjaGxpZnktY29yZS9zcmMvbGliL3RlY2hsaWZ5LXVwZGF0ZS90ZWNobGlmeS11cGRhdGUuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDOzs7QUFLM0MsTUFBTSxPQUFPLHFCQUFxQjtJQUVoQyxZQUFvQixJQUFpQjtRQUFqQixTQUFJLEdBQUosSUFBSSxDQUFhO0lBQUksQ0FBQztJQUUxQyxrQkFBa0IsQ0FBQyxPQUFZO1FBQzdCLE9BQU8sSUFBSSxDQUFDLElBQUksQ0FBQyxHQUFHLENBQUMsc0JBQXNCLEVBQUUsRUFBRSxNQUFNLEVBQUUsT0FBTyxFQUFFLENBQUMsQ0FBQyxTQUFTLEVBQUUsQ0FBQztJQUNoRixDQUFDO0lBRUQsb0JBQW9CLENBQUMsY0FBbUI7UUFDdEMsT0FBTyxJQUFJLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxzQkFBc0IsRUFBRSxjQUFjLENBQUMsQ0FBQyxTQUFTLEVBQUUsQ0FBQztJQUM1RSxDQUFDO0lBRUQsb0JBQW9CLENBQUMsY0FBbUI7UUFDdEMsT0FBTyxJQUFJLENBQUMsSUFBSSxDQUFDLEdBQUcsQ0FBQyx3QkFBd0IsY0FBYyxDQUFDLEVBQUUsRUFBRSxFQUFFLGNBQWMs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RlY2hsaWZ5VXBkYXRlSWQ6IGFueSkge1xyXG4gICAgcmV0dXJuIHRoaXMuaHR0cC5nZXQoYGFwaS90ZWNobGlmeS11cGRhdGVzLyR7dGVjaGxpZnlVcGRhdGVJZH1gKS50b1Byb21pc2UoKTtcclxuICB9XHJcblxyXG4gIGdldE5ld1VwZGF0ZUZvckN1cnJlbnRVc2VyKCkge1xyXG4gICAgcmV0dXJuIHRoaXMuaHR0cC5nZXQoYGFwaS9jdXJyZW50LXVzZXItdGVjaGxpZnktdXBkYXRlc2ApLnRvUHJvbWlzZSgpO1xyXG4gIH1cclxuXHJcbiAgY3JlYXRlVXBkYXRlVmlld1JlY29yZCh0ZWNobGlmeVVwZGF0ZVZpZXc6IGFueSkge1xyXG4gICAgcmV0dXJuIHRoaXMuaHR0cC5wb3N0KGBhcGkvdGVjaGxpZnktdXBkYXRlLXZpZXdzYCwgdGVjaGxpZnlVcGRhdGVWaWV3KS50b1Byb21pc2UoKTtcclxuICB9XHJcblxyXG4gIHVwZGF0ZUN1cnJlbnRVc2VyVXBkYXRlcygpIHtcclxuICAgIHJldHVybiB0aGlzLmh0dHAuZ2V0KGBhcGkvdGVjaGxpZnktdXBkYXRlcy91cGRhdGUtdmlld2ApLnRvUHJvbWlzZSgpO1xyXG4gIH1cclxufVxyXG4iXX0=
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { UntilDestroy } from '@ngneat/until-destroy';
|
|
3
|
+
import { untilDestroyed } from '@ngneat/until-destroy';
|
|
4
|
+
import { ActionPopupComponent } from './../../action-popup/action-popup.component';
|
|
5
|
+
import { TechlifyUpdateFormComponent } from './../techlify-update-form/techlify-update-form.component';
|
|
6
|
+
import { UntypedFormControl } from '@angular/forms';
|
|
7
|
+
import { Component } from '@angular/core';
|
|
8
|
+
import { debounceTime } from 'rxjs/operators';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
import * as i1 from "@angular/material/dialog";
|
|
11
|
+
import * as i2 from "../../core/alert.service";
|
|
12
|
+
import * as i3 from "./../techlify-update.service";
|
|
13
|
+
import * as i4 from "@angular/forms";
|
|
14
|
+
import * as i5 from "@angular/common";
|
|
15
|
+
import * as i6 from "ngx-infinite-scroll";
|
|
16
|
+
import * as i7 from "@angular/flex-layout/flex";
|
|
17
|
+
import * as i8 from "@angular/material/button";
|
|
18
|
+
import * as i9 from "@angular/material/form-field";
|
|
19
|
+
import * as i10 from "@angular/material/icon";
|
|
20
|
+
import * as i11 from "@angular/material/input";
|
|
21
|
+
import * as i12 from "@angular/material/sort";
|
|
22
|
+
import * as i13 from "@angular/material/table";
|
|
23
|
+
import * as i14 from "../../read-more/read-more.component";
|
|
24
|
+
let TechlifyUpdatesListComponent = class TechlifyUpdatesListComponent {
|
|
25
|
+
constructor(dialog, alertService, techlifyUpdateService, fb) {
|
|
26
|
+
this.dialog = dialog;
|
|
27
|
+
this.alertService = alertService;
|
|
28
|
+
this.techlifyUpdateService = techlifyUpdateService;
|
|
29
|
+
this.fb = fb;
|
|
30
|
+
this.techlifyUpdates = [];
|
|
31
|
+
this.displayedColumns = [
|
|
32
|
+
'index',
|
|
33
|
+
'title',
|
|
34
|
+
'version',
|
|
35
|
+
'released_on',
|
|
36
|
+
'learn_more_link',
|
|
37
|
+
'description',
|
|
38
|
+
'creator',
|
|
39
|
+
'actions'
|
|
40
|
+
];
|
|
41
|
+
this.page = 1;
|
|
42
|
+
this.perPage = 25;
|
|
43
|
+
this.isWorking = false;
|
|
44
|
+
this.filterFormGroup = this.fb.group({
|
|
45
|
+
search: new UntypedFormControl(''),
|
|
46
|
+
version: new UntypedFormControl(''),
|
|
47
|
+
sort_by: new UntypedFormControl('released_on|DESC'),
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
ngOnInit() {
|
|
51
|
+
this.loadData();
|
|
52
|
+
this.listenChanges();
|
|
53
|
+
}
|
|
54
|
+
listenChanges() {
|
|
55
|
+
this.filterFormGroup.valueChanges.pipe(debounceTime(500), untilDestroyed(this))
|
|
56
|
+
.subscribe(changes => {
|
|
57
|
+
this.reload();
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
ngOnDestroy() { }
|
|
61
|
+
async loadData() {
|
|
62
|
+
try {
|
|
63
|
+
this.isWorking = true;
|
|
64
|
+
var filters = this.filterFormGroup.value;
|
|
65
|
+
filters.perPage = this.perPage;
|
|
66
|
+
filters.page = this.page;
|
|
67
|
+
let result = await this.techlifyUpdateService.getTechlifyUpdates(filters);
|
|
68
|
+
this.lastPage = result.last_page || this.page;
|
|
69
|
+
this.techlifyUpdates = this.techlifyUpdates.concat(result.data);
|
|
70
|
+
}
|
|
71
|
+
catch (error) {
|
|
72
|
+
this.alertService.addAlert("Unable to process, try later", "warn");
|
|
73
|
+
}
|
|
74
|
+
finally {
|
|
75
|
+
this.isWorking = false;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
reload() {
|
|
79
|
+
this.techlifyUpdates = [];
|
|
80
|
+
this.page = 1;
|
|
81
|
+
if (!this.isWorking) {
|
|
82
|
+
this.loadData();
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
onScroll() {
|
|
86
|
+
if (!this.isWorking && this.page < this.lastPage) {
|
|
87
|
+
this.page += 1;
|
|
88
|
+
this.loadData();
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
modifyTechlifyUpdate(model) {
|
|
92
|
+
const dialogRef = this.dialog.open(TechlifyUpdateFormComponent, {
|
|
93
|
+
width: "600px",
|
|
94
|
+
data: {
|
|
95
|
+
techlifyUpdateDetails: model,
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
dialogRef.afterClosed().subscribe(result => {
|
|
99
|
+
if (result) {
|
|
100
|
+
this.reload();
|
|
101
|
+
}
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
async deleteTechlifyUpdate(model) {
|
|
105
|
+
const dialogRef = this.dialog.open(ActionPopupComponent, {
|
|
106
|
+
width: "400px",
|
|
107
|
+
data: {
|
|
108
|
+
title: "Delete Update",
|
|
109
|
+
message: `Are you sure to delete this update?`
|
|
110
|
+
},
|
|
111
|
+
autoFocus: false
|
|
112
|
+
});
|
|
113
|
+
dialogRef.afterClosed().subscribe(async (result) => {
|
|
114
|
+
if (result) {
|
|
115
|
+
//Action confirmed
|
|
116
|
+
try {
|
|
117
|
+
await this.techlifyUpdateService.deleteTechlifyUpdate(model.id);
|
|
118
|
+
this.alertService.addAlert("Successfully deleted the update", "success");
|
|
119
|
+
this.reload();
|
|
120
|
+
}
|
|
121
|
+
catch (error) {
|
|
122
|
+
this.alertService.addAlert("Unable to process, try later", "warn");
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
});
|
|
126
|
+
}
|
|
127
|
+
resetFieldValue(field) {
|
|
128
|
+
this.filterFormGroup.get(field).setValue("");
|
|
129
|
+
}
|
|
130
|
+
sortColumn(event) {
|
|
131
|
+
var direction = event.direction.toString().toUpperCase();
|
|
132
|
+
this.assignFilter(event.active, direction);
|
|
133
|
+
}
|
|
134
|
+
assignFilter(column, direction) {
|
|
135
|
+
switch (column) {
|
|
136
|
+
case 'title': {
|
|
137
|
+
return this.filterFormGroup.get('sort_by').setValue("title|" + direction);
|
|
138
|
+
}
|
|
139
|
+
case 'released_on': {
|
|
140
|
+
return this.filterFormGroup.get('sort_by').setValue("released_on|" + direction);
|
|
141
|
+
}
|
|
142
|
+
case 'version': {
|
|
143
|
+
return this.filterFormGroup.get('sort_by').setValue("version|" + direction);
|
|
144
|
+
}
|
|
145
|
+
default: {
|
|
146
|
+
return this.filterFormGroup.get('sort_by').setValue("created_at|DESC");
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
;
|
|
150
|
+
}
|
|
151
|
+
};
|
|
152
|
+
TechlifyUpdatesListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: TechlifyUpdatesListComponent, deps: [{ token: i1.MatDialog }, { token: i2.AlertService }, { token: i3.TechlifyUpdateService }, { token: i4.UntypedFormBuilder }], target: i0.ɵɵFactoryTarget.Component });
|
|
153
|
+
TechlifyUpdatesListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: TechlifyUpdatesListComponent, selector: "app-techlify-updates-list", ngImport: i0, template: "<section class=\"p-4\" fxLayout=\"column\">\r\n <h3 class=\"primary-color text-center\">\r\n App Updates\r\n <button mat-raised-button (click)=\"modifyTechlifyUpdate()\" class=\"primary-bg text-white\">\r\n <mat-icon>\r\n add\r\n </mat-icon>\r\n Create\r\n </button>\r\n </h3>\r\n <form [formGroup]=\"filterFormGroup\" fxLayout=\"row wrap\" fxLayoutGap=\"0.5rem\" fxFlex=\"100%\" style=\"font-size: 12px;\">\r\n <mat-form-field fxFlex=\"0 1 calc(100% - 0.5rem)\" fxFlex.gt-md=\"0 1 calc(15% - 0.5rem)\" appearance=\"outline\"\r\n fxFlex.gt-sm=\"0 1 calc(20% - 0.5rem)\">\r\n <input type=\"text\" matInput formControlName=\"search\" placeholder=\"Title\" autocomplete=\"off\" />\r\n <button mat-button *ngIf=\"filterFormGroup.get('search').value\" matSuffix mat-icon-button\r\n (click)=\"resetFieldValue('search')\">\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n </mat-form-field>\r\n <mat-form-field fxFlex=\"0 1 calc(100% - 0.5rem)\" fxFlex.gt-md=\"0 1 calc(15% - 0.5rem)\" appearance=\"outline\"\r\n fxFlex.gt-sm=\"0 1 calc(20% - 0.5rem)\">\r\n <input type=\"text\" matInput formControlName=\"version\" placeholder=\"Version\" autocomplete=\"off\" />\r\n <button mat-button *ngIf=\"filterFormGroup.get('version').value\" matSuffix mat-icon-button\r\n (click)=\"resetFieldValue('version')\">\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n </mat-form-field>\r\n </form>\r\n\r\n <table mat-table [dataSource]=\"techlifyUpdates\" class=\"mat-elevation-z8 w-100\" matSort multiTemplateDataRows\r\n (matSortChange)=\"sortColumn($event)\" infiniteScroll [infiniteScrollDistance]=\"2\" [infiniteScrollThrottle]=\"50\"\r\n (scrolled)=\"onScroll()\">\r\n\r\n <!-- Index Column -->\r\n <ng-container matColumnDef=\"index\">\r\n <th mat-header-cell *matHeaderCellDef> # </th>\r\n <td mat-cell *matCellDef=\"let element;let i=dataIndex\"> {{ i+1 }} </td>\r\n </ng-container>\r\n\r\n <!-- Course Column -->\r\n <ng-container matColumnDef=\"title\">\r\n <th mat-header-cell *matHeaderCellDef mat-sort-header disableClear> Title </th>\r\n <td mat-cell *matCellDef=\"let element\"> {{element?.title}} </td>\r\n </ng-container>\r\n\r\n <!-- Version Column -->\r\n <ng-container matColumnDef=\"version\">\r\n <th mat-header-cell *matHeaderCellDef mat-sort-header disableClear> Version </th>\r\n <td mat-cell *matCellDef=\"let element\"> {{element?.version}} </td>\r\n </ng-container>\r\n\r\n <!-- Released On Column -->\r\n <ng-container matColumnDef=\"released_on\">\r\n <th mat-header-cell *matHeaderCellDef mat-sort-header disableClear> Released On </th>\r\n <td mat-cell *matCellDef=\"let element\"> {{element?.released_on | date:'mediumDate'}} </td>\r\n </ng-container>\r\n\r\n <!-- Learn More Link Column -->\r\n <ng-container matColumnDef=\"learn_more_link\">\r\n <th mat-header-cell *matHeaderCellDef> Learn more link </th>\r\n <td mat-cell *matCellDef=\"let element\">\r\n <a [href]=\"element?.learn_more_link\" target=\"_blank\">\r\n {{element?.learn_more_link}}\r\n </a>\r\n </td>\r\n </ng-container>\r\n\r\n <!-- Description Column -->\r\n <ng-container matColumnDef=\"description\">\r\n <th mat-header-cell *matHeaderCellDef> Description </th>\r\n <td mat-cell *matCellDef=\"let element\">\r\n <app-read-more [text]=\"element?.description\" [maxLength]=\"50\"></app-read-more>\r\n </td>\r\n </ng-container>\r\n\r\n <!-- Creator Column -->\r\n <ng-container matColumnDef=\"creator\">\r\n <th mat-header-cell *matHeaderCellDef> Creator </th>\r\n <td mat-cell *matCellDef=\"let element\">\r\n {{element?.creator?.name}}\r\n <div fxLayout class=\"small\">\r\n {{element?.created_at | date : 'mediumDate'}}\r\n </div>\r\n </td>\r\n </ng-container>\r\n\r\n <!-- Actions Column -->\r\n <ng-container matColumnDef=\"actions\">\r\n <th mat-header-cell *matHeaderCellDef> Actions </th>\r\n <td mat-cell *matCellDef=\"let element\" class=\"secondary-color\">\r\n <button type=\"button\" class=\"secondary-color\" mat-icon-button (click)=\"modifyTechlifyUpdate(element)\">\r\n <mat-icon>edit</mat-icon>\r\n </button>\r\n\r\n <button type=\"button\" class=\"secondary-color\" mat-icon-button (click)=\"deleteTechlifyUpdate(element)\">\r\n <mat-icon>delete</mat-icon>\r\n </button>\r\n </td>\r\n </ng-container>\r\n\r\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns\"></tr>\r\n <tr mat-row *matRowDef=\"let row; columns: displayedColumns;\"></tr>\r\n </table>\r\n</section>\r\n", styles: [""], dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i4.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i4.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i6.InfiniteScrollDirective, selector: "[infiniteScroll], [infinite-scroll], [data-infinite-scroll]", inputs: ["infiniteScrollDistance", "infiniteScrollUpDistance", "infiniteScrollThrottle", "infiniteScrollDisabled", "infiniteScrollContainer", "scrollWindow", "immediateCheck", "horizontal", "alwaysCallback", "fromRoot"], outputs: ["scrolled", "scrolledUp"] }, { kind: "directive", type: i7.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i7.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { kind: "directive", type: i7.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "component", type: i8.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i9.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i9.MatSuffix, selector: "[matSuffix]" }, { kind: "component", type: i10.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i11.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "directive", type: i12.MatSort, selector: "[matSort]", inputs: ["matSortDisabled", "matSortActive", "matSortStart", "matSortDirection", "matSortDisableClear"], outputs: ["matSortChange"], exportAs: ["matSort"] }, { kind: "component", type: i12.MatSortHeader, selector: "[mat-sort-header]", inputs: ["disabled", "mat-sort-header", "arrowPosition", "start", "sortActionDescription", "disableClear"], exportAs: ["matSortHeader"] }, { kind: "component", type: i13.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i13.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i13.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i13.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { kind: "directive", type: i13.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i13.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i13.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i13.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i13.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i13.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "component", type: i14.ReadMoreComponent, selector: "app-read-more", inputs: ["text", "maxLength"] }, { kind: "pipe", type: i5.DatePipe, name: "date" }] });
|
|
154
|
+
TechlifyUpdatesListComponent = __decorate([
|
|
155
|
+
UntilDestroy()
|
|
156
|
+
], TechlifyUpdatesListComponent);
|
|
157
|
+
export { TechlifyUpdatesListComponent };
|
|
158
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: TechlifyUpdatesListComponent, decorators: [{
|
|
159
|
+
type: Component,
|
|
160
|
+
args: [{ selector: 'app-techlify-updates-list', template: "<section class=\"p-4\" fxLayout=\"column\">\r\n <h3 class=\"primary-color text-center\">\r\n App Updates\r\n <button mat-raised-button (click)=\"modifyTechlifyUpdate()\" class=\"primary-bg text-white\">\r\n <mat-icon>\r\n add\r\n </mat-icon>\r\n Create\r\n </button>\r\n </h3>\r\n <form [formGroup]=\"filterFormGroup\" fxLayout=\"row wrap\" fxLayoutGap=\"0.5rem\" fxFlex=\"100%\" style=\"font-size: 12px;\">\r\n <mat-form-field fxFlex=\"0 1 calc(100% - 0.5rem)\" fxFlex.gt-md=\"0 1 calc(15% - 0.5rem)\" appearance=\"outline\"\r\n fxFlex.gt-sm=\"0 1 calc(20% - 0.5rem)\">\r\n <input type=\"text\" matInput formControlName=\"search\" placeholder=\"Title\" autocomplete=\"off\" />\r\n <button mat-button *ngIf=\"filterFormGroup.get('search').value\" matSuffix mat-icon-button\r\n (click)=\"resetFieldValue('search')\">\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n </mat-form-field>\r\n <mat-form-field fxFlex=\"0 1 calc(100% - 0.5rem)\" fxFlex.gt-md=\"0 1 calc(15% - 0.5rem)\" appearance=\"outline\"\r\n fxFlex.gt-sm=\"0 1 calc(20% - 0.5rem)\">\r\n <input type=\"text\" matInput formControlName=\"version\" placeholder=\"Version\" autocomplete=\"off\" />\r\n <button mat-button *ngIf=\"filterFormGroup.get('version').value\" matSuffix mat-icon-button\r\n (click)=\"resetFieldValue('version')\">\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n </mat-form-field>\r\n </form>\r\n\r\n <table mat-table [dataSource]=\"techlifyUpdates\" class=\"mat-elevation-z8 w-100\" matSort multiTemplateDataRows\r\n (matSortChange)=\"sortColumn($event)\" infiniteScroll [infiniteScrollDistance]=\"2\" [infiniteScrollThrottle]=\"50\"\r\n (scrolled)=\"onScroll()\">\r\n\r\n <!-- Index Column -->\r\n <ng-container matColumnDef=\"index\">\r\n <th mat-header-cell *matHeaderCellDef> # </th>\r\n <td mat-cell *matCellDef=\"let element;let i=dataIndex\"> {{ i+1 }} </td>\r\n </ng-container>\r\n\r\n <!-- Course Column -->\r\n <ng-container matColumnDef=\"title\">\r\n <th mat-header-cell *matHeaderCellDef mat-sort-header disableClear> Title </th>\r\n <td mat-cell *matCellDef=\"let element\"> {{element?.title}} </td>\r\n </ng-container>\r\n\r\n <!-- Version Column -->\r\n <ng-container matColumnDef=\"version\">\r\n <th mat-header-cell *matHeaderCellDef mat-sort-header disableClear> Version </th>\r\n <td mat-cell *matCellDef=\"let element\"> {{element?.version}} </td>\r\n </ng-container>\r\n\r\n <!-- Released On Column -->\r\n <ng-container matColumnDef=\"released_on\">\r\n <th mat-header-cell *matHeaderCellDef mat-sort-header disableClear> Released On </th>\r\n <td mat-cell *matCellDef=\"let element\"> {{element?.released_on | date:'mediumDate'}} </td>\r\n </ng-container>\r\n\r\n <!-- Learn More Link Column -->\r\n <ng-container matColumnDef=\"learn_more_link\">\r\n <th mat-header-cell *matHeaderCellDef> Learn more link </th>\r\n <td mat-cell *matCellDef=\"let element\">\r\n <a [href]=\"element?.learn_more_link\" target=\"_blank\">\r\n {{element?.learn_more_link}}\r\n </a>\r\n </td>\r\n </ng-container>\r\n\r\n <!-- Description Column -->\r\n <ng-container matColumnDef=\"description\">\r\n <th mat-header-cell *matHeaderCellDef> Description </th>\r\n <td mat-cell *matCellDef=\"let element\">\r\n <app-read-more [text]=\"element?.description\" [maxLength]=\"50\"></app-read-more>\r\n </td>\r\n </ng-container>\r\n\r\n <!-- Creator Column -->\r\n <ng-container matColumnDef=\"creator\">\r\n <th mat-header-cell *matHeaderCellDef> Creator </th>\r\n <td mat-cell *matCellDef=\"let element\">\r\n {{element?.creator?.name}}\r\n <div fxLayout class=\"small\">\r\n {{element?.created_at | date : 'mediumDate'}}\r\n </div>\r\n </td>\r\n </ng-container>\r\n\r\n <!-- Actions Column -->\r\n <ng-container matColumnDef=\"actions\">\r\n <th mat-header-cell *matHeaderCellDef> Actions </th>\r\n <td mat-cell *matCellDef=\"let element\" class=\"secondary-color\">\r\n <button type=\"button\" class=\"secondary-color\" mat-icon-button (click)=\"modifyTechlifyUpdate(element)\">\r\n <mat-icon>edit</mat-icon>\r\n </button>\r\n\r\n <button type=\"button\" class=\"secondary-color\" mat-icon-button (click)=\"deleteTechlifyUpdate(element)\">\r\n <mat-icon>delete</mat-icon>\r\n </button>\r\n </td>\r\n </ng-container>\r\n\r\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns\"></tr>\r\n <tr mat-row *matRowDef=\"let row; columns: displayedColumns;\"></tr>\r\n </table>\r\n</section>\r\n" }]
|
|
161
|
+
}], ctorParameters: function () { return [{ type: i1.MatDialog }, { type: i2.AlertService }, { type: i3.TechlifyUpdateService }, { type: i4.UntypedFormBuilder }]; } });
|
|
162
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVjaGxpZnktdXBkYXRlcy1saXN0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC10ZWNobGlmeS1jb3JlL3NyYy9saWIvdGVjaGxpZnktdXBkYXRlL3RlY2hsaWZ5LXVwZGF0ZXMtbGlzdC90ZWNobGlmeS11cGRhdGVzLWxpc3QuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LXRlY2hsaWZ5LWNvcmUvc3JjL2xpYi90ZWNobGlmeS11cGRhdGUvdGVjaGxpZnktdXBkYXRlcy1saXN0L3RlY2hsaWZ5LXVwZGF0ZXMtbGlzdC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBQ3JELE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUV2RCxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSw2Q0FBNkMsQ0FBQztBQUNuRixPQUFPLEVBQUUsMkJBQTJCLEVBQUUsTUFBTSwwREFBMEQsQ0FBQztBQUV2RyxPQUFPLEVBQUUsa0JBQWtCLEVBQXNCLE1BQU0sZ0JBQWdCLENBQUM7QUFJeEUsT0FBTyxFQUFFLFNBQVMsRUFBVSxNQUFNLGVBQWUsQ0FBQztBQUNsRCxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7Ozs7Ozs7Ozs7Ozs7Ozs7SUFRakMsNEJB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X0=
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { Component, Inject } from '@angular/core';
|
|
2
|
+
import { MAT_SNACK_BAR_DATA } from '@angular/material/snack-bar';
|
|
3
|
+
import { UpdateViewComponent } from '../../update-view/update-view.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@angular/material/snack-bar";
|
|
6
|
+
import * as i2 from "@angular/material/dialog";
|
|
7
|
+
import * as i3 from "@angular/router";
|
|
8
|
+
import * as i4 from "./../../techlify-update.service";
|
|
9
|
+
import * as i5 from "./../../../core/alert.service";
|
|
10
|
+
import * as i6 from "@angular/material/button";
|
|
11
|
+
import * as i7 from "@angular/material/icon";
|
|
12
|
+
import * as i8 from "@angular/material/tooltip";
|
|
13
|
+
import * as i9 from "@angular/flex-layout/flex";
|
|
14
|
+
export class UpdateNotifierSnackComponent {
|
|
15
|
+
constructor(data, snackBarRef, dialog, router, techlifyUpdateService, alertService) {
|
|
16
|
+
this.data = data;
|
|
17
|
+
this.snackBarRef = snackBarRef;
|
|
18
|
+
this.dialog = dialog;
|
|
19
|
+
this.router = router;
|
|
20
|
+
this.techlifyUpdateService = techlifyUpdateService;
|
|
21
|
+
this.alertService = alertService;
|
|
22
|
+
this.maxDescriptionLength = 70;
|
|
23
|
+
this.descriptionText = '';
|
|
24
|
+
}
|
|
25
|
+
ngOnInit() {
|
|
26
|
+
this.techlifyUpdate = this.data.techlifyUpdate;
|
|
27
|
+
this.rootNavUrl = this.data.rootNavUrl;
|
|
28
|
+
this.determineDescription(this.techlifyUpdate?.description);
|
|
29
|
+
}
|
|
30
|
+
close() {
|
|
31
|
+
this.createUpdateViewRecord();
|
|
32
|
+
this.snackBarRef.dismiss();
|
|
33
|
+
}
|
|
34
|
+
determineDescription(description) {
|
|
35
|
+
if (!description || description.length <= this.maxDescriptionLength) {
|
|
36
|
+
this.descriptionText = description;
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
this.descriptionText = description.substring(0, this.maxDescriptionLength) + "...";
|
|
40
|
+
}
|
|
41
|
+
openUpdateView() {
|
|
42
|
+
this.close();
|
|
43
|
+
const dialogRef = this.dialog.open(UpdateViewComponent, {
|
|
44
|
+
width: "800px",
|
|
45
|
+
autoFocus: false,
|
|
46
|
+
data: {
|
|
47
|
+
techlifyUpdate: this.techlifyUpdate,
|
|
48
|
+
rootNavUrl: this.data.rootNavUrl
|
|
49
|
+
} // Any data passed here will be injected into the model
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
openUpdateHistory() {
|
|
53
|
+
this.close();
|
|
54
|
+
this.router.navigate([this.rootNavUrl + "/update-history"]);
|
|
55
|
+
}
|
|
56
|
+
async createUpdateViewRecord() {
|
|
57
|
+
try {
|
|
58
|
+
var techlifyUpdateView = {
|
|
59
|
+
update_id: this.techlifyUpdate?.id
|
|
60
|
+
};
|
|
61
|
+
let result = await this.techlifyUpdateService.createUpdateViewRecord(techlifyUpdateView);
|
|
62
|
+
}
|
|
63
|
+
catch (error) {
|
|
64
|
+
this.alertService.addAlert("Unable to process, try later", "warn");
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
UpdateNotifierSnackComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: UpdateNotifierSnackComponent, deps: [{ token: MAT_SNACK_BAR_DATA }, { token: i1.MatSnackBarRef }, { token: i2.MatDialog }, { token: i3.Router }, { token: i4.TechlifyUpdateService }, { token: i5.AlertService }], target: i0.ɵɵFactoryTarget.Component });
|
|
69
|
+
UpdateNotifierSnackComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: UpdateNotifierSnackComponent, selector: "app-update-notifier-snack", ngImport: i0, template: "<div fxLayout=\"column\">\r\n <div fxLayout=\"row wrap\" fxLayoutAlign=\"space-between\">\r\n <div fxLayout=\"row wrap\" fxLayoutGap=\"1rem\">\r\n <span fxLayoutAlign=\"center center\">\r\n <mat-icon class=\"large-icon primary-color\">\r\n <span class=\"material-icons-outlined\">\r\n grading\r\n </span>\r\n </mat-icon>\r\n </span>\r\n <div fxLayout=\"column\">\r\n <h5 class=\"primary-color text-truncate\" matTooltip=\"{{techlifyUpdate?.title}}\" matTooltipPosition=\"below\">\r\n App Update: {{techlifyUpdate?.title}}\r\n </h5>\r\n <small class=\"text-muted\">\r\n Version : {{techlifyUpdate?.version}}\r\n </small>\r\n </div>\r\n </div>\r\n <div fxLayoutAlign=\"end center\" class=\"text-muted\">\r\n <button mat-icon-button type=\"button\" (click)=\"close()\">\r\n <mat-icon>clear</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n <div fxLayout=\"row\" class=\"text-muted\" style=\"margin-top: 1rem;\" [innerHtml]=\"descriptionText\">\r\n </div>\r\n <div fxLayout=\"row\" fxLayoutAlign=\"space-between\">\r\n <button type=\"button\" mat-button class=\"primary-color\" (click)=\"openUpdateHistory()\">\r\n <mat-icon>\r\n history\r\n </mat-icon>\r\n Update History\r\n </button>\r\n <button type=\"button\" mat-raised-button class=\"primary-bg text-white\" (click)=\"openUpdateView()\">\r\n View\r\n </button>\r\n </div>\r\n</div>\r\n", styles: [".large-icon{transform:scale(1.5)}.primary-color{color:#009fdd!important}.primary-bg{background-color:#009fdd!important}.text-muted,.text-white{color:#d3d3d3}.text-truncate{width:400px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0}@media screen and (max-width: 1440px){.text-truncate{width:350px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0}}@media screen and (max-width: 1024px){.text-truncate{width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0}}@media screen and (max-width: 1024px){.text-truncate{width:190px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0}}\n"], dependencies: [{ kind: "component", type: i6.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i7.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i8.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "directive", type: i9.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i9.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { kind: "directive", type: i9.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }] });
|
|
70
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: UpdateNotifierSnackComponent, decorators: [{
|
|
71
|
+
type: Component,
|
|
72
|
+
args: [{ selector: 'app-update-notifier-snack', template: "<div fxLayout=\"column\">\r\n <div fxLayout=\"row wrap\" fxLayoutAlign=\"space-between\">\r\n <div fxLayout=\"row wrap\" fxLayoutGap=\"1rem\">\r\n <span fxLayoutAlign=\"center center\">\r\n <mat-icon class=\"large-icon primary-color\">\r\n <span class=\"material-icons-outlined\">\r\n grading\r\n </span>\r\n </mat-icon>\r\n </span>\r\n <div fxLayout=\"column\">\r\n <h5 class=\"primary-color text-truncate\" matTooltip=\"{{techlifyUpdate?.title}}\" matTooltipPosition=\"below\">\r\n App Update: {{techlifyUpdate?.title}}\r\n </h5>\r\n <small class=\"text-muted\">\r\n Version : {{techlifyUpdate?.version}}\r\n </small>\r\n </div>\r\n </div>\r\n <div fxLayoutAlign=\"end center\" class=\"text-muted\">\r\n <button mat-icon-button type=\"button\" (click)=\"close()\">\r\n <mat-icon>clear</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n <div fxLayout=\"row\" class=\"text-muted\" style=\"margin-top: 1rem;\" [innerHtml]=\"descriptionText\">\r\n </div>\r\n <div fxLayout=\"row\" fxLayoutAlign=\"space-between\">\r\n <button type=\"button\" mat-button class=\"primary-color\" (click)=\"openUpdateHistory()\">\r\n <mat-icon>\r\n history\r\n </mat-icon>\r\n Update History\r\n </button>\r\n <button type=\"button\" mat-raised-button class=\"primary-bg text-white\" (click)=\"openUpdateView()\">\r\n View\r\n </button>\r\n </div>\r\n</div>\r\n", styles: [".large-icon{transform:scale(1.5)}.primary-color{color:#009fdd!important}.primary-bg{background-color:#009fdd!important}.text-muted,.text-white{color:#d3d3d3}.text-truncate{width:400px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0}@media screen and (max-width: 1440px){.text-truncate{width:350px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0}}@media screen and (max-width: 1024px){.text-truncate{width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0}}@media screen and (max-width: 1024px){.text-truncate{width:190px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0}}\n"] }]
|
|
73
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
74
|
+
type: Inject,
|
|
75
|
+
args: [MAT_SNACK_BAR_DATA]
|
|
76
|
+
}] }, { type: i1.MatSnackBarRef }, { type: i2.MatDialog }, { type: i3.Router }, { type: i4.TechlifyUpdateService }, { type: i5.AlertService }]; } });
|
|
77
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXBkYXRlLW5vdGlmaWVyLXNuYWNrLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC10ZWNobGlmeS1jb3JlL3NyYy9saWIvdGVjaGxpZnktdXBkYXRlL3VwZGF0ZS1ub3RpZmllci91cGRhdGUtbm90aWZpZXItc25hY2svdXBkYXRlLW5vdGlmaWVyLXNuY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gPG1hdC1pY29uPmNsZWFyPC9tYXQtaWNvbj5cclxuICAgICAgPC9idXR0b24+XHJcbiAgICA8L2Rpdj5cclxuICA8L2Rpdj5cclxuICA8ZGl2IGZ4TGF5b3V0PVwicm93XCIgY2xhc3M9XCJ0ZXh0LW11dGVkXCIgc3R5bGU9XCJtYXJnaW4tdG9wOiAxcmVtO1wiIFtpbm5lckh0bWxdPVwiZGVzY3JpcHRpb25UZXh0XCI+XHJcbiAgPC9kaXY+XHJcbiAgPGRpdiBmeExheW91dD1cInJvd1wiIGZ4TGF5b3V0QWxpZ249XCJzcGFjZS1iZXR3ZWVuXCI+XHJcbiAgICA8YnV0dG9uIHR5cGU9XCJidXR0b25cIiBtYXQtYnV0dG9uIGNsYXNzPVwicHJpbWFyeS1jb2xvclwiIChjbGljayk9XCJvcGVuVXBkYXRlSGlzdG9yeSgpXCI+XHJcbiAgICAgIDxtYXQtaWNvbj5cclxuICAgICAgICBoaXN0b3J5XHJcbiAgICAgIDwvbWF0LWljb24+XHJcbiAgICAgIFVwZGF0ZSBIaXN0b3J5XHJcbiAgICA8L2J1dHRvbj5cclxuICAgIDxidXR0b24gdHlwZT1cImJ1dHRvblwiIG1hdC1yYWlzZWQtYnV0dG9uIGNsYXNzPVwicHJpbWFyeS1iZyB0ZXh0LXdoaXRlXCIgKGNsaWNrKT1cIm9wZW5VcGRhdGVWaWV3KClcIj5cclxuICAgICAgVmlld1xyXG4gICAgPC9idXR0b24+XHJcbiAgPC9kaXY+XHJcbjwvZGl2PlxyXG4iXX0=
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { UpdateNotifierSnackComponent } from './update-notifier-snack/update-notifier-snack.component';
|
|
2
|
+
import { Component, Input } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/material/snack-bar";
|
|
5
|
+
import * as i2 from "./../techlify-update.service";
|
|
6
|
+
import * as i3 from "../../core/alert.service";
|
|
7
|
+
export class UpdateNotifierComponent {
|
|
8
|
+
constructor(snackBar, techlifyUpdateService, alertService) {
|
|
9
|
+
this.snackBar = snackBar;
|
|
10
|
+
this.techlifyUpdateService = techlifyUpdateService;
|
|
11
|
+
this.alertService = alertService;
|
|
12
|
+
this.rootNavUrl = '/techlify-updates';
|
|
13
|
+
}
|
|
14
|
+
ngOnInit() {
|
|
15
|
+
}
|
|
16
|
+
ngAfterViewInit() {
|
|
17
|
+
setTimeout(x => {
|
|
18
|
+
this.getNewUpdate();
|
|
19
|
+
}, 5000);
|
|
20
|
+
}
|
|
21
|
+
async getNewUpdate() {
|
|
22
|
+
try {
|
|
23
|
+
let result = await this.techlifyUpdateService.getNewUpdateForCurrentUser();
|
|
24
|
+
this.techlifyUpdate = result.item;
|
|
25
|
+
if (this.techlifyUpdate) {
|
|
26
|
+
this.showUpdate();
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
catch (error) {
|
|
30
|
+
console.log("Current user updates failed");
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
showUpdate() {
|
|
34
|
+
this.snackBar.openFromComponent(UpdateNotifierSnackComponent, {
|
|
35
|
+
data: {
|
|
36
|
+
techlifyUpdate: this.techlifyUpdate,
|
|
37
|
+
rootNavUrl: this.rootNavUrl
|
|
38
|
+
},
|
|
39
|
+
horizontalPosition: 'right',
|
|
40
|
+
verticalPosition: 'top',
|
|
41
|
+
panelClass: ['white-bg']
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
UpdateNotifierComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: UpdateNotifierComponent, deps: [{ token: i1.MatSnackBar }, { token: i2.TechlifyUpdateService }, { token: i3.AlertService }], target: i0.ɵɵFactoryTarget.Component });
|
|
46
|
+
UpdateNotifierComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: UpdateNotifierComponent, selector: "app-update-notifier", inputs: { rootNavUrl: "rootNavUrl" }, ngImport: i0, template: "", styles: ["::ng-deep .white-bg{background-color:#fff}\n"] });
|
|
47
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: UpdateNotifierComponent, decorators: [{
|
|
48
|
+
type: Component,
|
|
49
|
+
args: [{ selector: 'app-update-notifier', template: "", styles: ["::ng-deep .white-bg{background-color:#fff}\n"] }]
|
|
50
|
+
}], ctorParameters: function () { return [{ type: i1.MatSnackBar }, { type: i2.TechlifyUpdateService }, { type: i3.AlertService }]; }, propDecorators: { rootNavUrl: [{
|
|
51
|
+
type: Input
|
|
52
|
+
}] } });
|
|
53
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXBkYXRlLW5vdGlmaWVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC10ZWNobGlmeS1jb3JlL3NyYy9saWIvdGVjaGxpZnktdXBkYXRlL3VwZGF0ZS1ub3RpZmllci91cGRhdGUtbm90aWZpZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LXRlY2hsaWZ5LWNvcmUvc3JjL2xpYi90ZWNobGlmeS11cGRhdGUvdXBkYXRlLW5vdGlmaWVyL3VwZGF0ZS1ub3RpZmllci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsNEJBQTRCLEVBQUUsTUFBTSx5REFBeUQsQ0FBQztBQUV2RyxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBVSxNQUFNLGVBQWUsQ0FBQzs7Ozs7QUFTekQsTUFBTSxPQUFPLHVCQUF1QjtJQUlsQyxZQUNVLFFBQXFCLEVBQ3JCLHFCQUE0QyxFQUM1QyxZQUEwQjtRQU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XMudGVjaGxpZnlVcGRhdGUsXHJcbiAgICAgICAgcm9vdE5hdlVybDogdGhpcy5yb290TmF2VXJsXHJcbiAgICAgIH0sXHJcbiAgICAgIGhvcml6b250YWxQb3NpdGlvbjogJ3JpZ2h0JyxcclxuICAgICAgdmVydGljYWxQb3NpdGlvbjogJ3RvcCcsXHJcbiAgICAgIHBhbmVsQ2xhc3M6IFsnd2hpdGUtYmcnXVxyXG4gICAgfSk7XHJcbiAgfVxyXG5cclxufVxyXG4iLCIiXX0=
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { ActionPopupModule } from './../../action-popup/action-popup.module';
|
|
2
|
+
import { FlexLayoutModule } from '@angular/flex-layout';
|
|
3
|
+
import { MaterialModule } from './../../material.module';
|
|
4
|
+
import { UpdateViewModule } from './../update-view/update-view.module';
|
|
5
|
+
import { NgModule } from '@angular/core';
|
|
6
|
+
import { CommonModule } from '@angular/common';
|
|
7
|
+
import { UpdateNotifierComponent } from './update-notifier.component';
|
|
8
|
+
import { UpdateNotifierSnackComponent } from './update-notifier-snack/update-notifier-snack.component';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export class UpdateNotifierModule {
|
|
11
|
+
}
|
|
12
|
+
UpdateNotifierModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: UpdateNotifierModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
13
|
+
UpdateNotifierModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.7", ngImport: i0, type: UpdateNotifierModule, declarations: [UpdateNotifierComponent, UpdateNotifierSnackComponent], imports: [CommonModule,
|
|
14
|
+
MaterialModule,
|
|
15
|
+
UpdateViewModule,
|
|
16
|
+
FlexLayoutModule,
|
|
17
|
+
ActionPopupModule], exports: [UpdateNotifierComponent] });
|
|
18
|
+
UpdateNotifierModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: UpdateNotifierModule, imports: [CommonModule,
|
|
19
|
+
MaterialModule,
|
|
20
|
+
UpdateViewModule,
|
|
21
|
+
FlexLayoutModule,
|
|
22
|
+
ActionPopupModule] });
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: UpdateNotifierModule, decorators: [{
|
|
24
|
+
type: NgModule,
|
|
25
|
+
args: [{
|
|
26
|
+
declarations: [UpdateNotifierComponent, UpdateNotifierSnackComponent],
|
|
27
|
+
imports: [
|
|
28
|
+
CommonModule,
|
|
29
|
+
MaterialModule,
|
|
30
|
+
UpdateViewModule,
|
|
31
|
+
FlexLayoutModule,
|
|
32
|
+
ActionPopupModule
|
|
33
|
+
],
|
|
34
|
+
exports: [
|
|
35
|
+
UpdateNotifierComponent,
|
|
36
|
+
]
|
|
37
|
+
}]
|
|
38
|
+
}] });
|
|
39
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXBkYXRlLW5vdGlmaWVyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC10ZWNobGlmeS1jb3JlL3NyYy9saWIvdGVjaGxpZnktdXBkYXRlL3VwZGF0ZS1ub3RpZmllci91cGRhdGUtbm90aWZpZXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLDBDQUEwQyxDQUFDO0FBQzdFLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQ3hELE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUN6RCxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxxQ0FBcUMsQ0FBQztBQUN2RSxPQU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