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,208 @@
|
|
|
1
|
+
var DataTableComponent_1;
|
|
2
|
+
import { __decorate } from "tslib";
|
|
3
|
+
import { Component, Input, Output, EventEmitter, ViewChild } from "@angular/core";
|
|
4
|
+
import { MatTableDataSource } from '@angular/material/table';
|
|
5
|
+
import { MatSort } from '@angular/material/sort';
|
|
6
|
+
import { UntilDestroy, untilDestroyed } from "@ngneat/until-destroy";
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
import * as i1 from "@angular/flex-layout/flex";
|
|
9
|
+
import * as i2 from "@angular/flex-layout/extended";
|
|
10
|
+
import * as i3 from "@angular/common";
|
|
11
|
+
import * as i4 from "ngx-infinite-scroll";
|
|
12
|
+
import * as i5 from "@angular/material/button";
|
|
13
|
+
import * as i6 from "@angular/material/checkbox";
|
|
14
|
+
import * as i7 from "@angular/material/icon";
|
|
15
|
+
import * as i8 from "@angular/material/menu";
|
|
16
|
+
import * as i9 from "@angular/material/sort";
|
|
17
|
+
import * as i10 from "@angular/material/table";
|
|
18
|
+
let DataTableComponent = DataTableComponent_1 = class DataTableComponent {
|
|
19
|
+
constructor() {
|
|
20
|
+
this.dataSource = new MatTableDataSource([]);
|
|
21
|
+
this.action = new EventEmitter();
|
|
22
|
+
this.selctionChange = new EventEmitter();
|
|
23
|
+
this.rowClick = new EventEmitter();
|
|
24
|
+
this.tableScroll = new EventEmitter();
|
|
25
|
+
this.sortChanged = new EventEmitter();
|
|
26
|
+
this.elementId = `data-table-${DataTableComponent_1.nextId++}`;
|
|
27
|
+
}
|
|
28
|
+
ngOnInit() { }
|
|
29
|
+
/**Life cycle hook method */
|
|
30
|
+
ngAfterViewInit() {
|
|
31
|
+
// Assign the data to the data source for the table to render
|
|
32
|
+
this.dataSource = new MatTableDataSource(this.data);
|
|
33
|
+
// Emit change in selection
|
|
34
|
+
if (this.selection) {
|
|
35
|
+
this.selection.changed.pipe().subscribe((change) => {
|
|
36
|
+
if (this.selection.selected) {
|
|
37
|
+
this.selctionChange.emit(this.selection.selected);
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
if (this.sort) {
|
|
42
|
+
this.sort.sortChange.pipe(untilDestroyed(this))
|
|
43
|
+
.subscribe((value) => {
|
|
44
|
+
this.sortChanged.emit(value);
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
/** Whether the number of selected elements matches the total number of rows. */
|
|
49
|
+
isAllSelected() {
|
|
50
|
+
const numSelected = this.selection.selected.length;
|
|
51
|
+
const numRows = this.dataSource.data.length;
|
|
52
|
+
return numSelected === numRows;
|
|
53
|
+
}
|
|
54
|
+
/** Selects all rows if they are not all selected; otherwise clear selection. */
|
|
55
|
+
masterToggle() {
|
|
56
|
+
this.isAllSelected()
|
|
57
|
+
? this.clearSelection()
|
|
58
|
+
: this.dataSource.data.forEach(row => this.selection.select(row));
|
|
59
|
+
}
|
|
60
|
+
/**clear selection*/
|
|
61
|
+
clearSelection() {
|
|
62
|
+
this.selection.clear();
|
|
63
|
+
this.selctionChange.emit(this.selection.selected);
|
|
64
|
+
}
|
|
65
|
+
ngOnChanges(changes) {
|
|
66
|
+
this.initializeConfig(changes);
|
|
67
|
+
if (changes.data && !changes.data.isFirstChange() && this.dataSource) {
|
|
68
|
+
// If not first change
|
|
69
|
+
this.dataSource.data = changes.data.currentValue;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
initializeConfig(changes) {
|
|
73
|
+
if (changes.config && !changes.config.isFirstChange()) {
|
|
74
|
+
this.config = changes.config.currentValue;
|
|
75
|
+
}
|
|
76
|
+
this.page = this.config.page || 1;
|
|
77
|
+
this.lastPage = this.config.lastPage || this.page;
|
|
78
|
+
this.perPage = this.config.perPage || 20;
|
|
79
|
+
}
|
|
80
|
+
onScroll() {
|
|
81
|
+
if (this.page < this.lastPage) {
|
|
82
|
+
this.page += 1;
|
|
83
|
+
this.tableScroll.emit({ page: this.page, lastPage: this.lastPage, perPage: this.perPage });
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
/**Method invokes when edit action icon is clickes */
|
|
87
|
+
editClicked(event, element) {
|
|
88
|
+
this.action.emit({ action: "edit", value: element });
|
|
89
|
+
event.stopPropagation();
|
|
90
|
+
}
|
|
91
|
+
/**Method invokes when view action icon is clickes */
|
|
92
|
+
viewClicked(event, element) {
|
|
93
|
+
this.action.emit({ action: "view", value: element });
|
|
94
|
+
event.stopPropagation();
|
|
95
|
+
}
|
|
96
|
+
/**Method invokes when edit action icon is clickes */
|
|
97
|
+
deactivateClicked(event, element) {
|
|
98
|
+
this.action.emit({ action: "deactivate", value: element });
|
|
99
|
+
event.stopPropagation();
|
|
100
|
+
}
|
|
101
|
+
/**Method invokes when download action icon is clickes */
|
|
102
|
+
downloadClicked(event, element) {
|
|
103
|
+
this.action.emit({ action: "download", value: element });
|
|
104
|
+
event.stopPropagation();
|
|
105
|
+
}
|
|
106
|
+
/**Method invokes when print action icon is clickes */
|
|
107
|
+
printClicked(event, element) {
|
|
108
|
+
this.action.emit({ action: 'print', value: element });
|
|
109
|
+
event.stopPropagation();
|
|
110
|
+
}
|
|
111
|
+
/**Method invokes when a row is clicked */
|
|
112
|
+
rowClicked(event, element) {
|
|
113
|
+
this.rowClick.emit(element);
|
|
114
|
+
event.stopPropagation();
|
|
115
|
+
}
|
|
116
|
+
/**Method invokes when menu action icon is hovered */
|
|
117
|
+
actionMenuClick(event, element, menuValue) {
|
|
118
|
+
this.action.emit({ action: menuValue, value: element });
|
|
119
|
+
this.trigger.closeMenu();
|
|
120
|
+
event.stopPropagation();
|
|
121
|
+
}
|
|
122
|
+
/**Method invokes when menu action icon is hovered and selects for particular action*/
|
|
123
|
+
actionMenuTriggerClick(event, trigger) {
|
|
124
|
+
this.trigger = trigger;
|
|
125
|
+
event.stopPropagation();
|
|
126
|
+
}
|
|
127
|
+
checkEdit(ele) {
|
|
128
|
+
if (this.config.editDisableFunction) {
|
|
129
|
+
return this.config.editDisableFunction(ele);
|
|
130
|
+
}
|
|
131
|
+
return true;
|
|
132
|
+
}
|
|
133
|
+
checkView(ele) {
|
|
134
|
+
if (this.config.viewDisableFunction) {
|
|
135
|
+
return this.config.viewDisableFunction(ele);
|
|
136
|
+
}
|
|
137
|
+
return true;
|
|
138
|
+
}
|
|
139
|
+
checkPrint(ele) {
|
|
140
|
+
if (this.config.printDisableFunction) {
|
|
141
|
+
return this.config.printDisableFunction(ele);
|
|
142
|
+
}
|
|
143
|
+
return true;
|
|
144
|
+
}
|
|
145
|
+
checkActions(ele) {
|
|
146
|
+
if (this.config.actionsMenuFunction) {
|
|
147
|
+
return this.config.actionsMenuFunction(ele);
|
|
148
|
+
}
|
|
149
|
+
return true;
|
|
150
|
+
}
|
|
151
|
+
checkActionButton(ele, value) {
|
|
152
|
+
if (this.config.actionsMenuButtonFunction) {
|
|
153
|
+
return this.config.actionsMenuButtonFunction(ele, value);
|
|
154
|
+
}
|
|
155
|
+
return true;
|
|
156
|
+
}
|
|
157
|
+
getValue(ele, keyString) {
|
|
158
|
+
keyString = keyString.replace(/\[(\w+)\]/g, ".$1"); // convert indexes to properties
|
|
159
|
+
keyString = keyString.replace(/^\./, ""); // strip a leading dot
|
|
160
|
+
const keyList = keyString.split(".");
|
|
161
|
+
for (let i = 0, n = keyList.length; i < n; ++i) {
|
|
162
|
+
const key = keyList[i];
|
|
163
|
+
if (ele && key in ele) {
|
|
164
|
+
ele = ele[key];
|
|
165
|
+
}
|
|
166
|
+
else {
|
|
167
|
+
return;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
return ele;
|
|
171
|
+
}
|
|
172
|
+
ngOnDestroy() {
|
|
173
|
+
//Until Destroy uses it.
|
|
174
|
+
}
|
|
175
|
+
};
|
|
176
|
+
DataTableComponent.nextId = 0;
|
|
177
|
+
DataTableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: DataTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
178
|
+
DataTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: DataTableComponent, selector: "app-data-table", inputs: { data: "data", config: "config", selection: "selection", elementId: "elementId" }, outputs: { action: "action", selctionChange: "selctionChange", rowClick: "rowClick", tableScroll: "tableScroll", sortChanged: "sortChanged" }, viewQueries: [{ propertyName: "sort", first: true, predicate: MatSort, descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: "<div fxLayout=\"column\" [ngClass]=\"{\r\n 'mat-elevation-z1': !config.disableElevation\r\n }\" class=\"scroll-container\" infiniteScroll [infiniteScrollDistance]=\"1\" [infiniteScrollThrottle]=\"50\"\r\n (scrolled)=\"onScroll()\" [scrollWindow]=\"false\" [ngStyle]=\"config.style\">\r\n <table mat-table [dataSource]=\"dataSource\" matSort [id]=\"elementId\">\r\n <!-- Checkbox Column -->\r\n <ng-container matColumnDef=\"select\">\r\n <th mat-header-cell *matHeaderCellDef style=\"width:60px\">\r\n <mat-checkbox *ngIf=\"selection\" (change)=\"$event ? masterToggle() : null\"\r\n [checked]=\"selection.hasValue() && isAllSelected()\"\r\n [indeterminate]=\"selection.hasValue() && !isAllSelected()\">\r\n </mat-checkbox>\r\n </th>\r\n <td mat-cell *matCellDef=\"let row\" style=\"width:60px\">\r\n <mat-checkbox *ngIf=\"selection\" (click)=\"$event.stopPropagation()\"\r\n (change)=\"$event ? selection.toggle(row) : null\" [checked]=\"selection.isSelected(row)\">\r\n </mat-checkbox>\r\n </td>\r\n </ng-container>\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 index = index\">\r\n {{ (index + 1) }}\r\n </td>\r\n </ng-container>\r\n\r\n <ng-container matColumnDef=\"actions\">\r\n <th mat-header-cell *matHeaderCellDef class=\"action-width d-print-none\">\r\n {{ config.customActionLabel }}\r\n </th>\r\n\r\n <td mat-cell *matCellDef=\"let element; let index = index\" class=\"d-print-none\">\r\n <div>\r\n <button *ngIf=\"\r\n config.actionsConfig.download && element[config.downloadLink]\r\n \" type=\"button\" mat-icon-button (click)=\"downloadClicked($event, element)\">\r\n <mat-icon>vertical_align_bottom</mat-icon>\r\n </button>\r\n\r\n <button *ngIf=\"config.actionsConfig.edit\" [disabled]=\"!this.checkEdit(element)\" type=\"button\"\r\n mat-icon-button (click)=\"editClicked($event, element)\">\r\n <mat-icon>edit</mat-icon>\r\n </button>\r\n\r\n <button *ngIf=\"config.actionsConfig.print\" [disabled]=\"!this.checkPrint(element)\" type=\"button\"\r\n mat-icon-button (click)=\"printClicked($event,element)\">\r\n <mat-icon>print</mat-icon>\r\n </button>\r\n\r\n <button *ngIf=\"config.actionsConfig.view\" [disabled]=\"!this.checkView(element)\" type=\"button\"\r\n mat-icon-button (click)=\"viewClicked($event, element)\">\r\n <mat-icon>description</mat-icon>\r\n </button>\r\n\r\n <button *ngIf=\"config.actionsConfig.deactivate\" type=\"button\" mat-icon-button\r\n (click)=\"deactivateClicked($event, element)\">\r\n <mat-icon>delete</mat-icon>\r\n </button>\r\n\r\n <button #menuTrigger=\"matMenuTrigger\" *ngIf=\"\r\n config.actionsConfig.actionsMenu &&\r\n this.checkActions(element) &&\r\n config.actionsConfig.actionsMenu.length > 0\r\n \" type=\"button\" mat-icon-button [matMenuTriggerFor]=\"actionsMenu\"\r\n (click)=\"actionMenuTriggerClick($event, menuTrigger)\">\r\n <mat-icon>more_vert</mat-icon>\r\n </button>\r\n </div>\r\n\r\n <mat-menu #actionsMenu=\"matMenu\">\r\n <div *ngFor=\"let item of config.actionsConfig.actionsMenu\">\r\n <button *ngIf=\"this.checkActionButton(element, item.value)\" mat-menu-item\r\n (click)=\"actionMenuClick($event, element, item.value)\">\r\n <span>{{ item.name }}</span>\r\n </button>\r\n </div>\r\n </mat-menu>\r\n </td>\r\n </ng-container>\r\n\r\n <!-- Actual Columns -->\r\n <ng-container matColumnDef=\"{{ column.value }}\" *ngFor=\"let column of config.columnsConfig\">\r\n <ng-container *ngIf=\"column?.sort; else noSort\">\r\n <th mat-header-cell *matHeaderCellDef mat-sort-header>\r\n {{ column.title }}\r\n </th>\r\n </ng-container>\r\n <ng-template #noSort>\r\n <th mat-header-cell *matHeaderCellDef>\r\n {{ column.title }}\r\n </th>\r\n </ng-template>\r\n <ng-container *ngIf=\"column.dateField; else currencyField\">\r\n <td mat-cell *matCellDef=\"let element\">\r\n <div class=\"text-truncate\" appToolTip>\r\n {{ getValue(element, column.value) | date:column.format? column.format: 'mediumDate' }}\r\n </div>\r\n </td>\r\n </ng-container>\r\n\r\n <ng-template #currencyField>\r\n <div *ngIf=\"column.currencyField; else normalField\">\r\n <td mat-cell *matCellDef=\"let element\">\r\n <div class=\"text-truncate\" appToolTip>\r\n {{ getValue(element, column.value) | currency: \"$\":'symbol' : '1.0-0' }}\r\n </div>\r\n </td>\r\n </div>\r\n </ng-template>\r\n\r\n <ng-template #normalField>\r\n <td mat-cell *matCellDef=\"let element\">\r\n <div class=\"text-truncate\" appToolTip>\r\n {{ getValue(element, column.value) }}\r\n </div>\r\n </td>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"config.stickyHeader; else normalHeader\">\r\n <tr class=\"font-weight-bold\" mat-header-row *matHeaderRowDef=\"config.displayedColumns; sticky:true\"></tr>\r\n </ng-container>\r\n <ng-template #normalHeader>\r\n <tr class=\"font-weight-bold\" mat-header-row *matHeaderRowDef=\"config.displayedColumns;\">\r\n </tr>\r\n </ng-template>\r\n\r\n <div *ngIf=\"!config.enableRowClick\">\r\n <tr mat-row *matRowDef=\"let row; columns: config.displayedColumns\"></tr>\r\n </div>\r\n\r\n <div *ngIf=\"config.enableRowClick\">\r\n <tr mat-row *matRowDef=\"let row; columns: config.displayedColumns\" (click)=\"rowClicked($event, row)\"\r\n class=\"hoverable row-hover\"></tr>\r\n </div>\r\n </table>\r\n</div>", styles: ["table{width:100%}.mat-table{background:inherit}.mat-column-select{overflow:initial}td.mat-cell,td.mat-footer-cell,th.mat-header-cell{padding:0 2px}.action-width{min-width:175px;width:175px!important}.noOverFlow{overflow-x:auto;overflow-y:hidden}.scroll-container{max-height:400px;overflow:auto}.mat-header-row{position:sticky;top:0;background-color:inherit}tr.row-hover:hover{background-color:#dcdcdc}td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type,th.mat-header-cell:first-of-type{padding-left:24px!important}\n"], dependencies: [{ kind: "directive", type: i1.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: i2.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { kind: "directive", type: i2.DefaultStyleDirective, selector: " [ngStyle], [ngStyle.xs], [ngStyle.sm], [ngStyle.md], [ngStyle.lg], [ngStyle.xl], [ngStyle.lt-sm], [ngStyle.lt-md], [ngStyle.lt-lg], [ngStyle.lt-xl], [ngStyle.gt-xs], [ngStyle.gt-sm], [ngStyle.gt-md], [ngStyle.gt-lg]", inputs: ["ngStyle", "ngStyle.xs", "ngStyle.sm", "ngStyle.md", "ngStyle.lg", "ngStyle.xl", "ngStyle.lt-sm", "ngStyle.lt-md", "ngStyle.lt-lg", "ngStyle.lt-xl", "ngStyle.gt-xs", "ngStyle.gt-sm", "ngStyle.gt-md", "ngStyle.gt-lg"] }, { kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i4.InfiniteScrollDirective, selector: "[infiniteScroll], [infinite-scroll], [data-infinite-scroll]", inputs: ["infiniteScrollDistance", "infiniteScrollUpDistance", "infiniteScrollThrottle", "infiniteScrollDisabled", "infiniteScrollContainer", "scrollWindow", "immediateCheck", "horizontal", "alwaysCallback", "fromRoot"], outputs: ["scrolled", "scrolledUp"] }, { kind: "component", type: i5.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: i6.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }, { kind: "component", type: i7.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i8.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { kind: "component", type: i8.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i8.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { kind: "directive", type: i9.MatSort, selector: "[matSort]", inputs: ["matSortDisabled", "matSortActive", "matSortStart", "matSortDirection", "matSortDisableClear"], outputs: ["matSortChange"], exportAs: ["matSort"] }, { kind: "component", type: i9.MatSortHeader, selector: "[mat-sort-header]", inputs: ["disabled", "mat-sort-header", "arrowPosition", "start", "sortActionDescription", "disableClear"], exportAs: ["matSortHeader"] }, { kind: "component", type: i10.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i10.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i10.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i10.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { kind: "directive", type: i10.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i10.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i10.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i10.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i10.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i10.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "pipe", type: i3.CurrencyPipe, name: "currency" }, { kind: "pipe", type: i3.DatePipe, name: "date" }] });
|
|
179
|
+
DataTableComponent = DataTableComponent_1 = __decorate([
|
|
180
|
+
UntilDestroy()
|
|
181
|
+
], DataTableComponent);
|
|
182
|
+
export { DataTableComponent };
|
|
183
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: DataTableComponent, decorators: [{
|
|
184
|
+
type: Component,
|
|
185
|
+
args: [{ selector: "app-data-table", template: "<div fxLayout=\"column\" [ngClass]=\"{\r\n 'mat-elevation-z1': !config.disableElevation\r\n }\" class=\"scroll-container\" infiniteScroll [infiniteScrollDistance]=\"1\" [infiniteScrollThrottle]=\"50\"\r\n (scrolled)=\"onScroll()\" [scrollWindow]=\"false\" [ngStyle]=\"config.style\">\r\n <table mat-table [dataSource]=\"dataSource\" matSort [id]=\"elementId\">\r\n <!-- Checkbox Column -->\r\n <ng-container matColumnDef=\"select\">\r\n <th mat-header-cell *matHeaderCellDef style=\"width:60px\">\r\n <mat-checkbox *ngIf=\"selection\" (change)=\"$event ? masterToggle() : null\"\r\n [checked]=\"selection.hasValue() && isAllSelected()\"\r\n [indeterminate]=\"selection.hasValue() && !isAllSelected()\">\r\n </mat-checkbox>\r\n </th>\r\n <td mat-cell *matCellDef=\"let row\" style=\"width:60px\">\r\n <mat-checkbox *ngIf=\"selection\" (click)=\"$event.stopPropagation()\"\r\n (change)=\"$event ? selection.toggle(row) : null\" [checked]=\"selection.isSelected(row)\">\r\n </mat-checkbox>\r\n </td>\r\n </ng-container>\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 index = index\">\r\n {{ (index + 1) }}\r\n </td>\r\n </ng-container>\r\n\r\n <ng-container matColumnDef=\"actions\">\r\n <th mat-header-cell *matHeaderCellDef class=\"action-width d-print-none\">\r\n {{ config.customActionLabel }}\r\n </th>\r\n\r\n <td mat-cell *matCellDef=\"let element; let index = index\" class=\"d-print-none\">\r\n <div>\r\n <button *ngIf=\"\r\n config.actionsConfig.download && element[config.downloadLink]\r\n \" type=\"button\" mat-icon-button (click)=\"downloadClicked($event, element)\">\r\n <mat-icon>vertical_align_bottom</mat-icon>\r\n </button>\r\n\r\n <button *ngIf=\"config.actionsConfig.edit\" [disabled]=\"!this.checkEdit(element)\" type=\"button\"\r\n mat-icon-button (click)=\"editClicked($event, element)\">\r\n <mat-icon>edit</mat-icon>\r\n </button>\r\n\r\n <button *ngIf=\"config.actionsConfig.print\" [disabled]=\"!this.checkPrint(element)\" type=\"button\"\r\n mat-icon-button (click)=\"printClicked($event,element)\">\r\n <mat-icon>print</mat-icon>\r\n </button>\r\n\r\n <button *ngIf=\"config.actionsConfig.view\" [disabled]=\"!this.checkView(element)\" type=\"button\"\r\n mat-icon-button (click)=\"viewClicked($event, element)\">\r\n <mat-icon>description</mat-icon>\r\n </button>\r\n\r\n <button *ngIf=\"config.actionsConfig.deactivate\" type=\"button\" mat-icon-button\r\n (click)=\"deactivateClicked($event, element)\">\r\n <mat-icon>delete</mat-icon>\r\n </button>\r\n\r\n <button #menuTrigger=\"matMenuTrigger\" *ngIf=\"\r\n config.actionsConfig.actionsMenu &&\r\n this.checkActions(element) &&\r\n config.actionsConfig.actionsMenu.length > 0\r\n \" type=\"button\" mat-icon-button [matMenuTriggerFor]=\"actionsMenu\"\r\n (click)=\"actionMenuTriggerClick($event, menuTrigger)\">\r\n <mat-icon>more_vert</mat-icon>\r\n </button>\r\n </div>\r\n\r\n <mat-menu #actionsMenu=\"matMenu\">\r\n <div *ngFor=\"let item of config.actionsConfig.actionsMenu\">\r\n <button *ngIf=\"this.checkActionButton(element, item.value)\" mat-menu-item\r\n (click)=\"actionMenuClick($event, element, item.value)\">\r\n <span>{{ item.name }}</span>\r\n </button>\r\n </div>\r\n </mat-menu>\r\n </td>\r\n </ng-container>\r\n\r\n <!-- Actual Columns -->\r\n <ng-container matColumnDef=\"{{ column.value }}\" *ngFor=\"let column of config.columnsConfig\">\r\n <ng-container *ngIf=\"column?.sort; else noSort\">\r\n <th mat-header-cell *matHeaderCellDef mat-sort-header>\r\n {{ column.title }}\r\n </th>\r\n </ng-container>\r\n <ng-template #noSort>\r\n <th mat-header-cell *matHeaderCellDef>\r\n {{ column.title }}\r\n </th>\r\n </ng-template>\r\n <ng-container *ngIf=\"column.dateField; else currencyField\">\r\n <td mat-cell *matCellDef=\"let element\">\r\n <div class=\"text-truncate\" appToolTip>\r\n {{ getValue(element, column.value) | date:column.format? column.format: 'mediumDate' }}\r\n </div>\r\n </td>\r\n </ng-container>\r\n\r\n <ng-template #currencyField>\r\n <div *ngIf=\"column.currencyField; else normalField\">\r\n <td mat-cell *matCellDef=\"let element\">\r\n <div class=\"text-truncate\" appToolTip>\r\n {{ getValue(element, column.value) | currency: \"$\":'symbol' : '1.0-0' }}\r\n </div>\r\n </td>\r\n </div>\r\n </ng-template>\r\n\r\n <ng-template #normalField>\r\n <td mat-cell *matCellDef=\"let element\">\r\n <div class=\"text-truncate\" appToolTip>\r\n {{ getValue(element, column.value) }}\r\n </div>\r\n </td>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"config.stickyHeader; else normalHeader\">\r\n <tr class=\"font-weight-bold\" mat-header-row *matHeaderRowDef=\"config.displayedColumns; sticky:true\"></tr>\r\n </ng-container>\r\n <ng-template #normalHeader>\r\n <tr class=\"font-weight-bold\" mat-header-row *matHeaderRowDef=\"config.displayedColumns;\">\r\n </tr>\r\n </ng-template>\r\n\r\n <div *ngIf=\"!config.enableRowClick\">\r\n <tr mat-row *matRowDef=\"let row; columns: config.displayedColumns\"></tr>\r\n </div>\r\n\r\n <div *ngIf=\"config.enableRowClick\">\r\n <tr mat-row *matRowDef=\"let row; columns: config.displayedColumns\" (click)=\"rowClicked($event, row)\"\r\n class=\"hoverable row-hover\"></tr>\r\n </div>\r\n </table>\r\n</div>", styles: ["table{width:100%}.mat-table{background:inherit}.mat-column-select{overflow:initial}td.mat-cell,td.mat-footer-cell,th.mat-header-cell{padding:0 2px}.action-width{min-width:175px;width:175px!important}.noOverFlow{overflow-x:auto;overflow-y:hidden}.scroll-container{max-height:400px;overflow:auto}.mat-header-row{position:sticky;top:0;background-color:inherit}tr.row-hover:hover{background-color:#dcdcdc}td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type,th.mat-header-cell:first-of-type{padding-left:24px!important}\n"] }]
|
|
186
|
+
}], ctorParameters: function () { return []; }, propDecorators: { data: [{
|
|
187
|
+
type: Input
|
|
188
|
+
}], config: [{
|
|
189
|
+
type: Input
|
|
190
|
+
}], selection: [{
|
|
191
|
+
type: Input
|
|
192
|
+
}], action: [{
|
|
193
|
+
type: Output
|
|
194
|
+
}], selctionChange: [{
|
|
195
|
+
type: Output
|
|
196
|
+
}], rowClick: [{
|
|
197
|
+
type: Output
|
|
198
|
+
}], tableScroll: [{
|
|
199
|
+
type: Output
|
|
200
|
+
}], sortChanged: [{
|
|
201
|
+
type: Output
|
|
202
|
+
}], sort: [{
|
|
203
|
+
type: ViewChild,
|
|
204
|
+
args: [MatSort, { static: true }]
|
|
205
|
+
}], elementId: [{
|
|
206
|
+
type: Input
|
|
207
|
+
}] } });
|
|
208
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS10YWJsZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtdGVjaGxpZnktY29yZS9zcmMvbGliL2RhdGEtdGFibGUvZGF0YS10YWJsZS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtdGVjaGxpZnktY29yZS9zc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N0ZWQoKVwiPlxyXG4gICAgICAgICAgICAgICAgPC9tYXQtY2hlY2tib3g+XHJcbiAgICAgICAgICAgIDwvdGg+XHJcbiAgICAgICAgICAgIDx0ZCBtYXQtY2VsbCAqbWF0Q2VsbERlZj1cImxldCByb3dcIiBzdHlsZT1cIndpZHRoOjYwcHhcIj5cclxuICAgICAgICAgICAgICAgIDxtYXQtY2hlY2tib3ggKm5nSWY9XCJzZWxlY3Rpb25cIiAoY2xpY2spPVwiJGV2ZW50LnN0b3BQcm9wYWdhdGlvbigpXCJcclxuICAgICAgICAgICAgICAgICAgICAoY2hhbmdlKT1cIiRldmVudCA/IHNlbGVjdGlvbi50b2dnbGUocm93KSA6IG51bGxcIiBbY2hlY2tlZF09XCJzZWxlY3Rpb24uaXNTZWxlY3RlZChyb3cpXCI+XHJcbiAgICAgICAgICAgICAgICA8L21hdC1jaGVja2JveD5cclxuICAgICAgICAgICAgPC90ZD5cclxuICAgICAgICA8L25nLWNvbnRhaW5lcj5cclxuXHJcbiAgICAgICAgPCEtLSBJbmRleCBDb2x1bW4gLS0+XHJcbiAgICAgICAgPG5nLWNvbnRhaW5lciBtYXRDb2x1bW5EZWY9XCJpbmRleFwiPlxyXG4gICAgICAgICAgICA8dGggbWF0LWhlYWRlci1jZWxsICptYXRIZWFkZXJDZWxsRGVmPiM8L3RoPlxyXG4gICAgICAgICAgICA8dGQgbWF0LWNlbGwgKm1hdENlbGxEZWY9XCJsZXQgaW5kZXggPSBpbmRleFwiPlxyXG4gICAgICAgICAgICAgICAge3sgKGluZGV4ICsgMSkgfX1cclxuICAgICAgICAgICAgPC90ZD5cclxuICAgICAgICA8L25nLWNvbnRhaW5lcj5cclxuXHJcbiAgICAgICAgPG5nLWNvbnRhaW5lciBtYXRDb2x1bW5EZWY9XCJhY3Rpb25zXCI+XHJcbiAgICAgICAgICAgIDx0aCBtYXQtaGVhZGVyLWNlbGwgKm1hdEhlYWRlckNlbGxEZWYgY2xhc3M9XCJhY3Rpb24td2lkdGggZC1wcmludC1ub25lXCI+XHJcbiAgICAgICAgICAgICAgICB7eyBjb25maWcuY3VzdG9tQWN0aW9uTGFiZWwgfX1cclxuICAgICAgICAgICAgPC90aD5cclxuXHJcbiAgICAgICAgICAgIDx0ZCBtYXQtY2VsbCAqbWF0Q2VsbERlZj1cImxldCBlbGVtZW50OyBsZXQgaW5kZXggPSBpbmRleFwiIGNsYXNzPVwiZC1wcmludC1ub25lXCI+XHJcbiAgICAgICAgICAgICAgICA8ZGl2PlxyXG4gICAgICAgICAgICAgICAgICAgIDxidXR0b24gKm5nSWY9XCJcclxuICAgICAgICAgICAgICBjb25maWcuYWN0aW9uc0NvbmZpZy5kb3dubG9hZCAmJiBlbGVtZW50W2NvbmZpZy5kb3dubG9hZExpbmtdXHJcbiAgICAgICAgICAgIFwiIHR5cGU9XCJidXR0b25cIiBtYXQtaWNvbi1idXR0b24gKGNsaWNrKT1cImRvd25sb2FkQ2xpY2tlZCgkZXZlbnQsIGVsZW1lbnQpXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDxtYXQtaWNvbj52ZXJ0aWNhbF9hbGlnbl9ib3R0b208L21hdC1pY29uPlxyXG4gICAgICAgICAgICAgICAgICAgIDwvYnV0dG9uPlxyXG5cclxuICAgICAgICAgICAgICAgICAgICA8YnV0dG9uICpuZ0lmPVwiY29uZmlnLmFjdGlvbnNDb25maWcuZWRpdFwiIFtkaXNhYmxlZF09XCIhdGhpcy5jaGVja0VkaXQoZWxlbWVudClcIiB0eXBlPVwiYnV0dG9uXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgbWF0LWljb24tYnV0dG9uIChjbGljayk9XCJlZGl0Q2xpY2tlZCgkZXZlbnQsIGVsZW1lbnQpXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDxtYXQtaWNvbj5lZGl0PC9tYXQtaWNvbj5cclxuICAgICAgICAgICAgICAgICAgICA8L2J1dHRvbj5cclxuXHJcbiAgICAgICAgICAgICAgICAgICAgPGJ1dHRvbiAqbmdJZj1cImNvbmZpZy5hY3Rpb25zQ29uZmlnLnByaW50XCIgW2Rpc2FibGVkXT1cIiF0aGlzLmNoZWNrUHJpbnQoZWxlbWVudClcIiB0eXBlPVwiYnV0dG9uXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgbWF0LWljb24tYnV0dG9uIChjbGljayk9XCJwcmludENsaWNrZWQoJGV2ZW50LGVsZW1lbnQpXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDxtYXQtaWNvbj5wcmludDwvbWF0LWljb24+XHJcbiAgICAgICAgICAgICAgICAgICAgPC9idXR0b24+XHJcblxyXG4gICAgICAgICAgICAgICAgICAgIDxidXR0b24gKm5nSWY9XCJjb25maWcuYWN0aW9uc0NvbmZpZy52aWV3XCIgW2Rpc2FibGVkXT1cIiF0aGlzLmNoZWNrVmlldyhlbGVtZW50KVwiIHR5cGU9XCJidXR0b25cIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICBtYXQtaWNvbi1idXR0b24gKGNsaWNrKT1cInZpZXdDbGlja2VkKCRldmVudCwgZWxlbWVudClcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgPG1hdC1pY29uPmRlc2NyaXB0aW9uPC9tYXQtaWNvbj5cclxuICAgICAgICAgICAgICAgICAgICA8L2J1dHRvbj5cclxuXHJcbiAgICAgICAgICAgICAgICAgICAgPGJ1dHRvbiAqbmdJZj1cImNvbmZpZy5hY3Rpb25zQ29uZmlnLmRlYWN0aXZhdGVcIiB0eXBlPVwiYnV0dG9uXCIgbWF0LWljb24tYnV0dG9uXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIChjbGljayk9XCJkZWFjdGl2YXRlQ2xpY2tlZCgkZXZlbnQsIGVsZW1lbnQpXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDxtYXQtaWNvbj5kZWxldGU8L21hdC1pY29uPlxyXG4gICAgICAgICAgICAgICAgICAgIDwvYnV0dG9uPlxyXG5cclxuICAgICAgICAgICAgICAgICAgICA8YnV0dG9uICNtZW51VHJpZ2dlcj1cIm1hdE1lbnVUcmlnZ2VyXCIgKm5nSWY9XCJcclxuICAgICAgICAgICAgICBjb25maWcuYWN0aW9uc0NvbmZpZy5hY3Rpb25zTWVudSAmJlxyXG4gICAgICAgICAgICAgIHRoaXMuY2hlY2tBY3Rpb25zKGVsZW1lbnQpICYmXHJcbiAgICAgICAgICAgICAgY29uZmlnLmFjdGlvbnNDb25maWcuYWN0aW9uc01lbnUubGVuZ3RoID4gMFxyXG4gICAgICAgICAgICBcIiB0eXBlPVwiYnV0dG9uXCIgbWF0LWljb24tYnV0dG9uIFttYXRNZW51VHJpZ2dlckZvcl09XCJhY3Rpb25zTWVudVwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIChjbGljayk9XCJhY3Rpb25NZW51VHJpZ2dlckNsaWNrKCRldmVudCwgbWVudVRyaWdnZXIpXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDxtYXQtaWNvbj5tb3JlX3ZlcnQ8L21hdC1pY29uPlxyXG4gICAgICAgICAgICAgICAgICAgIDwvYnV0dG9uPlxyXG4gICAgICAgICAgICAgICAgPC9kaXY+XHJcblxyXG4gICAgICAgICAgICAgICAgPG1hdC1tZW51ICNhY3Rpb25zTWVudT1cIm1hdE1lbnVcIj5cclxuICAgICAgICAgICAgICAgICAgICA8ZGl2ICpuZ0Zvcj1cImxldCBpdGVtIG9mIGNvbmZpZy5hY3Rpb25zQ29uZmlnLmFjdGlvbnNNZW51XCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDxidXR0b24gKm5nSWY9XCJ0aGlzLmNoZWNrQWN0aW9uQnV0dG9uKGVsZW1lbnQsIGl0ZW0udmFsdWUpXCIgbWF0LW1lbnUtaXRlbVxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgKGNsaWNrKT1cImFjdGlvbk1lbnVDbGljaygkZXZlbnQsIGVsZW1lbnQsIGl0ZW0udmFsdWUpXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8c3Bhbj57eyBpdGVtLm5hbWUgfX08L3NwYW4+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDwvYnV0dG9uPlxyXG4gICAgICAgICAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICAgICAgPC9tYXQtbWVudT5cclxuICAgICAgICAgICAgPC90ZD5cclxuICAgICAgICA8L25nLWNvbnRhaW5lcj5cclxuXHJcbiAgICAgICAgPCEtLSBBY3R1YWwgQ29sdW1ucyAtLT5cclxuICAgICAgICA8bmctY29udGFpbmVyIG1hdENvbHVtbkRlZj1cInt7IGNvbHVtbi52YWx1ZSB9fVwiICpuZ0Zvcj1cImxldCBjb2x1bW4gb2YgY29uZmlnLmNvbHVtbnNDb25maWdcIj5cclxuICAgICAgICAgICAgPG5nLWNvbnRhaW5lciAqbmdJZj1cImNvbHVtbj8uc29ydDsgZWxzZSBub1NvcnRcIj5cclxuICAgICAgICAgICAgICAgIDx0aCBtYXQtaGVhZGVyLWNlbGwgKm1hdEhlYWRlckNlbGxEZWYgbWF0LXNvcnQtaGVhZGVyPlxyXG4gICAgICAgICAgICAgICAgICAgIHt7IGNvbHVtbi50aXRsZSB9fVxyXG4gICAgICAgICAgICAgICAgPC90aD5cclxuICAgICAgICAgICAgPC9uZy1jb250YWluZXI+XHJcbiAgICAgICAgICAgIDxuZy10ZW1wbGF0ZSAjbm9Tb3J0PlxyXG4gICAgICAgICAgICAgICAgPHRoIG1hdC1oZWFkZXItY2VsbCAqbWF0SGVhZGVyQ2VsbERlZj5cclxuICAgICAgICAgICAgICAgICAgICB7eyBjb2x1bW4udGl0bGUgfX1cclxuICAgICAgICAgICAgICAgIDwvdGg+XHJcbiAgICAgICAgICAgIDwvbmctdGVtcGxhdGU+XHJcbiAgICAgICAgICAgIDxuZy1jb250YWluZXIgKm5nSWY9XCJjb2x1bW4uZGF0ZUZpZWxkOyBlbHNlIGN1cnJlbmN5RmllbGRcIj5cclxuICAgICAgICAgICAgICAgIDx0ZCBtYXQtY2VsbCAqbWF0Q2VsbERlZj1cImxldCBlbGVtZW50XCI+XHJcbiAgICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cInRleHQtdHJ1bmNhdGVcIiBhcHBUb29sVGlwPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICB7eyBnZXRWYWx1ZShlbGVtZW50LCBjb2x1bW4udmFsdWUpIHwgZGF0ZTpjb2x1bW4uZm9ybWF0PyBjb2x1bW4uZm9ybWF0OiAnbWVkaXVtRGF0ZScgfX1cclxuICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgICAgIDwvdGQ+XHJcbiAgICAgICAgICAgIDwvbmctY29udGFpbmVyPlxyXG5cclxuICAgICAgICAgICAgPG5nLXRlbXBsYXRlICNjdXJyZW5jeUZpZWxkPlxyXG4gICAgICAgICAgICAgICAgPGRpdiAqbmdJZj1cImNvbHVtbi5jdXJyZW5jeUZpZWxkOyBlbHNlIG5vcm1hbEZpZWxkXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgPHRkIG1hdC1jZWxsICptYXRDZWxsRGVmPVwibGV0IGVsZW1lbnRcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cInRleHQtdHJ1bmNhdGVcIiBhcHBUb29sVGlwPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAge3sgZ2V0VmFsdWUoZWxlbWVudCwgY29sdW1uLnZhbHVlKSB8IGN1cnJlbmN5OiBcIiRcIjonc3ltYm9sJyA6ICcxLjAtMCcgfX1cclxuICAgICAgICAgICAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgICAgICAgICAgPC90ZD5cclxuICAgICAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICA8L25nLXRlbXBsYXRlPlxyXG5cclxuICAgICAgICAgICAgPG5nLXRlbXBsYXRlICNub3JtYWxGaWVsZD5cclxuICAgICAgICAgICAgICAgIDx0ZCBtYXQtY2VsbCAqbWF0Q2VsbERlZj1cImxldCBlbGVtZW50XCI+XHJcbiAgICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cInRleHQtdHJ1bmNhdGVcIiBhcHBUb29sVGlwPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICB7eyBnZXRWYWx1ZShlbGVtZW50LCBjb2x1bW4udmFsdWUpIH19XHJcbiAgICAgICAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgICAgICA8L3RkPlxyXG4gICAgICAgICAgICA8L25nLXRlbXBsYXRlPlxyXG4gICAgICAgIDwvbmctY29udGFpbmVyPlxyXG5cclxuICAgICAgICA8bmctY29udGFpbmVyICpuZ0lmPVwiY29uZmlnLnN0aWNreUhlYWRlcjsgZWxzZSBub3JtYWxIZWFkZXJcIj5cclxuICAgICAgICAgICAgPHRyIGNsYXNzPVwiZm9udC13ZWlnaHQtYm9sZFwiIG1hdC1oZWFkZXItcm93ICptYXRIZWFkZXJSb3dEZWY9XCJjb25maWcuZGlzcGxheWVkQ29sdW1uczsgc3RpY2t5OnRydWVcIj48L3RyPlxyXG4gICAgICAgIDwvbmctY29udGFpbmVyPlxyXG4gICAgICAgIDxuZy10ZW1wbGF0ZSAjbm9ybWFsSGVhZGVyPlxyXG4gICAgICAgICAgICA8dHIgY2xhc3M9XCJmb250LXdlaWdodC1ib2xkXCIgbWF0LWhlYWRlci1yb3cgKm1hdEhlYWRlclJvd0RlZj1cImNvbmZpZy5kaXNwbGF5ZWRDb2x1bW5zO1wiPlxyXG4gICAgICAgICAgICA8L3RyPlxyXG4gICAgICAgIDwvbmctdGVtcGxhdGU+XHJcblxyXG4gICAgICAgIDxkaXYgKm5nSWY9XCIhY29uZmlnLmVuYWJsZVJvd0NsaWNrXCI+XHJcbiAgICAgICAgICAgIDx0ciBtYXQtcm93ICptYXRSb3dEZWY9XCJsZXQgcm93OyBjb2x1bW5zOiBjb25maWcuZGlzcGxheWVkQ29sdW1uc1wiPjwvdHI+XHJcbiAgICAgICAgPC9kaXY+XHJcblxyXG4gICAgICAgIDxkaXYgKm5nSWY9XCJjb25maWcuZW5hYmxlUm93Q2xpY2tcIj5cclxuICAgICAgICAgICAgPHRyIG1hdC1yb3cgKm1hdFJvd0RlZj1cImxldCByb3c7IGNvbHVtbnM6IGNvbmZpZy5kaXNwbGF5ZWRDb2x1bW5zXCIgKGNsaWNrKT1cInJvd0NsaWNrZWQoJGV2ZW50LCByb3cpXCJcclxuICAgICAgICAgICAgICAgIGNsYXNzPVwiaG92ZXJhYmxlIHJvdy1ob3ZlclwiPjwvdHI+XHJcbiAgICAgICAgPC9kaXY+XHJcbiAgICA8L3RhYmxlPlxyXG48L2Rpdj4iXX0=
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export class DataTable {
|
|
2
|
+
}
|
|
3
|
+
class ColumnConfig {
|
|
4
|
+
}
|
|
5
|
+
class ActionConfig {
|
|
6
|
+
}
|
|
7
|
+
class ActionsMenu {
|
|
8
|
+
}
|
|
9
|
+
export class PageEvent {
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS10YWJsZS5tb2RlbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC10ZWNobGlmeS1jb3JlL3NyYy9saWIvZGF0YS10YWJsZS9kYXRhLXRhYmxlLm1vZGVsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sT0FBTyxTQUFTO0NBbUJyQjtBQUVELE1BQU0sWUFBWTtDQU9qQjtBQUVELE1BQU0sWUFBWTtDQU9qQjtBQUVELE1BQU0sV0FBVztDQUdoQjtBQUVELE1BQU0sT0FBTyxTQUFTO0NBSXJCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNsYXNzIERhdGFUYWJsZSB7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V3PzogYm9vbGVhbjtcclxuICAgIGRvd25sb2FkPzogYm9vbGVhbjtcclxuICAgIHByaW50PzogYm9vbGVhbjtcclxuICAgIGRlYWN0aXZhdGU/OiBib29sZWFuO1xyXG4gICAgYWN0aW9uc01lbnU/OiBBY3Rpb25zTWVudVtdO1xyXG59XHJcblxyXG5jbGFzcyBBY3Rpb25zTWVudSB7XHJcbiAgICBuYW1lOiBzdHJpbmc7XHJcbiAgICB2YWx1ZTogc3RyaW5nO1xyXG59XHJcblxyXG5leHBvcnQgY2xhc3MgUGFnZUV2ZW50IHtcclxuICAgIHBhZ2U6IG51bWJlcjtcclxuICAgIGxhc3RQYWdlPzogbnVtYmVyO1xyXG4gICAgcGVyUGFnZTogbnVtYmVyO1xyXG59XHJcbiJdfQ==
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { FlexLayoutModule } from '@angular/flex-layout';
|
|
4
|
+
import { DataTableComponent } from './data-table.component';
|
|
5
|
+
import { InfiniteScrollModule } from "ngx-infinite-scroll";
|
|
6
|
+
import { MaterialModule } from '../material.module';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export class DataTableModule {
|
|
9
|
+
}
|
|
10
|
+
DataTableModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: DataTableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
11
|
+
DataTableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.7", ngImport: i0, type: DataTableModule, declarations: [DataTableComponent], imports: [FlexLayoutModule,
|
|
12
|
+
CommonModule,
|
|
13
|
+
InfiniteScrollModule,
|
|
14
|
+
MaterialModule], exports: [DataTableComponent] });
|
|
15
|
+
DataTableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: DataTableModule, imports: [FlexLayoutModule,
|
|
16
|
+
CommonModule,
|
|
17
|
+
InfiniteScrollModule,
|
|
18
|
+
MaterialModule] });
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: DataTableModule, decorators: [{
|
|
20
|
+
type: NgModule,
|
|
21
|
+
args: [{
|
|
22
|
+
imports: [
|
|
23
|
+
FlexLayoutModule,
|
|
24
|
+
CommonModule,
|
|
25
|
+
InfiniteScrollModule,
|
|
26
|
+
MaterialModule
|
|
27
|
+
],
|
|
28
|
+
declarations: [
|
|
29
|
+
DataTableComponent
|
|
30
|
+
],
|
|
31
|
+
exports: [
|
|
32
|
+
DataTableComponent
|
|
33
|
+
]
|
|
34
|
+
}]
|
|
35
|
+
}] });
|
|
36
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS10YWJsZS5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtdGVjaGxpZnktY29yZS9zcmMvbGliL2RhdGEtdGFibGUvZGF0YS10YWJsZS5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sc0JBQXNCLENBQUM7QUFDeEQsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sd0JBQXdCLENBQUM7QUFDNUQsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDM0QsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLG9CQUFvQixDQUFDOztBQWlCcEQsTUFBTSxPQUFPLG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ICAgSW5maW5pdGVTY3JvbGxNb2R1bGUsXHJcbiAgICBNYXRlcmlhbE1vZHVsZVxyXG4gIF0sXHJcbiAgZGVjbGFyYXRpb25zOiBbXHJcbiAgICBEYXRhVGFibGVDb21wb25lbnRcclxuICBdLFxyXG4gIGV4cG9ydHM6IFtcclxuICAgIERhdGFUYWJsZUNvbXBvbmVudFxyXG4gIF1cclxufSlcclxuZXhwb3J0IGNsYXNzIERhdGFUYWJsZU1vZHVsZSB7IH1cclxuIl19
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './data-table.component';
|
|
2
|
+
export * from './data-table.model';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtdGVjaGxpZnktY29yZS9zcmMvbGliL2RhdGEtdGFibGUvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx3QkFBd0IsQ0FBQztBQUN2QyxjQUFjLG9CQUFvQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9kYXRhLXRhYmxlLmNvbXBvbmVudCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vZGF0YS10YWJsZS5tb2RlbCc7Il19
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export function DateValidator() {
|
|
2
|
+
return (control) => {
|
|
3
|
+
const val = new Date(control.value);
|
|
4
|
+
if (!!control.value && val == 'Invalid Date') {
|
|
5
|
+
return { invalidDate: true };
|
|
6
|
+
}
|
|
7
|
+
return null;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZS12YWxpZGF0b3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlc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Output } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/common";
|
|
4
|
+
import * as i2 from "@angular/flex-layout/extended";
|
|
5
|
+
import * as i3 from "ngx-doc-viewer";
|
|
6
|
+
import * as i4 from "@angular/material/button";
|
|
7
|
+
import * as i5 from "@angular/material/card";
|
|
8
|
+
export class DocumentViewerComponent {
|
|
9
|
+
constructor() {
|
|
10
|
+
this.remove = new EventEmitter();
|
|
11
|
+
}
|
|
12
|
+
ngOnInit() {
|
|
13
|
+
this.initData();
|
|
14
|
+
}
|
|
15
|
+
removeFile() {
|
|
16
|
+
this.remove.emit();
|
|
17
|
+
}
|
|
18
|
+
initData() {
|
|
19
|
+
if (this.file) {
|
|
20
|
+
var ext = this.getFileExtension(this.file);
|
|
21
|
+
if (ext === 'ppt' || ext === 'pptx' || ext === 'doc' || ext === 'docx' || ext === 'xls' || ext === 'xlsx') {
|
|
22
|
+
this.viewerType = "office";
|
|
23
|
+
}
|
|
24
|
+
else if (ext === 'jpg' || ext === 'jpeg' || ext === 'png' || ext === 'gif') {
|
|
25
|
+
this.viewerType = "image";
|
|
26
|
+
}
|
|
27
|
+
else if (ext === 'pdf') {
|
|
28
|
+
this.viewerType = "pdf";
|
|
29
|
+
}
|
|
30
|
+
else {
|
|
31
|
+
this.viewerType = null;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
get fileName() {
|
|
36
|
+
if (this.file) {
|
|
37
|
+
let nameArray = this.file.split('/');
|
|
38
|
+
if (nameArray.length === 2) {
|
|
39
|
+
return nameArray[1];
|
|
40
|
+
}
|
|
41
|
+
return nameArray[0];
|
|
42
|
+
}
|
|
43
|
+
return '';
|
|
44
|
+
}
|
|
45
|
+
getFileExtension(file) {
|
|
46
|
+
return file.split('.').pop();
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
DocumentViewerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: DocumentViewerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
50
|
+
DocumentViewerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: DocumentViewerComponent, selector: "app-document-viewer", inputs: { config: "config", file: "file", fileUrl: "fileUrl", disableEdit: "disableEdit" }, outputs: { remove: "remove" }, ngImport: i0, template: "<mat-card *ngIf=\"viewerType === 'image'\">\r\n <img [ngStyle]=\"config.imageStyle\" mat-card-image [src]=\"fileUrl\" />\r\n <mat-card-actions>\r\n <button type=\"button\" mat-raised-button (click)=\"removeFile()\" *ngIf=\"!disableEdit && !config.hideRemove\">\r\n Remove\r\n </button>\r\n </mat-card-actions>\r\n</mat-card>\r\n\r\n<div class=\"mat-elevation-z1 p-4\" *ngIf=\"viewerType !== 'image'\">\r\n <a [href]=\"fileUrl\" target=\"_blank\">{{fileName}}</a>\r\n <ngx-doc-viewer [ngStyle]=\"config.viewerStyle\" *ngIf=\"viewerType !== null\" [url]=\"fileUrl\" [viewer]=\"viewerType\">\r\n </ngx-doc-viewer>\r\n <div class=\"mt-2\" *ngIf=\"!config.hideRemove\">\r\n <button type=\"button\" mat-raised-button (click)=\"removeFile()\" *ngIf=\"!disableEdit\">\r\n Remove\r\n </button>\r\n </div>\r\n</div>", styles: [".image-fit{height:100%;width:100%;object-fit:cover}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i2.DefaultStyleDirective, selector: " [ngStyle], [ngStyle.xs], [ngStyle.sm], [ngStyle.md], [ngStyle.lg], [ngStyle.xl], [ngStyle.lt-sm], [ngStyle.lt-md], [ngStyle.lt-lg], [ngStyle.lt-xl], [ngStyle.gt-xs], [ngStyle.gt-sm], [ngStyle.gt-md], [ngStyle.gt-lg]", inputs: ["ngStyle", "ngStyle.xs", "ngStyle.sm", "ngStyle.md", "ngStyle.lg", "ngStyle.xl", "ngStyle.lt-sm", "ngStyle.lt-md", "ngStyle.lt-lg", "ngStyle.lt-xl", "ngStyle.gt-xs", "ngStyle.gt-sm", "ngStyle.gt-md", "ngStyle.gt-lg"] }, { kind: "component", type: i3.NgxDocViewerComponent, selector: "ngx-doc-viewer", inputs: ["url", "queryParams", "viewerUrl", "googleCheckInterval", "disableContent", "googleCheckContentLoaded", "viewer"], outputs: ["loaded"] }, { kind: "component", type: i4.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: i5.MatCard, selector: "mat-card", exportAs: ["matCard"] }, { kind: "directive", type: i5.MatCardActions, selector: "mat-card-actions", inputs: ["align"], exportAs: ["matCardActions"] }, { kind: "directive", type: i5.MatCardImage, selector: "[mat-card-image], [matCardImage]" }] });
|
|
51
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: DocumentViewerComponent, decorators: [{
|
|
52
|
+
type: Component,
|
|
53
|
+
args: [{ selector: 'app-document-viewer', template: "<mat-card *ngIf=\"viewerType === 'image'\">\r\n <img [ngStyle]=\"config.imageStyle\" mat-card-image [src]=\"fileUrl\" />\r\n <mat-card-actions>\r\n <button type=\"button\" mat-raised-button (click)=\"removeFile()\" *ngIf=\"!disableEdit && !config.hideRemove\">\r\n Remove\r\n </button>\r\n </mat-card-actions>\r\n</mat-card>\r\n\r\n<div class=\"mat-elevation-z1 p-4\" *ngIf=\"viewerType !== 'image'\">\r\n <a [href]=\"fileUrl\" target=\"_blank\">{{fileName}}</a>\r\n <ngx-doc-viewer [ngStyle]=\"config.viewerStyle\" *ngIf=\"viewerType !== null\" [url]=\"fileUrl\" [viewer]=\"viewerType\">\r\n </ngx-doc-viewer>\r\n <div class=\"mt-2\" *ngIf=\"!config.hideRemove\">\r\n <button type=\"button\" mat-raised-button (click)=\"removeFile()\" *ngIf=\"!disableEdit\">\r\n Remove\r\n </button>\r\n </div>\r\n</div>", styles: [".image-fit{height:100%;width:100%;object-fit:cover}\n"] }]
|
|
54
|
+
}], ctorParameters: function () { return []; }, propDecorators: { config: [{
|
|
55
|
+
type: Input
|
|
56
|
+
}], file: [{
|
|
57
|
+
type: Input
|
|
58
|
+
}], fileUrl: [{
|
|
59
|
+
type: Input
|
|
60
|
+
}], disableEdit: [{
|
|
61
|
+
type: Input
|
|
62
|
+
}], remove: [{
|
|
63
|
+
type: Output
|
|
64
|
+
}] } });
|
|
65
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG9jdW1lbnQtdmlld2VyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC10ZWNobGlmeS1jb3JlL3NyYy9saWIvZG9jdW1lbnQtdmlld2VyL2RvY3VtZW50LXZpZXdlci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtdGVjaGxpZnktY29yZS9zcmMvbGliL2RvY3VtZW50LXZpZXdlci9kb2N1bWVudC12aWV3ZXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBVSxLQUFLLEVBQUUsWUFBWSxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQzs7Ozs7OztBQVEvRSxNQUFNLE9BQU8sdUJBQXVCO0lBY2xDO1FBSFUsV0FBTSxHQUFHLElBQUksWUFBWSxFQUFFLENBQUM7SUFHdEIsQ0FBQztJQUVqQixRQUFRO1FBQ04sSUFBSSxDQUFDLFFBQVEsRUFBRSxDQUFDO0lBQ2xCLENBQUM7SU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gIT09ICdpbWFnZSdcIj5cclxuICAgIDxhIFtocmVmXT1cImZpbGVVcmxcIiB0YXJnZXQ9XCJfYmxhbmtcIj57e2ZpbGVOYW1lfX08L2E+XHJcbiAgICA8bmd4LWRvYy12aWV3ZXIgW25nU3R5bGVdPVwiY29uZmlnLnZpZXdlclN0eWxlXCIgKm5nSWY9XCJ2aWV3ZXJUeXBlICE9PSBudWxsXCIgW3VybF09XCJmaWxlVXJsXCIgW3ZpZXdlcl09XCJ2aWV3ZXJUeXBlXCI+XHJcbiAgICA8L25neC1kb2Mtdmlld2VyPlxyXG4gICAgPGRpdiBjbGFzcz1cIm10LTJcIiAqbmdJZj1cIiFjb25maWcuaGlkZVJlbW92ZVwiPlxyXG4gICAgICAgIDxidXR0b24gdHlwZT1cImJ1dHRvblwiIG1hdC1yYWlzZWQtYnV0dG9uIChjbGljayk9XCJyZW1vdmVGaWxlKClcIiAqbmdJZj1cIiFkaXNhYmxlRWRpdFwiPlxyXG4gICAgICAgICAgICBSZW1vdmVcclxuICAgICAgICA8L2J1dHRvbj5cclxuICAgIDwvZGl2PlxyXG48L2Rpdj4iXX0=
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { FlexLayoutModule } from '@angular/flex-layout';
|
|
4
|
+
import { DocumentViewerComponent } from './document-viewer.component';
|
|
5
|
+
import { NgxDocViewerModule } from 'ngx-doc-viewer';
|
|
6
|
+
import { MaterialModule } from '../material.module';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export class DocumentViewerModule {
|
|
9
|
+
}
|
|
10
|
+
DocumentViewerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: DocumentViewerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
11
|
+
DocumentViewerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.7", ngImport: i0, type: DocumentViewerModule, declarations: [DocumentViewerComponent], imports: [CommonModule,
|
|
12
|
+
FlexLayoutModule,
|
|
13
|
+
NgxDocViewerModule,
|
|
14
|
+
MaterialModule], exports: [DocumentViewerComponent] });
|
|
15
|
+
DocumentViewerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: DocumentViewerModule, imports: [CommonModule,
|
|
16
|
+
FlexLayoutModule,
|
|
17
|
+
NgxDocViewerModule,
|
|
18
|
+
MaterialModule] });
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: DocumentViewerModule, decorators: [{
|
|
20
|
+
type: NgModule,
|
|
21
|
+
args: [{
|
|
22
|
+
imports: [
|
|
23
|
+
CommonModule,
|
|
24
|
+
FlexLayoutModule,
|
|
25
|
+
NgxDocViewerModule,
|
|
26
|
+
MaterialModule
|
|
27
|
+
],
|
|
28
|
+
declarations: [
|
|
29
|
+
DocumentViewerComponent
|
|
30
|
+
],
|
|
31
|
+
exports: [
|
|
32
|
+
DocumentViewerComponent
|
|
33
|
+
]
|
|
34
|
+
}]
|
|
35
|
+
}] });
|
|
36
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG9jdW1lbnQtdmlld2VyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC10ZWNobGlmeS1jb3JlL3NyYy9saWIvZG9jdW1lbnQtdmlld2VyL2RvY3VtZW50LXZpZXdlci5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0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bmVudCc7XHJcbmltcG9ydCB7IE5neERvY1ZpZXdlck1vZHVsZSB9IGZyb20gJ25neC1kb2Mtdmlld2VyJztcclxuaW1wb3J0IHsgTWF0ZXJpYWxNb2R1bGUgfSBmcm9tICcuLi9tYXRlcmlhbC5tb2R1bGUnO1xyXG5cclxuQE5nTW9kdWxlKHtcclxuICBpbXBvcnRzOiBbXHJcbiAgICBDb21tb25Nb2R1bGUsXHJcbiAgICBGbGV4TGF5b3V0TW9kdWxlLFxyXG4gICAgTmd4RG9jVmlld2VyTW9kdWxlLFxyXG4gICAgTWF0ZXJpYWxNb2R1bGVcclxuICBdLFxyXG4gIGRlY2xhcmF0aW9uczogW1xyXG4gICAgRG9jdW1lbnRWaWV3ZXJDb21wb25lbnRcclxuICBdLFxyXG4gIGV4cG9ydHM6IFtcclxuICAgIERvY3VtZW50Vmlld2VyQ29tcG9uZW50XHJcbiAgXVxyXG59KVxyXG5leHBvcnQgY2xhc3MgRG9jdW1lbnRWaWV3ZXJNb2R1bGUgeyB9XHJcbiJdfQ==
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './document-viewer.component';
|
|
2
|
+
export * from './viewer-config.model';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtdGVjaGxpZnktY29yZS9zcmMvbGliL2RvY3VtZW50LXZpZXdlci9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDZCQUE2QixDQUFDO0FBQzVDLGNBQWMsdUJBQXVCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2RvY3VtZW50LXZpZXdlci5jb21wb25lbnQnO1xyXG5leHBvcnQgKiBmcm9tICcuL3ZpZXdlci1jb25maWcubW9kZWwnOyJdfQ==
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export class ViewerConfig {
|
|
2
|
+
}
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmlld2VyLWNvbmZpZy5tb2RlbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC10ZWNobGlmeS1jb3JlL3NyYy9saWIvZG9jdW1lbnQtdmlld2VyL3ZpZXdlci1jb25maWcubW9kZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxPQUFPLFlBQVk7Q0FJeEIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgY2xhc3MgVmlld2VyQ29uZmlnIHtcclxuICBpbWFnZVN0eWxlPzogYW55O1xyXG4gIHZpZXdlclN0eWxlPzogYW55O1xyXG4gIGhpZGVSZW1vdmU/OiBib29sZWFuO1xyXG59XHJcbiJdfQ==
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { RouterModule } from '@angular/router';
|
|
3
|
+
import { AuthenticationGuard } from '../../core/authentication.guard';
|
|
4
|
+
import { EmailSubscriptionForUserComponent } from './email-subscription-for-user.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@angular/router";
|
|
7
|
+
export const esfur = {
|
|
8
|
+
permissions: {
|
|
9
|
+
only: ['client_admin']
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
const routes = [
|
|
13
|
+
{
|
|
14
|
+
path: '',
|
|
15
|
+
component: EmailSubscriptionForUserComponent,
|
|
16
|
+
canActivate: [AuthenticationGuard],
|
|
17
|
+
data: esfur
|
|
18
|
+
},
|
|
19
|
+
];
|
|
20
|
+
export class EmailSubscriptionForUserRoutingModule {
|
|
21
|
+
}
|
|
22
|
+
EmailSubscriptionForUserRoutingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: EmailSubscriptionForUserRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
23
|
+
EmailSubscriptionForUserRoutingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.7", ngImport: i0, type: EmailSubscriptionForUserRoutingModule, imports: [i1.RouterModule], exports: [RouterModule] });
|
|
24
|
+
EmailSubscriptionForUserRoutingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: EmailSubscriptionForUserRoutingModule, imports: [RouterModule.forChild(routes), RouterModule] });
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: EmailSubscriptionForUserRoutingModule, decorators: [{
|
|
26
|
+
type: NgModule,
|
|
27
|
+
args: [{
|
|
28
|
+
imports: [RouterModule.forChild(routes)],
|
|
29
|
+
exports: [RouterModule]
|
|
30
|
+
}]
|
|
31
|
+
}] });
|
|
32
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW1haWwtc3Vic2NyaXB0aW9uLWZvci11c2VyLXJvdXRpbmcubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LXRlY2hsaWZ5LWNvcmUvc3JjL2xpYi9lbWFpbC1zdWJzY3JpcHRpb24vZW1haWwtc3Vic2NyaXB0aW9uLWZvci11c2VyL2VtYWlsLXN1YnNjcmlwdGlvbi1mb3ItdXNlci1yb3V0aW5nLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBVSxZQUFZLEVBQUUsTUFBTS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