wt-front-shared 1.0.17 → 1.0.19
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/core/+state/actions/actions.actions.mjs +5 -0
- package/esm2020/lib/core/+state/actions/actions.effects.mjs +56 -0
- package/esm2020/lib/core/+state/actions/actions.facade.mjs +32 -0
- package/esm2020/lib/core/+state/actions/actions.reducer.mjs +65 -0
- package/esm2020/lib/core/+state/actions/actions.selectors.mjs +18 -0
- package/esm2020/lib/core/+state/actions/behavios/action-send-behavior.mjs +37 -0
- package/esm2020/lib/core/+state/base.effects.mjs +22 -0
- package/esm2020/lib/core/+state/behavior.mjs +24 -0
- package/esm2020/lib/core/+state/cache-data/behavios/get-cache-data-behavior.mjs +41 -0
- package/esm2020/lib/core/+state/cache-data/cache-data.actions.mjs +5 -0
- package/esm2020/lib/core/+state/cache-data/cache-data.effects.mjs +39 -0
- package/esm2020/lib/core/+state/cache-data/cache-data.facade.mjs +27 -0
- package/esm2020/lib/core/+state/cache-data/cache-data.reducer.mjs +22 -0
- package/esm2020/lib/core/+state/cache-data/cache-data.selectors.mjs +10 -0
- package/esm2020/lib/core/+state/core.actions.mjs +37 -0
- package/esm2020/lib/core/+state/core.facade.mjs +31 -0
- package/esm2020/lib/core/+state/core.selectors.mjs +24 -0
- package/esm2020/lib/core/+state/files/behavios/file-delete-behavior.mjs +41 -0
- package/esm2020/lib/core/+state/files/behavios/file-update-behavior.mjs +43 -0
- package/esm2020/lib/core/+state/files/behavios/files-load-behavior.mjs +43 -0
- package/esm2020/lib/core/+state/files/behavios/files-sort-behavior.mjs +43 -0
- package/esm2020/lib/core/+state/files/files.actions.mjs +15 -0
- package/esm2020/lib/core/+state/files/files.effects.mjs +84 -0
- package/esm2020/lib/core/+state/files/files.facade.mjs +46 -0
- package/esm2020/lib/core/+state/files/files.reducer.mjs +50 -0
- package/esm2020/lib/core/+state/files/files.selectors.mjs +43 -0
- package/esm2020/lib/core/+state/files/index.mjs +6 -0
- package/esm2020/lib/core/+state/form-delete-file/behavios/form-delete-file-behavior.mjs +47 -0
- package/esm2020/lib/core/+state/form-delete-file/form-delete-file.actions.mjs +5 -0
- package/esm2020/lib/core/+state/form-delete-file/form-delete-file.effects.mjs +49 -0
- package/esm2020/lib/core/+state/form-delete-file/form-delete-file.facade.mjs +19 -0
- package/esm2020/lib/core/+state/form-delete-file/index.mjs +2 -0
- package/esm2020/lib/core/+state/form-errors/form-errors.actions.mjs +8 -0
- package/esm2020/lib/core/+state/form-errors/form-errors.effects.mjs +40 -0
- package/esm2020/lib/core/+state/form-errors/form-errors.facade.mjs +26 -0
- package/esm2020/lib/core/+state/form-errors/form-errors.reducer.mjs +37 -0
- package/esm2020/lib/core/+state/form-errors/form-errors.selectors.mjs +14 -0
- package/esm2020/lib/core/+state/form-errors/index.mjs +4 -0
- package/esm2020/lib/core/+state/form-validation/behavios/form-validation-check-behavior.mjs +42 -0
- package/esm2020/lib/core/+state/form-validation/form-validation.actions.mjs +5 -0
- package/esm2020/lib/core/+state/form-validation/form-validation.effects.mjs +39 -0
- package/esm2020/lib/core/+state/form-validation/form-validation.facade.mjs +23 -0
- package/esm2020/lib/core/+state/form-validation/form-validation.reducer.mjs +38 -0
- package/esm2020/lib/core/+state/form-validation/form-validation.selectors.mjs +10 -0
- package/esm2020/lib/core/+state/form-validation/index.mjs +4 -0
- package/esm2020/lib/core/+state/forms/forms.actions.mjs +9 -0
- package/esm2020/lib/core/+state/forms/forms.effects.mjs +40 -0
- package/esm2020/lib/core/+state/forms/forms.facade.mjs +29 -0
- package/esm2020/lib/core/+state/forms/forms.reducer.mjs +41 -0
- package/esm2020/lib/core/+state/forms/forms.selectors.mjs +13 -0
- package/esm2020/lib/core/+state/forms/index.mjs +4 -0
- package/esm2020/lib/core/+state/index.mjs +112 -0
- package/esm2020/lib/core/+state/main/index.mjs +4 -0
- package/esm2020/lib/core/+state/main/main.actions.mjs +8 -0
- package/esm2020/lib/core/+state/main/main.effects.mjs +22 -0
- package/esm2020/lib/core/+state/main/main.facade.mjs +19 -0
- package/esm2020/lib/core/+state/main/main.reducer.mjs +17 -0
- package/esm2020/lib/core/+state/main/main.selectors.mjs +10 -0
- package/esm2020/lib/core/+state/notifications/index.mjs +4 -0
- package/esm2020/lib/core/+state/notifications/notifications.actions.mjs +10 -0
- package/esm2020/lib/core/+state/notifications/notifications.effects.mjs +82 -0
- package/esm2020/lib/core/+state/notifications/notifications.facade.mjs +34 -0
- package/esm2020/lib/core/+state/notifications/notifications.reducer.mjs +25 -0
- package/esm2020/lib/core/+state/notifications/notifications.selectors.mjs +10 -0
- package/esm2020/lib/core/+state/publication-messages/behavios/publication-errors-post-behavior.mjs +71 -0
- package/esm2020/lib/core/+state/publication-messages/behavios/un-publication-post-behavior.mjs +46 -0
- package/esm2020/lib/core/+state/publication-messages/index.mjs +4 -0
- package/esm2020/lib/core/+state/publication-messages/publication-messages.actions.mjs +11 -0
- package/esm2020/lib/core/+state/publication-messages/publication-messages.effects.mjs +81 -0
- package/esm2020/lib/core/+state/publication-messages/publication-messages.facade.mjs +35 -0
- package/esm2020/lib/core/+state/publication-messages/publication-messages.reducer.mjs +43 -0
- package/esm2020/lib/core/+state/publication-messages/publication-messages.selectors.mjs +10 -0
- package/esm2020/lib/core/+state/reports/behavios/reports-entities-data-behavior.mjs +46 -0
- package/esm2020/lib/core/+state/reports/behavios/user-behavior-get-behavior.mjs +46 -0
- package/esm2020/lib/core/+state/reports/reports.actions.mjs +8 -0
- package/esm2020/lib/core/+state/reports/reports.effects.mjs +46 -0
- package/esm2020/lib/core/+state/reports/reports.facade.mjs +33 -0
- package/esm2020/lib/core/+state/reports/reports.reducer.mjs +35 -0
- package/esm2020/lib/core/+state/reports/reports.selectors.mjs +23 -0
- package/esm2020/lib/core/+state/requests/index.mjs +4 -0
- package/esm2020/lib/core/+state/requests/requests.actions.mjs +5 -0
- package/esm2020/lib/core/+state/requests/requests.facade.mjs +42 -0
- package/esm2020/lib/core/+state/requests/requests.reducer.mjs +66 -0
- package/esm2020/lib/core/+state/requests/requests.selectors.mjs +12 -0
- package/esm2020/lib/core/+state/router/custom-router-serializer.mjs +14 -0
- package/esm2020/lib/core/+state/router/index.mjs +6 -0
- package/esm2020/lib/core/+state/router/router.actions.mjs +7 -0
- package/esm2020/lib/core/+state/router/router.effects.mjs +73 -0
- package/esm2020/lib/core/+state/router/router.facade.mjs +19 -0
- package/esm2020/lib/core/+state/router/router.reducer.mjs +23 -0
- package/esm2020/lib/core/+state/router/router.selectors.mjs +33 -0
- package/esm2020/lib/core/+state/static-data/behavios/static-data-create-behavior.mjs +30 -0
- package/esm2020/lib/core/+state/static-data/behavios/static-data-delete-behavior.mjs +50 -0
- package/esm2020/lib/core/+state/static-data/behavios/static-data-get-list-behavior.mjs +51 -0
- package/esm2020/lib/core/+state/static-data/behavios/static-data-get-list-categories-behavior.mjs +30 -0
- package/esm2020/lib/core/+state/static-data/behavios/static-data-update-behavior.mjs +39 -0
- package/esm2020/lib/core/+state/static-data/static-data.actions.mjs +25 -0
- package/esm2020/lib/core/+state/static-data/static-data.effects.mjs +170 -0
- package/esm2020/lib/core/+state/static-data/static-data.facade.mjs +94 -0
- package/esm2020/lib/core/+state/static-data/static-data.reducer.mjs +295 -0
- package/esm2020/lib/core/+state/static-data/static-data.selectors.mjs +43 -0
- package/esm2020/lib/core/+state/tags/behavios/tag-entities-load-behavior.mjs +64 -0
- package/esm2020/lib/core/+state/tags/behavios/tags-load-behavior.mjs +43 -0
- package/esm2020/lib/core/+state/tags/index.mjs +4 -0
- package/esm2020/lib/core/+state/tags/tags.actions.mjs +8 -0
- package/esm2020/lib/core/+state/tags/tags.effects.mjs +45 -0
- package/esm2020/lib/core/+state/tags/tags.facade.mjs +37 -0
- package/esm2020/lib/core/+state/tags/tags.reducer.mjs +31 -0
- package/esm2020/lib/core/+state/tags/tags.selectors.mjs +40 -0
- package/esm2020/lib/core/+state/uiUnits/index.mjs +4 -0
- package/esm2020/lib/core/+state/uiUnits/uiUnits.actions.mjs +3 -0
- package/esm2020/lib/core/+state/uiUnits/uiUnits.effects.mjs +32 -0
- package/esm2020/lib/core/+state/uiUnits/uiUnits.facade.mjs +23 -0
- package/esm2020/lib/core/+state/uiUnits/uiUnits.reducer.mjs +20 -0
- package/esm2020/lib/core/+state/uiUnits/uiUnits.selectors.mjs +34 -0
- package/esm2020/lib/core/+state/update-entities/update-entities.actions.mjs +3 -0
- package/esm2020/lib/core/+state/update-entities/update-entities.effects.mjs +30 -0
- package/esm2020/lib/core/+state/users/behavios/login-send-behavior.mjs +44 -0
- package/esm2020/lib/core/+state/users/behavios/refresh-token-behavior.mjs +49 -0
- package/esm2020/lib/core/+state/users/index.mjs +4 -0
- package/esm2020/lib/core/+state/users/users.actions.mjs +15 -0
- package/esm2020/lib/core/+state/users/users.effects.mjs +168 -0
- package/esm2020/lib/core/+state/users/users.facade.mjs +38 -0
- package/esm2020/lib/core/+state/users/users.reducer.mjs +32 -0
- package/esm2020/lib/core/+state/users/users.selectors.mjs +19 -0
- package/esm2020/lib/core/animations/appearFromLeft.mjs +18 -0
- package/esm2020/lib/core/animations/appearFromLeftHideToRight.mjs +18 -0
- package/esm2020/lib/core/animations/appearFromLeftWithDelay.mjs +18 -0
- package/esm2020/lib/core/animations/appearFromRightWithDelay.mjs +18 -0
- package/esm2020/lib/core/animations/appearOpacity.mjs +18 -0
- package/esm2020/lib/core/animations/expandCollapse.mjs +18 -0
- package/esm2020/lib/core/animations/hideToTopOpacity.mjs +11 -0
- package/esm2020/lib/core/components/access-denied/access-denied.component.mjs +11 -0
- package/esm2020/lib/core/components/access-denied/access-denied.module.mjs +17 -0
- package/esm2020/lib/core/components/auto-form/auto-form.module.mjs +168 -0
- package/esm2020/lib/core/components/auto-form/components/form-field-file/form-field-file.component.mjs +161 -0
- package/esm2020/lib/core/components/auto-form/components/form-field-file-show/form-field-file-show.component.mjs +52 -0
- package/esm2020/lib/core/components/auto-form/components/form-field-files/form-field-files.component.mjs +103 -0
- package/esm2020/lib/core/components/auto-form/components/form-field-files-show/form-field-files-show.component.mjs +40 -0
- package/esm2020/lib/core/components/auto-form/components/form-field-input/form-field-input.component.mjs +77 -0
- package/esm2020/lib/core/components/auto-form/components/form-field-input-show/form-field-input-show.component.mjs +39 -0
- package/esm2020/lib/core/components/auto-form/components/form-field-select/form-field-select.component.mjs +191 -0
- package/esm2020/lib/core/components/auto-form/components/form-field-select-show/form-field-select-show.component.mjs +50 -0
- package/esm2020/lib/core/components/auto-form/components/form-field-slide-toggle/form-field-slide-toggle.component.mjs +18 -0
- package/esm2020/lib/core/components/auto-form/components/form-field-slide-toggle-show/form-field-slide-toggle-show.component.mjs +21 -0
- package/esm2020/lib/core/components/auto-form/components/form-field-spinner/form-field-spinner.component.mjs +12 -0
- package/esm2020/lib/core/components/auto-form/components/form-field-tags/form-field-tags.component.mjs +114 -0
- package/esm2020/lib/core/components/auto-form/components/form-message-box/form-message-box.component.mjs +101 -0
- package/esm2020/lib/core/components/auto-form/constants/auto-form-show-value.mjs +2 -0
- package/esm2020/lib/core/components/auto-form/constants/errors.mjs +35 -0
- package/esm2020/lib/core/components/auto-form/containers/auto-form-main/auto-form-main.component.mjs +200 -0
- package/esm2020/lib/core/components/auto-form/containers/auto-form-show/auto-form-show.component.mjs +48 -0
- package/esm2020/lib/core/components/auto-form/containers/auto-form-show-field/auto-form-show-field.component.mjs +51 -0
- package/esm2020/lib/core/components/auto-form/containers/form-field/form-field.component.mjs +162 -0
- package/esm2020/lib/core/components/auto-form/containers/publish-messages/publish-messages.component.mjs +131 -0
- package/esm2020/lib/core/components/auto-form/interfaces/field-type.mjs +14 -0
- package/esm2020/lib/core/components/auto-form/interfaces/form-field-format.mjs +9 -0
- package/esm2020/lib/core/components/auto-form/interfaces/form-field-option.mjs +2 -0
- package/esm2020/lib/core/components/auto-form/interfaces/form-field.mjs +2 -0
- package/esm2020/lib/core/components/auto-form/interfaces/input-type.mjs +11 -0
- package/esm2020/lib/core/components/bread-crumbs/bread-crumbs.component.mjs +18 -0
- package/esm2020/lib/core/components/bread-crumbs/bread-crumbs.module.mjs +19 -0
- package/esm2020/lib/core/components/button/ButtonSize.mjs +2 -0
- package/esm2020/lib/core/components/button/ButtonStyle.mjs +2 -0
- package/esm2020/lib/core/components/button/ButtonTheme.mjs +2 -0
- package/esm2020/lib/core/components/button/button.component.mjs +136 -0
- package/esm2020/lib/core/components/button/button.module.mjs +40 -0
- package/esm2020/lib/core/components/button/index.mjs +3 -0
- package/esm2020/lib/core/components/chips-input/chips-input.component.mjs +88 -0
- package/esm2020/lib/core/components/chips-input/chips-input.module.mjs +44 -0
- package/esm2020/lib/core/components/files-upload/constants.mjs +3 -0
- package/esm2020/lib/core/components/files-upload/file-list-card/file-list-card.component.mjs +131 -0
- package/esm2020/lib/core/components/files-upload/files-upload/files-upload.component.mjs +89 -0
- package/esm2020/lib/core/components/files-upload/files-upload-list-images/files-upload-list-images.component.mjs +97 -0
- package/esm2020/lib/core/components/files-upload/files-upload.module.mjs +68 -0
- package/esm2020/lib/core/components/files-upload/table-files-uploading/table-files-uploading.component.mjs +117 -0
- package/esm2020/lib/core/components/form-field-error/form-field-error.component.mjs +84 -0
- package/esm2020/lib/core/components/form-field-error/form-field-error.module.mjs +26 -0
- package/esm2020/lib/core/components/form-field-publish-error/form-field-publish-error.component.mjs +56 -0
- package/esm2020/lib/core/components/form-field-publish-error/form-field-publish-error.module.mjs +26 -0
- package/esm2020/lib/core/components/header/header.component.mjs +28 -0
- package/esm2020/lib/core/components/header/header.module.mjs +24 -0
- package/esm2020/lib/core/components/icon/icon.component.mjs +43 -0
- package/esm2020/lib/core/components/icon/icon.module.mjs +24 -0
- package/esm2020/lib/core/components/icon/index.mjs +3 -0
- package/esm2020/lib/core/components/image/image.component.mjs +65 -0
- package/esm2020/lib/core/components/image/image.module.mjs +24 -0
- package/esm2020/lib/core/components/input-tags/input-tags.component.mjs +29 -0
- package/esm2020/lib/core/components/input-tags/input-tags.module.mjs +24 -0
- package/esm2020/lib/core/components/pagination/pagination.component.mjs +50 -0
- package/esm2020/lib/core/components/pagination/pagination.module.mjs +28 -0
- package/esm2020/lib/core/components/panel/panel.component.mjs +36 -0
- package/esm2020/lib/core/components/panel/panel.module.mjs +28 -0
- package/esm2020/lib/core/components/smart-progress-bar/smart-progress-bar.component.mjs +21 -0
- package/esm2020/lib/core/components/smart-progress-bar/smart-progress-bar.module.mjs +18 -0
- package/esm2020/lib/core/components/spinner/spinner.component.mjs +29 -0
- package/esm2020/lib/core/components/spinner/spinner.module.mjs +24 -0
- package/esm2020/lib/core/components/star-rating/star-rating.component.mjs +23 -0
- package/esm2020/lib/core/components/star-rating/star-rating.module.mjs +22 -0
- package/esm2020/lib/core/components/sticky-sidebar/sticky-sidebar.directive.mjs +462 -0
- package/esm2020/lib/core/components/sticky-sidebar/sticky-sidebar.module.mjs +31 -0
- package/esm2020/lib/core/components/table-menu/table-menu.component.mjs +29 -0
- package/esm2020/lib/core/components/table-menu/table-menu.module.mjs +35 -0
- package/esm2020/lib/core/components/tag-cloud/tag-cloud.component.mjs +32 -0
- package/esm2020/lib/core/components/tag-cloud/tag-cloud.module.mjs +28 -0
- package/esm2020/lib/core/components/text-with-link-more/text-with-link-more.component.mjs +35 -0
- package/esm2020/lib/core/components/text-with-link-more/text-with-link-more.module.mjs +24 -0
- package/esm2020/lib/core/constants/async-validators-type.mjs +13 -0
- package/esm2020/lib/core/constants/constants.mjs +7 -0
- package/esm2020/lib/core/constants/publish-errors.const.mjs +31 -0
- package/esm2020/lib/core/constants/validators-type.mjs +9 -0
- package/esm2020/lib/core/dialogs/common-dialog/common-dialog.component.mjs +38 -0
- package/esm2020/lib/core/dialogs/delete/delete.component.mjs +28 -0
- package/esm2020/lib/core/dialogs/dialog.service.mjs +26 -0
- package/esm2020/lib/core/models/action-payload.mjs +2 -0
- package/esm2020/lib/core/models/form-error.mjs +2 -0
- package/esm2020/lib/core/models/form-validation.mjs +2 -0
- package/esm2020/lib/core/models/forms.mjs +2 -0
- package/esm2020/lib/core/models/http-client-result.mjs +2 -0
- package/esm2020/lib/core/models/meta-data.model.mjs +2 -0
- package/esm2020/lib/core/pipes/count-format.pipe.mjs +33 -0
- package/esm2020/lib/core/pipes/date-format.pipe.mjs +18 -0
- package/esm2020/lib/core/pipes/phone.pipe.mjs +27 -0
- package/esm2020/lib/core/pipes/pipes.module.mjs +39 -0
- package/esm2020/lib/core/pipes/safe.pipe.mjs +34 -0
- package/esm2020/lib/core/services/actions/actions-api.mjs +24 -0
- package/esm2020/lib/core/services/actions/actions.service.mjs +34 -0
- package/esm2020/lib/core/services/auth/authentication.service.mjs +99 -0
- package/esm2020/lib/core/services/auto-form/auto-form.service.mjs +153 -0
- package/esm2020/lib/core/services/base/base-api-service.mjs +246 -0
- package/esm2020/lib/core/services/base/base-api.mjs +6 -0
- package/esm2020/lib/core/services/base/index.mjs +3 -0
- package/esm2020/lib/core/services/base-auto-form/base-auto-form.service.mjs +64 -0
- package/esm2020/lib/core/services/cache-data/cache-data-api.mjs +24 -0
- package/esm2020/lib/core/services/cache-data/cache-data.service.mjs +34 -0
- package/esm2020/lib/core/services/files/files-api.mjs +49 -0
- package/esm2020/lib/core/services/files/files.service.mjs +43 -0
- package/esm2020/lib/core/services/form-delete-file/form-delete-file-api.mjs +32 -0
- package/esm2020/lib/core/services/form-delete-file/form-delete-file.service.mjs +34 -0
- package/esm2020/lib/core/services/form-validation/form-validation-api.mjs +32 -0
- package/esm2020/lib/core/services/form-validation/form-validation.service.mjs +34 -0
- package/esm2020/lib/core/services/index.mjs +4 -0
- package/esm2020/lib/core/services/model-services/tags/tags-api.mjs +27 -0
- package/esm2020/lib/core/services/model-services/tags/tags.service.mjs +37 -0
- package/esm2020/lib/core/services/publish/publish-api.mjs +38 -0
- package/esm2020/lib/core/services/publish/publish.service.mjs +37 -0
- package/esm2020/lib/core/services/reducer/reducer.service.mjs +59 -0
- package/esm2020/lib/core/services/reports/reports-api.mjs +28 -0
- package/esm2020/lib/core/services/reports/reports.service.mjs +37 -0
- package/esm2020/lib/core/services/router/router.service.mjs +21 -0
- package/esm2020/lib/core/services/static-data/static-data-api.mjs +42 -0
- package/esm2020/lib/core/services/static-data/static-data.service.mjs +52 -0
- package/esm2020/lib/core/services/users/users-api.mjs +38 -0
- package/esm2020/lib/core/services/users/users.service.mjs +37 -0
- package/esm2020/lib/core/tokens/index.mjs +4 -0
- package/esm2020/lib/core/utils/component-destroyed.mjs +21 -0
- package/esm2020/lib/core/utils/guid.mjs +10 -0
- package/esm2020/lib/core/utils/index.mjs +4 -0
- package/esm2020/lib/core/utils/track-by.mjs +4 -0
- package/esm2020/lib/models/config/app-config.mjs +2 -0
- package/esm2020/lib/models/config/index.mjs +2 -0
- package/esm2020/lib/models/embeds/embed-model.mjs +2 -0
- package/esm2020/lib/models/embeds/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/actions/actions-endpoint-types.mjs +5 -0
- package/esm2020/lib/models/endpoints/actions/actions-request-config.mjs +2 -0
- package/esm2020/lib/models/endpoints/actions/actions-response.mjs +2 -0
- package/esm2020/lib/models/endpoints/actions/index.mjs +3 -0
- package/esm2020/lib/models/endpoints/actions/send-actions/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/actions/send-actions/request/actions-send-request-config.mjs +2 -0
- package/esm2020/lib/models/endpoints/actions/send-actions/request/actions-send-request.mjs +27 -0
- package/esm2020/lib/models/endpoints/actions/send-actions/request/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/auth/auth-endpoint-types.mjs +6 -0
- package/esm2020/lib/models/endpoints/auth/auth-request-config.mjs +2 -0
- package/esm2020/lib/models/endpoints/auth/auth-response.mjs +2 -0
- package/esm2020/lib/models/endpoints/auth/index.mjs +3 -0
- package/esm2020/lib/models/endpoints/auth/login-send/index.mjs +3 -0
- package/esm2020/lib/models/endpoints/auth/login-send/request/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/auth/login-send/request/login-send-create-request-config.mjs +2 -0
- package/esm2020/lib/models/endpoints/auth/login-send/request/login-send-create-request.mjs +26 -0
- package/esm2020/lib/models/endpoints/auth/login-send/response/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/auth/login-send/response/login-send-create-201.mjs +2 -0
- package/esm2020/lib/models/endpoints/auth/login-send/response/login-send-create-response-factory.mjs +28 -0
- package/esm2020/lib/models/endpoints/auth/login-send/response/login-send-create-response.mjs +2 -0
- package/esm2020/lib/models/endpoints/auth/refresh-token/index.mjs +3 -0
- package/esm2020/lib/models/endpoints/auth/refresh-token/request/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/auth/refresh-token/request/refresh-token-request-config.mjs +2 -0
- package/esm2020/lib/models/endpoints/auth/refresh-token/request/refresh-token-request.mjs +21 -0
- package/esm2020/lib/models/endpoints/auth/refresh-token/response/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/auth/refresh-token/response/refresh-token-200.mjs +2 -0
- package/esm2020/lib/models/endpoints/auth/refresh-token/response/refresh-token-response-factory.mjs +28 -0
- package/esm2020/lib/models/endpoints/auth/refresh-token/response/refresh-token-response.mjs +2 -0
- package/esm2020/lib/models/endpoints/base-response/base-response-factory.mjs +31 -0
- package/esm2020/lib/models/endpoints/base-response/base-response.mjs +2 -0
- package/esm2020/lib/models/endpoints/base-response/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/base-response/response-200.mjs +2 -0
- package/esm2020/lib/models/endpoints/cache-data/cache-data-endpoint-types.mjs +5 -0
- package/esm2020/lib/models/endpoints/cache-data/cache-data-request-config.mjs +2 -0
- package/esm2020/lib/models/endpoints/cache-data/cache-data-response.mjs +2 -0
- package/esm2020/lib/models/endpoints/cache-data/get-cache-data/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/cache-data/get-cache-data/request/get-cache-data-request-config.mjs +2 -0
- package/esm2020/lib/models/endpoints/cache-data/get-cache-data/request/get-cache-data-request.mjs +22 -0
- package/esm2020/lib/models/endpoints/cache-data/get-cache-data/request/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/cache-data/index.mjs +3 -0
- package/esm2020/lib/models/endpoints/files/files-delete/index.mjs +3 -0
- package/esm2020/lib/models/endpoints/files/files-delete/request/files-delete-request-config.mjs +2 -0
- package/esm2020/lib/models/endpoints/files/files-delete/request/files-delete-request.mjs +21 -0
- package/esm2020/lib/models/endpoints/files/files-delete/request/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/files/files-delete/response/files-delete-200.mjs +2 -0
- package/esm2020/lib/models/endpoints/files/files-delete/response/files-delete-response-factory.mjs +28 -0
- package/esm2020/lib/models/endpoints/files/files-delete/response/files-delete-response.mjs +2 -0
- package/esm2020/lib/models/endpoints/files/files-delete/response/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/files/files-endpoint-types.mjs +8 -0
- package/esm2020/lib/models/endpoints/files/files-load/index.mjs +3 -0
- package/esm2020/lib/models/endpoints/files/files-load/request/files-load-request-config.mjs +2 -0
- package/esm2020/lib/models/endpoints/files/files-load/request/files-load-request.mjs +22 -0
- package/esm2020/lib/models/endpoints/files/files-load/request/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/files/files-load/response/files-load-200.mjs +2 -0
- package/esm2020/lib/models/endpoints/files/files-load/response/files-load-response-factory.mjs +28 -0
- package/esm2020/lib/models/endpoints/files/files-load/response/files-load-response.mjs +2 -0
- package/esm2020/lib/models/endpoints/files/files-load/response/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/files/files-request-config.mjs +2 -0
- package/esm2020/lib/models/endpoints/files/files-response.mjs +2 -0
- package/esm2020/lib/models/endpoints/files/files-sort/index.mjs +3 -0
- package/esm2020/lib/models/endpoints/files/files-sort/request/files-sort-request-config.mjs +2 -0
- package/esm2020/lib/models/endpoints/files/files-sort/request/files-sort-request.mjs +25 -0
- package/esm2020/lib/models/endpoints/files/files-sort/request/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/files/files-sort/response/files-sort-200.mjs +2 -0
- package/esm2020/lib/models/endpoints/files/files-sort/response/files-sort-response-factory.mjs +28 -0
- package/esm2020/lib/models/endpoints/files/files-sort/response/files-sort-response.mjs +2 -0
- package/esm2020/lib/models/endpoints/files/files-sort/response/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/files/files-update/index.mjs +3 -0
- package/esm2020/lib/models/endpoints/files/files-update/request/files-update-request-config.mjs +2 -0
- package/esm2020/lib/models/endpoints/files/files-update/request/files-update-request.mjs +30 -0
- package/esm2020/lib/models/endpoints/files/files-update/request/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/files/files-update/response/files-update-200.mjs +2 -0
- package/esm2020/lib/models/endpoints/files/files-update/response/files-update-response-factory.mjs +28 -0
- package/esm2020/lib/models/endpoints/files/files-update/response/files-update-response.mjs +2 -0
- package/esm2020/lib/models/endpoints/files/files-update/response/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/files/index.mjs +6 -0
- package/esm2020/lib/models/endpoints/form-delete-file/form-delete-file/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/form-delete-file/form-delete-file/request/form-delete-file-request-config.mjs +2 -0
- package/esm2020/lib/models/endpoints/form-delete-file/form-delete-file/request/form-delete-file-request.mjs +27 -0
- package/esm2020/lib/models/endpoints/form-delete-file/form-delete-file/request/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/form-delete-file/form-delete-file-base-endpoint-types.mjs +5 -0
- package/esm2020/lib/models/endpoints/form-delete-file/form-delete-file-base-request-config.mjs +2 -0
- package/esm2020/lib/models/endpoints/form-delete-file/form-delete-file-base-response.mjs +2 -0
- package/esm2020/lib/models/endpoints/form-delete-file/index.mjs +3 -0
- package/esm2020/lib/models/endpoints/form-validation/form-validation-check/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/form-validation/form-validation-check/request/form-validation-check-request-config.mjs +2 -0
- package/esm2020/lib/models/endpoints/form-validation/form-validation-check/request/form-validation-check-request.mjs +29 -0
- package/esm2020/lib/models/endpoints/form-validation/form-validation-check/request/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/form-validation/form-validation-endpoint-types.mjs +5 -0
- package/esm2020/lib/models/endpoints/form-validation/form-validation-request-config.mjs +2 -0
- package/esm2020/lib/models/endpoints/form-validation/form-validation-response.mjs +2 -0
- package/esm2020/lib/models/endpoints/form-validation/index.mjs +3 -0
- package/esm2020/lib/models/endpoints/http/index.mjs +3 -0
- package/esm2020/lib/models/endpoints/http/request/delete-request.mjs +9 -0
- package/esm2020/lib/models/endpoints/http/request/get-request.mjs +45 -0
- package/esm2020/lib/models/endpoints/http/request/index.mjs +6 -0
- package/esm2020/lib/models/endpoints/http/request/post-request.mjs +9 -0
- package/esm2020/lib/models/endpoints/http/request/put-request.mjs +9 -0
- package/esm2020/lib/models/endpoints/http/request/request-config.mjs +2 -0
- package/esm2020/lib/models/endpoints/http/request/request-headers.mjs +2 -0
- package/esm2020/lib/models/endpoints/http/request/request-method.mjs +8 -0
- package/esm2020/lib/models/endpoints/http/request/request.mjs +111 -0
- package/esm2020/lib/models/endpoints/http/request-result-info.mjs +2 -0
- package/esm2020/lib/models/endpoints/http/response/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/http/response/response-status.mjs +13 -0
- package/esm2020/lib/models/endpoints/http/response/response.mjs +2 -0
- package/esm2020/lib/models/endpoints/index.mjs +3 -0
- package/esm2020/lib/models/endpoints/publish/index.mjs +4 -0
- package/esm2020/lib/models/endpoints/publish/publish-endpoint-types.mjs +6 -0
- package/esm2020/lib/models/endpoints/publish/publish-post/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/publish/publish-post/request/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/publish/publish-post/request/publish-post-request-config.mjs +2 -0
- package/esm2020/lib/models/endpoints/publish/publish-post/request/publish-post-request.mjs +21 -0
- package/esm2020/lib/models/endpoints/publish/publish-request-config.mjs +2 -0
- package/esm2020/lib/models/endpoints/publish/publish-response.mjs +2 -0
- package/esm2020/lib/models/endpoints/publish/un-publish-post/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/publish/un-publish-post/request/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/publish/un-publish-post/request/un-publish-post-config.mjs +2 -0
- package/esm2020/lib/models/endpoints/publish/un-publish-post/request/un-publish-post-request.mjs +21 -0
- package/esm2020/lib/models/endpoints/reports/enities-report/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/reports/enities-report/request/entities-reports-request-config.mjs +2 -0
- package/esm2020/lib/models/endpoints/reports/enities-report/request/entities-reports-request.mjs +21 -0
- package/esm2020/lib/models/endpoints/reports/enities-report/request/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/reports/index.mjs +3 -0
- package/esm2020/lib/models/endpoints/reports/reports-endpoint-types.mjs +6 -0
- package/esm2020/lib/models/endpoints/reports/reports-request-config.mjs +2 -0
- package/esm2020/lib/models/endpoints/reports/reports-response.mjs +2 -0
- package/esm2020/lib/models/endpoints/reports/user-behavior-report/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/reports/user-behavior-report/request/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/reports/user-behavior-report/request/user-behavior-report-request-config.mjs +2 -0
- package/esm2020/lib/models/endpoints/reports/user-behavior-report/request/user-behavior-report-request.mjs +21 -0
- package/esm2020/lib/models/endpoints/static-data/index.mjs +9 -0
- package/esm2020/lib/models/endpoints/static-data/static-data-create/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/static-data/static-data-create/request/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/static-data/static-data-create/request/static-data-create-request-config.mjs +2 -0
- package/esm2020/lib/models/endpoints/static-data/static-data-create/request/static-data-create-request.mjs +29 -0
- package/esm2020/lib/models/endpoints/static-data/static-data-delete/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/static-data/static-data-delete/request/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/static-data/static-data-delete/request/static-data-delete-request-config.mjs +2 -0
- package/esm2020/lib/models/endpoints/static-data/static-data-delete/request/static-data-delete-request.mjs +21 -0
- package/esm2020/lib/models/endpoints/static-data/static-data-endpoint-types.mjs +11 -0
- package/esm2020/lib/models/endpoints/static-data/static-data-get/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/static-data/static-data-get/request/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/static-data/static-data-get/request/static-data-get-request-config.mjs +2 -0
- package/esm2020/lib/models/endpoints/static-data/static-data-get/request/static-data-get-request.mjs +40 -0
- package/esm2020/lib/models/endpoints/static-data/static-data-get-list/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/static-data/static-data-get-list/request/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/static-data/static-data-get-list/request/static-data-get-list-request-config.mjs +2 -0
- package/esm2020/lib/models/endpoints/static-data/static-data-get-list/request/static-data-get-list-request.mjs +40 -0
- package/esm2020/lib/models/endpoints/static-data/static-data-get-list-categories/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/static-data/static-data-get-list-categories/request/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/static-data/static-data-get-list-categories/request/static-data-get-list-categories-request-config.mjs +2 -0
- package/esm2020/lib/models/endpoints/static-data/static-data-get-list-categories/request/static-data-get-list-categories-request.mjs +22 -0
- package/esm2020/lib/models/endpoints/static-data/static-data-request-config.mjs +2 -0
- package/esm2020/lib/models/endpoints/static-data/static-data-response.mjs +2 -0
- package/esm2020/lib/models/endpoints/static-data/static-data-sub-routing-get/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/static-data/static-data-sub-routing-get/request/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/static-data/static-data-sub-routing-get/request/static-data-sub-routing-get-request-config.mjs +2 -0
- package/esm2020/lib/models/endpoints/static-data/static-data-sub-routing-get/request/static-data-sub-routing-get-request.mjs +21 -0
- package/esm2020/lib/models/endpoints/static-data/static-data-update/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/static-data/static-data-update/request/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/static-data/static-data-update/request/static-data-update-request-config.mjs +2 -0
- package/esm2020/lib/models/endpoints/static-data/static-data-update/request/static-data-update-request.mjs +30 -0
- package/esm2020/lib/models/endpoints/tags/index.mjs +4 -0
- package/esm2020/lib/models/endpoints/tags/tag-entities-load/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/tags/tag-entities-load/request/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/tags/tag-entities-load/request/tag-entities-load-request-config.mjs +2 -0
- package/esm2020/lib/models/endpoints/tags/tag-entities-load/request/tag-entities-request.mjs +22 -0
- package/esm2020/lib/models/endpoints/tags/tags-endpoint-types.mjs +10 -0
- package/esm2020/lib/models/endpoints/tags/tags-load/index.mjs +3 -0
- package/esm2020/lib/models/endpoints/tags/tags-load/request/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/tags/tags-load/request/tags-load-request-config.mjs +2 -0
- package/esm2020/lib/models/endpoints/tags/tags-load/request/tags-load-request.mjs +27 -0
- package/esm2020/lib/models/endpoints/tags/tags-load/response/index.mjs +2 -0
- package/esm2020/lib/models/endpoints/tags/tags-load/response/tags-load-200.mjs +2 -0
- package/esm2020/lib/models/endpoints/tags/tags-load/response/tags-load-response-factory.mjs +28 -0
- package/esm2020/lib/models/endpoints/tags/tags-load/response/tags-load-response.mjs +2 -0
- package/esm2020/lib/models/endpoints/tags/tags-request-config.mjs +2 -0
- package/esm2020/lib/models/endpoints/tags/tags-response.mjs +2 -0
- package/esm2020/lib/models/entity/entity-filters.mjs +2 -0
- package/esm2020/lib/models/entity/entity-query-field-names.mjs +23 -0
- package/esm2020/lib/models/entity/entity-query-fields.mjs +2 -0
- package/esm2020/lib/models/entity/entity-sort-type.mjs +8 -0
- package/esm2020/lib/models/entity/entity.mjs +3 -0
- package/esm2020/lib/models/entity/entity.type.mjs +8 -0
- package/esm2020/lib/models/entity/index.mjs +5 -0
- package/esm2020/lib/models/entity/paging.type.mjs +2 -0
- package/esm2020/lib/models/fields/fields-model.mjs +2 -0
- package/esm2020/lib/models/fields/index.mjs +2 -0
- package/esm2020/lib/models/index.mjs +11 -0
- package/esm2020/lib/models/mapper/index.mjs +3 -0
- package/esm2020/lib/models/mapper/mapper-util.mjs +66 -0
- package/esm2020/lib/models/mapper/mapper.mjs +28 -0
- package/esm2020/lib/models/model-adapter/base-model-adapter.mjs +41 -0
- package/esm2020/lib/models/model-adapter/index.mjs +2 -0
- package/esm2020/lib/models/models/actions/actions.model.mjs +3 -0
- package/esm2020/lib/models/models/actions/index.mjs +2 -0
- package/esm2020/lib/models/models/cache-data/cache-data.model.mjs +3 -0
- package/esm2020/lib/models/models/cache-data/index.mjs +2 -0
- package/esm2020/lib/models/models/file/file-field-names.mjs +13 -0
- package/esm2020/lib/models/models/file/file-model.mjs +5 -0
- package/esm2020/lib/models/models/file/file-scheme.mjs +24 -0
- package/esm2020/lib/models/models/file/index.mjs +5 -0
- package/esm2020/lib/models/models/file/versions-model.mjs +3 -0
- package/esm2020/lib/models/models/meta.model.mjs +3 -0
- package/esm2020/lib/models/models/notification/index.mjs +2 -0
- package/esm2020/lib/models/models/notification/notificationModel.mjs +3 -0
- package/esm2020/lib/models/models/publish-message/publish-message-field-names.mjs +12 -0
- package/esm2020/lib/models/models/publish-message/publish-message-scheme.mjs +13 -0
- package/esm2020/lib/models/models/publish-message/publish-message.mjs +7 -0
- package/esm2020/lib/models/models/reports/index.mjs +2 -0
- package/esm2020/lib/models/models/reports/reports.model.mjs +3 -0
- package/esm2020/lib/models/models/request.model.mjs +13 -0
- package/esm2020/lib/models/models/static-data/index.mjs +2 -0
- package/esm2020/lib/models/models/static-data/static-data.model.mjs +3 -0
- package/esm2020/lib/models/models/tag/tag-entity-model.mjs +3 -0
- package/esm2020/lib/models/models/tag/tag-entity-scheme.mjs +11 -0
- package/esm2020/lib/models/models/tag/tag-field-names.mjs +9 -0
- package/esm2020/lib/models/models/tag/tag-model.mjs +3 -0
- package/esm2020/lib/models/models/tag/tag-scheme.mjs +13 -0
- package/esm2020/lib/models/models/user/index.mjs +8 -0
- package/esm2020/lib/models/models/user/user-auth-headers.mjs +2 -0
- package/esm2020/lib/models/models/user/user-field-names.mjs +14 -0
- package/esm2020/lib/models/models/user/user-model.mjs +3 -0
- package/esm2020/lib/models/models/user/user-query-fields.mjs +2 -0
- package/esm2020/lib/models/models/user/user-right-model.mjs +3 -0
- package/esm2020/lib/models/models/user/user-scheme.mjs +18 -0
- package/esm2020/lib/models/models/user/user.role.mjs +9 -0
- package/esm2020/lib/models/query-fields-adapter/index.mjs +2 -0
- package/esm2020/lib/models/query-fields-adapter/query-fileds-adapter.mjs +20 -0
- package/esm2020/lib/models/schemes/entity-scheme.mjs +4 -0
- package/esm2020/lib/models/schemes/index.mjs +2 -0
- package/esm2020/lib/models/ui-units/index.mjs +2 -0
- package/esm2020/lib/models/ui-units/ui-unit-ids.mjs +9 -0
- package/esm2020/lib/models/ui-units/ui-unit-types.mjs +5 -0
- package/esm2020/lib/models/ui-units/uiUnitItem.mjs +2 -0
- package/esm2020/lib/models/ui-units/uiUnits.images-data.mjs +2 -0
- package/esm2020/lib/wt-front-shared.module.mjs +35 -0
- package/esm2020/public-api.mjs +53 -0
- package/esm2020/wt-front-shared.mjs +5 -0
- package/fesm2015/wt-front-shared.mjs +10060 -0
- package/fesm2015/wt-front-shared.mjs.map +1 -0
- package/fesm2020/wt-front-shared.mjs +10362 -0
- package/fesm2020/wt-front-shared.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/core/+state/actions/actions.actions.d.ts +33 -0
- package/lib/core/+state/actions/actions.effects.d.ts +19 -0
- package/lib/core/+state/actions/actions.facade.d.ts +14 -0
- package/lib/core/+state/actions/actions.reducer.d.ts +25 -0
- package/lib/core/+state/actions/actions.selectors.d.ts +8 -0
- package/lib/core/+state/actions/behavios/action-send-behavior.d.ts +10 -0
- package/lib/core/+state/base.effects.d.ts +11 -0
- package/lib/core/+state/behavior.d.ts +9 -0
- package/lib/core/+state/cache-data/behavios/get-cache-data-behavior.d.ts +10 -0
- package/lib/core/+state/cache-data/cache-data.actions.d.ts +22 -0
- package/lib/core/+state/cache-data/cache-data.effects.d.ts +17 -0
- package/lib/core/+state/cache-data/cache-data.facade.d.ts +13 -0
- package/lib/core/+state/cache-data/cache-data.reducer.d.ts +11 -0
- package/lib/core/+state/cache-data/cache-data.selectors.d.ts +4 -0
- package/lib/core/+state/core.actions.d.ts +12 -0
- package/lib/core/+state/core.facade.d.ts +12 -0
- package/lib/core/+state/core.selectors.d.ts +3 -0
- package/lib/core/+state/files/behavios/file-delete-behavior.d.ts +10 -0
- package/lib/core/+state/files/behavios/file-update-behavior.d.ts +10 -0
- package/lib/core/+state/files/behavios/files-load-behavior.d.ts +10 -0
- package/lib/core/+state/files/behavios/files-sort-behavior.d.ts +10 -0
- package/lib/core/+state/files/files.actions.d.ts +118 -0
- package/lib/core/+state/files/files.effects.d.ts +37 -0
- package/lib/core/+state/files/files.facade.d.ts +27 -0
- package/lib/core/+state/files/files.reducer.d.ts +11 -0
- package/lib/core/+state/files/files.selectors.d.ts +10 -0
- package/{src/lib/core/+state/files/index.ts → lib/core/+state/files/index.d.ts} +0 -0
- package/lib/core/+state/form-delete-file/behavios/form-delete-file-behavior.d.ts +11 -0
- package/lib/core/+state/form-delete-file/form-delete-file.actions.d.ts +32 -0
- package/lib/core/+state/form-delete-file/form-delete-file.effects.d.ts +27 -0
- package/lib/core/+state/form-delete-file/form-delete-file.facade.d.ts +10 -0
- package/{src/lib/core/+state/form-delete-file/index.ts → lib/core/+state/form-delete-file/index.d.ts} +0 -0
- package/lib/core/+state/form-errors/form-errors.actions.d.ts +26 -0
- package/lib/core/+state/form-errors/form-errors.effects.d.ts +11 -0
- package/lib/core/+state/form-errors/form-errors.facade.d.ts +14 -0
- package/lib/core/+state/form-errors/form-errors.reducer.d.ts +8 -0
- package/lib/core/+state/form-errors/form-errors.selectors.d.ts +8 -0
- package/{src/lib/core/+state/form-errors/index.ts → lib/core/+state/form-errors/index.d.ts} +0 -0
- package/lib/core/+state/form-validation/behavios/form-validation-check-behavior.d.ts +11 -0
- package/lib/core/+state/form-validation/form-validation.actions.d.ts +37 -0
- package/lib/core/+state/form-validation/form-validation.effects.d.ts +20 -0
- package/lib/core/+state/form-validation/form-validation.facade.d.ts +16 -0
- package/lib/core/+state/form-validation/form-validation.reducer.d.ts +8 -0
- package/lib/core/+state/form-validation/form-validation.selectors.d.ts +5 -0
- package/{src/lib/core/+state/form-validation/index.ts → lib/core/+state/form-validation/index.d.ts} +0 -0
- package/lib/core/+state/forms/forms.actions.d.ts +31 -0
- package/lib/core/+state/forms/forms.effects.d.ts +16 -0
- package/lib/core/+state/forms/forms.facade.d.ts +15 -0
- package/lib/core/+state/forms/forms.reducer.d.ts +8 -0
- package/lib/core/+state/forms/forms.selectors.d.ts +6 -0
- package/{src/lib/core/+state/forms/index.ts → lib/core/+state/forms/index.d.ts} +0 -0
- package/lib/core/+state/index.d.ts +142 -0
- package/{src/lib/core/+state/main/index.ts → lib/core/+state/main/index.d.ts} +0 -0
- package/lib/core/+state/main/main.actions.d.ts +17 -0
- package/lib/core/+state/main/main.effects.d.ts +12 -0
- package/lib/core/+state/main/main.facade.d.ts +10 -0
- package/lib/core/+state/main/main.reducer.d.ts +7 -0
- package/lib/core/+state/main/main.selectors.d.ts +4 -0
- package/{src/lib/core/+state/notifications/index.ts → lib/core/+state/notifications/index.d.ts} +0 -0
- package/lib/core/+state/notifications/notifications.actions.d.ts +21 -0
- package/lib/core/+state/notifications/notifications.effects.d.ts +41 -0
- package/lib/core/+state/notifications/notifications.facade.d.ts +12 -0
- package/lib/core/+state/notifications/notifications.reducer.d.ts +7 -0
- package/lib/core/+state/notifications/notifications.selectors.d.ts +5 -0
- package/lib/core/+state/publication-messages/behavios/publication-errors-post-behavior.d.ts +11 -0
- package/lib/core/+state/publication-messages/behavios/un-publication-post-behavior.d.ts +10 -0
- package/{src/lib/core/+state/publication-messages/index.ts → lib/core/+state/publication-messages/index.d.ts} +0 -0
- package/lib/core/+state/publication-messages/publication-messages.actions.d.ts +71 -0
- package/lib/core/+state/publication-messages/publication-messages.effects.d.ts +31 -0
- package/lib/core/+state/publication-messages/publication-messages.facade.d.ts +17 -0
- package/lib/core/+state/publication-messages/publication-messages.reducer.d.ts +7 -0
- package/lib/core/+state/publication-messages/publication-messages.selectors.d.ts +4 -0
- package/lib/core/+state/reports/behavios/reports-entities-data-behavior.d.ts +10 -0
- package/lib/core/+state/reports/behavios/user-behavior-get-behavior.d.ts +10 -0
- package/lib/core/+state/reports/reports.actions.d.ts +38 -0
- package/lib/core/+state/reports/reports.effects.d.ts +18 -0
- package/lib/core/+state/reports/reports.facade.d.ts +24 -0
- package/lib/core/+state/reports/reports.reducer.d.ts +11 -0
- package/lib/core/+state/reports/reports.selectors.d.ts +5 -0
- package/{src/lib/core/+state/requests/index.ts → lib/core/+state/requests/index.d.ts} +0 -0
- package/lib/core/+state/requests/requests.actions.d.ts +25 -0
- package/lib/core/+state/requests/requests.facade.d.ts +27 -0
- package/lib/core/+state/requests/requests.reducer.d.ts +8 -0
- package/lib/core/+state/requests/requests.selectors.d.ts +5 -0
- package/lib/core/+state/router/custom-router-serializer.d.ts +11 -0
- package/{src/lib/core/+state/router/index.ts → lib/core/+state/router/index.d.ts} +0 -0
- package/lib/core/+state/router/router.actions.d.ts +24 -0
- package/lib/core/+state/router/router.effects.d.ts +20 -0
- package/lib/core/+state/router/router.facade.d.ts +10 -0
- package/lib/core/+state/router/router.reducer.d.ts +6 -0
- package/lib/core/+state/router/router.selectors.d.ts +6 -0
- package/lib/core/+state/static-data/behavios/static-data-create-behavior.d.ts +10 -0
- package/lib/core/+state/static-data/behavios/static-data-delete-behavior.d.ts +10 -0
- package/lib/core/+state/static-data/behavios/static-data-get-list-behavior.d.ts +10 -0
- package/lib/core/+state/static-data/behavios/static-data-get-list-categories-behavior.d.ts +10 -0
- package/lib/core/+state/static-data/behavios/static-data-update-behavior.d.ts +10 -0
- package/lib/core/+state/static-data/static-data.actions.d.ts +244 -0
- package/lib/core/+state/static-data/static-data.effects.d.ts +28 -0
- package/lib/core/+state/static-data/static-data.facade.d.ts +37 -0
- package/lib/core/+state/static-data/static-data.reducer.d.ts +28 -0
- package/lib/core/+state/static-data/static-data.selectors.d.ts +12 -0
- package/lib/core/+state/tags/behavios/tag-entities-load-behavior.d.ts +10 -0
- package/lib/core/+state/tags/behavios/tags-load-behavior.d.ts +10 -0
- package/{src/lib/core/+state/tags/index.ts → lib/core/+state/tags/index.d.ts} +0 -0
- package/lib/core/+state/tags/tags.actions.d.ts +58 -0
- package/lib/core/+state/tags/tags.effects.d.ts +25 -0
- package/lib/core/+state/tags/tags.facade.d.ts +19 -0
- package/lib/core/+state/tags/tags.reducer.d.ts +13 -0
- package/lib/core/+state/tags/tags.selectors.d.ts +12 -0
- package/{src/lib/core/+state/uiUnits/index.ts → lib/core/+state/uiUnits/index.d.ts} +0 -0
- package/lib/core/+state/uiUnits/uiUnits.actions.d.ts +12 -0
- package/lib/core/+state/uiUnits/uiUnits.effects.d.ts +13 -0
- package/lib/core/+state/uiUnits/uiUnits.facade.d.ts +12 -0
- package/lib/core/+state/uiUnits/uiUnits.reducer.d.ts +8 -0
- package/lib/core/+state/uiUnits/uiUnits.selectors.d.ts +19 -0
- package/lib/core/+state/update-entities/update-entities.actions.d.ts +16 -0
- package/lib/core/+state/update-entities/update-entities.effects.d.ts +14 -0
- package/lib/core/+state/users/behavios/login-send-behavior.d.ts +10 -0
- package/lib/core/+state/users/behavios/refresh-token-behavior.d.ts +10 -0
- package/{src/lib/core/+state/users/index.ts → lib/core/+state/users/index.d.ts} +0 -0
- package/lib/core/+state/users/users.actions.d.ts +85 -0
- package/lib/core/+state/users/users.effects.d.ts +42 -0
- package/lib/core/+state/users/users.facade.d.ts +21 -0
- package/lib/core/+state/users/users.reducer.d.ts +8 -0
- package/lib/core/+state/users/users.selectors.d.ts +14 -0
- package/lib/core/animations/appearFromLeft.d.ts +1 -0
- package/lib/core/animations/appearFromLeftHideToRight.d.ts +1 -0
- package/lib/core/animations/appearFromLeftWithDelay.d.ts +1 -0
- package/lib/core/animations/appearFromRightWithDelay.d.ts +1 -0
- package/lib/core/animations/appearOpacity.d.ts +1 -0
- package/lib/core/animations/expandCollapse.d.ts +1 -0
- package/lib/core/animations/hideToTopOpacity.d.ts +1 -0
- package/lib/core/components/access-denied/access-denied.component.d.ts +5 -0
- package/lib/core/components/access-denied/access-denied.module.d.ts +7 -0
- package/lib/core/components/auto-form/auto-form.module.d.ts +47 -0
- package/lib/core/components/auto-form/components/form-field-file/form-field-file.component.d.ts +40 -0
- package/lib/core/components/auto-form/components/form-field-file-show/form-field-file-show.component.d.ts +9 -0
- package/lib/core/components/auto-form/components/form-field-files/form-field-files.component.d.ts +24 -0
- package/lib/core/components/auto-form/components/form-field-files-show/form-field-files-show.component.d.ts +19 -0
- package/lib/core/components/auto-form/components/form-field-input/form-field-input.component.d.ts +23 -0
- package/lib/core/components/auto-form/components/form-field-input-show/form-field-input-show.component.d.ts +14 -0
- package/lib/core/components/auto-form/components/form-field-select/form-field-select.component.d.ts +44 -0
- package/lib/core/components/auto-form/components/form-field-select-show/form-field-select-show.component.d.ts +20 -0
- package/lib/core/components/auto-form/components/form-field-slide-toggle/form-field-slide-toggle.component.d.ts +9 -0
- package/lib/core/components/auto-form/components/form-field-slide-toggle-show/form-field-slide-toggle-show.component.d.ts +11 -0
- package/lib/core/components/auto-form/components/form-field-spinner/form-field-spinner.component.d.ts +5 -0
- package/lib/core/components/auto-form/components/form-field-tags/form-field-tags.component.d.ts +42 -0
- package/lib/core/components/auto-form/components/form-message-box/form-message-box.component.d.ts +31 -0
- package/lib/core/components/auto-form/constants/errors.d.ts +22 -0
- package/lib/core/components/auto-form/containers/auto-form-main/auto-form-main.component.d.ts +69 -0
- package/lib/core/components/auto-form/containers/auto-form-show/auto-form-show.component.d.ts +24 -0
- package/lib/core/components/auto-form/containers/auto-form-show-field/auto-form-show-field.component.d.ts +22 -0
- package/lib/core/components/auto-form/containers/form-field/form-field.component.d.ts +46 -0
- package/lib/core/components/auto-form/containers/publish-messages/publish-messages.component.d.ts +50 -0
- package/lib/core/components/auto-form/interfaces/field-type.d.ts +12 -0
- package/lib/core/components/auto-form/interfaces/form-field-format.d.ts +7 -0
- package/lib/core/components/auto-form/interfaces/form-field-option.d.ts +4 -0
- package/lib/core/components/auto-form/interfaces/form-field.d.ts +58 -0
- package/lib/core/components/auto-form/interfaces/input-type.d.ts +9 -0
- package/lib/core/components/bread-crumbs/bread-crumbs.component.d.ts +13 -0
- package/lib/core/components/bread-crumbs/bread-crumbs.module.d.ts +9 -0
- package/lib/core/components/button/button.component.d.ts +34 -0
- package/lib/core/components/button/button.module.d.ts +13 -0
- package/lib/core/components/chips-input/chips-input.component.d.ts +37 -0
- package/lib/core/components/chips-input/chips-input.module.d.ts +14 -0
- package/lib/core/components/files-upload/constants.d.ts +12 -0
- package/lib/core/components/files-upload/file-list-card/file-list-card.component.d.ts +50 -0
- package/lib/core/components/files-upload/files-upload/files-upload.component.d.ts +42 -0
- package/lib/core/components/files-upload/files-upload-list-images/files-upload-list-images.component.d.ts +34 -0
- package/lib/core/components/files-upload/files-upload.module.d.ts +18 -0
- package/lib/core/components/files-upload/table-files-uploading/table-files-uploading.component.d.ts +41 -0
- package/lib/core/components/form-field-error/form-field-error.component.d.ts +22 -0
- package/lib/core/components/form-field-error/form-field-error.module.d.ts +9 -0
- package/lib/core/components/form-field-publish-error/form-field-publish-error.component.d.ts +26 -0
- package/lib/core/components/form-field-publish-error/form-field-publish-error.module.d.ts +9 -0
- package/lib/core/components/header/header.component.d.ts +13 -0
- package/lib/core/components/header/header.module.d.ts +8 -0
- package/lib/core/components/icon/icon.component.d.ts +24 -0
- package/lib/core/components/icon/icon.module.d.ts +9 -0
- package/lib/core/components/image/image.component.d.ts +25 -0
- package/lib/core/components/image/image.module.d.ts +9 -0
- package/lib/core/components/input-tags/input-tags.component.d.ts +17 -0
- package/lib/core/components/input-tags/input-tags.module.d.ts +9 -0
- package/lib/core/components/pagination/pagination.component.d.ts +15 -0
- package/lib/core/components/pagination/pagination.module.d.ts +9 -0
- package/lib/core/components/panel/panel.component.d.ts +18 -0
- package/lib/core/components/panel/panel.module.d.ts +10 -0
- package/lib/core/components/smart-progress-bar/smart-progress-bar.component.d.ts +8 -0
- package/lib/core/components/smart-progress-bar/smart-progress-bar.module.d.ts +8 -0
- package/lib/core/components/spinner/spinner.component.d.ts +12 -0
- package/lib/core/components/spinner/spinner.module.d.ts +9 -0
- package/lib/core/components/star-rating/star-rating.component.d.ts +12 -0
- package/lib/core/components/star-rating/star-rating.module.d.ts +8 -0
- package/lib/core/components/sticky-sidebar/sticky-sidebar.directive.d.ts +78 -0
- package/lib/core/components/sticky-sidebar/sticky-sidebar.module.d.ts +16 -0
- package/lib/core/components/table-menu/table-menu.component.d.ts +12 -0
- package/lib/core/components/table-menu/table-menu.module.d.ts +10 -0
- package/lib/core/components/tag-cloud/tag-cloud.component.d.ts +14 -0
- package/lib/core/components/tag-cloud/tag-cloud.module.d.ts +10 -0
- package/lib/core/components/text-with-link-more/text-with-link-more.component.d.ts +12 -0
- package/lib/core/components/text-with-link-more/text-with-link-more.module.d.ts +9 -0
- package/lib/core/constants/async-validators-type.d.ts +10 -0
- package/lib/core/constants/constants.d.ts +5 -0
- package/lib/core/constants/publish-errors.const.d.ts +9 -0
- package/lib/core/constants/validators-type.d.ts +7 -0
- package/lib/core/dialogs/common-dialog/common-dialog.component.d.ts +33 -0
- package/lib/core/dialogs/delete/delete.component.d.ts +17 -0
- package/lib/core/dialogs/dialog.service.d.ts +10 -0
- package/lib/core/models/action-payload.d.ts +4 -0
- package/lib/core/models/form-error.d.ts +7 -0
- package/lib/core/models/form-validation.d.ts +7 -0
- package/lib/core/models/forms.d.ts +12 -0
- package/lib/core/models/http-client-result.d.ts +5 -0
- package/lib/core/models/meta-data.model.d.ts +5 -0
- package/lib/core/pipes/count-format.pipe.d.ts +7 -0
- package/lib/core/pipes/date-format.pipe.d.ts +7 -0
- package/lib/core/pipes/phone.pipe.d.ts +7 -0
- package/lib/core/pipes/pipes.module.d.ts +11 -0
- package/lib/core/pipes/safe.pipe.d.ts +10 -0
- package/lib/core/services/actions/actions-api.d.ts +9 -0
- package/lib/core/services/actions/actions.service.d.ts +18 -0
- package/lib/core/services/auth/authentication.service.d.ts +40 -0
- package/lib/core/services/auto-form/auto-form.service.d.ts +27 -0
- package/lib/core/services/base/base-api-service.d.ts +48 -0
- package/lib/core/services/base/base-api.d.ts +7 -0
- package/lib/core/services/base/index.d.ts +2 -0
- package/lib/core/services/base-auto-form/base-auto-form.service.d.ts +16 -0
- package/lib/core/services/cache-data/cache-data-api.d.ts +9 -0
- package/lib/core/services/cache-data/cache-data.service.d.ts +18 -0
- package/lib/core/services/files/files-api.d.ts +9 -0
- package/lib/core/services/files/files.service.d.ts +20 -0
- package/lib/core/services/form-delete-file/form-delete-file-api.d.ts +10 -0
- package/lib/core/services/form-delete-file/form-delete-file.service.d.ts +18 -0
- package/lib/core/services/form-validation/form-validation-api.d.ts +10 -0
- package/lib/core/services/form-validation/form-validation.service.d.ts +18 -0
- package/lib/core/services/index.d.ts +3 -0
- package/lib/core/services/model-services/tags/tags-api.d.ts +9 -0
- package/lib/core/services/model-services/tags/tags.service.d.ts +18 -0
- package/lib/core/services/publish/publish-api.d.ts +10 -0
- package/lib/core/services/publish/publish.service.d.ts +19 -0
- package/lib/core/services/reducer/reducer.service.d.ts +39 -0
- package/lib/core/services/reports/reports-api.d.ts +9 -0
- package/lib/core/services/reports/reports.service.d.ts +19 -0
- package/lib/core/services/router/router.service.d.ts +10 -0
- package/lib/core/services/static-data/static-data-api.d.ts +9 -0
- package/lib/core/services/static-data/static-data.service.d.ts +24 -0
- package/lib/core/services/users/users-api.d.ts +9 -0
- package/lib/core/services/users/users.service.d.ts +19 -0
- package/lib/core/tokens/index.d.ts +3 -0
- package/lib/core/utils/component-destroyed.d.ts +7 -0
- package/lib/core/utils/guid.d.ts +1 -0
- package/{src/lib/core/utils/index.ts → lib/core/utils/index.d.ts} +0 -0
- package/lib/core/utils/track-by.d.ts +3 -0
- package/lib/models/config/app-config.d.ts +11 -0
- package/{src/lib/models/config/index.ts → lib/models/config/index.d.ts} +0 -0
- package/lib/models/embeds/embed-model.d.ts +7 -0
- package/{src/lib/models/embeds/index.ts → lib/models/embeds/index.d.ts} +0 -0
- package/lib/models/endpoints/actions/actions-endpoint-types.d.ts +3 -0
- package/lib/models/endpoints/actions/actions-request-config.d.ts +3 -0
- package/lib/models/endpoints/actions/actions-response.d.ts +3 -0
- package/lib/models/endpoints/actions/index.d.ts +4 -0
- package/{src/lib/models/endpoints/actions/send-actions/index.ts → lib/models/endpoints/actions/send-actions/index.d.ts} +0 -0
- package/lib/models/endpoints/actions/send-actions/request/actions-send-request-config.d.ts +8 -0
- package/lib/models/endpoints/actions/send-actions/request/actions-send-request.d.ts +15 -0
- package/{src/lib/models/endpoints/actions/send-actions/request/index.ts → lib/models/endpoints/actions/send-actions/request/index.d.ts} +0 -0
- package/lib/models/endpoints/auth/auth-endpoint-types.d.ts +4 -0
- package/lib/models/endpoints/auth/auth-request-config.d.ts +3 -0
- package/lib/models/endpoints/auth/auth-response.d.ts +3 -0
- package/lib/models/endpoints/auth/index.d.ts +4 -0
- package/lib/models/endpoints/auth/login-send/index.d.ts +2 -0
- package/{src/lib/models/endpoints/auth/login-send/request/index.ts → lib/models/endpoints/auth/login-send/request/index.d.ts} +0 -0
- package/lib/models/endpoints/auth/login-send/request/login-send-create-request-config.d.ts +6 -0
- package/lib/models/endpoints/auth/login-send/request/login-send-create-request.d.ts +15 -0
- package/{src/lib/models/endpoints/auth/login-send/response/index.ts → lib/models/endpoints/auth/login-send/response/index.d.ts} +0 -0
- package/lib/models/endpoints/auth/login-send/response/login-send-create-201.d.ts +8 -0
- package/lib/models/endpoints/auth/login-send/response/login-send-create-response-factory.d.ts +4 -0
- package/lib/models/endpoints/auth/login-send/response/login-send-create-response.d.ts +3 -0
- package/lib/models/endpoints/auth/refresh-token/index.d.ts +2 -0
- package/{src/lib/models/endpoints/auth/refresh-token/request/index.ts → lib/models/endpoints/auth/refresh-token/request/index.d.ts} +0 -0
- package/lib/models/endpoints/auth/refresh-token/request/refresh-token-request-config.d.ts +4 -0
- package/lib/models/endpoints/auth/refresh-token/request/refresh-token-request.d.ts +11 -0
- package/{src/lib/models/endpoints/auth/refresh-token/response/index.ts → lib/models/endpoints/auth/refresh-token/response/index.d.ts} +0 -0
- package/lib/models/endpoints/auth/refresh-token/response/refresh-token-200.d.ts +8 -0
- package/lib/models/endpoints/auth/refresh-token/response/refresh-token-response-factory.d.ts +4 -0
- package/lib/models/endpoints/auth/refresh-token/response/refresh-token-response.d.ts +3 -0
- package/lib/models/endpoints/base-response/base-response-factory.d.ts +7 -0
- package/lib/models/endpoints/base-response/base-response.d.ts +3 -0
- package/{src/lib/models/endpoints/base-response/index.ts → lib/models/endpoints/base-response/index.d.ts} +0 -0
- package/lib/models/endpoints/base-response/response-200.d.ts +9 -0
- package/lib/models/endpoints/cache-data/cache-data-endpoint-types.d.ts +3 -0
- package/lib/models/endpoints/cache-data/cache-data-request-config.d.ts +3 -0
- package/lib/models/endpoints/cache-data/cache-data-response.d.ts +3 -0
- package/{src/lib/models/endpoints/cache-data/get-cache-data/index.ts → lib/models/endpoints/cache-data/get-cache-data/index.d.ts} +0 -0
- package/lib/models/endpoints/cache-data/get-cache-data/request/get-cache-data-request-config.d.ts +6 -0
- package/lib/models/endpoints/cache-data/get-cache-data/request/get-cache-data-request.d.ts +11 -0
- package/{src/lib/models/endpoints/cache-data/get-cache-data/request/index.ts → lib/models/endpoints/cache-data/get-cache-data/request/index.d.ts} +0 -0
- package/lib/models/endpoints/cache-data/index.d.ts +4 -0
- package/lib/models/endpoints/files/files-delete/index.d.ts +2 -0
- package/lib/models/endpoints/files/files-delete/request/files-delete-request-config.d.ts +6 -0
- package/lib/models/endpoints/files/files-delete/request/files-delete-request.d.ts +11 -0
- package/{src/lib/models/endpoints/files/files-delete/request/index.ts → lib/models/endpoints/files/files-delete/request/index.d.ts} +0 -0
- package/lib/models/endpoints/files/files-delete/response/files-delete-200.d.ts +8 -0
- package/lib/models/endpoints/files/files-delete/response/files-delete-response-factory.d.ts +4 -0
- package/lib/models/endpoints/files/files-delete/response/files-delete-response.d.ts +3 -0
- package/{src/lib/models/endpoints/files/files-delete/response/index.ts → lib/models/endpoints/files/files-delete/response/index.d.ts} +0 -0
- package/lib/models/endpoints/files/files-endpoint-types.d.ts +6 -0
- package/lib/models/endpoints/files/files-load/index.d.ts +2 -0
- package/lib/models/endpoints/files/files-load/request/files-load-request-config.d.ts +9 -0
- package/lib/models/endpoints/files/files-load/request/files-load-request.d.ts +11 -0
- package/{src/lib/models/endpoints/files/files-load/request/index.ts → lib/models/endpoints/files/files-load/request/index.d.ts} +0 -0
- package/lib/models/endpoints/files/files-load/response/files-load-200.d.ts +8 -0
- package/lib/models/endpoints/files/files-load/response/files-load-response-factory.d.ts +4 -0
- package/lib/models/endpoints/files/files-load/response/files-load-response.d.ts +3 -0
- package/{src/lib/models/endpoints/files/files-load/response/index.ts → lib/models/endpoints/files/files-load/response/index.d.ts} +0 -0
- package/lib/models/endpoints/files/files-request-config.d.ts +3 -0
- package/lib/models/endpoints/files/files-response.d.ts +3 -0
- package/lib/models/endpoints/files/files-sort/index.d.ts +2 -0
- package/lib/models/endpoints/files/files-sort/request/files-sort-request-config.d.ts +9 -0
- package/lib/models/endpoints/files/files-sort/request/files-sort-request.d.ts +11 -0
- package/{src/lib/models/endpoints/files/files-sort/request/index.ts → lib/models/endpoints/files/files-sort/request/index.d.ts} +0 -0
- package/lib/models/endpoints/files/files-sort/response/files-sort-200.d.ts +8 -0
- package/lib/models/endpoints/files/files-sort/response/files-sort-response-factory.d.ts +4 -0
- package/lib/models/endpoints/files/files-sort/response/files-sort-response.d.ts +3 -0
- package/{src/lib/models/endpoints/files/files-sort/response/index.ts → lib/models/endpoints/files/files-sort/response/index.d.ts} +0 -0
- package/lib/models/endpoints/files/files-update/index.d.ts +2 -0
- package/lib/models/endpoints/files/files-update/request/files-update-request-config.d.ts +11 -0
- package/lib/models/endpoints/files/files-update/request/files-update-request.d.ts +11 -0
- package/{src/lib/models/endpoints/files/files-update/request/index.ts → lib/models/endpoints/files/files-update/request/index.d.ts} +0 -0
- package/lib/models/endpoints/files/files-update/response/files-update-200.d.ts +8 -0
- package/lib/models/endpoints/files/files-update/response/files-update-response-factory.d.ts +4 -0
- package/lib/models/endpoints/files/files-update/response/files-update-response.d.ts +3 -0
- package/{src/lib/models/endpoints/files/files-update/response/index.ts → lib/models/endpoints/files/files-update/response/index.d.ts} +0 -0
- package/{src/lib/models/endpoints/files/index.ts → lib/models/endpoints/files/index.d.ts} +0 -0
- package/{src/lib/models/endpoints/form-delete-file/form-delete-file/index.ts → lib/models/endpoints/form-delete-file/form-delete-file/index.d.ts} +0 -0
- package/lib/models/endpoints/form-delete-file/form-delete-file/request/form-delete-file-request-config.d.ts +8 -0
- package/lib/models/endpoints/form-delete-file/form-delete-file/request/form-delete-file-request.d.ts +11 -0
- package/{src/lib/models/endpoints/form-delete-file/form-delete-file/request/index.ts → lib/models/endpoints/form-delete-file/form-delete-file/request/index.d.ts} +0 -0
- package/lib/models/endpoints/form-delete-file/form-delete-file-base-endpoint-types.d.ts +3 -0
- package/lib/models/endpoints/form-delete-file/form-delete-file-base-request-config.d.ts +3 -0
- package/lib/models/endpoints/form-delete-file/form-delete-file-base-response.d.ts +3 -0
- package/lib/models/endpoints/form-delete-file/index.d.ts +4 -0
- package/{src/lib/models/endpoints/form-validation/form-validation-check/index.ts → lib/models/endpoints/form-validation/form-validation-check/index.d.ts} +0 -0
- package/lib/models/endpoints/form-validation/form-validation-check/request/form-validation-check-request-config.d.ts +8 -0
- package/lib/models/endpoints/form-validation/form-validation-check/request/form-validation-check-request.d.ts +11 -0
- package/{src/lib/models/endpoints/form-validation/form-validation-check/request/index.ts → lib/models/endpoints/form-validation/form-validation-check/request/index.d.ts} +0 -0
- package/lib/models/endpoints/form-validation/form-validation-endpoint-types.d.ts +3 -0
- package/lib/models/endpoints/form-validation/form-validation-request-config.d.ts +3 -0
- package/lib/models/endpoints/form-validation/form-validation-response.d.ts +3 -0
- package/lib/models/endpoints/form-validation/index.d.ts +4 -0
- package/{src/lib/models/endpoints/http/index.ts → lib/models/endpoints/http/index.d.ts} +0 -0
- package/lib/models/endpoints/http/request/delete-request.d.ts +5 -0
- package/lib/models/endpoints/http/request/get-request.d.ts +9 -0
- package/{src/lib/models/endpoints/http/request/index.ts → lib/models/endpoints/http/request/index.d.ts} +0 -0
- package/lib/models/endpoints/http/request/post-request.d.ts +6 -0
- package/lib/models/endpoints/http/request/put-request.d.ts +6 -0
- package/lib/models/endpoints/http/request/request-config.d.ts +2 -0
- package/lib/models/endpoints/http/request/request-headers.d.ts +3 -0
- package/lib/models/endpoints/http/request/request-method.d.ts +6 -0
- package/lib/models/endpoints/http/request/request.d.ts +25 -0
- package/lib/models/endpoints/http/request-result-info.d.ts +4 -0
- package/{src/lib/models/endpoints/http/response/index.ts → lib/models/endpoints/http/response/index.d.ts} +0 -0
- package/lib/models/endpoints/http/response/response-status.d.ts +11 -0
- package/lib/models/endpoints/http/response/response.d.ts +10 -0
- package/lib/models/endpoints/index.d.ts +2 -0
- package/{src/lib/models/endpoints/publish/index.ts → lib/models/endpoints/publish/index.d.ts} +0 -0
- package/lib/models/endpoints/publish/publish-endpoint-types.d.ts +4 -0
- package/{src/lib/models/endpoints/publish/publish-post/index.ts → lib/models/endpoints/publish/publish-post/index.d.ts} +0 -0
- package/{src/lib/models/endpoints/publish/publish-post/request/index.ts → lib/models/endpoints/publish/publish-post/request/index.d.ts} +0 -0
- package/lib/models/endpoints/publish/publish-post/request/publish-post-request-config.d.ts +6 -0
- package/lib/models/endpoints/publish/publish-post/request/publish-post-request.d.ts +11 -0
- package/lib/models/endpoints/publish/publish-request-config.d.ts +3 -0
- package/lib/models/endpoints/publish/publish-response.d.ts +3 -0
- package/{src/lib/models/endpoints/publish/un-publish-post/index.ts → lib/models/endpoints/publish/un-publish-post/index.d.ts} +0 -0
- package/{src/lib/models/endpoints/publish/un-publish-post/request/index.ts → lib/models/endpoints/publish/un-publish-post/request/index.d.ts} +0 -0
- package/lib/models/endpoints/publish/un-publish-post/request/un-publish-post-config.d.ts +6 -0
- package/lib/models/endpoints/publish/un-publish-post/request/un-publish-post-request.d.ts +11 -0
- package/{src/lib/models/endpoints/reports/enities-report/index.ts → lib/models/endpoints/reports/enities-report/index.d.ts} +0 -0
- package/lib/models/endpoints/reports/enities-report/request/entities-reports-request-config.d.ts +5 -0
- package/lib/models/endpoints/reports/enities-report/request/entities-reports-request.d.ts +11 -0
- package/{src/lib/models/endpoints/reports/enities-report/request/index.ts → lib/models/endpoints/reports/enities-report/request/index.d.ts} +0 -0
- package/lib/models/endpoints/reports/index.d.ts +4 -0
- package/lib/models/endpoints/reports/reports-endpoint-types.d.ts +4 -0
- package/lib/models/endpoints/reports/reports-request-config.d.ts +3 -0
- package/lib/models/endpoints/reports/reports-response.d.ts +3 -0
- package/{src/lib/models/endpoints/reports/user-behavior-report/index.ts → lib/models/endpoints/reports/user-behavior-report/index.d.ts} +0 -0
- package/{src/lib/models/endpoints/reports/user-behavior-report/request/index.ts → lib/models/endpoints/reports/user-behavior-report/request/index.d.ts} +0 -0
- package/lib/models/endpoints/reports/user-behavior-report/request/user-behavior-report-request-config.d.ts +5 -0
- package/lib/models/endpoints/reports/user-behavior-report/request/user-behavior-report-request.d.ts +11 -0
- package/lib/models/endpoints/static-data/index.d.ts +10 -0
- package/{src/lib/models/endpoints/static-data/static-data-create/index.ts → lib/models/endpoints/static-data/static-data-create/index.d.ts} +0 -0
- package/{src/lib/models/endpoints/static-data/static-data-create/request/index.ts → lib/models/endpoints/static-data/static-data-create/request/index.d.ts} +0 -0
- package/lib/models/endpoints/static-data/static-data-create/request/static-data-create-request-config.d.ts +8 -0
- package/lib/models/endpoints/static-data/static-data-create/request/static-data-create-request.d.ts +11 -0
- package/{src/lib/models/endpoints/static-data/static-data-delete/index.ts → lib/models/endpoints/static-data/static-data-delete/index.d.ts} +0 -0
- package/{src/lib/models/endpoints/static-data/static-data-delete/request/index.ts → lib/models/endpoints/static-data/static-data-delete/request/index.d.ts} +0 -0
- package/lib/models/endpoints/static-data/static-data-delete/request/static-data-delete-request-config.d.ts +7 -0
- package/lib/models/endpoints/static-data/static-data-delete/request/static-data-delete-request.d.ts +11 -0
- package/lib/models/endpoints/static-data/static-data-endpoint-types.d.ts +9 -0
- package/{src/lib/models/endpoints/static-data/static-data-get/index.ts → lib/models/endpoints/static-data/static-data-get/index.d.ts} +0 -0
- package/{src/lib/models/endpoints/static-data/static-data-get/request/index.ts → lib/models/endpoints/static-data/static-data-get/request/index.d.ts} +0 -0
- package/lib/models/endpoints/static-data/static-data-get/request/static-data-get-request-config.d.ts +12 -0
- package/lib/models/endpoints/static-data/static-data-get/request/static-data-get-request.d.ts +11 -0
- package/{src/lib/models/endpoints/static-data/static-data-get-list/index.ts → lib/models/endpoints/static-data/static-data-get-list/index.d.ts} +0 -0
- package/{src/lib/models/endpoints/static-data/static-data-get-list/request/index.ts → lib/models/endpoints/static-data/static-data-get-list/request/index.d.ts} +0 -0
- package/lib/models/endpoints/static-data/static-data-get-list/request/static-data-get-list-request-config.d.ts +14 -0
- package/lib/models/endpoints/static-data/static-data-get-list/request/static-data-get-list-request.d.ts +11 -0
- package/{src/lib/models/endpoints/static-data/static-data-get-list-categories/index.ts → lib/models/endpoints/static-data/static-data-get-list-categories/index.d.ts} +0 -0
- package/{src/lib/models/endpoints/static-data/static-data-get-list-categories/request/index.ts → lib/models/endpoints/static-data/static-data-get-list-categories/request/index.d.ts} +0 -0
- package/lib/models/endpoints/static-data/static-data-get-list-categories/request/static-data-get-list-categories-request-config.d.ts +3 -0
- package/lib/models/endpoints/static-data/static-data-get-list-categories/request/static-data-get-list-categories-request.d.ts +11 -0
- package/lib/models/endpoints/static-data/static-data-request-config.d.ts +3 -0
- package/lib/models/endpoints/static-data/static-data-response.d.ts +3 -0
- package/{src/lib/models/endpoints/static-data/static-data-sub-routing-get/index.ts → lib/models/endpoints/static-data/static-data-sub-routing-get/index.d.ts} +0 -0
- package/{src/lib/models/endpoints/static-data/static-data-sub-routing-get/request/index.ts → lib/models/endpoints/static-data/static-data-sub-routing-get/request/index.d.ts} +0 -0
- package/lib/models/endpoints/static-data/static-data-sub-routing-get/request/static-data-sub-routing-get-request-config.d.ts +7 -0
- package/lib/models/endpoints/static-data/static-data-sub-routing-get/request/static-data-sub-routing-get-request.d.ts +11 -0
- package/{src/lib/models/endpoints/static-data/static-data-update/index.ts → lib/models/endpoints/static-data/static-data-update/index.d.ts} +0 -0
- package/{src/lib/models/endpoints/static-data/static-data-update/request/index.ts → lib/models/endpoints/static-data/static-data-update/request/index.d.ts} +0 -0
- package/lib/models/endpoints/static-data/static-data-update/request/static-data-update-request-config.d.ts +8 -0
- package/lib/models/endpoints/static-data/static-data-update/request/static-data-update-request.d.ts +11 -0
- package/lib/models/endpoints/tags/index.d.ts +5 -0
- package/{src/lib/models/endpoints/tags/tag-entities-load/index.ts → lib/models/endpoints/tags/tag-entities-load/index.d.ts} +0 -0
- package/{src/lib/models/endpoints/tags/tag-entities-load/request/index.ts → lib/models/endpoints/tags/tag-entities-load/request/index.d.ts} +0 -0
- package/lib/models/endpoints/tags/tag-entities-load/request/tag-entities-load-request-config.d.ts +4 -0
- package/lib/models/endpoints/tags/tag-entities-load/request/tag-entities-request.d.ts +11 -0
- package/lib/models/endpoints/tags/tags-endpoint-types.d.ts +8 -0
- package/lib/models/endpoints/tags/tags-load/index.d.ts +2 -0
- package/{src/lib/models/endpoints/tags/tags-load/request/index.ts → lib/models/endpoints/tags/tags-load/request/index.d.ts} +0 -0
- package/lib/models/endpoints/tags/tags-load/request/tags-load-request-config.d.ts +10 -0
- package/lib/models/endpoints/tags/tags-load/request/tags-load-request.d.ts +11 -0
- package/{src/lib/models/endpoints/tags/tags-load/response/index.ts → lib/models/endpoints/tags/tags-load/response/index.d.ts} +0 -0
- package/lib/models/endpoints/tags/tags-load/response/tags-load-200.d.ts +10 -0
- package/lib/models/endpoints/tags/tags-load/response/tags-load-response-factory.d.ts +4 -0
- package/lib/models/endpoints/tags/tags-load/response/tags-load-response.d.ts +3 -0
- package/lib/models/endpoints/tags/tags-request-config.d.ts +3 -0
- package/lib/models/endpoints/tags/tags-response.d.ts +3 -0
- package/lib/models/entity/entity-filters.d.ts +3 -0
- package/lib/models/entity/entity-query-field-names.d.ts +21 -0
- package/lib/models/entity/entity-query-fields.d.ts +4 -0
- package/lib/models/entity/entity-sort-type.d.ts +6 -0
- package/lib/models/entity/entity.d.ts +3 -0
- package/lib/models/entity/entity.type.d.ts +6 -0
- package/{src/lib/models/entity/index.ts → lib/models/entity/index.d.ts} +0 -0
- package/lib/models/entity/paging.type.d.ts +4 -0
- package/lib/models/fields/fields-model.d.ts +4 -0
- package/lib/models/fields/index.d.ts +1 -0
- package/lib/models/index.d.ts +10 -0
- package/{src/lib/models/mapper/index.ts → lib/models/mapper/index.d.ts} +0 -0
- package/lib/models/mapper/mapper-util.d.ts +25 -0
- package/lib/models/mapper/mapper.d.ts +25 -0
- package/lib/models/model-adapter/base-model-adapter.d.ts +8 -0
- package/{src/lib/models/model-adapter/index.ts → lib/models/model-adapter/index.d.ts} +0 -0
- package/lib/models/models/actions/actions.model.d.ts +5 -0
- package/{src/lib/models/models/actions/index.ts → lib/models/models/actions/index.d.ts} +0 -0
- package/lib/models/models/cache-data/cache-data.model.d.ts +4 -0
- package/{src/lib/models/models/cache-data/index.ts → lib/models/models/cache-data/index.d.ts} +0 -0
- package/lib/models/models/file/file-field-names.d.ts +11 -0
- package/lib/models/models/file/file-model.d.ts +22 -0
- package/lib/models/models/file/file-scheme.d.ts +4 -0
- package/{src/lib/models/models/file/index.ts → lib/models/models/file/index.d.ts} +0 -0
- package/lib/models/models/file/versions-model.d.ts +5 -0
- package/lib/models/models/meta.model.d.ts +11 -0
- package/{src/lib/models/models/notification/index.ts → lib/models/models/notification/index.d.ts} +0 -0
- package/lib/models/models/notification/notificationModel.d.ts +7 -0
- package/lib/models/models/publish-message/publish-message-field-names.d.ts +10 -0
- package/lib/models/models/publish-message/publish-message-scheme.d.ts +4 -0
- package/lib/models/models/publish-message/publish-message.d.ts +19 -0
- package/{src/lib/models/models/reports/index.ts → lib/models/models/reports/index.d.ts} +0 -0
- package/lib/models/models/reports/reports.model.d.ts +4 -0
- package/lib/models/models/request.model.d.ts +18 -0
- package/{src/lib/models/models/static-data/index.ts → lib/models/models/static-data/index.d.ts} +0 -0
- package/lib/models/models/static-data/static-data.model.d.ts +6 -0
- package/lib/models/models/tag/tag-entity-model.d.ts +8 -0
- package/lib/models/models/tag/tag-entity-scheme.d.ts +4 -0
- package/lib/models/models/tag/tag-field-names.d.ts +7 -0
- package/lib/models/models/tag/tag-model.d.ts +7 -0
- package/lib/models/models/tag/tag-scheme.d.ts +4 -0
- package/{src/lib/models/models/user/index.ts → lib/models/models/user/index.d.ts} +0 -0
- package/lib/models/models/user/user-auth-headers.d.ts +4 -0
- package/lib/models/models/user/user-field-names.d.ts +12 -0
- package/lib/models/models/user/user-model.d.ts +14 -0
- package/lib/models/models/user/user-query-fields.d.ts +4 -0
- package/lib/models/models/user/user-right-model.d.ts +4 -0
- package/lib/models/models/user/user-scheme.d.ts +4 -0
- package/lib/models/models/user/user.role.d.ts +7 -0
- package/{src/lib/models/query-fields-adapter/index.ts → lib/models/query-fields-adapter/index.d.ts} +0 -0
- package/lib/models/query-fields-adapter/query-fileds-adapter.d.ts +7 -0
- package/lib/models/schemes/entity-scheme.d.ts +3 -0
- package/{src/lib/models/schemes/index.ts → lib/models/schemes/index.d.ts} +0 -0
- package/{src/lib/models/ui-units/index.ts → lib/models/ui-units/index.d.ts} +0 -0
- package/lib/models/ui-units/ui-unit-ids.d.ts +7 -0
- package/lib/models/ui-units/ui-unit-types.d.ts +3 -0
- package/lib/models/ui-units/uiUnitItem.d.ts +9 -0
- package/lib/models/ui-units/uiUnits.images-data.d.ts +5 -0
- package/lib/wt-front-shared.module.d.ts +9 -0
- package/package.json +25 -3
- package/public-api.d.ts +49 -0
- package/ng-package.json +0 -7
- package/src/lib/core/+state/actions/actions.actions.ts +0 -28
- package/src/lib/core/+state/actions/actions.effects.ts +0 -62
- package/src/lib/core/+state/actions/actions.facade.ts +0 -34
- package/src/lib/core/+state/actions/actions.reducer.ts +0 -92
- package/src/lib/core/+state/actions/actions.selectors.ts +0 -45
- package/src/lib/core/+state/actions/behavios/action-send-behavior.ts +0 -46
- package/src/lib/core/+state/base.effects.ts +0 -32
- package/src/lib/core/+state/behavior.ts +0 -32
- package/src/lib/core/+state/cache-data/behavios/get-cache-data-behavior.ts +0 -50
- package/src/lib/core/+state/cache-data/cache-data.actions.ts +0 -27
- package/src/lib/core/+state/cache-data/cache-data.effects.ts +0 -45
- package/src/lib/core/+state/cache-data/cache-data.facade.ts +0 -27
- package/src/lib/core/+state/cache-data/cache-data.reducer.ts +0 -34
- package/src/lib/core/+state/cache-data/cache-data.selectors.ts +0 -17
- package/src/lib/core/+state/core.actions.ts +0 -52
- package/src/lib/core/+state/core.facade.ts +0 -29
- package/src/lib/core/+state/core.selectors.ts +0 -36
- package/src/lib/core/+state/files/behavios/file-delete-behavior.ts +0 -49
- package/src/lib/core/+state/files/behavios/file-update-behavior.ts +0 -52
- package/src/lib/core/+state/files/behavios/files-load-behavior.ts +0 -51
- package/src/lib/core/+state/files/behavios/files-sort-behavior.ts +0 -51
- package/src/lib/core/+state/files/files.actions.ts +0 -107
- package/src/lib/core/+state/files/files.effects.ts +0 -120
- package/src/lib/core/+state/files/files.facade.ts +0 -49
- package/src/lib/core/+state/files/files.reducer.ts +0 -91
- package/src/lib/core/+state/files/files.selectors.ts +0 -77
- package/src/lib/core/+state/filters.selectors.ts +0 -59
- package/src/lib/core/+state/form-delete-file/behavios/form-delete-file-behavior.ts +0 -56
- package/src/lib/core/+state/form-delete-file/form-delete-file.actions.ts +0 -29
- package/src/lib/core/+state/form-delete-file/form-delete-file.effects.ts +0 -61
- package/src/lib/core/+state/form-delete-file/form-delete-file.facade.ts +0 -15
- package/src/lib/core/+state/form-errors/form-errors.actions.ts +0 -32
- package/src/lib/core/+state/form-errors/form-errors.effects.ts +0 -37
- package/src/lib/core/+state/form-errors/form-errors.facade.ts +0 -25
- package/src/lib/core/+state/form-errors/form-errors.reducer.ts +0 -57
- package/src/lib/core/+state/form-errors/form-errors.selectors.ts +0 -28
- package/src/lib/core/+state/form-validation/behavios/form-validation-check-behavior.ts +0 -52
- package/src/lib/core/+state/form-validation/form-validation.actions.ts +0 -33
- package/src/lib/core/+state/form-validation/form-validation.effects.ts +0 -45
- package/src/lib/core/+state/form-validation/form-validation.facade.ts +0 -21
- package/src/lib/core/+state/form-validation/form-validation.reducer.ts +0 -55
- package/src/lib/core/+state/form-validation/form-validation.selectors.ts +0 -17
- package/src/lib/core/+state/forms/forms.actions.ts +0 -36
- package/src/lib/core/+state/forms/forms.effects.ts +0 -42
- package/src/lib/core/+state/forms/forms.facade.ts +0 -31
- package/src/lib/core/+state/forms/forms.reducer.ts +0 -61
- package/src/lib/core/+state/forms/forms.selectors.ts +0 -22
- package/src/lib/core/+state/index.ts +0 -120
- package/src/lib/core/+state/main/main.actions.ts +0 -27
- package/src/lib/core/+state/main/main.effects.ts +0 -23
- package/src/lib/core/+state/main/main.facade.ts +0 -14
- package/src/lib/core/+state/main/main.reducer.ts +0 -31
- package/src/lib/core/+state/main/main.selectors.ts +0 -16
- package/src/lib/core/+state/notifications/notifications.actions.ts +0 -29
- package/src/lib/core/+state/notifications/notifications.effects.ts +0 -106
- package/src/lib/core/+state/notifications/notifications.facade.ts +0 -33
- package/src/lib/core/+state/notifications/notifications.reducer.ts +0 -40
- package/src/lib/core/+state/notifications/notifications.selectors.ts +0 -17
- package/src/lib/core/+state/publication-messages/behavios/publication-errors-post-behavior.ts +0 -93
- package/src/lib/core/+state/publication-messages/behavios/un-publication-post-behavior.ts +0 -56
- package/src/lib/core/+state/publication-messages/publication-messages.actions.ts +0 -73
- package/src/lib/core/+state/publication-messages/publication-messages.effects.ts +0 -122
- package/src/lib/core/+state/publication-messages/publication-messages.facade.ts +0 -57
- package/src/lib/core/+state/publication-messages/publication-messages.reducer.ts +0 -65
- package/src/lib/core/+state/publication-messages/publication-messages.selectors.ts +0 -16
- package/src/lib/core/+state/reports/behavios/reports-entities-data-behavior.ts +0 -56
- package/src/lib/core/+state/reports/behavios/user-behavior-get-behavior.ts +0 -56
- package/src/lib/core/+state/reports/reports.actions.ts +0 -42
- package/src/lib/core/+state/reports/reports.effects.ts +0 -59
- package/src/lib/core/+state/reports/reports.facade.ts +0 -42
- package/src/lib/core/+state/reports/reports.reducer.ts +0 -50
- package/src/lib/core/+state/reports/reports.selectors.ts +0 -34
- package/src/lib/core/+state/requests/requests.actions.ts +0 -27
- package/src/lib/core/+state/requests/requests.effects.ts +0 -26
- package/src/lib/core/+state/requests/requests.facade.ts +0 -49
- package/src/lib/core/+state/requests/requests.reducer.ts +0 -99
- package/src/lib/core/+state/requests/requests.selectors.ts +0 -20
- package/src/lib/core/+state/router/custom-router-serializer.ts +0 -30
- package/src/lib/core/+state/router/router.actions.ts +0 -38
- package/src/lib/core/+state/router/router.effects.ts +0 -76
- package/src/lib/core/+state/router/router.facade.ts +0 -15
- package/src/lib/core/+state/router/router.reducer.ts +0 -31
- package/src/lib/core/+state/router/router.selectors.ts +0 -55
- package/src/lib/core/+state/static-data/behavios/static-data-create-behavior.ts +0 -37
- package/src/lib/core/+state/static-data/behavios/static-data-delete-behavior.ts +0 -58
- package/src/lib/core/+state/static-data/behavios/static-data-get-behavior.ts +0 -56
- package/src/lib/core/+state/static-data/behavios/static-data-get-list-behavior.ts +0 -59
- package/src/lib/core/+state/static-data/behavios/static-data-get-list-categories-behavior.ts +0 -36
- package/src/lib/core/+state/static-data/behavios/static-data-update-behavior.ts +0 -48
- package/src/lib/core/+state/static-data/static-data.actions.ts +0 -260
- package/src/lib/core/+state/static-data/static-data.effects.ts +0 -223
- package/src/lib/core/+state/static-data/static-data.facade.ts +0 -120
- package/src/lib/core/+state/static-data/static-data.reducer.ts +0 -385
- package/src/lib/core/+state/static-data/static-data.selectors.ts +0 -83
- package/src/lib/core/+state/tags/behavios/tag-entities-load-behavior.ts +0 -77
- package/src/lib/core/+state/tags/behavios/tags-load-behavior.ts +0 -52
- package/src/lib/core/+state/tags/tags.actions.ts +0 -59
- package/src/lib/core/+state/tags/tags.effects.ts +0 -60
- package/src/lib/core/+state/tags/tags.facade.ts +0 -45
- package/src/lib/core/+state/tags/tags.reducer.ts +0 -54
- package/src/lib/core/+state/tags/tags.selectors.ts +0 -70
- package/src/lib/core/+state/uiUnits/uiUnits.actions.ts +0 -14
- package/src/lib/core/+state/uiUnits/uiUnits.effects.ts +0 -28
- package/src/lib/core/+state/uiUnits/uiUnits.facade.ts +0 -21
- package/src/lib/core/+state/uiUnits/uiUnits.reducer.ts +0 -36
- package/src/lib/core/+state/uiUnits/uiUnits.selectors.ts +0 -48
- package/src/lib/core/+state/update-entities/update-entities.actions.ts +0 -18
- package/src/lib/core/+state/update-entities/update-entities.effects.ts +0 -38
- package/src/lib/core/+state/users/behavios/login-send-behavior.ts +0 -53
- package/src/lib/core/+state/users/behavios/refresh-token-behavior.ts +0 -58
- package/src/lib/core/+state/users/users.actions.ts +0 -96
- package/src/lib/core/+state/users/users.effects.ts +0 -211
- package/src/lib/core/+state/users/users.facade.ts +0 -42
- package/src/lib/core/+state/users/users.reducer.ts +0 -55
- package/src/lib/core/+state/users/users.selectors.ts +0 -37
- package/src/lib/core/animations/appearFromLeft.ts +0 -20
- package/src/lib/core/animations/appearFromLeftHideToRight.ts +0 -20
- package/src/lib/core/animations/appearFromLeftWithDelay.ts +0 -20
- package/src/lib/core/animations/appearFromRight.ts +0 -20
- package/src/lib/core/animations/appearFromRightWithDelay.ts +0 -20
- package/src/lib/core/animations/appearOpacity.ts +0 -20
- package/src/lib/core/animations/appearOpacity2.ts +0 -18
- package/src/lib/core/animations/expandCollapse.ts +0 -20
- package/src/lib/core/animations/hideToTopOpacity.ts +0 -12
- package/src/lib/core/components/access-denied/access-denied.component.html +0 -6
- package/src/lib/core/components/access-denied/access-denied.component.scss +0 -0
- package/src/lib/core/components/access-denied/access-denied.component.spec.ts +0 -25
- package/src/lib/core/components/access-denied/access-denied.component.ts +0 -12
- package/src/lib/core/components/access-denied/access-denied.module.ts +0 -10
- package/src/lib/core/components/auto-form/auto-form.module.ts +0 -101
- package/src/lib/core/components/auto-form/components/form-field-file/form-field-file.component.html +0 -37
- package/src/lib/core/components/auto-form/components/form-field-file/form-field-file.component.scss +0 -110
- package/src/lib/core/components/auto-form/components/form-field-file/form-field-file.component.spec.ts +0 -25
- package/src/lib/core/components/auto-form/components/form-field-file/form-field-file.component.ts +0 -173
- package/src/lib/core/components/auto-form/components/form-field-file-show/form-field-file-show.component.html +0 -16
- package/src/lib/core/components/auto-form/components/form-field-file-show/form-field-file-show.component.scss +0 -82
- package/src/lib/core/components/auto-form/components/form-field-file-show/form-field-file-show.component.spec.ts +0 -25
- package/src/lib/core/components/auto-form/components/form-field-file-show/form-field-file-show.component.ts +0 -42
- package/src/lib/core/components/auto-form/components/form-field-files/form-field-files.component.html +0 -17
- package/src/lib/core/components/auto-form/components/form-field-files/form-field-files.component.scss +0 -74
- package/src/lib/core/components/auto-form/components/form-field-files/form-field-files.component.spec.ts +0 -25
- package/src/lib/core/components/auto-form/components/form-field-files/form-field-files.component.ts +0 -107
- package/src/lib/core/components/auto-form/components/form-field-files-show/form-field-files-show.component.html +0 -16
- package/src/lib/core/components/auto-form/components/form-field-files-show/form-field-files-show.component.scss +0 -11
- package/src/lib/core/components/auto-form/components/form-field-files-show/form-field-files-show.component.spec.ts +0 -25
- package/src/lib/core/components/auto-form/components/form-field-files-show/form-field-files-show.component.ts +0 -43
- package/src/lib/core/components/auto-form/components/form-field-input/form-field-input.component.html +0 -36
- package/src/lib/core/components/auto-form/components/form-field-input/form-field-input.component.scss +0 -23
- package/src/lib/core/components/auto-form/components/form-field-input/form-field-input.component.spec.ts +0 -25
- package/src/lib/core/components/auto-form/components/form-field-input/form-field-input.component.ts +0 -84
- package/src/lib/core/components/auto-form/components/form-field-input-show/form-field-input-show.component.html +0 -8
- package/src/lib/core/components/auto-form/components/form-field-input-show/form-field-input-show.component.scss +0 -1
- package/src/lib/core/components/auto-form/components/form-field-input-show/form-field-input-show.component.spec.ts +0 -25
- package/src/lib/core/components/auto-form/components/form-field-input-show/form-field-input-show.component.ts +0 -44
- package/src/lib/core/components/auto-form/components/form-field-select/form-field-select.component.html +0 -36
- package/src/lib/core/components/auto-form/components/form-field-select/form-field-select.component.scss +0 -6
- package/src/lib/core/components/auto-form/components/form-field-select/form-field-select.component.ts +0 -231
- package/src/lib/core/components/auto-form/components/form-field-select-show/form-field-select-show.component.html +0 -4
- package/src/lib/core/components/auto-form/components/form-field-select-show/form-field-select-show.component.scss +0 -4
- package/src/lib/core/components/auto-form/components/form-field-select-show/form-field-select-show.component.ts +0 -64
- package/src/lib/core/components/auto-form/components/form-field-slide-toggle/form-field-slide-toggle.component.html +0 -7
- package/src/lib/core/components/auto-form/components/form-field-slide-toggle/form-field-slide-toggle.component.scss +0 -0
- package/src/lib/core/components/auto-form/components/form-field-slide-toggle/form-field-slide-toggle.component.ts +0 -14
- package/src/lib/core/components/auto-form/components/form-field-slide-toggle-show/form-field-slide-toggle-show.component.html +0 -9
- package/src/lib/core/components/auto-form/components/form-field-slide-toggle-show/form-field-slide-toggle-show.component.scss +0 -0
- package/src/lib/core/components/auto-form/components/form-field-slide-toggle-show/form-field-slide-toggle-show.component.ts +0 -18
- package/src/lib/core/components/auto-form/components/form-field-spinner/form-field-spinner.component.html +0 -3
- package/src/lib/core/components/auto-form/components/form-field-spinner/form-field-spinner.component.scss +0 -10
- package/src/lib/core/components/auto-form/components/form-field-spinner/form-field-spinner.component.ts +0 -10
- package/src/lib/core/components/auto-form/components/form-field-tags/form-field-tags.component.html +0 -29
- package/src/lib/core/components/auto-form/components/form-field-tags/form-field-tags.component.scss +0 -23
- package/src/lib/core/components/auto-form/components/form-field-tags/form-field-tags.component.spec.ts +0 -25
- package/src/lib/core/components/auto-form/components/form-field-tags/form-field-tags.component.ts +0 -130
- package/src/lib/core/components/auto-form/components/form-message-box/form-message-box.component.html +0 -8
- package/src/lib/core/components/auto-form/components/form-message-box/form-message-box.component.scss +0 -0
- package/src/lib/core/components/auto-form/components/form-message-box/form-message-box.component.ts +0 -118
- package/src/lib/core/components/auto-form/constants/errors.ts +0 -36
- package/src/lib/core/components/auto-form/containers/auto-form-main/auto-form-main.component.html +0 -64
- package/src/lib/core/components/auto-form/containers/auto-form-main/auto-form-main.component.scss +0 -27
- package/src/lib/core/components/auto-form/containers/auto-form-main/auto-form-main.component.ts +0 -229
- package/src/lib/core/components/auto-form/containers/auto-form-show/auto-form-show.component.html +0 -21
- package/src/lib/core/components/auto-form/containers/auto-form-show/auto-form-show.component.scss +0 -21
- package/src/lib/core/components/auto-form/containers/auto-form-show/auto-form-show.component.ts +0 -50
- package/src/lib/core/components/auto-form/containers/auto-form-show-field/auto-form-show-field.component.html +0 -51
- package/src/lib/core/components/auto-form/containers/auto-form-show-field/auto-form-show-field.component.scss +0 -27
- package/src/lib/core/components/auto-form/containers/auto-form-show-field/auto-form-show-field.component.ts +0 -49
- package/src/lib/core/components/auto-form/containers/form-field/form-field.component.html +0 -112
- package/src/lib/core/components/auto-form/containers/form-field/form-field.component.scss +0 -43
- package/src/lib/core/components/auto-form/containers/form-field/form-field.component.ts +0 -168
- package/src/lib/core/components/auto-form/containers/form-field-store-state/form-field-store-state.component.html +0 -75
- package/src/lib/core/components/auto-form/containers/form-field-store-state/form-field-store-state.component.scss +0 -40
- package/src/lib/core/components/auto-form/containers/form-field-store-state/form-field-store-state.component.ts +0 -106
- package/src/lib/core/components/auto-form/containers/publish-messages/publish-messages.component.html +0 -47
- package/src/lib/core/components/auto-form/containers/publish-messages/publish-messages.component.scss +0 -42
- package/src/lib/core/components/auto-form/containers/publish-messages/publish-messages.component.spec.ts +0 -25
- package/src/lib/core/components/auto-form/containers/publish-messages/publish-messages.component.ts +0 -145
- package/src/lib/core/components/auto-form/interfaces/base-async-validators-type.ts +0 -2
- package/src/lib/core/components/auto-form/interfaces/field-type.ts +0 -12
- package/src/lib/core/components/auto-form/interfaces/form-field-format.ts +0 -7
- package/src/lib/core/components/auto-form/interfaces/form-field-option.ts +0 -4
- package/src/lib/core/components/auto-form/interfaces/form-field.ts +0 -63
- package/src/lib/core/components/auto-form/interfaces/form-state.ts +0 -4
- package/src/lib/core/components/auto-form/interfaces/input-type.ts +0 -9
- package/src/lib/core/components/bread-crumbs/bread-crumbs.component.html +0 -10
- package/src/lib/core/components/bread-crumbs/bread-crumbs.component.scss +0 -9
- package/src/lib/core/components/bread-crumbs/bread-crumbs.component.ts +0 -20
- package/src/lib/core/components/bread-crumbs/bread-crumbs.module.ts +0 -13
- package/src/lib/core/components/button/button.component.html +0 -121
- package/src/lib/core/components/button/button.component.scss +0 -18
- package/src/lib/core/components/button/button.component.spec.ts +0 -24
- package/src/lib/core/components/button/button.component.ts +0 -111
- package/src/lib/core/components/button/button.module.ts +0 -23
- package/src/lib/core/components/button/button.stories.ts +0 -132
- package/src/lib/core/components/chips-input/chips-input.component.html +0 -51
- package/src/lib/core/components/chips-input/chips-input.component.scss +0 -7
- package/src/lib/core/components/chips-input/chips-input.component.ts +0 -97
- package/src/lib/core/components/chips-input/chips-input.module.ts +0 -26
- package/src/lib/core/components/files-upload/constants.ts +0 -15
- package/src/lib/core/components/files-upload/file-list-card/file-list-card.component.html +0 -73
- package/src/lib/core/components/files-upload/file-list-card/file-list-card.component.scss +0 -248
- package/src/lib/core/components/files-upload/file-list-card/file-list-card.component.ts +0 -149
- package/src/lib/core/components/files-upload/files-upload/files-upload.component.html +0 -51
- package/src/lib/core/components/files-upload/files-upload/files-upload.component.scss +0 -61
- package/src/lib/core/components/files-upload/files-upload/files-upload.component.ts +0 -86
- package/src/lib/core/components/files-upload/files-upload-list-images/files-upload-list-images.component.html +0 -24
- package/src/lib/core/components/files-upload/files-upload-list-images/files-upload-list-images.component.scss +0 -125
- package/src/lib/core/components/files-upload/files-upload-list-images/files-upload-list-images.component.ts +0 -102
- package/src/lib/core/components/files-upload/files-upload.module.ts +0 -43
- package/src/lib/core/components/files-upload/table-files-uploading/table-files-uploading.component.html +0 -96
- package/src/lib/core/components/files-upload/table-files-uploading/table-files-uploading.component.scss +0 -44
- package/src/lib/core/components/files-upload/table-files-uploading/table-files-uploading.component.spec.ts +0 -25
- package/src/lib/core/components/files-upload/table-files-uploading/table-files-uploading.component.ts +0 -129
- package/src/lib/core/components/form-field-error/form-field-error.component.html +0 -3
- package/src/lib/core/components/form-field-error/form-field-error.component.scss +0 -0
- package/src/lib/core/components/form-field-error/form-field-error.component.ts +0 -89
- package/src/lib/core/components/form-field-error/form-field-error.module.ts +0 -19
- package/src/lib/core/components/form-field-publish-error/form-field-publish-error.component.html +0 -13
- package/src/lib/core/components/form-field-publish-error/form-field-publish-error.component.scss +0 -0
- package/src/lib/core/components/form-field-publish-error/form-field-publish-error.component.ts +0 -61
- package/src/lib/core/components/form-field-publish-error/form-field-publish-error.module.ts +0 -18
- package/src/lib/core/components/header/header.component.html +0 -24
- package/src/lib/core/components/header/header.component.scss +0 -14
- package/src/lib/core/components/header/header.component.ts +0 -19
- package/src/lib/core/components/header/header.module.ts +0 -15
- package/src/lib/core/components/icon/icon.component.html +0 -3
- package/src/lib/core/components/icon/icon.component.scss +0 -26
- package/src/lib/core/components/icon/icon.component.spec.ts +0 -24
- package/src/lib/core/components/icon/icon.component.ts +0 -38
- package/src/lib/core/components/icon/icon.module.ts +0 -15
- package/src/lib/core/components/image/image.component.html +0 -16
- package/src/lib/core/components/image/image.component.scss +0 -108
- package/src/lib/core/components/image/image.component.ts +0 -65
- package/src/lib/core/components/image/image.module.ts +0 -16
- package/src/lib/core/components/index.ts +0 -1
- package/src/lib/core/components/input-tags/input-tags.component.html +0 -8
- package/src/lib/core/components/input-tags/input-tags.component.scss +0 -0
- package/src/lib/core/components/input-tags/input-tags.component.ts +0 -33
- package/src/lib/core/components/input-tags/input-tags.module.ts +0 -15
- package/src/lib/core/components/pagination/pagination.component.html +0 -10
- package/src/lib/core/components/pagination/pagination.component.scss +0 -32
- package/src/lib/core/components/pagination/pagination.component.ts +0 -49
- package/src/lib/core/components/pagination/pagination.module.ts +0 -18
- package/src/lib/core/components/panel/panel.component.html +0 -20
- package/src/lib/core/components/panel/panel.component.scss +0 -0
- package/src/lib/core/components/panel/panel.component.spec.ts +0 -25
- package/src/lib/core/components/panel/panel.component.ts +0 -33
- package/src/lib/core/components/panel/panel.module.ts +0 -17
- package/src/lib/core/components/panel-header/panel-header.component.html +0 -45
- package/src/lib/core/components/panel-header/panel-header.component.scss +0 -8
- package/src/lib/core/components/panel-header/panel-header.component.spec.ts +0 -25
- package/src/lib/core/components/panel-header/panel-header.component.ts +0 -19
- package/src/lib/core/components/panel-header/panel-header.module.ts +0 -25
- package/src/lib/core/components/smart-progress-bar/smart-progress-bar.component.html +0 -18
- package/src/lib/core/components/smart-progress-bar/smart-progress-bar.component.scss +0 -57
- package/src/lib/core/components/smart-progress-bar/smart-progress-bar.component.ts +0 -13
- package/src/lib/core/components/smart-progress-bar/smart-progress-bar.module.ts +0 -11
- package/src/lib/core/components/spinner/spinner.component.html +0 -13
- package/src/lib/core/components/spinner/spinner.component.scss +0 -22
- package/src/lib/core/components/spinner/spinner.component.ts +0 -18
- package/src/lib/core/components/spinner/spinner.module.ts +0 -16
- package/src/lib/core/components/star-rating/star-rating.component.html +0 -12
- package/src/lib/core/components/star-rating/star-rating.component.scss +0 -27
- package/src/lib/core/components/star-rating/star-rating.component.spec.ts +0 -25
- package/src/lib/core/components/star-rating/star-rating.component.ts +0 -22
- package/src/lib/core/components/star-rating/star-rating.module.ts +0 -14
- package/src/lib/core/components/sticky-sidebar/index.ts +0 -1
- package/src/lib/core/components/sticky-sidebar/sticky-sidebar.directive.ts +0 -555
- package/src/lib/core/components/sticky-sidebar/sticky-sidebar.module.ts +0 -29
- package/src/lib/core/components/table-menu/table-menu.component.css +0 -0
- package/src/lib/core/components/table-menu/table-menu.component.html +0 -11
- package/src/lib/core/components/table-menu/table-menu.component.ts +0 -24
- package/src/lib/core/components/table-menu/table-menu.module.ts +0 -21
- package/src/lib/core/components/tag-cloud/tag-cloud.component.html +0 -9
- package/src/lib/core/components/tag-cloud/tag-cloud.component.scss +0 -3
- package/src/lib/core/components/tag-cloud/tag-cloud.component.ts +0 -34
- package/src/lib/core/components/tag-cloud/tag-cloud.module.ts +0 -17
- package/src/lib/core/components/text-with-link-more/text-with-link-more.component.html +0 -9
- package/src/lib/core/components/text-with-link-more/text-with-link-more.component.scss +0 -54
- package/src/lib/core/components/text-with-link-more/text-with-link-more.component.ts +0 -34
- package/src/lib/core/components/text-with-link-more/text-with-link-more.module.ts +0 -15
- package/src/lib/core/config/app-config.ts +0 -17
- package/src/lib/core/constants/async-validators-messages.ts +0 -14
- package/src/lib/core/constants/async-validators-type.ts +0 -10
- package/src/lib/core/constants/base-errors.const.ts +0 -9
- package/src/lib/core/constants/constants.ts +0 -6
- package/src/lib/core/constants/form-errors.const.ts +0 -5
- package/src/lib/core/constants/global-errors-messages.ts +0 -9
- package/src/lib/core/constants/main.const.ts +0 -5
- package/src/lib/core/constants/publish-errors.const.ts +0 -41
- package/src/lib/core/constants/validators-type.ts +0 -9
- package/src/lib/core/dialogs/common-dialog/common-dialog.component.html +0 -28
- package/src/lib/core/dialogs/common-dialog/common-dialog.component.scss +0 -43
- package/src/lib/core/dialogs/common-dialog/common-dialog.component.ts +0 -51
- package/src/lib/core/dialogs/delete/delete.component.css +0 -0
- package/src/lib/core/dialogs/delete/delete.component.html +0 -10
- package/src/lib/core/dialogs/delete/delete.component.ts +0 -33
- package/src/lib/core/dialogs/dialog.service.ts +0 -22
- package/src/lib/core/dialogs/dialogs.module.ts +0 -23
- package/src/lib/core/dialogs/index.ts +0 -2
- package/src/lib/core/index.ts +0 -14
- package/src/lib/core/interceptors/headers.interceptor.ts +0 -272
- package/src/lib/core/interceptors/jwt.interceptor.ts +0 -24
- package/src/lib/core/layout/components/chat-panel/chat-panel.component.html +0 -138
- package/src/lib/core/layout/components/chat-panel/chat-panel.component.scss +0 -432
- package/src/lib/core/layout/components/chat-panel/chat-panel.component.ts +0 -265
- package/src/lib/core/layout/components/chat-panel/chat-panel.module.ts +0 -37
- package/src/lib/core/layout/components/chat-panel/chat-panel.service.ts +0 -163
- package/src/lib/core/layout/components/chat-panel/chat-panel.theme.scss +0 -82
- package/src/lib/core/layout/components/content/content.component.html +0 -6
- package/src/lib/core/layout/components/content/content.component.scss +0 -13
- package/src/lib/core/layout/components/content/content.component.ts +0 -17
- package/src/lib/core/layout/components/content/content.module.ts +0 -19
- package/src/lib/core/layout/components/footer/footer.component.html +0 -20
- package/src/lib/core/layout/components/footer/footer.component.scss +0 -16
- package/src/lib/core/layout/components/footer/footer.component.ts +0 -16
- package/src/lib/core/layout/components/footer/footer.module.ts +0 -27
- package/src/lib/core/layout/components/navbar/horizontal/style-1/style-1.component.html +0 -3
- package/src/lib/core/layout/components/navbar/horizontal/style-1/style-1.component.scss +0 -16
- package/src/lib/core/layout/components/navbar/horizontal/style-1/style-1.component.ts +0 -66
- package/src/lib/core/layout/components/navbar/horizontal/style-1/style-1.module.ts +0 -21
- package/src/lib/core/layout/components/navbar/navbar.component.html +0 -11
- package/src/lib/core/layout/components/navbar/navbar.component.scss +0 -3
- package/src/lib/core/layout/components/navbar/navbar.component.ts +0 -50
- package/src/lib/core/layout/components/navbar/navbar.module.ts +0 -23
- package/src/lib/core/layout/components/navbar/vertical/style-1/style-1.component.html +0 -45
- package/src/lib/core/layout/components/navbar/vertical/style-1/style-1.component.scss +0 -192
- package/src/lib/core/layout/components/navbar/vertical/style-1/style-1.component.ts +0 -151
- package/src/lib/core/layout/components/navbar/vertical/style-1/style-1.module.ts +0 -21
- package/src/lib/core/layout/components/navbar/vertical/style-2/style-2.component.html +0 -23
- package/src/lib/core/layout/components/navbar/vertical/style-2/style-2.component.scss +0 -107
- package/src/lib/core/layout/components/navbar/vertical/style-2/style-2.component.ts +0 -73
- package/src/lib/core/layout/components/navbar/vertical/style-2/style-2.module.ts +0 -21
- package/src/lib/core/layout/components/quick-panel/quick-panel.component.html +0 -76
- package/src/lib/core/layout/components/quick-panel/quick-panel.component.scss +0 -13
- package/src/lib/core/layout/components/quick-panel/quick-panel.component.ts +0 -72
- package/src/lib/core/layout/components/quick-panel/quick-panel.module.ts +0 -23
- package/src/lib/core/layout/components/toolbar/toolbar.component.html +0 -130
- package/src/lib/core/layout/components/toolbar/toolbar.component.scss +0 -53
- package/src/lib/core/layout/components/toolbar/toolbar.component.ts +0 -127
- package/src/lib/core/layout/components/toolbar/toolbar.module.ts +0 -27
- package/src/lib/core/layout/components/toolbar/toolbar.theme.scss +0 -11
- package/src/lib/core/layout/horizontal/layout-1/layout-1.component.html +0 -129
- package/src/lib/core/layout/horizontal/layout-1/layout-1.component.scss +0 -62
- package/src/lib/core/layout/horizontal/layout-1/layout-1.component.ts +0 -60
- package/src/lib/core/layout/horizontal/layout-1/layout-1.module.ts +0 -32
- package/src/lib/core/layout/layout.module.ts +0 -26
- package/src/lib/core/layout/vertical/layout-1/layout-1.component.html +0 -141
- package/src/lib/core/layout/vertical/layout-1/layout-1.component.scss +0 -62
- package/src/lib/core/layout/vertical/layout-1/layout-1.component.ts +0 -61
- package/src/lib/core/layout/vertical/layout-1/layout-1.module.ts +0 -32
- package/src/lib/core/layout/vertical/layout-2/layout-2.component.html +0 -144
- package/src/lib/core/layout/vertical/layout-2/layout-2.component.scss +0 -48
- package/src/lib/core/layout/vertical/layout-2/layout-2.component.ts +0 -55
- package/src/lib/core/layout/vertical/layout-2/layout-2.module.ts +0 -36
- package/src/lib/core/layout/vertical/layout-3/layout-3.component.html +0 -130
- package/src/lib/core/layout/vertical/layout-3/layout-3.component.scss +0 -49
- package/src/lib/core/layout/vertical/layout-3/layout-3.component.ts +0 -55
- package/src/lib/core/layout/vertical/layout-3/layout-3.module.ts +0 -32
- package/src/lib/core/models/action-payload.ts +0 -5
- package/src/lib/core/models/entity.ts +0 -4
- package/src/lib/core/models/form-error.ts +0 -7
- package/src/lib/core/models/form-ui-unit-names.ts +0 -25
- package/src/lib/core/models/form-ui-unit.ts +0 -12
- package/src/lib/core/models/form-validation.ts +0 -7
- package/src/lib/core/models/forms/form-value.ts +0 -1
- package/src/lib/core/models/forms/image-form-value.ts +0 -11
- package/src/lib/core/models/forms/index.ts +0 -2
- package/src/lib/core/models/forms.ts +0 -12
- package/src/lib/core/models/http-client-result.ts +0 -6
- package/src/lib/core/models/index.ts +0 -13
- package/src/lib/core/models/meta-data.model.ts +0 -5
- package/src/lib/core/models/storage.ts +0 -7
- package/src/lib/core/models/ui-unit-types.ts +0 -23
- package/src/lib/core/models/ui-unit.ts +0 -14
- package/src/lib/core/modules/dialogs/components/delete/delete.component.css +0 -0
- package/src/lib/core/modules/dialogs/components/delete/delete.component.html +0 -8
- package/src/lib/core/modules/dialogs/components/delete/delete.component.ts +0 -31
- package/src/lib/core/modules/dialogs/dialogs.module.ts +0 -13
- package/src/lib/core/pipes/count-format.pipe.ts +0 -28
- package/src/lib/core/pipes/date-format.pipe.ts +0 -14
- package/src/lib/core/pipes/phone.pipe.ts +0 -24
- package/src/lib/core/pipes/pipes.module.ts +0 -28
- package/src/lib/core/pipes/safe.pipe.ts +0 -26
- package/src/lib/core/services/actions/actions-api.ts +0 -31
- package/src/lib/core/services/actions/actions-helper.services.ts +0 -97
- package/src/lib/core/services/actions/actions.service.ts +0 -31
- package/src/lib/core/services/async-validation.service.ts +0 -5
- package/src/lib/core/services/auth/authentication.service.ts +0 -104
- package/src/lib/core/services/auto-form/async-validation.service.ts +0 -27
- package/src/lib/core/services/auto-form/auto-form.service.ts +0 -173
- package/src/lib/core/services/base/base-api-service.ts +0 -300
- package/src/lib/core/services/base/base-api.ts +0 -10
- package/src/lib/core/services/base/index.ts +0 -3
- package/src/lib/core/services/base-auto-form/base-auto-form.service.ts +0 -74
- package/src/lib/core/services/cache-data/cache-data-api.ts +0 -30
- package/src/lib/core/services/cache-data/cache-data.service.ts +0 -33
- package/src/lib/core/services/cookies/browser/browser-cookies.service.ts +0 -77
- package/src/lib/core/services/cookies/cookies-options.ts +0 -11
- package/src/lib/core/services/cookies/cookies-provider.ts +0 -19
- package/src/lib/core/services/cookies/cookies.service.ts +0 -63
- package/src/lib/core/services/cookies/utils.ts +0 -42
- package/src/lib/core/services/files/files-api.ts +0 -58
- package/src/lib/core/services/files/files.service.ts +0 -49
- package/src/lib/core/services/form-delete-file/form-delete-file-api.ts +0 -38
- package/src/lib/core/services/form-delete-file/form-delete-file.service.ts +0 -33
- package/src/lib/core/services/form-validation/form-validation-api.ts +0 -39
- package/src/lib/core/services/form-validation/form-validation.service.ts +0 -33
- package/src/lib/core/services/index.ts +0 -4
- package/src/lib/core/services/model-services/tags/tags-api.ts +0 -36
- package/src/lib/core/services/model-services/tags/tags.service.ts +0 -38
- package/src/lib/core/services/publish/publish-api.ts +0 -46
- package/src/lib/core/services/publish/publish.service.ts +0 -38
- package/src/lib/core/services/reducer/reducer.service.ts +0 -67
- package/src/lib/core/services/reports/reports-api.ts +0 -38
- package/src/lib/core/services/reports/reports.service.ts +0 -35
- package/src/lib/core/services/router/router.service.ts +0 -17
- package/src/lib/core/services/social/index.ts +0 -3
- package/src/lib/core/services/social/providers/base-login-provider.ts +0 -40
- package/src/lib/core/services/social/providers/fb-login-provider.ts +0 -111
- package/src/lib/core/services/social/providers/index.ts +0 -3
- package/src/lib/core/services/social/providers/login-provider.ts +0 -8
- package/src/lib/core/services/social/social-auth-service-config.ts +0 -18
- package/src/lib/core/services/social/social-auth-service.ts +0 -80
- package/src/lib/core/services/static-data/static-data-api.ts +0 -61
- package/src/lib/core/services/static-data/static-data-helper.services.ts +0 -97
- package/src/lib/core/services/static-data/static-data.service.ts +0 -63
- package/src/lib/core/services/storage/storage.service.ts +0 -37
- package/src/lib/core/services/users/users-api.ts +0 -49
- package/src/lib/core/services/users/users.service.ts +0 -34
- package/src/lib/core/tokens/index.ts +0 -6
- package/src/lib/core/utils/component-destroyed.ts +0 -28
- package/src/lib/core/utils/guid.ts +0 -9
- package/src/lib/core/utils/track-by.ts +0 -3
- package/src/lib/core/validations/form-validations.ts +0 -82
- package/src/lib/core/validations/index.ts +0 -2
- package/src/lib/core/validations/rules.ts +0 -16
- package/src/lib/models/config/app-config.ts +0 -9
- package/src/lib/models/embeds/embed-model.ts +0 -7
- package/src/lib/models/endpoints/actions/actions-endpoint-types.ts +0 -3
- package/src/lib/models/endpoints/actions/actions-request-config.ts +0 -5
- package/src/lib/models/endpoints/actions/actions-response.ts +0 -4
- package/src/lib/models/endpoints/actions/index.ts +0 -5
- package/src/lib/models/endpoints/actions/send-actions/request/actions-send-request-config.ts +0 -9
- package/src/lib/models/endpoints/actions/send-actions/request/actions-send-request.ts +0 -30
- package/src/lib/models/endpoints/auth/auth-endpoint-types.ts +0 -4
- package/src/lib/models/endpoints/auth/auth-request-config.ts +0 -3
- package/src/lib/models/endpoints/auth/auth-response.ts +0 -3
- package/src/lib/models/endpoints/auth/index.ts +0 -5
- package/src/lib/models/endpoints/auth/login-send/index.ts +0 -2
- package/src/lib/models/endpoints/auth/login-send/request/login-send-create-request-config.ts +0 -7
- package/src/lib/models/endpoints/auth/login-send/request/login-send-create-request.ts +0 -29
- package/src/lib/models/endpoints/auth/login-send/response/login-send-create-201.ts +0 -10
- package/src/lib/models/endpoints/auth/login-send/response/login-send-create-response-factory.ts +0 -32
- package/src/lib/models/endpoints/auth/login-send/response/login-send-create-response.ts +0 -3
- package/src/lib/models/endpoints/auth/refresh-token/index.ts +0 -2
- package/src/lib/models/endpoints/auth/refresh-token/request/refresh-token-request-config.ts +0 -5
- package/src/lib/models/endpoints/auth/refresh-token/request/refresh-token-request.ts +0 -24
- package/src/lib/models/endpoints/auth/refresh-token/response/refresh-token-200.ts +0 -10
- package/src/lib/models/endpoints/auth/refresh-token/response/refresh-token-response-factory.ts +0 -32
- package/src/lib/models/endpoints/auth/refresh-token/response/refresh-token-response.ts +0 -3
- package/src/lib/models/endpoints/base-response/base-response-factory.ts +0 -33
- package/src/lib/models/endpoints/base-response/base-response.ts +0 -3
- package/src/lib/models/endpoints/base-response/response-200.ts +0 -11
- package/src/lib/models/endpoints/cache-data/cache-data-endpoint-types.ts +0 -3
- package/src/lib/models/endpoints/cache-data/cache-data-request-config.ts +0 -3
- package/src/lib/models/endpoints/cache-data/cache-data-response.ts +0 -3
- package/src/lib/models/endpoints/cache-data/get-cache-data/request/get-cache-data-request-config.ts +0 -7
- package/src/lib/models/endpoints/cache-data/get-cache-data/request/get-cache-data-request.ts +0 -25
- package/src/lib/models/endpoints/cache-data/index.ts +0 -5
- package/src/lib/models/endpoints/files/files-delete/index.ts +0 -2
- package/src/lib/models/endpoints/files/files-delete/request/files-delete-request-config.ts +0 -7
- package/src/lib/models/endpoints/files/files-delete/request/files-delete-request.ts +0 -24
- package/src/lib/models/endpoints/files/files-delete/response/files-delete-200.ts +0 -10
- package/src/lib/models/endpoints/files/files-delete/response/files-delete-response-factory.ts +0 -32
- package/src/lib/models/endpoints/files/files-delete/response/files-delete-response.ts +0 -3
- package/src/lib/models/endpoints/files/files-endpoint-types.ts +0 -6
- package/src/lib/models/endpoints/files/files-load/index.ts +0 -2
- package/src/lib/models/endpoints/files/files-load/request/files-load-request-config.ts +0 -10
- package/src/lib/models/endpoints/files/files-load/request/files-load-request.ts +0 -25
- package/src/lib/models/endpoints/files/files-load/response/files-load-200.ts +0 -10
- package/src/lib/models/endpoints/files/files-load/response/files-load-response-factory.ts +0 -32
- package/src/lib/models/endpoints/files/files-load/response/files-load-response.ts +0 -3
- package/src/lib/models/endpoints/files/files-request-config.ts +0 -3
- package/src/lib/models/endpoints/files/files-response.ts +0 -3
- package/src/lib/models/endpoints/files/files-sort/index.ts +0 -2
- package/src/lib/models/endpoints/files/files-sort/request/files-sort-request-config.ts +0 -7
- package/src/lib/models/endpoints/files/files-sort/request/files-sort-request.ts +0 -28
- package/src/lib/models/endpoints/files/files-sort/response/files-sort-200.ts +0 -10
- package/src/lib/models/endpoints/files/files-sort/response/files-sort-response-factory.ts +0 -32
- package/src/lib/models/endpoints/files/files-sort/response/files-sort-response.ts +0 -3
- package/src/lib/models/endpoints/files/files-update/index.ts +0 -2
- package/src/lib/models/endpoints/files/files-update/request/files-update-request-config.ts +0 -12
- package/src/lib/models/endpoints/files/files-update/request/files-update-request.ts +0 -33
- package/src/lib/models/endpoints/files/files-update/response/files-update-200.ts +0 -10
- package/src/lib/models/endpoints/files/files-update/response/files-update-response-factory.ts +0 -32
- package/src/lib/models/endpoints/files/files-update/response/files-update-response.ts +0 -3
- package/src/lib/models/endpoints/form-delete-file/form-delete-file/request/form-delete-file-request-config.ts +0 -9
- package/src/lib/models/endpoints/form-delete-file/form-delete-file/request/form-delete-file-request.ts +0 -30
- package/src/lib/models/endpoints/form-delete-file/form-delete-file-base-endpoint-types.ts +0 -3
- package/src/lib/models/endpoints/form-delete-file/form-delete-file-base-request-config.ts +0 -3
- package/src/lib/models/endpoints/form-delete-file/form-delete-file-base-response.ts +0 -3
- package/src/lib/models/endpoints/form-delete-file/index.ts +0 -5
- package/src/lib/models/endpoints/form-validation/form-validation-check/request/form-validation-check-request-config.ts +0 -9
- package/src/lib/models/endpoints/form-validation/form-validation-check/request/form-validation-check-request.ts +0 -34
- package/src/lib/models/endpoints/form-validation/form-validation-endpoint-types.ts +0 -3
- package/src/lib/models/endpoints/form-validation/form-validation-request-config.ts +0 -3
- package/src/lib/models/endpoints/form-validation/form-validation-response.ts +0 -3
- package/src/lib/models/endpoints/form-validation/index.ts +0 -5
- package/src/lib/models/endpoints/http/request/delete-request.ts +0 -6
- package/src/lib/models/endpoints/http/request/get-request.ts +0 -47
- package/src/lib/models/endpoints/http/request/post-request.ts +0 -8
- package/src/lib/models/endpoints/http/request/put-request.ts +0 -8
- package/src/lib/models/endpoints/http/request/request-config.ts +0 -1
- package/src/lib/models/endpoints/http/request/request-headers.ts +0 -3
- package/src/lib/models/endpoints/http/request/request-method.ts +0 -6
- package/src/lib/models/endpoints/http/request/request.ts +0 -138
- package/src/lib/models/endpoints/http/request-result-info.ts +0 -4
- package/src/lib/models/endpoints/http/response/response-status.ts +0 -11
- package/src/lib/models/endpoints/http/response/response.ts +0 -12
- package/src/lib/models/endpoints/index.ts +0 -14
- package/src/lib/models/endpoints/publish/publish-endpoint-types.ts +0 -4
- package/src/lib/models/endpoints/publish/publish-post/request/publish-post-request-config.ts +0 -7
- package/src/lib/models/endpoints/publish/publish-post/request/publish-post-request.ts +0 -24
- package/src/lib/models/endpoints/publish/publish-request-config.ts +0 -3
- package/src/lib/models/endpoints/publish/publish-response.ts +0 -3
- package/src/lib/models/endpoints/publish/un-publish-post/request/un-publish-post-config.ts +0 -7
- package/src/lib/models/endpoints/publish/un-publish-post/request/un-publish-post-request.ts +0 -24
- package/src/lib/models/endpoints/reports/enities-report/request/entities-reports-request-config.ts +0 -6
- package/src/lib/models/endpoints/reports/enities-report/request/entities-reports-request.ts +0 -24
- package/src/lib/models/endpoints/reports/index.ts +0 -5
- package/src/lib/models/endpoints/reports/reports-endpoint-types.ts +0 -4
- package/src/lib/models/endpoints/reports/reports-request-config.ts +0 -3
- package/src/lib/models/endpoints/reports/reports-response.ts +0 -3
- package/src/lib/models/endpoints/reports/user-behavior-report/request/user-behavior-report-request-config.ts +0 -6
- package/src/lib/models/endpoints/reports/user-behavior-report/request/user-behavior-report-request.ts +0 -24
- package/src/lib/models/endpoints/static-data/index.ts +0 -11
- package/src/lib/models/endpoints/static-data/static-data-create/request/static-data-create-request-config.ts +0 -9
- package/src/lib/models/endpoints/static-data/static-data-create/request/static-data-create-request.ts +0 -36
- package/src/lib/models/endpoints/static-data/static-data-delete/request/static-data-delete-request-config.ts +0 -9
- package/src/lib/models/endpoints/static-data/static-data-delete/request/static-data-delete-request.ts +0 -24
- package/src/lib/models/endpoints/static-data/static-data-endpoint-types.ts +0 -9
- package/src/lib/models/endpoints/static-data/static-data-get/request/static-data-get-request-config.ts +0 -13
- package/src/lib/models/endpoints/static-data/static-data-get/request/static-data-get-request.ts +0 -48
- package/src/lib/models/endpoints/static-data/static-data-get-list/request/static-data-get-list-request-config.ts +0 -15
- package/src/lib/models/endpoints/static-data/static-data-get-list/request/static-data-get-list-request.ts +0 -44
- package/src/lib/models/endpoints/static-data/static-data-get-list-categories/request/static-data-get-list-categories-request-config.ts +0 -3
- package/src/lib/models/endpoints/static-data/static-data-get-list-categories/request/static-data-get-list-categories-request.ts +0 -25
- package/src/lib/models/endpoints/static-data/static-data-request-config.ts +0 -3
- package/src/lib/models/endpoints/static-data/static-data-response.ts +0 -3
- package/src/lib/models/endpoints/static-data/static-data-sub-routing-get/request/static-data-sub-routing-get-request-config.ts +0 -8
- package/src/lib/models/endpoints/static-data/static-data-sub-routing-get/request/static-data-sub-routing-get-request.ts +0 -24
- package/src/lib/models/endpoints/static-data/static-data-update/request/static-data-update-request-config.ts +0 -9
- package/src/lib/models/endpoints/static-data/static-data-update/request/static-data-update-request.ts +0 -38
- package/src/lib/models/endpoints/tags/index.ts +0 -6
- package/src/lib/models/endpoints/tags/tag-entities-load/request/tag-entities-load-request-config.ts +0 -5
- package/src/lib/models/endpoints/tags/tag-entities-load/request/tag-entities-request.ts +0 -25
- package/src/lib/models/endpoints/tags/tags-endpoint-types.ts +0 -8
- package/src/lib/models/endpoints/tags/tags-load/index.ts +0 -2
- package/src/lib/models/endpoints/tags/tags-load/request/tags-load-request-config.ts +0 -8
- package/src/lib/models/endpoints/tags/tags-load/request/tags-load-request.ts +0 -30
- package/src/lib/models/endpoints/tags/tags-load/response/tags-load-200.ts +0 -13
- package/src/lib/models/endpoints/tags/tags-load/response/tags-load-response-factory.ts +0 -32
- package/src/lib/models/endpoints/tags/tags-load/response/tags-load-response.ts +0 -3
- package/src/lib/models/endpoints/tags/tags-request-config.ts +0 -3
- package/src/lib/models/endpoints/tags/tags-response.ts +0 -3
- package/src/lib/models/entity/entity-filters.ts +0 -3
- package/src/lib/models/entity/entity-query-field-names.ts +0 -21
- package/src/lib/models/entity/entity-query-fields.ts +0 -5
- package/src/lib/models/entity/entity-sort-type.ts +0 -6
- package/src/lib/models/entity/entity.ts +0 -4
- package/src/lib/models/entity/entity.type.ts +0 -6
- package/src/lib/models/entity/paging.type.ts +0 -4
- package/src/lib/models/fields/fields-model.ts +0 -4
- package/src/lib/models/fields/image-fields-model.ts +0 -5
- package/src/lib/models/fields/index.ts +0 -1
- package/src/lib/models/index.ts +0 -13
- package/src/lib/models/mapper/mapper-util.ts +0 -87
- package/src/lib/models/mapper/mapper.ts +0 -60
- package/src/lib/models/model-adapter/base-model-adapter.ts +0 -51
- package/src/lib/models/models/actions/actions.model.ts +0 -5
- package/src/lib/models/models/cache-data/cache-data.model.ts +0 -4
- package/src/lib/models/models/file/file-field-names.ts +0 -11
- package/src/lib/models/models/file/file-model.ts +0 -24
- package/src/lib/models/models/file/file-scheme.ts +0 -26
- package/src/lib/models/models/file/versions-model.ts +0 -5
- package/src/lib/models/models/meta.model.ts +0 -11
- package/src/lib/models/models/notification/notificationModel.ts +0 -7
- package/src/lib/models/models/paging.model.ts +0 -5
- package/src/lib/models/models/publish-message/publish-message-field-names.ts +0 -10
- package/src/lib/models/models/publish-message/publish-message-scheme.ts +0 -15
- package/src/lib/models/models/publish-message/publish-message.ts +0 -21
- package/src/lib/models/models/reports/reports.model.ts +0 -4
- package/src/lib/models/models/request.model.ts +0 -20
- package/src/lib/models/models/static-data/static-data.model.ts +0 -7
- package/src/lib/models/models/static-data2/static-data-field-model.ts +0 -8
- package/src/lib/models/models/static-data2/static-data-item-model.ts +0 -6
- package/src/lib/models/models/static-data2/static-data-item-names.ts +0 -4
- package/src/lib/models/models/static-data2/static-data-item-scheme.ts +0 -10
- package/src/lib/models/models/tag/tag-entity-model.ts +0 -8
- package/src/lib/models/models/tag/tag-entity-scheme.ts +0 -13
- package/src/lib/models/models/tag/tag-field-names.ts +0 -7
- package/src/lib/models/models/tag/tag-model.ts +0 -7
- package/src/lib/models/models/tag/tag-scheme.ts +0 -15
- package/src/lib/models/models/ui-units/index.ts +0 -1
- package/src/lib/models/models/ui-units/ui-units.firms-data.ts +0 -5
- package/src/lib/models/models/user/user-auth-headers.ts +0 -4
- package/src/lib/models/models/user/user-field-names.ts +0 -12
- package/src/lib/models/models/user/user-model.ts +0 -15
- package/src/lib/models/models/user/user-query-fields.ts +0 -5
- package/src/lib/models/models/user/user-right-model.ts +0 -4
- package/src/lib/models/models/user/user-scheme.ts +0 -20
- package/src/lib/models/models/user/user.role.ts +0 -7
- package/src/lib/models/query-fields-adapter/query-fileds-adapter.ts +0 -22
- package/src/lib/models/schemes/entity-scheme.ts +0 -6
- package/src/lib/models/social/fb-login-options.ts +0 -12
- package/src/lib/models/social/index.ts +0 -3
- package/src/lib/models/social/login-options.ts +0 -1
- package/src/lib/models/social/social-user.ts +0 -12
- package/src/lib/models/ui-units/ui-unit-ids.ts +0 -7
- package/src/lib/models/ui-units/ui-unit-types.ts +0 -3
- package/src/lib/models/ui-units/uiUnitItem.ts +0 -10
- package/src/lib/models/ui-units/uiUnits.images-data.ts +0 -5
- package/src/lib/scss/_index.scss +0 -84
- package/src/lib/scss/overlay/_index.scss +0 -4
- package/src/lib/scss/overlay/chips-input.scss +0 -3
- package/src/lib/scss/overlay/font-awesome.scss +0 -3
- package/src/lib/scss/overlay/mat-spinner.scss +0 -3
- package/src/lib/scss/overlay/perfect-scrollbar.scss +0 -25
- package/src/lib/scss/overlay/template.scss +0 -49
- package/src/lib/scss/package.json +0 -4
- package/src/lib/scss/src/index.ts +0 -0
- package/src/lib/scss/src/lib/.gitkeep +0 -0
- package/src/lib/scss/ui-kit/_index.scss +0 -2
- package/src/lib/scss/ui-kit/buttons.scss +0 -3
- package/src/lib/scss/ui-kit/colors.scss +0 -3
- package/src/lib/scss/variables.scss +0 -38
- package/src/lib/scss/web-index.scss +0 -2
- package/src/lib/wt-front-shared.module.ts +0 -28
- package/src/public-api.ts +0 -75
- package/tsconfig.lib.json +0 -14
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -14
- /package/{src/lib/core/components/auto-form/constants/auto-form-show-value.ts → lib/core/components/auto-form/constants/auto-form-show-value.d.ts} +0 -0
- /package/{src/lib/core/components/button/ButtonSize.ts → lib/core/components/button/ButtonSize.d.ts} +0 -0
- /package/{src/lib/core/components/button/ButtonStyle.ts → lib/core/components/button/ButtonStyle.d.ts} +0 -0
- /package/{src/lib/core/components/button/ButtonTheme.ts → lib/core/components/button/ButtonTheme.d.ts} +0 -0
- /package/{src/lib/core/components/button/index.ts → lib/core/components/button/index.d.ts} +0 -0
- /package/{src/lib/core/components/icon/index.ts → lib/core/components/icon/index.d.ts} +0 -0
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import { FileUploader } from 'ng2-file-upload';
|
|
3
|
+
import { Subject } from 'rxjs';
|
|
4
|
+
import { hideToTopOpacity } from "../../../animations/hideToTopOpacity";
|
|
5
|
+
import { appearFromLeftHideToRight } from "../../../animations/appearFromLeftHideToRight";
|
|
6
|
+
import { FilesFacade } from "../../../+state/files";
|
|
7
|
+
import { NotificationsFacade } from "../../../+state/notifications";
|
|
8
|
+
import { AuthenticationService } from "../../../services/auth/authentication.service";
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
import * as i1 from "../../../+state/files";
|
|
11
|
+
import * as i2 from "../../../+state/notifications";
|
|
12
|
+
import * as i3 from "../../../services/auth/authentication.service";
|
|
13
|
+
import * as i4 from "@angular/common";
|
|
14
|
+
import * as i5 from "@angular/material/progress-bar";
|
|
15
|
+
import * as i6 from "ng2-file-upload";
|
|
16
|
+
import * as i7 from "@angular/flex-layout";
|
|
17
|
+
export class TableFilesUploadingComponent {
|
|
18
|
+
constructor(filesFacade, notificationsFacade, changeDetectorRef, authenticationService) {
|
|
19
|
+
this.filesFacade = filesFacade;
|
|
20
|
+
this.notificationsFacade = notificationsFacade;
|
|
21
|
+
this.changeDetectorRef = changeDetectorRef;
|
|
22
|
+
this.authenticationService = authenticationService;
|
|
23
|
+
this.haveElevation = true;
|
|
24
|
+
this.loadingCompleted = new EventEmitter();
|
|
25
|
+
this.hasBaseDropZoneOver = false;
|
|
26
|
+
this.loaded = false;
|
|
27
|
+
this.allProgress$ = new Subject();
|
|
28
|
+
this.itemsProgress$ = new Subject();
|
|
29
|
+
this.itemsProgress = {};
|
|
30
|
+
this.showInputs = true;
|
|
31
|
+
}
|
|
32
|
+
ngOnInit() {
|
|
33
|
+
this.allProgress$.next(0);
|
|
34
|
+
this.itemsProgress$.next({});
|
|
35
|
+
this.initUploader();
|
|
36
|
+
}
|
|
37
|
+
ngOnDestroy() {
|
|
38
|
+
this.allProgress$.complete();
|
|
39
|
+
this.itemsProgress$.complete();
|
|
40
|
+
}
|
|
41
|
+
initUploader() {
|
|
42
|
+
this.publicUrl = 'http://localhost:4000'; // this.config.publicUrl;
|
|
43
|
+
const apiUrl = 'http://localhost:3000'; // this.config.apiUrl;
|
|
44
|
+
const { token } = this.authenticationService.loadAuthDataFromLocalStore();
|
|
45
|
+
const uploadUrl = `${apiUrl}/api/files/${this.section}/${this.itemId}`;
|
|
46
|
+
this.url = `${this.publicUrl}/${this.section}/${this.itemId}`;
|
|
47
|
+
this.uploader = new FileUploader({
|
|
48
|
+
url: uploadUrl,
|
|
49
|
+
authToken: `JWT ${token}`,
|
|
50
|
+
isHTML5: true,
|
|
51
|
+
autoUpload: true
|
|
52
|
+
});
|
|
53
|
+
this.uploader.onProgressItem = (item, progress) => this.onProgressItem(item, progress);
|
|
54
|
+
this.uploader.onProgressAll = (progress) => this.onProgressAll(progress);
|
|
55
|
+
this.uploader.onErrorItem = (item, response, status, headers) => this.onErrorItem(item, response, status, headers);
|
|
56
|
+
this.uploader.onAfterAddingFile = () => this.onAfterAddingFile();
|
|
57
|
+
this.uploader.onCompleteAll = this.onCompleteAll.bind(this);
|
|
58
|
+
}
|
|
59
|
+
onToggleImageBlockDone(e) {
|
|
60
|
+
if (e.toState === 'open') {
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
fileOverBase(e) {
|
|
64
|
+
this.hasBaseDropZoneOver = e;
|
|
65
|
+
}
|
|
66
|
+
onAfterAddingFile() {
|
|
67
|
+
this.showInputs = false;
|
|
68
|
+
this.changeDetectorRef.markForCheck();
|
|
69
|
+
}
|
|
70
|
+
onProgressItem(fileItem, progress) {
|
|
71
|
+
const fileName = fileItem.file.name;
|
|
72
|
+
this.itemsProgress[fileName] = progress;
|
|
73
|
+
this.itemsProgress$.next(this.itemsProgress);
|
|
74
|
+
}
|
|
75
|
+
onProgressAll(progress) {
|
|
76
|
+
this.allProgress$.next(progress);
|
|
77
|
+
}
|
|
78
|
+
onCompleteAll() {
|
|
79
|
+
this.notificationsFacade.addNotifications({
|
|
80
|
+
type: 'success',
|
|
81
|
+
text: 'Картинки успешно загружены',
|
|
82
|
+
id: 'images.uploads',
|
|
83
|
+
timeout: 2000
|
|
84
|
+
});
|
|
85
|
+
this.filesFacade.loadFiles({ itemId: this.itemId, section: this.section });
|
|
86
|
+
this.loadingCompleted.emit();
|
|
87
|
+
}
|
|
88
|
+
onErrorItem(item, response, status, headers) {
|
|
89
|
+
this.notificationsFacade.addNotifications({
|
|
90
|
+
type: 'error',
|
|
91
|
+
text: 'При загрузке возникли ошибки, попробуйте еще раз',
|
|
92
|
+
title: 'Ошибка',
|
|
93
|
+
id: 'images.uploads'
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
TableFilesUploadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TableFilesUploadingComponent, deps: [{ token: i1.FilesFacade }, { token: i2.NotificationsFacade }, { token: i0.ChangeDetectorRef }, { token: i3.AuthenticationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
98
|
+
TableFilesUploadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TableFilesUploadingComponent, selector: "shared-table-files-uploading", inputs: { section: "section", itemId: "itemId", haveElevation: "haveElevation" }, outputs: { loadingCompleted: "loadingCompleted" }, ngImport: i0, template: "<div\n class=\"page-layout simple fullwidth fileUploads\"\n fxLayout=\"column\">\n <!-- CONTENT -->\n <div class=\"p-24\"\n [ngClass]=\"{'mat-card mat-elevation-z4': haveElevation}\">\n <div class=\"row\">\n <div class=\"col-md-12\" *ngIf=\"!uploader.queue.length\" [@appearFromLeftHideToRight]>\n <div class=\"h2 mb-24\">\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0430\u0439\u043B\u044B</div>\n <div ng2FileDrop\n [ngClass]=\"{'nv-file-over': hasBaseDropZoneOver}\"\n (fileOver)=\"fileOverBase($event)\"\n [uploader]=\"uploader\"\n class=\"well my-drop-zone\">\n \u041F\u0435\u0440\u0435\u043D\u0435\u0441\u0438\u0442\u0435 \u0444\u0430\u0439\u043B\u044B\n </div>\n <div class=\"p-5\">\n \u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0430\u0439\u043B\u044B: <input type=\"file\" ng2FileSelect [uploader]=\"uploader\" multiple/><br/>\n </div>\n </div>\n\n <div *ngIf=\"uploader && uploader.queue.length\" [@appearFromLeftHideToRight] class=\"col-md-12\">\n <ng-container *ngIf=\"allProgress$ | async as allProgress\">\n <ng-container *ngIf=\"itemsProgress$ | async as itemsProgress\">\n <ng-container *ngIf=\"allProgress !== 100\">\n <h3>\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430 \u043A\u0430\u0440\u0442\u0438\u043D\u043E\u043A</h3>\n <table class=\"table\">\n <thead>\n <tr>\n <th width=\"50%\">\u0424\u0430\u0439\u043B</th>\n <th>\u0420\u0430\u0437\u043C\u0435\u0440</th>\n <th>\u041F\u0440\u043E\u0433\u0440\u0435\u0441\u0441</th>\n </tr>\n </thead>\n <tbody>\n <ng-container *ngFor=\"let item of uploader.queue\">\n <tr [@appearFromLeftHideToRight] *ngIf=\"itemsProgress[item?.file?.name] !== 100\">\n <td><strong>{{ item?.file?.name }}</strong></td>\n <td nowrap>{{ item?.file?.size / 1024 / 1024 | number:'.2' }} MB</td>\n <td>\n <div class=\"progress\">\n <mat-progress-bar\n class=\"example-margin\"\n color=\"warn\"\n mode=\"determinate\"\n [value]=\"itemsProgress[item?.file?.name] || 0\">\n </mat-progress-bar>\n </div>\n </td>\n </tr>\n </ng-container>\n </tbody>\n </table>\n <div>\n <div class=\"progress-block\">\n Queue progress:\n <div class=\"progress\">\n <mat-progress-bar\n class=\"example-margin\"\n color=\"warn\"\n mode=\"determinate\"\n [value]=\"allProgress\">\n </mat-progress-bar>\n </div>\n </div>\n <!--<div class=\"text-right\">\n <button mat-flat-button color=\"accent\"\n class=\"mr-5\"\n (click)=\"uploader.uploadAll()\"\n [disabled]=\"!uploader.getNotUploadedItems().length\">\n <mat-icon class=\"fs-18\">get_app</mat-icon>\n \u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0432\u0441\u0435\n </button>\n <button mat-flat-button color=\"primary\"\n class=\"mr-5\"\n (click)=\"uploader.cancelAll()\"\n [disabled]=\"!uploader.isUploading\">\n <mat-icon class=\"fs-18\">clear</mat-icon>\n \u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u0432\u0441\u0435\n </button>\n <button mat-flat-button color=\"warn\"\n class=\"mr-5\"\n (click)=\"uploader.clearQueue()\"\n [disabled]=\"!uploader.queue.length\">\n <mat-icon class=\"fs-18\">delete_outline</mat-icon>\n \u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0432\u0441\u0435\n </button>\n </div>-->\n </div>\n </ng-container>\n </ng-container>\n </ng-container>\n </div>\n </div>\n </div>\n</div>\n", styles: [":host{display:block}.fileUploads{margin-bottom:10px;margin-left:-5px}.fileUploads .mat-card{margin:5px}.nv-file-over{border:dotted 3px red}.cursor-no-pointer{cursor:auto}.table{width:100%}.table tr{line-height:40px;border-top:1px solid #efefef}.table thead{background:#efefef}.table thead th{padding:0 10px}.my-drop-zone{border:dotted 3px lightgray;padding:10px;margin-bottom:10px}\n"], dependencies: [{ kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "directive", type: i6.FileDropDirective, selector: "[ng2FileDrop]", inputs: ["uploader"], outputs: ["fileOver", "onFileDrop"] }, { kind: "directive", type: i6.FileSelectDirective, selector: "[ng2FileSelect]", inputs: ["uploader"], outputs: ["onFileSelected"] }, { kind: "directive", type: i7.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: i4.DecimalPipe, name: "number" }], animations: [
|
|
99
|
+
hideToTopOpacity,
|
|
100
|
+
appearFromLeftHideToRight
|
|
101
|
+
], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
102
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TableFilesUploadingComponent, decorators: [{
|
|
103
|
+
type: Component,
|
|
104
|
+
args: [{ selector: 'shared-table-files-uploading', animations: [
|
|
105
|
+
hideToTopOpacity,
|
|
106
|
+
appearFromLeftHideToRight
|
|
107
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n class=\"page-layout simple fullwidth fileUploads\"\n fxLayout=\"column\">\n <!-- CONTENT -->\n <div class=\"p-24\"\n [ngClass]=\"{'mat-card mat-elevation-z4': haveElevation}\">\n <div class=\"row\">\n <div class=\"col-md-12\" *ngIf=\"!uploader.queue.length\" [@appearFromLeftHideToRight]>\n <div class=\"h2 mb-24\">\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0430\u0439\u043B\u044B</div>\n <div ng2FileDrop\n [ngClass]=\"{'nv-file-over': hasBaseDropZoneOver}\"\n (fileOver)=\"fileOverBase($event)\"\n [uploader]=\"uploader\"\n class=\"well my-drop-zone\">\n \u041F\u0435\u0440\u0435\u043D\u0435\u0441\u0438\u0442\u0435 \u0444\u0430\u0439\u043B\u044B\n </div>\n <div class=\"p-5\">\n \u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0430\u0439\u043B\u044B: <input type=\"file\" ng2FileSelect [uploader]=\"uploader\" multiple/><br/>\n </div>\n </div>\n\n <div *ngIf=\"uploader && uploader.queue.length\" [@appearFromLeftHideToRight] class=\"col-md-12\">\n <ng-container *ngIf=\"allProgress$ | async as allProgress\">\n <ng-container *ngIf=\"itemsProgress$ | async as itemsProgress\">\n <ng-container *ngIf=\"allProgress !== 100\">\n <h3>\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430 \u043A\u0430\u0440\u0442\u0438\u043D\u043E\u043A</h3>\n <table class=\"table\">\n <thead>\n <tr>\n <th width=\"50%\">\u0424\u0430\u0439\u043B</th>\n <th>\u0420\u0430\u0437\u043C\u0435\u0440</th>\n <th>\u041F\u0440\u043E\u0433\u0440\u0435\u0441\u0441</th>\n </tr>\n </thead>\n <tbody>\n <ng-container *ngFor=\"let item of uploader.queue\">\n <tr [@appearFromLeftHideToRight] *ngIf=\"itemsProgress[item?.file?.name] !== 100\">\n <td><strong>{{ item?.file?.name }}</strong></td>\n <td nowrap>{{ item?.file?.size / 1024 / 1024 | number:'.2' }} MB</td>\n <td>\n <div class=\"progress\">\n <mat-progress-bar\n class=\"example-margin\"\n color=\"warn\"\n mode=\"determinate\"\n [value]=\"itemsProgress[item?.file?.name] || 0\">\n </mat-progress-bar>\n </div>\n </td>\n </tr>\n </ng-container>\n </tbody>\n </table>\n <div>\n <div class=\"progress-block\">\n Queue progress:\n <div class=\"progress\">\n <mat-progress-bar\n class=\"example-margin\"\n color=\"warn\"\n mode=\"determinate\"\n [value]=\"allProgress\">\n </mat-progress-bar>\n </div>\n </div>\n <!--<div class=\"text-right\">\n <button mat-flat-button color=\"accent\"\n class=\"mr-5\"\n (click)=\"uploader.uploadAll()\"\n [disabled]=\"!uploader.getNotUploadedItems().length\">\n <mat-icon class=\"fs-18\">get_app</mat-icon>\n \u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0432\u0441\u0435\n </button>\n <button mat-flat-button color=\"primary\"\n class=\"mr-5\"\n (click)=\"uploader.cancelAll()\"\n [disabled]=\"!uploader.isUploading\">\n <mat-icon class=\"fs-18\">clear</mat-icon>\n \u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u0432\u0441\u0435\n </button>\n <button mat-flat-button color=\"warn\"\n class=\"mr-5\"\n (click)=\"uploader.clearQueue()\"\n [disabled]=\"!uploader.queue.length\">\n <mat-icon class=\"fs-18\">delete_outline</mat-icon>\n \u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0432\u0441\u0435\n </button>\n </div>-->\n </div>\n </ng-container>\n </ng-container>\n </ng-container>\n </div>\n </div>\n </div>\n</div>\n", styles: [":host{display:block}.fileUploads{margin-bottom:10px;margin-left:-5px}.fileUploads .mat-card{margin:5px}.nv-file-over{border:dotted 3px red}.cursor-no-pointer{cursor:auto}.table{width:100%}.table tr{line-height:40px;border-top:1px solid #efefef}.table thead{background:#efefef}.table thead th{padding:0 10px}.my-drop-zone{border:dotted 3px lightgray;padding:10px;margin-bottom:10px}\n"] }]
|
|
108
|
+
}], ctorParameters: function () { return [{ type: i1.FilesFacade }, { type: i2.NotificationsFacade }, { type: i0.ChangeDetectorRef }, { type: i3.AuthenticationService }]; }, propDecorators: { section: [{
|
|
109
|
+
type: Input
|
|
110
|
+
}], itemId: [{
|
|
111
|
+
type: Input
|
|
112
|
+
}], haveElevation: [{
|
|
113
|
+
type: Input
|
|
114
|
+
}], loadingCompleted: [{
|
|
115
|
+
type: Output
|
|
116
|
+
}] } });
|
|
117
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtZmlsZXMtdXBsb2FkaW5nLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3d0LWZyb250LXNoYXJlZC9zcmMvbGliL2NvcmUvY29tcG9uZW50cy9maWxlcy11cGxvYWQvdGFibGUtZmlsZXMtdXBsb2FkaW5nL3RhYmxlLWZpbGVzLXVwbG9hZGluZy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy93dC1mcm9udC1zaGFyZWQvc3JjL2xpYi9jb3JlL2NvbXBvbmVudHMvZmlsZXMtdXBsb2FkL3RhYmxlLWZpbGVzLXVwbG9hZGluZy90YWJsZS1maWxlcy11cGxvYWRpbmcuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLHVCQUF1QixFQUN2QixpQkFBaUIsRUFDakIsU0FBUyxFQUFFLFlBQVksRUFFdkIsS0FBSyxFQUdMLE1BQU0sRUFDU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gICAgICAgICAgICAgIDx0ZCBub3dyYXA+e3sgaXRlbT8uZmlsZT8uc2l6ZSAvIDEwMjQgLyAxMDI0IHwgbnVtYmVyOicuMicgfX0gTUI8L3RkPlxuICAgICAgICAgICAgICAgICAgPHRkPlxuICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwicHJvZ3Jlc3NcIj5cbiAgICAgICAgICAgICAgICAgICAgICA8bWF0LXByb2dyZXNzLWJhclxuICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJleGFtcGxlLW1hcmdpblwiXG4gICAgICAgICAgICAgICAgICAgICAgICBjb2xvcj1cIndhcm5cIlxuICAgICAgICAgICAgICAgICAgICAgICAgbW9kZT1cImRldGVybWluYXRlXCJcbiAgICAgICAgICAgICAgICAgICAgICAgIFt2YWx1ZV09XCJpdGVtc1Byb2dyZXNzW2l0ZW0/LmZpbGU/Lm5hbWVdIHx8IDBcIj5cbiAgICAgICAgICAgICAgICAgICAgICA8L21hdC1wcm9ncmVzcy1iYXI+XG4gICAgICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgICAgPC90ZD5cbiAgICAgICAgICAgICAgICA8L3RyPlxuICAgICAgICAgICAgICA8L25nLWNvbnRhaW5lcj5cbiAgICAgICAgICAgICAgPC90Ym9keT5cbiAgICAgICAgICAgIDwvdGFibGU+XG4gICAgICAgICAgICA8ZGl2PlxuICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwicHJvZ3Jlc3MtYmxvY2tcIj5cbiAgICAgICAgICAgICAgICBRdWV1ZSBwcm9ncmVzczpcbiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwicHJvZ3Jlc3NcIj5cbiAgICAgICAgICAgICAgICAgIDxtYXQtcHJvZ3Jlc3MtYmFyXG4gICAgICAgICAgICAgICAgICAgIGNsYXNzPVwiZXhhbXBsZS1tYXJnaW5cIlxuICAgICAgICAgICAgICAgICAgICBjb2xvcj1cIndhcm5cIlxuICAgICAgICAgICAgICAgICAgICBtb2RlPVwiZGV0ZXJtaW5hdGVcIlxuICAgICAgICAgICAgICAgICAgICBbdmFsdWVdPVwiYWxsUHJvZ3Jlc3NcIj5cbiAgICAgICAgICAgICAgICAgIDwvbWF0LXByb2dyZXNzLWJhcj5cbiAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgIDwhLS08ZGl2IGNsYXNzPVwidGV4dC1yaWdodFwiPlxuICAgICAgICAgICAgICAgIDxidXR0b24gbWF0LWZsYXQtYnV0dG9uIGNvbG9yPVwiYWNjZW50XCJcbiAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzPVwibXItNVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAoY2xpY2spPVwidXBsb2FkZXIudXBsb2FkQWxsKClcIlxuICAgICAgICAgICAgICAgICAgICAgICAgW2Rpc2FibGVkXT1cIiF1cGxvYWRlci5nZXROb3RVcGxvYWRlZEl0ZW1zKCkubGVuZ3RoXCI+XG4gICAgICAgICAgICAgICAgICA8bWF0LWljb24gY2xhc3M9XCJmcy0xOFwiPmdldF9hcHA8L21hdC1pY29uPlxuICAgICAgICAgICAgICAgICAg0JfQsNCz0YDRg9C30LjRgtGMINCy0YHQtVxuICAgICAgICAgICAgICAgIDwvYnV0dG9uPlxuICAgICAgICAgICAgICAgIDxidXR0b24gbWF0LWZsYXQtYnV0dG9uIGNvbG9yPVwicHJpbWFyeVwiXG4gICAgICAgICAgICAgICAgICAgICAgICBjbGFzcz1cIm1yLTVcIlxuICAgICAgICAgICAgICAgICAgICAgICAgKGNsaWNrKT1cInVwbG9hZGVyLmNhbmNlbEFsbCgpXCJcbiAgICAgICAgICAgICAgICAgICAgICAgIFtkaXNhYmxlZF09XCIhdXBsb2FkZXIuaXNVcGxvYWRpbmdcIj5cbiAgICAgICAgICAgICAgICAgIDxtYXQtaWNvbiBjbGFzcz1cImZzLTE4XCI+Y2xlYXI8L21hdC1pY29uPlxuICAgICAgICAgICAgICAgICAg0J7RgtC80LXQvdC40YLRjCDQstGB0LVcbiAgICAgICAgICAgICAgICA8L2J1dHRvbj5cbiAgICAgICAgICAgICAgICA8YnV0dG9uIG1hdC1mbGF0LWJ1dHRvbiBjb2xvcj1cIndhcm5cIlxuICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJtci01XCJcbiAgICAgICAgICAgICAgICAgICAgICAgIChjbGljayk9XCJ1cGxvYWRlci5jbGVhclF1ZXVlKClcIlxuICAgICAgICAgICAgICAgICAgICAgICAgW2Rpc2FibGVkXT1cIiF1cGxvYWRlci5xdWV1ZS5sZW5ndGhcIj5cbiAgICAgICAgICAgICAgICAgIDxtYXQtaWNvbiBjbGFzcz1cImZzLTE4XCI+ZGVsZXRlX291dGxpbmU8L21hdC1pY29uPlxuICAgICAgICAgICAgICAgICAg0KPQtNCw0LvQuNGC0Ywg0LLRgdC1XG4gICAgICAgICAgICAgICAgPC9idXR0b24+XG4gICAgICAgICAgICAgIDwvZGl2Pi0tPlxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgPC9uZy1jb250YWluZXI+XG4gICAgICAgICAgPC9uZy1jb250YWluZXI+XG4gICAgICAgIDwvbmctY29udGFpbmVyPlxuICAgICAgPC9kaXY+XG4gICAgPC9kaXY+XG4gIDwvZGl2PlxuPC9kaXY+XG4iXX0=
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
|
2
|
+
import { UntypedFormGroup } from '@angular/forms';
|
|
3
|
+
import { Subject } from 'rxjs';
|
|
4
|
+
import { takeUntil } from 'rxjs/operators';
|
|
5
|
+
import { BaseAutoFormService } from "../../services";
|
|
6
|
+
import { ERRORS } from "../auto-form/constants/errors";
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
import * as i1 from "../../services";
|
|
9
|
+
import * as i2 from "@angular/material/form-field";
|
|
10
|
+
export class FormFieldErrorComponent {
|
|
11
|
+
constructor(baseAutoFormService) {
|
|
12
|
+
this.baseAutoFormService = baseAutoFormService;
|
|
13
|
+
this.unSubscribeSubject$ = new Subject();
|
|
14
|
+
}
|
|
15
|
+
ngOnInit() {
|
|
16
|
+
this.getError();
|
|
17
|
+
this.statusChanges();
|
|
18
|
+
}
|
|
19
|
+
ngOnDestroy() {
|
|
20
|
+
this.unSubscribeSubject$.next();
|
|
21
|
+
this.unSubscribeSubject$.complete();
|
|
22
|
+
}
|
|
23
|
+
statusChanges() {
|
|
24
|
+
this.form.get(this.fieldData.field).statusChanges
|
|
25
|
+
.pipe(takeUntil(this.unSubscribeSubject$))
|
|
26
|
+
.subscribe(() => {
|
|
27
|
+
this.getError();
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
getError() {
|
|
31
|
+
const control = this.form.get(this.fieldData.field);
|
|
32
|
+
const controlValue = control.value;
|
|
33
|
+
if (control && control.errors) {
|
|
34
|
+
Object
|
|
35
|
+
.keys(control.errors)
|
|
36
|
+
.map(errorKey => {
|
|
37
|
+
const fieldValidationErrorTest = this.fieldData.options?.validations?.[errorKey]?.errorText;
|
|
38
|
+
let error;
|
|
39
|
+
switch (errorKey) {
|
|
40
|
+
case 'required':
|
|
41
|
+
error = fieldValidationErrorTest || ERRORS['required'].message1;
|
|
42
|
+
break;
|
|
43
|
+
case 'email':
|
|
44
|
+
error = fieldValidationErrorTest || ERRORS['email'].message1;
|
|
45
|
+
break;
|
|
46
|
+
case 'mask':
|
|
47
|
+
error = fieldValidationErrorTest || ERRORS['mask'].message1;
|
|
48
|
+
break;
|
|
49
|
+
case 'minlength':
|
|
50
|
+
error = fieldValidationErrorTest || ERRORS['minlength'].message1;
|
|
51
|
+
break;
|
|
52
|
+
case 'pattern':
|
|
53
|
+
error = fieldValidationErrorTest || ERRORS['pattern'].message1;
|
|
54
|
+
break;
|
|
55
|
+
case 'customValidation':
|
|
56
|
+
error = fieldValidationErrorTest || control.errors['customValidation'];
|
|
57
|
+
break;
|
|
58
|
+
default:
|
|
59
|
+
error = this.errorMessageTexts && this.errorMessageTexts[errorKey] ? this.errorMessageTexts[errorKey] : errorKey;
|
|
60
|
+
break;
|
|
61
|
+
}
|
|
62
|
+
this.error = this.baseAutoFormService.prepareFieldError(error, {
|
|
63
|
+
['field']: this.fieldData.title,
|
|
64
|
+
['valueLength']: controlValue?.length || 0,
|
|
65
|
+
['requiredLength']: control.errors?.minlength?.requiredLength || 0,
|
|
66
|
+
['value']: controlValue,
|
|
67
|
+
});
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
FormFieldErrorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormFieldErrorComponent, deps: [{ token: i1.BaseAutoFormService }], target: i0.ɵɵFactoryTarget.Component });
|
|
73
|
+
FormFieldErrorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: FormFieldErrorComponent, selector: "shared-form-field-error", inputs: { fieldData: "fieldData", form: "form", errorMessageTexts: "errorMessageTexts" }, ngImport: i0, template: "<mat-error class=\"field-error\">\n {{error}}\n</mat-error>\n", styles: [""], dependencies: [{ kind: "directive", type: i2.MatError, selector: "mat-error, [matError]", inputs: ["id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
74
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormFieldErrorComponent, decorators: [{
|
|
75
|
+
type: Component,
|
|
76
|
+
args: [{ selector: 'shared-form-field-error', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-error class=\"field-error\">\n {{error}}\n</mat-error>\n" }]
|
|
77
|
+
}], ctorParameters: function () { return [{ type: i1.BaseAutoFormService }]; }, propDecorators: { fieldData: [{
|
|
78
|
+
type: Input
|
|
79
|
+
}], form: [{
|
|
80
|
+
type: Input
|
|
81
|
+
}], errorMessageTexts: [{
|
|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dXRvRm9ybVNlcnZpY2UucHJlcGFyZUZpZWxkRXJyb3IoZXJyb3IsIHtcbiAgICAgICAgICAgIFsnZmllbGQnXTogdGhpcy5maWVsZERhdGEudGl0bGUsXG4gICAgICAgICAgICBbJ3ZhbHVlTGVuZ3RoJ106IGNvbnRyb2xWYWx1ZT8ubGVuZ3RoIHx8IDAsXG4gICAgICAgICAgICBbJ3JlcXVpcmVkTGVuZ3RoJ106IGNvbnRyb2wuZXJyb3JzPy5taW5sZW5ndGg/LnJlcXVpcmVkTGVuZ3RoIHx8IDAsXG4gICAgICAgICAgICBbJ3ZhbHVlJ106IGNvbnRyb2xWYWx1ZSxcbiAgICAgICAgICB9KVxuICAgICAgICB9KTtcbiAgICB9XG4gIH1cbn1cbiIsIjxtYXQtZXJyb3IgY2xhc3M9XCJmaWVsZC1lcnJvclwiPlxuICB7e2Vycm9yfX1cbjwvbWF0LWVycm9yPlxuIl19
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { MatFormFieldModule } from "@angular/material/form-field";
|
|
4
|
+
import { FormFieldErrorComponent } from "./form-field-error.component";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export class FormFieldErrorModule {
|
|
7
|
+
}
|
|
8
|
+
FormFieldErrorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormFieldErrorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9
|
+
FormFieldErrorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: FormFieldErrorModule, declarations: [FormFieldErrorComponent], imports: [CommonModule,
|
|
10
|
+
MatFormFieldModule], exports: [FormFieldErrorComponent] });
|
|
11
|
+
FormFieldErrorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormFieldErrorModule, imports: [CommonModule,
|
|
12
|
+
MatFormFieldModule] });
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormFieldErrorModule, decorators: [{
|
|
14
|
+
type: NgModule,
|
|
15
|
+
args: [{
|
|
16
|
+
declarations: [FormFieldErrorComponent],
|
|
17
|
+
exports: [
|
|
18
|
+
FormFieldErrorComponent
|
|
19
|
+
],
|
|
20
|
+
imports: [
|
|
21
|
+
CommonModule,
|
|
22
|
+
MatFormFieldModule
|
|
23
|
+
]
|
|
24
|
+
}]
|
|
25
|
+
}] });
|
|
26
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1maWVsZC1lcnJvci5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy93dC1mcm9udC1zaGFyZWQvc3JjL2xpYi9jb3JlL2NvbXBvbmVudHMvZm9ybS1maWVsZC1lcnJvci9mb3JtLWZpZWxkLWVycm9yLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUcvQyxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSw4QkFBOEIsQ0FBQztBQUNsRSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSw4QkFBOEIsQ0FBQzs7QUFZdkUsTUFBTSxPQUFPLG9CQUFvQjs7aUhBQXBCLG9CQUFvQjtrSEFBcEIsb0JBQW9CLGlCQVRoQix1QkFBdUIsYUFLcEMsWUFBWTtRQUNaLGtCQUFrQixhQUpsQix1QkFBdUI7a0hBT2Qsb0JBQW9CLFlBSjdCLFlBQVk7UUFDWixrQkFBa0I7MkZBR1Qsb0JBQW9CO2tCQVZoQyxRQUFRO21CQUFDO29CQUNSLFlBQVksRUFBRSxDQUFDLHVCQUF1QixDQUFDO29CQUN2QyxPQUFPLEVBQUU7d0JBQ1AsdUJBQXVCO3FCQUN4QjtvQkFDRCxPQUFPLEVBQUU7d0JBQ1AsWUFBWTt3QkFDWixrQkFBa0I7cUJBQ25CO2lCQUNGIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTmdNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IENvbW1vbk1vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbic7XG5cblxuaW1wb3J0IHsgTWF0Rm9ybUZpZWxkTW9kdWxlIH0gZnJvbSBcIkBhbmd1bGFyL21hdGVyaWFsL2Zvcm0tZmllbGRcIjtcbmltcG9ydCB7IEZvcm1GaWVsZEVycm9yQ29tcG9uZW50IH0gZnJvbSBcIi4vZm9ybS1maWVsZC1lcnJvci5jb21wb25lbnRcIjtcblxuQE5nTW9kdWxlKHtcbiAgZGVjbGFyYXRpb25zOiBbRm9ybUZpZWxkRXJyb3JDb21wb25lbnRdLFxuICBleHBvcnRzOiBbXG4gICAgRm9ybUZpZWxkRXJyb3JDb21wb25lbnRcbiAgXSxcbiAgaW1wb3J0czogW1xuICAgIENvbW1vbk1vZHVsZSxcbiAgICBNYXRGb3JtRmllbGRNb2R1bGVcbiAgXVxufSlcbmV4cG9ydCBjbGFzcyBGb3JtRmllbGRFcnJvck1vZHVsZSB7XG59XG4iXX0=
|
package/esm2020/lib/core/components/form-field-publish-error/form-field-publish-error.component.mjs
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
|
2
|
+
import { UntypedFormGroup } from '@angular/forms';
|
|
3
|
+
import { Subject } from 'rxjs';
|
|
4
|
+
import { appearFromLeft } from "../../animations/appearFromLeft";
|
|
5
|
+
import { PublicationMessagesFacade } from "../../+state/publication-messages";
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "../../+state/publication-messages";
|
|
8
|
+
import * as i2 from "@angular/common";
|
|
9
|
+
export class FormFieldPublishErrorComponent {
|
|
10
|
+
constructor(//private autoFormService: AutoFormService,
|
|
11
|
+
publicationMessagesFacade) {
|
|
12
|
+
this.publicationMessagesFacade = publicationMessagesFacade;
|
|
13
|
+
this.unSubscribeSubject$ = new Subject();
|
|
14
|
+
}
|
|
15
|
+
ngOnInit() {
|
|
16
|
+
this.subscribeToPublishErError();
|
|
17
|
+
}
|
|
18
|
+
ngOnDestroy() {
|
|
19
|
+
this.unSubscribeSubject$.next();
|
|
20
|
+
this.unSubscribeSubject$.complete();
|
|
21
|
+
}
|
|
22
|
+
subscribeToPublishErError() {
|
|
23
|
+
/*const field = this.fieldData.field;
|
|
24
|
+
const itemId = this.form.get('id')?.value;
|
|
25
|
+
|
|
26
|
+
if (itemId) {
|
|
27
|
+
this.messages$ = this.publicationMessagesFacade.getPublicationMessage(this.entity, itemId)
|
|
28
|
+
.pipe(
|
|
29
|
+
map((items: FormErrorModel[]) => items.filter(item => item.field === field)),
|
|
30
|
+
map((items: FormErrorModel[]) => ({
|
|
31
|
+
errors: items.filter(item => item.isError),
|
|
32
|
+
recommendations: items.filter(item => !item.isError)
|
|
33
|
+
})),
|
|
34
|
+
map((items) => ({
|
|
35
|
+
errors: this.autoFormService.prepareFormFieldPublicationMessage(items.errors, PublishErrors, [this.fieldData]),
|
|
36
|
+
recommendations: this.autoFormService.prepareFormFieldPublicationMessage(items.recommendations, PublishErrors, [this.fieldData])
|
|
37
|
+
}))
|
|
38
|
+
);
|
|
39
|
+
} else {
|
|
40
|
+
this.messages$ = EMPTY;
|
|
41
|
+
}*/
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
FormFieldPublishErrorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormFieldPublishErrorComponent, deps: [{ token: i1.PublicationMessagesFacade }], target: i0.ɵɵFactoryTarget.Component });
|
|
45
|
+
FormFieldPublishErrorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: FormFieldPublishErrorComponent, selector: "shared-form-field-publish-error", inputs: { form: "form", entity: "entity", errorMessageTexts: "errorMessageTexts" }, ngImport: i0, template: "<ng-container *ngIf=\"messages$ | async as messages\">\n <ng-container *ngFor=\"let messageObj of messages.errors\">\n <div @appearFromLeft class=\"color-red\">\n {{messageObj.description}}\n </div>\n </ng-container>\n <ng-container *ngFor=\"let messageObj of messages.recommendations\">\n <div @appearFromLeft class=\"color-orange\">\n {{messageObj.description}}\n </div>\n </ng-container>\n</ng-container>\n\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], animations: [appearFromLeft], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
46
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormFieldPublishErrorComponent, decorators: [{
|
|
47
|
+
type: Component,
|
|
48
|
+
args: [{ selector: 'shared-form-field-publish-error', changeDetection: ChangeDetectionStrategy.OnPush, animations: [appearFromLeft], template: "<ng-container *ngIf=\"messages$ | async as messages\">\n <ng-container *ngFor=\"let messageObj of messages.errors\">\n <div @appearFromLeft class=\"color-red\">\n {{messageObj.description}}\n </div>\n </ng-container>\n <ng-container *ngFor=\"let messageObj of messages.recommendations\">\n <div @appearFromLeft class=\"color-orange\">\n {{messageObj.description}}\n </div>\n </ng-container>\n</ng-container>\n\n" }]
|
|
49
|
+
}], ctorParameters: function () { return [{ type: i1.PublicationMessagesFacade }]; }, propDecorators: { form: [{
|
|
50
|
+
type: Input
|
|
51
|
+
}], entity: [{
|
|
52
|
+
type: Input
|
|
53
|
+
}], errorMessageTexts: [{
|
|
54
|
+
type: Input
|
|
55
|
+
}] } });
|
|
56
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1maWVsZC1wdWJsaXNoLWVycm9yLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3d0LWZyb250LXNoYXJlZC9zcmMvbGliL2NvcmUvY29tcG9uZW50cy9mb3JtLWZpZWxkLXB1Ymxpc2gtZXJyb3IvZm9ybS1maWVsZC1wdWJsaXNoLWVycm9yLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3d0LWZyb250LXNoYXJlZC9zcmMvbGliL2NvcmUvY29tcG9uZW50cy9mb3JtLWZpZWxkLXB1Ymxpc2gtZXJyb3IvZm9ybS1maWVsZC1wdWJsaXNoLWVycm9yLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFxQixNQUFNLGVBQWUsQ0FBQztBQUM3RixPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUNsRCxPQUFPLEVBQWMsT0FBTyxFQUFFLE1BQU0sTUFBTSxDQUFDO0FBQzNDLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxpQ0FBaUMsQ0FBQztBQUNqRSxPQUFPLEVBQUUseUJBQXlCLEVBQUUsTUFBTSxtQ0FBbUMsQ0FBQzs7OztBQVM5RSxNQUFNLE9BQU8sOEJBQThCO0lBYXZDLFlBQVksMkNBQT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sZCA9PT0gZmllbGQpKSxcbiAgICAgICAgICAgICAgbWFwKChpdGVtczogRm9ybUVycm9yTW9kZWxbXSkgPT4gKHtcbiAgICAgICAgICAgICAgICBlcnJvcnM6IGl0ZW1zLmZpbHRlcihpdGVtID0+IGl0ZW0uaXNFcnJvciksXG4gICAgICAgICAgICAgICAgcmVjb21tZW5kYXRpb25zOiBpdGVtcy5maWx0ZXIoaXRlbSA9PiAhaXRlbS5pc0Vycm9yKVxuICAgICAgICAgICAgICB9KSksXG4gICAgICAgICAgICAgIG1hcCgoaXRlbXMpID0+ICh7XG4gICAgICAgICAgICAgICAgZXJyb3JzOiB0aGlzLmF1dG9Gb3JtU2VydmljZS5wcmVwYXJlRm9ybUZpZWxkUHVibGljYXRpb25NZXNzYWdlKGl0ZW1zLmVycm9ycywgUHVibGlzaEVycm9ycywgW3RoaXMuZmllbGREYXRhXSksXG4gICAgICAgICAgICAgICAgcmVjb21tZW5kYXRpb25zOiB0aGlzLmF1dG9Gb3JtU2VydmljZS5wcmVwYXJlRm9ybUZpZWxkUHVibGljYXRpb25NZXNzYWdlKGl0ZW1zLnJlY29tbWVuZGF0aW9ucywgUHVibGlzaEVycm9ycywgW3RoaXMuZmllbGREYXRhXSlcbiAgICAgICAgICAgICAgfSkpXG4gICAgICAgICAgICApO1xuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgIHRoaXMubWVzc2FnZXMkID0gRU1QVFk7XG4gICAgICAgIH0qL1xuICAgIH1cbn1cbiIsIjxuZy1jb250YWluZXIgKm5nSWY9XCJtZXNzYWdlcyQgfCBhc3luYyBhcyBtZXNzYWdlc1wiPlxuICA8bmctY29udGFpbmVyICpuZ0Zvcj1cImxldCBtZXNzYWdlT2JqIG9mIG1lc3NhZ2VzLmVycm9yc1wiPlxuICAgIDxkaXYgQGFwcGVhckZyb21MZWZ0IGNsYXNzPVwiY29sb3ItcmVkXCI+XG4gICAgICB7e21lc3NhZ2VPYmouZGVzY3JpcHRpb259fVxuICAgIDwvZGl2PlxuICA8L25nLWNvbnRhaW5lcj5cbiAgPG5nLWNvbnRhaW5lciAqbmdGb3I9XCJsZXQgbWVzc2FnZU9iaiBvZiBtZXNzYWdlcy5yZWNvbW1lbmRhdGlvbnNcIj5cbiAgICA8ZGl2IEBhcHBlYXJGcm9tTGVmdCBjbGFzcz1cImNvbG9yLW9yYW5nZVwiPlxuICAgICAge3ttZXNzYWdlT2JqLmRlc2NyaXB0aW9ufX1cbiAgICA8L2Rpdj5cbiAgPC9uZy1jb250YWluZXI+XG48L25nLWNvbnRhaW5lcj5cblxuIl19
|
package/esm2020/lib/core/components/form-field-publish-error/form-field-publish-error.module.mjs
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { MatFormFieldModule } from "@angular/material/form-field";
|
|
4
|
+
import { FormFieldPublishErrorComponent } from "./form-field-publish-error.component";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export class FormFieldPublishErrorModule {
|
|
7
|
+
}
|
|
8
|
+
FormFieldPublishErrorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormFieldPublishErrorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9
|
+
FormFieldPublishErrorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: FormFieldPublishErrorModule, declarations: [FormFieldPublishErrorComponent], imports: [CommonModule,
|
|
10
|
+
MatFormFieldModule], exports: [FormFieldPublishErrorComponent] });
|
|
11
|
+
FormFieldPublishErrorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormFieldPublishErrorModule, imports: [CommonModule,
|
|
12
|
+
MatFormFieldModule] });
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormFieldPublishErrorModule, decorators: [{
|
|
14
|
+
type: NgModule,
|
|
15
|
+
args: [{
|
|
16
|
+
declarations: [FormFieldPublishErrorComponent],
|
|
17
|
+
exports: [
|
|
18
|
+
FormFieldPublishErrorComponent
|
|
19
|
+
],
|
|
20
|
+
imports: [
|
|
21
|
+
CommonModule,
|
|
22
|
+
MatFormFieldModule
|
|
23
|
+
]
|
|
24
|
+
}]
|
|
25
|
+
}] });
|
|
26
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1maWVsZC1wdWJsaXNoLWVycm9yLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3d0LWZyb250LXNoYXJlZC9zcmMvbGliL2NvcmUvY29tcG9uZW50cy9mb3JtLWZpZWxkLXB1Ymxpc2gtZXJyb3IvZm9ybS1maWVsZC1wdWJsaXNoLWVycm9yLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUUvQyxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSw4QkFBOEIsQ0FBQztBQUNsRSxPQUFPLEVBQUUsOEJBQThCLEVBQUUsTUFBTSxzQ0FBc0MsQ0FBQzs7QUFZdEYsTUFBTSxPQUFPLDJCQUEyQjs7d0hBQTNCLDJCQUEyQjt5SEFBM0IsMkJBQTJCLGlCQVRyQiw4QkFBOEIsYUFLekMsWUFBWTtRQUNaLGtCQUFrQixhQUpsQiw4QkFBOEI7eUhBT3pCLDJCQUEyQixZQUpoQyxZQUFZO1FBQ1osa0JBQWtCOzJGQUdiLDJCQUEyQjtrQkFWdkMsUUFBUTttQkFBQztvQkFDTixZQUFZLEVBQUUsQ0FBQyw4QkFBOEIsQ0FBQztvQkFDOUMsT0FBTyxFQUFFO3dCQUNMLDhCQUE4QjtxQkFDakM7b0JBQ0QsT0FBTyxFQUFFO3dCQUNMLFlBQVk7d0JBQ1osa0JBQWtCO3FCQUNyQjtpQkFDSiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBDb21tb25Nb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb21tb24nO1xuXG5pbXBvcnQgeyBNYXRGb3JtRmllbGRNb2R1bGUgfSBmcm9tIFwiQGFuZ3VsYXIvbWF0ZXJpYWwvZm9ybS1maWVsZFwiO1xuaW1wb3J0IHsgRm9ybUZpZWxkUHVibGlzaEVycm9yQ29tcG9uZW50IH0gZnJvbSBcIi4vZm9ybS1maWVsZC1wdWJsaXNoLWVycm9yLmNvbXBvbmVudFwiO1xuXG5ATmdNb2R1bGUoe1xuICAgIGRlY2xhcmF0aW9uczogW0Zvcm1GaWVsZFB1Ymxpc2hFcnJvckNvbXBvbmVudF0sXG4gICAgZXhwb3J0czogW1xuICAgICAgICBGb3JtRmllbGRQdWJsaXNoRXJyb3JDb21wb25lbnRcbiAgICBdLFxuICAgIGltcG9ydHM6IFtcbiAgICAgICAgQ29tbW9uTW9kdWxlLFxuICAgICAgICBNYXRGb3JtRmllbGRNb2R1bGVcbiAgICBdXG59KVxuZXhwb3J0IGNsYXNzIEZvcm1GaWVsZFB1Ymxpc2hFcnJvck1vZHVsZSB7XG59XG4iXX0=
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/common";
|
|
4
|
+
export class HeaderComponent {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.title = 'Travel BloGG';
|
|
7
|
+
this.small = false;
|
|
8
|
+
}
|
|
9
|
+
ngOnInit() {
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
HeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
13
|
+
HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: HeaderComponent, selector: "shared-header", inputs: { title: "title", subTitle: "subTitle", description: "description", image: "image", small: "small" }, ngImport: i0, template: "<section class=\"home_banner_area\" [ngStyle]=\"{'background-image': image ? ' url(assets/' + image + ')' : '', 'color': '#ff0000'}\">\n <div class=\"banner_inner\" [ngClass]=\"{'dark-bg': image}\">\n <div class=\"container\">\n <div class=\"row\">\n <div class=\"col-lg-3 text-right\">\n <div class=\"home_left_img mb-14\">\n <img class=\"img-fluid\" src=\"assets/images/banner/logo.png\" [alt]=\"title\">\n </div>\n </div>\n <div class=\"col-lg-9\" style=\"margin-top: 45px\">\n <div class=\"banner_content\">\n <div *ngIf=\"subTitle\" class=\"sub-title\">{{subTitle}}</div>\n <h1>\n {{title}}\n </h1>\n <p class=\"description\" *ngIf=\"description\">\n {{description}}\n </p>\n </div>\n </div>\n </div>\n </div>\n </div>\n</section>\n", styles: [".description{height:83px;overflow:hidden;line-height:20px;font-size:14px}.dark-bg{background-color:#0000008c}.mb-14{margin-bottom:14px}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HeaderComponent, decorators: [{
|
|
15
|
+
type: Component,
|
|
16
|
+
args: [{ selector: 'shared-header', template: "<section class=\"home_banner_area\" [ngStyle]=\"{'background-image': image ? ' url(assets/' + image + ')' : '', 'color': '#ff0000'}\">\n <div class=\"banner_inner\" [ngClass]=\"{'dark-bg': image}\">\n <div class=\"container\">\n <div class=\"row\">\n <div class=\"col-lg-3 text-right\">\n <div class=\"home_left_img mb-14\">\n <img class=\"img-fluid\" src=\"assets/images/banner/logo.png\" [alt]=\"title\">\n </div>\n </div>\n <div class=\"col-lg-9\" style=\"margin-top: 45px\">\n <div class=\"banner_content\">\n <div *ngIf=\"subTitle\" class=\"sub-title\">{{subTitle}}</div>\n <h1>\n {{title}}\n </h1>\n <p class=\"description\" *ngIf=\"description\">\n {{description}}\n </p>\n </div>\n </div>\n </div>\n </div>\n </div>\n</section>\n", styles: [".description{height:83px;overflow:hidden;line-height:20px;font-size:14px}.dark-bg{background-color:#0000008c}.mb-14{margin-bottom:14px}\n"] }]
|
|
17
|
+
}], ctorParameters: function () { return []; }, propDecorators: { title: [{
|
|
18
|
+
type: Input
|
|
19
|
+
}], subTitle: [{
|
|
20
|
+
type: Input
|
|
21
|
+
}], description: [{
|
|
22
|
+
type: Input
|
|
23
|
+
}], image: [{
|
|
24
|
+
type: Input
|
|
25
|
+
}], small: [{
|
|
26
|
+
type: Input
|
|
27
|
+
}] } });
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVhZGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3d0LWZyb250LXNoYXJlZC9zcmMvbGliL2NvcmUvY29tcG9uZW50cy9oZWFkZXIvaGVhZGVyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3d0LWZyb250LXNoYXJlZC9zcmMvbGliL2NvcmUvY29tcG9uZW50cy9oZWFkZXIvaGVhZGVyLmNvbXBvb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25cIj5cbiAgICAgICAgICAgICAge3tkZXNjcmlwdGlvbn19XG4gICAgICAgICAgICA8L3A+XG4gICAgICAgICAgPC9kaXY+XG4gICAgICAgIDwvZGl2PlxuICAgICAgPC9kaXY+XG4gICAgPC9kaXY+XG4gIDwvZGl2PlxuPC9zZWN0aW9uPlxuIl19
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { HeaderComponent } from './header.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export class HeaderModule {
|
|
6
|
+
}
|
|
7
|
+
HeaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HeaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
8
|
+
HeaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: HeaderModule, declarations: [HeaderComponent], imports: [CommonModule], exports: [CommonModule,
|
|
9
|
+
HeaderComponent] });
|
|
10
|
+
HeaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HeaderModule, imports: [CommonModule, CommonModule] });
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HeaderModule, decorators: [{
|
|
12
|
+
type: NgModule,
|
|
13
|
+
args: [{
|
|
14
|
+
declarations: [HeaderComponent],
|
|
15
|
+
imports: [
|
|
16
|
+
CommonModule
|
|
17
|
+
],
|
|
18
|
+
exports: [
|
|
19
|
+
CommonModule,
|
|
20
|
+
HeaderComponent
|
|
21
|
+
]
|
|
22
|
+
}]
|
|
23
|
+
}] });
|
|
24
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVhZGVyLm1vZHVsZS5qcyIsInNvdXJjZVJ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J0czogW1xuICAgIENvbW1vbk1vZHVsZSxcbiAgICBIZWFkZXJDb21wb25lbnRcbiAgXVxufSlcbmV4cG9ydCBjbGFzcyBIZWFkZXJNb2R1bGUgeyB9XG4iXX0=
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/common";
|
|
4
|
+
import * as i2 from "@angular/material/icon";
|
|
5
|
+
/**
|
|
6
|
+
* Icon component.
|
|
7
|
+
* Add svg icon to any place.
|
|
8
|
+
* By default it uses size and color of host element or you can set predefined values by settings inputs size and color
|
|
9
|
+
*
|
|
10
|
+
* Usage:
|
|
11
|
+
* ````
|
|
12
|
+
* <shared-ui-icon icon="add"></app-ui-icon>
|
|
13
|
+
* <shared-ui-icon icon="add" size="xs" color="primary"></app-ui-icon>
|
|
14
|
+
* ````
|
|
15
|
+
*/
|
|
16
|
+
export class IconComponent {
|
|
17
|
+
constructor() {
|
|
18
|
+
this.size = 'normal';
|
|
19
|
+
this.color = 'inherit';
|
|
20
|
+
this.iconSize = 's-22';
|
|
21
|
+
}
|
|
22
|
+
ngOnChanges(changes) {
|
|
23
|
+
if (this.size === 'normal') {
|
|
24
|
+
this.iconSize = `s-22`;
|
|
25
|
+
}
|
|
26
|
+
if (this.size === 'small') {
|
|
27
|
+
this.iconSize = `s-18`;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
IconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
32
|
+
IconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: IconComponent, selector: "shared-ui-icon", inputs: { icon: "icon", size: "size", color: "color" }, usesOnChanges: true, ngImport: i0, template: "<mat-icon\n [ngClass]=\"'icon-size-' + size + ' color-' + color + ' ' + iconSize\"\n class=\"secondary-text mat-icon notranslate material-icons\" role=\"img\" aria-hidden=\"true\">{{icon}}</mat-icon>\n", styles: [":host{display:inline-flex;align-items:center}.orange_gray{color:#c17e5d!important}.color-yellow{color:#fcb202!important}.color-red{color:#f44336!important}.color-white{color:#fff9!important}.color-black{color:#000000de!important}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IconComponent, decorators: [{
|
|
34
|
+
type: Component,
|
|
35
|
+
args: [{ selector: 'shared-ui-icon', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-icon\n [ngClass]=\"'icon-size-' + size + ' color-' + color + ' ' + iconSize\"\n class=\"secondary-text mat-icon notranslate material-icons\" role=\"img\" aria-hidden=\"true\">{{icon}}</mat-icon>\n", styles: [":host{display:inline-flex;align-items:center}.orange_gray{color:#c17e5d!important}.color-yellow{color:#fcb202!important}.color-red{color:#f44336!important}.color-white{color:#fff9!important}.color-black{color:#000000de!important}\n"] }]
|
|
36
|
+
}], propDecorators: { icon: [{
|
|
37
|
+
type: Input
|
|
38
|
+
}], size: [{
|
|
39
|
+
type: Input
|
|
40
|
+
}], color: [{
|
|
41
|
+
type: Input
|
|
42
|
+
}] } });
|
|
43
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWNvbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy93dC1mcm9udC1zaGFyZWQvc3JjL2xpYi9jb3JlL2NvbXBvbmVud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ZTogSWNvblNpemUgPSAnbm9ybWFsJztcbiAgQElucHV0KCkgY29sb3I6IEljb25Db2xvciA9ICdpbmhlcml0JztcblxuICBpY29uU2l6ZTogc3RyaW5nID0gJ3MtMjInO1xuXG4gIG5nT25DaGFuZ2VzKGNoYW5nZXM6IFNpbXBsZUNoYW5nZXMpIHtcbiAgICBpZiAodGhpcy5zaXplID09PSAnbm9ybWFsJykge1xuICAgICAgdGhpcy5pY29uU2l6ZSA9IGBzLTIyYDtcbiAgICB9XG4gICAgaWYgKHRoaXMuc2l6ZSA9PT0gJ3NtYWxsJykge1xuICAgICAgdGhpcy5pY29uU2l6ZSA9IGBzLTE4YDtcbiAgICB9XG4gIH1cbn1cbiIsIjxtYXQtaWNvblxuICBbbmdDbGFzc109XCInaWNvbi1zaXplLScgKyBzaXplICsgJyBjb2xvci0nICsgY29sb3IgKyAnICcgKyBpY29uU2l6ZVwiXG4gIGNsYXNzPVwic2Vjb25kYXJ5LXRleHQgbWF0LWljb24gbm90cmFuc2xhdGUgbWF0ZXJpYWwtaWNvbnNcIiByb2xlPVwiaW1nXCIgYXJpYS1oaWRkZW49XCJ0cnVlXCI+e3tpY29ufX08L21hdC1pY29uPlxuIl19
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { IconComponent } from './icon.component';
|
|
4
|
+
import { MatIconModule } from '@angular/material/icon';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export class SharedIconModule {
|
|
7
|
+
}
|
|
8
|
+
SharedIconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SharedIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9
|
+
SharedIconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: SharedIconModule, declarations: [IconComponent], imports: [CommonModule,
|
|
10
|
+
MatIconModule], exports: [IconComponent] });
|
|
11
|
+
SharedIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SharedIconModule, imports: [CommonModule,
|
|
12
|
+
MatIconModule] });
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SharedIconModule, decorators: [{
|
|
14
|
+
type: NgModule,
|
|
15
|
+
args: [{
|
|
16
|
+
imports: [
|
|
17
|
+
CommonModule,
|
|
18
|
+
MatIconModule
|
|
19
|
+
],
|
|
20
|
+
declarations: [IconComponent],
|
|
21
|
+
exports: [IconComponent]
|
|
22
|
+
}]
|
|
23
|
+
}] });
|
|
24
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWNvbi5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy93dC1mcm9udC1zaGFyZWQvc3JjL2xpYi9jb3JlL2NvbXBvbmVudHMvaWNvbi9pY29uLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sa0JBQWtCLENBQUM7QUFDakQsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLHdCQUF3QixDQUFDOztBQVV2RCxNQUFNLE9BQU8sZ0JBQWdCOzs2R0FBaEIsZ0JBQWdCOzhHQUFoQixnQkFBZ0IsaUJBSFosYUFBYSxhQUgxQixZQUFZO1FBQ1osYUFBYSxhQUdMLGFBQWE7OEdBRVosZ0JBQWdCLFlBTnpCLFlBQVk7UUFDWixhQUFhOzJGQUtKLGdCQUFnQjtrQkFSNUIsUUFBUTttQkFBQztvQkFDUixPQUFPLEVBQUU7d0JBQ1AsWUFBWTt3QkFDWixhQUFhO3FCQUNkO29CQUNELFlBQVksRUFBRSxDQUFDLGFBQWEsQ0FBQztvQkFDN0IsT0FBTyxFQUFFLENBQUMsYUFBYSxDQUFDO2lCQUN6QiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBDb21tb25Nb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb21tb24nO1xuaW1wb3J0IHsgSWNvbkNvbXBvbmVudCB9IGZyb20gJy4vaWNvbi5jb21wb25lbnQnO1xuaW1wb3J0IHsgTWF0SWNvbk1vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL21hdGVyaWFsL2ljb24nO1xuXG5ATmdNb2R1bGUoe1xuICBpbXBvcnRzOiBbXG4gICAgQ29tbW9uTW9kdWxlLFxuICAgIE1hdEljb25Nb2R1bGVcbiAgXSxcbiAgZGVjbGFyYXRpb25zOiBbSWNvbkNvbXBvbmVudF0sXG4gIGV4cG9ydHM6IFtJY29uQ29tcG9uZW50XVxufSlcbmV4cG9ydCBjbGFzcyBTaGFyZWRJY29uTW9kdWxlIHtcbn1cbiJdfQ==
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './icon.component';
|
|
2
|
+
export * from './icon.module';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy93dC1mcm9udC1zaGFyZWQvc3JjL2xpYi9jb3JlL2NvbXBvbmVudHMvaWNvbi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGtCQUFrQixDQUFDO0FBQ2pDLGNBQWMsZUFBZSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9pY29uLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2ljb24ubW9kdWxlJztcbiJdfQ==
|