ngx-techlify-core 11.4.8 → 11.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/karma.conf.js +44 -0
- package/ng-package.json +27 -0
- package/package.json +29 -37
- package/src/lib/action-popup/action-popup.component.html +21 -0
- package/src/lib/action-popup/action-popup.component.scss +0 -0
- package/src/lib/action-popup/action-popup.component.spec.ts +25 -0
- package/src/lib/action-popup/action-popup.component.ts +31 -0
- package/{lib/action-popup/action-popup.model.d.ts → src/lib/action-popup/action-popup.model.ts} +2 -2
- package/src/lib/action-popup/action-popup.module.ts +23 -0
- package/{lib/action-popup/index.d.ts → src/lib/action-popup/index.ts} +1 -1
- package/src/lib/audit-log/audit-log-for-model/audit-log-for-model-routing.module.ts +10 -0
- package/src/lib/audit-log/audit-log-for-model/audit-log-for-model.component.html +9 -0
- package/src/lib/audit-log/audit-log-for-model/audit-log-for-model.component.scss +0 -0
- package/src/lib/audit-log/audit-log-for-model/audit-log-for-model.component.spec.ts +25 -0
- package/src/lib/audit-log/audit-log-for-model/audit-log-for-model.component.ts +49 -0
- package/src/lib/audit-log/audit-log-for-model/audit-log-for-model.module.ts +24 -0
- package/src/lib/audit-log/audit-log-list/audit-log-list-routing.module.ts +10 -0
- package/src/lib/audit-log/audit-log-list/audit-log-list.component.html +92 -0
- package/src/lib/audit-log/audit-log-list/audit-log-list.component.scss +21 -0
- package/src/lib/audit-log/audit-log-list/audit-log-list.component.spec.ts +25 -0
- package/src/lib/audit-log/audit-log-list/audit-log-list.component.ts +138 -0
- package/src/lib/audit-log/audit-log-list/audit-log-list.module.ts +28 -0
- package/src/lib/audit-log/audit-log-list-filter/audit-log-list-filter-routing.module.ts +10 -0
- package/src/lib/audit-log/audit-log-list-filter/audit-log-list-filter.component.html +49 -0
- package/src/lib/audit-log/audit-log-list-filter/audit-log-list-filter.component.scss +0 -0
- package/src/lib/audit-log/audit-log-list-filter/audit-log-list-filter.component.spec.ts +26 -0
- package/src/lib/audit-log/audit-log-list-filter/audit-log-list-filter.component.ts +74 -0
- package/src/lib/audit-log/audit-log-list-filter/audit-log-list-filter.module.ts +24 -0
- package/src/lib/audit-log/audit-log-routing.module.ts +18 -0
- package/src/lib/audit-log/audit-log-view/audit-log-view-routing.module.ts +10 -0
- package/src/lib/audit-log/audit-log-view/audit-log-view.component.html +46 -0
- package/src/lib/audit-log/audit-log-view/audit-log-view.component.scss +0 -0
- package/src/lib/audit-log/audit-log-view/audit-log-view.component.spec.ts +25 -0
- package/src/lib/audit-log/audit-log-view/audit-log-view.component.ts +54 -0
- package/src/lib/audit-log/audit-log-view/audit-log-view.module.ts +20 -0
- package/src/lib/audit-log/audit-log-view-model/audit-log-view-model-routing.module.ts +10 -0
- package/src/lib/audit-log/audit-log-view-model/audit-log-view-model.component.html +38 -0
- package/src/lib/audit-log/audit-log-view-model/audit-log-view-model.component.scss +4 -0
- package/src/lib/audit-log/audit-log-view-model/audit-log-view-model.component.spec.ts +25 -0
- package/src/lib/audit-log/audit-log-view-model/audit-log-view-model.component.ts +53 -0
- package/src/lib/audit-log/audit-log-view-model/audit-log-view-model.module.ts +20 -0
- package/src/lib/audit-log/audit-log.module.ts +20 -0
- package/src/lib/audit-log/audit-logs-view-model/audit-logs-view-model-routing.module.ts +10 -0
- package/src/lib/audit-log/audit-logs-view-model/audit-logs-view-model.component.html +4 -0
- package/src/lib/audit-log/audit-logs-view-model/audit-logs-view-model.component.scss +4 -0
- package/src/lib/audit-log/audit-logs-view-model/audit-logs-view-model.component.spec.ts +25 -0
- package/src/lib/audit-log/audit-logs-view-model/audit-logs-view-model.component.ts +28 -0
- package/src/lib/audit-log/audit-logs-view-model/audit-logs-view-model.module.ts +20 -0
- package/src/lib/base-model/index.ts +3 -0
- package/src/lib/base-model/techlify-form-component.class.ts +60 -0
- package/src/lib/base-model/techlify-listing-component.class.ts +67 -0
- package/src/lib/base-model/techlify-service.class.ts +73 -0
- package/src/lib/core/alert.service.ts +32 -0
- package/src/lib/core/api-prefix.interceptor.ts +22 -0
- package/src/lib/core/authentication.guard.ts +34 -0
- package/src/lib/core/authentication.service.ts +53 -0
- package/src/lib/core/cache.interceptor.ts +59 -0
- package/src/lib/core/config.service.ts +52 -0
- package/src/lib/core/core.module.ts +44 -0
- package/src/lib/core/credentials.service.ts +91 -0
- package/{lib/core/dataManager.service.d.ts → src/lib/core/dataManager.service.ts} +76 -22
- package/src/lib/core/error-handler.interceptor.ts +43 -0
- package/src/lib/core/error-handler.service.ts +61 -0
- package/src/lib/core/filter.service.ts +42 -0
- package/src/lib/core/form-validator.service.ts +23 -0
- package/src/lib/core/header.interceptor.ts +22 -0
- package/src/lib/core/http-cache.service.ts +122 -0
- package/src/lib/core/http.service.ts +137 -0
- package/{lib/core/index.d.ts → src/lib/core/index.ts} +2 -0
- package/src/lib/core/logger.service.ts +113 -0
- package/src/lib/core/route-reusable-strategy.ts +36 -0
- package/src/lib/core/snack/error-snack.html +8 -0
- package/src/lib/core/snack/snack.component.ts +19 -0
- package/src/lib/core/snack/snack.module.ts +22 -0
- package/src/lib/core/snack/snack.scss +18 -0
- package/src/lib/core/snack/success-snack.html +8 -0
- package/src/lib/core/storage.service.ts +38 -0
- package/src/lib/core/techlify-config.model.ts +32 -0
- package/src/lib/core/token.interceptor.ts +25 -0
- package/src/lib/data-table/data-table.component.html +139 -0
- package/src/lib/data-table/data-table.component.scss +54 -0
- package/src/lib/data-table/data-table.component.spec.ts +25 -0
- package/src/lib/data-table/data-table.component.ts +232 -0
- package/{lib/data-table/data-table.model.d.ts → src/lib/data-table/data-table.model.ts} +9 -6
- package/src/lib/data-table/data-table.module.ts +23 -0
- package/{lib/data-table/index.d.ts → src/lib/data-table/index.ts} +1 -1
- package/src/lib/date-validator.ts +12 -0
- package/src/lib/document-viewer/document-viewer.component.css +5 -0
- package/src/lib/document-viewer/document-viewer.component.html +19 -0
- package/src/lib/document-viewer/document-viewer.component.ts +66 -0
- package/src/lib/document-viewer/document-viewer.module.ts +22 -0
- package/{lib/document-viewer/index.d.ts → src/lib/document-viewer/index.ts} +1 -1
- package/src/lib/document-viewer/viewer-config.model.ts +5 -0
- package/src/lib/email-subscription/email-subscription-for-user/email-subscription-for-user-routing.module.ts +25 -0
- package/src/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.component.html +23 -0
- package/src/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.component.scss +4 -0
- package/src/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.component.spec.ts +25 -0
- package/src/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.component.ts +74 -0
- package/src/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.module.ts +22 -0
- package/{lib/email-subscription/email-subscription-for-user/index.d.ts → src/lib/email-subscription/email-subscription-for-user/index.ts} +0 -0
- package/src/lib/email-subscription/email-subscription-routing.module.ts +10 -0
- package/src/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form-routing.module.ts +10 -0
- package/src/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.component.html +47 -0
- package/src/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.component.scss +0 -0
- package/src/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.component.spec.ts +25 -0
- package/src/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.component.ts +113 -0
- package/src/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.module.ts +28 -0
- package/{lib/email-subscription/email-subscription-type/email-subscription-type-form/index.d.ts → src/lib/email-subscription/email-subscription-type/email-subscription-type-form/index.ts} +0 -0
- package/src/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list-routing.module.ts +29 -0
- package/src/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.component.html +76 -0
- package/src/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.component.scss +4 -0
- package/src/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.component.spec.ts +25 -0
- package/src/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.component.ts +170 -0
- package/src/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.module.ts +26 -0
- package/src/lib/email-subscription/email-subscription-type/email-subscription-type-list/index.ts +1 -0
- package/src/lib/email-subscription/email-subscription-type/email-subscription-type-routing.module.ts +11 -0
- package/src/lib/email-subscription/email-subscription-type/email-subscription-type.module.ts +14 -0
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form-routing.module.ts +10 -0
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.component.html +38 -0
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.component.scss +0 -0
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.component.spec.ts +25 -0
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.component.ts +113 -0
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.module.ts +26 -0
- package/{lib/email-subscription/email-subscription-user/email-subscription-user-form/index.d.ts → src/lib/email-subscription/email-subscription-user/email-subscription-user-form/index.ts} +0 -0
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list-routing.module.ts +27 -0
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.component.html +74 -0
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.component.scss +5 -0
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.component.spec.ts +25 -0
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.component.ts +174 -0
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.module.ts +28 -0
- package/{lib/email-subscription/email-subscription-user/email-subscription-user-list/index.d.ts → src/lib/email-subscription/email-subscription-user/email-subscription-user-list/index.ts} +0 -0
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter-routing.module.ts +10 -0
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.component.html +21 -0
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.component.scss +0 -0
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.component.spec.ts +25 -0
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.component.ts +56 -0
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.module.ts +24 -0
- package/{lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/index.d.ts → src/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/index.ts} +0 -0
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user-routing.module.ts +11 -0
- package/src/lib/email-subscription/email-subscription-user/email-subscription-user.module.ts +14 -0
- package/src/lib/email-subscription/email-subscription.module.ts +15 -0
- package/src/lib/entity-files/entity-file-form/entity-file-form.component.css +0 -0
- package/src/lib/entity-files/entity-file-form/entity-file-form.component.html +45 -0
- package/src/lib/entity-files/entity-file-form/entity-file-form.component.ts +172 -0
- package/src/lib/entity-files/entity-file.service.ts +46 -0
- package/src/lib/entity-files/entity-files-view-all.component.css +0 -0
- package/src/lib/entity-files/entity-files-view-all.component.html +236 -0
- package/src/lib/entity-files/entity-files-view-all.component.ts +325 -0
- package/src/lib/entity-files/entity-files-view-all.module.ts +38 -0
- package/src/lib/entity-files/index.ts +2 -0
- package/src/lib/export-excel/export-excel-button/export-excel-button.component.html +1 -0
- package/src/lib/export-excel/export-excel-button/export-excel-button.component.scss +0 -0
- package/src/lib/export-excel/export-excel-button/export-excel-button.component.spec.ts +25 -0
- package/src/lib/export-excel/export-excel-button/export-excel-button.component.ts +31 -0
- package/src/lib/export-excel/export-excel.module.ts +16 -0
- package/src/lib/file-dropper/file-dropper.component.html +41 -0
- package/src/lib/file-dropper/file-dropper.component.scss +8 -0
- package/src/lib/file-dropper/file-dropper.component.ts +139 -0
- package/src/lib/file-dropper/file-dropper.model.ts +10 -0
- package/src/lib/file-dropper/file-dropper.module.ts +18 -0
- package/{lib/file-dropper/index.d.ts → src/lib/file-dropper/index.ts} +1 -1
- package/src/lib/import-csv/data-import/data-import.component.html +11 -0
- package/src/lib/import-csv/data-import/data-import.component.scss +0 -0
- package/src/lib/import-csv/data-import/data-import.component.spec.ts +28 -0
- package/src/lib/import-csv/data-import/data-import.component.ts +16 -0
- package/src/lib/import-csv/failed-items-list/failed-items-list.component.html +61 -0
- package/src/lib/import-csv/failed-items-list/failed-items-list.component.scss +0 -0
- package/src/lib/import-csv/failed-items-list/failed-items-list.component.spec.ts +28 -0
- package/src/lib/import-csv/failed-items-list/failed-items-list.component.ts +30 -0
- package/src/lib/import-csv/field-mapping/field-mapping.component.html +70 -0
- package/src/lib/import-csv/field-mapping/field-mapping.component.scss +15 -0
- package/src/lib/import-csv/field-mapping/field-mapping.component.ts +161 -0
- package/src/lib/import-csv/import-csv-config.ts +17 -0
- package/src/lib/import-csv/import-csv.component.html +71 -0
- package/src/lib/import-csv/import-csv.component.scss +15 -0
- package/src/lib/import-csv/import-csv.component.spec.ts +28 -0
- package/src/lib/import-csv/import-csv.component.ts +198 -0
- package/src/lib/import-csv/import-csv.module.ts +43 -0
- package/src/lib/import-csv/import-history-list/import-history-list.component.html +43 -0
- package/src/lib/import-csv/import-history-list/import-history-list.component.scss +0 -0
- package/src/lib/import-csv/import-history-list/import-history-list.component.spec.ts +28 -0
- package/src/lib/import-csv/import-history-list/import-history-list.component.ts +74 -0
- package/src/lib/import-csv/import-success/import-success.component.html +22 -0
- package/src/lib/import-csv/import-success/import-success.component.scss +0 -0
- package/src/lib/import-csv/import-success/import-success.component.spec.ts +28 -0
- package/src/lib/import-csv/import-success/import-success.component.ts +17 -0
- package/{lib/loader/index.d.ts → src/lib/loader/index.ts} +0 -0
- package/src/lib/loader/loader.component.html +4 -0
- package/src/lib/loader/loader.component.scss +8 -0
- package/src/lib/loader/loader.component.spec.ts +73 -0
- package/src/lib/loader/loader.component.ts +18 -0
- package/src/lib/loader/loader.module.ts +18 -0
- package/src/lib/login-history-for-user/login-history-for-user-routing.module.ts +18 -0
- package/src/lib/login-history-for-user/login-history-for-user.component.html +31 -0
- package/src/lib/login-history-for-user/login-history-for-user.component.scss +4 -0
- package/src/lib/login-history-for-user/login-history-for-user.component.spec.ts +25 -0
- package/src/lib/login-history-for-user/login-history-for-user.component.ts +94 -0
- package/src/lib/login-history-for-user/login-history-for-user.module.ts +26 -0
- package/src/lib/material.module.ts +68 -0
- package/src/lib/note/comment-form/comment-form.component.html +45 -0
- package/src/lib/note/comment-form/comment-form.component.scss +7 -0
- package/src/lib/note/comment-form/comment-form.component.spec.ts +24 -0
- package/src/lib/note/comment-form/comment-form.component.ts +84 -0
- package/{lib/note/index.d.ts → src/lib/note/index.ts} +0 -0
- package/src/lib/note/note-form/note-form.component.css +0 -0
- package/src/lib/note/note-form/note-form.component.html +26 -0
- package/src/lib/note/note-form/note-form.component.spec.ts +25 -0
- package/src/lib/note/note-form/note-form.component.ts +93 -0
- package/src/lib/note/note-list/note-list.component.css +4 -0
- package/src/lib/note/note-list/note-list.component.html +58 -0
- package/src/lib/note/note-list/note-list.component.spec.ts +25 -0
- package/src/lib/note/note-list/note-list.component.ts +156 -0
- package/src/lib/note/note.module.ts +33 -0
- package/src/lib/note/note.service.spec.ts +16 -0
- package/src/lib/note/note.service.ts +26 -0
- package/src/lib/read-more/read-more.component.html +3 -0
- package/src/lib/read-more/read-more.component.scss +8 -0
- package/src/lib/read-more/read-more.component.spec.ts +24 -0
- package/src/lib/read-more/read-more.component.ts +41 -0
- package/src/lib/read-more/read-more.module.ts +18 -0
- package/src/lib/request-helper/request-helper.service.ts +92 -0
- package/src/lib/searchable-selector/index.ts +2 -0
- package/src/lib/searchable-selector/mat-select-infinite-scroll.directive.ts +89 -0
- package/src/lib/searchable-selector/searchable-selector.component.html +21 -0
- package/src/lib/searchable-selector/searchable-selector.component.scss +8 -0
- package/src/lib/searchable-selector/searchable-selector.component.spec.ts +25 -0
- package/src/lib/searchable-selector/searchable-selector.component.ts +337 -0
- package/src/lib/searchable-selector/searchable-selector.module.ts +25 -0
- package/src/lib/techlify-feature/on-off-switch/on-off-switch.component.html +4 -0
- package/src/lib/techlify-feature/on-off-switch/on-off-switch.component.scss +0 -0
- package/src/lib/techlify-feature/on-off-switch/on-off-switch.component.spec.ts +28 -0
- package/src/lib/techlify-feature/on-off-switch/on-off-switch.component.ts +25 -0
- package/src/lib/techlify-feature/techlify-feature-enabled.directive.ts +71 -0
- package/src/lib/techlify-feature/techlify-feature-listing.component.html +65 -0
- package/src/lib/techlify-feature/techlify-feature-listing.component.scss +0 -0
- package/src/lib/techlify-feature/techlify-feature-listing.component.ts +174 -0
- package/src/lib/techlify-feature/techlify-feature.module.ts +28 -0
- package/src/lib/techlify-feature/techlify-feature.routing.ts +13 -0
- package/src/lib/techlify-feature/techlify-feature.service.ts +23 -0
- package/src/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-config.model.ts +25 -0
- package/src/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.component.html +18 -0
- package/src/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.component.scss +6 -0
- package/src/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.component.spec.ts +25 -0
- package/src/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.component.ts +308 -0
- package/src/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.module.ts +24 -0
- package/src/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.component.html +8 -0
- package/src/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.component.scss +0 -0
- package/src/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.component.spec.ts +25 -0
- package/src/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.component.ts +180 -0
- package/src/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.module.ts +28 -0
- package/src/lib/techlify-update/techlify-update-form/techlify-update-form.component.html +78 -0
- package/src/lib/techlify-update/techlify-update-form/techlify-update-form.component.scss +0 -0
- package/src/lib/techlify-update/techlify-update-form/techlify-update-form.component.spec.ts +25 -0
- package/src/lib/techlify-update/techlify-update-form/techlify-update-form.component.ts +113 -0
- package/src/lib/techlify-update/techlify-update-form/techlify-update-form.module.ts +25 -0
- package/src/lib/techlify-update/techlify-update-history/index.ts +1 -0
- package/src/lib/techlify-update/techlify-update-history/techlify-update-history-routing.module.ts +21 -0
- package/src/lib/techlify-update/techlify-update-history/techlify-update-history.component.html +94 -0
- package/src/lib/techlify-update/techlify-update-history/techlify-update-history.component.scss +0 -0
- package/src/lib/techlify-update/techlify-update-history/techlify-update-history.component.ts +142 -0
- package/src/lib/techlify-update/techlify-update-history/techlify-update-history.module.ts +25 -0
- package/src/lib/techlify-update/techlify-update-routing.module.ts +21 -0
- package/src/lib/techlify-update/techlify-update.module.ts +27 -0
- package/src/lib/techlify-update/techlify-update.service.spec.ts +16 -0
- package/src/lib/techlify-update/techlify-update.service.ts +42 -0
- package/src/lib/techlify-update/techlify-updates-list/techlify-updates-list.component.html +104 -0
- package/src/lib/techlify-update/techlify-updates-list/techlify-updates-list.component.scss +0 -0
- package/src/lib/techlify-update/techlify-updates-list/techlify-updates-list.component.spec.ts +25 -0
- package/src/lib/techlify-update/techlify-updates-list/techlify-updates-list.component.ts +167 -0
- package/src/lib/techlify-update/update-notifier/update-notifier-snack/update-notifier-snack.component.html +39 -0
- package/src/lib/techlify-update/update-notifier/update-notifier-snack/update-notifier-snack.component.scss +57 -0
- package/src/lib/techlify-update/update-notifier/update-notifier-snack/update-notifier-snack.component.spec.ts +25 -0
- package/src/lib/techlify-update/update-notifier/update-notifier-snack/update-notifier-snack.component.ts +76 -0
- package/src/lib/techlify-update/update-notifier/update-notifier.component.html +0 -0
- package/src/lib/techlify-update/update-notifier/update-notifier.component.scss +3 -0
- package/src/lib/techlify-update/update-notifier/update-notifier.component.spec.ts +25 -0
- package/src/lib/techlify-update/update-notifier/update-notifier.component.ts +56 -0
- package/src/lib/techlify-update/update-notifier/update-notifier.module.ts +27 -0
- package/src/lib/techlify-update/update-view/update-view.component.html +63 -0
- package/src/lib/techlify-update/update-view/update-view.component.scss +19 -0
- package/src/lib/techlify-update/update-view/update-view.component.spec.ts +25 -0
- package/src/lib/techlify-update/update-view/update-view.component.ts +36 -0
- package/src/lib/techlify-update/update-view/update-view.module.ts +23 -0
- package/src/lib/timeline-filter/README.md +60 -0
- package/src/lib/timeline-filter/calculate-timeline.ts +109 -0
- package/{lib/timeline-filter/index.d.ts → src/lib/timeline-filter/index.ts} +1 -1
- package/src/lib/timeline-filter/timeline-filter-routing.module.ts +10 -0
- package/src/lib/timeline-filter/timeline-filter.component.html +54 -0
- package/src/lib/timeline-filter/timeline-filter.component.scss +0 -0
- package/src/lib/timeline-filter/timeline-filter.component.spec.ts +25 -0
- package/src/lib/timeline-filter/timeline-filter.component.ts +220 -0
- package/src/lib/timeline-filter/timeline-filter.module.ts +22 -0
- package/src/lib/timeline-filter/timeline.model.ts +17 -0
- package/src/lib/utility/date-utils.service.ts +51 -0
- package/{lib/utility/index.d.ts → src/lib/utility/index.ts} +1 -1
- package/src/lib/utility/num-items-selector.component.ts +29 -0
- package/src/lib/utility/num-items-selector.html +13 -0
- package/src/lib/utility/number-selector.component.ts +38 -0
- package/src/lib/utility/number-selector.html +6 -0
- package/src/lib/utility/utility.module.ts +20 -0
- package/{public-api.d.ts → src/public-api.ts} +31 -0
- package/src/test.ts +26 -0
- package/tsconfig.lib.json +26 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +17 -0
- package/tslint.json +17 -0
- package/bundles/ngx-techlify-core.umd.js +0 -8325
- package/bundles/ngx-techlify-core.umd.js.map +0 -1
- package/bundles/ngx-techlify-core.umd.min.js +0 -2
- package/bundles/ngx-techlify-core.umd.min.js.map +0 -1
- package/esm2015/lib/action-popup/action-popup.component.js +0 -32
- package/esm2015/lib/action-popup/action-popup.model.js +0 -3
- package/esm2015/lib/action-popup/action-popup.module.js +0 -26
- package/esm2015/lib/action-popup/index.js +0 -3
- package/esm2015/lib/audit-log/audit-log-for-model/audit-log-for-model-routing.module.js +0 -12
- package/esm2015/lib/audit-log/audit-log-for-model/audit-log-for-model.component.js +0 -49
- package/esm2015/lib/audit-log/audit-log-for-model/audit-log-for-model.module.js +0 -25
- package/esm2015/lib/audit-log/audit-log-list/audit-log-list-routing.module.js +0 -12
- package/esm2015/lib/audit-log/audit-log-list/audit-log-list.component.js +0 -132
- package/esm2015/lib/audit-log/audit-log-list/audit-log-list.module.js +0 -29
- package/esm2015/lib/audit-log/audit-log-list-filter/audit-log-list-filter-routing.module.js +0 -12
- package/esm2015/lib/audit-log/audit-log-list-filter/audit-log-list-filter.component.js +0 -67
- package/esm2015/lib/audit-log/audit-log-list-filter/audit-log-list-filter.module.js +0 -25
- package/esm2015/lib/audit-log/audit-log-routing.module.js +0 -19
- package/esm2015/lib/audit-log/audit-log-view/audit-log-view-routing.module.js +0 -12
- package/esm2015/lib/audit-log/audit-log-view/audit-log-view.component.js +0 -60
- package/esm2015/lib/audit-log/audit-log-view/audit-log-view.module.js +0 -21
- package/esm2015/lib/audit-log/audit-log-view-model/audit-log-view-model-routing.module.js +0 -12
- package/esm2015/lib/audit-log/audit-log-view-model/audit-log-view-model.component.js +0 -57
- package/esm2015/lib/audit-log/audit-log-view-model/audit-log-view-model.module.js +0 -21
- package/esm2015/lib/audit-log/audit-log.module.js +0 -20
- package/esm2015/lib/audit-log/audit-logs-view-model/audit-logs-view-model-routing.module.js +0 -12
- package/esm2015/lib/audit-log/audit-logs-view-model/audit-logs-view-model.component.js +0 -35
- package/esm2015/lib/audit-log/audit-logs-view-model/audit-logs-view-model.module.js +0 -21
- package/esm2015/lib/base-model/index.js +0 -4
- package/esm2015/lib/base-model/techlify-form-component.class.js +0 -51
- package/esm2015/lib/base-model/techlify-listing-component.class.js +0 -41
- package/esm2015/lib/base-model/techlify-service.class.js +0 -64
- package/esm2015/lib/core/alert.service.js +0 -40
- package/esm2015/lib/core/api-prefix.interceptor.js +0 -28
- package/esm2015/lib/core/authentication.guard.js +0 -39
- package/esm2015/lib/core/authentication.service.js +0 -59
- package/esm2015/lib/core/cache.interceptor.js +0 -60
- package/esm2015/lib/core/config.service.js +0 -47
- package/esm2015/lib/core/core.module.js +0 -42
- package/esm2015/lib/core/credentials.service.js +0 -84
- package/esm2015/lib/core/dataManager.service.js +0 -121
- package/esm2015/lib/core/error-handler.interceptor.js +0 -53
- package/esm2015/lib/core/error-handler.service.js +0 -60
- package/esm2015/lib/core/form-validator.service.js +0 -23
- package/esm2015/lib/core/header.interceptor.js +0 -22
- package/esm2015/lib/core/http-cache.service.js +0 -110
- package/esm2015/lib/core/http.service.js +0 -82
- package/esm2015/lib/core/index.js +0 -21
- package/esm2015/lib/core/logger.service.js +0 -100
- package/esm2015/lib/core/route-reusable-strategy.js +0 -35
- package/esm2015/lib/core/snack/snack.component.js +0 -33
- package/esm2015/lib/core/snack/snack.module.js +0 -25
- package/esm2015/lib/core/storage.service.js +0 -37
- package/esm2015/lib/core/techlify-config.model.js +0 -28
- package/esm2015/lib/core/token.interceptor.js +0 -30
- package/esm2015/lib/data-table/data-table.component.js +0 -190
- package/esm2015/lib/data-table/data-table.model.js +0 -11
- package/esm2015/lib/data-table/data-table.module.js +0 -25
- package/esm2015/lib/data-table/index.js +0 -3
- package/esm2015/lib/date-validator.js +0 -10
- package/esm2015/lib/document-viewer/document-viewer.component.js +0 -58
- package/esm2015/lib/document-viewer/document-viewer.module.js +0 -25
- package/esm2015/lib/document-viewer/index.js +0 -3
- package/esm2015/lib/document-viewer/viewer-config.model.js +0 -3
- package/esm2015/lib/email-subscription/email-subscription-for-user/email-subscription-for-user-routing.module.js +0 -26
- package/esm2015/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.component.js +0 -72
- package/esm2015/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.module.js +0 -23
- package/esm2015/lib/email-subscription/email-subscription-for-user/index.js +0 -2
- package/esm2015/lib/email-subscription/email-subscription-routing.module.js +0 -12
- package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form-routing.module.js +0 -12
- package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.component.js +0 -102
- package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.module.js +0 -28
- package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-form/index.js +0 -2
- package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list-routing.module.js +0 -28
- package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.component.js +0 -153
- package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.module.js +0 -27
- package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-list/index.js +0 -2
- package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type-routing.module.js +0 -12
- package/esm2015/lib/email-subscription/email-subscription-type/email-subscription-type.module.js +0 -15
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form-routing.module.js +0 -12
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.component.js +0 -99
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.module.js +0 -27
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-form/index.js +0 -2
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list-routing.module.js +0 -28
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.component.js +0 -155
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.module.js +0 -29
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list/index.js +0 -2
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter-routing.module.js +0 -12
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.component.js +0 -50
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.module.js +0 -25
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/index.js +0 -2
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-routing.module.js +0 -12
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user.module.js +0 -15
- package/esm2015/lib/email-subscription/email-subscription.module.js +0 -15
- package/esm2015/lib/entity-files/entity-file-form/entity-file-form.component.js +0 -138
- package/esm2015/lib/entity-files/entity-file.service.js +0 -42
- package/esm2015/lib/entity-files/entity-files-view-all.component.js +0 -208
- package/esm2015/lib/entity-files/entity-files-view-all.module.js +0 -34
- package/esm2015/lib/entity-files/index.js +0 -3
- package/esm2015/lib/export-excel/export-excel-button/export-excel-button.component.js +0 -32
- package/esm2015/lib/export-excel/export-excel.module.js +0 -17
- package/esm2015/lib/file-dropper/file-dropper.component.js +0 -122
- package/esm2015/lib/file-dropper/file-dropper.model.js +0 -3
- package/esm2015/lib/file-dropper/file-dropper.module.js +0 -21
- package/esm2015/lib/file-dropper/index.js +0 -3
- package/esm2015/lib/import-csv/data-import/data-import.component.js +0 -18
- package/esm2015/lib/import-csv/failed-items-list/failed-items-list.component.js +0 -33
- package/esm2015/lib/import-csv/field-mapping/field-mapping.component.js +0 -148
- package/esm2015/lib/import-csv/import-csv-config.js +0 -2
- package/esm2015/lib/import-csv/import-csv.component.js +0 -196
- package/esm2015/lib/import-csv/import-csv.module.js +0 -46
- package/esm2015/lib/import-csv/import-history-list/import-history-list.component.js +0 -71
- package/esm2015/lib/import-csv/import-success/import-success.component.js +0 -19
- package/esm2015/lib/loader/index.js +0 -2
- package/esm2015/lib/loader/loader.component.js +0 -22
- package/esm2015/lib/loader/loader.module.js +0 -21
- package/esm2015/lib/login-history-for-user/login-history-for-user-routing.module.js +0 -20
- package/esm2015/lib/login-history-for-user/login-history-for-user.component.js +0 -88
- package/esm2015/lib/login-history-for-user/login-history-for-user.module.js +0 -27
- package/esm2015/lib/material.module.js +0 -60
- package/esm2015/lib/note/comment-form/comment-form.component.js +0 -73
- package/esm2015/lib/note/index.js +0 -4
- package/esm2015/lib/note/note-form/note-form.component.js +0 -81
- package/esm2015/lib/note/note-list/note-list.component.js +0 -151
- package/esm2015/lib/note/note.module.js +0 -36
- package/esm2015/lib/note/note.service.js +0 -31
- package/esm2015/lib/read-more/read-more.component.js +0 -43
- package/esm2015/lib/read-more/read-more.module.js +0 -21
- package/esm2015/lib/searchable-selector/index.js +0 -3
- package/esm2015/lib/searchable-selector/mat-select-infinite-scroll.directive.js +0 -81
- package/esm2015/lib/searchable-selector/searchable-selector.component.js +0 -307
- package/esm2015/lib/searchable-selector/searchable-selector.module.js +0 -28
- package/esm2015/lib/techlify-feature/on-off-switch/on-off-switch.component.js +0 -27
- package/esm2015/lib/techlify-feature/techlify-feature-enabled.directive.js +0 -78
- package/esm2015/lib/techlify-feature/techlify-feature-listing.component.js +0 -177
- package/esm2015/lib/techlify-feature/techlify-feature.module.js +0 -30
- package/esm2015/lib/techlify-feature/techlify-feature.routing.js +0 -12
- package/esm2015/lib/techlify-feature/techlify-feature.service.js +0 -28
- package/esm2015/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-config.model.js +0 -15
- package/esm2015/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.component.js +0 -269
- package/esm2015/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.module.js +0 -25
- package/esm2015/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.component.js +0 -168
- package/esm2015/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.module.js +0 -29
- package/esm2015/lib/techlify-update/techlify-update-form/techlify-update-form.component.js +0 -114
- package/esm2015/lib/techlify-update/techlify-update-form/techlify-update-form.module.js +0 -28
- package/esm2015/lib/techlify-update/techlify-update-history/techlify-update-history-routing.module.js +0 -22
- package/esm2015/lib/techlify-update/techlify-update-history/techlify-update-history.component.js +0 -143
- package/esm2015/lib/techlify-update/techlify-update-history/techlify-update-history.module.js +0 -28
- package/esm2015/lib/techlify-update/techlify-update-routing.module.js +0 -22
- package/esm2015/lib/techlify-update/techlify-update.module.js +0 -30
- package/esm2015/lib/techlify-update/techlify-update.service.js +0 -43
- package/esm2015/lib/techlify-update/techlify-updates-list/techlify-updates-list.component.js +0 -161
- package/esm2015/lib/techlify-update/update-notifier/update-notifier-snack/update-notifier-snack.component.js +0 -82
- package/esm2015/lib/techlify-update/update-notifier/update-notifier.component.js +0 -62
- package/esm2015/lib/techlify-update/update-notifier/update-notifier.module.js +0 -29
- package/esm2015/lib/techlify-update/update-view/update-view.component.js +0 -36
- package/esm2015/lib/techlify-update/update-view/update-view.module.js +0 -24
- package/esm2015/lib/timeline-filter/calculate-timeline.js +0 -102
- package/esm2015/lib/timeline-filter/index.js +0 -4
- package/esm2015/lib/timeline-filter/timeline-filter-routing.module.js +0 -12
- package/esm2015/lib/timeline-filter/timeline-filter.component.js +0 -213
- package/esm2015/lib/timeline-filter/timeline-filter.module.js +0 -23
- package/esm2015/lib/timeline-filter/timeline.model.js +0 -18
- package/esm2015/lib/utility/date-utils.service.js +0 -48
- package/esm2015/lib/utility/index.js +0 -4
- package/esm2015/lib/utility/num-items-selector.component.js +0 -30
- package/esm2015/lib/utility/number-selector.component.js +0 -38
- package/esm2015/lib/utility/utility.module.js +0 -21
- package/esm2015/ngx-techlify-core.js +0 -60
- package/esm2015/public-api.js +0 -96
- package/fesm2015/ngx-techlify-core.js +0 -7039
- package/fesm2015/ngx-techlify-core.js.map +0 -1
- package/lib/action-popup/action-popup.component.d.ts +0 -14
- package/lib/action-popup/action-popup.module.d.ts +0 -2
- package/lib/audit-log/audit-log-for-model/audit-log-for-model-routing.module.d.ts +0 -2
- package/lib/audit-log/audit-log-for-model/audit-log-for-model.component.d.ts +0 -12
- package/lib/audit-log/audit-log-for-model/audit-log-for-model.module.d.ts +0 -2
- package/lib/audit-log/audit-log-list/audit-log-list-routing.module.d.ts +0 -2
- package/lib/audit-log/audit-log-list/audit-log-list.component.d.ts +0 -32
- package/lib/audit-log/audit-log-list/audit-log-list.module.d.ts +0 -2
- package/lib/audit-log/audit-log-list-filter/audit-log-list-filter-routing.module.d.ts +0 -2
- package/lib/audit-log/audit-log-list-filter/audit-log-list-filter.component.d.ts +0 -19
- package/lib/audit-log/audit-log-list-filter/audit-log-list-filter.module.d.ts +0 -2
- package/lib/audit-log/audit-log-routing.module.d.ts +0 -2
- package/lib/audit-log/audit-log-view/audit-log-view-routing.module.d.ts +0 -2
- package/lib/audit-log/audit-log-view/audit-log-view.component.d.ts +0 -17
- package/lib/audit-log/audit-log-view/audit-log-view.module.d.ts +0 -2
- package/lib/audit-log/audit-log-view-model/audit-log-view-model-routing.module.d.ts +0 -2
- package/lib/audit-log/audit-log-view-model/audit-log-view-model.component.d.ts +0 -15
- package/lib/audit-log/audit-log-view-model/audit-log-view-model.module.d.ts +0 -2
- package/lib/audit-log/audit-log.module.d.ts +0 -2
- package/lib/audit-log/audit-logs-view-model/audit-logs-view-model-routing.module.d.ts +0 -2
- package/lib/audit-log/audit-logs-view-model/audit-logs-view-model.component.d.ts +0 -11
- package/lib/audit-log/audit-logs-view-model/audit-logs-view-model.module.d.ts +0 -2
- package/lib/base-model/index.d.ts +0 -3
- package/lib/base-model/techlify-form-component.class.d.ts +0 -43
- package/lib/base-model/techlify-listing-component.class.d.ts +0 -47
- package/lib/base-model/techlify-service.class.d.ts +0 -52
- package/lib/core/alert.service.d.ts +0 -12
- package/lib/core/api-prefix.interceptor.d.ts +0 -11
- package/lib/core/authentication.guard.d.ts +0 -10
- package/lib/core/authentication.service.d.ts +0 -23
- package/lib/core/cache.interceptor.d.ts +0 -21
- package/lib/core/config.service.d.ts +0 -19
- package/lib/core/core.module.d.ts +0 -3
- package/lib/core/credentials.service.d.ts +0 -36
- package/lib/core/error-handler.interceptor.d.ts +0 -14
- package/lib/core/error-handler.service.d.ts +0 -14
- package/lib/core/form-validator.service.d.ts +0 -8
- package/lib/core/header.interceptor.d.ts +0 -8
- package/lib/core/http-cache.service.d.ts +0 -54
- package/lib/core/http.service.d.ts +0 -56
- package/lib/core/logger.service.d.ts +0 -85
- package/lib/core/route-reusable-strategy.d.ts +0 -13
- package/lib/core/snack/snack.component.d.ts +0 -8
- package/lib/core/snack/snack.module.d.ts +0 -2
- package/lib/core/storage.service.d.ts +0 -15
- package/lib/core/techlify-config.model.d.ts +0 -18
- package/lib/core/token.interceptor.d.ts +0 -11
- package/lib/data-table/data-table.component.d.ts +0 -60
- package/lib/data-table/data-table.module.d.ts +0 -2
- package/lib/date-validator.d.ts +0 -1
- package/lib/document-viewer/document-viewer.component.d.ts +0 -16
- package/lib/document-viewer/document-viewer.module.d.ts +0 -2
- package/lib/document-viewer/viewer-config.model.d.ts +0 -5
- package/lib/email-subscription/email-subscription-for-user/email-subscription-for-user-routing.module.d.ts +0 -7
- package/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.component.d.ts +0 -17
- package/lib/email-subscription/email-subscription-for-user/email-subscription-for-user.module.d.ts +0 -2
- package/lib/email-subscription/email-subscription-routing.module.d.ts +0 -2
- package/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form-routing.module.d.ts +0 -2
- package/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.component.d.ts +0 -32
- package/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.module.d.ts +0 -2
- package/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list-routing.module.d.ts +0 -9
- package/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.component.d.ts +0 -30
- package/lib/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.module.d.ts +0 -2
- package/lib/email-subscription/email-subscription-type/email-subscription-type-list/index.d.ts +0 -1
- package/lib/email-subscription/email-subscription-type/email-subscription-type-routing.module.d.ts +0 -2
- package/lib/email-subscription/email-subscription-type/email-subscription-type.module.d.ts +0 -2
- package/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form-routing.module.d.ts +0 -2
- package/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.component.d.ts +0 -32
- package/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.module.d.ts +0 -2
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list-routing.module.d.ts +0 -9
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.component.d.ts +0 -32
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list/email-subscription-user-list.module.d.ts +0 -2
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter-routing.module.d.ts +0 -2
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.component.d.ts +0 -13
- package/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.module.d.ts +0 -2
- package/lib/email-subscription/email-subscription-user/email-subscription-user-routing.module.d.ts +0 -2
- package/lib/email-subscription/email-subscription-user/email-subscription-user.module.d.ts +0 -2
- package/lib/email-subscription/email-subscription.module.d.ts +0 -2
- package/lib/entity-files/entity-file-form/entity-file-form.component.d.ts +0 -34
- package/lib/entity-files/entity-file.service.d.ts +0 -10
- package/lib/entity-files/entity-files-view-all.component.d.ts +0 -45
- package/lib/entity-files/entity-files-view-all.module.d.ts +0 -2
- package/lib/entity-files/index.d.ts +0 -2
- package/lib/export-excel/export-excel-button/export-excel-button.component.d.ts +0 -8
- package/lib/export-excel/export-excel.module.d.ts +0 -2
- package/lib/file-dropper/file-dropper.component.d.ts +0 -33
- package/lib/file-dropper/file-dropper.model.d.ts +0 -10
- package/lib/file-dropper/file-dropper.module.d.ts +0 -2
- package/lib/import-csv/data-import/data-import.component.d.ts +0 -6
- package/lib/import-csv/failed-items-list/failed-items-list.component.d.ts +0 -12
- package/lib/import-csv/field-mapping/field-mapping.component.d.ts +0 -34
- package/lib/import-csv/import-csv-config.d.ts +0 -17
- package/lib/import-csv/import-csv.component.d.ts +0 -33
- package/lib/import-csv/import-csv.module.d.ts +0 -2
- package/lib/import-csv/import-history-list/import-history-list.component.d.ts +0 -21
- package/lib/import-csv/import-success/import-success.component.d.ts +0 -8
- package/lib/loader/loader.component.d.ts +0 -8
- package/lib/loader/loader.module.d.ts +0 -2
- package/lib/login-history-for-user/login-history-for-user-routing.module.d.ts +0 -2
- package/lib/login-history-for-user/login-history-for-user.component.d.ts +0 -23
- package/lib/login-history-for-user/login-history-for-user.module.d.ts +0 -2
- package/lib/material.module.d.ts +0 -2
- package/lib/note/comment-form/comment-form.component.d.ts +0 -22
- package/lib/note/note-form/note-form.component.d.ts +0 -27
- package/lib/note/note-list/note-list.component.d.ts +0 -28
- package/lib/note/note.module.d.ts +0 -2
- package/lib/note/note.service.d.ts +0 -9
- package/lib/read-more/read-more.component.d.ts +0 -12
- package/lib/read-more/read-more.module.d.ts +0 -2
- package/lib/searchable-selector/index.d.ts +0 -2
- package/lib/searchable-selector/mat-select-infinite-scroll.directive.d.ts +0 -23
- package/lib/searchable-selector/searchable-selector.component.d.ts +0 -81
- package/lib/searchable-selector/searchable-selector.module.d.ts +0 -2
- package/lib/techlify-feature/on-off-switch/on-off-switch.component.d.ts +0 -9
- package/lib/techlify-feature/techlify-feature-enabled.directive.d.ts +0 -17
- package/lib/techlify-feature/techlify-feature-listing.component.d.ts +0 -37
- package/lib/techlify-feature/techlify-feature.module.d.ts +0 -2
- package/lib/techlify-feature/techlify-feature.routing.d.ts +0 -2
- package/lib/techlify-feature/techlify-feature.service.d.ts +0 -8
- package/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-config.model.d.ts +0 -12
- package/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.component.d.ts +0 -76
- package/lib/techlify-tagger-tag-form-field/techlify-tagger-tag-form-field.module.d.ts +0 -2
- package/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.component.d.ts +0 -58
- package/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.module.d.ts +0 -2
- package/lib/techlify-update/techlify-update-form/techlify-update-form.component.d.ts +0 -30
- package/lib/techlify-update/techlify-update-form/techlify-update-form.module.d.ts +0 -2
- package/lib/techlify-update/techlify-update-history/techlify-update-history-routing.module.d.ts +0 -2
- package/lib/techlify-update/techlify-update-history/techlify-update-history.component.d.ts +0 -31
- package/lib/techlify-update/techlify-update-history/techlify-update-history.module.d.ts +0 -2
- package/lib/techlify-update/techlify-update-routing.module.d.ts +0 -2
- package/lib/techlify-update/techlify-update.module.d.ts +0 -2
- package/lib/techlify-update/techlify-update.service.d.ts +0 -13
- package/lib/techlify-update/techlify-updates-list/techlify-updates-list.component.d.ts +0 -31
- package/lib/techlify-update/update-notifier/update-notifier-snack/update-notifier-snack.component.d.ts +0 -25
- package/lib/techlify-update/update-notifier/update-notifier.component.d.ts +0 -16
- package/lib/techlify-update/update-notifier/update-notifier.module.d.ts +0 -2
- package/lib/techlify-update/update-view/update-view.component.d.ts +0 -14
- package/lib/techlify-update/update-view/update-view.module.d.ts +0 -2
- package/lib/timeline-filter/calculate-timeline.d.ts +0 -6
- package/lib/timeline-filter/timeline-filter-routing.module.d.ts +0 -2
- package/lib/timeline-filter/timeline-filter.component.d.ts +0 -61
- package/lib/timeline-filter/timeline-filter.module.d.ts +0 -2
- package/lib/timeline-filter/timeline.model.d.ts +0 -17
- package/lib/utility/date-utils.service.d.ts +0 -21
- package/lib/utility/num-items-selector.component.d.ts +0 -16
- package/lib/utility/number-selector.component.d.ts +0 -20
- package/lib/utility/utility.module.d.ts +0 -2
- package/ngx-techlify-core.d.ts +0 -59
- package/ngx-techlify-core.metadata.json +0 -1
|
File without changes
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
<form [formGroup]="entityFileGroup" (ngSubmit)="submit()">
|
|
2
|
+
<div fxLayout="column" class="mat-typography">
|
|
3
|
+
<div mat-dialog-title class="text-center">
|
|
4
|
+
<div>Entity File</div>
|
|
5
|
+
</div>
|
|
6
|
+
<div mat-dialog-content fxLayout="column" fxLayoutAlign.="start">
|
|
7
|
+
<ng-container *ngIf="!hideTitleAndDetails">
|
|
8
|
+
<mat-form-field>
|
|
9
|
+
<input type="text" matInput formControlName="title" placeholder="Title" autocomplete="off">
|
|
10
|
+
</mat-form-field>
|
|
11
|
+
<mat-form-field>
|
|
12
|
+
<textarea matInput formControlName="details" placeholder="Details" autocomplete="off"></textarea>
|
|
13
|
+
</mat-form-field>
|
|
14
|
+
</ng-container>
|
|
15
|
+
<ng-container *ngIf="useTechlifyTags">
|
|
16
|
+
<mat-form-field>
|
|
17
|
+
<mat-label>Tag</mat-label>
|
|
18
|
+
<app-techlify-tagger-tag-form-field modelType="entity-file" formControlName="tag_ids"
|
|
19
|
+
[modelId]="entityFileGroup.get('id').value" placeholder="Enter new tag"></app-techlify-tagger-tag-form-field>
|
|
20
|
+
</mat-form-field>
|
|
21
|
+
</ng-container>
|
|
22
|
+
<ng-template #fileUpload>
|
|
23
|
+
<section fxFlex="100%">
|
|
24
|
+
<div>Entity File*</div>
|
|
25
|
+
<app-file-dropper [config]="fileConfig" (fileChanged)="fileChanged($event)" [fileArray]="fileList">
|
|
26
|
+
</app-file-dropper>
|
|
27
|
+
<div class="text-danger" *ngIf="isFieldValid('url')">
|
|
28
|
+
{{getErrorMessage("url")}}
|
|
29
|
+
</div>
|
|
30
|
+
</section>
|
|
31
|
+
</ng-template>
|
|
32
|
+
<div fxFlex="100%" class="mt-2" *ngIf="entityFileGroup.get('url').value;else fileUpload;">
|
|
33
|
+
<app-document-viewer [file]="entityFileGroup.get('file').value" [fileUrl]="entityFileGroup.get('url').value"
|
|
34
|
+
[config]="this.viewerConfig" (remove)="removeFile()" [disableEdit]="updateMode">
|
|
35
|
+
</app-document-viewer>
|
|
36
|
+
</div>
|
|
37
|
+
<div class="mt-4 mb-2" fxLayout="row" fxLayoutGap="30px" fxLayoutAlign="end" fxFlex="100%">
|
|
38
|
+
<button mat-raised-button type="button" (click)="dialogRef.close()">
|
|
39
|
+
Cancel
|
|
40
|
+
</button>
|
|
41
|
+
<button mat-raised-button type="submit" color="primary">Save</button>
|
|
42
|
+
</div>
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
45
|
+
</form>
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
import { Component, OnInit, Inject } from "@angular/core";
|
|
2
|
+
import { MatDialogRef, MAT_DIALOG_DATA } from "@angular/material/dialog";
|
|
3
|
+
import { FormGroup, FormBuilder, Validators } from "@angular/forms";
|
|
4
|
+
import { EntityFileService } from '../entity-file.service';
|
|
5
|
+
import { FileDropperConfig } from '../../file-dropper/file-dropper.model';
|
|
6
|
+
import { ViewerConfig } from '../../document-viewer/viewer-config.model';
|
|
7
|
+
import { FormValidatorService } from '../../core/form-validator.service';
|
|
8
|
+
import { AlertService } from "../../core/alert.service";
|
|
9
|
+
|
|
10
|
+
const errorMessages: any = {
|
|
11
|
+
url: {
|
|
12
|
+
required: "File is required"
|
|
13
|
+
},
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
@Component({
|
|
17
|
+
selector: 'entity-file-form',
|
|
18
|
+
templateUrl: './entity-file-form.component.html',
|
|
19
|
+
styleUrls: ['./entity-file-form.component.css']
|
|
20
|
+
})
|
|
21
|
+
export class EntityFileFormComponent implements OnInit {
|
|
22
|
+
|
|
23
|
+
entityFileGroup: FormGroup;
|
|
24
|
+
assignmentFileFirstAttempt: boolean;
|
|
25
|
+
updateMode: boolean;
|
|
26
|
+
fileConfig: FileDropperConfig;
|
|
27
|
+
fileList: any[] = [];
|
|
28
|
+
viewerConfig: ViewerConfig;
|
|
29
|
+
hideTitleAndDetails: boolean;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Should we allow tagging entity-files?
|
|
33
|
+
*/
|
|
34
|
+
useTechlifyTags: boolean = false;
|
|
35
|
+
|
|
36
|
+
constructor(
|
|
37
|
+
public dialogRef: MatDialogRef<EntityFileFormComponent>,
|
|
38
|
+
@Inject(MAT_DIALOG_DATA) public data: any,
|
|
39
|
+
private formValidatorService: FormValidatorService,
|
|
40
|
+
private fb: FormBuilder,
|
|
41
|
+
private entityFileService: EntityFileService,
|
|
42
|
+
private alertService: AlertService
|
|
43
|
+
) {
|
|
44
|
+
this.createForm();
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/** Method to create a form **/
|
|
48
|
+
private createForm() {
|
|
49
|
+
//TODO: Finialize and add more validations.
|
|
50
|
+
this.entityFileGroup = this.fb.group({
|
|
51
|
+
id: [''],
|
|
52
|
+
title: [''],
|
|
53
|
+
details: [''],
|
|
54
|
+
entity_type: [''],
|
|
55
|
+
entity_id: [],
|
|
56
|
+
file: ['', Validators.required],
|
|
57
|
+
url: ['', Validators.required],
|
|
58
|
+
file_size: ['', Validators.required],
|
|
59
|
+
tag_ids: [[]]
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
ngOnInit(): void {
|
|
64
|
+
if (this.data.entity) {
|
|
65
|
+
this.entityFileGroup.get('entity_type').setValue(this.data.entity.entity_type);
|
|
66
|
+
this.entityFileGroup.get('entity_id').setValue(this.data.entity.entity_id);
|
|
67
|
+
}
|
|
68
|
+
if (this.data.file) {
|
|
69
|
+
this.updateMode = true;
|
|
70
|
+
this.entityFileGroup.patchValue(this.data.file);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
if (this.data?.hideTitleAndDetails) {
|
|
74
|
+
this.hideTitleAndDetails = this.data?.hideTitleAndDetails;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
if (this.data?.useTechlifyTags) {
|
|
78
|
+
this.useTechlifyTags = this.data?.useTechlifyTags;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
//File dropper config
|
|
82
|
+
this.fileConfig = {
|
|
83
|
+
fileId: "subjectFile",
|
|
84
|
+
containerId: "subjectFileContainer",
|
|
85
|
+
styles: {
|
|
86
|
+
height: "200px"
|
|
87
|
+
},
|
|
88
|
+
multiple: false,
|
|
89
|
+
acceptFile: "*",
|
|
90
|
+
maxSize: 10,
|
|
91
|
+
acceptFileText: "All Files"
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
this.viewerConfig = {
|
|
95
|
+
viewerStyle: {
|
|
96
|
+
height: '200px',
|
|
97
|
+
width: '100%'
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
//Method to trigger submit
|
|
104
|
+
async submit() {
|
|
105
|
+
this.assignmentFileFirstAttempt = true;
|
|
106
|
+
if (!this.entityFileGroup.valid) {
|
|
107
|
+
return;
|
|
108
|
+
}
|
|
109
|
+
const model = this.entityFileGroup.value;
|
|
110
|
+
|
|
111
|
+
if (this.hideTitleAndDetails) {
|
|
112
|
+
model.title = model.file;
|
|
113
|
+
}
|
|
114
|
+
model.tag_ids = model.tag_ids.toString();
|
|
115
|
+
|
|
116
|
+
const result: any = this.updateMode
|
|
117
|
+
? await this.entityFileService.updateEntityFile(model)
|
|
118
|
+
: await this.entityFileService.createEntityFile(model);
|
|
119
|
+
this.dialogRef.close(result.item);
|
|
120
|
+
this.alertService.addAlert(
|
|
121
|
+
"File submitted successfully",
|
|
122
|
+
"success"
|
|
123
|
+
);
|
|
124
|
+
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
async fileChanged(event: any) {
|
|
128
|
+
this.fileList = event;
|
|
129
|
+
|
|
130
|
+
if (this.fileList.length > 0) {
|
|
131
|
+
|
|
132
|
+
const result: any = await this.entityFileService.uploadEntityFile(
|
|
133
|
+
this.fileList[0],
|
|
134
|
+
);
|
|
135
|
+
this.entityFileGroup.patchValue(result.item);;
|
|
136
|
+
this.fileList = [];
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
async removeFile() {
|
|
142
|
+
if (this.entityFileGroup.value.file) {
|
|
143
|
+
try {
|
|
144
|
+
this.entityFileGroup.patchValue({
|
|
145
|
+
file: "",
|
|
146
|
+
url: ""
|
|
147
|
+
});
|
|
148
|
+
} catch (error) {
|
|
149
|
+
this.alertService.addAlert("Unable to remove file, try later", "warn");
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/**Method to evaluate form fields*/
|
|
155
|
+
isFieldValid(field: string) {
|
|
156
|
+
return this.formValidatorService.isFieldValid(
|
|
157
|
+
field,
|
|
158
|
+
this.entityFileGroup,
|
|
159
|
+
this.assignmentFileFirstAttempt
|
|
160
|
+
);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/**Method to find error in form fields*/
|
|
164
|
+
getErrorMessage(field: string) {
|
|
165
|
+
return this.formValidatorService.getErrorMessage(
|
|
166
|
+
field,
|
|
167
|
+
this.entityFileGroup,
|
|
168
|
+
errorMessages
|
|
169
|
+
);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import { HttpService } from '../core/http.service';
|
|
3
|
+
|
|
4
|
+
@Injectable({
|
|
5
|
+
providedIn: 'root'
|
|
6
|
+
})
|
|
7
|
+
export class EntityFileService {
|
|
8
|
+
|
|
9
|
+
constructor(private http: HttpService) { }
|
|
10
|
+
|
|
11
|
+
getEntityFiles(filters: any) {
|
|
12
|
+
return this.http.get(`api/entity-files`, { params: filters }).toPromise();
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
createEntityFile(model: any) {
|
|
16
|
+
return this.http.post("api/entity-files", model).toPromise();
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
updateEntityFile(model: any) {
|
|
20
|
+
return this.http.put(`api/entity-files/${model.id}`, model).toPromise();
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
deleteEntityFile(model: any) {
|
|
24
|
+
return this.http.delete(`api/entity-files/${model.id}`).toPromise();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
uploadEntityFile(file: File, params?: any) {
|
|
28
|
+
const formData: FormData = new FormData();
|
|
29
|
+
formData.append("fileData", file, file.name);
|
|
30
|
+
if (params?.entity_id) {
|
|
31
|
+
formData.append('entity_id', params.entity_id);
|
|
32
|
+
formData.append('entity_type', params.entity_type);
|
|
33
|
+
}
|
|
34
|
+
return this.http
|
|
35
|
+
.skipHeader()
|
|
36
|
+
.post(
|
|
37
|
+
"api/entity-files-upload",
|
|
38
|
+
formData,
|
|
39
|
+
).toPromise();
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
bulkUpdate(model) {
|
|
43
|
+
return this.http.post(`api/entity-files/bulk-update`, model).toPromise();
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
<mat-drawer-container>
|
|
2
|
+
<mat-drawer style="z-index: 1;" fxLayout="column" [fxHide]="!this.documentIds.length" fxHide.xs fxHide.sm fxHide.lt-md
|
|
3
|
+
mode="side" position="end" opened>
|
|
4
|
+
<mat-card class="update_card" *ngIf="this.documentIds.length">
|
|
5
|
+
<mat-card-header>
|
|
6
|
+
<mat-card-title>
|
|
7
|
+
<div mat-dialog-title class="mt-2 ml-2 text-center">
|
|
8
|
+
<div>Update Selected Rows</div>
|
|
9
|
+
</div>
|
|
10
|
+
</mat-card-title>
|
|
11
|
+
</mat-card-header>
|
|
12
|
+
<mat-card-content fxLayout="column">
|
|
13
|
+
<form [formGroup]="updateRowForm">
|
|
14
|
+
<div fxLayout="column">
|
|
15
|
+
|
|
16
|
+
<mat-form-field fxFlex="100%" class="px-1">
|
|
17
|
+
<input matInput formControlName="title" placeholder="Title" autocomplete="off" />
|
|
18
|
+
<button mat-button *ngIf="updateRowForm.get('title').value || updateRowForm.get('title').value===0"
|
|
19
|
+
matSuffix mat-icon-button style="color:red" (click)="resetFieldValueOfRow('title', $event)">
|
|
20
|
+
<mat-icon>close</mat-icon>
|
|
21
|
+
</button>
|
|
22
|
+
<button mat-button matSuffix mat-icon-button type="button" style="color:green" *ngIf="(updateRowForm.get('title').value || updateRowForm.get('title').value===0)
|
|
23
|
+
&& updateRowForm.get('title').valid" (click)="bulkUpdate('title')">
|
|
24
|
+
<mat-icon>done</mat-icon>
|
|
25
|
+
</button>
|
|
26
|
+
</mat-form-field>
|
|
27
|
+
|
|
28
|
+
<mat-form-field fxFlex="100%" class="px-1">
|
|
29
|
+
<textarea matInput formControlName="details" placeholder="Details" autocomplete="off"></textarea>
|
|
30
|
+
<button mat-button *ngIf="updateRowForm.get('details').value || updateRowForm.get('details').value===0"
|
|
31
|
+
matSuffix mat-icon-button style="color:red" (click)="resetFieldValueOfRow('details', $event)">
|
|
32
|
+
<mat-icon>close</mat-icon>
|
|
33
|
+
</button>
|
|
34
|
+
<button mat-button matSuffix mat-icon-button type="button" style="color:green" *ngIf="(updateRowForm.get('details').value || updateRowForm.get('details').value===0)
|
|
35
|
+
&& updateRowForm.get('details').valid" (click)="bulkUpdate('details')">
|
|
36
|
+
<mat-icon>done</mat-icon>
|
|
37
|
+
</button>
|
|
38
|
+
</mat-form-field>
|
|
39
|
+
|
|
40
|
+
<ng-container *ngIf="useTechlifyTags">
|
|
41
|
+
<mat-form-field>
|
|
42
|
+
<mat-label>Tag</mat-label>
|
|
43
|
+
<app-techlify-tagger-tag-form-field modelType="entity-file" formControlName="tag_ids"
|
|
44
|
+
placeholder="Enter new tag">
|
|
45
|
+
</app-techlify-tagger-tag-form-field>
|
|
46
|
+
<button mat-button *ngIf="updateRowForm.get('tag_ids').value || updateRowForm.get('tag_ids').value===0"
|
|
47
|
+
matSuffix mat-icon-button style="color:red" (click)="resetFieldValueOfRow('tag_ids', $event)">
|
|
48
|
+
<mat-icon>close</mat-icon>
|
|
49
|
+
</button>
|
|
50
|
+
<button mat-button matSuffix mat-icon-button type="button" style="color:green" *ngIf="(updateRowForm.get('tag_ids').value || updateRowForm.get('tag_ids').value===0)
|
|
51
|
+
&& updateRowForm.get('tag_ids').valid" (click)="bulkUpdate('tag_ids')">
|
|
52
|
+
<mat-icon>done</mat-icon>
|
|
53
|
+
</button>
|
|
54
|
+
</mat-form-field>
|
|
55
|
+
</ng-container>
|
|
56
|
+
</div>
|
|
57
|
+
</form>
|
|
58
|
+
</mat-card-content>
|
|
59
|
+
</mat-card>
|
|
60
|
+
|
|
61
|
+
</mat-drawer>
|
|
62
|
+
|
|
63
|
+
<mat-drawer-content>
|
|
64
|
+
<div class="mat-typography" *ngIf="!displayMode">
|
|
65
|
+
<div fxLayout="row" fxLayoutGap="1rem">
|
|
66
|
+
<mat-card [fxFlex]="this.documentIds.length ? '100%' : '70%'">
|
|
67
|
+
<mat-card-title>
|
|
68
|
+
<div fxLayout fxLayoutGap="1rem">
|
|
69
|
+
<h3 class="font-weight-bold primary-color" fxLayout="center center">
|
|
70
|
+
<mat-icon>
|
|
71
|
+
<span class="material-icons">
|
|
72
|
+
description
|
|
73
|
+
</span>
|
|
74
|
+
</mat-icon>
|
|
75
|
+
{{title}}s
|
|
76
|
+
</h3>
|
|
77
|
+
<div>
|
|
78
|
+
<button type="button" class="mx-1" mat-raised-button color="primary" (click)="addEntityFile()"
|
|
79
|
+
*ngIf="!viewOnly">
|
|
80
|
+
<mat-icon>
|
|
81
|
+
<span class="material-icons">
|
|
82
|
+
add_circle_outline
|
|
83
|
+
</span>
|
|
84
|
+
</mat-icon>
|
|
85
|
+
{{title}}
|
|
86
|
+
</button>
|
|
87
|
+
</div>
|
|
88
|
+
</div>
|
|
89
|
+
</mat-card-title>
|
|
90
|
+
<mat-card-subtitle>
|
|
91
|
+
<form [formGroup]="filterFormGroup" style="font-size: 10px;" fxLayout fxLayoutGap="1rem">
|
|
92
|
+
<mat-form-field *ngIf="!removeSearch" appearance="outline">
|
|
93
|
+
<mat-label>Search</mat-label>
|
|
94
|
+
<input type="text" matInput formControlName="title" placeholder="Search" name="title"
|
|
95
|
+
autocomplete="off" />
|
|
96
|
+
<button mat-button *ngIf="filters.title" matSuffix mat-icon-button
|
|
97
|
+
(click)="resetFieldValue($event, 'title')">
|
|
98
|
+
<mat-icon>close</mat-icon>
|
|
99
|
+
</button>
|
|
100
|
+
</mat-form-field>
|
|
101
|
+
<mat-form-field appearance="outline" *ngIf="useTechlifyTags && !isWorking">
|
|
102
|
+
<mat-label>Tag</mat-label>
|
|
103
|
+
<app-searchable-selector formControlName="tag_ids" apiUrl="api/techlify-tagger-tags" [multiple]="true"
|
|
104
|
+
placeHolder="Tag">
|
|
105
|
+
</app-searchable-selector>
|
|
106
|
+
<button mat-icon-button matSuffix *ngIf="filterFormGroup.get('tag_ids').value.length"
|
|
107
|
+
(click)="resetFieldValue($event, 'tag_ids')">
|
|
108
|
+
<mat-icon>close</mat-icon>
|
|
109
|
+
</button>
|
|
110
|
+
</mat-form-field>
|
|
111
|
+
<button mat-icon-button (click)="reload()" *ngIf="isReload" type="button" matTooltip="Refresh">
|
|
112
|
+
<mat-icon>
|
|
113
|
+
<span class="material-icons">
|
|
114
|
+
refresh
|
|
115
|
+
</span>
|
|
116
|
+
</mat-icon>
|
|
117
|
+
</button>
|
|
118
|
+
</form>
|
|
119
|
+
</mat-card-subtitle>
|
|
120
|
+
<mat-card-content class="entity-file-card">
|
|
121
|
+
<table mat-table [dataSource]="dataSource" class="w-100" matSort multiTemplateDataRows infiniteScroll
|
|
122
|
+
[infiniteScrollDistance]="1.5" [infiniteScrollThrottle]="50" (scrolled)="onScroll()">
|
|
123
|
+
|
|
124
|
+
<!-- Select Column -->
|
|
125
|
+
<ng-container matColumnDef="select">
|
|
126
|
+
<th mat-header-cell *matHeaderCellDef style="width:30px">
|
|
127
|
+
<mat-checkbox name="employee" [(ngModel)]="isAllSelected" (change)="selectAll()">
|
|
128
|
+
</mat-checkbox>
|
|
129
|
+
</th>
|
|
130
|
+
<td mat-cell *matCellDef="let element" style="width:30px">
|
|
131
|
+
<mat-checkbox name="employee[{{element?.id}}]" (click)="$event.stopPropagation()"
|
|
132
|
+
[(ngModel)]="element.is_selected" (change)="employeeListModified($event, element)"
|
|
133
|
+
[disabled]="!entityFiles.length">
|
|
134
|
+
</mat-checkbox>
|
|
135
|
+
</td>
|
|
136
|
+
</ng-container>
|
|
137
|
+
|
|
138
|
+
<!-- Index Column -->
|
|
139
|
+
<ng-container matColumnDef="index">
|
|
140
|
+
<th mat-header-cell *matHeaderCellDef> # </th>
|
|
141
|
+
<td mat-cell *matCellDef="let element; let i = dataIndex"> {{ i+1 }} </td>
|
|
142
|
+
</ng-container>
|
|
143
|
+
|
|
144
|
+
<!-- Title Column -->
|
|
145
|
+
<ng-container matColumnDef="title">
|
|
146
|
+
<th mat-header-cell *matHeaderCellDef> Title </th>
|
|
147
|
+
<td mat-cell *matCellDef="let element">
|
|
148
|
+
<div>
|
|
149
|
+
<span>
|
|
150
|
+
{{element.title}}
|
|
151
|
+
</span>
|
|
152
|
+
<span>
|
|
153
|
+
<a href="{{element.url}}" target="_blank" class="text-decoration-none text-muted">
|
|
154
|
+
<button mat-icon-button type="button">
|
|
155
|
+
<mat-icon>download</mat-icon>
|
|
156
|
+
</button>
|
|
157
|
+
</a>
|
|
158
|
+
</span>
|
|
159
|
+
</div>
|
|
160
|
+
</td>
|
|
161
|
+
</ng-container>
|
|
162
|
+
|
|
163
|
+
<!-- Details Column -->
|
|
164
|
+
<ng-container matColumnDef="details">
|
|
165
|
+
<th mat-header-cell *matHeaderCellDef> Details </th>
|
|
166
|
+
<td mat-cell *matCellDef="let element">
|
|
167
|
+
<app-read-more [text]="element.details" [maxLength]="50"></app-read-more>
|
|
168
|
+
</td>
|
|
169
|
+
</ng-container>
|
|
170
|
+
|
|
171
|
+
<!-- File size Column -->
|
|
172
|
+
<ng-container matColumnDef="file_size">
|
|
173
|
+
<th mat-header-cell *matHeaderCellDef> File Size </th>
|
|
174
|
+
<td mat-cell *matCellDef="let element"> {{ sizeOf(element.file_size)}} </td>
|
|
175
|
+
</ng-container>
|
|
176
|
+
|
|
177
|
+
<!-- Tags Column -->
|
|
178
|
+
<ng-container matColumnDef="tag">
|
|
179
|
+
<th mat-header-cell *matHeaderCellDef> Tag </th>
|
|
180
|
+
<td mat-cell *matCellDef="let element" class="p-1">
|
|
181
|
+
<mat-chip-list aria-label="Tags">
|
|
182
|
+
<mat-chip *ngFor="let taggerModel of element.tags">
|
|
183
|
+
{{taggerModel?.tag?.title}}
|
|
184
|
+
</mat-chip>
|
|
185
|
+
</mat-chip-list>
|
|
186
|
+
</td>
|
|
187
|
+
</ng-container>
|
|
188
|
+
|
|
189
|
+
<!-- Uploaded On Column -->
|
|
190
|
+
<ng-container matColumnDef="uploaded_on">
|
|
191
|
+
<th mat-header-cell *matHeaderCellDef> Uploaded On </th>
|
|
192
|
+
<td mat-cell *matCellDef="let element">
|
|
193
|
+
<div>
|
|
194
|
+
{{element.created_at | date: 'mediumDate'}}
|
|
195
|
+
</div>
|
|
196
|
+
<div class="text-muted">
|
|
197
|
+
By {{element.creator?.name}}
|
|
198
|
+
</div>
|
|
199
|
+
</td>
|
|
200
|
+
</ng-container>
|
|
201
|
+
|
|
202
|
+
<!-- Actions Column -->
|
|
203
|
+
<ng-container matColumnDef="actions">
|
|
204
|
+
<th mat-header-cell *matHeaderCellDef> Actions </th>
|
|
205
|
+
<td mat-cell *matCellDef="let element" style="min-width:110px" class="text-muted">
|
|
206
|
+
<button type="button" mat-icon-button (click)="editEntityFile(element)">
|
|
207
|
+
<mat-icon>edit</mat-icon>
|
|
208
|
+
</button>
|
|
209
|
+
<button type="button" mat-icon-button (click)="deleteEntityFile(element)">
|
|
210
|
+
<mat-icon>delete</mat-icon>
|
|
211
|
+
</button>
|
|
212
|
+
</td>
|
|
213
|
+
</ng-container>
|
|
214
|
+
|
|
215
|
+
<tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
|
|
216
|
+
<tr mat-row *matRowDef="let row; columns: displayedColumns;"></tr>
|
|
217
|
+
</table>
|
|
218
|
+
</mat-card-content>
|
|
219
|
+
</mat-card>
|
|
220
|
+
<section fxFlex="30%" *ngIf="!this.documentIds.length">
|
|
221
|
+
<app-file-dropper [config]="fileConfig" (fileChanged)="fileChanged($event)" [fileArray]="fileList">
|
|
222
|
+
</app-file-dropper>
|
|
223
|
+
</section>
|
|
224
|
+
</div>
|
|
225
|
+
</div>
|
|
226
|
+
</mat-drawer-content>
|
|
227
|
+
|
|
228
|
+
<div fxLayout="row wrap" fxLayoutGap="1rem" class="mat-typography p-4" *ngIf="displayMode">
|
|
229
|
+
<div *ngFor="let efile of entityFiles">
|
|
230
|
+
<app-document-viewer [file]="efile.file" [fileUrl]="efile.url" [config]="this.viewerConfig" [disableEdit]="true">
|
|
231
|
+
</app-document-viewer>
|
|
232
|
+
<a href="{{efile.url}}" target="_blank">
|
|
233
|
+
<button mat-button type="button">View</button>
|
|
234
|
+
</a>
|
|
235
|
+
</div>
|
|
236
|
+
</div>
|