myrta-ui 17.0.20 → 17.0.22
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/esm2022/lib/components/alert/alert.component.mjs +43 -0
- package/esm2022/lib/components/alert/alert.enum.mjs +15 -0
- package/esm2022/lib/components/alert/alert.module.mjs +19 -0
- package/esm2022/lib/components/badges/badge.enum.mjs +32 -0
- package/esm2022/lib/components/badges/badges.module.mjs +30 -0
- package/esm2022/lib/components/badges/components/badge/badge.component.mjs +61 -0
- package/esm2022/lib/components/badges/components/badge-group/badge-group.component.mjs +11 -0
- package/esm2022/lib/components/breadcrumbs/breadcrumbs.component.mjs +29 -0
- package/esm2022/lib/components/breadcrumbs/breadcrumbs.enum.mjs +6 -0
- package/esm2022/lib/components/breadcrumbs/breadcrumbs.module.mjs +31 -0
- package/esm2022/lib/components/button/button.component.mjs +100 -0
- package/esm2022/lib/components/button/button.enum.mjs +27 -0
- package/esm2022/lib/components/button/button.module.mjs +21 -0
- package/esm2022/lib/components/cdk-tooltip/cdk-tooltip/tooltip-container.component.mjs +29 -0
- package/esm2022/lib/components/cdk-tooltip/cdk-tooltip.directive.mjs +99 -0
- package/esm2022/lib/components/cdk-tooltip/cdk-tooltip.module.mjs +21 -0
- package/esm2022/lib/components/cdk-tooltip/constants/index.mjs +70 -0
- package/esm2022/lib/components/cdk-tooltip/models/tooltip-data.mjs +2 -0
- package/esm2022/lib/components/chars-left/chars-left.component.mjs +24 -0
- package/esm2022/lib/components/chars-left/chars-left.module.mjs +19 -0
- package/esm2022/lib/components/dropdown/directives/hide-after-click.directive.mjs +24 -0
- package/esm2022/lib/components/dropdown/dropdown.component.mjs +107 -0
- package/esm2022/lib/components/dropdown/dropdown.module.mjs +21 -0
- package/esm2022/lib/components/error-message/error-message.component.mjs +32 -0
- package/esm2022/lib/components/error-message/error-message.module.mjs +19 -0
- package/esm2022/lib/components/form/checkbox/checkbox.component.mjs +146 -0
- package/esm2022/lib/components/form/checkbox/checkbox.enum.mjs +2 -0
- package/esm2022/lib/components/form/checkbox/checkbox.module.mjs +22 -0
- package/esm2022/lib/components/form/checkbox-group/checkbox-group.component.mjs +216 -0
- package/esm2022/lib/components/form/checkbox-group/checkbox-group.module.mjs +47 -0
- package/esm2022/lib/components/form/checkbox-group/components/checkbox-group-header/checkbox-group-header.component.mjs +48 -0
- package/esm2022/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.mjs +114 -0
- package/esm2022/lib/components/form/checkbox-group/helpers/change-group-value.mjs +19 -0
- package/esm2022/lib/components/form/checkbox-group/helpers/change-item-value.mjs +15 -0
- package/esm2022/lib/components/form/checkbox-group/helpers/filter-search-group.mjs +27 -0
- package/esm2022/lib/components/form/checkbox-group/helpers/get-checked-items.mjs +20 -0
- package/esm2022/lib/components/form/checkbox-group/helpers/get-inner-list.helper.mjs +46 -0
- package/esm2022/lib/components/form/checkbox-group/helpers/get-item-by-id.mjs +11 -0
- package/esm2022/lib/components/form/checkbox-group/helpers/get-sorted-list.mjs +50 -0
- package/esm2022/lib/components/form/checkbox-group/helpers/inner-list-to-list.helper.mjs +13 -0
- package/esm2022/lib/components/form/checkbox-group/models/checkbox-group.model.mjs +2 -0
- package/esm2022/lib/components/form/editor/config/default-inline-style.mjs +6 -0
- package/esm2022/lib/components/form/editor/config/index.mjs +2 -0
- package/esm2022/lib/components/form/editor/config/popups-toolbar.mjs +9 -0
- package/esm2022/lib/components/form/editor/config/toolbar.mjs +72 -0
- package/esm2022/lib/components/form/editor/editor.component.mjs +281 -0
- package/esm2022/lib/components/form/editor/editor.enum.mjs +7 -0
- package/esm2022/lib/components/form/editor/editor.module.mjs +45 -0
- package/esm2022/lib/components/form/editor/models/toolbar.model.mjs +2 -0
- package/esm2022/lib/components/form/editor/modules/change-icon-module.mjs +92 -0
- package/esm2022/lib/components/form/input-date-time/constants/value-models.mjs +14 -0
- package/esm2022/lib/components/form/input-date-time/enum/timezone.mjs +7 -0
- package/esm2022/lib/components/form/input-date-time/helpers/clean-date.mjs +5 -0
- package/esm2022/lib/components/form/input-date-time/helpers/cursor-position.mjs +23 -0
- package/esm2022/lib/components/form/input-date-time/helpers/formatting-from-models.mjs +10 -0
- package/esm2022/lib/components/form/input-date-time/helpers/formatting-moscow-timezone.mjs +10 -0
- package/esm2022/lib/components/form/input-date-time/helpers/validate-value-models.mjs +60 -0
- package/esm2022/lib/components/form/input-date-time/helpers/value-parser.mjs +39 -0
- package/esm2022/lib/components/form/input-date-time/input-date-time.component.mjs +386 -0
- package/esm2022/lib/components/form/input-date-time/input-date-time.enum.mjs +7 -0
- package/esm2022/lib/components/form/input-date-time/input-date-time.module.mjs +46 -0
- package/esm2022/lib/components/form/input-datepicker/constants/value-models.mjs +15 -0
- package/esm2022/lib/components/form/input-datepicker/helpers/clean-date.mjs +5 -0
- package/esm2022/lib/components/form/input-datepicker/helpers/cursor-position.mjs +23 -0
- package/esm2022/lib/components/form/input-datepicker/helpers/get-date-dayjs-object.mjs +10 -0
- package/esm2022/lib/components/form/input-datepicker/helpers/get-date-object.mjs +10 -0
- package/esm2022/lib/components/form/input-datepicker/helpers/validate-value-models.mjs +74 -0
- package/esm2022/lib/components/form/input-datepicker/helpers/value-parser.mjs +47 -0
- package/esm2022/lib/components/form/input-datepicker/input-datepicker.component.mjs +356 -0
- package/esm2022/lib/components/form/input-datepicker/input-datepicker.enum.mjs +7 -0
- package/esm2022/lib/components/form/input-datepicker/input-datepicker.module.mjs +46 -0
- package/esm2022/lib/components/form/input-file/enums/error-messages.enum.mjs +8 -0
- package/esm2022/lib/components/form/input-file/input-file.component.mjs +366 -0
- package/esm2022/lib/components/form/input-file/input-file.enum.mjs +8 -0
- package/esm2022/lib/components/form/input-file/input-file.module.mjs +26 -0
- package/esm2022/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.mjs +88 -0
- package/esm2022/lib/components/form/input-file-image/input-file-image.component.mjs +350 -0
- package/esm2022/lib/components/form/input-file-image/input-file-image.enum.mjs +10 -0
- package/esm2022/lib/components/form/input-file-image/input-file-image.module.mjs +53 -0
- package/esm2022/lib/components/form/input-number/input-number.component.mjs +267 -0
- package/esm2022/lib/components/form/input-number/input-number.enum.mjs +7 -0
- package/esm2022/lib/components/form/input-number/input-number.module.mjs +55 -0
- package/esm2022/lib/components/form/input-opt/components/input-opt/input-opt.component.mjs +370 -0
- package/esm2022/lib/components/form/input-opt/components/input-opt/input-opt.enum.mjs +8 -0
- package/esm2022/lib/components/form/input-opt/directives/opt-pattern.directive.mjs +43 -0
- package/esm2022/lib/components/form/input-opt/input-opt.module.mjs +38 -0
- package/esm2022/lib/components/form/input-opt/models/input-opt.model.mjs +6 -0
- package/esm2022/lib/components/form/input-opt/services/input-opt.service.mjs +33 -0
- package/esm2022/lib/components/form/input-password/input-password.component.mjs +118 -0
- package/esm2022/lib/components/form/input-password/input-password.enum.mjs +7 -0
- package/esm2022/lib/components/form/input-password/input-password.module.mjs +36 -0
- package/esm2022/lib/components/form/input-phone/data/country-code.mjs +1331 -0
- package/esm2022/lib/components/form/input-phone/directives/native-element-injector.directive.mjs +35 -0
- package/esm2022/lib/components/form/input-phone/enums/country-iso.enum.mjs +247 -0
- package/esm2022/lib/components/form/input-phone/enums/input-phone.enum.mjs +7 -0
- package/esm2022/lib/components/form/input-phone/enums/mask.enum.mjs +139 -0
- package/esm2022/lib/components/form/input-phone/enums/phone-number-format.enum.mjs +6 -0
- package/esm2022/lib/components/form/input-phone/enums/search-country-field.enum.mjs +8 -0
- package/esm2022/lib/components/form/input-phone/input-phone.component.mjs +679 -0
- package/esm2022/lib/components/form/input-phone/input-phone.module.mjs +50 -0
- package/esm2022/lib/components/form/input-phone/input-phone.validator.mjs +61 -0
- package/esm2022/lib/components/form/input-phone/interfaces/change-data.mjs +2 -0
- package/esm2022/lib/components/form/input-phone/models/country.model.mjs +2 -0
- package/esm2022/lib/components/form/input-search/input-search.component.mjs +167 -0
- package/esm2022/lib/components/form/input-search/input-search.enum.mjs +7 -0
- package/esm2022/lib/components/form/input-search/input-search.module.mjs +41 -0
- package/esm2022/lib/components/form/input-select/input-select.component.mjs +253 -0
- package/esm2022/lib/components/form/input-select/input-select.enum.mjs +6 -0
- package/esm2022/lib/components/form/input-select/input-select.module.mjs +45 -0
- package/esm2022/lib/components/form/input-tel/assets/base64.mjs +4 -0
- package/esm2022/lib/components/form/input-tel/data/all-countries.mjs +1323 -0
- package/esm2022/lib/components/form/input-tel/data/country-iso.enum.mjs +247 -0
- package/esm2022/lib/components/form/input-tel/data/phone-number-format.enum.mjs +6 -0
- package/esm2022/lib/components/form/input-tel/data/search-country-field.enum.mjs +8 -0
- package/esm2022/lib/components/form/input-tel/directives/input-tel.directive.mjs +66 -0
- package/esm2022/lib/components/form/input-tel/enums/input-phone.enum.mjs +7 -0
- package/esm2022/lib/components/form/input-tel/input-tel.component.mjs +400 -0
- package/esm2022/lib/components/form/input-tel/input-tel.module.mjs +43 -0
- package/esm2022/lib/components/form/input-tel/models/country.model.mjs +2 -0
- package/esm2022/lib/components/form/input-text/input-text.component.mjs +189 -0
- package/esm2022/lib/components/form/input-text/input-text.enum.mjs +15 -0
- package/esm2022/lib/components/form/input-text/input-text.module.mjs +49 -0
- package/esm2022/lib/components/form/input-textarea/input-textarea.component.mjs +197 -0
- package/esm2022/lib/components/form/input-textarea/input-textarea.enum.mjs +7 -0
- package/esm2022/lib/components/form/input-textarea/input-textarea.module.mjs +49 -0
- package/esm2022/lib/components/form/input-timepicker/constants/value-models.mjs +8 -0
- package/esm2022/lib/components/form/input-timepicker/helpers/clean-date.mjs +5 -0
- package/esm2022/lib/components/form/input-timepicker/helpers/cursor-position.mjs +14 -0
- package/esm2022/lib/components/form/input-timepicker/helpers/get-date-dayjs-object.mjs +5 -0
- package/esm2022/lib/components/form/input-timepicker/helpers/get-date-object.mjs +5 -0
- package/esm2022/lib/components/form/input-timepicker/helpers/validate-value-models.mjs +29 -0
- package/esm2022/lib/components/form/input-timepicker/helpers/value-parser.mjs +18 -0
- package/esm2022/lib/components/form/input-timepicker/input-timepicker.component.mjs +292 -0
- package/esm2022/lib/components/form/input-timepicker/input-timepicker.enum.mjs +7 -0
- package/esm2022/lib/components/form/input-timepicker/input-timepicker.module.mjs +46 -0
- package/esm2022/lib/components/form/json-editor/json-editor.component.mjs +224 -0
- package/esm2022/lib/components/form/json-editor/json-editor.enum.mjs +2 -0
- package/esm2022/lib/components/form/json-editor/json-editor.module.mjs +24 -0
- package/esm2022/lib/components/form/json-editor/utils/jsoneditoroptions.mjs +133 -0
- package/esm2022/lib/components/form/radio/radio.component.mjs +91 -0
- package/esm2022/lib/components/form/radio/radio.enum.mjs +5 -0
- package/esm2022/lib/components/form/radio/radio.module.mjs +20 -0
- package/esm2022/lib/components/form/radio-group/components/radio-group-header/radio-group-header.component.mjs +48 -0
- package/esm2022/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.mjs +72 -0
- package/esm2022/lib/components/form/radio-group/helpers/filter-search-group.mjs +27 -0
- package/esm2022/lib/components/form/radio-group/helpers/get-item-by-id.mjs +11 -0
- package/esm2022/lib/components/form/radio-group/helpers/move-selected-to-first.mjs +27 -0
- package/esm2022/lib/components/form/radio-group/models/radio-group.model.mjs +2 -0
- package/esm2022/lib/components/form/radio-group/radio-group.component.mjs +192 -0
- package/esm2022/lib/components/form/radio-group/radio-group.module.mjs +47 -0
- package/esm2022/lib/components/form/rating/rating.component.mjs +215 -0
- package/esm2022/lib/components/form/rating/rating.enum.mjs +16 -0
- package/esm2022/lib/components/form/rating/rating.module.mjs +25 -0
- package/esm2022/lib/components/form/switch/switch.component.mjs +95 -0
- package/esm2022/lib/components/form/switch/switch.enum.mjs +11 -0
- package/esm2022/lib/components/form/switch/switch.module.mjs +21 -0
- package/esm2022/lib/components/gallery/components/gallery-confirm-modal/gallery-confirm-modal.component.mjs +37 -0
- package/esm2022/lib/components/gallery/components/gallery-item/gallery-item.component.mjs +112 -0
- package/esm2022/lib/components/gallery/constants/custom-buttons-default.mjs +7 -0
- package/esm2022/lib/components/gallery/constants/thumbs-config-default.mjs +5 -0
- package/esm2022/lib/components/gallery/gallery.component.mjs +203 -0
- package/esm2022/lib/components/gallery/gallery.module.mjs +54 -0
- package/esm2022/lib/components/gallery/models/gallery-item.model.mjs +2 -0
- package/esm2022/lib/components/gallery/services/gallery.service.mjs +33 -0
- package/esm2022/lib/components/hint-error-message/hint-error-message.component.mjs +121 -0
- package/esm2022/lib/components/hint-error-message/hint-error-message.module.mjs +19 -0
- package/esm2022/lib/components/icon-button/icon-button.component.mjs +55 -0
- package/esm2022/lib/components/icon-button/icon-button.enum.mjs +17 -0
- package/esm2022/lib/components/icon-button/icon-button.module.mjs +19 -0
- package/esm2022/lib/components/label/label.component.mjs +143 -0
- package/esm2022/lib/components/label/label.module.mjs +25 -0
- package/esm2022/lib/components/link/link.component.mjs +61 -0
- package/esm2022/lib/components/link/link.enum.mjs +20 -0
- package/esm2022/lib/components/link/link.module.mjs +20 -0
- package/esm2022/lib/components/loader/loader.component.mjs +24 -0
- package/esm2022/lib/components/loader/loader.enum.mjs +20 -0
- package/esm2022/lib/components/loader/loader.module.mjs +19 -0
- package/esm2022/lib/components/modal/modal.component.mjs +137 -0
- package/esm2022/lib/components/modal/modal.emun.mjs +21 -0
- package/esm2022/lib/components/modal/modal.module.mjs +20 -0
- package/esm2022/lib/components/pages-nav/pages-nav.component.mjs +31 -0
- package/esm2022/lib/components/pages-nav/pages-nav.enum.mjs +6 -0
- package/esm2022/lib/components/pages-nav/pages-nav.module.mjs +24 -0
- package/esm2022/lib/components/paginator/paginator.component.mjs +140 -0
- package/esm2022/lib/components/paginator/paginator.enum.mjs +6 -0
- package/esm2022/lib/components/paginator/paginator.module.mjs +31 -0
- package/esm2022/lib/components/pdf-viewer/pdf-viewer.component.mjs +268 -0
- package/esm2022/lib/components/pdf-viewer/pdf-viewer.module.mjs +59 -0
- package/esm2022/lib/components/progress/progress.component.mjs +24 -0
- package/esm2022/lib/components/progress/progress.enum.mjs +8 -0
- package/esm2022/lib/components/progress/progress.module.mjs +19 -0
- package/esm2022/lib/components/save-state/components/save-state-checkbox/save-state-checkbox.component.mjs +16 -0
- package/esm2022/lib/components/save-state/components/save-state-checkbox-group/save-state-checkbox-group.component.mjs +16 -0
- package/esm2022/lib/components/save-state/components/save-state-editor/save-state-editor.component.mjs +16 -0
- package/esm2022/lib/components/save-state/components/save-state-input/save-state-input.component.mjs +16 -0
- package/esm2022/lib/components/save-state/components/save-state-switch/save-state-switch.component.mjs +16 -0
- package/esm2022/lib/components/save-state/save-state.component.mjs +40 -0
- package/esm2022/lib/components/save-state/save-state.enum.mjs +2 -0
- package/esm2022/lib/components/save-state/save-state.module.mjs +37 -0
- package/esm2022/lib/components/stepper/stepper.component.mjs +52 -0
- package/esm2022/lib/components/stepper/stepper.enum.mjs +6 -0
- package/esm2022/lib/components/stepper/stepper.module.mjs +20 -0
- package/esm2022/lib/components/table/components/column/column.component.mjs +40 -0
- package/esm2022/lib/components/table/default/default-pager-settings.mjs +7 -0
- package/esm2022/lib/components/table/models/data-state-change.event.mjs +2 -0
- package/esm2022/lib/components/table/models/index.mjs +4 -0
- package/esm2022/lib/components/table/models/pager-settings.mjs +2 -0
- package/esm2022/lib/components/table/table.component.mjs +274 -0
- package/esm2022/lib/components/table/table.enum.mjs +8 -0
- package/esm2022/lib/components/table/table.module.mjs +50 -0
- package/esm2022/lib/components/tabs/tab/tab.component.mjs +33 -0
- package/esm2022/lib/components/tabs/tabs-group/tabs-group.component.mjs +27 -0
- package/esm2022/lib/components/tabs/tabs.enum.mjs +14 -0
- package/esm2022/lib/components/tabs/tabs.module.mjs +20 -0
- package/esm2022/lib/components/tooltip/services/tooltip.service.mjs +65 -0
- package/esm2022/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.mjs +36 -0
- package/esm2022/lib/components/tooltip/tooltip-trigger/tooltip-trigger.enum.mjs +11 -0
- package/esm2022/lib/components/tooltip/tooltip.component.mjs +59 -0
- package/esm2022/lib/components/tooltip/tooltip.enum.mjs +6 -0
- package/esm2022/lib/components/tooltip/tooltip.module.mjs +21 -0
- package/esm2022/lib/components/truncate-text/directives/truncate-text.directive.mjs +149 -0
- package/esm2022/lib/components/truncate-text/truncate-text.component.mjs +30 -0
- package/esm2022/lib/components/truncate-text/truncate-text.enum.mjs +2 -0
- package/esm2022/lib/components/truncate-text/truncate-text.module.mjs +21 -0
- package/esm2022/lib/components/warning-message/warning-message.component.mjs +29 -0
- package/esm2022/lib/components/warning-message/warning-message.module.mjs +19 -0
- package/esm2022/lib/components/wrappers/content-wrapper/content-wrapper.component.mjs +25 -0
- package/esm2022/lib/components/wrappers/content-wrapper/content-wrapper.enum.mjs +6 -0
- package/esm2022/lib/components/wrappers/content-wrapper/content-wrapper.module.mjs +19 -0
- package/esm2022/lib/components/wrappers/controls-wrapper/components/controls-item/controls-item.component.mjs +15 -0
- package/esm2022/lib/components/wrappers/controls-wrapper/controls-wrapper.component.mjs +23 -0
- package/esm2022/lib/components/wrappers/controls-wrapper/controls-wrapper.enum.mjs +7 -0
- package/esm2022/lib/components/wrappers/controls-wrapper/controls-wrapper.module.mjs +20 -0
- package/esm2022/lib/components/wrappers/widget-wrapper/widget-wrapper.component.mjs +99 -0
- package/esm2022/lib/components/wrappers/widget-wrapper/widget-wrapper.enum.mjs +17 -0
- package/esm2022/lib/components/wrappers/widget-wrapper/widget-wrapper.module.mjs +24 -0
- package/esm2022/lib/directives/autosize/autosize.directive.mjs +57 -0
- package/esm2022/lib/directives/autosize/autosize.module.mjs +24 -0
- package/esm2022/lib/directives/truncate/truncate.directive.mjs +34 -0
- package/esm2022/lib/directives/truncate/truncate.module.mjs +18 -0
- package/esm2022/lib/enums/typed.input.state.mjs +8 -0
- package/esm2022/lib/helpers/extension/input-file.extension.mjs +39 -0
- package/esm2022/lib/helpers/formatting-date.mjs +51 -0
- package/esm2022/lib/helpers/formatting-dates-from-array.mjs +18 -0
- package/esm2022/lib/helpers/formatting-iso-to-string.mjs +13 -0
- package/esm2022/lib/helpers/index.mjs +8 -0
- package/esm2022/lib/helpers/number-format.mjs +9 -0
- package/esm2022/lib/helpers/string-hash-code.mjs +17 -0
- package/esm2022/lib/helpers/word-form.mjs +11 -0
- package/esm2022/lib/models/index.mjs +3 -0
- package/esm2022/lib/models/input-file/input-file.model.mjs +2 -0
- package/esm2022/lib/models/typed-input-model.mjs +2 -0
- package/esm2022/lib/pipes/currency/currency.module.mjs +20 -0
- package/esm2022/lib/pipes/currency/currency.pipe.mjs +22 -0
- package/esm2022/lib/pipes/date/date-format.module.mjs +19 -0
- package/esm2022/lib/pipes/date/date-format.pipe.mjs +21 -0
- package/esm2022/lib/pipes/date/date-time-format.pipe.mjs +21 -0
- package/esm2022/lib/pipes/date/enums/timezone.mjs +10 -0
- package/esm2022/lib/pipes/date/helpers/change-timezone.mjs +23 -0
- package/esm2022/lib/pipes/phone/phone-format.module.mjs +18 -0
- package/esm2022/lib/pipes/phone/phone-format.pipe.mjs +23 -0
- package/esm2022/lib/pipes/safe/safe.module.mjs +20 -0
- package/esm2022/lib/pipes/safe/safe.pipe.mjs +21 -0
- package/esm2022/lib/pipes/truncate/truncate.module.mjs +20 -0
- package/esm2022/lib/pipes/truncate/truncate.pipe.mjs +23 -0
- package/esm2022/lib/services/file-upload/file-upload.service.mjs +27 -0
- package/esm2022/lib/services/index.mjs +16 -0
- package/esm2022/lib/services/modal-service/components/alert-modal/alert-modal.component.mjs +44 -0
- package/esm2022/lib/services/modal-service/components/confirm-modal/confirm-modal.component.mjs +48 -0
- package/esm2022/lib/services/modal-service/helpers/index.mjs +5 -0
- package/esm2022/lib/services/modal-service/helpers/modal-default-config.mjs +14 -0
- package/esm2022/lib/services/modal-service/helpers/modal-ref.mjs +29 -0
- package/esm2022/lib/services/modal-service/helpers/modal-tokens.mjs +4 -0
- package/esm2022/lib/services/modal-service/helpers/modal.component.mjs +4 -0
- package/esm2022/lib/services/modal-service/modal-service.module.mjs +25 -0
- package/esm2022/lib/services/modal-service/modal-service.service.mjs +84 -0
- package/esm2022/lib/services/modal-service/models/modal-config.model.mjs +2 -0
- package/esm2022/lib/services/mrx-autosave/mrx-autosave.service.mjs +43 -0
- package/esm2022/lib/services/mrx-form-validator/constants/invalid-messages.mjs +10 -0
- package/esm2022/lib/services/mrx-form-validator/helpers/get-error-message.helper.mjs +10 -0
- package/esm2022/lib/services/mrx-form-validator/helpers/get-sorting-validations.helper.mjs +29 -0
- package/esm2022/lib/services/mrx-form-validator/models/index.mjs +4 -0
- package/esm2022/lib/services/mrx-form-validator/models/validations-options.model.mjs +2 -0
- package/esm2022/lib/services/mrx-form-validator/models/validations-settings.model.mjs +2 -0
- package/esm2022/lib/services/mrx-form-validator/models/validations-types.model.mjs +22 -0
- package/esm2022/lib/services/mrx-form-validator/mrx-form-validator.mjs +197 -0
- package/esm2022/lib/services/mrx-form-validator/validations/callback.validation.mjs +15 -0
- package/esm2022/lib/services/mrx-form-validator/validations/email.validation.mjs +11 -0
- package/esm2022/lib/services/mrx-form-validator/validations/max-length.validation.mjs +14 -0
- package/esm2022/lib/services/mrx-form-validator/validations/max-value.validation.mjs +10 -0
- package/esm2022/lib/services/mrx-form-validator/validations/min-length.validation.mjs +15 -0
- package/esm2022/lib/services/mrx-form-validator/validations/min-value.validation.mjs +10 -0
- package/esm2022/lib/services/mrx-form-validator/validations/pattern.validation.mjs +11 -0
- package/esm2022/lib/services/mrx-form-validator/validations/required.validation.mjs +22 -0
- package/esm2022/lib/services/save-store/constants/constants.mjs +2 -0
- package/esm2022/lib/services/save-store/models/save-store.model.mjs +2 -0
- package/esm2022/lib/services/save-store/save-store.module.mjs +29 -0
- package/esm2022/lib/services/save-store/store/actions.mjs +23 -0
- package/esm2022/lib/services/save-store/store/effect.mjs +61 -0
- package/esm2022/lib/services/save-store/store/reducer.mjs +96 -0
- package/esm2022/lib/services/save-store/store/selectors.mjs +5 -0
- package/esm2022/lib/services/save-store/store/state.mjs +4 -0
- package/esm2022/lib/services/toaster-service/components/toaster/toaster.component.mjs +29 -0
- package/esm2022/lib/services/toaster-service/config/index.mjs +11 -0
- package/esm2022/lib/services/toaster-service/models/toaster.model.mjs +15 -0
- package/esm2022/lib/services/toaster-service/toaster-service.module.mjs +36 -0
- package/esm2022/lib/services/toaster-service/toaster-service.service.mjs +53 -0
- package/esm2022/myrta-ui.mjs +5 -0
- package/esm2022/public-api.mjs +183 -0
- package/fesm2022/myrta-ui.mjs +16509 -0
- package/fesm2022/myrta-ui.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/components/alert/alert.component.d.ts +17 -0
- package/lib/components/alert/alert.enum.d.ts +13 -0
- package/lib/components/alert/alert.module.d.ts +8 -0
- package/lib/components/badges/badge.enum.d.ts +38 -0
- package/lib/components/badges/badges.module.d.ts +9 -0
- package/lib/components/badges/components/badge/badge.component.d.ts +21 -0
- package/lib/components/badges/components/badge-group/badge-group.component.d.ts +5 -0
- package/lib/components/breadcrumbs/breadcrumbs.component.d.ts +11 -0
- package/lib/components/breadcrumbs/breadcrumbs.enum.d.ts +16 -0
- package/lib/components/breadcrumbs/breadcrumbs.module.d.ts +9 -0
- package/lib/components/button/button.component.d.ts +31 -0
- package/lib/components/button/button.enum.d.ts +27 -0
- package/lib/components/button/button.module.d.ts +10 -0
- package/lib/components/cdk-tooltip/cdk-tooltip/tooltip-container.component.d.ts +13 -0
- package/lib/components/cdk-tooltip/cdk-tooltip.directive.d.ts +24 -0
- package/lib/components/cdk-tooltip/cdk-tooltip.module.d.ts +10 -0
- package/lib/components/cdk-tooltip/constants/index.d.ts +7 -0
- package/lib/components/cdk-tooltip/models/tooltip-data.d.ts +6 -0
- package/lib/components/chars-left/chars-left.component.d.ts +9 -0
- package/lib/components/chars-left/chars-left.module.d.ts +8 -0
- package/lib/components/dropdown/directives/hide-after-click.directive.d.ts +9 -0
- package/lib/components/dropdown/dropdown.component.d.ts +26 -0
- package/lib/components/dropdown/dropdown.module.d.ts +10 -0
- package/lib/components/error-message/error-message.component.d.ts +10 -0
- package/lib/components/error-message/error-message.module.d.ts +8 -0
- package/lib/components/form/checkbox/checkbox.component.d.ts +46 -0
- package/lib/components/form/checkbox/checkbox.enum.d.ts +10 -0
- package/lib/components/form/checkbox/checkbox.module.d.ts +11 -0
- package/lib/components/form/checkbox-group/checkbox-group.component.d.ts +63 -0
- package/lib/components/form/checkbox-group/checkbox-group.module.d.ts +16 -0
- package/lib/components/form/checkbox-group/components/checkbox-group-header/checkbox-group-header.component.d.ts +19 -0
- package/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.d.ts +33 -0
- package/lib/components/form/checkbox-group/helpers/change-group-value.d.ts +3 -0
- package/lib/components/form/checkbox-group/helpers/change-item-value.d.ts +3 -0
- package/lib/components/form/checkbox-group/helpers/filter-search-group.d.ts +2 -0
- package/lib/components/form/checkbox-group/helpers/get-checked-items.d.ts +2 -0
- package/lib/components/form/checkbox-group/helpers/get-inner-list.helper.d.ts +2 -0
- package/lib/components/form/checkbox-group/helpers/get-item-by-id.d.ts +2 -0
- package/lib/components/form/checkbox-group/helpers/get-sorted-list.d.ts +2 -0
- package/lib/components/form/checkbox-group/helpers/inner-list-to-list.helper.d.ts +2 -0
- package/lib/components/form/checkbox-group/models/checkbox-group.model.d.ts +26 -0
- package/lib/components/form/editor/config/default-inline-style.d.ts +11 -0
- package/lib/components/form/editor/config/index.d.ts +1 -0
- package/lib/components/form/editor/config/popups-toolbar.d.ts +15 -0
- package/lib/components/form/editor/config/toolbar.d.ts +2 -0
- package/lib/components/form/editor/editor.component.d.ts +60 -0
- package/lib/components/form/editor/editor.enum.d.ts +10 -0
- package/lib/components/form/editor/editor.module.d.ts +14 -0
- package/lib/components/form/editor/models/toolbar.model.d.ts +6 -0
- package/lib/components/form/editor/modules/change-icon-module.d.ts +1 -0
- package/lib/components/form/input-date-time/constants/value-models.d.ts +3 -0
- package/lib/components/form/input-date-time/enum/timezone.d.ts +6 -0
- package/lib/components/form/input-date-time/helpers/clean-date.d.ts +1 -0
- package/lib/components/form/input-date-time/helpers/cursor-position.d.ts +1 -0
- package/lib/components/form/input-date-time/helpers/formatting-from-models.d.ts +3 -0
- package/lib/components/form/input-date-time/helpers/formatting-moscow-timezone.d.ts +2 -0
- package/lib/components/form/input-date-time/helpers/validate-value-models.d.ts +19 -0
- package/lib/components/form/input-date-time/helpers/value-parser.d.ts +4 -0
- package/lib/components/form/input-date-time/input-date-time.component.d.ts +72 -0
- package/lib/components/form/input-date-time/input-date-time.enum.d.ts +21 -0
- package/lib/components/form/input-date-time/input-date-time.module.d.ts +13 -0
- package/lib/components/form/input-datepicker/constants/value-models.d.ts +3 -0
- package/lib/components/form/input-datepicker/helpers/clean-date.d.ts +1 -0
- package/lib/components/form/input-datepicker/helpers/cursor-position.d.ts +1 -0
- package/lib/components/form/input-datepicker/helpers/get-date-dayjs-object.d.ts +3 -0
- package/lib/components/form/input-datepicker/helpers/get-date-object.d.ts +2 -0
- package/lib/components/form/input-datepicker/helpers/validate-value-models.d.ts +20 -0
- package/lib/components/form/input-datepicker/helpers/value-parser.d.ts +3 -0
- package/lib/components/form/input-datepicker/input-datepicker.component.d.ts +69 -0
- package/lib/components/form/input-datepicker/input-datepicker.enum.d.ts +12 -0
- package/lib/components/form/input-datepicker/input-datepicker.module.d.ts +13 -0
- package/lib/components/form/input-file/enums/error-messages.enum.d.ts +6 -0
- package/lib/components/form/input-file/input-file.component.d.ts +74 -0
- package/lib/components/form/input-file/input-file.enum.d.ts +7 -0
- package/lib/components/form/input-file/input-file.module.d.ts +13 -0
- package/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.d.ts +43 -0
- package/lib/components/form/input-file-image/input-file-image.component.d.ts +57 -0
- package/lib/components/form/input-file-image/input-file-image.enum.d.ts +8 -0
- package/lib/components/form/input-file-image/input-file-image.module.d.ts +15 -0
- package/lib/components/form/input-number/input-number.component.d.ts +64 -0
- package/lib/components/form/input-number/input-number.enum.d.ts +12 -0
- package/lib/components/form/input-number/input-number.module.d.ts +13 -0
- package/lib/components/form/input-opt/components/input-opt/input-opt.component.d.ts +77 -0
- package/lib/components/form/input-opt/components/input-opt/input-opt.enum.d.ts +7 -0
- package/lib/components/form/input-opt/directives/opt-pattern.directive.d.ts +8 -0
- package/lib/components/form/input-opt/input-opt.module.d.ts +11 -0
- package/lib/components/form/input-opt/models/input-opt.model.d.ts +26 -0
- package/lib/components/form/input-opt/services/input-opt.service.d.ts +11 -0
- package/lib/components/form/input-password/input-password.component.d.ts +38 -0
- package/lib/components/form/input-password/input-password.enum.d.ts +7 -0
- package/lib/components/form/input-password/input-password.module.d.ts +11 -0
- package/lib/components/form/input-phone/data/country-code.d.ts +6 -0
- package/lib/components/form/input-phone/directives/native-element-injector.directive.d.ts +11 -0
- package/lib/components/form/input-phone/enums/country-iso.enum.d.ts +245 -0
- package/lib/components/form/input-phone/enums/input-phone.enum.d.ts +11 -0
- package/lib/components/form/input-phone/enums/mask.enum.d.ts +8 -0
- package/lib/components/form/input-phone/enums/phone-number-format.enum.d.ts +4 -0
- package/lib/components/form/input-phone/enums/search-country-field.enum.d.ts +6 -0
- package/lib/components/form/input-phone/input-phone.component.d.ts +132 -0
- package/lib/components/form/input-phone/input-phone.module.d.ts +14 -0
- package/lib/components/form/input-phone/input-phone.validator.d.ts +5 -0
- package/lib/components/form/input-phone/interfaces/change-data.d.ts +9 -0
- package/lib/components/form/input-phone/models/country.model.d.ts +13 -0
- package/lib/components/form/input-search/input-search.component.d.ts +48 -0
- package/lib/components/form/input-search/input-search.enum.d.ts +6 -0
- package/lib/components/form/input-search/input-search.module.d.ts +12 -0
- package/lib/components/form/input-select/input-select.component.d.ts +95 -0
- package/lib/components/form/input-select/input-select.enum.d.ts +10 -0
- package/lib/components/form/input-select/input-select.module.d.ts +14 -0
- package/lib/components/form/input-tel/assets/base64.d.ts +3 -0
- package/lib/components/form/input-tel/data/all-countries.d.ts +1 -0
- package/lib/components/form/input-tel/data/country-iso.enum.d.ts +245 -0
- package/lib/components/form/input-tel/data/phone-number-format.enum.d.ts +5 -0
- package/lib/components/form/input-tel/data/search-country-field.enum.d.ts +6 -0
- package/lib/components/form/input-tel/directives/input-tel.directive.d.ts +21 -0
- package/lib/components/form/input-tel/enums/input-phone.enum.d.ts +11 -0
- package/lib/components/form/input-tel/input-tel.component.d.ts +89 -0
- package/lib/components/form/input-tel/input-tel.module.d.ts +13 -0
- package/lib/components/form/input-tel/models/country.model.d.ts +18 -0
- package/lib/components/form/input-text/input-text.component.d.ts +54 -0
- package/lib/components/form/input-text/input-text.enum.d.ts +19 -0
- package/lib/components/form/input-text/input-text.module.d.ts +14 -0
- package/lib/components/form/input-textarea/input-textarea.component.d.ts +54 -0
- package/lib/components/form/input-textarea/input-textarea.enum.d.ts +11 -0
- package/lib/components/form/input-textarea/input-textarea.module.d.ts +14 -0
- package/lib/components/form/input-timepicker/constants/value-models.d.ts +2 -0
- package/lib/components/form/input-timepicker/helpers/clean-date.d.ts +1 -0
- package/lib/components/form/input-timepicker/helpers/cursor-position.d.ts +1 -0
- package/lib/components/form/input-timepicker/helpers/get-date-dayjs-object.d.ts +3 -0
- package/lib/components/form/input-timepicker/helpers/get-date-object.d.ts +2 -0
- package/lib/components/form/input-timepicker/helpers/validate-value-models.d.ts +10 -0
- package/lib/components/form/input-timepicker/helpers/value-parser.d.ts +2 -0
- package/lib/components/form/input-timepicker/input-timepicker.component.d.ts +60 -0
- package/lib/components/form/input-timepicker/input-timepicker.enum.d.ts +11 -0
- package/lib/components/form/input-timepicker/input-timepicker.module.d.ts +13 -0
- package/lib/components/form/json-editor/json-editor.component.d.ts +58 -0
- package/lib/components/form/json-editor/json-editor.enum.d.ts +5 -0
- package/lib/components/form/json-editor/json-editor.module.d.ts +8 -0
- package/lib/components/form/json-editor/utils/jsoneditoroptions.d.ts +128 -0
- package/lib/components/form/radio/radio.component.d.ts +29 -0
- package/lib/components/form/radio/radio.enum.d.ts +4 -0
- package/lib/components/form/radio/radio.module.d.ts +9 -0
- package/lib/components/form/radio-group/components/radio-group-header/radio-group-header.component.d.ts +20 -0
- package/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.d.ts +28 -0
- package/lib/components/form/radio-group/helpers/filter-search-group.d.ts +2 -0
- package/lib/components/form/radio-group/helpers/get-item-by-id.d.ts +2 -0
- package/lib/components/form/radio-group/helpers/move-selected-to-first.d.ts +2 -0
- package/lib/components/form/radio-group/models/radio-group.model.d.ts +12 -0
- package/lib/components/form/radio-group/radio-group.component.d.ts +63 -0
- package/lib/components/form/radio-group/radio-group.module.d.ts +16 -0
- package/lib/components/form/rating/rating.component.d.ts +51 -0
- package/lib/components/form/rating/rating.enum.d.ts +27 -0
- package/lib/components/form/rating/rating.module.d.ts +9 -0
- package/lib/components/form/switch/switch.component.d.ts +32 -0
- package/lib/components/form/switch/switch.enum.d.ts +15 -0
- package/lib/components/form/switch/switch.module.d.ts +10 -0
- package/lib/components/gallery/components/gallery-confirm-modal/gallery-confirm-modal.component.d.ts +20 -0
- package/lib/components/gallery/components/gallery-item/gallery-item.component.d.ts +38 -0
- package/lib/components/gallery/constants/custom-buttons-default.d.ts +3 -0
- package/lib/components/gallery/constants/thumbs-config-default.d.ts +2 -0
- package/lib/components/gallery/gallery.component.d.ts +38 -0
- package/lib/components/gallery/gallery.module.d.ts +16 -0
- package/lib/components/gallery/models/gallery-item.model.d.ts +24 -0
- package/lib/components/gallery/services/gallery.service.d.ts +14 -0
- package/lib/components/hint-error-message/hint-error-message.component.d.ts +21 -0
- package/lib/components/hint-error-message/hint-error-message.module.d.ts +8 -0
- package/lib/components/icon-button/icon-button.component.d.ts +22 -0
- package/lib/components/icon-button/icon-button.enum.d.ts +16 -0
- package/lib/components/icon-button/icon-button.module.d.ts +9 -0
- package/lib/components/label/label.component.d.ts +44 -0
- package/lib/components/label/label.module.d.ts +14 -0
- package/lib/components/link/link.component.d.ts +25 -0
- package/lib/components/link/link.enum.d.ts +19 -0
- package/lib/components/link/link.module.d.ts +9 -0
- package/lib/components/loader/loader.component.d.ts +10 -0
- package/lib/components/loader/loader.enum.d.ts +19 -0
- package/lib/components/loader/loader.module.d.ts +8 -0
- package/lib/components/modal/modal.component.d.ts +36 -0
- package/lib/components/modal/modal.emun.d.ts +20 -0
- package/lib/components/modal/modal.module.d.ts +9 -0
- package/lib/components/pages-nav/pages-nav.component.d.ts +12 -0
- package/lib/components/pages-nav/pages-nav.enum.d.ts +5 -0
- package/lib/components/pages-nav/pages-nav.module.d.ts +8 -0
- package/lib/components/paginator/paginator.component.d.ts +29 -0
- package/lib/components/paginator/paginator.enum.d.ts +10 -0
- package/lib/components/paginator/paginator.module.d.ts +10 -0
- package/lib/components/pdf-viewer/pdf-viewer.component.d.ts +70 -0
- package/lib/components/pdf-viewer/pdf-viewer.module.d.ts +16 -0
- package/lib/components/progress/progress.component.d.ts +10 -0
- package/lib/components/progress/progress.enum.d.ts +7 -0
- package/lib/components/progress/progress.module.d.ts +8 -0
- package/lib/components/save-state/components/save-state-checkbox/save-state-checkbox.component.d.ts +8 -0
- package/lib/components/save-state/components/save-state-checkbox-group/save-state-checkbox-group.component.d.ts +8 -0
- package/lib/components/save-state/components/save-state-editor/save-state-editor.component.d.ts +8 -0
- package/lib/components/save-state/components/save-state-input/save-state-input.component.d.ts +8 -0
- package/lib/components/save-state/components/save-state-switch/save-state-switch.component.d.ts +8 -0
- package/lib/components/save-state/save-state.component.d.ts +13 -0
- package/lib/components/save-state/save-state.enum.d.ts +1 -0
- package/lib/components/save-state/save-state.module.d.ts +13 -0
- package/lib/components/stepper/stepper.component.d.ts +17 -0
- package/lib/components/stepper/stepper.enum.d.ts +5 -0
- package/lib/components/stepper/stepper.module.d.ts +9 -0
- package/lib/components/table/components/column/column.component.d.ts +14 -0
- package/lib/components/table/default/default-pager-settings.d.ts +2 -0
- package/lib/components/table/models/data-state-change.event.d.ts +15 -0
- package/lib/components/table/models/index.d.ts +3 -0
- package/lib/components/table/models/pager-settings.d.ts +22 -0
- package/lib/components/table/table.component.d.ts +55 -0
- package/lib/components/table/table.enum.d.ts +32 -0
- package/lib/components/table/table.module.d.ts +14 -0
- package/lib/components/tabs/tab/tab.component.d.ts +13 -0
- package/lib/components/tabs/tabs-group/tabs-group.component.d.ts +11 -0
- package/lib/components/tabs/tabs.enum.d.ts +11 -0
- package/lib/components/tabs/tabs.module.d.ts +9 -0
- package/lib/components/tooltip/services/tooltip.service.d.ts +18 -0
- package/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.d.ts +15 -0
- package/lib/components/tooltip/tooltip-trigger/tooltip-trigger.enum.d.ts +10 -0
- package/lib/components/tooltip/tooltip.component.d.ts +18 -0
- package/lib/components/tooltip/tooltip.enum.d.ts +4 -0
- package/lib/components/tooltip/tooltip.module.d.ts +10 -0
- package/lib/components/truncate-text/directives/truncate-text.directive.d.ts +37 -0
- package/lib/components/truncate-text/truncate-text.component.d.ts +12 -0
- package/lib/components/truncate-text/truncate-text.enum.d.ts +2 -0
- package/lib/components/truncate-text/truncate-text.module.d.ts +10 -0
- package/lib/components/warning-message/warning-message.component.d.ts +9 -0
- package/lib/components/warning-message/warning-message.module.d.ts +8 -0
- package/lib/components/wrappers/content-wrapper/content-wrapper.component.d.ts +10 -0
- package/lib/components/wrappers/content-wrapper/content-wrapper.enum.d.ts +5 -0
- package/lib/components/wrappers/content-wrapper/content-wrapper.module.d.ts +8 -0
- package/lib/components/wrappers/controls-wrapper/components/controls-item/controls-item.component.d.ts +6 -0
- package/lib/components/wrappers/controls-wrapper/controls-wrapper.component.d.ts +10 -0
- package/lib/components/wrappers/controls-wrapper/controls-wrapper.enum.d.ts +6 -0
- package/lib/components/wrappers/controls-wrapper/controls-wrapper.module.d.ts +9 -0
- package/lib/components/wrappers/widget-wrapper/widget-wrapper.component.d.ts +26 -0
- package/lib/components/wrappers/widget-wrapper/widget-wrapper.enum.d.ts +15 -0
- package/lib/components/wrappers/widget-wrapper/widget-wrapper.module.d.ts +8 -0
- package/lib/directives/autosize/autosize.directive.d.ts +16 -0
- package/lib/directives/autosize/autosize.module.d.ts +8 -0
- package/lib/directives/truncate/truncate.directive.d.ts +12 -0
- package/lib/directives/truncate/truncate.module.d.ts +8 -0
- package/lib/enums/typed.input.state.d.ts +6 -0
- package/lib/helpers/extension/input-file.extension.d.ts +4 -0
- package/lib/helpers/formatting-date.d.ts +9 -0
- package/lib/helpers/formatting-dates-from-array.d.ts +2 -0
- package/lib/helpers/formatting-iso-to-string.d.ts +2 -0
- package/lib/helpers/index.d.ts +7 -0
- package/lib/helpers/number-format.d.ts +6 -0
- package/lib/helpers/string-hash-code.d.ts +2 -0
- package/lib/helpers/word-form.d.ts +7 -0
- package/lib/models/index.d.ts +2 -0
- package/lib/models/input-file/input-file.model.d.ts +23 -0
- package/lib/models/typed-input-model.d.ts +16 -0
- package/lib/pipes/currency/currency.module.d.ts +8 -0
- package/lib/pipes/currency/currency.pipe.d.ts +7 -0
- package/lib/pipes/date/date-format.module.d.ts +9 -0
- package/lib/pipes/date/date-format.pipe.d.ts +9 -0
- package/lib/pipes/date/date-time-format.pipe.d.ts +9 -0
- package/lib/pipes/date/enums/timezone.d.ts +8 -0
- package/lib/pipes/date/helpers/change-timezone.d.ts +2 -0
- package/lib/pipes/phone/phone-format.module.d.ts +8 -0
- package/lib/pipes/phone/phone-format.pipe.d.ts +8 -0
- package/lib/pipes/safe/safe.module.d.ts +8 -0
- package/lib/pipes/safe/safe.pipe.d.ts +10 -0
- package/lib/pipes/truncate/truncate.module.d.ts +8 -0
- package/lib/pipes/truncate/truncate.pipe.d.ts +7 -0
- package/lib/services/file-upload/file-upload.service.d.ts +12 -0
- package/lib/services/index.d.ts +15 -0
- package/lib/services/modal-service/components/alert-modal/alert-modal.component.d.ts +19 -0
- package/lib/services/modal-service/components/confirm-modal/confirm-modal.component.d.ts +20 -0
- package/lib/services/modal-service/helpers/index.d.ts +4 -0
- package/lib/services/modal-service/helpers/modal-default-config.d.ts +3 -0
- package/lib/services/modal-service/helpers/modal-ref.d.ts +11 -0
- package/lib/services/modal-service/helpers/modal-tokens.d.ts +3 -0
- package/lib/services/modal-service/helpers/modal.component.d.ts +3 -0
- package/lib/services/modal-service/modal-service.module.d.ts +9 -0
- package/lib/services/modal-service/modal-service.service.d.ts +20 -0
- package/lib/services/modal-service/models/modal-config.model.d.ts +14 -0
- package/lib/services/mrx-autosave/mrx-autosave.service.d.ts +19 -0
- package/lib/services/mrx-form-validator/constants/invalid-messages.d.ts +9 -0
- package/lib/services/mrx-form-validator/helpers/get-error-message.helper.d.ts +3 -0
- package/lib/services/mrx-form-validator/helpers/get-sorting-validations.helper.d.ts +2 -0
- package/lib/services/mrx-form-validator/models/index.d.ts +3 -0
- package/lib/services/mrx-form-validator/models/validations-options.model.d.ts +31 -0
- package/lib/services/mrx-form-validator/models/validations-settings.model.d.ts +7 -0
- package/lib/services/mrx-form-validator/models/validations-types.model.d.ts +19 -0
- package/lib/services/mrx-form-validator/mrx-form-validator.d.ts +24 -0
- package/lib/services/mrx-form-validator/validations/callback.validation.d.ts +5 -0
- package/lib/services/mrx-form-validator/validations/email.validation.d.ts +5 -0
- package/lib/services/mrx-form-validator/validations/max-length.validation.d.ts +5 -0
- package/lib/services/mrx-form-validator/validations/max-value.validation.d.ts +5 -0
- package/lib/services/mrx-form-validator/validations/min-length.validation.d.ts +5 -0
- package/lib/services/mrx-form-validator/validations/min-value.validation.d.ts +5 -0
- package/lib/services/mrx-form-validator/validations/pattern.validation.d.ts +5 -0
- package/lib/services/mrx-form-validator/validations/required.validation.d.ts +5 -0
- package/lib/services/save-store/constants/constants.d.ts +1 -0
- package/lib/services/save-store/models/save-store.model.d.ts +4 -0
- package/lib/services/save-store/save-store.module.d.ts +9 -0
- package/lib/services/save-store/store/actions.d.ts +21 -0
- package/lib/services/save-store/store/effect.d.ts +10 -0
- package/lib/services/save-store/store/reducer.d.ts +3 -0
- package/lib/services/save-store/store/selectors.d.ts +3 -0
- package/lib/services/save-store/store/state.d.ts +11 -0
- package/lib/services/toaster-service/components/toaster/toaster.component.d.ts +12 -0
- package/lib/services/toaster-service/config/index.d.ts +2 -0
- package/lib/services/toaster-service/models/toaster.model.d.ts +12 -0
- package/lib/services/toaster-service/toaster-service.module.d.ts +10 -0
- package/lib/services/toaster-service/toaster-service.service.d.ts +15 -0
- package/package.json +61 -47
- package/public-api.d.ts +170 -0
- package/.browserslistrc +0 -16
- package/karma.conf.js +0 -44
- package/ng-package.json +0 -28
- package/src/lib/components/alert/alert.component.html +0 -17
- package/src/lib/components/alert/alert.component.less +0 -2
- package/src/lib/components/alert/alert.component.ts +0 -30
- package/src/lib/components/alert/alert.enum.ts +0 -15
- package/src/lib/components/alert/alert.module.ts +0 -11
- package/src/lib/components/alert/assets/alert-colors.less +0 -29
- package/src/lib/components/alert/assets/alert.less +0 -32
- package/src/lib/components/badges/badge.enum.ts +0 -45
- package/src/lib/components/badges/badges.module.ts +0 -21
- package/src/lib/components/badges/components/badge/assets/badge-colors.less +0 -62
- package/src/lib/components/badges/components/badge/assets/badge-tag.less +0 -12
- package/src/lib/components/badges/components/badge/assets/badge-types.less +0 -26
- package/src/lib/components/badges/components/badge/assets/badge.less +0 -7
- package/src/lib/components/badges/components/badge/badge.component.html +0 -28
- package/src/lib/components/badges/components/badge/badge.component.less +0 -4
- package/src/lib/components/badges/components/badge/badge.component.ts +0 -55
- package/src/lib/components/badges/components/badge-group/badge-group.component.html +0 -3
- package/src/lib/components/badges/components/badge-group/badge-group.component.less +0 -5
- package/src/lib/components/badges/components/badge-group/badge-group.component.ts +0 -11
- package/src/lib/components/breadcrumbs/assets/breadcrumbs.less +0 -50
- package/src/lib/components/breadcrumbs/breadcrumbs.component.html +0 -51
- package/src/lib/components/breadcrumbs/breadcrumbs.component.less +0 -1
- package/src/lib/components/breadcrumbs/breadcrumbs.component.ts +0 -19
- package/src/lib/components/breadcrumbs/breadcrumbs.enum.ts +0 -15
- package/src/lib/components/breadcrumbs/breadcrumbs.module.ts +0 -22
- package/src/lib/components/button/assets/button-colors.less +0 -309
- package/src/lib/components/button/assets/button-disabled.less +0 -96
- package/src/lib/components/button/assets/button-icon-loading.less +0 -21
- package/src/lib/components/button/assets/button-primary.less +0 -56
- package/src/lib/components/button/assets/button-secondary.less +0 -169
- package/src/lib/components/button/assets/button-sizes.less +0 -71
- package/src/lib/components/button/assets/button-tertiary.less +0 -166
- package/src/lib/components/button/assets/button-with-icon.less +0 -64
- package/src/lib/components/button/assets/button.less +0 -12
- package/src/lib/components/button/button.component.html +0 -81
- package/src/lib/components/button/button.component.less +0 -9
- package/src/lib/components/button/button.component.ts +0 -88
- package/src/lib/components/button/button.enum.ts +0 -35
- package/src/lib/components/button/button.module.ts +0 -13
- package/src/lib/components/cdk-tooltip/cdk-tooltip/tooltip-container.component.html +0 -10
- package/src/lib/components/cdk-tooltip/cdk-tooltip/tooltip-container.component.less +0 -128
- package/src/lib/components/cdk-tooltip/cdk-tooltip/tooltip-container.component.ts +0 -26
- package/src/lib/components/cdk-tooltip/cdk-tooltip.directive.ts +0 -82
- package/src/lib/components/cdk-tooltip/cdk-tooltip.module.ts +0 -14
- package/src/lib/components/cdk-tooltip/constants/index.ts +0 -94
- package/src/lib/components/cdk-tooltip/models/tooltip-data.ts +0 -8
- package/src/lib/components/chars-left/chars-left.component.html +0 -3
- package/src/lib/components/chars-left/chars-left.component.less +0 -11
- package/src/lib/components/chars-left/chars-left.component.ts +0 -17
- package/src/lib/components/chars-left/chars-left.module.ts +0 -11
- package/src/lib/components/dropdown/assets/dropdown-menu.less +0 -75
- package/src/lib/components/dropdown/assets/dropdown-toggle.less +0 -3
- package/src/lib/components/dropdown/assets/dropdown.less +0 -12
- package/src/lib/components/dropdown/directives/hide-after-click.directive.ts +0 -14
- package/src/lib/components/dropdown/dropdown.component.html +0 -14
- package/src/lib/components/dropdown/dropdown.component.less +0 -3
- package/src/lib/components/dropdown/dropdown.component.ts +0 -112
- package/src/lib/components/dropdown/dropdown.module.ts +0 -15
- package/src/lib/components/error-message/error-message.component.html +0 -9
- package/src/lib/components/error-message/error-message.component.less +0 -20
- package/src/lib/components/error-message/error-message.component.ts +0 -26
- package/src/lib/components/error-message/error-message.module.ts +0 -11
- package/src/lib/components/form/checkbox/assets/checkbox-error.less +0 -27
- package/src/lib/components/form/checkbox/assets/checkbox-indeterminate.less +0 -77
- package/src/lib/components/form/checkbox/assets/checkbox-input-disabled.less +0 -28
- package/src/lib/components/form/checkbox/assets/checkbox-input.less +0 -14
- package/src/lib/components/form/checkbox/assets/checkbox-label.less +0 -26
- package/src/lib/components/form/checkbox/assets/checkbox-mark.less +0 -54
- package/src/lib/components/form/checkbox/assets/checkbox-wrapper.less +0 -6
- package/src/lib/components/form/checkbox/assets/checkbox.less +0 -19
- package/src/lib/components/form/checkbox/checkbox.component.html +0 -46
- package/src/lib/components/form/checkbox/checkbox.component.less +0 -8
- package/src/lib/components/form/checkbox/checkbox.component.ts +0 -168
- package/src/lib/components/form/checkbox/checkbox.enum.ts +0 -12
- package/src/lib/components/form/checkbox/checkbox.module.ts +0 -14
- package/src/lib/components/form/checkbox-group/checkbox-group.component.html +0 -46
- package/src/lib/components/form/checkbox-group/checkbox-group.component.less +0 -36
- package/src/lib/components/form/checkbox-group/checkbox-group.component.ts +0 -211
- package/src/lib/components/form/checkbox-group/checkbox-group.module.ts +0 -27
- package/src/lib/components/form/checkbox-group/components/checkbox-group-header/checkbox-group-header.component.html +0 -16
- package/src/lib/components/form/checkbox-group/components/checkbox-group-header/checkbox-group-header.component.less +0 -5
- package/src/lib/components/form/checkbox-group/components/checkbox-group-header/checkbox-group-header.component.ts +0 -34
- package/src/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.html +0 -50
- package/src/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.less +0 -23
- package/src/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.ts +0 -107
- package/src/lib/components/form/checkbox-group/helpers/change-group-value.ts +0 -23
- package/src/lib/components/form/checkbox-group/helpers/change-item-value.ts +0 -18
- package/src/lib/components/form/checkbox-group/helpers/filter-search-group.ts +0 -29
- package/src/lib/components/form/checkbox-group/helpers/get-checked-items.ts +0 -23
- package/src/lib/components/form/checkbox-group/helpers/get-inner-list.helper.ts +0 -51
- package/src/lib/components/form/checkbox-group/helpers/get-item-by-id.ts +0 -11
- package/src/lib/components/form/checkbox-group/helpers/get-sorted-list.ts +0 -45
- package/src/lib/components/form/checkbox-group/helpers/inner-list-to-list.helper.ts +0 -15
- package/src/lib/components/form/checkbox-group/models/checkbox-group.model.ts +0 -32
- package/src/lib/components/form/document-editor/components/document-editor-preview-modal/document-editor-preview-modal.component.html +0 -20
- package/src/lib/components/form/document-editor/components/document-editor-preview-modal/document-editor-preview-modal.component.ts +0 -69
- package/src/lib/components/form/document-editor/document-editor.component.html +0 -41
- package/src/lib/components/form/document-editor/document-editor.component.less +0 -7
- package/src/lib/components/form/document-editor/document-editor.component.ts +0 -109
- package/src/lib/components/form/document-editor/document-editor.module.ts +0 -29
- package/src/lib/components/form/document-editor/helpers/transform-sysname.ts +0 -57
- package/src/lib/components/form/document-editor/models/document-editor-short-codes.enum.ts +0 -6
- package/src/lib/components/form/editor/assets/editor-borders.less +0 -29
- package/src/lib/components/form/editor/assets/editor-clear-elements.less +0 -5
- package/src/lib/components/form/editor/assets/editor-clear-out-elements.less +0 -46
- package/src/lib/components/form/editor/assets/editor-error.less +0 -33
- package/src/lib/components/form/editor/assets/editor-popups.less +0 -11
- package/src/lib/components/form/editor/assets/editor-table.less +0 -5
- package/src/lib/components/form/editor/assets/editor-toolbar.less +0 -53
- package/src/lib/components/form/editor/assets/editor-wysiwyg.less +0 -21
- package/src/lib/components/form/editor/assets/editor.less +0 -10
- package/src/lib/components/form/editor/assets/jodit.less +0 -5364
- package/src/lib/components/form/editor/config/default-inline-style.ts +0 -5
- package/src/lib/components/form/editor/config/index.ts +0 -1
- package/src/lib/components/form/editor/config/popups-toolbar.ts +0 -9
- package/src/lib/components/form/editor/config/toolbar.ts +0 -73
- package/src/lib/components/form/editor/editor.component.html +0 -22
- package/src/lib/components/form/editor/editor.component.less +0 -15
- package/src/lib/components/form/editor/editor.component.ts +0 -271
- package/src/lib/components/form/editor/editor.enum.ts +0 -12
- package/src/lib/components/form/editor/editor.module.ts +0 -25
- package/src/lib/components/form/editor/models/toolbar.model.ts +0 -6
- package/src/lib/components/form/editor/modules/change-icon-module.ts +0 -91
- package/src/lib/components/form/input-date-time/assets/input-date-error.less +0 -21
- package/src/lib/components/form/input-date-time/assets/input-date-icons.less +0 -36
- package/src/lib/components/form/input-date-time/assets/input-date-sizes.less +0 -31
- package/src/lib/components/form/input-date-time/assets/input-date.less +0 -27
- package/src/lib/components/form/input-date-time/constants/value-models.ts +0 -16
- package/src/lib/components/form/input-date-time/enum/timezone.ts +0 -7
- package/src/lib/components/form/input-date-time/helpers/clean-date.ts +0 -5
- package/src/lib/components/form/input-date-time/helpers/cursor-position.ts +0 -18
- package/src/lib/components/form/input-date-time/helpers/formatting-from-models.ts +0 -10
- package/src/lib/components/form/input-date-time/helpers/formatting-moscow-timezone.ts +0 -12
- package/src/lib/components/form/input-date-time/helpers/validate-value-models.ts +0 -84
- package/src/lib/components/form/input-date-time/helpers/value-parser.ts +0 -46
- package/src/lib/components/form/input-date-time/input-date-time.component.html +0 -60
- package/src/lib/components/form/input-date-time/input-date-time.component.ts +0 -378
- package/src/lib/components/form/input-date-time/input-date-time.components.less +0 -4
- package/src/lib/components/form/input-date-time/input-date-time.enum.ts +0 -25
- package/src/lib/components/form/input-date-time/input-date-time.module.ts +0 -30
- package/src/lib/components/form/input-datepicker/assets/input-date-disabled.less +0 -17
- package/src/lib/components/form/input-datepicker/assets/input-date-error.less +0 -21
- package/src/lib/components/form/input-datepicker/assets/input-date-icons.less +0 -36
- package/src/lib/components/form/input-datepicker/assets/input-date-sizes.less +0 -31
- package/src/lib/components/form/input-datepicker/assets/input-date.less +0 -23
- package/src/lib/components/form/input-datepicker/constants/value-models.ts +0 -17
- package/src/lib/components/form/input-datepicker/helpers/clean-date.ts +0 -5
- package/src/lib/components/form/input-datepicker/helpers/cursor-position.ts +0 -18
- package/src/lib/components/form/input-datepicker/helpers/get-date-dayjs-object.ts +0 -10
- package/src/lib/components/form/input-datepicker/helpers/get-date-object.ts +0 -10
- package/src/lib/components/form/input-datepicker/helpers/validate-value-models.ts +0 -100
- package/src/lib/components/form/input-datepicker/helpers/value-parser.ts +0 -54
- package/src/lib/components/form/input-datepicker/input-datepicker.component.html +0 -60
- package/src/lib/components/form/input-datepicker/input-datepicker.component.ts +0 -342
- package/src/lib/components/form/input-datepicker/input-datepicker.components.less +0 -5
- package/src/lib/components/form/input-datepicker/input-datepicker.enum.ts +0 -16
- package/src/lib/components/form/input-datepicker/input-datepicker.module.ts +0 -30
- package/src/lib/components/form/input-editor/assets/style.less +0 -321
- package/src/lib/components/form/input-editor/components/editor-toolbar/editor-toolbar.component.html +0 -252
- package/src/lib/components/form/input-editor/components/editor-toolbar/editor-toolbar.component.less +0 -1
- package/src/lib/components/form/input-editor/components/editor-toolbar/editor-toolbar.component.ts +0 -390
- package/src/lib/components/form/input-editor/components/editor-toolbar-button/editor-toolbar-button.component.html +0 -12
- package/src/lib/components/form/input-editor/components/editor-toolbar-button/editor-toolbar-button.component.less +0 -13
- package/src/lib/components/form/input-editor/components/editor-toolbar-button/editor-toolbar-button.component.ts +0 -22
- package/src/lib/components/form/input-editor/components/editor-toolbar-select/editor-toolbar-select.component.html +0 -18
- package/src/lib/components/form/input-editor/components/editor-toolbar-select/editor-toolbar-select.component.less +0 -131
- package/src/lib/components/form/input-editor/components/editor-toolbar-select/editor-toolbar-select.component.ts +0 -205
- package/src/lib/components/form/input-editor/config/index.ts +0 -77
- package/src/lib/components/form/input-editor/helpers/is-defined.ts +0 -3
- package/src/lib/components/form/input-editor/input-editor.component.html +0 -68
- package/src/lib/components/form/input-editor/input-editor.component.less +0 -64
- package/src/lib/components/form/input-editor/input-editor.component.ts +0 -430
- package/src/lib/components/form/input-editor/input-editor.module.ts +0 -24
- package/src/lib/components/form/input-editor/models/editor-select.model.ts +0 -4
- package/src/lib/components/form/input-editor/services/editor.service.ts +0 -307
- package/src/lib/components/form/input-file/assets/input-file-controls.less +0 -8
- package/src/lib/components/form/input-file/assets/input-file-drop-placeholder.less +0 -31
- package/src/lib/components/form/input-file/assets/input-file-drop.less +0 -35
- package/src/lib/components/form/input-file/assets/input-file-error.less +0 -50
- package/src/lib/components/form/input-file/assets/input-file-list-item.less +0 -52
- package/src/lib/components/form/input-file/assets/input-file-list.less +0 -8
- package/src/lib/components/form/input-file/assets/input-file.less +0 -20
- package/src/lib/components/form/input-file/enums/error-messages.enum.ts +0 -6
- package/src/lib/components/form/input-file/input-file.component.html +0 -135
- package/src/lib/components/form/input-file/input-file.component.less +0 -7
- package/src/lib/components/form/input-file/input-file.component.ts +0 -329
- package/src/lib/components/form/input-file/input-file.enum.ts +0 -8
- package/src/lib/components/form/input-file/input-file.module.ts +0 -18
- package/src/lib/components/form/input-file-image/assets/input-file-image-avatar.less +0 -93
- package/src/lib/components/form/input-file-image/assets/input-file-image-controls.less +0 -35
- package/src/lib/components/form/input-file-image/assets/input-file-image-drop.less +0 -24
- package/src/lib/components/form/input-file-image/assets/input-file-image-input.less +0 -45
- package/src/lib/components/form/input-file-image/assets/input-file-image-preview.less +0 -107
- package/src/lib/components/form/input-file-image/assets/input-file-image.less +0 -7
- package/src/lib/components/form/input-file-image/components/file-image-edit-modal/assets/input-image-cropper.less +0 -25
- package/src/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.html +0 -68
- package/src/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.less +0 -1
- package/src/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.ts +0 -114
- package/src/lib/components/form/input-file-image/input-file-image.component.html +0 -151
- package/src/lib/components/form/input-file-image/input-file-image.component.less +0 -7
- package/src/lib/components/form/input-file-image/input-file-image.component.ts +0 -365
- package/src/lib/components/form/input-file-image/input-file-image.enum.ts +0 -10
- package/src/lib/components/form/input-file-image/input-file-image.module.ts +0 -31
- package/src/lib/components/form/input-number/assets/input-number-disabled.less +0 -17
- package/src/lib/components/form/input-number/assets/input-number-error.less +0 -21
- package/src/lib/components/form/input-number/assets/input-number-sizes.less +0 -61
- package/src/lib/components/form/input-number/assets/input-number.less +0 -45
- package/src/lib/components/form/input-number/input-number.component.html +0 -35
- package/src/lib/components/form/input-number/input-number.component.less +0 -4
- package/src/lib/components/form/input-number/input-number.component.ts +0 -284
- package/src/lib/components/form/input-number/input-number.enum.ts +0 -16
- package/src/lib/components/form/input-number/input-number.module.ts +0 -40
- package/src/lib/components/form/input-opt/components/input-opt/assets/input-opt-error.less +0 -23
- package/src/lib/components/form/input-opt/components/input-opt/assets/input-opt-sizes.less +0 -73
- package/src/lib/components/form/input-opt/components/input-opt/assets/input-opt.less +0 -20
- package/src/lib/components/form/input-opt/components/input-opt/input-opt.component.html +0 -39
- package/src/lib/components/form/input-opt/components/input-opt/input-opt.component.less +0 -3
- package/src/lib/components/form/input-opt/components/input-opt/input-opt.component.ts +0 -417
- package/src/lib/components/form/input-opt/components/input-opt/input-opt.enum.ts +0 -8
- package/src/lib/components/form/input-opt/directives/opt-pattern.directive.ts +0 -34
- package/src/lib/components/form/input-opt/input-opt.module.ts +0 -25
- package/src/lib/components/form/input-opt/models/input-opt.model.ts +0 -30
- package/src/lib/components/form/input-opt/services/input-opt.service.ts +0 -40
- package/src/lib/components/form/input-password/assets/input-password-bullets.less +0 -12
- package/src/lib/components/form/input-password/assets/input-password-error.less +0 -21
- package/src/lib/components/form/input-password/assets/input-password-icons.less +0 -16
- package/src/lib/components/form/input-password/assets/input-password-sizes.less +0 -31
- package/src/lib/components/form/input-password/assets/input-password.less +0 -43
- package/src/lib/components/form/input-password/input-password.component.html +0 -41
- package/src/lib/components/form/input-password/input-password.component.less +0 -5
- package/src/lib/components/form/input-password/input-password.component.ts +0 -106
- package/src/lib/components/form/input-password/input-password.enum.ts +0 -9
- package/src/lib/components/form/input-password/input-password.module.ts +0 -24
- package/src/lib/components/form/input-phone/assets/input-phone-country-flags.less +0 -271
- package/src/lib/components/form/input-phone/assets/input-phone-dropdown.less +0 -46
- package/src/lib/components/form/input-phone/assets/input-phone-error.less +0 -21
- package/src/lib/components/form/input-phone/assets/input-phone-flags-icon.less +0 -28
- package/src/lib/components/form/input-phone/assets/input-phone-search.less +0 -17
- package/src/lib/components/form/input-phone/assets/input-phone-sizes.less +0 -31
- package/src/lib/components/form/input-phone/assets/input-phone-sprite.less +0 -1297
- package/src/lib/components/form/input-phone/assets/input-phone.less +0 -85
- package/src/lib/components/form/input-phone/data/country-code.ts +0 -1326
- package/src/lib/components/form/input-phone/directives/native-element-injector.directive.ts +0 -27
- package/src/lib/components/form/input-phone/enums/country-iso.enum.ts +0 -245
- package/src/lib/components/form/input-phone/enums/input-phone.enum.ts +0 -14
- package/src/lib/components/form/input-phone/enums/mask.enum.ts +0 -147
- package/src/lib/components/form/input-phone/enums/phone-number-format.enum.ts +0 -4
- package/src/lib/components/form/input-phone/enums/search-country-field.enum.ts +0 -6
- package/src/lib/components/form/input-phone/input-phone.component.html +0 -86
- package/src/lib/components/form/input-phone/input-phone.component.less +0 -9
- package/src/lib/components/form/input-phone/input-phone.component.ts +0 -693
- package/src/lib/components/form/input-phone/input-phone.module.ts +0 -34
- package/src/lib/components/form/input-phone/input-phone.validator.ts +0 -70
- package/src/lib/components/form/input-phone/interfaces/change-data.ts +0 -9
- package/src/lib/components/form/input-phone/models/country.model.ts +0 -15
- package/src/lib/components/form/input-search/assets/input-search-error.less +0 -21
- package/src/lib/components/form/input-search/assets/input-search-icons.less +0 -16
- package/src/lib/components/form/input-search/assets/input-search-sizes.less +0 -31
- package/src/lib/components/form/input-search/assets/input-search.less +0 -45
- package/src/lib/components/form/input-search/input-search.component.html +0 -44
- package/src/lib/components/form/input-search/input-search.component.less +0 -4
- package/src/lib/components/form/input-search/input-search.component.ts +0 -160
- package/src/lib/components/form/input-search/input-search.enum.ts +0 -7
- package/src/lib/components/form/input-search/input-search.module.ts +0 -27
- package/src/lib/components/form/input-select/assets/input-select-checked.less +0 -18
- package/src/lib/components/form/input-select/assets/input-select-dropdown.less +0 -92
- package/src/lib/components/form/input-select/assets/input-select-error.less +0 -43
- package/src/lib/components/form/input-select/assets/input-select-sizes.less +0 -135
- package/src/lib/components/form/input-select/assets/input-select-types.less +0 -85
- package/src/lib/components/form/input-select/assets/input-select.less +0 -191
- package/src/lib/components/form/input-select/input-select.component.html +0 -80
- package/src/lib/components/form/input-select/input-select.component.less +0 -6
- package/src/lib/components/form/input-select/input-select.component.ts +0 -180
- package/src/lib/components/form/input-select/input-select.enum.ts +0 -13
- package/src/lib/components/form/input-select/input-select.module.ts +0 -25
- package/src/lib/components/form/input-select/input-select.test.html +0 -13
- package/src/lib/components/form/input-tel/assets/base64.ts +0 -5
- package/src/lib/components/form/input-tel/assets/flags.png +0 -0
- package/src/lib/components/form/input-tel/assets/input-tel-country-flags.less +0 -986
- package/src/lib/components/form/input-tel/assets/input-tel-dropdown.less +0 -52
- package/src/lib/components/form/input-tel/assets/input-tel-error.less +0 -21
- package/src/lib/components/form/input-tel/assets/input-tel-flags-icon.less +0 -29
- package/src/lib/components/form/input-tel/assets/input-tel-sizes.less +0 -39
- package/src/lib/components/form/input-tel/assets/input-tel.less +0 -85
- package/src/lib/components/form/input-tel/data/all-countries.ts +0 -1323
- package/src/lib/components/form/input-tel/data/country-iso.enum.ts +0 -245
- package/src/lib/components/form/input-tel/data/phone-number-format.enum.ts +0 -6
- package/src/lib/components/form/input-tel/data/search-country-field.enum.ts +0 -6
- package/src/lib/components/form/input-tel/directives/input-tel.directive.ts +0 -59
- package/src/lib/components/form/input-tel/enums/input-phone.enum.ts +0 -14
- package/src/lib/components/form/input-tel/input-tel.component.html +0 -88
- package/src/lib/components/form/input-tel/input-tel.component.less +0 -6
- package/src/lib/components/form/input-tel/input-tel.component.ts +0 -374
- package/src/lib/components/form/input-tel/input-tel.module.ts +0 -26
- package/src/lib/components/form/input-tel/models/country.model.ts +0 -19
- package/src/lib/components/form/input-text/assets/input-text-disabled.less +0 -17
- package/src/lib/components/form/input-text/assets/input-text-error.less +0 -33
- package/src/lib/components/form/input-text/assets/input-text-icon.less +0 -25
- package/src/lib/components/form/input-text/assets/input-text-sizes.less +0 -61
- package/src/lib/components/form/input-text/assets/input-text.less +0 -25
- package/src/lib/components/form/input-text/input-text.component.html +0 -46
- package/src/lib/components/form/input-text/input-text.component.less +0 -5
- package/src/lib/components/form/input-text/input-text.component.ts +0 -176
- package/src/lib/components/form/input-text/input-text.enum.ts +0 -24
- package/src/lib/components/form/input-text/input-text.module.ts +0 -31
- package/src/lib/components/form/input-textarea/assets/input-textarea-disabled-block.less +0 -23
- package/src/lib/components/form/input-textarea/assets/input-textarea-error.less +0 -21
- package/src/lib/components/form/input-textarea/assets/input-textarea-sizes.less +0 -34
- package/src/lib/components/form/input-textarea/assets/input-textarea.less +0 -24
- package/src/lib/components/form/input-textarea/input-textarea.component.html +0 -46
- package/src/lib/components/form/input-textarea/input-textarea.component.less +0 -4
- package/src/lib/components/form/input-textarea/input-textarea.component.ts +0 -191
- package/src/lib/components/form/input-textarea/input-textarea.enum.ts +0 -14
- package/src/lib/components/form/input-textarea/input-textarea.module.ts +0 -31
- package/src/lib/components/form/input-timepicker/constants/value-models.ts +0 -9
- package/src/lib/components/form/input-timepicker/helpers/clean-date.ts +0 -5
- package/src/lib/components/form/input-timepicker/helpers/cursor-position.ts +0 -12
- package/src/lib/components/form/input-timepicker/helpers/get-date-dayjs-object.ts +0 -6
- package/src/lib/components/form/input-timepicker/helpers/get-date-object.ts +0 -6
- package/src/lib/components/form/input-timepicker/helpers/validate-value-models.ts +0 -42
- package/src/lib/components/form/input-timepicker/helpers/value-parser.ts +0 -21
- package/src/lib/components/form/input-timepicker/input-timepicker.component.html +0 -57
- package/src/lib/components/form/input-timepicker/input-timepicker.component.ts +0 -293
- package/src/lib/components/form/input-timepicker/input-timepicker.components.scss +0 -1
- package/src/lib/components/form/input-timepicker/input-timepicker.enum.ts +0 -14
- package/src/lib/components/form/input-timepicker/input-timepicker.module.ts +0 -30
- package/src/lib/components/form/json-editor/json-editor.component.html +0 -1
- package/src/lib/components/form/json-editor/json-editor.component.less +0 -1912
- package/src/lib/components/form/json-editor/json-editor.component.ts +0 -254
- package/src/lib/components/form/json-editor/json-editor.enum.ts +0 -6
- package/src/lib/components/form/json-editor/json-editor.module.ts +0 -18
- package/src/lib/components/form/json-editor/utils/jsoneditoroptions.ts +0 -167
- package/src/lib/components/form/radio/assets/radio-error.less +0 -9
- package/src/lib/components/form/radio/assets/radio-input.less +0 -10
- package/src/lib/components/form/radio/assets/radio-label.less +0 -26
- package/src/lib/components/form/radio/assets/radio-mark.less +0 -62
- package/src/lib/components/form/radio/assets/radio-wrapper.less +0 -5
- package/src/lib/components/form/radio/assets/radio.less +0 -11
- package/src/lib/components/form/radio/radio.component.html +0 -25
- package/src/lib/components/form/radio/radio.component.less +0 -6
- package/src/lib/components/form/radio/radio.component.ts +0 -74
- package/src/lib/components/form/radio/radio.enum.ts +0 -5
- package/src/lib/components/form/radio/radio.module.ts +0 -14
- package/src/lib/components/form/radio-group/components/radio-group-header/radio-group-header.component.html +0 -14
- package/src/lib/components/form/radio-group/components/radio-group-header/radio-group-header.component.ts +0 -32
- package/src/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.html +0 -51
- package/src/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.less +0 -17
- package/src/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.ts +0 -55
- package/src/lib/components/form/radio-group/helpers/filter-search-group.ts +0 -29
- package/src/lib/components/form/radio-group/helpers/get-item-by-id.ts +0 -11
- package/src/lib/components/form/radio-group/helpers/move-selected-to-first.ts +0 -33
- package/src/lib/components/form/radio-group/models/radio-group.model.ts +0 -15
- package/src/lib/components/form/radio-group/radio-group.component.html +0 -47
- package/src/lib/components/form/radio-group/radio-group.component.less +0 -21
- package/src/lib/components/form/radio-group/radio-group.component.ts +0 -163
- package/src/lib/components/form/radio-group/radio-group.module.ts +0 -30
- package/src/lib/components/form/rating/assets/rating-disabled.less +0 -5
- package/src/lib/components/form/rating/assets/rating-item.less +0 -44
- package/src/lib/components/form/rating/assets/rating-size.less +0 -24
- package/src/lib/components/form/rating/assets/rating.less +0 -17
- package/src/lib/components/form/rating/rating.component.html +0 -75
- package/src/lib/components/form/rating/rating.component.less +0 -4
- package/src/lib/components/form/rating/rating.component.ts +0 -213
- package/src/lib/components/form/rating/rating.enum.ts +0 -36
- package/src/lib/components/form/rating/rating.module.ts +0 -15
- package/src/lib/components/form/switch/assets/switch-label.less +0 -26
- package/src/lib/components/form/switch/assets/switch-sizes.less +0 -50
- package/src/lib/components/form/switch/assets/switch-types.less +0 -18
- package/src/lib/components/form/switch/assets/switch.less +0 -73
- package/src/lib/components/form/switch/switch.component.html +0 -53
- package/src/lib/components/form/switch/switch.component.less +0 -4
- package/src/lib/components/form/switch/switch.component.ts +0 -85
- package/src/lib/components/form/switch/switch.enum.ts +0 -20
- package/src/lib/components/form/switch/switch.module.ts +0 -13
- package/src/lib/components/gallery/assets/fancybox.less +0 -1319
- package/src/lib/components/gallery/components/gallery-confirm-modal/gallery-confirm-modal.component.html +0 -30
- package/src/lib/components/gallery/components/gallery-confirm-modal/gallery-confirm-modal.component.ts +0 -43
- package/src/lib/components/gallery/components/gallery-item/gallery-item.component.html +0 -58
- package/src/lib/components/gallery/components/gallery-item/gallery-item.component.less +0 -85
- package/src/lib/components/gallery/components/gallery-item/gallery-item.component.ts +0 -106
- package/src/lib/components/gallery/constants/custom-buttons-default.ts +0 -15
- package/src/lib/components/gallery/constants/thumbs-config-default.ts +0 -6
- package/src/lib/components/gallery/gallery.component.html +0 -32
- package/src/lib/components/gallery/gallery.component.less +0 -14
- package/src/lib/components/gallery/gallery.component.ts +0 -202
- package/src/lib/components/gallery/gallery.module.ts +0 -32
- package/src/lib/components/gallery/helpers/rotate-image.ts +0 -33
- package/src/lib/components/gallery/models/gallery-item.model.ts +0 -26
- package/src/lib/components/gallery/services/gallery.service.ts +0 -33
- package/src/lib/components/hint-error-message/hint-error-message.component.html +0 -5
- package/src/lib/components/hint-error-message/hint-error-message.component.less +0 -11
- package/src/lib/components/hint-error-message/hint-error-message.component.ts +0 -125
- package/src/lib/components/hint-error-message/hint-error-message.module.ts +0 -11
- package/src/lib/components/icon-button/icon-button.component.html +0 -11
- package/src/lib/components/icon-button/icon-button.component.less +0 -84
- package/src/lib/components/icon-button/icon-button.component.ts +0 -44
- package/src/lib/components/icon-button/icon-button.enum.ts +0 -21
- package/src/lib/components/icon-button/icon-button.module.ts +0 -11
- package/src/lib/components/label/label.component.html +0 -57
- package/src/lib/components/label/label.component.less +0 -49
- package/src/lib/components/label/label.component.ts +0 -103
- package/src/lib/components/label/label.module.ts +0 -19
- package/src/lib/components/link/assets/link-monochrome.less +0 -21
- package/src/lib/components/link/assets/link.less +0 -54
- package/src/lib/components/link/link.component.html +0 -27
- package/src/lib/components/link/link.component.less +0 -2
- package/src/lib/components/link/link.component.ts +0 -52
- package/src/lib/components/link/link.enum.ts +0 -24
- package/src/lib/components/link/link.module.ts +0 -13
- package/src/lib/components/loader/assets/loader-color.less +0 -60
- package/src/lib/components/loader/assets/loader-sizes.less +0 -21
- package/src/lib/components/loader/assets/loader.less +0 -25
- package/src/lib/components/loader/loader.component.html +0 -13
- package/src/lib/components/loader/loader.component.less +0 -3
- package/src/lib/components/loader/loader.component.ts +0 -17
- package/src/lib/components/loader/loader.enum.ts +0 -22
- package/src/lib/components/loader/loader.module.ts +0 -11
- package/src/lib/components/modal/assets/modal-animations.less +0 -13
- package/src/lib/components/modal/assets/modal-body.less +0 -19
- package/src/lib/components/modal/assets/modal-colors.less +0 -62
- package/src/lib/components/modal/assets/modal-footer.less +0 -5
- package/src/lib/components/modal/assets/modal-header.less +0 -48
- package/src/lib/components/modal/assets/modal-sizes.less +0 -17
- package/src/lib/components/modal/assets/modal.less +0 -47
- package/src/lib/components/modal/modal.component.html +0 -49
- package/src/lib/components/modal/modal.component.less +0 -7
- package/src/lib/components/modal/modal.component.ts +0 -107
- package/src/lib/components/modal/modal.emun.ts +0 -25
- package/src/lib/components/modal/modal.module.ts +0 -12
- package/src/lib/components/pages-nav/pages-nav.component.html +0 -20
- package/src/lib/components/pages-nav/pages-nav.component.less +0 -40
- package/src/lib/components/pages-nav/pages-nav.component.ts +0 -22
- package/src/lib/components/pages-nav/pages-nav.enum.ts +0 -6
- package/src/lib/components/pages-nav/pages-nav.module.ts +0 -18
- package/src/lib/components/paginator/assets/paginator-types.less +0 -13
- package/src/lib/components/paginator/assets/paginator.less +0 -83
- package/src/lib/components/paginator/paginator.component.html +0 -64
- package/src/lib/components/paginator/paginator.component.less +0 -2
- package/src/lib/components/paginator/paginator.component.ts +0 -129
- package/src/lib/components/paginator/paginator.enum.ts +0 -18
- package/src/lib/components/paginator/paginator.module.ts +0 -20
- package/src/lib/components/pdf-viewer/assets/pdf-viewer__container.less +0 -43
- package/src/lib/components/pdf-viewer/assets/pdf-viewer__print-dialog.less +0 -42
- package/src/lib/components/pdf-viewer/assets/pdf-viewer__sidebar.less +0 -173
- package/src/lib/components/pdf-viewer/assets/pdf-viewer__toolbar.less +0 -210
- package/src/lib/components/pdf-viewer/pdf-viewer.component.html +0 -188
- package/src/lib/components/pdf-viewer/pdf-viewer.component.less +0 -4
- package/src/lib/components/pdf-viewer/pdf-viewer.component.ts +0 -297
- package/src/lib/components/pdf-viewer/pdf-viewer.module.ts +0 -32
- package/src/lib/components/progress/assets/progress-color.less +0 -26
- package/src/lib/components/progress/assets/progress.less +0 -12
- package/src/lib/components/progress/progress.component.html +0 -3
- package/src/lib/components/progress/progress.component.less +0 -2
- package/src/lib/components/progress/progress.component.ts +0 -19
- package/src/lib/components/progress/progress.enum.ts +0 -7
- package/src/lib/components/progress/progress.module.ts +0 -11
- package/src/lib/components/save-state/components/save-state-checkbox/save-state-checkbox.component.html +0 -66
- package/src/lib/components/save-state/components/save-state-checkbox/save-state-checkbox.component.less +0 -32
- package/src/lib/components/save-state/components/save-state-checkbox/save-state-checkbox.component.ts +0 -14
- package/src/lib/components/save-state/components/save-state-checkbox-group/save-state-checkbox-group.component.html +0 -66
- package/src/lib/components/save-state/components/save-state-checkbox-group/save-state-checkbox-group.component.less +0 -32
- package/src/lib/components/save-state/components/save-state-checkbox-group/save-state-checkbox-group.component.ts +0 -14
- package/src/lib/components/save-state/components/save-state-editor/save-state-editor.component.html +0 -66
- package/src/lib/components/save-state/components/save-state-editor/save-state-editor.component.less +0 -32
- package/src/lib/components/save-state/components/save-state-editor/save-state-editor.component.ts +0 -14
- package/src/lib/components/save-state/components/save-state-input/save-state-input.component.html +0 -66
- package/src/lib/components/save-state/components/save-state-input/save-state-input.component.less +0 -34
- package/src/lib/components/save-state/components/save-state-input/save-state-input.component.ts +0 -14
- package/src/lib/components/save-state/components/save-state-switch/save-state-switch.component.html +0 -66
- package/src/lib/components/save-state/components/save-state-switch/save-state-switch.component.less +0 -32
- package/src/lib/components/save-state/components/save-state-switch/save-state-switch.component.ts +0 -14
- package/src/lib/components/save-state/save-state.component.html +0 -11
- package/src/lib/components/save-state/save-state.component.less +0 -0
- package/src/lib/components/save-state/save-state.component.ts +0 -32
- package/src/lib/components/save-state/save-state.enum.ts +0 -1
- package/src/lib/components/save-state/save-state.module.ts +0 -28
- package/src/lib/components/stepper/stepper.component.html +0 -30
- package/src/lib/components/stepper/stepper.component.less +0 -27
- package/src/lib/components/stepper/stepper.component.ts +0 -38
- package/src/lib/components/stepper/stepper.enum.ts +0 -5
- package/src/lib/components/stepper/stepper.module.ts +0 -12
- package/src/lib/components/table/assets/table-counter.less +0 -8
- package/src/lib/components/table/assets/table-download.less +0 -19
- package/src/lib/components/table/assets/table-empty-message.less +0 -38
- package/src/lib/components/table/assets/table-overlay.less +0 -17
- package/src/lib/components/table/assets/table-paginator.less +0 -9
- package/src/lib/components/table/assets/table-sort-select.less +0 -70
- package/src/lib/components/table/assets/table-striped.less +0 -42
- package/src/lib/components/table/assets/table-toggle.less +0 -22
- package/src/lib/components/table/assets/table-types.less +0 -118
- package/src/lib/components/table/assets/table.less +0 -36
- package/src/lib/components/table/components/column/column.component.ts +0 -17
- package/src/lib/components/table/default/default-pager-settings.ts +0 -8
- package/src/lib/components/table/models/data-state-change.event.ts +0 -16
- package/src/lib/components/table/models/index.ts +0 -3
- package/src/lib/components/table/models/pager-settings.ts +0 -26
- package/src/lib/components/table/table.component.html +0 -220
- package/src/lib/components/table/table.component.less +0 -10
- package/src/lib/components/table/table.component.ts +0 -252
- package/src/lib/components/table/table.enum.ts +0 -41
- package/src/lib/components/table/table.module.ts +0 -30
- package/src/lib/components/tabs/tab/tab.component.html +0 -4
- package/src/lib/components/tabs/tab/tab.component.less +0 -15
- package/src/lib/components/tabs/tab/tab.component.ts +0 -22
- package/src/lib/components/tabs/tabs-group/assets/tabs-button.less +0 -43
- package/src/lib/components/tabs/tabs-group/assets/tabs-group.less +0 -9
- package/src/lib/components/tabs/tabs-group/assets/tabs-size.less +0 -50
- package/src/lib/components/tabs/tabs-group/assets/tabs-types.less +0 -63
- package/src/lib/components/tabs/tabs-group/tabs-group.component.html +0 -5
- package/src/lib/components/tabs/tabs-group/tabs-group.component.less +0 -4
- package/src/lib/components/tabs/tabs-group/tabs-group.component.ts +0 -23
- package/src/lib/components/tabs/tabs.enum.ts +0 -15
- package/src/lib/components/tabs/tabs.module.ts +0 -12
- package/src/lib/components/tooltip/services/tooltip.service.ts +0 -74
- package/src/lib/components/tooltip/tooltip-trigger/assets/tooltip-trigger-right.less +0 -39
- package/src/lib/components/tooltip/tooltip-trigger/assets/tooltip-trigger-top.less +0 -41
- package/src/lib/components/tooltip/tooltip-trigger/assets/tooltip-trigger.less +0 -29
- package/src/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.html +0 -11
- package/src/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.less +0 -3
- package/src/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.ts +0 -29
- package/src/lib/components/tooltip/tooltip-trigger/tooltip-trigger.enum.ts +0 -13
- package/src/lib/components/tooltip/tooltip.component.html +0 -4
- package/src/lib/components/tooltip/tooltip.component.less +0 -19
- package/src/lib/components/tooltip/tooltip.component.ts +0 -51
- package/src/lib/components/tooltip/tooltip.enum.ts +0 -4
- package/src/lib/components/tooltip/tooltip.module.ts +0 -13
- package/src/lib/components/truncate-text/directives/truncate-text.directive.ts +0 -158
- package/src/lib/components/truncate-text/truncate-text.component.html +0 -21
- package/src/lib/components/truncate-text/truncate-text.component.ts +0 -19
- package/src/lib/components/truncate-text/truncate-text.enum.ts +0 -2
- package/src/lib/components/truncate-text/truncate-text.module.ts +0 -13
- package/src/lib/components/warning-message/warning-message.component.html +0 -8
- package/src/lib/components/warning-message/warning-message.component.less +0 -12
- package/src/lib/components/warning-message/warning-message.component.ts +0 -24
- package/src/lib/components/warning-message/warning-message.module.ts +0 -11
- package/src/lib/components/wrappers/content-wrapper/content-wrapper.component.html +0 -9
- package/src/lib/components/wrappers/content-wrapper/content-wrapper.component.less +0 -13
- package/src/lib/components/wrappers/content-wrapper/content-wrapper.component.ts +0 -18
- package/src/lib/components/wrappers/content-wrapper/content-wrapper.enum.ts +0 -6
- package/src/lib/components/wrappers/content-wrapper/content-wrapper.module.ts +0 -13
- package/src/lib/components/wrappers/controls-wrapper/components/controls-item/controls-item.component.html +0 -6
- package/src/lib/components/wrappers/controls-wrapper/components/controls-item/controls-item.component.less +0 -39
- package/src/lib/components/wrappers/controls-wrapper/components/controls-item/controls-item.component.ts +0 -11
- package/src/lib/components/wrappers/controls-wrapper/controls-wrapper.component.html +0 -7
- package/src/lib/components/wrappers/controls-wrapper/controls-wrapper.component.less +0 -30
- package/src/lib/components/wrappers/controls-wrapper/controls-wrapper.component.ts +0 -18
- package/src/lib/components/wrappers/controls-wrapper/controls-wrapper.enum.ts +0 -7
- package/src/lib/components/wrappers/controls-wrapper/controls-wrapper.module.ts +0 -14
- package/src/lib/components/wrappers/widget-wrapper/widget-wrapper.component.html +0 -50
- package/src/lib/components/wrappers/widget-wrapper/widget-wrapper.component.less +0 -88
- package/src/lib/components/wrappers/widget-wrapper/widget-wrapper.component.ts +0 -82
- package/src/lib/components/wrappers/widget-wrapper/widget-wrapper.enum.ts +0 -17
- package/src/lib/components/wrappers/widget-wrapper/widget-wrapper.module.ts +0 -18
- package/src/lib/directives/autosize/autosize.directive.ts +0 -55
- package/src/lib/directives/autosize/autosize.module.ts +0 -16
- package/src/lib/directives/delayed-value/delayed-value.directive.ts +0 -37
- package/src/lib/directives/delayed-value/delayed-value.module.ts +0 -16
- package/src/lib/directives/truncate/truncate.directive.ts +0 -26
- package/src/lib/directives/truncate/truncate.module.ts +0 -10
- package/src/lib/enums/typed.input.state.ts +0 -6
- package/src/lib/helpers/extension/input-file.extension.ts +0 -47
- package/src/lib/helpers/formatting-date.ts +0 -65
- package/src/lib/helpers/formatting-dates-from-array.ts +0 -21
- package/src/lib/helpers/formatting-iso-to-string.ts +0 -20
- package/src/lib/helpers/index.ts +0 -8
- package/src/lib/helpers/mrx-gallery-lib/README.md +0 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.autoplay.css +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.autoplay.esm.d.ts +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.autoplay.esm.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.autoplay.umd.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.css +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.esm.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.thumbs.css +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.thumbs.esm.d.ts +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.thumbs.esm.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.thumbs.umd.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.umd.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/cs.esm.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/cs.umd.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/de.esm.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/de.umd.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/en.esm.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/en.umd.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/es.esm.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/es.umd.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/fr.esm.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/fr.umd.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/it.esm.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/it.umd.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/ja.esm.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/ja.umd.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/lv.esm.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/lv.umd.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/pl.esm.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/pl.umd.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/sk.esm.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/sk.umd.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/zh_CN.esm.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/zh_CN.umd.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/fancybox.css +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/fancybox.esm.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/fancybox.umd.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/cs.esm.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/cs.umd.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/de.esm.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/de.umd.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/en.esm.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/en.umd.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/es.esm.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/es.umd.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/fr.esm.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/fr.umd.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/it.esm.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/it.umd.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/ja.esm.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/ja.umd.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/lv.esm.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/lv.umd.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/pl.esm.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/pl.umd.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/sk.esm.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/sk.umd.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/zh_CN.esm.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/zh_CN.umd.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/index.esm.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/index.umd.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/cs.esm.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/cs.umd.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/de.esm.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/de.umd.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/en.esm.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/en.umd.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/es.esm.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/es.umd.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/fr.esm.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/fr.umd.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/it.esm.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/it.umd.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/ja.esm.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/ja.umd.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/lv.esm.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/lv.umd.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/pl.esm.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/pl.umd.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/sk.esm.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/sk.umd.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/zh_CN.esm.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/zh_CN.umd.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.css +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.esm.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.pins.css +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.pins.esm.d.ts +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.pins.esm.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.pins.umd.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.toolbar.css +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.toolbar.esm.d.ts +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.toolbar.esm.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.toolbar.umd.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.umd.js +0 -1
- package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/cs.ts +0 -5
- package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/de.ts +0 -5
- package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/en.ts +0 -5
- package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/es.ts +0 -5
- package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/fr.ts +0 -5
- package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/it.ts +0 -5
- package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/ja.ts +0 -5
- package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/lv.ts +0 -5
- package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/pl.ts +0 -5
- package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/sk.ts +0 -5
- package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/zh_CN.ts +0 -5
- package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/cs.ts +0 -20
- package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/de.ts +0 -20
- package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/en.ts +0 -20
- package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/es.ts +0 -20
- package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/fr.ts +0 -20
- package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/it.ts +0 -20
- package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/ja.ts +0 -20
- package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/lv.ts +0 -20
- package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/pl.ts +0 -20
- package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/sk.ts +0 -20
- package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/zh_CN.ts +0 -20
- package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/cs.ts +0 -26
- package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/de.ts +0 -26
- package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/en.ts +0 -26
- package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/es.ts +0 -26
- package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/fr.ts +0 -26
- package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/it.ts +0 -26
- package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/ja.ts +0 -26
- package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/lv.ts +0 -26
- package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/pl.ts +0 -26
- package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/sk.ts +0 -26
- package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/zh_CN.ts +0 -26
- package/src/lib/helpers/mrx-gallery-lib/package.json +0 -15
- package/src/lib/helpers/mrx-gallery-lib/types/Carousel/Carousel.d.ts +0 -186
- package/src/lib/helpers/mrx-gallery-lib/types/Carousel/consts.d.ts +0 -8
- package/src/lib/helpers/mrx-gallery-lib/types/Carousel/options.d.ts +0 -108
- package/src/lib/helpers/mrx-gallery-lib/types/Carousel/plugins/Autoplay/Autoplay.d.ts +0 -62
- package/src/lib/helpers/mrx-gallery-lib/types/Carousel/plugins/Dots/Dots.d.ts +0 -44
- package/src/lib/helpers/mrx-gallery-lib/types/Carousel/plugins/Navigation/Navigation.d.ts +0 -41
- package/src/lib/helpers/mrx-gallery-lib/types/Carousel/plugins/Sync/Sync.d.ts +0 -44
- package/src/lib/helpers/mrx-gallery-lib/types/Carousel/plugins/Thumbs/Thumbs.d.ts +0 -99
- package/src/lib/helpers/mrx-gallery-lib/types/Carousel/plugins/index.d.ts +0 -5
- package/src/lib/helpers/mrx-gallery-lib/types/Carousel/types.d.ts +0 -94
- package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/Fancybox.d.ts +0 -231
- package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/consts.d.ts +0 -13
- package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/options.d.ts +0 -171
- package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/plugins/Hash/Hash.d.ts +0 -34
- package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/plugins/Html/Html.d.ts +0 -105
- package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/plugins/Images/Images.d.ts +0 -66
- package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/plugins/Slideshow/Slideshow.d.ts +0 -42
- package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/plugins/Thumbs/Thumbs.d.ts +0 -42
- package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/plugins/Toolbar/Toolbar.d.ts +0 -86
- package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/plugins/index.d.ts +0 -8
- package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/types.d.ts +0 -91
- package/src/lib/helpers/mrx-gallery-lib/types/Panzoom/Panzoom.d.ts +0 -357
- package/src/lib/helpers/mrx-gallery-lib/types/Panzoom/consts.d.ts +0 -9
- package/src/lib/helpers/mrx-gallery-lib/types/Panzoom/options.d.ts +0 -172
- package/src/lib/helpers/mrx-gallery-lib/types/Panzoom/plugins/Pins/Pins.d.ts +0 -18
- package/src/lib/helpers/mrx-gallery-lib/types/Panzoom/plugins/Toolbar/Toolbar.d.ts +0 -31
- package/src/lib/helpers/mrx-gallery-lib/types/Panzoom/plugins/index.d.ts +0 -2
- package/src/lib/helpers/mrx-gallery-lib/types/Panzoom/types.d.ts +0 -112
- package/src/lib/helpers/mrx-gallery-lib/types/index.d.ts +0 -3
- package/src/lib/helpers/mrx-gallery-lib/types/shared/Base/Base.d.ts +0 -16
- package/src/lib/helpers/mrx-gallery-lib/types/shared/Base/Component.d.ts +0 -9
- package/src/lib/helpers/mrx-gallery-lib/types/shared/Base/Plugin.d.ts +0 -7
- package/src/lib/helpers/mrx-gallery-lib/types/shared/Base/types.d.ts +0 -9
- package/src/lib/helpers/mrx-gallery-lib/types/shared/buttons.d.ts +0 -88
- package/src/lib/helpers/mrx-gallery-lib/types/shared/spinner.d.ts +0 -1
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/PointerTracker.d.ts +0 -45
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/addClass.d.ts +0 -1
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/canUseDOM.d.ts +0 -4
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/getDimensions.d.ts +0 -8
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/getDirectChildren.d.ts +0 -1
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/getScrollableParent.d.ts +0 -2
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/isInViewport.d.ts +0 -1
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/isNode.d.ts +0 -1
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/isPlainObject.d.ts +0 -1
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/merge.d.ts +0 -1
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/removeClass.d.ts +0 -1
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/resolve.d.ts +0 -1
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/round.d.ts +0 -4
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/setFocusOn.d.ts +0 -2
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/splitClasses.d.ts +0 -1
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/stringToHtml.d.ts +0 -1
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/throttle.d.ts +0 -5
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/toggleClass.d.ts +0 -1
- package/src/lib/helpers/number-format.ts +0 -8
- package/src/lib/helpers/string-hash-code.ts +0 -16
- package/src/lib/helpers/word-form.ts +0 -11
- package/src/lib/models/index.ts +0 -2
- package/src/lib/models/input-file/input-file.model.ts +0 -26
- package/src/lib/models/typed-input-model.ts +0 -17
- package/src/lib/myrta-ui.module.ts +0 -146
- package/src/lib/pipes/currency/currency.module.ts +0 -14
- package/src/lib/pipes/currency/currency.pipe.ts +0 -19
- package/src/lib/pipes/date/date-format.module.ts +0 -11
- package/src/lib/pipes/date/date-format.pipe.ts +0 -17
- package/src/lib/pipes/date/date-time-format.pipe.ts +0 -17
- package/src/lib/pipes/date/enums/timezone.ts +0 -10
- package/src/lib/pipes/date/helpers/change-timezone.ts +0 -25
- package/src/lib/pipes/phone/phone-format.module.ts +0 -10
- package/src/lib/pipes/phone/phone-format.pipe.ts +0 -16
- package/src/lib/pipes/safe/safe.module.ts +0 -14
- package/src/lib/pipes/safe/safe.pipe.ts +0 -14
- package/src/lib/pipes/truncate/truncate.module.ts +0 -14
- package/src/lib/pipes/truncate/truncate.pipe.ts +0 -19
- package/src/lib/services/dialog/components/dialog/dialog.component.html +0 -7
- package/src/lib/services/dialog/components/dialog/dialog.component.less +0 -22
- package/src/lib/services/dialog/components/dialog/dialog.component.ts +0 -55
- package/src/lib/services/dialog/dialog.module.ts +0 -19
- package/src/lib/services/dialog/directives/insertion.directive.ts +0 -8
- package/src/lib/services/dialog/services/dialog.service.ts +0 -68
- package/src/lib/services/dialog/utils/dialog-config.ts +0 -3
- package/src/lib/services/dialog/utils/dialog-injector.ts +0 -17
- package/src/lib/services/dialog/utils/dialog-ref.ts +0 -12
- package/src/lib/services/file-upload/file-upload.service.ts +0 -24
- package/src/lib/services/index.ts +0 -19
- package/src/lib/services/modal-service/components/alert-modal/alert-modal.component.html +0 -20
- package/src/lib/services/modal-service/components/alert-modal/alert-modal.component.less +0 -0
- package/src/lib/services/modal-service/components/alert-modal/alert-modal.component.ts +0 -47
- package/src/lib/services/modal-service/components/confirm-modal/confirm-modal.component.html +0 -29
- package/src/lib/services/modal-service/components/confirm-modal/confirm-modal.component.less +0 -0
- package/src/lib/services/modal-service/components/confirm-modal/confirm-modal.component.ts +0 -51
- package/src/lib/services/modal-service/helpers/index.ts +0 -4
- package/src/lib/services/modal-service/helpers/modal-default-config.ts +0 -16
- package/src/lib/services/modal-service/helpers/modal-ref.ts +0 -36
- package/src/lib/services/modal-service/helpers/modal-tokens.ts +0 -4
- package/src/lib/services/modal-service/helpers/modal.component.ts +0 -3
- package/src/lib/services/modal-service/modal-service.module.ts +0 -15
- package/src/lib/services/modal-service/modal-service.service.ts +0 -100
- package/src/lib/services/modal-service/models/modal-config.model.ts +0 -16
- package/src/lib/services/mrx-autosave/mrx-autosave.service.ts +0 -58
- package/src/lib/services/mrx-form-validator/constants/invalid-messages.ts +0 -9
- package/src/lib/services/mrx-form-validator/helpers/get-error-message.helper.ts +0 -17
- package/src/lib/services/mrx-form-validator/helpers/get-sorting-validations.helper.ts +0 -30
- package/src/lib/services/mrx-form-validator/models/index.ts +0 -3
- package/src/lib/services/mrx-form-validator/models/validations-options.model.ts +0 -35
- package/src/lib/services/mrx-form-validator/models/validations-settings.model.ts +0 -8
- package/src/lib/services/mrx-form-validator/models/validations-types.model.ts +0 -23
- package/src/lib/services/mrx-form-validator/mrx-form-validator.ts +0 -278
- package/src/lib/services/mrx-form-validator/validations/callback.validation.ts +0 -24
- package/src/lib/services/mrx-form-validator/validations/email.validation.ts +0 -20
- package/src/lib/services/mrx-form-validator/validations/max-length.validation.ts +0 -26
- package/src/lib/services/mrx-form-validator/validations/max-value.validation.ts +0 -21
- package/src/lib/services/mrx-form-validator/validations/min-length.validation.ts +0 -26
- package/src/lib/services/mrx-form-validator/validations/min-value.validation.ts +0 -19
- package/src/lib/services/mrx-form-validator/validations/pattern.validation.ts +0 -20
- package/src/lib/services/mrx-form-validator/validations/required.validation.ts +0 -34
- package/src/lib/services/save-store/constants/constants.ts +0 -1
- package/src/lib/services/save-store/models/save-store.model.ts +0 -4
- package/src/lib/services/save-store/save-store.module.ts +0 -17
- package/src/lib/services/save-store/store/actions.ts +0 -56
- package/src/lib/services/save-store/store/effect.ts +0 -61
- package/src/lib/services/save-store/store/reducer.ts +0 -103
- package/src/lib/services/save-store/store/selectors.ts +0 -10
- package/src/lib/services/save-store/store/state.ts +0 -16
- package/src/lib/services/toaster-service/components/toaster/assets/toaster-colors.less +0 -78
- package/src/lib/services/toaster-service/components/toaster/assets/toaster-content.less +0 -17
- package/src/lib/services/toaster-service/components/toaster/assets/toaster.less +0 -45
- package/src/lib/services/toaster-service/components/toaster/toaster.component.html +0 -37
- package/src/lib/services/toaster-service/components/toaster/toaster.component.less +0 -3
- package/src/lib/services/toaster-service/components/toaster/toaster.component.ts +0 -26
- package/src/lib/services/toaster-service/config/index.ts +0 -12
- package/src/lib/services/toaster-service/models/toaster.model.ts +0 -14
- package/src/lib/services/toaster-service/toaster-service.module.ts +0 -20
- package/src/lib/services/toaster-service/toaster-service.service.ts +0 -51
- package/src/public-api.ts +0 -244
- package/tsconfig.lib.json +0 -15
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -17
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import { Fancybox } from 'mrx-gallery-lib';
|
|
3
|
+
import { customToolbarDefault } from './constants/custom-buttons-default';
|
|
4
|
+
import { thumbsConfigDefault } from './constants/thumbs-config-default';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "./services/gallery.service";
|
|
7
|
+
import * as i2 from "@angular/common";
|
|
8
|
+
import * as i3 from "../button/button.component";
|
|
9
|
+
import * as i4 from "./components/gallery-item/gallery-item.component";
|
|
10
|
+
export class GalleryComponent {
|
|
11
|
+
galleryService;
|
|
12
|
+
timeStamp = (new Date()).getTime();
|
|
13
|
+
rotateSlides = [];
|
|
14
|
+
isLoading = false;
|
|
15
|
+
isExpanded = false;
|
|
16
|
+
data = [];
|
|
17
|
+
isExpandable = true;
|
|
18
|
+
customClasses = '';
|
|
19
|
+
rotateEndPoint;
|
|
20
|
+
deleteEndPoint;
|
|
21
|
+
updateEndPoint;
|
|
22
|
+
isEditing = false;
|
|
23
|
+
isSaveRotate = true;
|
|
24
|
+
descriptionMaxLength = 0;
|
|
25
|
+
thumbsConfig;
|
|
26
|
+
toolbarConfig;
|
|
27
|
+
deletePhoto = new EventEmitter();
|
|
28
|
+
updatePhoto = new EventEmitter();
|
|
29
|
+
defaultConfig = {};
|
|
30
|
+
constructor(galleryService) {
|
|
31
|
+
this.galleryService = galleryService;
|
|
32
|
+
}
|
|
33
|
+
ngOnInit() {
|
|
34
|
+
if (this.isExpandable) {
|
|
35
|
+
this.isExpanded = false;
|
|
36
|
+
}
|
|
37
|
+
if (this.thumbsConfig) {
|
|
38
|
+
this.defaultConfig.Thumbs = this.thumbsConfig;
|
|
39
|
+
}
|
|
40
|
+
if (this.toolbarConfig) {
|
|
41
|
+
this.defaultConfig.Toolbar = this.toolbarConfig;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
get getClasses() {
|
|
45
|
+
return `${this.customClasses}`;
|
|
46
|
+
}
|
|
47
|
+
get isShowMore() {
|
|
48
|
+
return this.data.length > 8;
|
|
49
|
+
}
|
|
50
|
+
get getData() {
|
|
51
|
+
if (this.isExpandable && !this.isExpanded) {
|
|
52
|
+
return this.data.slice(0, 8);
|
|
53
|
+
}
|
|
54
|
+
else {
|
|
55
|
+
return this.data;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
get getSlides() {
|
|
59
|
+
return this.data.map((slide) => {
|
|
60
|
+
return {
|
|
61
|
+
src: slide.url + '?' + this.timeStamp,
|
|
62
|
+
thumb: slide.previewUrl,
|
|
63
|
+
caption: slide.description,
|
|
64
|
+
uuid: slide.uuid,
|
|
65
|
+
imageName: slide.imageName,
|
|
66
|
+
previewImageId: slide.previewImageId
|
|
67
|
+
};
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
get getIsExpanded() {
|
|
71
|
+
return this.isExpanded;
|
|
72
|
+
}
|
|
73
|
+
changeExpanded() {
|
|
74
|
+
this.isExpanded = !this.isExpanded;
|
|
75
|
+
}
|
|
76
|
+
trackByFn(index, item) {
|
|
77
|
+
return item.id;
|
|
78
|
+
}
|
|
79
|
+
openGalleryModal(id) {
|
|
80
|
+
new Fancybox(this.getSlides, {
|
|
81
|
+
startIndex: id,
|
|
82
|
+
compact: false,
|
|
83
|
+
hideScrollbar: false,
|
|
84
|
+
Carousel: {},
|
|
85
|
+
Thumbs: thumbsConfigDefault,
|
|
86
|
+
on: {
|
|
87
|
+
close: (fancy, event) => {
|
|
88
|
+
if (this.rotateSlides.length) {
|
|
89
|
+
this.galleryService.rotate(this.rotateSlides, this.rotateEndPoint).subscribe(res => {
|
|
90
|
+
this.isLoading = true;
|
|
91
|
+
setTimeout(() => {
|
|
92
|
+
this.isLoading = false;
|
|
93
|
+
this.rotateSlides.length = 0;
|
|
94
|
+
this.timeStamp = (new Date()).getTime();
|
|
95
|
+
}, 1000);
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
Toolbar: {
|
|
101
|
+
items: {
|
|
102
|
+
rotateLeft: {
|
|
103
|
+
tpl: `
|
|
104
|
+
<button title="Rotate counterclockwise" class="f-button">
|
|
105
|
+
<svg tabindex="-1" width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
106
|
+
<path d="M15 4.55a8 8 0 0 0-6 14.9M9 15v5H4M18.37 7.16v.01M13 19.94v.01M16.84 18.37v.01M19.37 15.1v.01M19.94 11v.01">
|
|
107
|
+
</path>
|
|
108
|
+
</svg>
|
|
109
|
+
</button>
|
|
110
|
+
`,
|
|
111
|
+
click: (a) => {
|
|
112
|
+
const slide = a.instance.getSlide();
|
|
113
|
+
if (!slide)
|
|
114
|
+
return;
|
|
115
|
+
const foundRotateSlide = this.rotateSlides.find((s) => s.previewImageId === slide.previewImageId);
|
|
116
|
+
if (foundRotateSlide) {
|
|
117
|
+
this.rotateSlides = this.rotateSlides.map((s) => {
|
|
118
|
+
if (s.previewImageId === foundRotateSlide.previewImageId) {
|
|
119
|
+
s.rotate = s.rotate === -270 ? 0 : s.rotate - 90;
|
|
120
|
+
}
|
|
121
|
+
return s;
|
|
122
|
+
}).filter((s) => s.rotate !== 0);
|
|
123
|
+
}
|
|
124
|
+
else {
|
|
125
|
+
this.rotateSlides.push({
|
|
126
|
+
previewImageId: slide.previewImageId,
|
|
127
|
+
rotate: -90
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
slide.panzoom?.rotateCCW();
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
rotateRight: {
|
|
134
|
+
tpl: `
|
|
135
|
+
<button title="Rotate clockwise" class="f-button">
|
|
136
|
+
<svg tabindex="-1" width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
137
|
+
<path d="M9 4.55a8 8 0 0 1 6 14.9M15 15v5h5M5.63 7.16v.01M4.06 11v.01M4.63 15.1v.01M7.16 18.37v.01M11 19.94v.01">
|
|
138
|
+
</path>
|
|
139
|
+
</svg>
|
|
140
|
+
</button>
|
|
141
|
+
`,
|
|
142
|
+
click: (a) => {
|
|
143
|
+
const slide = a.instance.getSlide();
|
|
144
|
+
if (!slide)
|
|
145
|
+
return;
|
|
146
|
+
const foundRotateSlide = this.rotateSlides.find((s) => s.previewImageId === slide.previewImageId);
|
|
147
|
+
if (foundRotateSlide) {
|
|
148
|
+
this.rotateSlides = this.rotateSlides.map((s) => {
|
|
149
|
+
if (s.previewImageId === foundRotateSlide.previewImageId) {
|
|
150
|
+
s.rotate = s.rotate === 270 ? 0 : s.rotate + 90;
|
|
151
|
+
}
|
|
152
|
+
return s;
|
|
153
|
+
}).filter((s) => s.rotate !== 0);
|
|
154
|
+
}
|
|
155
|
+
else {
|
|
156
|
+
this.rotateSlides.push({
|
|
157
|
+
previewImageId: slide.previewImageId,
|
|
158
|
+
rotate: 90
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
slide.panzoom?.rotateCW();
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
display: customToolbarDefault,
|
|
166
|
+
},
|
|
167
|
+
...this.defaultConfig
|
|
168
|
+
}, {});
|
|
169
|
+
}
|
|
170
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GalleryComponent, deps: [{ token: i1.GalleryService }], target: i0.ɵɵFactoryTarget.Component });
|
|
171
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: GalleryComponent, selector: "mrx-gallery", inputs: { data: "data", isExpandable: "isExpandable", customClasses: "customClasses", rotateEndPoint: "rotateEndPoint", deleteEndPoint: "deleteEndPoint", updateEndPoint: "updateEndPoint", isEditing: "isEditing", isSaveRotate: "isSaveRotate", descriptionMaxLength: "descriptionMaxLength", thumbsConfig: "thumbsConfig", toolbarConfig: "toolbarConfig" }, outputs: { deletePhoto: "deletePhoto", updatePhoto: "updatePhoto" }, ngImport: i0, template: "<div class=\"mrx-gallery\" [class]=\"getClasses\">\r\n <div class=\"mrx-gallery-row row\">\r\n <div *ngFor=\"let preview of getData; trackBy: trackByFn; let index = index\" class=\"col col-12 col-sm-6 col-md-3\">\r\n <mrx-gallery-item\r\n [preview]=\"preview\"\r\n [index]=\"index\"\r\n [isEditing]=\"isEditing\"\r\n [descriptionMaxLength]=\"descriptionMaxLength\"\r\n [rotateSlides]=\"rotateSlides\"\r\n [isLoading]=\"isLoading\"\r\n [deleteEndPoint]=\"deleteEndPoint\"\r\n [updateEndPoint]=\"updateEndPoint\"\r\n (openGalleryModal)=\"openGalleryModal($event)\"\r\n (deletePhoto)=\"deletePhoto.emit($event)\"\r\n (updatePhoto)=\"updatePhoto.emit($event)\"\r\n ></mrx-gallery-item>\r\n </div>\r\n </div>\r\n\r\n <div class=\"row mt-3\" *ngIf=\"isShowMore\">\r\n <div class=\"col d-flex justify-content-center\">\r\n <mrx-button type=\"tertiary\" (mrxClick)=\"changeExpanded()\">\r\n {{ getIsExpanded ? '\u0421\u043A\u0440\u044B\u0442\u044C' : '\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0432\u0441\u0435 \u0444\u043E\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0438' }}\r\n <span\r\n class=\"mrx-icon icon-font-16 ml-2\"\r\n [class.icon-chevron-down]=\"!getIsExpanded\"\r\n [class.icon-chevron-up]=\"getIsExpanded\"\r\n ></span>\r\n </mrx-button>\r\n </div>\r\n </div>\r\n</div>\r\n", styles: ["::ng-deep :root{--f-spinner-width: 36px;--f-spinner-height: 36px;--f-spinner-color-1: rgba(0, 0, 0, .1);--f-spinner-color-2: rgba(17, 24, 28, .8);--f-spinner-stroke: 2.75}::ng-deep .f-spinner{margin:auto;padding:0;width:var(--f-spinner-width);height:var(--f-spinner-height)}::ng-deep .f-spinner svg{width:100%;height:100%;vertical-align:top;animation:f-spinner-rotate 2s linear infinite}::ng-deep .f-spinner svg *{stroke-width:var(--f-spinner-stroke);fill:none}::ng-deep .f-spinner svg *:first-child{stroke:var(--f-spinner-color-1)}::ng-deep .f-spinner svg *:last-child{stroke:var(--f-spinner-color-2);animation:f-spinner-dash 2s ease-in-out infinite}@keyframes f-spinner-rotate{to{transform:rotate(360deg)}}@keyframes f-spinner-dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}::ng-deep .f-throwOutUp{animation:var(--f-throw-out-duration, .175s) ease-out both f-throwOutUp}::ng-deep .f-throwOutDown{animation:var(--f-throw-out-duration, .175s) ease-out both f-throwOutDown}@keyframes f-throwOutUp{to{transform:translate3d(0,calc(var(--f-throw-out-distance, 150px) * -1),0);opacity:0}}@keyframes f-throwOutDown{to{transform:translate3d(0,var(--f-throw-out-distance, 150px),0);opacity:0}}::ng-deep .f-zoomInUp{animation:var(--f-transition-duration, .2s) ease .1s both f-zoomInUp}::ng-deep .f-zoomOutDown{animation:var(--f-transition-duration, .2s) ease both f-zoomOutDown}@keyframes f-zoomInUp{0%{transform:scale(.975) translate3d(0,16px,0);opacity:0}to{transform:scale(1) translateZ(0);opacity:1}}@keyframes f-zoomOutDown{to{transform:scale(.975) translate3d(0,16px,0);opacity:0}}::ng-deep .f-fadeIn{animation:var(--f-transition-duration, .2s) ease both f-fadeIn;z-index:2}::ng-deep .f-fadeOut{animation:var(--f-transition-duration, .2s) ease both f-fadeOut;z-index:1}@keyframes f-fadeIn{0%{opacity:0}to{opacity:1}}@keyframes f-fadeOut{to{opacity:0}}::ng-deep .f-fadeFastIn{animation:var(--f-transition-duration, .2s) ease-out both f-fadeFastIn;z-index:2}::ng-deep .f-fadeFastOut{animation:var(--f-transition-duration, .1s) ease-out both f-fadeFastOut;z-index:2}@keyframes f-fadeFastIn{0%{opacity:.75}to{opacity:1}}@keyframes f-fadeFastOut{to{opacity:0}}::ng-deep .f-fadeSlowIn{animation:var(--f-transition-duration, .5s) ease both f-fadeSlowIn;z-index:2}::ng-deep .f-fadeSlowOut{animation:var(--f-transition-duration, .5s) ease both f-fadeSlowOut;z-index:1}@keyframes f-fadeSlowIn{0%{opacity:0}to{opacity:1}}@keyframes f-fadeSlowOut{to{opacity:0}}::ng-deep .f-crossfadeIn{animation:var(--f-transition-duration, .2s) ease-out both f-crossfadeIn;z-index:2}::ng-deep .f-crossfadeOut{animation:calc(var(--f-transition-duration, .2s) * .5) linear .1s both f-crossfadeOut;z-index:1}@keyframes f-crossfadeIn{0%{opacity:0}to{opacity:1}}@keyframes f-crossfadeOut{to{opacity:0}}::ng-deep .f-slideIn.from-next{animation:var(--f-transition-duration, .85s) cubic-bezier(.16,1,.3,1) f-slideInNext}::ng-deep .f-slideIn.from-prev{animation:var(--f-transition-duration, .85s) cubic-bezier(.16,1,.3,1) f-slideInPrev}::ng-deep .f-slideOut.to-next{animation:var(--f-transition-duration, .85s) cubic-bezier(.16,1,.3,1) f-slideOutNext}::ng-deep .f-slideOut.to-prev{animation:var(--f-transition-duration, .85s) cubic-bezier(.16,1,.3,1) f-slideOutPrev}@keyframes f-slideInPrev{0%{transform:translate(100%)}to{transform:translateZ(0)}}@keyframes f-slideInNext{0%{transform:translate(-100%)}to{transform:translateZ(0)}}@keyframes f-slideOutNext{to{transform:translate(-100%)}}@keyframes f-slideOutPrev{to{transform:translate(100%)}}::ng-deep .f-classicIn.from-next{animation:var(--f-transition-duration, .85s) cubic-bezier(.16,1,.3,1) f-classicInNext;z-index:2}::ng-deep .f-classicIn.from-prev{animation:var(--f-transition-duration, .85s) cubic-bezier(.16,1,.3,1) f-classicInPrev;z-index:2}::ng-deep .f-classicOut.to-next{animation:var(--f-transition-duration, .85s) cubic-bezier(.16,1,.3,1) f-classicOutNext;z-index:1}::ng-deep .f-classicOut.to-prev{animation:var(--f-transition-duration, .85s) cubic-bezier(.16,1,.3,1) f-classicOutPrev;z-index:1}@keyframes f-classicInNext{0%{transform:translate(-75px);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes f-classicInPrev{0%{transform:translate(75px);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes f-classicOutNext{to{transform:translate(-75px);opacity:0}}@keyframes f-classicOutPrev{to{transform:translate(75px);opacity:0}}::ng-deep :root{--f-button-width: 40px;--f-button-height: 40px;--f-button-border: 0;--f-button-border-radius: 0;--f-button-color: #374151;--f-button-bg: #f8f8f8;--f-button-hover-bg: #e0e0e0;--f-button-active-bg: #d0d0d0;--f-button-shadow: none;--f-button-transition: all .15s ease;--f-button-transform: none;--f-button-svg-width: 20px;--f-button-svg-height: 20px;--f-button-svg-stroke-width: 1.5;--f-button-svg-fill: none;--f-button-svg-filter: none;--f-button-svg-disabled-opacity: .65}::ng-deep .f-button{display:flex;justify-content:center;align-items:center;box-sizing:content-box;position:relative;margin:0;padding:0;width:var(--f-button-width);height:var(--f-button-height);border:var(--f-button-border);border-radius:var(--f-button-border-radius);color:var(--f-button-color);background:var(--f-button-bg);box-shadow:var(--f-button-shadow);pointer-events:all;cursor:pointer;transition:var(--f-button-transition)}@media (hover: hover){::ng-deep .f-button:hover:not([disabled]){color:var(--f-button-hover-color);background-color:var(--f-button-hover-bg)}}::ng-deep .f-button:active:not([disabled]){background-color:var(--f-button-active-bg)}::ng-deep .f-button:focus:not(:focus-visible){outline:none}::ng-deep .f-button:focus-visible{outline:none;box-shadow:inset 0 0 0 var(--f-button-outline, 2px) var(--f-button-outline-color, var(--f-button-color))}::ng-deep .f-button svg{width:var(--f-button-svg-width);height:var(--f-button-svg-height);fill:var(--f-button-svg-fill);stroke:currentColor;stroke-width:var(--f-button-svg-stroke-width);stroke-linecap:round;stroke-linejoin:round;transition:opacity .15s ease;transform:var(--f-button-transform);filter:var(--f-button-svg-filter);pointer-events:none}::ng-deep .f-button[disabled]{cursor:default}::ng-deep .f-button[disabled] svg{opacity:var(--f-button-svg-disabled-opacity)}::ng-deep .f-carousel__nav .f-button.is-prev,::ng-deep .f-carousel__nav .f-button.is-next,::ng-deep .fancybox__nav .f-button.is-prev,::ng-deep .fancybox__nav .f-button.is-next{position:absolute;z-index:1}::ng-deep .is-horizontal .f-carousel__nav .f-button.is-prev,::ng-deep .is-horizontal .f-carousel__nav .f-button.is-next,::ng-deep .is-horizontal .fancybox__nav .f-button.is-prev,::ng-deep .is-horizontal .fancybox__nav .f-button.is-next{top:50%;transform:translateY(-50%)}::ng-deep .is-horizontal .f-carousel__nav .f-button.is-prev,::ng-deep .is-horizontal .fancybox__nav .f-button.is-prev{left:var(--f-button-prev-pos)}::ng-deep .is-horizontal .f-carousel__nav .f-button.is-next,::ng-deep .is-horizontal .fancybox__nav .f-button.is-next{right:var(--f-button-next-pos)}::ng-deep .is-horizontal.is-rtl .f-carousel__nav .f-button.is-prev,::ng-deep .is-horizontal.is-rtl .fancybox__nav .f-button.is-prev{left:auto;right:var(--f-button-next-pos)}::ng-deep .is-horizontal.is-rtl .f-carousel__nav .f-button.is-next,::ng-deep .is-horizontal.is-rtl .fancybox__nav .f-button.is-next{right:auto;left:var(--f-button-prev-pos)}::ng-deep .is-vertical .f-carousel__nav .f-button.is-prev,::ng-deep .is-vertical .f-carousel__nav .f-button.is-next,::ng-deep .is-vertical .fancybox__nav .f-button.is-prev,::ng-deep .is-vertical .fancybox__nav .f-button.is-next{top:auto;left:50%;transform:translate(-50%)}::ng-deep .is-vertical .f-carousel__nav .f-button.is-prev,::ng-deep .is-vertical .fancybox__nav .f-button.is-prev{top:var(--f-button-next-pos)}::ng-deep .is-vertical .f-carousel__nav .f-button.is-next,::ng-deep .is-vertical .fancybox__nav .f-button.is-next{bottom:var(--f-button-next-pos)}::ng-deep .is-vertical .f-carousel__nav .f-button.is-prev svg,::ng-deep .is-vertical .f-carousel__nav .f-button.is-next svg,::ng-deep .is-vertical .fancybox__nav .f-button.is-prev svg,::ng-deep .is-vertical .fancybox__nav .f-button.is-next svg{transform:rotate(90deg)}::ng-deep html.with-fancybox{width:auto;overflow:visible;scroll-behavior:auto}::ng-deep html.with-fancybox body{touch-action:none}::ng-deep html.with-fancybox body.hide-scrollbar{width:auto;margin-right:calc(var(--fancybox-body-margin, 0px) + var(--fancybox-scrollbar-compensate, 0px));overflow:hidden!important;overscroll-behavior-y:none}::ng-deep .fancybox__container{--fancybox-color: #dbdbdb;--fancybox-hover-color: #fff;--fancybox-bg: rgba(24, 24, 27, .98);--fancybox-slide-gap: 10px;--f-spinner-width: 50px;--f-spinner-height: 50px;--f-spinner-color-1: rgba(255, 255, 255, .1);--f-spinner-color-2: #bbb;--f-spinner-stroke: 3.65;position:fixed;inset:0;direction:ltr;display:flex;flex-direction:column;box-sizing:border-box;margin:0;padding:0;color:#f8f8f8;-webkit-tap-highlight-color:rgba(0,0,0,0);overflow:visible;z-index:var(--fancybox-zIndex, 1050);outline:none;transform-origin:top left;-webkit-text-size-adjust:100%;-moz-text-size-adjust:none;-ms-text-size-adjust:100%;text-size-adjust:100%;overscroll-behavior-y:contain}::ng-deep .fancybox__container *,::ng-deep .fancybox__container *:before,::ng-deep .fancybox__container *:after{box-sizing:inherit}::ng-deep .fancybox__container::backdrop{background-color:#0000}::ng-deep .fancybox__backdrop{position:fixed;inset:0;z-index:-1;background:var(--fancybox-bg);opacity:var(--fancybox-opacity, 1);will-change:opacity}::ng-deep .fancybox__carousel{position:relative;box-sizing:border-box;flex:1;min-height:0;z-index:10;overflow-y:visible;overflow-x:clip}::ng-deep .fancybox__viewport{width:100%;height:100%}::ng-deep .fancybox__viewport.is-draggable{cursor:move;cursor:grab}::ng-deep .fancybox__viewport.is-dragging{cursor:move;cursor:grabbing}::ng-deep .fancybox__track{display:flex;margin:0 auto;height:100%}::ng-deep .fancybox__slide{flex:0 0 auto;position:relative;display:flex;flex-direction:column;align-items:center;width:100%;height:100%;margin:0 var(--fancybox-slide-gap) 0 0;padding:4px;overflow:auto;overscroll-behavior:contain;transform:translateZ(0);backface-visibility:hidden}::ng-deep .fancybox__container:not(.is-compact) .fancybox__slide.has-close-btn{padding-top:40px}::ng-deep .fancybox__slide.has-iframe,::ng-deep .fancybox__slide.has-video,::ng-deep .fancybox__slide.has-html5video{overflow:hidden}::ng-deep .fancybox__slide.has-image{overflow:hidden}::ng-deep .fancybox__slide.has-image.is-animating,::ng-deep .fancybox__slide.has-image.is-selected{overflow:visible}::ng-deep .fancybox__slide:before,::ng-deep .fancybox__slide:after{content:\"\";flex:0 0 0;margin:auto}::ng-deep .fancybox__content{align-self:center;display:flex;flex-direction:column;position:relative;margin:0;padding:2rem;max-width:100%;color:var(--fancybox-content-color, #374151);background:var(--fancybox-content-bg, #fff);cursor:default;border-radius:0;z-index:20}::ng-deep .is-loading .fancybox__content{opacity:0}::ng-deep .is-draggable .fancybox__content{cursor:move;cursor:grab}::ng-deep .can-zoom_in .fancybox__content{cursor:zoom-in}::ng-deep .can-zoom_out .fancybox__content{cursor:zoom-out}::ng-deep .is-dragging .fancybox__content{cursor:move;cursor:grabbing}::ng-deep .fancybox__content [data-selectable],::ng-deep .fancybox__content [contenteditable]{cursor:auto}::ng-deep .fancybox__slide.has-image>.fancybox__content{padding:0;background:#0000;min-height:1px;background-repeat:no-repeat;background-size:contain;background-position:center center;transition:none;transform:translateZ(0);backface-visibility:hidden}::ng-deep .fancybox__slide.has-image>.fancybox__content>picture>img{width:100%;height:auto;max-height:100%}::ng-deep .is-zooming-in .fancybox__viewport:not(.is-dragging) .fancybox__slide:not(.is-selected) .fancybox__content,::ng-deep .is-zooming-out .fancybox__viewport:not(.is-dragging) .fancybox__slide:not(.is-selected) .fancybox__content{visibility:hidden}::ng-deep .is-animating .fancybox__content,::ng-deep .is-dragging .fancybox__content{filter:blur(0px);will-change:transform,width,height}::ng-deep .fancybox-image{margin:auto;display:block;width:100%;height:100%;min-height:0;object-fit:contain;-webkit-user-select:none;user-select:none}::ng-deep .fancybox__caption{align-self:center;max-width:100%;flex-shrink:0;margin:0;padding:14px 0 4px;overflow-wrap:anywhere;line-height:1.375;color:var(--fancybox-color, currentColor);opacity:var(--fancybox-opacity, 1);cursor:auto;visibility:visible}::ng-deep .is-loading .fancybox__caption,::ng-deep .is-closing .fancybox__caption{opacity:0;visibility:hidden}::ng-deep .is-compact .fancybox__caption{padding-bottom:0}::ng-deep .f-button.is-close-btn{--f-button-svg-stroke-width: 2;position:absolute;top:0;right:8px;z-index:40}::ng-deep .fancybox__content>.f-button.is-close-btn{--f-button-width: 34px;--f-button-height: 34px;--f-button-border-radius: 4px;--f-button-color: var(--fancybox-color, #fff);--f-button-hover-color: var(--fancybox-color, #fff);--f-button-bg: transparent;--f-button-hover-bg: transparent;--f-button-active-bg: transparent;--f-button-svg-width: 22px;--f-button-svg-height: 22px;position:absolute;top:-38px;right:0;opacity:.75}::ng-deep .is-loading .fancybox__content>.f-button.is-close-btn{visibility:hidden}::ng-deep .is-zooming-out .fancybox__content>.f-button.is-close-btn{visibility:hidden}::ng-deep .fancybox__content>.f-button.is-close-btn:hover{opacity:1}::ng-deep .fancybox__footer{padding:0;margin:0;position:relative}::ng-deep .fancybox__footer .fancybox__caption{width:100%;padding:24px;opacity:var(--fancybox-opacity, 1);transition:all .25s ease}::ng-deep .is-compact .fancybox__footer{position:absolute;bottom:0;left:0;right:0;z-index:20;background:#18181b80}::ng-deep .is-compact .fancybox__footer .fancybox__caption{padding:12px}::ng-deep .is-compact .fancybox__content>.f-button.is-close-btn{--f-button-border-radius: 50%;--f-button-color: #fff;--f-button-hover-color: #fff;--f-button-outline-color: #000;--f-button-bg: rgba(0, 0, 0, .6);--f-button-active-bg: rgba(0, 0, 0, .6);--f-button-hover-bg: rgba(0, 0, 0, .6);--f-button-svg-width: 18px;--f-button-svg-height: 18px;--f-button-svg-filter: none;top:5px;right:5px}::ng-deep .fancybox__nav{--f-button-width: 50px;--f-button-height: 50px;--f-button-border: 0;--f-button-border-radius: 50%;--f-button-color: var(--fancybox-color);--f-button-hover-color: var(--fancybox-hover-color);--f-button-bg: transparent;--f-button-hover-bg: rgba(24, 24, 27, .3);--f-button-active-bg: rgba(24, 24, 27, .5);--f-button-shadow: none;--f-button-transition: all .15s ease;--f-button-transform: none;--f-button-svg-width: 26px;--f-button-svg-height: 26px;--f-button-svg-stroke-width: 2.5;--f-button-svg-fill: none;--f-button-svg-filter: drop-shadow(1px 1px 1px rgba(24, 24, 27, .5));--f-button-svg-disabled-opacity: .65;--f-button-next-pos: 1rem;--f-button-prev-pos: 1rem;opacity:var(--fancybox-opacity, 1)}::ng-deep .fancybox__nav .f-button:before{position:absolute;content:\"\";inset:-30px -20px;z-index:1}::ng-deep .is-idle .fancybox__nav{animation:.15s ease-out both f-fadeOut}::ng-deep .is-idle.is-compact .fancybox__footer{pointer-events:none;animation:.15s ease-out both f-fadeOut}::ng-deep .fancybox__slide>.f-spinner{position:absolute;top:50%;left:50%;margin:var(--f-spinner-top, calc(var(--f-spinner-width) * -.5)) 0 0 var(--f-spinner-left, calc(var(--f-spinner-height) * -.5));z-index:30;cursor:pointer}::ng-deep .fancybox-protected{position:absolute;inset:0;z-index:40;-webkit-user-select:none;user-select:none}::ng-deep .fancybox-ghost{position:absolute;top:0;left:0;width:100%;height:100%;min-height:0;object-fit:contain;z-index:40;-webkit-user-select:none;user-select:none;pointer-events:none}::ng-deep .fancybox-focus-guard{outline:none;opacity:0;position:fixed;pointer-events:none}::ng-deep .fancybox__container:not([aria-hidden]){opacity:0}::ng-deep .fancybox__container.is-animated[aria-hidden=false]>*:not(.fancybox__backdrop,.fancybox__carousel),::ng-deep .fancybox__container.is-animated[aria-hidden=false] .fancybox__carousel>*:not(.fancybox__viewport),::ng-deep .fancybox__container.is-animated[aria-hidden=false] .fancybox__slide>*:not(.fancybox__content){animation:var(--f-interface-enter-duration, .25s) ease .1s backwards f-fadeIn}::ng-deep .fancybox__container.is-animated[aria-hidden=false] .fancybox__backdrop{animation:var(--f-backdrop-enter-duration, .35s) ease backwards f-fadeIn}::ng-deep .fancybox__container.is-animated[aria-hidden=true]>*:not(.fancybox__backdrop,.fancybox__carousel),::ng-deep .fancybox__container.is-animated[aria-hidden=true] .fancybox__carousel>*:not(.fancybox__viewport),::ng-deep .fancybox__container.is-animated[aria-hidden=true] .fancybox__slide>*:not(.fancybox__content){animation:var(--f-interface-exit-duration, .15s) ease forwards f-fadeOut}::ng-deep .fancybox__container.is-animated[aria-hidden=true] .fancybox__backdrop{animation:var(--f-backdrop-exit-duration, .35s) ease forwards f-fadeOut}::ng-deep .has-iframe .fancybox__content,::ng-deep .has-map .fancybox__content,::ng-deep .has-pdf .fancybox__content,::ng-deep .has-youtube .fancybox__content,::ng-deep .has-vimeo .fancybox__content,::ng-deep .has-html5video .fancybox__content{max-width:100%;flex-shrink:1;min-height:1px;overflow:visible}::ng-deep .has-iframe .fancybox__content,::ng-deep .has-map .fancybox__content,::ng-deep .has-pdf .fancybox__content{width:calc(100% - 120px);height:90%}::ng-deep .fancybox__container.is-compact .has-iframe .fancybox__content,::ng-deep .fancybox__container.is-compact .has-map .fancybox__content,::ng-deep .fancybox__container.is-compact .has-pdf .fancybox__content{width:100%;height:100%}::ng-deep .has-youtube .fancybox__content,::ng-deep .has-vimeo .fancybox__content,::ng-deep .has-html5video .fancybox__content{width:960px;height:540px;max-width:100%;max-height:100%}::ng-deep .has-map .fancybox__content,::ng-deep .has-pdf .fancybox__content,::ng-deep .has-youtube .fancybox__content,::ng-deep .has-vimeo .fancybox__content,::ng-deep .has-html5video .fancybox__content{padding:0;background:#18181be6;color:#fff}::ng-deep .has-map .fancybox__content{background:#e5e3df}::ng-deep .fancybox__html5video,::ng-deep .fancybox__iframe{border:0;display:block;height:100%;width:100%;background:#0000}::ng-deep .fancybox-placeholder{border:0!important;clip:rect(1px,1px,1px,1px)!important;-webkit-clip-path:inset(50%)!important;clip-path:inset(50%)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;width:1px!important;white-space:nowrap!important}::ng-deep .f-carousel__thumbs{--f-thumb-width: 96px;--f-thumb-height: 72px;--f-thumb-outline: 0;--f-thumb-outline-color: #5eb0ef;--f-thumb-opacity: 1;--f-thumb-hover-opacity: 1;--f-thumb-selected-opacity: 1;--f-thumb-border-radius: 2px;--f-thumb-offset: 0px;--f-button-next-pos: 0;--f-button-prev-pos: 0}::ng-deep .f-carousel__thumbs.is-classic{--f-thumb-gap: 8px;--f-thumb-opacity: .5;--f-thumb-hover-opacity: 1;--f-thumb-selected-opacity: 1}::ng-deep .f-carousel__thumbs.is-modern{--f-thumb-gap: 4px;--f-thumb-extra-gap: 16px;--f-thumb-clip-width: 46px}::ng-deep .f-thumbs{position:relative;flex:0 0 auto;margin:0;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-user-select:none;user-select:none;perspective:1000px;transform:translateZ(0)}::ng-deep .f-thumbs .f-spinner{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:2px;background-image:linear-gradient(#ebeff2,#e2e8f0);z-index:-1}::ng-deep .f-thumbs .f-spinner svg{display:none}::ng-deep .f-thumbs.is-vertical{height:100%}::ng-deep .f-thumbs__viewport{width:100%;height:auto;overflow:hidden;transform:translateZ(0)}::ng-deep .f-thumbs__track{display:flex}::ng-deep .f-thumbs__slide{position:relative;flex:0 0 auto;box-sizing:content-box;display:flex;align-items:center;justify-content:center;padding:0;margin:0;width:var(--f-thumb-width);height:var(--f-thumb-height);overflow:visible;cursor:pointer}::ng-deep .f-thumbs__slide.is-loading img{opacity:0}::ng-deep .is-classic .f-thumbs__viewport{height:100%}::ng-deep .is-modern .f-thumbs__track{width:max-content}::ng-deep .is-modern .f-thumbs__track:before{content:\"\";position:absolute;top:0;bottom:0;left:calc((var(--f-thumb-clip-width, 0)) * -.5);width:calc(var(--width, 0) * 1px + var(--f-thumb-clip-width, 0));cursor:pointer}::ng-deep .is-modern .f-thumbs__slide{width:var(--f-thumb-clip-width);transform:translate3d(calc(var(--shift, 0) * -1px),0,0);transition:none;pointer-events:none}::ng-deep .is-modern.is-resting .f-thumbs__slide{transition:transform .33s ease}::ng-deep .is-modern.is-resting .f-thumbs__slide__button{transition:clip-path .33s ease}::ng-deep .is-using-tab .is-modern .f-thumbs__slide:focus-within{filter:drop-shadow(-1px 0px 0px var(--f-thumb-outline-color)) drop-shadow(2px 0px 0px var(--f-thumb-outline-color)) drop-shadow(0px -1px 0px var(--f-thumb-outline-color)) drop-shadow(0px 2px 0px var(--f-thumb-outline-color))}::ng-deep .f-thumbs__slide__button{appearance:none;width:var(--f-thumb-width);height:100%;margin:0 -100%;padding:0;border:0;position:relative;border-radius:var(--f-thumb-border-radius);overflow:hidden;background:#0000;outline:none;cursor:pointer;pointer-events:auto;touch-action:manipulation;opacity:var(--f-thumb-opacity);transition:opacity .2s ease}::ng-deep .f-thumbs__slide__button:hover{opacity:var(--f-thumb-hover-opacity)}::ng-deep .f-thumbs__slide__button:focus:not(:focus-visible){outline:none}::ng-deep .f-thumbs__slide__button:focus-visible{outline:none;opacity:var(--f-thumb-selected-opacity)}::ng-deep .is-modern .f-thumbs__slide__button{--clip-path: inset(0 calc((var(--f-thumb-width, 0) - var(--f-thumb-clip-width, 0)) * (1 - var(--progress, 0)) * .5) round var(--f-thumb-border-radius, 0));clip-path:var(--clip-path)}::ng-deep .is-classic .is-nav-selected .f-thumbs__slide__button{opacity:var(--f-thumb-selected-opacity)}::ng-deep .is-classic .is-nav-selected .f-thumbs__slide__button:after{content:\"\";position:absolute;inset:0;height:auto;border:var(--f-thumb-outline, 0) solid var(--f-thumb-outline-color, transparent);border-radius:var(--f-thumb-border-radius);animation:f-fadeIn .2s ease-out;z-index:10}::ng-deep .f-thumbs__slide__img{overflow:hidden;position:absolute;inset:0;width:100%;height:100%;margin:0;padding:var(--f-thumb-offset);box-sizing:border-box;pointer-events:none;object-fit:cover;border-radius:var(--f-thumb-border-radius)}::ng-deep .f-thumbs.is-horizontal .f-thumbs__track{padding:8px 0 12px}::ng-deep .f-thumbs.is-horizontal .f-thumbs__slide{margin:0 var(--f-thumb-gap) 0 0}::ng-deep .f-thumbs.is-vertical .f-thumbs__track{flex-wrap:wrap;padding:0 8px}::ng-deep .f-thumbs.is-vertical .f-thumbs__slide{margin:0 0 var(--f-thumb-gap) 0}::ng-deep .fancybox__thumbs{--f-thumb-width: 96px;--f-thumb-height: 72px;--f-thumb-border-radius: 2px;--f-thumb-outline: 2px;--f-thumb-outline-color: #ededed;position:relative;opacity:var(--fancybox-opacity, 1);transition:max-height .35s cubic-bezier(.23,1,.32,1)}::ng-deep .fancybox__thumbs.is-classic{--f-thumb-gap: 8px;--f-thumb-opacity: .5;--f-thumb-hover-opacity: 1}::ng-deep .fancybox__thumbs.is-classic .f-spinner{background-image:linear-gradient(#ffffff1a,#ffffff0d)}::ng-deep .fancybox__thumbs.is-modern{--f-thumb-gap: 4px;--f-thumb-extra-gap: 16px;--f-thumb-clip-width: 46px;--f-thumb-opacity: 1;--f-thumb-hover-opacity: 1}::ng-deep .fancybox__thumbs.is-modern .f-spinner{background-image:linear-gradient(#ffffff1a,#ffffff0d)}::ng-deep .fancybox__thumbs.is-horizontal{padding:0 var(--f-thumb-gap)}::ng-deep .fancybox__thumbs.is-vertical{padding:var(--f-thumb-gap) 0}::ng-deep .is-compact .fancybox__thumbs{--f-thumb-width: 64px;--f-thumb-clip-width: 32px;--f-thumb-height: 48px;--f-thumb-extra-gap: 10px}::ng-deep .fancybox__thumbs.is-masked{max-height:0px!important}::ng-deep .is-closing .fancybox__thumbs{transition:none!important}::ng-deep .fancybox__toolbar{--f-progress-color: var(--fancybox-color, rgba(255, 255, 255, .94));--f-button-width: 46px;--f-button-height: 46px;--f-button-color: var(--fancybox-color);--f-button-hover-color: var(--fancybox-hover-color);--f-button-bg: rgba(24, 24, 27, .65);--f-button-hover-bg: rgba(70, 70, 73, .65);--f-button-active-bg: rgba(90, 90, 93, .65);--f-button-border-radius: 0;--f-button-svg-width: 24px;--f-button-svg-height: 24px;--f-button-svg-stroke-width: 1.5;--f-button-svg-filter: drop-shadow(1px 1px 1px rgba(24, 24, 27, .15));--f-button-svg-fill: none;--f-button-svg-disabled-opacity: .65;display:flex;flex-direction:row;justify-content:space-between;margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI Adjusted,Segoe UI,Liberation Sans,sans-serif;color:var(--fancybox-color, currentColor);opacity:var(--fancybox-opacity, 1);text-shadow:var(--fancybox-toolbar-text-shadow, 1px 1px 1px rgba(0, 0, 0, .5));pointer-events:none;z-index:20}::ng-deep .fancybox__toolbar :focus-visible{z-index:1}::ng-deep .fancybox__toolbar.is-absolute,::ng-deep .is-compact .fancybox__toolbar{position:absolute;top:0;left:0;right:0}::ng-deep .is-idle .fancybox__toolbar{pointer-events:none;animation:.15s ease-out both f-fadeOut}::ng-deep .fancybox__toolbar__column{display:flex;flex-direction:row;flex-wrap:wrap;align-content:flex-start}::ng-deep .fancybox__toolbar__column.is-left,::ng-deep .fancybox__toolbar__column.is-right{flex-grow:1;flex-basis:0}::ng-deep .fancybox__toolbar__column.is-right{display:flex;justify-content:flex-end;flex-wrap:nowrap}::ng-deep .fancybox__infobar{padding:0 5px;line-height:var(--f-button-height);text-align:center;font-size:17px;font-variant-numeric:tabular-nums;-webkit-font-smoothing:subpixel-antialiased;cursor:default;-webkit-user-select:none;user-select:none}::ng-deep .fancybox__infobar span{padding:0 5px}::ng-deep .fancybox__infobar:not(:first-child):not(:last-child){background:var(--f-button-bg)}::ng-deep [data-fancybox-toggle-slideshow]{position:relative}::ng-deep [data-fancybox-toggle-slideshow] .f-progress{height:100%;opacity:.3}::ng-deep [data-fancybox-toggle-slideshow] svg g:first-child{display:flex}::ng-deep [data-fancybox-toggle-slideshow] svg g:last-child{display:none}::ng-deep .has-slideshow [data-fancybox-toggle-slideshow] svg g:first-child{display:none}::ng-deep .has-slideshow [data-fancybox-toggle-slideshow] svg g:last-child{display:flex}::ng-deep [data-fancybox-toggle-fullscreen] svg g:first-child{display:flex}::ng-deep [data-fancybox-toggle-fullscreen] svg g:last-child{display:none}::ng-deep :fullscreen [data-fancybox-toggle-fullscreen] svg g:first-child{display:none}::ng-deep :fullscreen [data-fancybox-toggle-fullscreen] svg g:last-child{display:flex}::ng-deep .f-progress{position:absolute;top:0;left:0;right:0;height:3px;transform:scaleX(0);transform-origin:0;transition-property:transform;transition-timing-function:linear;background:var(--f-progress-color, var(--f-carousel-theme-color, #0091ff));z-index:30;-webkit-user-select:none;user-select:none;pointer-events:none}.mrx-gallery-row{row-gap:16px}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.ButtonComponent, selector: "mrx-button", inputs: ["size", "type", "color", "iconPosition", "active", "disabled", "isLoading", "iconOnly", "customClasses", "label", "icon", "iconClass", "buttonType"], outputs: ["mrxClick"] }, { kind: "component", type: i4.GalleryItemComponent, selector: "mrx-gallery-item", inputs: ["preview", "index", "isEditing", "descriptionMaxLength", "deleteEndPoint", "updateEndPoint", "rotateSlides", "isLoading"], outputs: ["openGalleryModal", "deletePhoto", "updatePhoto"] }] });
|
|
172
|
+
}
|
|
173
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GalleryComponent, decorators: [{
|
|
174
|
+
type: Component,
|
|
175
|
+
args: [{ selector: 'mrx-gallery', template: "<div class=\"mrx-gallery\" [class]=\"getClasses\">\r\n <div class=\"mrx-gallery-row row\">\r\n <div *ngFor=\"let preview of getData; trackBy: trackByFn; let index = index\" class=\"col col-12 col-sm-6 col-md-3\">\r\n <mrx-gallery-item\r\n [preview]=\"preview\"\r\n [index]=\"index\"\r\n [isEditing]=\"isEditing\"\r\n [descriptionMaxLength]=\"descriptionMaxLength\"\r\n [rotateSlides]=\"rotateSlides\"\r\n [isLoading]=\"isLoading\"\r\n [deleteEndPoint]=\"deleteEndPoint\"\r\n [updateEndPoint]=\"updateEndPoint\"\r\n (openGalleryModal)=\"openGalleryModal($event)\"\r\n (deletePhoto)=\"deletePhoto.emit($event)\"\r\n (updatePhoto)=\"updatePhoto.emit($event)\"\r\n ></mrx-gallery-item>\r\n </div>\r\n </div>\r\n\r\n <div class=\"row mt-3\" *ngIf=\"isShowMore\">\r\n <div class=\"col d-flex justify-content-center\">\r\n <mrx-button type=\"tertiary\" (mrxClick)=\"changeExpanded()\">\r\n {{ getIsExpanded ? '\u0421\u043A\u0440\u044B\u0442\u044C' : '\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0432\u0441\u0435 \u0444\u043E\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0438' }}\r\n <span\r\n class=\"mrx-icon icon-font-16 ml-2\"\r\n [class.icon-chevron-down]=\"!getIsExpanded\"\r\n [class.icon-chevron-up]=\"getIsExpanded\"\r\n ></span>\r\n </mrx-button>\r\n </div>\r\n </div>\r\n</div>\r\n", styles: ["::ng-deep :root{--f-spinner-width: 36px;--f-spinner-height: 36px;--f-spinner-color-1: rgba(0, 0, 0, .1);--f-spinner-color-2: rgba(17, 24, 28, .8);--f-spinner-stroke: 2.75}::ng-deep .f-spinner{margin:auto;padding:0;width:var(--f-spinner-width);height:var(--f-spinner-height)}::ng-deep .f-spinner svg{width:100%;height:100%;vertical-align:top;animation:f-spinner-rotate 2s linear infinite}::ng-deep .f-spinner svg *{stroke-width:var(--f-spinner-stroke);fill:none}::ng-deep .f-spinner svg *:first-child{stroke:var(--f-spinner-color-1)}::ng-deep .f-spinner svg *:last-child{stroke:var(--f-spinner-color-2);animation:f-spinner-dash 2s ease-in-out infinite}@keyframes f-spinner-rotate{to{transform:rotate(360deg)}}@keyframes f-spinner-dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}::ng-deep .f-throwOutUp{animation:var(--f-throw-out-duration, .175s) ease-out both f-throwOutUp}::ng-deep .f-throwOutDown{animation:var(--f-throw-out-duration, .175s) ease-out both f-throwOutDown}@keyframes f-throwOutUp{to{transform:translate3d(0,calc(var(--f-throw-out-distance, 150px) * -1),0);opacity:0}}@keyframes f-throwOutDown{to{transform:translate3d(0,var(--f-throw-out-distance, 150px),0);opacity:0}}::ng-deep .f-zoomInUp{animation:var(--f-transition-duration, .2s) ease .1s both f-zoomInUp}::ng-deep .f-zoomOutDown{animation:var(--f-transition-duration, .2s) ease both f-zoomOutDown}@keyframes f-zoomInUp{0%{transform:scale(.975) translate3d(0,16px,0);opacity:0}to{transform:scale(1) translateZ(0);opacity:1}}@keyframes f-zoomOutDown{to{transform:scale(.975) translate3d(0,16px,0);opacity:0}}::ng-deep .f-fadeIn{animation:var(--f-transition-duration, .2s) ease both f-fadeIn;z-index:2}::ng-deep .f-fadeOut{animation:var(--f-transition-duration, .2s) ease both f-fadeOut;z-index:1}@keyframes f-fadeIn{0%{opacity:0}to{opacity:1}}@keyframes f-fadeOut{to{opacity:0}}::ng-deep .f-fadeFastIn{animation:var(--f-transition-duration, .2s) ease-out both f-fadeFastIn;z-index:2}::ng-deep .f-fadeFastOut{animation:var(--f-transition-duration, .1s) ease-out both f-fadeFastOut;z-index:2}@keyframes f-fadeFastIn{0%{opacity:.75}to{opacity:1}}@keyframes f-fadeFastOut{to{opacity:0}}::ng-deep .f-fadeSlowIn{animation:var(--f-transition-duration, .5s) ease both f-fadeSlowIn;z-index:2}::ng-deep .f-fadeSlowOut{animation:var(--f-transition-duration, .5s) ease both f-fadeSlowOut;z-index:1}@keyframes f-fadeSlowIn{0%{opacity:0}to{opacity:1}}@keyframes f-fadeSlowOut{to{opacity:0}}::ng-deep .f-crossfadeIn{animation:var(--f-transition-duration, .2s) ease-out both f-crossfadeIn;z-index:2}::ng-deep .f-crossfadeOut{animation:calc(var(--f-transition-duration, .2s) * .5) linear .1s both f-crossfadeOut;z-index:1}@keyframes f-crossfadeIn{0%{opacity:0}to{opacity:1}}@keyframes f-crossfadeOut{to{opacity:0}}::ng-deep .f-slideIn.from-next{animation:var(--f-transition-duration, .85s) cubic-bezier(.16,1,.3,1) f-slideInNext}::ng-deep .f-slideIn.from-prev{animation:var(--f-transition-duration, .85s) cubic-bezier(.16,1,.3,1) f-slideInPrev}::ng-deep .f-slideOut.to-next{animation:var(--f-transition-duration, .85s) cubic-bezier(.16,1,.3,1) f-slideOutNext}::ng-deep .f-slideOut.to-prev{animation:var(--f-transition-duration, .85s) cubic-bezier(.16,1,.3,1) f-slideOutPrev}@keyframes f-slideInPrev{0%{transform:translate(100%)}to{transform:translateZ(0)}}@keyframes f-slideInNext{0%{transform:translate(-100%)}to{transform:translateZ(0)}}@keyframes f-slideOutNext{to{transform:translate(-100%)}}@keyframes f-slideOutPrev{to{transform:translate(100%)}}::ng-deep .f-classicIn.from-next{animation:var(--f-transition-duration, .85s) cubic-bezier(.16,1,.3,1) f-classicInNext;z-index:2}::ng-deep .f-classicIn.from-prev{animation:var(--f-transition-duration, .85s) cubic-bezier(.16,1,.3,1) f-classicInPrev;z-index:2}::ng-deep .f-classicOut.to-next{animation:var(--f-transition-duration, .85s) cubic-bezier(.16,1,.3,1) f-classicOutNext;z-index:1}::ng-deep .f-classicOut.to-prev{animation:var(--f-transition-duration, .85s) cubic-bezier(.16,1,.3,1) f-classicOutPrev;z-index:1}@keyframes f-classicInNext{0%{transform:translate(-75px);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes f-classicInPrev{0%{transform:translate(75px);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes f-classicOutNext{to{transform:translate(-75px);opacity:0}}@keyframes f-classicOutPrev{to{transform:translate(75px);opacity:0}}::ng-deep :root{--f-button-width: 40px;--f-button-height: 40px;--f-button-border: 0;--f-button-border-radius: 0;--f-button-color: #374151;--f-button-bg: #f8f8f8;--f-button-hover-bg: #e0e0e0;--f-button-active-bg: #d0d0d0;--f-button-shadow: none;--f-button-transition: all .15s ease;--f-button-transform: none;--f-button-svg-width: 20px;--f-button-svg-height: 20px;--f-button-svg-stroke-width: 1.5;--f-button-svg-fill: none;--f-button-svg-filter: none;--f-button-svg-disabled-opacity: .65}::ng-deep .f-button{display:flex;justify-content:center;align-items:center;box-sizing:content-box;position:relative;margin:0;padding:0;width:var(--f-button-width);height:var(--f-button-height);border:var(--f-button-border);border-radius:var(--f-button-border-radius);color:var(--f-button-color);background:var(--f-button-bg);box-shadow:var(--f-button-shadow);pointer-events:all;cursor:pointer;transition:var(--f-button-transition)}@media (hover: hover){::ng-deep .f-button:hover:not([disabled]){color:var(--f-button-hover-color);background-color:var(--f-button-hover-bg)}}::ng-deep .f-button:active:not([disabled]){background-color:var(--f-button-active-bg)}::ng-deep .f-button:focus:not(:focus-visible){outline:none}::ng-deep .f-button:focus-visible{outline:none;box-shadow:inset 0 0 0 var(--f-button-outline, 2px) var(--f-button-outline-color, var(--f-button-color))}::ng-deep .f-button svg{width:var(--f-button-svg-width);height:var(--f-button-svg-height);fill:var(--f-button-svg-fill);stroke:currentColor;stroke-width:var(--f-button-svg-stroke-width);stroke-linecap:round;stroke-linejoin:round;transition:opacity .15s ease;transform:var(--f-button-transform);filter:var(--f-button-svg-filter);pointer-events:none}::ng-deep .f-button[disabled]{cursor:default}::ng-deep .f-button[disabled] svg{opacity:var(--f-button-svg-disabled-opacity)}::ng-deep .f-carousel__nav .f-button.is-prev,::ng-deep .f-carousel__nav .f-button.is-next,::ng-deep .fancybox__nav .f-button.is-prev,::ng-deep .fancybox__nav .f-button.is-next{position:absolute;z-index:1}::ng-deep .is-horizontal .f-carousel__nav .f-button.is-prev,::ng-deep .is-horizontal .f-carousel__nav .f-button.is-next,::ng-deep .is-horizontal .fancybox__nav .f-button.is-prev,::ng-deep .is-horizontal .fancybox__nav .f-button.is-next{top:50%;transform:translateY(-50%)}::ng-deep .is-horizontal .f-carousel__nav .f-button.is-prev,::ng-deep .is-horizontal .fancybox__nav .f-button.is-prev{left:var(--f-button-prev-pos)}::ng-deep .is-horizontal .f-carousel__nav .f-button.is-next,::ng-deep .is-horizontal .fancybox__nav .f-button.is-next{right:var(--f-button-next-pos)}::ng-deep .is-horizontal.is-rtl .f-carousel__nav .f-button.is-prev,::ng-deep .is-horizontal.is-rtl .fancybox__nav .f-button.is-prev{left:auto;right:var(--f-button-next-pos)}::ng-deep .is-horizontal.is-rtl .f-carousel__nav .f-button.is-next,::ng-deep .is-horizontal.is-rtl .fancybox__nav .f-button.is-next{right:auto;left:var(--f-button-prev-pos)}::ng-deep .is-vertical .f-carousel__nav .f-button.is-prev,::ng-deep .is-vertical .f-carousel__nav .f-button.is-next,::ng-deep .is-vertical .fancybox__nav .f-button.is-prev,::ng-deep .is-vertical .fancybox__nav .f-button.is-next{top:auto;left:50%;transform:translate(-50%)}::ng-deep .is-vertical .f-carousel__nav .f-button.is-prev,::ng-deep .is-vertical .fancybox__nav .f-button.is-prev{top:var(--f-button-next-pos)}::ng-deep .is-vertical .f-carousel__nav .f-button.is-next,::ng-deep .is-vertical .fancybox__nav .f-button.is-next{bottom:var(--f-button-next-pos)}::ng-deep .is-vertical .f-carousel__nav .f-button.is-prev svg,::ng-deep .is-vertical .f-carousel__nav .f-button.is-next svg,::ng-deep .is-vertical .fancybox__nav .f-button.is-prev svg,::ng-deep .is-vertical .fancybox__nav .f-button.is-next svg{transform:rotate(90deg)}::ng-deep html.with-fancybox{width:auto;overflow:visible;scroll-behavior:auto}::ng-deep html.with-fancybox body{touch-action:none}::ng-deep html.with-fancybox body.hide-scrollbar{width:auto;margin-right:calc(var(--fancybox-body-margin, 0px) + var(--fancybox-scrollbar-compensate, 0px));overflow:hidden!important;overscroll-behavior-y:none}::ng-deep .fancybox__container{--fancybox-color: #dbdbdb;--fancybox-hover-color: #fff;--fancybox-bg: rgba(24, 24, 27, .98);--fancybox-slide-gap: 10px;--f-spinner-width: 50px;--f-spinner-height: 50px;--f-spinner-color-1: rgba(255, 255, 255, .1);--f-spinner-color-2: #bbb;--f-spinner-stroke: 3.65;position:fixed;inset:0;direction:ltr;display:flex;flex-direction:column;box-sizing:border-box;margin:0;padding:0;color:#f8f8f8;-webkit-tap-highlight-color:rgba(0,0,0,0);overflow:visible;z-index:var(--fancybox-zIndex, 1050);outline:none;transform-origin:top left;-webkit-text-size-adjust:100%;-moz-text-size-adjust:none;-ms-text-size-adjust:100%;text-size-adjust:100%;overscroll-behavior-y:contain}::ng-deep .fancybox__container *,::ng-deep .fancybox__container *:before,::ng-deep .fancybox__container *:after{box-sizing:inherit}::ng-deep .fancybox__container::backdrop{background-color:#0000}::ng-deep .fancybox__backdrop{position:fixed;inset:0;z-index:-1;background:var(--fancybox-bg);opacity:var(--fancybox-opacity, 1);will-change:opacity}::ng-deep .fancybox__carousel{position:relative;box-sizing:border-box;flex:1;min-height:0;z-index:10;overflow-y:visible;overflow-x:clip}::ng-deep .fancybox__viewport{width:100%;height:100%}::ng-deep .fancybox__viewport.is-draggable{cursor:move;cursor:grab}::ng-deep .fancybox__viewport.is-dragging{cursor:move;cursor:grabbing}::ng-deep .fancybox__track{display:flex;margin:0 auto;height:100%}::ng-deep .fancybox__slide{flex:0 0 auto;position:relative;display:flex;flex-direction:column;align-items:center;width:100%;height:100%;margin:0 var(--fancybox-slide-gap) 0 0;padding:4px;overflow:auto;overscroll-behavior:contain;transform:translateZ(0);backface-visibility:hidden}::ng-deep .fancybox__container:not(.is-compact) .fancybox__slide.has-close-btn{padding-top:40px}::ng-deep .fancybox__slide.has-iframe,::ng-deep .fancybox__slide.has-video,::ng-deep .fancybox__slide.has-html5video{overflow:hidden}::ng-deep .fancybox__slide.has-image{overflow:hidden}::ng-deep .fancybox__slide.has-image.is-animating,::ng-deep .fancybox__slide.has-image.is-selected{overflow:visible}::ng-deep .fancybox__slide:before,::ng-deep .fancybox__slide:after{content:\"\";flex:0 0 0;margin:auto}::ng-deep .fancybox__content{align-self:center;display:flex;flex-direction:column;position:relative;margin:0;padding:2rem;max-width:100%;color:var(--fancybox-content-color, #374151);background:var(--fancybox-content-bg, #fff);cursor:default;border-radius:0;z-index:20}::ng-deep .is-loading .fancybox__content{opacity:0}::ng-deep .is-draggable .fancybox__content{cursor:move;cursor:grab}::ng-deep .can-zoom_in .fancybox__content{cursor:zoom-in}::ng-deep .can-zoom_out .fancybox__content{cursor:zoom-out}::ng-deep .is-dragging .fancybox__content{cursor:move;cursor:grabbing}::ng-deep .fancybox__content [data-selectable],::ng-deep .fancybox__content [contenteditable]{cursor:auto}::ng-deep .fancybox__slide.has-image>.fancybox__content{padding:0;background:#0000;min-height:1px;background-repeat:no-repeat;background-size:contain;background-position:center center;transition:none;transform:translateZ(0);backface-visibility:hidden}::ng-deep .fancybox__slide.has-image>.fancybox__content>picture>img{width:100%;height:auto;max-height:100%}::ng-deep .is-zooming-in .fancybox__viewport:not(.is-dragging) .fancybox__slide:not(.is-selected) .fancybox__content,::ng-deep .is-zooming-out .fancybox__viewport:not(.is-dragging) .fancybox__slide:not(.is-selected) .fancybox__content{visibility:hidden}::ng-deep .is-animating .fancybox__content,::ng-deep .is-dragging .fancybox__content{filter:blur(0px);will-change:transform,width,height}::ng-deep .fancybox-image{margin:auto;display:block;width:100%;height:100%;min-height:0;object-fit:contain;-webkit-user-select:none;user-select:none}::ng-deep .fancybox__caption{align-self:center;max-width:100%;flex-shrink:0;margin:0;padding:14px 0 4px;overflow-wrap:anywhere;line-height:1.375;color:var(--fancybox-color, currentColor);opacity:var(--fancybox-opacity, 1);cursor:auto;visibility:visible}::ng-deep .is-loading .fancybox__caption,::ng-deep .is-closing .fancybox__caption{opacity:0;visibility:hidden}::ng-deep .is-compact .fancybox__caption{padding-bottom:0}::ng-deep .f-button.is-close-btn{--f-button-svg-stroke-width: 2;position:absolute;top:0;right:8px;z-index:40}::ng-deep .fancybox__content>.f-button.is-close-btn{--f-button-width: 34px;--f-button-height: 34px;--f-button-border-radius: 4px;--f-button-color: var(--fancybox-color, #fff);--f-button-hover-color: var(--fancybox-color, #fff);--f-button-bg: transparent;--f-button-hover-bg: transparent;--f-button-active-bg: transparent;--f-button-svg-width: 22px;--f-button-svg-height: 22px;position:absolute;top:-38px;right:0;opacity:.75}::ng-deep .is-loading .fancybox__content>.f-button.is-close-btn{visibility:hidden}::ng-deep .is-zooming-out .fancybox__content>.f-button.is-close-btn{visibility:hidden}::ng-deep .fancybox__content>.f-button.is-close-btn:hover{opacity:1}::ng-deep .fancybox__footer{padding:0;margin:0;position:relative}::ng-deep .fancybox__footer .fancybox__caption{width:100%;padding:24px;opacity:var(--fancybox-opacity, 1);transition:all .25s ease}::ng-deep .is-compact .fancybox__footer{position:absolute;bottom:0;left:0;right:0;z-index:20;background:#18181b80}::ng-deep .is-compact .fancybox__footer .fancybox__caption{padding:12px}::ng-deep .is-compact .fancybox__content>.f-button.is-close-btn{--f-button-border-radius: 50%;--f-button-color: #fff;--f-button-hover-color: #fff;--f-button-outline-color: #000;--f-button-bg: rgba(0, 0, 0, .6);--f-button-active-bg: rgba(0, 0, 0, .6);--f-button-hover-bg: rgba(0, 0, 0, .6);--f-button-svg-width: 18px;--f-button-svg-height: 18px;--f-button-svg-filter: none;top:5px;right:5px}::ng-deep .fancybox__nav{--f-button-width: 50px;--f-button-height: 50px;--f-button-border: 0;--f-button-border-radius: 50%;--f-button-color: var(--fancybox-color);--f-button-hover-color: var(--fancybox-hover-color);--f-button-bg: transparent;--f-button-hover-bg: rgba(24, 24, 27, .3);--f-button-active-bg: rgba(24, 24, 27, .5);--f-button-shadow: none;--f-button-transition: all .15s ease;--f-button-transform: none;--f-button-svg-width: 26px;--f-button-svg-height: 26px;--f-button-svg-stroke-width: 2.5;--f-button-svg-fill: none;--f-button-svg-filter: drop-shadow(1px 1px 1px rgba(24, 24, 27, .5));--f-button-svg-disabled-opacity: .65;--f-button-next-pos: 1rem;--f-button-prev-pos: 1rem;opacity:var(--fancybox-opacity, 1)}::ng-deep .fancybox__nav .f-button:before{position:absolute;content:\"\";inset:-30px -20px;z-index:1}::ng-deep .is-idle .fancybox__nav{animation:.15s ease-out both f-fadeOut}::ng-deep .is-idle.is-compact .fancybox__footer{pointer-events:none;animation:.15s ease-out both f-fadeOut}::ng-deep .fancybox__slide>.f-spinner{position:absolute;top:50%;left:50%;margin:var(--f-spinner-top, calc(var(--f-spinner-width) * -.5)) 0 0 var(--f-spinner-left, calc(var(--f-spinner-height) * -.5));z-index:30;cursor:pointer}::ng-deep .fancybox-protected{position:absolute;inset:0;z-index:40;-webkit-user-select:none;user-select:none}::ng-deep .fancybox-ghost{position:absolute;top:0;left:0;width:100%;height:100%;min-height:0;object-fit:contain;z-index:40;-webkit-user-select:none;user-select:none;pointer-events:none}::ng-deep .fancybox-focus-guard{outline:none;opacity:0;position:fixed;pointer-events:none}::ng-deep .fancybox__container:not([aria-hidden]){opacity:0}::ng-deep .fancybox__container.is-animated[aria-hidden=false]>*:not(.fancybox__backdrop,.fancybox__carousel),::ng-deep .fancybox__container.is-animated[aria-hidden=false] .fancybox__carousel>*:not(.fancybox__viewport),::ng-deep .fancybox__container.is-animated[aria-hidden=false] .fancybox__slide>*:not(.fancybox__content){animation:var(--f-interface-enter-duration, .25s) ease .1s backwards f-fadeIn}::ng-deep .fancybox__container.is-animated[aria-hidden=false] .fancybox__backdrop{animation:var(--f-backdrop-enter-duration, .35s) ease backwards f-fadeIn}::ng-deep .fancybox__container.is-animated[aria-hidden=true]>*:not(.fancybox__backdrop,.fancybox__carousel),::ng-deep .fancybox__container.is-animated[aria-hidden=true] .fancybox__carousel>*:not(.fancybox__viewport),::ng-deep .fancybox__container.is-animated[aria-hidden=true] .fancybox__slide>*:not(.fancybox__content){animation:var(--f-interface-exit-duration, .15s) ease forwards f-fadeOut}::ng-deep .fancybox__container.is-animated[aria-hidden=true] .fancybox__backdrop{animation:var(--f-backdrop-exit-duration, .35s) ease forwards f-fadeOut}::ng-deep .has-iframe .fancybox__content,::ng-deep .has-map .fancybox__content,::ng-deep .has-pdf .fancybox__content,::ng-deep .has-youtube .fancybox__content,::ng-deep .has-vimeo .fancybox__content,::ng-deep .has-html5video .fancybox__content{max-width:100%;flex-shrink:1;min-height:1px;overflow:visible}::ng-deep .has-iframe .fancybox__content,::ng-deep .has-map .fancybox__content,::ng-deep .has-pdf .fancybox__content{width:calc(100% - 120px);height:90%}::ng-deep .fancybox__container.is-compact .has-iframe .fancybox__content,::ng-deep .fancybox__container.is-compact .has-map .fancybox__content,::ng-deep .fancybox__container.is-compact .has-pdf .fancybox__content{width:100%;height:100%}::ng-deep .has-youtube .fancybox__content,::ng-deep .has-vimeo .fancybox__content,::ng-deep .has-html5video .fancybox__content{width:960px;height:540px;max-width:100%;max-height:100%}::ng-deep .has-map .fancybox__content,::ng-deep .has-pdf .fancybox__content,::ng-deep .has-youtube .fancybox__content,::ng-deep .has-vimeo .fancybox__content,::ng-deep .has-html5video .fancybox__content{padding:0;background:#18181be6;color:#fff}::ng-deep .has-map .fancybox__content{background:#e5e3df}::ng-deep .fancybox__html5video,::ng-deep .fancybox__iframe{border:0;display:block;height:100%;width:100%;background:#0000}::ng-deep .fancybox-placeholder{border:0!important;clip:rect(1px,1px,1px,1px)!important;-webkit-clip-path:inset(50%)!important;clip-path:inset(50%)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;width:1px!important;white-space:nowrap!important}::ng-deep .f-carousel__thumbs{--f-thumb-width: 96px;--f-thumb-height: 72px;--f-thumb-outline: 0;--f-thumb-outline-color: #5eb0ef;--f-thumb-opacity: 1;--f-thumb-hover-opacity: 1;--f-thumb-selected-opacity: 1;--f-thumb-border-radius: 2px;--f-thumb-offset: 0px;--f-button-next-pos: 0;--f-button-prev-pos: 0}::ng-deep .f-carousel__thumbs.is-classic{--f-thumb-gap: 8px;--f-thumb-opacity: .5;--f-thumb-hover-opacity: 1;--f-thumb-selected-opacity: 1}::ng-deep .f-carousel__thumbs.is-modern{--f-thumb-gap: 4px;--f-thumb-extra-gap: 16px;--f-thumb-clip-width: 46px}::ng-deep .f-thumbs{position:relative;flex:0 0 auto;margin:0;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-user-select:none;user-select:none;perspective:1000px;transform:translateZ(0)}::ng-deep .f-thumbs .f-spinner{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:2px;background-image:linear-gradient(#ebeff2,#e2e8f0);z-index:-1}::ng-deep .f-thumbs .f-spinner svg{display:none}::ng-deep .f-thumbs.is-vertical{height:100%}::ng-deep .f-thumbs__viewport{width:100%;height:auto;overflow:hidden;transform:translateZ(0)}::ng-deep .f-thumbs__track{display:flex}::ng-deep .f-thumbs__slide{position:relative;flex:0 0 auto;box-sizing:content-box;display:flex;align-items:center;justify-content:center;padding:0;margin:0;width:var(--f-thumb-width);height:var(--f-thumb-height);overflow:visible;cursor:pointer}::ng-deep .f-thumbs__slide.is-loading img{opacity:0}::ng-deep .is-classic .f-thumbs__viewport{height:100%}::ng-deep .is-modern .f-thumbs__track{width:max-content}::ng-deep .is-modern .f-thumbs__track:before{content:\"\";position:absolute;top:0;bottom:0;left:calc((var(--f-thumb-clip-width, 0)) * -.5);width:calc(var(--width, 0) * 1px + var(--f-thumb-clip-width, 0));cursor:pointer}::ng-deep .is-modern .f-thumbs__slide{width:var(--f-thumb-clip-width);transform:translate3d(calc(var(--shift, 0) * -1px),0,0);transition:none;pointer-events:none}::ng-deep .is-modern.is-resting .f-thumbs__slide{transition:transform .33s ease}::ng-deep .is-modern.is-resting .f-thumbs__slide__button{transition:clip-path .33s ease}::ng-deep .is-using-tab .is-modern .f-thumbs__slide:focus-within{filter:drop-shadow(-1px 0px 0px var(--f-thumb-outline-color)) drop-shadow(2px 0px 0px var(--f-thumb-outline-color)) drop-shadow(0px -1px 0px var(--f-thumb-outline-color)) drop-shadow(0px 2px 0px var(--f-thumb-outline-color))}::ng-deep .f-thumbs__slide__button{appearance:none;width:var(--f-thumb-width);height:100%;margin:0 -100%;padding:0;border:0;position:relative;border-radius:var(--f-thumb-border-radius);overflow:hidden;background:#0000;outline:none;cursor:pointer;pointer-events:auto;touch-action:manipulation;opacity:var(--f-thumb-opacity);transition:opacity .2s ease}::ng-deep .f-thumbs__slide__button:hover{opacity:var(--f-thumb-hover-opacity)}::ng-deep .f-thumbs__slide__button:focus:not(:focus-visible){outline:none}::ng-deep .f-thumbs__slide__button:focus-visible{outline:none;opacity:var(--f-thumb-selected-opacity)}::ng-deep .is-modern .f-thumbs__slide__button{--clip-path: inset(0 calc((var(--f-thumb-width, 0) - var(--f-thumb-clip-width, 0)) * (1 - var(--progress, 0)) * .5) round var(--f-thumb-border-radius, 0));clip-path:var(--clip-path)}::ng-deep .is-classic .is-nav-selected .f-thumbs__slide__button{opacity:var(--f-thumb-selected-opacity)}::ng-deep .is-classic .is-nav-selected .f-thumbs__slide__button:after{content:\"\";position:absolute;inset:0;height:auto;border:var(--f-thumb-outline, 0) solid var(--f-thumb-outline-color, transparent);border-radius:var(--f-thumb-border-radius);animation:f-fadeIn .2s ease-out;z-index:10}::ng-deep .f-thumbs__slide__img{overflow:hidden;position:absolute;inset:0;width:100%;height:100%;margin:0;padding:var(--f-thumb-offset);box-sizing:border-box;pointer-events:none;object-fit:cover;border-radius:var(--f-thumb-border-radius)}::ng-deep .f-thumbs.is-horizontal .f-thumbs__track{padding:8px 0 12px}::ng-deep .f-thumbs.is-horizontal .f-thumbs__slide{margin:0 var(--f-thumb-gap) 0 0}::ng-deep .f-thumbs.is-vertical .f-thumbs__track{flex-wrap:wrap;padding:0 8px}::ng-deep .f-thumbs.is-vertical .f-thumbs__slide{margin:0 0 var(--f-thumb-gap) 0}::ng-deep .fancybox__thumbs{--f-thumb-width: 96px;--f-thumb-height: 72px;--f-thumb-border-radius: 2px;--f-thumb-outline: 2px;--f-thumb-outline-color: #ededed;position:relative;opacity:var(--fancybox-opacity, 1);transition:max-height .35s cubic-bezier(.23,1,.32,1)}::ng-deep .fancybox__thumbs.is-classic{--f-thumb-gap: 8px;--f-thumb-opacity: .5;--f-thumb-hover-opacity: 1}::ng-deep .fancybox__thumbs.is-classic .f-spinner{background-image:linear-gradient(#ffffff1a,#ffffff0d)}::ng-deep .fancybox__thumbs.is-modern{--f-thumb-gap: 4px;--f-thumb-extra-gap: 16px;--f-thumb-clip-width: 46px;--f-thumb-opacity: 1;--f-thumb-hover-opacity: 1}::ng-deep .fancybox__thumbs.is-modern .f-spinner{background-image:linear-gradient(#ffffff1a,#ffffff0d)}::ng-deep .fancybox__thumbs.is-horizontal{padding:0 var(--f-thumb-gap)}::ng-deep .fancybox__thumbs.is-vertical{padding:var(--f-thumb-gap) 0}::ng-deep .is-compact .fancybox__thumbs{--f-thumb-width: 64px;--f-thumb-clip-width: 32px;--f-thumb-height: 48px;--f-thumb-extra-gap: 10px}::ng-deep .fancybox__thumbs.is-masked{max-height:0px!important}::ng-deep .is-closing .fancybox__thumbs{transition:none!important}::ng-deep .fancybox__toolbar{--f-progress-color: var(--fancybox-color, rgba(255, 255, 255, .94));--f-button-width: 46px;--f-button-height: 46px;--f-button-color: var(--fancybox-color);--f-button-hover-color: var(--fancybox-hover-color);--f-button-bg: rgba(24, 24, 27, .65);--f-button-hover-bg: rgba(70, 70, 73, .65);--f-button-active-bg: rgba(90, 90, 93, .65);--f-button-border-radius: 0;--f-button-svg-width: 24px;--f-button-svg-height: 24px;--f-button-svg-stroke-width: 1.5;--f-button-svg-filter: drop-shadow(1px 1px 1px rgba(24, 24, 27, .15));--f-button-svg-fill: none;--f-button-svg-disabled-opacity: .65;display:flex;flex-direction:row;justify-content:space-between;margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI Adjusted,Segoe UI,Liberation Sans,sans-serif;color:var(--fancybox-color, currentColor);opacity:var(--fancybox-opacity, 1);text-shadow:var(--fancybox-toolbar-text-shadow, 1px 1px 1px rgba(0, 0, 0, .5));pointer-events:none;z-index:20}::ng-deep .fancybox__toolbar :focus-visible{z-index:1}::ng-deep .fancybox__toolbar.is-absolute,::ng-deep .is-compact .fancybox__toolbar{position:absolute;top:0;left:0;right:0}::ng-deep .is-idle .fancybox__toolbar{pointer-events:none;animation:.15s ease-out both f-fadeOut}::ng-deep .fancybox__toolbar__column{display:flex;flex-direction:row;flex-wrap:wrap;align-content:flex-start}::ng-deep .fancybox__toolbar__column.is-left,::ng-deep .fancybox__toolbar__column.is-right{flex-grow:1;flex-basis:0}::ng-deep .fancybox__toolbar__column.is-right{display:flex;justify-content:flex-end;flex-wrap:nowrap}::ng-deep .fancybox__infobar{padding:0 5px;line-height:var(--f-button-height);text-align:center;font-size:17px;font-variant-numeric:tabular-nums;-webkit-font-smoothing:subpixel-antialiased;cursor:default;-webkit-user-select:none;user-select:none}::ng-deep .fancybox__infobar span{padding:0 5px}::ng-deep .fancybox__infobar:not(:first-child):not(:last-child){background:var(--f-button-bg)}::ng-deep [data-fancybox-toggle-slideshow]{position:relative}::ng-deep [data-fancybox-toggle-slideshow] .f-progress{height:100%;opacity:.3}::ng-deep [data-fancybox-toggle-slideshow] svg g:first-child{display:flex}::ng-deep [data-fancybox-toggle-slideshow] svg g:last-child{display:none}::ng-deep .has-slideshow [data-fancybox-toggle-slideshow] svg g:first-child{display:none}::ng-deep .has-slideshow [data-fancybox-toggle-slideshow] svg g:last-child{display:flex}::ng-deep [data-fancybox-toggle-fullscreen] svg g:first-child{display:flex}::ng-deep [data-fancybox-toggle-fullscreen] svg g:last-child{display:none}::ng-deep :fullscreen [data-fancybox-toggle-fullscreen] svg g:first-child{display:none}::ng-deep :fullscreen [data-fancybox-toggle-fullscreen] svg g:last-child{display:flex}::ng-deep .f-progress{position:absolute;top:0;left:0;right:0;height:3px;transform:scaleX(0);transform-origin:0;transition-property:transform;transition-timing-function:linear;background:var(--f-progress-color, var(--f-carousel-theme-color, #0091ff));z-index:30;-webkit-user-select:none;user-select:none;pointer-events:none}.mrx-gallery-row{row-gap:16px}\n"] }]
|
|
176
|
+
}], ctorParameters: () => [{ type: i1.GalleryService }], propDecorators: { data: [{
|
|
177
|
+
type: Input
|
|
178
|
+
}], isExpandable: [{
|
|
179
|
+
type: Input
|
|
180
|
+
}], customClasses: [{
|
|
181
|
+
type: Input
|
|
182
|
+
}], rotateEndPoint: [{
|
|
183
|
+
type: Input
|
|
184
|
+
}], deleteEndPoint: [{
|
|
185
|
+
type: Input
|
|
186
|
+
}], updateEndPoint: [{
|
|
187
|
+
type: Input
|
|
188
|
+
}], isEditing: [{
|
|
189
|
+
type: Input
|
|
190
|
+
}], isSaveRotate: [{
|
|
191
|
+
type: Input
|
|
192
|
+
}], descriptionMaxLength: [{
|
|
193
|
+
type: Input
|
|
194
|
+
}], thumbsConfig: [{
|
|
195
|
+
type: Input
|
|
196
|
+
}], toolbarConfig: [{
|
|
197
|
+
type: Input
|
|
198
|
+
}], deletePhoto: [{
|
|
199
|
+
type: Output
|
|
200
|
+
}], updatePhoto: [{
|
|
201
|
+
type: Output
|
|
202
|
+
}] } });
|
|
203
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2FsbGVyeS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9teXJ0YS11aS9zcmMvbGliL2NvbXBvbmVudHMvZ2FsbGVyeS9nYWxsZXJ5LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL215cnRhLXVpL3NyYy9saWIvY29tcG9uZW50cy9nYWxsZXJ5L2dhbGxlcnkuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQU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N0YW1wID0gKG5ldyBEYXRlKCkpLmdldFRpbWUoKTtcclxuICAgICAgICAgICAgICAgIH0sIDEwMDApXHJcbiAgICAgICAgICAgICAgfSlcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgICAgfVxyXG4gICAgICAgIH0sXHJcbiAgICAgICAgVG9vbGJhcjoge1xyXG4gICAgICAgICAgaXRlbXM6IHtcclxuICAgICAgICAgICAgcm90YXRlTGVmdDoge1xyXG4gICAgICAgICAgICAgIHRwbDogYFxyXG4gICAgICAgICAgICA8YnV0dG9uIHRpdGxlPVwiUm90YXRlIGNvdW50ZXJjbG9ja3dpc2VcIiBjbGFzcz1cImYtYnV0dG9uXCI+XHJcbiAgICAgICAgICAgICAgPHN2ZyB0YWJpbmRleD1cIi0xXCIgd2lkdGg9XCIyNFwiIGhlaWdodD1cIjI0XCIgdmlld0JveD1cIjAgMCAyNCAyNFwiIHhtbG5zPVwiaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmdcIj5cclxuICAgICAgICAgICAgICAgIDxwYXRoIGQ9XCJNMTUgNC41NWE4IDggMCAwIDAtNiAxNC45TTkgMTV2NUg0TTE4LjM3IDcuMTZ2LjAxTTEzIDE5Ljk0di4wMU0xNi44NCAxOC4zN3YuMDFNMTkuMzcgMTUuMXYuMDFNMTkuOTQgMTF2LjAxXCI+XHJcbiAgICAgICAgICAgICAgICA8L3BhdGg+XHJcbiAgICAgICAgICAgICAgPC9zdmc+XHJcbiAgICAgICAgICAgIDwvYnV0dG9uPlxyXG4gICAgICAgICAgYCxcclxuICAgICAgICAgICAgICBjbGljazogKGE6IGFueSkgPT4ge1xyXG4gICAgICAgICAgICAgICAgY29uc3Qgc2xpZGUgPSBhLmluc3RhbmNlLmdldFNsaWRlKCk7XHJcbiAgICAgICAgICAgICAgICBpZiAoIXNsaWRlKSByZXR1cm47XHJcblxyXG4gICAgICAgICAgICAgICAgY29uc3QgZm91bmRSb3RhdGVTbGlkZSA9IHRoaXMucm90YXRlU2xpZGVzLmZpbmQoKHMpID0+IHMucHJldmlld0ltYWdlSWQgPT09IHNsaWRlLnByZXZpZXdJbWFnZUlkKTtcclxuXHJcbiAgICAgICAgICAgICAgICBpZiAoZm91bmRSb3RhdGVTbGlkZSkge1xyXG4gICAgICAgICAgICAgICAgICB0aGlzLnJvdGF0ZVNsaWRlcyA9IHRoaXMucm90YXRlU2xpZGVzLm1hcCgocykgPT4ge1xyXG4gICAgICAgICAgICAgICAgICAgIGlmIChzLnByZXZpZXdJbWFnZUlkID09PSBmb3VuZFJvdGF0ZVNsaWRlLnByZXZpZXdJbWFnZUlkKSB7XHJcbiAgICAgICAgICAgICAgICAgICAgICBzLnJvdGF0ZSA9IHMucm90YXRlID09PSAtMjcwID8gMCA6IHMucm90YXRlIC0gOTA7XHJcbiAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBzO1xyXG4gICAgICAgICAgICAgICAgICB9KS5maWx0ZXIoKHMpID0+IHMucm90YXRlICE9PSAwKTtcclxuICAgICAgICAgICAgICAgIH0gZWxzZSB7XHJcbiAgICAgICAgICAgICAgICAgIHRoaXMucm90YXRlU2xpZGVzLnB1c2goe1xyXG4gICAgICAgICAgICAgICAgICAgIHByZXZpZXdJbWFnZUlkOiBzbGlkZS5wcmV2aWV3SW1hZ2VJZCxcclxuICAgICAgICAgICAgICAgICAgICByb3RhdGU6IC05MFxyXG4gICAgICAgICAgICAgICAgICB9KTtcclxuICAgICAgICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICAgICAgICBzbGlkZS5wYW56b29tPy5yb3RhdGVDQ1coKVxyXG4gICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgfSxcclxuICAgICAgICAgICAgcm90YXRlUmlnaHQ6IHtcclxuICAgICAgICAgICAgICB0cGw6IGBcclxuICAgICAgICAgICAgPGJ1dHRvbiB0aXRsZT1cIlJvdGF0ZSBjbG9ja3dpc2VcIiBjbGFzcz1cImYtYnV0dG9uXCI+XHJcbiAgICAgICAgICAgICAgPHN2ZyB0YWJpbmRleD1cIi0xXCIgd2lkdGg9XCIyNFwiIGhlaWdodD1cIjI0XCIgdmlld0JveD1cIjAgMCAyNCAyNFwiIHhtbG5zPVwiaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmdcIj5cclxuICAgICAgICAgICAgICAgIDxwYXRoIGQ9XCJNOSA0LjU1YTggOCAwIDAgMSA2IDE0LjlNMTUgMTV2NWg1TTUuNjMgNy4xNnYuMDFNNC4wNiAxMXYuMDFNNC42MyAxNS4xdi4wMU03LjE2IDE4LjM3di4wMU0xMSAxOS45NHYuMDFcIj5cclxuICAgICAgICAgICAgICAgIDwvcGF0aD5cclxuICAgICAgICAgICAgICA8L3N2Zz5cclxuICAgICAgICAgICAgPC9idXR0b24+XHJcbiAgICAgICAgICBgLFxyXG4gICAgICAgICAgICAgIGNsaWNrOiAoYTogYW55KSA9PiB7XHJcbiAgICAgICAgICAgICAgICBjb25zdCBzbGlkZSA9IGEuaW5zdGFuY2UuZ2V0U2xpZGUoKTtcclxuICAgICAgICAgICAgICAgIGlmICghc2xpZGUpIHJldHVybjtcclxuXHJcbiAgICAgICAgICAgICAgICBjb25zdCBmb3VuZFJvdGF0ZVNsaWRlID0gdGhpcy5yb3RhdGVTbGlkZXMuZmluZCgocykgPT4gcy5wcmV2aWV3SW1hZ2VJZCA9PT0gc2xpZGUucHJldmlld0ltYWdlSWQpO1xyXG5cclxuICAgICAgICAgICAgICAgIGlmIChmb3VuZFJvdGF0ZVNsaWRlKSB7XHJcbiAgICAgICAgICAgICAgICAgIHRoaXMucm90YXRlU2xpZGVzID0gdGhpcy5yb3RhdGVTbGlkZXMubWFwKChzKSA9PiB7XHJcbiAgICAgICAgICAgICAgICAgICAgaWYgKHMucHJldmlld0ltYWdlSWQgPT09IGZvdW5kUm90YXRlU2xpZGUucHJldmlld0ltYWdlSWQpIHtcclxuICAgICAgICAgICAgICAgICAgICAgIHMucm90YXRlID0gcy5yb3RhdGUgPT09IDI3MCA/IDAgOiBzLnJvdGF0ZSArIDkwO1xyXG4gICAgICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgICAgICByZXR1cm4gcztcclxuICAgICAgICAgICAgICAgICAgfSkuZmlsdGVyKChzKSA9PiBzLnJvdGF0ZSAhPT0gMCk7XHJcbiAgICAgICAgICAgICAgICB9IGVsc2Uge1xyXG4gICAgICAgICAgICAgICAgICB0aGlzLnJvdGF0ZVNsaWRlcy5wdXNoKHtcclxuICAgICAgICAgICAgICAgICAgICBwcmV2aWV3SW1hZ2VJZDogc2xpZGUucHJldmlld0ltYWdlSWQsXHJcbiAgICAgICAgICAgICAgICAgICAgcm90YXRlOiA5MFxyXG4gICAgICAgICAgICAgICAgICB9KTtcclxuICAgICAgICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICAgICAgICBzbGlkZS5wYW56b29tPy5yb3RhdGVDVygpXHJcbiAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgICB9LFxyXG4gICAgICAgICAgZGlzcGxheTogY3VzdG9tVG9vbGJhckRlZmF1bHQsXHJcbiAgICAgICAgfSxcclxuICAgICAgICAuLi50aGlzLmRlZmF1bHRDb25maWdcclxuICAgICAgfSxcclxuICAgICAge31cclxuICAgICk7XHJcbiAgfVxyXG59XHJcbiIsIjxkaXYgY2xhc3M9XCJtcngtZ2FsbGVyeVwiIFtjbGFzc109XCJnZXRDbGFzc2VzXCI+XHJcbiAgPGRpdiBjbGFzcz1cIm1yeC1nYWxsZXJ5LXJvdyByb3dcIj5cclxuICAgIDxkaXYgKm5nRm9yPVwibGV0IHByZXZpZXcgb2YgZ2V0RGF0YTsgdHJhY2tCeTogdHJhY2tCeUZuOyBsZXQgaW5kZXggPSBpbmRleFwiIGNsYXNzPVwiY29sIGNvbC0xMiBjb2wtc20tNiBjb2wtbWQtM1wiPlxyXG4gICAgICA8bXJ4LWdhbGxlcnktaXRlbVxyXG4gICAgICAgIFtwcmV2aWV3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gICAgPHNwYW5cclxuICAgICAgICAgIGNsYXNzPVwibXJ4LWljb24gaWNvbi1mb250LTE2IG1sLTJcIlxyXG4gICAgICAgICAgW2NsYXNzLmljb24tY2hldnJvbi1kb3duXT1cIiFnZXRJc0V4cGFuZGVkXCJcclxuICAgICAgICAgIFtjbGFzcy5pY29uLWNoZXZyb24tdXBdPVwiZ2V0SXNFeHBhbmRlZFwiXHJcbiAgICAgICAgPjwvc3Bhbj5cclxuICAgICAgPC9tcngtYnV0dG9uPlxyXG4gICAgPC9kaXY+XHJcbiAgPC9kaXY+XHJcbjwvZGl2PlxyXG4iXX0=
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { FormsModule } from '@angular/forms';
|
|
4
|
+
import { GalleryComponent } from './gallery.component';
|
|
5
|
+
import { GalleryItemComponent } from './components/gallery-item/gallery-item.component';
|
|
6
|
+
import { ButtonModule } from '../button/button.module';
|
|
7
|
+
import { InputTextareaModule } from '../form/input-textarea/input-textarea.module';
|
|
8
|
+
import { LoaderModule } from '../loader/loader.module';
|
|
9
|
+
import { ModalModule } from '../modal/modal.module';
|
|
10
|
+
import { GalleryConfirmModalComponent } from './components/gallery-confirm-modal/gallery-confirm-modal.component';
|
|
11
|
+
import { SaveStoreModule } from "../../services";
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
export class GalleryModule {
|
|
14
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GalleryModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
15
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: GalleryModule, declarations: [GalleryComponent,
|
|
16
|
+
GalleryItemComponent,
|
|
17
|
+
GalleryConfirmModalComponent], imports: [CommonModule,
|
|
18
|
+
FormsModule,
|
|
19
|
+
ButtonModule,
|
|
20
|
+
InputTextareaModule,
|
|
21
|
+
LoaderModule,
|
|
22
|
+
ModalModule,
|
|
23
|
+
SaveStoreModule], exports: [GalleryComponent] });
|
|
24
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GalleryModule, imports: [CommonModule,
|
|
25
|
+
FormsModule,
|
|
26
|
+
ButtonModule,
|
|
27
|
+
InputTextareaModule,
|
|
28
|
+
LoaderModule,
|
|
29
|
+
ModalModule,
|
|
30
|
+
SaveStoreModule] });
|
|
31
|
+
}
|
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GalleryModule, decorators: [{
|
|
33
|
+
type: NgModule,
|
|
34
|
+
args: [{
|
|
35
|
+
declarations: [
|
|
36
|
+
GalleryComponent,
|
|
37
|
+
GalleryItemComponent,
|
|
38
|
+
GalleryConfirmModalComponent
|
|
39
|
+
],
|
|
40
|
+
imports: [
|
|
41
|
+
CommonModule,
|
|
42
|
+
FormsModule,
|
|
43
|
+
ButtonModule,
|
|
44
|
+
InputTextareaModule,
|
|
45
|
+
LoaderModule,
|
|
46
|
+
ModalModule,
|
|
47
|
+
SaveStoreModule
|
|
48
|
+
],
|
|
49
|
+
exports: [
|
|
50
|
+
GalleryComponent
|
|
51
|
+
]
|
|
52
|
+
}]
|
|
53
|
+
}] });
|
|
54
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2FsbGVyeS5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9teXJ0YS11aS9zcmMvbGliL2NvbXBvbmVudHMvZ2FsbGVyeS9nYWxsZXJ5Lm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0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0IGludGVyZmFjZSBHYWxsZXJ5SXRlbU1vZGVsIHtcclxuICB1dWlkOiBzdHJpbmcsXHJcbiAgaW1hZ2VOYW1lOiBzdHJpbmcsXHJcbiAgdXJsOiBzdHJpbmcsXHJcbiAgcHJldmlld1VybDogc3RyaW5nLFxyXG4gIGRlc2NyaXB0aW9uOiBzdHJpbmcsXHJcbiAgcHJldmlld0ltYWdlSWQ6IHN0cmluZyxcclxuICBbbmFtZTogc3RyaW5nXTogc3RyaW5nO1xyXG59XHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIEdhbGxlcnlJbm5lckl0ZW1Nb2RhbCB7XHJcbiAgc3JjOiBzdHJpbmcsXHJcbiAgdGh1bWI6IHN0cmluZyxcclxuICBjYXB0aW9uPzogc3RyaW5nLFxyXG4gIHR5cGU/OiAnaHRtbCcgfCAnYWpheCcgfCAnaW1hZ2UnIHwgJ2lubGluZScgfCAnY2xvbmUnIHwgJ2lmcmFtZScgfCAnbWFwJyB8ICdwZGYnIHwgJ2h0bWw1dmlkZW8nIHwgJ3lvdXR1YmUnIHwgJ3ZpbWVvJyB8IHVuZGVmaW5lZCxcclxuICB1dWlkOiBzdHJpbmcsXHJcbiAgaW1hZ2VOYW1lOiBzdHJpbmcsXHJcbiAgaW1hZ2VFbD86IEhUTUxJbWFnZUVsZW1lbnQsXHJcbiAgcHJldmlld0ltYWdlSWQ6IHN0cmluZyxcclxuICBlbD86IGFueVxyXG59XHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIEdhbGxlcnlSb3RhdGVTbGlkZXMge1xyXG4gIHByZXZpZXdJbWFnZUlkOiBzdHJpbmcsXHJcbiAgcm90YXRlOiBudW1iZXJcclxufVxyXG4iXX0=
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/common/http";
|
|
4
|
+
import * as i2 from "@ngrx/store";
|
|
5
|
+
export class GalleryService {
|
|
6
|
+
http;
|
|
7
|
+
_store;
|
|
8
|
+
constructor(http, _store) {
|
|
9
|
+
this.http = http;
|
|
10
|
+
this._store = _store;
|
|
11
|
+
}
|
|
12
|
+
rotate(rotatePhotos, url) {
|
|
13
|
+
return this.http.post(`${url}`, rotatePhotos);
|
|
14
|
+
}
|
|
15
|
+
delete(url, uuid) {
|
|
16
|
+
return this.http.delete(`${url}/${uuid}`);
|
|
17
|
+
}
|
|
18
|
+
update(url, uuid, newValue) {
|
|
19
|
+
return this.http.put(`${url}`, {
|
|
20
|
+
uuid: uuid,
|
|
21
|
+
description: newValue
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GalleryService, deps: [{ token: i1.HttpClient }, { token: i2.Store }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
25
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GalleryService, providedIn: 'root' });
|
|
26
|
+
}
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GalleryService, decorators: [{
|
|
28
|
+
type: Injectable,
|
|
29
|
+
args: [{
|
|
30
|
+
providedIn: 'root'
|
|
31
|
+
}]
|
|
32
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: i2.Store }] });
|
|
33
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2FsbGVyeS5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9jb21wb25lbnRzL2dhbGxlcnkvc2VydmljZXMvZ2FsbGVyeS5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQU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E9ic2VydmFibGUgfSBmcm9tICdyeGpzJztcclxuaW1wb3J0IHsgU3RvcmUgfSBmcm9tIFwiQG5ncngvc3RvcmVcIjtcclxuXHJcbmRlY2xhcmUgbGV0ICQ6IGFueTtcclxuXHJcbkBJbmplY3RhYmxlKHtcclxuICBwcm92aWRlZEluOiAncm9vdCdcclxufSlcclxuZXhwb3J0IGNsYXNzIEdhbGxlcnlTZXJ2aWNlIHtcclxuXHJcbiAgY29uc3RydWN0b3IoXHJcbiAgICBwcml2YXRlIGh0dHA6IEh0dHBDbGllbnQsXHJcbiAgICBwcml2YXRlIF9zdG9yZTogU3RvcmVcclxuICApIHtcclxuICB9XHJcblxyXG4gIHJvdGF0ZShyb3RhdGVQaG90b3M6IGFueVtdLCB1cmw6IHN0cmluZyk6IE9ic2VydmFibGU8YW55PiB7XHJcbiAgICByZXR1cm4gdGhpcy5odHRwLnBvc3Q8YW55PihgJHt1cmx9YCwgcm90YXRlUGhvdG9zKTtcclxuICB9XHJcblxyXG4gIGRlbGV0ZSh1cmw6IHN0cmluZywgdXVpZDogc3RyaW5nKTogT2JzZXJ2YWJsZTxhbnk+IHtcclxuICAgIHJldHVybiB0aGlzLmh0dHAuZGVsZXRlPGFueT4oYCR7dXJsfS8ke3V1aWR9YCk7XHJcbiAgfVxyXG5cclxuICB1cGRhdGUodXJsOiBzdHJpbmcsIHV1aWQ6IHN0cmluZywgbmV3VmFsdWU6IHN0cmluZyk6IE9ic2VydmFibGU8YW55PiB7XHJcbiAgICByZXR1cm4gdGhpcy5odHRwLnB1dDxhbnk+KGAke3VybH1gLCB7XHJcbiAgICAgIHV1aWQ6IHV1aWQsXHJcbiAgICAgIGRlc2NyaXB0aW9uOiBuZXdWYWx1ZVxyXG4gICAgfSk7XHJcbiAgfVxyXG59XHJcbiJdfQ==
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* @param message string (text или HTML) <br/>
|
|
5
|
+
* @param value number | string <br/>
|
|
6
|
+
* @param maxValue? number <br/>
|
|
7
|
+
* @param minValue? number <br/>
|
|
8
|
+
* Передается один из параметров: maxValue, minValue, minLength, maxLength
|
|
9
|
+
*/
|
|
10
|
+
export class HintErrorMessageComponent {
|
|
11
|
+
_isInit = false;
|
|
12
|
+
/**
|
|
13
|
+
* Пример использования <br/>
|
|
14
|
+
* message="Не более {diff} дней" <br/>
|
|
15
|
+
* @param {diff} = maxValue - value
|
|
16
|
+
*/
|
|
17
|
+
message = '';
|
|
18
|
+
value = 0;
|
|
19
|
+
maxValue = 0;
|
|
20
|
+
minValue = 0;
|
|
21
|
+
minLength = 0;
|
|
22
|
+
maxLength = 0;
|
|
23
|
+
checkInvalid = true;
|
|
24
|
+
get replaceMessage() {
|
|
25
|
+
if ((this.maxValue || this.maxValue === 0) && this.message.includes('{diff}')) {
|
|
26
|
+
return this.message
|
|
27
|
+
.split('{diff}')
|
|
28
|
+
.join(String(this.maxValue - this.retypeValue(this.value)));
|
|
29
|
+
}
|
|
30
|
+
if ((this.minValue || this.minValue === 0) && this.message.includes('{diff}')) {
|
|
31
|
+
return this.message
|
|
32
|
+
.split('{diff}')
|
|
33
|
+
.join(String(this.value).length < this.minValue ? String(this.minValue - String(this.value).length) : '0');
|
|
34
|
+
}
|
|
35
|
+
if (this.minLength && this.message.includes('{diff}')) {
|
|
36
|
+
return this.message
|
|
37
|
+
.split('{diff}')
|
|
38
|
+
.join(String(this.value).length < this.minLength ? String(this.minLength - String(this.value).length) : '0');
|
|
39
|
+
}
|
|
40
|
+
if (this.maxLength && this.message.includes('{diff}')) {
|
|
41
|
+
return this.message
|
|
42
|
+
.split('{diff}')
|
|
43
|
+
.join(String(this.maxLength - String(this.value).length));
|
|
44
|
+
}
|
|
45
|
+
return this.message;
|
|
46
|
+
}
|
|
47
|
+
get getIsInvalid() {
|
|
48
|
+
if ((this.maxValue || this.maxValue === 0) && (this.minValue || this.minValue === 0)) {
|
|
49
|
+
if (typeof this.value === 'string' && this.value !== '' && isNaN(parseFloat(this.value))) {
|
|
50
|
+
return true;
|
|
51
|
+
}
|
|
52
|
+
if (typeof this.value === 'number' && isNaN(this.value)) {
|
|
53
|
+
return true;
|
|
54
|
+
}
|
|
55
|
+
return this.maxValue - this.retypeValue(this.value) < 0 || this.retypeValue(this.value) - this.minValue < 0;
|
|
56
|
+
}
|
|
57
|
+
if ((this.maxValue || this.maxValue === 0) && !this.minValue) {
|
|
58
|
+
if (typeof this.value === 'string' && this.value !== '' && isNaN(parseFloat(this.value))) {
|
|
59
|
+
return true;
|
|
60
|
+
}
|
|
61
|
+
if (typeof this.value === 'number' && isNaN(this.value)) {
|
|
62
|
+
return true;
|
|
63
|
+
}
|
|
64
|
+
return this.maxValue - this.retypeValue(this.value) < 0;
|
|
65
|
+
}
|
|
66
|
+
if ((this.minValue || this.minValue === 0) && !this.maxValue) {
|
|
67
|
+
if (typeof this.value === 'string' && this.value !== '' && isNaN(parseFloat(this.value))) {
|
|
68
|
+
return true;
|
|
69
|
+
}
|
|
70
|
+
if (typeof this.value === 'number' && isNaN(this.value)) {
|
|
71
|
+
return true;
|
|
72
|
+
}
|
|
73
|
+
return this.minValue - this.retypeValue(this.value) > 0;
|
|
74
|
+
}
|
|
75
|
+
if (this.maxLength) {
|
|
76
|
+
return this.maxLength - String(this.value).length < 0;
|
|
77
|
+
}
|
|
78
|
+
if (this.minLength) {
|
|
79
|
+
return this.minLength - String(this.value).length > 0;
|
|
80
|
+
}
|
|
81
|
+
return false;
|
|
82
|
+
}
|
|
83
|
+
retypeValue(value) {
|
|
84
|
+
if (typeof value === 'string') {
|
|
85
|
+
if (value === '') {
|
|
86
|
+
return 0;
|
|
87
|
+
}
|
|
88
|
+
if (!isNaN(parseFloat(value))) {
|
|
89
|
+
return parseFloat(value);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
else {
|
|
93
|
+
if (isNaN(value)) {
|
|
94
|
+
return 0;
|
|
95
|
+
}
|
|
96
|
+
return Number(value);
|
|
97
|
+
}
|
|
98
|
+
return 0;
|
|
99
|
+
}
|
|
100
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: HintErrorMessageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
101
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: HintErrorMessageComponent, selector: "mrx-hint-error-message", inputs: { message: "message", value: "value", maxValue: "maxValue", minValue: "minValue", minLength: "minLength", maxLength: "maxLength", checkInvalid: "checkInvalid" }, ngImport: i0, template: "<div\r\n class=\"mrx-hint-error-message mt-1\"\r\n [class.mrx-invalid-message]=\"getIsInvalid && checkInvalid\"\r\n [innerHTML]=\"replaceMessage\"\r\n></div>\r\n", styles: [".mrx-hint-error-message{font-family:var(--body-sm-font-family);font-size:var(--body-sm-font-size);font-weight:var(--body-sm-font-weight);line-height:var(--body-sm-line-height);color:var(--neutral-text-secondary)}.mrx-hint-error-message.mrx-invalid-message{color:var(--system-text-negative)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
102
|
+
}
|
|
103
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: HintErrorMessageComponent, decorators: [{
|
|
104
|
+
type: Component,
|
|
105
|
+
args: [{ selector: 'mrx-hint-error-message', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\r\n class=\"mrx-hint-error-message mt-1\"\r\n [class.mrx-invalid-message]=\"getIsInvalid && checkInvalid\"\r\n [innerHTML]=\"replaceMessage\"\r\n></div>\r\n", styles: [".mrx-hint-error-message{font-family:var(--body-sm-font-family);font-size:var(--body-sm-font-size);font-weight:var(--body-sm-font-weight);line-height:var(--body-sm-line-height);color:var(--neutral-text-secondary)}.mrx-hint-error-message.mrx-invalid-message{color:var(--system-text-negative)}\n"] }]
|
|
106
|
+
}], propDecorators: { message: [{
|
|
107
|
+
type: Input
|
|
108
|
+
}], value: [{
|
|
109
|
+
type: Input
|
|
110
|
+
}], maxValue: [{
|
|
111
|
+
type: Input
|
|
112
|
+
}], minValue: [{
|
|
113
|
+
type: Input
|
|
114
|
+
}], minLength: [{
|
|
115
|
+
type: Input
|
|
116
|
+
}], maxLength: [{
|
|
117
|
+
type: Input
|
|
118
|
+
}], checkInvalid: [{
|
|
119
|
+
type: Input
|
|
120
|
+
}] } });
|
|
121
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGludC1lcnJvci1tZXNzYWdlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL215cnRhLXVpL3NyYy9saWIvY29tcG9uZW50cy9oaW50LWVycm9yLW1lc3NhZ2UvaGludC1lcnJvci1tZXNzYWdlLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL215cnRhLXVpL3NyYy9saWIvY29tcG9uZW50cy9oaW50LWVycm9yLW1lc3NhZ2UvaGludC1lcnJvci1tZXNzYWdlLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQVExRTs7Ozs7O0dBTUc7QUFDSCxNQUFNLE9BQU8seUJBQXlCO0lBQzVCLE9BQU8sR0FBRyxLQUFLLENBQUE7SUFDdkI7Ozs7T0FJRztJQUNhLE9BQU8sR0FBRyxFQUFFLENBQUM7SUFDYixLQUFLLEdBQW9CLENBQUMsQ0FBQztJQUMzQixRQUFRLEdBQUcsQ0FBQyxDQUFDO0lBQ2IsUUFBUSxHQUFHLENBQUMsQ0FBQztJQUNiLFNBQVMsR0FB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