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,27 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
|
2
|
+
import { TabsClasses, TabsTypesClasses, } from '../tabs.enum';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class TabsGroupComponent {
|
|
5
|
+
customClasses = '';
|
|
6
|
+
size = 'medium';
|
|
7
|
+
type = 'default';
|
|
8
|
+
isResponsive = false;
|
|
9
|
+
get tabClasses() {
|
|
10
|
+
return `${TabsTypesClasses[this.type]} ${TabsClasses[this.size]} ${this.customClasses}`;
|
|
11
|
+
}
|
|
12
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TabsGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
13
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: TabsGroupComponent, selector: "mrx-tabs-group", inputs: { customClasses: "customClasses", size: "size", type: "type", isResponsive: "isResponsive" }, ngImport: i0, template: "<div class=\"mrx-tabs-group\" [class]=\"tabClasses\" [class.responsive]=\"isResponsive\">\r\n <div class=\"mrx-tabs-group-wrapper\">\r\n <ng-content></ng-content>\r\n </div> \r\n</div>\r\n", styles: [".mrx-tabs-group.mrx-tabs-group{display:flex;overflow:hidden}.mrx-tabs-group.mrx-tabs-group .mrx-tabs-group-wrapper{display:flex;overflow-x:auto}:host::ng-deep .mrx-tabs-group.mrx-tabs-group.mrx-tabs-lg .mrx-tab{font-family:var(--body-lg-font-family);font-size:var(--body-lg-font-size);font-weight:var(--body-lg-font-weight);line-height:var(--body-lg-line-height)}:host::ng-deep .mrx-tabs-group.mrx-tabs-group.mrx-tabs-md .mrx-tab{font-family:var(--body-md-font-family);font-size:var(--body-md-font-size);font-weight:var(--body-md-font-weight);line-height:var(--body-md-line-height)}:host::ng-deep .mrx-tabs-group.mrx-tabs-group.mrx-tabs-sm .mrx-tab{font-family:var(--body-sm-font-family);font-size:var(--body-sm-font-size);font-weight:var(--body-sm-font-weight);line-height:var(--body-sm-line-height)}:host::ng-deep .mrx-tabs-button.mrx-tabs-button.mrx-tabs-lg .mrx-tab{padding:var(--spacing-2) var(--spacing-6)}:host::ng-deep .mrx-tabs-button.mrx-tabs-button.mrx-tabs-md .mrx-tab{padding:calc(var(--spacing-2) - var(--spacing-half)) var(--spacing-4)}:host::ng-deep .mrx-tabs-button.mrx-tabs-button.mrx-tabs-sm .mrx-tab{padding:var(--spacing-1) var(--spacing-3)}:host::ng-deep .mrx-tabs-default.mrx-tabs-default .mrx-tab{padding:var(--spacing-2) var(--spacing-4);border-radius:var(--border-radius-1) var(--border-radius-1) 0 0}:host::ng-deep .mrx-tabs-default.mrx-tabs-default .mrx-tab>span{margin-left:var(--spacing-1)}:host::ng-deep .mrx-tabs-default.mrx-tabs-default .mrx-tab:not(.active){color:var(--neutral-text-primary);border-bottom:var(--border-width-default) solid var(--neutral-bg-stroke-default)}:host::ng-deep .mrx-tabs-default.mrx-tabs-default .mrx-tab:not(.active)>span{color:var(--neutral-text-tertiary)}:host::ng-deep .mrx-tabs-default.mrx-tabs-default .mrx-tab.active{color:var(--brand-text-controls-default);border-bottom:var(--border-width-default) solid var(--brand-bg-primary-default)}:host::ng-deep .mrx-tabs-default.mrx-tabs-default .mrx-tab.active a{color:var(--brand-text-controls-default)}:host::ng-deep .mrx-tabs-default.mrx-tabs-default .mrx-tab.active>span{color:var(--brand-text-accent)}:host::ng-deep .mrx-tabs-default.mrx-tabs-default .mrx-tab:hover{background-color:var(--brand-bg-secondary-default)}:host::ng-deep .mrx-tabs-button.mrx-tabs-button .mrx-tab{justify-content:center;border-radius:var(--border-radius-1);color:var(--neutral-text-primary)}:host::ng-deep .mrx-tabs-button.mrx-tabs-button .mrx-tab>span{margin-left:var(--spacing-1)}:host::ng-deep .mrx-tabs-button.mrx-tabs-button .mrx-tab span{color:var(--neutral-text-primary)}:host::ng-deep .mrx-tabs-button.mrx-tabs-button .mrx-tab.active{background:var(--brand-bg-tertiary-default);box-shadow:var(--box-shadow-secondary-x) var(--box-shadow-secondary-y) var(--box-shadow-secondary-blur) var(--box-shadow-secondary-color)}:host::ng-deep .mrx-tabs-button.mrx-tabs-button .mrx-tab.active span{color:var(--neutral-text-primary)}:host::ng-deep .mrx-tabs-group.mrx-tabs-group.mrx-tabs-button .mrx-tabs-group-wrapper{background:var(--neutral-bg-island-default);padding:var(--spacing-1)}:host::ng-deep .mrx-tabs-group.mrx-tabs-group.mrx-tabs-button .mrx-tabs-group-wrapper>*{padding:0 var(--spacing-1)}:host::ng-deep .mrx-tabs-group.mrx-tabs-group.mrx-tabs-button .mrx-tabs-group-wrapper>*:last-child{padding-right:0}:host::ng-deep .mrx-tabs-group.mrx-tabs-group.mrx-tabs-button .mrx-tabs-group-wrapper>*:first-child{padding-left:0}@media screen and (min-width: 768px){:host::ng-deep .mrx-tabs-group.mrx-tabs-group.mrx-tabs-button .mrx-tabs-group-wrapper>*:not(:last-child){border-right:var(--border-width-default) solid var(--neutral-bg-divider)}}@media screen and (max-width: 767px){:host::ng-deep .mrx-tabs-group.mrx-tabs-group.mrx-tabs-button .mrx-tabs-group-wrapper{flex-direction:column;width:100%}}:host::ng-deep .mrx-tabs-group.mrx-tabs-group.mrx-tabs-button.responsive .mrx-tabs-group-wrapper{width:100%}:host::ng-deep .mrx-tabs-group.mrx-tabs-group.mrx-tabs-button.responsive .mrx-tabs-group-wrapper>*{width:100%}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
14
|
+
}
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TabsGroupComponent, decorators: [{
|
|
16
|
+
type: Component,
|
|
17
|
+
args: [{ selector: 'mrx-tabs-group', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"mrx-tabs-group\" [class]=\"tabClasses\" [class.responsive]=\"isResponsive\">\r\n <div class=\"mrx-tabs-group-wrapper\">\r\n <ng-content></ng-content>\r\n </div> \r\n</div>\r\n", styles: [".mrx-tabs-group.mrx-tabs-group{display:flex;overflow:hidden}.mrx-tabs-group.mrx-tabs-group .mrx-tabs-group-wrapper{display:flex;overflow-x:auto}:host::ng-deep .mrx-tabs-group.mrx-tabs-group.mrx-tabs-lg .mrx-tab{font-family:var(--body-lg-font-family);font-size:var(--body-lg-font-size);font-weight:var(--body-lg-font-weight);line-height:var(--body-lg-line-height)}:host::ng-deep .mrx-tabs-group.mrx-tabs-group.mrx-tabs-md .mrx-tab{font-family:var(--body-md-font-family);font-size:var(--body-md-font-size);font-weight:var(--body-md-font-weight);line-height:var(--body-md-line-height)}:host::ng-deep .mrx-tabs-group.mrx-tabs-group.mrx-tabs-sm .mrx-tab{font-family:var(--body-sm-font-family);font-size:var(--body-sm-font-size);font-weight:var(--body-sm-font-weight);line-height:var(--body-sm-line-height)}:host::ng-deep .mrx-tabs-button.mrx-tabs-button.mrx-tabs-lg .mrx-tab{padding:var(--spacing-2) var(--spacing-6)}:host::ng-deep .mrx-tabs-button.mrx-tabs-button.mrx-tabs-md .mrx-tab{padding:calc(var(--spacing-2) - var(--spacing-half)) var(--spacing-4)}:host::ng-deep .mrx-tabs-button.mrx-tabs-button.mrx-tabs-sm .mrx-tab{padding:var(--spacing-1) var(--spacing-3)}:host::ng-deep .mrx-tabs-default.mrx-tabs-default .mrx-tab{padding:var(--spacing-2) var(--spacing-4);border-radius:var(--border-radius-1) var(--border-radius-1) 0 0}:host::ng-deep .mrx-tabs-default.mrx-tabs-default .mrx-tab>span{margin-left:var(--spacing-1)}:host::ng-deep .mrx-tabs-default.mrx-tabs-default .mrx-tab:not(.active){color:var(--neutral-text-primary);border-bottom:var(--border-width-default) solid var(--neutral-bg-stroke-default)}:host::ng-deep .mrx-tabs-default.mrx-tabs-default .mrx-tab:not(.active)>span{color:var(--neutral-text-tertiary)}:host::ng-deep .mrx-tabs-default.mrx-tabs-default .mrx-tab.active{color:var(--brand-text-controls-default);border-bottom:var(--border-width-default) solid var(--brand-bg-primary-default)}:host::ng-deep .mrx-tabs-default.mrx-tabs-default .mrx-tab.active a{color:var(--brand-text-controls-default)}:host::ng-deep .mrx-tabs-default.mrx-tabs-default .mrx-tab.active>span{color:var(--brand-text-accent)}:host::ng-deep .mrx-tabs-default.mrx-tabs-default .mrx-tab:hover{background-color:var(--brand-bg-secondary-default)}:host::ng-deep .mrx-tabs-button.mrx-tabs-button .mrx-tab{justify-content:center;border-radius:var(--border-radius-1);color:var(--neutral-text-primary)}:host::ng-deep .mrx-tabs-button.mrx-tabs-button .mrx-tab>span{margin-left:var(--spacing-1)}:host::ng-deep .mrx-tabs-button.mrx-tabs-button .mrx-tab span{color:var(--neutral-text-primary)}:host::ng-deep .mrx-tabs-button.mrx-tabs-button .mrx-tab.active{background:var(--brand-bg-tertiary-default);box-shadow:var(--box-shadow-secondary-x) var(--box-shadow-secondary-y) var(--box-shadow-secondary-blur) var(--box-shadow-secondary-color)}:host::ng-deep .mrx-tabs-button.mrx-tabs-button .mrx-tab.active span{color:var(--neutral-text-primary)}:host::ng-deep .mrx-tabs-group.mrx-tabs-group.mrx-tabs-button .mrx-tabs-group-wrapper{background:var(--neutral-bg-island-default);padding:var(--spacing-1)}:host::ng-deep .mrx-tabs-group.mrx-tabs-group.mrx-tabs-button .mrx-tabs-group-wrapper>*{padding:0 var(--spacing-1)}:host::ng-deep .mrx-tabs-group.mrx-tabs-group.mrx-tabs-button .mrx-tabs-group-wrapper>*:last-child{padding-right:0}:host::ng-deep .mrx-tabs-group.mrx-tabs-group.mrx-tabs-button .mrx-tabs-group-wrapper>*:first-child{padding-left:0}@media screen and (min-width: 768px){:host::ng-deep .mrx-tabs-group.mrx-tabs-group.mrx-tabs-button .mrx-tabs-group-wrapper>*:not(:last-child){border-right:var(--border-width-default) solid var(--neutral-bg-divider)}}@media screen and (max-width: 767px){:host::ng-deep .mrx-tabs-group.mrx-tabs-group.mrx-tabs-button .mrx-tabs-group-wrapper{flex-direction:column;width:100%}}:host::ng-deep .mrx-tabs-group.mrx-tabs-group.mrx-tabs-button.responsive .mrx-tabs-group-wrapper{width:100%}:host::ng-deep .mrx-tabs-group.mrx-tabs-group.mrx-tabs-button.responsive .mrx-tabs-group-wrapper>*{width:100%}\n"] }]
|
|
18
|
+
}], propDecorators: { customClasses: [{
|
|
19
|
+
type: Input
|
|
20
|
+
}], size: [{
|
|
21
|
+
type: Input
|
|
22
|
+
}], type: [{
|
|
23
|
+
type: Input
|
|
24
|
+
}], isResponsive: [{
|
|
25
|
+
type: Input
|
|
26
|
+
}] } });
|
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFicy1ncm91cC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9teXJ0YS11aS9zcmMvbGliL2NvbXBvbmVudHMvdGFicy90YWJzLWdyb3VwL3RhYnMtZ3JvdXAuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9jb21wb25lbnRzL3RhYnMvdGFicy1ncm91cC90YWJzLWdyb3VwLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx1QkFBdUIs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|
|
4
|
+
TabsClasses["medium"] = "mrx-tabs-md";
|
|
5
|
+
TabsClasses["large"] = "mrx-tabs-lg";
|
|
6
|
+
})(TabsClasses || (TabsClasses = {}));
|
|
7
|
+
;
|
|
8
|
+
export var TabsTypesClasses;
|
|
9
|
+
(function (TabsTypesClasses) {
|
|
10
|
+
TabsTypesClasses["default"] = "mrx-tabs-default";
|
|
11
|
+
TabsTypesClasses["button"] = "mrx-tabs-button";
|
|
12
|
+
})(TabsTypesClasses || (TabsTypesClasses = {}));
|
|
13
|
+
;
|
|
14
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFicy5lbnVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9jb21wb25lbnRzL3RhYnMvdGFicy5lbnVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUdBLE1BQU0sQ0FBTixJQUFZLFdBSVg7QUFKRCxXQUFZLFdBQVc7SUFDckIsb0NBQXVCLENBQUE7SUFDdkIscUNBQXdCLENBQUE7SUFDeEIsb0NBQXVCLENBQUE7QUFDekIsQ0FBQyxFQUpXLFdBQVcsS0FBWCxXQUFXLFFBSXRCO0FBQUEsQ0FBQztBQUlGLE1BQU0sQ0FBTixJQUFZLGdCQUdYO0FBSEQsV0FBWSxnQkFBZ0I7SUFDMUIsZ0RBQThCLENBQUE7SUFDOUIsOENBQTRCLENBQUE7QUFDOUIsQ0FBQyxFQUhXLGdCQUFnQixLQUFoQixnQkFBZ0IsUUFHM0I7QUFBQSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiXHJcbmV4cG9ydCB0eXBlIFRhYlNpemUgPSAnc21hbGwnIHwgJ21lZGl1bScgfCAnbGFyZ2UnO1xyXG5cclxuZXhwb3J0IGVudW0gVGFic0NsYXNzZXMge1xyXG4gICdzbWFsbCcgPSAnbXJ4LXRhYnMtc20nLFxyXG4gICdtZWRpdW0nID0gJ21yeC10YWJzLW1kJyxcclxuICAnbGFyZ2UnID0gJ21yeC10YWJzLWxnJyxcclxufTtcclxuXHJcbmV4cG9ydCB0eXBlIFRhYlR5cGVzID0gJ2RlZmF1bHQnIHwgJ2J1dHRvbic7XHJcblxyXG5leHBvcnQgZW51bSBUYWJzVHlwZXNDbGFzc2VzIHtcclxuICAnZGVmYXVsdCcgPSAnbXJ4LXRhYnMtZGVmYXVsdCcsXHJcbiAgJ2J1dHRvbicgPSAnbXJ4LXRhYnMtYnV0dG9uJ1xyXG59O1xyXG4iXX0=
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { TabsGroupComponent } from './tabs-group/tabs-group.component';
|
|
4
|
+
import { TabComponent } from './tab/tab.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export class TabsModule {
|
|
7
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TabsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
8
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: TabsModule, declarations: [TabsGroupComponent, TabComponent], imports: [CommonModule], exports: [TabsGroupComponent, TabComponent] });
|
|
9
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TabsModule, imports: [CommonModule] });
|
|
10
|
+
}
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TabsModule, decorators: [{
|
|
12
|
+
type: NgModule,
|
|
13
|
+
args: [{
|
|
14
|
+
declarations: [TabsGroupComponent, TabComponent],
|
|
15
|
+
imports: [CommonModule],
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T01fRUxFTUVOVFNfU0NIRU1BLCBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5pbXBvcnQgeyBDb21tb25Nb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb21tb24nO1xyXG5pbXBvcnQgeyBUYWJzR3JvdXBDb21wb25lbnQgfSBmcm9tICcuL3RhYnMtZ3JvdXAvdGFicy1ncm91cC5jb21wb25lbnQnO1xyXG5pbXBvcnQgeyBUYWJDb21wb25lbnQgfSBmcm9tICcuL3RhYi90YWIuY29tcG9uZW50JztcclxuXHJcbkBOZ01vZHVsZSh7XHJcbiAgZGVjbGFyYXRpb25zOiBbVGFic0dyb3VwQ29tcG9uZW50LCBUYWJDb21wb25lbnRdLFxyXG4gIGltcG9ydHM6IFtDb21tb25Nb2R1bGVdLFxyXG4gIHNjaGVtYXM6IFtDVVNUT01fRUxFTUVOVFNfU0NIRU1BXSxcclxuICBleHBvcnRzOiBbVGFic0dyb3VwQ29tcG9uZW50LCBUYWJDb21wb25lbnRdLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgVGFic01vZHVsZSB7fVxyXG4iXX0=
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import { getHashCode } from '../../../helpers/string-hash-code';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class TooltipService {
|
|
5
|
+
_tooltip = '';
|
|
6
|
+
_tooltipVisible = false;
|
|
7
|
+
_isSaveToStorage = false;
|
|
8
|
+
get localStorageKey() {
|
|
9
|
+
return this.getTooltip ? `tooltip_${getHashCode(this.getTooltip)}` : null;
|
|
10
|
+
}
|
|
11
|
+
get getTooltip() {
|
|
12
|
+
return this._tooltip;
|
|
13
|
+
}
|
|
14
|
+
set setTooltip(value) {
|
|
15
|
+
this._tooltip = value;
|
|
16
|
+
}
|
|
17
|
+
get getSaveToStorage() {
|
|
18
|
+
return this._isSaveToStorage;
|
|
19
|
+
}
|
|
20
|
+
set setSaveToStorage(value) {
|
|
21
|
+
this._isSaveToStorage = value;
|
|
22
|
+
}
|
|
23
|
+
get getTooltipVisible() {
|
|
24
|
+
return this._tooltipVisible;
|
|
25
|
+
}
|
|
26
|
+
set setTooltipVisible(value) {
|
|
27
|
+
this._tooltipVisible = value || !!localStorage.getItem(this.localStorageKey);
|
|
28
|
+
if (this._tooltipVisible && this._isSaveToStorage) {
|
|
29
|
+
localStorage.setItem(this.localStorageKey, 'visible');
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
toggleTooltipVisibleFromCode(value) {
|
|
33
|
+
if (value && this._isSaveToStorage) {
|
|
34
|
+
localStorage.setItem(this.localStorageKey, 'visible');
|
|
35
|
+
}
|
|
36
|
+
else {
|
|
37
|
+
localStorage.removeItem(this.localStorageKey);
|
|
38
|
+
}
|
|
39
|
+
this._tooltipVisible = value;
|
|
40
|
+
}
|
|
41
|
+
toggleTooltipVisible() {
|
|
42
|
+
if (this._isSaveToStorage) {
|
|
43
|
+
if (localStorage.getItem(this.localStorageKey)) {
|
|
44
|
+
localStorage.removeItem(this.localStorageKey);
|
|
45
|
+
}
|
|
46
|
+
else {
|
|
47
|
+
localStorage.setItem(this.localStorageKey, 'visible');
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
this._tooltipVisible = !this._tooltipVisible;
|
|
51
|
+
}
|
|
52
|
+
initTooltip(tooltip, tooltipInitialVisible) {
|
|
53
|
+
this.setTooltip = tooltip;
|
|
54
|
+
this.setTooltipVisible = tooltipInitialVisible;
|
|
55
|
+
if (this._isSaveToStorage) {
|
|
56
|
+
this._tooltipVisible = !!localStorage.getItem(this.localStorageKey);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TooltipService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
60
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TooltipService });
|
|
61
|
+
}
|
|
62
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TooltipService, decorators: [{
|
|
63
|
+
type: Injectable
|
|
64
|
+
}] });
|
|
65
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbHRpcC5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9jb21wb25lbnRzL3Rvb2x0aXAvc2VydmljZXMvdG9vbHRpcC5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLG1DQUFtQyxDQUFDOztBQUdoRSxNQUFNLE9BQU8sY0FBYztJQUVqQixRQUFRLEdBQVcsRUFBRSxDQUFBO0lBQ3JCLGVBQWUsR0FBWSxLQUFLLENBQUE7SUFDaEMsZ0JBQWdCLEdBQVksS0FBSyxDQUFBO0lBRXpDLElBQVksZUFBZTtRQUN6QixPQUFPLElBQUksQ0FBQyxVQUFVLENBQUMsQ0FBQyxDQUFDLFdBQVcsV0FBVyxDQUFDLElBQUksQ0FBQyxVQUFVLENBQUMsRUFBRSxDQUFDLENBQUMsQ0FBQyxJQUFJLENBQUE7SUFDM0UsQ0FBQztJQUVELElBQVcsVUFBVTtRQUNuQixPQUFPLElBQUksQ0FBQyxRQUFRLENBQUE7SUFDdEIsQ0FBQztJQUVELElBQVcsVUFBVSxDQUFDLEtBQWE7UUFDakMsSUFBSSxDQUFDLFFBQVEsR0FBRyxLQUFLLENBQUE7SUFDdkIsQ0FBQztJQUVELElBQVcsZ0JBQWdCO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pcFZpc2libGUgPSAhdGhpcy5fdG9vbHRpcFZpc2libGVcclxuICB9XHJcblxyXG4gIHB1YmxpYyBpbml0VG9vbHRpcCh0b29sdGlwOiBzdHJpbmcsIHRvb2x0aXBJbml0aWFsVmlzaWJsZTogYm9vbGVhbik6IHZvaWQge1xyXG4gICAgdGhpcy5zZXRUb29sdGlwID0gdG9vbHRpcFxyXG4gICAgdGhpcy5zZXRUb29sdGlwVmlzaWJsZSA9IHRvb2x0aXBJbml0aWFsVmlzaWJsZVxyXG5cclxuICAgIGlmICh0aGlzLl9pc1NhdmVUb1N0b3JhZ2UpIHtcclxuICAgICAgdGhpcy5fdG9vbHRpcFZpc2libGUgPSAhIWxvY2FsU3RvcmFnZS5nZXRJdGVtKDxzdHJpbmc+dGhpcy5sb2NhbFN0b3JhZ2VLZXkpXHJcbiAgICB9XHJcbiAgfVxyXG59XHJcbiJdfQ==
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import { TooltipTextPositionEnum, TooltipTriggerEnum } from './tooltip-trigger.enum';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class TooltipTriggerComponent {
|
|
5
|
+
triggerTextPosition = 'default';
|
|
6
|
+
triggerType = 'attention';
|
|
7
|
+
customClasses = '';
|
|
8
|
+
isVisibleTooltip = false;
|
|
9
|
+
toggleTooltip = new EventEmitter();
|
|
10
|
+
get getClasses() {
|
|
11
|
+
return `${TooltipTextPositionEnum[this.triggerTextPosition]} ${this.customClasses}`;
|
|
12
|
+
}
|
|
13
|
+
get getIconClass() {
|
|
14
|
+
return `${TooltipTriggerEnum[this.triggerType]}`;
|
|
15
|
+
}
|
|
16
|
+
onToggle() {
|
|
17
|
+
this.toggleTooltip.emit();
|
|
18
|
+
}
|
|
19
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TooltipTriggerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
20
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: TooltipTriggerComponent, selector: "mrx-tooltip-trigger", inputs: { triggerTextPosition: "triggerTextPosition", triggerType: "triggerType", customClasses: "customClasses", isVisibleTooltip: "isVisibleTooltip" }, outputs: { toggleTooltip: "toggleTooltip" }, providers: [], ngImport: i0, template: "<div\r\n class=\"mrx-tooltip-trigger\"\r\n [class.active]=\"isVisibleTooltip\"\r\n [class]=\"getClasses\"\r\n (click)=\"onToggle()\"\r\n>\r\n <span class=\"mrx-icon icon-font-16\" [class]=\"getIconClass\"></span>\r\n <span class=\"tooltip-help\">\r\n {{!isVisibleTooltip ? '\u0420\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043A\u0443' : '\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043A\u0443'}}\r\n </span>\r\n</div>\r\n", styles: [".mrx-tooltip-trigger.mrx-tooltip-trigger{display:flex;align-items:center;justify-content:flex-start;cursor:pointer;border-radius:50%}.mrx-tooltip-trigger.mrx-tooltip-trigger .mrx-icon{background-color:transparent;border-radius:50%}.mrx-tooltip-trigger.mrx-tooltip-trigger:hover{width:max-content;background-color:var(--brand-bg-tertiary-hover, #EDF5FF)}.mrx-tooltip-trigger.mrx-tooltip-trigger:hover .mrx-icon{background-color:var(--brand-bg-tertiary-hover, #EDF5FF)}.mrx-tooltip-trigger.mrx-tooltip-trigger.active,.mrx-tooltip-trigger.mrx-tooltip-trigger.active .mrx-icon{background-color:var(--brand-bg-tertiary-selected, #EDF5FF)}.mrx-tooltip-trigger.mrx-tooltip-trigger.trigger-top{position:relative;width:calc(var(--sizing-4) + var(--sizing-half))}.mrx-tooltip-trigger.mrx-tooltip-trigger.trigger-top .tooltip-help{position:absolute;left:50%;top:-28px;z-index:1;transform:translate(-50%);overflow:hidden;font-family:var(--body-sm-font-famil);font-size:var(--body-sm-font-size);font-weight:var(--body-sm-font-weight);line-height:var(--body-sm-line-height);text-align:center;color:var(--neutral-text-primary);box-shadow:var(--box-shadow-secondary-x) var(--box-shadow-secondary-y) var(--box-shadow-secondary-blur) var(--box-shadow-secondary-spread) var(--box-shadow-secondary-color);border-radius:var(--border-radius-1);background-color:var(--brand-bg-tertiary-hover, #EDF5FF);padding:0;opacity:0;visibility:hidden;width:auto;height:0}.mrx-tooltip-trigger.mrx-tooltip-trigger.trigger-top:hover{background:transparent}.mrx-tooltip-trigger.mrx-tooltip-trigger.trigger-top:hover .tooltip-help{padding:var(--spacing-1);height:auto;width:max-content;opacity:1;visibility:visible}.mrx-tooltip-trigger.mrx-tooltip-trigger.trigger-right .tooltip-help{font-family:var(--body-sm-font-famil);font-size:var(--body-sm-font-size);font-weight:var(--body-sm-font-weight);line-height:var(--body-sm-line-height);white-space:nowrap;width:0;transition:.2s;overflow:hidden;color:var(--neutral-text-primary);z-index:1}.mrx-tooltip-trigger.mrx-tooltip-trigger.trigger-right:hover{border-radius:var(--border-radius-1)}.mrx-tooltip-trigger.mrx-tooltip-trigger.trigger-right:hover .tooltip-help{width:120px;padding:var(--spacing-0) var(--spacing-1)}@media screen and (max-width: 991px){.mrx-tooltip-trigger.mrx-tooltip-trigger.trigger-right{border-radius:var(--border-radius-1);background-color:var(--brand-bg-tertiary-hover, #EDF5FF)}.mrx-tooltip-trigger.mrx-tooltip-trigger.trigger-right .mrx-icon{background-color:var(--brand-bg-tertiary-hover, #EDF5FF)}.mrx-tooltip-trigger.mrx-tooltip-trigger.trigger-right .tooltip-help{width:120px;padding:var(--spacing-0) var(--spacing-1)}}\n"] });
|
|
21
|
+
}
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TooltipTriggerComponent, decorators: [{
|
|
23
|
+
type: Component,
|
|
24
|
+
args: [{ selector: 'mrx-tooltip-trigger', providers: [], template: "<div\r\n class=\"mrx-tooltip-trigger\"\r\n [class.active]=\"isVisibleTooltip\"\r\n [class]=\"getClasses\"\r\n (click)=\"onToggle()\"\r\n>\r\n <span class=\"mrx-icon icon-font-16\" [class]=\"getIconClass\"></span>\r\n <span class=\"tooltip-help\">\r\n {{!isVisibleTooltip ? '\u0420\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043A\u0443' : '\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043A\u0443'}}\r\n </span>\r\n</div>\r\n", styles: [".mrx-tooltip-trigger.mrx-tooltip-trigger{display:flex;align-items:center;justify-content:flex-start;cursor:pointer;border-radius:50%}.mrx-tooltip-trigger.mrx-tooltip-trigger .mrx-icon{background-color:transparent;border-radius:50%}.mrx-tooltip-trigger.mrx-tooltip-trigger:hover{width:max-content;background-color:var(--brand-bg-tertiary-hover, #EDF5FF)}.mrx-tooltip-trigger.mrx-tooltip-trigger:hover .mrx-icon{background-color:var(--brand-bg-tertiary-hover, #EDF5FF)}.mrx-tooltip-trigger.mrx-tooltip-trigger.active,.mrx-tooltip-trigger.mrx-tooltip-trigger.active .mrx-icon{background-color:var(--brand-bg-tertiary-selected, #EDF5FF)}.mrx-tooltip-trigger.mrx-tooltip-trigger.trigger-top{position:relative;width:calc(var(--sizing-4) + var(--sizing-half))}.mrx-tooltip-trigger.mrx-tooltip-trigger.trigger-top .tooltip-help{position:absolute;left:50%;top:-28px;z-index:1;transform:translate(-50%);overflow:hidden;font-family:var(--body-sm-font-famil);font-size:var(--body-sm-font-size);font-weight:var(--body-sm-font-weight);line-height:var(--body-sm-line-height);text-align:center;color:var(--neutral-text-primary);box-shadow:var(--box-shadow-secondary-x) var(--box-shadow-secondary-y) var(--box-shadow-secondary-blur) var(--box-shadow-secondary-spread) var(--box-shadow-secondary-color);border-radius:var(--border-radius-1);background-color:var(--brand-bg-tertiary-hover, #EDF5FF);padding:0;opacity:0;visibility:hidden;width:auto;height:0}.mrx-tooltip-trigger.mrx-tooltip-trigger.trigger-top:hover{background:transparent}.mrx-tooltip-trigger.mrx-tooltip-trigger.trigger-top:hover .tooltip-help{padding:var(--spacing-1);height:auto;width:max-content;opacity:1;visibility:visible}.mrx-tooltip-trigger.mrx-tooltip-trigger.trigger-right .tooltip-help{font-family:var(--body-sm-font-famil);font-size:var(--body-sm-font-size);font-weight:var(--body-sm-font-weight);line-height:var(--body-sm-line-height);white-space:nowrap;width:0;transition:.2s;overflow:hidden;color:var(--neutral-text-primary);z-index:1}.mrx-tooltip-trigger.mrx-tooltip-trigger.trigger-right:hover{border-radius:var(--border-radius-1)}.mrx-tooltip-trigger.mrx-tooltip-trigger.trigger-right:hover .tooltip-help{width:120px;padding:var(--spacing-0) var(--spacing-1)}@media screen and (max-width: 991px){.mrx-tooltip-trigger.mrx-tooltip-trigger.trigger-right{border-radius:var(--border-radius-1);background-color:var(--brand-bg-tertiary-hover, #EDF5FF)}.mrx-tooltip-trigger.mrx-tooltip-trigger.trigger-right .mrx-icon{background-color:var(--brand-bg-tertiary-hover, #EDF5FF)}.mrx-tooltip-trigger.mrx-tooltip-trigger.trigger-right .tooltip-help{width:120px;padding:var(--spacing-0) var(--spacing-1)}}\n"] }]
|
|
25
|
+
}], propDecorators: { triggerTextPosition: [{
|
|
26
|
+
type: Input
|
|
27
|
+
}], triggerType: [{
|
|
28
|
+
type: Input
|
|
29
|
+
}], customClasses: [{
|
|
30
|
+
type: Input
|
|
31
|
+
}], isVisibleTooltip: [{
|
|
32
|
+
type: Input
|
|
33
|
+
}], toggleTooltip: [{
|
|
34
|
+
type: Output
|
|
35
|
+
}] } });
|
|
36
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbHRpcC10cmlnZ2VyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2V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3NcIj48L3NwYW4+XHJcbiAgPHNwYW4gY2xhc3M9XCJ0b29sdGlwLWhlbHBcIj5cclxuICAgIHt7IWlzVmlzaWJsZVRvb2x0aXAgPyAn0KDQsNC30LLQtdGA0L3Rg9GC0Ywg0L/QvtC00YHQutCw0LfQutGDJyA6ICfQodCy0LXRgNC90YPRgtGMINC/0L7QtNGB0LrQsNC30LrRgyd9fVxyXG4gIDwvc3Bhbj5cclxuPC9kaXY+XHJcbiJdfQ==
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export var TooltipTextPositionEnum;
|
|
2
|
+
(function (TooltipTextPositionEnum) {
|
|
3
|
+
TooltipTextPositionEnum["default"] = "trigger-top";
|
|
4
|
+
TooltipTextPositionEnum["right"] = "trigger-right";
|
|
5
|
+
})(TooltipTextPositionEnum || (TooltipTextPositionEnum = {}));
|
|
6
|
+
export var TooltipTriggerEnum;
|
|
7
|
+
(function (TooltipTriggerEnum) {
|
|
8
|
+
TooltipTriggerEnum["attention"] = "icon-help";
|
|
9
|
+
TooltipTriggerEnum["info"] = "icon-info";
|
|
10
|
+
})(TooltipTriggerEnum || (TooltipTriggerEnum = {}));
|
|
11
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbHRpcC10cmlnZ2VyLmVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9teXJ0YS11aS9zcmMvbGliL2NvbXBvbmVudHMvdG9vbHRpcC90b29sdGlwLXRyaWdnZXIvdG9vbHRpcC10cmlnZ2VyLmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksdUJBR1g7QUFIRCxXQUFZLHVCQUF1QjtJQUNqQyxrREFBdUIsQ0FBQTtJQUN2QixrREFBdUIsQ0FBQTtBQUN6QixDQUFDLEVBSFcsdUJBQXVCLEtBQXZCLHVCQUF1QixRQUdsQztBQUlELE1BQU0sQ0FBTixJQUFZLGtCQUdYO0FBSEQsV0FBWSxrQkFBa0I7SUFDNUIsNkNBQXVCLENBQUE7SUFDdkIsd0NBQWtCLENBQUE7QUFDcEIsQ0FBQyxFQUhXLGtCQUFrQixLQUFsQixrQkFBa0IsUUFHN0IiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZW51bSBUb29sdGlwVGV4dFBvc2l0aW9uRW51bSB7XHJcbiAgZGVmYXVsdCA9ICd0cmlnZ2VyLXRvcCcsXHJcbiAgcmlnaHQgPSAndHJpZ2dlci1yaWdodCdcclxufVxyXG5cclxuZXhwb3J0IHR5cGUgVG9vbHRpcFRleHRQb3NpdGlvblR5cGVzID0gJ2RlZmF1bHQnIHwgJ3JpZ2h0J1xyXG5cclxuZXhwb3J0IGVudW0gVG9vbHRpcFRyaWdnZXJFbnVtIHtcclxuICBhdHRlbnRpb24gPSAnaWNvbi1oZWxwJyxcclxuICBpbmZvID0gJ2ljb24taW5mbydcclxufVxyXG5cclxuZXhwb3J0IHR5cGUgVG9vbHRpcFRyaWdnZXJUeXBlcyA9ICdhdHRlbnRpb24nIHwgJ2luZm8nXHJcbiJdfQ==
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import { animate, state, style, transition, trigger } from '@angular/animations';
|
|
3
|
+
import { Tooltip } from './tooltip.enum';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export class TooltipComponent {
|
|
6
|
+
TooltipEnum = Tooltip;
|
|
7
|
+
tooltip = '';
|
|
8
|
+
tooltipVisible = false;
|
|
9
|
+
tooltipInitiallyVisible = false;
|
|
10
|
+
triggerType = 'attention';
|
|
11
|
+
visibilityChanged = new EventEmitter();
|
|
12
|
+
constructor() { }
|
|
13
|
+
ngOnInit() {
|
|
14
|
+
}
|
|
15
|
+
get getClasses() {
|
|
16
|
+
return `${this.getTypeClass}`;
|
|
17
|
+
}
|
|
18
|
+
get getTypeClass() {
|
|
19
|
+
switch (this.triggerType) {
|
|
20
|
+
case 'attention':
|
|
21
|
+
return 'type-attention';
|
|
22
|
+
case 'info':
|
|
23
|
+
return 'type-info';
|
|
24
|
+
default:
|
|
25
|
+
return 'type-attention';
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TooltipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
29
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: TooltipComponent, selector: "mrx-tooltip", inputs: { tooltip: "tooltip", tooltipVisible: "tooltipVisible", tooltipInitiallyVisible: "tooltipInitiallyVisible", triggerType: "triggerType" }, outputs: { visibilityChanged: "visibilityChanged" }, ngImport: i0, template: "<div [@openClose]=\"tooltipVisible ? 'open' : 'closed'\"\r\n class=\"mrx-tooltip-content\" [innerHTML]=\"tooltip\" [class]=\"getClasses\">\r\n</div>\r\n\r\n", styles: [".mrx-tooltip-content.mrx-tooltip-content{margin-top:var(--spacing-2);border-radius:var(--border-radius-1);font-family:var(--body-sm-font-famil);font-size:var(--body-sm-font-size);font-weight:var(--body-sm-font-weight);line-height:var(--body-sm-line-height);padding:var(--spacing-3) var(--spacing-4);margin-bottom:var(--spacing-2);overflow:hidden;color:var(--neutral-text-primary)}.mrx-tooltip-content.mrx-tooltip-content.type-attention{background-color:var(--system-bg-attention-secondary)}.mrx-tooltip-content.mrx-tooltip-content.type-info{background-color:var(--brand-bg-tertiary-hover)}\n"], animations: [
|
|
30
|
+
trigger('openClose', [
|
|
31
|
+
state('open', style({ height: '*', padding: '*', 'margin-bottom': '8px' })),
|
|
32
|
+
state('closed', style({ height: 0, padding: 0, 'margin-bottom': 0 })),
|
|
33
|
+
transition('open => closed', [animate('0.5s ease')]),
|
|
34
|
+
transition('closed => open', [animate('0.5s ease')]),
|
|
35
|
+
]),
|
|
36
|
+
] });
|
|
37
|
+
}
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TooltipComponent, decorators: [{
|
|
39
|
+
type: Component,
|
|
40
|
+
args: [{ selector: 'mrx-tooltip', animations: [
|
|
41
|
+
trigger('openClose', [
|
|
42
|
+
state('open', style({ height: '*', padding: '*', 'margin-bottom': '8px' })),
|
|
43
|
+
state('closed', style({ height: 0, padding: 0, 'margin-bottom': 0 })),
|
|
44
|
+
transition('open => closed', [animate('0.5s ease')]),
|
|
45
|
+
transition('closed => open', [animate('0.5s ease')]),
|
|
46
|
+
]),
|
|
47
|
+
], template: "<div [@openClose]=\"tooltipVisible ? 'open' : 'closed'\"\r\n class=\"mrx-tooltip-content\" [innerHTML]=\"tooltip\" [class]=\"getClasses\">\r\n</div>\r\n\r\n", styles: [".mrx-tooltip-content.mrx-tooltip-content{margin-top:var(--spacing-2);border-radius:var(--border-radius-1);font-family:var(--body-sm-font-famil);font-size:var(--body-sm-font-size);font-weight:var(--body-sm-font-weight);line-height:var(--body-sm-line-height);padding:var(--spacing-3) var(--spacing-4);margin-bottom:var(--spacing-2);overflow:hidden;color:var(--neutral-text-primary)}.mrx-tooltip-content.mrx-tooltip-content.type-attention{background-color:var(--system-bg-attention-secondary)}.mrx-tooltip-content.mrx-tooltip-content.type-info{background-color:var(--brand-bg-tertiary-hover)}\n"] }]
|
|
48
|
+
}], ctorParameters: () => [], propDecorators: { tooltip: [{
|
|
49
|
+
type: Input
|
|
50
|
+
}], tooltipVisible: [{
|
|
51
|
+
type: Input
|
|
52
|
+
}], tooltipInitiallyVisible: [{
|
|
53
|
+
type: Input
|
|
54
|
+
}], triggerType: [{
|
|
55
|
+
type: Input
|
|
56
|
+
}], visibilityChanged: [{
|
|
57
|
+
type: Output
|
|
58
|
+
}] } });
|
|
59
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaW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clxuXHJcbiAgY29uc3RydWN0b3IoKSB7IH1cclxuXHJcbiAgbmdPbkluaXQoKTogdm9pZCB7XHJcblxyXG4gIH1cclxuXHJcbiAgcHVibGljIGdldCBnZXRDbGFzc2VzKCk6IHN0cmluZyB7XHJcbiAgICByZXR1cm4gYCR7dGhpcy5nZXRUeXBlQ2xhc3N9YDtcclxuICB9XHJcblxyXG4gIHB1YmxpYyBnZXQgZ2V0VHlwZUNsYXNzKCk6IHN0cmluZyB7XHJcbiAgICBzd2l0Y2ggKHRoaXMudHJpZ2dlclR5cGUpIHtcclxuICAgICAgY2FzZSAnYXR0ZW50aW9uJzpcclxuICAgICAgICByZXR1cm4gJ3R5cGUtYXR0ZW50aW9uJ1xyXG4gICAgICBjYXNlICdpbmZvJzpcclxuICAgICAgICByZXR1cm4gJ3R5cGUtaW5mbydcclxuICAgICAgZGVmYXVsdDpcclxuICAgICAgICByZXR1cm4gJ3R5cGUtYXR0ZW50aW9uJ1xyXG4gICAgfVxyXG4gIH1cclxuXHJcbn1cclxuIiwiPGRpdiBbQG9wZW5DbG9zZV09XCJ0b29sdGlwVmlzaWJsZSA/ICdvcGVuJyA6ICdjbG9zZWQnXCJcclxuICAgICBjbGFzcz1cIm1yeC10b29sdGlwLWNvbnRlbnRcIiBbaW5uZXJIVE1MXT1cInRvb2x0aXBcIiBbY2xhc3NdPVwiZ2V0Q2xhc3Nlc1wiPlxyXG48L2Rpdj5cclxuXHJcbiJdfQ==
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export var Tooltip;
|
|
2
|
+
(function (Tooltip) {
|
|
3
|
+
Tooltip["Showed"] = "\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043A\u0443";
|
|
4
|
+
Tooltip["Hidden"] = "\u0420\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043A\u0443";
|
|
5
|
+
})(Tooltip || (Tooltip = {}));
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbHRpcC5lbnVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9jb21wb25lbnRzL3Rvb2x0aXAvdG9vbHRpcC5lbnVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBTixJQUFZLE9BR1g7QUFIRCxXQUFZLE9BQU87SUFDakIsNkhBQTZCLENBQUE7SUFDN0IseUlBQStCLENBQUE7QUFDakMsQ0FBQyxFQUhXLE9BQU8sS0FBUCxPQUFPLFFBR2xCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGVudW0gVG9vbHRpcCB7XHJcbiAgU2hvd2VkID0gJ9Ch0LLQtdGA0L3Rg9GC0Ywg0L/QvtC00YHQutCw0LfQutGDJyxcclxuICBIaWRkZW4gPSAn0KDQsNC30LLQtdGA0L3Rg9GC0Ywg0L/QvtC00YHQutCw0LfQutGDJ1xyXG59XHJcbiJdfQ==
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { TooltipTriggerComponent } from './tooltip-trigger/tooltip-trigger.component';
|
|
4
|
+
import { FormsModule } from '@angular/forms';
|
|
5
|
+
import { TooltipComponent } from './tooltip.component';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export class TooltipModule {
|
|
8
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: TooltipModule, declarations: [TooltipComponent, TooltipTriggerComponent], imports: [CommonModule, FormsModule], exports: [TooltipComponent, TooltipTriggerComponent] });
|
|
10
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TooltipModule, imports: [CommonModule, FormsModule] });
|
|
11
|
+
}
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TooltipModule, decorators: [{
|
|
13
|
+
type: NgModule,
|
|
14
|
+
args: [{
|
|
15
|
+
declarations: [TooltipComponent, TooltipTriggerComponent],
|
|
16
|
+
imports: [CommonModule, FormsModule],
|
|
17
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
18
|
+
exports: [TooltipComponent, TooltipTriggerComponent],
|
|
19
|
+
}]
|
|
20
|
+
}] });
|
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbHRpcC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9teXJ0YS11aS9zcmMvbGliL2NvbXBvbmVudHMvdG9vbHRpcC90b29sdGlwLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2pFLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSw2Q0FBNkMsQ0FBQztBQUN0RixPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDN0MsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0scUJBQXFCLENBQUM7O0FBUXZELE1BQU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WxlXSxcclxuICBzY2hlbWFzOiBbQ1VTVE9NX0VMRU1FTlRTX1NDSEVNQV0sXHJcbiAgZXhwb3J0czogW1Rvb2x0aXBDb21wb25lbnQsIFRvb2x0aXBUcmlnZ2VyQ29tcG9uZW50XSxcclxufSlcclxuZXhwb3J0IGNsYXNzIFRvb2x0aXBNb2R1bGUgeyB9XHJcbiJdfQ==
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import { Directive, EventEmitter, HostListener, Input, Output } from '@angular/core';
|
|
2
|
+
import { animate, style } from '@angular/animations';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/animations";
|
|
5
|
+
import * as i2 from "@angular/cdk/layout";
|
|
6
|
+
export class TruncateTextDirective {
|
|
7
|
+
elementRef;
|
|
8
|
+
builder;
|
|
9
|
+
renderer;
|
|
10
|
+
breakpointObserver;
|
|
11
|
+
subscribe$;
|
|
12
|
+
defaultLineHeight = 20;
|
|
13
|
+
defaultAnimateTime = 150;
|
|
14
|
+
content = '';
|
|
15
|
+
windowWidth = 0;
|
|
16
|
+
count;
|
|
17
|
+
responsiveCount;
|
|
18
|
+
lineHeight;
|
|
19
|
+
isOpen;
|
|
20
|
+
truncateButtonRef;
|
|
21
|
+
changeVisibleButton = new EventEmitter();
|
|
22
|
+
constructor(elementRef, builder, renderer, breakpointObserver) {
|
|
23
|
+
this.elementRef = elementRef;
|
|
24
|
+
this.builder = builder;
|
|
25
|
+
this.renderer = renderer;
|
|
26
|
+
this.breakpointObserver = breakpointObserver;
|
|
27
|
+
}
|
|
28
|
+
ngOnInit() {
|
|
29
|
+
if (!this.lineHeight) {
|
|
30
|
+
this.checkLineHeight();
|
|
31
|
+
}
|
|
32
|
+
this.subscribe$ = this.breakpointObserver.observe(['(max-width: 768px)']).subscribe((result) => {
|
|
33
|
+
if (!this.responsiveCount) {
|
|
34
|
+
return this.startAnimate(this.showInitial(this.count));
|
|
35
|
+
}
|
|
36
|
+
if (result.matches) {
|
|
37
|
+
this.count = this.responsiveCount[1];
|
|
38
|
+
}
|
|
39
|
+
else {
|
|
40
|
+
this.count = this.responsiveCount[0];
|
|
41
|
+
}
|
|
42
|
+
this.startAnimate(this.showInitial(this.responsiveCount[0]));
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
ngAfterContentChecked() {
|
|
46
|
+
const c = this.elementRef.nativeElement.innerHTML;
|
|
47
|
+
if (c !== this.content) {
|
|
48
|
+
this.content = c;
|
|
49
|
+
this.checkTruncateButton();
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
ngAfterContentInit() {
|
|
53
|
+
this.content = this.elementRef.nativeElement.innerHTML;
|
|
54
|
+
this.checkTruncateButton();
|
|
55
|
+
}
|
|
56
|
+
ngOnChanges(changes) {
|
|
57
|
+
if (changes['isOpen'] && !changes['isOpen'].firstChange) {
|
|
58
|
+
if (this.isOpen) {
|
|
59
|
+
this.startAnimate(this.showIn());
|
|
60
|
+
}
|
|
61
|
+
else {
|
|
62
|
+
this.startAnimate(this.showOut());
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
ngOnDestroy() {
|
|
67
|
+
this.subscribe$.unsubscribe();
|
|
68
|
+
}
|
|
69
|
+
startAnimate(metadata) {
|
|
70
|
+
const factory = this.builder.build(metadata);
|
|
71
|
+
const player = factory.create(this.elementRef.nativeElement);
|
|
72
|
+
player.play();
|
|
73
|
+
}
|
|
74
|
+
checkLineHeight() {
|
|
75
|
+
if (this.elementRef.nativeElement.children.length) {
|
|
76
|
+
this.lineHeight = parseInt(getComputedStyle(this.elementRef.nativeElement.childNodes[0]).lineHeight) || this.defaultLineHeight;
|
|
77
|
+
}
|
|
78
|
+
else {
|
|
79
|
+
this.lineHeight = this.defaultLineHeight;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
checkTruncateButton() {
|
|
83
|
+
setTimeout(() => {
|
|
84
|
+
if (this.lineHeight * this.count >= this.elementRef.nativeElement.scrollHeight) {
|
|
85
|
+
this.changeVisibleButton.emit(false);
|
|
86
|
+
}
|
|
87
|
+
else {
|
|
88
|
+
this.changeVisibleButton.emit(true);
|
|
89
|
+
}
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
showIn() {
|
|
93
|
+
this.renderer.setStyle(this.elementRef.nativeElement, 'overflow', 'hidden');
|
|
94
|
+
this.renderer.setStyle(this.elementRef.nativeElement, 'display', '-webkit-box');
|
|
95
|
+
this.renderer.setStyle(this.elementRef.nativeElement, '-webkit-box-orient', 'vertical');
|
|
96
|
+
this.renderer.setStyle(this.elementRef.nativeElement, '-webkit-line-clamp', 'inherit');
|
|
97
|
+
return [
|
|
98
|
+
style({ maxHeight: this.lineHeight * this.count }),
|
|
99
|
+
animate(`${this.defaultAnimateTime}ms ease-in-out`, style({ maxHeight: this.elementRef.nativeElement.scrollHeight })),
|
|
100
|
+
];
|
|
101
|
+
}
|
|
102
|
+
showOut() {
|
|
103
|
+
this.renderer.setStyle(this.elementRef.nativeElement, 'overflow', 'hidden');
|
|
104
|
+
this.renderer.setStyle(this.elementRef.nativeElement, 'display', '-webkit-box');
|
|
105
|
+
this.renderer.setStyle(this.elementRef.nativeElement, '-webkit-box-orient', 'vertical');
|
|
106
|
+
setTimeout(() => {
|
|
107
|
+
this.renderer.setStyle(this.elementRef.nativeElement, '-webkit-line-clamp', this.count);
|
|
108
|
+
}, this.defaultAnimateTime);
|
|
109
|
+
return [
|
|
110
|
+
style({ '-webkit-line-clamp': 'inherit', maxHeight: '*' }),
|
|
111
|
+
animate(`${this.defaultAnimateTime}ms ease-in-out`, style({ maxHeight: this.lineHeight * this.count })),
|
|
112
|
+
];
|
|
113
|
+
}
|
|
114
|
+
showInitial(count) {
|
|
115
|
+
this.renderer.setStyle(this.elementRef.nativeElement, 'overflow', 'hidden');
|
|
116
|
+
this.renderer.setStyle(this.elementRef.nativeElement, 'display', '-webkit-box');
|
|
117
|
+
this.renderer.setStyle(this.elementRef.nativeElement, '-webkit-box-orient', 'vertical');
|
|
118
|
+
this.renderer.setStyle(this.elementRef.nativeElement, '-webkit-line-clamp', this.count);
|
|
119
|
+
this.renderer.setStyle(this.elementRef.nativeElement, 'line-height', `${this.lineHeight}px`);
|
|
120
|
+
return [style({ maxHeight: this.lineHeight * this.count })];
|
|
121
|
+
}
|
|
122
|
+
onResize(event) {
|
|
123
|
+
this.checkTruncateButton();
|
|
124
|
+
}
|
|
125
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TruncateTextDirective, deps: [{ token: i0.ElementRef }, { token: i1.AnimationBuilder }, { token: i0.Renderer2 }, { token: i2.BreakpointObserver }], target: i0.ɵɵFactoryTarget.Directive });
|
|
126
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: TruncateTextDirective, selector: "[mrxTruncateText]", inputs: { count: "count", responsiveCount: "responsiveCount", lineHeight: "lineHeight", isOpen: "isOpen", truncateButtonRef: "truncateButtonRef" }, outputs: { changeVisibleButton: "changeVisibleButton" }, host: { listeners: { "window:resize": "onResize($event)" } }, usesOnChanges: true, ngImport: i0 });
|
|
127
|
+
}
|
|
128
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TruncateTextDirective, decorators: [{
|
|
129
|
+
type: Directive,
|
|
130
|
+
args: [{
|
|
131
|
+
selector: '[mrxTruncateText]',
|
|
132
|
+
}]
|
|
133
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.AnimationBuilder }, { type: i0.Renderer2 }, { type: i2.BreakpointObserver }], propDecorators: { count: [{
|
|
134
|
+
type: Input
|
|
135
|
+
}], responsiveCount: [{
|
|
136
|
+
type: Input
|
|
137
|
+
}], lineHeight: [{
|
|
138
|
+
type: Input
|
|
139
|
+
}], isOpen: [{
|
|
140
|
+
type: Input
|
|
141
|
+
}], truncateButtonRef: [{
|
|
142
|
+
type: Input
|
|
143
|
+
}], changeVisibleButton: [{
|
|
144
|
+
type: Output
|
|
145
|
+
}], onResize: [{
|
|
146
|
+
type: HostListener,
|
|
147
|
+
args: ['window:resize', ['$event']]
|
|
148
|
+
}] } });
|
|
149
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJ1bmNhdGUtdGV4dC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9teXJ0YS11aS9zcmMvbGliL2NvbXBvbmVudHMvdHJ1bmNhdGUtdGV4dC9kaXJlY3RpdmVzL3RydW5jYXRlLXRleHQuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFHTCxTQUFTLEVBQ0csWUFBWSxFQUN4QixZQUFZLEVBQ1osS0FBSyxFQUdMLE1BQU0sRUFHUCxNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUUsT0FBTyxFQUF1QyxLQUFLLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQzs7OztBQVExRixNQUFNLE9BQU8scUJBQXFCO0lBZ0J0QjtJQUNBO0lBQ0E7SUFDQTtJQWxCRixVQUFVLENBQWU7SUFDekIsaUJBQWlCLEdBQUcsRUFBRSxDQUFDO0lBQ3ZCLGtCQUFrQixHQUFHLEdBQUcsQ0FBQztJQUN6QixPQUFPLEdBQUcsRUFBRSxDQUFBO0lBQ1osV0FBVyxHQUFHLENBQUMsQ0FBQTtJQUVkLEtBQUssQ0FBVTtJQUNmLGVBQWUsQ0FBb0I7SUFDbkMsVUFBVSxDQUFVO0lBQ3BCLE1BQU0sQ0FBVztJQUNqQixpQkFBaUIsQ0FBaUI7SUFFakMsbUJBQW1CLEdBQTBCLElBQUksWUFBWSxFQUFXLENBQUE7SUFFbEYsWUFDVSxVQUFzQixFQUN0QixPQUF5QixFQUN6QixRQU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W50UmVmLm5hdGl2ZUVsZW1lbnQsICdvdmVyZmxvdycsICdoaWRkZW4nKTtcclxuICAgIHRoaXMucmVuZGVyZXIuc2V0U3R5bGUodGhpcy5lbGVtZW50UmVmLm5hdGl2ZUVsZW1lbnQsICdkaXNwbGF5JywgJy13ZWJraXQtYm94Jyk7XHJcbiAgICB0aGlzLnJlbmRlcmVyLnNldFN0eWxlKHRoaXMuZWxlbWVudFJlZi5uYXRpdmVFbGVtZW50LCAnLXdlYmtpdC1ib3gtb3JpZW50JywgJ3ZlcnRpY2FsJyk7XHJcbiAgICB0aGlzLnJlbmRlcmVyLnNldFN0eWxlKHRoaXMuZWxlbWVudFJlZi5uYXRpdmVFbGVtZW50LCAnLXdlYmtpdC1saW5lLWNsYW1wJywgdGhpcy5jb3VudCk7XHJcbiAgICB0aGlzLnJlbmRlcmVyLnNldFN0eWxlKHRoaXMuZWxlbWVudFJlZi5uYXRpdmVFbGVtZW50LCAnbGluZS1oZWlnaHQnLCBgJHt0aGlzLmxpbmVIZWlnaHR9cHhgKTtcclxuXHJcbiAgICByZXR1cm4gW3N0eWxlKHsgbWF4SGVpZ2h0OiB0aGlzLmxpbmVIZWlnaHQgKiB0aGlzLmNvdW50IH0pXTtcclxuICB9XHJcblxyXG4gIEBIb3N0TGlzdGVuZXIoJ3dpbmRvdzpyZXNpemUnLCBbJyRldmVudCddKVxyXG4gIG9uUmVzaXplKGV2ZW50OiBhbnkpIHtcclxuICAgIHRoaXMuY2hlY2tUcnVuY2F0ZUJ1dHRvbigpO1xyXG4gIH1cclxufVxyXG4iXX0=
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/common";
|
|
4
|
+
import * as i2 from "../link/link.component";
|
|
5
|
+
import * as i3 from "./directives/truncate-text.directive";
|
|
6
|
+
export class TruncateTextComponent {
|
|
7
|
+
isVisibleButton = false;
|
|
8
|
+
count = 2;
|
|
9
|
+
responsiveCount;
|
|
10
|
+
isOpen = false;
|
|
11
|
+
lineHeight;
|
|
12
|
+
changeVisibleButton(event) {
|
|
13
|
+
this.isVisibleButton = event;
|
|
14
|
+
}
|
|
15
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TruncateTextComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
16
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: TruncateTextComponent, selector: "mrx-truncate-text", inputs: { count: "count", responsiveCount: "responsiveCount", isOpen: "isOpen", lineHeight: "lineHeight" }, ngImport: i0, template: "<div\r\n class=\"mrx-truncate-text\"\r\n mrxTruncateText\r\n [class.mb-2]=\"isVisibleButton\"\r\n [count]=\"count\"\r\n [responsiveCount]=\"responsiveCount\"\r\n [isOpen]=\"isOpen\"\r\n [lineHeight]=\"lineHeight\"\r\n (changeVisibleButton)=\"changeVisibleButton($event)\"\r\n>\r\n <ng-content></ng-content>\r\n</div>\r\n\r\n<mrx-link\r\n *ngIf=\"isVisibleButton\"\r\n type=\"pseudo\"\r\n [prevent]=\"true\"\r\n (click)=\"isOpen = !isOpen\"\r\n>\r\n {{ isOpen ? '\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C' : '\u0420\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C' }}\r\n</mrx-link>\r\n", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.LinkComponent, selector: "mrx-link", inputs: ["href", "target", "routerLink", "queryParams", "type", "monochrome", "customClasses", "prevent", "size"], outputs: ["clicked"] }, { kind: "directive", type: i3.TruncateTextDirective, selector: "[mrxTruncateText]", inputs: ["count", "responsiveCount", "lineHeight", "isOpen", "truncateButtonRef"], outputs: ["changeVisibleButton"] }] });
|
|
17
|
+
}
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TruncateTextComponent, decorators: [{
|
|
19
|
+
type: Component,
|
|
20
|
+
args: [{ selector: 'mrx-truncate-text', template: "<div\r\n class=\"mrx-truncate-text\"\r\n mrxTruncateText\r\n [class.mb-2]=\"isVisibleButton\"\r\n [count]=\"count\"\r\n [responsiveCount]=\"responsiveCount\"\r\n [isOpen]=\"isOpen\"\r\n [lineHeight]=\"lineHeight\"\r\n (changeVisibleButton)=\"changeVisibleButton($event)\"\r\n>\r\n <ng-content></ng-content>\r\n</div>\r\n\r\n<mrx-link\r\n *ngIf=\"isVisibleButton\"\r\n type=\"pseudo\"\r\n [prevent]=\"true\"\r\n (click)=\"isOpen = !isOpen\"\r\n>\r\n {{ isOpen ? '\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C' : '\u0420\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C' }}\r\n</mrx-link>\r\n" }]
|
|
21
|
+
}], propDecorators: { count: [{
|
|
22
|
+
type: Input
|
|
23
|
+
}], responsiveCount: [{
|
|
24
|
+
type: Input
|
|
25
|
+
}], isOpen: [{
|
|
26
|
+
type: Input
|
|
27
|
+
}], lineHeight: [{
|
|
28
|
+
type: Input
|
|
29
|
+
}] } });
|
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJ1bmNhdGUtdGV4dC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9teXJ0YS11aS9zcmMvbGliL2NvbXBvbmVudHMvdHJ1bmNhdGUtdGV4dC90cnVuY2F0ZS10ZXh0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL215cnRhLXVpL3NyYy9saWIvY29tcG9uZW50cy90cnVuY2F0ZS10ZXh0L3RydW5jYXR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jwvbXJ4LWxpbms+XHJcbiJdfQ==
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJ1bmNhdGUtdGV4dC5lbnVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9jb21wb25lbnRzL3RydW5jYXRlLXRleHQvdHJ1bmNhdGUtdGV4dC5lbnVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgdHlwZSBUcnVuY2F0ZUNvdW50ID0gbnVtYmVyXHJcbmV4cG9ydCB0eXBlIFRydW5jYXRlUmVzcG9uc2l2ZUNvdW50ID0gW1RydW5jYXRlQ291bnQsIFRydW5jYXRlQ291bnRdXHJcbiJdfQ==
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { TruncateTextComponent } from './truncate-text.component';
|
|
4
|
+
import { TruncateTextDirective } from './directives/truncate-text.directive';
|
|
5
|
+
import { LinkModule } from '../link/link.module';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export class TruncateTextModule {
|
|
8
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TruncateTextModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: TruncateTextModule, declarations: [TruncateTextComponent, TruncateTextDirective], imports: [CommonModule, LinkModule], exports: [TruncateTextComponent] });
|
|
10
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TruncateTextModule, imports: [CommonModule, LinkModule] });
|
|
11
|
+
}
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TruncateTextModule, decorators: [{
|
|
13
|
+
type: NgModule,
|
|
14
|
+
args: [{
|
|
15
|
+
declarations: [TruncateTextComponent, TruncateTextDirective],
|
|
16
|
+
imports: [CommonModule, LinkModule],
|
|
17
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
18
|
+
exports: [TruncateTextComponent]
|
|
19
|
+
}]
|
|
20
|
+
}] });
|
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJ1bmNhdGUtdGV4dC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9teXJ0YS11aS9zcmMvbGliL2NvbXBvbmVudHMvdHJ1bmNhdGUtdGV4dC90cnVuY2F0ZS10ZXh0Lm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2pFLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQUNsRSxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSxzQ0FBc0MsQ0FBQztBQUM3RSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0scUJBQXFCLENBQUM7O0FBUWpELE1BQU0sT0FBTyxrQkFBa0I7d0dBQWxCLGtCQUFrQjt5R0FBbEIsa0JBQWtCLGlCQUxkLHFCQUFxQixFQUFFLHFCQUFxQixhQUNqRCxZQ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