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,192 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, EventEmitter, forwardRef, Injectable, Input, Output, ViewChild } from '@angular/core';
|
|
2
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
3
|
+
import { cloneDeep } from 'lodash-es';
|
|
4
|
+
import { moveSelectedToFirst } from './helpers/move-selected-to-first';
|
|
5
|
+
import { filterSearchGroup } from './helpers/filter-search-group';
|
|
6
|
+
import { getItemById } from './helpers/get-item-by-id';
|
|
7
|
+
import { v4 as uuid } from 'uuid';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
import * as i1 from "@angular/common";
|
|
10
|
+
import * as i2 from "../../error-message/error-message.component";
|
|
11
|
+
import * as i3 from "../../save-state/save-state.component";
|
|
12
|
+
import * as i4 from "./components/radio-group-item/radio-group-item.component";
|
|
13
|
+
import * as i5 from "./components/radio-group-header/radio-group-header.component";
|
|
14
|
+
export class RadioGroupComponent {
|
|
15
|
+
_detector;
|
|
16
|
+
_isInit = false;
|
|
17
|
+
_groupItemsWrapperHeight = 0;
|
|
18
|
+
_searchValue = '';
|
|
19
|
+
_list = [];
|
|
20
|
+
selectedValue = null;
|
|
21
|
+
filteredList = [];
|
|
22
|
+
// SAVE STATE
|
|
23
|
+
uuid = uuid();
|
|
24
|
+
fields = [];
|
|
25
|
+
searchSize = 'medium';
|
|
26
|
+
name = '';
|
|
27
|
+
scrollMaxHeight = 200;
|
|
28
|
+
searchable = false;
|
|
29
|
+
bold = false;
|
|
30
|
+
scrollable = false;
|
|
31
|
+
sortable = false;
|
|
32
|
+
disabled = false;
|
|
33
|
+
readonly = false;
|
|
34
|
+
enableMessage = 'Ничего не найдено';
|
|
35
|
+
searchPlaceholder = '';
|
|
36
|
+
customClasses = '';
|
|
37
|
+
required = false;
|
|
38
|
+
invalid = false;
|
|
39
|
+
invalidMessage = '';
|
|
40
|
+
checkInvalid = null;
|
|
41
|
+
// TOOLTIP
|
|
42
|
+
tooltip = '';
|
|
43
|
+
// LABEL
|
|
44
|
+
labelText = '';
|
|
45
|
+
set items(value) {
|
|
46
|
+
this._list = value;
|
|
47
|
+
this.filteredList = value;
|
|
48
|
+
this._detector.detectChanges();
|
|
49
|
+
}
|
|
50
|
+
get items() {
|
|
51
|
+
return this.filteredList;
|
|
52
|
+
}
|
|
53
|
+
groupItemsWrapper;
|
|
54
|
+
changed = new EventEmitter();
|
|
55
|
+
modelChange = new EventEmitter();
|
|
56
|
+
modelCheckedChange = new EventEmitter();
|
|
57
|
+
modelItemChange = new EventEmitter();
|
|
58
|
+
constructor(_detector) {
|
|
59
|
+
this._detector = _detector;
|
|
60
|
+
}
|
|
61
|
+
get isSearchValue() {
|
|
62
|
+
return this._searchValue;
|
|
63
|
+
}
|
|
64
|
+
get displaced() {
|
|
65
|
+
return this.items.some((item) => item.array.length);
|
|
66
|
+
}
|
|
67
|
+
get getClasses() {
|
|
68
|
+
return `${this.customClasses}`;
|
|
69
|
+
}
|
|
70
|
+
get getShowScroll() {
|
|
71
|
+
return this._groupItemsWrapperHeight > this.scrollMaxHeight;
|
|
72
|
+
}
|
|
73
|
+
trackByFn(index, item) {
|
|
74
|
+
return item.id;
|
|
75
|
+
}
|
|
76
|
+
onChange = (value) => {
|
|
77
|
+
};
|
|
78
|
+
onTouched = () => {
|
|
79
|
+
};
|
|
80
|
+
writeValue(selectedValue) {
|
|
81
|
+
this.selectedValue = selectedValue;
|
|
82
|
+
this._isInit = true;
|
|
83
|
+
}
|
|
84
|
+
registerOnChange(fn) {
|
|
85
|
+
this.onChange = fn;
|
|
86
|
+
}
|
|
87
|
+
registerOnTouched(fn) {
|
|
88
|
+
this.onTouched = fn;
|
|
89
|
+
}
|
|
90
|
+
updateValue(list, targetItem) {
|
|
91
|
+
this.changed.emit(targetItem);
|
|
92
|
+
this.modelChange.emit({ value: targetItem, id: this.uuid });
|
|
93
|
+
this.modelCheckedChange.emit(targetItem);
|
|
94
|
+
this.onChange(targetItem);
|
|
95
|
+
this.onTouched();
|
|
96
|
+
}
|
|
97
|
+
checkHeightGroupWrapper() {
|
|
98
|
+
this._groupItemsWrapperHeight = this.groupItemsWrapper.nativeElement.scrollHeight;
|
|
99
|
+
}
|
|
100
|
+
updateRadioGroupSearchValue(searchValue) {
|
|
101
|
+
this._searchValue = searchValue;
|
|
102
|
+
this.filteredList = filterSearchGroup(this._list, this._searchValue);
|
|
103
|
+
}
|
|
104
|
+
radioChanged({ item }) {
|
|
105
|
+
const cloneList = cloneDeep(this.filteredList);
|
|
106
|
+
const targetItem = getItemById(cloneList, item.id);
|
|
107
|
+
this.selectedValue = targetItem;
|
|
108
|
+
this.filteredList = moveSelectedToFirst(cloneList, this.sortable, targetItem);
|
|
109
|
+
this._list = this.filteredList;
|
|
110
|
+
this.updateValue(this.filteredList, targetItem);
|
|
111
|
+
this.modelItemChange.emit(targetItem);
|
|
112
|
+
}
|
|
113
|
+
get isInvalidMessage() {
|
|
114
|
+
return !!this.invalidMessage || !!this.invalidMessage?.length;
|
|
115
|
+
}
|
|
116
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RadioGroupComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
117
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: RadioGroupComponent, selector: "mrx-radio-group", inputs: { fields: "fields", searchSize: "searchSize", name: "name", scrollMaxHeight: "scrollMaxHeight", searchable: "searchable", bold: "bold", scrollable: "scrollable", sortable: "sortable", disabled: "disabled", readonly: "readonly", enableMessage: "enableMessage", searchPlaceholder: "searchPlaceholder", customClasses: "customClasses", required: "required", invalid: "invalid", invalidMessage: "invalidMessage", checkInvalid: "checkInvalid", tooltip: "tooltip", labelText: "labelText", items: "items" }, outputs: { changed: "changed", modelChange: "modelChange", modelCheckedChange: "modelCheckedChange", modelItemChange: "modelItemChange" }, providers: [
|
|
118
|
+
{
|
|
119
|
+
provide: NG_VALUE_ACCESSOR,
|
|
120
|
+
useExisting: forwardRef(() => RadioGroupComponent),
|
|
121
|
+
multi: true,
|
|
122
|
+
},
|
|
123
|
+
], viewQueries: [{ propertyName: "groupItemsWrapper", first: true, predicate: ["groupItemsWrapper"], descendants: true }], ngImport: i0, template: "<div class=\"mrx-radio-group\" [class]=\"getClasses\">\r\n <mrx-save-state [id]=\"uuid\" [fields]=\"fields\" type=\"radioGroup\"></mrx-save-state>\r\n\r\n <mrx-radio-group-header\r\n [searchable]=\"searchable\"\r\n [searchPlaceholder]=\"searchPlaceholder\"\r\n [tooltip]=\"tooltip\"\r\n [required]=\"required\"\r\n [searchSize]=\"searchSize\"\r\n [labelText]=\"labelText\"\r\n (updateradioGroupSearchValue)=\"updateRadioGroupSearchValue($event)\"\r\n ></mrx-radio-group-header>\r\n\r\n <div\r\n #groupItemsWrapper\r\n *ngIf=\"filteredList?.length; else enableMessageTemplate\"\r\n class=\"mrx-radio-group-wrapper\"\r\n [class.mrx-radio-group-wrapper--scrollable]=\"scrollable\"\r\n [class.--active]=\"getShowScroll\"\r\n [style.max-height]=\"scrollable ? scrollMaxHeight + 'px' : 'auto'\">\r\n <mrx-radio-group-item\r\n *ngFor=\"let item of filteredList; trackBy: trackByFn; let last = last\"\r\n [displaced]=\"displaced || false\"\r\n [item]=\"item\"\r\n [isLast]=\"last\"\r\n [selectedValue]=\"selectedValue\"\r\n [name]=\"name\"\r\n [bold]=\"bold\"\r\n [invalid]=\"invalid\"\r\n [disabled]=\"disabled\"\r\n [readonly]=\"readonly\"\r\n [animationTrigger]=\"!!isSearchValue\"\r\n (animationEnd)=\"checkHeightGroupWrapper()\"\r\n (radioChanged)=\"radioChanged($event)\"\r\n ></mrx-radio-group-item>\r\n </div>\r\n\r\n <ng-template #enableMessageTemplate>\r\n <p class=\"mrx-radio-group__empty-message py-12px\">{{ enableMessage }}</p>\r\n </ng-template>\r\n\r\n <mrx-error-message\r\n *ngIf=\"invalid && isInvalidMessage\"\r\n [invalidMessage]=\"invalidMessage\"\r\n [customClasses]=\"'mt-2'\"\r\n ></mrx-error-message>\r\n </div>\r\n", styles: [".mrx-radio-group{position:relative}.mrx-radio-group-wrapper--scrollable{overflow-y:auto;border-width:1px 0 1px 0;border-style:solid;border-color:transparent;padding-top:0;padding-bottom:0;transition:boder-color .2s,padding-top .2s,padding-bottom .2s}.mrx-radio-group-wrapper--scrollable.--active{padding-top:12px;padding-bottom:12px;border-color:var(--neutral-bg-divider)}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.ErrorMessageComponent, selector: "mrx-error-message", inputs: ["invalid", "invalidMessage", "customClasses"] }, { kind: "component", type: i3.SaveStateComponent, selector: "mrx-save-state", inputs: ["type", "fields", "id"] }, { kind: "component", type: i4.RadioGroupItemComponent, selector: "mrx-radio-group-item", inputs: ["invalid", "name", "selectedValue", "item", "displaced", "level", "bold", "animationTrigger", "isLast", "disabled", "readonly"], outputs: ["animationEnd", "radioChanged"] }, { kind: "component", type: i5.RadioGroupHeaderComponent, selector: "mrx-radio-group-header", inputs: ["searchSize", "searchable", "searchPlaceholder", "tooltip", "labelText", "linkText", "checkedItemsCount", "required"], outputs: ["updateradioGroupSearchValue"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
124
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RadioGroupComponent, providedIn: RadioGroupComponent });
|
|
125
|
+
}
|
|
126
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RadioGroupComponent, decorators: [{
|
|
127
|
+
type: Injectable,
|
|
128
|
+
args: [{
|
|
129
|
+
providedIn: RadioGroupComponent
|
|
130
|
+
}]
|
|
131
|
+
}, {
|
|
132
|
+
type: Component,
|
|
133
|
+
args: [{ selector: 'mrx-radio-group', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
134
|
+
{
|
|
135
|
+
provide: NG_VALUE_ACCESSOR,
|
|
136
|
+
useExisting: forwardRef(() => RadioGroupComponent),
|
|
137
|
+
multi: true,
|
|
138
|
+
},
|
|
139
|
+
], template: "<div class=\"mrx-radio-group\" [class]=\"getClasses\">\r\n <mrx-save-state [id]=\"uuid\" [fields]=\"fields\" type=\"radioGroup\"></mrx-save-state>\r\n\r\n <mrx-radio-group-header\r\n [searchable]=\"searchable\"\r\n [searchPlaceholder]=\"searchPlaceholder\"\r\n [tooltip]=\"tooltip\"\r\n [required]=\"required\"\r\n [searchSize]=\"searchSize\"\r\n [labelText]=\"labelText\"\r\n (updateradioGroupSearchValue)=\"updateRadioGroupSearchValue($event)\"\r\n ></mrx-radio-group-header>\r\n\r\n <div\r\n #groupItemsWrapper\r\n *ngIf=\"filteredList?.length; else enableMessageTemplate\"\r\n class=\"mrx-radio-group-wrapper\"\r\n [class.mrx-radio-group-wrapper--scrollable]=\"scrollable\"\r\n [class.--active]=\"getShowScroll\"\r\n [style.max-height]=\"scrollable ? scrollMaxHeight + 'px' : 'auto'\">\r\n <mrx-radio-group-item\r\n *ngFor=\"let item of filteredList; trackBy: trackByFn; let last = last\"\r\n [displaced]=\"displaced || false\"\r\n [item]=\"item\"\r\n [isLast]=\"last\"\r\n [selectedValue]=\"selectedValue\"\r\n [name]=\"name\"\r\n [bold]=\"bold\"\r\n [invalid]=\"invalid\"\r\n [disabled]=\"disabled\"\r\n [readonly]=\"readonly\"\r\n [animationTrigger]=\"!!isSearchValue\"\r\n (animationEnd)=\"checkHeightGroupWrapper()\"\r\n (radioChanged)=\"radioChanged($event)\"\r\n ></mrx-radio-group-item>\r\n </div>\r\n\r\n <ng-template #enableMessageTemplate>\r\n <p class=\"mrx-radio-group__empty-message py-12px\">{{ enableMessage }}</p>\r\n </ng-template>\r\n\r\n <mrx-error-message\r\n *ngIf=\"invalid && isInvalidMessage\"\r\n [invalidMessage]=\"invalidMessage\"\r\n [customClasses]=\"'mt-2'\"\r\n ></mrx-error-message>\r\n </div>\r\n", styles: [".mrx-radio-group{position:relative}.mrx-radio-group-wrapper--scrollable{overflow-y:auto;border-width:1px 0 1px 0;border-style:solid;border-color:transparent;padding-top:0;padding-bottom:0;transition:boder-color .2s,padding-top .2s,padding-bottom .2s}.mrx-radio-group-wrapper--scrollable.--active{padding-top:12px;padding-bottom:12px;border-color:var(--neutral-bg-divider)}\n"] }]
|
|
140
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { fields: [{
|
|
141
|
+
type: Input
|
|
142
|
+
}], searchSize: [{
|
|
143
|
+
type: Input
|
|
144
|
+
}], name: [{
|
|
145
|
+
type: Input
|
|
146
|
+
}], scrollMaxHeight: [{
|
|
147
|
+
type: Input
|
|
148
|
+
}], searchable: [{
|
|
149
|
+
type: Input
|
|
150
|
+
}], bold: [{
|
|
151
|
+
type: Input
|
|
152
|
+
}], scrollable: [{
|
|
153
|
+
type: Input
|
|
154
|
+
}], sortable: [{
|
|
155
|
+
type: Input
|
|
156
|
+
}], disabled: [{
|
|
157
|
+
type: Input
|
|
158
|
+
}], readonly: [{
|
|
159
|
+
type: Input
|
|
160
|
+
}], enableMessage: [{
|
|
161
|
+
type: Input
|
|
162
|
+
}], searchPlaceholder: [{
|
|
163
|
+
type: Input
|
|
164
|
+
}], customClasses: [{
|
|
165
|
+
type: Input
|
|
166
|
+
}], required: [{
|
|
167
|
+
type: Input
|
|
168
|
+
}], invalid: [{
|
|
169
|
+
type: Input
|
|
170
|
+
}], invalidMessage: [{
|
|
171
|
+
type: Input
|
|
172
|
+
}], checkInvalid: [{
|
|
173
|
+
type: Input
|
|
174
|
+
}], tooltip: [{
|
|
175
|
+
type: Input
|
|
176
|
+
}], labelText: [{
|
|
177
|
+
type: Input
|
|
178
|
+
}], items: [{
|
|
179
|
+
type: Input
|
|
180
|
+
}], groupItemsWrapper: [{
|
|
181
|
+
type: ViewChild,
|
|
182
|
+
args: ['groupItemsWrapper']
|
|
183
|
+
}], changed: [{
|
|
184
|
+
type: Output
|
|
185
|
+
}], modelChange: [{
|
|
186
|
+
type: Output
|
|
187
|
+
}], modelCheckedChange: [{
|
|
188
|
+
type: Output
|
|
189
|
+
}], modelItemChange: [{
|
|
190
|
+
type: Output
|
|
191
|
+
}] } });
|
|
192
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFkaW8tZ3JvdXAuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9jb21wb25lbnRzL2Zvcm0vcmFkaW8tZ3JvdXAvcmFkaW8tZ3JvdXAuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9jb21wb25lbnRzL2Zvcm0vcmFkaW8tZ3JvdXAvcmFkaW8tZ3JvdXAuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUNMLHVCQUF1QixFQUN2QixTQUFTLEVBRVQsWUFBWSxF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W25hbWVdPVwibmFtZVwiXHJcbiAgICAgICAgICBbYm9sZF09XCJib2xkXCJcclxuICAgICAgICAgIFtpbnZhbGlkXT1cImludmFsaWRcIlxyXG4gICAgICAgICAgW2Rpc2FibGVkXT1cImRpc2FibGVkXCJcclxuICAgICAgICAgIFtyZWFkb25seV09XCJyZWFkb25seVwiXHJcbiAgICAgICAgICBbYW5pbWF0aW9uVHJpZ2dlcl09XCIhIWlzU2VhcmNoVmFsdWVcIlxyXG4gICAgICAgICAgKGFuaW1hdGlvbkVuZCk9XCJjaGVja0hlaWdodEdyb3VwV3JhcHBlcigpXCJcclxuICAgICAgICAgIChyYWRpb0NoYW5nZWQpPVwicmFkaW9DaGFuZ2VkKCRldmVudClcIlxyXG4gICAgICA+PC9tcngtcmFkaW8tZ3JvdXAtaXRlbT5cclxuICAgIDwvZGl2PlxyXG5cclxuICAgIDxuZy10ZW1wbGF0ZSAjZW5hYmxlTWVzc2FnZVRlbXBsYXRlPlxyXG4gICAgICA8cCBjbGFzcz1cIm1yeC1yYWRpby1ncm91cF9fZW1wdHktbWVzc2FnZSBweS0xMnB4XCI+e3sgZW5hYmxlTWVzc2FnZSB9fTwvcD5cclxuICAgIDwvbmctdGVtcGxhdGU+XHJcblxyXG4gICAgPG1yeC1lcnJvci1tZXNzYWdlXHJcbiAgICAgICpuZ0lmPVwiaW52YWxpZCAmJiBpc0ludmFsaWRNZXNzYWdlXCJcclxuICAgICAgW2ludmFsaWRNZXNzYWdlXT1cImludmFsaWRNZXNzYWdlXCJcclxuICAgICAgW2N1c3RvbUNsYXNzZXNdPVwiJ210LTInXCJcclxuICAgID48L21yeC1lcnJvci1tZXNzYWdlPlxyXG4gIDwvZGl2PlxyXG4iXX0=
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { RadioGroupComponent } from './radio-group.component';
|
|
4
|
+
import { FormsModule } from '@angular/forms';
|
|
5
|
+
import { RadioModule } from '../radio/radio.module';
|
|
6
|
+
import { RadioGroupItemComponent } from './components/radio-group-item/radio-group-item.component';
|
|
7
|
+
import { RadioGroupHeaderComponent } from './components/radio-group-header/radio-group-header.component';
|
|
8
|
+
import { ErrorMessageModule } from '../../error-message/error-message.module';
|
|
9
|
+
import { LabelModule } from '../../label/label.module';
|
|
10
|
+
import { InputSearchModule } from '../input-search/input-search.module';
|
|
11
|
+
import { SaveStateModule } from '../../save-state/save-state.module';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
export class RadioGroupModule {
|
|
14
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RadioGroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
15
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: RadioGroupModule, declarations: [RadioGroupComponent, RadioGroupItemComponent, RadioGroupHeaderComponent], imports: [CommonModule,
|
|
16
|
+
FormsModule,
|
|
17
|
+
RadioModule,
|
|
18
|
+
InputSearchModule,
|
|
19
|
+
LabelModule,
|
|
20
|
+
ErrorMessageModule,
|
|
21
|
+
SaveStateModule], exports: [RadioGroupComponent] });
|
|
22
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RadioGroupModule, imports: [CommonModule,
|
|
23
|
+
FormsModule,
|
|
24
|
+
RadioModule,
|
|
25
|
+
InputSearchModule,
|
|
26
|
+
LabelModule,
|
|
27
|
+
ErrorMessageModule,
|
|
28
|
+
SaveStateModule] });
|
|
29
|
+
}
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RadioGroupModule, decorators: [{
|
|
31
|
+
type: NgModule,
|
|
32
|
+
args: [{
|
|
33
|
+
declarations: [RadioGroupComponent, RadioGroupItemComponent, RadioGroupHeaderComponent],
|
|
34
|
+
imports: [
|
|
35
|
+
CommonModule,
|
|
36
|
+
FormsModule,
|
|
37
|
+
RadioModule,
|
|
38
|
+
InputSearchModule,
|
|
39
|
+
LabelModule,
|
|
40
|
+
ErrorMessageModule,
|
|
41
|
+
SaveStateModule
|
|
42
|
+
],
|
|
43
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
44
|
+
exports: [RadioGroupComponent]
|
|
45
|
+
}]
|
|
46
|
+
}] });
|
|
47
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFkaW8tZ3JvdXAubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9jb21wb25lbnRzL2Zvcm0vcmFkaW8tZ3JvdXAvcmFkaW8tZ3JvdXAubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDakUsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLHlCQUF5QixDQUFDO0FBQzlELE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUM3QyxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sdUJBQXVCLENBQUM7QUFDcEQsT0FBTyxFQUFFLHVCQUF1QixFQUFFLE1BQU0sMERBQTBELENBQUM7QUFDbkcsT0FBTyxFQUFFLHlCQUF5QixFQUFFLE1BQU0sOERBQThELENBQUM7QUFDekcsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sMENBQTBDLENBQUM7QUFDOUUsT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ZWFkZXJDb21wb25lbnRdLFxyXG4gIGltcG9ydHM6IFtcclxuICAgIENvbW1vbk1vZHVsZSxcclxuICAgIEZvcm1zTW9kdWxlLFxyXG4gICAgUmFkaW9Nb2R1bGUsXHJcbiAgICBJbnB1dFNlYXJjaE1vZHVsZSxcclxuICAgIExhYmVsTW9kdWxlLFxyXG4gICAgRXJyb3JNZXNzYWdlTW9kdWxlLFxyXG4gICAgU2F2ZVN0YXRlTW9kdWxlXHJcbiAgXSxcclxuICBzY2hlbWFzOiBbQ1VTVE9NX0VMRU1FTlRTX1NDSEVNQV0sXHJcbiAgZXhwb3J0czogW1JhZGlvR3JvdXBDb21wb25lbnRdXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBSYWRpb0dyb3VwTW9kdWxlIHtcclxufVxyXG5cclxuIl19
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, EventEmitter, forwardRef, Input, Output } from '@angular/core';
|
|
2
|
+
import { RatingSizesEnum, RatingValueSizesEnum, RatingWrapperSizesEnum } from './rating.enum';
|
|
3
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
4
|
+
import { toNumberFormat } from '../../../helpers/number-format';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@angular/common";
|
|
7
|
+
import * as i2 from "../../error-message/error-message.component";
|
|
8
|
+
export class RatingComponent {
|
|
9
|
+
value = 0;
|
|
10
|
+
elements = [];
|
|
11
|
+
ratingProperties = [
|
|
12
|
+
{
|
|
13
|
+
minValue: 0,
|
|
14
|
+
maxValue: 20,
|
|
15
|
+
text: 'Очень плохо'
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
minValue: 20,
|
|
19
|
+
maxValue: 40,
|
|
20
|
+
text: 'Плохо'
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
minValue: 40,
|
|
24
|
+
maxValue: 60,
|
|
25
|
+
text: 'Удовлетворительно'
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
minValue: 60,
|
|
29
|
+
maxValue: 80,
|
|
30
|
+
text: 'Хорошо'
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
minValue: 80,
|
|
34
|
+
maxValue: 100,
|
|
35
|
+
text: 'Отлично'
|
|
36
|
+
}
|
|
37
|
+
];
|
|
38
|
+
ratingCount = 5;
|
|
39
|
+
size = 'large';
|
|
40
|
+
valueSize = 'large';
|
|
41
|
+
iconClass = 'icon-star-filled';
|
|
42
|
+
customClasses = '';
|
|
43
|
+
readonly = false;
|
|
44
|
+
disabled = false;
|
|
45
|
+
double = false;
|
|
46
|
+
viewMode = 'none';
|
|
47
|
+
step = 0.5;
|
|
48
|
+
ratingSettings = this.ratingProperties;
|
|
49
|
+
maxValue = 5;
|
|
50
|
+
invalid = false;
|
|
51
|
+
invalidMessage = '';
|
|
52
|
+
checkInvalid = null;
|
|
53
|
+
changed = new EventEmitter();
|
|
54
|
+
ngOnInit() {
|
|
55
|
+
this.elements = Array(this.ratingCount).fill(0).map((x, i) => {
|
|
56
|
+
return { value: i + 1, filled: false, double: false };
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
get isValid() {
|
|
60
|
+
return this.baseValidate();
|
|
61
|
+
}
|
|
62
|
+
get isInvalidMessage() {
|
|
63
|
+
return !!this.invalidMessage || !!this.invalidMessage?.length;
|
|
64
|
+
}
|
|
65
|
+
get readonlyClass() {
|
|
66
|
+
return this.readonly ? 'mrx-input__readonly' : '';
|
|
67
|
+
}
|
|
68
|
+
get getWrapperClasses() {
|
|
69
|
+
return `${this.customClasses} ${RatingWrapperSizesEnum[this.size]}`;
|
|
70
|
+
}
|
|
71
|
+
get getClasses() {
|
|
72
|
+
return `${RatingSizesEnum[this.size]} ${this.readonlyClass}`;
|
|
73
|
+
}
|
|
74
|
+
get getValueClasses() {
|
|
75
|
+
return `${RatingValueSizesEnum[this.size]}`;
|
|
76
|
+
}
|
|
77
|
+
get formattedValue() {
|
|
78
|
+
return Number(this.value);
|
|
79
|
+
}
|
|
80
|
+
get ratingText() {
|
|
81
|
+
if (this.ratingCount === 1) {
|
|
82
|
+
this.maxValue = this.maxValue;
|
|
83
|
+
}
|
|
84
|
+
else {
|
|
85
|
+
this.maxValue = this.ratingCount;
|
|
86
|
+
}
|
|
87
|
+
const ratingValue = this.value * 100 / this.maxValue;
|
|
88
|
+
if (ratingValue) {
|
|
89
|
+
return this.ratingSettings.filter((i) => ratingValue > i.minValue && ratingValue <= i.maxValue)[0].text;
|
|
90
|
+
}
|
|
91
|
+
return '';
|
|
92
|
+
}
|
|
93
|
+
get canActive() {
|
|
94
|
+
return !(this.disabled || this.readonly);
|
|
95
|
+
}
|
|
96
|
+
toNumberFormatFunc(value) {
|
|
97
|
+
return toNumberFormat(value, 1);
|
|
98
|
+
}
|
|
99
|
+
baseValidate() {
|
|
100
|
+
return true;
|
|
101
|
+
}
|
|
102
|
+
changeValue(value, type) {
|
|
103
|
+
if (type === 'single') {
|
|
104
|
+
this.updateValue(value);
|
|
105
|
+
}
|
|
106
|
+
else {
|
|
107
|
+
this.updateValue(value - this.step);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
hoverElementHandle(item, type) {
|
|
111
|
+
if (type === 'single') {
|
|
112
|
+
this._updateState(item.value);
|
|
113
|
+
}
|
|
114
|
+
else {
|
|
115
|
+
this._updateState(item.value - this.step);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
resetElementHandle() {
|
|
119
|
+
this._updateState(this.formattedValue);
|
|
120
|
+
}
|
|
121
|
+
trackByFn(index, item) {
|
|
122
|
+
return item.value;
|
|
123
|
+
}
|
|
124
|
+
onChange = (value) => {
|
|
125
|
+
};
|
|
126
|
+
onTouched = () => {
|
|
127
|
+
};
|
|
128
|
+
registerOnChange(fn) {
|
|
129
|
+
this.onChange = fn;
|
|
130
|
+
}
|
|
131
|
+
registerOnTouched(fn) {
|
|
132
|
+
this.onTouched = fn;
|
|
133
|
+
}
|
|
134
|
+
writeValue(outsideValue) {
|
|
135
|
+
this.value = outsideValue;
|
|
136
|
+
if (outsideValue !== null) {
|
|
137
|
+
this._updateState(this.formattedValue);
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
setDisabledState(isDisabled) {
|
|
141
|
+
// this.disabled = isDisabled;
|
|
142
|
+
}
|
|
143
|
+
updateValue(insideValue) {
|
|
144
|
+
this.value = insideValue;
|
|
145
|
+
this.changed.emit(insideValue);
|
|
146
|
+
this.onChange(insideValue);
|
|
147
|
+
this.onTouched();
|
|
148
|
+
}
|
|
149
|
+
_updateState(value) {
|
|
150
|
+
this.elements.forEach((element) => {
|
|
151
|
+
if (this.ratingCount === 1) {
|
|
152
|
+
element.filled = value > 0;
|
|
153
|
+
return;
|
|
154
|
+
}
|
|
155
|
+
if (!this.double) {
|
|
156
|
+
element.filled = element.value <= value;
|
|
157
|
+
}
|
|
158
|
+
else {
|
|
159
|
+
element.filled = element.value - this.step <= value;
|
|
160
|
+
element.double = value >= this.step && value < element.value;
|
|
161
|
+
}
|
|
162
|
+
});
|
|
163
|
+
}
|
|
164
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RatingComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
165
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: RatingComponent, selector: "mrx-rating", inputs: { ratingCount: "ratingCount", size: "size", valueSize: "valueSize", iconClass: "iconClass", customClasses: "customClasses", readonly: "readonly", disabled: "disabled", double: "double", viewMode: "viewMode", step: "step", ratingSettings: "ratingSettings", maxValue: "maxValue", invalid: "invalid", invalidMessage: "invalidMessage", checkInvalid: "checkInvalid" }, outputs: { changed: "changed" }, providers: [
|
|
166
|
+
{
|
|
167
|
+
provide: NG_VALUE_ACCESSOR,
|
|
168
|
+
useExisting: forwardRef(() => RatingComponent),
|
|
169
|
+
multi: true,
|
|
170
|
+
},
|
|
171
|
+
], ngImport: i0, template: "<div class=\"mrx-rating-wrapper\" [class]=\"getWrapperClasses\">\r\n <div\r\n *ngIf=\"canActive; else viewTemplate\"\r\n class=\"mrx-rating edit-state\"\r\n [class]=\"getClasses\"\r\n (mouseleave)=\"resetElementHandle()\"\r\n >\r\n <ng-container *ngFor=\"let item of elements; let idx = index; trackBy: trackByFn\">\r\n <div class=\"mrx-rating-item\" [class.disabled]=\"disabled || readonly\">\r\n <div *ngIf=\"double\" class=\"mrx-rating-item-double-wrapper\">\r\n <span\r\n class=\"mrx-icon\"\r\n [class]=\"iconClass\"\r\n [class.icon-font-16]=\"size === 'small'\"\r\n [class.icon-font-24]=\"size === 'large'\"\r\n [class.filled]=\"item.filled && item.double\"\r\n (mouseenter)=\"canActive && hoverElementHandle(item, 'double')\"\r\n (click)=\"canActive && changeValue(item.value, 'double')\"\r\n ></span>\r\n </div>\r\n\r\n <div class=\"mrx-rating-item-wrapper\">\r\n <span\r\n class=\"mrx-icon\"\r\n [class]=\"iconClass\"\r\n [class.icon-font-16]=\"size === 'small'\"\r\n [class.icon-font-24]=\"size === 'large'\"\r\n [class.filled]=\"item.filled && !item.double\"\r\n (mouseenter)=\"canActive && hoverElementHandle(item, 'single')\"\r\n (click)=\"canActive && changeValue(item.value, 'single')\"\r\n ></span>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n\r\n <ng-template #viewTemplate>\r\n <div class=\"mrx-rating\" [class]=\"getClasses\">\r\n <ng-container *ngFor=\"let item of elements; let idx = index; trackBy: trackByFn\">\r\n <div class=\"mrx-rating-item\" [class.disabled]=\"disabled || readonly\">\r\n <div *ngIf=\"double\" class=\"mrx-rating-item-double-wrapper\">\r\n <span\r\n class=\"mrx-icon\"\r\n [class]=\"iconClass\"\r\n [class.icon-font-16]=\"size === 'small'\"\r\n [class.icon-font-24]=\"size === 'large'\"\r\n [class.filled]=\"item.filled && item.double\"\r\n ></span>\r\n </div>\r\n\r\n <div class=\"mrx-rating-item-wrapper\">\r\n <span\r\n class=\"mrx-icon\"\r\n [class]=\"iconClass\"\r\n [class.icon-font-16]=\"size === 'small'\"\r\n [class.icon-font-24]=\"size === 'large'\"\r\n [class.filled]=\"item.filled && !item.double\"\r\n ></span>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n </ng-template>\r\n\r\n <ng-container [ngSwitch]=\"viewMode\">\r\n <span *ngSwitchCase=\"'text'\" [class]=\"getValueClasses\">{{ ratingText }}</span>\r\n <span *ngSwitchCase=\"'value'\" [class]=\"getValueClasses\">{{ toNumberFormatFunc(value) }}</span>\r\n <span *ngSwitchCase=\"'text-with-value'\" [class]=\"getValueClasses\">\r\n {{ ratingText }} ({{ toNumberFormatFunc(value) }})\r\n </span>\r\n </ng-container>\r\n</div>\r\n\r\n<mrx-error-message *ngIf=\"(!isValid || invalid) && isInvalidMessage\" [invalidMessage]=\"invalidMessage\">\r\n</mrx-error-message>\r\n", styles: [".mrx-rating{display:inline-flex}.mrx-rating-wrapper{display:flex;align-items:center;flex-wrap:wrap}.mrx-rating-wrapper-sm{grid-gap:var(--spacing-2)}.mrx-rating-wrapper-lg{grid-gap:var(--spacing-3)}.mrx-rating.mrx-rating-lg{grid-gap:8px}.mrx-rating.mrx-rating-sm{grid-gap:4px}.mrx-rating-value-sm{font-family:var(--body-sm-font-family);font-weight:var(--body-sm-font-weight);line-height:var(--body-sm-line-height);font-size:var(--body-sm-font-size)}.mrx-rating-value-lg{font-family:var(--body-md-font-family);font-weight:var(--body-md-font-weight);line-height:var(--body-md-line-height);font-size:var(--body-md-font-size)}.mrx-rating.edit-state .mrx-rating-item{cursor:pointer}.mrx-rating.edit-state .mrx-rating-item:hover{transform:scale(1.1)}.mrx-rating .mrx-rating-item{display:flex;align-items:center;position:relative;transition:transform .2s}.mrx-rating .mrx-rating-item-wrapper,.mrx-rating .mrx-rating-item-double-wrapper{display:flex;align-items:center}.mrx-rating .mrx-rating-item-wrapper .mrx-icon,.mrx-rating .mrx-rating-item-double-wrapper .mrx-icon{color:var(--system-rating-default)}.mrx-rating .mrx-rating-item-wrapper .mrx-icon.filled,.mrx-rating .mrx-rating-item-double-wrapper .mrx-icon.filled{color:var(--system-rating-selected);opacity:1}.mrx-rating .mrx-rating-item-double-wrapper{position:absolute;top:0;left:0;width:50%;overflow:hidden}.mrx-rating .mrx-rating-item-double-wrapper .mrx-icon{opacity:0}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: i2.ErrorMessageComponent, selector: "mrx-error-message", inputs: ["invalid", "invalidMessage", "customClasses"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
172
|
+
}
|
|
173
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RatingComponent, decorators: [{
|
|
174
|
+
type: Component,
|
|
175
|
+
args: [{ selector: 'mrx-rating', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
176
|
+
{
|
|
177
|
+
provide: NG_VALUE_ACCESSOR,
|
|
178
|
+
useExisting: forwardRef(() => RatingComponent),
|
|
179
|
+
multi: true,
|
|
180
|
+
},
|
|
181
|
+
], template: "<div class=\"mrx-rating-wrapper\" [class]=\"getWrapperClasses\">\r\n <div\r\n *ngIf=\"canActive; else viewTemplate\"\r\n class=\"mrx-rating edit-state\"\r\n [class]=\"getClasses\"\r\n (mouseleave)=\"resetElementHandle()\"\r\n >\r\n <ng-container *ngFor=\"let item of elements; let idx = index; trackBy: trackByFn\">\r\n <div class=\"mrx-rating-item\" [class.disabled]=\"disabled || readonly\">\r\n <div *ngIf=\"double\" class=\"mrx-rating-item-double-wrapper\">\r\n <span\r\n class=\"mrx-icon\"\r\n [class]=\"iconClass\"\r\n [class.icon-font-16]=\"size === 'small'\"\r\n [class.icon-font-24]=\"size === 'large'\"\r\n [class.filled]=\"item.filled && item.double\"\r\n (mouseenter)=\"canActive && hoverElementHandle(item, 'double')\"\r\n (click)=\"canActive && changeValue(item.value, 'double')\"\r\n ></span>\r\n </div>\r\n\r\n <div class=\"mrx-rating-item-wrapper\">\r\n <span\r\n class=\"mrx-icon\"\r\n [class]=\"iconClass\"\r\n [class.icon-font-16]=\"size === 'small'\"\r\n [class.icon-font-24]=\"size === 'large'\"\r\n [class.filled]=\"item.filled && !item.double\"\r\n (mouseenter)=\"canActive && hoverElementHandle(item, 'single')\"\r\n (click)=\"canActive && changeValue(item.value, 'single')\"\r\n ></span>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n\r\n <ng-template #viewTemplate>\r\n <div class=\"mrx-rating\" [class]=\"getClasses\">\r\n <ng-container *ngFor=\"let item of elements; let idx = index; trackBy: trackByFn\">\r\n <div class=\"mrx-rating-item\" [class.disabled]=\"disabled || readonly\">\r\n <div *ngIf=\"double\" class=\"mrx-rating-item-double-wrapper\">\r\n <span\r\n class=\"mrx-icon\"\r\n [class]=\"iconClass\"\r\n [class.icon-font-16]=\"size === 'small'\"\r\n [class.icon-font-24]=\"size === 'large'\"\r\n [class.filled]=\"item.filled && item.double\"\r\n ></span>\r\n </div>\r\n\r\n <div class=\"mrx-rating-item-wrapper\">\r\n <span\r\n class=\"mrx-icon\"\r\n [class]=\"iconClass\"\r\n [class.icon-font-16]=\"size === 'small'\"\r\n [class.icon-font-24]=\"size === 'large'\"\r\n [class.filled]=\"item.filled && !item.double\"\r\n ></span>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n </ng-template>\r\n\r\n <ng-container [ngSwitch]=\"viewMode\">\r\n <span *ngSwitchCase=\"'text'\" [class]=\"getValueClasses\">{{ ratingText }}</span>\r\n <span *ngSwitchCase=\"'value'\" [class]=\"getValueClasses\">{{ toNumberFormatFunc(value) }}</span>\r\n <span *ngSwitchCase=\"'text-with-value'\" [class]=\"getValueClasses\">\r\n {{ ratingText }} ({{ toNumberFormatFunc(value) }})\r\n </span>\r\n </ng-container>\r\n</div>\r\n\r\n<mrx-error-message *ngIf=\"(!isValid || invalid) && isInvalidMessage\" [invalidMessage]=\"invalidMessage\">\r\n</mrx-error-message>\r\n", styles: [".mrx-rating{display:inline-flex}.mrx-rating-wrapper{display:flex;align-items:center;flex-wrap:wrap}.mrx-rating-wrapper-sm{grid-gap:var(--spacing-2)}.mrx-rating-wrapper-lg{grid-gap:var(--spacing-3)}.mrx-rating.mrx-rating-lg{grid-gap:8px}.mrx-rating.mrx-rating-sm{grid-gap:4px}.mrx-rating-value-sm{font-family:var(--body-sm-font-family);font-weight:var(--body-sm-font-weight);line-height:var(--body-sm-line-height);font-size:var(--body-sm-font-size)}.mrx-rating-value-lg{font-family:var(--body-md-font-family);font-weight:var(--body-md-font-weight);line-height:var(--body-md-line-height);font-size:var(--body-md-font-size)}.mrx-rating.edit-state .mrx-rating-item{cursor:pointer}.mrx-rating.edit-state .mrx-rating-item:hover{transform:scale(1.1)}.mrx-rating .mrx-rating-item{display:flex;align-items:center;position:relative;transition:transform .2s}.mrx-rating .mrx-rating-item-wrapper,.mrx-rating .mrx-rating-item-double-wrapper{display:flex;align-items:center}.mrx-rating .mrx-rating-item-wrapper .mrx-icon,.mrx-rating .mrx-rating-item-double-wrapper .mrx-icon{color:var(--system-rating-default)}.mrx-rating .mrx-rating-item-wrapper .mrx-icon.filled,.mrx-rating .mrx-rating-item-double-wrapper .mrx-icon.filled{color:var(--system-rating-selected);opacity:1}.mrx-rating .mrx-rating-item-double-wrapper{position:absolute;top:0;left:0;width:50%;overflow:hidden}.mrx-rating .mrx-rating-item-double-wrapper .mrx-icon{opacity:0}\n"] }]
|
|
182
|
+
}], propDecorators: { ratingCount: [{
|
|
183
|
+
type: Input
|
|
184
|
+
}], size: [{
|
|
185
|
+
type: Input
|
|
186
|
+
}], valueSize: [{
|
|
187
|
+
type: Input
|
|
188
|
+
}], iconClass: [{
|
|
189
|
+
type: Input
|
|
190
|
+
}], customClasses: [{
|
|
191
|
+
type: Input
|
|
192
|
+
}], readonly: [{
|
|
193
|
+
type: Input
|
|
194
|
+
}], disabled: [{
|
|
195
|
+
type: Input
|
|
196
|
+
}], double: [{
|
|
197
|
+
type: Input
|
|
198
|
+
}], viewMode: [{
|
|
199
|
+
type: Input
|
|
200
|
+
}], step: [{
|
|
201
|
+
type: Input
|
|
202
|
+
}], ratingSettings: [{
|
|
203
|
+
type: Input
|
|
204
|
+
}], maxValue: [{
|
|
205
|
+
type: Input
|
|
206
|
+
}], invalid: [{
|
|
207
|
+
type: Input
|
|
208
|
+
}], invalidMessage: [{
|
|
209
|
+
type: Input
|
|
210
|
+
}], checkInvalid: [{
|
|
211
|
+
type: Input
|
|
212
|
+
}], changed: [{
|
|
213
|
+
type: Output
|
|
214
|
+
}] } });
|
|
215
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmF0aW5nLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL215cnRhLXVpL3NyYy9saWIvY29tcG9uZW50cy9mb3JtL3JhdGluZy9yYXRpbmcuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9jb21wb25lbnRzL2Zvcm0vcmF0aW5nL3JhdGluZy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxVQUFVLEVBQUUsS0FBSyxFQUFVLE1BQU0sR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ZWRdPVwiZGlzYWJsZWQgfHwgcmVhZG9ubHlcIj5cclxuICAgICAgICAgIDxkaXYgKm5nSWY9XCJkb3VibGVcIiBjbGFzcz1cIm1yeC1yYXRpbmctaXRlbS1kb3VibGUtd3JhcHBlclwiPlxyXG4gICAgICAgICAgICA8c3BhblxyXG4gICAgICAgICAgICAgIGNsYXNzPVwibXJ4LWljb25cIlxyXG4gICAgICAgICAgICAgIFtjbGFzc109XCJpY29uQ2xhc3NcIlxyXG4gICAgICAgICAgICAgIFtjbGFzcy5pY29uLWZvbnQtMTZdPVwic2l6ZSA9PT0gJ3NtYWxsJ1wiXHJcbiAgICAgICAgICAgICAgW2NsYXNzLmljb24tZm9udC0yNF09XCJzaXplID09PSAnbGFyZ2UnXCJcclxuICAgICAgICAgICAgICBbY2xhc3MuZmlsbGVkXT1cIml0ZW0uZmlsbGVkICYmIGl0ZW0uZG91YmxlXCJcclxuICAgICAgICAgICAgPjwvc3Bhbj5cclxuICAgICAgICAgIDwvZGl2PlxyXG5cclxuICAgICAgICAgIDxkaXYgY2xhc3M9XCJtcngtcmF0aW5nLWl0ZW0td3JhcHBlclwiPlxyXG4gICAgICAgICAgICA8c3BhblxyXG4gICAgICAgICAgICAgIGNsYXNzPVwibXJ4LWljb25cIlxyXG4gICAgICAgICAgICAgIFtjbGFzc109XCJpY29uQ2xhc3NcIlxyXG4gICAgICAgICAgICAgIFtjbGFzcy5pY29uLWZvbnQtMTZdPVwic2l6ZSA9PT0gJ3NtYWxsJ1wiXHJcbiAgICAgICAgICAgICAgW2NsYXNzLmljb24tZm9udC0yNF09XCJzaXplID09PSAnbGFyZ2UnXCJcclxuICAgICAgICAgICAgICBbY2xhc3MuZmlsbGVkXT1cIml0ZW0uZmlsbGVkICYmICFpdGVtLmRvdWJsZVwiXHJcbiAgICAgICAgICAgID48L3NwYW4+XHJcbiAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICA8L2Rpdj5cclxuICAgICAgPC9uZy1jb250YWluZXI+XHJcbiAgICA8L2Rpdj5cclxuICA8L25nLXRlbXBsYXRlPlxyXG5cclxuICA8bmctY29udGFpbmVyIFtuZ1N3aXRjaF09XCJ2aWV3TW9kZVwiPlxyXG4gICAgPHNwYW4gKm5nU3dpdGNoQ2FzZT1cIid0ZXh0J1wiIFtjbGFzc109XCJnZXRWYWx1ZUNsYXNzZXNcIj57eyByYXRpbmdUZXh0IH19PC9zcGFuPlxyXG4gICAgPHNwYW4gKm5nU3dpdGNoQ2FzZT1cIid2YWx1ZSdcIiBbY2xhc3NdPVwiZ2V0VmFsdWVDbGFzc2VzXCI+e3sgdG9OdW1iZXJGb3JtYXRGdW5jKHZhbHVlKSB9fTwvc3Bhbj5cclxuICAgIDxzcGFuICpuZ1N3aXRjaENhc2U9XCIndGV4dC13aXRoLXZhbHVlJ1wiIFtjbGFzc109XCJnZXRWYWx1ZUNsYXNzZXNcIj5cclxuICAgICAge3sgcmF0aW5nVGV4dCB9fSAoe3sgdG9OdW1iZXJGb3JtYXRGdW5jKHZhbHVlKSB9fSlcclxuICAgIDwvc3Bhbj5cclxuICA8L25nLWNvbnRhaW5lcj5cclxuPC9kaXY+XHJcblxyXG48bXJ4LWVycm9yLW1lc3NhZ2UgKm5nSWY9XCIoIWlzVmFsaWQgfHwgaW52YWxpZCkgJiYgaXNJbnZhbGlkTWVzc2FnZVwiIFtpbnZhbGlkTWVzc2FnZV09XCJpbnZhbGlkTWVzc2FnZVwiPlxyXG48L21yeC1lcnJvci1tZXNzYWdlPlxyXG4iXX0=
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export var RatingSizesEnum;
|
|
2
|
+
(function (RatingSizesEnum) {
|
|
3
|
+
RatingSizesEnum["small"] = "mrx-rating-sm";
|
|
4
|
+
RatingSizesEnum["large"] = "mrx-rating-lg";
|
|
5
|
+
})(RatingSizesEnum || (RatingSizesEnum = {}));
|
|
6
|
+
export var RatingWrapperSizesEnum;
|
|
7
|
+
(function (RatingWrapperSizesEnum) {
|
|
8
|
+
RatingWrapperSizesEnum["small"] = "mrx-rating-wrapper-sm";
|
|
9
|
+
RatingWrapperSizesEnum["large"] = "mrx-rating-wrapper-lg";
|
|
10
|
+
})(RatingWrapperSizesEnum || (RatingWrapperSizesEnum = {}));
|
|
11
|
+
export var RatingValueSizesEnum;
|
|
12
|
+
(function (RatingValueSizesEnum) {
|
|
13
|
+
RatingValueSizesEnum["small"] = "mrx-rating-value-sm";
|
|
14
|
+
RatingValueSizesEnum["large"] = "mrx-rating-value-lg";
|
|
15
|
+
})(RatingValueSizesEnum || (RatingValueSizesEnum = {}));
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmF0aW5nLmVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9teXJ0YS11aS9zcmMvbGliL2NvbXBvbmVudHMvZm9ybS9yYXRpbmcvcmF0aW5nLmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksZUFHWDtBQUhELFdBQVksZUFBZTtJQUN6QiwwQ0FBeUIsQ0FBQTtJQUN6QiwwQ0FBeUIsQ0FBQTtBQUMzQixDQUFDLEVBSFcsZUFBZSxLQUFmLGVBQWUsUUFHMUI7QUFFRCxNQUFNLENBQU4sSUFBWSxzQkFHWDtBQUhELFdBQVksc0JBQXNCO0lBQ2hDLHlEQUFpQyxDQUFBO0lBQ2pDLHlEQUFpQyxDQUFBO0FBQ25DLENBQUMsRUFIVyxzQkFBc0IsS0FBdEIsc0JBQXNCLFFBR2pDO0FBSUQsTUFBTSxDQUFOLElBQVksb0JBR1g7QUFIRCxXQUFZLG9CQUFvQjtJQUM5QixxREFBK0IsQ0FBQTtJQUMvQixxREFBK0IsQ0FBQTtBQUNqQyxDQUFDLEVBSFcsb0JBQW9CLEtBQXBCLG9CQUFvQixRQUcvQiIsInNvdXJjZXN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RleHQtd2l0aC12YWx1ZSc7XHJcblxyXG5leHBvcnQgdHlwZSBSYXRpbmdTdGF0ZSA9ICd2aWV3JyB8ICdlZGl0JztcclxuIl19
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { RatingComponent } from './rating.component';
|
|
4
|
+
import { ErrorMessageModule } from '../../error-message/error-message.module';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export class RatingModule {
|
|
7
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RatingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
8
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: RatingModule, declarations: [RatingComponent], imports: [CommonModule,
|
|
9
|
+
ErrorMessageModule], exports: [RatingComponent] });
|
|
10
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RatingModule, imports: [CommonModule,
|
|
11
|
+
ErrorMessageModule] });
|
|
12
|
+
}
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RatingModule, decorators: [{
|
|
14
|
+
type: NgModule,
|
|
15
|
+
args: [{
|
|
16
|
+
declarations: [RatingComponent],
|
|
17
|
+
imports: [
|
|
18
|
+
CommonModule,
|
|
19
|
+
ErrorMessageModule
|
|
20
|
+
],
|
|
21
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
22
|
+
exports: [RatingComponent]
|
|
23
|
+
}]
|
|
24
|
+
}] });
|
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmF0aW5nLm1vZHVsZS5qcyIsInNvdXJjZVJvb3Q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