wt-front-shared 18.0.13 → 19.0.1
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/fesm2022/wt-front-shared.mjs +669 -633
- package/fesm2022/wt-front-shared.mjs.map +1 -1
- package/lib/core/components/auto-form/auto-form.module.d.ts +25 -24
- package/lib/core/components/auto-form/components/form-field-cheditor/form-field-cheditor.component.d.ts +19 -0
- package/lib/core/components/auto-form/containers/form-field/form-field.component.d.ts +5 -9
- package/package.json +1 -3
- package/esm2022/lib/core/+state/actions/actions.actions.mjs +0 -5
- package/esm2022/lib/core/+state/actions/actions.effects.mjs +0 -53
- package/esm2022/lib/core/+state/actions/actions.facade.mjs +0 -33
- package/esm2022/lib/core/+state/actions/actions.reducer.mjs +0 -60
- package/esm2022/lib/core/+state/actions/actions.selectors.mjs +0 -18
- package/esm2022/lib/core/+state/actions/behavios/action-send-behavior.mjs +0 -37
- package/esm2022/lib/core/+state/actions/constants.mjs +0 -7
- package/esm2022/lib/core/+state/base.effects.mjs +0 -22
- package/esm2022/lib/core/+state/behavior.mjs +0 -24
- package/esm2022/lib/core/+state/cache-data/behavios/get-cache-data-behavior.mjs +0 -41
- package/esm2022/lib/core/+state/cache-data/cache-data.actions.mjs +0 -5
- package/esm2022/lib/core/+state/cache-data/cache-data.effects.mjs +0 -40
- package/esm2022/lib/core/+state/cache-data/cache-data.facade.mjs +0 -29
- package/esm2022/lib/core/+state/cache-data/cache-data.reducer.mjs +0 -22
- package/esm2022/lib/core/+state/cache-data/cache-data.selectors.mjs +0 -10
- package/esm2022/lib/core/+state/core.actions.mjs +0 -37
- package/esm2022/lib/core/+state/core.facade.mjs +0 -32
- package/esm2022/lib/core/+state/core.selectors.mjs +0 -24
- package/esm2022/lib/core/+state/files/behavios/file-delete-behavior.mjs +0 -41
- package/esm2022/lib/core/+state/files/behavios/file-update-behavior.mjs +0 -43
- package/esm2022/lib/core/+state/files/behavios/files-load-behavior.mjs +0 -43
- package/esm2022/lib/core/+state/files/behavios/files-sort-behavior.mjs +0 -43
- package/esm2022/lib/core/+state/files/files.actions.mjs +0 -15
- package/esm2022/lib/core/+state/files/files.effects.mjs +0 -84
- package/esm2022/lib/core/+state/files/files.facade.mjs +0 -47
- package/esm2022/lib/core/+state/files/files.reducer.mjs +0 -50
- package/esm2022/lib/core/+state/files/files.selectors.mjs +0 -43
- package/esm2022/lib/core/+state/files/index.mjs +0 -6
- package/esm2022/lib/core/+state/form-delete-file/behavios/form-delete-file-behavior.mjs +0 -47
- package/esm2022/lib/core/+state/form-delete-file/form-delete-file.actions.mjs +0 -5
- package/esm2022/lib/core/+state/form-delete-file/form-delete-file.effects.mjs +0 -49
- package/esm2022/lib/core/+state/form-delete-file/form-delete-file.facade.mjs +0 -20
- package/esm2022/lib/core/+state/form-delete-file/index.mjs +0 -2
- package/esm2022/lib/core/+state/form-errors/form-errors.actions.mjs +0 -8
- package/esm2022/lib/core/+state/form-errors/form-errors.effects.mjs +0 -40
- package/esm2022/lib/core/+state/form-errors/form-errors.facade.mjs +0 -27
- package/esm2022/lib/core/+state/form-errors/form-errors.reducer.mjs +0 -37
- package/esm2022/lib/core/+state/form-errors/form-errors.selectors.mjs +0 -14
- package/esm2022/lib/core/+state/form-errors/index.mjs +0 -4
- package/esm2022/lib/core/+state/form-validation/behavios/form-validation-check-behavior.mjs +0 -42
- package/esm2022/lib/core/+state/form-validation/form-validation.actions.mjs +0 -5
- package/esm2022/lib/core/+state/form-validation/form-validation.effects.mjs +0 -39
- package/esm2022/lib/core/+state/form-validation/form-validation.facade.mjs +0 -24
- package/esm2022/lib/core/+state/form-validation/form-validation.reducer.mjs +0 -38
- package/esm2022/lib/core/+state/form-validation/form-validation.selectors.mjs +0 -10
- package/esm2022/lib/core/+state/form-validation/index.mjs +0 -4
- package/esm2022/lib/core/+state/forms/forms.actions.mjs +0 -9
- package/esm2022/lib/core/+state/forms/forms.effects.mjs +0 -40
- package/esm2022/lib/core/+state/forms/forms.facade.mjs +0 -33
- package/esm2022/lib/core/+state/forms/forms.reducer.mjs +0 -41
- package/esm2022/lib/core/+state/forms/forms.selectors.mjs +0 -20
- package/esm2022/lib/core/+state/forms/index.mjs +0 -4
- package/esm2022/lib/core/+state/index.mjs +0 -96
- package/esm2022/lib/core/+state/main/index.mjs +0 -4
- package/esm2022/lib/core/+state/main/main.actions.mjs +0 -8
- package/esm2022/lib/core/+state/main/main.effects.mjs +0 -29
- package/esm2022/lib/core/+state/main/main.facade.mjs +0 -20
- package/esm2022/lib/core/+state/main/main.reducer.mjs +0 -17
- package/esm2022/lib/core/+state/main/main.selectors.mjs +0 -10
- package/esm2022/lib/core/+state/notifications/index.mjs +0 -4
- package/esm2022/lib/core/+state/notifications/notifications.actions.mjs +0 -10
- package/esm2022/lib/core/+state/notifications/notifications.effects.mjs +0 -82
- package/esm2022/lib/core/+state/notifications/notifications.facade.mjs +0 -35
- package/esm2022/lib/core/+state/notifications/notifications.reducer.mjs +0 -25
- package/esm2022/lib/core/+state/notifications/notifications.selectors.mjs +0 -10
- package/esm2022/lib/core/+state/publication-messages/behavios/publication-errors-post-behavior.mjs +0 -71
- package/esm2022/lib/core/+state/publication-messages/behavios/un-publication-post-behavior.mjs +0 -46
- package/esm2022/lib/core/+state/publication-messages/index.mjs +0 -4
- package/esm2022/lib/core/+state/publication-messages/publication-messages.actions.mjs +0 -11
- package/esm2022/lib/core/+state/publication-messages/publication-messages.effects.mjs +0 -81
- package/esm2022/lib/core/+state/publication-messages/publication-messages.facade.mjs +0 -36
- package/esm2022/lib/core/+state/publication-messages/publication-messages.reducer.mjs +0 -43
- package/esm2022/lib/core/+state/publication-messages/publication-messages.selectors.mjs +0 -10
- package/esm2022/lib/core/+state/reports/behavios/reports-entities-data-behavior.mjs +0 -46
- package/esm2022/lib/core/+state/reports/behavios/user-behavior-get-behavior.mjs +0 -46
- package/esm2022/lib/core/+state/reports/reports.actions.mjs +0 -8
- package/esm2022/lib/core/+state/reports/reports.effects.mjs +0 -46
- package/esm2022/lib/core/+state/reports/reports.facade.mjs +0 -34
- package/esm2022/lib/core/+state/reports/reports.reducer.mjs +0 -35
- package/esm2022/lib/core/+state/reports/reports.selectors.mjs +0 -23
- package/esm2022/lib/core/+state/requests/index.mjs +0 -4
- package/esm2022/lib/core/+state/requests/requests.actions.mjs +0 -8
- package/esm2022/lib/core/+state/requests/requests.effects.mjs +0 -29
- package/esm2022/lib/core/+state/requests/requests.facade.mjs +0 -66
- package/esm2022/lib/core/+state/requests/requests.reducer.mjs +0 -94
- package/esm2022/lib/core/+state/requests/requests.selectors.mjs +0 -21
- package/esm2022/lib/core/+state/router/custom-router-serializer.mjs +0 -14
- package/esm2022/lib/core/+state/router/index.mjs +0 -6
- package/esm2022/lib/core/+state/router/router.actions.mjs +0 -7
- package/esm2022/lib/core/+state/router/router.effects.mjs +0 -79
- package/esm2022/lib/core/+state/router/router.facade.mjs +0 -21
- package/esm2022/lib/core/+state/router/router.reducer.mjs +0 -23
- package/esm2022/lib/core/+state/router/router.selectors.mjs +0 -33
- package/esm2022/lib/core/+state/static-data/behavios/static-data-bulk-update-or-create-behavior.mjs +0 -36
- package/esm2022/lib/core/+state/static-data/behavios/static-data-create-behavior.mjs +0 -30
- package/esm2022/lib/core/+state/static-data/behavios/static-data-delete-behavior.mjs +0 -50
- package/esm2022/lib/core/+state/static-data/behavios/static-data-get-list-behavior.mjs +0 -52
- package/esm2022/lib/core/+state/static-data/behavios/static-data-get-list-categories-behavior.mjs +0 -30
- package/esm2022/lib/core/+state/static-data/behavios/static-data-patch-update-behavior.mjs +0 -39
- package/esm2022/lib/core/+state/static-data/behavios/static-data-update-behavior.mjs +0 -39
- package/esm2022/lib/core/+state/static-data/constans.mjs +0 -6
- package/esm2022/lib/core/+state/static-data/static-data.actions.mjs +0 -33
- package/esm2022/lib/core/+state/static-data/static-data.effects.mjs +0 -175
- package/esm2022/lib/core/+state/static-data/static-data.facade.mjs +0 -201
- package/esm2022/lib/core/+state/static-data/static-data.reducer.mjs +0 -432
- package/esm2022/lib/core/+state/static-data/static-data.selectors.mjs +0 -90
- package/esm2022/lib/core/+state/tags/behavios/tag-entities-load-behavior.mjs +0 -64
- package/esm2022/lib/core/+state/tags/behavios/tags-load-behavior.mjs +0 -43
- package/esm2022/lib/core/+state/tags/index.mjs +0 -4
- package/esm2022/lib/core/+state/tags/tags.actions.mjs +0 -8
- package/esm2022/lib/core/+state/tags/tags.effects.mjs +0 -47
- package/esm2022/lib/core/+state/tags/tags.facade.mjs +0 -38
- package/esm2022/lib/core/+state/tags/tags.reducer.mjs +0 -31
- package/esm2022/lib/core/+state/tags/tags.selectors.mjs +0 -40
- package/esm2022/lib/core/+state/uiUnits/index.mjs +0 -4
- package/esm2022/lib/core/+state/uiUnits/uiUnits.actions.mjs +0 -3
- package/esm2022/lib/core/+state/uiUnits/uiUnits.effects.mjs +0 -32
- package/esm2022/lib/core/+state/uiUnits/uiUnits.facade.mjs +0 -24
- package/esm2022/lib/core/+state/uiUnits/uiUnits.reducer.mjs +0 -20
- package/esm2022/lib/core/+state/uiUnits/uiUnits.selectors.mjs +0 -34
- package/esm2022/lib/core/+state/update-entities/update-entities.actions.mjs +0 -3
- package/esm2022/lib/core/+state/update-entities/update-entities.effects.mjs +0 -30
- package/esm2022/lib/core/+state/users/behavios/login-send-behavior.mjs +0 -43
- package/esm2022/lib/core/+state/users/behavios/refresh-token-behavior.mjs +0 -50
- package/esm2022/lib/core/+state/users/index.mjs +0 -4
- package/esm2022/lib/core/+state/users/users.actions.mjs +0 -15
- package/esm2022/lib/core/+state/users/users.effects.mjs +0 -177
- package/esm2022/lib/core/+state/users/users.facade.mjs +0 -43
- package/esm2022/lib/core/+state/users/users.reducer.mjs +0 -37
- package/esm2022/lib/core/+state/users/users.selectors.mjs +0 -19
- package/esm2022/lib/core/animations/appearFromLeft.mjs +0 -18
- package/esm2022/lib/core/animations/appearFromLeftHideToRight.mjs +0 -18
- package/esm2022/lib/core/animations/appearFromLeftWithDelay.mjs +0 -18
- package/esm2022/lib/core/animations/appearFromRight.mjs +0 -18
- package/esm2022/lib/core/animations/appearFromRightWithDelay.mjs +0 -18
- package/esm2022/lib/core/animations/appearOpacity.mjs +0 -18
- package/esm2022/lib/core/animations/appearOpacity2.mjs +0 -16
- package/esm2022/lib/core/animations/expandCollapse.mjs +0 -18
- package/esm2022/lib/core/animations/hideToTopOpacity.mjs +0 -11
- package/esm2022/lib/core/animations/index.mjs +0 -10
- package/esm2022/lib/core/components/access-denied/access-denied.component.mjs +0 -11
- package/esm2022/lib/core/components/access-denied/access-denied.module.mjs +0 -17
- package/esm2022/lib/core/components/auto-form/auto-form.module.mjs +0 -177
- package/esm2022/lib/core/components/auto-form/components/form-field-file/form-field-file.component.mjs +0 -168
- package/esm2022/lib/core/components/auto-form/components/form-field-file-show/form-field-file-show.component.mjs +0 -54
- package/esm2022/lib/core/components/auto-form/components/form-field-files/form-field-files.component.mjs +0 -105
- package/esm2022/lib/core/components/auto-form/components/form-field-files-show/form-field-files-show.component.mjs +0 -42
- package/esm2022/lib/core/components/auto-form/components/form-field-input/form-field-input.component.mjs +0 -79
- package/esm2022/lib/core/components/auto-form/components/form-field-input-show/form-field-input-show.component.mjs +0 -48
- package/esm2022/lib/core/components/auto-form/components/form-field-json-show/form-field-json-show.component.mjs +0 -33
- package/esm2022/lib/core/components/auto-form/components/form-field-select/form-field-select.component.mjs +0 -241
- package/esm2022/lib/core/components/auto-form/components/form-field-select-show/form-field-select-show.component.mjs +0 -61
- package/esm2022/lib/core/components/auto-form/components/form-field-slide-toggle/form-field-slide-toggle.component.mjs +0 -21
- package/esm2022/lib/core/components/auto-form/components/form-field-slide-toggle-show/form-field-slide-toggle-show.component.mjs +0 -31
- package/esm2022/lib/core/components/auto-form/components/form-field-spinner/form-field-spinner.component.mjs +0 -12
- package/esm2022/lib/core/components/auto-form/components/form-field-tags/form-field-tags.component.mjs +0 -116
- package/esm2022/lib/core/components/auto-form/components/form-field-textarea-show/form-field-textarea-show.component.mjs +0 -36
- package/esm2022/lib/core/components/auto-form/components/form-message-box/form-message-box.component.mjs +0 -101
- package/esm2022/lib/core/components/auto-form/constants/auto-form-show-value.mjs +0 -2
- package/esm2022/lib/core/components/auto-form/constants/errors.mjs +0 -35
- package/esm2022/lib/core/components/auto-form/containers/auto-form-main/auto-form-main.component.mjs +0 -494
- package/esm2022/lib/core/components/auto-form/containers/auto-form-show/auto-form-show.component.mjs +0 -51
- package/esm2022/lib/core/components/auto-form/containers/auto-form-show-field/auto-form-show-field.component.mjs +0 -53
- package/esm2022/lib/core/components/auto-form/containers/form-field/form-field.component.mjs +0 -327
- package/esm2022/lib/core/components/auto-form/containers/publish-messages/publish-messages.component.mjs +0 -144
- package/esm2022/lib/core/components/auto-form/interfaces/auto-form.interfaces.mjs +0 -2
- package/esm2022/lib/core/components/auto-form/interfaces/field-type.mjs +0 -15
- package/esm2022/lib/core/components/auto-form/interfaces/form-field-format.mjs +0 -11
- package/esm2022/lib/core/components/auto-form/interfaces/form-field-option.mjs +0 -2
- package/esm2022/lib/core/components/auto-form/interfaces/form-field-others.mjs +0 -2
- package/esm2022/lib/core/components/auto-form/interfaces/form-field.mjs +0 -2
- package/esm2022/lib/core/components/auto-form/interfaces/input-type.mjs +0 -11
- package/esm2022/lib/core/components/bread-crumbs/bread-crumbs.component.mjs +0 -18
- package/esm2022/lib/core/components/bread-crumbs/bread-crumbs.module.mjs +0 -19
- package/esm2022/lib/core/components/button/ButtonSize.mjs +0 -2
- package/esm2022/lib/core/components/button/ButtonStyle.mjs +0 -2
- package/esm2022/lib/core/components/button/ButtonTheme.mjs +0 -2
- package/esm2022/lib/core/components/button/button.component.mjs +0 -140
- package/esm2022/lib/core/components/button/button.module.mjs +0 -40
- package/esm2022/lib/core/components/button/index.mjs +0 -3
- package/esm2022/lib/core/components/chips-input/chips-input.component.mjs +0 -88
- package/esm2022/lib/core/components/chips-input/chips-input.module.mjs +0 -42
- package/esm2022/lib/core/components/files-upload/constants.mjs +0 -3
- package/esm2022/lib/core/components/files-upload/file-list-card/file-list-card.component.mjs +0 -131
- package/esm2022/lib/core/components/files-upload/files-upload/files-upload.component.mjs +0 -89
- package/esm2022/lib/core/components/files-upload/files-upload-list-images/files-upload-list-images.component.mjs +0 -97
- package/esm2022/lib/core/components/files-upload/files-upload.module.mjs +0 -68
- package/esm2022/lib/core/components/files-upload/table-files-uploading/table-files-uploading.component.mjs +0 -122
- package/esm2022/lib/core/components/form-field-error/form-field-error.component.mjs +0 -84
- package/esm2022/lib/core/components/form-field-error/form-field-error.module.mjs +0 -26
- package/esm2022/lib/core/components/form-field-publish-error/form-field-publish-error.component.mjs +0 -58
- package/esm2022/lib/core/components/form-field-publish-error/form-field-publish-error.module.mjs +0 -26
- package/esm2022/lib/core/components/header/header.component.mjs +0 -28
- package/esm2022/lib/core/components/header/header.module.mjs +0 -24
- package/esm2022/lib/core/components/icon/icon.component.mjs +0 -43
- package/esm2022/lib/core/components/icon/icon.module.mjs +0 -24
- package/esm2022/lib/core/components/icon/index.mjs +0 -3
- package/esm2022/lib/core/components/image/image.component.mjs +0 -65
- package/esm2022/lib/core/components/image/image.module.mjs +0 -24
- package/esm2022/lib/core/components/index.mjs +0 -55
- package/esm2022/lib/core/components/input-tags/input-tags.component.mjs +0 -29
- package/esm2022/lib/core/components/input-tags/input-tags.module.mjs +0 -24
- package/esm2022/lib/core/components/pagination/pagination.component.mjs +0 -50
- package/esm2022/lib/core/components/pagination/pagination.module.mjs +0 -28
- package/esm2022/lib/core/components/panel/panel.component.mjs +0 -36
- package/esm2022/lib/core/components/panel/panel.module.mjs +0 -28
- package/esm2022/lib/core/components/panel-header/panel-header.component.mjs +0 -23
- package/esm2022/lib/core/components/panel-header/panel-header.module.mjs +0 -44
- package/esm2022/lib/core/components/site-helper/configs/publication-error-tour.config.mjs +0 -61
- package/esm2022/lib/core/components/site-helper/configs/unpublish-tour.config.mjs +0 -22
- package/esm2022/lib/core/components/site-helper/interfaces/config.interfaces.mjs +0 -2
- package/esm2022/lib/core/components/site-helper/site-helper.component.mjs +0 -278
- package/esm2022/lib/core/components/site-helper/site-helper.module.mjs +0 -18
- package/esm2022/lib/core/components/smart-progress-bar/smart-progress-bar.component.mjs +0 -21
- package/esm2022/lib/core/components/smart-progress-bar/smart-progress-bar.module.mjs +0 -18
- package/esm2022/lib/core/components/spinner/spinner.component.mjs +0 -29
- package/esm2022/lib/core/components/spinner/spinner.module.mjs +0 -24
- package/esm2022/lib/core/components/star-rating/star-rating.component.mjs +0 -25
- package/esm2022/lib/core/components/star-rating/star-rating.module.mjs +0 -22
- package/esm2022/lib/core/components/static-data/components/static-data-list-items/static-data-list-items.component.mjs +0 -237
- package/esm2022/lib/core/components/static-data/containers/static-data-details/static-data-details.component.mjs +0 -464
- package/esm2022/lib/core/components/static-data/containers/static-data-items/static-data-items.component.mjs +0 -138
- package/esm2022/lib/core/components/static-data/containers/static-data-list/static-data-list.component.mjs +0 -47
- package/esm2022/lib/core/components/static-data/interfaces/component-input-data.interface.mjs +0 -10
- package/esm2022/lib/core/components/static-data/interfaces/static-data.interface.mjs +0 -2
- package/esm2022/lib/core/components/static-data/static-data-routing.module.mjs +0 -38
- package/esm2022/lib/core/components/static-data/static-data.module.mjs +0 -155
- package/esm2022/lib/core/components/sticky-sidebar/sticky-sidebar.directive.mjs +0 -462
- package/esm2022/lib/core/components/sticky-sidebar/sticky-sidebar.module.mjs +0 -31
- package/esm2022/lib/core/components/table-menu/table-menu.component.mjs +0 -29
- package/esm2022/lib/core/components/table-menu/table-menu.module.mjs +0 -35
- package/esm2022/lib/core/components/tag-cloud/tag-cloud.component.mjs +0 -32
- package/esm2022/lib/core/components/tag-cloud/tag-cloud.module.mjs +0 -28
- package/esm2022/lib/core/components/text-with-link-more/text-with-link-more.component.mjs +0 -35
- package/esm2022/lib/core/components/text-with-link-more/text-with-link-more.module.mjs +0 -24
- package/esm2022/lib/core/config/app-config.mjs +0 -2
- package/esm2022/lib/core/constants/async-validators-messages.mjs +0 -14
- package/esm2022/lib/core/constants/async-validators-type.mjs +0 -13
- package/esm2022/lib/core/constants/base-errors.const.mjs +0 -10
- package/esm2022/lib/core/constants/constants.mjs +0 -7
- package/esm2022/lib/core/constants/form-errors.const.mjs +0 -6
- package/esm2022/lib/core/constants/global-errors-messages.mjs +0 -9
- package/esm2022/lib/core/constants/index.mjs +0 -10
- package/esm2022/lib/core/constants/main.const.mjs +0 -6
- package/esm2022/lib/core/constants/publish-errors.const.mjs +0 -39
- package/esm2022/lib/core/constants/validators-type.mjs +0 -9
- package/esm2022/lib/core/dialogs/common-dialog/common-dialog.component.mjs +0 -101
- package/esm2022/lib/core/dialogs/delete/delete.component.mjs +0 -29
- package/esm2022/lib/core/dialogs/dialog.service.mjs +0 -26
- package/esm2022/lib/core/dialogs/dialogs.module.mjs +0 -60
- package/esm2022/lib/core/dialogs/index.mjs +0 -2
- package/esm2022/lib/core/dialogs/select-dialog/select-dialog.component.mjs +0 -40
- package/esm2022/lib/core/interceptors/headers.interceptor.mjs +0 -345
- package/esm2022/lib/core/interceptors/jwt.interceptor.mjs +0 -27
- package/esm2022/lib/core/models/action-payload.mjs +0 -2
- package/esm2022/lib/core/models/form-error.mjs +0 -2
- package/esm2022/lib/core/models/form-validation.mjs +0 -2
- package/esm2022/lib/core/models/forms/form-value.mjs +0 -2
- package/esm2022/lib/core/models/forms/image-form-value.mjs +0 -2
- package/esm2022/lib/core/models/forms/index.mjs +0 -3
- package/esm2022/lib/core/models/forms.mjs +0 -2
- package/esm2022/lib/core/models/http-client-result.mjs +0 -2
- package/esm2022/lib/core/models/meta-data.model.mjs +0 -2
- package/esm2022/lib/core/models/storage.mjs +0 -2
- package/esm2022/lib/core/pipes/count-format.pipe.mjs +0 -33
- package/esm2022/lib/core/pipes/date-format.pipe.mjs +0 -20
- package/esm2022/lib/core/pipes/index.mjs +0 -6
- package/esm2022/lib/core/pipes/phone.pipe.mjs +0 -27
- package/esm2022/lib/core/pipes/pipes.module.mjs +0 -39
- package/esm2022/lib/core/pipes/safe.pipe.mjs +0 -34
- package/esm2022/lib/core/services/actions/actions-api.mjs +0 -24
- package/esm2022/lib/core/services/actions/actions.service.mjs +0 -37
- package/esm2022/lib/core/services/auth/authentication.constants.mjs +0 -8
- package/esm2022/lib/core/services/auth/authentication.service.mjs +0 -116
- package/esm2022/lib/core/services/auto-form/auto-form.service.mjs +0 -154
- package/esm2022/lib/core/services/base/base-api-service.mjs +0 -247
- package/esm2022/lib/core/services/base/base-api.mjs +0 -6
- package/esm2022/lib/core/services/base/index.mjs +0 -3
- package/esm2022/lib/core/services/base-auto-form/base-auto-form.service.mjs +0 -118
- package/esm2022/lib/core/services/cache-data/cache-data-api.mjs +0 -24
- package/esm2022/lib/core/services/cache-data/cache-data.service.mjs +0 -37
- package/esm2022/lib/core/services/cookies/browser/browser-cookies.service.mjs +0 -71
- package/esm2022/lib/core/services/cookies/cookies-options.mjs +0 -3
- package/esm2022/lib/core/services/cookies/cookies-provider.mjs +0 -16
- package/esm2022/lib/core/services/cookies/cookies.service.mjs +0 -55
- package/esm2022/lib/core/services/cookies/utils.mjs +0 -38
- package/esm2022/lib/core/services/files/files-api.mjs +0 -49
- package/esm2022/lib/core/services/files/files.service.mjs +0 -46
- package/esm2022/lib/core/services/form-delete-file/form-delete-file-api.mjs +0 -32
- package/esm2022/lib/core/services/form-delete-file/form-delete-file.service.mjs +0 -37
- package/esm2022/lib/core/services/form-validation/form-validation-api.mjs +0 -32
- package/esm2022/lib/core/services/form-validation/form-validation.service.mjs +0 -37
- package/esm2022/lib/core/services/index.mjs +0 -22
- package/esm2022/lib/core/services/model-services/tags/tags-api.mjs +0 -27
- package/esm2022/lib/core/services/model-services/tags/tags.service.mjs +0 -40
- package/esm2022/lib/core/services/publish/publish-api.mjs +0 -38
- package/esm2022/lib/core/services/publish/publish.service.mjs +0 -40
- package/esm2022/lib/core/services/reducer/reducer.service.mjs +0 -59
- package/esm2022/lib/core/services/reports/reports-api.mjs +0 -28
- package/esm2022/lib/core/services/reports/reports.service.mjs +0 -40
- package/esm2022/lib/core/services/right-service.mjs +0 -75
- package/esm2022/lib/core/services/router/router.service.mjs +0 -21
- package/esm2022/lib/core/services/seo.service.mjs +0 -25
- package/esm2022/lib/core/services/social/providers/base-login-provider.mjs +0 -16
- package/esm2022/lib/core/services/social/providers/fb-login-provider.mjs +0 -107
- package/esm2022/lib/core/services/social/providers/index.mjs +0 -4
- package/esm2022/lib/core/services/social/providers/login-provider.mjs +0 -2
- package/esm2022/lib/core/services/social/social-auth-service-config.mjs +0 -10
- package/esm2022/lib/core/services/social/social-auth-service.mjs +0 -75
- package/esm2022/lib/core/services/static-data/static-data-api.mjs +0 -53
- package/esm2022/lib/core/services/static-data/static-data.service.mjs +0 -64
- package/esm2022/lib/core/services/storage/storage.service.mjs +0 -33
- package/esm2022/lib/core/services/users/users-api.mjs +0 -38
- package/esm2022/lib/core/services/users/users.service.mjs +0 -41
- package/esm2022/lib/core/services/websocket.service.mjs +0 -179
- package/esm2022/lib/core/tokens/index.mjs +0 -4
- package/esm2022/lib/core/utils/component-destroyed.mjs +0 -21
- package/esm2022/lib/core/utils/guid.mjs +0 -10
- package/esm2022/lib/core/utils/index.mjs +0 -4
- package/esm2022/lib/core/utils/track-by.mjs +0 -4
- package/esm2022/lib/models/config/app-config.mjs +0 -2
- package/esm2022/lib/models/config/index.mjs +0 -2
- package/esm2022/lib/models/embeds/embed-model.mjs +0 -2
- package/esm2022/lib/models/embeds/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/actions/actions-endpoint-types.mjs +0 -5
- package/esm2022/lib/models/endpoints/actions/actions-request-config.mjs +0 -2
- package/esm2022/lib/models/endpoints/actions/actions-response.mjs +0 -2
- package/esm2022/lib/models/endpoints/actions/index.mjs +0 -3
- package/esm2022/lib/models/endpoints/actions/send-actions/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/actions/send-actions/request/actions-send-request-config.mjs +0 -2
- package/esm2022/lib/models/endpoints/actions/send-actions/request/actions-send-request.mjs +0 -27
- package/esm2022/lib/models/endpoints/actions/send-actions/request/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/auth/auth-endpoint-types.mjs +0 -6
- package/esm2022/lib/models/endpoints/auth/auth-request-config.mjs +0 -2
- package/esm2022/lib/models/endpoints/auth/auth-response.mjs +0 -2
- package/esm2022/lib/models/endpoints/auth/index.mjs +0 -3
- package/esm2022/lib/models/endpoints/auth/login-send/index.mjs +0 -3
- package/esm2022/lib/models/endpoints/auth/login-send/request/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/auth/login-send/request/login-send-create-request-config.mjs +0 -2
- package/esm2022/lib/models/endpoints/auth/login-send/request/login-send-create-request.mjs +0 -26
- package/esm2022/lib/models/endpoints/auth/login-send/response/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/auth/login-send/response/login-send-create-201.mjs +0 -2
- package/esm2022/lib/models/endpoints/auth/login-send/response/login-send-create-response-factory.mjs +0 -28
- package/esm2022/lib/models/endpoints/auth/login-send/response/login-send-create-response.mjs +0 -2
- package/esm2022/lib/models/endpoints/auth/refresh-token/index.mjs +0 -3
- package/esm2022/lib/models/endpoints/auth/refresh-token/request/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/auth/refresh-token/request/refresh-token-request-config.mjs +0 -2
- package/esm2022/lib/models/endpoints/auth/refresh-token/request/refresh-token-request.mjs +0 -21
- package/esm2022/lib/models/endpoints/auth/refresh-token/response/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/auth/refresh-token/response/refresh-token-200.mjs +0 -2
- package/esm2022/lib/models/endpoints/auth/refresh-token/response/refresh-token-response-factory.mjs +0 -28
- package/esm2022/lib/models/endpoints/auth/refresh-token/response/refresh-token-response.mjs +0 -2
- package/esm2022/lib/models/endpoints/base-response/base-response-factory.mjs +0 -31
- package/esm2022/lib/models/endpoints/base-response/base-response.mjs +0 -2
- package/esm2022/lib/models/endpoints/base-response/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/base-response/response-200.mjs +0 -2
- package/esm2022/lib/models/endpoints/cache-data/cache-data-endpoint-types.mjs +0 -5
- package/esm2022/lib/models/endpoints/cache-data/cache-data-request-config.mjs +0 -2
- package/esm2022/lib/models/endpoints/cache-data/cache-data-response.mjs +0 -2
- package/esm2022/lib/models/endpoints/cache-data/get-cache-data/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/cache-data/get-cache-data/request/get-cache-data-request-config.mjs +0 -2
- package/esm2022/lib/models/endpoints/cache-data/get-cache-data/request/get-cache-data-request.mjs +0 -22
- package/esm2022/lib/models/endpoints/cache-data/get-cache-data/request/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/cache-data/index.mjs +0 -3
- package/esm2022/lib/models/endpoints/files/files-delete/index.mjs +0 -3
- package/esm2022/lib/models/endpoints/files/files-delete/request/files-delete-request-config.mjs +0 -2
- package/esm2022/lib/models/endpoints/files/files-delete/request/files-delete-request.mjs +0 -21
- package/esm2022/lib/models/endpoints/files/files-delete/request/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/files/files-delete/response/files-delete-200.mjs +0 -2
- package/esm2022/lib/models/endpoints/files/files-delete/response/files-delete-response-factory.mjs +0 -28
- package/esm2022/lib/models/endpoints/files/files-delete/response/files-delete-response.mjs +0 -2
- package/esm2022/lib/models/endpoints/files/files-delete/response/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/files/files-endpoint-types.mjs +0 -8
- package/esm2022/lib/models/endpoints/files/files-load/index.mjs +0 -3
- package/esm2022/lib/models/endpoints/files/files-load/request/files-load-request-config.mjs +0 -2
- package/esm2022/lib/models/endpoints/files/files-load/request/files-load-request.mjs +0 -22
- package/esm2022/lib/models/endpoints/files/files-load/request/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/files/files-load/response/files-load-200.mjs +0 -2
- package/esm2022/lib/models/endpoints/files/files-load/response/files-load-response-factory.mjs +0 -28
- package/esm2022/lib/models/endpoints/files/files-load/response/files-load-response.mjs +0 -2
- package/esm2022/lib/models/endpoints/files/files-load/response/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/files/files-request-config.mjs +0 -2
- package/esm2022/lib/models/endpoints/files/files-response.mjs +0 -2
- package/esm2022/lib/models/endpoints/files/files-sort/index.mjs +0 -3
- package/esm2022/lib/models/endpoints/files/files-sort/request/files-sort-request-config.mjs +0 -2
- package/esm2022/lib/models/endpoints/files/files-sort/request/files-sort-request.mjs +0 -25
- package/esm2022/lib/models/endpoints/files/files-sort/request/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/files/files-sort/response/files-sort-200.mjs +0 -2
- package/esm2022/lib/models/endpoints/files/files-sort/response/files-sort-response-factory.mjs +0 -28
- package/esm2022/lib/models/endpoints/files/files-sort/response/files-sort-response.mjs +0 -2
- package/esm2022/lib/models/endpoints/files/files-sort/response/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/files/files-update/index.mjs +0 -3
- package/esm2022/lib/models/endpoints/files/files-update/request/files-update-request-config.mjs +0 -2
- package/esm2022/lib/models/endpoints/files/files-update/request/files-update-request.mjs +0 -30
- package/esm2022/lib/models/endpoints/files/files-update/request/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/files/files-update/response/files-update-200.mjs +0 -2
- package/esm2022/lib/models/endpoints/files/files-update/response/files-update-response-factory.mjs +0 -28
- package/esm2022/lib/models/endpoints/files/files-update/response/files-update-response.mjs +0 -2
- package/esm2022/lib/models/endpoints/files/files-update/response/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/files/index.mjs +0 -6
- package/esm2022/lib/models/endpoints/form-delete-file/form-delete-file/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/form-delete-file/form-delete-file/request/form-delete-file-request-config.mjs +0 -2
- package/esm2022/lib/models/endpoints/form-delete-file/form-delete-file/request/form-delete-file-request.mjs +0 -27
- package/esm2022/lib/models/endpoints/form-delete-file/form-delete-file/request/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/form-delete-file/form-delete-file-base-endpoint-types.mjs +0 -5
- package/esm2022/lib/models/endpoints/form-delete-file/form-delete-file-base-request-config.mjs +0 -2
- package/esm2022/lib/models/endpoints/form-delete-file/form-delete-file-base-response.mjs +0 -2
- package/esm2022/lib/models/endpoints/form-delete-file/index.mjs +0 -3
- package/esm2022/lib/models/endpoints/form-validation/form-validation-check/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/form-validation/form-validation-check/request/form-validation-check-request-config.mjs +0 -2
- package/esm2022/lib/models/endpoints/form-validation/form-validation-check/request/form-validation-check-request.mjs +0 -29
- package/esm2022/lib/models/endpoints/form-validation/form-validation-check/request/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/form-validation/form-validation-endpoint-types.mjs +0 -5
- package/esm2022/lib/models/endpoints/form-validation/form-validation-request-config.mjs +0 -2
- package/esm2022/lib/models/endpoints/form-validation/form-validation-response.mjs +0 -2
- package/esm2022/lib/models/endpoints/form-validation/index.mjs +0 -3
- package/esm2022/lib/models/endpoints/http/index.mjs +0 -3
- package/esm2022/lib/models/endpoints/http/request/delete-request.mjs +0 -9
- package/esm2022/lib/models/endpoints/http/request/get-request.mjs +0 -50
- package/esm2022/lib/models/endpoints/http/request/index.mjs +0 -7
- package/esm2022/lib/models/endpoints/http/request/patch-request.mjs +0 -9
- package/esm2022/lib/models/endpoints/http/request/post-request.mjs +0 -9
- package/esm2022/lib/models/endpoints/http/request/put-request.mjs +0 -9
- package/esm2022/lib/models/endpoints/http/request/request-config.mjs +0 -2
- package/esm2022/lib/models/endpoints/http/request/request-headers.mjs +0 -2
- package/esm2022/lib/models/endpoints/http/request/request-method.mjs +0 -9
- package/esm2022/lib/models/endpoints/http/request/request.mjs +0 -120
- package/esm2022/lib/models/endpoints/http/request-result-info.mjs +0 -2
- package/esm2022/lib/models/endpoints/http/response/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/http/response/response-status.mjs +0 -13
- package/esm2022/lib/models/endpoints/http/response/response.mjs +0 -2
- package/esm2022/lib/models/endpoints/index.mjs +0 -13
- package/esm2022/lib/models/endpoints/publish/index.mjs +0 -4
- package/esm2022/lib/models/endpoints/publish/publish-endpoint-types.mjs +0 -6
- package/esm2022/lib/models/endpoints/publish/publish-post/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/publish/publish-post/request/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/publish/publish-post/request/publish-post-request-config.mjs +0 -2
- package/esm2022/lib/models/endpoints/publish/publish-post/request/publish-post-request.mjs +0 -21
- package/esm2022/lib/models/endpoints/publish/publish-request-config.mjs +0 -2
- package/esm2022/lib/models/endpoints/publish/publish-response.mjs +0 -2
- package/esm2022/lib/models/endpoints/publish/un-publish-post/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/publish/un-publish-post/request/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/publish/un-publish-post/request/un-publish-post-config.mjs +0 -2
- package/esm2022/lib/models/endpoints/publish/un-publish-post/request/un-publish-post-request.mjs +0 -21
- package/esm2022/lib/models/endpoints/reports/enities-report/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/reports/enities-report/request/entities-reports-request-config.mjs +0 -2
- package/esm2022/lib/models/endpoints/reports/enities-report/request/entities-reports-request.mjs +0 -21
- package/esm2022/lib/models/endpoints/reports/enities-report/request/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/reports/index.mjs +0 -3
- package/esm2022/lib/models/endpoints/reports/reports-endpoint-types.mjs +0 -6
- package/esm2022/lib/models/endpoints/reports/reports-request-config.mjs +0 -2
- package/esm2022/lib/models/endpoints/reports/reports-response.mjs +0 -2
- package/esm2022/lib/models/endpoints/reports/user-behavior-report/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/reports/user-behavior-report/request/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/reports/user-behavior-report/request/user-behavior-report-request-config.mjs +0 -2
- package/esm2022/lib/models/endpoints/reports/user-behavior-report/request/user-behavior-report-request.mjs +0 -21
- package/esm2022/lib/models/endpoints/static-data/index.mjs +0 -10
- package/esm2022/lib/models/endpoints/static-data/static-data-bulk-update-or-create/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/static-data/static-data-bulk-update-or-create/request/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/static-data/static-data-bulk-update-or-create/request/static-data-bulk-update-or-create-request-config.mjs +0 -2
- package/esm2022/lib/models/endpoints/static-data/static-data-bulk-update-or-create/request/static-data-bulk-update-or-create-request.mjs +0 -30
- package/esm2022/lib/models/endpoints/static-data/static-data-create/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/static-data/static-data-create/request/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/static-data/static-data-create/request/static-data-create-request-config.mjs +0 -2
- package/esm2022/lib/models/endpoints/static-data/static-data-create/request/static-data-create-request.mjs +0 -29
- package/esm2022/lib/models/endpoints/static-data/static-data-delete/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/static-data/static-data-delete/request/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/static-data/static-data-delete/request/static-data-delete-request-config.mjs +0 -2
- package/esm2022/lib/models/endpoints/static-data/static-data-delete/request/static-data-delete-request.mjs +0 -21
- package/esm2022/lib/models/endpoints/static-data/static-data-endpoint-types.mjs +0 -14
- package/esm2022/lib/models/endpoints/static-data/static-data-get/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/static-data/static-data-get/request/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/static-data/static-data-get/request/static-data-get-request-config.mjs +0 -2
- package/esm2022/lib/models/endpoints/static-data/static-data-get/request/static-data-get-request.mjs +0 -40
- package/esm2022/lib/models/endpoints/static-data/static-data-get-list/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/static-data/static-data-get-list/request/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/static-data/static-data-get-list/request/static-data-get-list-request-config.mjs +0 -2
- package/esm2022/lib/models/endpoints/static-data/static-data-get-list/request/static-data-get-list-request.mjs +0 -43
- package/esm2022/lib/models/endpoints/static-data/static-data-get-list-categories/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/static-data/static-data-get-list-categories/request/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/static-data/static-data-get-list-categories/request/static-data-get-list-categories-request-config.mjs +0 -2
- package/esm2022/lib/models/endpoints/static-data/static-data-get-list-categories/request/static-data-get-list-categories-request.mjs +0 -23
- package/esm2022/lib/models/endpoints/static-data/static-data-load-revisions/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/static-data/static-data-load-revisions/request/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/static-data/static-data-load-revisions/request/static-data-load-revisions-request-config.mjs +0 -2
- package/esm2022/lib/models/endpoints/static-data/static-data-load-revisions/request/static-data-load-revisions-request.mjs +0 -21
- package/esm2022/lib/models/endpoints/static-data/static-data-patch-update/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/static-data/static-data-patch-update/request/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/static-data/static-data-patch-update/request/static-data-patch-update-request-config.mjs +0 -2
- package/esm2022/lib/models/endpoints/static-data/static-data-patch-update/request/static-data-patch-update-request.mjs +0 -30
- package/esm2022/lib/models/endpoints/static-data/static-data-request-config.mjs +0 -2
- package/esm2022/lib/models/endpoints/static-data/static-data-response.mjs +0 -2
- package/esm2022/lib/models/endpoints/static-data/static-data-sub-routing-get/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/static-data/static-data-sub-routing-get/request/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/static-data/static-data-sub-routing-get/request/static-data-sub-routing-get-request-config.mjs +0 -2
- package/esm2022/lib/models/endpoints/static-data/static-data-sub-routing-get/request/static-data-sub-routing-get-request.mjs +0 -35
- package/esm2022/lib/models/endpoints/static-data/static-data-update/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/static-data/static-data-update/request/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/static-data/static-data-update/request/static-data-update-request-config.mjs +0 -2
- package/esm2022/lib/models/endpoints/static-data/static-data-update/request/static-data-update-request.mjs +0 -30
- package/esm2022/lib/models/endpoints/tags/index.mjs +0 -4
- package/esm2022/lib/models/endpoints/tags/tag-entities-load/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/tags/tag-entities-load/request/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/tags/tag-entities-load/request/tag-entities-load-request-config.mjs +0 -2
- package/esm2022/lib/models/endpoints/tags/tag-entities-load/request/tag-entities-request.mjs +0 -22
- package/esm2022/lib/models/endpoints/tags/tags-endpoint-types.mjs +0 -10
- package/esm2022/lib/models/endpoints/tags/tags-load/index.mjs +0 -3
- package/esm2022/lib/models/endpoints/tags/tags-load/request/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/tags/tags-load/request/tags-load-request-config.mjs +0 -2
- package/esm2022/lib/models/endpoints/tags/tags-load/request/tags-load-request.mjs +0 -35
- package/esm2022/lib/models/endpoints/tags/tags-load/response/index.mjs +0 -2
- package/esm2022/lib/models/endpoints/tags/tags-load/response/tags-load-200.mjs +0 -2
- package/esm2022/lib/models/endpoints/tags/tags-load/response/tags-load-response-factory.mjs +0 -28
- package/esm2022/lib/models/endpoints/tags/tags-load/response/tags-load-response.mjs +0 -2
- package/esm2022/lib/models/endpoints/tags/tags-request-config.mjs +0 -2
- package/esm2022/lib/models/endpoints/tags/tags-response.mjs +0 -2
- package/esm2022/lib/models/entity/entity-filters.mjs +0 -2
- package/esm2022/lib/models/entity/entity-query-field-names.mjs +0 -23
- package/esm2022/lib/models/entity/entity-query-fields.mjs +0 -2
- package/esm2022/lib/models/entity/entity-sort-type.mjs +0 -8
- package/esm2022/lib/models/entity/entity.mjs +0 -3
- package/esm2022/lib/models/entity/entity.type.mjs +0 -8
- package/esm2022/lib/models/entity/index.mjs +0 -5
- package/esm2022/lib/models/entity/paging.type.mjs +0 -2
- package/esm2022/lib/models/fields/fields-model.mjs +0 -2
- package/esm2022/lib/models/fields/index.mjs +0 -2
- package/esm2022/lib/models/index.mjs +0 -27
- package/esm2022/lib/models/mapper/index.mjs +0 -3
- package/esm2022/lib/models/mapper/mapper-util.mjs +0 -66
- package/esm2022/lib/models/mapper/mapper.mjs +0 -28
- package/esm2022/lib/models/model-adapter/base-model-adapter.mjs +0 -41
- package/esm2022/lib/models/model-adapter/index.mjs +0 -2
- package/esm2022/lib/models/models/actions/actions.model.mjs +0 -3
- package/esm2022/lib/models/models/actions/index.mjs +0 -2
- package/esm2022/lib/models/models/cache-data/cache-data.model.mjs +0 -3
- package/esm2022/lib/models/models/cache-data/index.mjs +0 -2
- package/esm2022/lib/models/models/file/file-field-names.mjs +0 -13
- package/esm2022/lib/models/models/file/file-model.mjs +0 -5
- package/esm2022/lib/models/models/file/file-scheme.mjs +0 -24
- package/esm2022/lib/models/models/file/index.mjs +0 -5
- package/esm2022/lib/models/models/file/versions-model.mjs +0 -3
- package/esm2022/lib/models/models/meta.model.mjs +0 -3
- package/esm2022/lib/models/models/notification/index.mjs +0 -2
- package/esm2022/lib/models/models/notification/notificationModel.mjs +0 -3
- package/esm2022/lib/models/models/paging.model.mjs +0 -3
- package/esm2022/lib/models/models/publish-message/publish-message-field-names.mjs +0 -12
- package/esm2022/lib/models/models/publish-message/publish-message-scheme.mjs +0 -13
- package/esm2022/lib/models/models/publish-message/publish-message.mjs +0 -7
- package/esm2022/lib/models/models/reports/index.mjs +0 -2
- package/esm2022/lib/models/models/reports/reports.model.mjs +0 -3
- package/esm2022/lib/models/models/request.model.mjs +0 -13
- package/esm2022/lib/models/models/static-data/index.mjs +0 -2
- package/esm2022/lib/models/models/static-data/static-data.model.mjs +0 -3
- package/esm2022/lib/models/models/tag/tag-entity-model.mjs +0 -3
- package/esm2022/lib/models/models/tag/tag-entity-scheme.mjs +0 -11
- package/esm2022/lib/models/models/tag/tag-field-names.mjs +0 -9
- package/esm2022/lib/models/models/tag/tag-model.mjs +0 -3
- package/esm2022/lib/models/models/tag/tag-scheme.mjs +0 -13
- package/esm2022/lib/models/models/ui-units/index.mjs +0 -2
- package/esm2022/lib/models/models/ui-units/ui-units.firms-data.mjs +0 -2
- package/esm2022/lib/models/models/user/index.mjs +0 -8
- package/esm2022/lib/models/models/user/user-auth-headers.mjs +0 -2
- package/esm2022/lib/models/models/user/user-field-names.mjs +0 -16
- package/esm2022/lib/models/models/user/user-model.mjs +0 -3
- package/esm2022/lib/models/models/user/user-query-fields.mjs +0 -2
- package/esm2022/lib/models/models/user/user-right-model.mjs +0 -3
- package/esm2022/lib/models/models/user/user-scheme.mjs +0 -20
- package/esm2022/lib/models/models/user/user.role.mjs +0 -9
- package/esm2022/lib/models/query-fields-adapter/index.mjs +0 -2
- package/esm2022/lib/models/query-fields-adapter/query-fileds-adapter.mjs +0 -20
- package/esm2022/lib/models/schemes/entity-scheme.mjs +0 -4
- package/esm2022/lib/models/schemes/index.mjs +0 -2
- package/esm2022/lib/models/social/fb-login-options.mjs +0 -2
- package/esm2022/lib/models/social/index.mjs +0 -2
- package/esm2022/lib/models/social/login-options.mjs +0 -2
- package/esm2022/lib/models/social/social-user.mjs +0 -2
- package/esm2022/lib/models/ui-units/index.mjs +0 -2
- package/esm2022/lib/models/ui-units/ui-unit-ids.mjs +0 -9
- package/esm2022/lib/models/ui-units/ui-unit-types.mjs +0 -5
- package/esm2022/lib/models/ui-units/uiUnitItem.mjs +0 -2
- package/esm2022/lib/models/ui-units/uiUnits.images-data.mjs +0 -2
- package/esm2022/lib/wt-front-shared.module.mjs +0 -25
- package/esm2022/public-api.mjs +0 -83
- package/esm2022/wt-front-shared.mjs +0 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, NgModule, PLATFORM_ID,
|
|
2
|
+
import { InjectionToken, NgModule, PLATFORM_ID, Inject, Injectable, Input, ChangeDetectionStrategy, Component, EventEmitter, Output, Injector, ViewChild, numberAttribute, ElementRef, forwardRef, ContentChild, Optional, Directive, Pipe } from '@angular/core';
|
|
3
3
|
import * as i1$3 from '@angular/common';
|
|
4
4
|
import { isPlatformBrowser, isPlatformServer, APP_BASE_HREF, CommonModule } from '@angular/common';
|
|
5
5
|
import { BehaviorSubject, of, switchMap as switchMap$1, throwError, ReplaySubject, Subject, EMPTY, Subscription, merge, fromEvent } from 'rxjs';
|
|
@@ -13,10 +13,10 @@ import { createAction, props, createReducer, on, createFeatureSelector, createSe
|
|
|
13
13
|
import { get } from 'lodash';
|
|
14
14
|
import * as i1$1 from '@angular/common/http';
|
|
15
15
|
import { filter } from 'rxjs/internal/operators/filter';
|
|
16
|
-
import * as i3
|
|
16
|
+
import * as i3 from 'ngx-toastr';
|
|
17
17
|
import * as i1$4 from '@angular/material/dialog';
|
|
18
18
|
import { MAT_DIALOG_DATA, MatDialogModule } from '@angular/material/dialog';
|
|
19
|
-
import * as
|
|
19
|
+
import * as i7 from '@angular/forms';
|
|
20
20
|
import { Validators, FormControl, UntypedFormControl, FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
21
21
|
import { trigger, transition, animate, keyframes, style, state } from '@angular/animations';
|
|
22
22
|
import * as i5 from '@angular/material/button';
|
|
@@ -27,38 +27,38 @@ import * as i2$1 from '@angular/material/icon';
|
|
|
27
27
|
import { MatIconModule } from '@angular/material/icon';
|
|
28
28
|
import * as i2$2 from '@angular/material/progress-spinner';
|
|
29
29
|
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
|
30
|
-
import * as i7 from '@angular/flex-layout';
|
|
30
|
+
import * as i7$1 from '@angular/flex-layout';
|
|
31
31
|
import { FlexModule, FlexLayoutModule } from '@angular/flex-layout';
|
|
32
32
|
import { switchMap as switchMap$2 } from 'rxjs/internal/operators/switchMap';
|
|
33
|
-
import * as i3$
|
|
33
|
+
import * as i3$1 from 'ngx-cookie-service';
|
|
34
34
|
import * as i1$5 from '@angular/platform-browser';
|
|
35
35
|
import * as i2$4 from '@angular/material/form-field';
|
|
36
36
|
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
37
|
-
import * as i3$
|
|
37
|
+
import * as i3$2 from '@angular/material/input';
|
|
38
38
|
import { MatInputModule } from '@angular/material/input';
|
|
39
39
|
import * as i2$5 from '@angular/material/slide-toggle';
|
|
40
40
|
import { MatSlideToggleModule } from '@angular/material/slide-toggle';
|
|
41
41
|
import * as i5$1 from '@angular/material/select';
|
|
42
42
|
import { MatSelectModule } from '@angular/material/select';
|
|
43
|
-
import * as i7$
|
|
43
|
+
import * as i7$3 from '@angular/material/chips';
|
|
44
44
|
import { MatChipsModule } from '@angular/material/chips';
|
|
45
45
|
import * as i8$1 from '@angular/material/autocomplete';
|
|
46
46
|
import { MatAutocompleteModule } from '@angular/material/autocomplete';
|
|
47
|
-
import * as i7$
|
|
47
|
+
import * as i7$2 from 'ngx-mask';
|
|
48
48
|
import { NgxMaskDirective, NgxMaskPipe, provideNgxMask } from 'ngx-mask';
|
|
49
49
|
import * as i8 from 'ngx-mat-select-search';
|
|
50
50
|
import { NgxMatSelectSearchModule } from 'ngx-mat-select-search';
|
|
51
|
-
import * as
|
|
51
|
+
import * as i3$4 from '@ckeditor/ckeditor5-angular';
|
|
52
52
|
import { CKEditorModule } from '@ckeditor/ckeditor5-angular';
|
|
53
53
|
import * as i6 from '@angular/material/core';
|
|
54
|
-
import
|
|
55
|
-
import * as i3$4 from '@angular/cdk/drag-drop';
|
|
54
|
+
import * as i3$3 from '@angular/cdk/drag-drop';
|
|
56
55
|
import { moveItemInArray, DragDropModule } from '@angular/cdk/drag-drop';
|
|
57
56
|
import * as i6$1 from 'ng2-file-upload';
|
|
58
57
|
import { FileUploader, FileUploadModule } from 'ng2-file-upload';
|
|
59
58
|
import * as i5$2 from '@angular/material/progress-bar';
|
|
60
59
|
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
|
61
60
|
import { ENTER, COMMA } from '@angular/cdk/keycodes';
|
|
61
|
+
import { ClassicEditor, Essentials, Paragraph, Bold, Italic, List, SourceEditing, Table, TableToolbar, TableProperties, TableCellProperties, TableColumnResize, Alignment, Link, AutoLink, ImageEditing, ImageBlockEditing, Image, ImageInsert, ImageToolbar, ImageCaption, ImageStyle, ImageResize, LinkImage, ImageResizeEditing, ImageResizeHandles, ImageResizeButtons, Fullscreen, Font, Highlight, Heading, ShowBlocks, GeneralHtmlSupport, Style, RemoveFormat, SimpleUploadAdapter } from 'ckeditor5';
|
|
62
62
|
import { driver } from 'driver.js';
|
|
63
63
|
import { NgrxFormsModule } from 'ngrx-forms';
|
|
64
64
|
import * as i5$3 from '@angular/material/table';
|
|
@@ -87,11 +87,11 @@ class WtFrontSharedModule {
|
|
|
87
87
|
]
|
|
88
88
|
};
|
|
89
89
|
}
|
|
90
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
91
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
92
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
90
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: WtFrontSharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
91
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: WtFrontSharedModule }); }
|
|
92
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: WtFrontSharedModule }); }
|
|
93
93
|
}
|
|
94
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
94
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: WtFrontSharedModule, decorators: [{
|
|
95
95
|
type: NgModule,
|
|
96
96
|
args: [{
|
|
97
97
|
declarations: [],
|
|
@@ -206,10 +206,10 @@ class AuthenticationService {
|
|
|
206
206
|
}
|
|
207
207
|
return undefined;
|
|
208
208
|
}
|
|
209
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
210
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
209
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: AuthenticationService, deps: [{ token: PLATFORM_ID }, { token: i2.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
210
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: AuthenticationService, providedIn: 'root' }); }
|
|
211
211
|
}
|
|
212
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
212
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: AuthenticationService, decorators: [{
|
|
213
213
|
type: Injectable,
|
|
214
214
|
args: [{ providedIn: 'root' }]
|
|
215
215
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
@@ -2495,10 +2495,10 @@ class RequestsFacade {
|
|
|
2495
2495
|
getRequestUpdatesByFormId(formId) {
|
|
2496
2496
|
return this.store.pipe(select(requestsQuery.getRequestInfoByFormId(formId)), filter(data => !!data && !!data.status));
|
|
2497
2497
|
}
|
|
2498
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2499
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2498
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: RequestsFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2499
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: RequestsFacade, providedIn: "root" }); }
|
|
2500
2500
|
}
|
|
2501
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2501
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: RequestsFacade, decorators: [{
|
|
2502
2502
|
type: Injectable,
|
|
2503
2503
|
args: [{ providedIn: "root" }]
|
|
2504
2504
|
}], ctorParameters: () => [{ type: i1.Store }] });
|
|
@@ -2586,10 +2586,10 @@ class FormsFacade {
|
|
|
2586
2586
|
removeForm(formId) {
|
|
2587
2587
|
this.store.dispatch(DeleteForm({ payload: { formId } }));
|
|
2588
2588
|
}
|
|
2589
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2590
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2589
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormsFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2590
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormsFacade, providedIn: 'root' }); }
|
|
2591
2591
|
}
|
|
2592
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2592
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormsFacade, decorators: [{
|
|
2593
2593
|
type: Injectable,
|
|
2594
2594
|
args: [{ providedIn: 'root' }]
|
|
2595
2595
|
}], ctorParameters: () => [{ type: i1.Store }] });
|
|
@@ -2610,10 +2610,10 @@ class UsersService extends BaseAPIService {
|
|
|
2610
2610
|
console.log('[ user.service ][ refreshToken ]');
|
|
2611
2611
|
return this.doRequest(config, AuthEndpointTypes.REFRESH_TOKEN);
|
|
2612
2612
|
}
|
|
2613
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2614
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2613
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: UsersService, deps: [{ token: i1$1.HttpClient }, { token: CORE_CONFIG }, { token: RequestsFacade }, { token: FormsFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2614
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: UsersService, providedIn: 'root' }); }
|
|
2615
2615
|
}
|
|
2616
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2616
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: UsersService, decorators: [{
|
|
2617
2617
|
type: Injectable,
|
|
2618
2618
|
args: [{
|
|
2619
2619
|
providedIn: 'root'
|
|
@@ -2757,10 +2757,10 @@ class RouterEffects {
|
|
|
2757
2757
|
}
|
|
2758
2758
|
return path;
|
|
2759
2759
|
}
|
|
2760
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2761
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2760
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: RouterEffects, deps: [{ token: i1$2.Actions }, { token: i1.Store }, { token: i2.Router }, { token: i1$3.Location }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2761
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: RouterEffects }); }
|
|
2762
2762
|
}
|
|
2763
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2763
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: RouterEffects, decorators: [{
|
|
2764
2764
|
type: Injectable
|
|
2765
2765
|
}], ctorParameters: () => [{ type: i1$2.Actions }, { type: i1.Store }, { type: i2.Router }, { type: i1$3.Location }] });
|
|
2766
2766
|
|
|
@@ -2772,10 +2772,10 @@ class RouterService {
|
|
|
2772
2772
|
console.info('[ router.service.navigation ]', src, extras);
|
|
2773
2773
|
this.store.dispatch(Go({ payload: { path: [src], extras } }));
|
|
2774
2774
|
}
|
|
2775
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2776
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2775
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: RouterService, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2776
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: RouterService, providedIn: 'root' }); }
|
|
2777
2777
|
}
|
|
2778
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2778
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: RouterService, decorators: [{
|
|
2779
2779
|
type: Injectable,
|
|
2780
2780
|
args: [{ providedIn: 'root' }]
|
|
2781
2781
|
}], ctorParameters: () => [{ type: i1.Store }] });
|
|
@@ -2813,10 +2813,10 @@ class ActionsService extends BaseAPIService {
|
|
|
2813
2813
|
sendAction(config) {
|
|
2814
2814
|
return this.doRequest(config, ActionsEndpointTypes.SEND_ACTION);
|
|
2815
2815
|
}
|
|
2816
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2817
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2816
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ActionsService, deps: [{ token: i1$1.HttpClient }, { token: CORE_CONFIG }, { token: RequestsFacade }, { token: FormsFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2817
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ActionsService, providedIn: "root" }); }
|
|
2818
2818
|
}
|
|
2819
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2819
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ActionsService, decorators: [{
|
|
2820
2820
|
type: Injectable,
|
|
2821
2821
|
args: [{
|
|
2822
2822
|
providedIn: "root"
|
|
@@ -2848,10 +2848,10 @@ class NotificationsFacade {
|
|
|
2848
2848
|
};
|
|
2849
2849
|
this.store.dispatch(NotificationAdd({ payload }));
|
|
2850
2850
|
}
|
|
2851
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2852
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2851
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: NotificationsFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2852
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: NotificationsFacade, providedIn: "root" }); }
|
|
2853
2853
|
}
|
|
2854
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2854
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: NotificationsFacade, decorators: [{
|
|
2855
2855
|
type: Injectable,
|
|
2856
2856
|
args: [{ providedIn: "root" }]
|
|
2857
2857
|
}], ctorParameters: () => [{ type: i1.Store }] });
|
|
@@ -3030,10 +3030,10 @@ class UsersEffects {
|
|
|
3030
3030
|
this.authenticationService.saveRefreshToken(token, tokenExp, refreshToken);
|
|
3031
3031
|
})));
|
|
3032
3032
|
}
|
|
3033
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3034
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3033
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: UsersEffects, deps: [{ token: i1$2.Actions }, { token: i1.Store }, { token: UsersService }, { token: AuthenticationService }, { token: RouterService }, { token: ActionsService }, { token: NotificationsFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3034
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: UsersEffects, providedIn: "root" }); }
|
|
3035
3035
|
}
|
|
3036
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3036
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: UsersEffects, decorators: [{
|
|
3037
3037
|
type: Injectable,
|
|
3038
3038
|
args: [{ providedIn: "root" }]
|
|
3039
3039
|
}], ctorParameters: () => [{ type: i1$2.Actions }, { type: i1.Store }, { type: UsersService }, { type: AuthenticationService }, { type: RouterService }, { type: ActionsService }, { type: NotificationsFacade }] });
|
|
@@ -3117,10 +3117,10 @@ class UsersFacade {
|
|
|
3117
3117
|
setLoaded() {
|
|
3118
3118
|
this.store.dispatch(SetLoaded());
|
|
3119
3119
|
}
|
|
3120
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3121
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3120
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: UsersFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3121
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: UsersFacade, providedIn: "root" }); }
|
|
3122
3122
|
}
|
|
3123
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3123
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: UsersFacade, decorators: [{
|
|
3124
3124
|
type: Injectable,
|
|
3125
3125
|
args: [{
|
|
3126
3126
|
providedIn: "root"
|
|
@@ -4006,10 +4006,10 @@ class StaticDataFacade {
|
|
|
4006
4006
|
}));
|
|
4007
4007
|
});
|
|
4008
4008
|
}
|
|
4009
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4010
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4009
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StaticDataFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4010
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StaticDataFacade, providedIn: 'root' }); }
|
|
4011
4011
|
}
|
|
4012
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4012
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StaticDataFacade, decorators: [{
|
|
4013
4013
|
type: Injectable,
|
|
4014
4014
|
args: [{ providedIn: 'root' }]
|
|
4015
4015
|
}], ctorParameters: () => [{ type: i1.Store }] });
|
|
@@ -4039,12 +4039,12 @@ class IconComponent {
|
|
|
4039
4039
|
this.iconSize = `s-18`;
|
|
4040
4040
|
}
|
|
4041
4041
|
}
|
|
4042
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4043
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
4042
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: IconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4043
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: IconComponent, isStandalone: false, selector: "shared-ui-icon", inputs: { icon: "icon", size: "size", color: "color" }, usesOnChanges: true, ngImport: i0, template: "<mat-icon\n [ngClass]=\"'icon-size-' + size + ' color-' + color + ' ' + iconSize\"\n class=\"secondary-text mat-icon notranslate material-icons\"\n role=\"img\"\n aria-hidden=\"true\">{{icon}}</mat-icon>\n", styles: [":host{display:inline-flex;align-items:center}.orange_gray{color:#c17e5d!important}.color-yellow{color:#fcb202!important}.color-red{color:#f44336!important}.color-white{color:#fff9!important}.color-black{color:#000000de!important}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4044
4044
|
}
|
|
4045
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4045
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: IconComponent, decorators: [{
|
|
4046
4046
|
type: Component,
|
|
4047
|
-
args: [{ selector: 'shared-ui-icon', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-icon\n [ngClass]=\"'icon-size-' + size + ' color-' + color + ' ' + iconSize\"\n class=\"secondary-text mat-icon notranslate material-icons\"\n role=\"img\"\n aria-hidden=\"true\">{{icon}}</mat-icon>\n", styles: [":host{display:inline-flex;align-items:center}.orange_gray{color:#c17e5d!important}.color-yellow{color:#fcb202!important}.color-red{color:#f44336!important}.color-white{color:#fff9!important}.color-black{color:#000000de!important}\n"] }]
|
|
4047
|
+
args: [{ selector: 'shared-ui-icon', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<mat-icon\n [ngClass]=\"'icon-size-' + size + ' color-' + color + ' ' + iconSize\"\n class=\"secondary-text mat-icon notranslate material-icons\"\n role=\"img\"\n aria-hidden=\"true\">{{icon}}</mat-icon>\n", styles: [":host{display:inline-flex;align-items:center}.orange_gray{color:#c17e5d!important}.color-yellow{color:#fcb202!important}.color-red{color:#f44336!important}.color-white{color:#fff9!important}.color-black{color:#000000de!important}\n"] }]
|
|
4048
4048
|
}], propDecorators: { icon: [{
|
|
4049
4049
|
type: Input
|
|
4050
4050
|
}], size: [{
|
|
@@ -4062,12 +4062,12 @@ class SpinnerComponent {
|
|
|
4062
4062
|
}
|
|
4063
4063
|
ngOnInit() {
|
|
4064
4064
|
}
|
|
4065
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4066
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
4065
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4066
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: SpinnerComponent, isStandalone: false, selector: "shared-spinner", inputs: { overlay: "overlay", diameter: "diameter", color: "color", position: "position" }, ngImport: i0, template: "<div [ngClass]=\"{\n overlay: overlay,\n 'grey-color': color === 'grey',\n 'align-center': position === 'center',\n 'align-right': position === 'right'\n }\">\n <mat-progress-spinner\n class=\"example-margin\"\n color=\"accent\"\n [diameter]=\"diameter\"\n mode=\"indeterminate\">\n </mat-progress-spinner>\n</div>\n", styles: [".overlay{position:absolute;inset:0;background:#1e2129ad;z-index:100;display:flex;justify-content:center;align-items:center}.align-center{display:flex;justify-content:center}.align-right{display:flex;justify-content:right}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i2$2.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4067
4067
|
}
|
|
4068
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4068
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SpinnerComponent, decorators: [{
|
|
4069
4069
|
type: Component,
|
|
4070
|
-
args: [{ selector: 'shared-spinner', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [ngClass]=\"{\n overlay: overlay,\n 'grey-color': color === 'grey',\n 'align-center': position === 'center',\n 'align-right': position === 'right'\n }\">\n <mat-progress-spinner\n class=\"example-margin\"\n color=\"accent\"\n [diameter]=\"diameter\"\n mode=\"indeterminate\">\n </mat-progress-spinner>\n</div>\n", styles: [".overlay{position:absolute;inset:0;background:#1e2129ad;z-index:100;display:flex;justify-content:center;align-items:center}.align-center{display:flex;justify-content:center}.align-right{display:flex;justify-content:right}\n"] }]
|
|
4070
|
+
args: [{ selector: 'shared-spinner', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div [ngClass]=\"{\n overlay: overlay,\n 'grey-color': color === 'grey',\n 'align-center': position === 'center',\n 'align-right': position === 'right'\n }\">\n <mat-progress-spinner\n class=\"example-margin\"\n color=\"accent\"\n [diameter]=\"diameter\"\n mode=\"indeterminate\">\n </mat-progress-spinner>\n</div>\n", styles: [".overlay{position:absolute;inset:0;background:#1e2129ad;z-index:100;display:flex;justify-content:center;align-items:center}.align-center{display:flex;justify-content:center}.align-right{display:flex;justify-content:right}\n"] }]
|
|
4071
4071
|
}], ctorParameters: () => [], propDecorators: { overlay: [{
|
|
4072
4072
|
type: Input
|
|
4073
4073
|
}], diameter: [{
|
|
@@ -4137,8 +4137,8 @@ class ButtonComponent {
|
|
|
4137
4137
|
this.clickButton.emit(true);
|
|
4138
4138
|
}
|
|
4139
4139
|
}
|
|
4140
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4141
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
4140
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4141
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: ButtonComponent, isStandalone: false, selector: "shared-button", inputs: { icon: "icon", iconColor: "iconColor", iconSize: "iconSize", rightIcon: "rightIcon", disabled: "disabled", loading: "loading", active: "active", stopPropagation: "stopPropagation", type: "type", color: "color", fullWidth: "fullWidth", size: "size", styleTheme: "styleTheme", tooltip: "tooltip", tooltipPosition: "tooltipPosition" }, outputs: { clickButton: "clickButton" }, usesOnChanges: true, ngImport: i0, template: "<button\n *ngIf=\"styleTheme === 'basic'\"\n mat-button\n class=\"button-effect\"\n [color]=\"'accent'\"\n [type]=\"type\"\n [disabled]=\"disabled || loading\"\n [class.small]=\"size === 'small'\"\n [class.normal]=\"size === 'normal'\"\n [class.large]=\"size === 'large'\"\n [class.big]=\"size === 'big'\"\n [ngClass]=\"{'width-100': fullWidth}\"\n [matTooltip]=\"tooltip\"\n [matTooltipPosition]=\"tooltipPosition\"\n [matTooltipDisabled]=\"disabled\"\n (click)=\"onClick($event)\"\n [class.active]=\"active\"\n [class.has-right-icon]=\"rightIcon\">\n <ng-container *ngTemplateOutlet=\"innerButton; context: context\"></ng-container>\n</button>\n<button\n *ngIf=\"styleTheme === 'raised'\"\n mat-raised-button\n class=\"button-effect\"\n [color]=\"color\"\n [type]=\"type\"\n [disabled]=\"disabled || loading\"\n [class.small]=\"size === 'small'\"\n [class.normal]=\"size === 'normal'\"\n [class.large]=\"size === 'large'\"\n [class.big]=\"size === 'big'\"\n [ngClass]=\"{'width-100': fullWidth}\"\n [matTooltip]=\"tooltip\"\n [matTooltipPosition]=\"tooltipPosition\"\n [matTooltipDisabled]=\"disabled\"\n (click)=\"onClick($event)\"\n [class.active]=\"active\"\n [class.has-right-icon]=\"rightIcon\">\n <ng-container *ngTemplateOutlet=\"innerButton; context: context\"></ng-container>\n</button>\n<button\n *ngIf=\"styleTheme === 'stroked'\"\n mat-stroked-button\n [color]=\"color\"\n [type]=\"type\"\n [disabled]=\"disabled || loading\"\n [class.small]=\"size === 'small'\"\n [class.normal]=\"size === 'normal'\"\n [class.large]=\"size === 'large'\"\n [class.big]=\"size === 'big'\"\n [ngClass]=\"{'width-100': fullWidth}\"\n [matTooltip]=\"tooltip\"\n [matTooltipPosition]=\"tooltipPosition\"\n [matTooltipDisabled]=\"disabled\"\n (click)=\"onClick($event)\"\n [class.active]=\"active\"\n [class.has-right-icon]=\"rightIcon\">\n <ng-container *ngTemplateOutlet=\"innerButton; context: context\"></ng-container>\n</button>\n<button\n *ngIf=\"styleTheme === 'flat'\"\n mat-flat-button\n [color]=\"color\"\n [type]=\"type\"\n [disabled]=\"disabled || loading\"\n [class.small]=\"size === 'small'\"\n [class.normal]=\"size === 'normal'\"\n [class.large]=\"size === 'large'\"\n [class.big]=\"size === 'big'\"\n [ngClass]=\"{'width-100': fullWidth}\"\n [matTooltip]=\"tooltip\"\n [matTooltipPosition]=\"tooltipPosition\"\n [matTooltipDisabled]=\"disabled\"\n (click)=\"onClick($event)\"\n [class.active]=\"active\"\n [class.has-right-icon]=\"rightIcon\">\n <ng-container\n *ngTemplateOutlet=\"innerButton; context:{loading: loading, icon: icon, color: color, size: size}\"></ng-container>\n</button>\n<button\n *ngIf=\"styleTheme === 'fab'\"\n mat-fab\n [color]=\"color\"\n [type]=\"type\"\n [disabled]=\"disabled || loading\"\n [class.small]=\"size === 'small'\"\n [class.normal]=\"size === 'normal'\"\n [class.large]=\"size === 'large'\"\n [class.big]=\"size === 'big'\"\n [ngClass]=\"{'width-100': fullWidth}\"\n [matTooltip]=\"tooltip\"\n [matTooltipPosition]=\"tooltipPosition\"\n [matTooltipDisabled]=\"disabled\"\n (click)=\"onClick($event)\"\n [class.active]=\"active\"\n [class.has-right-icon]=\"rightIcon\">\n <ng-container *ngTemplateOutlet=\"innerButton; context: context\"></ng-container>\n</button>\n<button\n *ngIf=\"styleTheme === 'mini-fab'\"\n mat-mini-fab\n [color]=\"color\"\n [type]=\"type\"\n [disabled]=\"disabled || loading\"\n [class.small]=\"size === 'small'\"\n [class.normal]=\"size === 'normal'\"\n [class.large]=\"size === 'large'\"\n [class.big]=\"size === 'big'\"\n [ngClass]=\"{'width-100': fullWidth}\"\n [matTooltip]=\"tooltip\"\n [matTooltipPosition]=\"tooltipPosition\"\n [matTooltipDisabled]=\"disabled\"\n (click)=\"onClick($event)\"\n [class.active]=\"active\"\n [class.has-right-icon]=\"rightIcon\">\n <ng-container *ngTemplateOutlet=\"innerButton; context: context\"></ng-container>\n</button>\n<ng-template #innerButton\n let-loading=\"loading\"\n let-iconColor=\"iconColor\"\n let-buttonIconSize=\"buttonIconSize\"\n let-icon=\"icon\"\n let-disabled=\"disabled\">\n <shared-ui-icon *ngIf=\"icon\"\n [color]=\"iconColor\"\n [size]=\"buttonIconSize\"\n [icon]=\"icon\"\n [ngClass]=\"[icon]\"></shared-ui-icon>\n <span @appearOpacity\n class=\"text\"\n #text>\n <ng-content></ng-content>\n </span>\n <shared-spinner\n @spinnerAnimation\n *ngIf=\"loading\"\n class=\"loader button-loader\"\n [diameter]=\"spinnerDiameter\"></shared-spinner>\n</ng-template>\n", styles: ["shared-ui-icon{margin-left:0!important;margin-right:5px!important}.button-loader{position:absolute}button{line-height:normal;margin:0}button .mdc-button__label{display:flex;align-items:center}.width-100{width:100%}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2$3.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type: IconComponent, selector: "shared-ui-icon", inputs: ["icon", "size", "color"] }, { kind: "component", type: SpinnerComponent, selector: "shared-spinner", inputs: ["overlay", "diameter", "color", "position"] }, { kind: "component", type: i5.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i5.MatMiniFabButton, selector: "button[mat-mini-fab]", exportAs: ["matButton"] }, { kind: "component", type: i5.MatFabButton, selector: "button[mat-fab]", inputs: ["extended"], exportAs: ["matButton"] }], animations: [
|
|
4142
4142
|
trigger('spinnerAnimation', [
|
|
4143
4143
|
transition(':enter', [
|
|
4144
4144
|
animate('300ms', keyframes([
|
|
@@ -4156,7 +4156,7 @@ class ButtonComponent {
|
|
|
4156
4156
|
appearOpacity
|
|
4157
4157
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4158
4158
|
}
|
|
4159
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4159
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ButtonComponent, decorators: [{
|
|
4160
4160
|
type: Component,
|
|
4161
4161
|
args: [{ selector: 'shared-button', changeDetection: ChangeDetectionStrategy.OnPush, animations: [
|
|
4162
4162
|
trigger('spinnerAnimation', [
|
|
@@ -4174,7 +4174,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
4174
4174
|
])
|
|
4175
4175
|
]),
|
|
4176
4176
|
appearOpacity
|
|
4177
|
-
], template: "<button\n *ngIf=\"styleTheme === 'basic'\"\n mat-button\n class=\"button-effect\"\n [color]=\"'accent'\"\n [type]=\"type\"\n [disabled]=\"disabled || loading\"\n [class.small]=\"size === 'small'\"\n [class.normal]=\"size === 'normal'\"\n [class.large]=\"size === 'large'\"\n [class.big]=\"size === 'big'\"\n [ngClass]=\"{'width-100': fullWidth}\"\n [matTooltip]=\"tooltip\"\n [matTooltipPosition]=\"tooltipPosition\"\n [matTooltipDisabled]=\"disabled\"\n (click)=\"onClick($event)\"\n [class.active]=\"active\"\n [class.has-right-icon]=\"rightIcon\">\n <ng-container *ngTemplateOutlet=\"innerButton; context: context\"></ng-container>\n</button>\n<button\n *ngIf=\"styleTheme === 'raised'\"\n mat-raised-button\n class=\"button-effect\"\n [color]=\"color\"\n [type]=\"type\"\n [disabled]=\"disabled || loading\"\n [class.small]=\"size === 'small'\"\n [class.normal]=\"size === 'normal'\"\n [class.large]=\"size === 'large'\"\n [class.big]=\"size === 'big'\"\n [ngClass]=\"{'width-100': fullWidth}\"\n [matTooltip]=\"tooltip\"\n [matTooltipPosition]=\"tooltipPosition\"\n [matTooltipDisabled]=\"disabled\"\n (click)=\"onClick($event)\"\n [class.active]=\"active\"\n [class.has-right-icon]=\"rightIcon\">\n <ng-container *ngTemplateOutlet=\"innerButton; context: context\"></ng-container>\n</button>\n<button\n *ngIf=\"styleTheme === 'stroked'\"\n mat-stroked-button\n [color]=\"color\"\n [type]=\"type\"\n [disabled]=\"disabled || loading\"\n [class.small]=\"size === 'small'\"\n [class.normal]=\"size === 'normal'\"\n [class.large]=\"size === 'large'\"\n [class.big]=\"size === 'big'\"\n [ngClass]=\"{'width-100': fullWidth}\"\n [matTooltip]=\"tooltip\"\n [matTooltipPosition]=\"tooltipPosition\"\n [matTooltipDisabled]=\"disabled\"\n (click)=\"onClick($event)\"\n [class.active]=\"active\"\n [class.has-right-icon]=\"rightIcon\">\n <ng-container *ngTemplateOutlet=\"innerButton; context: context\"></ng-container>\n</button>\n<button\n *ngIf=\"styleTheme === 'flat'\"\n mat-flat-button\n [color]=\"color\"\n [type]=\"type\"\n [disabled]=\"disabled || loading\"\n [class.small]=\"size === 'small'\"\n [class.normal]=\"size === 'normal'\"\n [class.large]=\"size === 'large'\"\n [class.big]=\"size === 'big'\"\n [ngClass]=\"{'width-100': fullWidth}\"\n [matTooltip]=\"tooltip\"\n [matTooltipPosition]=\"tooltipPosition\"\n [matTooltipDisabled]=\"disabled\"\n (click)=\"onClick($event)\"\n [class.active]=\"active\"\n [class.has-right-icon]=\"rightIcon\">\n <ng-container\n *ngTemplateOutlet=\"innerButton; context:{loading: loading, icon: icon, color: color, size: size}\"></ng-container>\n</button>\n<button\n *ngIf=\"styleTheme === 'fab'\"\n mat-fab\n [color]=\"color\"\n [type]=\"type\"\n [disabled]=\"disabled || loading\"\n [class.small]=\"size === 'small'\"\n [class.normal]=\"size === 'normal'\"\n [class.large]=\"size === 'large'\"\n [class.big]=\"size === 'big'\"\n [ngClass]=\"{'width-100': fullWidth}\"\n [matTooltip]=\"tooltip\"\n [matTooltipPosition]=\"tooltipPosition\"\n [matTooltipDisabled]=\"disabled\"\n (click)=\"onClick($event)\"\n [class.active]=\"active\"\n [class.has-right-icon]=\"rightIcon\">\n <ng-container *ngTemplateOutlet=\"innerButton; context: context\"></ng-container>\n</button>\n<button\n *ngIf=\"styleTheme === 'mini-fab'\"\n mat-mini-fab\n [color]=\"color\"\n [type]=\"type\"\n [disabled]=\"disabled || loading\"\n [class.small]=\"size === 'small'\"\n [class.normal]=\"size === 'normal'\"\n [class.large]=\"size === 'large'\"\n [class.big]=\"size === 'big'\"\n [ngClass]=\"{'width-100': fullWidth}\"\n [matTooltip]=\"tooltip\"\n [matTooltipPosition]=\"tooltipPosition\"\n [matTooltipDisabled]=\"disabled\"\n (click)=\"onClick($event)\"\n [class.active]=\"active\"\n [class.has-right-icon]=\"rightIcon\">\n <ng-container *ngTemplateOutlet=\"innerButton; context: context\"></ng-container>\n</button>\n<ng-template #innerButton\n let-loading=\"loading\"\n let-iconColor=\"iconColor\"\n let-buttonIconSize=\"buttonIconSize\"\n let-icon=\"icon\"\n let-disabled=\"disabled\">\n <shared-ui-icon *ngIf=\"icon\"\n [color]=\"iconColor\"\n [size]=\"buttonIconSize\"\n [icon]=\"icon\"\n [ngClass]=\"[icon]\"></shared-ui-icon>\n <span @appearOpacity\n class=\"text\"\n #text>\n <ng-content></ng-content>\n </span>\n <shared-spinner\n @spinnerAnimation\n *ngIf=\"loading\"\n class=\"loader button-loader\"\n [diameter]=\"spinnerDiameter\"></shared-spinner>\n</ng-template>\n", styles: ["shared-ui-icon{margin-left:0!important;margin-right:5px!important}.button-loader{position:absolute}button{line-height:normal;margin:0}button .mdc-button__label{display:flex;align-items:center}.width-100{width:100%}\n"] }]
|
|
4177
|
+
], standalone: false, template: "<button\n *ngIf=\"styleTheme === 'basic'\"\n mat-button\n class=\"button-effect\"\n [color]=\"'accent'\"\n [type]=\"type\"\n [disabled]=\"disabled || loading\"\n [class.small]=\"size === 'small'\"\n [class.normal]=\"size === 'normal'\"\n [class.large]=\"size === 'large'\"\n [class.big]=\"size === 'big'\"\n [ngClass]=\"{'width-100': fullWidth}\"\n [matTooltip]=\"tooltip\"\n [matTooltipPosition]=\"tooltipPosition\"\n [matTooltipDisabled]=\"disabled\"\n (click)=\"onClick($event)\"\n [class.active]=\"active\"\n [class.has-right-icon]=\"rightIcon\">\n <ng-container *ngTemplateOutlet=\"innerButton; context: context\"></ng-container>\n</button>\n<button\n *ngIf=\"styleTheme === 'raised'\"\n mat-raised-button\n class=\"button-effect\"\n [color]=\"color\"\n [type]=\"type\"\n [disabled]=\"disabled || loading\"\n [class.small]=\"size === 'small'\"\n [class.normal]=\"size === 'normal'\"\n [class.large]=\"size === 'large'\"\n [class.big]=\"size === 'big'\"\n [ngClass]=\"{'width-100': fullWidth}\"\n [matTooltip]=\"tooltip\"\n [matTooltipPosition]=\"tooltipPosition\"\n [matTooltipDisabled]=\"disabled\"\n (click)=\"onClick($event)\"\n [class.active]=\"active\"\n [class.has-right-icon]=\"rightIcon\">\n <ng-container *ngTemplateOutlet=\"innerButton; context: context\"></ng-container>\n</button>\n<button\n *ngIf=\"styleTheme === 'stroked'\"\n mat-stroked-button\n [color]=\"color\"\n [type]=\"type\"\n [disabled]=\"disabled || loading\"\n [class.small]=\"size === 'small'\"\n [class.normal]=\"size === 'normal'\"\n [class.large]=\"size === 'large'\"\n [class.big]=\"size === 'big'\"\n [ngClass]=\"{'width-100': fullWidth}\"\n [matTooltip]=\"tooltip\"\n [matTooltipPosition]=\"tooltipPosition\"\n [matTooltipDisabled]=\"disabled\"\n (click)=\"onClick($event)\"\n [class.active]=\"active\"\n [class.has-right-icon]=\"rightIcon\">\n <ng-container *ngTemplateOutlet=\"innerButton; context: context\"></ng-container>\n</button>\n<button\n *ngIf=\"styleTheme === 'flat'\"\n mat-flat-button\n [color]=\"color\"\n [type]=\"type\"\n [disabled]=\"disabled || loading\"\n [class.small]=\"size === 'small'\"\n [class.normal]=\"size === 'normal'\"\n [class.large]=\"size === 'large'\"\n [class.big]=\"size === 'big'\"\n [ngClass]=\"{'width-100': fullWidth}\"\n [matTooltip]=\"tooltip\"\n [matTooltipPosition]=\"tooltipPosition\"\n [matTooltipDisabled]=\"disabled\"\n (click)=\"onClick($event)\"\n [class.active]=\"active\"\n [class.has-right-icon]=\"rightIcon\">\n <ng-container\n *ngTemplateOutlet=\"innerButton; context:{loading: loading, icon: icon, color: color, size: size}\"></ng-container>\n</button>\n<button\n *ngIf=\"styleTheme === 'fab'\"\n mat-fab\n [color]=\"color\"\n [type]=\"type\"\n [disabled]=\"disabled || loading\"\n [class.small]=\"size === 'small'\"\n [class.normal]=\"size === 'normal'\"\n [class.large]=\"size === 'large'\"\n [class.big]=\"size === 'big'\"\n [ngClass]=\"{'width-100': fullWidth}\"\n [matTooltip]=\"tooltip\"\n [matTooltipPosition]=\"tooltipPosition\"\n [matTooltipDisabled]=\"disabled\"\n (click)=\"onClick($event)\"\n [class.active]=\"active\"\n [class.has-right-icon]=\"rightIcon\">\n <ng-container *ngTemplateOutlet=\"innerButton; context: context\"></ng-container>\n</button>\n<button\n *ngIf=\"styleTheme === 'mini-fab'\"\n mat-mini-fab\n [color]=\"color\"\n [type]=\"type\"\n [disabled]=\"disabled || loading\"\n [class.small]=\"size === 'small'\"\n [class.normal]=\"size === 'normal'\"\n [class.large]=\"size === 'large'\"\n [class.big]=\"size === 'big'\"\n [ngClass]=\"{'width-100': fullWidth}\"\n [matTooltip]=\"tooltip\"\n [matTooltipPosition]=\"tooltipPosition\"\n [matTooltipDisabled]=\"disabled\"\n (click)=\"onClick($event)\"\n [class.active]=\"active\"\n [class.has-right-icon]=\"rightIcon\">\n <ng-container *ngTemplateOutlet=\"innerButton; context: context\"></ng-container>\n</button>\n<ng-template #innerButton\n let-loading=\"loading\"\n let-iconColor=\"iconColor\"\n let-buttonIconSize=\"buttonIconSize\"\n let-icon=\"icon\"\n let-disabled=\"disabled\">\n <shared-ui-icon *ngIf=\"icon\"\n [color]=\"iconColor\"\n [size]=\"buttonIconSize\"\n [icon]=\"icon\"\n [ngClass]=\"[icon]\"></shared-ui-icon>\n <span @appearOpacity\n class=\"text\"\n #text>\n <ng-content></ng-content>\n </span>\n <shared-spinner\n @spinnerAnimation\n *ngIf=\"loading\"\n class=\"loader button-loader\"\n [diameter]=\"spinnerDiameter\"></shared-spinner>\n</ng-template>\n", styles: ["shared-ui-icon{margin-left:0!important;margin-right:5px!important}.button-loader{position:absolute}button{line-height:normal;margin:0}button .mdc-button__label{display:flex;align-items:center}.width-100{width:100%}\n"] }]
|
|
4178
4178
|
}], ctorParameters: () => [], propDecorators: { icon: [{
|
|
4179
4179
|
type: Input
|
|
4180
4180
|
}], iconColor: [{
|
|
@@ -4283,13 +4283,13 @@ class CommonDialogComponent {
|
|
|
4283
4283
|
this.dialogRef.close(undefined);
|
|
4284
4284
|
}
|
|
4285
4285
|
}
|
|
4286
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4287
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
4286
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CommonDialogComponent, deps: [{ token: i1$4.MatDialogRef }, { token: StaticDataFacade }, { token: i7.UntypedFormBuilder }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4287
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: CommonDialogComponent, isStandalone: false, selector: "app-common-dialog", ngImport: i0, template: "<div class=\"text-center position-relative p-10\"\n @appearFromRightWithDelay\n [class.modal-size-big]=\"data.size === sizeValues.big\"\n [class.modal-size-middle]=\"data.size === sizeValues.middle\"\n [class.modal-size-small]=\"data.size === sizeValues.small\"\n [class.modal-style-success]=\"data.messageType === typesValues.success\"\n [class.modal-style-error]=\"data.messageType === typesValues.error\"\n [class.modal-style-info]=\"data.messageType === typesValues.info\">\n <div [class.display-none]=\"!data.hideButton\"\n class=\"modal-close-button\"\n (click)=\"onNoClick()\">\n x\n </div>\n\n <h1 class=\"mat-dialog-title\" [class.display-none]=\"!data.title\">{{data.title}}</h1>\n <div mat-dialog-content>\n <p *ngIf=\"data.message\" [innerHTML]=\"data.message\"></p>\n <ng-container *ngIf=\"data.formConfig\">\n <form [formGroup]=\"form\">\n --shared-auto-form(formId: {{formId}}, itemId: {{data.formConfig.itemId}})--\n <!--<shared-auto-form\n class=\"mb-20\"\n [entity]=\"data.formConfig.entity\"\n [itemId]=\"data.formConfig.itemId\"\n [formId]=\"formId\"\n [fields]=\"data.formConfig.fields\"\n [form]=\"form\"\n [config]=\"{needToPublish: false}\"\n [errorMessageTexts]=\"globalErrorMessageTexts\"\n (changed)=\"changedFormValue()\"\n (formCompleted)=\"formCompleted($event)\"\n ></shared-auto-form>-->\n\n <!--<div *ngIf=\"staticSection.globalActions\" class=\"global-actions\">\n <div *ngFor=\"let action of staticSection.globalActions\"\n (click)=\"globalActionHandle(action)\" class=\"global-action\">\n {{ action.title }}\n </div>\n </div>-->\n <div @appearFromLeftWithDelay\n fxLayout=\"row\"\n fxLayoutAlign=\"center center\"\n class=\"mt-20\">\n <shared-button\n id=\"form-create-button\"\n class=\"mr-8\"\n type=\"submit\"\n icon=\"edit\"\n iconColor=\"white\"\n color=\"accent\"\n styleTheme=\"raised\"\n [disabled]=\"!form.valid || formStatus === 'loading'\"\n (click)=\"submitClick()\"\n >\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C</shared-button>\n </div>\n </form>\n </ng-container>\n </div>\n <div [class.display-none]=\"data.hideButton\" mat-dialog-actions class=\"text-align-center mt-20\">\n <button mat-button (click)=\"onNoClick()\"\n class=\"mat-raised-button mr-10\"\n cdkFocusInitial>{{data.falseButtonTitle || '\u041D\u0435\u0442' }}</button>\n <button mat-button\n *ngIf=\"!data.formConfig\"\n [class.display-none]=\"data.hideTrueButton\"\n (click)=\"onYesClick()\"\n class=\"mat-raised-button mat-warn\">{{data.trueButtonTitle || '\u0414\u0430' }}</button>\n </div>\n</div>\n", styles: [".size-big{width:800px}.size-middle{width:600px}.size-small{width:300px}.style-success,.style-error,.style-info{padding:24px}.style-success{border-left:5px solid #4caf50;background:linear-gradient(15deg,#6dcf71c9,#f0f8f0)}.style-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,#fcb20287,#fcb20208)}.style-error{border-left:5px solid #f44336;background:linear-gradient(15deg,#f2686494,#f7e6e4)}.close-button{right:0;margin:-9px 10px 0 0;position:absolute;cursor:pointer;font-size:16px;font-weight:700}.display-none{display:none}\n"], dependencies: [{ kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$4.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1$4.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "component", type: i5.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: ButtonComponent, selector: "shared-button", inputs: ["icon", "iconColor", "iconSize", "rightIcon", "disabled", "loading", "active", "stopPropagation", "type", "color", "fullWidth", "size", "styleTheme", "tooltip", "tooltipPosition"], outputs: ["clickButton"] }, { kind: "directive", type: i7$1.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i7$1.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: "directive", type: i7.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i7.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i7.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }], animations: [appearFromRightWithDelay, appearFromLeftWithDelay, appearOpacity], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4288
4288
|
}
|
|
4289
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4289
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CommonDialogComponent, decorators: [{
|
|
4290
4290
|
type: Component,
|
|
4291
|
-
args: [{ selector: 'app-common-dialog', changeDetection: ChangeDetectionStrategy.OnPush, animations: [appearFromRightWithDelay, appearFromLeftWithDelay, appearOpacity], template: "<div class=\"text-center position-relative p-10\"\n @appearFromRightWithDelay\n [class.modal-size-big]=\"data.size === sizeValues.big\"\n [class.modal-size-middle]=\"data.size === sizeValues.middle\"\n [class.modal-size-small]=\"data.size === sizeValues.small\"\n [class.modal-style-success]=\"data.messageType === typesValues.success\"\n [class.modal-style-error]=\"data.messageType === typesValues.error\"\n [class.modal-style-info]=\"data.messageType === typesValues.info\">\n <div [class.display-none]=\"!data.hideButton\"\n class=\"modal-close-button\"\n (click)=\"onNoClick()\">\n x\n </div>\n\n <h1 class=\"mat-dialog-title\" [class.display-none]=\"!data.title\">{{data.title}}</h1>\n <div mat-dialog-content>\n <p *ngIf=\"data.message\" [innerHTML]=\"data.message\"></p>\n <ng-container *ngIf=\"data.formConfig\">\n <form [formGroup]=\"form\">\n --shared-auto-form(formId: {{formId}}, itemId: {{data.formConfig.itemId}})--\n <!--<shared-auto-form\n class=\"mb-20\"\n [entity]=\"data.formConfig.entity\"\n [itemId]=\"data.formConfig.itemId\"\n [formId]=\"formId\"\n [fields]=\"data.formConfig.fields\"\n [form]=\"form\"\n [config]=\"{needToPublish: false}\"\n [errorMessageTexts]=\"globalErrorMessageTexts\"\n (changed)=\"changedFormValue()\"\n (formCompleted)=\"formCompleted($event)\"\n ></shared-auto-form>-->\n\n <!--<div *ngIf=\"staticSection.globalActions\" class=\"global-actions\">\n <div *ngFor=\"let action of staticSection.globalActions\"\n (click)=\"globalActionHandle(action)\" class=\"global-action\">\n {{ action.title }}\n </div>\n </div>-->\n <div @appearFromLeftWithDelay\n fxLayout=\"row\"\n fxLayoutAlign=\"center center\"\n class=\"mt-20\">\n <shared-button\n id=\"form-create-button\"\n class=\"mr-8\"\n type=\"submit\"\n icon=\"edit\"\n iconColor=\"white\"\n color=\"accent\"\n styleTheme=\"raised\"\n [disabled]=\"!form.valid || formStatus === 'loading'\"\n (click)=\"submitClick()\"\n >\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C</shared-button>\n </div>\n </form>\n </ng-container>\n </div>\n <div [class.display-none]=\"data.hideButton\" mat-dialog-actions class=\"text-align-center mt-20\">\n <button mat-button (click)=\"onNoClick()\"\n class=\"mat-raised-button mr-10\"\n cdkFocusInitial>{{data.falseButtonTitle || '\u041D\u0435\u0442' }}</button>\n <button mat-button\n *ngIf=\"!data.formConfig\"\n [class.display-none]=\"data.hideTrueButton\"\n (click)=\"onYesClick()\"\n class=\"mat-raised-button mat-warn\">{{data.trueButtonTitle || '\u0414\u0430' }}</button>\n </div>\n</div>\n", styles: [".size-big{width:800px}.size-middle{width:600px}.size-small{width:300px}.style-success,.style-error,.style-info{padding:24px}.style-success{border-left:5px solid #4caf50;background:linear-gradient(15deg,#6dcf71c9,#f0f8f0)}.style-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,#fcb20287,#fcb20208)}.style-error{border-left:5px solid #f44336;background:linear-gradient(15deg,#f2686494,#f7e6e4)}.close-button{right:0;margin:-9px 10px 0 0;position:absolute;cursor:pointer;font-size:16px;font-weight:700}.display-none{display:none}\n"] }]
|
|
4292
|
-
}], ctorParameters: () => [{ type: i1$4.MatDialogRef }, { type: StaticDataFacade }, { type:
|
|
4291
|
+
args: [{ selector: 'app-common-dialog', changeDetection: ChangeDetectionStrategy.OnPush, animations: [appearFromRightWithDelay, appearFromLeftWithDelay, appearOpacity], standalone: false, template: "<div class=\"text-center position-relative p-10\"\n @appearFromRightWithDelay\n [class.modal-size-big]=\"data.size === sizeValues.big\"\n [class.modal-size-middle]=\"data.size === sizeValues.middle\"\n [class.modal-size-small]=\"data.size === sizeValues.small\"\n [class.modal-style-success]=\"data.messageType === typesValues.success\"\n [class.modal-style-error]=\"data.messageType === typesValues.error\"\n [class.modal-style-info]=\"data.messageType === typesValues.info\">\n <div [class.display-none]=\"!data.hideButton\"\n class=\"modal-close-button\"\n (click)=\"onNoClick()\">\n x\n </div>\n\n <h1 class=\"mat-dialog-title\" [class.display-none]=\"!data.title\">{{data.title}}</h1>\n <div mat-dialog-content>\n <p *ngIf=\"data.message\" [innerHTML]=\"data.message\"></p>\n <ng-container *ngIf=\"data.formConfig\">\n <form [formGroup]=\"form\">\n --shared-auto-form(formId: {{formId}}, itemId: {{data.formConfig.itemId}})--\n <!--<shared-auto-form\n class=\"mb-20\"\n [entity]=\"data.formConfig.entity\"\n [itemId]=\"data.formConfig.itemId\"\n [formId]=\"formId\"\n [fields]=\"data.formConfig.fields\"\n [form]=\"form\"\n [config]=\"{needToPublish: false}\"\n [errorMessageTexts]=\"globalErrorMessageTexts\"\n (changed)=\"changedFormValue()\"\n (formCompleted)=\"formCompleted($event)\"\n ></shared-auto-form>-->\n\n <!--<div *ngIf=\"staticSection.globalActions\" class=\"global-actions\">\n <div *ngFor=\"let action of staticSection.globalActions\"\n (click)=\"globalActionHandle(action)\" class=\"global-action\">\n {{ action.title }}\n </div>\n </div>-->\n <div @appearFromLeftWithDelay\n fxLayout=\"row\"\n fxLayoutAlign=\"center center\"\n class=\"mt-20\">\n <shared-button\n id=\"form-create-button\"\n class=\"mr-8\"\n type=\"submit\"\n icon=\"edit\"\n iconColor=\"white\"\n color=\"accent\"\n styleTheme=\"raised\"\n [disabled]=\"!form.valid || formStatus === 'loading'\"\n (click)=\"submitClick()\"\n >\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C</shared-button>\n </div>\n </form>\n </ng-container>\n </div>\n <div [class.display-none]=\"data.hideButton\" mat-dialog-actions class=\"text-align-center mt-20\">\n <button mat-button (click)=\"onNoClick()\"\n class=\"mat-raised-button mr-10\"\n cdkFocusInitial>{{data.falseButtonTitle || '\u041D\u0435\u0442' }}</button>\n <button mat-button\n *ngIf=\"!data.formConfig\"\n [class.display-none]=\"data.hideTrueButton\"\n (click)=\"onYesClick()\"\n class=\"mat-raised-button mat-warn\">{{data.trueButtonTitle || '\u0414\u0430' }}</button>\n </div>\n</div>\n", styles: [".size-big{width:800px}.size-middle{width:600px}.size-small{width:300px}.style-success,.style-error,.style-info{padding:24px}.style-success{border-left:5px solid #4caf50;background:linear-gradient(15deg,#6dcf71c9,#f0f8f0)}.style-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,#fcb20287,#fcb20208)}.style-error{border-left:5px solid #f44336;background:linear-gradient(15deg,#f2686494,#f7e6e4)}.close-button{right:0;margin:-9px 10px 0 0;position:absolute;cursor:pointer;font-size:16px;font-weight:700}.display-none{display:none}\n"] }]
|
|
4292
|
+
}], ctorParameters: () => [{ type: i1$4.MatDialogRef }, { type: StaticDataFacade }, { type: i7.UntypedFormBuilder }, { type: undefined, decorators: [{
|
|
4293
4293
|
type: Inject,
|
|
4294
4294
|
args: [MAT_DIALOG_DATA]
|
|
4295
4295
|
}] }] });
|
|
@@ -4429,10 +4429,10 @@ class FilesFacade {
|
|
|
4429
4429
|
};
|
|
4430
4430
|
return this.store.dispatch(FilesLoad({ payload: params }));
|
|
4431
4431
|
}
|
|
4432
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4433
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4432
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FilesFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4433
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FilesFacade, providedIn: "root" }); }
|
|
4434
4434
|
}
|
|
4435
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4435
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FilesFacade, decorators: [{
|
|
4436
4436
|
type: Injectable,
|
|
4437
4437
|
args: [{ providedIn: "root" }]
|
|
4438
4438
|
}], ctorParameters: () => [{ type: i1.Store }] });
|
|
@@ -4505,10 +4505,10 @@ class FilesService extends BaseAPIService {
|
|
|
4505
4505
|
filesSort(config) {
|
|
4506
4506
|
return this.doRequest(config, FilesEndpointTypes.SORT);
|
|
4507
4507
|
}
|
|
4508
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4509
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4508
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FilesService, deps: [{ token: i1$1.HttpClient }, { token: CORE_CONFIG }, { token: RequestsFacade }, { token: FormsFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4509
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FilesService, providedIn: 'root' }); }
|
|
4510
4510
|
}
|
|
4511
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4511
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FilesService, decorators: [{
|
|
4512
4512
|
type: Injectable,
|
|
4513
4513
|
args: [{
|
|
4514
4514
|
providedIn: 'root'
|
|
@@ -4579,10 +4579,10 @@ class UiUnitsFacade {
|
|
|
4579
4579
|
getUIUnits(id) {
|
|
4580
4580
|
return this.store.pipe(select(getUIUnit(id)));
|
|
4581
4581
|
}
|
|
4582
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4583
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4582
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: UiUnitsFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4583
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: UiUnitsFacade, providedIn: "root" }); }
|
|
4584
4584
|
}
|
|
4585
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4585
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: UiUnitsFacade, decorators: [{
|
|
4586
4586
|
type: Injectable,
|
|
4587
4587
|
args: [{ providedIn: "root" }]
|
|
4588
4588
|
}], ctorParameters: () => [{ type: i1.Store }] });
|
|
@@ -4800,10 +4800,10 @@ class FilesEffects {
|
|
|
4800
4800
|
.pipe(flatMap((r) => new FilesLoadBehavior(action, r).resolve()));
|
|
4801
4801
|
}), catchError(error => of(FilesLoadFail(error)))));
|
|
4802
4802
|
}
|
|
4803
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4804
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4803
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FilesEffects, deps: [{ token: i1$2.Actions }, { token: i1.Store }, { token: FilesService }, { token: UiUnitsFacade }, { token: AuthenticationService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4804
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FilesEffects }); }
|
|
4805
4805
|
}
|
|
4806
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4806
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FilesEffects, decorators: [{
|
|
4807
4807
|
type: Injectable
|
|
4808
4808
|
}], ctorParameters: () => [{ type: i1$2.Actions }, { type: i1.Store }, { type: FilesService }, { type: UiUnitsFacade }, { type: AuthenticationService }] });
|
|
4809
4809
|
|
|
@@ -4865,12 +4865,12 @@ class NotificationsEffects {
|
|
|
4865
4865
|
this.notificationsFacade.addNotifications(notification);
|
|
4866
4866
|
}), catchError(error => of(FilesSortFail(error)))), { dispatch: false });
|
|
4867
4867
|
}
|
|
4868
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4869
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4868
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: NotificationsEffects, deps: [{ token: i1$2.Actions }, { token: i1.Store }, { token: i3.ToastrService }, { token: NotificationsFacade }, { token: i1$4.MatDialog }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4869
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: NotificationsEffects }); }
|
|
4870
4870
|
}
|
|
4871
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4871
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: NotificationsEffects, decorators: [{
|
|
4872
4872
|
type: Injectable
|
|
4873
|
-
}], ctorParameters: () => [{ type: i1$2.Actions }, { type: i1.Store }, { type: i3
|
|
4873
|
+
}], ctorParameters: () => [{ type: i1$2.Actions }, { type: i1.Store }, { type: i3.ToastrService }, { type: NotificationsFacade }, { type: i1$4.MatDialog }] });
|
|
4874
4874
|
|
|
4875
4875
|
const TagsLoad = createAction('[Tags] Tags Load', props());
|
|
4876
4876
|
const TagsLoadSuccess = createAction('[Tags] Tags Load Success', props());
|
|
@@ -5017,10 +5017,10 @@ class TagsService extends BaseAPIService {
|
|
|
5017
5017
|
tagEntitiesLoad(config) {
|
|
5018
5018
|
return this.doRequest(config, TagsEndpointTypes.ENTITIES);
|
|
5019
5019
|
}
|
|
5020
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5021
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5020
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: TagsService, deps: [{ token: i1$1.HttpClient }, { token: CORE_CONFIG }, { token: RequestsFacade }, { token: FormsFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5021
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: TagsService, providedIn: "root" }); }
|
|
5022
5022
|
}
|
|
5023
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5023
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: TagsService, decorators: [{
|
|
5024
5024
|
type: Injectable,
|
|
5025
5025
|
args: [{
|
|
5026
5026
|
providedIn: "root"
|
|
@@ -5055,10 +5055,10 @@ class TagsEffects {
|
|
|
5055
5055
|
.pipe(flatMap((r) => new TagEntitiesLoadBehavior(action, r).resolve()));
|
|
5056
5056
|
}), catchError(error => of(TagsLoadFail(error)))));
|
|
5057
5057
|
}
|
|
5058
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5059
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5058
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: TagsEffects, deps: [{ token: i1$2.Actions }, { token: i1.Store }, { token: TagsService }, { token: AuthenticationService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5059
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: TagsEffects }); }
|
|
5060
5060
|
}
|
|
5061
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5061
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: TagsEffects, decorators: [{
|
|
5062
5062
|
type: Injectable
|
|
5063
5063
|
}], ctorParameters: () => [{ type: i1$2.Actions }, { type: i1.Store }, { type: TagsService }, { type: AuthenticationService }] });
|
|
5064
5064
|
|
|
@@ -5079,10 +5079,10 @@ class UiUnitsEffects {
|
|
|
5079
5079
|
this.store = store;
|
|
5080
5080
|
this.uiUnitsFacade = uiUnitsFacade;
|
|
5081
5081
|
}
|
|
5082
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5083
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5082
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: UiUnitsEffects, deps: [{ token: i1$2.Actions }, { token: i1.Store }, { token: UiUnitsFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5083
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: UiUnitsEffects }); }
|
|
5084
5084
|
}
|
|
5085
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5085
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: UiUnitsEffects, decorators: [{
|
|
5086
5086
|
type: Injectable
|
|
5087
5087
|
}], ctorParameters: () => [{ type: i1$2.Actions }, { type: i1.Store }, { type: UiUnitsFacade }] });
|
|
5088
5088
|
|
|
@@ -5097,10 +5097,10 @@ class MainEffects {
|
|
|
5097
5097
|
}
|
|
5098
5098
|
})), { dispatch: false });
|
|
5099
5099
|
}
|
|
5100
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5101
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5100
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: MainEffects, deps: [{ token: i1$2.Actions }, { token: i1.Store }, { token: CORE_CONFIG }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5101
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: MainEffects }); }
|
|
5102
5102
|
}
|
|
5103
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5103
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: MainEffects, decorators: [{
|
|
5104
5104
|
type: Injectable
|
|
5105
5105
|
}], ctorParameters: () => [{ type: i1$2.Actions }, { type: i1.Store }, { type: undefined, decorators: [{
|
|
5106
5106
|
type: Inject,
|
|
@@ -5196,10 +5196,10 @@ class TagsFacade {
|
|
|
5196
5196
|
waitLoading() {
|
|
5197
5197
|
return this.store.pipe(select(tagsQuery.getLoaded), filter$1((item) => !!item));
|
|
5198
5198
|
}
|
|
5199
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5200
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5199
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: TagsFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5200
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: TagsFacade, providedIn: "root" }); }
|
|
5201
5201
|
}
|
|
5202
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5202
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: TagsFacade, decorators: [{
|
|
5203
5203
|
type: Injectable,
|
|
5204
5204
|
args: [{ providedIn: "root" }]
|
|
5205
5205
|
}], ctorParameters: () => [{ type: i1.Store }] });
|
|
@@ -5241,10 +5241,10 @@ class MainFacade {
|
|
|
5241
5241
|
getMetadata() {
|
|
5242
5242
|
return this.store.pipe(select(mainQuery.getMetaData));
|
|
5243
5243
|
}
|
|
5244
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5245
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5244
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: MainFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5245
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: MainFacade, providedIn: "root" }); }
|
|
5246
5246
|
}
|
|
5247
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5247
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: MainFacade, decorators: [{
|
|
5248
5248
|
type: Injectable,
|
|
5249
5249
|
args: [{ providedIn: "root" }]
|
|
5250
5250
|
}], ctorParameters: () => [{ type: i1.Store }] });
|
|
@@ -5333,10 +5333,10 @@ class FormValidationService extends BaseAPIService {
|
|
|
5333
5333
|
formValidationCheck(config) {
|
|
5334
5334
|
return this.doRequest(config, FormValidationEndpointTypes.CHECK);
|
|
5335
5335
|
}
|
|
5336
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5337
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5336
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormValidationService, deps: [{ token: i1$1.HttpClient }, { token: CORE_CONFIG }, { token: RequestsFacade }, { token: FormsFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5337
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormValidationService, providedIn: 'root' }); }
|
|
5338
5338
|
}
|
|
5339
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5339
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormValidationService, decorators: [{
|
|
5340
5340
|
type: Injectable,
|
|
5341
5341
|
args: [{
|
|
5342
5342
|
providedIn: 'root'
|
|
@@ -5364,10 +5364,10 @@ class FormValidationEffects {
|
|
|
5364
5364
|
.pipe(flatMap((r) => new FormValidationCheckBehavior(action, r).resolve()));
|
|
5365
5365
|
}), catchError(error => of(CheckValidationFail(error)))));
|
|
5366
5366
|
}
|
|
5367
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5368
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5367
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormValidationEffects, deps: [{ token: i1$2.Actions }, { token: i1.Store }, { token: FormValidationService }, { token: AuthenticationService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5368
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormValidationEffects }); }
|
|
5369
5369
|
}
|
|
5370
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5370
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormValidationEffects, decorators: [{
|
|
5371
5371
|
type: Injectable
|
|
5372
5372
|
}], ctorParameters: () => [{ type: i1$2.Actions }, { type: i1.Store }, { type: FormValidationService }, { type: AuthenticationService }] });
|
|
5373
5373
|
|
|
@@ -5424,10 +5424,10 @@ class FormValidationFacade {
|
|
|
5424
5424
|
getValidation(type, value) {
|
|
5425
5425
|
return this.store.pipe(select(formValidationQuery.getFormValidation(type, value)));
|
|
5426
5426
|
}
|
|
5427
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5428
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5427
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormValidationFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5428
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormValidationFacade, providedIn: "root" }); }
|
|
5429
5429
|
}
|
|
5430
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5430
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormValidationFacade, decorators: [{
|
|
5431
5431
|
type: Injectable,
|
|
5432
5432
|
args: [{ providedIn: "root" }]
|
|
5433
5433
|
}], ctorParameters: () => [{ type: i1.Store }] });
|
|
@@ -5459,10 +5459,10 @@ class FormErrorsEffects {
|
|
|
5459
5459
|
this.store = store;
|
|
5460
5460
|
// super(actions$, store);
|
|
5461
5461
|
}
|
|
5462
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5463
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5462
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormErrorsEffects, deps: [{ token: i1$2.Actions }, { token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5463
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormErrorsEffects }); }
|
|
5464
5464
|
}
|
|
5465
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5465
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormErrorsEffects, decorators: [{
|
|
5466
5466
|
type: Injectable
|
|
5467
5467
|
}], ctorParameters: () => [{ type: i1$2.Actions }, { type: i1.Store }] });
|
|
5468
5468
|
|
|
@@ -5532,10 +5532,10 @@ class FormErrorsFacade {
|
|
|
5532
5532
|
clearFormErrors(formId) {
|
|
5533
5533
|
this.store.dispatch(FormErrorsClear({ payload: { formId } }));
|
|
5534
5534
|
}
|
|
5535
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5536
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5535
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormErrorsFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5536
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormErrorsFacade, providedIn: "root" }); }
|
|
5537
5537
|
}
|
|
5538
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5538
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormErrorsFacade, decorators: [{
|
|
5539
5539
|
type: Injectable,
|
|
5540
5540
|
args: [{ providedIn: "root" }]
|
|
5541
5541
|
}], ctorParameters: () => [{ type: i1.Store }] });
|
|
@@ -5562,10 +5562,10 @@ class FormsEffects {
|
|
|
5562
5562
|
}
|
|
5563
5563
|
})), { dispatch: false });
|
|
5564
5564
|
}
|
|
5565
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5566
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5565
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormsEffects, deps: [{ token: i1$2.Actions }, { token: i1.Store }, { token: NotificationsFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5566
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormsEffects }); }
|
|
5567
5567
|
}
|
|
5568
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5568
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormsEffects, decorators: [{
|
|
5569
5569
|
type: Injectable
|
|
5570
5570
|
}], ctorParameters: () => [{ type: i1$2.Actions }, { type: i1.Store }, { type: NotificationsFacade }] });
|
|
5571
5571
|
|
|
@@ -5658,10 +5658,10 @@ class FormDeleteFileService extends BaseAPIService {
|
|
|
5658
5658
|
formDeleteFile(config) {
|
|
5659
5659
|
return this.doRequest(config, FormDeleteFileBaseEndpointTypes.DELETE);
|
|
5660
5660
|
}
|
|
5661
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5662
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5661
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormDeleteFileService, deps: [{ token: i1$1.HttpClient }, { token: CORE_CONFIG }, { token: RequestsFacade }, { token: FormsFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5662
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormDeleteFileService, providedIn: 'root' }); }
|
|
5663
5663
|
}
|
|
5664
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5664
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormDeleteFileService, decorators: [{
|
|
5665
5665
|
type: Injectable,
|
|
5666
5666
|
args: [{
|
|
5667
5667
|
providedIn: 'root'
|
|
@@ -5698,10 +5698,10 @@ class FormDeleteFileEffects {
|
|
|
5698
5698
|
});
|
|
5699
5699
|
}), catchError(error => of(FormDeleteFileFail(error)))));
|
|
5700
5700
|
}
|
|
5701
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5702
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5701
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormDeleteFileEffects, deps: [{ token: i1$2.Actions }, { token: i1.Store }, { token: FormDeleteFileService }, { token: AuthenticationService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5702
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormDeleteFileEffects }); }
|
|
5703
5703
|
}
|
|
5704
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5704
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormDeleteFileEffects, decorators: [{
|
|
5705
5705
|
type: Injectable
|
|
5706
5706
|
}], ctorParameters: () => [{ type: i1$2.Actions }, { type: i1.Store }, { type: FormDeleteFileService }, { type: AuthenticationService }] });
|
|
5707
5707
|
|
|
@@ -5832,10 +5832,10 @@ class PublishService extends BaseAPIService {
|
|
|
5832
5832
|
unPublishPost(config) {
|
|
5833
5833
|
return this.doRequest(config, PublishEndpointTypes.UN_POST);
|
|
5834
5834
|
}
|
|
5835
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5836
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5835
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PublishService, deps: [{ token: i1$1.HttpClient }, { token: CORE_CONFIG }, { token: RequestsFacade }, { token: FormsFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5836
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PublishService, providedIn: 'root' }); }
|
|
5837
5837
|
}
|
|
5838
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5838
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PublishService, decorators: [{
|
|
5839
5839
|
type: Injectable,
|
|
5840
5840
|
args: [{
|
|
5841
5841
|
providedIn: 'root'
|
|
@@ -5946,10 +5946,10 @@ class PublicationMessagesEffects {
|
|
|
5946
5946
|
this.notificationsFacade.addNotifications(notification);
|
|
5947
5947
|
})), { dispatch: false });
|
|
5948
5948
|
}
|
|
5949
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5950
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5949
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PublicationMessagesEffects, deps: [{ token: i1$2.Actions }, { token: i1.Store }, { token: PublishService }, { token: NotificationsFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5950
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PublicationMessagesEffects }); }
|
|
5951
5951
|
}
|
|
5952
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5952
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PublicationMessagesEffects, decorators: [{
|
|
5953
5953
|
type: Injectable
|
|
5954
5954
|
}], ctorParameters: () => [{ type: i1$2.Actions }, { type: i1.Store }, { type: PublishService }, { type: NotificationsFacade }] });
|
|
5955
5955
|
|
|
@@ -6024,10 +6024,10 @@ class PublicationMessagesFacade {
|
|
|
6024
6024
|
publishPostFail() {
|
|
6025
6025
|
this.store.dispatch(PublishPostFail({ payload: {} }));
|
|
6026
6026
|
}
|
|
6027
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6028
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6027
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PublicationMessagesFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6028
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PublicationMessagesFacade, providedIn: "root" }); }
|
|
6029
6029
|
}
|
|
6030
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6030
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PublicationMessagesFacade, decorators: [{
|
|
6031
6031
|
type: Injectable,
|
|
6032
6032
|
args: [{ providedIn: "root" }]
|
|
6033
6033
|
}], ctorParameters: () => [{ type: i1.Store }] });
|
|
@@ -6047,10 +6047,10 @@ class UpdateEntitiesEffects {
|
|
|
6047
6047
|
return entityUpdatePartAction({ payload });
|
|
6048
6048
|
})));
|
|
6049
6049
|
}
|
|
6050
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6051
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6050
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: UpdateEntitiesEffects, deps: [{ token: i1$2.Actions }, { token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6051
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: UpdateEntitiesEffects }); }
|
|
6052
6052
|
}
|
|
6053
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6053
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: UpdateEntitiesEffects, decorators: [{
|
|
6054
6054
|
type: Injectable
|
|
6055
6055
|
}], ctorParameters: () => [{ type: i1$2.Actions }, { type: i1.Store }] });
|
|
6056
6056
|
|
|
@@ -6376,10 +6376,10 @@ class BaseAutoFormService {
|
|
|
6376
6376
|
});
|
|
6377
6377
|
return newText;
|
|
6378
6378
|
}
|
|
6379
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6380
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6379
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: BaseAutoFormService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6380
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: BaseAutoFormService, providedIn: 'root' }); }
|
|
6381
6381
|
}
|
|
6382
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6382
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: BaseAutoFormService, decorators: [{
|
|
6383
6383
|
type: Injectable,
|
|
6384
6384
|
args: [{ providedIn: 'root' }]
|
|
6385
6385
|
}] });
|
|
@@ -6518,10 +6518,10 @@ class AutoFormService extends BaseAutoFormService {
|
|
|
6518
6518
|
replaceAll(str, a, b) {
|
|
6519
6519
|
return str.replace(new RegExp(a, 'g'), b);
|
|
6520
6520
|
}
|
|
6521
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6522
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6521
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: AutoFormService, deps: [{ token: FormValidationFacade }, { token: NotificationsFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6522
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: AutoFormService, providedIn: "root" }); }
|
|
6523
6523
|
}
|
|
6524
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6524
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: AutoFormService, decorators: [{
|
|
6525
6525
|
type: Injectable,
|
|
6526
6526
|
args: [{ providedIn: "root" }]
|
|
6527
6527
|
}], ctorParameters: () => [{ type: FormValidationFacade }, { type: NotificationsFacade }] });
|
|
@@ -6559,10 +6559,10 @@ class CacheDataService extends BaseAPIService {
|
|
|
6559
6559
|
getCacheData(config) {
|
|
6560
6560
|
return this.doRequest(config, CacheDataEndpointTypes.GET_CACHE_DATA);
|
|
6561
6561
|
}
|
|
6562
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6563
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6562
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CacheDataService, deps: [{ token: i1$1.HttpClient }, { token: CORE_CONFIG }, { token: RequestsFacade }, { token: FormsFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6563
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CacheDataService, providedIn: 'root' }); }
|
|
6564
6564
|
}
|
|
6565
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6565
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CacheDataService, decorators: [{
|
|
6566
6566
|
type: Injectable,
|
|
6567
6567
|
args: [{
|
|
6568
6568
|
providedIn: 'root'
|
|
@@ -6655,10 +6655,10 @@ class CookiesService {
|
|
|
6655
6655
|
cookiesWriter() {
|
|
6656
6656
|
return () => { };
|
|
6657
6657
|
}
|
|
6658
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6659
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6658
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CookiesService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6659
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CookiesService }); }
|
|
6660
6660
|
}
|
|
6661
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6661
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CookiesService, decorators: [{
|
|
6662
6662
|
type: Injectable
|
|
6663
6663
|
}], ctorParameters: () => [{ type: i0.Injector }] });
|
|
6664
6664
|
|
|
@@ -6721,10 +6721,10 @@ class ReportsService extends BaseAPIService {
|
|
|
6721
6721
|
getUserBehaviorReport(config) {
|
|
6722
6722
|
return this.doRequest(config, ReportsEndpointTypes.USER_BEHAVIOR_REPORT);
|
|
6723
6723
|
}
|
|
6724
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6725
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6724
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ReportsService, deps: [{ token: i1$1.HttpClient }, { token: CORE_CONFIG }, { token: RequestsFacade }, { token: FormsFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6725
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ReportsService, providedIn: 'root' }); }
|
|
6726
6726
|
}
|
|
6727
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6727
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ReportsService, decorators: [{
|
|
6728
6728
|
type: Injectable,
|
|
6729
6729
|
args: [{
|
|
6730
6730
|
providedIn: 'root'
|
|
@@ -6795,10 +6795,10 @@ class SocialAuthService {
|
|
|
6795
6795
|
}*/
|
|
6796
6796
|
return throwError(SocialAuthService.ERR_LOGIN_PROVIDER_NOT_FOUND);
|
|
6797
6797
|
}
|
|
6798
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6799
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6798
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SocialAuthService, deps: [{ token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6799
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SocialAuthService }); }
|
|
6800
6800
|
}
|
|
6801
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6801
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SocialAuthService, decorators: [{
|
|
6802
6802
|
type: Injectable
|
|
6803
6803
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
6804
6804
|
type: Inject,
|
|
@@ -6941,10 +6941,10 @@ class StaticDataService extends BaseAPIService {
|
|
|
6941
6941
|
patchUpdate(config) {
|
|
6942
6942
|
return this.doRequest(config, StaticDataEndpointTypes.PATCH_UPDATE);
|
|
6943
6943
|
}
|
|
6944
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6945
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6944
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StaticDataService, deps: [{ token: i1$1.HttpClient }, { token: CORE_CONFIG }, { token: RequestsFacade }, { token: FormsFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6945
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StaticDataService, providedIn: 'root' }); }
|
|
6946
6946
|
}
|
|
6947
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6947
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StaticDataService, decorators: [{
|
|
6948
6948
|
type: Injectable,
|
|
6949
6949
|
args: [{
|
|
6950
6950
|
providedIn: 'root'
|
|
@@ -7014,10 +7014,10 @@ class BrowserCookiesService extends CookiesService {
|
|
|
7014
7014
|
}
|
|
7015
7015
|
return str;
|
|
7016
7016
|
}
|
|
7017
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7018
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7017
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: BrowserCookiesService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7018
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: BrowserCookiesService }); }
|
|
7019
7019
|
}
|
|
7020
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7020
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: BrowserCookiesService, decorators: [{
|
|
7021
7021
|
type: Injectable
|
|
7022
7022
|
}], ctorParameters: () => [{ type: i0.Injector }] });
|
|
7023
7023
|
|
|
@@ -7052,10 +7052,10 @@ class StorageService {
|
|
|
7052
7052
|
}
|
|
7053
7053
|
clear() {
|
|
7054
7054
|
}
|
|
7055
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7056
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7055
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7056
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StorageService }); }
|
|
7057
7057
|
}
|
|
7058
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7058
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StorageService, decorators: [{
|
|
7059
7059
|
type: Injectable
|
|
7060
7060
|
}] });
|
|
7061
7061
|
const StorageProvider = {
|
|
@@ -7221,10 +7221,10 @@ class WebsocketService {
|
|
|
7221
7221
|
this.messageQueue.push(messageObj);
|
|
7222
7222
|
}
|
|
7223
7223
|
}
|
|
7224
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7225
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7224
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: WebsocketService, deps: [{ token: CORE_CONFIG }, { token: StaticDataFacade }, { token: AuthenticationService }, { token: i3$1.CookieService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7225
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: WebsocketService, providedIn: 'root' }); }
|
|
7226
7226
|
}
|
|
7227
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7227
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: WebsocketService, decorators: [{
|
|
7228
7228
|
type: Injectable,
|
|
7229
7229
|
args: [{
|
|
7230
7230
|
providedIn: 'root'
|
|
@@ -7232,7 +7232,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
7232
7232
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
7233
7233
|
type: Inject,
|
|
7234
7234
|
args: [CORE_CONFIG]
|
|
7235
|
-
}] }, { type: StaticDataFacade }, { type: AuthenticationService }, { type: i3$
|
|
7235
|
+
}] }, { type: StaticDataFacade }, { type: AuthenticationService }, { type: i3$1.CookieService }] });
|
|
7236
7236
|
|
|
7237
7237
|
class SeoService {
|
|
7238
7238
|
constructor(titleService, metaService) {
|
|
@@ -7245,10 +7245,10 @@ class SeoService {
|
|
|
7245
7245
|
updateDescription(description) {
|
|
7246
7246
|
this.metaService.updateTag({ name: 'description', content: description });
|
|
7247
7247
|
}
|
|
7248
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7249
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7248
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SeoService, deps: [{ token: i1$5.Title }, { token: i1$5.Meta }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7249
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SeoService, providedIn: 'root' }); }
|
|
7250
7250
|
}
|
|
7251
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7251
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SeoService, decorators: [{
|
|
7252
7252
|
type: Injectable,
|
|
7253
7253
|
args: [{
|
|
7254
7254
|
providedIn: 'root'
|
|
@@ -7263,10 +7263,10 @@ class RouterFacade {
|
|
|
7263
7263
|
console.info('[ router.facade.navigation ]', path, extras);
|
|
7264
7264
|
return this.store.dispatch(Go({ payload: { path, extras } }));
|
|
7265
7265
|
}
|
|
7266
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7267
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7266
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: RouterFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7267
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: RouterFacade, providedIn: "root" }); }
|
|
7268
7268
|
}
|
|
7269
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7269
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: RouterFacade, decorators: [{
|
|
7270
7270
|
type: Injectable,
|
|
7271
7271
|
args: [{ providedIn: "root" }]
|
|
7272
7272
|
}], ctorParameters: () => [{ type: i1.Store }] });
|
|
@@ -7482,10 +7482,10 @@ class StaticDataEffects extends BaseEffects {
|
|
|
7482
7482
|
}))));
|
|
7483
7483
|
})));
|
|
7484
7484
|
}
|
|
7485
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7486
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7485
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StaticDataEffects, deps: [{ token: i1$2.Actions }, { token: i1.Store }, { token: AuthenticationService }, { token: StaticDataService }, { token: RouterFacade }, { token: NotificationsFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7486
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StaticDataEffects }); }
|
|
7487
7487
|
}
|
|
7488
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7488
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StaticDataEffects, decorators: [{
|
|
7489
7489
|
type: Injectable
|
|
7490
7490
|
}], ctorParameters: () => [{ type: i1$2.Actions }, { type: i1.Store }, { type: AuthenticationService }, { type: StaticDataService }, { type: RouterFacade }, { type: NotificationsFacade }] });
|
|
7491
7491
|
|
|
@@ -7559,10 +7559,10 @@ class ActionsEffects extends BaseEffects {
|
|
|
7559
7559
|
.pipe(flatMap((r) => new ActionsSendBehavior(action, r).resolve()));
|
|
7560
7560
|
})));
|
|
7561
7561
|
}
|
|
7562
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7563
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7562
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ActionsEffects, deps: [{ token: i1$2.Actions }, { token: i1.Store }, { token: AuthenticationService }, { token: ActionsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7563
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ActionsEffects }); }
|
|
7564
7564
|
}
|
|
7565
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7565
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ActionsEffects, decorators: [{
|
|
7566
7566
|
type: Injectable
|
|
7567
7567
|
}], ctorParameters: () => [{ type: i1$2.Actions }, { type: i1.Store }, { type: AuthenticationService }, { type: ActionsService }] });
|
|
7568
7568
|
|
|
@@ -7691,10 +7691,10 @@ class CacheDataEffects extends BaseEffects {
|
|
|
7691
7691
|
.pipe(flatMap((r) => new CacheDataGetBehavior(action, r).resolve()));
|
|
7692
7692
|
})));
|
|
7693
7693
|
}
|
|
7694
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7695
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7694
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CacheDataEffects, deps: [{ token: i1$2.Actions }, { token: i1.Store }, { token: AuthenticationService }, { token: CacheDataService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7695
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CacheDataEffects }); }
|
|
7696
7696
|
}
|
|
7697
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7697
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CacheDataEffects, decorators: [{
|
|
7698
7698
|
type: Injectable
|
|
7699
7699
|
}], ctorParameters: () => [{ type: i1$2.Actions }, { type: i1.Store }, { type: AuthenticationService }, { type: CacheDataService }] });
|
|
7700
7700
|
|
|
@@ -7868,10 +7868,10 @@ class ReportsEffects extends BaseEffects {
|
|
|
7868
7868
|
.pipe(flatMap((r) => new UserBehaviorGetBehavior(action, r).resolve()));
|
|
7869
7869
|
})));
|
|
7870
7870
|
}
|
|
7871
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7872
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7871
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ReportsEffects, deps: [{ token: i1$2.Actions }, { token: i1.Store }, { token: AuthenticationService }, { token: ReportsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7872
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ReportsEffects }); }
|
|
7873
7873
|
}
|
|
7874
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7874
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ReportsEffects, decorators: [{
|
|
7875
7875
|
type: Injectable
|
|
7876
7876
|
}], ctorParameters: () => [{ type: i1$2.Actions }, { type: i1.Store }, { type: AuthenticationService }, { type: ReportsService }] });
|
|
7877
7877
|
|
|
@@ -7910,10 +7910,10 @@ class ActionsFacade {
|
|
|
7910
7910
|
}
|
|
7911
7911
|
}));
|
|
7912
7912
|
}
|
|
7913
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7914
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7913
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ActionsFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7914
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ActionsFacade, providedIn: "root" }); }
|
|
7915
7915
|
}
|
|
7916
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7916
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ActionsFacade, decorators: [{
|
|
7917
7917
|
type: Injectable,
|
|
7918
7918
|
args: [{ providedIn: "root" }]
|
|
7919
7919
|
}], ctorParameters: () => [{ type: i1.Store }] });
|
|
@@ -7941,10 +7941,10 @@ class CacheDataFacade {
|
|
|
7941
7941
|
}
|
|
7942
7942
|
}));
|
|
7943
7943
|
}
|
|
7944
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7945
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7944
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CacheDataFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7945
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CacheDataFacade, providedIn: "root" }); }
|
|
7946
7946
|
}
|
|
7947
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7947
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CacheDataFacade, decorators: [{
|
|
7948
7948
|
type: Injectable,
|
|
7949
7949
|
args: [{ providedIn: "root" }]
|
|
7950
7950
|
}], ctorParameters: () => [{ type: i1.Store }] });
|
|
@@ -7990,10 +7990,10 @@ class ReportsFacade {
|
|
|
7990
7990
|
payload: {}
|
|
7991
7991
|
}));
|
|
7992
7992
|
}
|
|
7993
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7994
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7993
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ReportsFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7994
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ReportsFacade, providedIn: "root" }); }
|
|
7995
7995
|
}
|
|
7996
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7996
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ReportsFacade, decorators: [{
|
|
7997
7997
|
type: Injectable,
|
|
7998
7998
|
args: [{ providedIn: "root" }]
|
|
7999
7999
|
}], ctorParameters: () => [{ type: i1.Store }] });
|
|
@@ -8039,10 +8039,10 @@ class CoreFacade {
|
|
|
8039
8039
|
getStoreByName(storeKey) {
|
|
8040
8040
|
return this.store.pipe(select(coreQuery.getStore(storeKey)));
|
|
8041
8041
|
}
|
|
8042
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8043
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
8042
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CoreFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
8043
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CoreFacade, providedIn: "root" }); }
|
|
8044
8044
|
}
|
|
8045
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8045
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CoreFacade, decorators: [{
|
|
8046
8046
|
type: Injectable,
|
|
8047
8047
|
args: [{ providedIn: "root" }]
|
|
8048
8048
|
}], ctorParameters: () => [{ type: i1.Store }] });
|
|
@@ -8054,10 +8054,10 @@ class FormDeleteFileFacade {
|
|
|
8054
8054
|
formDeleteFile(entity, entityId, field) {
|
|
8055
8055
|
this.store.dispatch(FormDeleteFile({ payload: { entity, entityId, field } }));
|
|
8056
8056
|
}
|
|
8057
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8058
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
8057
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormDeleteFileFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
8058
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormDeleteFileFacade, providedIn: "root" }); }
|
|
8059
8059
|
}
|
|
8060
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8060
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormDeleteFileFacade, decorators: [{
|
|
8061
8061
|
type: Injectable,
|
|
8062
8062
|
args: [{ providedIn: "root" }]
|
|
8063
8063
|
}], ctorParameters: () => [{ type: i1.Store }] });
|
|
@@ -8136,10 +8136,10 @@ class RequestsEffects {
|
|
|
8136
8136
|
this.actions$ = actions$;
|
|
8137
8137
|
this.store = store;
|
|
8138
8138
|
}
|
|
8139
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8140
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
8139
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: RequestsEffects, deps: [{ token: i1$2.Actions }, { token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
8140
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: RequestsEffects }); }
|
|
8141
8141
|
}
|
|
8142
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8142
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: RequestsEffects, decorators: [{
|
|
8143
8143
|
type: Injectable
|
|
8144
8144
|
}], ctorParameters: () => [{ type: i1$2.Actions }, { type: i1.Store }] });
|
|
8145
8145
|
|
|
@@ -8195,12 +8195,12 @@ class DeleteComponent {
|
|
|
8195
8195
|
}
|
|
8196
8196
|
ngOnInit() {
|
|
8197
8197
|
}
|
|
8198
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8199
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
8198
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: DeleteComponent, deps: [{ token: i1$4.MatDialogRef }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8199
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: DeleteComponent, isStandalone: false, selector: "app-delete", ngImport: i0, template: "<div class=\"text-center m-2\">\n <h1 class=\"mat-dialog-title\">\u0423\u0434\u0430\u043B\u0435\u043D\u0438\u0435</h1>\n <div mat-dialog-content>\n <p>\u0412\u044B \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0445\u043E\u0442\u0438\u0442\u0435 \u0443\u0434\u0430\u043B\u0438\u0442\u044C{{data.name ? ' \"'+data.name+'\"' : ''}}?</p>\n </div>\n <div mat-dialog-actions class=\"text-align-center\">\n <button mat-button (click)=\"onNoClick()\" class=\"mat-flat-button mr-1\" cdkFocusInitial>\u041D\u0435\u0442</button>\n <button mat-button (click)=\"onYesClick()\" class=\"mat-raised-button mat-warn\">\u0414\u0430</button>\n </div>\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i1$4.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1$4.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "component", type: i5.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8200
8200
|
}
|
|
8201
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8201
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: DeleteComponent, decorators: [{
|
|
8202
8202
|
type: Component,
|
|
8203
|
-
args: [{ selector: 'app-delete', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"text-center m-2\">\n <h1 class=\"mat-dialog-title\">\u0423\u0434\u0430\u043B\u0435\u043D\u0438\u0435</h1>\n <div mat-dialog-content>\n <p>\u0412\u044B \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0445\u043E\u0442\u0438\u0442\u0435 \u0443\u0434\u0430\u043B\u0438\u0442\u044C{{data.name ? ' \"'+data.name+'\"' : ''}}?</p>\n </div>\n <div mat-dialog-actions class=\"text-align-center\">\n <button mat-button (click)=\"onNoClick()\" class=\"mat-flat-button mr-1\" cdkFocusInitial>\u041D\u0435\u0442</button>\n <button mat-button (click)=\"onYesClick()\" class=\"mat-raised-button mat-warn\">\u0414\u0430</button>\n </div>\n</div>\n" }]
|
|
8203
|
+
args: [{ selector: 'app-delete', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div class=\"text-center m-2\">\n <h1 class=\"mat-dialog-title\">\u0423\u0434\u0430\u043B\u0435\u043D\u0438\u0435</h1>\n <div mat-dialog-content>\n <p>\u0412\u044B \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0445\u043E\u0442\u0438\u0442\u0435 \u0443\u0434\u0430\u043B\u0438\u0442\u044C{{data.name ? ' \"'+data.name+'\"' : ''}}?</p>\n </div>\n <div mat-dialog-actions class=\"text-align-center\">\n <button mat-button (click)=\"onNoClick()\" class=\"mat-flat-button mr-1\" cdkFocusInitial>\u041D\u0435\u0442</button>\n <button mat-button (click)=\"onYesClick()\" class=\"mat-raised-button mat-warn\">\u0414\u0430</button>\n </div>\n</div>\n" }]
|
|
8204
8204
|
}], ctorParameters: () => [{ type: i1$4.MatDialogRef }, { type: undefined, decorators: [{
|
|
8205
8205
|
type: Inject,
|
|
8206
8206
|
args: [MAT_DIALOG_DATA]
|
|
@@ -8220,10 +8220,10 @@ class DialogService {
|
|
|
8220
8220
|
});*/
|
|
8221
8221
|
return dialogRef.afterClosed();
|
|
8222
8222
|
}
|
|
8223
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8224
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
8223
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: DialogService, deps: [{ token: i1$4.MatDialog }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
8224
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: DialogService }); }
|
|
8225
8225
|
}
|
|
8226
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8226
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: DialogService, decorators: [{
|
|
8227
8227
|
type: Injectable
|
|
8228
8228
|
}], ctorParameters: () => [{ type: i1$4.MatDialog }] });
|
|
8229
8229
|
|
|
@@ -8249,24 +8249,24 @@ class SelectDialogComponent {
|
|
|
8249
8249
|
onYesClick() {
|
|
8250
8250
|
this.dialogRef.close(this.selectOption);
|
|
8251
8251
|
}
|
|
8252
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8253
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
8252
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SelectDialogComponent, deps: [{ token: i1$4.MatDialogRef }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8253
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: SelectDialogComponent, isStandalone: false, selector: "app-select-dialog", ngImport: i0, template: "<div class=\"text-center position-relative p-10\"\n @appearFromRightWithDelay\n [class.modal-size-big]=\"data.size === sizeValues.big\"\n [class.modal-size-middle]=\"data.size === sizeValues.middle\"\n [class.modal-size-small]=\"data.size === sizeValues.small\"\n [class.modal-style-success]=\"data.messageType === typesValues.success\"\n [class.modal-style-error]=\"data.messageType === typesValues.error\"\n [class.modal-style-info]=\"data.messageType === typesValues.info\">\n <div [class.display-none]=\"!data.hideButton\"\n class=\"modal-close-button\"\n (click)=\"onNoClick()\">\n x\n </div>\n\n <h1 class=\"mat-dialog-title\" [class.display-none]=\"!data.title\">{{ data.title }}</h1>\n <div mat-dialog-content>\n <p [innerHTML]=\"data.message\"></p>\n <div *ngIf=\"data.options?.length\">\n <div class=\"option\" *ngFor=\"let item of data.options\">\n <div class=\"option-input\">\n <input type=\"radio\"\n name=\"options\"\n [value]=\"item.id\"\n [id]=\"item.id\"\n (change)=\"selectOption = item.id\" />\n </div>\n <label [for]=\"item.id\">{{ item.title }}</label>\n </div>\n </div>\n </div>\n <div [class.display-none]=\"data.hideButton\" mat-dialog-actions class=\"text-align-center mt-20\">\n <button mat-button (click)=\"onNoClick()\"\n class=\"mat-raised-button mr-10\"\n cdkFocusInitial>{{ data.falseButtonTitle || '\u041D\u0435\u0442' }}\n </button>\n <button mat-button\n [class.display-none]=\"data.hideTrueButton\"\n (click)=\"onYesClick()\"\n [disabled]=\"!selectOption\"\n class=\"mat-raised-button mat-warn\">{{ data.trueButtonTitle || '\u0414\u0430' }}\n </button>\n </div>\n</div>\n", styles: [".size-big{width:800px}.size-middle{width:600px}.size-small{width:300px}.style-success,.style-error,.style-info{padding:24px}.style-success{border-left:5px solid #4caf50;background:linear-gradient(15deg,#6dcf71c9,#f0f8f0)}.style-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,#fcb20287,#fcb20208)}.style-error{border-left:5px solid #f44336;background:linear-gradient(15deg,#f2686494,#f7e6e4)}.close-button{right:0;margin:-9px 10px 0 0;position:absolute;cursor:pointer;font-size:16px;font-weight:700}.display-none{display:none}.option{display:flex;align-items:center;margin-bottom:20px}.option .option-input{margin-right:10px}.option label{margin-bottom:0}\n"], dependencies: [{ kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$4.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1$4.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "component", type: i5.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }], animations: [appearFromRightWithDelay], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8254
8254
|
}
|
|
8255
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8255
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SelectDialogComponent, decorators: [{
|
|
8256
8256
|
type: Component,
|
|
8257
|
-
args: [{ selector: 'app-select-dialog', animations: [appearFromRightWithDelay], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"text-center position-relative p-10\"\n @appearFromRightWithDelay\n [class.modal-size-big]=\"data.size === sizeValues.big\"\n [class.modal-size-middle]=\"data.size === sizeValues.middle\"\n [class.modal-size-small]=\"data.size === sizeValues.small\"\n [class.modal-style-success]=\"data.messageType === typesValues.success\"\n [class.modal-style-error]=\"data.messageType === typesValues.error\"\n [class.modal-style-info]=\"data.messageType === typesValues.info\">\n <div [class.display-none]=\"!data.hideButton\"\n class=\"modal-close-button\"\n (click)=\"onNoClick()\">\n x\n </div>\n\n <h1 class=\"mat-dialog-title\" [class.display-none]=\"!data.title\">{{ data.title }}</h1>\n <div mat-dialog-content>\n <p [innerHTML]=\"data.message\"></p>\n <div *ngIf=\"data.options?.length\">\n <div class=\"option\" *ngFor=\"let item of data.options\">\n <div class=\"option-input\">\n <input type=\"radio\"\n name=\"options\"\n [value]=\"item.id\"\n [id]=\"item.id\"\n (change)=\"selectOption = item.id\" />\n </div>\n <label [for]=\"item.id\">{{ item.title }}</label>\n </div>\n </div>\n </div>\n <div [class.display-none]=\"data.hideButton\" mat-dialog-actions class=\"text-align-center mt-20\">\n <button mat-button (click)=\"onNoClick()\"\n class=\"mat-raised-button mr-10\"\n cdkFocusInitial>{{ data.falseButtonTitle || '\u041D\u0435\u0442' }}\n </button>\n <button mat-button\n [class.display-none]=\"data.hideTrueButton\"\n (click)=\"onYesClick()\"\n [disabled]=\"!selectOption\"\n class=\"mat-raised-button mat-warn\">{{ data.trueButtonTitle || '\u0414\u0430' }}\n </button>\n </div>\n</div>\n", styles: [".size-big{width:800px}.size-middle{width:600px}.size-small{width:300px}.style-success,.style-error,.style-info{padding:24px}.style-success{border-left:5px solid #4caf50;background:linear-gradient(15deg,#6dcf71c9,#f0f8f0)}.style-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,#fcb20287,#fcb20208)}.style-error{border-left:5px solid #f44336;background:linear-gradient(15deg,#f2686494,#f7e6e4)}.close-button{right:0;margin:-9px 10px 0 0;position:absolute;cursor:pointer;font-size:16px;font-weight:700}.display-none{display:none}.option{display:flex;align-items:center;margin-bottom:20px}.option .option-input{margin-right:10px}.option label{margin-bottom:0}\n"] }]
|
|
8257
|
+
args: [{ selector: 'app-select-dialog', animations: [appearFromRightWithDelay], changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div class=\"text-center position-relative p-10\"\n @appearFromRightWithDelay\n [class.modal-size-big]=\"data.size === sizeValues.big\"\n [class.modal-size-middle]=\"data.size === sizeValues.middle\"\n [class.modal-size-small]=\"data.size === sizeValues.small\"\n [class.modal-style-success]=\"data.messageType === typesValues.success\"\n [class.modal-style-error]=\"data.messageType === typesValues.error\"\n [class.modal-style-info]=\"data.messageType === typesValues.info\">\n <div [class.display-none]=\"!data.hideButton\"\n class=\"modal-close-button\"\n (click)=\"onNoClick()\">\n x\n </div>\n\n <h1 class=\"mat-dialog-title\" [class.display-none]=\"!data.title\">{{ data.title }}</h1>\n <div mat-dialog-content>\n <p [innerHTML]=\"data.message\"></p>\n <div *ngIf=\"data.options?.length\">\n <div class=\"option\" *ngFor=\"let item of data.options\">\n <div class=\"option-input\">\n <input type=\"radio\"\n name=\"options\"\n [value]=\"item.id\"\n [id]=\"item.id\"\n (change)=\"selectOption = item.id\" />\n </div>\n <label [for]=\"item.id\">{{ item.title }}</label>\n </div>\n </div>\n </div>\n <div [class.display-none]=\"data.hideButton\" mat-dialog-actions class=\"text-align-center mt-20\">\n <button mat-button (click)=\"onNoClick()\"\n class=\"mat-raised-button mr-10\"\n cdkFocusInitial>{{ data.falseButtonTitle || '\u041D\u0435\u0442' }}\n </button>\n <button mat-button\n [class.display-none]=\"data.hideTrueButton\"\n (click)=\"onYesClick()\"\n [disabled]=\"!selectOption\"\n class=\"mat-raised-button mat-warn\">{{ data.trueButtonTitle || '\u0414\u0430' }}\n </button>\n </div>\n</div>\n", styles: [".size-big{width:800px}.size-middle{width:600px}.size-small{width:300px}.style-success,.style-error,.style-info{padding:24px}.style-success{border-left:5px solid #4caf50;background:linear-gradient(15deg,#6dcf71c9,#f0f8f0)}.style-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,#fcb20287,#fcb20208)}.style-error{border-left:5px solid #f44336;background:linear-gradient(15deg,#f2686494,#f7e6e4)}.close-button{right:0;margin:-9px 10px 0 0;position:absolute;cursor:pointer;font-size:16px;font-weight:700}.display-none{display:none}.option{display:flex;align-items:center;margin-bottom:20px}.option .option-input{margin-right:10px}.option label{margin-bottom:0}\n"] }]
|
|
8258
8258
|
}], ctorParameters: () => [{ type: i1$4.MatDialogRef }, { type: undefined, decorators: [{
|
|
8259
8259
|
type: Inject,
|
|
8260
8260
|
args: [MAT_DIALOG_DATA]
|
|
8261
8261
|
}] }] });
|
|
8262
8262
|
|
|
8263
8263
|
class FormFieldSpinnerComponent {
|
|
8264
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8265
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
8264
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormFieldSpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8265
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: FormFieldSpinnerComponent, isStandalone: false, selector: "shared-form-field-spinner", ngImport: i0, template: "<div class=\"spinner-overlay\">\n <shared-spinner [color]=\"'grey'\" [diameter]=\"30\" [overlay]=\"true\"></shared-spinner>\n</div>\n", styles: [".spinner-overlay{position:absolute;width:100%;height:46px;top:0;margin-top:0;border-radius:6px;overflow:hidden;opacity:.5}\n"], dependencies: [{ kind: "component", type: SpinnerComponent, selector: "shared-spinner", inputs: ["overlay", "diameter", "color", "position"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8266
8266
|
}
|
|
8267
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8267
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormFieldSpinnerComponent, decorators: [{
|
|
8268
8268
|
type: Component,
|
|
8269
|
-
args: [{ selector: 'shared-form-field-spinner', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"spinner-overlay\">\n <shared-spinner [color]=\"'grey'\" [diameter]=\"30\" [overlay]=\"true\"></shared-spinner>\n</div>\n", styles: [".spinner-overlay{position:absolute;width:100%;height:46px;top:0;margin-top:0;border-radius:6px;overflow:hidden;opacity:.5}\n"] }]
|
|
8269
|
+
args: [{ selector: 'shared-form-field-spinner', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div class=\"spinner-overlay\">\n <shared-spinner [color]=\"'grey'\" [diameter]=\"30\" [overlay]=\"true\"></shared-spinner>\n</div>\n", styles: [".spinner-overlay{position:absolute;width:100%;height:46px;top:0;margin-top:0;border-radius:6px;overflow:hidden;opacity:.5}\n"] }]
|
|
8270
8270
|
}] });
|
|
8271
8271
|
|
|
8272
8272
|
class FormFieldSelectComponent {
|
|
@@ -8475,12 +8475,12 @@ class FormFieldSelectComponent {
|
|
|
8475
8475
|
return 0;
|
|
8476
8476
|
});
|
|
8477
8477
|
}
|
|
8478
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8479
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
8478
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormFieldSelectComponent, deps: [{ token: i1.Store }, { token: StaticDataFacade }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8479
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: FormFieldSelectComponent, isStandalone: false, selector: "shared-form-field-select", inputs: { config: "config", fieldData: "fieldData", form: "form", autoCompleteFields: "autoCompleteFields" }, usesOnChanges: true, ngImport: i0, template: "<div [formGroup]=\"form\" [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <mat-form-field appearance=\"outline\"\n class=\"width100\">\n <mat-label>{{ fieldData.title }}</mat-label>\n <mat-select [required]=\"fieldData.validators?.includes('required')\"\n [multiple]=\"fieldData.options?.multiple\"\n [formControlName]=\"fieldData.field\">\n <mat-option *ngIf=\"fieldData.options?.innerSearch\">\n <ngx-mat-select-search\n placeholderLabel=\"\u041F\u043E\u0438\u0441\u043A...\"\n [formControl]=\"searchCtrl\"></ngx-mat-select-search>\n </mat-option>\n <mat-option *ngIf=\"!fieldData.validators?.includes('required')\" value=\"0\">\n -----\n </mat-option>\n @if (options.length) {\n <mat-option *ngFor=\"let item of options\" [value]=\"item.id\">\n {{ item.name || item['title'] }}\n </mat-option>\n }\n\n @if (!options.length) {\n <mat-option>\n \u0421\u043F\u0438\u0441\u043E\u043A \u043F\u0443\u0441\u0442\n </mat-option>\n }\n\n <ng-container *ngIf=\"isLoading\">\n <mat-option>\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430....</mat-option>\n </ng-container>\n </mat-select>\n <ng-container *ngIf=\"!hasRelatedData && placeholder\">\n <div @appearOpacity class=\"form-select-placeholder\">{{ placeholder }}</div>\n </ng-container>\n </mat-form-field>\n</div>\n<shared-form-field-spinner *ngIf=\"isLoading\"></shared-form-field-spinner>\n", styles: [".form-select-placeholder{position:absolute;margin-right:25px;margin-top:-22px;opacity:.8;right:0;color:#e53935}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2$4.MatLabel, selector: "mat-label" }, { kind: "component", type: i5$1.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i6.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "directive", type: i7.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i7.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i7.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i7.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i7.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i7.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i8.MatSelectSearchComponent, selector: "ngx-mat-select-search", inputs: ["placeholderLabel", "type", "closeIcon", "closeSvgIcon", "noEntriesFoundLabel", "clearSearchInput", "searching", "disableInitialFocus", "enableClearOnEscapePressed", "preventHomeEndKeyPropagation", "disableScrollToActiveOnOptionsChanged", "ariaLabel", "showToggleAllCheckbox", "toggleAllCheckboxChecked", "toggleAllCheckboxIndeterminate", "toggleAllCheckboxTooltipMessage", "toggleAllCheckboxTooltipPosition", "hideClearSearchButton", "alwaysRestoreSelectedOptionsMulti", "recreateValuesArray"], outputs: ["toggleAll"] }, { kind: "component", type: FormFieldSpinnerComponent, selector: "shared-form-field-spinner" }], animations: [appearOpacity], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8480
8480
|
}
|
|
8481
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8481
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormFieldSelectComponent, decorators: [{
|
|
8482
8482
|
type: Component,
|
|
8483
|
-
args: [{ selector: 'shared-form-field-select', changeDetection: ChangeDetectionStrategy.OnPush, animations: [appearOpacity], template: "<div [formGroup]=\"form\" [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <mat-form-field appearance=\"outline\"\n class=\"width100\">\n <mat-label>{{ fieldData.title }}</mat-label>\n <mat-select [required]=\"fieldData.validators?.includes('required')\"\n [multiple]=\"fieldData.options?.multiple\"\n [formControlName]=\"fieldData.field\">\n <mat-option *ngIf=\"fieldData.options?.innerSearch\">\n <ngx-mat-select-search\n placeholderLabel=\"\u041F\u043E\u0438\u0441\u043A...\"\n [formControl]=\"searchCtrl\"></ngx-mat-select-search>\n </mat-option>\n <mat-option *ngIf=\"!fieldData.validators?.includes('required')\" value=\"0\">\n -----\n </mat-option>\n @if (options.length) {\n <mat-option *ngFor=\"let item of options\" [value]=\"item.id\">\n {{ item.name || item['title'] }}\n </mat-option>\n }\n\n @if (!options.length) {\n <mat-option>\n \u0421\u043F\u0438\u0441\u043E\u043A \u043F\u0443\u0441\u0442\n </mat-option>\n }\n\n <ng-container *ngIf=\"isLoading\">\n <mat-option>\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430....</mat-option>\n </ng-container>\n </mat-select>\n <ng-container *ngIf=\"!hasRelatedData && placeholder\">\n <div @appearOpacity class=\"form-select-placeholder\">{{ placeholder }}</div>\n </ng-container>\n </mat-form-field>\n</div>\n<shared-form-field-spinner *ngIf=\"isLoading\"></shared-form-field-spinner>\n", styles: [".form-select-placeholder{position:absolute;margin-right:25px;margin-top:-22px;opacity:.8;right:0;color:#e53935}\n"] }]
|
|
8483
|
+
args: [{ selector: 'shared-form-field-select', changeDetection: ChangeDetectionStrategy.OnPush, animations: [appearOpacity], standalone: false, template: "<div [formGroup]=\"form\" [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <mat-form-field appearance=\"outline\"\n class=\"width100\">\n <mat-label>{{ fieldData.title }}</mat-label>\n <mat-select [required]=\"fieldData.validators?.includes('required')\"\n [multiple]=\"fieldData.options?.multiple\"\n [formControlName]=\"fieldData.field\">\n <mat-option *ngIf=\"fieldData.options?.innerSearch\">\n <ngx-mat-select-search\n placeholderLabel=\"\u041F\u043E\u0438\u0441\u043A...\"\n [formControl]=\"searchCtrl\"></ngx-mat-select-search>\n </mat-option>\n <mat-option *ngIf=\"!fieldData.validators?.includes('required')\" value=\"0\">\n -----\n </mat-option>\n @if (options.length) {\n <mat-option *ngFor=\"let item of options\" [value]=\"item.id\">\n {{ item.name || item['title'] }}\n </mat-option>\n }\n\n @if (!options.length) {\n <mat-option>\n \u0421\u043F\u0438\u0441\u043E\u043A \u043F\u0443\u0441\u0442\n </mat-option>\n }\n\n <ng-container *ngIf=\"isLoading\">\n <mat-option>\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430....</mat-option>\n </ng-container>\n </mat-select>\n <ng-container *ngIf=\"!hasRelatedData && placeholder\">\n <div @appearOpacity class=\"form-select-placeholder\">{{ placeholder }}</div>\n </ng-container>\n </mat-form-field>\n</div>\n<shared-form-field-spinner *ngIf=\"isLoading\"></shared-form-field-spinner>\n", styles: [".form-select-placeholder{position:absolute;margin-right:25px;margin-top:-22px;opacity:.8;right:0;color:#e53935}\n"] }]
|
|
8484
8484
|
}], ctorParameters: () => [{ type: i1.Store }, { type: StaticDataFacade }, { type: i0.ChangeDetectorRef }], propDecorators: { config: [{
|
|
8485
8485
|
type: Input
|
|
8486
8486
|
}], fieldData: [{
|
|
@@ -8492,12 +8492,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
8492
8492
|
}] } });
|
|
8493
8493
|
|
|
8494
8494
|
class FormFieldSlideToggleComponent {
|
|
8495
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8496
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
8495
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormFieldSlideToggleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8496
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: FormFieldSlideToggleComponent, isStandalone: false, selector: "shared-form-field-slide-toggle", inputs: { config: "config", fieldData: "fieldData", form: "form" }, ngImport: i0, template: "<div [formGroup]=\"form\" [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\" class=\"field-slide-toggle\">\n <mat-slide-toggle\n [color]=\"'warn'\"\n [formControlName]=\"fieldData.field\">\n {{fieldData.title}}{{fieldData.validators && fieldData.validators.includes('required') ? ' *' : ''}}\n </mat-slide-toggle>\n</div>\n", styles: [".field-slide-toggle{margin-bottom:15px}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i2$5.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["name", "id", "labelPosition", "aria-label", "aria-labelledby", "aria-describedby", "required", "color", "disabled", "disableRipple", "tabIndex", "checked", "hideIcon", "disabledInteractive"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }, { kind: "directive", type: i7.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i7.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i7.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i7.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8497
8497
|
}
|
|
8498
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8498
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormFieldSlideToggleComponent, decorators: [{
|
|
8499
8499
|
type: Component,
|
|
8500
|
-
args: [{ selector: 'shared-form-field-slide-toggle', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [formGroup]=\"form\" [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\" class=\"field-slide-toggle\">\n <mat-slide-toggle\n [color]=\"'warn'\"\n [formControlName]=\"fieldData.field\">\n {{fieldData.title}}{{fieldData.validators && fieldData.validators.includes('required') ? ' *' : ''}}\n </mat-slide-toggle>\n</div>\n", styles: [".field-slide-toggle{margin-bottom:15px}\n"] }]
|
|
8500
|
+
args: [{ selector: 'shared-form-field-slide-toggle', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div [formGroup]=\"form\" [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\" class=\"field-slide-toggle\">\n <mat-slide-toggle\n [color]=\"'warn'\"\n [formControlName]=\"fieldData.field\">\n {{fieldData.title}}{{fieldData.validators && fieldData.validators.includes('required') ? ' *' : ''}}\n </mat-slide-toggle>\n</div>\n", styles: [".field-slide-toggle{margin-bottom:15px}\n"] }]
|
|
8501
8501
|
}], propDecorators: { config: [{
|
|
8502
8502
|
type: Input
|
|
8503
8503
|
}], fieldData: [{
|
|
@@ -8525,12 +8525,12 @@ class SmartProgressBarComponent {
|
|
|
8525
8525
|
constructor() {
|
|
8526
8526
|
this.showValue = true;
|
|
8527
8527
|
}
|
|
8528
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8529
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
8528
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SmartProgressBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8529
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: SmartProgressBarComponent, isStandalone: false, selector: "shared-smart-progress-bar", inputs: { value: "value", title: "title", showValue: "showValue" }, ngImport: i0, template: "<div class=\"progress\">\n <div class=\"progress-bar\"\n role=\"progressbar\"\n [title]=\"title\"\n [style]=\"{width: value + '%'}\"\n aria-valuemin=\"0\"\n aria-valuemax=\"100\"\n [class.bg-0]=\"value <= 30\"\n [class.bg-1]=\"value > 30 && value <= 40\"\n [class.bg-2]=\"value > 40 && value <= 50\"\n [class.bg-3]=\"value > 50 && value <= 60\"\n [class.bg-4]=\"value > 60 && value <= 70\"\n [class.bg-5]=\"value > 70 && value <= 85\"\n [class.bg-6]=\"value > 85\">\n <ng-container *ngIf=\"value\">\u0424\u043E\u0440\u043C\u0430 \u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u0430 \u043D\u0430 {{value}}%</ng-container>\n </div>\n</div>\n\n", styles: [".progress{display:flex;height:13px;overflow:hidden;font-size:.75rem;background-color:#e9ecef;border-radius:.25rem;margin-bottom:10px}.progress .progress-bar{font-size:12px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;color:#fff;text-align:center;background-color:transparent!important;transition:all .6s ease}.progress .progress-bar.bg-0{background-color:#e72235!important}.progress .progress-bar.bg-1{background-color:#dc4835!important}.progress .progress-bar.bg-2{background-color:#c09841!important}.progress .progress-bar.bg-3{background-color:#b6962b!important}.progress .progress-bar.bg-4{background-color:#9cad04!important}.progress .progress-bar.bg-5{background-color:#548804!important}.progress .progress-bar.bg-6{background-color:#28a745!important}\n"], dependencies: [{ kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8530
8530
|
}
|
|
8531
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8531
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SmartProgressBarComponent, decorators: [{
|
|
8532
8532
|
type: Component,
|
|
8533
|
-
args: [{ selector: 'shared-smart-progress-bar', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"progress\">\n <div class=\"progress-bar\"\n role=\"progressbar\"\n [title]=\"title\"\n [style]=\"{width: value + '%'}\"\n aria-valuemin=\"0\"\n aria-valuemax=\"100\"\n [class.bg-0]=\"value <= 30\"\n [class.bg-1]=\"value > 30 && value <= 40\"\n [class.bg-2]=\"value > 40 && value <= 50\"\n [class.bg-3]=\"value > 50 && value <= 60\"\n [class.bg-4]=\"value > 60 && value <= 70\"\n [class.bg-5]=\"value > 70 && value <= 85\"\n [class.bg-6]=\"value > 85\">\n <ng-container *ngIf=\"value\">\u0424\u043E\u0440\u043C\u0430 \u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u0430 \u043D\u0430 {{value}}%</ng-container>\n </div>\n</div>\n\n", styles: [".progress{display:flex;height:13px;overflow:hidden;font-size:.75rem;background-color:#e9ecef;border-radius:.25rem;margin-bottom:10px}.progress .progress-bar{font-size:12px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;color:#fff;text-align:center;background-color:transparent!important;transition:all .6s ease}.progress .progress-bar.bg-0{background-color:#e72235!important}.progress .progress-bar.bg-1{background-color:#dc4835!important}.progress .progress-bar.bg-2{background-color:#c09841!important}.progress .progress-bar.bg-3{background-color:#b6962b!important}.progress .progress-bar.bg-4{background-color:#9cad04!important}.progress .progress-bar.bg-5{background-color:#548804!important}.progress .progress-bar.bg-6{background-color:#28a745!important}\n"] }]
|
|
8533
|
+
args: [{ selector: 'shared-smart-progress-bar', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div class=\"progress\">\n <div class=\"progress-bar\"\n role=\"progressbar\"\n [title]=\"title\"\n [style]=\"{width: value + '%'}\"\n aria-valuemin=\"0\"\n aria-valuemax=\"100\"\n [class.bg-0]=\"value <= 30\"\n [class.bg-1]=\"value > 30 && value <= 40\"\n [class.bg-2]=\"value > 40 && value <= 50\"\n [class.bg-3]=\"value > 50 && value <= 60\"\n [class.bg-4]=\"value > 60 && value <= 70\"\n [class.bg-5]=\"value > 70 && value <= 85\"\n [class.bg-6]=\"value > 85\">\n <ng-container *ngIf=\"value\">\u0424\u043E\u0440\u043C\u0430 \u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u0430 \u043D\u0430 {{value}}%</ng-container>\n </div>\n</div>\n\n", styles: [".progress{display:flex;height:13px;overflow:hidden;font-size:.75rem;background-color:#e9ecef;border-radius:.25rem;margin-bottom:10px}.progress .progress-bar{font-size:12px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;color:#fff;text-align:center;background-color:transparent!important;transition:all .6s ease}.progress .progress-bar.bg-0{background-color:#e72235!important}.progress .progress-bar.bg-1{background-color:#dc4835!important}.progress .progress-bar.bg-2{background-color:#c09841!important}.progress .progress-bar.bg-3{background-color:#b6962b!important}.progress .progress-bar.bg-4{background-color:#9cad04!important}.progress .progress-bar.bg-5{background-color:#548804!important}.progress .progress-bar.bg-6{background-color:#28a745!important}\n"] }]
|
|
8534
8534
|
}], propDecorators: { value: [{
|
|
8535
8535
|
type: Input
|
|
8536
8536
|
}], title: [{
|
|
@@ -8540,10 +8540,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
8540
8540
|
}] } });
|
|
8541
8541
|
|
|
8542
8542
|
class StaticDataComponentInputData {
|
|
8543
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8544
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
8543
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StaticDataComponentInputData, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
8544
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StaticDataComponentInputData }); }
|
|
8545
8545
|
}
|
|
8546
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8546
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StaticDataComponentInputData, decorators: [{
|
|
8547
8547
|
type: Injectable
|
|
8548
8548
|
}] });
|
|
8549
8549
|
|
|
@@ -8643,12 +8643,12 @@ class FormFieldErrorComponent {
|
|
|
8643
8643
|
});
|
|
8644
8644
|
}
|
|
8645
8645
|
}
|
|
8646
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8647
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
8646
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormFieldErrorComponent, deps: [{ token: BaseAutoFormService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8647
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: FormFieldErrorComponent, isStandalone: false, selector: "shared-form-field-error", inputs: { fieldData: "fieldData", form: "form", errorMessageTexts: "errorMessageTexts" }, ngImport: i0, template: "<mat-error class=\"field-error\">\n {{error}}\n</mat-error>\n", styles: [""], dependencies: [{ kind: "directive", type: i2$4.MatError, selector: "mat-error, [matError]", inputs: ["id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8648
8648
|
}
|
|
8649
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8649
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormFieldErrorComponent, decorators: [{
|
|
8650
8650
|
type: Component,
|
|
8651
|
-
args: [{ selector: 'shared-form-field-error', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-error class=\"field-error\">\n {{error}}\n</mat-error>\n" }]
|
|
8651
|
+
args: [{ selector: 'shared-form-field-error', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<mat-error class=\"field-error\">\n {{error}}\n</mat-error>\n" }]
|
|
8652
8652
|
}], ctorParameters: () => [{ type: BaseAutoFormService }], propDecorators: { fieldData: [{
|
|
8653
8653
|
type: Input
|
|
8654
8654
|
}], form: [{
|
|
@@ -8687,12 +8687,12 @@ class FormFieldPublishErrorComponent {
|
|
|
8687
8687
|
this.messages$ = EMPTY;
|
|
8688
8688
|
}
|
|
8689
8689
|
}
|
|
8690
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8691
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
8690
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormFieldPublishErrorComponent, deps: [{ token: AutoFormService }, { token: PublicationMessagesFacade }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8691
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: FormFieldPublishErrorComponent, isStandalone: false, selector: "shared-form-field-publish-error", inputs: { fieldData: "fieldData", form: "form", entity: "entity", errorMessageTexts: "errorMessageTexts" }, ngImport: i0, template: "<ng-container *ngIf=\"messages$ | async as messages\">\n <ng-container *ngFor=\"let messageObj of messages.errors\">\n <div @appearFromLeft class=\"color-red\">\n {{messageObj.description}}\n </div>\n </ng-container>\n <ng-container *ngFor=\"let messageObj of messages.recommendations\">\n <div @appearFromLeft class=\"color-orange\">\n {{messageObj.description}}\n </div>\n </ng-container>\n</ng-container>\n\n", styles: [""], dependencies: [{ kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }], animations: [appearFromLeft], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8692
8692
|
}
|
|
8693
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8693
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormFieldPublishErrorComponent, decorators: [{
|
|
8694
8694
|
type: Component,
|
|
8695
|
-
args: [{ selector: "shared-form-field-publish-error", changeDetection: ChangeDetectionStrategy.OnPush, animations: [appearFromLeft], template: "<ng-container *ngIf=\"messages$ | async as messages\">\n <ng-container *ngFor=\"let messageObj of messages.errors\">\n <div @appearFromLeft class=\"color-red\">\n {{messageObj.description}}\n </div>\n </ng-container>\n <ng-container *ngFor=\"let messageObj of messages.recommendations\">\n <div @appearFromLeft class=\"color-orange\">\n {{messageObj.description}}\n </div>\n </ng-container>\n</ng-container>\n\n" }]
|
|
8695
|
+
args: [{ selector: "shared-form-field-publish-error", changeDetection: ChangeDetectionStrategy.OnPush, animations: [appearFromLeft], standalone: false, template: "<ng-container *ngIf=\"messages$ | async as messages\">\n <ng-container *ngFor=\"let messageObj of messages.errors\">\n <div @appearFromLeft class=\"color-red\">\n {{messageObj.description}}\n </div>\n </ng-container>\n <ng-container *ngFor=\"let messageObj of messages.recommendations\">\n <div @appearFromLeft class=\"color-orange\">\n {{messageObj.description}}\n </div>\n </ng-container>\n</ng-container>\n\n" }]
|
|
8696
8696
|
}], ctorParameters: () => [{ type: AutoFormService }, { type: PublicationMessagesFacade }], propDecorators: { fieldData: [{
|
|
8697
8697
|
type: Input
|
|
8698
8698
|
}], form: [{
|
|
@@ -8743,12 +8743,12 @@ class FormFieldSelectShowComponent {
|
|
|
8743
8743
|
trackById(index, item) {
|
|
8744
8744
|
return item?.id || undefined;
|
|
8745
8745
|
}
|
|
8746
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8747
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
8746
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormFieldSelectShowComponent, deps: [{ token: CoreFacade }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8747
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: FormFieldSelectShowComponent, isStandalone: false, selector: "shared-form-field-select-show", inputs: { config: "config", fieldData: "fieldData", value: "value" }, usesOnChanges: true, ngImport: i0, template: "<div [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <label class=\"show-label\">{{ fieldData.title }}</label>\n <div class=\"form-field-value\">\n <span *ngFor=\"let value of listItems;trackBy: trackById\">{{ value }}</span>\n </div>\n</div>\n<shared-form-field-spinner *ngIf=\"loading\"></shared-form-field-spinner>\n", styles: [".form-field-value{display:flex;flex-direction:column}.small-form-width-form-field .show-label{margin-bottom:0}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: FormFieldSpinnerComponent, selector: "shared-form-field-spinner" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8748
8748
|
}
|
|
8749
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8749
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormFieldSelectShowComponent, decorators: [{
|
|
8750
8750
|
type: Component,
|
|
8751
|
-
args: [{ selector: 'shared-form-field-select-show', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <label class=\"show-label\">{{ fieldData.title }}</label>\n <div class=\"form-field-value\">\n <span *ngFor=\"let value of listItems;trackBy: trackById\">{{ value }}</span>\n </div>\n</div>\n<shared-form-field-spinner *ngIf=\"loading\"></shared-form-field-spinner>\n", styles: [".form-field-value{display:flex;flex-direction:column}.small-form-width-form-field .show-label{margin-bottom:0}\n"] }]
|
|
8751
|
+
args: [{ selector: 'shared-form-field-select-show', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <label class=\"show-label\">{{ fieldData.title }}</label>\n <div class=\"form-field-value\">\n <span *ngFor=\"let value of listItems;trackBy: trackById\">{{ value }}</span>\n </div>\n</div>\n<shared-form-field-spinner *ngIf=\"loading\"></shared-form-field-spinner>\n", styles: [".form-field-value{display:flex;flex-direction:column}.small-form-width-form-field .show-label{margin-bottom:0}\n"] }]
|
|
8752
8752
|
}], ctorParameters: () => [{ type: CoreFacade }, { type: i0.ChangeDetectorRef }], propDecorators: { config: [{
|
|
8753
8753
|
type: Input
|
|
8754
8754
|
}], fieldData: [{
|
|
@@ -8817,12 +8817,12 @@ class FormFieldInputComponent {
|
|
|
8817
8817
|
break;
|
|
8818
8818
|
}
|
|
8819
8819
|
}
|
|
8820
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8821
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
8820
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormFieldInputComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8821
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: FormFieldInputComponent, isStandalone: false, selector: "shared-form-field-input", inputs: { config: "config", fieldData: "fieldData", form: "form" }, viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }], ngImport: i0, template: "<ng-container *ngIf=\"form.get(fieldData.field) as field\">\n <div [formGroup]=\"form\" [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <mat-form-field appearance=\"outline\"\n class=\"width100\">\n <mat-label>{{fieldData.title}}{{fieldData.validators && fieldData.validators.includes('required') ? ' *' : ''}}</mat-label>\n <div class=\"display-flex align-baseline \">\n <ng-container *ngIf=\"inputMask\">\n <input matInput\n #input\n [type]=\"inputType\"\n [placeholder]=\"placeholder\"\n [mask]=\"inputMask\"\n [formControlName]=\"fieldData.field\">\n </ng-container>\n <ng-container *ngIf=\"!inputMask\">\n <input matInput\n #input\n [type]=\"inputType\"\n [placeholder]=\"placeholder\"\n [formControlName]=\"fieldData.field\">\n </ng-container>\n <div class=\"form-field-suffix\"\n [ngClass]=\"{'input-field-icon-red': !field.valid}\"\n *ngIf=\"fieldData.asyncValidators && fieldData.asyncValidators.length\">\n <mat-icon *ngIf=\"field.status !== pendingStatus\"\n class=\"secondary-text mat-icon notranslate material-icons mat-icon-no-color\"\n role=\"img\" aria-hidden=\"true\">\n {{field.valid ? 'done' : field.errors['itemUniqValue'] ? 'assignment_late' : ''}}\n </mat-icon>\n <shared-spinner *ngIf=\"field.status === pendingStatus\"\n [diameter]=\"24\"></shared-spinner>\n </div>\n </div>\n </mat-form-field>\n </div>\n</ng-container>\n", styles: [".form-field-suffix{width:17px;height:17px}.form-field-suffix mat-icon{color:#4caf50;font-size:17px;height:17px!important;width:17px!important;min-width:17px;min-height:17px;font-weight:700!important}.form-field-suffix.input-field-icon-red mat-icon{color:#f44336}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2$4.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3$2.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: i7.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: i7.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i7.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "component", type: SpinnerComponent, selector: "shared-spinner", inputs: ["overlay", "diameter", "color", "position"] }, { kind: "directive", type: i7.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i7.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i7$2.NgxMaskDirective, selector: "input[mask], textarea[mask]", inputs: ["mask", "specialCharacters", "patterns", "prefix", "suffix", "thousandSeparator", "decimalMarker", "dropSpecialCharacters", "hiddenInput", "showMaskTyped", "placeHolderCharacter", "shownMaskExpression", "showTemplate", "clearIfNotMatch", "validation", "separatorLimit", "allowNegativeNumbers", "leadZeroDateTime", "leadZero", "triggerOnMaskChange", "apm", "inputTransformFn", "outputTransformFn", "keepCharacterPositions"], outputs: ["maskFilled"], exportAs: ["mask", "ngxMask"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8822
8822
|
}
|
|
8823
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8823
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormFieldInputComponent, decorators: [{
|
|
8824
8824
|
type: Component,
|
|
8825
|
-
args: [{ selector: 'shared-form-field-input', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngIf=\"form.get(fieldData.field) as field\">\n <div [formGroup]=\"form\" [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <mat-form-field appearance=\"outline\"\n class=\"width100\">\n <mat-label>{{fieldData.title}}{{fieldData.validators && fieldData.validators.includes('required') ? ' *' : ''}}</mat-label>\n <div class=\"display-flex align-baseline \">\n <ng-container *ngIf=\"inputMask\">\n <input matInput\n #input\n [type]=\"inputType\"\n [placeholder]=\"placeholder\"\n [mask]=\"inputMask\"\n [formControlName]=\"fieldData.field\">\n </ng-container>\n <ng-container *ngIf=\"!inputMask\">\n <input matInput\n #input\n [type]=\"inputType\"\n [placeholder]=\"placeholder\"\n [formControlName]=\"fieldData.field\">\n </ng-container>\n <div class=\"form-field-suffix\"\n [ngClass]=\"{'input-field-icon-red': !field.valid}\"\n *ngIf=\"fieldData.asyncValidators && fieldData.asyncValidators.length\">\n <mat-icon *ngIf=\"field.status !== pendingStatus\"\n class=\"secondary-text mat-icon notranslate material-icons mat-icon-no-color\"\n role=\"img\" aria-hidden=\"true\">\n {{field.valid ? 'done' : field.errors['itemUniqValue'] ? 'assignment_late' : ''}}\n </mat-icon>\n <shared-spinner *ngIf=\"field.status === pendingStatus\"\n [diameter]=\"24\"></shared-spinner>\n </div>\n </div>\n </mat-form-field>\n </div>\n</ng-container>\n", styles: [".form-field-suffix{width:17px;height:17px}.form-field-suffix mat-icon{color:#4caf50;font-size:17px;height:17px!important;width:17px!important;min-width:17px;min-height:17px;font-weight:700!important}.form-field-suffix.input-field-icon-red mat-icon{color:#f44336}\n"] }]
|
|
8825
|
+
args: [{ selector: 'shared-form-field-input', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<ng-container *ngIf=\"form.get(fieldData.field) as field\">\n <div [formGroup]=\"form\" [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <mat-form-field appearance=\"outline\"\n class=\"width100\">\n <mat-label>{{fieldData.title}}{{fieldData.validators && fieldData.validators.includes('required') ? ' *' : ''}}</mat-label>\n <div class=\"display-flex align-baseline \">\n <ng-container *ngIf=\"inputMask\">\n <input matInput\n #input\n [type]=\"inputType\"\n [placeholder]=\"placeholder\"\n [mask]=\"inputMask\"\n [formControlName]=\"fieldData.field\">\n </ng-container>\n <ng-container *ngIf=\"!inputMask\">\n <input matInput\n #input\n [type]=\"inputType\"\n [placeholder]=\"placeholder\"\n [formControlName]=\"fieldData.field\">\n </ng-container>\n <div class=\"form-field-suffix\"\n [ngClass]=\"{'input-field-icon-red': !field.valid}\"\n *ngIf=\"fieldData.asyncValidators && fieldData.asyncValidators.length\">\n <mat-icon *ngIf=\"field.status !== pendingStatus\"\n class=\"secondary-text mat-icon notranslate material-icons mat-icon-no-color\"\n role=\"img\" aria-hidden=\"true\">\n {{field.valid ? 'done' : field.errors['itemUniqValue'] ? 'assignment_late' : ''}}\n </mat-icon>\n <shared-spinner *ngIf=\"field.status === pendingStatus\"\n [diameter]=\"24\"></shared-spinner>\n </div>\n </div>\n </mat-form-field>\n </div>\n</ng-container>\n", styles: [".form-field-suffix{width:17px;height:17px}.form-field-suffix mat-icon{color:#4caf50;font-size:17px;height:17px!important;width:17px!important;min-width:17px;min-height:17px;font-weight:700!important}.form-field-suffix.input-field-icon-red mat-icon{color:#f44336}\n"] }]
|
|
8826
8826
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { config: [{
|
|
8827
8827
|
type: Input
|
|
8828
8828
|
}], fieldData: [{
|
|
@@ -8868,12 +8868,12 @@ class ImageComponent {
|
|
|
8868
8868
|
deleteImage() {
|
|
8869
8869
|
this.delete.emit();
|
|
8870
8870
|
}
|
|
8871
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8872
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
8871
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ImageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8872
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: ImageComponent, isStandalone: false, selector: "shared-image", inputs: { versions: "versions", url: "url", version: "version", title: "title", index: "index", haveZoom: "haveZoom", imgClass: "imgClass" }, outputs: { clickEvent: "clickEvent", delete: "delete" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"image-block\">\n <div *ngIf=\"showDeleteButton\" class=\"form-field-file-close mat-elevation-z4\" (click)=\"deleteImage()\">\n <mat-icon class=\"fs-14\">close</mat-icon>\n </div>\n <ng-container *ngIf=\"src\">\n <img [src]=\"src\" [title]=\"title\" [alt]=\"title\" [class]=\"imgClass\"/>\n <div *ngIf=\"haveZoom\" class=\"zoom\" (click)=\"clickHandler();\">\n <span class=\"lnr lnr-magnifier\"></span>\n </div>\n </ng-container>\n <ng-container *ngIf=\"!src\">\n <div class=\"default-image\">\n <img src=\"assets/images/default-image.png\" [alt]=\"title\"/>\n </div>\n </ng-container>\n</div>\n", styles: [":host{position:relative}.image-block{position:relative;height:100%}.image-block:hover .form-field-file-close{width:25px;height:25px;opacity:.8}.image-block:hover .form-field-file-close mat-icon{width:18px;min-width:18px;height:18px;min-height:18px;font-size:18px}.image-block .form-field-file-close{right:0;top:0;cursor:pointer;background:#fff;position:absolute;width:15px;height:15px;display:flex;align-items:center;justify-content:center;border-bottom-left-radius:4px;color:#f44336;transition:all .15s ease;opacity:.6}.image-block .form-field-file-close mat-icon{transition:transform .15s ease;width:15px;height:15px;min-width:15px;min-height:15px;margin-left:1px;margin-top:3px}.image-block .form-field-file-close:hover{opacity:1}.image-block .form-field-file-close:hover mat-icon{transform:rotate(90deg)}.image-block .zoom{position:absolute;transition:all .2s ease-in-out;opacity:0;inset:0;background-color:#313131b8;display:flex;align-items:center;justify-content:center;cursor:pointer}.image-block .zoom:hover{opacity:.8}.image-block .zoom .lnr{font-size:20px;font-weight:700;color:#49caff}.image-block .default-image{display:flex;align-items:center;justify-content:center;background-color:#e1eaf1;width:200px;height:150px;opacity:.6}.image-block .default-image img{width:auto!important;height:auto!important}.image-block img{object-fit:cover;width:100%!important;height:100%!important}\n"], dependencies: [{ kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8873
8873
|
}
|
|
8874
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8874
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ImageComponent, decorators: [{
|
|
8875
8875
|
type: Component,
|
|
8876
|
-
args: [{ selector: 'shared-image', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"image-block\">\n <div *ngIf=\"showDeleteButton\" class=\"form-field-file-close mat-elevation-z4\" (click)=\"deleteImage()\">\n <mat-icon class=\"fs-14\">close</mat-icon>\n </div>\n <ng-container *ngIf=\"src\">\n <img [src]=\"src\" [title]=\"title\" [alt]=\"title\" [class]=\"imgClass\"/>\n <div *ngIf=\"haveZoom\" class=\"zoom\" (click)=\"clickHandler();\">\n <span class=\"lnr lnr-magnifier\"></span>\n </div>\n </ng-container>\n <ng-container *ngIf=\"!src\">\n <div class=\"default-image\">\n <img src=\"assets/images/default-image.png\" [alt]=\"title\"/>\n </div>\n </ng-container>\n</div>\n", styles: [":host{position:relative}.image-block{position:relative;height:100%}.image-block:hover .form-field-file-close{width:25px;height:25px;opacity:.8}.image-block:hover .form-field-file-close mat-icon{width:18px;min-width:18px;height:18px;min-height:18px;font-size:18px}.image-block .form-field-file-close{right:0;top:0;cursor:pointer;background:#fff;position:absolute;width:15px;height:15px;display:flex;align-items:center;justify-content:center;border-bottom-left-radius:4px;color:#f44336;transition:all .15s ease;opacity:.6}.image-block .form-field-file-close mat-icon{transition:transform .15s ease;width:15px;height:15px;min-width:15px;min-height:15px;margin-left:1px;margin-top:3px}.image-block .form-field-file-close:hover{opacity:1}.image-block .form-field-file-close:hover mat-icon{transform:rotate(90deg)}.image-block .zoom{position:absolute;transition:all .2s ease-in-out;opacity:0;inset:0;background-color:#313131b8;display:flex;align-items:center;justify-content:center;cursor:pointer}.image-block .zoom:hover{opacity:.8}.image-block .zoom .lnr{font-size:20px;font-weight:700;color:#49caff}.image-block .default-image{display:flex;align-items:center;justify-content:center;background-color:#e1eaf1;width:200px;height:150px;opacity:.6}.image-block .default-image img{width:auto!important;height:auto!important}.image-block img{object-fit:cover;width:100%!important;height:100%!important}\n"] }]
|
|
8876
|
+
args: [{ selector: 'shared-image', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div class=\"image-block\">\n <div *ngIf=\"showDeleteButton\" class=\"form-field-file-close mat-elevation-z4\" (click)=\"deleteImage()\">\n <mat-icon class=\"fs-14\">close</mat-icon>\n </div>\n <ng-container *ngIf=\"src\">\n <img [src]=\"src\" [title]=\"title\" [alt]=\"title\" [class]=\"imgClass\"/>\n <div *ngIf=\"haveZoom\" class=\"zoom\" (click)=\"clickHandler();\">\n <span class=\"lnr lnr-magnifier\"></span>\n </div>\n </ng-container>\n <ng-container *ngIf=\"!src\">\n <div class=\"default-image\">\n <img src=\"assets/images/default-image.png\" [alt]=\"title\"/>\n </div>\n </ng-container>\n</div>\n", styles: [":host{position:relative}.image-block{position:relative;height:100%}.image-block:hover .form-field-file-close{width:25px;height:25px;opacity:.8}.image-block:hover .form-field-file-close mat-icon{width:18px;min-width:18px;height:18px;min-height:18px;font-size:18px}.image-block .form-field-file-close{right:0;top:0;cursor:pointer;background:#fff;position:absolute;width:15px;height:15px;display:flex;align-items:center;justify-content:center;border-bottom-left-radius:4px;color:#f44336;transition:all .15s ease;opacity:.6}.image-block .form-field-file-close mat-icon{transition:transform .15s ease;width:15px;height:15px;min-width:15px;min-height:15px;margin-left:1px;margin-top:3px}.image-block .form-field-file-close:hover{opacity:1}.image-block .form-field-file-close:hover mat-icon{transform:rotate(90deg)}.image-block .zoom{position:absolute;transition:all .2s ease-in-out;opacity:0;inset:0;background-color:#313131b8;display:flex;align-items:center;justify-content:center;cursor:pointer}.image-block .zoom:hover{opacity:.8}.image-block .zoom .lnr{font-size:20px;font-weight:700;color:#49caff}.image-block .default-image{display:flex;align-items:center;justify-content:center;background-color:#e1eaf1;width:200px;height:150px;opacity:.6}.image-block .default-image img{width:auto!important;height:auto!important}.image-block img{object-fit:cover;width:100%!important;height:100%!important}\n"] }]
|
|
8877
8877
|
}], ctorParameters: () => [], propDecorators: { versions: [{
|
|
8878
8878
|
type: Input
|
|
8879
8879
|
}], url: [{
|
|
@@ -8991,8 +8991,8 @@ class FormFieldFileComponent {
|
|
|
8991
8991
|
this.inputStatus = "1";
|
|
8992
8992
|
this.cd.markForCheck();
|
|
8993
8993
|
}
|
|
8994
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8995
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
8994
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormFieldFileComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: DialogService }, { token: RequestsFacade }, { token: FormDeleteFileFacade }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8995
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: FormFieldFileComponent, isStandalone: false, selector: "shared-form-field-file", inputs: { config: "config", fieldData: "fieldData", form: "form", entity: "entity" }, viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"form-field-file\" [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <div class=\"pb-10 width100\">\n <div class=\"mb-15 display-flex align-baseline form-field-input border-block\">\n <mat-label>{{ fieldData.title }}{{ fieldData.validators && fieldData.validators.includes('required') ? ' *' : '' }}</mat-label>\n <div\n @appearFromLeft\n *ngIf=\"imageSource || imageVersions\"\n class=\"form-field-file-image\">\n <div *ngIf=\"imageSource\" class=\"position-relative mat-elevation-z3 image-block\">\n <div class=\"form-field-file-close mat-elevation-z4\" (click)=\"deleteImage()\">\n <mat-icon class=\"fs-14\">close</mat-icon>\n </div>\n <img [src]=\"imageSource\" alt=\"\">\n </div>\n <div *ngIf=\"imageVersions\" class=\"position-relative image-block\">\n <shared-image\n class=\"width150100 display-block\"\n [versions]=\"imageVersions\"\n [version]=\"1\"\n (delete)=\"deleteImage()\"></shared-image>\n </div>\n </div>\n <div\n [@inputAnim]=\"inputStatus\"\n class=\"input\">\n <input #input\n type=\"file\"\n (change)=\"onFileChange($event)\" />\n </div>\n </div>\n </div>\n <shared-spinner\n *ngIf=\"(request$ | async)?.status === requestStatuses.LOADING\"\n [overlay]=\"true\"\n [diameter]=\"20\"\n [color]=\"'blue'\"></shared-spinner>\n</div>\n", styles: [".form-field-file .form-field-input{transition:all .2s ease;min-height:66px;align-items:center;padding-top:0;padding-bottom:0;position:relative}.form-field-file .form-field-input.height-0{height:0;padding:0;border:0}.form-field-file .form-field-input mat-label{color:#5f5b5b;font-size:12px;padding:0 5px 0 0;position:absolute;background-color:#fff;top:-10px}.form-field-file .form-field-file-image{position:relative;transition:all .2s ease;overflow:hidden;display:flex;justify-content:flex-start;margin:10px 0}.form-field-file .form-field-file-image.height-100{height:100px}.form-field-file .form-field-file-image img{object-fit:cover;width:150px;height:100px;border-radius:4px;overflow:hidden;background:#fff}.form-field-file .form-field-file-image .form-field-file-close{right:0;top:0;cursor:pointer;background:#fff;position:absolute;width:15px;height:15px;display:flex;align-items:center;justify-content:center;border-bottom-left-radius:4px;color:#f44336;transition:all .15s ease;opacity:.6}.form-field-file .form-field-file-image .form-field-file-close mat-icon{transition:transform .15s ease;width:15px;height:15px;min-width:15px;min-height:15px;margin-left:1px;margin-top:3px}.form-field-file .form-field-file-image .form-field-file-close:hover{opacity:1}.form-field-file .form-field-file-image .form-field-file-close:hover mat-icon{transform:rotate(90deg)}.form-field-file .form-field-file-image .image-block:hover .form-field-file-close{width:25px;height:25px;opacity:.8}.form-field-file .form-field-file-image .image-block:hover .form-field-file-close mat-icon{width:18px;min-width:18px;height:18px;min-height:18px;font-size:18px}.form-field-file .position-absolute{position:absolute}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$4.MatLabel, selector: "mat-label" }, { kind: "component", type: SpinnerComponent, selector: "shared-spinner", inputs: ["overlay", "diameter", "color", "position"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: ImageComponent, selector: "shared-image", inputs: ["versions", "url", "version", "title", "index", "haveZoom", "imgClass"], outputs: ["clickEvent", "delete"] }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }], animations: [
|
|
8996
8996
|
appearFromLeft,
|
|
8997
8997
|
trigger("inputAnim", [
|
|
8998
8998
|
state("0", style({
|
|
@@ -9010,7 +9010,7 @@ class FormFieldFileComponent {
|
|
|
9010
9010
|
])
|
|
9011
9011
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9012
9012
|
}
|
|
9013
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9013
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormFieldFileComponent, decorators: [{
|
|
9014
9014
|
type: Component,
|
|
9015
9015
|
args: [{ selector: "shared-form-field-file", changeDetection: ChangeDetectionStrategy.OnPush, animations: [
|
|
9016
9016
|
appearFromLeft,
|
|
@@ -9028,7 +9028,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
9028
9028
|
animate("500ms")
|
|
9029
9029
|
])
|
|
9030
9030
|
])
|
|
9031
|
-
], template: "<div class=\"form-field-file\" [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <div class=\"pb-10 width100\">\n <div class=\"mb-15 display-flex align-baseline form-field-input border-block\">\n <mat-label>{{ fieldData.title }}{{ fieldData.validators && fieldData.validators.includes('required') ? ' *' : '' }}</mat-label>\n <div\n @appearFromLeft\n *ngIf=\"imageSource || imageVersions\"\n class=\"form-field-file-image\">\n <div *ngIf=\"imageSource\" class=\"position-relative mat-elevation-z3 image-block\">\n <div class=\"form-field-file-close mat-elevation-z4\" (click)=\"deleteImage()\">\n <mat-icon class=\"fs-14\">close</mat-icon>\n </div>\n <img [src]=\"imageSource\" alt=\"\">\n </div>\n <div *ngIf=\"imageVersions\" class=\"position-relative image-block\">\n <shared-image\n class=\"width150100 display-block\"\n [versions]=\"imageVersions\"\n [version]=\"1\"\n (delete)=\"deleteImage()\"></shared-image>\n </div>\n </div>\n <div\n [@inputAnim]=\"inputStatus\"\n class=\"input\">\n <input #input\n type=\"file\"\n (change)=\"onFileChange($event)\" />\n </div>\n </div>\n </div>\n <shared-spinner\n *ngIf=\"(request$ | async)?.status === requestStatuses.LOADING\"\n [overlay]=\"true\"\n [diameter]=\"20\"\n [color]=\"'blue'\"></shared-spinner>\n</div>\n", styles: [".form-field-file .form-field-input{transition:all .2s ease;min-height:66px;align-items:center;padding-top:0;padding-bottom:0;position:relative}.form-field-file .form-field-input.height-0{height:0;padding:0;border:0}.form-field-file .form-field-input mat-label{color:#5f5b5b;font-size:12px;padding:0 5px 0 0;position:absolute;background-color:#fff;top:-10px}.form-field-file .form-field-file-image{position:relative;transition:all .2s ease;overflow:hidden;display:flex;justify-content:flex-start;margin:10px 0}.form-field-file .form-field-file-image.height-100{height:100px}.form-field-file .form-field-file-image img{object-fit:cover;width:150px;height:100px;border-radius:4px;overflow:hidden;background:#fff}.form-field-file .form-field-file-image .form-field-file-close{right:0;top:0;cursor:pointer;background:#fff;position:absolute;width:15px;height:15px;display:flex;align-items:center;justify-content:center;border-bottom-left-radius:4px;color:#f44336;transition:all .15s ease;opacity:.6}.form-field-file .form-field-file-image .form-field-file-close mat-icon{transition:transform .15s ease;width:15px;height:15px;min-width:15px;min-height:15px;margin-left:1px;margin-top:3px}.form-field-file .form-field-file-image .form-field-file-close:hover{opacity:1}.form-field-file .form-field-file-image .form-field-file-close:hover mat-icon{transform:rotate(90deg)}.form-field-file .form-field-file-image .image-block:hover .form-field-file-close{width:25px;height:25px;opacity:.8}.form-field-file .form-field-file-image .image-block:hover .form-field-file-close mat-icon{width:18px;min-width:18px;height:18px;min-height:18px;font-size:18px}.form-field-file .position-absolute{position:absolute}\n"] }]
|
|
9031
|
+
], standalone: false, template: "<div class=\"form-field-file\" [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <div class=\"pb-10 width100\">\n <div class=\"mb-15 display-flex align-baseline form-field-input border-block\">\n <mat-label>{{ fieldData.title }}{{ fieldData.validators && fieldData.validators.includes('required') ? ' *' : '' }}</mat-label>\n <div\n @appearFromLeft\n *ngIf=\"imageSource || imageVersions\"\n class=\"form-field-file-image\">\n <div *ngIf=\"imageSource\" class=\"position-relative mat-elevation-z3 image-block\">\n <div class=\"form-field-file-close mat-elevation-z4\" (click)=\"deleteImage()\">\n <mat-icon class=\"fs-14\">close</mat-icon>\n </div>\n <img [src]=\"imageSource\" alt=\"\">\n </div>\n <div *ngIf=\"imageVersions\" class=\"position-relative image-block\">\n <shared-image\n class=\"width150100 display-block\"\n [versions]=\"imageVersions\"\n [version]=\"1\"\n (delete)=\"deleteImage()\"></shared-image>\n </div>\n </div>\n <div\n [@inputAnim]=\"inputStatus\"\n class=\"input\">\n <input #input\n type=\"file\"\n (change)=\"onFileChange($event)\" />\n </div>\n </div>\n </div>\n <shared-spinner\n *ngIf=\"(request$ | async)?.status === requestStatuses.LOADING\"\n [overlay]=\"true\"\n [diameter]=\"20\"\n [color]=\"'blue'\"></shared-spinner>\n</div>\n", styles: [".form-field-file .form-field-input{transition:all .2s ease;min-height:66px;align-items:center;padding-top:0;padding-bottom:0;position:relative}.form-field-file .form-field-input.height-0{height:0;padding:0;border:0}.form-field-file .form-field-input mat-label{color:#5f5b5b;font-size:12px;padding:0 5px 0 0;position:absolute;background-color:#fff;top:-10px}.form-field-file .form-field-file-image{position:relative;transition:all .2s ease;overflow:hidden;display:flex;justify-content:flex-start;margin:10px 0}.form-field-file .form-field-file-image.height-100{height:100px}.form-field-file .form-field-file-image img{object-fit:cover;width:150px;height:100px;border-radius:4px;overflow:hidden;background:#fff}.form-field-file .form-field-file-image .form-field-file-close{right:0;top:0;cursor:pointer;background:#fff;position:absolute;width:15px;height:15px;display:flex;align-items:center;justify-content:center;border-bottom-left-radius:4px;color:#f44336;transition:all .15s ease;opacity:.6}.form-field-file .form-field-file-image .form-field-file-close mat-icon{transition:transform .15s ease;width:15px;height:15px;min-width:15px;min-height:15px;margin-left:1px;margin-top:3px}.form-field-file .form-field-file-image .form-field-file-close:hover{opacity:1}.form-field-file .form-field-file-image .form-field-file-close:hover mat-icon{transform:rotate(90deg)}.form-field-file .form-field-file-image .image-block:hover .form-field-file-close{width:25px;height:25px;opacity:.8}.form-field-file .form-field-file-image .image-block:hover .form-field-file-close mat-icon{width:18px;min-width:18px;height:18px;min-height:18px;font-size:18px}.form-field-file .position-absolute{position:absolute}\n"] }]
|
|
9032
9032
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: DialogService }, { type: RequestsFacade }, { type: FormDeleteFileFacade }], propDecorators: { config: [{
|
|
9033
9033
|
type: Input
|
|
9034
9034
|
}], fieldData: [{
|
|
@@ -9142,12 +9142,12 @@ class FileListCardComponent {
|
|
|
9142
9142
|
this.firstRequest = false;
|
|
9143
9143
|
}
|
|
9144
9144
|
}
|
|
9145
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9146
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
9145
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FileListCardComponent, deps: [{ token: FilesFacade }, { token: NotificationsFacade }, { token: DialogService }, { token: i0.ChangeDetectorRef }, { token: RequestsFacade }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9146
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: FileListCardComponent, isStandalone: false, selector: "shared-file-list-card", inputs: { file: "file", section: "section", itemId: "itemId", mode: "mode" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"fuse-card\"\n [ngClass]=\"{'fuse-card-sort': mode === ModeSort}\">\n <div class=\"top-panel\" fxLayout=\"row\" fxLayoutAlign=\"end center\">\n <button\n mat-icon-button\n aria-label=\"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\"\n title=\"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\"\n class=\"color-green\"\n (click)=\"editFile()\"\n >\n <mat-icon>edit</mat-icon>\n </button>\n <button mat-icon-button\n aria-label=\"\u0421\u0434\u0435\u043B\u0430\u0442\u044C \u0433\u043B\u0430\u0432\u043D\u044B\u043C\"\n title=\"\u0421\u0434\u0435\u043B\u0430\u0442\u044C \u0433\u043B\u0430\u0432\u043D\u044B\u043C\"\n (click)=\"setMain(file.id, file.main)\"\n [ngClass]=\"{'cursor-no-pointer': file.main}\">\n <mat-icon *ngIf=\"!file.main\">star_border</mat-icon>\n <mat-icon *ngIf=\"file.main\">star</mat-icon>\n </button>\n <button\n mat-icon-button\n aria-label=\"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0444\u0430\u0439\u043B\"\n title=\"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0444\u0430\u0439\u043B\"\n class=\"color-red\"\n (click)=\"fileDelete(file.id)\"\n >\n <mat-icon>delete_outline</mat-icon>\n </button>\n </div>\n <div class=\"image\"\n [ngStyle]=\"{'background-image': file.versions ? 'url(' + file.versions[2] + ')' : 'none'}\"></div>\n <div class=\"p-10 cart-title p-0\"\n [ngClass]=\"{'edit-title': edit, 'empty-title': !file.title}\">\n <div class=\"width100 display-flex-space-between edit-block\"\n [ngClass]=\"{'edit-block-open': edit}\">\n\n <div *ngIf=\"!edit && file?.title\" class=\"h3\">{{file.title}}</div>\n <ng-container *ngIf=\"edit\">\n <textarea type=\"text\"\n placeholder=\"Enter image title...\"\n class=\"edit-textarea\"\n (change)=\"changeTitle($event)\"\n [innerText]=\"file && file.title ? file.title : ''\"></textarea>\n <div class=\"edit-button\">\n <button\n mat-icon-button\n aria-label=\"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\"\n title=\"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\"\n class=\"color-green\"\n (click)=\"saveTitle(file)\"\n >\n <mat-icon>check</mat-icon>\n </button>\n <button\n mat-icon-button\n aria-label=\"\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C\"\n title=\"\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C\"\n class=\"color-red\"\n (click)=\"edit = false\"\n >\n <mat-icon>close</mat-icon>\n </button>\n </div>\n </ng-container>\n </div>\n </div>\n <shared-spinner\n *ngIf=\"loading\"\n [overlay]=\"true\"\n [diameter]=\"20\"\n [color]=\"'blue'\"></shared-spinner>\n</div>\n", styles: [":host.cdk-drag-placeholder .fuse-card{z-index:1000}.custom-placeholder{background:#ccc;border:dotted 3px #999;min-height:60px;transition:transform .25s cubic-bezier(0,0,.2,1)}.fuse-card{margin:5px;position:relative;max-width:250px;min-width:250px;max-height:160px;min-height:160px;cursor:move}.fuse-card.fuse-card-sort{max-width:200px;min-width:200px;padding:5px!important}.fuse-card.fuse-card-sort .top-panel,.fuse-card.fuse-card-sort .cart-title{display:none}.fuse-card.fuse-card-sort .image{width:200px;height:100px}.fuse-card:hover .cart-title,.fuse-card:hover .top-panel{background:#efefefc7;transform:scale(1);margin-top:0;margin-right:0}.fuse-card:hover .cart-title button mat-icon,.fuse-card:hover .top-panel button mat-icon{transform:scale(.8)}.fuse-card:hover .cart-title .h3{font-size:14px}.fuse-card .image{width:250px;height:160px;text-align:center;background-size:cover;background-position:center top;border-radius:6px;overflow:hidden}.fuse-card .top-panel,.fuse-card .cart-title{background:#efefef80;transition:all .2s linear}.fuse-card .top-panel:hover,.fuse-card .cart-title:hover{background:#efefef}.fuse-card .top-panel{position:absolute;right:0;border-bottom-left-radius:12px;transform:scale(.8);margin-top:-4px;margin-right:-12px}.fuse-card .top-panel button.color-green mat-icon{color:#236126cc}.fuse-card .top-panel button.color-green:hover mat-icon{color:#4caf50}.fuse-card .top-panel button.color-red mat-icon{color:#f44336cc}.fuse-card .top-panel button.color-red:hover mat-icon{color:#f44336}.fuse-card .top-panel button mat-icon{color:#323232cc}.fuse-card .top-panel button mat-icon{transition:all .2s linear;transform:scale(1)}.fuse-card .top-panel button:hover mat-icon{color:#000;transform:scale(1)}.fuse-card .top-panel button mat-icon{font-size:20px}.fuse-card .cart-title{position:absolute;left:0;right:0;bottom:0;font-size:12px;padding:10px;display:flex;transition:all .3s linear;border-bottom-left-radius:5px;border-bottom-right-radius:5px}.fuse-card .cart-title.empty-title{background:transparent}.fuse-card .cart-title.edit-title{background:#fff}.fuse-card .cart-title.edit-title button mat-icon:hover{color:#7f7f7f}.fuse-card .cart-title .h3{flex-grow:1;padding:9px 5px 9px 10px;color:#fff;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transition:all .2s linear;font-size:12px}.fuse-card .cart-title .h3:hover{color:#079be5}.fuse-card .cart-title .edit-block{transition:all .2s linear}.fuse-card .cart-title .edit-block.edit-block-open{background:#f5f5f5}.fuse-card .cart-title textarea.edit-textarea{flex-grow:1;background-color:transparent;border:0;resize:none;padding:5px 0 5px 5px}.fuse-card .cart-title .edit-button{width:40px}.fuse-card .cart-title .edit-button button mat-icon{color:#d0d0d0;transition:all .2s linear}.fuse-card .cart-title .edit-button button mat-icon:hover{color:#fff;box-shadow:0 0 3px}.fuse-card.fuse-card-sort{padding:20px 10px;border-right:solid 1px #ccc;color:#000000de;display:flex;flex-direction:row;align-items:center;justify-content:space-between;box-sizing:border-box;cursor:move;background:#fff;font-size:14px;flex-grow:1;flex-basis:0}.cdk-drag-preview{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.cdk-drag-placeholder{opacity:0}.cdk-drag-animating{transition:transform .25s cubic-bezier(0,0,.2,1)}.fuse-card:last-child{border:none}.card-list.cdk-drop-list-dragging .fuse-card:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: SpinnerComponent, selector: "shared-spinner", inputs: ["overlay", "diameter", "color", "position"] }, { kind: "component", type: i5.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "directive", type: i7$1.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i7$1.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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9147
9147
|
}
|
|
9148
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9148
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FileListCardComponent, decorators: [{
|
|
9149
9149
|
type: Component,
|
|
9150
|
-
args: [{ selector: 'shared-file-list-card', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"fuse-card\"\n [ngClass]=\"{'fuse-card-sort': mode === ModeSort}\">\n <div class=\"top-panel\" fxLayout=\"row\" fxLayoutAlign=\"end center\">\n <button\n mat-icon-button\n aria-label=\"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\"\n title=\"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\"\n class=\"color-green\"\n (click)=\"editFile()\"\n >\n <mat-icon>edit</mat-icon>\n </button>\n <button mat-icon-button\n aria-label=\"\u0421\u0434\u0435\u043B\u0430\u0442\u044C \u0433\u043B\u0430\u0432\u043D\u044B\u043C\"\n title=\"\u0421\u0434\u0435\u043B\u0430\u0442\u044C \u0433\u043B\u0430\u0432\u043D\u044B\u043C\"\n (click)=\"setMain(file.id, file.main)\"\n [ngClass]=\"{'cursor-no-pointer': file.main}\">\n <mat-icon *ngIf=\"!file.main\">star_border</mat-icon>\n <mat-icon *ngIf=\"file.main\">star</mat-icon>\n </button>\n <button\n mat-icon-button\n aria-label=\"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0444\u0430\u0439\u043B\"\n title=\"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0444\u0430\u0439\u043B\"\n class=\"color-red\"\n (click)=\"fileDelete(file.id)\"\n >\n <mat-icon>delete_outline</mat-icon>\n </button>\n </div>\n <div class=\"image\"\n [ngStyle]=\"{'background-image': file.versions ? 'url(' + file.versions[2] + ')' : 'none'}\"></div>\n <div class=\"p-10 cart-title p-0\"\n [ngClass]=\"{'edit-title': edit, 'empty-title': !file.title}\">\n <div class=\"width100 display-flex-space-between edit-block\"\n [ngClass]=\"{'edit-block-open': edit}\">\n\n <div *ngIf=\"!edit && file?.title\" class=\"h3\">{{file.title}}</div>\n <ng-container *ngIf=\"edit\">\n <textarea type=\"text\"\n placeholder=\"Enter image title...\"\n class=\"edit-textarea\"\n (change)=\"changeTitle($event)\"\n [innerText]=\"file && file.title ? file.title : ''\"></textarea>\n <div class=\"edit-button\">\n <button\n mat-icon-button\n aria-label=\"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\"\n title=\"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\"\n class=\"color-green\"\n (click)=\"saveTitle(file)\"\n >\n <mat-icon>check</mat-icon>\n </button>\n <button\n mat-icon-button\n aria-label=\"\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C\"\n title=\"\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C\"\n class=\"color-red\"\n (click)=\"edit = false\"\n >\n <mat-icon>close</mat-icon>\n </button>\n </div>\n </ng-container>\n </div>\n </div>\n <shared-spinner\n *ngIf=\"loading\"\n [overlay]=\"true\"\n [diameter]=\"20\"\n [color]=\"'blue'\"></shared-spinner>\n</div>\n", styles: [":host.cdk-drag-placeholder .fuse-card{z-index:1000}.custom-placeholder{background:#ccc;border:dotted 3px #999;min-height:60px;transition:transform .25s cubic-bezier(0,0,.2,1)}.fuse-card{margin:5px;position:relative;max-width:250px;min-width:250px;max-height:160px;min-height:160px;cursor:move}.fuse-card.fuse-card-sort{max-width:200px;min-width:200px;padding:5px!important}.fuse-card.fuse-card-sort .top-panel,.fuse-card.fuse-card-sort .cart-title{display:none}.fuse-card.fuse-card-sort .image{width:200px;height:100px}.fuse-card:hover .cart-title,.fuse-card:hover .top-panel{background:#efefefc7;transform:scale(1);margin-top:0;margin-right:0}.fuse-card:hover .cart-title button mat-icon,.fuse-card:hover .top-panel button mat-icon{transform:scale(.8)}.fuse-card:hover .cart-title .h3{font-size:14px}.fuse-card .image{width:250px;height:160px;text-align:center;background-size:cover;background-position:center top;border-radius:6px;overflow:hidden}.fuse-card .top-panel,.fuse-card .cart-title{background:#efefef80;transition:all .2s linear}.fuse-card .top-panel:hover,.fuse-card .cart-title:hover{background:#efefef}.fuse-card .top-panel{position:absolute;right:0;border-bottom-left-radius:12px;transform:scale(.8);margin-top:-4px;margin-right:-12px}.fuse-card .top-panel button.color-green mat-icon{color:#236126cc}.fuse-card .top-panel button.color-green:hover mat-icon{color:#4caf50}.fuse-card .top-panel button.color-red mat-icon{color:#f44336cc}.fuse-card .top-panel button.color-red:hover mat-icon{color:#f44336}.fuse-card .top-panel button mat-icon{color:#323232cc}.fuse-card .top-panel button mat-icon{transition:all .2s linear;transform:scale(1)}.fuse-card .top-panel button:hover mat-icon{color:#000;transform:scale(1)}.fuse-card .top-panel button mat-icon{font-size:20px}.fuse-card .cart-title{position:absolute;left:0;right:0;bottom:0;font-size:12px;padding:10px;display:flex;transition:all .3s linear;border-bottom-left-radius:5px;border-bottom-right-radius:5px}.fuse-card .cart-title.empty-title{background:transparent}.fuse-card .cart-title.edit-title{background:#fff}.fuse-card .cart-title.edit-title button mat-icon:hover{color:#7f7f7f}.fuse-card .cart-title .h3{flex-grow:1;padding:9px 5px 9px 10px;color:#fff;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transition:all .2s linear;font-size:12px}.fuse-card .cart-title .h3:hover{color:#079be5}.fuse-card .cart-title .edit-block{transition:all .2s linear}.fuse-card .cart-title .edit-block.edit-block-open{background:#f5f5f5}.fuse-card .cart-title textarea.edit-textarea{flex-grow:1;background-color:transparent;border:0;resize:none;padding:5px 0 5px 5px}.fuse-card .cart-title .edit-button{width:40px}.fuse-card .cart-title .edit-button button mat-icon{color:#d0d0d0;transition:all .2s linear}.fuse-card .cart-title .edit-button button mat-icon:hover{color:#fff;box-shadow:0 0 3px}.fuse-card.fuse-card-sort{padding:20px 10px;border-right:solid 1px #ccc;color:#000000de;display:flex;flex-direction:row;align-items:center;justify-content:space-between;box-sizing:border-box;cursor:move;background:#fff;font-size:14px;flex-grow:1;flex-basis:0}.cdk-drag-preview{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.cdk-drag-placeholder{opacity:0}.cdk-drag-animating{transition:transform .25s cubic-bezier(0,0,.2,1)}.fuse-card:last-child{border:none}.card-list.cdk-drop-list-dragging .fuse-card:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}\n"] }]
|
|
9150
|
+
args: [{ selector: 'shared-file-list-card', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div class=\"fuse-card\"\n [ngClass]=\"{'fuse-card-sort': mode === ModeSort}\">\n <div class=\"top-panel\" fxLayout=\"row\" fxLayoutAlign=\"end center\">\n <button\n mat-icon-button\n aria-label=\"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\"\n title=\"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\"\n class=\"color-green\"\n (click)=\"editFile()\"\n >\n <mat-icon>edit</mat-icon>\n </button>\n <button mat-icon-button\n aria-label=\"\u0421\u0434\u0435\u043B\u0430\u0442\u044C \u0433\u043B\u0430\u0432\u043D\u044B\u043C\"\n title=\"\u0421\u0434\u0435\u043B\u0430\u0442\u044C \u0433\u043B\u0430\u0432\u043D\u044B\u043C\"\n (click)=\"setMain(file.id, file.main)\"\n [ngClass]=\"{'cursor-no-pointer': file.main}\">\n <mat-icon *ngIf=\"!file.main\">star_border</mat-icon>\n <mat-icon *ngIf=\"file.main\">star</mat-icon>\n </button>\n <button\n mat-icon-button\n aria-label=\"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0444\u0430\u0439\u043B\"\n title=\"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0444\u0430\u0439\u043B\"\n class=\"color-red\"\n (click)=\"fileDelete(file.id)\"\n >\n <mat-icon>delete_outline</mat-icon>\n </button>\n </div>\n <div class=\"image\"\n [ngStyle]=\"{'background-image': file.versions ? 'url(' + file.versions[2] + ')' : 'none'}\"></div>\n <div class=\"p-10 cart-title p-0\"\n [ngClass]=\"{'edit-title': edit, 'empty-title': !file.title}\">\n <div class=\"width100 display-flex-space-between edit-block\"\n [ngClass]=\"{'edit-block-open': edit}\">\n\n <div *ngIf=\"!edit && file?.title\" class=\"h3\">{{file.title}}</div>\n <ng-container *ngIf=\"edit\">\n <textarea type=\"text\"\n placeholder=\"Enter image title...\"\n class=\"edit-textarea\"\n (change)=\"changeTitle($event)\"\n [innerText]=\"file && file.title ? file.title : ''\"></textarea>\n <div class=\"edit-button\">\n <button\n mat-icon-button\n aria-label=\"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\"\n title=\"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\"\n class=\"color-green\"\n (click)=\"saveTitle(file)\"\n >\n <mat-icon>check</mat-icon>\n </button>\n <button\n mat-icon-button\n aria-label=\"\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C\"\n title=\"\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C\"\n class=\"color-red\"\n (click)=\"edit = false\"\n >\n <mat-icon>close</mat-icon>\n </button>\n </div>\n </ng-container>\n </div>\n </div>\n <shared-spinner\n *ngIf=\"loading\"\n [overlay]=\"true\"\n [diameter]=\"20\"\n [color]=\"'blue'\"></shared-spinner>\n</div>\n", styles: [":host.cdk-drag-placeholder .fuse-card{z-index:1000}.custom-placeholder{background:#ccc;border:dotted 3px #999;min-height:60px;transition:transform .25s cubic-bezier(0,0,.2,1)}.fuse-card{margin:5px;position:relative;max-width:250px;min-width:250px;max-height:160px;min-height:160px;cursor:move}.fuse-card.fuse-card-sort{max-width:200px;min-width:200px;padding:5px!important}.fuse-card.fuse-card-sort .top-panel,.fuse-card.fuse-card-sort .cart-title{display:none}.fuse-card.fuse-card-sort .image{width:200px;height:100px}.fuse-card:hover .cart-title,.fuse-card:hover .top-panel{background:#efefefc7;transform:scale(1);margin-top:0;margin-right:0}.fuse-card:hover .cart-title button mat-icon,.fuse-card:hover .top-panel button mat-icon{transform:scale(.8)}.fuse-card:hover .cart-title .h3{font-size:14px}.fuse-card .image{width:250px;height:160px;text-align:center;background-size:cover;background-position:center top;border-radius:6px;overflow:hidden}.fuse-card .top-panel,.fuse-card .cart-title{background:#efefef80;transition:all .2s linear}.fuse-card .top-panel:hover,.fuse-card .cart-title:hover{background:#efefef}.fuse-card .top-panel{position:absolute;right:0;border-bottom-left-radius:12px;transform:scale(.8);margin-top:-4px;margin-right:-12px}.fuse-card .top-panel button.color-green mat-icon{color:#236126cc}.fuse-card .top-panel button.color-green:hover mat-icon{color:#4caf50}.fuse-card .top-panel button.color-red mat-icon{color:#f44336cc}.fuse-card .top-panel button.color-red:hover mat-icon{color:#f44336}.fuse-card .top-panel button mat-icon{color:#323232cc}.fuse-card .top-panel button mat-icon{transition:all .2s linear;transform:scale(1)}.fuse-card .top-panel button:hover mat-icon{color:#000;transform:scale(1)}.fuse-card .top-panel button mat-icon{font-size:20px}.fuse-card .cart-title{position:absolute;left:0;right:0;bottom:0;font-size:12px;padding:10px;display:flex;transition:all .3s linear;border-bottom-left-radius:5px;border-bottom-right-radius:5px}.fuse-card .cart-title.empty-title{background:transparent}.fuse-card .cart-title.edit-title{background:#fff}.fuse-card .cart-title.edit-title button mat-icon:hover{color:#7f7f7f}.fuse-card .cart-title .h3{flex-grow:1;padding:9px 5px 9px 10px;color:#fff;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transition:all .2s linear;font-size:12px}.fuse-card .cart-title .h3:hover{color:#079be5}.fuse-card .cart-title .edit-block{transition:all .2s linear}.fuse-card .cart-title .edit-block.edit-block-open{background:#f5f5f5}.fuse-card .cart-title textarea.edit-textarea{flex-grow:1;background-color:transparent;border:0;resize:none;padding:5px 0 5px 5px}.fuse-card .cart-title .edit-button{width:40px}.fuse-card .cart-title .edit-button button mat-icon{color:#d0d0d0;transition:all .2s linear}.fuse-card .cart-title .edit-button button mat-icon:hover{color:#fff;box-shadow:0 0 3px}.fuse-card.fuse-card-sort{padding:20px 10px;border-right:solid 1px #ccc;color:#000000de;display:flex;flex-direction:row;align-items:center;justify-content:space-between;box-sizing:border-box;cursor:move;background:#fff;font-size:14px;flex-grow:1;flex-basis:0}.cdk-drag-preview{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.cdk-drag-placeholder{opacity:0}.cdk-drag-animating{transition:transform .25s cubic-bezier(0,0,.2,1)}.fuse-card:last-child{border:none}.card-list.cdk-drop-list-dragging .fuse-card:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}\n"] }]
|
|
9151
9151
|
}], ctorParameters: () => [{ type: FilesFacade }, { type: NotificationsFacade }, { type: DialogService }, { type: i0.ChangeDetectorRef }, { type: RequestsFacade }], propDecorators: { file: [{
|
|
9152
9152
|
type: Input
|
|
9153
9153
|
}], section: [{
|
|
@@ -9224,12 +9224,12 @@ class FilesUploadListImagesComponent {
|
|
|
9224
9224
|
});
|
|
9225
9225
|
this.changeSort.emit({ newSorting, storedSorting: this.storedFirstSorting });
|
|
9226
9226
|
}
|
|
9227
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9228
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
9227
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FilesUploadListImagesComponent, deps: [{ token: FilesFacade }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9228
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: FilesUploadListImagesComponent, isStandalone: false, selector: "shared-files-upload-list-images", inputs: { section: "section", filesType: "filesType", itemId: "itemId", mode: "mode" }, outputs: { changeSort: "changeSort" }, ngImport: i0, template: "<div class=\"cards position-relative\">\n <ng-container *ngIf=\"files$ | async as files; else loading\">\n <div *ngIf=\"files.length\"\n cdkDropList\n cdkDropListOrientation=\"horizontal\"\n (cdkDropListDropped)=\"drop($event)\"\n class=\"card-list\">\n <!-- trackBy: trackById -->\n <shared-file-list-card\n cdkDrag\n *ngFor=\"let file of files;\"\n @hideToTopOpacity\n [file]=\"file\"\n [section]=\"section\"\n [itemId]=\"itemId\"></shared-file-list-card>\n </div>\n <div *ngIf=\"!files.length\" class=\"empty-list\">\n \u0421\u043F\u0438\u0441\u043E\u043A \u043F\u0443\u0441\u0442\n </div>\n </ng-container>\n</div>\n<ng-template #loading>\n <shared-spinner [overlay]=\"true\"></shared-spinner>\n</ng-template>\n", styles: [".image{text-align:center;background-size:cover;background-position:center top;width:318px;height:200px;border-radius:6px;overflow:hidden}.custom-placeholder{background:#ccc;border:dotted 3px #999;min-height:60px;transition:transform .25s cubic-bezier(0,0,.2,1)}.cards,.card-list{display:flex;flex-wrap:wrap}.card-list-sort{flex-direction:column;flex-wrap:nowrap;overflow:hidden}.cdk-drag-preview{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.cdk-drag-placeholder{opacity:0}.cdk-drag-animating{transition:transform .25s cubic-bezier(0,0,.2,1)}.fuse-card:last-child{border:none}.card-list.cdk-drop-list-dragging .fuse-card:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}\n"], dependencies: [{ kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3$3.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep", "cdkDropListElementContainer"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: i3$3.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "component", type: SpinnerComponent, selector: "shared-spinner", inputs: ["overlay", "diameter", "color", "position"] }, { kind: "component", type: FileListCardComponent, selector: "shared-file-list-card", inputs: ["file", "section", "itemId", "mode"] }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }], animations: [hideToTopOpacity], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9229
9229
|
}
|
|
9230
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9230
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FilesUploadListImagesComponent, decorators: [{
|
|
9231
9231
|
type: Component,
|
|
9232
|
-
args: [{ selector: 'shared-files-upload-list-images', changeDetection: ChangeDetectionStrategy.OnPush, animations: [hideToTopOpacity], template: "<div class=\"cards position-relative\">\n <ng-container *ngIf=\"files$ | async as files; else loading\">\n <div *ngIf=\"files.length\"\n cdkDropList\n cdkDropListOrientation=\"horizontal\"\n (cdkDropListDropped)=\"drop($event)\"\n class=\"card-list\">\n <!-- trackBy: trackById -->\n <shared-file-list-card\n cdkDrag\n *ngFor=\"let file of files;\"\n @hideToTopOpacity\n [file]=\"file\"\n [section]=\"section\"\n [itemId]=\"itemId\"></shared-file-list-card>\n </div>\n <div *ngIf=\"!files.length\" class=\"empty-list\">\n \u0421\u043F\u0438\u0441\u043E\u043A \u043F\u0443\u0441\u0442\n </div>\n </ng-container>\n</div>\n<ng-template #loading>\n <shared-spinner [overlay]=\"true\"></shared-spinner>\n</ng-template>\n", styles: [".image{text-align:center;background-size:cover;background-position:center top;width:318px;height:200px;border-radius:6px;overflow:hidden}.custom-placeholder{background:#ccc;border:dotted 3px #999;min-height:60px;transition:transform .25s cubic-bezier(0,0,.2,1)}.cards,.card-list{display:flex;flex-wrap:wrap}.card-list-sort{flex-direction:column;flex-wrap:nowrap;overflow:hidden}.cdk-drag-preview{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.cdk-drag-placeholder{opacity:0}.cdk-drag-animating{transition:transform .25s cubic-bezier(0,0,.2,1)}.fuse-card:last-child{border:none}.card-list.cdk-drop-list-dragging .fuse-card:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}\n"] }]
|
|
9232
|
+
args: [{ selector: 'shared-files-upload-list-images', changeDetection: ChangeDetectionStrategy.OnPush, animations: [hideToTopOpacity], standalone: false, template: "<div class=\"cards position-relative\">\n <ng-container *ngIf=\"files$ | async as files; else loading\">\n <div *ngIf=\"files.length\"\n cdkDropList\n cdkDropListOrientation=\"horizontal\"\n (cdkDropListDropped)=\"drop($event)\"\n class=\"card-list\">\n <!-- trackBy: trackById -->\n <shared-file-list-card\n cdkDrag\n *ngFor=\"let file of files;\"\n @hideToTopOpacity\n [file]=\"file\"\n [section]=\"section\"\n [itemId]=\"itemId\"></shared-file-list-card>\n </div>\n <div *ngIf=\"!files.length\" class=\"empty-list\">\n \u0421\u043F\u0438\u0441\u043E\u043A \u043F\u0443\u0441\u0442\n </div>\n </ng-container>\n</div>\n<ng-template #loading>\n <shared-spinner [overlay]=\"true\"></shared-spinner>\n</ng-template>\n", styles: [".image{text-align:center;background-size:cover;background-position:center top;width:318px;height:200px;border-radius:6px;overflow:hidden}.custom-placeholder{background:#ccc;border:dotted 3px #999;min-height:60px;transition:transform .25s cubic-bezier(0,0,.2,1)}.cards,.card-list{display:flex;flex-wrap:wrap}.card-list-sort{flex-direction:column;flex-wrap:nowrap;overflow:hidden}.cdk-drag-preview{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.cdk-drag-placeholder{opacity:0}.cdk-drag-animating{transition:transform .25s cubic-bezier(0,0,.2,1)}.fuse-card:last-child{border:none}.card-list.cdk-drop-list-dragging .fuse-card:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}\n"] }]
|
|
9233
9233
|
}], ctorParameters: () => [{ type: FilesFacade }], propDecorators: { section: [{
|
|
9234
9234
|
type: Input
|
|
9235
9235
|
}], filesType: [{
|
|
@@ -9322,18 +9322,18 @@ class TableFilesUploadingComponent {
|
|
|
9322
9322
|
id: 'images.uploads'
|
|
9323
9323
|
});
|
|
9324
9324
|
}
|
|
9325
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9326
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
9325
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: TableFilesUploadingComponent, deps: [{ token: FilesFacade }, { token: NotificationsFacade }, { token: i0.ChangeDetectorRef }, { token: AuthenticationService }, { token: CORE_CONFIG }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9326
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: TableFilesUploadingComponent, isStandalone: false, selector: "shared-table-files-uploading", inputs: { section: "section", itemId: "itemId", haveElevation: "haveElevation" }, outputs: { loadingCompleted: "loadingCompleted" }, ngImport: i0, template: "<div\n class=\"page-layout simple fullwidth fileUploads\"\n fxLayout=\"column\">\n <!-- CONTENT -->\n <div class=\"p-24\"\n [ngClass]=\"{'mat-card mat-elevation-z4': haveElevation}\">\n <div class=\"row\">\n <div class=\"col-md-12\" *ngIf=\"!uploader.queue.length\" [@appearFromLeftHideToRight]>\n <div class=\"h2 mb-24\">\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0430\u0439\u043B\u044B</div>\n <div ng2FileDrop\n [ngClass]=\"{'nv-file-over': hasBaseDropZoneOver}\"\n (fileOver)=\"fileOverBase($event)\"\n [uploader]=\"uploader\"\n class=\"well my-drop-zone\">\n \u041F\u0435\u0440\u0435\u043D\u0435\u0441\u0438\u0442\u0435 \u0444\u0430\u0439\u043B\u044B\n </div>\n <div class=\"p-5\">\n \u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0430\u0439\u043B\u044B: <input type=\"file\" ng2FileSelect [uploader]=\"uploader\" multiple/><br/>\n </div>\n </div>\n\n <div *ngIf=\"uploader && uploader.queue.length\" [@appearFromLeftHideToRight] class=\"col-md-12\">\n <ng-container *ngIf=\"allProgress$ | async as allProgress\">\n <ng-container *ngIf=\"itemsProgress$ | async as itemsProgress\">\n <ng-container *ngIf=\"allProgress !== 100\">\n <h3>\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430 \u043A\u0430\u0440\u0442\u0438\u043D\u043E\u043A</h3>\n <table class=\"table\">\n <thead>\n <tr>\n <th width=\"50%\">\u0424\u0430\u0439\u043B</th>\n <th>\u0420\u0430\u0437\u043C\u0435\u0440</th>\n <th>\u041F\u0440\u043E\u0433\u0440\u0435\u0441\u0441</th>\n </tr>\n </thead>\n <tbody>\n <ng-container *ngFor=\"let item of uploader.queue\">\n <tr [@appearFromLeftHideToRight] *ngIf=\"itemsProgress[item?.file?.name] !== 100\">\n <td><strong>{{ item?.file?.name }}</strong></td>\n <td nowrap>{{ item?.file?.size / 1024 / 1024 | number:'.2' }} MB</td>\n <td>\n <div class=\"progress\">\n <mat-progress-bar\n class=\"example-margin\"\n color=\"warn\"\n mode=\"determinate\"\n [value]=\"itemsProgress[item?.file?.name] || 0\">\n </mat-progress-bar>\n </div>\n </td>\n </tr>\n </ng-container>\n </tbody>\n </table>\n <div>\n <div class=\"progress-block\">\n Queue progress:\n <div class=\"progress\">\n <mat-progress-bar\n class=\"example-margin\"\n color=\"warn\"\n mode=\"determinate\"\n [value]=\"allProgress\">\n </mat-progress-bar>\n </div>\n </div>\n <!--<div class=\"text-right\">\n <button mat-flat-button color=\"accent\"\n class=\"mr-5\"\n (click)=\"uploader.uploadAll()\"\n [disabled]=\"!uploader.getNotUploadedItems().length\">\n <mat-icon class=\"fs-18\">get_app</mat-icon>\n \u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0432\u0441\u0435\n </button>\n <button mat-flat-button color=\"primary\"\n class=\"mr-5\"\n (click)=\"uploader.cancelAll()\"\n [disabled]=\"!uploader.isUploading\">\n <mat-icon class=\"fs-18\">clear</mat-icon>\n \u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u0432\u0441\u0435\n </button>\n <button mat-flat-button color=\"warn\"\n class=\"mr-5\"\n (click)=\"uploader.clearQueue()\"\n [disabled]=\"!uploader.queue.length\">\n <mat-icon class=\"fs-18\">delete_outline</mat-icon>\n \u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0432\u0441\u0435\n </button>\n </div>-->\n </div>\n </ng-container>\n </ng-container>\n </ng-container>\n </div>\n </div>\n </div>\n</div>\n", styles: [":host{display:block}.fileUploads{margin-bottom:10px;margin-left:-5px}.fileUploads .mat-card{margin:5px}.nv-file-over{border:dotted 3px red}.cursor-no-pointer{cursor:auto}.table{width:100%}.table tr{line-height:40px;border-top:1px solid #efefef}.table thead{background:#efefef}.table thead th{padding:0 10px}.my-drop-zone{border:dotted 3px lightgray;padding:10px;margin-bottom:10px}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5$2.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "directive", type: i6$1.FileDropDirective, selector: "[ng2FileDrop]", inputs: ["uploader"], outputs: ["fileOver", "onFileDrop"] }, { kind: "directive", type: i6$1.FileSelectDirective, selector: "[ng2FileSelect]", inputs: ["uploader"], outputs: ["onFileSelected"] }, { kind: "directive", type: i7$1.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }, { kind: "pipe", type: i1$3.DecimalPipe, name: "number" }], animations: [
|
|
9327
9327
|
hideToTopOpacity,
|
|
9328
9328
|
appearFromLeftHideToRight
|
|
9329
9329
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9330
9330
|
}
|
|
9331
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9331
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: TableFilesUploadingComponent, decorators: [{
|
|
9332
9332
|
type: Component,
|
|
9333
9333
|
args: [{ selector: 'shared-table-files-uploading', animations: [
|
|
9334
9334
|
hideToTopOpacity,
|
|
9335
9335
|
appearFromLeftHideToRight
|
|
9336
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n class=\"page-layout simple fullwidth fileUploads\"\n fxLayout=\"column\">\n <!-- CONTENT -->\n <div class=\"p-24\"\n [ngClass]=\"{'mat-card mat-elevation-z4': haveElevation}\">\n <div class=\"row\">\n <div class=\"col-md-12\" *ngIf=\"!uploader.queue.length\" [@appearFromLeftHideToRight]>\n <div class=\"h2 mb-24\">\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0430\u0439\u043B\u044B</div>\n <div ng2FileDrop\n [ngClass]=\"{'nv-file-over': hasBaseDropZoneOver}\"\n (fileOver)=\"fileOverBase($event)\"\n [uploader]=\"uploader\"\n class=\"well my-drop-zone\">\n \u041F\u0435\u0440\u0435\u043D\u0435\u0441\u0438\u0442\u0435 \u0444\u0430\u0439\u043B\u044B\n </div>\n <div class=\"p-5\">\n \u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0430\u0439\u043B\u044B: <input type=\"file\" ng2FileSelect [uploader]=\"uploader\" multiple/><br/>\n </div>\n </div>\n\n <div *ngIf=\"uploader && uploader.queue.length\" [@appearFromLeftHideToRight] class=\"col-md-12\">\n <ng-container *ngIf=\"allProgress$ | async as allProgress\">\n <ng-container *ngIf=\"itemsProgress$ | async as itemsProgress\">\n <ng-container *ngIf=\"allProgress !== 100\">\n <h3>\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430 \u043A\u0430\u0440\u0442\u0438\u043D\u043E\u043A</h3>\n <table class=\"table\">\n <thead>\n <tr>\n <th width=\"50%\">\u0424\u0430\u0439\u043B</th>\n <th>\u0420\u0430\u0437\u043C\u0435\u0440</th>\n <th>\u041F\u0440\u043E\u0433\u0440\u0435\u0441\u0441</th>\n </tr>\n </thead>\n <tbody>\n <ng-container *ngFor=\"let item of uploader.queue\">\n <tr [@appearFromLeftHideToRight] *ngIf=\"itemsProgress[item?.file?.name] !== 100\">\n <td><strong>{{ item?.file?.name }}</strong></td>\n <td nowrap>{{ item?.file?.size / 1024 / 1024 | number:'.2' }} MB</td>\n <td>\n <div class=\"progress\">\n <mat-progress-bar\n class=\"example-margin\"\n color=\"warn\"\n mode=\"determinate\"\n [value]=\"itemsProgress[item?.file?.name] || 0\">\n </mat-progress-bar>\n </div>\n </td>\n </tr>\n </ng-container>\n </tbody>\n </table>\n <div>\n <div class=\"progress-block\">\n Queue progress:\n <div class=\"progress\">\n <mat-progress-bar\n class=\"example-margin\"\n color=\"warn\"\n mode=\"determinate\"\n [value]=\"allProgress\">\n </mat-progress-bar>\n </div>\n </div>\n <!--<div class=\"text-right\">\n <button mat-flat-button color=\"accent\"\n class=\"mr-5\"\n (click)=\"uploader.uploadAll()\"\n [disabled]=\"!uploader.getNotUploadedItems().length\">\n <mat-icon class=\"fs-18\">get_app</mat-icon>\n \u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0432\u0441\u0435\n </button>\n <button mat-flat-button color=\"primary\"\n class=\"mr-5\"\n (click)=\"uploader.cancelAll()\"\n [disabled]=\"!uploader.isUploading\">\n <mat-icon class=\"fs-18\">clear</mat-icon>\n \u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u0432\u0441\u0435\n </button>\n <button mat-flat-button color=\"warn\"\n class=\"mr-5\"\n (click)=\"uploader.clearQueue()\"\n [disabled]=\"!uploader.queue.length\">\n <mat-icon class=\"fs-18\">delete_outline</mat-icon>\n \u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0432\u0441\u0435\n </button>\n </div>-->\n </div>\n </ng-container>\n </ng-container>\n </ng-container>\n </div>\n </div>\n </div>\n</div>\n", styles: [":host{display:block}.fileUploads{margin-bottom:10px;margin-left:-5px}.fileUploads .mat-card{margin:5px}.nv-file-over{border:dotted 3px red}.cursor-no-pointer{cursor:auto}.table{width:100%}.table tr{line-height:40px;border-top:1px solid #efefef}.table thead{background:#efefef}.table thead th{padding:0 10px}.my-drop-zone{border:dotted 3px lightgray;padding:10px;margin-bottom:10px}\n"] }]
|
|
9336
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div\n class=\"page-layout simple fullwidth fileUploads\"\n fxLayout=\"column\">\n <!-- CONTENT -->\n <div class=\"p-24\"\n [ngClass]=\"{'mat-card mat-elevation-z4': haveElevation}\">\n <div class=\"row\">\n <div class=\"col-md-12\" *ngIf=\"!uploader.queue.length\" [@appearFromLeftHideToRight]>\n <div class=\"h2 mb-24\">\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0430\u0439\u043B\u044B</div>\n <div ng2FileDrop\n [ngClass]=\"{'nv-file-over': hasBaseDropZoneOver}\"\n (fileOver)=\"fileOverBase($event)\"\n [uploader]=\"uploader\"\n class=\"well my-drop-zone\">\n \u041F\u0435\u0440\u0435\u043D\u0435\u0441\u0438\u0442\u0435 \u0444\u0430\u0439\u043B\u044B\n </div>\n <div class=\"p-5\">\n \u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0430\u0439\u043B\u044B: <input type=\"file\" ng2FileSelect [uploader]=\"uploader\" multiple/><br/>\n </div>\n </div>\n\n <div *ngIf=\"uploader && uploader.queue.length\" [@appearFromLeftHideToRight] class=\"col-md-12\">\n <ng-container *ngIf=\"allProgress$ | async as allProgress\">\n <ng-container *ngIf=\"itemsProgress$ | async as itemsProgress\">\n <ng-container *ngIf=\"allProgress !== 100\">\n <h3>\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430 \u043A\u0430\u0440\u0442\u0438\u043D\u043E\u043A</h3>\n <table class=\"table\">\n <thead>\n <tr>\n <th width=\"50%\">\u0424\u0430\u0439\u043B</th>\n <th>\u0420\u0430\u0437\u043C\u0435\u0440</th>\n <th>\u041F\u0440\u043E\u0433\u0440\u0435\u0441\u0441</th>\n </tr>\n </thead>\n <tbody>\n <ng-container *ngFor=\"let item of uploader.queue\">\n <tr [@appearFromLeftHideToRight] *ngIf=\"itemsProgress[item?.file?.name] !== 100\">\n <td><strong>{{ item?.file?.name }}</strong></td>\n <td nowrap>{{ item?.file?.size / 1024 / 1024 | number:'.2' }} MB</td>\n <td>\n <div class=\"progress\">\n <mat-progress-bar\n class=\"example-margin\"\n color=\"warn\"\n mode=\"determinate\"\n [value]=\"itemsProgress[item?.file?.name] || 0\">\n </mat-progress-bar>\n </div>\n </td>\n </tr>\n </ng-container>\n </tbody>\n </table>\n <div>\n <div class=\"progress-block\">\n Queue progress:\n <div class=\"progress\">\n <mat-progress-bar\n class=\"example-margin\"\n color=\"warn\"\n mode=\"determinate\"\n [value]=\"allProgress\">\n </mat-progress-bar>\n </div>\n </div>\n <!--<div class=\"text-right\">\n <button mat-flat-button color=\"accent\"\n class=\"mr-5\"\n (click)=\"uploader.uploadAll()\"\n [disabled]=\"!uploader.getNotUploadedItems().length\">\n <mat-icon class=\"fs-18\">get_app</mat-icon>\n \u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0432\u0441\u0435\n </button>\n <button mat-flat-button color=\"primary\"\n class=\"mr-5\"\n (click)=\"uploader.cancelAll()\"\n [disabled]=\"!uploader.isUploading\">\n <mat-icon class=\"fs-18\">clear</mat-icon>\n \u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u0432\u0441\u0435\n </button>\n <button mat-flat-button color=\"warn\"\n class=\"mr-5\"\n (click)=\"uploader.clearQueue()\"\n [disabled]=\"!uploader.queue.length\">\n <mat-icon class=\"fs-18\">delete_outline</mat-icon>\n \u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0432\u0441\u0435\n </button>\n </div>-->\n </div>\n </ng-container>\n </ng-container>\n </ng-container>\n </div>\n </div>\n </div>\n</div>\n", styles: [":host{display:block}.fileUploads{margin-bottom:10px;margin-left:-5px}.fileUploads .mat-card{margin:5px}.nv-file-over{border:dotted 3px red}.cursor-no-pointer{cursor:auto}.table{width:100%}.table tr{line-height:40px;border-top:1px solid #efefef}.table thead{background:#efefef}.table thead th{padding:0 10px}.my-drop-zone{border:dotted 3px lightgray;padding:10px;margin-bottom:10px}\n"] }]
|
|
9337
9337
|
}], ctorParameters: () => [{ type: FilesFacade }, { type: NotificationsFacade }, { type: i0.ChangeDetectorRef }, { type: AuthenticationService }, { type: undefined, decorators: [{
|
|
9338
9338
|
type: Inject,
|
|
9339
9339
|
args: [CORE_CONFIG]
|
|
@@ -9395,20 +9395,20 @@ class FilesUploadComponent {
|
|
|
9395
9395
|
loadingCompleted() {
|
|
9396
9396
|
this.uploadFilesState = this.closeState;
|
|
9397
9397
|
}
|
|
9398
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9399
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
9398
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FilesUploadComponent, deps: [{ token: FilesFacade }, { token: RequestsFacade }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9399
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: FilesUploadComponent, isStandalone: false, selector: "shared-files-upload", inputs: { section: "section", itemId: "itemId", filesType: "filesType", haveElevation: "haveElevation" }, ngImport: i0, template: "<div class=\"text-center mb-14 top-button\">\n <button\n *ngIf=\"!changedSort\"\n @appearOpacity\n mat-stroked-button\n color=\"accent\"\n (click)=\"uploadFilesToggle()\">\n <mat-icon class=\"fs-18\">add_a_photo</mat-icon>\n \u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0438\n </button>\n\n <button *ngIf=\"changedSort\"\n @appearOpacity\n mat-stroked-button\n color=\"primary\"\n (click)=\"cancelSort()\">\n <mat-icon class=\"fs-18\">cancel</mat-icon>\n \u041E\u0442\u043C\u0435\u043D\u0430\n </button>\n <button\n *ngIf=\"changedSort\"\n @appearOpacity\n class=\"ml-5\"\n mat-stroked-button\n color=\"accent\"\n [disabled]=\"!fileOrders\"\n (click)=\"saveSort()\">\n <mat-icon class=\"fs-18\">save</mat-icon>\n \u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u043A\u0443\n </button>\n</div>\n\n<shared-table-files-uploading\n [@appearFromLeft]\n *ngIf=\"uploadFilesState === openState\"\n [section]=\"section\"\n [itemId]=\"itemId\"\n [haveElevation]=\"haveElevation\"\n (loadingCompleted)=\"loadingCompleted()\"></shared-table-files-uploading>\n\n<shared-files-upload-list-images\n [@appearFromLeft]\n [section]=\"section\"\n [filesType]=\"filesType\"\n [itemId]=\"itemId\"\n [mode]=\"mode\"\n (changeSort)=\"changeSort($event)\"></shared-files-upload-list-images>\n\n<ng-container *ngIf=\"request$ | async as request\">\n <shared-spinner *ngIf=\"request && request.status === loadingStatus\" [overlay]=\"true\"></shared-spinner>\n</ng-container>\n", styles: [":host{width:100%;padding:10px}.another-file-over-class{border:dotted 3px green}html,body{height:100%}.cursor-no-pointer{cursor:auto}.edit-title{display:flex;width:100%}.edit-title textarea{flex-grow:1}.edit-title button{width:40px}button mat-icon{margin-right:5px;font-size:20px!important}.mb-14{margin-bottom:14px}.progress-block{margin-bottom:10px}.ml-5{margin-left:5px}.top-button{position:relative;z-index:10}.sub-button{opacity:0;margin-top:-50px}\n"], dependencies: [{ kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: SpinnerComponent, selector: "shared-spinner", inputs: ["overlay", "diameter", "color", "position"] }, { kind: "component", type: i5.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: FilesUploadListImagesComponent, selector: "shared-files-upload-list-images", inputs: ["section", "filesType", "itemId", "mode"], outputs: ["changeSort"] }, { kind: "component", type: TableFilesUploadingComponent, selector: "shared-table-files-uploading", inputs: ["section", "itemId", "haveElevation"], outputs: ["loadingCompleted"] }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }], animations: [
|
|
9400
9400
|
appearOpacity,
|
|
9401
9401
|
appearFromLeft,
|
|
9402
9402
|
appearFromLeftHideToRight
|
|
9403
9403
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9404
9404
|
}
|
|
9405
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9405
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FilesUploadComponent, decorators: [{
|
|
9406
9406
|
type: Component,
|
|
9407
9407
|
args: [{ selector: 'shared-files-upload', changeDetection: ChangeDetectionStrategy.OnPush, animations: [
|
|
9408
9408
|
appearOpacity,
|
|
9409
9409
|
appearFromLeft,
|
|
9410
9410
|
appearFromLeftHideToRight
|
|
9411
|
-
], template: "<div class=\"text-center mb-14 top-button\">\n <button\n *ngIf=\"!changedSort\"\n @appearOpacity\n mat-stroked-button\n color=\"accent\"\n (click)=\"uploadFilesToggle()\">\n <mat-icon class=\"fs-18\">add_a_photo</mat-icon>\n \u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0438\n </button>\n\n <button *ngIf=\"changedSort\"\n @appearOpacity\n mat-stroked-button\n color=\"primary\"\n (click)=\"cancelSort()\">\n <mat-icon class=\"fs-18\">cancel</mat-icon>\n \u041E\u0442\u043C\u0435\u043D\u0430\n </button>\n <button\n *ngIf=\"changedSort\"\n @appearOpacity\n class=\"ml-5\"\n mat-stroked-button\n color=\"accent\"\n [disabled]=\"!fileOrders\"\n (click)=\"saveSort()\">\n <mat-icon class=\"fs-18\">save</mat-icon>\n \u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u043A\u0443\n </button>\n</div>\n\n<shared-table-files-uploading\n [@appearFromLeft]\n *ngIf=\"uploadFilesState === openState\"\n [section]=\"section\"\n [itemId]=\"itemId\"\n [haveElevation]=\"haveElevation\"\n (loadingCompleted)=\"loadingCompleted()\"></shared-table-files-uploading>\n\n<shared-files-upload-list-images\n [@appearFromLeft]\n [section]=\"section\"\n [filesType]=\"filesType\"\n [itemId]=\"itemId\"\n [mode]=\"mode\"\n (changeSort)=\"changeSort($event)\"></shared-files-upload-list-images>\n\n<ng-container *ngIf=\"request$ | async as request\">\n <shared-spinner *ngIf=\"request && request.status === loadingStatus\" [overlay]=\"true\"></shared-spinner>\n</ng-container>\n", styles: [":host{width:100%;padding:10px}.another-file-over-class{border:dotted 3px green}html,body{height:100%}.cursor-no-pointer{cursor:auto}.edit-title{display:flex;width:100%}.edit-title textarea{flex-grow:1}.edit-title button{width:40px}button mat-icon{margin-right:5px;font-size:20px!important}.mb-14{margin-bottom:14px}.progress-block{margin-bottom:10px}.ml-5{margin-left:5px}.top-button{position:relative;z-index:10}.sub-button{opacity:0;margin-top:-50px}\n"] }]
|
|
9411
|
+
], standalone: false, template: "<div class=\"text-center mb-14 top-button\">\n <button\n *ngIf=\"!changedSort\"\n @appearOpacity\n mat-stroked-button\n color=\"accent\"\n (click)=\"uploadFilesToggle()\">\n <mat-icon class=\"fs-18\">add_a_photo</mat-icon>\n \u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0438\n </button>\n\n <button *ngIf=\"changedSort\"\n @appearOpacity\n mat-stroked-button\n color=\"primary\"\n (click)=\"cancelSort()\">\n <mat-icon class=\"fs-18\">cancel</mat-icon>\n \u041E\u0442\u043C\u0435\u043D\u0430\n </button>\n <button\n *ngIf=\"changedSort\"\n @appearOpacity\n class=\"ml-5\"\n mat-stroked-button\n color=\"accent\"\n [disabled]=\"!fileOrders\"\n (click)=\"saveSort()\">\n <mat-icon class=\"fs-18\">save</mat-icon>\n \u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u043A\u0443\n </button>\n</div>\n\n<shared-table-files-uploading\n [@appearFromLeft]\n *ngIf=\"uploadFilesState === openState\"\n [section]=\"section\"\n [itemId]=\"itemId\"\n [haveElevation]=\"haveElevation\"\n (loadingCompleted)=\"loadingCompleted()\"></shared-table-files-uploading>\n\n<shared-files-upload-list-images\n [@appearFromLeft]\n [section]=\"section\"\n [filesType]=\"filesType\"\n [itemId]=\"itemId\"\n [mode]=\"mode\"\n (changeSort)=\"changeSort($event)\"></shared-files-upload-list-images>\n\n<ng-container *ngIf=\"request$ | async as request\">\n <shared-spinner *ngIf=\"request && request.status === loadingStatus\" [overlay]=\"true\"></shared-spinner>\n</ng-container>\n", styles: [":host{width:100%;padding:10px}.another-file-over-class{border:dotted 3px green}html,body{height:100%}.cursor-no-pointer{cursor:auto}.edit-title{display:flex;width:100%}.edit-title textarea{flex-grow:1}.edit-title button{width:40px}button mat-icon{margin-right:5px;font-size:20px!important}.mb-14{margin-bottom:14px}.progress-block{margin-bottom:10px}.ml-5{margin-left:5px}.top-button{position:relative;z-index:10}.sub-button{opacity:0;margin-top:-50px}\n"] }]
|
|
9412
9412
|
}], ctorParameters: () => [{ type: FilesFacade }, { type: RequestsFacade }, { type: i0.ChangeDetectorRef }], propDecorators: { section: [{
|
|
9413
9413
|
type: Input
|
|
9414
9414
|
}], itemId: [{
|
|
@@ -9463,8 +9463,8 @@ class FormFieldFilesComponent {
|
|
|
9463
9463
|
value = controlValue;
|
|
9464
9464
|
return value;
|
|
9465
9465
|
}
|
|
9466
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9467
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
9466
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormFieldFilesComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9467
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: FormFieldFilesComponent, isStandalone: false, selector: "shared-form-field-files", inputs: { config: "config", fieldData: "fieldData", form: "form", itemId: "itemId" }, viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"form-field-file\" [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <div class=\"pb-10 width100\">\n <div *ngIf=\"itemId\" class=\"mb-15 display-flex align-baseline form-field-input border-block\">\n <mat-label>{{fieldData.title}}{{fieldData.validators && fieldData.validators.includes('required') ? ' *' : ''}}</mat-label>\n <shared-files-upload [haveElevation]=\"false\"\n [section]=\"fieldData.options?.filesSection\"\n [filesType]=\"fieldData.options?.filesType\"\n [itemId]=\"itemId\"></shared-files-upload>\n\n </div>\n <div *ngIf=\"!itemId\" class=\"display-flex-align-center empty-list\">\n {{emptyTitle}}\n </div>\n </div>\n</div>\n\n\n", styles: [".form-field-file .form-field-input{transition:all .2s ease;min-height:66px;align-items:center;padding-top:0;padding-bottom:0;position:relative}.form-field-file .form-field-input.height-0{height:0;padding:0;border:0}.form-field-file .form-field-input mat-label{color:#5f5b5b;font-size:12px;padding:0 5px;position:absolute;background-color:#fff;top:-10px;left:10px}.form-field-file .form-field-file-image{position:relative;transition:all .2s ease;overflow:hidden;display:flex;justify-content:flex-start;margin:10px 0}.form-field-file .form-field-file-image.height-100{height:100px}.form-field-file .form-field-file-image img{object-fit:cover;width:150px;height:100px;border-radius:4px;overflow:hidden;background:#fff}.form-field-file .form-field-file-image .form-field-file-close{right:0;top:0;cursor:pointer;background:#fff;position:absolute;width:15px;height:15px;display:flex;align-items:center;justify-content:center;border-bottom-left-radius:4px;color:#f44336}.form-field-file .position-absolute{position:absolute}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$4.MatLabel, selector: "mat-label" }, { kind: "component", type: FilesUploadComponent, selector: "shared-files-upload", inputs: ["section", "itemId", "filesType", "haveElevation"] }], animations: [
|
|
9468
9468
|
appearFromLeft,
|
|
9469
9469
|
trigger("inputAnim", [
|
|
9470
9470
|
state("0", style({
|
|
@@ -9482,7 +9482,7 @@ class FormFieldFilesComponent {
|
|
|
9482
9482
|
])
|
|
9483
9483
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9484
9484
|
}
|
|
9485
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9485
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormFieldFilesComponent, decorators: [{
|
|
9486
9486
|
type: Component,
|
|
9487
9487
|
args: [{ selector: "shared-form-field-files", changeDetection: ChangeDetectionStrategy.OnPush, animations: [
|
|
9488
9488
|
appearFromLeft,
|
|
@@ -9500,7 +9500,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
9500
9500
|
animate("500ms")
|
|
9501
9501
|
])
|
|
9502
9502
|
])
|
|
9503
|
-
], template: "<div class=\"form-field-file\" [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <div class=\"pb-10 width100\">\n <div *ngIf=\"itemId\" class=\"mb-15 display-flex align-baseline form-field-input border-block\">\n <mat-label>{{fieldData.title}}{{fieldData.validators && fieldData.validators.includes('required') ? ' *' : ''}}</mat-label>\n <shared-files-upload [haveElevation]=\"false\"\n [section]=\"fieldData.options?.filesSection\"\n [filesType]=\"fieldData.options?.filesType\"\n [itemId]=\"itemId\"></shared-files-upload>\n\n </div>\n <div *ngIf=\"!itemId\" class=\"display-flex-align-center empty-list\">\n {{emptyTitle}}\n </div>\n </div>\n</div>\n\n\n", styles: [".form-field-file .form-field-input{transition:all .2s ease;min-height:66px;align-items:center;padding-top:0;padding-bottom:0;position:relative}.form-field-file .form-field-input.height-0{height:0;padding:0;border:0}.form-field-file .form-field-input mat-label{color:#5f5b5b;font-size:12px;padding:0 5px;position:absolute;background-color:#fff;top:-10px;left:10px}.form-field-file .form-field-file-image{position:relative;transition:all .2s ease;overflow:hidden;display:flex;justify-content:flex-start;margin:10px 0}.form-field-file .form-field-file-image.height-100{height:100px}.form-field-file .form-field-file-image img{object-fit:cover;width:150px;height:100px;border-radius:4px;overflow:hidden;background:#fff}.form-field-file .form-field-file-image .form-field-file-close{right:0;top:0;cursor:pointer;background:#fff;position:absolute;width:15px;height:15px;display:flex;align-items:center;justify-content:center;border-bottom-left-radius:4px;color:#f44336}.form-field-file .position-absolute{position:absolute}\n"] }]
|
|
9503
|
+
], standalone: false, template: "<div class=\"form-field-file\" [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <div class=\"pb-10 width100\">\n <div *ngIf=\"itemId\" class=\"mb-15 display-flex align-baseline form-field-input border-block\">\n <mat-label>{{fieldData.title}}{{fieldData.validators && fieldData.validators.includes('required') ? ' *' : ''}}</mat-label>\n <shared-files-upload [haveElevation]=\"false\"\n [section]=\"fieldData.options?.filesSection\"\n [filesType]=\"fieldData.options?.filesType\"\n [itemId]=\"itemId\"></shared-files-upload>\n\n </div>\n <div *ngIf=\"!itemId\" class=\"display-flex-align-center empty-list\">\n {{emptyTitle}}\n </div>\n </div>\n</div>\n\n\n", styles: [".form-field-file .form-field-input{transition:all .2s ease;min-height:66px;align-items:center;padding-top:0;padding-bottom:0;position:relative}.form-field-file .form-field-input.height-0{height:0;padding:0;border:0}.form-field-file .form-field-input mat-label{color:#5f5b5b;font-size:12px;padding:0 5px;position:absolute;background-color:#fff;top:-10px;left:10px}.form-field-file .form-field-file-image{position:relative;transition:all .2s ease;overflow:hidden;display:flex;justify-content:flex-start;margin:10px 0}.form-field-file .form-field-file-image.height-100{height:100px}.form-field-file .form-field-file-image img{object-fit:cover;width:150px;height:100px;border-radius:4px;overflow:hidden;background:#fff}.form-field-file .form-field-file-image .form-field-file-close{right:0;top:0;cursor:pointer;background:#fff;position:absolute;width:15px;height:15px;display:flex;align-items:center;justify-content:center;border-bottom-left-radius:4px;color:#f44336}.form-field-file .position-absolute{position:absolute}\n"] }]
|
|
9504
9504
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { config: [{
|
|
9505
9505
|
type: Input
|
|
9506
9506
|
}], fieldData: [{
|
|
@@ -9515,8 +9515,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
9515
9515
|
}] } });
|
|
9516
9516
|
|
|
9517
9517
|
class FormFieldFileShowComponent {
|
|
9518
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9519
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
9518
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormFieldFileShowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9519
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: FormFieldFileShowComponent, isStandalone: false, selector: "shared-form-field-file-show", inputs: { config: "config", fieldData: "fieldData", value: "value" }, ngImport: i0, template: "<div [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <div class=\"width100\">\n <label class=\"show-label\">{{fieldData.title}}</label>\n <div\n @appearFromLeft\n *ngIf=\"value\"\n class=\"form-field-file-image\">\n <div class=\"image-block mlr--5\">\n <shared-image class=\"mlr-5 mat-elevation-z3 width150100\"\n [versions]=\"value.versions\"\n [version]=\"1\"\n [haveZoom]=\"true\"></shared-image>\n </div>\n </div>\n </div>\n</div>\n", styles: [".image-block{display:flex;margin-bottom:10px}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ImageComponent, selector: "shared-image", inputs: ["versions", "url", "version", "title", "index", "haveZoom", "imgClass"], outputs: ["clickEvent", "delete"] }], animations: [
|
|
9520
9520
|
appearFromLeft,
|
|
9521
9521
|
trigger('inputAnim', [
|
|
9522
9522
|
state('0', style({
|
|
@@ -9534,7 +9534,7 @@ class FormFieldFileShowComponent {
|
|
|
9534
9534
|
])
|
|
9535
9535
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9536
9536
|
}
|
|
9537
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9537
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormFieldFileShowComponent, decorators: [{
|
|
9538
9538
|
type: Component,
|
|
9539
9539
|
args: [{ selector: 'shared-form-field-file-show', changeDetection: ChangeDetectionStrategy.OnPush, animations: [
|
|
9540
9540
|
appearFromLeft,
|
|
@@ -9552,7 +9552,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
9552
9552
|
animate('500ms')
|
|
9553
9553
|
])
|
|
9554
9554
|
])
|
|
9555
|
-
], template: "<div [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <div class=\"width100\">\n <label class=\"show-label\">{{fieldData.title}}</label>\n <div\n @appearFromLeft\n *ngIf=\"value\"\n class=\"form-field-file-image\">\n <div class=\"image-block mlr--5\">\n <shared-image class=\"mlr-5 mat-elevation-z3 width150100\"\n [versions]=\"value.versions\"\n [version]=\"1\"\n [haveZoom]=\"true\"></shared-image>\n </div>\n </div>\n </div>\n</div>\n", styles: [".image-block{display:flex;margin-bottom:10px}\n"] }]
|
|
9555
|
+
], standalone: false, template: "<div [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <div class=\"width100\">\n <label class=\"show-label\">{{fieldData.title}}</label>\n <div\n @appearFromLeft\n *ngIf=\"value\"\n class=\"form-field-file-image\">\n <div class=\"image-block mlr--5\">\n <shared-image class=\"mlr-5 mat-elevation-z3 width150100\"\n [versions]=\"value.versions\"\n [version]=\"1\"\n [haveZoom]=\"true\"></shared-image>\n </div>\n </div>\n </div>\n</div>\n", styles: [".image-block{display:flex;margin-bottom:10px}\n"] }]
|
|
9556
9556
|
}], propDecorators: { config: [{
|
|
9557
9557
|
type: Input
|
|
9558
9558
|
}], fieldData: [{
|
|
@@ -9574,12 +9574,12 @@ class FormFieldSlideToggleShowComponent {
|
|
|
9574
9574
|
this.falseTitle = this.fieldData.options.toggleView?.falseTitle;
|
|
9575
9575
|
}
|
|
9576
9576
|
}
|
|
9577
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9578
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
9577
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormFieldSlideToggleShowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9578
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: FormFieldSlideToggleShowComponent, isStandalone: false, selector: "shared-form-field-slide-toggle-show", inputs: { config: "config", fieldData: "fieldData", value: "value" }, ngImport: i0, template: "<div [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\" class=\"field-slide-toggle-show\">\n <label class=\"show-label\">{{ fieldData.title }}: </label>\n <div class=\"display-flex-align-center form-field-value\" [ngClass]=\"{'color-green': value, 'color-red': !value }\">\n <ng-container *ngIf=\"value\">\n <mat-icon>check</mat-icon>\n {{ trueTitle }}\n </ng-container>\n <ng-container *ngIf=\"!value\">\n <mat-icon>clear</mat-icon>\n {{ falseTitle }}\n </ng-container>\n </div>\n</div>\n", styles: [".field-slide-toggle-show{display:flex;align-items:center}.field-slide-toggle-show .show-label{margin-bottom:0}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9579
9579
|
}
|
|
9580
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9580
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormFieldSlideToggleShowComponent, decorators: [{
|
|
9581
9581
|
type: Component,
|
|
9582
|
-
args: [{ selector: 'shared-form-field-slide-toggle-show', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\" class=\"field-slide-toggle-show\">\n <label class=\"show-label\">{{ fieldData.title }}: </label>\n <div class=\"display-flex-align-center form-field-value\" [ngClass]=\"{'color-green': value, 'color-red': !value }\">\n <ng-container *ngIf=\"value\">\n <mat-icon>check</mat-icon>\n {{ trueTitle }}\n </ng-container>\n <ng-container *ngIf=\"!value\">\n <mat-icon>clear</mat-icon>\n {{ falseTitle }}\n </ng-container>\n </div>\n</div>\n", styles: [".field-slide-toggle-show{display:flex;align-items:center}.field-slide-toggle-show .show-label{margin-bottom:0}\n"] }]
|
|
9582
|
+
args: [{ selector: 'shared-form-field-slide-toggle-show', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\" class=\"field-slide-toggle-show\">\n <label class=\"show-label\">{{ fieldData.title }}: </label>\n <div class=\"display-flex-align-center form-field-value\" [ngClass]=\"{'color-green': value, 'color-red': !value }\">\n <ng-container *ngIf=\"value\">\n <mat-icon>check</mat-icon>\n {{ trueTitle }}\n </ng-container>\n <ng-container *ngIf=\"!value\">\n <mat-icon>clear</mat-icon>\n {{ falseTitle }}\n </ng-container>\n </div>\n</div>\n", styles: [".field-slide-toggle-show{display:flex;align-items:center}.field-slide-toggle-show .show-label{margin-bottom:0}\n"] }]
|
|
9583
9583
|
}], propDecorators: { config: [{
|
|
9584
9584
|
type: Input
|
|
9585
9585
|
}], fieldData: [{
|
|
@@ -9618,12 +9618,12 @@ class FormFieldInputShowComponent {
|
|
|
9618
9618
|
this.inputValue = value;
|
|
9619
9619
|
}
|
|
9620
9620
|
}
|
|
9621
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9622
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
9621
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormFieldInputShowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9622
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: FormFieldInputShowComponent, isStandalone: false, selector: "shared-form-field-input-show", inputs: { config: "config", fieldData: "fieldData", value: "value" }, usesOnChanges: true, ngImport: i0, template: "<div [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <div class=\"field width100\">\n <label class=\"show-label\">{{fieldData.title}}: </label>\n <div class=\"display-flex align-baseline\">\n {{inputValue}}\n </div>\n </div>\n</div>\n", styles: [".small-form-width-form-field .show-label{margin-bottom:0}.field{display:flex}.field label{padding-right:5px}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9623
9623
|
}
|
|
9624
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9624
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormFieldInputShowComponent, decorators: [{
|
|
9625
9625
|
type: Component,
|
|
9626
|
-
args: [{ selector: 'shared-form-field-input-show', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <div class=\"field width100\">\n <label class=\"show-label\">{{fieldData.title}}: </label>\n <div class=\"display-flex align-baseline\">\n {{inputValue}}\n </div>\n </div>\n</div>\n", styles: [".small-form-width-form-field .show-label{margin-bottom:0}.field{display:flex}.field label{padding-right:5px}\n"] }]
|
|
9626
|
+
args: [{ selector: 'shared-form-field-input-show', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <div class=\"field width100\">\n <label class=\"show-label\">{{fieldData.title}}: </label>\n <div class=\"display-flex align-baseline\">\n {{inputValue}}\n </div>\n </div>\n</div>\n", styles: [".small-form-width-form-field .show-label{margin-bottom:0}.field{display:flex}.field label{padding-right:5px}\n"] }]
|
|
9627
9627
|
}], ctorParameters: () => [], propDecorators: { config: [{
|
|
9628
9628
|
type: Input
|
|
9629
9629
|
}], fieldData: [{
|
|
@@ -9651,12 +9651,12 @@ class FormFieldFilesShowComponent {
|
|
|
9651
9651
|
this.files$ = this.filesFacade.getFiles(params)
|
|
9652
9652
|
.pipe(take(1));
|
|
9653
9653
|
}
|
|
9654
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9655
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
9654
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormFieldFilesShowComponent, deps: [{ token: FilesFacade }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9655
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: FormFieldFilesShowComponent, isStandalone: false, selector: "shared-form-field-files-show", inputs: { config: "config", fieldData: "fieldData", entityId: "entityId", entitySection: "entitySection" }, ngImport: i0, template: "<div [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <div class=\"width100\">\n <label class=\"show-label\">{{fieldData.title}}</label>\n <div class=\"display-flex align-baseline\">\n <ng-container *ngIf=\"files$ | async as files\">\n <div class=\"position-relative image-block mlr--5\">\n <shared-image *ngFor=\"let file of files\"\n class=\"mlr-5 mat-elevation-z3\"\n [versions]=\"file.versions\"\n [version]=\"1\"\n [haveZoom]=\"true\"></shared-image>\n </div>\n </ng-container>\n </div>\n </div>\n</div>\n", styles: [".image-block{display:flex}.image-block shared-image{max-width:150px;max-height:100px}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ImageComponent, selector: "shared-image", inputs: ["versions", "url", "version", "title", "index", "haveZoom", "imgClass"], outputs: ["clickEvent", "delete"] }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9656
9656
|
}
|
|
9657
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9657
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormFieldFilesShowComponent, decorators: [{
|
|
9658
9658
|
type: Component,
|
|
9659
|
-
args: [{ selector: 'shared-form-field-files-show', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <div class=\"width100\">\n <label class=\"show-label\">{{fieldData.title}}</label>\n <div class=\"display-flex align-baseline\">\n <ng-container *ngIf=\"files$ | async as files\">\n <div class=\"position-relative image-block mlr--5\">\n <shared-image *ngFor=\"let file of files\"\n class=\"mlr-5 mat-elevation-z3\"\n [versions]=\"file.versions\"\n [version]=\"1\"\n [haveZoom]=\"true\"></shared-image>\n </div>\n </ng-container>\n </div>\n </div>\n</div>\n", styles: [".image-block{display:flex}.image-block shared-image{max-width:150px;max-height:100px}\n"] }]
|
|
9659
|
+
args: [{ selector: 'shared-form-field-files-show', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <div class=\"width100\">\n <label class=\"show-label\">{{fieldData.title}}</label>\n <div class=\"display-flex align-baseline\">\n <ng-container *ngIf=\"files$ | async as files\">\n <div class=\"position-relative image-block mlr--5\">\n <shared-image *ngFor=\"let file of files\"\n class=\"mlr-5 mat-elevation-z3\"\n [versions]=\"file.versions\"\n [version]=\"1\"\n [haveZoom]=\"true\"></shared-image>\n </div>\n </ng-container>\n </div>\n </div>\n</div>\n", styles: [".image-block{display:flex}.image-block shared-image{max-width:150px;max-height:100px}\n"] }]
|
|
9660
9660
|
}], ctorParameters: () => [{ type: FilesFacade }], propDecorators: { config: [{
|
|
9661
9661
|
type: Input
|
|
9662
9662
|
}], fieldData: [{
|
|
@@ -9683,12 +9683,12 @@ class FormFieldJsonShowComponent {
|
|
|
9683
9683
|
});
|
|
9684
9684
|
return result;
|
|
9685
9685
|
}
|
|
9686
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9687
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
9686
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormFieldJsonShowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9687
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: FormFieldJsonShowComponent, isStandalone: false, selector: "shared-form-field-json-show", inputs: { config: "config", fieldData: "fieldData", value: "value" }, usesOnChanges: true, ngImport: i0, template: "<div [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <div class=\"width100\">\n <label class=\"show-label\">{{fieldData.title}}</label>\n <div class=\"display-flex align-baseline\">\n <div *ngFor=\"let item of inputValue\" class=\"display-flex display-flex-space-between\">\n <div class=\"json-line-field\">{{item.field}}: </div>\n <div class=\"json-line-value\">{{item.value}}</div>\n </div>\n </div>\n </div>\n</div>\n", styles: [".small-form-width-form-field .show-label{margin-bottom:0}.json-line-field{margin-right:5px}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9688
9688
|
}
|
|
9689
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9689
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormFieldJsonShowComponent, decorators: [{
|
|
9690
9690
|
type: Component,
|
|
9691
|
-
args: [{ selector: 'shared-form-field-json-show', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <div class=\"width100\">\n <label class=\"show-label\">{{fieldData.title}}</label>\n <div class=\"display-flex align-baseline\">\n <div *ngFor=\"let item of inputValue\" class=\"display-flex display-flex-space-between\">\n <div class=\"json-line-field\">{{item.field}}: </div>\n <div class=\"json-line-value\">{{item.value}}</div>\n </div>\n </div>\n </div>\n</div>\n", styles: [".small-form-width-form-field .show-label{margin-bottom:0}.json-line-field{margin-right:5px}\n"] }]
|
|
9691
|
+
args: [{ selector: 'shared-form-field-json-show', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <div class=\"width100\">\n <label class=\"show-label\">{{fieldData.title}}</label>\n <div class=\"display-flex align-baseline\">\n <div *ngFor=\"let item of inputValue\" class=\"display-flex display-flex-space-between\">\n <div class=\"json-line-field\">{{item.field}}: </div>\n <div class=\"json-line-value\">{{item.value}}</div>\n </div>\n </div>\n </div>\n</div>\n", styles: [".small-form-width-form-field .show-label{margin-bottom:0}.json-line-field{margin-right:5px}\n"] }]
|
|
9692
9692
|
}], ctorParameters: () => [], propDecorators: { config: [{
|
|
9693
9693
|
type: Input
|
|
9694
9694
|
}], fieldData: [{
|
|
@@ -9772,12 +9772,12 @@ class FormFieldTagsComponent {
|
|
|
9772
9772
|
name: event.option.viewValue
|
|
9773
9773
|
}]);
|
|
9774
9774
|
}
|
|
9775
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9776
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
9775
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormFieldTagsComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: StaticDataFacade }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9776
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: FormFieldTagsComponent, isStandalone: false, selector: "shared-form-field-tags", inputs: { config: "config", fieldData: "fieldData", form: "form", itemId: "itemId" }, viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }, { propertyName: "tagInput", first: true, predicate: ["tagInput"], descendants: true }, { propertyName: "matAutocomplete", first: true, predicate: ["auto"], descendants: true }], ngImport: i0, template: "<!--[ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\"-->\n<div [formGroup]=\"form\">\n <mat-form-field class=\"example-chip-list w-100\" appearance=\"outline\">\n <mat-label>\u0422\u044D\u0433\u0438</mat-label>\n <mat-chip-grid #chipGrid aria-label=\"\u0422\u0435\u0433\u0438\">\n <mat-chip-row *ngFor=\"let tag of selectedTags\"\n (removed)=\"remove(tag.id, tag.name)\">\n {{ tag.name }}\n <button matChipRemove [attr.aria-label]=\"'\u0443\u0434\u0430\u043B\u0438\u0442\u044C ' + tag.name\">\n <mat-icon>cancel</mat-icon>\n </button>\n </mat-chip-row>\n </mat-chip-grid>\n <input placeholder=\"\u041D\u043E\u0432\u044B\u0439 \u0442\u044D\u0433...\"\n #tagInput\n [formControl]=\"tagInputControl\"\n [matChipInputFor]=\"chipGrid\"\n [matAutocomplete]=\"auto\"\n [matChipInputSeparatorKeyCodes]=\"separatorKeysCodes\"\n (matChipInputTokenEnd)=\"add($event)\"\n (ngModelChange)=\"enterNew($event)\"/>\n <mat-autocomplete #auto=\"matAutocomplete\" (optionSelected)=\"selected($event)\">\n <mat-option *ngFor=\"let item of tagsList$ | async\" [value]=\"item.id\">\n {{ item['name'] }}\n </mat-option>\n </mat-autocomplete>\n </mat-form-field>\n</div>\n", styles: [".form-field-suffix{width:17px;height:17px}.form-field-suffix mat-icon{color:#4caf50;font-size:17px;height:17px!important;width:17px!important;min-width:17px;min-height:17px;font-weight:700!important}.form-field-suffix.input-field-icon-red mat-icon{color:#f44336}\n"], dependencies: [{ kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i2$4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2$4.MatLabel, selector: "mat-label" }, { kind: "component", type: i6.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "directive", type: i7.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: i7.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i7.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i7.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i7.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i7$3.MatChipGrid, selector: "mat-chip-grid", inputs: ["disabled", "placeholder", "required", "value", "errorStateMatcher"], outputs: ["change", "valueChange"] }, { kind: "directive", type: i7$3.MatChipInput, selector: "input[matChipInputFor]", inputs: ["matChipInputFor", "matChipInputAddOnBlur", "matChipInputSeparatorKeyCodes", "placeholder", "id", "disabled"], outputs: ["matChipInputTokenEnd"], exportAs: ["matChipInput", "matChipInputFor"] }, { kind: "directive", type: i7$3.MatChipRemove, selector: "[matChipRemove]" }, { kind: "component", type: i7$3.MatChipRow, selector: "mat-chip-row, [mat-chip-row], mat-basic-chip-row, [mat-basic-chip-row]", inputs: ["editable"], outputs: ["edited"] }, { kind: "component", type: i8$1.MatAutocomplete, selector: "mat-autocomplete", inputs: ["aria-label", "aria-labelledby", "displayWith", "autoActiveFirstOption", "autoSelectActiveOption", "requireSelection", "panelWidth", "disableRipple", "class", "hideSingleSelectionIndicator"], outputs: ["optionSelected", "opened", "closed", "optionActivated"], exportAs: ["matAutocomplete"] }, { kind: "directive", type: i8$1.MatAutocompleteTrigger, selector: "input[matAutocomplete], textarea[matAutocomplete]", inputs: ["matAutocomplete", "matAutocompletePosition", "matAutocompleteConnectedTo", "autocomplete", "matAutocompleteDisabled"], exportAs: ["matAutocompleteTrigger"] }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9777
9777
|
}
|
|
9778
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9778
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormFieldTagsComponent, decorators: [{
|
|
9779
9779
|
type: Component,
|
|
9780
|
-
args: [{ selector: 'shared-form-field-tags', changeDetection: ChangeDetectionStrategy.OnPush, template: "<!--[ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\"-->\n<div [formGroup]=\"form\">\n <mat-form-field class=\"example-chip-list w-100\" appearance=\"outline\">\n <mat-label>\u0422\u044D\u0433\u0438</mat-label>\n <mat-chip-grid #chipGrid aria-label=\"\u0422\u0435\u0433\u0438\">\n <mat-chip-row *ngFor=\"let tag of selectedTags\"\n (removed)=\"remove(tag.id, tag.name)\">\n {{ tag.name }}\n <button matChipRemove [attr.aria-label]=\"'\u0443\u0434\u0430\u043B\u0438\u0442\u044C ' + tag.name\">\n <mat-icon>cancel</mat-icon>\n </button>\n </mat-chip-row>\n </mat-chip-grid>\n <input placeholder=\"\u041D\u043E\u0432\u044B\u0439 \u0442\u044D\u0433...\"\n #tagInput\n [formControl]=\"tagInputControl\"\n [matChipInputFor]=\"chipGrid\"\n [matAutocomplete]=\"auto\"\n [matChipInputSeparatorKeyCodes]=\"separatorKeysCodes\"\n (matChipInputTokenEnd)=\"add($event)\"\n (ngModelChange)=\"enterNew($event)\"/>\n <mat-autocomplete #auto=\"matAutocomplete\" (optionSelected)=\"selected($event)\">\n <mat-option *ngFor=\"let item of tagsList$ | async\" [value]=\"item.id\">\n {{ item['name'] }}\n </mat-option>\n </mat-autocomplete>\n </mat-form-field>\n</div>\n", styles: [".form-field-suffix{width:17px;height:17px}.form-field-suffix mat-icon{color:#4caf50;font-size:17px;height:17px!important;width:17px!important;min-width:17px;min-height:17px;font-weight:700!important}.form-field-suffix.input-field-icon-red mat-icon{color:#f44336}\n"] }]
|
|
9780
|
+
args: [{ selector: 'shared-form-field-tags', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<!--[ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\"-->\n<div [formGroup]=\"form\">\n <mat-form-field class=\"example-chip-list w-100\" appearance=\"outline\">\n <mat-label>\u0422\u044D\u0433\u0438</mat-label>\n <mat-chip-grid #chipGrid aria-label=\"\u0422\u0435\u0433\u0438\">\n <mat-chip-row *ngFor=\"let tag of selectedTags\"\n (removed)=\"remove(tag.id, tag.name)\">\n {{ tag.name }}\n <button matChipRemove [attr.aria-label]=\"'\u0443\u0434\u0430\u043B\u0438\u0442\u044C ' + tag.name\">\n <mat-icon>cancel</mat-icon>\n </button>\n </mat-chip-row>\n </mat-chip-grid>\n <input placeholder=\"\u041D\u043E\u0432\u044B\u0439 \u0442\u044D\u0433...\"\n #tagInput\n [formControl]=\"tagInputControl\"\n [matChipInputFor]=\"chipGrid\"\n [matAutocomplete]=\"auto\"\n [matChipInputSeparatorKeyCodes]=\"separatorKeysCodes\"\n (matChipInputTokenEnd)=\"add($event)\"\n (ngModelChange)=\"enterNew($event)\"/>\n <mat-autocomplete #auto=\"matAutocomplete\" (optionSelected)=\"selected($event)\">\n <mat-option *ngFor=\"let item of tagsList$ | async\" [value]=\"item.id\">\n {{ item['name'] }}\n </mat-option>\n </mat-autocomplete>\n </mat-form-field>\n</div>\n", styles: [".form-field-suffix{width:17px;height:17px}.form-field-suffix mat-icon{color:#4caf50;font-size:17px;height:17px!important;width:17px!important;min-width:17px;min-height:17px;font-weight:700!important}.form-field-suffix.input-field-icon-red mat-icon{color:#f44336}\n"] }]
|
|
9781
9781
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: StaticDataFacade }], propDecorators: { config: [{
|
|
9782
9782
|
type: Input
|
|
9783
9783
|
}], fieldData: [{
|
|
@@ -9815,12 +9815,12 @@ class FormFieldTextareaShowComponent {
|
|
|
9815
9815
|
this.formatedText = this.value;
|
|
9816
9816
|
}
|
|
9817
9817
|
}
|
|
9818
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9819
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
9818
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormFieldTextareaShowComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9819
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: FormFieldTextareaShowComponent, isStandalone: false, selector: "shared-form-field-textarea-show", inputs: { config: "config", fieldData: "fieldData", value: "value" }, ngImport: i0, template: "<div [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <div>{{ formatedText }}</div>\n</div>\n", styles: [".form-field-suffix{width:17px;height:17px}.form-field-suffix mat-icon{color:#4caf50;font-size:17px;height:17px!important;width:17px!important;min-width:17px;min-height:17px;font-weight:700!important}.form-field-suffix.input-field-icon-red mat-icon{color:#f44336}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9820
9820
|
}
|
|
9821
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9821
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormFieldTextareaShowComponent, decorators: [{
|
|
9822
9822
|
type: Component,
|
|
9823
|
-
args: [{ selector: 'shared-form-field-textarea-show', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <div>{{ formatedText }}</div>\n</div>\n", styles: [".form-field-suffix{width:17px;height:17px}.form-field-suffix mat-icon{color:#4caf50;font-size:17px;height:17px!important;width:17px!important;min-width:17px;min-height:17px;font-weight:700!important}.form-field-suffix.input-field-icon-red mat-icon{color:#f44336}\n"] }]
|
|
9823
|
+
args: [{ selector: 'shared-form-field-textarea-show', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <div>{{ formatedText }}</div>\n</div>\n", styles: [".form-field-suffix{width:17px;height:17px}.form-field-suffix mat-icon{color:#4caf50;font-size:17px;height:17px!important;width:17px!important;min-width:17px;min-height:17px;font-weight:700!important}.form-field-suffix.input-field-icon-red mat-icon{color:#f44336}\n"] }]
|
|
9824
9824
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { config: [{
|
|
9825
9825
|
type: Input
|
|
9826
9826
|
}], fieldData: [{
|
|
@@ -9829,104 +9829,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
9829
9829
|
type: Input
|
|
9830
9830
|
}] } });
|
|
9831
9831
|
|
|
9832
|
-
class
|
|
9833
|
-
|
|
9834
|
-
if (this.publicationMessages) {
|
|
9835
|
-
return this.publicationMessages.filter((item) => item.field === this.fieldData.field && item.isError);
|
|
9836
|
-
}
|
|
9837
|
-
return null;
|
|
9838
|
-
}
|
|
9839
|
-
get fieldPublicationMessages() {
|
|
9840
|
-
if (this.publicationMessages) {
|
|
9841
|
-
return this.publicationMessages.filter((item) => item.field === this.fieldData.field && !item.isError);
|
|
9842
|
-
}
|
|
9843
|
-
return null;
|
|
9844
|
-
}
|
|
9845
|
-
get haveFieldError() {
|
|
9846
|
-
return (this.fieldControl &&
|
|
9847
|
-
this.fieldControl.status === this.invalidStatus &&
|
|
9848
|
-
(!this.fieldControl.pristine || this.fieldControl.touched)) || !!this.fieldPublishError?.length;
|
|
9849
|
-
}
|
|
9850
|
-
get haveFieldWarning() {
|
|
9851
|
-
return !!this.fieldPublicationMessages?.length;
|
|
9852
|
-
}
|
|
9853
|
-
constructor(appConfig, authenticationService, coreFacade, cd, dialog, injector) {
|
|
9832
|
+
class FormFieldCheditorComponent {
|
|
9833
|
+
constructor(appConfig, authenticationService) {
|
|
9854
9834
|
this.appConfig = appConfig;
|
|
9855
9835
|
this.authenticationService = authenticationService;
|
|
9856
|
-
this.coreFacade = coreFacade;
|
|
9857
|
-
this.cd = cd;
|
|
9858
|
-
this.dialog = dialog;
|
|
9859
|
-
this.injector = injector;
|
|
9860
|
-
this.config = {};
|
|
9861
|
-
this.editorImageUploadUrl = '';
|
|
9862
|
-
this.eventUpdateForm = new EventEmitter();
|
|
9863
|
-
this.eventSendAction = new EventEmitter();
|
|
9864
|
-
this.fieldTypes = FieldType;
|
|
9865
|
-
this.invalidStatus = 'INVALID';
|
|
9866
|
-
this.unSubscribeSubject$ = new Subject();
|
|
9867
|
-
this.isDenyToUpdate = false;
|
|
9868
9836
|
this.Editor = null;
|
|
9869
9837
|
}
|
|
9870
9838
|
ngOnInit() {
|
|
9871
|
-
this.field = this.fieldData.field;
|
|
9872
|
-
this.isDenyToUpdate = this.entityPermissionUpdateDanyFields?.includes(this.field);
|
|
9873
|
-
this.fieldControl = !this.fieldData.options?.notNeedFormControl ? this.form.get(this.field) : undefined;
|
|
9874
9839
|
this.setEditorConfig();
|
|
9875
|
-
if (!this.fieldData.options?.notNeedFormControl) {
|
|
9876
|
-
this.subscribeToChangeStatus();
|
|
9877
|
-
}
|
|
9878
|
-
this.setComponentInjector();
|
|
9879
|
-
}
|
|
9880
|
-
ngOnDestroy() {
|
|
9881
|
-
this.unSubscribeSubject$.next();
|
|
9882
|
-
this.unSubscribeSubject$.complete();
|
|
9883
|
-
}
|
|
9884
|
-
fieldActionHandler(data) {
|
|
9885
|
-
try {
|
|
9886
|
-
if (data.action) {
|
|
9887
|
-
this.coreFacade.sendGlobalEvent(data.action, this.entity, this.itemId, this.fieldData, this.form.value);
|
|
9888
|
-
}
|
|
9889
|
-
}
|
|
9890
|
-
catch (e) {
|
|
9891
|
-
console.error('[ form-field ][ fieldActionHandler ]', { error: e, data, fieldData: this.fieldData });
|
|
9892
|
-
}
|
|
9893
|
-
}
|
|
9894
|
-
openHintDialog(hint) {
|
|
9895
|
-
this.dialog.open(CommonDialogComponent, {
|
|
9896
|
-
panelClass: 'dialog-without-margin',
|
|
9897
|
-
data: {
|
|
9898
|
-
message: hint,
|
|
9899
|
-
falseButtonTitle: 'Закрыть',
|
|
9900
|
-
messageType: 'info',
|
|
9901
|
-
size: 'middle',
|
|
9902
|
-
hideTrueButton: true
|
|
9903
|
-
}
|
|
9904
|
-
});
|
|
9905
|
-
}
|
|
9906
|
-
setComponentInjector() {
|
|
9907
|
-
this.componentDataInjector = Injector.create({
|
|
9908
|
-
providers: [{
|
|
9909
|
-
provide: StaticDataComponentInputData,
|
|
9910
|
-
useValue: {
|
|
9911
|
-
fieldData: this.fieldData,
|
|
9912
|
-
controller: !this.fieldData.options.notNeedFormControl ? this.form.get(this.field) : undefined,
|
|
9913
|
-
allFields: this.fields,
|
|
9914
|
-
formData: this.formData,
|
|
9915
|
-
options: this.fieldData.options?.showing?.options
|
|
9916
|
-
}
|
|
9917
|
-
}],
|
|
9918
|
-
parent: this.injector
|
|
9919
|
-
});
|
|
9920
|
-
}
|
|
9921
|
-
subscribeToChangeStatus() {
|
|
9922
|
-
this.form.get(this.field).statusChanges
|
|
9923
|
-
.pipe(takeUntil(this.unSubscribeSubject$))
|
|
9924
|
-
.subscribe(() => {
|
|
9925
|
-
this.cd.markForCheck();
|
|
9926
|
-
});
|
|
9927
9840
|
}
|
|
9928
9841
|
setEditorConfig() {
|
|
9929
|
-
const entityId = this.form.get('id')?.value;
|
|
9930
9842
|
const { token } = this.authenticationService.loadAuthDataFromLocalStore();
|
|
9931
9843
|
const newConfig = {
|
|
9932
9844
|
apiUrl: this.appConfig.apiUrl,
|
|
@@ -10026,7 +9938,7 @@ class FormFieldComponent {
|
|
|
10026
9938
|
},
|
|
10027
9939
|
simpleUpload: {
|
|
10028
9940
|
// The URL that the images are uploaded to.
|
|
10029
|
-
uploadUrl: `${newConfig.apiUrl}/api/files/browser/${this.entity.toLowerCase()}/${entityId}`,
|
|
9941
|
+
uploadUrl: `${newConfig.apiUrl}/api/files/browser/${this.entity.toLowerCase()}/${this.entityId}`,
|
|
10030
9942
|
// Enable the XMLHttpRequest.withCredentials property.
|
|
10031
9943
|
withCredentials: true,
|
|
10032
9944
|
// Headers sent along with the XMLHttpRequest to the upload server.
|
|
@@ -10077,16 +9989,132 @@ class FormFieldComponent {
|
|
|
10077
9989
|
"tabletools,templates,toolbar,undo,wsc,wysiwygarea"
|
|
10078
9990
|
*/
|
|
10079
9991
|
}
|
|
10080
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10081
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: FormFieldComponent, selector: "shared-form-field", inputs: { fields: "fields", formData: "formData", config: "config", fieldData: "fieldData", itemId: "itemId", form: "form", editorImageUploadUrl: "editorImageUploadUrl", errorMessageTexts: "errorMessageTexts", entity: "entity", publicationMessages: "publicationMessages", entityTypeUserRoleRights: "entityTypeUserRoleRights", autoCompleteFields: "autoCompleteFields", entityPermissionUpdateDanyFields: "entityPermissionUpdateDanyFields" }, outputs: { eventUpdateForm: "eventUpdateForm", eventSendAction: "eventSendAction" }, ngImport: i0, template: "<div *ngIf=\"!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 'preview-mode': isDenyToUpdate || fieldData.options.notEditable\n }\">\n\n @if (!fieldData.options?.showing?.customEditViewComponent && !fieldData.options?.notNeedFormControl) {\n <ng-container [ngSwitch]=\"fieldData.type\">\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeSelect\">\n <shared-form-field-select\n *ngIf=\"!isDenyToUpdate && !fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n [autoCompleteFields]=\"autoCompleteFields\"\n ></shared-form-field-select>\n <shared-form-field-select-show\n *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-select-show>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeSlideToggle\">\n <shared-form-field-slide-toggle\n *ngIf=\"!isDenyToUpdate && !fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n ></shared-form-field-slide-toggle>\n <shared-form-field-slide-toggle-show\n *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-slide-toggle-show>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeTextarea\">\n <div class=\"textarea-field-width\" [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <label\n [id]=\"'field-' + fieldData.field\">{{ fieldData.title }}{{ fieldData.validators && fieldData.validators.includes('required') ? ' *' : '' }}</label>\n <ng-container *ngIf=\"!isDenyToUpdate && !fieldData.options.notEditable\">\n <textarea matInput rows=\"6\" [formControlName]=\"fieldData.field\"></textarea>\n <div class=\"textarea-field-length\">\n <span>\u0422\u0435\u043A\u0443\u0449\u0430\u044F \u0434\u043B\u0438\u043D\u0430: {{ form.get(fieldData.field).value?.length || 0 }}</span>\n </div>\n </ng-container>\n <ng-container *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\">\n <shared-form-field-textarea-show\n *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-textarea-show>\n </ng-container>\n </div>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeTextareaEditor\">\n <div class=\"textarea-field-width editor-field\">\n <label\n [id]=\"'field-' + fieldData.field\">{{ fieldData.title }}{{ fieldData.validators && fieldData.validators.includes('required') ? ' *' : '' }}</label>\n <ng-container *ngIf=\"!isDenyToUpdate && !fieldData.options.notEditable\">\n <div *ngIf=\"fieldData.description\" class=\"field-description\">\n {{ fieldData.description }}\n </div>\n <ckeditor [formControlName]=\"fieldData.field\"\n data=\"<p>Hello, world!</p>\"\n [editor]=\"Editor\"\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 </ng-container>\n <shared-form-field-textarea-show\n *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-textarea-show>\n </div>\n </ng-container>\n\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeFile\">\n <shared-form-field-file\n *ngIf=\"!isDenyToUpdate && !fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n [entity]=\"entity\"\n ></shared-form-field-file>\n <shared-form-field-file-show\n *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-file-show>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeFiles\">\n @if (!isDenyToUpdate && !fieldData.options.notEditable) {\n <shared-form-field-files\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n [itemId]=\"itemId\"\n ></shared-form-field-files>\n } @else {\n <shared-form-field-files-show\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [entityId]=\"form.get('id').value\"\n [entitySection]=\"entity\"\n ></shared-form-field-files-show>\n }\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeJSON\">\n <div class=\"textarea-field-width\" [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <label\n [id]=\"'field-' + fieldData.field\">{{ fieldData.title }}{{ fieldData.validators && fieldData.validators.includes('required') ? ' *' : '' }}</label>\n @if (!isDenyToUpdate && !fieldData.options.notEditable) {\n <textarea matInput rows=\"6\" [formControlName]=\"fieldData.field\"></textarea>\n } @else {\n <shared-form-field-json-show\n *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-json-show>\n }\n </div>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeTags\">\n <shared-form-field-tags\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n [itemId]=\"itemId\"\n ></shared-form-field-tags>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n @if (!isDenyToUpdate && !fieldData.options.notEditable) {\n <shared-form-field-input\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n ></shared-form-field-input>\n } @else {\n <shared-form-field-input-show\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-input-show>\n }\n </ng-container>\n </ng-container>\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 <!-- <shared-form-field-spinner *ngIf=\"loading\"></shared-form-field-spinner>-->\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 } @else {\n <ng-container *ngComponentOutlet=\"fieldData.options?.showing?.customEditViewComponent;\n injector: componentDataInjector;\"/>\n }\n\n <shared-form-field-error\n @appearFromLeft\n *ngIf=\"fieldControl && 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 [fieldData]=\"fieldData\"\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:#009ce542}.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;border-bottom-left-radius:7px;border-bottom-right-radius:7px}.hint-icons{position:absolute;right:0;margin-top:9px}.textarea-field-width{display:flex;flex-direction:column}.textarea-field-width.editor-field{margin-top:10px}.textarea-field-width.editor-field label{margin-top:-15px}.textarea-field-width label{position:absolute;margin-top:-9px;background:#fff;font-family:Inter,sans-serif;font-size:14px;margin-left:14px;line-height:10px}.textarea-field-width textarea{border-radius:7px;border-color:#74777f;padding:10px}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }, { kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$3.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1$3.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1$3.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "component", type: FormFieldErrorComponent, selector: "shared-form-field-error", inputs: ["fieldData", "form", "errorMessageTexts"] }, { kind: "component", type: FormFieldPublishErrorComponent, selector: "shared-form-field-publish-error", inputs: ["fieldData", "form", "entity", "errorMessageTexts"] }, { kind: "directive", type: i3$3.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: i3.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: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i7.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i11.CKEditorComponent, selector: "ckeditor", inputs: ["editor", "config", "data", "tagName", "watchdog", "editorWatchdogConfig", "disableTwoWayDataBinding", "disabled"], outputs: ["ready", "change", "blur", "focus", "error"] }, { kind: "component", type: FormFieldSelectComponent, selector: "shared-form-field-select", inputs: ["config", "fieldData", "form", "autoCompleteFields"] }, { kind: "component", type: FormFieldSelectShowComponent, selector: "shared-form-field-select-show", inputs: ["config", "fieldData", "value"] }, { kind: "component", type: FormFieldSlideToggleComponent, selector: "shared-form-field-slide-toggle", inputs: ["config", "fieldData", "form"] }, { kind: "component", type: FormFieldInputComponent, selector: "shared-form-field-input", inputs: ["config", "fieldData", "form"] }, { kind: "component", type: FormFieldFileComponent, selector: "shared-form-field-file", inputs: ["config", "fieldData", "form", "entity"] }, { kind: "component", type: FormFieldFilesComponent, selector: "shared-form-field-files", inputs: ["config", "fieldData", "form", "itemId"] }, { kind: "component", type: FormFieldFileShowComponent, selector: "shared-form-field-file-show", inputs: ["config", "fieldData", "value"] }, { kind: "component", type: FormFieldSlideToggleShowComponent, selector: "shared-form-field-slide-toggle-show", inputs: ["config", "fieldData", "value"] }, { kind: "component", type: FormFieldInputShowComponent, selector: "shared-form-field-input-show", inputs: ["config", "fieldData", "value"] }, { kind: "component", type: FormFieldFilesShowComponent, selector: "shared-form-field-files-show", inputs: ["config", "fieldData", "entityId", "entitySection"] }, { kind: "component", type: FormFieldJsonShowComponent, selector: "shared-form-field-json-show", inputs: ["config", "fieldData", "value"] }, { kind: "component", type: FormFieldTagsComponent, selector: "shared-form-field-tags", inputs: ["config", "fieldData", "form", "itemId"] }, { kind: "component", type: FormFieldTextareaShowComponent, selector: "shared-form-field-textarea-show", inputs: ["config", "fieldData", "value"] }], animations: [appearFromLeft], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9992
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormFieldCheditorComponent, deps: [{ token: CORE_CONFIG }, { token: AuthenticationService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9993
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: FormFieldCheditorComponent, isStandalone: false, selector: "shared-form-field-cheditor", inputs: { entityId: "entityId", entity: "entity", fieldDataField: "fieldDataField" }, ngImport: i0, template: "<ckeditor [formControlName]=\"fieldDataField\"\n ngSkipHydration\n data=\"<p>Hello, world!</p>\"\n [editor]=\"Editor\"\n [config]=\"ckeConfig\">\n\n</ckeditor>\n", styles: [".form-field-file .form-field-input{transition:all .2s ease;min-height:66px;align-items:center;padding-top:0;padding-bottom:0;position:relative}.form-field-file .form-field-input.height-0{height:0;padding:0;border:0}.form-field-file .form-field-input mat-label{color:#5f5b5b;font-size:12px;padding:0 5px 0 0;position:absolute;background-color:#fff;top:-10px}.form-field-file .form-field-file-image{position:relative;transition:all .2s ease;overflow:hidden;display:flex;justify-content:flex-start;margin:10px 0}.form-field-file .form-field-file-image.height-100{height:100px}.form-field-file .form-field-file-image img{object-fit:cover;width:150px;height:100px;border-radius:4px;overflow:hidden;background:#fff}.form-field-file .form-field-file-image .form-field-file-close{right:0;top:0;cursor:pointer;background:#fff;position:absolute;width:15px;height:15px;display:flex;align-items:center;justify-content:center;border-bottom-left-radius:4px;color:#f44336;transition:all .15s ease;opacity:.6}.form-field-file .form-field-file-image .form-field-file-close mat-icon{transition:transform .15s ease;width:15px;height:15px;min-width:15px;min-height:15px;margin-left:1px;margin-top:3px}.form-field-file .form-field-file-image .form-field-file-close:hover{opacity:1}.form-field-file .form-field-file-image .form-field-file-close:hover mat-icon{transform:rotate(90deg)}.form-field-file .form-field-file-image .image-block:hover .form-field-file-close{width:25px;height:25px;opacity:.8}.form-field-file .form-field-file-image .image-block:hover .form-field-file-close mat-icon{width:18px;min-width:18px;height:18px;min-height:18px;font-size:18px}.form-field-file .position-absolute{position:absolute}\n"], dependencies: [{ kind: "directive", type: i7.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i7.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i3$4.CKEditorComponent, selector: "ckeditor", inputs: ["editor", "config", "data", "tagName", "watchdog", "editorWatchdogConfig", "disableTwoWayDataBinding", "disabled"], outputs: ["ready", "change", "blur", "focus", "error"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
10082
9994
|
}
|
|
10083
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9995
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormFieldCheditorComponent, decorators: [{
|
|
10084
9996
|
type: Component,
|
|
10085
|
-
args: [{ selector: 'shared-form-field', changeDetection: ChangeDetectionStrategy.OnPush, animations: [appearFromLeft], template: "<div *ngIf=\"!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 'preview-mode': isDenyToUpdate || fieldData.options.notEditable\n }\">\n\n @if (!fieldData.options?.showing?.customEditViewComponent && !fieldData.options?.notNeedFormControl) {\n <ng-container [ngSwitch]=\"fieldData.type\">\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeSelect\">\n <shared-form-field-select\n *ngIf=\"!isDenyToUpdate && !fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n [autoCompleteFields]=\"autoCompleteFields\"\n ></shared-form-field-select>\n <shared-form-field-select-show\n *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-select-show>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeSlideToggle\">\n <shared-form-field-slide-toggle\n *ngIf=\"!isDenyToUpdate && !fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n ></shared-form-field-slide-toggle>\n <shared-form-field-slide-toggle-show\n *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-slide-toggle-show>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeTextarea\">\n <div class=\"textarea-field-width\" [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <label\n [id]=\"'field-' + fieldData.field\">{{ fieldData.title }}{{ fieldData.validators && fieldData.validators.includes('required') ? ' *' : '' }}</label>\n <ng-container *ngIf=\"!isDenyToUpdate && !fieldData.options.notEditable\">\n <textarea matInput rows=\"6\" [formControlName]=\"fieldData.field\"></textarea>\n <div class=\"textarea-field-length\">\n <span>\u0422\u0435\u043A\u0443\u0449\u0430\u044F \u0434\u043B\u0438\u043D\u0430: {{ form.get(fieldData.field).value?.length || 0 }}</span>\n </div>\n </ng-container>\n <ng-container *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\">\n <shared-form-field-textarea-show\n *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-textarea-show>\n </ng-container>\n </div>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeTextareaEditor\">\n <div class=\"textarea-field-width editor-field\">\n <label\n [id]=\"'field-' + fieldData.field\">{{ fieldData.title }}{{ fieldData.validators && fieldData.validators.includes('required') ? ' *' : '' }}</label>\n <ng-container *ngIf=\"!isDenyToUpdate && !fieldData.options.notEditable\">\n <div *ngIf=\"fieldData.description\" class=\"field-description\">\n {{ fieldData.description }}\n </div>\n <ckeditor [formControlName]=\"fieldData.field\"\n data=\"<p>Hello, world!</p>\"\n [editor]=\"Editor\"\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 </ng-container>\n <shared-form-field-textarea-show\n *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-textarea-show>\n </div>\n </ng-container>\n\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeFile\">\n <shared-form-field-file\n *ngIf=\"!isDenyToUpdate && !fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n [entity]=\"entity\"\n ></shared-form-field-file>\n <shared-form-field-file-show\n *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-file-show>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeFiles\">\n @if (!isDenyToUpdate && !fieldData.options.notEditable) {\n <shared-form-field-files\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n [itemId]=\"itemId\"\n ></shared-form-field-files>\n } @else {\n <shared-form-field-files-show\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [entityId]=\"form.get('id').value\"\n [entitySection]=\"entity\"\n ></shared-form-field-files-show>\n }\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeJSON\">\n <div class=\"textarea-field-width\" [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <label\n [id]=\"'field-' + fieldData.field\">{{ fieldData.title }}{{ fieldData.validators && fieldData.validators.includes('required') ? ' *' : '' }}</label>\n @if (!isDenyToUpdate && !fieldData.options.notEditable) {\n <textarea matInput rows=\"6\" [formControlName]=\"fieldData.field\"></textarea>\n } @else {\n <shared-form-field-json-show\n *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-json-show>\n }\n </div>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeTags\">\n <shared-form-field-tags\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n [itemId]=\"itemId\"\n ></shared-form-field-tags>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n @if (!isDenyToUpdate && !fieldData.options.notEditable) {\n <shared-form-field-input\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n ></shared-form-field-input>\n } @else {\n <shared-form-field-input-show\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-input-show>\n }\n </ng-container>\n </ng-container>\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 <!-- <shared-form-field-spinner *ngIf=\"loading\"></shared-form-field-spinner>-->\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 } @else {\n <ng-container *ngComponentOutlet=\"fieldData.options?.showing?.customEditViewComponent;\n injector: componentDataInjector;\"/>\n }\n\n <shared-form-field-error\n @appearFromLeft\n *ngIf=\"fieldControl && 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 [fieldData]=\"fieldData\"\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:#009ce542}.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;border-bottom-left-radius:7px;border-bottom-right-radius:7px}.hint-icons{position:absolute;right:0;margin-top:9px}.textarea-field-width{display:flex;flex-direction:column}.textarea-field-width.editor-field{margin-top:10px}.textarea-field-width.editor-field label{margin-top:-15px}.textarea-field-width label{position:absolute;margin-top:-9px;background:#fff;font-family:Inter,sans-serif;font-size:14px;margin-left:14px;line-height:10px}.textarea-field-width textarea{border-radius:7px;border-color:#74777f;padding:10px}\n"] }]
|
|
9997
|
+
args: [{ selector: "shared-form-field-cheditor", changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<ckeditor [formControlName]=\"fieldDataField\"\n ngSkipHydration\n data=\"<p>Hello, world!</p>\"\n [editor]=\"Editor\"\n [config]=\"ckeConfig\">\n\n</ckeditor>\n", styles: [".form-field-file .form-field-input{transition:all .2s ease;min-height:66px;align-items:center;padding-top:0;padding-bottom:0;position:relative}.form-field-file .form-field-input.height-0{height:0;padding:0;border:0}.form-field-file .form-field-input mat-label{color:#5f5b5b;font-size:12px;padding:0 5px 0 0;position:absolute;background-color:#fff;top:-10px}.form-field-file .form-field-file-image{position:relative;transition:all .2s ease;overflow:hidden;display:flex;justify-content:flex-start;margin:10px 0}.form-field-file .form-field-file-image.height-100{height:100px}.form-field-file .form-field-file-image img{object-fit:cover;width:150px;height:100px;border-radius:4px;overflow:hidden;background:#fff}.form-field-file .form-field-file-image .form-field-file-close{right:0;top:0;cursor:pointer;background:#fff;position:absolute;width:15px;height:15px;display:flex;align-items:center;justify-content:center;border-bottom-left-radius:4px;color:#f44336;transition:all .15s ease;opacity:.6}.form-field-file .form-field-file-image .form-field-file-close mat-icon{transition:transform .15s ease;width:15px;height:15px;min-width:15px;min-height:15px;margin-left:1px;margin-top:3px}.form-field-file .form-field-file-image .form-field-file-close:hover{opacity:1}.form-field-file .form-field-file-image .form-field-file-close:hover mat-icon{transform:rotate(90deg)}.form-field-file .form-field-file-image .image-block:hover .form-field-file-close{width:25px;height:25px;opacity:.8}.form-field-file .form-field-file-image .image-block:hover .form-field-file-close mat-icon{width:18px;min-width:18px;height:18px;min-height:18px;font-size:18px}.form-field-file .position-absolute{position:absolute}\n"] }]
|
|
10086
9998
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
10087
9999
|
type: Inject,
|
|
10088
10000
|
args: [CORE_CONFIG]
|
|
10089
|
-
}] }, { type: AuthenticationService }
|
|
10001
|
+
}] }, { type: AuthenticationService }], propDecorators: { entityId: [{
|
|
10002
|
+
type: Input
|
|
10003
|
+
}], entity: [{
|
|
10004
|
+
type: Input
|
|
10005
|
+
}], fieldDataField: [{
|
|
10006
|
+
type: Input
|
|
10007
|
+
}] } });
|
|
10008
|
+
|
|
10009
|
+
class FormFieldComponent {
|
|
10010
|
+
get fieldPublishError() {
|
|
10011
|
+
if (this.publicationMessages) {
|
|
10012
|
+
return this.publicationMessages.filter((item) => item.field === this.fieldData.field && item.isError);
|
|
10013
|
+
}
|
|
10014
|
+
return null;
|
|
10015
|
+
}
|
|
10016
|
+
get fieldPublicationMessages() {
|
|
10017
|
+
if (this.publicationMessages) {
|
|
10018
|
+
return this.publicationMessages.filter((item) => item.field === this.fieldData.field && !item.isError);
|
|
10019
|
+
}
|
|
10020
|
+
return null;
|
|
10021
|
+
}
|
|
10022
|
+
get haveFieldError() {
|
|
10023
|
+
return (this.fieldControl &&
|
|
10024
|
+
this.fieldControl.status === this.invalidStatus &&
|
|
10025
|
+
(!this.fieldControl.pristine || this.fieldControl.touched)) || !!this.fieldPublishError?.length;
|
|
10026
|
+
}
|
|
10027
|
+
get haveFieldWarning() {
|
|
10028
|
+
return !!this.fieldPublicationMessages?.length;
|
|
10029
|
+
}
|
|
10030
|
+
constructor(//@Inject(CORE_CONFIG) private appConfig: AppConfig,
|
|
10031
|
+
platformId,
|
|
10032
|
+
// private authenticationService: AuthenticationService,
|
|
10033
|
+
coreFacade, cd, dialog, injector) {
|
|
10034
|
+
this.platformId = platformId;
|
|
10035
|
+
this.coreFacade = coreFacade;
|
|
10036
|
+
this.cd = cd;
|
|
10037
|
+
this.dialog = dialog;
|
|
10038
|
+
this.injector = injector;
|
|
10039
|
+
this.config = {};
|
|
10040
|
+
this.editorImageUploadUrl = '';
|
|
10041
|
+
this.eventUpdateForm = new EventEmitter();
|
|
10042
|
+
this.eventSendAction = new EventEmitter();
|
|
10043
|
+
this.fieldTypes = FieldType;
|
|
10044
|
+
this.invalidStatus = 'INVALID';
|
|
10045
|
+
this.unSubscribeSubject$ = new Subject();
|
|
10046
|
+
this.isDenyToUpdate = false;
|
|
10047
|
+
this.isBrowser = false;
|
|
10048
|
+
}
|
|
10049
|
+
ngOnInit() {
|
|
10050
|
+
this.field = this.fieldData.field;
|
|
10051
|
+
this.isDenyToUpdate = this.entityPermissionUpdateDanyFields?.includes(this.field);
|
|
10052
|
+
this.fieldControl = !this.fieldData.options?.notNeedFormControl ? this.form.get(this.field) : undefined;
|
|
10053
|
+
if (!this.fieldData.options?.notNeedFormControl) {
|
|
10054
|
+
this.subscribeToChangeStatus();
|
|
10055
|
+
}
|
|
10056
|
+
this.setComponentInjector();
|
|
10057
|
+
this.isBrowser = isPlatformBrowser(this.platformId);
|
|
10058
|
+
this.entityId = this.form.get('id').value;
|
|
10059
|
+
}
|
|
10060
|
+
ngOnDestroy() {
|
|
10061
|
+
this.unSubscribeSubject$.next();
|
|
10062
|
+
this.unSubscribeSubject$.complete();
|
|
10063
|
+
}
|
|
10064
|
+
fieldActionHandler(data) {
|
|
10065
|
+
try {
|
|
10066
|
+
if (data.action) {
|
|
10067
|
+
this.coreFacade.sendGlobalEvent(data.action, this.entity, this.itemId, this.fieldData, this.form.value);
|
|
10068
|
+
}
|
|
10069
|
+
}
|
|
10070
|
+
catch (e) {
|
|
10071
|
+
console.error('[ form-field ][ fieldActionHandler ]', { error: e, data, fieldData: this.fieldData });
|
|
10072
|
+
}
|
|
10073
|
+
}
|
|
10074
|
+
openHintDialog(hint) {
|
|
10075
|
+
this.dialog.open(CommonDialogComponent, {
|
|
10076
|
+
panelClass: 'dialog-without-margin',
|
|
10077
|
+
data: {
|
|
10078
|
+
message: hint,
|
|
10079
|
+
falseButtonTitle: 'Закрыть',
|
|
10080
|
+
messageType: 'info',
|
|
10081
|
+
size: 'middle',
|
|
10082
|
+
hideTrueButton: true
|
|
10083
|
+
}
|
|
10084
|
+
});
|
|
10085
|
+
}
|
|
10086
|
+
setComponentInjector() {
|
|
10087
|
+
this.componentDataInjector = Injector.create({
|
|
10088
|
+
providers: [{
|
|
10089
|
+
provide: StaticDataComponentInputData,
|
|
10090
|
+
useValue: {
|
|
10091
|
+
fieldData: this.fieldData,
|
|
10092
|
+
controller: !this.fieldData.options.notNeedFormControl ? this.form.get(this.field) : undefined,
|
|
10093
|
+
allFields: this.fields,
|
|
10094
|
+
formData: this.formData,
|
|
10095
|
+
options: this.fieldData.options?.showing?.options
|
|
10096
|
+
}
|
|
10097
|
+
}],
|
|
10098
|
+
parent: this.injector
|
|
10099
|
+
});
|
|
10100
|
+
}
|
|
10101
|
+
subscribeToChangeStatus() {
|
|
10102
|
+
this.form.get(this.field).statusChanges
|
|
10103
|
+
.pipe(takeUntil(this.unSubscribeSubject$))
|
|
10104
|
+
.subscribe(() => {
|
|
10105
|
+
this.cd.markForCheck();
|
|
10106
|
+
});
|
|
10107
|
+
}
|
|
10108
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormFieldComponent, deps: [{ token: PLATFORM_ID }, { token: CoreFacade }, { token: i0.ChangeDetectorRef }, { token: i1$4.MatDialog }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10109
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: FormFieldComponent, isStandalone: false, selector: "shared-form-field", inputs: { fields: "fields", formData: "formData", config: "config", fieldData: "fieldData", itemId: "itemId", form: "form", editorImageUploadUrl: "editorImageUploadUrl", errorMessageTexts: "errorMessageTexts", entity: "entity", publicationMessages: "publicationMessages", entityTypeUserRoleRights: "entityTypeUserRoleRights", autoCompleteFields: "autoCompleteFields", entityPermissionUpdateDanyFields: "entityPermissionUpdateDanyFields" }, outputs: { eventUpdateForm: "eventUpdateForm", eventSendAction: "eventSendAction" }, ngImport: i0, template: "<div *ngIf=\"!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 'preview-mode': isDenyToUpdate || fieldData.options.notEditable\n }\">\n\n @if (!fieldData.options?.showing?.customEditViewComponent && !fieldData.options?.notNeedFormControl) {\n <ng-container [ngSwitch]=\"fieldData.type\">\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeSelect\">\n <shared-form-field-select\n *ngIf=\"!isDenyToUpdate && !fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n [autoCompleteFields]=\"autoCompleteFields\"\n ></shared-form-field-select>\n <shared-form-field-select-show\n *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-select-show>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeSlideToggle\">\n <shared-form-field-slide-toggle\n *ngIf=\"!isDenyToUpdate && !fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n ></shared-form-field-slide-toggle>\n <shared-form-field-slide-toggle-show\n *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-slide-toggle-show>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeTextarea\">\n <div class=\"textarea-field-width\" [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <label\n [id]=\"'field-' + fieldData.field\">{{ fieldData.title }}{{ fieldData.validators && fieldData.validators.includes('required') ? ' *' : '' }}</label>\n <ng-container *ngIf=\"!isDenyToUpdate && !fieldData.options.notEditable\">\n <textarea matInput rows=\"6\" [formControlName]=\"fieldData.field\"></textarea>\n <div class=\"textarea-field-length\">\n <span>\u0422\u0435\u043A\u0443\u0449\u0430\u044F \u0434\u043B\u0438\u043D\u0430: {{ form.get(fieldData.field).value?.length || 0 }}</span>\n </div>\n </ng-container>\n <ng-container *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\">\n <shared-form-field-textarea-show\n *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-textarea-show>\n </ng-container>\n </div>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeTextareaEditor\">\n <div class=\"textarea-field-width editor-field\">\n <label\n [id]=\"'field-' + fieldData.field\">{{ fieldData.title }}{{ fieldData.validators && fieldData.validators.includes('required') ? ' *' : '' }}</label>\n <ng-container *ngIf=\"!isDenyToUpdate && !fieldData.options.notEditable\">\n <div *ngIf=\"fieldData.description\" class=\"field-description\">\n {{ fieldData.description }}\n </div>\n <ng-container *ngIf=\"isBrowser\">\n <shared-form-field-cheditor [fieldDataField]=\"fieldData.field\"\n ngSkipHydration\n [entityId]=\"entityId\"\n [entity]=\"entity\"></shared-form-field-cheditor>\n </ng-container>\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 </ng-container>\n <shared-form-field-textarea-show\n *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-textarea-show>\n </div>\n </ng-container>\n\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeFile\">\n <shared-form-field-file\n *ngIf=\"!isDenyToUpdate && !fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n [entity]=\"entity\"\n ></shared-form-field-file>\n <shared-form-field-file-show\n *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-file-show>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeFiles\">\n @if (!isDenyToUpdate && !fieldData.options.notEditable) {\n <shared-form-field-files\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n [itemId]=\"itemId\"\n ></shared-form-field-files>\n } @else {\n <shared-form-field-files-show\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [entityId]=\"form.get('id').value\"\n [entitySection]=\"entity\"\n ></shared-form-field-files-show>\n }\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeJSON\">\n <div class=\"textarea-field-width\" [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <label\n [id]=\"'field-' + fieldData.field\">{{ fieldData.title }}{{ fieldData.validators && fieldData.validators.includes('required') ? ' *' : '' }}</label>\n @if (!isDenyToUpdate && !fieldData.options.notEditable) {\n <textarea matInput rows=\"6\" [formControlName]=\"fieldData.field\"></textarea>\n } @else {\n <shared-form-field-json-show\n *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-json-show>\n }\n </div>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeTags\">\n <shared-form-field-tags\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n [itemId]=\"itemId\"\n ></shared-form-field-tags>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n @if (!isDenyToUpdate && !fieldData.options.notEditable) {\n <shared-form-field-input\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n ></shared-form-field-input>\n } @else {\n <shared-form-field-input-show\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-input-show>\n }\n </ng-container>\n </ng-container>\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 <!-- <shared-form-field-spinner *ngIf=\"loading\"></shared-form-field-spinner>-->\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 } @else {\n <ng-container *ngComponentOutlet=\"fieldData.options?.showing?.customEditViewComponent;\n injector: componentDataInjector;\"/>\n }\n\n <shared-form-field-error\n @appearFromLeft\n *ngIf=\"fieldControl && 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 [fieldData]=\"fieldData\"\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:#009ce542}.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;border-bottom-left-radius:7px;border-bottom-right-radius:7px}.hint-icons{position:absolute;right:0;margin-top:9px}.textarea-field-width{display:flex;flex-direction:column}.textarea-field-width.editor-field{margin-top:10px}.textarea-field-width.editor-field label{margin-top:-15px}.textarea-field-width label{position:absolute;margin-top:-9px;background:#fff;font-family:Inter,sans-serif;font-size:14px;margin-left:14px;line-height:10px}.textarea-field-width textarea{border-radius:7px;border-color:#74777f;padding:10px}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"], exportAs: ["ngComponentOutlet"] }, { kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$3.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1$3.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1$3.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "component", type: FormFieldErrorComponent, selector: "shared-form-field-error", inputs: ["fieldData", "form", "errorMessageTexts"] }, { kind: "component", type: FormFieldPublishErrorComponent, selector: "shared-form-field-publish-error", inputs: ["fieldData", "form", "entity", "errorMessageTexts"] }, { kind: "directive", type: i3$2.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: i7.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: i7.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i7.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i7.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i7.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i7$1.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: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: FormFieldSelectComponent, selector: "shared-form-field-select", inputs: ["config", "fieldData", "form", "autoCompleteFields"] }, { kind: "component", type: FormFieldSelectShowComponent, selector: "shared-form-field-select-show", inputs: ["config", "fieldData", "value"] }, { kind: "component", type: FormFieldSlideToggleComponent, selector: "shared-form-field-slide-toggle", inputs: ["config", "fieldData", "form"] }, { kind: "component", type: FormFieldInputComponent, selector: "shared-form-field-input", inputs: ["config", "fieldData", "form"] }, { kind: "component", type: FormFieldFileComponent, selector: "shared-form-field-file", inputs: ["config", "fieldData", "form", "entity"] }, { kind: "component", type: FormFieldFilesComponent, selector: "shared-form-field-files", inputs: ["config", "fieldData", "form", "itemId"] }, { kind: "component", type: FormFieldFileShowComponent, selector: "shared-form-field-file-show", inputs: ["config", "fieldData", "value"] }, { kind: "component", type: FormFieldSlideToggleShowComponent, selector: "shared-form-field-slide-toggle-show", inputs: ["config", "fieldData", "value"] }, { kind: "component", type: FormFieldInputShowComponent, selector: "shared-form-field-input-show", inputs: ["config", "fieldData", "value"] }, { kind: "component", type: FormFieldFilesShowComponent, selector: "shared-form-field-files-show", inputs: ["config", "fieldData", "entityId", "entitySection"] }, { kind: "component", type: FormFieldJsonShowComponent, selector: "shared-form-field-json-show", inputs: ["config", "fieldData", "value"] }, { kind: "component", type: FormFieldTagsComponent, selector: "shared-form-field-tags", inputs: ["config", "fieldData", "form", "itemId"] }, { kind: "component", type: FormFieldTextareaShowComponent, selector: "shared-form-field-textarea-show", inputs: ["config", "fieldData", "value"] }, { kind: "component", type: FormFieldCheditorComponent, selector: "shared-form-field-cheditor", inputs: ["entityId", "entity", "fieldDataField"] }], animations: [appearFromLeft], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
10110
|
+
}
|
|
10111
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormFieldComponent, decorators: [{
|
|
10112
|
+
type: Component,
|
|
10113
|
+
args: [{ selector: 'shared-form-field', changeDetection: ChangeDetectionStrategy.OnPush, animations: [appearFromLeft], standalone: false, template: "<div *ngIf=\"!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 'preview-mode': isDenyToUpdate || fieldData.options.notEditable\n }\">\n\n @if (!fieldData.options?.showing?.customEditViewComponent && !fieldData.options?.notNeedFormControl) {\n <ng-container [ngSwitch]=\"fieldData.type\">\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeSelect\">\n <shared-form-field-select\n *ngIf=\"!isDenyToUpdate && !fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n [autoCompleteFields]=\"autoCompleteFields\"\n ></shared-form-field-select>\n <shared-form-field-select-show\n *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-select-show>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeSlideToggle\">\n <shared-form-field-slide-toggle\n *ngIf=\"!isDenyToUpdate && !fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n ></shared-form-field-slide-toggle>\n <shared-form-field-slide-toggle-show\n *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-slide-toggle-show>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeTextarea\">\n <div class=\"textarea-field-width\" [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <label\n [id]=\"'field-' + fieldData.field\">{{ fieldData.title }}{{ fieldData.validators && fieldData.validators.includes('required') ? ' *' : '' }}</label>\n <ng-container *ngIf=\"!isDenyToUpdate && !fieldData.options.notEditable\">\n <textarea matInput rows=\"6\" [formControlName]=\"fieldData.field\"></textarea>\n <div class=\"textarea-field-length\">\n <span>\u0422\u0435\u043A\u0443\u0449\u0430\u044F \u0434\u043B\u0438\u043D\u0430: {{ form.get(fieldData.field).value?.length || 0 }}</span>\n </div>\n </ng-container>\n <ng-container *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\">\n <shared-form-field-textarea-show\n *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-textarea-show>\n </ng-container>\n </div>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeTextareaEditor\">\n <div class=\"textarea-field-width editor-field\">\n <label\n [id]=\"'field-' + fieldData.field\">{{ fieldData.title }}{{ fieldData.validators && fieldData.validators.includes('required') ? ' *' : '' }}</label>\n <ng-container *ngIf=\"!isDenyToUpdate && !fieldData.options.notEditable\">\n <div *ngIf=\"fieldData.description\" class=\"field-description\">\n {{ fieldData.description }}\n </div>\n <ng-container *ngIf=\"isBrowser\">\n <shared-form-field-cheditor [fieldDataField]=\"fieldData.field\"\n ngSkipHydration\n [entityId]=\"entityId\"\n [entity]=\"entity\"></shared-form-field-cheditor>\n </ng-container>\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 </ng-container>\n <shared-form-field-textarea-show\n *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-textarea-show>\n </div>\n </ng-container>\n\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeFile\">\n <shared-form-field-file\n *ngIf=\"!isDenyToUpdate && !fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n [entity]=\"entity\"\n ></shared-form-field-file>\n <shared-form-field-file-show\n *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-file-show>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeFiles\">\n @if (!isDenyToUpdate && !fieldData.options.notEditable) {\n <shared-form-field-files\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n [itemId]=\"itemId\"\n ></shared-form-field-files>\n } @else {\n <shared-form-field-files-show\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [entityId]=\"form.get('id').value\"\n [entitySection]=\"entity\"\n ></shared-form-field-files-show>\n }\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeJSON\">\n <div class=\"textarea-field-width\" [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <label\n [id]=\"'field-' + fieldData.field\">{{ fieldData.title }}{{ fieldData.validators && fieldData.validators.includes('required') ? ' *' : '' }}</label>\n @if (!isDenyToUpdate && !fieldData.options.notEditable) {\n <textarea matInput rows=\"6\" [formControlName]=\"fieldData.field\"></textarea>\n } @else {\n <shared-form-field-json-show\n *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-json-show>\n }\n </div>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeTags\">\n <shared-form-field-tags\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n [itemId]=\"itemId\"\n ></shared-form-field-tags>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n @if (!isDenyToUpdate && !fieldData.options.notEditable) {\n <shared-form-field-input\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n ></shared-form-field-input>\n } @else {\n <shared-form-field-input-show\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-input-show>\n }\n </ng-container>\n </ng-container>\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 <!-- <shared-form-field-spinner *ngIf=\"loading\"></shared-form-field-spinner>-->\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 } @else {\n <ng-container *ngComponentOutlet=\"fieldData.options?.showing?.customEditViewComponent;\n injector: componentDataInjector;\"/>\n }\n\n <shared-form-field-error\n @appearFromLeft\n *ngIf=\"fieldControl && 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 [fieldData]=\"fieldData\"\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:#009ce542}.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;border-bottom-left-radius:7px;border-bottom-right-radius:7px}.hint-icons{position:absolute;right:0;margin-top:9px}.textarea-field-width{display:flex;flex-direction:column}.textarea-field-width.editor-field{margin-top:10px}.textarea-field-width.editor-field label{margin-top:-15px}.textarea-field-width label{position:absolute;margin-top:-9px;background:#fff;font-family:Inter,sans-serif;font-size:14px;margin-left:14px;line-height:10px}.textarea-field-width textarea{border-radius:7px;border-color:#74777f;padding:10px}\n"] }]
|
|
10114
|
+
}], ctorParameters: () => [{ type: Object, decorators: [{
|
|
10115
|
+
type: Inject,
|
|
10116
|
+
args: [PLATFORM_ID]
|
|
10117
|
+
}] }, { type: CoreFacade }, { type: i0.ChangeDetectorRef }, { type: i1$4.MatDialog }, { type: i0.Injector }], propDecorators: { fields: [{
|
|
10090
10118
|
type: Input
|
|
10091
10119
|
}], formData: [{
|
|
10092
10120
|
type: Input
|
|
@@ -10126,12 +10154,12 @@ class StarRatingComponent {
|
|
|
10126
10154
|
}
|
|
10127
10155
|
ngOnInit() {
|
|
10128
10156
|
}
|
|
10129
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10130
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
10157
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StarRatingComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10158
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: StarRatingComponent, isStandalone: false, selector: "shared-star-rating", inputs: { rating: "rating", size: "size", config: "config" }, ngImport: i0, template: "<div class=\"star-rating-block\"\n [ngClass]=\"{'block-big': size === 'big', 'small-form-width-form-field': config?.smallFormWidth}\">\n <span class=\"d-flex align-items-center\">\n <i class=\"fa fa-star\"></i>\n <i class=\"fa fa-star\"></i>\n <i class=\"fa fa-star\"></i>\n <i class=\"fa fa-star\"></i>\n <i class=\"fa fa-star\"></i>\n </span>\n <span class=\"d-flex align-items-center yellow-starts\">\n <i *ngFor=\"let number of arrayList\" class=\"fa fa-star\"></i>\n </span>\n</div>\n", styles: [".star-rating-block{overflow:hidden;position:relative}.star-rating-block span.yellow-starts{position:absolute;left:0;top:0}.star-rating-block span.yellow-starts i{color:#fdae5c!important}.star-rating-block span i{font-size:15px;color:#faae5c73!important}.star-rating-block.block-big i{font-size:20px!important}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
10131
10159
|
}
|
|
10132
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10160
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StarRatingComponent, decorators: [{
|
|
10133
10161
|
type: Component,
|
|
10134
|
-
args: [{ selector: 'shared-star-rating', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"star-rating-block\"\n [ngClass]=\"{'block-big': size === 'big', 'small-form-width-form-field': config?.smallFormWidth}\">\n <span class=\"d-flex align-items-center\">\n <i class=\"fa fa-star\"></i>\n <i class=\"fa fa-star\"></i>\n <i class=\"fa fa-star\"></i>\n <i class=\"fa fa-star\"></i>\n <i class=\"fa fa-star\"></i>\n </span>\n <span class=\"d-flex align-items-center yellow-starts\">\n <i *ngFor=\"let number of arrayList\" class=\"fa fa-star\"></i>\n </span>\n</div>\n", styles: [".star-rating-block{overflow:hidden;position:relative}.star-rating-block span.yellow-starts{position:absolute;left:0;top:0}.star-rating-block span.yellow-starts i{color:#fdae5c!important}.star-rating-block span i{font-size:15px;color:#faae5c73!important}.star-rating-block.block-big i{font-size:20px!important}\n"] }]
|
|
10162
|
+
args: [{ selector: 'shared-star-rating', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div class=\"star-rating-block\"\n [ngClass]=\"{'block-big': size === 'big', 'small-form-width-form-field': config?.smallFormWidth}\">\n <span class=\"d-flex align-items-center\">\n <i class=\"fa fa-star\"></i>\n <i class=\"fa fa-star\"></i>\n <i class=\"fa fa-star\"></i>\n <i class=\"fa fa-star\"></i>\n <i class=\"fa fa-star\"></i>\n </span>\n <span class=\"d-flex align-items-center yellow-starts\">\n <i *ngFor=\"let number of arrayList\" class=\"fa fa-star\"></i>\n </span>\n</div>\n", styles: [".star-rating-block{overflow:hidden;position:relative}.star-rating-block span.yellow-starts{position:absolute;left:0;top:0}.star-rating-block span.yellow-starts i{color:#fdae5c!important}.star-rating-block span i{font-size:15px;color:#faae5c73!important}.star-rating-block.block-big i{font-size:20px!important}\n"] }]
|
|
10135
10163
|
}], ctorParameters: () => [], propDecorators: { rating: [{
|
|
10136
10164
|
type: Input
|
|
10137
10165
|
}], size: [{
|
|
@@ -10162,12 +10190,12 @@ class AutoFormShowFieldComponent {
|
|
|
10162
10190
|
this.inputType = InputType.Text;
|
|
10163
10191
|
}
|
|
10164
10192
|
}
|
|
10165
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10166
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
10193
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: AutoFormShowFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10194
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: AutoFormShowFieldComponent, isStandalone: false, selector: "shared-auto-form-show-field", inputs: { fieldData: "fieldData", data: "data", entityId: "entityId", entitySection: "entitySection", config: "config" }, 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 [config]=\"config\"\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 [config]=\"config\"\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\n [config]=\"config\"\n [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\n [config]=\"config\"\n [fieldData]=\"fieldData\" [value]=\"value\"></shared-form-field-file-show>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeRating\">\n <shared-star-rating\n [config]=\"config\"\n [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$3.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1$3.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1$3.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "directive", type: i7$1.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: StarRatingComponent, selector: "shared-star-rating", inputs: ["rating", "size", "config"] }, { kind: "component", type: FormFieldSelectShowComponent, selector: "shared-form-field-select-show", inputs: ["config", "fieldData", "value"] }, { kind: "component", type: FormFieldFileShowComponent, selector: "shared-form-field-file-show", inputs: ["config", "fieldData", "value"] }, { kind: "component", type: FormFieldSlideToggleShowComponent, selector: "shared-form-field-slide-toggle-show", inputs: ["config", "fieldData", "value"] }, { kind: "component", type: FormFieldInputShowComponent, selector: "shared-form-field-input-show", inputs: ["config", "fieldData", "value"] }, { kind: "component", type: FormFieldFilesShowComponent, selector: "shared-form-field-files-show", inputs: ["config", "fieldData", "entityId", "entitySection"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
10167
10195
|
}
|
|
10168
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10196
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: AutoFormShowFieldComponent, decorators: [{
|
|
10169
10197
|
type: Component,
|
|
10170
|
-
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 [config]=\"config\"\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 [config]=\"config\"\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\n [config]=\"config\"\n [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\n [config]=\"config\"\n [fieldData]=\"fieldData\" [value]=\"value\"></shared-form-field-file-show>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeRating\">\n <shared-star-rating\n [config]=\"config\"\n [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"] }]
|
|
10198
|
+
args: [{ selector: "shared-auto-form-show-field", changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, 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 [config]=\"config\"\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 [config]=\"config\"\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\n [config]=\"config\"\n [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\n [config]=\"config\"\n [fieldData]=\"fieldData\" [value]=\"value\"></shared-form-field-file-show>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeRating\">\n <shared-star-rating\n [config]=\"config\"\n [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"] }]
|
|
10171
10199
|
}], ctorParameters: () => [], propDecorators: { fieldData: [{
|
|
10172
10200
|
type: Input
|
|
10173
10201
|
}], data: [{
|
|
@@ -10257,12 +10285,12 @@ class FormMessageBoxComponent {
|
|
|
10257
10285
|
['field']: field?.title,
|
|
10258
10286
|
});
|
|
10259
10287
|
}
|
|
10260
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10261
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
10288
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormMessageBoxComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: BaseAutoFormService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10289
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: FormMessageBoxComponent, isStandalone: false, selector: "shred-form-message-box", inputs: { form: "form", fields: "fields", errorMessageTexts: "errorMessageTexts" }, ngImport: i0, template: "<ng-container *ngIf=\"!form.pristine\">\n <div @appearFromLeft *ngIf=\"listErrors && listErrors.length\" class=\"message-box error mb-10\">\n <b>{{title}}</b>\n <ul>\n <li *ngFor=\"let error of listErrors\" [innerHTML]=\"error\"></li>\n </ul>\n </div>\n</ng-container>\n", styles: [""], dependencies: [{ kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], animations: [appearFromLeft], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
10262
10290
|
}
|
|
10263
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10291
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormMessageBoxComponent, decorators: [{
|
|
10264
10292
|
type: Component,
|
|
10265
|
-
args: [{ selector: 'shred-form-message-box', changeDetection: ChangeDetectionStrategy.OnPush, animations: [appearFromLeft], template: "<ng-container *ngIf=\"!form.pristine\">\n <div @appearFromLeft *ngIf=\"listErrors && listErrors.length\" class=\"message-box error mb-10\">\n <b>{{title}}</b>\n <ul>\n <li *ngFor=\"let error of listErrors\" [innerHTML]=\"error\"></li>\n </ul>\n </div>\n</ng-container>\n" }]
|
|
10293
|
+
args: [{ selector: 'shred-form-message-box', changeDetection: ChangeDetectionStrategy.OnPush, animations: [appearFromLeft], standalone: false, template: "<ng-container *ngIf=\"!form.pristine\">\n <div @appearFromLeft *ngIf=\"listErrors && listErrors.length\" class=\"message-box error mb-10\">\n <b>{{title}}</b>\n <ul>\n <li *ngFor=\"let error of listErrors\" [innerHTML]=\"error\"></li>\n </ul>\n </div>\n</ng-container>\n" }]
|
|
10266
10294
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: BaseAutoFormService }], propDecorators: { form: [{
|
|
10267
10295
|
type: Input
|
|
10268
10296
|
}], fields: [{
|
|
@@ -10281,12 +10309,12 @@ class PanelComponent {
|
|
|
10281
10309
|
toggleExpanded() {
|
|
10282
10310
|
this.isOpened = !this.isOpened;
|
|
10283
10311
|
}
|
|
10284
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10285
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
10312
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PanelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10313
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: PanelComponent, isStandalone: false, selector: "shared-panel", inputs: { title: "title", smallDescription: "smallDescription", description: "description", color: "color", buttonColor: "buttonColor" }, outputs: { close: "close" }, ngImport: i0, template: "<div class=\"fuse-card\" [ngClass]=\"'bg-'+color\">\n\n <div class=\"p-10 cursor-pointer\"\n fxLayout=\"row\"\n fxLayoutAlign=\"space-between center\"\n (click)=\"toggleExpanded()\">\n <div class=\"h4\">{{title}}</div>\n <shared-button\n [color]=\"buttonColor\"\n [icon]=\"isOpened ? 'keyboard_arrow_up' : 'keyboard_arrow_down'\"></shared-button>\n </div>\n\n <div *ngIf=\"smallDescription\" class=\"p-16 pt-0 line-height-1.75\" [innerHTML]=\"smallDescription\">\n </div>\n\n <div class=\"card-expand-area\" *ngIf=\"isOpened\" [@expandCollapse]>\n <div class=\"card-expanded-content\" [innerHTML]=\"description\"></div>\n </div>\n\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ButtonComponent, selector: "shared-button", inputs: ["icon", "iconColor", "iconSize", "rightIcon", "disabled", "loading", "active", "stopPropagation", "type", "color", "fullWidth", "size", "styleTheme", "tooltip", "tooltipPosition"], outputs: ["clickButton"] }, { kind: "directive", type: i7$1.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i7$1.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"] }], animations: [expandCollapse], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
10286
10314
|
}
|
|
10287
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10315
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PanelComponent, decorators: [{
|
|
10288
10316
|
type: Component,
|
|
10289
|
-
args: [{ selector: 'shared-panel', animations: [expandCollapse], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"fuse-card\" [ngClass]=\"'bg-'+color\">\n\n <div class=\"p-10 cursor-pointer\"\n fxLayout=\"row\"\n fxLayoutAlign=\"space-between center\"\n (click)=\"toggleExpanded()\">\n <div class=\"h4\">{{title}}</div>\n <shared-button\n [color]=\"buttonColor\"\n [icon]=\"isOpened ? 'keyboard_arrow_up' : 'keyboard_arrow_down'\"></shared-button>\n </div>\n\n <div *ngIf=\"smallDescription\" class=\"p-16 pt-0 line-height-1.75\" [innerHTML]=\"smallDescription\">\n </div>\n\n <div class=\"card-expand-area\" *ngIf=\"isOpened\" [@expandCollapse]>\n <div class=\"card-expanded-content\" [innerHTML]=\"description\"></div>\n </div>\n\n</div>\n" }]
|
|
10317
|
+
args: [{ selector: 'shared-panel', animations: [expandCollapse], changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div class=\"fuse-card\" [ngClass]=\"'bg-'+color\">\n\n <div class=\"p-10 cursor-pointer\"\n fxLayout=\"row\"\n fxLayoutAlign=\"space-between center\"\n (click)=\"toggleExpanded()\">\n <div class=\"h4\">{{title}}</div>\n <shared-button\n [color]=\"buttonColor\"\n [icon]=\"isOpened ? 'keyboard_arrow_up' : 'keyboard_arrow_down'\"></shared-button>\n </div>\n\n <div *ngIf=\"smallDescription\" class=\"p-16 pt-0 line-height-1.75\" [innerHTML]=\"smallDescription\">\n </div>\n\n <div class=\"card-expand-area\" *ngIf=\"isOpened\" [@expandCollapse]>\n <div class=\"card-expanded-content\" [innerHTML]=\"description\"></div>\n </div>\n\n</div>\n" }]
|
|
10290
10318
|
}], ctorParameters: () => [], propDecorators: { title: [{
|
|
10291
10319
|
type: Input
|
|
10292
10320
|
}], smallDescription: [{
|
|
@@ -10407,12 +10435,12 @@ class PublicationMessagesComponent {
|
|
|
10407
10435
|
prepareErrors(messages) {
|
|
10408
10436
|
return this.autoFormService.prepareFormFieldPublicationMessage(messages, this.publishErrorConstants, this.fields);
|
|
10409
10437
|
}
|
|
10410
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10411
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
10438
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PublicationMessagesComponent, deps: [{ token: PublicationMessagesFacade }, { token: AutoFormService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10439
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: PublicationMessagesComponent, isStandalone: false, selector: "shared-publication-messages", inputs: { entity: "entity", form: "form", itemId: "itemId", fields: "fields", config: "config", havePublication: "havePublication" }, 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 && havePublication\" @appearFromLeftWithDelay class=\"message-box error mb-10\">\n <div class=\"no-publish-error\">\n <mat-icon class=\"no-publish-error-ico\">assignment_late</mat-icon>\n <div class=\"no-publish-error-text\">\n <div>{{unPublishedTitle}}</div>\n <div class=\"fs-12 pt-0\">{{unPublishedMessage}}</div>\n </div>\n </div>\n</div>\n<ng-container *ngIf=\"errors?.length\">\n <ng-container\n *ngTemplateOutlet=\"listMessages; context: {title: errorTitle, isError: true, messages: errors}\"></ng-container>\n</ng-container>\n<ng-container *ngIf=\"recommendation?.length\">\n <ng-container\n *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\n \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}.no-publish-error{display:flex}.no-publish-error .no-publish-error-ico{font-size:43px;margin-right:10px}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i7$1.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i7$1.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: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: PanelComponent, selector: "shared-panel", inputs: ["title", "smallDescription", "description", "color", "buttonColor"], outputs: ["close"] }, { kind: "component", type: ButtonComponent, selector: "shared-button", inputs: ["icon", "iconColor", "iconSize", "rightIcon", "disabled", "loading", "active", "stopPropagation", "type", "color", "fullWidth", "size", "styleTheme", "tooltip", "tooltipPosition"], outputs: ["clickButton"] }, { kind: "pipe", type: i1$3.DatePipe, name: "date" }], animations: [expandCollapse, appearFromLeftWithDelay], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
10412
10440
|
}
|
|
10413
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10441
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PublicationMessagesComponent, decorators: [{
|
|
10414
10442
|
type: Component,
|
|
10415
|
-
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 && havePublication\" @appearFromLeftWithDelay class=\"message-box error mb-10\">\n <div class=\"no-publish-error\">\n <mat-icon class=\"no-publish-error-ico\">assignment_late</mat-icon>\n <div class=\"no-publish-error-text\">\n <div>{{unPublishedTitle}}</div>\n <div class=\"fs-12 pt-0\">{{unPublishedMessage}}</div>\n </div>\n </div>\n</div>\n<ng-container *ngIf=\"errors?.length\">\n <ng-container\n *ngTemplateOutlet=\"listMessages; context: {title: errorTitle, isError: true, messages: errors}\"></ng-container>\n</ng-container>\n<ng-container *ngIf=\"recommendation?.length\">\n <ng-container\n *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\n \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}.no-publish-error{display:flex}.no-publish-error .no-publish-error-ico{font-size:43px;margin-right:10px}\n"] }]
|
|
10443
|
+
args: [{ selector: 'shared-publication-messages', animations: [expandCollapse, appearFromLeftWithDelay], changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, 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 && havePublication\" @appearFromLeftWithDelay class=\"message-box error mb-10\">\n <div class=\"no-publish-error\">\n <mat-icon class=\"no-publish-error-ico\">assignment_late</mat-icon>\n <div class=\"no-publish-error-text\">\n <div>{{unPublishedTitle}}</div>\n <div class=\"fs-12 pt-0\">{{unPublishedMessage}}</div>\n </div>\n </div>\n</div>\n<ng-container *ngIf=\"errors?.length\">\n <ng-container\n *ngTemplateOutlet=\"listMessages; context: {title: errorTitle, isError: true, messages: errors}\"></ng-container>\n</ng-container>\n<ng-container *ngIf=\"recommendation?.length\">\n <ng-container\n *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\n \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}.no-publish-error{display:flex}.no-publish-error .no-publish-error-ico{font-size:43px;margin-right:10px}\n"] }]
|
|
10416
10444
|
}], ctorParameters: () => [{ type: PublicationMessagesFacade }, { type: AutoFormService }, { type: i0.ChangeDetectorRef }], propDecorators: { entity: [{
|
|
10417
10445
|
type: Input
|
|
10418
10446
|
}], form: [{
|
|
@@ -10850,12 +10878,12 @@ class AutoFormMainComponent {
|
|
|
10850
10878
|
}
|
|
10851
10879
|
return result;
|
|
10852
10880
|
}
|
|
10853
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10854
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "
|
|
10881
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: AutoFormMainComponent, deps: [{ token: FormErrorsFacade }, { token: FormsFacade }, { token: BaseAutoFormService }, { token: AutoFormService }, { token: PublicationMessagesFacade }, { token: i2.ActivatedRoute }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10882
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.14", type: AutoFormMainComponent, isStandalone: false, selector: "shared-auto-form", inputs: { fields: "fields", itemId: ["itemId", "itemId", numberAttribute], formId: "formId", showPublicationMessages: "showPublicationMessages", useEntityPermissions: "useEntityPermissions", showProgressBar: "showProgressBar", showFormMessageBox: "showFormMessageBox", form: "form", editorImageUploadUrl: "editorImageUploadUrl", errorMessageTexts: "errorMessageTexts", entity: "entity", havePublication: "havePublication", config: "config" }, outputs: { changed: "changed", formCompleted: "formCompleted" }, usesOnChanges: true, ngImport: i0, template: "<shared-smart-progress-bar *ngIf=\"showProgressBar && storedFormValue?._occupancyRating\"\n [value]=\"storedFormValue?._occupancyRating\"\n [title]=\"'\u0423\u0440\u043E\u0432\u0435\u043D\u044C \u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u043D\u043E\u0441\u0442\u0438 \u0444\u043E\u0440\u043C\u044B'\"></shared-smart-progress-bar>\n\n<ng-container *ngIf=\"showPublicationMessages && fields?.length\">\n <ng-container\n *ngTemplateOutlet=\"publicationMessages, context: {form: form, entity: entity, itemId: itemId, fields: fields}\"></ng-container>\n</ng-container>\n\n<div *ngFor=\"let group of object_.keys(groupedFields); trackBy: truckByFieldName\"\n class=\"form-group container\"\n [ngClass]=\"{'form-group-open': groupsState[group]}\">\n\n <h2 *ngIf=\"group && object_.keys(groupedFields)?.length > 1\" class=\"form-field-group-title\" (click)=\"groupClick(group)\">\n <mat-icon class=\"fs-20 field-group-icon\">expand_more</mat-icon>\n {{ group }}\n </h2>\n <div *ngIf=\"groupsState[group]\"\n [ngClass]=\"{'small-form-width': config?.smallFormWidth}\"\n class=\"row form-group-fields\">\n <div *ngFor=\"let item of groupedFields[group]; trackBy: truckByFieldName\"\n class=\"form-field-row\"\n [ngClass]=\"getFormFieldClass(item)\">\n <div *ngIf=\"isAvailableToUpdate\" [ngClass]=\"{'field-tab': group}\">\n <shared-form-field\n [config]=\"config\"\n [itemId]=\"itemId\"\n [fieldData]=\"item\"\n [form]=\"form\"\n [errorMessageTexts]=\"errorMessageTexts\"\n [editorImageUploadUrl]=\"editorImageUploadUrl\"\n [entity]=\"entity\"\n [fields]=\"fields\"\n [formData]=\"form.value\"\n [publicationMessages]=\"allPublicationMessages\"\n [autoCompleteFields]=\"autoCompleteFields\"\n [entityPermissionUpdateDanyFields]=\"entityPermissionUpdateDanyFields\"\n ></shared-form-field>\n </div>\n <div *ngIf=\"!isAvailableToUpdate\" [ngClass]=\"{'field-tab': group}\">\n <shared-auto-form-show-field\n [config]=\"config\"\n [fieldData]=\"item\"\n [data]=\"form.value\"\n [entityId]=\"itemId\"\n [entitySection]=\"entity\"\n ></shared-auto-form-show-field>\n </div>\n </div>\n </div>\n</div>\n\n<div @appearFromLeft *ngIf=\"showFormMessageBox && dataStored && form.valid\" class=\"message-box warning mt-20 mb-10\">\n <ul>\n <li>{{ dataStoredTitle }}</li>\n </ul>\n</div>\n<shred-form-message-box\n *ngIf=\"showFormMessageBox\"\n [form]=\"form\"\n [fields]=\"fields\"\n [errorMessageTexts]=\"errorMessageTexts\"></shred-form-message-box>\n\n<ng-container *ngIf=\"showFormMessageBox && havePublication\">\n <ng-container *ngIf=\"showPublicationMessages && fields?.length\">\n <ng-container\n *ngTemplateOutlet=\"publicationMessages, context: {form: form, entity: entity, itemId: itemId, fields: fields}\"></ng-container>\n </ng-container>\n</ng-container>\n\n<ng-template #publicationMessages let-form=\"form\" let-entity=\"entity\" let-itemId=\"itemId\" let-fields=\"fields\">\n <shared-publication-messages\n *ngIf=\"itemId\"\n [@appearFromLeft]\n [form]=\"form\"\n [entity]=\"entity\"\n [itemId]=\"itemId\"\n [fields]=\"fields\"\n [havePublication]=\"havePublication\"\n (scrollToField)=\"scrollToField($event)\"></shared-publication-messages>\n</ng-template>\n\n<ng-container *ngIf=\"isAvailableToUpdate\">\n <ng-content select=\"[submitButton]\"></ng-content>\n</ng-container>\n", styles: [":host{display:flex;flex-direction:column;flex-wrap:wrap}.form-group{cursor:pointer;margin-bottom:0}.form-group h2{display:flex;transition:color .3s;align-items:center}.progress-bar{margin-bottom:10px}.form-field-row{margin:5px 0}.small-form-width .form-field-row{margin-bottom:10px}.small-form-width .show-label{margin-bottom:0!important}.form-field-group-title{font-size:18px;display:flex;margin-top:15px;background:#f5f5f5;padding:10px;border-radius:8px}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: SmartProgressBarComponent, selector: "shared-smart-progress-bar", inputs: ["value", "title", "showValue"] }, { kind: "component", type: FormFieldComponent, selector: "shared-form-field", inputs: ["fields", "formData", "config", "fieldData", "itemId", "form", "editorImageUploadUrl", "errorMessageTexts", "entity", "publicationMessages", "entityTypeUserRoleRights", "autoCompleteFields", "entityPermissionUpdateDanyFields"], outputs: ["eventUpdateForm", "eventSendAction"] }, { kind: "component", type: AutoFormShowFieldComponent, selector: "shared-auto-form-show-field", inputs: ["fieldData", "data", "entityId", "entitySection", "config"] }, { kind: "component", type: FormMessageBoxComponent, selector: "shred-form-message-box", inputs: ["form", "fields", "errorMessageTexts"] }, { kind: "component", type: PublicationMessagesComponent, selector: "shared-publication-messages", inputs: ["entity", "form", "itemId", "fields", "config", "havePublication"], outputs: ["scrollToField"] }], animations: [appearFromLeft, appearOpacity], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
10855
10883
|
}
|
|
10856
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10884
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: AutoFormMainComponent, decorators: [{
|
|
10857
10885
|
type: Component,
|
|
10858
|
-
args: [{ selector: 'shared-auto-form', changeDetection: ChangeDetectionStrategy.OnPush, animations: [appearFromLeft, appearOpacity], template: "<shared-smart-progress-bar *ngIf=\"showProgressBar && storedFormValue?._occupancyRating\"\n [value]=\"storedFormValue?._occupancyRating\"\n [title]=\"'\u0423\u0440\u043E\u0432\u0435\u043D\u044C \u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u043D\u043E\u0441\u0442\u0438 \u0444\u043E\u0440\u043C\u044B'\"></shared-smart-progress-bar>\n\n<ng-container *ngIf=\"showPublicationMessages && fields?.length\">\n <ng-container\n *ngTemplateOutlet=\"publicationMessages, context: {form: form, entity: entity, itemId: itemId, fields: fields}\"></ng-container>\n</ng-container>\n\n<div *ngFor=\"let group of object_.keys(groupedFields); trackBy: truckByFieldName\"\n class=\"form-group container\"\n [ngClass]=\"{'form-group-open': groupsState[group]}\">\n\n <h2 *ngIf=\"group && object_.keys(groupedFields)?.length > 1\" class=\"form-field-group-title\" (click)=\"groupClick(group)\">\n <mat-icon class=\"fs-20 field-group-icon\">expand_more</mat-icon>\n {{ group }}\n </h2>\n <div *ngIf=\"groupsState[group]\"\n [ngClass]=\"{'small-form-width': config?.smallFormWidth}\"\n class=\"row form-group-fields\">\n <div *ngFor=\"let item of groupedFields[group]; trackBy: truckByFieldName\"\n class=\"form-field-row\"\n [ngClass]=\"getFormFieldClass(item)\">\n <div *ngIf=\"isAvailableToUpdate\" [ngClass]=\"{'field-tab': group}\">\n <shared-form-field\n [config]=\"config\"\n [itemId]=\"itemId\"\n [fieldData]=\"item\"\n [form]=\"form\"\n [errorMessageTexts]=\"errorMessageTexts\"\n [editorImageUploadUrl]=\"editorImageUploadUrl\"\n [entity]=\"entity\"\n [fields]=\"fields\"\n [formData]=\"form.value\"\n [publicationMessages]=\"allPublicationMessages\"\n [autoCompleteFields]=\"autoCompleteFields\"\n [entityPermissionUpdateDanyFields]=\"entityPermissionUpdateDanyFields\"\n ></shared-form-field>\n </div>\n <div *ngIf=\"!isAvailableToUpdate\" [ngClass]=\"{'field-tab': group}\">\n <shared-auto-form-show-field\n [config]=\"config\"\n [fieldData]=\"item\"\n [data]=\"form.value\"\n [entityId]=\"itemId\"\n [entitySection]=\"entity\"\n ></shared-auto-form-show-field>\n </div>\n </div>\n </div>\n</div>\n\n<div @appearFromLeft *ngIf=\"showFormMessageBox && dataStored && form.valid\" class=\"message-box warning mt-20 mb-10\">\n <ul>\n <li>{{ dataStoredTitle }}</li>\n </ul>\n</div>\n<shred-form-message-box\n *ngIf=\"showFormMessageBox\"\n [form]=\"form\"\n [fields]=\"fields\"\n [errorMessageTexts]=\"errorMessageTexts\"></shred-form-message-box>\n\n<ng-container *ngIf=\"showFormMessageBox && havePublication\">\n <ng-container *ngIf=\"showPublicationMessages && fields?.length\">\n <ng-container\n *ngTemplateOutlet=\"publicationMessages, context: {form: form, entity: entity, itemId: itemId, fields: fields}\"></ng-container>\n </ng-container>\n</ng-container>\n\n<ng-template #publicationMessages let-form=\"form\" let-entity=\"entity\" let-itemId=\"itemId\" let-fields=\"fields\">\n <shared-publication-messages\n *ngIf=\"itemId\"\n [@appearFromLeft]\n [form]=\"form\"\n [entity]=\"entity\"\n [itemId]=\"itemId\"\n [fields]=\"fields\"\n [havePublication]=\"havePublication\"\n (scrollToField)=\"scrollToField($event)\"></shared-publication-messages>\n</ng-template>\n\n<ng-container *ngIf=\"isAvailableToUpdate\">\n <ng-content select=\"[submitButton]\"></ng-content>\n</ng-container>\n", styles: [":host{display:flex;flex-direction:column;flex-wrap:wrap}.form-group{cursor:pointer;margin-bottom:0}.form-group h2{display:flex;transition:color .3s;align-items:center}.progress-bar{margin-bottom:10px}.form-field-row{margin:5px 0}.small-form-width .form-field-row{margin-bottom:10px}.small-form-width .show-label{margin-bottom:0!important}.form-field-group-title{font-size:18px;display:flex;margin-top:15px;background:#f5f5f5;padding:10px;border-radius:8px}\n"] }]
|
|
10886
|
+
args: [{ selector: 'shared-auto-form', changeDetection: ChangeDetectionStrategy.OnPush, animations: [appearFromLeft, appearOpacity], standalone: false, template: "<shared-smart-progress-bar *ngIf=\"showProgressBar && storedFormValue?._occupancyRating\"\n [value]=\"storedFormValue?._occupancyRating\"\n [title]=\"'\u0423\u0440\u043E\u0432\u0435\u043D\u044C \u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u043D\u043E\u0441\u0442\u0438 \u0444\u043E\u0440\u043C\u044B'\"></shared-smart-progress-bar>\n\n<ng-container *ngIf=\"showPublicationMessages && fields?.length\">\n <ng-container\n *ngTemplateOutlet=\"publicationMessages, context: {form: form, entity: entity, itemId: itemId, fields: fields}\"></ng-container>\n</ng-container>\n\n<div *ngFor=\"let group of object_.keys(groupedFields); trackBy: truckByFieldName\"\n class=\"form-group container\"\n [ngClass]=\"{'form-group-open': groupsState[group]}\">\n\n <h2 *ngIf=\"group && object_.keys(groupedFields)?.length > 1\" class=\"form-field-group-title\" (click)=\"groupClick(group)\">\n <mat-icon class=\"fs-20 field-group-icon\">expand_more</mat-icon>\n {{ group }}\n </h2>\n <div *ngIf=\"groupsState[group]\"\n [ngClass]=\"{'small-form-width': config?.smallFormWidth}\"\n class=\"row form-group-fields\">\n <div *ngFor=\"let item of groupedFields[group]; trackBy: truckByFieldName\"\n class=\"form-field-row\"\n [ngClass]=\"getFormFieldClass(item)\">\n <div *ngIf=\"isAvailableToUpdate\" [ngClass]=\"{'field-tab': group}\">\n <shared-form-field\n [config]=\"config\"\n [itemId]=\"itemId\"\n [fieldData]=\"item\"\n [form]=\"form\"\n [errorMessageTexts]=\"errorMessageTexts\"\n [editorImageUploadUrl]=\"editorImageUploadUrl\"\n [entity]=\"entity\"\n [fields]=\"fields\"\n [formData]=\"form.value\"\n [publicationMessages]=\"allPublicationMessages\"\n [autoCompleteFields]=\"autoCompleteFields\"\n [entityPermissionUpdateDanyFields]=\"entityPermissionUpdateDanyFields\"\n ></shared-form-field>\n </div>\n <div *ngIf=\"!isAvailableToUpdate\" [ngClass]=\"{'field-tab': group}\">\n <shared-auto-form-show-field\n [config]=\"config\"\n [fieldData]=\"item\"\n [data]=\"form.value\"\n [entityId]=\"itemId\"\n [entitySection]=\"entity\"\n ></shared-auto-form-show-field>\n </div>\n </div>\n </div>\n</div>\n\n<div @appearFromLeft *ngIf=\"showFormMessageBox && dataStored && form.valid\" class=\"message-box warning mt-20 mb-10\">\n <ul>\n <li>{{ dataStoredTitle }}</li>\n </ul>\n</div>\n<shred-form-message-box\n *ngIf=\"showFormMessageBox\"\n [form]=\"form\"\n [fields]=\"fields\"\n [errorMessageTexts]=\"errorMessageTexts\"></shred-form-message-box>\n\n<ng-container *ngIf=\"showFormMessageBox && havePublication\">\n <ng-container *ngIf=\"showPublicationMessages && fields?.length\">\n <ng-container\n *ngTemplateOutlet=\"publicationMessages, context: {form: form, entity: entity, itemId: itemId, fields: fields}\"></ng-container>\n </ng-container>\n</ng-container>\n\n<ng-template #publicationMessages let-form=\"form\" let-entity=\"entity\" let-itemId=\"itemId\" let-fields=\"fields\">\n <shared-publication-messages\n *ngIf=\"itemId\"\n [@appearFromLeft]\n [form]=\"form\"\n [entity]=\"entity\"\n [itemId]=\"itemId\"\n [fields]=\"fields\"\n [havePublication]=\"havePublication\"\n (scrollToField)=\"scrollToField($event)\"></shared-publication-messages>\n</ng-template>\n\n<ng-container *ngIf=\"isAvailableToUpdate\">\n <ng-content select=\"[submitButton]\"></ng-content>\n</ng-container>\n", styles: [":host{display:flex;flex-direction:column;flex-wrap:wrap}.form-group{cursor:pointer;margin-bottom:0}.form-group h2{display:flex;transition:color .3s;align-items:center}.progress-bar{margin-bottom:10px}.form-field-row{margin:5px 0}.small-form-width .form-field-row{margin-bottom:10px}.small-form-width .show-label{margin-bottom:0!important}.form-field-group-title{font-size:18px;display:flex;margin-top:15px;background:#f5f5f5;padding:10px;border-radius:8px}\n"] }]
|
|
10859
10887
|
}], ctorParameters: () => [{ type: FormErrorsFacade }, { type: FormsFacade }, { type: BaseAutoFormService }, { type: AutoFormService }, { type: PublicationMessagesFacade }, { type: i2.ActivatedRoute }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }], propDecorators: { fields: [{
|
|
10860
10888
|
type: Input,
|
|
10861
10889
|
args: [{ required: true }]
|
|
@@ -10921,12 +10949,12 @@ class AutoFormShowComponent {
|
|
|
10921
10949
|
this.fieldGrouped = true;
|
|
10922
10950
|
}
|
|
10923
10951
|
}
|
|
10924
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10925
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
10952
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: AutoFormShowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10953
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: AutoFormShowComponent, isStandalone: false, selector: "shared-auto-form-show", inputs: { fields: "fields", data: "data", entityId: "entityId", entitySection: "entitySection", config: "config" }, 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 [config]=\"config\"\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$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: AutoFormShowFieldComponent, selector: "shared-auto-form-show-field", inputs: ["fieldData", "data", "entityId", "entitySection", "config"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
10926
10954
|
}
|
|
10927
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10955
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: AutoFormShowComponent, decorators: [{
|
|
10928
10956
|
type: Component,
|
|
10929
|
-
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 [config]=\"config\"\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"] }]
|
|
10957
|
+
args: [{ selector: 'shared-auto-form-show', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, 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 [config]=\"config\"\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"] }]
|
|
10930
10958
|
}], propDecorators: { fields: [{
|
|
10931
10959
|
type: Input
|
|
10932
10960
|
}], data: [{
|
|
@@ -10940,13 +10968,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
10940
10968
|
}] } });
|
|
10941
10969
|
|
|
10942
10970
|
class FormFieldErrorModule {
|
|
10943
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10944
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
10971
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormFieldErrorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
10972
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: FormFieldErrorModule, declarations: [FormFieldErrorComponent], imports: [CommonModule,
|
|
10945
10973
|
MatFormFieldModule], exports: [FormFieldErrorComponent] }); }
|
|
10946
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
10974
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormFieldErrorModule, imports: [CommonModule,
|
|
10947
10975
|
MatFormFieldModule] }); }
|
|
10948
10976
|
}
|
|
10949
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10977
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormFieldErrorModule, decorators: [{
|
|
10950
10978
|
type: NgModule,
|
|
10951
10979
|
args: [{
|
|
10952
10980
|
declarations: [FormFieldErrorComponent],
|
|
@@ -10961,13 +10989,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
10961
10989
|
}] });
|
|
10962
10990
|
|
|
10963
10991
|
class FormFieldPublishErrorModule {
|
|
10964
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10965
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
10992
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormFieldPublishErrorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
10993
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: FormFieldPublishErrorModule, declarations: [FormFieldPublishErrorComponent], imports: [CommonModule,
|
|
10966
10994
|
MatFormFieldModule], exports: [FormFieldPublishErrorComponent] }); }
|
|
10967
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
10995
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormFieldPublishErrorModule, imports: [CommonModule,
|
|
10968
10996
|
MatFormFieldModule] }); }
|
|
10969
10997
|
}
|
|
10970
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10998
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormFieldPublishErrorModule, decorators: [{
|
|
10971
10999
|
type: NgModule,
|
|
10972
11000
|
args: [{
|
|
10973
11001
|
declarations: [FormFieldPublishErrorComponent],
|
|
@@ -10982,13 +11010,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
10982
11010
|
}] });
|
|
10983
11011
|
|
|
10984
11012
|
class SharedSpinnerModule {
|
|
10985
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10986
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
11013
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SharedSpinnerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
11014
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: SharedSpinnerModule, declarations: [SpinnerComponent], imports: [CommonModule,
|
|
10987
11015
|
MatProgressSpinnerModule], exports: [SpinnerComponent] }); }
|
|
10988
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
11016
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SharedSpinnerModule, imports: [CommonModule,
|
|
10989
11017
|
MatProgressSpinnerModule] }); }
|
|
10990
11018
|
}
|
|
10991
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11019
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SharedSpinnerModule, decorators: [{
|
|
10992
11020
|
type: NgModule,
|
|
10993
11021
|
args: [{
|
|
10994
11022
|
declarations: [SpinnerComponent],
|
|
@@ -11001,8 +11029,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
11001
11029
|
}] });
|
|
11002
11030
|
|
|
11003
11031
|
class FilesUploadModule {
|
|
11004
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11005
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
11032
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FilesUploadModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
11033
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: FilesUploadModule, declarations: [FilesUploadComponent,
|
|
11006
11034
|
FilesUploadListImagesComponent,
|
|
11007
11035
|
FileListCardComponent,
|
|
11008
11036
|
TableFilesUploadingComponent], imports: [CommonModule,
|
|
@@ -11016,7 +11044,7 @@ class FilesUploadModule {
|
|
|
11016
11044
|
// SortablejsModule
|
|
11017
11045
|
], exports: [FilesUploadComponent,
|
|
11018
11046
|
DragDropModule] }); }
|
|
11019
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
11047
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FilesUploadModule, imports: [CommonModule,
|
|
11020
11048
|
MatIconModule,
|
|
11021
11049
|
MatProgressBarModule,
|
|
11022
11050
|
FileUploadModule,
|
|
@@ -11027,7 +11055,7 @@ class FilesUploadModule {
|
|
|
11027
11055
|
// SortablejsModule
|
|
11028
11056
|
, DragDropModule] }); }
|
|
11029
11057
|
}
|
|
11030
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11058
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FilesUploadModule, decorators: [{
|
|
11031
11059
|
type: NgModule,
|
|
11032
11060
|
args: [{
|
|
11033
11061
|
imports: [
|
|
@@ -11055,13 +11083,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
11055
11083
|
}] });
|
|
11056
11084
|
|
|
11057
11085
|
class ImageModule {
|
|
11058
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11059
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
11086
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ImageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
11087
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: ImageModule, declarations: [ImageComponent], imports: [CommonModule,
|
|
11060
11088
|
MatIconModule], exports: [ImageComponent] }); }
|
|
11061
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
11089
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ImageModule, imports: [CommonModule,
|
|
11062
11090
|
MatIconModule] }); }
|
|
11063
11091
|
}
|
|
11064
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11092
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ImageModule, decorators: [{
|
|
11065
11093
|
type: NgModule,
|
|
11066
11094
|
args: [{
|
|
11067
11095
|
declarations: [ImageComponent],
|
|
@@ -11074,13 +11102,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
11074
11102
|
}] });
|
|
11075
11103
|
|
|
11076
11104
|
class SharedIconModule {
|
|
11077
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11078
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
11105
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SharedIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
11106
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: SharedIconModule, declarations: [IconComponent], imports: [CommonModule,
|
|
11079
11107
|
MatIconModule], exports: [IconComponent] }); }
|
|
11080
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
11108
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SharedIconModule, imports: [CommonModule,
|
|
11081
11109
|
MatIconModule] }); }
|
|
11082
11110
|
}
|
|
11083
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11111
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SharedIconModule, decorators: [{
|
|
11084
11112
|
type: NgModule,
|
|
11085
11113
|
args: [{
|
|
11086
11114
|
imports: [
|
|
@@ -11093,21 +11121,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
11093
11121
|
}] });
|
|
11094
11122
|
|
|
11095
11123
|
class ButtonModule {
|
|
11096
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11097
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
11124
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
11125
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: ButtonModule, declarations: [ButtonComponent], imports: [CommonModule,
|
|
11098
11126
|
FormsModule,
|
|
11099
11127
|
MatTooltipModule,
|
|
11100
11128
|
SharedIconModule,
|
|
11101
11129
|
SharedSpinnerModule,
|
|
11102
11130
|
MatButtonModule], exports: [ButtonComponent] }); }
|
|
11103
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
11131
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ButtonModule, imports: [CommonModule,
|
|
11104
11132
|
FormsModule,
|
|
11105
11133
|
MatTooltipModule,
|
|
11106
11134
|
SharedIconModule,
|
|
11107
11135
|
SharedSpinnerModule,
|
|
11108
11136
|
MatButtonModule] }); }
|
|
11109
11137
|
}
|
|
11110
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11138
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ButtonModule, decorators: [{
|
|
11111
11139
|
type: NgModule,
|
|
11112
11140
|
args: [{
|
|
11113
11141
|
imports: [
|
|
@@ -11124,15 +11152,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
11124
11152
|
}] });
|
|
11125
11153
|
|
|
11126
11154
|
class PanelModule {
|
|
11127
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11128
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
11155
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PanelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
11156
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: PanelModule, declarations: [PanelComponent], imports: [CommonModule,
|
|
11129
11157
|
ButtonModule,
|
|
11130
11158
|
FlexModule], exports: [PanelComponent] }); }
|
|
11131
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
11159
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PanelModule, imports: [CommonModule,
|
|
11132
11160
|
ButtonModule,
|
|
11133
11161
|
FlexModule] }); }
|
|
11134
11162
|
}
|
|
11135
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11163
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PanelModule, decorators: [{
|
|
11136
11164
|
type: NgModule,
|
|
11137
11165
|
args: [{
|
|
11138
11166
|
declarations: [PanelComponent],
|
|
@@ -11146,11 +11174,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
11146
11174
|
}] });
|
|
11147
11175
|
|
|
11148
11176
|
class StarRatingModule {
|
|
11149
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11150
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
11151
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
11177
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StarRatingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
11178
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: StarRatingModule, declarations: [StarRatingComponent], imports: [CommonModule], exports: [StarRatingComponent] }); }
|
|
11179
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StarRatingModule, imports: [CommonModule] }); }
|
|
11152
11180
|
}
|
|
11153
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11181
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StarRatingModule, decorators: [{
|
|
11154
11182
|
type: NgModule,
|
|
11155
11183
|
args: [{
|
|
11156
11184
|
declarations: [StarRatingComponent],
|
|
@@ -11164,11 +11192,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
11164
11192
|
}] });
|
|
11165
11193
|
|
|
11166
11194
|
class SmartProgressBarModule {
|
|
11167
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11168
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
11169
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
11195
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SmartProgressBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
11196
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: SmartProgressBarModule, declarations: [SmartProgressBarComponent], imports: [CommonModule], exports: [SmartProgressBarComponent] }); }
|
|
11197
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SmartProgressBarModule, imports: [CommonModule] }); }
|
|
11170
11198
|
}
|
|
11171
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11199
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SmartProgressBarModule, decorators: [{
|
|
11172
11200
|
type: NgModule,
|
|
11173
11201
|
args: [{
|
|
11174
11202
|
declarations: [SmartProgressBarComponent],
|
|
@@ -11178,8 +11206,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
11178
11206
|
}] });
|
|
11179
11207
|
|
|
11180
11208
|
class AutoFormModule {
|
|
11181
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11182
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
11209
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: AutoFormModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
11210
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: AutoFormModule, declarations: [FormFieldComponent,
|
|
11183
11211
|
FormFieldSpinnerComponent,
|
|
11184
11212
|
FormFieldSelectComponent,
|
|
11185
11213
|
FormFieldSelectShowComponent,
|
|
@@ -11198,7 +11226,8 @@ class AutoFormModule {
|
|
|
11198
11226
|
FormFieldJsonShowComponent,
|
|
11199
11227
|
PublicationMessagesComponent,
|
|
11200
11228
|
FormFieldTagsComponent,
|
|
11201
|
-
FormFieldTextareaShowComponent
|
|
11229
|
+
FormFieldTextareaShowComponent,
|
|
11230
|
+
FormFieldCheditorComponent], imports: [CommonModule,
|
|
11202
11231
|
FormFieldErrorModule,
|
|
11203
11232
|
FormFieldPublishErrorModule,
|
|
11204
11233
|
MatFormFieldModule,
|
|
@@ -11224,7 +11253,7 @@ class AutoFormModule {
|
|
|
11224
11253
|
NgxMaskDirective,
|
|
11225
11254
|
NgxMaskPipe], exports: [AutoFormMainComponent,
|
|
11226
11255
|
AutoFormShowComponent] }); }
|
|
11227
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
11256
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: AutoFormModule, imports: [CommonModule,
|
|
11228
11257
|
FormFieldErrorModule,
|
|
11229
11258
|
FormFieldPublishErrorModule,
|
|
11230
11259
|
MatFormFieldModule,
|
|
@@ -11248,7 +11277,7 @@ class AutoFormModule {
|
|
|
11248
11277
|
MatAutocompleteModule,
|
|
11249
11278
|
NgxMatSelectSearchModule] }); }
|
|
11250
11279
|
}
|
|
11251
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11280
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: AutoFormModule, decorators: [{
|
|
11252
11281
|
type: NgModule,
|
|
11253
11282
|
args: [{
|
|
11254
11283
|
declarations: [
|
|
@@ -11271,7 +11300,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
11271
11300
|
FormFieldJsonShowComponent,
|
|
11272
11301
|
PublicationMessagesComponent,
|
|
11273
11302
|
FormFieldTagsComponent,
|
|
11274
|
-
FormFieldTextareaShowComponent
|
|
11303
|
+
FormFieldTextareaShowComponent,
|
|
11304
|
+
FormFieldCheditorComponent
|
|
11275
11305
|
],
|
|
11276
11306
|
imports: [
|
|
11277
11307
|
CommonModule,
|
|
@@ -11310,8 +11340,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
11310
11340
|
}] });
|
|
11311
11341
|
|
|
11312
11342
|
class DialogsModule {
|
|
11313
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11314
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
11343
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: DialogsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
11344
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: DialogsModule, declarations: [DeleteComponent,
|
|
11315
11345
|
CommonDialogComponent,
|
|
11316
11346
|
SelectDialogComponent], imports: [CommonModule,
|
|
11317
11347
|
MatDialogModule,
|
|
@@ -11322,7 +11352,7 @@ class DialogsModule {
|
|
|
11322
11352
|
FlexModule,
|
|
11323
11353
|
FormsModule,
|
|
11324
11354
|
ReactiveFormsModule] }); }
|
|
11325
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
11355
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: DialogsModule, providers: [DialogService], imports: [CommonModule,
|
|
11326
11356
|
MatDialogModule,
|
|
11327
11357
|
MatButtonModule,
|
|
11328
11358
|
MatIconModule,
|
|
@@ -11332,7 +11362,7 @@ class DialogsModule {
|
|
|
11332
11362
|
FormsModule,
|
|
11333
11363
|
ReactiveFormsModule] }); }
|
|
11334
11364
|
}
|
|
11335
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11365
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: DialogsModule, decorators: [{
|
|
11336
11366
|
type: NgModule,
|
|
11337
11367
|
args: [{
|
|
11338
11368
|
imports: [
|
|
@@ -11356,20 +11386,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
11356
11386
|
}] });
|
|
11357
11387
|
|
|
11358
11388
|
class AccessDeniedComponent {
|
|
11359
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11360
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
11389
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: AccessDeniedComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
11390
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: AccessDeniedComponent, isStandalone: false, selector: "shared-access-denied", ngImport: i0, template: "<div class=\"text-center mt-30\">\n \u041A \u0441\u043E\u0436\u0430\u043B\u0435\u043D\u0438\u044E, \u0443 \u0412\u0430\u0441 \u043D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u0430 \u0434\u043B\u044F \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 \u044D\u0442\u043E\u0439 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B<br/>\n <div class=\"mt-20\">\n \u0415\u0441\u043B\u0438 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044C \u0432\u043E\u043F\u0440\u043E\u0441\u044B \u043F\u043E \u044D\u0442\u043E\u043C\u0443 \u043F\u043E\u0432\u043E\u0434\u0443, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430 \u043D\u0430\u043F\u0438\u0448\u0438\u0442\u0435 \u0432 <a href=\"mailto:support@world-travel.uz\">support@world-travel.uz</a>\n </div>\n</div>\n", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
11361
11391
|
}
|
|
11362
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11392
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: AccessDeniedComponent, decorators: [{
|
|
11363
11393
|
type: Component,
|
|
11364
|
-
args: [{ selector: 'shared-access-denied', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"text-center mt-30\">\n \u041A \u0441\u043E\u0436\u0430\u043B\u0435\u043D\u0438\u044E, \u0443 \u0412\u0430\u0441 \u043D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u0430 \u0434\u043B\u044F \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 \u044D\u0442\u043E\u0439 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B<br/>\n <div class=\"mt-20\">\n \u0415\u0441\u043B\u0438 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044C \u0432\u043E\u043F\u0440\u043E\u0441\u044B \u043F\u043E \u044D\u0442\u043E\u043C\u0443 \u043F\u043E\u0432\u043E\u0434\u0443, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430 \u043D\u0430\u043F\u0438\u0448\u0438\u0442\u0435 \u0432 <a href=\"mailto:support@world-travel.uz\">support@world-travel.uz</a>\n </div>\n</div>\n" }]
|
|
11394
|
+
args: [{ selector: 'shared-access-denied', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div class=\"text-center mt-30\">\n \u041A \u0441\u043E\u0436\u0430\u043B\u0435\u043D\u0438\u044E, \u0443 \u0412\u0430\u0441 \u043D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u0430 \u0434\u043B\u044F \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 \u044D\u0442\u043E\u0439 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B<br/>\n <div class=\"mt-20\">\n \u0415\u0441\u043B\u0438 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044C \u0432\u043E\u043F\u0440\u043E\u0441\u044B \u043F\u043E \u044D\u0442\u043E\u043C\u0443 \u043F\u043E\u0432\u043E\u0434\u0443, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430 \u043D\u0430\u043F\u0438\u0448\u0438\u0442\u0435 \u0432 <a href=\"mailto:support@world-travel.uz\">support@world-travel.uz</a>\n </div>\n</div>\n" }]
|
|
11365
11395
|
}] });
|
|
11366
11396
|
|
|
11367
11397
|
class AccessDeniedModule {
|
|
11368
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11369
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
11370
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
11398
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: AccessDeniedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
11399
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: AccessDeniedModule, declarations: [AccessDeniedComponent], exports: [AccessDeniedComponent] }); }
|
|
11400
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: AccessDeniedModule }); }
|
|
11371
11401
|
}
|
|
11372
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11402
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: AccessDeniedModule, decorators: [{
|
|
11373
11403
|
type: NgModule,
|
|
11374
11404
|
args: [{
|
|
11375
11405
|
imports: [],
|
|
@@ -11382,22 +11412,22 @@ class BreadCrumbsComponent {
|
|
|
11382
11412
|
constructor() { }
|
|
11383
11413
|
ngOnInit() {
|
|
11384
11414
|
}
|
|
11385
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11386
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
11415
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: BreadCrumbsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
11416
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: BreadCrumbsComponent, isStandalone: false, selector: "shared-bread-crumbs", inputs: { list: "list" }, ngImport: i0, template: "<div class=\"bread-crumbs\" *ngIf=\"list\">\n <ng-container *ngFor=\"let item of list\">\n <ng-container *ngIf=\"item.url\">\n <a [routerLink]=\"item.url\">{{item.title}}</a><span class=\"separate\">/</span>\n </ng-container>\n <ng-container *ngIf=\"!item.url\">\n <span>{{item.title}}</span>\n </ng-container>\n </ng-container>\n</div>\n", styles: [".bread-crumbs{margin-bottom:15px;font-size:12px;opacity:.8}.bread-crumbs .separate{padding:0 5px}\n"], dependencies: [{ kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
11387
11417
|
}
|
|
11388
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11418
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: BreadCrumbsComponent, decorators: [{
|
|
11389
11419
|
type: Component,
|
|
11390
|
-
args: [{ selector: 'shared-bread-crumbs', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"bread-crumbs\" *ngIf=\"list\">\n <ng-container *ngFor=\"let item of list\">\n <ng-container *ngIf=\"item.url\">\n <a [routerLink]=\"item.url\">{{item.title}}</a><span class=\"separate\">/</span>\n </ng-container>\n <ng-container *ngIf=\"!item.url\">\n <span>{{item.title}}</span>\n </ng-container>\n </ng-container>\n</div>\n", styles: [".bread-crumbs{margin-bottom:15px;font-size:12px;opacity:.8}.bread-crumbs .separate{padding:0 5px}\n"] }]
|
|
11420
|
+
args: [{ selector: 'shared-bread-crumbs', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div class=\"bread-crumbs\" *ngIf=\"list\">\n <ng-container *ngFor=\"let item of list\">\n <ng-container *ngIf=\"item.url\">\n <a [routerLink]=\"item.url\">{{item.title}}</a><span class=\"separate\">/</span>\n </ng-container>\n <ng-container *ngIf=\"!item.url\">\n <span>{{item.title}}</span>\n </ng-container>\n </ng-container>\n</div>\n", styles: [".bread-crumbs{margin-bottom:15px;font-size:12px;opacity:.8}.bread-crumbs .separate{padding:0 5px}\n"] }]
|
|
11391
11421
|
}], ctorParameters: () => [], propDecorators: { list: [{
|
|
11392
11422
|
type: Input
|
|
11393
11423
|
}] } });
|
|
11394
11424
|
|
|
11395
11425
|
class BreadCrumbsModule {
|
|
11396
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11397
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
11398
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
11426
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: BreadCrumbsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
11427
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: BreadCrumbsModule, declarations: [BreadCrumbsComponent], imports: [CommonModule, RouterModule], exports: [CommonModule, BreadCrumbsComponent] }); }
|
|
11428
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: BreadCrumbsModule, imports: [CommonModule, RouterModule, CommonModule] }); }
|
|
11399
11429
|
}
|
|
11400
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11430
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: BreadCrumbsModule, decorators: [{
|
|
11401
11431
|
type: NgModule,
|
|
11402
11432
|
args: [{
|
|
11403
11433
|
declarations: [BreadCrumbsComponent],
|
|
@@ -11736,13 +11766,13 @@ class SiteHelperComponent {
|
|
|
11736
11766
|
}
|
|
11737
11767
|
ngOnDestroy() {
|
|
11738
11768
|
}
|
|
11739
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11740
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
11769
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SiteHelperComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: FormsFacade }, { token: PublicationMessagesFacade }, { token: StaticDataFacade }, { token: i3$1.CookieService }, { token: i2.Router }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
11770
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: SiteHelperComponent, isStandalone: false, selector: "shared-site-helper", inputs: { configurations: "configurations" }, viewQueries: [{ propertyName: "textDiv", first: true, predicate: ["siteHelperText"], descendants: true }], ngImport: i0, template: "", styles: [".site-helper{position:fixed;right:20px;bottom:0;z-index:100000;display:flex;flex-direction:column}.site-helper .site-helper-text-button button{background:#4caf50;border:0;color:#fff;height:30px;margin-top:10px}\n"], animations: [appearOpacity2], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
11741
11771
|
}
|
|
11742
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11772
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SiteHelperComponent, decorators: [{
|
|
11743
11773
|
type: Component,
|
|
11744
|
-
args: [{ selector: 'shared-site-helper', changeDetection: ChangeDetectionStrategy.OnPush, animations: [appearOpacity2], template: "", styles: [".site-helper{position:fixed;right:20px;bottom:0;z-index:100000;display:flex;flex-direction:column}.site-helper .site-helper-text-button button{background:#4caf50;border:0;color:#fff;height:30px;margin-top:10px}\n"] }]
|
|
11745
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: FormsFacade }, { type: PublicationMessagesFacade }, { type: StaticDataFacade }, { type: i3$
|
|
11774
|
+
args: [{ selector: 'shared-site-helper', changeDetection: ChangeDetectionStrategy.OnPush, animations: [appearOpacity2], standalone: false, template: "", styles: [".site-helper{position:fixed;right:20px;bottom:0;z-index:100000;display:flex;flex-direction:column}.site-helper .site-helper-text-button button{background:#4caf50;border:0;color:#fff;height:30px;margin-top:10px}\n"] }]
|
|
11775
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: FormsFacade }, { type: PublicationMessagesFacade }, { type: StaticDataFacade }, { type: i3$1.CookieService }, { type: i2.Router }], propDecorators: { configurations: [{
|
|
11746
11776
|
type: Input
|
|
11747
11777
|
}], textDiv: [{
|
|
11748
11778
|
type: ViewChild,
|
|
@@ -11750,11 +11780,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
11750
11780
|
}] } });
|
|
11751
11781
|
|
|
11752
11782
|
class SiteHelperModule {
|
|
11753
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11754
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
11755
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
11783
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SiteHelperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
11784
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: SiteHelperModule, declarations: [SiteHelperComponent], imports: [CommonModule], exports: [SiteHelperComponent] }); }
|
|
11785
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SiteHelperModule, imports: [CommonModule] }); }
|
|
11756
11786
|
}
|
|
11757
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11787
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SiteHelperModule, decorators: [{
|
|
11758
11788
|
type: NgModule,
|
|
11759
11789
|
args: [{
|
|
11760
11790
|
declarations: [SiteHelperComponent],
|
|
@@ -11823,10 +11853,10 @@ class RightService {
|
|
|
11823
11853
|
};
|
|
11824
11854
|
}));
|
|
11825
11855
|
}
|
|
11826
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11827
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
11856
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: RightService, deps: [{ token: AuthenticationService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
11857
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: RightService, providedIn: 'root' }); }
|
|
11828
11858
|
}
|
|
11829
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11859
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: RightService, decorators: [{
|
|
11830
11860
|
type: Injectable,
|
|
11831
11861
|
args: [{
|
|
11832
11862
|
providedIn: 'root'
|
|
@@ -11837,12 +11867,12 @@ class PanelHeaderComponent {
|
|
|
11837
11867
|
constructor() { }
|
|
11838
11868
|
ngOnInit() {
|
|
11839
11869
|
}
|
|
11840
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11841
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
11870
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PanelHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
11871
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: PanelHeaderComponent, isStandalone: false, selector: "shared-panel-header", inputs: { title: "title", parentTitle: "parentTitle", parentUrl: "parentUrl" }, ngImport: i0, template: "<div class=\"header accent p-24 h-160\">\n <div class=\"header-breadcrumbs mt-16\">\n <mat-icon\n class=\"secondary-text s-18 mat-icon notranslate material-icons mat-icon-no-color\"\n role=\"img\" aria-hidden=\"true\">home\n </mat-icon>\n\n <!--\n <span class=\"secondary-text\">Documentation</span>\n <mat-icon\n class=\"secondary-text s-16 mat-icon notranslate material-icons mat-icon-no-color\"\n role=\"img\" aria-hidden=\"true\">chevron_right\n </mat-icon>\n <span class=\"secondary-text\">Components</span>-->\n <ng-container *ngIf=\"parentTitle\">\n <mat-icon\n class=\"secondary-text s-16 mat-icon notranslate material-icons mat-icon-no-color\"\n role=\"img\" aria-hidden=\"true\">chevron_right\n </mat-icon>\n <div class=\"address-paren-item address-item\" [routerLink]=\"parentUrl\">{{parentTitle}}</div>\n </ng-container>\n <mat-icon\n class=\"secondary-text s-16 mat-icon notranslate material-icons mat-icon-no-color\"\n role=\"img\" aria-hidden=\"true\">chevron_right\n </mat-icon>\n <div class=\"address-item\">{{title}}</div>\n </div>\n\n <!-- <div class=\"find-block\">\n <mat-form-field>\n <div class=\"find-field\">\n <input matInput #filterInput placeholder=\"\u041F\u043E\u0438\u0441\u043A\">\n <button mat-button [color]=\"'primary'\" (click)=\"applyFilter(filterInput)\" class=\"w-100\">\n \u041D\u0430\u0439\u0442\u0438\n </button>\n <button *ngIf=\"searchText\" mat-button\n (click)=\"applyFilter(filterInput, true)\"\n class=\"ml-5 w-100\">\n \u041E\u0442\u043C\u0435\u043D\u0430\n </button>\n </div>\n </mat-form-field>\n </div>-->\n</div>\n\n", styles: [".address-item{font-size:12px}.address-item.address-paren-item{cursor:pointer;color:#007bff}\n"], dependencies: [{ kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
11842
11872
|
}
|
|
11843
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11873
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PanelHeaderComponent, decorators: [{
|
|
11844
11874
|
type: Component,
|
|
11845
|
-
args: [{ selector: 'shared-panel-header', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"header accent p-24 h-160\">\n <div class=\"header-breadcrumbs mt-16\">\n <mat-icon\n class=\"secondary-text s-18 mat-icon notranslate material-icons mat-icon-no-color\"\n role=\"img\" aria-hidden=\"true\">home\n </mat-icon>\n\n <!--\n <span class=\"secondary-text\">Documentation</span>\n <mat-icon\n class=\"secondary-text s-16 mat-icon notranslate material-icons mat-icon-no-color\"\n role=\"img\" aria-hidden=\"true\">chevron_right\n </mat-icon>\n <span class=\"secondary-text\">Components</span>-->\n <ng-container *ngIf=\"parentTitle\">\n <mat-icon\n class=\"secondary-text s-16 mat-icon notranslate material-icons mat-icon-no-color\"\n role=\"img\" aria-hidden=\"true\">chevron_right\n </mat-icon>\n <div class=\"address-paren-item address-item\" [routerLink]=\"parentUrl\">{{parentTitle}}</div>\n </ng-container>\n <mat-icon\n class=\"secondary-text s-16 mat-icon notranslate material-icons mat-icon-no-color\"\n role=\"img\" aria-hidden=\"true\">chevron_right\n </mat-icon>\n <div class=\"address-item\">{{title}}</div>\n </div>\n\n <!-- <div class=\"find-block\">\n <mat-form-field>\n <div class=\"find-field\">\n <input matInput #filterInput placeholder=\"\u041F\u043E\u0438\u0441\u043A\">\n <button mat-button [color]=\"'primary'\" (click)=\"applyFilter(filterInput)\" class=\"w-100\">\n \u041D\u0430\u0439\u0442\u0438\n </button>\n <button *ngIf=\"searchText\" mat-button\n (click)=\"applyFilter(filterInput, true)\"\n class=\"ml-5 w-100\">\n \u041E\u0442\u043C\u0435\u043D\u0430\n </button>\n </div>\n </mat-form-field>\n </div>-->\n</div>\n\n", styles: [".address-item{font-size:12px}.address-item.address-paren-item{cursor:pointer;color:#007bff}\n"] }]
|
|
11875
|
+
args: [{ selector: 'shared-panel-header', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div class=\"header accent p-24 h-160\">\n <div class=\"header-breadcrumbs mt-16\">\n <mat-icon\n class=\"secondary-text s-18 mat-icon notranslate material-icons mat-icon-no-color\"\n role=\"img\" aria-hidden=\"true\">home\n </mat-icon>\n\n <!--\n <span class=\"secondary-text\">Documentation</span>\n <mat-icon\n class=\"secondary-text s-16 mat-icon notranslate material-icons mat-icon-no-color\"\n role=\"img\" aria-hidden=\"true\">chevron_right\n </mat-icon>\n <span class=\"secondary-text\">Components</span>-->\n <ng-container *ngIf=\"parentTitle\">\n <mat-icon\n class=\"secondary-text s-16 mat-icon notranslate material-icons mat-icon-no-color\"\n role=\"img\" aria-hidden=\"true\">chevron_right\n </mat-icon>\n <div class=\"address-paren-item address-item\" [routerLink]=\"parentUrl\">{{parentTitle}}</div>\n </ng-container>\n <mat-icon\n class=\"secondary-text s-16 mat-icon notranslate material-icons mat-icon-no-color\"\n role=\"img\" aria-hidden=\"true\">chevron_right\n </mat-icon>\n <div class=\"address-item\">{{title}}</div>\n </div>\n\n <!-- <div class=\"find-block\">\n <mat-form-field>\n <div class=\"find-field\">\n <input matInput #filterInput placeholder=\"\u041F\u043E\u0438\u0441\u043A\">\n <button mat-button [color]=\"'primary'\" (click)=\"applyFilter(filterInput)\" class=\"w-100\">\n \u041D\u0430\u0439\u0442\u0438\n </button>\n <button *ngIf=\"searchText\" mat-button\n (click)=\"applyFilter(filterInput, true)\"\n class=\"ml-5 w-100\">\n \u041E\u0442\u043C\u0435\u043D\u0430\n </button>\n </div>\n </mat-form-field>\n </div>-->\n</div>\n\n", styles: [".address-item{font-size:12px}.address-item.address-paren-item{cursor:pointer;color:#007bff}\n"] }]
|
|
11846
11876
|
}], ctorParameters: () => [], propDecorators: { title: [{
|
|
11847
11877
|
type: Input
|
|
11848
11878
|
}], parentTitle: [{
|
|
@@ -11955,12 +11985,12 @@ class StaticDataItemsComponent {
|
|
|
11955
11985
|
});
|
|
11956
11986
|
return preparedRow;
|
|
11957
11987
|
}
|
|
11958
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11959
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
11988
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StaticDataItemsComponent, deps: [{ token: RouterFacade }, { token: StaticDataFacade }, { token: i2$1.MatIconRegistry }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
11989
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: StaticDataItemsComponent, isStandalone: false, selector: "app-static-data-items", inputs: { items: "items", contentType: "contentType", queryParams: "queryParams", userRights: "userRights", staticSection: "staticSection" }, outputs: { delete: "delete" }, usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"( preparedItems$ | async ) as items\">\n <table mat-table [dataSource]=\"items\" class=\"static-data-table\">\n <ng-container *ngFor=\"let fieldData of fieldsList\" [matColumnDef]=\"fieldData.field\">\n <th mat-header-cell *matHeaderCellDef> {{ fieldData.title }}</th>\n <td mat-cell *matCellDef=\"let element\"> {{ element[fieldData.field] }}</td>\n </ng-container>\n\n <ng-container [matColumnDef]=\"'actions'\">\n <th mat-header-cell *matHeaderCellDef class=\"action-column\"> \u0414\u0435\u0439\u0441\u0442\u0432\u0438\u044F</th>\n <td mat-cell *matCellDef=\"let element\" class=\"action-column\">\n <shared-button\n *ngIf=\"userRights[2]\"\n class=\"mr-5\"\n size=\"small\"\n icon=\"edit\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"accent\"\n (click)=\"edit(element.id)\">\n </shared-button>\n <shared-button\n *ngIf=\"userRights[3]\"\n icon=\"clear\"\n size=\"small\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"warn\"\n (click)=\"deleteAction(element)\">\n </shared-button>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns\"></tr>\n <tr mat-row\n (click)=\"edit(row.id)\"\n *matRowDef=\"let row; columns: displayedColumns;\"\n ></tr>\n\n <!--<tr>\n <th *ngFor=\"let fieldData of fieldsList\">{{ fieldData.title }}</th>\n </tr>\n <tr *ngFor=\"let item of ( preparedItems$ | async ) as items\">\n <ng-container *ngFor=\"let fieldData of fieldsList\">\n <td (click)=\"edit(item.id)\" [ngClass]=\"{'true-select': item[fieldData.field] === true }\">\n {{ item[fieldData.field] }}\n </td>\n </ng-container>\n\n <td class=\"action-field\">\n <shared-button\n *ngIf=\"userRights[2]\"\n class=\"mr-5\"\n size=\"small\"\n icon=\"edit\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"accent\"\n (click)=\"edit(item.id)\">\n </shared-button>\n <shared-button\n *ngIf=\"userRights[3]\"\n icon=\"clear\"\n size=\"small\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"warn\"\n (click)=\"deleteAction(item)\">\n </shared-button>\n </td>\n\n </tr>-->\n </table>\n</ng-container>\n\n<!--\n<table mat-table class=\"list-items\">\n <tr>\n <th *ngFor=\"let fieldData of fieldsList\">{{fieldData.title}}</th>\n </tr>\n <tr *ngFor=\"let item of ( preparedItems$ | async ) as items\">\n <ng-container *ngFor=\"let fieldData of fieldsList\">\n <td (click)=\"edit(item.id)\" [ngClass]=\"{'true-select': item[fieldData.field] === true }\">\n {{item[fieldData.field]}}\n </td>\n </ng-container>\n\n <td class=\"action-field\">\n <shared-button\n *ngIf=\"userRights[2]\"\n class=\"mr-5\"\n size=\"small\"\n icon=\"edit\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"accent\"\n (click)=\"edit(item.id)\">\n </shared-button>\n <shared-button\n *ngIf=\"userRights[3]\"\n icon=\"clear\"\n size=\"small\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"warn\"\n (click)=\"deleteAction(item)\">\n </shared-button>\n </td>\n\n </tr>\n</table>\n\n-->\n", styles: [".static-data-table{width:100%}.mat-mdc-row .mat-mdc-cell{border-bottom:1px solid transparent;border-top:1px solid transparent;cursor:pointer}.mat-mdc-row:hover .mat-mdc-cell{border-color:currentColor}.action-column{text-align:right!important}\n"], dependencies: [{ kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5$3.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i5$3.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i5$3.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i5$3.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i5$3.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i5$3.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i5$3.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i5$3.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i5$3.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i5$3.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "component", type: ButtonComponent, selector: "shared-button", inputs: ["icon", "iconColor", "iconSize", "rightIcon", "disabled", "loading", "active", "stopPropagation", "type", "color", "fullWidth", "size", "styleTheme", "tooltip", "tooltipPosition"], outputs: ["clickButton"] }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
11960
11990
|
}
|
|
11961
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11991
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StaticDataItemsComponent, decorators: [{
|
|
11962
11992
|
type: Component,
|
|
11963
|
-
args: [{ selector: 'app-static-data-items', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngIf=\"( preparedItems$ | async ) as items\">\n <table mat-table [dataSource]=\"items\" class=\"static-data-table\">\n <ng-container *ngFor=\"let fieldData of fieldsList\" [matColumnDef]=\"fieldData.field\">\n <th mat-header-cell *matHeaderCellDef> {{ fieldData.title }}</th>\n <td mat-cell *matCellDef=\"let element\"> {{ element[fieldData.field] }}</td>\n </ng-container>\n\n <ng-container [matColumnDef]=\"'actions'\">\n <th mat-header-cell *matHeaderCellDef class=\"action-column\"> \u0414\u0435\u0439\u0441\u0442\u0432\u0438\u044F</th>\n <td mat-cell *matCellDef=\"let element\" class=\"action-column\">\n <shared-button\n *ngIf=\"userRights[2]\"\n class=\"mr-5\"\n size=\"small\"\n icon=\"edit\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"accent\"\n (click)=\"edit(element.id)\">\n </shared-button>\n <shared-button\n *ngIf=\"userRights[3]\"\n icon=\"clear\"\n size=\"small\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"warn\"\n (click)=\"deleteAction(element)\">\n </shared-button>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns\"></tr>\n <tr mat-row\n (click)=\"edit(row.id)\"\n *matRowDef=\"let row; columns: displayedColumns;\"\n ></tr>\n\n <!--<tr>\n <th *ngFor=\"let fieldData of fieldsList\">{{ fieldData.title }}</th>\n </tr>\n <tr *ngFor=\"let item of ( preparedItems$ | async ) as items\">\n <ng-container *ngFor=\"let fieldData of fieldsList\">\n <td (click)=\"edit(item.id)\" [ngClass]=\"{'true-select': item[fieldData.field] === true }\">\n {{ item[fieldData.field] }}\n </td>\n </ng-container>\n\n <td class=\"action-field\">\n <shared-button\n *ngIf=\"userRights[2]\"\n class=\"mr-5\"\n size=\"small\"\n icon=\"edit\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"accent\"\n (click)=\"edit(item.id)\">\n </shared-button>\n <shared-button\n *ngIf=\"userRights[3]\"\n icon=\"clear\"\n size=\"small\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"warn\"\n (click)=\"deleteAction(item)\">\n </shared-button>\n </td>\n\n </tr>-->\n </table>\n</ng-container>\n\n<!--\n<table mat-table class=\"list-items\">\n <tr>\n <th *ngFor=\"let fieldData of fieldsList\">{{fieldData.title}}</th>\n </tr>\n <tr *ngFor=\"let item of ( preparedItems$ | async ) as items\">\n <ng-container *ngFor=\"let fieldData of fieldsList\">\n <td (click)=\"edit(item.id)\" [ngClass]=\"{'true-select': item[fieldData.field] === true }\">\n {{item[fieldData.field]}}\n </td>\n </ng-container>\n\n <td class=\"action-field\">\n <shared-button\n *ngIf=\"userRights[2]\"\n class=\"mr-5\"\n size=\"small\"\n icon=\"edit\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"accent\"\n (click)=\"edit(item.id)\">\n </shared-button>\n <shared-button\n *ngIf=\"userRights[3]\"\n icon=\"clear\"\n size=\"small\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"warn\"\n (click)=\"deleteAction(item)\">\n </shared-button>\n </td>\n\n </tr>\n</table>\n\n-->\n", styles: [".static-data-table{width:100%}.mat-mdc-row .mat-mdc-cell{border-bottom:1px solid transparent;border-top:1px solid transparent;cursor:pointer}.mat-mdc-row:hover .mat-mdc-cell{border-color:currentColor}.action-column{text-align:right!important}\n"] }]
|
|
11993
|
+
args: [{ selector: 'app-static-data-items', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<ng-container *ngIf=\"( preparedItems$ | async ) as items\">\n <table mat-table [dataSource]=\"items\" class=\"static-data-table\">\n <ng-container *ngFor=\"let fieldData of fieldsList\" [matColumnDef]=\"fieldData.field\">\n <th mat-header-cell *matHeaderCellDef> {{ fieldData.title }}</th>\n <td mat-cell *matCellDef=\"let element\"> {{ element[fieldData.field] }}</td>\n </ng-container>\n\n <ng-container [matColumnDef]=\"'actions'\">\n <th mat-header-cell *matHeaderCellDef class=\"action-column\"> \u0414\u0435\u0439\u0441\u0442\u0432\u0438\u044F</th>\n <td mat-cell *matCellDef=\"let element\" class=\"action-column\">\n <shared-button\n *ngIf=\"userRights[2]\"\n class=\"mr-5\"\n size=\"small\"\n icon=\"edit\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"accent\"\n (click)=\"edit(element.id)\">\n </shared-button>\n <shared-button\n *ngIf=\"userRights[3]\"\n icon=\"clear\"\n size=\"small\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"warn\"\n (click)=\"deleteAction(element)\">\n </shared-button>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns\"></tr>\n <tr mat-row\n (click)=\"edit(row.id)\"\n *matRowDef=\"let row; columns: displayedColumns;\"\n ></tr>\n\n <!--<tr>\n <th *ngFor=\"let fieldData of fieldsList\">{{ fieldData.title }}</th>\n </tr>\n <tr *ngFor=\"let item of ( preparedItems$ | async ) as items\">\n <ng-container *ngFor=\"let fieldData of fieldsList\">\n <td (click)=\"edit(item.id)\" [ngClass]=\"{'true-select': item[fieldData.field] === true }\">\n {{ item[fieldData.field] }}\n </td>\n </ng-container>\n\n <td class=\"action-field\">\n <shared-button\n *ngIf=\"userRights[2]\"\n class=\"mr-5\"\n size=\"small\"\n icon=\"edit\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"accent\"\n (click)=\"edit(item.id)\">\n </shared-button>\n <shared-button\n *ngIf=\"userRights[3]\"\n icon=\"clear\"\n size=\"small\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"warn\"\n (click)=\"deleteAction(item)\">\n </shared-button>\n </td>\n\n </tr>-->\n </table>\n</ng-container>\n\n<!--\n<table mat-table class=\"list-items\">\n <tr>\n <th *ngFor=\"let fieldData of fieldsList\">{{fieldData.title}}</th>\n </tr>\n <tr *ngFor=\"let item of ( preparedItems$ | async ) as items\">\n <ng-container *ngFor=\"let fieldData of fieldsList\">\n <td (click)=\"edit(item.id)\" [ngClass]=\"{'true-select': item[fieldData.field] === true }\">\n {{item[fieldData.field]}}\n </td>\n </ng-container>\n\n <td class=\"action-field\">\n <shared-button\n *ngIf=\"userRights[2]\"\n class=\"mr-5\"\n size=\"small\"\n icon=\"edit\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"accent\"\n (click)=\"edit(item.id)\">\n </shared-button>\n <shared-button\n *ngIf=\"userRights[3]\"\n icon=\"clear\"\n size=\"small\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"warn\"\n (click)=\"deleteAction(item)\">\n </shared-button>\n </td>\n\n </tr>\n</table>\n\n-->\n", styles: [".static-data-table{width:100%}.mat-mdc-row .mat-mdc-cell{border-bottom:1px solid transparent;border-top:1px solid transparent;cursor:pointer}.mat-mdc-row:hover .mat-mdc-cell{border-color:currentColor}.action-column{text-align:right!important}\n"] }]
|
|
11964
11994
|
}], ctorParameters: () => [{ type: RouterFacade }, { type: StaticDataFacade }, { type: i2$1.MatIconRegistry }], propDecorators: { items: [{
|
|
11965
11995
|
type: Input
|
|
11966
11996
|
}], contentType: [{
|
|
@@ -12151,12 +12181,12 @@ class StaticDataListItemsComponent {
|
|
|
12151
12181
|
this.pageIndex = data.pageIndex;
|
|
12152
12182
|
this.loadStaticData(this.pageIndex + 1, data.pageSize);
|
|
12153
12183
|
}
|
|
12154
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12155
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: StaticDataListItemsComponent, selector: "app-static-data-list-items", inputs: { staticDataConfiguration: "staticDataConfiguration", contentType: "contentType", customTitle: "customTitle", addTitle: "addTitle", parentSection: "parentSection", parentItemId: "parentItemId", showPanelHeader: "showPanelHeader", parentData: "parentData", parentSectionHashtag: "parentSectionHashtag", autoCompleteFields: "autoCompleteFields", filteringQuery: "filteringQuery" }, viewQueries: [{ propertyName: "paginator", first: true, predicate: MatPaginator, descendants: true, static: true }, { propertyName: "sort", first: true, predicate: MatSort, descendants: true, static: true }, { propertyName: "searchInput", first: true, predicate: ["search"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"(userRights$ | async) as userRights\">\n <ng-container *ngIf=\"(staticDataMeta$ | async) as staticDataObj\">\n <mat-card-header>\n <mat-card-title>\n <h1 class=\"mb-0\">{{ title }}</h1>\n </mat-card-title>\n <mat-card-subtitle *ngIf=\"staticSection.options?.search\">\n <form class=\"search-box position-relative\">\n <input #search class=\"search-input\" placeholder=\"\u041F\u043E\u0438\u0441\u043A\">\n <shared-button\n icon=\"search\"\n color=\"accent\"\n iconColor=\"black\"\n (click)=\"searchHandle(search.value)\"></shared-button>\n <div class=\"cancel-button\">\n <shared-button\n *ngIf=\"search.value\"\n icon=\"clear\"\n color=\"warn\"\n iconColor=\"black\"\n (click)=\"searchCancelHandle()\"></shared-button>\n </div>\n </form>\n </mat-card-subtitle>\n </mat-card-header>\n <mat-card-content>\n <!--<shared-panel-header *ngIf=\"showPanelHeader\" [title]=\"title\"></shared-panel-header>-->\n <div class=\"table-responsive\">\n <div class=\"content p-24\">\n <!--<div *ngIf=\"staticSection.options?.search\" class=\"top-bar\">\n <div class=\"search-block\">\n \u041F\u043E\u0438\u0441\u043A: <input #search class=\"search-input\">\n <shared-button\n icon=\"search\"\n color=\"accent\"\n iconColor=\"black\"\n (click)=\"searchHandle(search.value)\"></shared-button>\n <div class=\"cancel-button\">\n <shared-button\n *ngIf=\"search.value\"\n icon=\"clear\"\n color=\"warn\"\n iconColor=\"black\"\n (click)=\"searchCancelHandle()\"></shared-button>\n </div>\n </div>\n </div>-->\n <ng-container *ngIf=\"staticData$ | async as staticData\">\n <div class=\"center-block p-10\">\n <app-static-data-items [items]=\"staticData\"\n [userRights]=\"userRights\"\n [staticSection]=\"staticSection\"\n [contentType]=\"contentType\"\n [queryParams]=\"queryParams\"\n (delete)=\"deleteEvent($event)\"></app-static-data-items>\n </div>\n <div *ngIf=\"staticDataObj.meta?.perPage !== -1 && staticDataObj.meta?.totalCount > 10\">\n <mat-paginator\n *ngIf=\"totalCount\"\n [length]=\"staticDataObj.meta?.totalCount\"\n [pageIndex]=\"pageIndex\"\n [pageSizeOptions]=\"[10, 25, 100]\"\n (page)=\"changePage($event)\"></mat-paginator>\n </div>\n </ng-container>\n <div *ngIf=\"isLoaded && !totalCount\">\u0421\u043F\u0438\u0441\u043E\u043A \u043F\u0443\u0441\u0442</div>\n <div *ngIf=\"userRights[0]\" class=\"text-center mt-30 mb-30\">\n <shared-button\n id=\"go-to-create-form-button\"\n class=\"mr-5\"\n iconSize=\"small\"\n icon=\"add\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"accent\"\n (click)=\"addHandle()\">{{ addTitle || '\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C' }}\n </shared-button>\n </div>\n </div>\n <ng-container *ngIf=\"loaded$|async; let loaded;\">\n <shared-spinner *ngIf=\"!loaded\"></shared-spinner>\n </ng-container>\n </div>\n </mat-card-content>\n </ng-container>\n</ng-container>\n<!--\n<ng-container *ngIf=\"(userRights$ | async) as userRights\">\n <ng-container *ngIf=\"(staticDataMeta$ | async) as staticDataObj\">\n\n <div class=\"page-layout simple fullwidth angular-material-elements\">\n <shared-panel-header *ngIf=\"showPanelHeader\" [title]=\"title\"></shared-panel-header>\n\n <h1>{{title}}</h1>\n <div class=\"content p-24\">\n <div *ngIf=\"staticSection.options?.search\" class=\"top-bar\">\n <div class=\"search-block\">\n \u041F\u043E\u0438\u0441\u043A: <input #search class=\"search-input\">\n <shared-button\n icon=\"search\"\n color=\"accent\"\n iconColor=\"black\"\n (click)=\"searchHandle(search.value)\"></shared-button>\n <div class=\"cancel-button\">\n <shared-button\n *ngIf=\"search.value\"\n icon=\"clear\"\n color=\"warn\"\n iconColor=\"black\"\n (click)=\"searchCancelHandle()\"></shared-button>\n </div>\n </div>\n </div>\n <ng-container *ngIf=\"staticData$ | async as staticData\">\n <div class=\"center-block p-10\">\n <app-static-data-items [items]=\"staticData\"\n [userRights]=\"userRights\"\n [staticSection]=\"staticSection\"\n [contentType]=\"contentType\"\n [queryParams]=\"queryParams\"\n (delete)=\"deleteEvent($event)\"></app-static-data-items>\n </div>\n <div *ngIf=\"staticDataObj.meta?.perPage !== -1\">\n <mat-paginator\n *ngIf=\"totalCount\"\n [length]=\"staticDataObj.meta?.totalCount\"\n [pageIndex]=\"pageIndex\"\n [pageSizeOptions]=\"[10, 25, 100]\"\n (page)=\"changePage($event)\"></mat-paginator>\n </div>\n </ng-container>\n <div *ngIf=\"isLoaded && !totalCount\">\u0421\u043F\u0438\u0441\u043E\u043A \u043F\u0443\u0441\u0442</div>\n <div *ngIf=\"userRights[0]\" class=\"text-center mt-30 mb-30\">\n <shared-button\n id=\"go-to-create-form-button\"\n class=\"mr-5\"\n iconSize=\"small\"\n icon=\"add\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"accent\"\n (click)=\"addHandle()\">{{ addTitle || '\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C' }}\n </shared-button>\n </div>\n </div>\n <ng-container *ngIf=\"loaded$|async; let loaded;\">\n <shared-spinner *ngIf=\"!loaded\"></shared-spinner>\n </ng-container>\n </div>\n </ng-container>\n</ng-container>\n\n-->\n", styles: [".top-bar{background:#c7deef;display:flex;justify-content:flex-end}.top-bar .search-block{display:flex;align-content:center;align-items:center}.top-bar .search-block .search-input{background-color:#adcde8!important;padding:11px 10px!important}.top-bar .search-block .cancel-button{width:64px;height:40px}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}\n"], dependencies: [{ kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i6$2.MatPaginator, selector: "mat-paginator", inputs: ["color", "pageIndex", "length", "pageSize", "pageSizeOptions", "hidePageSize", "showFirstLastButtons", "selectConfig", "disabled"], outputs: ["page"], exportAs: ["matPaginator"] }, { kind: "component", type: SpinnerComponent, selector: "shared-spinner", inputs: ["overlay", "diameter", "color", "position"] }, { kind: "component", type: ButtonComponent, selector: "shared-button", inputs: ["icon", "iconColor", "iconSize", "rightIcon", "disabled", "loading", "active", "stopPropagation", "type", "color", "fullWidth", "size", "styleTheme", "tooltip", "tooltipPosition"], outputs: ["clickButton"] }, { kind: "directive", type: i3.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "component", type: i10.MatCardHeader, selector: "mat-card-header" }, { kind: "directive", type: i10.MatCardContent, selector: "mat-card-content" }, { kind: "directive", type: i10.MatCardTitle, selector: "mat-card-title, [mat-card-title], [matCardTitle]" }, { kind: "directive", type: i10.MatCardSubtitle, selector: "mat-card-subtitle, [mat-card-subtitle], [matCardSubtitle]" }, { kind: "component", type: StaticDataItemsComponent, selector: "app-static-data-items", inputs: ["items", "contentType", "queryParams", "userRights", "staticSection"], outputs: ["delete"] }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
12184
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StaticDataListItemsComponent, deps: [{ token: i1$4.MatDialog }, { token: RightService }, { token: StaticDataFacade }, { token: i0.ChangeDetectorRef }, { token: RouterFacade }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
12185
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: StaticDataListItemsComponent, isStandalone: false, selector: "app-static-data-list-items", inputs: { staticDataConfiguration: "staticDataConfiguration", contentType: "contentType", customTitle: "customTitle", addTitle: "addTitle", parentSection: "parentSection", parentItemId: "parentItemId", showPanelHeader: "showPanelHeader", parentData: "parentData", parentSectionHashtag: "parentSectionHashtag", autoCompleteFields: "autoCompleteFields", filteringQuery: "filteringQuery" }, viewQueries: [{ propertyName: "paginator", first: true, predicate: MatPaginator, descendants: true, static: true }, { propertyName: "sort", first: true, predicate: MatSort, descendants: true, static: true }, { propertyName: "searchInput", first: true, predicate: ["search"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"(userRights$ | async) as userRights\">\n <ng-container *ngIf=\"(staticDataMeta$ | async) as staticDataObj\">\n <mat-card-header>\n <mat-card-title>\n <h1 class=\"mb-0\">{{ title }}</h1>\n </mat-card-title>\n <mat-card-subtitle *ngIf=\"staticSection.options?.search\">\n <form class=\"search-box position-relative\">\n <input #search class=\"search-input\" placeholder=\"\u041F\u043E\u0438\u0441\u043A\">\n <shared-button\n icon=\"search\"\n color=\"accent\"\n iconColor=\"black\"\n (click)=\"searchHandle(search.value)\"></shared-button>\n <div class=\"cancel-button\">\n <shared-button\n *ngIf=\"search.value\"\n icon=\"clear\"\n color=\"warn\"\n iconColor=\"black\"\n (click)=\"searchCancelHandle()\"></shared-button>\n </div>\n </form>\n </mat-card-subtitle>\n </mat-card-header>\n <mat-card-content>\n <!--<shared-panel-header *ngIf=\"showPanelHeader\" [title]=\"title\"></shared-panel-header>-->\n <div class=\"table-responsive\">\n <div class=\"content p-24\">\n <!--<div *ngIf=\"staticSection.options?.search\" class=\"top-bar\">\n <div class=\"search-block\">\n \u041F\u043E\u0438\u0441\u043A: <input #search class=\"search-input\">\n <shared-button\n icon=\"search\"\n color=\"accent\"\n iconColor=\"black\"\n (click)=\"searchHandle(search.value)\"></shared-button>\n <div class=\"cancel-button\">\n <shared-button\n *ngIf=\"search.value\"\n icon=\"clear\"\n color=\"warn\"\n iconColor=\"black\"\n (click)=\"searchCancelHandle()\"></shared-button>\n </div>\n </div>\n </div>-->\n <ng-container *ngIf=\"staticData$ | async as staticData\">\n <div class=\"center-block p-10\">\n <app-static-data-items [items]=\"staticData\"\n [userRights]=\"userRights\"\n [staticSection]=\"staticSection\"\n [contentType]=\"contentType\"\n [queryParams]=\"queryParams\"\n (delete)=\"deleteEvent($event)\"></app-static-data-items>\n </div>\n <div *ngIf=\"staticDataObj.meta?.perPage !== -1 && staticDataObj.meta?.totalCount > 10\">\n <mat-paginator\n *ngIf=\"totalCount\"\n [length]=\"staticDataObj.meta?.totalCount\"\n [pageIndex]=\"pageIndex\"\n [pageSizeOptions]=\"[10, 25, 100]\"\n (page)=\"changePage($event)\"></mat-paginator>\n </div>\n </ng-container>\n <div *ngIf=\"isLoaded && !totalCount\">\u0421\u043F\u0438\u0441\u043E\u043A \u043F\u0443\u0441\u0442</div>\n <div *ngIf=\"userRights[0]\" class=\"text-center mt-30 mb-30\">\n <shared-button\n id=\"go-to-create-form-button\"\n class=\"mr-5\"\n iconSize=\"small\"\n icon=\"add\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"accent\"\n (click)=\"addHandle()\">{{ addTitle || '\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C' }}\n </shared-button>\n </div>\n </div>\n <ng-container *ngIf=\"loaded$|async; let loaded;\">\n <shared-spinner *ngIf=\"!loaded\"></shared-spinner>\n </ng-container>\n </div>\n </mat-card-content>\n </ng-container>\n</ng-container>\n<!--\n<ng-container *ngIf=\"(userRights$ | async) as userRights\">\n <ng-container *ngIf=\"(staticDataMeta$ | async) as staticDataObj\">\n\n <div class=\"page-layout simple fullwidth angular-material-elements\">\n <shared-panel-header *ngIf=\"showPanelHeader\" [title]=\"title\"></shared-panel-header>\n\n <h1>{{title}}</h1>\n <div class=\"content p-24\">\n <div *ngIf=\"staticSection.options?.search\" class=\"top-bar\">\n <div class=\"search-block\">\n \u041F\u043E\u0438\u0441\u043A: <input #search class=\"search-input\">\n <shared-button\n icon=\"search\"\n color=\"accent\"\n iconColor=\"black\"\n (click)=\"searchHandle(search.value)\"></shared-button>\n <div class=\"cancel-button\">\n <shared-button\n *ngIf=\"search.value\"\n icon=\"clear\"\n color=\"warn\"\n iconColor=\"black\"\n (click)=\"searchCancelHandle()\"></shared-button>\n </div>\n </div>\n </div>\n <ng-container *ngIf=\"staticData$ | async as staticData\">\n <div class=\"center-block p-10\">\n <app-static-data-items [items]=\"staticData\"\n [userRights]=\"userRights\"\n [staticSection]=\"staticSection\"\n [contentType]=\"contentType\"\n [queryParams]=\"queryParams\"\n (delete)=\"deleteEvent($event)\"></app-static-data-items>\n </div>\n <div *ngIf=\"staticDataObj.meta?.perPage !== -1\">\n <mat-paginator\n *ngIf=\"totalCount\"\n [length]=\"staticDataObj.meta?.totalCount\"\n [pageIndex]=\"pageIndex\"\n [pageSizeOptions]=\"[10, 25, 100]\"\n (page)=\"changePage($event)\"></mat-paginator>\n </div>\n </ng-container>\n <div *ngIf=\"isLoaded && !totalCount\">\u0421\u043F\u0438\u0441\u043E\u043A \u043F\u0443\u0441\u0442</div>\n <div *ngIf=\"userRights[0]\" class=\"text-center mt-30 mb-30\">\n <shared-button\n id=\"go-to-create-form-button\"\n class=\"mr-5\"\n iconSize=\"small\"\n icon=\"add\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"accent\"\n (click)=\"addHandle()\">{{ addTitle || '\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C' }}\n </shared-button>\n </div>\n </div>\n <ng-container *ngIf=\"loaded$|async; let loaded;\">\n <shared-spinner *ngIf=\"!loaded\"></shared-spinner>\n </ng-container>\n </div>\n </ng-container>\n</ng-container>\n\n-->\n", styles: [".top-bar{background:#c7deef;display:flex;justify-content:flex-end}.top-bar .search-block{display:flex;align-content:center;align-items:center}.top-bar .search-block .search-input{background-color:#adcde8!important;padding:11px 10px!important}.top-bar .search-block .cancel-button{width:64px;height:40px}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}\n"], dependencies: [{ kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i6$2.MatPaginator, selector: "mat-paginator", inputs: ["color", "pageIndex", "length", "pageSize", "pageSizeOptions", "hidePageSize", "showFirstLastButtons", "selectConfig", "disabled"], outputs: ["page"], exportAs: ["matPaginator"] }, { kind: "component", type: SpinnerComponent, selector: "shared-spinner", inputs: ["overlay", "diameter", "color", "position"] }, { kind: "component", type: ButtonComponent, selector: "shared-button", inputs: ["icon", "iconColor", "iconSize", "rightIcon", "disabled", "loading", "active", "stopPropagation", "type", "color", "fullWidth", "size", "styleTheme", "tooltip", "tooltipPosition"], outputs: ["clickButton"] }, { kind: "directive", type: i7.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i7.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "component", type: i10.MatCardHeader, selector: "mat-card-header" }, { kind: "directive", type: i10.MatCardContent, selector: "mat-card-content" }, { kind: "directive", type: i10.MatCardTitle, selector: "mat-card-title, [mat-card-title], [matCardTitle]" }, { kind: "directive", type: i10.MatCardSubtitle, selector: "mat-card-subtitle, [mat-card-subtitle], [matCardSubtitle]" }, { kind: "component", type: StaticDataItemsComponent, selector: "app-static-data-items", inputs: ["items", "contentType", "queryParams", "userRights", "staticSection"], outputs: ["delete"] }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
12156
12186
|
}
|
|
12157
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12187
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StaticDataListItemsComponent, decorators: [{
|
|
12158
12188
|
type: Component,
|
|
12159
|
-
args: [{ selector: 'app-static-data-list-items', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngIf=\"(userRights$ | async) as userRights\">\n <ng-container *ngIf=\"(staticDataMeta$ | async) as staticDataObj\">\n <mat-card-header>\n <mat-card-title>\n <h1 class=\"mb-0\">{{ title }}</h1>\n </mat-card-title>\n <mat-card-subtitle *ngIf=\"staticSection.options?.search\">\n <form class=\"search-box position-relative\">\n <input #search class=\"search-input\" placeholder=\"\u041F\u043E\u0438\u0441\u043A\">\n <shared-button\n icon=\"search\"\n color=\"accent\"\n iconColor=\"black\"\n (click)=\"searchHandle(search.value)\"></shared-button>\n <div class=\"cancel-button\">\n <shared-button\n *ngIf=\"search.value\"\n icon=\"clear\"\n color=\"warn\"\n iconColor=\"black\"\n (click)=\"searchCancelHandle()\"></shared-button>\n </div>\n </form>\n </mat-card-subtitle>\n </mat-card-header>\n <mat-card-content>\n <!--<shared-panel-header *ngIf=\"showPanelHeader\" [title]=\"title\"></shared-panel-header>-->\n <div class=\"table-responsive\">\n <div class=\"content p-24\">\n <!--<div *ngIf=\"staticSection.options?.search\" class=\"top-bar\">\n <div class=\"search-block\">\n \u041F\u043E\u0438\u0441\u043A: <input #search class=\"search-input\">\n <shared-button\n icon=\"search\"\n color=\"accent\"\n iconColor=\"black\"\n (click)=\"searchHandle(search.value)\"></shared-button>\n <div class=\"cancel-button\">\n <shared-button\n *ngIf=\"search.value\"\n icon=\"clear\"\n color=\"warn\"\n iconColor=\"black\"\n (click)=\"searchCancelHandle()\"></shared-button>\n </div>\n </div>\n </div>-->\n <ng-container *ngIf=\"staticData$ | async as staticData\">\n <div class=\"center-block p-10\">\n <app-static-data-items [items]=\"staticData\"\n [userRights]=\"userRights\"\n [staticSection]=\"staticSection\"\n [contentType]=\"contentType\"\n [queryParams]=\"queryParams\"\n (delete)=\"deleteEvent($event)\"></app-static-data-items>\n </div>\n <div *ngIf=\"staticDataObj.meta?.perPage !== -1 && staticDataObj.meta?.totalCount > 10\">\n <mat-paginator\n *ngIf=\"totalCount\"\n [length]=\"staticDataObj.meta?.totalCount\"\n [pageIndex]=\"pageIndex\"\n [pageSizeOptions]=\"[10, 25, 100]\"\n (page)=\"changePage($event)\"></mat-paginator>\n </div>\n </ng-container>\n <div *ngIf=\"isLoaded && !totalCount\">\u0421\u043F\u0438\u0441\u043E\u043A \u043F\u0443\u0441\u0442</div>\n <div *ngIf=\"userRights[0]\" class=\"text-center mt-30 mb-30\">\n <shared-button\n id=\"go-to-create-form-button\"\n class=\"mr-5\"\n iconSize=\"small\"\n icon=\"add\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"accent\"\n (click)=\"addHandle()\">{{ addTitle || '\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C' }}\n </shared-button>\n </div>\n </div>\n <ng-container *ngIf=\"loaded$|async; let loaded;\">\n <shared-spinner *ngIf=\"!loaded\"></shared-spinner>\n </ng-container>\n </div>\n </mat-card-content>\n </ng-container>\n</ng-container>\n<!--\n<ng-container *ngIf=\"(userRights$ | async) as userRights\">\n <ng-container *ngIf=\"(staticDataMeta$ | async) as staticDataObj\">\n\n <div class=\"page-layout simple fullwidth angular-material-elements\">\n <shared-panel-header *ngIf=\"showPanelHeader\" [title]=\"title\"></shared-panel-header>\n\n <h1>{{title}}</h1>\n <div class=\"content p-24\">\n <div *ngIf=\"staticSection.options?.search\" class=\"top-bar\">\n <div class=\"search-block\">\n \u041F\u043E\u0438\u0441\u043A: <input #search class=\"search-input\">\n <shared-button\n icon=\"search\"\n color=\"accent\"\n iconColor=\"black\"\n (click)=\"searchHandle(search.value)\"></shared-button>\n <div class=\"cancel-button\">\n <shared-button\n *ngIf=\"search.value\"\n icon=\"clear\"\n color=\"warn\"\n iconColor=\"black\"\n (click)=\"searchCancelHandle()\"></shared-button>\n </div>\n </div>\n </div>\n <ng-container *ngIf=\"staticData$ | async as staticData\">\n <div class=\"center-block p-10\">\n <app-static-data-items [items]=\"staticData\"\n [userRights]=\"userRights\"\n [staticSection]=\"staticSection\"\n [contentType]=\"contentType\"\n [queryParams]=\"queryParams\"\n (delete)=\"deleteEvent($event)\"></app-static-data-items>\n </div>\n <div *ngIf=\"staticDataObj.meta?.perPage !== -1\">\n <mat-paginator\n *ngIf=\"totalCount\"\n [length]=\"staticDataObj.meta?.totalCount\"\n [pageIndex]=\"pageIndex\"\n [pageSizeOptions]=\"[10, 25, 100]\"\n (page)=\"changePage($event)\"></mat-paginator>\n </div>\n </ng-container>\n <div *ngIf=\"isLoaded && !totalCount\">\u0421\u043F\u0438\u0441\u043E\u043A \u043F\u0443\u0441\u0442</div>\n <div *ngIf=\"userRights[0]\" class=\"text-center mt-30 mb-30\">\n <shared-button\n id=\"go-to-create-form-button\"\n class=\"mr-5\"\n iconSize=\"small\"\n icon=\"add\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"accent\"\n (click)=\"addHandle()\">{{ addTitle || '\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C' }}\n </shared-button>\n </div>\n </div>\n <ng-container *ngIf=\"loaded$|async; let loaded;\">\n <shared-spinner *ngIf=\"!loaded\"></shared-spinner>\n </ng-container>\n </div>\n </ng-container>\n</ng-container>\n\n-->\n", styles: [".top-bar{background:#c7deef;display:flex;justify-content:flex-end}.top-bar .search-block{display:flex;align-content:center;align-items:center}.top-bar .search-block .search-input{background-color:#adcde8!important;padding:11px 10px!important}.top-bar .search-block .cancel-button{width:64px;height:40px}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}\n"] }]
|
|
12189
|
+
args: [{ selector: 'app-static-data-list-items', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<ng-container *ngIf=\"(userRights$ | async) as userRights\">\n <ng-container *ngIf=\"(staticDataMeta$ | async) as staticDataObj\">\n <mat-card-header>\n <mat-card-title>\n <h1 class=\"mb-0\">{{ title }}</h1>\n </mat-card-title>\n <mat-card-subtitle *ngIf=\"staticSection.options?.search\">\n <form class=\"search-box position-relative\">\n <input #search class=\"search-input\" placeholder=\"\u041F\u043E\u0438\u0441\u043A\">\n <shared-button\n icon=\"search\"\n color=\"accent\"\n iconColor=\"black\"\n (click)=\"searchHandle(search.value)\"></shared-button>\n <div class=\"cancel-button\">\n <shared-button\n *ngIf=\"search.value\"\n icon=\"clear\"\n color=\"warn\"\n iconColor=\"black\"\n (click)=\"searchCancelHandle()\"></shared-button>\n </div>\n </form>\n </mat-card-subtitle>\n </mat-card-header>\n <mat-card-content>\n <!--<shared-panel-header *ngIf=\"showPanelHeader\" [title]=\"title\"></shared-panel-header>-->\n <div class=\"table-responsive\">\n <div class=\"content p-24\">\n <!--<div *ngIf=\"staticSection.options?.search\" class=\"top-bar\">\n <div class=\"search-block\">\n \u041F\u043E\u0438\u0441\u043A: <input #search class=\"search-input\">\n <shared-button\n icon=\"search\"\n color=\"accent\"\n iconColor=\"black\"\n (click)=\"searchHandle(search.value)\"></shared-button>\n <div class=\"cancel-button\">\n <shared-button\n *ngIf=\"search.value\"\n icon=\"clear\"\n color=\"warn\"\n iconColor=\"black\"\n (click)=\"searchCancelHandle()\"></shared-button>\n </div>\n </div>\n </div>-->\n <ng-container *ngIf=\"staticData$ | async as staticData\">\n <div class=\"center-block p-10\">\n <app-static-data-items [items]=\"staticData\"\n [userRights]=\"userRights\"\n [staticSection]=\"staticSection\"\n [contentType]=\"contentType\"\n [queryParams]=\"queryParams\"\n (delete)=\"deleteEvent($event)\"></app-static-data-items>\n </div>\n <div *ngIf=\"staticDataObj.meta?.perPage !== -1 && staticDataObj.meta?.totalCount > 10\">\n <mat-paginator\n *ngIf=\"totalCount\"\n [length]=\"staticDataObj.meta?.totalCount\"\n [pageIndex]=\"pageIndex\"\n [pageSizeOptions]=\"[10, 25, 100]\"\n (page)=\"changePage($event)\"></mat-paginator>\n </div>\n </ng-container>\n <div *ngIf=\"isLoaded && !totalCount\">\u0421\u043F\u0438\u0441\u043E\u043A \u043F\u0443\u0441\u0442</div>\n <div *ngIf=\"userRights[0]\" class=\"text-center mt-30 mb-30\">\n <shared-button\n id=\"go-to-create-form-button\"\n class=\"mr-5\"\n iconSize=\"small\"\n icon=\"add\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"accent\"\n (click)=\"addHandle()\">{{ addTitle || '\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C' }}\n </shared-button>\n </div>\n </div>\n <ng-container *ngIf=\"loaded$|async; let loaded;\">\n <shared-spinner *ngIf=\"!loaded\"></shared-spinner>\n </ng-container>\n </div>\n </mat-card-content>\n </ng-container>\n</ng-container>\n<!--\n<ng-container *ngIf=\"(userRights$ | async) as userRights\">\n <ng-container *ngIf=\"(staticDataMeta$ | async) as staticDataObj\">\n\n <div class=\"page-layout simple fullwidth angular-material-elements\">\n <shared-panel-header *ngIf=\"showPanelHeader\" [title]=\"title\"></shared-panel-header>\n\n <h1>{{title}}</h1>\n <div class=\"content p-24\">\n <div *ngIf=\"staticSection.options?.search\" class=\"top-bar\">\n <div class=\"search-block\">\n \u041F\u043E\u0438\u0441\u043A: <input #search class=\"search-input\">\n <shared-button\n icon=\"search\"\n color=\"accent\"\n iconColor=\"black\"\n (click)=\"searchHandle(search.value)\"></shared-button>\n <div class=\"cancel-button\">\n <shared-button\n *ngIf=\"search.value\"\n icon=\"clear\"\n color=\"warn\"\n iconColor=\"black\"\n (click)=\"searchCancelHandle()\"></shared-button>\n </div>\n </div>\n </div>\n <ng-container *ngIf=\"staticData$ | async as staticData\">\n <div class=\"center-block p-10\">\n <app-static-data-items [items]=\"staticData\"\n [userRights]=\"userRights\"\n [staticSection]=\"staticSection\"\n [contentType]=\"contentType\"\n [queryParams]=\"queryParams\"\n (delete)=\"deleteEvent($event)\"></app-static-data-items>\n </div>\n <div *ngIf=\"staticDataObj.meta?.perPage !== -1\">\n <mat-paginator\n *ngIf=\"totalCount\"\n [length]=\"staticDataObj.meta?.totalCount\"\n [pageIndex]=\"pageIndex\"\n [pageSizeOptions]=\"[10, 25, 100]\"\n (page)=\"changePage($event)\"></mat-paginator>\n </div>\n </ng-container>\n <div *ngIf=\"isLoaded && !totalCount\">\u0421\u043F\u0438\u0441\u043E\u043A \u043F\u0443\u0441\u0442</div>\n <div *ngIf=\"userRights[0]\" class=\"text-center mt-30 mb-30\">\n <shared-button\n id=\"go-to-create-form-button\"\n class=\"mr-5\"\n iconSize=\"small\"\n icon=\"add\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"accent\"\n (click)=\"addHandle()\">{{ addTitle || '\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C' }}\n </shared-button>\n </div>\n </div>\n <ng-container *ngIf=\"loaded$|async; let loaded;\">\n <shared-spinner *ngIf=\"!loaded\"></shared-spinner>\n </ng-container>\n </div>\n </ng-container>\n</ng-container>\n\n-->\n", styles: [".top-bar{background:#c7deef;display:flex;justify-content:flex-end}.top-bar .search-block{display:flex;align-content:center;align-items:center}.top-bar .search-block .search-input{background-color:#adcde8!important;padding:11px 10px!important}.top-bar .search-block .cancel-button{width:64px;height:40px}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}\n"] }]
|
|
12160
12190
|
}], ctorParameters: () => [{ type: i1$4.MatDialog }, { type: RightService }, { type: StaticDataFacade }, { type: i0.ChangeDetectorRef }, { type: RouterFacade }], propDecorators: { staticDataConfiguration: [{
|
|
12161
12191
|
type: Input
|
|
12162
12192
|
}], contentType: [{
|
|
@@ -12595,13 +12625,13 @@ class StaticDataDetailsComponent {
|
|
|
12595
12625
|
return dialogRef.afterClosed()
|
|
12596
12626
|
.toPromise();
|
|
12597
12627
|
}
|
|
12598
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12599
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: StaticDataDetailsComponent, selector: "app-static-data-details", usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"(status$ | async) as status\">\n <ng-container *ngIf=\"(userRights$ | async) as userRights\">\n <ng-container *ngIf=\"(staticData$ | async) as staticData\">\n <div class=\"page-layout simple fullwidth angular-material-elements\">\n <shared-panel-header *ngIf=\"form.get('name')\" [parentTitle]=\"staticSection.title\"\n [parentUrl]=\"['/static-data', contentType]\"\n [title]=\"form.get('name')?.value\">>\n </shared-panel-header>\n\n <div class=\"content p-24\">\n <div class=\"center-block bg-white\">\n <div class=\"center-block-header position-relative\">\n <h1 @appearFromLeftWithDelay class=\"center-block-header-title\">\n {{ form.get('name')?.value || '\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435' }}\n </h1>\n </div>\n <mat-tab-group [selectedIndex]=\"activeTabIndex\">\n <mat-tab>\n <ng-template mat-tab-label>\n <mat-icon class=\"static-data-tab-icon\">edit</mat-icon>\n \u0424\u043E\u0440\u043C\u0430 \u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F\n </ng-template>\n <ng-template matTabContent>\n <div *ngIf=\"staticSection?.options?.hasMultiLanguage\" class=\"languages\">\n <div *ngFor=\"let item of languageList\" class=\"language-item\">\n <a\n [ngClass]=\"{'activeLang': currentLanguageId ? item.id === currentLanguageId : defaultLanguageId ? item.id === defaultLanguageId : false }\"\n [routerLink]=\"['/static-data', contentType, itemId, item.id]\">[ {{ item.slug }} ]</a>\n </div>\n </div>\n <div class=\"center-block-inner\">\n <form [formGroup]=\"form\">\n <shared-auto-form\n *ngIf=\"status.value === statusType.LOADED\"\n class=\"mb-20\"\n [showPublicationMessages]=\"staticSection.options?.havePublication || false\"\n [entity]=\"contentType\"\n [itemId]=\"itemId\"\n [formId]=\"formId\"\n [fields]=\"fields\"\n [form]=\"form\"\n [config]=\"{needToPublish: false}\"\n [havePublication]=\"staticSection.options?.havePublication || false\"\n [errorMessageTexts]=\"globalErrorMessageTexts\"\n (changed)=\"changedFormValue($event)\"\n (formCompleted)=\"formCompleted($event)\"\n ></shared-auto-form>\n\n <div *ngIf=\"staticSection.globalActions\" class=\"global-actions\">\n <div *ngFor=\"let action of staticSection.globalActions\"\n (click)=\"globalActionHandle(action)\" class=\"global-action\">\n {{ action.title }}\n </div>\n </div>\n <div @appearFromLeftWithDelay\n fxLayout=\"row\"\n fxLayoutAlign=\"center center\"\n class=\"mt-20\">\n <shared-button\n id=\"back-to-list-button\"\n class=\"mr-8\"\n icon=\"chevron_left\"\n type=\"button\"\n styleTheme=\"raised\"\n color=\"basic\"\n iconColor=\"black\"\n (click)=\"goBack()\"\n >\u041A \u0441\u043F\u0438\u0441\u043A\u0443\n </shared-button>\n <shared-button\n *ngIf=\"userRights[0]\"\n id=\"form-create-button\"\n class=\"mr-8\"\n type=\"submit\"\n icon=\"edit\"\n iconColor=\"white\"\n color=\"accent\"\n styleTheme=\"raised\"\n [loading]=\"status.value === statusType.LOADING\"\n [disabled]=\"!form.valid || formStatus === 'loading'\"\n (click)=\"submitClick()\"\n >{{ itemId ? '\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C' : '\u0421\u043E\u0437\u0434\u0430\u0442\u044C' }}\n <!-- [disabled]=\"!form.valid dataStored\" -->\n </shared-button>\n <ng-container *ngIf=\"staticSection.options?.havePublication\">\n <shared-button\n *ngIf=\"!form.get('status')?.value\"\n id=\"publish-button\"\n class=\"mr-8\"\n icon=\"check\"\n type=\"button\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"orange\"\n [disabled]=\"!itemId || publishButtonLoading\"\n [loading]=\"publishButtonLoading\"\n (click)=\"publishToggle()\"\n >\u041E\u043F\u0443\u0431\u043B\u0438\u043A\u043E\u0432\u0430\u0442\u044C\n </shared-button>\n <shared-button\n *ngIf=\"form.get('status')?.value === publishStatus\"\n class=\"mr-8\"\n icon=\"check\"\n type=\"button\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"orange\"\n [disabled]=\"publishButtonLoading\"\n [loading]=\"publishButtonLoading\"\n (click)=\"publishToggle()\"\n >\u0421\u043D\u044F\u0442\u044C \u0441 \u043F\u0443\u0431\u043B\u0438\u043A\u0430\u0446\u0438\u0438\n </shared-button>\n </ng-container>\n <shared-button\n *ngIf=\"userRights[3]\"\n id=\"delete-button\"\n [disabled]=\"!itemId\"\n class=\"mr-8\"\n type=\"submit\"\n icon=\"clear\"\n color=\"warn\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n (click)=\"deleteAction(staticData.value)\"\n >\u0423\u0434\u0430\u043B\u0438\u0442\u044C\n </shared-button>\n <ng-container *ngIf=\"staticSection.options?.publicationInTelegramBot\">\n <shared-button\n icon=\"send\"\n type=\"button\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"orange\"\n (click)=\"publishInTelegram()\"\n >\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u0432 Telegram\n </shared-button>\n </ng-container>\n </div>\n </form>\n </div>\n </ng-template>\n </mat-tab>\n <ng-container *ngFor=\"let subEntity of staticSection.options?.subEntities\">\n <mat-tab>\n <ng-template mat-tab-label>\n <mat-icon *ngIf=\"subEntity.titleIcon\"\n class=\"static-data-tab-icon\">{{ subEntity.titleIcon }}\n </mat-icon>\n {{ subEntity.title }}\n </ng-template>\n <ng-template matTabContent>\n <div class=\"center-block-inner\">\n <ng-container *ngIf=\"subEntity.subEntitiesType === 'static-data'\">\n <ng-container *ngIf=\"staticData.value?.id\">\n <ng-container *ngIf=\"staticData.value?.id\" class=\"center-block-inner\">\n <app-static-data-list-items\n [staticDataConfiguration]=\"staticDataConfiguration\"\n [contentType]=\"subEntity.entity\"\n [customTitle]=\"subEntity.title + ' ' + staticData.value?.['name']\"\n [addTitle]=\"subEntity.addTitle + ' ' + staticData.value?.['name']\"\n [filteringQuery]=\"subEntity.getFilteringQuery(staticData.value)\"\n [parentSection]=\"contentType\"\n [parentItemId]=\"itemId\"\n [parentSectionHashtag]=\"subEntity.hashTag\"\n [parentData]=\"form.value\"\n [autoCompleteFields]=\"subEntity.autoCompleteFields\"\n ></app-static-data-list-items>\n </ng-container>\n <shared-spinner *ngIf=\"!staticData.value?.id\"\n [overlay]=\"true\"></shared-spinner>\n </ng-container>\n @if (!staticData.value?.id) {\n <div class=\"message-box error\">\n <ng-container *ngIf=\"!subEntity.entity\">\n \u041F\u0435\u0440\u0435\u0434 \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043C \u0432\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0445 \u0437\u0430\u043F\u0438\u0441\u0435\u0439 \u0412\u0430\u043C \u043D\u0443\u0436\u043D\u043E \u0441\u043D\u0430\u0447\u0430\u043B\u0430 \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\n \u043E\u0441\u043D\u043E\u0432\u043D\u0443\u044E \u0437\u0430\u043F\u0438\u0441\u044C\n </ng-container>\n <ng-container *ngIf=\"subEntity.emptyTitle\">\n {{ subEntity.emptyTitle }}\n </ng-container>\n </div>\n }\n </ng-container>\n @if (subEntity!.subEntitiesType === 'component') {\n <ng-container *ngComponentOutlet=\"\n subEntity.component;\n injector: componentDataInjector;\n \"/> <!-- subEntity.getInputData(form.value) -->\n }\n </div>\n </ng-template>\n </mat-tab>\n </ng-container>\n </mat-tab-group>\n </div>\n </div>\n </div>\n </ng-container>\n </ng-container>\n <shared-spinner *ngIf=\"status.value !== statusType.LOADED || formStatus === 'loading'\"\n [overlay]=\"true\"></shared-spinner>\n</ng-container>\n\n\n", styles: [".update-published-tour-popup{position:absolute;top:0;left:0;width:100%;background:#485860a6;height:100%;z-index:100}.static-data-tab-icon{margin-right:5px}.languages{display:flex;justify-content:center;margin:5px 0 10px}.languages .language-item .activeLang{background:#007bff;color:#fff}.center-block-header-title{margin-top:25px;font-size:20px}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }, { kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: AutoFormMainComponent, selector: "shared-auto-form", inputs: ["fields", "itemId", "formId", "showPublicationMessages", "useEntityPermissions", "showProgressBar", "showFormMessageBox", "form", "editorImageUploadUrl", "errorMessageTexts", "entity", "havePublication", "config"], outputs: ["changed", "formCompleted"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: SpinnerComponent, selector: "shared-spinner", inputs: ["overlay", "diameter", "color", "position"] }, { kind: "component", type: ButtonComponent, selector: "shared-button", inputs: ["icon", "iconColor", "iconSize", "rightIcon", "disabled", "loading", "active", "stopPropagation", "type", "color", "fullWidth", "size", "styleTheme", "tooltip", "tooltipPosition"], outputs: ["clickButton"] }, { kind: "component", type: PanelHeaderComponent, selector: "shared-panel-header", inputs: ["title", "parentTitle", "parentUrl"] }, { kind: "directive", type: i3.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i7.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i7.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: "directive", type: i22.MatTabContent, selector: "[matTabContent]" }, { kind: "directive", type: i22.MatTabLabel, selector: "[mat-tab-label], [matTabLabel]" }, { kind: "component", type: i22.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass"], exportAs: ["matTab"] }, { kind: "component", type: i22.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "fitInkBarToContent", "mat-stretch-tabs", "dynamicHeight", "selectedIndex", "headerPosition", "animationDuration", "contentTabIndex", "disablePagination", "disableRipple", "preserveContent", "backgroundColor", "aria-label", "aria-labelledby"], outputs: ["selectedIndexChange", "focusChange", "animationDone", "selectedTabChange"], exportAs: ["matTabGroup"] }, { kind: "component", type: StaticDataListItemsComponent, selector: "app-static-data-list-items", inputs: ["staticDataConfiguration", "contentType", "customTitle", "addTitle", "parentSection", "parentItemId", "showPanelHeader", "parentData", "parentSectionHashtag", "autoCompleteFields", "filteringQuery"] }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }], animations: [appearFromRightWithDelay, appearFromLeftWithDelay, appearOpacity], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
12628
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StaticDataDetailsComponent, deps: [{ token: i7.UntypedFormBuilder }, { token: i2.Router }, { token: i2.ActivatedRoute }, { token: AutoFormService }, { token: RouterFacade }, { token: FormErrorsFacade }, { token: FormsFacade }, { token: RequestsFacade }, { token: StaticDataFacade }, { token: RightService }, { token: i1$4.MatDialog }, { token: NotificationsFacade }, { token: CoreFacade }, { token: PublicationMessagesFacade }, { token: ActionsFacade }, { token: i0.Injector }, { token: i0.ChangeDetectorRef }, { token: i2$1.MatIconRegistry }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
12629
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: StaticDataDetailsComponent, isStandalone: false, selector: "app-static-data-details", usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"(status$ | async) as status\">\n <ng-container *ngIf=\"(userRights$ | async) as userRights\">\n <ng-container *ngIf=\"(staticData$ | async) as staticData\">\n <div class=\"page-layout simple fullwidth angular-material-elements\">\n <shared-panel-header *ngIf=\"form.get('name')\" [parentTitle]=\"staticSection.title\"\n [parentUrl]=\"['/static-data', contentType]\"\n [title]=\"form.get('name')?.value\">>\n </shared-panel-header>\n\n <div class=\"content p-24\">\n <div class=\"center-block bg-white\">\n <div class=\"center-block-header position-relative\">\n <h1 @appearFromLeftWithDelay class=\"center-block-header-title\">\n {{ form.get('name')?.value || '\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435' }}\n </h1>\n </div>\n <mat-tab-group [selectedIndex]=\"activeTabIndex\">\n <mat-tab>\n <ng-template mat-tab-label>\n <mat-icon class=\"static-data-tab-icon\">edit</mat-icon>\n \u0424\u043E\u0440\u043C\u0430 \u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F\n </ng-template>\n <ng-template matTabContent>\n <div *ngIf=\"staticSection?.options?.hasMultiLanguage\" class=\"languages\">\n <div *ngFor=\"let item of languageList\" class=\"language-item\">\n <a\n [ngClass]=\"{'activeLang': currentLanguageId ? item.id === currentLanguageId : defaultLanguageId ? item.id === defaultLanguageId : false }\"\n [routerLink]=\"['/static-data', contentType, itemId, item.id]\">[ {{ item.slug }} ]</a>\n </div>\n </div>\n <div class=\"center-block-inner\">\n <form [formGroup]=\"form\">\n <shared-auto-form\n *ngIf=\"status.value === statusType.LOADED\"\n class=\"mb-20\"\n [showPublicationMessages]=\"staticSection.options?.havePublication || false\"\n [entity]=\"contentType\"\n [itemId]=\"itemId\"\n [formId]=\"formId\"\n [fields]=\"fields\"\n [form]=\"form\"\n [config]=\"{needToPublish: false}\"\n [havePublication]=\"staticSection.options?.havePublication || false\"\n [errorMessageTexts]=\"globalErrorMessageTexts\"\n (changed)=\"changedFormValue($event)\"\n (formCompleted)=\"formCompleted($event)\"\n ></shared-auto-form>\n\n <div *ngIf=\"staticSection.globalActions\" class=\"global-actions\">\n <div *ngFor=\"let action of staticSection.globalActions\"\n (click)=\"globalActionHandle(action)\" class=\"global-action\">\n {{ action.title }}\n </div>\n </div>\n <div @appearFromLeftWithDelay\n fxLayout=\"row\"\n fxLayoutAlign=\"center center\"\n class=\"mt-20\">\n <shared-button\n id=\"back-to-list-button\"\n class=\"mr-8\"\n icon=\"chevron_left\"\n type=\"button\"\n styleTheme=\"raised\"\n color=\"basic\"\n iconColor=\"black\"\n (click)=\"goBack()\"\n >\u041A \u0441\u043F\u0438\u0441\u043A\u0443\n </shared-button>\n <shared-button\n *ngIf=\"userRights[0]\"\n id=\"form-create-button\"\n class=\"mr-8\"\n type=\"submit\"\n icon=\"edit\"\n iconColor=\"white\"\n color=\"accent\"\n styleTheme=\"raised\"\n [loading]=\"status.value === statusType.LOADING\"\n [disabled]=\"!form.valid || formStatus === 'loading'\"\n (click)=\"submitClick()\"\n >{{ itemId ? '\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C' : '\u0421\u043E\u0437\u0434\u0430\u0442\u044C' }}\n <!-- [disabled]=\"!form.valid dataStored\" -->\n </shared-button>\n <ng-container *ngIf=\"staticSection.options?.havePublication\">\n <shared-button\n *ngIf=\"!form.get('status')?.value\"\n id=\"publish-button\"\n class=\"mr-8\"\n icon=\"check\"\n type=\"button\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"orange\"\n [disabled]=\"!itemId || publishButtonLoading\"\n [loading]=\"publishButtonLoading\"\n (click)=\"publishToggle()\"\n >\u041E\u043F\u0443\u0431\u043B\u0438\u043A\u043E\u0432\u0430\u0442\u044C\n </shared-button>\n <shared-button\n *ngIf=\"form.get('status')?.value === publishStatus\"\n class=\"mr-8\"\n icon=\"check\"\n type=\"button\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"orange\"\n [disabled]=\"publishButtonLoading\"\n [loading]=\"publishButtonLoading\"\n (click)=\"publishToggle()\"\n >\u0421\u043D\u044F\u0442\u044C \u0441 \u043F\u0443\u0431\u043B\u0438\u043A\u0430\u0446\u0438\u0438\n </shared-button>\n </ng-container>\n <shared-button\n *ngIf=\"userRights[3]\"\n id=\"delete-button\"\n [disabled]=\"!itemId\"\n class=\"mr-8\"\n type=\"submit\"\n icon=\"clear\"\n color=\"warn\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n (click)=\"deleteAction(staticData.value)\"\n >\u0423\u0434\u0430\u043B\u0438\u0442\u044C\n </shared-button>\n <ng-container *ngIf=\"staticSection.options?.publicationInTelegramBot\">\n <shared-button\n icon=\"send\"\n type=\"button\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"orange\"\n (click)=\"publishInTelegram()\"\n >\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u0432 Telegram\n </shared-button>\n </ng-container>\n </div>\n </form>\n </div>\n </ng-template>\n </mat-tab>\n <ng-container *ngFor=\"let subEntity of staticSection.options?.subEntities\">\n <mat-tab>\n <ng-template mat-tab-label>\n <mat-icon *ngIf=\"subEntity.titleIcon\"\n class=\"static-data-tab-icon\">{{ subEntity.titleIcon }}\n </mat-icon>\n {{ subEntity.title }}\n </ng-template>\n <ng-template matTabContent>\n <div class=\"center-block-inner\">\n <ng-container *ngIf=\"subEntity.subEntitiesType === 'static-data'\">\n <ng-container *ngIf=\"staticData.value?.id\">\n <ng-container *ngIf=\"staticData.value?.id\" class=\"center-block-inner\">\n <app-static-data-list-items\n [staticDataConfiguration]=\"staticDataConfiguration\"\n [contentType]=\"subEntity.entity\"\n [customTitle]=\"subEntity.title + ' ' + staticData.value?.['name']\"\n [addTitle]=\"subEntity.addTitle + ' ' + staticData.value?.['name']\"\n [filteringQuery]=\"subEntity.getFilteringQuery(staticData.value)\"\n [parentSection]=\"contentType\"\n [parentItemId]=\"itemId\"\n [parentSectionHashtag]=\"subEntity.hashTag\"\n [parentData]=\"form.value\"\n [autoCompleteFields]=\"subEntity.autoCompleteFields\"\n ></app-static-data-list-items>\n </ng-container>\n <shared-spinner *ngIf=\"!staticData.value?.id\"\n [overlay]=\"true\"></shared-spinner>\n </ng-container>\n @if (!staticData.value?.id) {\n <div class=\"message-box error\">\n <ng-container *ngIf=\"!subEntity.entity\">\n \u041F\u0435\u0440\u0435\u0434 \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043C \u0432\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0445 \u0437\u0430\u043F\u0438\u0441\u0435\u0439 \u0412\u0430\u043C \u043D\u0443\u0436\u043D\u043E \u0441\u043D\u0430\u0447\u0430\u043B\u0430 \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\n \u043E\u0441\u043D\u043E\u0432\u043D\u0443\u044E \u0437\u0430\u043F\u0438\u0441\u044C\n </ng-container>\n <ng-container *ngIf=\"subEntity.emptyTitle\">\n {{ subEntity.emptyTitle }}\n </ng-container>\n </div>\n }\n </ng-container>\n @if (subEntity!.subEntitiesType === 'component') {\n <ng-container *ngComponentOutlet=\"\n subEntity.component;\n injector: componentDataInjector;\n \"/> <!-- subEntity.getInputData(form.value) -->\n }\n </div>\n </ng-template>\n </mat-tab>\n </ng-container>\n </mat-tab-group>\n </div>\n </div>\n </div>\n </ng-container>\n </ng-container>\n <shared-spinner *ngIf=\"status.value !== statusType.LOADED || formStatus === 'loading'\"\n [overlay]=\"true\"></shared-spinner>\n</ng-container>\n\n\n", styles: [".update-published-tour-popup{position:absolute;top:0;left:0;width:100%;background:#485860a6;height:100%;z-index:100}.static-data-tab-icon{margin-right:5px}.languages{display:flex;justify-content:center;margin:5px 0 10px}.languages .language-item .activeLang{background:#007bff;color:#fff}.center-block-header-title{margin-top:25px;font-size:20px}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"], exportAs: ["ngComponentOutlet"] }, { kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: AutoFormMainComponent, selector: "shared-auto-form", inputs: ["fields", "itemId", "formId", "showPublicationMessages", "useEntityPermissions", "showProgressBar", "showFormMessageBox", "form", "editorImageUploadUrl", "errorMessageTexts", "entity", "havePublication", "config"], outputs: ["changed", "formCompleted"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: SpinnerComponent, selector: "shared-spinner", inputs: ["overlay", "diameter", "color", "position"] }, { kind: "component", type: ButtonComponent, selector: "shared-button", inputs: ["icon", "iconColor", "iconSize", "rightIcon", "disabled", "loading", "active", "stopPropagation", "type", "color", "fullWidth", "size", "styleTheme", "tooltip", "tooltipPosition"], outputs: ["clickButton"] }, { kind: "component", type: PanelHeaderComponent, selector: "shared-panel-header", inputs: ["title", "parentTitle", "parentUrl"] }, { kind: "directive", type: i7.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i7.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i7.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i7$1.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i7$1.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: "directive", type: i22.MatTabContent, selector: "[matTabContent]" }, { kind: "directive", type: i22.MatTabLabel, selector: "[mat-tab-label], [matTabLabel]" }, { kind: "component", type: i22.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass"], exportAs: ["matTab"] }, { kind: "component", type: i22.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "fitInkBarToContent", "mat-stretch-tabs", "dynamicHeight", "selectedIndex", "headerPosition", "animationDuration", "contentTabIndex", "disablePagination", "disableRipple", "preserveContent", "backgroundColor", "aria-label", "aria-labelledby"], outputs: ["selectedIndexChange", "focusChange", "animationDone", "selectedTabChange"], exportAs: ["matTabGroup"] }, { kind: "component", type: StaticDataListItemsComponent, selector: "app-static-data-list-items", inputs: ["staticDataConfiguration", "contentType", "customTitle", "addTitle", "parentSection", "parentItemId", "showPanelHeader", "parentData", "parentSectionHashtag", "autoCompleteFields", "filteringQuery"] }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }], animations: [appearFromRightWithDelay, appearFromLeftWithDelay, appearOpacity], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
12600
12630
|
}
|
|
12601
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12631
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StaticDataDetailsComponent, decorators: [{
|
|
12602
12632
|
type: Component,
|
|
12603
|
-
args: [{ selector: 'app-static-data-details', changeDetection: ChangeDetectionStrategy.OnPush, animations: [appearFromRightWithDelay, appearFromLeftWithDelay, appearOpacity], template: "<ng-container *ngIf=\"(status$ | async) as status\">\n <ng-container *ngIf=\"(userRights$ | async) as userRights\">\n <ng-container *ngIf=\"(staticData$ | async) as staticData\">\n <div class=\"page-layout simple fullwidth angular-material-elements\">\n <shared-panel-header *ngIf=\"form.get('name')\" [parentTitle]=\"staticSection.title\"\n [parentUrl]=\"['/static-data', contentType]\"\n [title]=\"form.get('name')?.value\">>\n </shared-panel-header>\n\n <div class=\"content p-24\">\n <div class=\"center-block bg-white\">\n <div class=\"center-block-header position-relative\">\n <h1 @appearFromLeftWithDelay class=\"center-block-header-title\">\n {{ form.get('name')?.value || '\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435' }}\n </h1>\n </div>\n <mat-tab-group [selectedIndex]=\"activeTabIndex\">\n <mat-tab>\n <ng-template mat-tab-label>\n <mat-icon class=\"static-data-tab-icon\">edit</mat-icon>\n \u0424\u043E\u0440\u043C\u0430 \u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F\n </ng-template>\n <ng-template matTabContent>\n <div *ngIf=\"staticSection?.options?.hasMultiLanguage\" class=\"languages\">\n <div *ngFor=\"let item of languageList\" class=\"language-item\">\n <a\n [ngClass]=\"{'activeLang': currentLanguageId ? item.id === currentLanguageId : defaultLanguageId ? item.id === defaultLanguageId : false }\"\n [routerLink]=\"['/static-data', contentType, itemId, item.id]\">[ {{ item.slug }} ]</a>\n </div>\n </div>\n <div class=\"center-block-inner\">\n <form [formGroup]=\"form\">\n <shared-auto-form\n *ngIf=\"status.value === statusType.LOADED\"\n class=\"mb-20\"\n [showPublicationMessages]=\"staticSection.options?.havePublication || false\"\n [entity]=\"contentType\"\n [itemId]=\"itemId\"\n [formId]=\"formId\"\n [fields]=\"fields\"\n [form]=\"form\"\n [config]=\"{needToPublish: false}\"\n [havePublication]=\"staticSection.options?.havePublication || false\"\n [errorMessageTexts]=\"globalErrorMessageTexts\"\n (changed)=\"changedFormValue($event)\"\n (formCompleted)=\"formCompleted($event)\"\n ></shared-auto-form>\n\n <div *ngIf=\"staticSection.globalActions\" class=\"global-actions\">\n <div *ngFor=\"let action of staticSection.globalActions\"\n (click)=\"globalActionHandle(action)\" class=\"global-action\">\n {{ action.title }}\n </div>\n </div>\n <div @appearFromLeftWithDelay\n fxLayout=\"row\"\n fxLayoutAlign=\"center center\"\n class=\"mt-20\">\n <shared-button\n id=\"back-to-list-button\"\n class=\"mr-8\"\n icon=\"chevron_left\"\n type=\"button\"\n styleTheme=\"raised\"\n color=\"basic\"\n iconColor=\"black\"\n (click)=\"goBack()\"\n >\u041A \u0441\u043F\u0438\u0441\u043A\u0443\n </shared-button>\n <shared-button\n *ngIf=\"userRights[0]\"\n id=\"form-create-button\"\n class=\"mr-8\"\n type=\"submit\"\n icon=\"edit\"\n iconColor=\"white\"\n color=\"accent\"\n styleTheme=\"raised\"\n [loading]=\"status.value === statusType.LOADING\"\n [disabled]=\"!form.valid || formStatus === 'loading'\"\n (click)=\"submitClick()\"\n >{{ itemId ? '\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C' : '\u0421\u043E\u0437\u0434\u0430\u0442\u044C' }}\n <!-- [disabled]=\"!form.valid dataStored\" -->\n </shared-button>\n <ng-container *ngIf=\"staticSection.options?.havePublication\">\n <shared-button\n *ngIf=\"!form.get('status')?.value\"\n id=\"publish-button\"\n class=\"mr-8\"\n icon=\"check\"\n type=\"button\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"orange\"\n [disabled]=\"!itemId || publishButtonLoading\"\n [loading]=\"publishButtonLoading\"\n (click)=\"publishToggle()\"\n >\u041E\u043F\u0443\u0431\u043B\u0438\u043A\u043E\u0432\u0430\u0442\u044C\n </shared-button>\n <shared-button\n *ngIf=\"form.get('status')?.value === publishStatus\"\n class=\"mr-8\"\n icon=\"check\"\n type=\"button\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"orange\"\n [disabled]=\"publishButtonLoading\"\n [loading]=\"publishButtonLoading\"\n (click)=\"publishToggle()\"\n >\u0421\u043D\u044F\u0442\u044C \u0441 \u043F\u0443\u0431\u043B\u0438\u043A\u0430\u0446\u0438\u0438\n </shared-button>\n </ng-container>\n <shared-button\n *ngIf=\"userRights[3]\"\n id=\"delete-button\"\n [disabled]=\"!itemId\"\n class=\"mr-8\"\n type=\"submit\"\n icon=\"clear\"\n color=\"warn\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n (click)=\"deleteAction(staticData.value)\"\n >\u0423\u0434\u0430\u043B\u0438\u0442\u044C\n </shared-button>\n <ng-container *ngIf=\"staticSection.options?.publicationInTelegramBot\">\n <shared-button\n icon=\"send\"\n type=\"button\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"orange\"\n (click)=\"publishInTelegram()\"\n >\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u0432 Telegram\n </shared-button>\n </ng-container>\n </div>\n </form>\n </div>\n </ng-template>\n </mat-tab>\n <ng-container *ngFor=\"let subEntity of staticSection.options?.subEntities\">\n <mat-tab>\n <ng-template mat-tab-label>\n <mat-icon *ngIf=\"subEntity.titleIcon\"\n class=\"static-data-tab-icon\">{{ subEntity.titleIcon }}\n </mat-icon>\n {{ subEntity.title }}\n </ng-template>\n <ng-template matTabContent>\n <div class=\"center-block-inner\">\n <ng-container *ngIf=\"subEntity.subEntitiesType === 'static-data'\">\n <ng-container *ngIf=\"staticData.value?.id\">\n <ng-container *ngIf=\"staticData.value?.id\" class=\"center-block-inner\">\n <app-static-data-list-items\n [staticDataConfiguration]=\"staticDataConfiguration\"\n [contentType]=\"subEntity.entity\"\n [customTitle]=\"subEntity.title + ' ' + staticData.value?.['name']\"\n [addTitle]=\"subEntity.addTitle + ' ' + staticData.value?.['name']\"\n [filteringQuery]=\"subEntity.getFilteringQuery(staticData.value)\"\n [parentSection]=\"contentType\"\n [parentItemId]=\"itemId\"\n [parentSectionHashtag]=\"subEntity.hashTag\"\n [parentData]=\"form.value\"\n [autoCompleteFields]=\"subEntity.autoCompleteFields\"\n ></app-static-data-list-items>\n </ng-container>\n <shared-spinner *ngIf=\"!staticData.value?.id\"\n [overlay]=\"true\"></shared-spinner>\n </ng-container>\n @if (!staticData.value?.id) {\n <div class=\"message-box error\">\n <ng-container *ngIf=\"!subEntity.entity\">\n \u041F\u0435\u0440\u0435\u0434 \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043C \u0432\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0445 \u0437\u0430\u043F\u0438\u0441\u0435\u0439 \u0412\u0430\u043C \u043D\u0443\u0436\u043D\u043E \u0441\u043D\u0430\u0447\u0430\u043B\u0430 \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\n \u043E\u0441\u043D\u043E\u0432\u043D\u0443\u044E \u0437\u0430\u043F\u0438\u0441\u044C\n </ng-container>\n <ng-container *ngIf=\"subEntity.emptyTitle\">\n {{ subEntity.emptyTitle }}\n </ng-container>\n </div>\n }\n </ng-container>\n @if (subEntity!.subEntitiesType === 'component') {\n <ng-container *ngComponentOutlet=\"\n subEntity.component;\n injector: componentDataInjector;\n \"/> <!-- subEntity.getInputData(form.value) -->\n }\n </div>\n </ng-template>\n </mat-tab>\n </ng-container>\n </mat-tab-group>\n </div>\n </div>\n </div>\n </ng-container>\n </ng-container>\n <shared-spinner *ngIf=\"status.value !== statusType.LOADED || formStatus === 'loading'\"\n [overlay]=\"true\"></shared-spinner>\n</ng-container>\n\n\n", styles: [".update-published-tour-popup{position:absolute;top:0;left:0;width:100%;background:#485860a6;height:100%;z-index:100}.static-data-tab-icon{margin-right:5px}.languages{display:flex;justify-content:center;margin:5px 0 10px}.languages .language-item .activeLang{background:#007bff;color:#fff}.center-block-header-title{margin-top:25px;font-size:20px}\n"] }]
|
|
12604
|
-
}], ctorParameters: () => [{ type:
|
|
12633
|
+
args: [{ selector: 'app-static-data-details', changeDetection: ChangeDetectionStrategy.OnPush, animations: [appearFromRightWithDelay, appearFromLeftWithDelay, appearOpacity], standalone: false, template: "<ng-container *ngIf=\"(status$ | async) as status\">\n <ng-container *ngIf=\"(userRights$ | async) as userRights\">\n <ng-container *ngIf=\"(staticData$ | async) as staticData\">\n <div class=\"page-layout simple fullwidth angular-material-elements\">\n <shared-panel-header *ngIf=\"form.get('name')\" [parentTitle]=\"staticSection.title\"\n [parentUrl]=\"['/static-data', contentType]\"\n [title]=\"form.get('name')?.value\">>\n </shared-panel-header>\n\n <div class=\"content p-24\">\n <div class=\"center-block bg-white\">\n <div class=\"center-block-header position-relative\">\n <h1 @appearFromLeftWithDelay class=\"center-block-header-title\">\n {{ form.get('name')?.value || '\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435' }}\n </h1>\n </div>\n <mat-tab-group [selectedIndex]=\"activeTabIndex\">\n <mat-tab>\n <ng-template mat-tab-label>\n <mat-icon class=\"static-data-tab-icon\">edit</mat-icon>\n \u0424\u043E\u0440\u043C\u0430 \u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F\n </ng-template>\n <ng-template matTabContent>\n <div *ngIf=\"staticSection?.options?.hasMultiLanguage\" class=\"languages\">\n <div *ngFor=\"let item of languageList\" class=\"language-item\">\n <a\n [ngClass]=\"{'activeLang': currentLanguageId ? item.id === currentLanguageId : defaultLanguageId ? item.id === defaultLanguageId : false }\"\n [routerLink]=\"['/static-data', contentType, itemId, item.id]\">[ {{ item.slug }} ]</a>\n </div>\n </div>\n <div class=\"center-block-inner\">\n <form [formGroup]=\"form\">\n <shared-auto-form\n *ngIf=\"status.value === statusType.LOADED\"\n class=\"mb-20\"\n [showPublicationMessages]=\"staticSection.options?.havePublication || false\"\n [entity]=\"contentType\"\n [itemId]=\"itemId\"\n [formId]=\"formId\"\n [fields]=\"fields\"\n [form]=\"form\"\n [config]=\"{needToPublish: false}\"\n [havePublication]=\"staticSection.options?.havePublication || false\"\n [errorMessageTexts]=\"globalErrorMessageTexts\"\n (changed)=\"changedFormValue($event)\"\n (formCompleted)=\"formCompleted($event)\"\n ></shared-auto-form>\n\n <div *ngIf=\"staticSection.globalActions\" class=\"global-actions\">\n <div *ngFor=\"let action of staticSection.globalActions\"\n (click)=\"globalActionHandle(action)\" class=\"global-action\">\n {{ action.title }}\n </div>\n </div>\n <div @appearFromLeftWithDelay\n fxLayout=\"row\"\n fxLayoutAlign=\"center center\"\n class=\"mt-20\">\n <shared-button\n id=\"back-to-list-button\"\n class=\"mr-8\"\n icon=\"chevron_left\"\n type=\"button\"\n styleTheme=\"raised\"\n color=\"basic\"\n iconColor=\"black\"\n (click)=\"goBack()\"\n >\u041A \u0441\u043F\u0438\u0441\u043A\u0443\n </shared-button>\n <shared-button\n *ngIf=\"userRights[0]\"\n id=\"form-create-button\"\n class=\"mr-8\"\n type=\"submit\"\n icon=\"edit\"\n iconColor=\"white\"\n color=\"accent\"\n styleTheme=\"raised\"\n [loading]=\"status.value === statusType.LOADING\"\n [disabled]=\"!form.valid || formStatus === 'loading'\"\n (click)=\"submitClick()\"\n >{{ itemId ? '\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C' : '\u0421\u043E\u0437\u0434\u0430\u0442\u044C' }}\n <!-- [disabled]=\"!form.valid dataStored\" -->\n </shared-button>\n <ng-container *ngIf=\"staticSection.options?.havePublication\">\n <shared-button\n *ngIf=\"!form.get('status')?.value\"\n id=\"publish-button\"\n class=\"mr-8\"\n icon=\"check\"\n type=\"button\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"orange\"\n [disabled]=\"!itemId || publishButtonLoading\"\n [loading]=\"publishButtonLoading\"\n (click)=\"publishToggle()\"\n >\u041E\u043F\u0443\u0431\u043B\u0438\u043A\u043E\u0432\u0430\u0442\u044C\n </shared-button>\n <shared-button\n *ngIf=\"form.get('status')?.value === publishStatus\"\n class=\"mr-8\"\n icon=\"check\"\n type=\"button\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"orange\"\n [disabled]=\"publishButtonLoading\"\n [loading]=\"publishButtonLoading\"\n (click)=\"publishToggle()\"\n >\u0421\u043D\u044F\u0442\u044C \u0441 \u043F\u0443\u0431\u043B\u0438\u043A\u0430\u0446\u0438\u0438\n </shared-button>\n </ng-container>\n <shared-button\n *ngIf=\"userRights[3]\"\n id=\"delete-button\"\n [disabled]=\"!itemId\"\n class=\"mr-8\"\n type=\"submit\"\n icon=\"clear\"\n color=\"warn\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n (click)=\"deleteAction(staticData.value)\"\n >\u0423\u0434\u0430\u043B\u0438\u0442\u044C\n </shared-button>\n <ng-container *ngIf=\"staticSection.options?.publicationInTelegramBot\">\n <shared-button\n icon=\"send\"\n type=\"button\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"orange\"\n (click)=\"publishInTelegram()\"\n >\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u0432 Telegram\n </shared-button>\n </ng-container>\n </div>\n </form>\n </div>\n </ng-template>\n </mat-tab>\n <ng-container *ngFor=\"let subEntity of staticSection.options?.subEntities\">\n <mat-tab>\n <ng-template mat-tab-label>\n <mat-icon *ngIf=\"subEntity.titleIcon\"\n class=\"static-data-tab-icon\">{{ subEntity.titleIcon }}\n </mat-icon>\n {{ subEntity.title }}\n </ng-template>\n <ng-template matTabContent>\n <div class=\"center-block-inner\">\n <ng-container *ngIf=\"subEntity.subEntitiesType === 'static-data'\">\n <ng-container *ngIf=\"staticData.value?.id\">\n <ng-container *ngIf=\"staticData.value?.id\" class=\"center-block-inner\">\n <app-static-data-list-items\n [staticDataConfiguration]=\"staticDataConfiguration\"\n [contentType]=\"subEntity.entity\"\n [customTitle]=\"subEntity.title + ' ' + staticData.value?.['name']\"\n [addTitle]=\"subEntity.addTitle + ' ' + staticData.value?.['name']\"\n [filteringQuery]=\"subEntity.getFilteringQuery(staticData.value)\"\n [parentSection]=\"contentType\"\n [parentItemId]=\"itemId\"\n [parentSectionHashtag]=\"subEntity.hashTag\"\n [parentData]=\"form.value\"\n [autoCompleteFields]=\"subEntity.autoCompleteFields\"\n ></app-static-data-list-items>\n </ng-container>\n <shared-spinner *ngIf=\"!staticData.value?.id\"\n [overlay]=\"true\"></shared-spinner>\n </ng-container>\n @if (!staticData.value?.id) {\n <div class=\"message-box error\">\n <ng-container *ngIf=\"!subEntity.entity\">\n \u041F\u0435\u0440\u0435\u0434 \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043C \u0432\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0445 \u0437\u0430\u043F\u0438\u0441\u0435\u0439 \u0412\u0430\u043C \u043D\u0443\u0436\u043D\u043E \u0441\u043D\u0430\u0447\u0430\u043B\u0430 \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\n \u043E\u0441\u043D\u043E\u0432\u043D\u0443\u044E \u0437\u0430\u043F\u0438\u0441\u044C\n </ng-container>\n <ng-container *ngIf=\"subEntity.emptyTitle\">\n {{ subEntity.emptyTitle }}\n </ng-container>\n </div>\n }\n </ng-container>\n @if (subEntity!.subEntitiesType === 'component') {\n <ng-container *ngComponentOutlet=\"\n subEntity.component;\n injector: componentDataInjector;\n \"/> <!-- subEntity.getInputData(form.value) -->\n }\n </div>\n </ng-template>\n </mat-tab>\n </ng-container>\n </mat-tab-group>\n </div>\n </div>\n </div>\n </ng-container>\n </ng-container>\n <shared-spinner *ngIf=\"status.value !== statusType.LOADED || formStatus === 'loading'\"\n [overlay]=\"true\"></shared-spinner>\n</ng-container>\n\n\n", styles: [".update-published-tour-popup{position:absolute;top:0;left:0;width:100%;background:#485860a6;height:100%;z-index:100}.static-data-tab-icon{margin-right:5px}.languages{display:flex;justify-content:center;margin:5px 0 10px}.languages .language-item .activeLang{background:#007bff;color:#fff}.center-block-header-title{margin-top:25px;font-size:20px}\n"] }]
|
|
12634
|
+
}], ctorParameters: () => [{ type: i7.UntypedFormBuilder }, { type: i2.Router }, { type: i2.ActivatedRoute }, { type: AutoFormService }, { type: RouterFacade }, { type: FormErrorsFacade }, { type: FormsFacade }, { type: RequestsFacade }, { type: StaticDataFacade }, { type: RightService }, { type: i1$4.MatDialog }, { type: NotificationsFacade }, { type: CoreFacade }, { type: PublicationMessagesFacade }, { type: ActionsFacade }, { type: i0.Injector }, { type: i0.ChangeDetectorRef }, { type: i2$1.MatIconRegistry }] });
|
|
12605
12635
|
|
|
12606
12636
|
/**
|
|
12607
12637
|
* @title Data table with sorting, pagination, and filtering.
|
|
@@ -12632,12 +12662,12 @@ class StaticDataListComponent {
|
|
|
12632
12662
|
return params?.[0].path;
|
|
12633
12663
|
}));
|
|
12634
12664
|
}
|
|
12635
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12636
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
12665
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StaticDataListComponent, deps: [{ token: i2.ActivatedRoute }, { token: i2$1.MatIconRegistry }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
12666
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: StaticDataListComponent, isStandalone: false, selector: "app-static-data-list", ngImport: i0, template: "<ng-container *ngIf=\"contentType$ | async as contentType\">\n <app-static-data-list-items\n [staticDataConfiguration]=\"staticDataConfiguration\"\n [contentType]=\"contentType\"\n [showPanelHeader]=\"true\"></app-static-data-list-items>\n</ng-container>\n", styles: [".top-bar{background:#c7deef;display:flex;justify-content:flex-end}.top-bar .search-block{display:flex;align-content:center;align-items:center}.top-bar .search-block .search-input{background-color:#adcde8!important;padding:11px 10px!important}.top-bar .search-block .cancel-button{width:64px;height:40px}\n"], dependencies: [{ kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: StaticDataListItemsComponent, selector: "app-static-data-list-items", inputs: ["staticDataConfiguration", "contentType", "customTitle", "addTitle", "parentSection", "parentItemId", "showPanelHeader", "parentData", "parentSectionHashtag", "autoCompleteFields", "filteringQuery"] }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
12637
12667
|
}
|
|
12638
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12668
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StaticDataListComponent, decorators: [{
|
|
12639
12669
|
type: Component,
|
|
12640
|
-
args: [{ selector: 'app-static-data-list', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngIf=\"contentType$ | async as contentType\">\n <app-static-data-list-items\n [staticDataConfiguration]=\"staticDataConfiguration\"\n [contentType]=\"contentType\"\n [showPanelHeader]=\"true\"></app-static-data-list-items>\n</ng-container>\n", styles: [".top-bar{background:#c7deef;display:flex;justify-content:flex-end}.top-bar .search-block{display:flex;align-content:center;align-items:center}.top-bar .search-block .search-input{background-color:#adcde8!important;padding:11px 10px!important}.top-bar .search-block .cancel-button{width:64px;height:40px}\n"] }]
|
|
12670
|
+
args: [{ selector: 'app-static-data-list', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<ng-container *ngIf=\"contentType$ | async as contentType\">\n <app-static-data-list-items\n [staticDataConfiguration]=\"staticDataConfiguration\"\n [contentType]=\"contentType\"\n [showPanelHeader]=\"true\"></app-static-data-list-items>\n</ng-container>\n", styles: [".top-bar{background:#c7deef;display:flex;justify-content:flex-end}.top-bar .search-block{display:flex;align-content:center;align-items:center}.top-bar .search-block .search-input{background-color:#adcde8!important;padding:11px 10px!important}.top-bar .search-block .cancel-button{width:64px;height:40px}\n"] }]
|
|
12641
12671
|
}], ctorParameters: () => [{ type: i2.ActivatedRoute }, { type: i2$1.MatIconRegistry }] });
|
|
12642
12672
|
|
|
12643
12673
|
const routes = [
|
|
@@ -12660,11 +12690,11 @@ const routes = [
|
|
|
12660
12690
|
}
|
|
12661
12691
|
];
|
|
12662
12692
|
class StaticDataRoutingModule {
|
|
12663
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12664
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
12665
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
12693
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StaticDataRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
12694
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: StaticDataRoutingModule, imports: [i2.RouterModule], exports: [RouterModule] }); }
|
|
12695
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StaticDataRoutingModule, imports: [RouterModule.forChild(routes), RouterModule] }); }
|
|
12666
12696
|
}
|
|
12667
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12697
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StaticDataRoutingModule, decorators: [{
|
|
12668
12698
|
type: NgModule,
|
|
12669
12699
|
args: [{
|
|
12670
12700
|
imports: [RouterModule.forChild(routes)],
|
|
@@ -12685,12 +12715,12 @@ class TableMenuComponent {
|
|
|
12685
12715
|
deleteAction() {
|
|
12686
12716
|
this.delete.emit();
|
|
12687
12717
|
}
|
|
12688
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12689
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
12718
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: TableMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
12719
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: TableMenuComponent, isStandalone: false, selector: "shared-table-menu", outputs: { edit: "edit", delete: "delete" }, ngImport: i0, template: "<mat-icon class=\"cursor-pointer\" [matMenuTriggerFor]=\"menu\">more_vert</mat-icon>\n<mat-menu #menu=\"matMenu\">\n <button mat-menu-item (click)=\"editAction()\">\n <mat-icon>edit</mat-icon>\n <span>\u0420\u0435\u0434.</span>\n </button>\n <button mat-menu-item (click)=\"deleteAction()\">\n <mat-icon>delete</mat-icon>\n <span>\u0423\u0434\u0430\u043B\u0438\u0442\u044C</span>\n </button>\n</mat-menu>\n", styles: [""], dependencies: [{ kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i2$6.MatMenu, selector: "mat-menu", inputs: ["backdropClass", "aria-label", "aria-labelledby", "aria-describedby", "xPosition", "yPosition", "overlapTrigger", "hasBackdrop", "class", "classList"], outputs: ["closed", "close"], exportAs: ["matMenu"] }, { kind: "component", type: i2$6.MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i2$6.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData", "matMenuTriggerRestoreFocus"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }] }); }
|
|
12690
12720
|
}
|
|
12691
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12721
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: TableMenuComponent, decorators: [{
|
|
12692
12722
|
type: Component,
|
|
12693
|
-
args: [{ selector: 'shared-table-menu', template: "<mat-icon class=\"cursor-pointer\" [matMenuTriggerFor]=\"menu\">more_vert</mat-icon>\n<mat-menu #menu=\"matMenu\">\n <button mat-menu-item (click)=\"editAction()\">\n <mat-icon>edit</mat-icon>\n <span>\u0420\u0435\u0434.</span>\n </button>\n <button mat-menu-item (click)=\"deleteAction()\">\n <mat-icon>delete</mat-icon>\n <span>\u0423\u0434\u0430\u043B\u0438\u0442\u044C</span>\n </button>\n</mat-menu>\n" }]
|
|
12723
|
+
args: [{ selector: 'shared-table-menu', standalone: false, template: "<mat-icon class=\"cursor-pointer\" [matMenuTriggerFor]=\"menu\">more_vert</mat-icon>\n<mat-menu #menu=\"matMenu\">\n <button mat-menu-item (click)=\"editAction()\">\n <mat-icon>edit</mat-icon>\n <span>\u0420\u0435\u0434.</span>\n </button>\n <button mat-menu-item (click)=\"deleteAction()\">\n <mat-icon>delete</mat-icon>\n <span>\u0423\u0434\u0430\u043B\u0438\u0442\u044C</span>\n </button>\n</mat-menu>\n" }]
|
|
12694
12724
|
}], ctorParameters: () => [], propDecorators: { edit: [{
|
|
12695
12725
|
type: Output
|
|
12696
12726
|
}], delete: [{
|
|
@@ -12698,18 +12728,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
12698
12728
|
}] } });
|
|
12699
12729
|
|
|
12700
12730
|
class TableMenuModule {
|
|
12701
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12702
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
12731
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: TableMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
12732
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: TableMenuModule, declarations: [TableMenuComponent], imports: [CommonModule,
|
|
12703
12733
|
MatIconModule,
|
|
12704
12734
|
MatMenuModule], exports: [TableMenuComponent,
|
|
12705
12735
|
MatIconModule,
|
|
12706
12736
|
MatMenuModule] }); }
|
|
12707
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
12737
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: TableMenuModule, imports: [CommonModule,
|
|
12708
12738
|
MatIconModule,
|
|
12709
12739
|
MatMenuModule, MatIconModule,
|
|
12710
12740
|
MatMenuModule] }); }
|
|
12711
12741
|
}
|
|
12712
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12742
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: TableMenuModule, decorators: [{
|
|
12713
12743
|
type: NgModule,
|
|
12714
12744
|
args: [{
|
|
12715
12745
|
declarations: [TableMenuComponent],
|
|
@@ -12727,15 +12757,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
12727
12757
|
}] });
|
|
12728
12758
|
|
|
12729
12759
|
class PanelHeaderModule {
|
|
12730
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12731
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
12760
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PanelHeaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
12761
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: PanelHeaderModule, declarations: [PanelHeaderComponent], imports: [CommonModule,
|
|
12732
12762
|
MatIconModule,
|
|
12733
12763
|
MatFormFieldModule,
|
|
12734
12764
|
MatButtonModule,
|
|
12735
12765
|
MatInputModule,
|
|
12736
12766
|
FlexLayoutModule,
|
|
12737
12767
|
RouterModule], exports: [PanelHeaderComponent] }); }
|
|
12738
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
12768
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PanelHeaderModule, imports: [CommonModule,
|
|
12739
12769
|
MatIconModule,
|
|
12740
12770
|
MatFormFieldModule,
|
|
12741
12771
|
MatButtonModule,
|
|
@@ -12743,7 +12773,7 @@ class PanelHeaderModule {
|
|
|
12743
12773
|
FlexLayoutModule,
|
|
12744
12774
|
RouterModule] }); }
|
|
12745
12775
|
}
|
|
12746
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12776
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PanelHeaderModule, decorators: [{
|
|
12747
12777
|
type: NgModule,
|
|
12748
12778
|
args: [{
|
|
12749
12779
|
declarations: [PanelHeaderComponent],
|
|
@@ -12761,8 +12791,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
12761
12791
|
}] });
|
|
12762
12792
|
|
|
12763
12793
|
class StaticDataModule {
|
|
12764
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12765
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
12794
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StaticDataModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
12795
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: StaticDataModule, declarations: [StaticDataDetailsComponent,
|
|
12766
12796
|
StaticDataListComponent,
|
|
12767
12797
|
StaticDataItemsComponent,
|
|
12768
12798
|
StaticDataListItemsComponent], imports: [CommonModule,
|
|
@@ -12796,7 +12826,7 @@ class StaticDataModule {
|
|
|
12796
12826
|
MatCardContent,
|
|
12797
12827
|
MatCardTitle,
|
|
12798
12828
|
MatCardSubtitle] }); }
|
|
12799
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
12829
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StaticDataModule, providers: [
|
|
12800
12830
|
AutoFormService,
|
|
12801
12831
|
DialogService,
|
|
12802
12832
|
StaticDataComponentInputData,
|
|
@@ -12828,7 +12858,7 @@ class StaticDataModule {
|
|
|
12828
12858
|
MatAutocompleteModule,
|
|
12829
12859
|
MatCardHeader] }); }
|
|
12830
12860
|
}
|
|
12831
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12861
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StaticDataModule, decorators: [{
|
|
12832
12862
|
type: NgModule,
|
|
12833
12863
|
args: [{
|
|
12834
12864
|
declarations: [
|
|
@@ -12937,12 +12967,12 @@ class ChipsInputComponent {
|
|
|
12937
12967
|
});
|
|
12938
12968
|
}
|
|
12939
12969
|
}
|
|
12940
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12941
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
12970
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ChipsInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
12971
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: ChipsInputComponent, isStandalone: false, selector: "shared-chips-input", inputs: { title: "title", items: "items", selectedItems: "selectedItems" }, outputs: { changedList: "changedList", changedText: "changedText" }, viewQueries: [{ propertyName: "itemInput", first: true, predicate: ["itemInput"], descendants: true }, { propertyName: "matAutocomplete", first: true, predicate: ["auto"], descendants: true }], ngImport: i0, template: "<!--\n<mat-form-field class=\"example-chip-list\">\n <mat-label class=\"title\">{{title}}</mat-label>\n <mat-chip-list #chipList aria-label=\"Fruit selection\">\n <mat-chip\n *ngFor=\"let item of selectedItems\"\n [selectable]=\"selectable\"\n [removable]=\"removable\"\n (removed)=\"remove(item)\">\n {{item.title}}\n <mat-icon matChipRemove *ngIf=\"removable\">cancel</mat-icon>\n </mat-chip>\n <input\n #itemInput\n [placeholder]=\"''\"\n [formControl]=\"itemsCtrl\"\n [matAutocomplete]=\"auto\"\n [matChipInputFor]=\"chipList\"\n [matChipInputSeparatorKeyCodes]=\"separatorKeysCodes\"\n [matChipInputAddOnBlur]=\"addOnBlur\"\n (matChipInputTokenEnd)=\"add($event)\">\n </mat-chip-list>\n <mat-autocomplete #auto=\"matAutocomplete\" (optionSelected)=\"selected($event)\">\n <mat-option *ngFor=\"let item of filteredItems | async\" [value]=\"item\">\n {{item.title}}\n </mat-option>\n </mat-autocomplete>\n</mat-form-field>\n-->\n<!--\n<mat-form-field class=\"example-chip-list\">\n <mat-label>Favorite Fruits</mat-label>\n <mat-chip-grid #chipGrid aria-label=\"Fruit selection\">\n <mat-chip-row *ngFor=\"let fruit of fruits\" (removed)=\"remove(fruit)\">\n {{fruit}}\n <button matChipRemove [attr.aria-label]=\"'remove ' + fruit\">\n <mat-icon>cancel</mat-icon>\n </button>\n </mat-chip-row>\n </mat-chip-grid>\n <input placeholder=\"New Fruit...\" #fruitInput [formControl]=\"fruitCtrl\"\n [matChipInputFor]=\"chipGrid\" [matAutocomplete]=\"auto\"\n [matChipInputSeparatorKeyCodes]=\"separatorKeysCodes\"\n (matChipInputTokenEnd)=\"add($event)\"/>\n <mat-autocomplete #auto=\"matAutocomplete\" (optionSelected)=\"selected($event)\">\n <mat-option *ngFor=\"let fruit of filteredFruits | async\" [value]=\"fruit\">\n {{fruit}}\n </mat-option>\n </mat-autocomplete>\n </mat-form-field>\n-->\n", styles: [".example-chip-list{width:100%}.title{color:#0009;font-size:16px}\n"] }); }
|
|
12942
12972
|
}
|
|
12943
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12973
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ChipsInputComponent, decorators: [{
|
|
12944
12974
|
type: Component,
|
|
12945
|
-
args: [{ selector: 'shared-chips-input', template: "<!--\n<mat-form-field class=\"example-chip-list\">\n <mat-label class=\"title\">{{title}}</mat-label>\n <mat-chip-list #chipList aria-label=\"Fruit selection\">\n <mat-chip\n *ngFor=\"let item of selectedItems\"\n [selectable]=\"selectable\"\n [removable]=\"removable\"\n (removed)=\"remove(item)\">\n {{item.title}}\n <mat-icon matChipRemove *ngIf=\"removable\">cancel</mat-icon>\n </mat-chip>\n <input\n #itemInput\n [placeholder]=\"''\"\n [formControl]=\"itemsCtrl\"\n [matAutocomplete]=\"auto\"\n [matChipInputFor]=\"chipList\"\n [matChipInputSeparatorKeyCodes]=\"separatorKeysCodes\"\n [matChipInputAddOnBlur]=\"addOnBlur\"\n (matChipInputTokenEnd)=\"add($event)\">\n </mat-chip-list>\n <mat-autocomplete #auto=\"matAutocomplete\" (optionSelected)=\"selected($event)\">\n <mat-option *ngFor=\"let item of filteredItems | async\" [value]=\"item\">\n {{item.title}}\n </mat-option>\n </mat-autocomplete>\n</mat-form-field>\n-->\n<!--\n<mat-form-field class=\"example-chip-list\">\n <mat-label>Favorite Fruits</mat-label>\n <mat-chip-grid #chipGrid aria-label=\"Fruit selection\">\n <mat-chip-row *ngFor=\"let fruit of fruits\" (removed)=\"remove(fruit)\">\n {{fruit}}\n <button matChipRemove [attr.aria-label]=\"'remove ' + fruit\">\n <mat-icon>cancel</mat-icon>\n </button>\n </mat-chip-row>\n </mat-chip-grid>\n <input placeholder=\"New Fruit...\" #fruitInput [formControl]=\"fruitCtrl\"\n [matChipInputFor]=\"chipGrid\" [matAutocomplete]=\"auto\"\n [matChipInputSeparatorKeyCodes]=\"separatorKeysCodes\"\n (matChipInputTokenEnd)=\"add($event)\"/>\n <mat-autocomplete #auto=\"matAutocomplete\" (optionSelected)=\"selected($event)\">\n <mat-option *ngFor=\"let fruit of filteredFruits | async\" [value]=\"fruit\">\n {{fruit}}\n </mat-option>\n </mat-autocomplete>\n </mat-form-field>\n-->\n", styles: [".example-chip-list{width:100%}.title{color:#0009;font-size:16px}\n"] }]
|
|
12975
|
+
args: [{ selector: 'shared-chips-input', standalone: false, template: "<!--\n<mat-form-field class=\"example-chip-list\">\n <mat-label class=\"title\">{{title}}</mat-label>\n <mat-chip-list #chipList aria-label=\"Fruit selection\">\n <mat-chip\n *ngFor=\"let item of selectedItems\"\n [selectable]=\"selectable\"\n [removable]=\"removable\"\n (removed)=\"remove(item)\">\n {{item.title}}\n <mat-icon matChipRemove *ngIf=\"removable\">cancel</mat-icon>\n </mat-chip>\n <input\n #itemInput\n [placeholder]=\"''\"\n [formControl]=\"itemsCtrl\"\n [matAutocomplete]=\"auto\"\n [matChipInputFor]=\"chipList\"\n [matChipInputSeparatorKeyCodes]=\"separatorKeysCodes\"\n [matChipInputAddOnBlur]=\"addOnBlur\"\n (matChipInputTokenEnd)=\"add($event)\">\n </mat-chip-list>\n <mat-autocomplete #auto=\"matAutocomplete\" (optionSelected)=\"selected($event)\">\n <mat-option *ngFor=\"let item of filteredItems | async\" [value]=\"item\">\n {{item.title}}\n </mat-option>\n </mat-autocomplete>\n</mat-form-field>\n-->\n<!--\n<mat-form-field class=\"example-chip-list\">\n <mat-label>Favorite Fruits</mat-label>\n <mat-chip-grid #chipGrid aria-label=\"Fruit selection\">\n <mat-chip-row *ngFor=\"let fruit of fruits\" (removed)=\"remove(fruit)\">\n {{fruit}}\n <button matChipRemove [attr.aria-label]=\"'remove ' + fruit\">\n <mat-icon>cancel</mat-icon>\n </button>\n </mat-chip-row>\n </mat-chip-grid>\n <input placeholder=\"New Fruit...\" #fruitInput [formControl]=\"fruitCtrl\"\n [matChipInputFor]=\"chipGrid\" [matAutocomplete]=\"auto\"\n [matChipInputSeparatorKeyCodes]=\"separatorKeysCodes\"\n (matChipInputTokenEnd)=\"add($event)\"/>\n <mat-autocomplete #auto=\"matAutocomplete\" (optionSelected)=\"selected($event)\">\n <mat-option *ngFor=\"let fruit of filteredFruits | async\" [value]=\"fruit\">\n {{fruit}}\n </mat-option>\n </mat-autocomplete>\n </mat-form-field>\n-->\n", styles: [".example-chip-list{width:100%}.title{color:#0009;font-size:16px}\n"] }]
|
|
12946
12976
|
}], ctorParameters: () => [], propDecorators: { title: [{
|
|
12947
12977
|
type: Input
|
|
12948
12978
|
}], items: [{
|
|
@@ -12963,21 +12993,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
12963
12993
|
|
|
12964
12994
|
// import { MatLegacyChipsModule } from "@angular/material/legacy-chips";
|
|
12965
12995
|
class ChipsInputModule {
|
|
12966
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12967
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
12996
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ChipsInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
12997
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: ChipsInputModule, declarations: [ChipsInputComponent], imports: [CommonModule,
|
|
12968
12998
|
MatFormFieldModule,
|
|
12969
12999
|
MatChipsModule,
|
|
12970
13000
|
MatAutocompleteModule,
|
|
12971
13001
|
MatIconModule,
|
|
12972
13002
|
ReactiveFormsModule], exports: [ChipsInputComponent] }); }
|
|
12973
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
13003
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ChipsInputModule, imports: [CommonModule,
|
|
12974
13004
|
MatFormFieldModule,
|
|
12975
13005
|
MatChipsModule,
|
|
12976
13006
|
MatAutocompleteModule,
|
|
12977
13007
|
MatIconModule,
|
|
12978
13008
|
ReactiveFormsModule] }); }
|
|
12979
13009
|
}
|
|
12980
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13010
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ChipsInputModule, decorators: [{
|
|
12981
13011
|
type: NgModule,
|
|
12982
13012
|
args: [{
|
|
12983
13013
|
declarations: [ChipsInputComponent],
|
|
@@ -13001,12 +13031,12 @@ class HeaderComponent {
|
|
|
13001
13031
|
}
|
|
13002
13032
|
ngOnInit() {
|
|
13003
13033
|
}
|
|
13004
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13005
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
13034
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: HeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
13035
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: HeaderComponent, isStandalone: false, selector: "shared-header", inputs: { title: "title", subTitle: "subTitle", description: "description", image: "image", small: "small" }, ngImport: i0, template: "<section class=\"home_banner_area\" [ngStyle]=\"{'background-image': image ? ' url(assets/' + image + ')' : '', 'color': '#ff0000'}\">\n <div class=\"banner_inner\" [ngClass]=\"{'dark-bg': image}\">\n <div class=\"container\">\n <div class=\"row\">\n <div class=\"col-lg-3 text-right\">\n <div class=\"home_left_img mb-14\">\n <img class=\"img-fluid\" src=\"assets/images/banner/logo.png\" [alt]=\"title\">\n </div>\n </div>\n <div class=\"col-lg-9\" style=\"margin-top: 45px\">\n <div class=\"banner_content\">\n <div *ngIf=\"subTitle\" class=\"sub-title\">{{subTitle}}</div>\n <h1>\n {{title}}\n </h1>\n <p class=\"description\" *ngIf=\"description\">\n {{description}}\n </p>\n </div>\n </div>\n </div>\n </div>\n </div>\n</section>\n", styles: [".description{height:83px;overflow:hidden;line-height:20px;font-size:14px}.dark-bg{background-color:#0000008c}.mb-14{margin-bottom:14px}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] }); }
|
|
13006
13036
|
}
|
|
13007
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13037
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: HeaderComponent, decorators: [{
|
|
13008
13038
|
type: Component,
|
|
13009
|
-
args: [{ selector: 'shared-header', template: "<section class=\"home_banner_area\" [ngStyle]=\"{'background-image': image ? ' url(assets/' + image + ')' : '', 'color': '#ff0000'}\">\n <div class=\"banner_inner\" [ngClass]=\"{'dark-bg': image}\">\n <div class=\"container\">\n <div class=\"row\">\n <div class=\"col-lg-3 text-right\">\n <div class=\"home_left_img mb-14\">\n <img class=\"img-fluid\" src=\"assets/images/banner/logo.png\" [alt]=\"title\">\n </div>\n </div>\n <div class=\"col-lg-9\" style=\"margin-top: 45px\">\n <div class=\"banner_content\">\n <div *ngIf=\"subTitle\" class=\"sub-title\">{{subTitle}}</div>\n <h1>\n {{title}}\n </h1>\n <p class=\"description\" *ngIf=\"description\">\n {{description}}\n </p>\n </div>\n </div>\n </div>\n </div>\n </div>\n</section>\n", styles: [".description{height:83px;overflow:hidden;line-height:20px;font-size:14px}.dark-bg{background-color:#0000008c}.mb-14{margin-bottom:14px}\n"] }]
|
|
13039
|
+
args: [{ selector: 'shared-header', standalone: false, template: "<section class=\"home_banner_area\" [ngStyle]=\"{'background-image': image ? ' url(assets/' + image + ')' : '', 'color': '#ff0000'}\">\n <div class=\"banner_inner\" [ngClass]=\"{'dark-bg': image}\">\n <div class=\"container\">\n <div class=\"row\">\n <div class=\"col-lg-3 text-right\">\n <div class=\"home_left_img mb-14\">\n <img class=\"img-fluid\" src=\"assets/images/banner/logo.png\" [alt]=\"title\">\n </div>\n </div>\n <div class=\"col-lg-9\" style=\"margin-top: 45px\">\n <div class=\"banner_content\">\n <div *ngIf=\"subTitle\" class=\"sub-title\">{{subTitle}}</div>\n <h1>\n {{title}}\n </h1>\n <p class=\"description\" *ngIf=\"description\">\n {{description}}\n </p>\n </div>\n </div>\n </div>\n </div>\n </div>\n</section>\n", styles: [".description{height:83px;overflow:hidden;line-height:20px;font-size:14px}.dark-bg{background-color:#0000008c}.mb-14{margin-bottom:14px}\n"] }]
|
|
13010
13040
|
}], ctorParameters: () => [], propDecorators: { title: [{
|
|
13011
13041
|
type: Input
|
|
13012
13042
|
}], subTitle: [{
|
|
@@ -13020,12 +13050,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
13020
13050
|
}] } });
|
|
13021
13051
|
|
|
13022
13052
|
class HeaderModule {
|
|
13023
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13024
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
13053
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: HeaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
13054
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: HeaderModule, declarations: [HeaderComponent], imports: [CommonModule], exports: [CommonModule,
|
|
13025
13055
|
HeaderComponent] }); }
|
|
13026
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
13056
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: HeaderModule, imports: [CommonModule, CommonModule] }); }
|
|
13027
13057
|
}
|
|
13028
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13058
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: HeaderModule, decorators: [{
|
|
13029
13059
|
type: NgModule,
|
|
13030
13060
|
args: [{
|
|
13031
13061
|
declarations: [HeaderComponent],
|
|
@@ -13056,22 +13086,22 @@ class InputTagsComponent {
|
|
|
13056
13086
|
}
|
|
13057
13087
|
changedList(tags) {
|
|
13058
13088
|
}
|
|
13059
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13060
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
13089
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: InputTagsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
13090
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: InputTagsComponent, isStandalone: false, selector: "shared-input-tags", ngImport: i0, template: "<ng-container *ngIf=\"allTags && allTags.length\">\n <shared-chips-input\n [title]=\"'Tags'\"\n [items]=\"allTags\"\n [selectedItems]=\"tags\"\n (changedText)=\"changedText($event)\"\n (changedList)=\"changedList($event)\"></shared-chips-input>\n</ng-container>\n", styles: [""], dependencies: [{ kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ChipsInputComponent, selector: "shared-chips-input", inputs: ["title", "items", "selectedItems"], outputs: ["changedList", "changedText"] }] }); }
|
|
13061
13091
|
}
|
|
13062
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13092
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: InputTagsComponent, decorators: [{
|
|
13063
13093
|
type: Component,
|
|
13064
|
-
args: [{ selector: 'shared-input-tags', template: "<ng-container *ngIf=\"allTags && allTags.length\">\n <shared-chips-input\n [title]=\"'Tags'\"\n [items]=\"allTags\"\n [selectedItems]=\"tags\"\n (changedText)=\"changedText($event)\"\n (changedList)=\"changedList($event)\"></shared-chips-input>\n</ng-container>\n" }]
|
|
13094
|
+
args: [{ selector: 'shared-input-tags', standalone: false, template: "<ng-container *ngIf=\"allTags && allTags.length\">\n <shared-chips-input\n [title]=\"'Tags'\"\n [items]=\"allTags\"\n [selectedItems]=\"tags\"\n (changedText)=\"changedText($event)\"\n (changedList)=\"changedList($event)\"></shared-chips-input>\n</ng-container>\n" }]
|
|
13065
13095
|
}], ctorParameters: () => [] });
|
|
13066
13096
|
|
|
13067
13097
|
class InputTagsModule {
|
|
13068
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13069
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
13098
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: InputTagsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
13099
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: InputTagsModule, declarations: [InputTagsComponent], imports: [CommonModule,
|
|
13070
13100
|
ChipsInputModule], exports: [InputTagsComponent] }); }
|
|
13071
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
13101
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: InputTagsModule, imports: [CommonModule,
|
|
13072
13102
|
ChipsInputModule] }); }
|
|
13073
13103
|
}
|
|
13074
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13104
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: InputTagsModule, decorators: [{
|
|
13075
13105
|
type: NgModule,
|
|
13076
13106
|
args: [{
|
|
13077
13107
|
declarations: [InputTagsComponent],
|
|
@@ -13113,12 +13143,12 @@ class PaginationComponent {
|
|
|
13113
13143
|
}
|
|
13114
13144
|
}
|
|
13115
13145
|
}
|
|
13116
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13117
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
13146
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PaginationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
13147
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: PaginationComponent, isStandalone: false, selector: "shared-pagination", inputs: { count: "count", perPage: "perPage", page: "page", url: "url" }, usesOnChanges: true, ngImport: i0, template: "<nav aria-label=\"\u041F\u0430\u0433\u0438\u043D\u0430\u0446\u0438\u044F\">\n <ul class=\"pagination\">\n <li *ngFor=\"let pageIndex of pages\" class=\"page-item\">\n <a *ngIf=\"pageIndex !== 0 && page !== pageIndex\" class=\"page-link\" [routerLink]=\"[url]\"\n [queryParams]=\"{p: pageIndex}\">{{pageIndex}}</a>\n <span *ngIf=\"pageIndex === 0\" class=\"page-link\">...</span>\n <span *ngIf=\"page === pageIndex\" class=\"page-link active-page\">{{pageIndex}}</span>\n </li>\n </ul>\n</nav>\n", styles: [".page-link{border:1px solid rgba(222,226,230,.368627451)}.page-link.active-page,.page-link.active-page:hover{background:#1fc6b6;color:#fff!important;-webkit-text-fill-color:white!important}.page-link:hover{background:-webkit-linear-gradient(131deg,#11736a 0%,#1fc6b6 99%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;text-decoration:none;-webkit-transition:.5s;transition:.5s}.page-item span{color:#666!important;cursor:default}\n"], dependencies: [{ kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
13118
13148
|
}
|
|
13119
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13149
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PaginationComponent, decorators: [{
|
|
13120
13150
|
type: Component,
|
|
13121
|
-
args: [{ selector: 'shared-pagination', changeDetection: ChangeDetectionStrategy.OnPush, template: "<nav aria-label=\"\u041F\u0430\u0433\u0438\u043D\u0430\u0446\u0438\u044F\">\n <ul class=\"pagination\">\n <li *ngFor=\"let pageIndex of pages\" class=\"page-item\">\n <a *ngIf=\"pageIndex !== 0 && page !== pageIndex\" class=\"page-link\" [routerLink]=\"[url]\"\n [queryParams]=\"{p: pageIndex}\">{{pageIndex}}</a>\n <span *ngIf=\"pageIndex === 0\" class=\"page-link\">...</span>\n <span *ngIf=\"page === pageIndex\" class=\"page-link active-page\">{{pageIndex}}</span>\n </li>\n </ul>\n</nav>\n", styles: [".page-link{border:1px solid rgba(222,226,230,.368627451)}.page-link.active-page,.page-link.active-page:hover{background:#1fc6b6;color:#fff!important;-webkit-text-fill-color:white!important}.page-link:hover{background:-webkit-linear-gradient(131deg,#11736a 0%,#1fc6b6 99%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;text-decoration:none;-webkit-transition:.5s;transition:.5s}.page-item span{color:#666!important;cursor:default}\n"] }]
|
|
13151
|
+
args: [{ selector: 'shared-pagination', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<nav aria-label=\"\u041F\u0430\u0433\u0438\u043D\u0430\u0446\u0438\u044F\">\n <ul class=\"pagination\">\n <li *ngFor=\"let pageIndex of pages\" class=\"page-item\">\n <a *ngIf=\"pageIndex !== 0 && page !== pageIndex\" class=\"page-link\" [routerLink]=\"[url]\"\n [queryParams]=\"{p: pageIndex}\">{{pageIndex}}</a>\n <span *ngIf=\"pageIndex === 0\" class=\"page-link\">...</span>\n <span *ngIf=\"page === pageIndex\" class=\"page-link active-page\">{{pageIndex}}</span>\n </li>\n </ul>\n</nav>\n", styles: [".page-link{border:1px solid rgba(222,226,230,.368627451)}.page-link.active-page,.page-link.active-page:hover{background:#1fc6b6;color:#fff!important;-webkit-text-fill-color:white!important}.page-link:hover{background:-webkit-linear-gradient(131deg,#11736a 0%,#1fc6b6 99%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;text-decoration:none;-webkit-transition:.5s;transition:.5s}.page-item span{color:#666!important;cursor:default}\n"] }]
|
|
13122
13152
|
}], ctorParameters: () => [], propDecorators: { count: [{
|
|
13123
13153
|
type: Input
|
|
13124
13154
|
}], perPage: [{
|
|
@@ -13130,14 +13160,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
13130
13160
|
}] } });
|
|
13131
13161
|
|
|
13132
13162
|
class PaginationModule {
|
|
13133
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13134
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
13163
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PaginationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
13164
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: PaginationModule, declarations: [PaginationComponent], imports: [CommonModule,
|
|
13135
13165
|
RouterModule], exports: [CommonModule,
|
|
13136
13166
|
PaginationComponent] }); }
|
|
13137
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
13167
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PaginationModule, imports: [CommonModule,
|
|
13138
13168
|
RouterModule, CommonModule] }); }
|
|
13139
13169
|
}
|
|
13140
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13170
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PaginationModule, decorators: [{
|
|
13141
13171
|
type: NgModule,
|
|
13142
13172
|
args: [{
|
|
13143
13173
|
declarations: [PaginationComponent],
|
|
@@ -13575,13 +13605,14 @@ class StickySidebarDirective {
|
|
|
13575
13605
|
getScrollTop() {
|
|
13576
13606
|
return document.documentElement.scrollTop || document.body.scrollTop || document.documentElement.offsetTop * -1;
|
|
13577
13607
|
}
|
|
13578
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13579
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
13608
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StickySidebarDirective, deps: [{ token: i0.ElementRef }, { token: STICKY_SIDEBAR_OPTIONS, optional: true }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
13609
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.14", type: StickySidebarDirective, isStandalone: false, selector: "[wtStickySidebar]", queries: [{ propertyName: "sidebarInner", first: true, predicate: i0.forwardRef(() => StickySidebarInnerDirective), descendants: true, read: ElementRef, static: true }], ngImport: i0 }); }
|
|
13580
13610
|
}
|
|
13581
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13611
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StickySidebarDirective, decorators: [{
|
|
13582
13612
|
type: Directive,
|
|
13583
13613
|
args: [{
|
|
13584
|
-
selector: '[wtStickySidebar]'
|
|
13614
|
+
selector: '[wtStickySidebar]',
|
|
13615
|
+
standalone: false
|
|
13585
13616
|
}]
|
|
13586
13617
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: undefined, decorators: [{
|
|
13587
13618
|
type: Optional
|
|
@@ -13598,13 +13629,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
13598
13629
|
class StickySidebarInnerDirective {
|
|
13599
13630
|
constructor() {
|
|
13600
13631
|
}
|
|
13601
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13602
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
13632
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StickySidebarInnerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
13633
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.14", type: StickySidebarInnerDirective, isStandalone: false, selector: "[wtStickySidebarInner]", ngImport: i0 }); }
|
|
13603
13634
|
}
|
|
13604
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13635
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StickySidebarInnerDirective, decorators: [{
|
|
13605
13636
|
type: Directive,
|
|
13606
13637
|
args: [{
|
|
13607
|
-
selector: '[wtStickySidebarInner]'
|
|
13638
|
+
selector: '[wtStickySidebarInner]',
|
|
13639
|
+
standalone: false
|
|
13608
13640
|
}]
|
|
13609
13641
|
}], ctorParameters: () => [] });
|
|
13610
13642
|
|
|
@@ -13620,11 +13652,11 @@ class StickySidebarModule {
|
|
|
13620
13652
|
]
|
|
13621
13653
|
};
|
|
13622
13654
|
}
|
|
13623
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13624
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
13625
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
13655
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StickySidebarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
13656
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: StickySidebarModule, declarations: [StickySidebarDirective, StickySidebarInnerDirective], imports: [CommonModule], exports: [StickySidebarDirective, StickySidebarInnerDirective] }); }
|
|
13657
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StickySidebarModule, imports: [CommonModule] }); }
|
|
13626
13658
|
}
|
|
13627
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13659
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StickySidebarModule, decorators: [{
|
|
13628
13660
|
type: NgModule,
|
|
13629
13661
|
args: [{
|
|
13630
13662
|
declarations: [StickySidebarDirective, StickySidebarInnerDirective],
|
|
@@ -13653,24 +13685,24 @@ class TagCloudComponent {
|
|
|
13653
13685
|
}
|
|
13654
13686
|
ngOnDestroy() {
|
|
13655
13687
|
}
|
|
13656
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13657
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
13688
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: TagCloudComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
13689
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: TagCloudComponent, isStandalone: false, selector: "shared-tag-cloud", ngImport: i0, template: "<ng-container *ngIf=\"getTags$ | async; let tags;\">\n<aside *ngIf=\"loaded\" class=\"single-sidebar-widget tag_cloud_widget\">\n <h4 class=\"widget_title\">\u0422\u0435\u0433\u0438</h4>\n <ul class=\"tag-list list\">\n <li *ngFor=\"let tag of tags; trackBy: trackByFn\"><a [routerLink]=\"['/tag/' + tag.slug + '.html']\">{{tag.name}}</a></li>\n </ul>\n</aside>\n</ng-container>\n<shared-spinner *ngIf=\"!loaded\" [diameter]=\"30\"></shared-spinner>\n", styles: [".tag-list li:nth-child(3n) a{margin-right:0!important}\n"], dependencies: [{ kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: SpinnerComponent, selector: "shared-spinner", inputs: ["overlay", "diameter", "color", "position"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
13658
13690
|
}
|
|
13659
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13691
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: TagCloudComponent, decorators: [{
|
|
13660
13692
|
type: Component,
|
|
13661
|
-
args: [{ selector: 'shared-tag-cloud', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngIf=\"getTags$ | async; let tags;\">\n<aside *ngIf=\"loaded\" class=\"single-sidebar-widget tag_cloud_widget\">\n <h4 class=\"widget_title\">\u0422\u0435\u0433\u0438</h4>\n <ul class=\"tag-list list\">\n <li *ngFor=\"let tag of tags; trackBy: trackByFn\"><a [routerLink]=\"['/tag/' + tag.slug + '.html']\">{{tag.name}}</a></li>\n </ul>\n</aside>\n</ng-container>\n<shared-spinner *ngIf=\"!loaded\" [diameter]=\"30\"></shared-spinner>\n", styles: [".tag-list li:nth-child(3n) a{margin-right:0!important}\n"] }]
|
|
13693
|
+
args: [{ selector: 'shared-tag-cloud', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<ng-container *ngIf=\"getTags$ | async; let tags;\">\n<aside *ngIf=\"loaded\" class=\"single-sidebar-widget tag_cloud_widget\">\n <h4 class=\"widget_title\">\u0422\u0435\u0433\u0438</h4>\n <ul class=\"tag-list list\">\n <li *ngFor=\"let tag of tags; trackBy: trackByFn\"><a [routerLink]=\"['/tag/' + tag.slug + '.html']\">{{tag.name}}</a></li>\n </ul>\n</aside>\n</ng-container>\n<shared-spinner *ngIf=\"!loaded\" [diameter]=\"30\"></shared-spinner>\n", styles: [".tag-list li:nth-child(3n) a{margin-right:0!important}\n"] }]
|
|
13662
13694
|
}], ctorParameters: () => [] });
|
|
13663
13695
|
|
|
13664
13696
|
class TagCloudModule {
|
|
13665
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13666
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
13697
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: TagCloudModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
13698
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: TagCloudModule, declarations: [TagCloudComponent], imports: [CommonModule,
|
|
13667
13699
|
SharedSpinnerModule,
|
|
13668
13700
|
RouterModule], exports: [TagCloudComponent] }); }
|
|
13669
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
13701
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: TagCloudModule, imports: [CommonModule,
|
|
13670
13702
|
SharedSpinnerModule,
|
|
13671
13703
|
RouterModule] }); }
|
|
13672
13704
|
}
|
|
13673
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13705
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: TagCloudModule, decorators: [{
|
|
13674
13706
|
type: NgModule,
|
|
13675
13707
|
args: [{
|
|
13676
13708
|
declarations: [TagCloudComponent],
|
|
@@ -13703,13 +13735,14 @@ class SafePipe {
|
|
|
13703
13735
|
throw new Error(`Invalid safe type specified: ${type}`);
|
|
13704
13736
|
}
|
|
13705
13737
|
}
|
|
13706
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13707
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
13738
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SafePipe, deps: [{ token: i1$5.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
13739
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: SafePipe, isStandalone: false, name: "safe" }); }
|
|
13708
13740
|
}
|
|
13709
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13741
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SafePipe, decorators: [{
|
|
13710
13742
|
type: Pipe,
|
|
13711
13743
|
args: [{
|
|
13712
|
-
name: 'safe'
|
|
13744
|
+
name: 'safe',
|
|
13745
|
+
standalone: false
|
|
13713
13746
|
}]
|
|
13714
13747
|
}], ctorParameters: () => [{ type: i1$5.DomSanitizer }] });
|
|
13715
13748
|
|
|
@@ -13733,12 +13766,12 @@ class TextWithLinkMoreComponent {
|
|
|
13733
13766
|
toggle(textBlock) {
|
|
13734
13767
|
textBlock.classList.toggle('open');
|
|
13735
13768
|
}
|
|
13736
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13737
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
13769
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: TextWithLinkMoreComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
13770
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: TextWithLinkMoreComponent, isStandalone: false, selector: "shared-text-with-link-more", inputs: { text: "text", height: "height" }, ngImport: i0, template: "<div class=\"text-block\" #textBlock>\n <div class=\"text-block-inner\" [innerHTML]=\"text | safe : 'html'\"></div>\n <div class=\"text-right open-text\">\n <a (click)=\"toggle(textBlock)\">\u041F\u043E\u0434\u0440\u043E\u0431\u043D\u0435\u0435</a>\n </div>\n <div class=\"text-right close-text\">\n <a (click)=\"toggle(textBlock)\">\u0417\u0430\u043A\u0440\u044B\u0442\u044C</a>\n </div>\n</div>\n", styles: [".text-block .text-block-inner{overflow:hidden;position:relative;height:200px;transition:height .3s linear 0s}.text-block .text-block-inner:after{content:\"\";text-align:right;position:absolute;bottom:0;right:0;left:0;height:50px;background:linear-gradient(to bottom,#fff0,#fff);pointer-events:none}.text-block .open-text{display:block}.text-block .close-text{display:none}.text-block.open .text-block-inner{height:auto}.text-block.open .text-block-inner:after{background:transparent}.text-block.open .open-text{display:none}.text-block.open .close-text{display:block}.text-right a{cursor:pointer;color:#007bff;font-size:14px}\n"], dependencies: [{ kind: "pipe", type: SafePipe, name: "safe" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
13738
13771
|
}
|
|
13739
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13772
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: TextWithLinkMoreComponent, decorators: [{
|
|
13740
13773
|
type: Component,
|
|
13741
|
-
args: [{ selector: 'shared-text-with-link-more', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"text-block\" #textBlock>\n <div class=\"text-block-inner\" [innerHTML]=\"text | safe : 'html'\"></div>\n <div class=\"text-right open-text\">\n <a (click)=\"toggle(textBlock)\">\u041F\u043E\u0434\u0440\u043E\u0431\u043D\u0435\u0435</a>\n </div>\n <div class=\"text-right close-text\">\n <a (click)=\"toggle(textBlock)\">\u0417\u0430\u043A\u0440\u044B\u0442\u044C</a>\n </div>\n</div>\n", styles: [".text-block .text-block-inner{overflow:hidden;position:relative;height:200px;transition:height .3s linear 0s}.text-block .text-block-inner:after{content:\"\";text-align:right;position:absolute;bottom:0;right:0;left:0;height:50px;background:linear-gradient(to bottom,#fff0,#fff);pointer-events:none}.text-block .open-text{display:block}.text-block .close-text{display:none}.text-block.open .text-block-inner{height:auto}.text-block.open .text-block-inner:after{background:transparent}.text-block.open .open-text{display:none}.text-block.open .close-text{display:block}.text-right a{cursor:pointer;color:#007bff;font-size:14px}\n"] }]
|
|
13774
|
+
args: [{ selector: 'shared-text-with-link-more', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div class=\"text-block\" #textBlock>\n <div class=\"text-block-inner\" [innerHTML]=\"text | safe : 'html'\"></div>\n <div class=\"text-right open-text\">\n <a (click)=\"toggle(textBlock)\">\u041F\u043E\u0434\u0440\u043E\u0431\u043D\u0435\u0435</a>\n </div>\n <div class=\"text-right close-text\">\n <a (click)=\"toggle(textBlock)\">\u0417\u0430\u043A\u0440\u044B\u0442\u044C</a>\n </div>\n</div>\n", styles: [".text-block .text-block-inner{overflow:hidden;position:relative;height:200px;transition:height .3s linear 0s}.text-block .text-block-inner:after{content:\"\";text-align:right;position:absolute;bottom:0;right:0;left:0;height:50px;background:linear-gradient(to bottom,#fff0,#fff);pointer-events:none}.text-block .open-text{display:block}.text-block .close-text{display:none}.text-block.open .text-block-inner{height:auto}.text-block.open .text-block-inner:after{background:transparent}.text-block.open .open-text{display:none}.text-block.open .close-text{display:block}.text-right a{cursor:pointer;color:#007bff;font-size:14px}\n"] }]
|
|
13742
13775
|
}], ctorParameters: () => [], propDecorators: { text: [{
|
|
13743
13776
|
type: Input
|
|
13744
13777
|
}], height: [{
|
|
@@ -13766,13 +13799,14 @@ class CountFormatPipe {
|
|
|
13766
13799
|
}
|
|
13767
13800
|
return 0;
|
|
13768
13801
|
}
|
|
13769
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13770
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
13802
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CountFormatPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
13803
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: CountFormatPipe, isStandalone: false, name: "countFormatPipe" }); }
|
|
13771
13804
|
}
|
|
13772
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13805
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CountFormatPipe, decorators: [{
|
|
13773
13806
|
type: Pipe,
|
|
13774
13807
|
args: [{
|
|
13775
|
-
name: 'countFormatPipe'
|
|
13808
|
+
name: 'countFormatPipe',
|
|
13809
|
+
standalone: false
|
|
13776
13810
|
}]
|
|
13777
13811
|
}] });
|
|
13778
13812
|
|
|
@@ -13783,13 +13817,14 @@ class DateFormatPipe {
|
|
|
13783
13817
|
}
|
|
13784
13818
|
return null;
|
|
13785
13819
|
}
|
|
13786
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13787
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
13820
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: DateFormatPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
13821
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: DateFormatPipe, isStandalone: false, name: "dateFormatPipe" }); }
|
|
13788
13822
|
}
|
|
13789
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13823
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: DateFormatPipe, decorators: [{
|
|
13790
13824
|
type: Pipe,
|
|
13791
13825
|
args: [{
|
|
13792
|
-
name: 'dateFormatPipe'
|
|
13826
|
+
name: 'dateFormatPipe',
|
|
13827
|
+
standalone: false
|
|
13793
13828
|
}]
|
|
13794
13829
|
}] });
|
|
13795
13830
|
|
|
@@ -13808,28 +13843,29 @@ class PhonePipe {
|
|
|
13808
13843
|
*/
|
|
13809
13844
|
return `+${number[0]}${number[1]}${number[2]} ${number[3]}${number[4]} ${number[5]}${number[6]}${number[7]}-${number[8]}${number[9]}-${number[10]}${number[11]}`;
|
|
13810
13845
|
}
|
|
13811
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13812
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
13846
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PhonePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
13847
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: PhonePipe, isStandalone: false, name: "phoneFormat" }); }
|
|
13813
13848
|
}
|
|
13814
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13849
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PhonePipe, decorators: [{
|
|
13815
13850
|
type: Pipe,
|
|
13816
13851
|
args: [{
|
|
13817
|
-
name: 'phoneFormat'
|
|
13852
|
+
name: 'phoneFormat',
|
|
13853
|
+
standalone: false
|
|
13818
13854
|
}]
|
|
13819
13855
|
}] });
|
|
13820
13856
|
|
|
13821
13857
|
class PipesModule {
|
|
13822
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13823
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
13858
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PipesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
13859
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: PipesModule, declarations: [SafePipe,
|
|
13824
13860
|
CountFormatPipe,
|
|
13825
13861
|
DateFormatPipe,
|
|
13826
13862
|
PhonePipe], imports: [CommonModule], exports: [SafePipe,
|
|
13827
13863
|
CountFormatPipe,
|
|
13828
13864
|
DateFormatPipe,
|
|
13829
13865
|
PhonePipe] }); }
|
|
13830
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
13866
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PipesModule, imports: [CommonModule] }); }
|
|
13831
13867
|
}
|
|
13832
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13868
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PipesModule, decorators: [{
|
|
13833
13869
|
type: NgModule,
|
|
13834
13870
|
args: [{
|
|
13835
13871
|
declarations: [
|
|
@@ -13851,13 +13887,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
13851
13887
|
}] });
|
|
13852
13888
|
|
|
13853
13889
|
class TextWithLinkMoreModule {
|
|
13854
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13855
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
13890
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: TextWithLinkMoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
13891
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: TextWithLinkMoreModule, declarations: [TextWithLinkMoreComponent], imports: [CommonModule,
|
|
13856
13892
|
PipesModule], exports: [TextWithLinkMoreComponent] }); }
|
|
13857
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
13893
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: TextWithLinkMoreModule, imports: [CommonModule,
|
|
13858
13894
|
PipesModule] }); }
|
|
13859
13895
|
}
|
|
13860
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13896
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: TextWithLinkMoreModule, decorators: [{
|
|
13861
13897
|
type: NgModule,
|
|
13862
13898
|
args: [{
|
|
13863
13899
|
declarations: [TextWithLinkMoreComponent],
|
|
@@ -14176,10 +14212,10 @@ class HeadersInterceptor {
|
|
|
14176
14212
|
sendForbiddenError() {
|
|
14177
14213
|
this.notificationsFacade.showForbiddenError();
|
|
14178
14214
|
}
|
|
14179
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14180
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
14215
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: HeadersInterceptor, deps: [{ token: AuthenticationService }, { token: RouterFacade }, { token: UsersFacade }, { token: FormErrorsFacade }, { token: FormsFacade }, { token: FilesFacade }, { token: PublicationMessagesFacade }, { token: RequestsFacade }, { token: NotificationsFacade }, { token: StaticDataFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
14216
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: HeadersInterceptor }); }
|
|
14181
14217
|
}
|
|
14182
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14218
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: HeadersInterceptor, decorators: [{
|
|
14183
14219
|
type: Injectable
|
|
14184
14220
|
}], ctorParameters: () => [{ type: AuthenticationService }, { type: RouterFacade }, { type: UsersFacade }, { type: FormErrorsFacade }, { type: FormsFacade }, { type: FilesFacade }, { type: PublicationMessagesFacade }, { type: RequestsFacade }, { type: NotificationsFacade }, { type: StaticDataFacade }] });
|
|
14185
14221
|
|
|
@@ -14199,10 +14235,10 @@ class JwtInterceptor {
|
|
|
14199
14235
|
}
|
|
14200
14236
|
return next.handle(request);
|
|
14201
14237
|
}
|
|
14202
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14203
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
14238
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: JwtInterceptor, deps: [{ token: AuthenticationService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
14239
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: JwtInterceptor }); }
|
|
14204
14240
|
}
|
|
14205
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14241
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: JwtInterceptor, decorators: [{
|
|
14206
14242
|
type: Injectable
|
|
14207
14243
|
}], ctorParameters: () => [{ type: AuthenticationService }] });
|
|
14208
14244
|
|