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,22 @@
|
|
|
1
|
+
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { FormsModule } from '@angular/forms';
|
|
4
|
+
import { CheckboxComponent } from './checkbox.component';
|
|
5
|
+
import { TooltipModule } from '../../tooltip/tooltip.module';
|
|
6
|
+
import { SaveStateModule } from '../../save-state/save-state.module';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export class CheckboxModule {
|
|
9
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: CheckboxModule, declarations: [CheckboxComponent], imports: [CommonModule, FormsModule, TooltipModule, SaveStateModule], exports: [CheckboxComponent] });
|
|
11
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CheckboxModule, imports: [CommonModule, FormsModule, TooltipModule, SaveStateModule] });
|
|
12
|
+
}
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CheckboxModule, decorators: [{
|
|
14
|
+
type: NgModule,
|
|
15
|
+
args: [{
|
|
16
|
+
declarations: [CheckboxComponent],
|
|
17
|
+
imports: [CommonModule, FormsModule, TooltipModule, SaveStateModule],
|
|
18
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
19
|
+
exports: [CheckboxComponent],
|
|
20
|
+
}]
|
|
21
|
+
}] });
|
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3gubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9jb21wb25lbnRzL2Zvcm0vY2hlY2tib3gvY2hlY2tib3gubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDakUsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUM3QyxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQUN6RCxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sOEJBQThCLENBQUM7QUFDN0QsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLG9DQUFvQyxDQUFDOztBQVFyRSxNQUFNLE9BQU8sY0FBYzt3R0FBZCxjQUFjO3lHQUFkLGNBQWMsaUJBTFYsaUJBQWlCLGFBQ3RCLFlBQVksRUFBRSxXQUFXLEVBQUUsYUFBYSxFQUFFLGVBQWUsYUFFekQsaUJBQWlCO3lHQUVoQixjQUFjLFlBSmYsWUFBWSxFQUFFLFdBQVcsRUFBRSxhQUFhLEVBQUUsZUFBZTs7NEZBSXhELGNBQWM7a0JBTjFCL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2hlY2tib3hNb2R1bGUge31cclxuIl19
|
|
@@ -0,0 +1,216 @@
|
|
|
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 { getSortedList } from './helpers/get-sorted-list';
|
|
5
|
+
import { filterSearchGroup } from './helpers/filter-search-group';
|
|
6
|
+
import { getItemInnerById } from './helpers/get-item-by-id';
|
|
7
|
+
import { changeItemValue, changeListValue } from './helpers/change-item-value';
|
|
8
|
+
import { changeGroupValue } from './helpers/change-group-value';
|
|
9
|
+
import { getCheckedItems } from './helpers/get-checked-items';
|
|
10
|
+
import { v4 as uuid } from 'uuid';
|
|
11
|
+
import { getInnerList } from './helpers/get-inner-list.helper';
|
|
12
|
+
import { innerListToList } from './helpers/inner-list-to-list.helper';
|
|
13
|
+
import * as i0 from "@angular/core";
|
|
14
|
+
import * as i1 from "@angular/common";
|
|
15
|
+
import * as i2 from "../../save-state/save-state.component";
|
|
16
|
+
import * as i3 from "../../error-message/error-message.component";
|
|
17
|
+
import * as i4 from "./components/checkbox-group-item/checkbox-group-item.component";
|
|
18
|
+
import * as i5 from "./components/checkbox-group-header/checkbox-group-header.component";
|
|
19
|
+
export class CheckboxGroupComponent {
|
|
20
|
+
_detector;
|
|
21
|
+
_groupItemsWrapperHeight = 0;
|
|
22
|
+
_searchValue = '';
|
|
23
|
+
list = [];
|
|
24
|
+
innerList = [];
|
|
25
|
+
checkedList = [];
|
|
26
|
+
filteredList = [];
|
|
27
|
+
// SAVE STATE
|
|
28
|
+
uuid = uuid();
|
|
29
|
+
fields = [];
|
|
30
|
+
scrollMaxHeight = 200;
|
|
31
|
+
searchable = false;
|
|
32
|
+
scrollable = false;
|
|
33
|
+
sortable = false;
|
|
34
|
+
disabled = false;
|
|
35
|
+
readonly = false;
|
|
36
|
+
enableMessage = 'Ничего не найдено';
|
|
37
|
+
searchPlaceholder = '';
|
|
38
|
+
customClasses = '';
|
|
39
|
+
// TOOLTIP
|
|
40
|
+
tooltip = '';
|
|
41
|
+
// LABEL
|
|
42
|
+
labelText = '';
|
|
43
|
+
linkText = '';
|
|
44
|
+
// VALIDATE
|
|
45
|
+
invalid = false;
|
|
46
|
+
invalidMessage = '';
|
|
47
|
+
set items(list) {
|
|
48
|
+
this.list = list;
|
|
49
|
+
this._updateModifiedList();
|
|
50
|
+
}
|
|
51
|
+
get items() {
|
|
52
|
+
return this.filteredList;
|
|
53
|
+
}
|
|
54
|
+
groupItemsWrapper;
|
|
55
|
+
changed = new EventEmitter();
|
|
56
|
+
modelChange = new EventEmitter();
|
|
57
|
+
changedInner = new EventEmitter();
|
|
58
|
+
modelChangeInner = new EventEmitter();
|
|
59
|
+
modelItemChange = new EventEmitter();
|
|
60
|
+
constructor(_detector) {
|
|
61
|
+
this._detector = _detector;
|
|
62
|
+
}
|
|
63
|
+
get isSearchValue() {
|
|
64
|
+
return this._searchValue;
|
|
65
|
+
}
|
|
66
|
+
get displaced() {
|
|
67
|
+
return this.list.some((item) => item.items?.length);
|
|
68
|
+
}
|
|
69
|
+
get getInvalid() {
|
|
70
|
+
return this.invalid;
|
|
71
|
+
}
|
|
72
|
+
get getInvalidMessage() {
|
|
73
|
+
return this.invalidMessage;
|
|
74
|
+
}
|
|
75
|
+
get getClasses() {
|
|
76
|
+
return `${this.customClasses}`;
|
|
77
|
+
}
|
|
78
|
+
get getShowScroll() {
|
|
79
|
+
return this._groupItemsWrapperHeight > this.scrollMaxHeight;
|
|
80
|
+
}
|
|
81
|
+
trackByFn(index, item) {
|
|
82
|
+
return item.id;
|
|
83
|
+
}
|
|
84
|
+
onChange = (value) => {
|
|
85
|
+
};
|
|
86
|
+
onTouched = () => {
|
|
87
|
+
};
|
|
88
|
+
writeValue(selectedValue) {
|
|
89
|
+
if (selectedValue !== null) {
|
|
90
|
+
this.checkedList = getInnerList(selectedValue, this.checkedList);
|
|
91
|
+
this._updateModifiedList();
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
_updateModifiedList() {
|
|
95
|
+
this.innerList = getInnerList(this.list, this.checkedList);
|
|
96
|
+
this.filteredList = getSortedList(this.innerList, this.sortable);
|
|
97
|
+
}
|
|
98
|
+
checkHeightGroupWrapper() {
|
|
99
|
+
this._groupItemsWrapperHeight = this.groupItemsWrapper.nativeElement.scrollHeight;
|
|
100
|
+
}
|
|
101
|
+
updateCheckboxGroupSearchValue(searchValue) {
|
|
102
|
+
this._searchValue = searchValue;
|
|
103
|
+
this.filteredList = filterSearchGroup(this.innerList, this._searchValue);
|
|
104
|
+
}
|
|
105
|
+
checkboxChanged({ value, item }) {
|
|
106
|
+
const cloneList = cloneDeep(this.filteredList);
|
|
107
|
+
const findItem = getItemInnerById(cloneList, item.id);
|
|
108
|
+
let changedItem = null;
|
|
109
|
+
if (findItem) {
|
|
110
|
+
changedItem = changeItemValue(findItem, value);
|
|
111
|
+
changeGroupValue(cloneList, item.parentId, value);
|
|
112
|
+
getSortedList(cloneList, this.sortable);
|
|
113
|
+
}
|
|
114
|
+
this.filteredList = cloneList;
|
|
115
|
+
this.checkedList = getCheckedItems(cloneList);
|
|
116
|
+
this.updateValue(this.filteredList, this.checkedList);
|
|
117
|
+
if (changedItem) {
|
|
118
|
+
this.modelItemChange.emit(changedItem);
|
|
119
|
+
}
|
|
120
|
+
this._detector.detectChanges();
|
|
121
|
+
}
|
|
122
|
+
clearFilters() {
|
|
123
|
+
const cloneList = cloneDeep(this.filteredList);
|
|
124
|
+
changeListValue(cloneList, false);
|
|
125
|
+
getSortedList(cloneList, this.sortable);
|
|
126
|
+
this.filteredList = cloneList;
|
|
127
|
+
this.checkedList = getCheckedItems(cloneList);
|
|
128
|
+
this.updateValue(this.filteredList, this.checkedList);
|
|
129
|
+
}
|
|
130
|
+
registerOnChange(fn) {
|
|
131
|
+
this.onChange = fn;
|
|
132
|
+
}
|
|
133
|
+
registerOnTouched(fn) {
|
|
134
|
+
this.onTouched = fn;
|
|
135
|
+
}
|
|
136
|
+
updateValue(list, checkedList) {
|
|
137
|
+
const clearedList = innerListToList(checkedList);
|
|
138
|
+
const clearedInnerList = innerListToList(this.innerList);
|
|
139
|
+
this.changed.emit(clearedList);
|
|
140
|
+
this.modelChange.emit({ value: clearedList, full: clearedInnerList, id: this.uuid });
|
|
141
|
+
this.changedInner.emit(checkedList);
|
|
142
|
+
this.modelChangeInner.emit({ value: checkedList, full: this.innerList, id: this.uuid });
|
|
143
|
+
this.onChange(checkedList);
|
|
144
|
+
this.onTouched();
|
|
145
|
+
}
|
|
146
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CheckboxGroupComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
147
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: CheckboxGroupComponent, selector: "mrx-checkbox-group", inputs: { fields: "fields", scrollMaxHeight: "scrollMaxHeight", searchable: "searchable", scrollable: "scrollable", sortable: "sortable", disabled: "disabled", readonly: "readonly", enableMessage: "enableMessage", searchPlaceholder: "searchPlaceholder", customClasses: "customClasses", tooltip: "tooltip", labelText: "labelText", linkText: "linkText", invalid: "invalid", invalidMessage: "invalidMessage", items: "items" }, outputs: { changed: "changed", modelChange: "modelChange", changedInner: "changedInner", modelChangeInner: "modelChangeInner", modelItemChange: "modelItemChange" }, providers: [
|
|
148
|
+
{
|
|
149
|
+
provide: NG_VALUE_ACCESSOR,
|
|
150
|
+
useExisting: forwardRef(() => CheckboxGroupComponent),
|
|
151
|
+
multi: true,
|
|
152
|
+
},
|
|
153
|
+
], viewQueries: [{ propertyName: "groupItemsWrapper", first: true, predicate: ["groupItemsWrapper"], descendants: true }], ngImport: i0, template: "<div class=\"mrx-checkbox-group\" [class]=\"getClasses\">\r\n <mrx-save-state [id]=\"uuid\" [fields]=\"fields\" type=\"checkboxGroup\"></mrx-save-state>\r\n\r\n <mrx-checkbox-group-header\r\n [searchable]=\"searchable\"\r\n [searchPlaceholder]=\"searchPlaceholder\"\r\n [tooltip]=\"tooltip\"\r\n [labelText]=\"labelText\"\r\n [linkText]=\"linkText\"\r\n [checkedItemsCount]=\"checkedList.length\"\r\n (updateCheckboxGroupSearchValue)=\"updateCheckboxGroupSearchValue($event)\"\r\n (clearFilters)=\"clearFilters()\"\r\n ></mrx-checkbox-group-header>\r\n\r\n <div\r\n #groupItemsWrapper\r\n *ngIf=\"filteredList?.length; else enableMessageTemplate\"\r\n class=\"mrx-checkbox-group-wrapper\"\r\n [class.mrx-checkbox-group-wrapper--scrollable]=\"scrollable\"\r\n [class.--active]=\"getShowScroll\"\r\n [style.max-height]=\"scrollable ? scrollMaxHeight + 'px' : 'auto'\"\r\n >\r\n <mrx-checkbox-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 [animationTrigger]=\"!!isSearchValue\"\r\n [disabled]=\"disabled\"\r\n [readonly]=\"readonly\"\r\n [invalid]=\"invalid\"\r\n (animationEnd)=\"checkHeightGroupWrapper()\"\r\n (checkboxChanged)=\"checkboxChanged($event)\"\r\n ></mrx-checkbox-group-item>\r\n </div>\r\n\r\n <ng-template #enableMessageTemplate>\r\n <p class=\"mrx-checkbox-group__empty-message\">{{ enableMessage }}</p>\r\n </ng-template>\r\n\r\n <mrx-error-message\r\n *ngIf=\"getInvalid && getInvalidMessage\"\r\n [invalidMessage]=\"getInvalidMessage\"\r\n [customClasses]=\"'mt-2'\"\r\n ></mrx-error-message>\r\n</div>\r\n", styles: [".mrx-checkbox-group{position:relative}.mrx-checkbox-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-checkbox-group-wrapper--scrollable::-webkit-scrollbar{width:8px;height:8px}.mrx-checkbox-group-wrapper--scrollable::-webkit-scrollbar-thumb{background:var(--neutral-bg-stroke-default);border-radius:8px}.mrx-checkbox-group-wrapper--scrollable.--active{padding-top:12px;padding-bottom:12px;border-color:var(--neutral-bg-divider)}.mrx-checkbox-group__empty-message{padding-top:12px;padding-bottom:12px}\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.SaveStateComponent, selector: "mrx-save-state", inputs: ["type", "fields", "id"] }, { kind: "component", type: i3.ErrorMessageComponent, selector: "mrx-error-message", inputs: ["invalid", "invalidMessage", "customClasses"] }, { kind: "component", type: i4.CheckboxGroupItemComponent, selector: "mrx-checkbox-group-item", inputs: ["displaced", "level", "animationTrigger", "isLast", "disabled", "readonly", "invalid", "item"], outputs: ["animationEnd", "checkboxChanged"] }, { kind: "component", type: i5.CheckboxGroupHeaderComponent, selector: "mrx-checkbox-group-header", inputs: ["searchable", "searchPlaceholder", "tooltip", "labelText", "linkText", "checkedItemsCount"], outputs: ["updateCheckboxGroupSearchValue", "clearFilters"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
154
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CheckboxGroupComponent, providedIn: CheckboxGroupComponent });
|
|
155
|
+
}
|
|
156
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CheckboxGroupComponent, decorators: [{
|
|
157
|
+
type: Injectable,
|
|
158
|
+
args: [{
|
|
159
|
+
providedIn: CheckboxGroupComponent
|
|
160
|
+
}]
|
|
161
|
+
}, {
|
|
162
|
+
type: Component,
|
|
163
|
+
args: [{ selector: 'mrx-checkbox-group', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
164
|
+
{
|
|
165
|
+
provide: NG_VALUE_ACCESSOR,
|
|
166
|
+
useExisting: forwardRef(() => CheckboxGroupComponent),
|
|
167
|
+
multi: true,
|
|
168
|
+
},
|
|
169
|
+
], template: "<div class=\"mrx-checkbox-group\" [class]=\"getClasses\">\r\n <mrx-save-state [id]=\"uuid\" [fields]=\"fields\" type=\"checkboxGroup\"></mrx-save-state>\r\n\r\n <mrx-checkbox-group-header\r\n [searchable]=\"searchable\"\r\n [searchPlaceholder]=\"searchPlaceholder\"\r\n [tooltip]=\"tooltip\"\r\n [labelText]=\"labelText\"\r\n [linkText]=\"linkText\"\r\n [checkedItemsCount]=\"checkedList.length\"\r\n (updateCheckboxGroupSearchValue)=\"updateCheckboxGroupSearchValue($event)\"\r\n (clearFilters)=\"clearFilters()\"\r\n ></mrx-checkbox-group-header>\r\n\r\n <div\r\n #groupItemsWrapper\r\n *ngIf=\"filteredList?.length; else enableMessageTemplate\"\r\n class=\"mrx-checkbox-group-wrapper\"\r\n [class.mrx-checkbox-group-wrapper--scrollable]=\"scrollable\"\r\n [class.--active]=\"getShowScroll\"\r\n [style.max-height]=\"scrollable ? scrollMaxHeight + 'px' : 'auto'\"\r\n >\r\n <mrx-checkbox-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 [animationTrigger]=\"!!isSearchValue\"\r\n [disabled]=\"disabled\"\r\n [readonly]=\"readonly\"\r\n [invalid]=\"invalid\"\r\n (animationEnd)=\"checkHeightGroupWrapper()\"\r\n (checkboxChanged)=\"checkboxChanged($event)\"\r\n ></mrx-checkbox-group-item>\r\n </div>\r\n\r\n <ng-template #enableMessageTemplate>\r\n <p class=\"mrx-checkbox-group__empty-message\">{{ enableMessage }}</p>\r\n </ng-template>\r\n\r\n <mrx-error-message\r\n *ngIf=\"getInvalid && getInvalidMessage\"\r\n [invalidMessage]=\"getInvalidMessage\"\r\n [customClasses]=\"'mt-2'\"\r\n ></mrx-error-message>\r\n</div>\r\n", styles: [".mrx-checkbox-group{position:relative}.mrx-checkbox-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-checkbox-group-wrapper--scrollable::-webkit-scrollbar{width:8px;height:8px}.mrx-checkbox-group-wrapper--scrollable::-webkit-scrollbar-thumb{background:var(--neutral-bg-stroke-default);border-radius:8px}.mrx-checkbox-group-wrapper--scrollable.--active{padding-top:12px;padding-bottom:12px;border-color:var(--neutral-bg-divider)}.mrx-checkbox-group__empty-message{padding-top:12px;padding-bottom:12px}\n"] }]
|
|
170
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { fields: [{
|
|
171
|
+
type: Input
|
|
172
|
+
}], scrollMaxHeight: [{
|
|
173
|
+
type: Input
|
|
174
|
+
}], searchable: [{
|
|
175
|
+
type: Input
|
|
176
|
+
}], scrollable: [{
|
|
177
|
+
type: Input
|
|
178
|
+
}], sortable: [{
|
|
179
|
+
type: Input
|
|
180
|
+
}], disabled: [{
|
|
181
|
+
type: Input
|
|
182
|
+
}], readonly: [{
|
|
183
|
+
type: Input
|
|
184
|
+
}], enableMessage: [{
|
|
185
|
+
type: Input
|
|
186
|
+
}], searchPlaceholder: [{
|
|
187
|
+
type: Input
|
|
188
|
+
}], customClasses: [{
|
|
189
|
+
type: Input
|
|
190
|
+
}], tooltip: [{
|
|
191
|
+
type: Input
|
|
192
|
+
}], labelText: [{
|
|
193
|
+
type: Input
|
|
194
|
+
}], linkText: [{
|
|
195
|
+
type: Input
|
|
196
|
+
}], invalid: [{
|
|
197
|
+
type: Input
|
|
198
|
+
}], invalidMessage: [{
|
|
199
|
+
type: Input
|
|
200
|
+
}], items: [{
|
|
201
|
+
type: Input
|
|
202
|
+
}], groupItemsWrapper: [{
|
|
203
|
+
type: ViewChild,
|
|
204
|
+
args: ['groupItemsWrapper']
|
|
205
|
+
}], changed: [{
|
|
206
|
+
type: Output
|
|
207
|
+
}], modelChange: [{
|
|
208
|
+
type: Output
|
|
209
|
+
}], changedInner: [{
|
|
210
|
+
type: Output
|
|
211
|
+
}], modelChangeInner: [{
|
|
212
|
+
type: Output
|
|
213
|
+
}], modelItemChange: [{
|
|
214
|
+
type: Output
|
|
215
|
+
}] } });
|
|
216
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3gtZ3JvdXAuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9jb21wb25lbnRzL2Zvcm0vY2hlY2tib3gtZ3JvdXAvY2hlY2tib3gtZ3JvdXAuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9jb21wb25lbnRzL2Zvcm0vY2hlY2tib3gtZ3JvdXAvY2hlY2tib3gtZ3JvdXAuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLHVCQUF1QixFQUN2QixTQUFTLEVBRVQsWUFBWSxFQUNaLFVBQVUsRUFBRSxVQUFVLEVBQ3RCLEtBQUssRUFDTCxNQUFNLEVBQ04sU0FBUyxFQUNWLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBd0IsaUJBQWlCLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQU96RSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sV0FBVyxDQUFDO0FBQ3RDLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSwyQkFBMkIsQ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XG48L2Rpdj5cclxuIl19
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { CheckboxGroupComponent } from './checkbox-group.component';
|
|
4
|
+
import { FormsModule } from '@angular/forms';
|
|
5
|
+
import { CheckboxModule } from '../checkbox/checkbox.module';
|
|
6
|
+
import { CheckboxGroupItemComponent } from './components/checkbox-group-item/checkbox-group-item.component';
|
|
7
|
+
import { CheckboxGroupHeaderComponent } from './components/checkbox-group-header/checkbox-group-header.component';
|
|
8
|
+
import { ErrorMessageModule } from '../../error-message/error-message.module';
|
|
9
|
+
import { LabelModule } from '../../label/label.module';
|
|
10
|
+
import { SaveStateModule } from '../../save-state/save-state.module';
|
|
11
|
+
import { InputSearchModule } from '../input-search/input-search.module';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
export class CheckboxGroupModule {
|
|
14
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CheckboxGroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
15
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: CheckboxGroupModule, declarations: [CheckboxGroupComponent, CheckboxGroupItemComponent, CheckboxGroupHeaderComponent], imports: [CommonModule,
|
|
16
|
+
FormsModule,
|
|
17
|
+
CheckboxModule,
|
|
18
|
+
InputSearchModule,
|
|
19
|
+
LabelModule,
|
|
20
|
+
SaveStateModule,
|
|
21
|
+
ErrorMessageModule], exports: [CheckboxGroupComponent] });
|
|
22
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CheckboxGroupModule, imports: [CommonModule,
|
|
23
|
+
FormsModule,
|
|
24
|
+
CheckboxModule,
|
|
25
|
+
InputSearchModule,
|
|
26
|
+
LabelModule,
|
|
27
|
+
SaveStateModule,
|
|
28
|
+
ErrorMessageModule] });
|
|
29
|
+
}
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CheckboxGroupModule, decorators: [{
|
|
31
|
+
type: NgModule,
|
|
32
|
+
args: [{
|
|
33
|
+
declarations: [CheckboxGroupComponent, CheckboxGroupItemComponent, CheckboxGroupHeaderComponent],
|
|
34
|
+
imports: [
|
|
35
|
+
CommonModule,
|
|
36
|
+
FormsModule,
|
|
37
|
+
CheckboxModule,
|
|
38
|
+
InputSearchModule,
|
|
39
|
+
LabelModule,
|
|
40
|
+
SaveStateModule,
|
|
41
|
+
ErrorMessageModule
|
|
42
|
+
],
|
|
43
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
44
|
+
exports: [CheckboxGroupComponent]
|
|
45
|
+
}]
|
|
46
|
+
}] });
|
|
47
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3gtZ3JvdXAubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9jb21wb25lbnRzL2Zvcm0vY2hlY2tib3gtZ3JvdXAvY2hlY2tib3gtZ3JvdXAubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDakUsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLDRCQUE0QixDQUFDO0FBQ3BFLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUM3QyxP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XZlLXN0YXRlLm1vZHVsZSc7XHJcbmltcG9ydCB7IElucHV0U2VhcmNoTW9kdWxlIH0gZnJvbSAnLi4vaW5wdXQtc2VhcmNoL2lucHV0LXNlYXJjaC5tb2R1bGUnO1xyXG5cclxuQE5nTW9kdWxlKHtcclxuICBkZWNsYXJhdGlvbnM6IFtDaGVja2JveEdyb3VwQ29tcG9uZW50LCBDaGVja2JveEdyb3VwSXRlbUNvbXBvbmVudCwgQ2hlY2tib3hHcm91cEhlYWRlckNvbXBvbmVudF0sXHJcbiAgaW1wb3J0czogW1xyXG4gICAgQ29tbW9uTW9kdWxlLFxyXG4gICAgRm9ybXNNb2R1bGUsXHJcbiAgICBDaGVja2JveE1vZHVsZSxcclxuICAgIElucHV0U2VhcmNoTW9kdWxlLFxyXG4gICAgTGFiZWxNb2R1bGUsXHJcbiAgICBTYXZlU3RhdGVNb2R1bGUsXHJcbiAgICBFcnJvck1lc3NhZ2VNb2R1bGVcclxuICBdLFxyXG4gIHNjaGVtYXM6IFtDVVNUT01fRUxFTUVOVFNfU0NIRU1BXSxcclxuICBleHBvcnRzOiBbQ2hlY2tib3hHcm91cENvbXBvbmVudF1cclxufSlcclxuZXhwb3J0IGNsYXNzIENoZWNrYm94R3JvdXBNb2R1bGUgeyB9XHJcbiJdfQ==
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/common";
|
|
4
|
+
import * as i2 from "@angular/forms";
|
|
5
|
+
import * as i3 from "../../../input-search/input-search.component";
|
|
6
|
+
import * as i4 from "../../../../label/label.component";
|
|
7
|
+
export class CheckboxGroupHeaderComponent {
|
|
8
|
+
searchValue = '';
|
|
9
|
+
searchable = false;
|
|
10
|
+
searchPlaceholder = '';
|
|
11
|
+
// LABEL
|
|
12
|
+
tooltip = '';
|
|
13
|
+
labelText = '';
|
|
14
|
+
linkText = '';
|
|
15
|
+
checkedItemsCount = 0;
|
|
16
|
+
updateCheckboxGroupSearchValue = new EventEmitter();
|
|
17
|
+
clearFilters = new EventEmitter();
|
|
18
|
+
constructor() { }
|
|
19
|
+
changeSearchValue(searchValue) {
|
|
20
|
+
this.updateCheckboxGroupSearchValue.emit(searchValue);
|
|
21
|
+
}
|
|
22
|
+
onClearFilters() {
|
|
23
|
+
this.clearFilters.emit();
|
|
24
|
+
}
|
|
25
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CheckboxGroupHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
26
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: CheckboxGroupHeaderComponent, selector: "mrx-checkbox-group-header", inputs: { searchable: "searchable", searchPlaceholder: "searchPlaceholder", tooltip: "tooltip", labelText: "labelText", linkText: "linkText", checkedItemsCount: "checkedItemsCount" }, outputs: { updateCheckboxGroupSearchValue: "updateCheckboxGroupSearchValue", clearFilters: "clearFilters" }, ngImport: i0, template: "<mrx-label\r\n *ngIf=\"labelText\"\r\n [counter]=\"checkedItemsCount\"\r\n [linkText]=\"linkText\"\r\n [tooltip]=\"tooltip\"\r\n (clickedLink)=\"onClearFilters()\"\r\n>{{ labelText }}</mrx-label>\r\n\r\n<div class=\"mrx-checkbox-group-head--search\" *ngIf=\"searchable\">\r\n <mrx-input-search\r\n [ngModel]=\"searchValue\"\r\n [size]=\"'medium'\"\r\n [placeholder]=\"searchPlaceholder\"\r\n (ngModelChange)=\"changeSearchValue($event)\"\r\n ></mrx-input-search>\r\n</div>\r\n", styles: [".mrx-checkbox-group-head--search{margin-bottom:12px}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.InputSearchComponent, selector: "mrx-input-search", inputs: ["disabled", "required", "readonly", "maxlength", "minlength", "placeholder", "invalid", "invalidMessage", "checkInvalid", "customClasses", "mask", "size"], outputs: ["changed", "cleared", "searched"] }, { kind: "component", type: i4.LabelComponent, selector: "mrx-label", inputs: ["requiredHidden", "required", "boldLabel", "disabled", "placeholder", "label", "customClasses", "triggerTextPosition", "isPublicInfo", "publicInfoTooltip", "isSwitch", "switchLabel", "switchValue", "counter", "linkText", "linkPrevent", "linkType", "linkMonochrome", "href", "triggerType", "tooltip", "tooltipInitialVisible", "isSaveToStorage"], outputs: ["changeCheckboxValue", "clickedLink"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
27
|
+
}
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CheckboxGroupHeaderComponent, decorators: [{
|
|
29
|
+
type: Component,
|
|
30
|
+
args: [{ selector: 'mrx-checkbox-group-header', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mrx-label\r\n *ngIf=\"labelText\"\r\n [counter]=\"checkedItemsCount\"\r\n [linkText]=\"linkText\"\r\n [tooltip]=\"tooltip\"\r\n (clickedLink)=\"onClearFilters()\"\r\n>{{ labelText }}</mrx-label>\r\n\r\n<div class=\"mrx-checkbox-group-head--search\" *ngIf=\"searchable\">\r\n <mrx-input-search\r\n [ngModel]=\"searchValue\"\r\n [size]=\"'medium'\"\r\n [placeholder]=\"searchPlaceholder\"\r\n (ngModelChange)=\"changeSearchValue($event)\"\r\n ></mrx-input-search>\r\n</div>\r\n", styles: [".mrx-checkbox-group-head--search{margin-bottom:12px}\n"] }]
|
|
31
|
+
}], ctorParameters: () => [], propDecorators: { searchable: [{
|
|
32
|
+
type: Input
|
|
33
|
+
}], searchPlaceholder: [{
|
|
34
|
+
type: Input
|
|
35
|
+
}], tooltip: [{
|
|
36
|
+
type: Input
|
|
37
|
+
}], labelText: [{
|
|
38
|
+
type: Input
|
|
39
|
+
}], linkText: [{
|
|
40
|
+
type: Input
|
|
41
|
+
}], checkedItemsCount: [{
|
|
42
|
+
type: Input
|
|
43
|
+
}], updateCheckboxGroupSearchValue: [{
|
|
44
|
+
type: Output
|
|
45
|
+
}], clearFilters: [{
|
|
46
|
+
type: Output
|
|
47
|
+
}] } });
|
|
48
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3gtZ3JvdXAtaGVhZGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL215cnRhLXVpL3NyYy9saWIvY29tcG9uZW50cy9mb3JtL2NoZWNrYm94LWdyb3VwL2NvbXBvbmVudHMvY2hlY2tib3gtZ3JvdXAtaGVhZGVyL2NoZWNrYm94LWdyb3VwLWhlYWRlci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9teXJ0YS11aS9zcmMvbGliL2NvbXBvbmVudHMvZm9ybS9jaGVja2JveC1ncm91cC9jb21wb25lbnRzL2NoZWNrYm94LWdyb3VwLWhlYWRlci9jaGVja2JveC1ncm91cC1oZWFkZXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxZQUFZLEVBQUUsS0FBSyxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQzs7Ozs7O0FBU2hHLE1BQU0sT0FBTyw0QkFBNEI7SUFDaEMsV0FBVyxHQUFHLEVBQUUsQ0FBQTtJQUVkLFVBQVUsR0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XHJcbiJdfQ==
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import { animate, state, style, transition, trigger } from '@angular/animations';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
import * as i2 from "@angular/forms";
|
|
6
|
+
import * as i3 from "../../../checkbox/checkbox.component";
|
|
7
|
+
export class CheckboxGroupItemComponent {
|
|
8
|
+
_detector;
|
|
9
|
+
_item;
|
|
10
|
+
animationState = 'close';
|
|
11
|
+
isOpen = false;
|
|
12
|
+
displaced = false;
|
|
13
|
+
level = 0;
|
|
14
|
+
animationTrigger = null;
|
|
15
|
+
isLast;
|
|
16
|
+
disabled = false;
|
|
17
|
+
readonly = false;
|
|
18
|
+
invalid = false;
|
|
19
|
+
set item(value) {
|
|
20
|
+
this._item = value;
|
|
21
|
+
}
|
|
22
|
+
get item() {
|
|
23
|
+
return this._item;
|
|
24
|
+
}
|
|
25
|
+
animationEnd = new EventEmitter();
|
|
26
|
+
checkboxChanged = new EventEmitter();
|
|
27
|
+
constructor(_detector) {
|
|
28
|
+
this._detector = _detector;
|
|
29
|
+
}
|
|
30
|
+
get isIndeterminate() {
|
|
31
|
+
return this.item.value === null;
|
|
32
|
+
}
|
|
33
|
+
get translateChevron() {
|
|
34
|
+
return this.isOpen ? 'rotate(0deg)' : 'rotate(-90deg)';
|
|
35
|
+
}
|
|
36
|
+
toggleList(item) {
|
|
37
|
+
this.isOpen = !this.isOpen;
|
|
38
|
+
}
|
|
39
|
+
checkboxChangeModel(value, item) {
|
|
40
|
+
if (this.isIndeterminate) {
|
|
41
|
+
this.checkboxChanged.emit({ value: false, item });
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
this.checkboxChanged.emit({ value: value, item });
|
|
45
|
+
}
|
|
46
|
+
this._detector.detectChanges();
|
|
47
|
+
}
|
|
48
|
+
ngOnChanges(changes) {
|
|
49
|
+
if (changes['item'] && (changes['item'].currentValue.value === null)) {
|
|
50
|
+
this.isOpen = true;
|
|
51
|
+
}
|
|
52
|
+
else {
|
|
53
|
+
this.isOpen = !!this.animationTrigger;
|
|
54
|
+
}
|
|
55
|
+
this._detector.detectChanges();
|
|
56
|
+
}
|
|
57
|
+
onAnimationEvent() {
|
|
58
|
+
this.animationEnd.emit();
|
|
59
|
+
}
|
|
60
|
+
trackByFn(index, item) {
|
|
61
|
+
return item.id;
|
|
62
|
+
}
|
|
63
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CheckboxGroupItemComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
64
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: CheckboxGroupItemComponent, selector: "mrx-checkbox-group-item", inputs: { displaced: "displaced", level: "level", animationTrigger: "animationTrigger", isLast: "isLast", disabled: "disabled", readonly: "readonly", invalid: "invalid", item: "item" }, outputs: { animationEnd: "animationEnd", checkboxChanged: "checkboxChanged" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"mrx-checkbox-group__item\" [class.mrx-checkbox-group__item--buttom-ident]=\"!isLast\">\r\n <div class=\"mrx-checkbox-group__item--array\" *ngIf=\"item.items?.length && level < 10; else singleCheckboxTemplate\">\r\n <div class=\"mrx-checkbox-group__item--array-head\">\r\n <div class=\"mrx-checkbox-group__item--head-icon mr-1\">\r\n <span\r\n class=\"mrx-icon icon-chevron-down icon-font-16 cursor-pointer\"\r\n (click)=\"toggleList(item)\"\r\n [style.transform]=\"translateChevron\"\r\n ></span>\r\n </div>\r\n\r\n <mrx-checkbox\r\n [ngModel]=\"item.value\"\r\n [indeterminate]=\"isIndeterminate\"\r\n (ngModelChange)=\"checkboxChangeModel($event, item)\"\r\n >{{ item.text }}</mrx-checkbox>\r\n </div>\r\n\r\n <div class=\"mrx-checkbox-group__item--array-list\" [@openList]=\"isOpen ? 'open' : 'close'\" (@openList.done)=\"onAnimationEvent()\">\r\n <ng-container>\r\n <mrx-checkbox-group-item\r\n *ngFor=\"let item of item.items; trackBy: trackByFn\"\r\n [level]=\"level + 1\"\r\n [item]=\"item\"\r\n [displaced]=\"true\"\r\n [animationTrigger]=\"animationTrigger\"\r\n [disabled]=\"disabled\"\r\n [readonly]=\"readonly\"\r\n [invalid]=\"invalid\"\r\n (checkboxChanged)=\"checkboxChanged.emit($event)\"\r\n ></mrx-checkbox-group-item>\r\n </ng-container>\r\n </div>\r\n </div>\r\n\r\n <ng-template #singleCheckboxTemplate>\r\n <div class=\"mrx-checkbox-group__item--single\" [class.item-displaced]=\"displaced\">\r\n <mrx-checkbox\r\n [ngModel]=\"item.value\"\r\n [indeterminate]=\"false\"\r\n [disabled]=\"disabled\"\r\n [readonly]=\"readonly\"\r\n [invalid]=\"invalid\"\r\n (ngModelChange)=\"checkboxChangeModel($event, item)\"\r\n >{{ item.text }}</mrx-checkbox>\r\n </div>\r\n </ng-template>\r\n</div>\r\n\r\n\r\n", styles: [".mrx-checkbox-group__item--single.item-displaced{margin-left:20px}.mrx-checkbox-group__item--array-head{display:flex;justify-content:flex-start;align-items:center}.mrx-checkbox-group__item--array-list{padding-left:20px}.mrx-checkbox-group__item--buttom-ident{margin-bottom:12px}\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: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.CheckboxComponent, selector: "mrx-checkbox", inputs: ["fields", "required", "boldLabel", "indeterminate", "disabled", "readonly", "label", "customClasses", "customWrapperClasses", "invalid", "checkInvalid", "tooltip", "tooltipInitialVisible", "isSaveToStorage"], outputs: ["changed", "modelChange"] }, { kind: "component", type: CheckboxGroupItemComponent, selector: "mrx-checkbox-group-item", inputs: ["displaced", "level", "animationTrigger", "isLast", "disabled", "readonly", "invalid", "item"], outputs: ["animationEnd", "checkboxChanged"] }], animations: [
|
|
65
|
+
trigger('openList', [
|
|
66
|
+
state('*', style({ height: '0', opacity: '0', visibility: 'hidden', marginTop: '0', overflow: 'hidden' })),
|
|
67
|
+
state('open', style({ height: '*', opacity: '1', visibility: 'visible', marginTop: '12px' })),
|
|
68
|
+
state('close', style({ height: '0', opacity: '0', visibility: 'hidden', marginTop: '0', overflow: 'hidden' })),
|
|
69
|
+
transition('* => open', [
|
|
70
|
+
animate(200)
|
|
71
|
+
]),
|
|
72
|
+
transition('* => close', [
|
|
73
|
+
animate(200)
|
|
74
|
+
]),
|
|
75
|
+
])
|
|
76
|
+
], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
77
|
+
}
|
|
78
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CheckboxGroupItemComponent, decorators: [{
|
|
79
|
+
type: Component,
|
|
80
|
+
args: [{ selector: 'mrx-checkbox-group-item', changeDetection: ChangeDetectionStrategy.OnPush, animations: [
|
|
81
|
+
trigger('openList', [
|
|
82
|
+
state('*', style({ height: '0', opacity: '0', visibility: 'hidden', marginTop: '0', overflow: 'hidden' })),
|
|
83
|
+
state('open', style({ height: '*', opacity: '1', visibility: 'visible', marginTop: '12px' })),
|
|
84
|
+
state('close', style({ height: '0', opacity: '0', visibility: 'hidden', marginTop: '0', overflow: 'hidden' })),
|
|
85
|
+
transition('* => open', [
|
|
86
|
+
animate(200)
|
|
87
|
+
]),
|
|
88
|
+
transition('* => close', [
|
|
89
|
+
animate(200)
|
|
90
|
+
]),
|
|
91
|
+
])
|
|
92
|
+
], template: "<div class=\"mrx-checkbox-group__item\" [class.mrx-checkbox-group__item--buttom-ident]=\"!isLast\">\r\n <div class=\"mrx-checkbox-group__item--array\" *ngIf=\"item.items?.length && level < 10; else singleCheckboxTemplate\">\r\n <div class=\"mrx-checkbox-group__item--array-head\">\r\n <div class=\"mrx-checkbox-group__item--head-icon mr-1\">\r\n <span\r\n class=\"mrx-icon icon-chevron-down icon-font-16 cursor-pointer\"\r\n (click)=\"toggleList(item)\"\r\n [style.transform]=\"translateChevron\"\r\n ></span>\r\n </div>\r\n\r\n <mrx-checkbox\r\n [ngModel]=\"item.value\"\r\n [indeterminate]=\"isIndeterminate\"\r\n (ngModelChange)=\"checkboxChangeModel($event, item)\"\r\n >{{ item.text }}</mrx-checkbox>\r\n </div>\r\n\r\n <div class=\"mrx-checkbox-group__item--array-list\" [@openList]=\"isOpen ? 'open' : 'close'\" (@openList.done)=\"onAnimationEvent()\">\r\n <ng-container>\r\n <mrx-checkbox-group-item\r\n *ngFor=\"let item of item.items; trackBy: trackByFn\"\r\n [level]=\"level + 1\"\r\n [item]=\"item\"\r\n [displaced]=\"true\"\r\n [animationTrigger]=\"animationTrigger\"\r\n [disabled]=\"disabled\"\r\n [readonly]=\"readonly\"\r\n [invalid]=\"invalid\"\r\n (checkboxChanged)=\"checkboxChanged.emit($event)\"\r\n ></mrx-checkbox-group-item>\r\n </ng-container>\r\n </div>\r\n </div>\r\n\r\n <ng-template #singleCheckboxTemplate>\r\n <div class=\"mrx-checkbox-group__item--single\" [class.item-displaced]=\"displaced\">\r\n <mrx-checkbox\r\n [ngModel]=\"item.value\"\r\n [indeterminate]=\"false\"\r\n [disabled]=\"disabled\"\r\n [readonly]=\"readonly\"\r\n [invalid]=\"invalid\"\r\n (ngModelChange)=\"checkboxChangeModel($event, item)\"\r\n >{{ item.text }}</mrx-checkbox>\r\n </div>\r\n </ng-template>\r\n</div>\r\n\r\n\r\n", styles: [".mrx-checkbox-group__item--single.item-displaced{margin-left:20px}.mrx-checkbox-group__item--array-head{display:flex;justify-content:flex-start;align-items:center}.mrx-checkbox-group__item--array-list{padding-left:20px}.mrx-checkbox-group__item--buttom-ident{margin-bottom:12px}\n"] }]
|
|
93
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { displaced: [{
|
|
94
|
+
type: Input
|
|
95
|
+
}], level: [{
|
|
96
|
+
type: Input
|
|
97
|
+
}], animationTrigger: [{
|
|
98
|
+
type: Input
|
|
99
|
+
}], isLast: [{
|
|
100
|
+
type: Input
|
|
101
|
+
}], disabled: [{
|
|
102
|
+
type: Input
|
|
103
|
+
}], readonly: [{
|
|
104
|
+
type: Input
|
|
105
|
+
}], invalid: [{
|
|
106
|
+
type: Input
|
|
107
|
+
}], item: [{
|
|
108
|
+
type: Input
|
|
109
|
+
}], animationEnd: [{
|
|
110
|
+
type: Output
|
|
111
|
+
}], checkboxChanged: [{
|
|
112
|
+
type: Output
|
|
113
|
+
}] } });
|
|
114
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3gtZ3JvdXAtaXRlbS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9teXJ0YS11aS9zcmMvbGliL2NvbXBvbmVudHMvZm9ybS9jaGVja2JveC1ncm91cC9jb21wb25lbnRzL2NoZWNrYm94LWdyb3VwLWl0ZW0vY2hlY2tib3gtZ3JvdXAtaXRlbS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9teXJ0YS11aS9zcmMvbGliL2NvbXBvbmVudHMvZm9ybS9jaGVja2JveC1ncm91cC9jb21wb25lbnRzL2NoZWNrYm94LWdyb3VwLWl0ZW0vY2hlY2tib3gtZ3JvdXAtaXRlbS5jb21wb25lbnQuaHRtbCJdLCJ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gICAgICAgICBbcmVhZG9ubHldPVwicmVhZG9ubHlcIlxyXG4gICAgICAgICAgICBbaW52YWxpZF09XCJpbnZhbGlkXCJcclxuICAgICAgICAgICAgKGNoZWNrYm94Q2hhbmdlZCk9XCJjaGVja2JveENoYW5nZWQuZW1pdCgkZXZlbnQpXCJcclxuICAgICAgICA+PC9tcngtY2hlY2tib3gtZ3JvdXAtaXRlbT5cclxuICAgICAgPC9uZy1jb250YWluZXI+XHJcbiAgICA8L2Rpdj5cclxuICA8L2Rpdj5cclxuXHJcbiAgPG5nLXRlbXBsYXRlICNzaW5nbGVDaGVja2JveFRlbXBsYXRlPlxyXG4gICAgPGRpdiBjbGFzcz1cIm1yeC1jaGVja2JveC1ncm91cF9faXRlbS0tc2luZ2xlXCIgW2NsYXNzLml0ZW0tZGlzcGxhY2VkXT1cImRpc3BsYWNlZFwiPlxyXG4gICAgICA8bXJ4LWNoZWNrYm94XHJcbiAgICAgICAgICBbbmdNb2RlbF09XCJpdGVtLnZhbHVlXCJcclxuICAgICAgICAgIFtpbmRldGVybWluYXRlXT1cImZhbHNlXCJcclxuICAgICAgICAgIFtkaXNhYmxlZF09XCJkaXNhYmxlZFwiXHJcbiAgICAgICAgICBbcmVhZG9ubHldPVwicmVhZG9ubHlcIlxyXG4gICAgICAgICAgW2ludmFsaWRdPVwiaW52YWxpZFwiXHJcbiAgICAgICAgICAobmdNb2RlbENoYW5nZSk9XCJjaGVja2JveENoYW5nZU1vZGVsKCRldmVudCwgaXRlbSlcIlxyXG4gICAgICA+e3sgaXRlbS50ZXh0IH19PC9tcngtY2hlY2tib3g+XHJcbiAgICA8L2Rpdj5cclxuICA8L25nLXRlbXBsYXRlPlxyXG48L2Rpdj5cclxuXHJcblxyXG4iXX0=
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { getItemInnerById } from './get-item-by-id';
|
|
2
|
+
export const checkUnderArrayValue = (array, value) => {
|
|
3
|
+
return array.some((x) => {
|
|
4
|
+
if (x.type === 'array') {
|
|
5
|
+
return checkUnderArrayValue(x.items, value);
|
|
6
|
+
}
|
|
7
|
+
return x.value !== value;
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
export const changeGroupValue = (list, parentId, value) => {
|
|
11
|
+
if (!parentId) {
|
|
12
|
+
return;
|
|
13
|
+
}
|
|
14
|
+
const parent = getItemInnerById(list, parentId);
|
|
15
|
+
if (parent) {
|
|
16
|
+
parent.value = checkUnderArrayValue(parent.items, value) ? null : value;
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhbmdlLWdyb3VwLXZhbHVlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9jb21wb25lbnRzL2Zvcm0vY2hlY2tib3gtZ3JvdXAvaGVscGVycy9jaGFuZ2UtZ3JvdXAtdmFsdWUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sa0JBQWtCLENBQUM7QUFFcEQsTUFBTSxDQUFDLE1BQU0sb0JBQW9CLEdBQUcsQ0FBQyxLQUErQixFQUFFLEtBQWlDLEVBQVcsRUFBRTtJQUNsSCxPQUFPLEtBQUssQ0FBQyxJQUFJLENBQUMsQ0FBQyxDQUF5QixFQUFFLEVBQUU7UUFDOUMsSUFBSSxDQUFDLENBQUMsSUFBSSxLQUFLLE9BQU8sRUFBRSxDQUFDO1lBQ3ZCLE9BQU8sb0JBQW9CLENBQUMsQ0FBQyxDQUFDLEtBQUssRUFBRSxLQUFLLENBQUMsQ0FBQTtRQUM3QyxDQUFDO1FBRUQsT0FBTyxDQUFDLENBQUMsS0FBSyxLQUFLLEtBQUssQ0FBQTtJQUMxQixDQUFDLENBQUMsQ0FBQTtBQUNKLENBQ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VxyXG4gICAgfVxyXG5cclxuICAgIHJldHVybiB4LnZhbHVlICE9PSB2YWx1ZVxyXG4gIH0pXHJcbn1cclxuXHJcbmV4cG9ydCBjb25zdCBjaGFuZ2VHcm91cFZhbHVlID0gKGxpc3Q6IENoZWNrYm94R3JvdXBJbm5lckl0ZW1bXSwgcGFyZW50SWQ6IHN0cmluZyB8IG51bWJlciB8IG51bGwsIHZhbHVlOiBDaGVja2JveEluZGV0ZXJtaW5hdGVTdGF0ZSkgPT4ge1xyXG4gIGlmICghcGFyZW50SWQpIHtcclxuICAgIHJldHVyblxyXG4gIH1cclxuICBjb25zdCBwYXJlbnQgPSBnZXRJdGVtSW5uZXJCeUlkKGxpc3QsIHBhcmVudElkKVxyXG5cclxuICBpZiAocGFyZW50KSB7XHJcbiAgICBwYXJlbnQudmFsdWUgPSBjaGVja1VuZGVyQXJyYXlWYWx1ZShwYXJlbnQuaXRlbXMsIHZhbHVlKSA/IG51bGwgOiB2YWx1ZVxyXG4gIH1cclxufVxyXG4iXX0=
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export const changeItemValue = (item, value) => {
|
|
2
|
+
item.value = value;
|
|
3
|
+
if (item.type === 'array') {
|
|
4
|
+
item.items?.forEach((item) => {
|
|
5
|
+
changeItemValue(item, value);
|
|
6
|
+
});
|
|
7
|
+
}
|
|
8
|
+
return item;
|
|
9
|
+
};
|
|
10
|
+
export const changeListValue = (list, value) => {
|
|
11
|
+
list.forEach((item) => {
|
|
12
|
+
changeItemValue(item, value);
|
|
13
|
+
});
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhbmdlLWl0ZW0tdmFsdWUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9teXJ0YS11aS9zcmMvbGliL2NvbXBvbmVudHMvZm9ybS9jaGVja2JveC1nc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