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
package/esm2020/lib/core/components/auto-form/containers/auto-form-show/auto-form-show.component.mjs
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
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 "../auto-form-show-field/auto-form-show-field.component";
|
|
5
|
+
export class AutoFormShowComponent {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.fieldGrouped = false;
|
|
8
|
+
this.object_ = Object;
|
|
9
|
+
}
|
|
10
|
+
ngOnInit() {
|
|
11
|
+
}
|
|
12
|
+
ngOnChanges(changes) {
|
|
13
|
+
if (changes.fields) {
|
|
14
|
+
this.groupFields();
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
truckByFieldName(index, item) {
|
|
18
|
+
return item.field;
|
|
19
|
+
}
|
|
20
|
+
groupFields() {
|
|
21
|
+
if (!this.fieldGrouped) {
|
|
22
|
+
this.groupedFields = {};
|
|
23
|
+
this.fields.forEach(formField => {
|
|
24
|
+
const groupName = formField.options.groupName || '';
|
|
25
|
+
if (!this.groupedFields[groupName]) {
|
|
26
|
+
this.groupedFields[groupName] = [];
|
|
27
|
+
}
|
|
28
|
+
this.groupedFields[groupName].push({ ...formField });
|
|
29
|
+
});
|
|
30
|
+
this.fieldGrouped = true;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
AutoFormShowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AutoFormShowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
35
|
+
AutoFormShowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: AutoFormShowComponent, selector: "shared-auto-form-show", inputs: { fields: "fields", data: "data", entityId: "entityId", entitySection: "entitySection" }, usesOnChanges: true, ngImport: i0, template: "<div *ngFor=\"let group of object_.keys(groupedFields); trackBy: truckByFieldName\"\n class=\"form-group\">\n <h2 *ngIf=\"group\" class=\"form-field-group-title\">\n {{group}}\n </h2>\n <div class=\"form-group-fields\">\n <div *ngFor=\"let item of groupedFields[group]; trackBy: truckByFieldName\"\n class=\"form-field-row col-md-12\"\n [ngClass]=\"item.options.col ? 'col-lg-'+item.options.col : ''\">\n <!-- [ngClass]=\"item.options.col ? 'form-field-col-'+item.options.col : ''\" -->\n <div [ngClass]=\"{'field-tab': group}\">\n <shared-auto-form-show-field\n [fieldData]=\"item\"\n [data]=\"data\"\n [entityId]=\"entityId\"\n [entitySection]=\"entitySection\"\n ></shared-auto-form-show-field>\n </div>\n </div>\n </div>\n</div>\n", styles: [":host{display:flex;flex-direction:column}.form-field-group-title{padding:0 20px}.form-group-fields{overflow:hidden;padding-left:20px;padding-right:20px}.form-group{margin-left:20px;width:calc(100% - 40px);margin-right:20px}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.AutoFormShowFieldComponent, selector: "shared-auto-form-show-field", inputs: ["fieldData", "data", "entityId", "entitySection"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AutoFormShowComponent, decorators: [{
|
|
37
|
+
type: Component,
|
|
38
|
+
args: [{ selector: 'shared-auto-form-show', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div *ngFor=\"let group of object_.keys(groupedFields); trackBy: truckByFieldName\"\n class=\"form-group\">\n <h2 *ngIf=\"group\" class=\"form-field-group-title\">\n {{group}}\n </h2>\n <div class=\"form-group-fields\">\n <div *ngFor=\"let item of groupedFields[group]; trackBy: truckByFieldName\"\n class=\"form-field-row col-md-12\"\n [ngClass]=\"item.options.col ? 'col-lg-'+item.options.col : ''\">\n <!-- [ngClass]=\"item.options.col ? 'form-field-col-'+item.options.col : ''\" -->\n <div [ngClass]=\"{'field-tab': group}\">\n <shared-auto-form-show-field\n [fieldData]=\"item\"\n [data]=\"data\"\n [entityId]=\"entityId\"\n [entitySection]=\"entitySection\"\n ></shared-auto-form-show-field>\n </div>\n </div>\n </div>\n</div>\n", styles: [":host{display:flex;flex-direction:column}.form-field-group-title{padding:0 20px}.form-group-fields{overflow:hidden;padding-left:20px;padding-right:20px}.form-group{margin-left:20px;width:calc(100% - 40px);margin-right:20px}\n"] }]
|
|
39
|
+
}], propDecorators: { fields: [{
|
|
40
|
+
type: Input
|
|
41
|
+
}], data: [{
|
|
42
|
+
type: Input
|
|
43
|
+
}], entityId: [{
|
|
44
|
+
type: Input
|
|
45
|
+
}], entitySection: [{
|
|
46
|
+
type: Input
|
|
47
|
+
}] } });
|
|
48
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0by1mb3JtLXNob3cuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4v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Fzc109XCJpdGVtLm9wdGlvbnMuY29sID8gJ2Zvcm0tZmllbGQtY29sLScraXRlbS5vcHRpb25zLmNvbCA6ICcnXCIgLS0+XG4gICAgICA8ZGl2IFtuZ0NsYXNzXT1cInsnZmllbGQtdGFiJzogZ3JvdXB9XCI+XG4gICAgICAgIDxzaGFyZWQtYXV0by1mb3JtLXNob3ctZmllbGRcbiAgICAgICAgICBbZmllbGREYXRhXT1cIml0ZW1cIlxuICAgICAgICAgIFtkYXRhXT1cImRhdGFcIlxuICAgICAgICAgIFtlbnRpdHlJZF09XCJlbnRpdHlJZFwiXG4gICAgICAgICAgW2VudGl0eVNlY3Rpb25dPVwiZW50aXR5U2VjdGlvblwiXG4gICAgICAgID48L3NoYXJlZC1hdXRvLWZvcm0tc2hvdy1maWVsZD5cbiAgICAgIDwvZGl2PlxuICAgIDwvZGl2PlxuICA8L2Rpdj5cbjwvZGl2PlxuIl19
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
|
2
|
+
import { FieldType } from "../../interfaces/field-type";
|
|
3
|
+
import { InputType } from "../../interfaces/input-type";
|
|
4
|
+
import { IFormFieldFormat } from "../../interfaces/form-field-format";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@angular/common";
|
|
7
|
+
import * as i2 from "@angular/flex-layout";
|
|
8
|
+
import * as i3 from "../../../star-rating/star-rating.component";
|
|
9
|
+
import * as i4 from "../../components/form-field-select-show/form-field-select-show.component";
|
|
10
|
+
import * as i5 from "../../components/form-field-file-show/form-field-file-show.component";
|
|
11
|
+
import * as i6 from "../../components/form-field-slide-toggle-show/form-field-slide-toggle-show.component";
|
|
12
|
+
import * as i7 from "../../components/form-field-input-show/form-field-input-show.component";
|
|
13
|
+
import * as i8 from "../../components/form-field-files-show/form-field-files-show.component";
|
|
14
|
+
export class AutoFormShowFieldComponent {
|
|
15
|
+
constructor() {
|
|
16
|
+
this.fieldTypes = FieldType;
|
|
17
|
+
this.inputType = InputType.Text;
|
|
18
|
+
}
|
|
19
|
+
ngOnInit() {
|
|
20
|
+
this.setInputType();
|
|
21
|
+
this.field = this.fieldData.field;
|
|
22
|
+
this.value = this.data[this.field] || '';
|
|
23
|
+
}
|
|
24
|
+
setInputType() {
|
|
25
|
+
switch (this.fieldData.options.format) {
|
|
26
|
+
case IFormFieldFormat.Email:
|
|
27
|
+
this.inputType = InputType.Email;
|
|
28
|
+
break;
|
|
29
|
+
case IFormFieldFormat.Phone:
|
|
30
|
+
this.inputType = InputType.Tel;
|
|
31
|
+
break;
|
|
32
|
+
default:
|
|
33
|
+
this.inputType = InputType.Text;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
AutoFormShowFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AutoFormShowFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
38
|
+
AutoFormShowFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: AutoFormShowFieldComponent, selector: "shared-auto-form-show-field", inputs: { fieldData: "fieldData", data: "data", entityId: "entityId", entitySection: "entitySection" }, ngImport: i0, template: "<div fxLayout=\"column\"\n class=\"position-relative form-field\">\n <ng-container [ngSwitch]=\"fieldData.type\">\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeSelect\">\n <shared-form-field-select-show\n [fieldData]=\"fieldData\"\n [value]=\"value\"\n ></shared-form-field-select-show>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeSelectMultiple\">\n <shared-form-field-select-show\n [fieldData]=\"fieldData\"\n [value]=\"value\"\n ></shared-form-field-select-show>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeSlideToggle\">\n <shared-form-field-slide-toggle-show [fieldData]=\"fieldData\" [value]=\"value\"></shared-form-field-slide-toggle-show>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeTextarea\">\n <label class=\"show-label\">{{fieldData.title}}</label>\n <div class=\"form-field-value\">{{value}}</div>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeTextareaEditor\">\n <label class=\"show-label\">{{fieldData.title}}</label>\n <div class=\"form-field-value\" [innerHTML]=\"value\"></div>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeFile\">\n <shared-form-field-file-show [fieldData]=\"fieldData\" [value]=\"value\"></shared-form-field-file-show>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeRating\">\n <shared-star-rating [rating]=\"value\"></shared-star-rating>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeFiles\">\n <shared-form-field-files-show [fieldData]=\"fieldData\"\n [entityId]=\"entityId\"\n [entitySection]=\"entitySection\"></shared-form-field-files-show>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <shared-form-field-input-show [fieldData]=\"fieldData\" [value]=\"value\"></shared-form-field-input-show>\n </ng-container>\n </ng-container>\n</div>\n", styles: [".form-field{margin-bottom:20px}.form-field:last-child{margin-bottom:0}.show-label{font-size:12px;opacity:.5}.form-field-value{font-size:16px}.mb-21{margin-bottom:21px}.textarea-field-width{width:100%;max-width:1000px}\n"], dependencies: [{ kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "directive", type: i2.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: "component", type: i3.StarRatingComponent, selector: "shared-star-rating", inputs: ["rating", "size"] }, { kind: "component", type: i4.FormFieldSelectShowComponent, selector: "shared-form-field-select-show", inputs: ["fieldData", "value"] }, { kind: "component", type: i5.FormFieldFileShowComponent, selector: "shared-form-field-file-show", inputs: ["fieldData", "value"] }, { kind: "component", type: i6.FormFieldSlideToggleShowComponent, selector: "shared-form-field-slide-toggle-show", inputs: ["fieldData", "value"] }, { kind: "component", type: i7.FormFieldInputShowComponent, selector: "shared-form-field-input-show", inputs: ["fieldData", "value"] }, { kind: "component", type: i8.FormFieldFilesShowComponent, selector: "shared-form-field-files-show", inputs: ["fieldData", "entityId", "entitySection"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AutoFormShowFieldComponent, decorators: [{
|
|
40
|
+
type: Component,
|
|
41
|
+
args: [{ selector: 'shared-auto-form-show-field', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div fxLayout=\"column\"\n class=\"position-relative form-field\">\n <ng-container [ngSwitch]=\"fieldData.type\">\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeSelect\">\n <shared-form-field-select-show\n [fieldData]=\"fieldData\"\n [value]=\"value\"\n ></shared-form-field-select-show>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeSelectMultiple\">\n <shared-form-field-select-show\n [fieldData]=\"fieldData\"\n [value]=\"value\"\n ></shared-form-field-select-show>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeSlideToggle\">\n <shared-form-field-slide-toggle-show [fieldData]=\"fieldData\" [value]=\"value\"></shared-form-field-slide-toggle-show>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeTextarea\">\n <label class=\"show-label\">{{fieldData.title}}</label>\n <div class=\"form-field-value\">{{value}}</div>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeTextareaEditor\">\n <label class=\"show-label\">{{fieldData.title}}</label>\n <div class=\"form-field-value\" [innerHTML]=\"value\"></div>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeFile\">\n <shared-form-field-file-show [fieldData]=\"fieldData\" [value]=\"value\"></shared-form-field-file-show>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeRating\">\n <shared-star-rating [rating]=\"value\"></shared-star-rating>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeFiles\">\n <shared-form-field-files-show [fieldData]=\"fieldData\"\n [entityId]=\"entityId\"\n [entitySection]=\"entitySection\"></shared-form-field-files-show>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <shared-form-field-input-show [fieldData]=\"fieldData\" [value]=\"value\"></shared-form-field-input-show>\n </ng-container>\n </ng-container>\n</div>\n", styles: [".form-field{margin-bottom:20px}.form-field:last-child{margin-bottom:0}.show-label{font-size:12px;opacity:.5}.form-field-value{font-size:16px}.mb-21{margin-bottom:21px}.textarea-field-width{width:100%;max-width:1000px}\n"] }]
|
|
42
|
+
}], ctorParameters: function () { return []; }, propDecorators: { fieldData: [{
|
|
43
|
+
type: Input
|
|
44
|
+
}], data: [{
|
|
45
|
+
type: Input
|
|
46
|
+
}], entityId: [{
|
|
47
|
+
type: Input
|
|
48
|
+
}], entitySection: [{
|
|
49
|
+
type: Input
|
|
50
|
+
}] } });
|
|
51
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0by1mb3JtLX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cImVudGl0eVNlY3Rpb25cIj48L3NoYXJlZC1mb3JtLWZpZWxkLWZpbGVzLXNob3c+XG4gICAgPC9uZy1jb250YWluZXI+XG5cbiAgICA8bmctY29udGFpbmVyICpuZ1N3aXRjaERlZmF1bHQ+XG4gICAgICA8c2hhcmVkLWZvcm0tZmllbGQtaW5wdXQtc2hvdyBbZmllbGREYXRhXT1cImZpZWxkRGF0YVwiIFt2YWx1ZV09XCJ2YWx1ZVwiPjwvc2hhcmVkLWZvcm0tZmllbGQtaW5wdXQtc2hvdz5cbiAgICA8L25nLWNvbnRhaW5lcj5cbiAgPC9uZy1jb250YWluZXI+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
|
+
import { takeUntil } from 'rxjs/operators';
|
|
4
|
+
import { UntypedFormGroup } from '@angular/forms';
|
|
5
|
+
import { MatDialog } from "@angular/material/dialog";
|
|
6
|
+
import { appearFromLeft } from "../../../../animations/appearFromLeft";
|
|
7
|
+
import { FieldType } from "../../interfaces/field-type";
|
|
8
|
+
import { AuthenticationService } from "../../../../services/auth/authentication.service";
|
|
9
|
+
import { CoreFacade } from "../../../../+state/core.facade";
|
|
10
|
+
import { CommonDialogComponent } from "../../../../dialogs/common-dialog/common-dialog.component";
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
import * as i1 from "../../../../services/auth/authentication.service";
|
|
13
|
+
import * as i2 from "../../../../+state/core.facade";
|
|
14
|
+
import * as i3 from "@angular/material/dialog";
|
|
15
|
+
import * as i4 from "@angular/common";
|
|
16
|
+
import * as i5 from "../../../form-field-error/form-field-error.component";
|
|
17
|
+
import * as i6 from "../../../form-field-publish-error/form-field-publish-error.component";
|
|
18
|
+
import * as i7 from "@angular/material/input";
|
|
19
|
+
import * as i8 from "@angular/forms";
|
|
20
|
+
import * as i9 from "@angular/flex-layout";
|
|
21
|
+
import * as i10 from "@angular/material/icon";
|
|
22
|
+
import * as i11 from "ckeditor4-angular";
|
|
23
|
+
import * as i12 from "../../components/form-field-spinner/form-field-spinner.component";
|
|
24
|
+
import * as i13 from "../../components/form-field-select/form-field-select.component";
|
|
25
|
+
import * as i14 from "../../components/form-field-slide-toggle/form-field-slide-toggle.component";
|
|
26
|
+
import * as i15 from "../../components/form-field-input/form-field-input.component";
|
|
27
|
+
import * as i16 from "../../components/form-field-file/form-field-file.component";
|
|
28
|
+
import * as i17 from "../../components/form-field-files/form-field-files.component";
|
|
29
|
+
import * as i18 from "../../components/form-field-tags/form-field-tags.component";
|
|
30
|
+
export class FormFieldComponent {
|
|
31
|
+
get fieldPublishError() {
|
|
32
|
+
if (this.publicationMessages) {
|
|
33
|
+
return this.publicationMessages.filter((item) => item.field === this.fieldData.field && item.isError);
|
|
34
|
+
}
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
get fieldPublicationMessages() {
|
|
38
|
+
if (this.publicationMessages) {
|
|
39
|
+
return this.publicationMessages.filter((item) => item.field === this.fieldData.field && !item.isError);
|
|
40
|
+
}
|
|
41
|
+
return null;
|
|
42
|
+
}
|
|
43
|
+
get haveFieldError() {
|
|
44
|
+
return ((!this.fieldControl.pristine || this.fieldControl.touched) && this.fieldControl.status === this.invalidStatus) || !!this.fieldPublishError?.length;
|
|
45
|
+
}
|
|
46
|
+
get haveFieldWarning() {
|
|
47
|
+
return !!this.fieldPublicationMessages?.length;
|
|
48
|
+
}
|
|
49
|
+
constructor(/*@Inject(CORE_CONFIG) private config: AppConfig,*/ authenticationService, coreFacade, cd, dialog) {
|
|
50
|
+
this.authenticationService = authenticationService;
|
|
51
|
+
this.coreFacade = coreFacade;
|
|
52
|
+
this.cd = cd;
|
|
53
|
+
this.dialog = dialog;
|
|
54
|
+
this.editorImageUploadUrl = '';
|
|
55
|
+
this.eventUpdateForm = new EventEmitter();
|
|
56
|
+
this.eventSendAction = new EventEmitter();
|
|
57
|
+
this.fieldTypes = FieldType;
|
|
58
|
+
this.invalidStatus = 'INVALID';
|
|
59
|
+
this.unSubscribeSubject$ = new Subject();
|
|
60
|
+
}
|
|
61
|
+
ngOnInit() {
|
|
62
|
+
this.field = this.fieldData.field;
|
|
63
|
+
this.fieldControl = this.form.get(this.field);
|
|
64
|
+
this.setEditorConfig();
|
|
65
|
+
this.subscribeToChangeStatus();
|
|
66
|
+
}
|
|
67
|
+
ngOnDestroy() {
|
|
68
|
+
this.unSubscribeSubject$.next();
|
|
69
|
+
this.unSubscribeSubject$.complete();
|
|
70
|
+
}
|
|
71
|
+
fieldActionHandler(data) {
|
|
72
|
+
try {
|
|
73
|
+
if (data.action) {
|
|
74
|
+
this.coreFacade.sendGlobalEvent(data.action, this.entity, this.itemId, this.fieldData, this.form.value);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
catch (e) {
|
|
78
|
+
console.error('[ form-field ][ fieldActionHandler ]', { error: e, data, fieldData: this.fieldData });
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
openHintDialog(hint) {
|
|
82
|
+
this.dialog.open(CommonDialogComponent, {
|
|
83
|
+
panelClass: 'dialog-without-margin',
|
|
84
|
+
data: {
|
|
85
|
+
message: hint,
|
|
86
|
+
falseButtonTitle: 'Закрыть',
|
|
87
|
+
messageType: 'info',
|
|
88
|
+
size: 'middle',
|
|
89
|
+
hideTrueButton: true
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
subscribeToChangeStatus() {
|
|
94
|
+
this.form.get(this.field).statusChanges
|
|
95
|
+
.pipe(takeUntil(this.unSubscribeSubject$))
|
|
96
|
+
.subscribe(() => {
|
|
97
|
+
this.cd.markForCheck();
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
setEditorConfig() {
|
|
101
|
+
const entityId = this.form.get('id')?.value;
|
|
102
|
+
const { token } = this.authenticationService.loadAuthDataFromLocalStore();
|
|
103
|
+
const newConfig = {
|
|
104
|
+
apiUrl: 'http://localhost:3000',
|
|
105
|
+
panelUrl: 'http://localhost:4200',
|
|
106
|
+
};
|
|
107
|
+
this.ckeConfig = {
|
|
108
|
+
extraPlugins: "image,uploadimage,tabletools,undo,indent,justify,showblocks",
|
|
109
|
+
fileTools_requestHeaders: {
|
|
110
|
+
'Authorization': `JWT ${token}`
|
|
111
|
+
},
|
|
112
|
+
imagebrowserUrl: this.entity ? `${newConfig.apiUrl}/api/files/browser/${this.entity.toLowerCase()}/${entityId}` : '',
|
|
113
|
+
filebrowserBrowseUrl: this.entity ? `${newConfig.panelUrl}/file-browser/${this.entity.toLowerCase()}/${entityId}` : '',
|
|
114
|
+
filebrowserWindowWidth: '905',
|
|
115
|
+
filebrowserWindowHeight: '480',
|
|
116
|
+
filebrowserUploadUrl: this.entity ? `${newConfig.apiUrl}/api/files/${this.entity.toLowerCase()}/${entityId}/editor` : '',
|
|
117
|
+
uploadUrl: this.entity ? `${newConfig.apiUrl}/api/files/${this.entity.toLowerCase()}/${entityId}/editor` : '',
|
|
118
|
+
easyimage_toolbar: ['EasyImageAlignLeft', 'EasyImageAlignCenter', 'EasyImageAlignRight'],
|
|
119
|
+
};
|
|
120
|
+
/*
|
|
121
|
+
removePlugins: 'removePlugins',
|
|
122
|
+
extraPlugins:
|
|
123
|
+
"image2, easyimage,enhancedimage, uploadimage,dialogui,dialog,a11yhelp,about,basicstyles,bidi,blockquote,clipboard," +
|
|
124
|
+
"button,panelbutton,panel,floatpanel,colorbutton,colordialog,menu," +
|
|
125
|
+
"contextmenu,dialogadvtab,div,elementspath,enterkey,entities,popup," +
|
|
126
|
+
"filebrowser,find,fakeobjects,flash,floatingspace,listblock,richcombo," +
|
|
127
|
+
"font,format,forms,horizontalrule,htmlwriter,iframe,image,indent," +
|
|
128
|
+
"indentblock,indentlist,justify,link,list,liststyle,magicline," +
|
|
129
|
+
"maximize,newpage,pagebreak,pastefromword,pastetext,preview,print," +
|
|
130
|
+
"removeformat,resize,save,menubutton,scayt,selectall,showblocks," +
|
|
131
|
+
"showborders,smiley,sourcearea,specialchar,stylescombo,tab,table," +
|
|
132
|
+
"tabletools,templates,toolbar,undo,wsc,wysiwygarea"
|
|
133
|
+
*/
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
FormFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormFieldComponent, deps: [{ token: i1.AuthenticationService }, { token: i2.CoreFacade }, { token: i0.ChangeDetectorRef }, { token: i3.MatDialog }], target: i0.ɵɵFactoryTarget.Component });
|
|
137
|
+
FormFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: FormFieldComponent, selector: "shared-form-field", inputs: { fieldData: "fieldData", itemId: "itemId", form: "form", editorImageUploadUrl: "editorImageUploadUrl", errorMessageTexts: "errorMessageTexts", entity: "entity", publicationMessages: "publicationMessages", entityTypeUserRoleRights: "entityTypeUserRoleRights" }, outputs: { eventUpdateForm: "eventUpdateForm", eventSendAction: "eventSendAction" }, ngImport: i0, template: "<div *ngIf=\"!fieldData.options.notEditable && !fieldData.options.hide\"\n fxLayout=\"column\"\n class=\"position-relative form-field\"\n [id]=\"'field-' + fieldData.field\"\n [formGroup]=\"form\"\n [ngClass]=\"{\n 'border-block textarea-field mb-21': fieldData.type === fieldTypes.FieldTypeTextarea || fieldData.type === fieldTypes.FieldTypeTextareaEditor,\n 'form-field-error': haveFieldError,\n 'form-field-warning': haveFieldWarning,\n 'check-box-field': fieldData.type === fieldTypes.FieldTypeSlideToggle\n }\">\n <ng-container [ngSwitch]=\"fieldData.type\">\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeSelect\">\n <shared-form-field-select\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n ></shared-form-field-select>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeSlideToggle\">\n <shared-form-field-slide-toggle\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n ></shared-form-field-slide-toggle>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeTextarea\">\n <div class=\"textarea-field-width\">\n <label\n [id]=\"'field-' + fieldData.field\">{{fieldData.title}}{{fieldData.validators && fieldData.validators.includes('required') ? ' *' : ''}}</label>\n <textarea matInput rows=\"6\" [formControlName]=\"fieldData.field\"></textarea>\n <div class=\"textarea-field-length\">\n <b>\u0422\u0435\u043A\u0443\u0449\u0430\u044F \u0434\u043B\u0438\u043D\u0430: {{form.get(fieldData.field).value?.length || 0}}</b>\n </div>\n </div>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeTextareaEditor\">\n <div class=\"textarea-field-width\">\n <label\n [id]=\"'field-' + fieldData.field\">{{fieldData.title}}{{fieldData.validators && fieldData.validators.includes('required') ? ' *' : ''}}</label>\n <div *ngIf=\"fieldData.description\" class=\"field-description\">\n {{fieldData.description}}\n </div>\n <ckeditor [formControlName]=\"fieldData.field\"\n [config]=\"ckeConfig\"></ckeditor>\n <div class=\"textarea-field-length\">\n <b>\u0422\u0435\u043A\u0443\u0449\u0430\u044F \u0434\u043B\u0438\u043D\u0430: {{form.get(fieldData.field).value?.length || 0}}</b>\n </div>\n </div>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeFile\">\n <shared-form-field-file\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n [entity]=\"entity\"\n ></shared-form-field-file>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeFiles\">\n <shared-form-field-files\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n [itemId]=\"itemId\"\n ></shared-form-field-files>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeTags\">\n <shared-form-field-tags\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n [itemId]=\"itemId\"\n ></shared-form-field-tags>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <shared-form-field-input\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n ></shared-form-field-input>\n </ng-container>\n </ng-container>\n\n <div *ngIf=\"fieldData.actions\" class=\"field-actions\">\n <ng-container *ngFor=\"let action of fieldData.actions\">\n <div class=\"field-actions-action\" (click)=\"fieldActionHandler(action)\">{{action.title}}</div>\n </ng-container>\n </div>\n\n <shared-form-field-spinner *ngIf=\"fieldData.options.loading\"></shared-form-field-spinner>\n\n <ng-container *ngIf=\"fieldData.options.hint\">\n <mat-icon class=\"hint-icons\" (click)=\"openHintDialog(fieldData.options.hint)\">help_outline</mat-icon>\n </ng-container>\n\n <shared-form-field-error\n @appearFromLeft\n *ngIf=\"fieldControl.touched && !fieldControl.valid\"\n [form]=\"form\"\n [fieldData]=\"fieldData\"\n [errorMessageTexts]=\"errorMessageTexts\"\n [ngClass]=\"{'textarea-error': fieldData.type === fieldTypes.FieldTypeTextarea}\"\n ></shared-form-field-error>\n\n <shared-form-field-publish-error\n [form]=\"form\"\n [entity]=\"entity\"\n [errorMessageTexts]=\"errorMessageTexts\"\n [ngClass]=\"{'textarea-error': fieldData.type === fieldTypes.FieldTypeTextarea}\"\n ></shared-form-field-publish-error>\n</div>\n", styles: [".mb-21{margin-bottom:21px}.field-description{border-radius:8px;color:#5f5b5b;margin:5px 5px 15px;border-left:3px solid #009ce5;padding:10px 0 10px 10px;background:rgba(0,156,229,.2588235294)}.field-actions{display:flex;justify-content:flex-end;margin-bottom:5px}.field-actions .field-actions-action{padding:0 10px;text-align:right;background:#007bff;color:#fff;border-radius:4px}.textarea-field-length{background:#f8f8f8;text-align:right;padding-right:10px;color:#989494;border-bottom:1px solid #d1d1d1;font-size:11px}.hint-icons{position:absolute;right:0;margin-top:9px}\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: "directive", type: i4.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i4.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i4.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "component", type: i5.FormFieldErrorComponent, selector: "shared-form-field-error", inputs: ["fieldData", "form", "errorMessageTexts"] }, { kind: "component", type: i6.FormFieldPublishErrorComponent, selector: "shared-form-field-publish-error", inputs: ["form", "entity", "errorMessageTexts"] }, { kind: "directive", type: i7.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "directive", type: i8.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i8.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i8.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i8.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i8.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i9.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "component", type: i10.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i11.CKEditorComponent, selector: "ckeditor", inputs: ["editorUrl", "tagName", "type", "data", "readOnly", "config"], outputs: ["namespaceLoaded", "ready", "dataReady", "change", "dataChange", "dragStart", "dragEnd", "drop", "fileUploadResponse", "fileUploadRequest", "focus", "paste", "afterPaste", "blur"] }, { kind: "component", type: i12.FormFieldSpinnerComponent, selector: "shared-form-field-spinner" }, { kind: "component", type: i13.FormFieldSelectComponent, selector: "shared-form-field-select", inputs: ["fieldData", "form"] }, { kind: "component", type: i14.FormFieldSlideToggleComponent, selector: "shared-form-field-slide-toggle", inputs: ["fieldData", "form"] }, { kind: "component", type: i15.FormFieldInputComponent, selector: "shared-form-field-input", inputs: ["fieldData", "form"] }, { kind: "component", type: i16.FormFieldFileComponent, selector: "shared-form-field-file", inputs: ["fieldData", "form", "entity"] }, { kind: "component", type: i17.FormFieldFilesComponent, selector: "shared-form-field-files", inputs: ["fieldData", "form", "itemId"] }, { kind: "component", type: i18.FormFieldTagsComponent, selector: "shared-form-field-tags", inputs: ["fieldData", "form", "itemId"] }], animations: [appearFromLeft], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
138
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormFieldComponent, decorators: [{
|
|
139
|
+
type: Component,
|
|
140
|
+
args: [{ selector: 'shared-form-field', changeDetection: ChangeDetectionStrategy.OnPush, animations: [appearFromLeft], template: "<div *ngIf=\"!fieldData.options.notEditable && !fieldData.options.hide\"\n fxLayout=\"column\"\n class=\"position-relative form-field\"\n [id]=\"'field-' + fieldData.field\"\n [formGroup]=\"form\"\n [ngClass]=\"{\n 'border-block textarea-field mb-21': fieldData.type === fieldTypes.FieldTypeTextarea || fieldData.type === fieldTypes.FieldTypeTextareaEditor,\n 'form-field-error': haveFieldError,\n 'form-field-warning': haveFieldWarning,\n 'check-box-field': fieldData.type === fieldTypes.FieldTypeSlideToggle\n }\">\n <ng-container [ngSwitch]=\"fieldData.type\">\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeSelect\">\n <shared-form-field-select\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n ></shared-form-field-select>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeSlideToggle\">\n <shared-form-field-slide-toggle\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n ></shared-form-field-slide-toggle>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeTextarea\">\n <div class=\"textarea-field-width\">\n <label\n [id]=\"'field-' + fieldData.field\">{{fieldData.title}}{{fieldData.validators && fieldData.validators.includes('required') ? ' *' : ''}}</label>\n <textarea matInput rows=\"6\" [formControlName]=\"fieldData.field\"></textarea>\n <div class=\"textarea-field-length\">\n <b>\u0422\u0435\u043A\u0443\u0449\u0430\u044F \u0434\u043B\u0438\u043D\u0430: {{form.get(fieldData.field).value?.length || 0}}</b>\n </div>\n </div>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeTextareaEditor\">\n <div class=\"textarea-field-width\">\n <label\n [id]=\"'field-' + fieldData.field\">{{fieldData.title}}{{fieldData.validators && fieldData.validators.includes('required') ? ' *' : ''}}</label>\n <div *ngIf=\"fieldData.description\" class=\"field-description\">\n {{fieldData.description}}\n </div>\n <ckeditor [formControlName]=\"fieldData.field\"\n [config]=\"ckeConfig\"></ckeditor>\n <div class=\"textarea-field-length\">\n <b>\u0422\u0435\u043A\u0443\u0449\u0430\u044F \u0434\u043B\u0438\u043D\u0430: {{form.get(fieldData.field).value?.length || 0}}</b>\n </div>\n </div>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeFile\">\n <shared-form-field-file\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n [entity]=\"entity\"\n ></shared-form-field-file>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeFiles\">\n <shared-form-field-files\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n [itemId]=\"itemId\"\n ></shared-form-field-files>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeTags\">\n <shared-form-field-tags\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n [itemId]=\"itemId\"\n ></shared-form-field-tags>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <shared-form-field-input\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n ></shared-form-field-input>\n </ng-container>\n </ng-container>\n\n <div *ngIf=\"fieldData.actions\" class=\"field-actions\">\n <ng-container *ngFor=\"let action of fieldData.actions\">\n <div class=\"field-actions-action\" (click)=\"fieldActionHandler(action)\">{{action.title}}</div>\n </ng-container>\n </div>\n\n <shared-form-field-spinner *ngIf=\"fieldData.options.loading\"></shared-form-field-spinner>\n\n <ng-container *ngIf=\"fieldData.options.hint\">\n <mat-icon class=\"hint-icons\" (click)=\"openHintDialog(fieldData.options.hint)\">help_outline</mat-icon>\n </ng-container>\n\n <shared-form-field-error\n @appearFromLeft\n *ngIf=\"fieldControl.touched && !fieldControl.valid\"\n [form]=\"form\"\n [fieldData]=\"fieldData\"\n [errorMessageTexts]=\"errorMessageTexts\"\n [ngClass]=\"{'textarea-error': fieldData.type === fieldTypes.FieldTypeTextarea}\"\n ></shared-form-field-error>\n\n <shared-form-field-publish-error\n [form]=\"form\"\n [entity]=\"entity\"\n [errorMessageTexts]=\"errorMessageTexts\"\n [ngClass]=\"{'textarea-error': fieldData.type === fieldTypes.FieldTypeTextarea}\"\n ></shared-form-field-publish-error>\n</div>\n", styles: [".mb-21{margin-bottom:21px}.field-description{border-radius:8px;color:#5f5b5b;margin:5px 5px 15px;border-left:3px solid #009ce5;padding:10px 0 10px 10px;background:rgba(0,156,229,.2588235294)}.field-actions{display:flex;justify-content:flex-end;margin-bottom:5px}.field-actions .field-actions-action{padding:0 10px;text-align:right;background:#007bff;color:#fff;border-radius:4px}.textarea-field-length{background:#f8f8f8;text-align:right;padding-right:10px;color:#989494;border-bottom:1px solid #d1d1d1;font-size:11px}.hint-icons{position:absolute;right:0;margin-top:9px}\n"] }]
|
|
141
|
+
}], ctorParameters: function () { return [{ type: i1.AuthenticationService }, { type: i2.CoreFacade }, { type: i0.ChangeDetectorRef }, { type: i3.MatDialog }]; }, propDecorators: { fieldData: [{
|
|
142
|
+
type: Input
|
|
143
|
+
}], itemId: [{
|
|
144
|
+
type: Input
|
|
145
|
+
}], form: [{
|
|
146
|
+
type: Input
|
|
147
|
+
}], editorImageUploadUrl: [{
|
|
148
|
+
type: Input
|
|
149
|
+
}], errorMessageTexts: [{
|
|
150
|
+
type: Input
|
|
151
|
+
}], entity: [{
|
|
152
|
+
type: Input
|
|
153
|
+
}], publicationMessages: [{
|
|
154
|
+
type: Input
|
|
155
|
+
}], entityTypeUserRoleRights: [{
|
|
156
|
+
type: Input
|
|
157
|
+
}], eventUpdateForm: [{
|
|
158
|
+
type: Output
|
|
159
|
+
}], eventSendAction: [{
|
|
160
|
+
type: Output
|
|
161
|
+
}] } });
|
|
162
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1maWVsZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy93dC1mcm9udC1zaGFyZWQvc3JjL2xpYi9jb3JlL2NvbXBvbmVudHMvYXV0by1mb3JtL2NvbnRhaW5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VwiaGludC1pY29uc1wiIChjbGljayk9XCJvcGVuSGludERpYWxvZyhmaWVsZERhdGEub3B0aW9ucy5oaW50KVwiPmhlbHBfb3V0bGluZTwvbWF0LWljb24+XG4gIDwvbmctY29udGFpbmVyPlxuXG4gIDxzaGFyZWQtZm9ybS1maWVsZC1lcnJvclxuICAgIEBhcHBlYXJGcm9tTGVmdFxuICAgICpuZ0lmPVwiZmllbGRDb250cm9sLnRvdWNoZWQgJiYgIWZpZWxkQ29udHJvbC52YWxpZFwiXG4gICAgW2Zvcm1dPVwiZm9ybVwiXG4gICAgW2ZpZWxkRGF0YV09XCJmaWVsZERhdGFcIlxuICAgIFtlcnJvck1lc3NhZ2VUZXh0c109XCJlcnJvck1lc3NhZ2VUZXh0c1wiXG4gICAgW25nQ2xhc3NdPVwieyd0ZXh0YXJlYS1lcnJvcic6IGZpZWxkRGF0YS50eXBlID09PSBmaWVsZFR5cGVzLkZpZWxkVHlwZVRleHRhcmVhfVwiXG4gID48L3NoYXJlZC1mb3JtLWZpZWxkLWVycm9yPlxuXG4gIDxzaGFyZWQtZm9ybS1maWVsZC1wdWJsaXNoLWVycm9yXG4gICAgW2Zvcm1dPVwiZm9ybVwiXG4gICAgW2VudGl0eV09XCJlbnRpdHlcIlxuICAgIFtlcnJvck1lc3NhZ2VUZXh0c109XCJlcnJvck1lc3NhZ2VUZXh0c1wiXG4gICAgW25nQ2xhc3NdPVwieyd0ZXh0YXJlYS1lcnJvcic6IGZpZWxkRGF0YS50eXBlID09PSBmaWVsZFR5cGVzLkZpZWxkVHlwZVRleHRhcmVhfVwiXG4gID48L3NoYXJlZC1mb3JtLWZpZWxkLXB1Ymxpc2gtZXJyb3I+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import { UntypedFormGroup } from '@angular/forms';
|
|
3
|
+
import { expandCollapse } from "../../../../animations/expandCollapse";
|
|
4
|
+
import { appearFromLeftWithDelay } from "../../../../animations/appearFromLeftWithDelay";
|
|
5
|
+
import { PublishErrors } from "../../../../constants/publish-errors.const";
|
|
6
|
+
import { PublicationMessagesFacade } from "../../../../+state/publication-messages";
|
|
7
|
+
import { AutoFormService } from "../../../../services/auto-form/auto-form.service";
|
|
8
|
+
import { untilComponentDestroyed } from "../../../../utils";
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
import * as i1 from "../../../../+state/publication-messages";
|
|
11
|
+
import * as i2 from "../../../../services/auto-form/auto-form.service";
|
|
12
|
+
import * as i3 from "@angular/common";
|
|
13
|
+
import * as i4 from "@angular/flex-layout";
|
|
14
|
+
import * as i5 from "@angular/material/icon";
|
|
15
|
+
import * as i6 from "../../../panel/panel.component";
|
|
16
|
+
import * as i7 from "../../../button/button.component";
|
|
17
|
+
export class PublicationMessagesComponent {
|
|
18
|
+
constructor(publicationMessagesFacade, autoFormService, cd) {
|
|
19
|
+
this.publicationMessagesFacade = publicationMessagesFacade;
|
|
20
|
+
this.autoFormService = autoFormService;
|
|
21
|
+
this.cd = cd;
|
|
22
|
+
this.config = { needToPublish: true };
|
|
23
|
+
this.scrollToField = new EventEmitter();
|
|
24
|
+
this.errorOpened = false;
|
|
25
|
+
this.messagesOpened = false;
|
|
26
|
+
this.publishedTitle = 'Позиция опубликована до';
|
|
27
|
+
this.unPublishedTitle = 'Внимание позиция еще НЕ опубликована';
|
|
28
|
+
this.unPublishedMessage = 'Для публикации позиции нужно заполнить все поля и нажать на кнопку ОПУБЛИКОВАТЬ';
|
|
29
|
+
this.errorTitleSource = 'Для публикации Вам обязательно нужно исправить <b>${pointCount}</b> пункт(а/ов)';
|
|
30
|
+
this.recommendationTitleSource = 'Мы также рекомендуем Вам исправить <b>${pointCount}</b> пункт(а/ов)';
|
|
31
|
+
this.errorTitle = '';
|
|
32
|
+
this.recommendationTitle = '';
|
|
33
|
+
this.publishErrorConstants = PublishErrors;
|
|
34
|
+
this.itemPublishFinishedField = 'publishFinishedAt';
|
|
35
|
+
this.itemPublishFinishedAt = '';
|
|
36
|
+
this.itemPublishFinishedAtTmp = '';
|
|
37
|
+
}
|
|
38
|
+
ngOnInit() {
|
|
39
|
+
this.subscribeToFormChanges();
|
|
40
|
+
this.definitionPublicationMessages();
|
|
41
|
+
}
|
|
42
|
+
ngOnDestroy() {
|
|
43
|
+
}
|
|
44
|
+
ngOnChanges(changes) {
|
|
45
|
+
if (changes?.form?.currentValue.value[this.itemPublishFinishedField]) {
|
|
46
|
+
this.updateItemPublishFinishAt(changes.form.currentValue.value[this.itemPublishFinishedField]);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
showScrollToFieldMethod(field) {
|
|
50
|
+
this.scrollToField.emit(field);
|
|
51
|
+
}
|
|
52
|
+
subscribeToFormChanges() {
|
|
53
|
+
this.form.valueChanges
|
|
54
|
+
.pipe(untilComponentDestroyed(this))
|
|
55
|
+
.subscribe((data) => {
|
|
56
|
+
this.updateItemPublishFinishAt(data?.publishFinishedAt);
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
updateItemPublishFinishAt(itemPublishFinishedAt) {
|
|
60
|
+
if (this.itemPublishFinishedAtTmp !== itemPublishFinishedAt) {
|
|
61
|
+
this.itemPublishFinishedAt = itemPublishFinishedAt;
|
|
62
|
+
this.itemPublishFinishedAtTmp = itemPublishFinishedAt;
|
|
63
|
+
this.cd.markForCheck();
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
definitionPublicationMessages() {
|
|
67
|
+
if (typeof this.entity === 'string') {
|
|
68
|
+
this.publicationMessagesFacade.getPublicationMessage(this.entity?.toLowerCase(), this.itemId)
|
|
69
|
+
.pipe(untilComponentDestroyed(this))
|
|
70
|
+
.subscribe((messages) => {
|
|
71
|
+
if (messages?.length) {
|
|
72
|
+
const tmpErrors = this.filterMessages(true, messages);
|
|
73
|
+
this.errors = this.prepareErrors(tmpErrors);
|
|
74
|
+
const tmpRecommendation = this.filterMessages(false, messages);
|
|
75
|
+
this.recommendation = this.prepareErrors(tmpRecommendation);
|
|
76
|
+
if (this.errors.length) {
|
|
77
|
+
this.errorTitle = this.errorTitleSource.replace('${pointCount}', String(this.errors.length));
|
|
78
|
+
}
|
|
79
|
+
if (this.recommendation.length) {
|
|
80
|
+
this.recommendationTitle = this.recommendationTitleSource.replace('${pointCount}', String(this.recommendation.length));
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
else {
|
|
84
|
+
this.errors = [];
|
|
85
|
+
this.recommendation = [];
|
|
86
|
+
}
|
|
87
|
+
this.cd.markForCheck();
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
else {
|
|
91
|
+
console.error('[ publish-messages ][ entity-type ]', { entity: this.entity }, 'INCORRECT_ENTITY_TYPE');
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
filterMessages(error = false, messages) {
|
|
95
|
+
return messages.filter(item => item.isError === error);
|
|
96
|
+
}
|
|
97
|
+
toggleExpand(isError = false) {
|
|
98
|
+
if (isError) {
|
|
99
|
+
this.errorOpened = !this.errorOpened;
|
|
100
|
+
}
|
|
101
|
+
else {
|
|
102
|
+
this.messagesOpened = !this.messagesOpened;
|
|
103
|
+
}
|
|
104
|
+
this.cd.markForCheck();
|
|
105
|
+
}
|
|
106
|
+
truckByField(index, item) {
|
|
107
|
+
return item.field;
|
|
108
|
+
}
|
|
109
|
+
prepareErrors(messages) {
|
|
110
|
+
return this.autoFormService.prepareFormFieldPublicationMessage(messages, this.publishErrorConstants, this.fields);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
PublicationMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PublicationMessagesComponent, deps: [{ token: i1.PublicationMessagesFacade }, { token: i2.AutoFormService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
114
|
+
PublicationMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PublicationMessagesComponent, selector: "shared-publication-messages", inputs: { entity: "entity", form: "form", itemId: "itemId", fields: "fields", config: "config" }, outputs: { scrollToField: "scrollToField" }, usesOnChanges: true, ngImport: i0, template: "<div *ngIf=\"itemPublishFinishedAt\" @appearFromLeftWithDelay class=\"message-box success mb-10\">\n <div>{{publishedTitle}} <b>{{itemPublishFinishedAt| date : 'MMM d, y'}}</b></div>\n</div>\n<div *ngIf=\"!itemPublishFinishedAt && config.needToPublish\" @appearFromLeftWithDelay class=\"message-box error mb-10\">\n <div>{{unPublishedTitle}}</div>\n <div class=\"fs-12 pt-0\">{{unPublishedMessage}}</div>\n</div>\n<ng-container *ngIf=\"errors?.length\">\n <ng-container *ngTemplateOutlet=\"listMessages; context: {title: errorTitle, isError: true, messages: errors}\"></ng-container>\n</ng-container>\n<ng-container *ngIf=\"recommendation?.length\">\n <ng-container *ngTemplateOutlet=\"listMessages; context: {title: recommendationTitle, isError: false, messages: recommendation}\"></ng-container>\n</ng-container>\n<ng-template #listMessages let-title=\"title\" let-isError=\"isError\" let-messages=\"messages\">\n <div class=\"publish-messages mb-10\"\n [ngClass]=\"{'error-messages': isError, 'warning-messages': !isError}\">\n <div class=\"title cursor-pointer\"\n fxLayout=\"row\"\n fxLayoutAlign=\"space-between center\"\n (click)=\"toggleExpand(isError)\">\n <div fxLayout=\"row\" fxLayoutAlign=\"left center\">\n <mat-icon class=\"f-28 ml-10 mr-20\">{{isError? 'error' : 'report_problem'}}</mat-icon>\n <h4 [innerHTML]=\"title\"></h4>\n </div>\n <shared-button\n color=\"basic\"\n iconColor=\"orange_gray\"\n size=\"large\"\n [icon]=\"(isError && errorOpened) || (!isError && messagesOpened) ? 'keyboard_arrow_up' : 'keyboard_arrow_down'\"></shared-button>\n </div>\n <div *ngIf=\"(errorOpened && isError) || (messagesOpened && !isError)\"\n [@expandCollapse]\n class=\"publish-messages-list\">\n <div *ngFor=\"let messageData of messages;trackBy: truckByField\" class=\"mb-10\">\n <shared-panel [title]=\"messageData.title\"\n [description]=\"messageData.description\"\n color=\"red-light\"\n buttonColor=\"accent\"\n ></shared-panel>\n <a class=\"cursor-pointer color-grey fs-12\" (click)=\"showScrollToFieldMethod(messageData.field)\">\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043F\u043E\u043B\u0435</a>\n </div>\n </div>\n </div>\n</ng-template>\n<div *ngIf=\"errors?.length || recommendation?.length\" fxLayout=\"row\" fxLayoutAlign=\"end center\" class=\"fs-12\">\n \u0415\u0441\u043B\u0438 \u0443 \u0412\u0430\u0441 \u0435\u0441\u0442\u044C \u0432\u043E\u043F\u0440\u043E\u0441\u044B \u043F\u043E \u043F\u0443\u0431\u043B\u0438\u043A\u0430\u0446\u0438\u0438 \u043F\u0438\u0448\u0438\u0442\u0435 \u0432 <a class=\"pl-5\" href=\"mailto:support@world-travel.uz\">support@world-travel.uz</a>\n</div>\n", styles: [".publish-messages{border-radius:8px;overflow:hidden}.publish-messages.error-messages{background:linear-gradient(90deg,#ef847c,#f190af)}.publish-messages.error-messages .title{background:#f44336;background:linear-gradient(to bottom,#f44336,#af3b32);color:#fff}.publish-messages.warning-messages{background:linear-gradient(260deg,#faf0cd,#fab397)}.publish-messages.warning-messages .title{background:#e28d0b;background:linear-gradient(to bottom,#ffb646,#e28d0b);color:#fff}.publish-messages .title{padding:10px;border-top-left-radius:8px;border-top-right-radius:8px;text-shadow:0 0 6px rgba(56,56,56,.5803921569);font-size:16px}.publish-messages .publish-messages-list{padding:10px}.publish-messages .h4,.publish-messages h4{cursor:pointer}\n"], dependencies: [{ kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i4.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i4.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "component", type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i6.PanelComponent, selector: "shared-panel", inputs: ["title", "smallDescription", "description", "color", "buttonColor"], outputs: ["close"] }, { kind: "component", type: i7.ButtonComponent, selector: "shared-button", inputs: ["icon", "iconColor", "iconSize", "rightIcon", "disabled", "loading", "active", "stopPropagation", "type", "color", "size", "styleTheme", "tooltip", "tooltipPosition"], outputs: ["clickButton"] }, { kind: "pipe", type: i3.DatePipe, name: "date" }], animations: [expandCollapse, appearFromLeftWithDelay], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
115
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PublicationMessagesComponent, decorators: [{
|
|
116
|
+
type: Component,
|
|
117
|
+
args: [{ selector: 'shared-publication-messages', animations: [expandCollapse, appearFromLeftWithDelay], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div *ngIf=\"itemPublishFinishedAt\" @appearFromLeftWithDelay class=\"message-box success mb-10\">\n <div>{{publishedTitle}} <b>{{itemPublishFinishedAt| date : 'MMM d, y'}}</b></div>\n</div>\n<div *ngIf=\"!itemPublishFinishedAt && config.needToPublish\" @appearFromLeftWithDelay class=\"message-box error mb-10\">\n <div>{{unPublishedTitle}}</div>\n <div class=\"fs-12 pt-0\">{{unPublishedMessage}}</div>\n</div>\n<ng-container *ngIf=\"errors?.length\">\n <ng-container *ngTemplateOutlet=\"listMessages; context: {title: errorTitle, isError: true, messages: errors}\"></ng-container>\n</ng-container>\n<ng-container *ngIf=\"recommendation?.length\">\n <ng-container *ngTemplateOutlet=\"listMessages; context: {title: recommendationTitle, isError: false, messages: recommendation}\"></ng-container>\n</ng-container>\n<ng-template #listMessages let-title=\"title\" let-isError=\"isError\" let-messages=\"messages\">\n <div class=\"publish-messages mb-10\"\n [ngClass]=\"{'error-messages': isError, 'warning-messages': !isError}\">\n <div class=\"title cursor-pointer\"\n fxLayout=\"row\"\n fxLayoutAlign=\"space-between center\"\n (click)=\"toggleExpand(isError)\">\n <div fxLayout=\"row\" fxLayoutAlign=\"left center\">\n <mat-icon class=\"f-28 ml-10 mr-20\">{{isError? 'error' : 'report_problem'}}</mat-icon>\n <h4 [innerHTML]=\"title\"></h4>\n </div>\n <shared-button\n color=\"basic\"\n iconColor=\"orange_gray\"\n size=\"large\"\n [icon]=\"(isError && errorOpened) || (!isError && messagesOpened) ? 'keyboard_arrow_up' : 'keyboard_arrow_down'\"></shared-button>\n </div>\n <div *ngIf=\"(errorOpened && isError) || (messagesOpened && !isError)\"\n [@expandCollapse]\n class=\"publish-messages-list\">\n <div *ngFor=\"let messageData of messages;trackBy: truckByField\" class=\"mb-10\">\n <shared-panel [title]=\"messageData.title\"\n [description]=\"messageData.description\"\n color=\"red-light\"\n buttonColor=\"accent\"\n ></shared-panel>\n <a class=\"cursor-pointer color-grey fs-12\" (click)=\"showScrollToFieldMethod(messageData.field)\">\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043F\u043E\u043B\u0435</a>\n </div>\n </div>\n </div>\n</ng-template>\n<div *ngIf=\"errors?.length || recommendation?.length\" fxLayout=\"row\" fxLayoutAlign=\"end center\" class=\"fs-12\">\n \u0415\u0441\u043B\u0438 \u0443 \u0412\u0430\u0441 \u0435\u0441\u0442\u044C \u0432\u043E\u043F\u0440\u043E\u0441\u044B \u043F\u043E \u043F\u0443\u0431\u043B\u0438\u043A\u0430\u0446\u0438\u0438 \u043F\u0438\u0448\u0438\u0442\u0435 \u0432 <a class=\"pl-5\" href=\"mailto:support@world-travel.uz\">support@world-travel.uz</a>\n</div>\n", styles: [".publish-messages{border-radius:8px;overflow:hidden}.publish-messages.error-messages{background:linear-gradient(90deg,#ef847c,#f190af)}.publish-messages.error-messages .title{background:#f44336;background:linear-gradient(to bottom,#f44336,#af3b32);color:#fff}.publish-messages.warning-messages{background:linear-gradient(260deg,#faf0cd,#fab397)}.publish-messages.warning-messages .title{background:#e28d0b;background:linear-gradient(to bottom,#ffb646,#e28d0b);color:#fff}.publish-messages .title{padding:10px;border-top-left-radius:8px;border-top-right-radius:8px;text-shadow:0 0 6px rgba(56,56,56,.5803921569);font-size:16px}.publish-messages .publish-messages-list{padding:10px}.publish-messages .h4,.publish-messages h4{cursor:pointer}\n"] }]
|
|
118
|
+
}], ctorParameters: function () { return [{ type: i1.PublicationMessagesFacade }, { type: i2.AutoFormService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { entity: [{
|
|
119
|
+
type: Input
|
|
120
|
+
}], form: [{
|
|
121
|
+
type: Input
|
|
122
|
+
}], itemId: [{
|
|
123
|
+
type: Input
|
|
124
|
+
}], fields: [{
|
|
125
|
+
type: Input
|
|
126
|
+
}], config: [{
|
|
127
|
+
type: Input
|
|
128
|
+
}], scrollToField: [{
|
|
129
|
+
type: Output
|
|
130
|
+
}] } });
|
|
131
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGlzaC1tZXNzYWdlcy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy93dC1mcm9udC1zaGFyZWQvc3JjL2xpYi9jb3JlL2NvbXBvbmVudHMvYXV0by1mb3JtL2NvbnRhaW5lcnMvcHVibGlzaC1tZXNzYWdlcy9wdWJsaXNoLW1lc3NhZ2VzLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3d0LWZyb250LXNoYXJlZC9zcmMvbGliL2NvcmUvY29tcG9uZW50cy9hdXRvLWZvcm0vY29udGFpbmVycy9wdWJsaXNoLW1lc3NhZ2VzL3B1Ymxpc2gtbWVzc2FnZXMuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNILHVCQUF1QixFQUN2QixpQkFBaUIsRUFDakIsU0FBUyxFQUNULFlBQVksRUFDWixLQUFLLEVBSUwsTUFBTSxFQUVULE1BQU0sZUFBZSxDQUFDO0FBQ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nN1YnNjcmliZSgobWVzc2FnZXM6IEZvcm1FcnJvck1vZGVsW10pID0+IHtcbiAgICAgICAgICAgICAgICAgICAgaWYgKG1lc3NhZ2VzPy5sZW5ndGgpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGNvbnN0IHRtcEVycm9ycyA9IHRoaXMuZmlsdGVyTWVzc2FnZXModHJ1ZSwgbWVzc2FnZXMpO1xuICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5lcnJvcnMgPSB0aGlzLnByZXBhcmVFcnJvcnModG1wRXJyb3JzKTtcblxuICAgICAgICAgICAgICAgICAgICAgICAgY29uc3QgdG1wUmVjb21tZW5kYXRpb24gPSB0aGlzLmZpbHRlck1lc3NhZ2VzKGZhbHNlLCBtZXNzYWdlcyk7XG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzLnJlY29tbWVuZGF0aW9uID0gdGhpcy5wcmVwYXJlRXJyb3JzKHRtcFJlY29tbWVuZGF0aW9uKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmICh0aGlzLmVycm9ycy5sZW5ndGgpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aGlzLmVycm9yVGl0bGUgPSB0aGlzLmVycm9yVGl0bGVTb3VyY2UucmVwbGFjZSgnJHtwb2ludENvdW50fScsIFN0cmluZyh0aGlzLmVycm9ycy5sZW5ndGgpKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHRoaXMucmVjb21tZW5kYXRpb24ubGVuZ3RoKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5yZWNvbW1lbmRhdGlvblRpdGxlID0gdGhpcy5yZWNvbW1lbmRhdGlvblRpdGxlU291cmNlLnJlcGxhY2UoJyR7cG9pbnRDb3VudH0nLCBTdHJpbmcodGhpcy5yZWNvbW1lbmRhdGlvbi5sZW5ndGgpKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgIC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ci1ncmV5IGZzLTEyXCIgKGNsaWNrKT1cInNob3dTY3JvbGxUb0ZpZWxkTWV0aG9kKG1lc3NhZ2VEYXRhLmZpZWxkKVwiPtCf0L7QutCw0LfQsNGC0Ywg0L/QvtC70LU8L2E+XG4gICAgICA8L2Rpdj5cbiAgICA8L2Rpdj5cbiAgPC9kaXY+XG48L25nLXRlbXBsYXRlPlxuPGRpdiAqbmdJZj1cImVycm9ycz8ubGVuZ3RoIHx8IHJlY29tbWVuZGF0aW9uPy5sZW5ndGhcIiBmeExheW91dD1cInJvd1wiIGZ4TGF5b3V0QWxpZ249XCJlbmQgY2VudGVyXCIgY2xhc3M9XCJmcy0xMlwiPlxuICDQldGB0LvQuCDRgyDQktCw0YEg0LXRgdGC0Ywg0LLQvtC/0YDQvtGB0Ysg0L/QviDQv9GD0LHQu9C40LrQsNGG0LjQuCDQv9C40YjQuNGC0LUg0LIgPGEgY2xhc3M9XCJwbC01XCIgaHJlZj1cIm1haWx0bzpzdXBwb3J0QHdvcmxkLXRyYXZlbC51elwiPnN1cHBvcnRAd29ybGQtdHJhdmVsLnV6PC9hPlxuPC9kaXY+XG4iXX0=
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export var FieldType;
|
|
2
|
+
(function (FieldType) {
|
|
3
|
+
FieldType["FieldTypeInput"] = "input";
|
|
4
|
+
FieldType["FieldTypeSelect"] = "select";
|
|
5
|
+
FieldType["FieldTypeSelectMultiple"] = "select-multiple";
|
|
6
|
+
FieldType["FieldTypeSlideToggle"] = "slide-toggle";
|
|
7
|
+
FieldType["FieldTypeTextarea"] = "textarea-editor";
|
|
8
|
+
FieldType["FieldTypeTextareaEditor"] = "textarea";
|
|
9
|
+
FieldType["FieldTypeFile"] = "file";
|
|
10
|
+
FieldType["FieldTypeFiles"] = "files";
|
|
11
|
+
FieldType["FieldTypeRating"] = "rating";
|
|
12
|
+
FieldType["FieldTypeTags"] = "tags";
|
|
13
|
+
})(FieldType || (FieldType = {}));
|
|
14
|
+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WxlcycsXG4gIEZpZWxkVHlwZVJhdGluZyA9ICdyYXRpbmcnLFxuICBGaWVsZFR5cGVUYWdzID0gJ3RhZ3MnXG59XG4iXX0=
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export var IFormFieldFormat;
|
|
2
|
+
(function (IFormFieldFormat) {
|
|
3
|
+
IFormFieldFormat["Date"] = "date";
|
|
4
|
+
IFormFieldFormat["Email"] = "email";
|
|
5
|
+
IFormFieldFormat["Phone"] = "phone";
|
|
6
|
+
IFormFieldFormat["Number"] = "number";
|
|
7
|
+
IFormFieldFormat["Password"] = "password";
|
|
8
|
+
})(IFormFieldFormat || (IFormFieldFormat = {}));
|
|
9
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1maWVsZC1mb3JtYXQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy93dC1mcm9udC1zaGFyZWQvc3JjL2xpYi9jb3JlL2NvbXBvbmVudHMvYXV0by1mb3JtL2ludGVyZmFjZXMvZm9ybS1maWVsZC1mb3JtYXQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksZ0JBTVg7QUFORCxXQUFZLGdCQUFnQjtJQUMxQixpQ0FBYSxDQUFBO0lBQ2IsbUNBQWUsQ0FBQTtJQUNmLG1DQUFlLENBQUE7SUFDZixxQ0FBaUIsQ0FBQTtJQUNqQix5Q0FBcUIsQ0FBQTtBQUN2QixDQUFDLEVBTlcsZ0JBQWdCLEtBQWhCLGdCQUFnQixRQU0zQiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBlbnVtIElGb3JtRmllbGRGb3JtYXQge1xuICBEYXRlID0gJ2RhdGUnLFxuICBFbWFpbCA9ICdlbWFpbCcsXG4gIFBob25lID0gJ3Bob25lJyxcbiAgTnVtYmVyID0gJ251bWJlcicsXG4gIFBhc3N3b3JkID0gJ3Bhc3N3b3JkJ1xufVxuIl19
|