myrta-ui 17.0.19 → 17.0.20
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/.browserslistrc +16 -0
- package/karma.conf.js +44 -0
- package/ng-package.json +28 -0
- package/package.json +47 -61
- package/src/lib/components/alert/alert.component.html +17 -0
- package/src/lib/components/alert/alert.component.less +2 -0
- package/src/lib/components/alert/alert.component.ts +30 -0
- package/src/lib/components/alert/alert.enum.ts +15 -0
- package/src/lib/components/alert/alert.module.ts +11 -0
- package/src/lib/components/alert/assets/alert-colors.less +29 -0
- package/src/lib/components/alert/assets/alert.less +32 -0
- package/src/lib/components/badges/badge.enum.ts +45 -0
- package/src/lib/components/badges/badges.module.ts +21 -0
- package/src/lib/components/badges/components/badge/assets/badge-colors.less +62 -0
- package/src/lib/components/badges/components/badge/assets/badge-tag.less +12 -0
- package/src/lib/components/badges/components/badge/assets/badge-types.less +26 -0
- package/src/lib/components/badges/components/badge/assets/badge.less +7 -0
- package/src/lib/components/badges/components/badge/badge.component.html +28 -0
- package/src/lib/components/badges/components/badge/badge.component.less +4 -0
- package/src/lib/components/badges/components/badge/badge.component.ts +55 -0
- package/src/lib/components/badges/components/badge-group/badge-group.component.html +3 -0
- package/src/lib/components/badges/components/badge-group/badge-group.component.less +5 -0
- package/src/lib/components/badges/components/badge-group/badge-group.component.ts +11 -0
- package/src/lib/components/breadcrumbs/assets/breadcrumbs.less +50 -0
- package/src/lib/components/breadcrumbs/breadcrumbs.component.html +51 -0
- package/src/lib/components/breadcrumbs/breadcrumbs.component.less +1 -0
- package/src/lib/components/breadcrumbs/breadcrumbs.component.ts +19 -0
- package/src/lib/components/breadcrumbs/breadcrumbs.enum.ts +15 -0
- package/src/lib/components/breadcrumbs/breadcrumbs.module.ts +22 -0
- package/src/lib/components/button/assets/button-colors.less +309 -0
- package/src/lib/components/button/assets/button-disabled.less +96 -0
- package/src/lib/components/button/assets/button-icon-loading.less +21 -0
- package/src/lib/components/button/assets/button-primary.less +56 -0
- package/src/lib/components/button/assets/button-secondary.less +169 -0
- package/src/lib/components/button/assets/button-sizes.less +71 -0
- package/src/lib/components/button/assets/button-tertiary.less +166 -0
- package/src/lib/components/button/assets/button-with-icon.less +64 -0
- package/src/lib/components/button/assets/button.less +12 -0
- package/src/lib/components/button/button.component.html +81 -0
- package/src/lib/components/button/button.component.less +9 -0
- package/src/lib/components/button/button.component.ts +88 -0
- package/src/lib/components/button/button.enum.ts +35 -0
- package/src/lib/components/button/button.module.ts +13 -0
- package/src/lib/components/cdk-tooltip/cdk-tooltip/tooltip-container.component.html +10 -0
- package/src/lib/components/cdk-tooltip/cdk-tooltip/tooltip-container.component.less +128 -0
- package/src/lib/components/cdk-tooltip/cdk-tooltip/tooltip-container.component.ts +26 -0
- package/src/lib/components/cdk-tooltip/cdk-tooltip.directive.ts +82 -0
- package/src/lib/components/cdk-tooltip/cdk-tooltip.module.ts +14 -0
- package/src/lib/components/cdk-tooltip/constants/index.ts +94 -0
- package/src/lib/components/cdk-tooltip/models/tooltip-data.ts +8 -0
- package/src/lib/components/chars-left/chars-left.component.html +3 -0
- package/src/lib/components/chars-left/chars-left.component.less +11 -0
- package/src/lib/components/chars-left/chars-left.component.ts +17 -0
- package/src/lib/components/chars-left/chars-left.module.ts +11 -0
- package/src/lib/components/dropdown/assets/dropdown-menu.less +75 -0
- package/src/lib/components/dropdown/assets/dropdown-toggle.less +3 -0
- package/src/lib/components/dropdown/assets/dropdown.less +12 -0
- package/src/lib/components/dropdown/directives/hide-after-click.directive.ts +14 -0
- package/src/lib/components/dropdown/dropdown.component.html +14 -0
- package/src/lib/components/dropdown/dropdown.component.less +3 -0
- package/src/lib/components/dropdown/dropdown.component.ts +112 -0
- package/src/lib/components/dropdown/dropdown.module.ts +15 -0
- package/src/lib/components/error-message/error-message.component.html +9 -0
- package/src/lib/components/error-message/error-message.component.less +20 -0
- package/src/lib/components/error-message/error-message.component.ts +26 -0
- package/src/lib/components/error-message/error-message.module.ts +11 -0
- package/src/lib/components/form/checkbox/assets/checkbox-error.less +27 -0
- package/src/lib/components/form/checkbox/assets/checkbox-indeterminate.less +77 -0
- package/src/lib/components/form/checkbox/assets/checkbox-input-disabled.less +28 -0
- package/src/lib/components/form/checkbox/assets/checkbox-input.less +14 -0
- package/src/lib/components/form/checkbox/assets/checkbox-label.less +26 -0
- package/src/lib/components/form/checkbox/assets/checkbox-mark.less +54 -0
- package/src/lib/components/form/checkbox/assets/checkbox-wrapper.less +6 -0
- package/src/lib/components/form/checkbox/assets/checkbox.less +19 -0
- package/src/lib/components/form/checkbox/checkbox.component.html +46 -0
- package/src/lib/components/form/checkbox/checkbox.component.less +8 -0
- package/src/lib/components/form/checkbox/checkbox.component.ts +168 -0
- package/src/lib/components/form/checkbox/checkbox.enum.ts +12 -0
- package/src/lib/components/form/checkbox/checkbox.module.ts +14 -0
- package/src/lib/components/form/checkbox-group/checkbox-group.component.html +46 -0
- package/src/lib/components/form/checkbox-group/checkbox-group.component.less +36 -0
- package/src/lib/components/form/checkbox-group/checkbox-group.component.ts +211 -0
- package/src/lib/components/form/checkbox-group/checkbox-group.module.ts +27 -0
- package/src/lib/components/form/checkbox-group/components/checkbox-group-header/checkbox-group-header.component.html +16 -0
- package/src/lib/components/form/checkbox-group/components/checkbox-group-header/checkbox-group-header.component.less +5 -0
- package/src/lib/components/form/checkbox-group/components/checkbox-group-header/checkbox-group-header.component.ts +34 -0
- package/src/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.html +50 -0
- package/src/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.less +23 -0
- package/src/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.ts +107 -0
- package/src/lib/components/form/checkbox-group/helpers/change-group-value.ts +23 -0
- package/src/lib/components/form/checkbox-group/helpers/change-item-value.ts +18 -0
- package/src/lib/components/form/checkbox-group/helpers/filter-search-group.ts +29 -0
- package/src/lib/components/form/checkbox-group/helpers/get-checked-items.ts +23 -0
- package/src/lib/components/form/checkbox-group/helpers/get-inner-list.helper.ts +51 -0
- package/src/lib/components/form/checkbox-group/helpers/get-item-by-id.ts +11 -0
- package/src/lib/components/form/checkbox-group/helpers/get-sorted-list.ts +45 -0
- package/src/lib/components/form/checkbox-group/helpers/inner-list-to-list.helper.ts +15 -0
- package/src/lib/components/form/checkbox-group/models/checkbox-group.model.ts +32 -0
- package/src/lib/components/form/document-editor/components/document-editor-preview-modal/document-editor-preview-modal.component.html +20 -0
- package/src/lib/components/form/document-editor/components/document-editor-preview-modal/document-editor-preview-modal.component.ts +69 -0
- package/src/lib/components/form/document-editor/document-editor.component.html +41 -0
- package/src/lib/components/form/document-editor/document-editor.component.less +7 -0
- package/src/lib/components/form/document-editor/document-editor.component.ts +109 -0
- package/src/lib/components/form/document-editor/document-editor.module.ts +29 -0
- package/src/lib/components/form/document-editor/helpers/transform-sysname.ts +57 -0
- package/src/lib/components/form/document-editor/models/document-editor-short-codes.enum.ts +6 -0
- package/src/lib/components/form/editor/assets/editor-borders.less +29 -0
- package/src/lib/components/form/editor/assets/editor-clear-elements.less +5 -0
- package/src/lib/components/form/editor/assets/editor-clear-out-elements.less +46 -0
- package/src/lib/components/form/editor/assets/editor-error.less +33 -0
- package/src/lib/components/form/editor/assets/editor-popups.less +11 -0
- package/src/lib/components/form/editor/assets/editor-table.less +5 -0
- package/src/lib/components/form/editor/assets/editor-toolbar.less +53 -0
- package/src/lib/components/form/editor/assets/editor-wysiwyg.less +21 -0
- package/src/lib/components/form/editor/assets/editor.less +10 -0
- package/src/lib/components/form/editor/assets/jodit.less +5364 -0
- package/src/lib/components/form/editor/config/default-inline-style.ts +5 -0
- package/src/lib/components/form/editor/config/index.ts +1 -0
- package/src/lib/components/form/editor/config/popups-toolbar.ts +9 -0
- package/src/lib/components/form/editor/config/toolbar.ts +73 -0
- package/src/lib/components/form/editor/editor.component.html +22 -0
- package/src/lib/components/form/editor/editor.component.less +15 -0
- package/src/lib/components/form/editor/editor.component.ts +271 -0
- package/src/lib/components/form/editor/editor.enum.ts +12 -0
- package/src/lib/components/form/editor/editor.module.ts +25 -0
- package/src/lib/components/form/editor/models/toolbar.model.ts +6 -0
- package/src/lib/components/form/editor/modules/change-icon-module.ts +91 -0
- package/src/lib/components/form/input-date-time/assets/input-date-error.less +21 -0
- package/src/lib/components/form/input-date-time/assets/input-date-icons.less +36 -0
- package/src/lib/components/form/input-date-time/assets/input-date-sizes.less +31 -0
- package/src/lib/components/form/input-date-time/assets/input-date.less +27 -0
- package/src/lib/components/form/input-date-time/constants/value-models.ts +16 -0
- package/src/lib/components/form/input-date-time/enum/timezone.ts +7 -0
- package/src/lib/components/form/input-date-time/helpers/clean-date.ts +5 -0
- package/src/lib/components/form/input-date-time/helpers/cursor-position.ts +18 -0
- package/src/lib/components/form/input-date-time/helpers/formatting-from-models.ts +10 -0
- package/src/lib/components/form/input-date-time/helpers/formatting-moscow-timezone.ts +12 -0
- package/src/lib/components/form/input-date-time/helpers/validate-value-models.ts +84 -0
- package/src/lib/components/form/input-date-time/helpers/value-parser.ts +46 -0
- package/src/lib/components/form/input-date-time/input-date-time.component.html +60 -0
- package/src/lib/components/form/input-date-time/input-date-time.component.ts +378 -0
- package/src/lib/components/form/input-date-time/input-date-time.components.less +4 -0
- package/src/lib/components/form/input-date-time/input-date-time.enum.ts +25 -0
- package/src/lib/components/form/input-date-time/input-date-time.module.ts +30 -0
- package/src/lib/components/form/input-datepicker/assets/input-date-disabled.less +17 -0
- package/src/lib/components/form/input-datepicker/assets/input-date-error.less +21 -0
- package/src/lib/components/form/input-datepicker/assets/input-date-icons.less +36 -0
- package/src/lib/components/form/input-datepicker/assets/input-date-sizes.less +31 -0
- package/src/lib/components/form/input-datepicker/assets/input-date.less +23 -0
- package/src/lib/components/form/input-datepicker/constants/value-models.ts +17 -0
- package/src/lib/components/form/input-datepicker/helpers/clean-date.ts +5 -0
- package/src/lib/components/form/input-datepicker/helpers/cursor-position.ts +18 -0
- package/src/lib/components/form/input-datepicker/helpers/get-date-dayjs-object.ts +10 -0
- package/src/lib/components/form/input-datepicker/helpers/get-date-object.ts +10 -0
- package/src/lib/components/form/input-datepicker/helpers/validate-value-models.ts +100 -0
- package/src/lib/components/form/input-datepicker/helpers/value-parser.ts +54 -0
- package/src/lib/components/form/input-datepicker/input-datepicker.component.html +60 -0
- package/src/lib/components/form/input-datepicker/input-datepicker.component.ts +342 -0
- package/src/lib/components/form/input-datepicker/input-datepicker.components.less +5 -0
- package/src/lib/components/form/input-datepicker/input-datepicker.enum.ts +16 -0
- package/src/lib/components/form/input-datepicker/input-datepicker.module.ts +30 -0
- package/src/lib/components/form/input-editor/assets/style.less +321 -0
- package/src/lib/components/form/input-editor/components/editor-toolbar/editor-toolbar.component.html +252 -0
- package/src/lib/components/form/input-editor/components/editor-toolbar/editor-toolbar.component.less +1 -0
- package/src/lib/components/form/input-editor/components/editor-toolbar/editor-toolbar.component.ts +390 -0
- package/src/lib/components/form/input-editor/components/editor-toolbar-button/editor-toolbar-button.component.html +12 -0
- package/src/lib/components/form/input-editor/components/editor-toolbar-button/editor-toolbar-button.component.less +13 -0
- package/src/lib/components/form/input-editor/components/editor-toolbar-button/editor-toolbar-button.component.ts +22 -0
- package/src/lib/components/form/input-editor/components/editor-toolbar-select/editor-toolbar-select.component.html +18 -0
- package/src/lib/components/form/input-editor/components/editor-toolbar-select/editor-toolbar-select.component.less +131 -0
- package/src/lib/components/form/input-editor/components/editor-toolbar-select/editor-toolbar-select.component.ts +205 -0
- package/src/lib/components/form/input-editor/config/index.ts +77 -0
- package/src/lib/components/form/input-editor/helpers/is-defined.ts +3 -0
- package/src/lib/components/form/input-editor/input-editor.component.html +68 -0
- package/src/lib/components/form/input-editor/input-editor.component.less +64 -0
- package/src/lib/components/form/input-editor/input-editor.component.ts +430 -0
- package/src/lib/components/form/input-editor/input-editor.module.ts +24 -0
- package/src/lib/components/form/input-editor/models/editor-select.model.ts +4 -0
- package/src/lib/components/form/input-editor/services/editor.service.ts +307 -0
- package/src/lib/components/form/input-file/assets/input-file-controls.less +8 -0
- package/src/lib/components/form/input-file/assets/input-file-drop-placeholder.less +31 -0
- package/src/lib/components/form/input-file/assets/input-file-drop.less +35 -0
- package/src/lib/components/form/input-file/assets/input-file-error.less +50 -0
- package/src/lib/components/form/input-file/assets/input-file-list-item.less +52 -0
- package/src/lib/components/form/input-file/assets/input-file-list.less +8 -0
- package/src/lib/components/form/input-file/assets/input-file.less +20 -0
- package/src/lib/components/form/input-file/enums/error-messages.enum.ts +6 -0
- package/src/lib/components/form/input-file/input-file.component.html +135 -0
- package/src/lib/components/form/input-file/input-file.component.less +7 -0
- package/src/lib/components/form/input-file/input-file.component.ts +329 -0
- package/src/lib/components/form/input-file/input-file.enum.ts +8 -0
- package/src/lib/components/form/input-file/input-file.module.ts +18 -0
- package/src/lib/components/form/input-file-image/assets/input-file-image-avatar.less +93 -0
- package/src/lib/components/form/input-file-image/assets/input-file-image-controls.less +35 -0
- package/src/lib/components/form/input-file-image/assets/input-file-image-drop.less +24 -0
- package/src/lib/components/form/input-file-image/assets/input-file-image-input.less +45 -0
- package/src/lib/components/form/input-file-image/assets/input-file-image-preview.less +107 -0
- package/src/lib/components/form/input-file-image/assets/input-file-image.less +7 -0
- package/src/lib/components/form/input-file-image/components/file-image-edit-modal/assets/input-image-cropper.less +25 -0
- package/src/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.html +68 -0
- package/src/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.less +1 -0
- package/src/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.ts +114 -0
- package/src/lib/components/form/input-file-image/input-file-image.component.html +151 -0
- package/src/lib/components/form/input-file-image/input-file-image.component.less +7 -0
- package/src/lib/components/form/input-file-image/input-file-image.component.ts +365 -0
- package/src/lib/components/form/input-file-image/input-file-image.enum.ts +10 -0
- package/src/lib/components/form/input-file-image/input-file-image.module.ts +31 -0
- package/src/lib/components/form/input-number/assets/input-number-disabled.less +17 -0
- package/src/lib/components/form/input-number/assets/input-number-error.less +21 -0
- package/src/lib/components/form/input-number/assets/input-number-sizes.less +61 -0
- package/src/lib/components/form/input-number/assets/input-number.less +45 -0
- package/src/lib/components/form/input-number/input-number.component.html +35 -0
- package/src/lib/components/form/input-number/input-number.component.less +4 -0
- package/src/lib/components/form/input-number/input-number.component.ts +284 -0
- package/src/lib/components/form/input-number/input-number.enum.ts +16 -0
- package/src/lib/components/form/input-number/input-number.module.ts +40 -0
- package/src/lib/components/form/input-opt/components/input-opt/assets/input-opt-error.less +23 -0
- package/src/lib/components/form/input-opt/components/input-opt/assets/input-opt-sizes.less +73 -0
- package/src/lib/components/form/input-opt/components/input-opt/assets/input-opt.less +20 -0
- package/src/lib/components/form/input-opt/components/input-opt/input-opt.component.html +39 -0
- package/src/lib/components/form/input-opt/components/input-opt/input-opt.component.less +3 -0
- package/src/lib/components/form/input-opt/components/input-opt/input-opt.component.ts +417 -0
- package/src/lib/components/form/input-opt/components/input-opt/input-opt.enum.ts +8 -0
- package/src/lib/components/form/input-opt/directives/opt-pattern.directive.ts +34 -0
- package/src/lib/components/form/input-opt/input-opt.module.ts +25 -0
- package/src/lib/components/form/input-opt/models/input-opt.model.ts +30 -0
- package/src/lib/components/form/input-opt/services/input-opt.service.ts +40 -0
- package/src/lib/components/form/input-password/assets/input-password-bullets.less +12 -0
- package/src/lib/components/form/input-password/assets/input-password-error.less +21 -0
- package/src/lib/components/form/input-password/assets/input-password-icons.less +16 -0
- package/src/lib/components/form/input-password/assets/input-password-sizes.less +31 -0
- package/src/lib/components/form/input-password/assets/input-password.less +43 -0
- package/src/lib/components/form/input-password/input-password.component.html +41 -0
- package/src/lib/components/form/input-password/input-password.component.less +5 -0
- package/src/lib/components/form/input-password/input-password.component.ts +106 -0
- package/src/lib/components/form/input-password/input-password.enum.ts +9 -0
- package/src/lib/components/form/input-password/input-password.module.ts +24 -0
- package/src/lib/components/form/input-phone/assets/input-phone-country-flags.less +271 -0
- package/src/lib/components/form/input-phone/assets/input-phone-dropdown.less +46 -0
- package/src/lib/components/form/input-phone/assets/input-phone-error.less +21 -0
- package/src/lib/components/form/input-phone/assets/input-phone-flags-icon.less +28 -0
- package/src/lib/components/form/input-phone/assets/input-phone-search.less +17 -0
- package/src/lib/components/form/input-phone/assets/input-phone-sizes.less +31 -0
- package/src/lib/components/form/input-phone/assets/input-phone-sprite.less +1297 -0
- package/src/lib/components/form/input-phone/assets/input-phone.less +85 -0
- package/src/lib/components/form/input-phone/data/country-code.ts +1326 -0
- package/src/lib/components/form/input-phone/directives/native-element-injector.directive.ts +27 -0
- package/src/lib/components/form/input-phone/enums/country-iso.enum.ts +245 -0
- package/src/lib/components/form/input-phone/enums/input-phone.enum.ts +14 -0
- package/src/lib/components/form/input-phone/enums/mask.enum.ts +147 -0
- package/src/lib/components/form/input-phone/enums/phone-number-format.enum.ts +4 -0
- package/src/lib/components/form/input-phone/enums/search-country-field.enum.ts +6 -0
- package/src/lib/components/form/input-phone/input-phone.component.html +86 -0
- package/src/lib/components/form/input-phone/input-phone.component.less +9 -0
- package/src/lib/components/form/input-phone/input-phone.component.ts +693 -0
- package/src/lib/components/form/input-phone/input-phone.module.ts +34 -0
- package/src/lib/components/form/input-phone/input-phone.validator.ts +70 -0
- package/src/lib/components/form/input-phone/interfaces/change-data.ts +9 -0
- package/src/lib/components/form/input-phone/models/country.model.ts +15 -0
- package/src/lib/components/form/input-search/assets/input-search-error.less +21 -0
- package/src/lib/components/form/input-search/assets/input-search-icons.less +16 -0
- package/src/lib/components/form/input-search/assets/input-search-sizes.less +31 -0
- package/src/lib/components/form/input-search/assets/input-search.less +45 -0
- package/src/lib/components/form/input-search/input-search.component.html +44 -0
- package/src/lib/components/form/input-search/input-search.component.less +4 -0
- package/src/lib/components/form/input-search/input-search.component.ts +160 -0
- package/src/lib/components/form/input-search/input-search.enum.ts +7 -0
- package/src/lib/components/form/input-search/input-search.module.ts +27 -0
- package/src/lib/components/form/input-select/assets/input-select-checked.less +18 -0
- package/src/lib/components/form/input-select/assets/input-select-dropdown.less +92 -0
- package/src/lib/components/form/input-select/assets/input-select-error.less +43 -0
- package/src/lib/components/form/input-select/assets/input-select-sizes.less +135 -0
- package/src/lib/components/form/input-select/assets/input-select-types.less +85 -0
- package/src/lib/components/form/input-select/assets/input-select.less +191 -0
- package/src/lib/components/form/input-select/input-select.component.html +80 -0
- package/src/lib/components/form/input-select/input-select.component.less +6 -0
- package/src/lib/components/form/input-select/input-select.component.ts +180 -0
- package/src/lib/components/form/input-select/input-select.enum.ts +13 -0
- package/src/lib/components/form/input-select/input-select.module.ts +25 -0
- package/src/lib/components/form/input-select/input-select.test.html +13 -0
- package/src/lib/components/form/input-tel/assets/base64.ts +5 -0
- 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 +986 -0
- package/src/lib/components/form/input-tel/assets/input-tel-dropdown.less +52 -0
- package/src/lib/components/form/input-tel/assets/input-tel-error.less +21 -0
- package/src/lib/components/form/input-tel/assets/input-tel-flags-icon.less +29 -0
- package/src/lib/components/form/input-tel/assets/input-tel-sizes.less +39 -0
- package/src/lib/components/form/input-tel/assets/input-tel.less +85 -0
- package/src/lib/components/form/input-tel/data/all-countries.ts +1323 -0
- package/src/lib/components/form/input-tel/data/country-iso.enum.ts +245 -0
- package/src/lib/components/form/input-tel/data/phone-number-format.enum.ts +6 -0
- package/src/lib/components/form/input-tel/data/search-country-field.enum.ts +6 -0
- package/src/lib/components/form/input-tel/directives/input-tel.directive.ts +59 -0
- package/src/lib/components/form/input-tel/enums/input-phone.enum.ts +14 -0
- package/src/lib/components/form/input-tel/input-tel.component.html +88 -0
- package/src/lib/components/form/input-tel/input-tel.component.less +6 -0
- package/src/lib/components/form/input-tel/input-tel.component.ts +374 -0
- package/src/lib/components/form/input-tel/input-tel.module.ts +26 -0
- package/src/lib/components/form/input-tel/models/country.model.ts +19 -0
- package/src/lib/components/form/input-text/assets/input-text-disabled.less +17 -0
- package/src/lib/components/form/input-text/assets/input-text-error.less +33 -0
- package/src/lib/components/form/input-text/assets/input-text-icon.less +25 -0
- package/src/lib/components/form/input-text/assets/input-text-sizes.less +61 -0
- package/src/lib/components/form/input-text/assets/input-text.less +25 -0
- package/src/lib/components/form/input-text/input-text.component.html +46 -0
- package/src/lib/components/form/input-text/input-text.component.less +5 -0
- package/src/lib/components/form/input-text/input-text.component.ts +176 -0
- package/src/lib/components/form/input-text/input-text.enum.ts +24 -0
- package/src/lib/components/form/input-text/input-text.module.ts +31 -0
- package/src/lib/components/form/input-textarea/assets/input-textarea-disabled-block.less +23 -0
- package/src/lib/components/form/input-textarea/assets/input-textarea-error.less +21 -0
- package/src/lib/components/form/input-textarea/assets/input-textarea-sizes.less +34 -0
- package/src/lib/components/form/input-textarea/assets/input-textarea.less +24 -0
- package/src/lib/components/form/input-textarea/input-textarea.component.html +46 -0
- package/src/lib/components/form/input-textarea/input-textarea.component.less +4 -0
- package/src/lib/components/form/input-textarea/input-textarea.component.ts +191 -0
- package/src/lib/components/form/input-textarea/input-textarea.enum.ts +14 -0
- package/src/lib/components/form/input-textarea/input-textarea.module.ts +31 -0
- package/src/lib/components/form/input-timepicker/constants/value-models.ts +9 -0
- package/src/lib/components/form/input-timepicker/helpers/clean-date.ts +5 -0
- package/src/lib/components/form/input-timepicker/helpers/cursor-position.ts +12 -0
- package/src/lib/components/form/input-timepicker/helpers/get-date-dayjs-object.ts +6 -0
- package/src/lib/components/form/input-timepicker/helpers/get-date-object.ts +6 -0
- package/src/lib/components/form/input-timepicker/helpers/validate-value-models.ts +42 -0
- package/src/lib/components/form/input-timepicker/helpers/value-parser.ts +21 -0
- package/src/lib/components/form/input-timepicker/input-timepicker.component.html +57 -0
- package/src/lib/components/form/input-timepicker/input-timepicker.component.ts +293 -0
- package/src/lib/components/form/input-timepicker/input-timepicker.components.scss +1 -0
- package/src/lib/components/form/input-timepicker/input-timepicker.enum.ts +14 -0
- package/src/lib/components/form/input-timepicker/input-timepicker.module.ts +30 -0
- package/src/lib/components/form/json-editor/json-editor.component.html +1 -0
- package/src/lib/components/form/json-editor/json-editor.component.less +1912 -0
- package/src/lib/components/form/json-editor/json-editor.component.ts +254 -0
- package/src/lib/components/form/json-editor/json-editor.enum.ts +6 -0
- package/src/lib/components/form/json-editor/json-editor.module.ts +18 -0
- package/src/lib/components/form/json-editor/utils/jsoneditoroptions.ts +167 -0
- package/src/lib/components/form/radio/assets/radio-error.less +9 -0
- package/src/lib/components/form/radio/assets/radio-input.less +10 -0
- package/src/lib/components/form/radio/assets/radio-label.less +26 -0
- package/src/lib/components/form/radio/assets/radio-mark.less +62 -0
- package/src/lib/components/form/radio/assets/radio-wrapper.less +5 -0
- package/src/lib/components/form/radio/assets/radio.less +11 -0
- package/src/lib/components/form/radio/radio.component.html +25 -0
- package/src/lib/components/form/radio/radio.component.less +6 -0
- package/src/lib/components/form/radio/radio.component.ts +74 -0
- package/src/lib/components/form/radio/radio.enum.ts +5 -0
- package/src/lib/components/form/radio/radio.module.ts +14 -0
- package/src/lib/components/form/radio-group/components/radio-group-header/radio-group-header.component.html +14 -0
- package/src/lib/components/form/radio-group/components/radio-group-header/radio-group-header.component.ts +32 -0
- package/src/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.html +51 -0
- package/src/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.less +17 -0
- package/src/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.ts +55 -0
- package/src/lib/components/form/radio-group/helpers/filter-search-group.ts +29 -0
- package/src/lib/components/form/radio-group/helpers/get-item-by-id.ts +11 -0
- package/src/lib/components/form/radio-group/helpers/move-selected-to-first.ts +33 -0
- package/src/lib/components/form/radio-group/models/radio-group.model.ts +15 -0
- package/src/lib/components/form/radio-group/radio-group.component.html +47 -0
- package/src/lib/components/form/radio-group/radio-group.component.less +21 -0
- package/src/lib/components/form/radio-group/radio-group.component.ts +163 -0
- package/src/lib/components/form/radio-group/radio-group.module.ts +30 -0
- package/src/lib/components/form/rating/assets/rating-disabled.less +5 -0
- package/src/lib/components/form/rating/assets/rating-item.less +44 -0
- package/src/lib/components/form/rating/assets/rating-size.less +24 -0
- package/src/lib/components/form/rating/assets/rating.less +17 -0
- package/src/lib/components/form/rating/rating.component.html +75 -0
- package/src/lib/components/form/rating/rating.component.less +4 -0
- package/src/lib/components/form/rating/rating.component.ts +213 -0
- package/src/lib/components/form/rating/rating.enum.ts +36 -0
- package/src/lib/components/form/rating/rating.module.ts +15 -0
- package/src/lib/components/form/switch/assets/switch-label.less +26 -0
- package/src/lib/components/form/switch/assets/switch-sizes.less +50 -0
- package/src/lib/components/form/switch/assets/switch-types.less +18 -0
- package/src/lib/components/form/switch/assets/switch.less +73 -0
- package/src/lib/components/form/switch/switch.component.html +53 -0
- package/src/lib/components/form/switch/switch.component.less +4 -0
- package/src/lib/components/form/switch/switch.component.ts +85 -0
- package/src/lib/components/form/switch/switch.enum.ts +20 -0
- package/src/lib/components/form/switch/switch.module.ts +13 -0
- package/src/lib/components/gallery/assets/fancybox.less +1319 -0
- package/src/lib/components/gallery/components/gallery-confirm-modal/gallery-confirm-modal.component.html +30 -0
- package/src/lib/components/gallery/components/gallery-confirm-modal/gallery-confirm-modal.component.ts +43 -0
- package/src/lib/components/gallery/components/gallery-item/gallery-item.component.html +58 -0
- package/src/lib/components/gallery/components/gallery-item/gallery-item.component.less +85 -0
- package/src/lib/components/gallery/components/gallery-item/gallery-item.component.ts +106 -0
- package/src/lib/components/gallery/constants/custom-buttons-default.ts +15 -0
- package/src/lib/components/gallery/constants/thumbs-config-default.ts +6 -0
- package/src/lib/components/gallery/gallery.component.html +32 -0
- package/src/lib/components/gallery/gallery.component.less +14 -0
- package/src/lib/components/gallery/gallery.component.ts +202 -0
- package/src/lib/components/gallery/gallery.module.ts +32 -0
- package/src/lib/components/gallery/helpers/rotate-image.ts +33 -0
- package/src/lib/components/gallery/models/gallery-item.model.ts +26 -0
- package/src/lib/components/gallery/services/gallery.service.ts +33 -0
- package/src/lib/components/hint-error-message/hint-error-message.component.html +5 -0
- package/src/lib/components/hint-error-message/hint-error-message.component.less +11 -0
- package/src/lib/components/hint-error-message/hint-error-message.component.ts +125 -0
- package/src/lib/components/hint-error-message/hint-error-message.module.ts +11 -0
- package/src/lib/components/icon-button/icon-button.component.html +11 -0
- package/src/lib/components/icon-button/icon-button.component.less +84 -0
- package/src/lib/components/icon-button/icon-button.component.ts +44 -0
- package/src/lib/components/icon-button/icon-button.enum.ts +21 -0
- package/src/lib/components/icon-button/icon-button.module.ts +11 -0
- package/src/lib/components/label/label.component.html +57 -0
- package/src/lib/components/label/label.component.less +49 -0
- package/src/lib/components/label/label.component.ts +103 -0
- package/src/lib/components/label/label.module.ts +19 -0
- package/src/lib/components/link/assets/link-monochrome.less +21 -0
- package/src/lib/components/link/assets/link.less +54 -0
- package/src/lib/components/link/link.component.html +27 -0
- package/src/lib/components/link/link.component.less +2 -0
- package/src/lib/components/link/link.component.ts +52 -0
- package/src/lib/components/link/link.enum.ts +24 -0
- package/src/lib/components/link/link.module.ts +13 -0
- package/src/lib/components/loader/assets/loader-color.less +60 -0
- package/src/lib/components/loader/assets/loader-sizes.less +21 -0
- package/src/lib/components/loader/assets/loader.less +25 -0
- package/src/lib/components/loader/loader.component.html +13 -0
- package/src/lib/components/loader/loader.component.less +3 -0
- package/src/lib/components/loader/loader.component.ts +17 -0
- package/src/lib/components/loader/loader.enum.ts +22 -0
- package/src/lib/components/loader/loader.module.ts +11 -0
- package/src/lib/components/modal/assets/modal-animations.less +13 -0
- package/src/lib/components/modal/assets/modal-body.less +19 -0
- package/src/lib/components/modal/assets/modal-colors.less +62 -0
- package/src/lib/components/modal/assets/modal-footer.less +5 -0
- package/src/lib/components/modal/assets/modal-header.less +48 -0
- package/src/lib/components/modal/assets/modal-sizes.less +17 -0
- package/src/lib/components/modal/assets/modal.less +47 -0
- package/src/lib/components/modal/modal.component.html +49 -0
- package/src/lib/components/modal/modal.component.less +7 -0
- package/src/lib/components/modal/modal.component.ts +107 -0
- package/src/lib/components/modal/modal.emun.ts +25 -0
- package/src/lib/components/modal/modal.module.ts +12 -0
- package/src/lib/components/pages-nav/pages-nav.component.html +20 -0
- package/src/lib/components/pages-nav/pages-nav.component.less +40 -0
- package/src/lib/components/pages-nav/pages-nav.component.ts +22 -0
- package/src/lib/components/pages-nav/pages-nav.enum.ts +6 -0
- package/src/lib/components/pages-nav/pages-nav.module.ts +18 -0
- package/src/lib/components/paginator/assets/paginator-types.less +13 -0
- package/src/lib/components/paginator/assets/paginator.less +83 -0
- package/src/lib/components/paginator/paginator.component.html +64 -0
- package/src/lib/components/paginator/paginator.component.less +2 -0
- package/src/lib/components/paginator/paginator.component.ts +129 -0
- package/src/lib/components/paginator/paginator.enum.ts +18 -0
- package/src/lib/components/paginator/paginator.module.ts +20 -0
- package/src/lib/components/pdf-viewer/assets/pdf-viewer__container.less +43 -0
- package/src/lib/components/pdf-viewer/assets/pdf-viewer__print-dialog.less +42 -0
- package/src/lib/components/pdf-viewer/assets/pdf-viewer__sidebar.less +173 -0
- package/src/lib/components/pdf-viewer/assets/pdf-viewer__toolbar.less +210 -0
- package/src/lib/components/pdf-viewer/pdf-viewer.component.html +188 -0
- package/src/lib/components/pdf-viewer/pdf-viewer.component.less +4 -0
- package/src/lib/components/pdf-viewer/pdf-viewer.component.ts +297 -0
- package/src/lib/components/pdf-viewer/pdf-viewer.module.ts +32 -0
- package/src/lib/components/progress/assets/progress-color.less +26 -0
- package/src/lib/components/progress/assets/progress.less +12 -0
- package/src/lib/components/progress/progress.component.html +3 -0
- package/src/lib/components/progress/progress.component.less +2 -0
- package/src/lib/components/progress/progress.component.ts +19 -0
- package/src/lib/components/progress/progress.enum.ts +7 -0
- package/src/lib/components/progress/progress.module.ts +11 -0
- package/src/lib/components/save-state/components/save-state-checkbox/save-state-checkbox.component.html +66 -0
- package/src/lib/components/save-state/components/save-state-checkbox/save-state-checkbox.component.less +32 -0
- package/src/lib/components/save-state/components/save-state-checkbox/save-state-checkbox.component.ts +14 -0
- package/src/lib/components/save-state/components/save-state-checkbox-group/save-state-checkbox-group.component.html +66 -0
- package/src/lib/components/save-state/components/save-state-checkbox-group/save-state-checkbox-group.component.less +32 -0
- package/src/lib/components/save-state/components/save-state-checkbox-group/save-state-checkbox-group.component.ts +14 -0
- package/src/lib/components/save-state/components/save-state-editor/save-state-editor.component.html +66 -0
- package/src/lib/components/save-state/components/save-state-editor/save-state-editor.component.less +32 -0
- package/src/lib/components/save-state/components/save-state-editor/save-state-editor.component.ts +14 -0
- package/src/lib/components/save-state/components/save-state-input/save-state-input.component.html +66 -0
- package/src/lib/components/save-state/components/save-state-input/save-state-input.component.less +34 -0
- package/src/lib/components/save-state/components/save-state-input/save-state-input.component.ts +14 -0
- package/src/lib/components/save-state/components/save-state-switch/save-state-switch.component.html +66 -0
- package/src/lib/components/save-state/components/save-state-switch/save-state-switch.component.less +32 -0
- package/src/lib/components/save-state/components/save-state-switch/save-state-switch.component.ts +14 -0
- package/src/lib/components/save-state/save-state.component.html +11 -0
- package/src/lib/components/save-state/save-state.component.less +0 -0
- package/src/lib/components/save-state/save-state.component.ts +32 -0
- package/src/lib/components/save-state/save-state.enum.ts +1 -0
- package/src/lib/components/save-state/save-state.module.ts +28 -0
- package/src/lib/components/stepper/stepper.component.html +30 -0
- package/src/lib/components/stepper/stepper.component.less +27 -0
- package/src/lib/components/stepper/stepper.component.ts +38 -0
- package/src/lib/components/stepper/stepper.enum.ts +5 -0
- package/src/lib/components/stepper/stepper.module.ts +12 -0
- package/src/lib/components/table/assets/table-counter.less +8 -0
- package/src/lib/components/table/assets/table-download.less +19 -0
- package/src/lib/components/table/assets/table-empty-message.less +38 -0
- package/src/lib/components/table/assets/table-overlay.less +17 -0
- package/src/lib/components/table/assets/table-paginator.less +9 -0
- package/src/lib/components/table/assets/table-sort-select.less +70 -0
- package/src/lib/components/table/assets/table-striped.less +42 -0
- package/src/lib/components/table/assets/table-toggle.less +22 -0
- package/src/lib/components/table/assets/table-types.less +118 -0
- package/src/lib/components/table/assets/table.less +36 -0
- package/src/lib/components/table/components/column/column.component.ts +17 -0
- package/src/lib/components/table/default/default-pager-settings.ts +8 -0
- package/src/lib/components/table/models/data-state-change.event.ts +16 -0
- package/src/lib/components/table/models/index.ts +3 -0
- package/src/lib/components/table/models/pager-settings.ts +26 -0
- package/src/lib/components/table/table.component.html +220 -0
- package/src/lib/components/table/table.component.less +10 -0
- package/src/lib/components/table/table.component.ts +252 -0
- package/src/lib/components/table/table.enum.ts +41 -0
- package/src/lib/components/table/table.module.ts +30 -0
- package/src/lib/components/tabs/tab/tab.component.html +4 -0
- package/src/lib/components/tabs/tab/tab.component.less +15 -0
- package/src/lib/components/tabs/tab/tab.component.ts +22 -0
- package/src/lib/components/tabs/tabs-group/assets/tabs-button.less +43 -0
- package/src/lib/components/tabs/tabs-group/assets/tabs-group.less +9 -0
- package/src/lib/components/tabs/tabs-group/assets/tabs-size.less +50 -0
- package/src/lib/components/tabs/tabs-group/assets/tabs-types.less +63 -0
- package/src/lib/components/tabs/tabs-group/tabs-group.component.html +5 -0
- package/src/lib/components/tabs/tabs-group/tabs-group.component.less +4 -0
- package/src/lib/components/tabs/tabs-group/tabs-group.component.ts +23 -0
- package/src/lib/components/tabs/tabs.enum.ts +15 -0
- package/src/lib/components/tabs/tabs.module.ts +12 -0
- package/src/lib/components/tooltip/services/tooltip.service.ts +74 -0
- package/src/lib/components/tooltip/tooltip-trigger/assets/tooltip-trigger-right.less +39 -0
- package/src/lib/components/tooltip/tooltip-trigger/assets/tooltip-trigger-top.less +41 -0
- package/src/lib/components/tooltip/tooltip-trigger/assets/tooltip-trigger.less +29 -0
- package/src/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.html +11 -0
- package/src/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.less +3 -0
- package/src/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.ts +29 -0
- package/src/lib/components/tooltip/tooltip-trigger/tooltip-trigger.enum.ts +13 -0
- package/src/lib/components/tooltip/tooltip.component.html +4 -0
- package/src/lib/components/tooltip/tooltip.component.less +19 -0
- package/src/lib/components/tooltip/tooltip.component.ts +51 -0
- package/src/lib/components/tooltip/tooltip.enum.ts +4 -0
- package/src/lib/components/tooltip/tooltip.module.ts +13 -0
- package/src/lib/components/truncate-text/directives/truncate-text.directive.ts +158 -0
- package/src/lib/components/truncate-text/truncate-text.component.html +21 -0
- package/src/lib/components/truncate-text/truncate-text.component.ts +19 -0
- package/src/lib/components/truncate-text/truncate-text.enum.ts +2 -0
- package/src/lib/components/truncate-text/truncate-text.module.ts +13 -0
- package/src/lib/components/warning-message/warning-message.component.html +8 -0
- package/src/lib/components/warning-message/warning-message.component.less +12 -0
- package/src/lib/components/warning-message/warning-message.component.ts +24 -0
- package/src/lib/components/warning-message/warning-message.module.ts +11 -0
- package/src/lib/components/wrappers/content-wrapper/content-wrapper.component.html +9 -0
- package/src/lib/components/wrappers/content-wrapper/content-wrapper.component.less +13 -0
- package/src/lib/components/wrappers/content-wrapper/content-wrapper.component.ts +18 -0
- package/src/lib/components/wrappers/content-wrapper/content-wrapper.enum.ts +6 -0
- package/src/lib/components/wrappers/content-wrapper/content-wrapper.module.ts +13 -0
- package/src/lib/components/wrappers/controls-wrapper/components/controls-item/controls-item.component.html +6 -0
- package/src/lib/components/wrappers/controls-wrapper/components/controls-item/controls-item.component.less +39 -0
- package/src/lib/components/wrappers/controls-wrapper/components/controls-item/controls-item.component.ts +11 -0
- package/src/lib/components/wrappers/controls-wrapper/controls-wrapper.component.html +7 -0
- package/src/lib/components/wrappers/controls-wrapper/controls-wrapper.component.less +30 -0
- package/src/lib/components/wrappers/controls-wrapper/controls-wrapper.component.ts +18 -0
- package/src/lib/components/wrappers/controls-wrapper/controls-wrapper.enum.ts +7 -0
- package/src/lib/components/wrappers/controls-wrapper/controls-wrapper.module.ts +14 -0
- package/src/lib/components/wrappers/widget-wrapper/widget-wrapper.component.html +50 -0
- package/src/lib/components/wrappers/widget-wrapper/widget-wrapper.component.less +88 -0
- package/src/lib/components/wrappers/widget-wrapper/widget-wrapper.component.ts +82 -0
- package/src/lib/components/wrappers/widget-wrapper/widget-wrapper.enum.ts +17 -0
- package/src/lib/components/wrappers/widget-wrapper/widget-wrapper.module.ts +18 -0
- package/src/lib/directives/autosize/autosize.directive.ts +55 -0
- package/src/lib/directives/autosize/autosize.module.ts +16 -0
- package/src/lib/directives/delayed-value/delayed-value.directive.ts +37 -0
- package/src/lib/directives/delayed-value/delayed-value.module.ts +16 -0
- package/src/lib/directives/truncate/truncate.directive.ts +26 -0
- package/src/lib/directives/truncate/truncate.module.ts +10 -0
- package/src/lib/enums/typed.input.state.ts +6 -0
- package/src/lib/helpers/extension/input-file.extension.ts +47 -0
- package/src/lib/helpers/formatting-date.ts +65 -0
- package/src/lib/helpers/formatting-dates-from-array.ts +21 -0
- package/src/lib/helpers/formatting-iso-to-string.ts +20 -0
- package/src/lib/helpers/index.ts +8 -0
- package/src/lib/helpers/mrx-gallery-lib/README.md +0 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.autoplay.css +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.autoplay.esm.d.ts +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.autoplay.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.autoplay.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.css +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.thumbs.css +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.thumbs.esm.d.ts +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.thumbs.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.thumbs.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/cs.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/cs.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/de.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/de.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/en.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/en.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/es.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/es.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/fr.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/fr.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/it.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/it.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/ja.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/ja.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/lv.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/lv.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/pl.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/pl.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/sk.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/sk.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/zh_CN.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/zh_CN.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/fancybox.css +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/fancybox.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/fancybox.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/cs.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/cs.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/de.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/de.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/en.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/en.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/es.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/es.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/fr.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/fr.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/it.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/it.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/ja.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/ja.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/lv.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/lv.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/pl.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/pl.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/sk.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/sk.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/zh_CN.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/zh_CN.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/index.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/index.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/cs.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/cs.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/de.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/de.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/en.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/en.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/es.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/es.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/fr.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/fr.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/it.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/it.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/ja.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/ja.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/lv.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/lv.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/pl.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/pl.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/sk.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/sk.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/zh_CN.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/zh_CN.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.css +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.pins.css +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.pins.esm.d.ts +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.pins.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.pins.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.toolbar.css +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.toolbar.esm.d.ts +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.toolbar.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.toolbar.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/cs.ts +5 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/de.ts +5 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/en.ts +5 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/es.ts +5 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/fr.ts +5 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/it.ts +5 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/ja.ts +5 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/lv.ts +5 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/pl.ts +5 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/sk.ts +5 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/zh_CN.ts +5 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/cs.ts +20 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/de.ts +20 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/en.ts +20 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/es.ts +20 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/fr.ts +20 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/it.ts +20 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/ja.ts +20 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/lv.ts +20 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/pl.ts +20 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/sk.ts +20 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/zh_CN.ts +20 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/cs.ts +26 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/de.ts +26 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/en.ts +26 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/es.ts +26 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/fr.ts +26 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/it.ts +26 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/ja.ts +26 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/lv.ts +26 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/pl.ts +26 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/sk.ts +26 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/zh_CN.ts +26 -0
- package/src/lib/helpers/mrx-gallery-lib/package.json +15 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Carousel/Carousel.d.ts +186 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Carousel/consts.d.ts +8 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Carousel/options.d.ts +108 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Carousel/plugins/Autoplay/Autoplay.d.ts +62 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Carousel/plugins/Dots/Dots.d.ts +44 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Carousel/plugins/Navigation/Navigation.d.ts +41 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Carousel/plugins/Sync/Sync.d.ts +44 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Carousel/plugins/Thumbs/Thumbs.d.ts +99 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Carousel/plugins/index.d.ts +5 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Carousel/types.d.ts +94 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/Fancybox.d.ts +231 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/consts.d.ts +13 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/options.d.ts +171 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/plugins/Hash/Hash.d.ts +34 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/plugins/Html/Html.d.ts +105 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/plugins/Images/Images.d.ts +66 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/plugins/Slideshow/Slideshow.d.ts +42 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/plugins/Thumbs/Thumbs.d.ts +42 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/plugins/Toolbar/Toolbar.d.ts +86 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/plugins/index.d.ts +8 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/types.d.ts +91 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Panzoom/Panzoom.d.ts +357 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Panzoom/consts.d.ts +9 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Panzoom/options.d.ts +172 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Panzoom/plugins/Pins/Pins.d.ts +18 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Panzoom/plugins/Toolbar/Toolbar.d.ts +31 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Panzoom/plugins/index.d.ts +2 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Panzoom/types.d.ts +112 -0
- package/src/lib/helpers/mrx-gallery-lib/types/index.d.ts +3 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/Base/Base.d.ts +16 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/Base/Component.d.ts +9 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/Base/Plugin.d.ts +7 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/Base/types.d.ts +9 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/buttons.d.ts +88 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/spinner.d.ts +1 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/PointerTracker.d.ts +45 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/addClass.d.ts +1 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/canUseDOM.d.ts +4 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/getDimensions.d.ts +8 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/getDirectChildren.d.ts +1 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/getScrollableParent.d.ts +2 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/isInViewport.d.ts +1 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/isNode.d.ts +1 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/isPlainObject.d.ts +1 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/merge.d.ts +1 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/removeClass.d.ts +1 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/resolve.d.ts +1 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/round.d.ts +4 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/setFocusOn.d.ts +2 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/splitClasses.d.ts +1 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/stringToHtml.d.ts +1 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/throttle.d.ts +5 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/toggleClass.d.ts +1 -0
- package/src/lib/helpers/number-format.ts +8 -0
- package/src/lib/helpers/string-hash-code.ts +16 -0
- package/src/lib/helpers/word-form.ts +11 -0
- package/src/lib/models/index.ts +2 -0
- package/src/lib/models/input-file/input-file.model.ts +26 -0
- package/src/lib/models/typed-input-model.ts +17 -0
- package/src/lib/myrta-ui.module.ts +146 -0
- package/src/lib/pipes/currency/currency.module.ts +14 -0
- package/src/lib/pipes/currency/currency.pipe.ts +19 -0
- package/src/lib/pipes/date/date-format.module.ts +11 -0
- package/src/lib/pipes/date/date-format.pipe.ts +17 -0
- package/src/lib/pipes/date/date-time-format.pipe.ts +17 -0
- package/src/lib/pipes/date/enums/timezone.ts +10 -0
- package/src/lib/pipes/date/helpers/change-timezone.ts +25 -0
- package/src/lib/pipes/phone/phone-format.module.ts +10 -0
- package/src/lib/pipes/phone/phone-format.pipe.ts +16 -0
- package/src/lib/pipes/safe/safe.module.ts +14 -0
- package/src/lib/pipes/safe/safe.pipe.ts +14 -0
- package/src/lib/pipes/truncate/truncate.module.ts +14 -0
- package/src/lib/pipes/truncate/truncate.pipe.ts +19 -0
- package/src/lib/services/dialog/components/dialog/dialog.component.html +7 -0
- package/src/lib/services/dialog/components/dialog/dialog.component.less +22 -0
- package/src/lib/services/dialog/components/dialog/dialog.component.ts +55 -0
- package/src/lib/services/dialog/dialog.module.ts +19 -0
- package/src/lib/services/dialog/directives/insertion.directive.ts +8 -0
- package/src/lib/services/dialog/services/dialog.service.ts +68 -0
- package/src/lib/services/dialog/utils/dialog-config.ts +3 -0
- package/src/lib/services/dialog/utils/dialog-injector.ts +17 -0
- package/src/lib/services/dialog/utils/dialog-ref.ts +12 -0
- package/src/lib/services/file-upload/file-upload.service.ts +24 -0
- package/src/lib/services/index.ts +19 -0
- package/src/lib/services/modal-service/components/alert-modal/alert-modal.component.html +20 -0
- 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 +47 -0
- package/src/lib/services/modal-service/components/confirm-modal/confirm-modal.component.html +29 -0
- 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 +51 -0
- package/src/lib/services/modal-service/helpers/index.ts +4 -0
- package/src/lib/services/modal-service/helpers/modal-default-config.ts +16 -0
- package/src/lib/services/modal-service/helpers/modal-ref.ts +36 -0
- package/src/lib/services/modal-service/helpers/modal-tokens.ts +4 -0
- package/src/lib/services/modal-service/helpers/modal.component.ts +3 -0
- package/src/lib/services/modal-service/modal-service.module.ts +15 -0
- package/src/lib/services/modal-service/modal-service.service.ts +100 -0
- package/src/lib/services/modal-service/models/modal-config.model.ts +16 -0
- package/src/lib/services/mrx-autosave/mrx-autosave.service.ts +58 -0
- package/src/lib/services/mrx-form-validator/constants/invalid-messages.ts +9 -0
- package/src/lib/services/mrx-form-validator/helpers/get-error-message.helper.ts +17 -0
- package/src/lib/services/mrx-form-validator/helpers/get-sorting-validations.helper.ts +30 -0
- package/src/lib/services/mrx-form-validator/models/index.ts +3 -0
- package/src/lib/services/mrx-form-validator/models/validations-options.model.ts +35 -0
- package/src/lib/services/mrx-form-validator/models/validations-settings.model.ts +8 -0
- package/src/lib/services/mrx-form-validator/models/validations-types.model.ts +23 -0
- package/src/lib/services/mrx-form-validator/mrx-form-validator.ts +278 -0
- package/src/lib/services/mrx-form-validator/validations/callback.validation.ts +24 -0
- package/src/lib/services/mrx-form-validator/validations/email.validation.ts +20 -0
- package/src/lib/services/mrx-form-validator/validations/max-length.validation.ts +26 -0
- package/src/lib/services/mrx-form-validator/validations/max-value.validation.ts +21 -0
- package/src/lib/services/mrx-form-validator/validations/min-length.validation.ts +26 -0
- package/src/lib/services/mrx-form-validator/validations/min-value.validation.ts +19 -0
- package/src/lib/services/mrx-form-validator/validations/pattern.validation.ts +20 -0
- package/src/lib/services/mrx-form-validator/validations/required.validation.ts +34 -0
- package/src/lib/services/save-store/constants/constants.ts +1 -0
- package/src/lib/services/save-store/models/save-store.model.ts +4 -0
- package/src/lib/services/save-store/save-store.module.ts +17 -0
- package/src/lib/services/save-store/store/actions.ts +56 -0
- package/src/lib/services/save-store/store/effect.ts +61 -0
- package/src/lib/services/save-store/store/reducer.ts +103 -0
- package/src/lib/services/save-store/store/selectors.ts +10 -0
- package/src/lib/services/save-store/store/state.ts +16 -0
- package/src/lib/services/toaster-service/components/toaster/assets/toaster-colors.less +78 -0
- package/src/lib/services/toaster-service/components/toaster/assets/toaster-content.less +17 -0
- package/src/lib/services/toaster-service/components/toaster/assets/toaster.less +45 -0
- package/src/lib/services/toaster-service/components/toaster/toaster.component.html +37 -0
- package/src/lib/services/toaster-service/components/toaster/toaster.component.less +3 -0
- package/src/lib/services/toaster-service/components/toaster/toaster.component.ts +26 -0
- package/src/lib/services/toaster-service/config/index.ts +12 -0
- package/src/lib/services/toaster-service/models/toaster.model.ts +14 -0
- package/src/lib/services/toaster-service/toaster-service.module.ts +20 -0
- package/src/lib/services/toaster-service/toaster-service.service.ts +51 -0
- package/src/public-api.ts +244 -0
- package/tsconfig.lib.json +15 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +17 -0
- package/esm2022/lib/components/alert/alert.component.mjs +0 -43
- package/esm2022/lib/components/alert/alert.enum.mjs +0 -15
- package/esm2022/lib/components/alert/alert.module.mjs +0 -19
- package/esm2022/lib/components/badges/badge.enum.mjs +0 -32
- package/esm2022/lib/components/badges/badges.module.mjs +0 -30
- package/esm2022/lib/components/badges/components/badge/badge.component.mjs +0 -61
- package/esm2022/lib/components/badges/components/badge-group/badge-group.component.mjs +0 -11
- package/esm2022/lib/components/breadcrumbs/breadcrumbs.component.mjs +0 -29
- package/esm2022/lib/components/breadcrumbs/breadcrumbs.enum.mjs +0 -6
- package/esm2022/lib/components/breadcrumbs/breadcrumbs.module.mjs +0 -31
- package/esm2022/lib/components/button/button.component.mjs +0 -100
- package/esm2022/lib/components/button/button.enum.mjs +0 -27
- package/esm2022/lib/components/button/button.module.mjs +0 -21
- package/esm2022/lib/components/cdk-tooltip/cdk-tooltip/tooltip-container.component.mjs +0 -29
- package/esm2022/lib/components/cdk-tooltip/cdk-tooltip.directive.mjs +0 -99
- package/esm2022/lib/components/cdk-tooltip/cdk-tooltip.module.mjs +0 -21
- package/esm2022/lib/components/cdk-tooltip/constants/index.mjs +0 -70
- package/esm2022/lib/components/cdk-tooltip/models/tooltip-data.mjs +0 -2
- package/esm2022/lib/components/chars-left/chars-left.component.mjs +0 -24
- package/esm2022/lib/components/chars-left/chars-left.module.mjs +0 -19
- package/esm2022/lib/components/dropdown/directives/hide-after-click.directive.mjs +0 -24
- package/esm2022/lib/components/dropdown/dropdown.component.mjs +0 -107
- package/esm2022/lib/components/dropdown/dropdown.module.mjs +0 -21
- package/esm2022/lib/components/error-message/error-message.component.mjs +0 -32
- package/esm2022/lib/components/error-message/error-message.module.mjs +0 -19
- package/esm2022/lib/components/form/checkbox/checkbox.component.mjs +0 -146
- package/esm2022/lib/components/form/checkbox/checkbox.enum.mjs +0 -2
- package/esm2022/lib/components/form/checkbox/checkbox.module.mjs +0 -22
- package/esm2022/lib/components/form/checkbox-group/checkbox-group.component.mjs +0 -216
- package/esm2022/lib/components/form/checkbox-group/checkbox-group.module.mjs +0 -47
- package/esm2022/lib/components/form/checkbox-group/components/checkbox-group-header/checkbox-group-header.component.mjs +0 -48
- package/esm2022/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.mjs +0 -114
- package/esm2022/lib/components/form/checkbox-group/helpers/change-group-value.mjs +0 -19
- package/esm2022/lib/components/form/checkbox-group/helpers/change-item-value.mjs +0 -15
- package/esm2022/lib/components/form/checkbox-group/helpers/filter-search-group.mjs +0 -27
- package/esm2022/lib/components/form/checkbox-group/helpers/get-checked-items.mjs +0 -20
- package/esm2022/lib/components/form/checkbox-group/helpers/get-inner-list.helper.mjs +0 -46
- package/esm2022/lib/components/form/checkbox-group/helpers/get-item-by-id.mjs +0 -11
- package/esm2022/lib/components/form/checkbox-group/helpers/get-sorted-list.mjs +0 -50
- package/esm2022/lib/components/form/checkbox-group/helpers/inner-list-to-list.helper.mjs +0 -13
- package/esm2022/lib/components/form/checkbox-group/models/checkbox-group.model.mjs +0 -2
- package/esm2022/lib/components/form/editor/config/default-inline-style.mjs +0 -6
- package/esm2022/lib/components/form/editor/config/index.mjs +0 -2
- package/esm2022/lib/components/form/editor/config/popups-toolbar.mjs +0 -9
- package/esm2022/lib/components/form/editor/config/toolbar.mjs +0 -72
- package/esm2022/lib/components/form/editor/editor.component.mjs +0 -281
- package/esm2022/lib/components/form/editor/editor.enum.mjs +0 -7
- package/esm2022/lib/components/form/editor/editor.module.mjs +0 -45
- package/esm2022/lib/components/form/editor/models/toolbar.model.mjs +0 -2
- package/esm2022/lib/components/form/editor/modules/change-icon-module.mjs +0 -92
- package/esm2022/lib/components/form/input-date-time/constants/value-models.mjs +0 -14
- package/esm2022/lib/components/form/input-date-time/enum/timezone.mjs +0 -7
- package/esm2022/lib/components/form/input-date-time/helpers/clean-date.mjs +0 -5
- package/esm2022/lib/components/form/input-date-time/helpers/cursor-position.mjs +0 -23
- package/esm2022/lib/components/form/input-date-time/helpers/formatting-from-models.mjs +0 -10
- package/esm2022/lib/components/form/input-date-time/helpers/formatting-moscow-timezone.mjs +0 -10
- package/esm2022/lib/components/form/input-date-time/helpers/validate-value-models.mjs +0 -60
- package/esm2022/lib/components/form/input-date-time/helpers/value-parser.mjs +0 -39
- package/esm2022/lib/components/form/input-date-time/input-date-time.component.mjs +0 -386
- package/esm2022/lib/components/form/input-date-time/input-date-time.enum.mjs +0 -7
- package/esm2022/lib/components/form/input-date-time/input-date-time.module.mjs +0 -46
- package/esm2022/lib/components/form/input-datepicker/constants/value-models.mjs +0 -15
- package/esm2022/lib/components/form/input-datepicker/helpers/clean-date.mjs +0 -5
- package/esm2022/lib/components/form/input-datepicker/helpers/cursor-position.mjs +0 -23
- package/esm2022/lib/components/form/input-datepicker/helpers/get-date-dayjs-object.mjs +0 -10
- package/esm2022/lib/components/form/input-datepicker/helpers/get-date-object.mjs +0 -10
- package/esm2022/lib/components/form/input-datepicker/helpers/validate-value-models.mjs +0 -74
- package/esm2022/lib/components/form/input-datepicker/helpers/value-parser.mjs +0 -47
- package/esm2022/lib/components/form/input-datepicker/input-datepicker.component.mjs +0 -356
- package/esm2022/lib/components/form/input-datepicker/input-datepicker.enum.mjs +0 -7
- package/esm2022/lib/components/form/input-datepicker/input-datepicker.module.mjs +0 -46
- package/esm2022/lib/components/form/input-file/enums/error-messages.enum.mjs +0 -8
- package/esm2022/lib/components/form/input-file/input-file.component.mjs +0 -366
- package/esm2022/lib/components/form/input-file/input-file.enum.mjs +0 -8
- package/esm2022/lib/components/form/input-file/input-file.module.mjs +0 -26
- package/esm2022/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.mjs +0 -88
- package/esm2022/lib/components/form/input-file-image/input-file-image.component.mjs +0 -350
- package/esm2022/lib/components/form/input-file-image/input-file-image.enum.mjs +0 -10
- package/esm2022/lib/components/form/input-file-image/input-file-image.module.mjs +0 -53
- package/esm2022/lib/components/form/input-number/input-number.component.mjs +0 -267
- package/esm2022/lib/components/form/input-number/input-number.enum.mjs +0 -7
- package/esm2022/lib/components/form/input-number/input-number.module.mjs +0 -55
- package/esm2022/lib/components/form/input-opt/components/input-opt/input-opt.component.mjs +0 -370
- package/esm2022/lib/components/form/input-opt/components/input-opt/input-opt.enum.mjs +0 -8
- package/esm2022/lib/components/form/input-opt/directives/opt-pattern.directive.mjs +0 -43
- package/esm2022/lib/components/form/input-opt/input-opt.module.mjs +0 -38
- package/esm2022/lib/components/form/input-opt/models/input-opt.model.mjs +0 -6
- package/esm2022/lib/components/form/input-opt/services/input-opt.service.mjs +0 -33
- package/esm2022/lib/components/form/input-password/input-password.component.mjs +0 -118
- package/esm2022/lib/components/form/input-password/input-password.enum.mjs +0 -7
- package/esm2022/lib/components/form/input-password/input-password.module.mjs +0 -36
- package/esm2022/lib/components/form/input-phone/data/country-code.mjs +0 -1331
- package/esm2022/lib/components/form/input-phone/directives/native-element-injector.directive.mjs +0 -35
- package/esm2022/lib/components/form/input-phone/enums/country-iso.enum.mjs +0 -247
- package/esm2022/lib/components/form/input-phone/enums/input-phone.enum.mjs +0 -7
- package/esm2022/lib/components/form/input-phone/enums/mask.enum.mjs +0 -139
- package/esm2022/lib/components/form/input-phone/enums/phone-number-format.enum.mjs +0 -6
- package/esm2022/lib/components/form/input-phone/enums/search-country-field.enum.mjs +0 -8
- package/esm2022/lib/components/form/input-phone/input-phone.component.mjs +0 -679
- package/esm2022/lib/components/form/input-phone/input-phone.module.mjs +0 -50
- package/esm2022/lib/components/form/input-phone/input-phone.validator.mjs +0 -61
- package/esm2022/lib/components/form/input-phone/interfaces/change-data.mjs +0 -2
- package/esm2022/lib/components/form/input-phone/models/country.model.mjs +0 -2
- package/esm2022/lib/components/form/input-search/input-search.component.mjs +0 -167
- package/esm2022/lib/components/form/input-search/input-search.enum.mjs +0 -7
- package/esm2022/lib/components/form/input-search/input-search.module.mjs +0 -41
- package/esm2022/lib/components/form/input-select/input-select.component.mjs +0 -253
- package/esm2022/lib/components/form/input-select/input-select.enum.mjs +0 -6
- package/esm2022/lib/components/form/input-select/input-select.module.mjs +0 -45
- package/esm2022/lib/components/form/input-tel/assets/base64.mjs +0 -4
- package/esm2022/lib/components/form/input-tel/data/all-countries.mjs +0 -1323
- package/esm2022/lib/components/form/input-tel/data/country-iso.enum.mjs +0 -247
- package/esm2022/lib/components/form/input-tel/data/phone-number-format.enum.mjs +0 -6
- package/esm2022/lib/components/form/input-tel/data/search-country-field.enum.mjs +0 -8
- package/esm2022/lib/components/form/input-tel/directives/input-tel.directive.mjs +0 -66
- package/esm2022/lib/components/form/input-tel/enums/input-phone.enum.mjs +0 -7
- package/esm2022/lib/components/form/input-tel/input-tel.component.mjs +0 -400
- package/esm2022/lib/components/form/input-tel/input-tel.module.mjs +0 -43
- package/esm2022/lib/components/form/input-tel/models/country.model.mjs +0 -2
- package/esm2022/lib/components/form/input-text/input-text.component.mjs +0 -189
- package/esm2022/lib/components/form/input-text/input-text.enum.mjs +0 -15
- package/esm2022/lib/components/form/input-text/input-text.module.mjs +0 -49
- package/esm2022/lib/components/form/input-textarea/input-textarea.component.mjs +0 -197
- package/esm2022/lib/components/form/input-textarea/input-textarea.enum.mjs +0 -7
- package/esm2022/lib/components/form/input-textarea/input-textarea.module.mjs +0 -49
- package/esm2022/lib/components/form/input-timepicker/constants/value-models.mjs +0 -8
- package/esm2022/lib/components/form/input-timepicker/helpers/clean-date.mjs +0 -5
- package/esm2022/lib/components/form/input-timepicker/helpers/cursor-position.mjs +0 -14
- package/esm2022/lib/components/form/input-timepicker/helpers/get-date-dayjs-object.mjs +0 -5
- package/esm2022/lib/components/form/input-timepicker/helpers/get-date-object.mjs +0 -5
- package/esm2022/lib/components/form/input-timepicker/helpers/validate-value-models.mjs +0 -29
- package/esm2022/lib/components/form/input-timepicker/helpers/value-parser.mjs +0 -18
- package/esm2022/lib/components/form/input-timepicker/input-timepicker.component.mjs +0 -292
- package/esm2022/lib/components/form/input-timepicker/input-timepicker.enum.mjs +0 -7
- package/esm2022/lib/components/form/input-timepicker/input-timepicker.module.mjs +0 -46
- package/esm2022/lib/components/form/json-editor/json-editor.component.mjs +0 -224
- package/esm2022/lib/components/form/json-editor/json-editor.enum.mjs +0 -2
- package/esm2022/lib/components/form/json-editor/json-editor.module.mjs +0 -24
- package/esm2022/lib/components/form/json-editor/utils/jsoneditoroptions.mjs +0 -133
- package/esm2022/lib/components/form/radio/radio.component.mjs +0 -91
- package/esm2022/lib/components/form/radio/radio.enum.mjs +0 -5
- package/esm2022/lib/components/form/radio/radio.module.mjs +0 -20
- package/esm2022/lib/components/form/radio-group/components/radio-group-header/radio-group-header.component.mjs +0 -48
- package/esm2022/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.mjs +0 -72
- package/esm2022/lib/components/form/radio-group/helpers/filter-search-group.mjs +0 -27
- package/esm2022/lib/components/form/radio-group/helpers/get-item-by-id.mjs +0 -11
- package/esm2022/lib/components/form/radio-group/helpers/move-selected-to-first.mjs +0 -27
- package/esm2022/lib/components/form/radio-group/models/radio-group.model.mjs +0 -2
- package/esm2022/lib/components/form/radio-group/radio-group.component.mjs +0 -192
- package/esm2022/lib/components/form/radio-group/radio-group.module.mjs +0 -47
- package/esm2022/lib/components/form/rating/rating.component.mjs +0 -215
- package/esm2022/lib/components/form/rating/rating.enum.mjs +0 -16
- package/esm2022/lib/components/form/rating/rating.module.mjs +0 -25
- package/esm2022/lib/components/form/switch/switch.component.mjs +0 -95
- package/esm2022/lib/components/form/switch/switch.enum.mjs +0 -11
- package/esm2022/lib/components/form/switch/switch.module.mjs +0 -21
- package/esm2022/lib/components/gallery/components/gallery-confirm-modal/gallery-confirm-modal.component.mjs +0 -37
- package/esm2022/lib/components/gallery/components/gallery-item/gallery-item.component.mjs +0 -112
- package/esm2022/lib/components/gallery/constants/custom-buttons-default.mjs +0 -7
- package/esm2022/lib/components/gallery/constants/thumbs-config-default.mjs +0 -5
- package/esm2022/lib/components/gallery/gallery.component.mjs +0 -203
- package/esm2022/lib/components/gallery/gallery.module.mjs +0 -54
- package/esm2022/lib/components/gallery/models/gallery-item.model.mjs +0 -2
- package/esm2022/lib/components/gallery/services/gallery.service.mjs +0 -33
- package/esm2022/lib/components/hint-error-message/hint-error-message.component.mjs +0 -121
- package/esm2022/lib/components/hint-error-message/hint-error-message.module.mjs +0 -19
- package/esm2022/lib/components/icon-button/icon-button.component.mjs +0 -55
- package/esm2022/lib/components/icon-button/icon-button.enum.mjs +0 -17
- package/esm2022/lib/components/icon-button/icon-button.module.mjs +0 -19
- package/esm2022/lib/components/label/label.component.mjs +0 -143
- package/esm2022/lib/components/label/label.module.mjs +0 -25
- package/esm2022/lib/components/link/link.component.mjs +0 -61
- package/esm2022/lib/components/link/link.enum.mjs +0 -20
- package/esm2022/lib/components/link/link.module.mjs +0 -20
- package/esm2022/lib/components/loader/loader.component.mjs +0 -24
- package/esm2022/lib/components/loader/loader.enum.mjs +0 -20
- package/esm2022/lib/components/loader/loader.module.mjs +0 -19
- package/esm2022/lib/components/modal/modal.component.mjs +0 -137
- package/esm2022/lib/components/modal/modal.emun.mjs +0 -21
- package/esm2022/lib/components/modal/modal.module.mjs +0 -20
- package/esm2022/lib/components/pages-nav/pages-nav.component.mjs +0 -31
- package/esm2022/lib/components/pages-nav/pages-nav.enum.mjs +0 -6
- package/esm2022/lib/components/pages-nav/pages-nav.module.mjs +0 -24
- package/esm2022/lib/components/paginator/paginator.component.mjs +0 -140
- package/esm2022/lib/components/paginator/paginator.enum.mjs +0 -6
- package/esm2022/lib/components/paginator/paginator.module.mjs +0 -31
- package/esm2022/lib/components/pdf-viewer/pdf-viewer.component.mjs +0 -268
- package/esm2022/lib/components/pdf-viewer/pdf-viewer.module.mjs +0 -59
- package/esm2022/lib/components/progress/progress.component.mjs +0 -24
- package/esm2022/lib/components/progress/progress.enum.mjs +0 -8
- package/esm2022/lib/components/progress/progress.module.mjs +0 -19
- package/esm2022/lib/components/save-state/components/save-state-checkbox/save-state-checkbox.component.mjs +0 -16
- package/esm2022/lib/components/save-state/components/save-state-checkbox-group/save-state-checkbox-group.component.mjs +0 -16
- package/esm2022/lib/components/save-state/components/save-state-editor/save-state-editor.component.mjs +0 -16
- package/esm2022/lib/components/save-state/components/save-state-input/save-state-input.component.mjs +0 -16
- package/esm2022/lib/components/save-state/components/save-state-switch/save-state-switch.component.mjs +0 -16
- package/esm2022/lib/components/save-state/save-state.component.mjs +0 -40
- package/esm2022/lib/components/save-state/save-state.enum.mjs +0 -2
- package/esm2022/lib/components/save-state/save-state.module.mjs +0 -37
- package/esm2022/lib/components/stepper/stepper.component.mjs +0 -52
- package/esm2022/lib/components/stepper/stepper.enum.mjs +0 -6
- package/esm2022/lib/components/stepper/stepper.module.mjs +0 -20
- package/esm2022/lib/components/table/components/column/column.component.mjs +0 -40
- package/esm2022/lib/components/table/default/default-pager-settings.mjs +0 -7
- package/esm2022/lib/components/table/models/data-state-change.event.mjs +0 -2
- package/esm2022/lib/components/table/models/index.mjs +0 -4
- package/esm2022/lib/components/table/models/pager-settings.mjs +0 -2
- package/esm2022/lib/components/table/table.component.mjs +0 -274
- package/esm2022/lib/components/table/table.enum.mjs +0 -8
- package/esm2022/lib/components/table/table.module.mjs +0 -50
- package/esm2022/lib/components/tabs/tab/tab.component.mjs +0 -33
- package/esm2022/lib/components/tabs/tabs-group/tabs-group.component.mjs +0 -27
- package/esm2022/lib/components/tabs/tabs.enum.mjs +0 -14
- package/esm2022/lib/components/tabs/tabs.module.mjs +0 -20
- package/esm2022/lib/components/tooltip/services/tooltip.service.mjs +0 -65
- package/esm2022/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.mjs +0 -36
- package/esm2022/lib/components/tooltip/tooltip-trigger/tooltip-trigger.enum.mjs +0 -11
- package/esm2022/lib/components/tooltip/tooltip.component.mjs +0 -59
- package/esm2022/lib/components/tooltip/tooltip.enum.mjs +0 -6
- package/esm2022/lib/components/tooltip/tooltip.module.mjs +0 -21
- package/esm2022/lib/components/truncate-text/directives/truncate-text.directive.mjs +0 -149
- package/esm2022/lib/components/truncate-text/truncate-text.component.mjs +0 -30
- package/esm2022/lib/components/truncate-text/truncate-text.enum.mjs +0 -2
- package/esm2022/lib/components/truncate-text/truncate-text.module.mjs +0 -21
- package/esm2022/lib/components/warning-message/warning-message.component.mjs +0 -29
- package/esm2022/lib/components/warning-message/warning-message.module.mjs +0 -19
- package/esm2022/lib/components/wrappers/content-wrapper/content-wrapper.component.mjs +0 -25
- package/esm2022/lib/components/wrappers/content-wrapper/content-wrapper.enum.mjs +0 -6
- package/esm2022/lib/components/wrappers/content-wrapper/content-wrapper.module.mjs +0 -19
- package/esm2022/lib/components/wrappers/controls-wrapper/components/controls-item/controls-item.component.mjs +0 -15
- package/esm2022/lib/components/wrappers/controls-wrapper/controls-wrapper.component.mjs +0 -23
- package/esm2022/lib/components/wrappers/controls-wrapper/controls-wrapper.enum.mjs +0 -7
- package/esm2022/lib/components/wrappers/controls-wrapper/controls-wrapper.module.mjs +0 -20
- package/esm2022/lib/components/wrappers/widget-wrapper/widget-wrapper.component.mjs +0 -99
- package/esm2022/lib/components/wrappers/widget-wrapper/widget-wrapper.enum.mjs +0 -17
- package/esm2022/lib/components/wrappers/widget-wrapper/widget-wrapper.module.mjs +0 -24
- package/esm2022/lib/directives/autosize/autosize.directive.mjs +0 -57
- package/esm2022/lib/directives/autosize/autosize.module.mjs +0 -24
- package/esm2022/lib/directives/truncate/truncate.directive.mjs +0 -34
- package/esm2022/lib/directives/truncate/truncate.module.mjs +0 -18
- package/esm2022/lib/enums/typed.input.state.mjs +0 -8
- package/esm2022/lib/helpers/extension/input-file.extension.mjs +0 -39
- package/esm2022/lib/helpers/formatting-date.mjs +0 -51
- package/esm2022/lib/helpers/formatting-dates-from-array.mjs +0 -18
- package/esm2022/lib/helpers/formatting-iso-to-string.mjs +0 -13
- package/esm2022/lib/helpers/index.mjs +0 -8
- package/esm2022/lib/helpers/number-format.mjs +0 -9
- package/esm2022/lib/helpers/string-hash-code.mjs +0 -17
- package/esm2022/lib/helpers/word-form.mjs +0 -11
- package/esm2022/lib/models/index.mjs +0 -3
- package/esm2022/lib/models/input-file/input-file.model.mjs +0 -2
- package/esm2022/lib/models/typed-input-model.mjs +0 -2
- package/esm2022/lib/pipes/currency/currency.module.mjs +0 -20
- package/esm2022/lib/pipes/currency/currency.pipe.mjs +0 -22
- package/esm2022/lib/pipes/date/date-format.module.mjs +0 -19
- package/esm2022/lib/pipes/date/date-format.pipe.mjs +0 -21
- package/esm2022/lib/pipes/date/date-time-format.pipe.mjs +0 -21
- package/esm2022/lib/pipes/date/enums/timezone.mjs +0 -10
- package/esm2022/lib/pipes/date/helpers/change-timezone.mjs +0 -23
- package/esm2022/lib/pipes/phone/phone-format.module.mjs +0 -18
- package/esm2022/lib/pipes/phone/phone-format.pipe.mjs +0 -23
- package/esm2022/lib/pipes/safe/safe.module.mjs +0 -20
- package/esm2022/lib/pipes/safe/safe.pipe.mjs +0 -21
- package/esm2022/lib/pipes/truncate/truncate.module.mjs +0 -20
- package/esm2022/lib/pipes/truncate/truncate.pipe.mjs +0 -23
- package/esm2022/lib/services/file-upload/file-upload.service.mjs +0 -27
- package/esm2022/lib/services/index.mjs +0 -15
- package/esm2022/lib/services/modal-service/components/alert-modal/alert-modal.component.mjs +0 -44
- package/esm2022/lib/services/modal-service/components/confirm-modal/confirm-modal.component.mjs +0 -48
- package/esm2022/lib/services/modal-service/helpers/index.mjs +0 -5
- package/esm2022/lib/services/modal-service/helpers/modal-default-config.mjs +0 -14
- package/esm2022/lib/services/modal-service/helpers/modal-ref.mjs +0 -29
- package/esm2022/lib/services/modal-service/helpers/modal-tokens.mjs +0 -4
- package/esm2022/lib/services/modal-service/helpers/modal.component.mjs +0 -4
- package/esm2022/lib/services/modal-service/modal-service.module.mjs +0 -25
- package/esm2022/lib/services/modal-service/modal-service.service.mjs +0 -84
- package/esm2022/lib/services/modal-service/models/modal-config.model.mjs +0 -2
- package/esm2022/lib/services/mrx-autosave/mrx-autosave.service.mjs +0 -43
- package/esm2022/lib/services/mrx-form-validator/constants/invalid-messages.mjs +0 -10
- package/esm2022/lib/services/mrx-form-validator/helpers/get-error-message.helper.mjs +0 -10
- package/esm2022/lib/services/mrx-form-validator/helpers/get-sorting-validations.helper.mjs +0 -29
- package/esm2022/lib/services/mrx-form-validator/models/index.mjs +0 -4
- package/esm2022/lib/services/mrx-form-validator/models/validations-options.model.mjs +0 -2
- package/esm2022/lib/services/mrx-form-validator/models/validations-settings.model.mjs +0 -2
- package/esm2022/lib/services/mrx-form-validator/models/validations-types.model.mjs +0 -22
- package/esm2022/lib/services/mrx-form-validator/mrx-form-validator.mjs +0 -197
- package/esm2022/lib/services/mrx-form-validator/validations/callback.validation.mjs +0 -15
- package/esm2022/lib/services/mrx-form-validator/validations/email.validation.mjs +0 -11
- package/esm2022/lib/services/mrx-form-validator/validations/max-length.validation.mjs +0 -14
- package/esm2022/lib/services/mrx-form-validator/validations/max-value.validation.mjs +0 -10
- package/esm2022/lib/services/mrx-form-validator/validations/min-length.validation.mjs +0 -15
- package/esm2022/lib/services/mrx-form-validator/validations/min-value.validation.mjs +0 -10
- package/esm2022/lib/services/mrx-form-validator/validations/pattern.validation.mjs +0 -11
- package/esm2022/lib/services/mrx-form-validator/validations/required.validation.mjs +0 -22
- package/esm2022/lib/services/save-store/constants/constants.mjs +0 -2
- package/esm2022/lib/services/save-store/models/save-store.model.mjs +0 -2
- package/esm2022/lib/services/save-store/save-store.module.mjs +0 -29
- package/esm2022/lib/services/save-store/store/actions.mjs +0 -23
- package/esm2022/lib/services/save-store/store/effect.mjs +0 -61
- package/esm2022/lib/services/save-store/store/reducer.mjs +0 -96
- package/esm2022/lib/services/save-store/store/selectors.mjs +0 -5
- package/esm2022/lib/services/save-store/store/state.mjs +0 -4
- package/esm2022/lib/services/toaster-service/components/toaster/toaster.component.mjs +0 -29
- package/esm2022/lib/services/toaster-service/models/toaster.model.mjs +0 -15
- package/esm2022/lib/services/toaster-service/toaster-service.module.mjs +0 -52
- package/esm2022/lib/services/toaster-service/toaster-service.service.mjs +0 -53
- package/esm2022/myrta-ui.mjs +0 -5
- package/esm2022/public-api.mjs +0 -183
- package/fesm2022/myrta-ui.mjs +0 -16515
- package/fesm2022/myrta-ui.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/components/alert/alert.component.d.ts +0 -17
- package/lib/components/alert/alert.enum.d.ts +0 -13
- package/lib/components/alert/alert.module.d.ts +0 -8
- package/lib/components/badges/badge.enum.d.ts +0 -38
- package/lib/components/badges/badges.module.d.ts +0 -9
- package/lib/components/badges/components/badge/badge.component.d.ts +0 -21
- package/lib/components/badges/components/badge-group/badge-group.component.d.ts +0 -5
- package/lib/components/breadcrumbs/breadcrumbs.component.d.ts +0 -11
- package/lib/components/breadcrumbs/breadcrumbs.enum.d.ts +0 -16
- package/lib/components/breadcrumbs/breadcrumbs.module.d.ts +0 -9
- package/lib/components/button/button.component.d.ts +0 -31
- package/lib/components/button/button.enum.d.ts +0 -27
- package/lib/components/button/button.module.d.ts +0 -10
- package/lib/components/cdk-tooltip/cdk-tooltip/tooltip-container.component.d.ts +0 -13
- package/lib/components/cdk-tooltip/cdk-tooltip.directive.d.ts +0 -24
- package/lib/components/cdk-tooltip/cdk-tooltip.module.d.ts +0 -10
- package/lib/components/cdk-tooltip/constants/index.d.ts +0 -7
- package/lib/components/cdk-tooltip/models/tooltip-data.d.ts +0 -6
- package/lib/components/chars-left/chars-left.component.d.ts +0 -9
- package/lib/components/chars-left/chars-left.module.d.ts +0 -8
- package/lib/components/dropdown/directives/hide-after-click.directive.d.ts +0 -9
- package/lib/components/dropdown/dropdown.component.d.ts +0 -26
- package/lib/components/dropdown/dropdown.module.d.ts +0 -10
- package/lib/components/error-message/error-message.component.d.ts +0 -10
- package/lib/components/error-message/error-message.module.d.ts +0 -8
- package/lib/components/form/checkbox/checkbox.component.d.ts +0 -46
- package/lib/components/form/checkbox/checkbox.enum.d.ts +0 -10
- package/lib/components/form/checkbox/checkbox.module.d.ts +0 -11
- package/lib/components/form/checkbox-group/checkbox-group.component.d.ts +0 -63
- package/lib/components/form/checkbox-group/checkbox-group.module.d.ts +0 -16
- package/lib/components/form/checkbox-group/components/checkbox-group-header/checkbox-group-header.component.d.ts +0 -19
- package/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.d.ts +0 -33
- package/lib/components/form/checkbox-group/helpers/change-group-value.d.ts +0 -3
- package/lib/components/form/checkbox-group/helpers/change-item-value.d.ts +0 -3
- package/lib/components/form/checkbox-group/helpers/filter-search-group.d.ts +0 -2
- package/lib/components/form/checkbox-group/helpers/get-checked-items.d.ts +0 -2
- package/lib/components/form/checkbox-group/helpers/get-inner-list.helper.d.ts +0 -2
- package/lib/components/form/checkbox-group/helpers/get-item-by-id.d.ts +0 -2
- package/lib/components/form/checkbox-group/helpers/get-sorted-list.d.ts +0 -2
- package/lib/components/form/checkbox-group/helpers/inner-list-to-list.helper.d.ts +0 -2
- package/lib/components/form/checkbox-group/models/checkbox-group.model.d.ts +0 -26
- package/lib/components/form/editor/config/default-inline-style.d.ts +0 -11
- package/lib/components/form/editor/config/index.d.ts +0 -1
- package/lib/components/form/editor/config/popups-toolbar.d.ts +0 -15
- package/lib/components/form/editor/config/toolbar.d.ts +0 -2
- package/lib/components/form/editor/editor.component.d.ts +0 -60
- package/lib/components/form/editor/editor.enum.d.ts +0 -10
- package/lib/components/form/editor/editor.module.d.ts +0 -14
- package/lib/components/form/editor/models/toolbar.model.d.ts +0 -6
- package/lib/components/form/editor/modules/change-icon-module.d.ts +0 -1
- package/lib/components/form/input-date-time/constants/value-models.d.ts +0 -3
- package/lib/components/form/input-date-time/enum/timezone.d.ts +0 -6
- package/lib/components/form/input-date-time/helpers/clean-date.d.ts +0 -1
- package/lib/components/form/input-date-time/helpers/cursor-position.d.ts +0 -1
- package/lib/components/form/input-date-time/helpers/formatting-from-models.d.ts +0 -3
- package/lib/components/form/input-date-time/helpers/formatting-moscow-timezone.d.ts +0 -2
- package/lib/components/form/input-date-time/helpers/validate-value-models.d.ts +0 -19
- package/lib/components/form/input-date-time/helpers/value-parser.d.ts +0 -4
- package/lib/components/form/input-date-time/input-date-time.component.d.ts +0 -72
- package/lib/components/form/input-date-time/input-date-time.enum.d.ts +0 -21
- package/lib/components/form/input-date-time/input-date-time.module.d.ts +0 -13
- package/lib/components/form/input-datepicker/constants/value-models.d.ts +0 -3
- package/lib/components/form/input-datepicker/helpers/clean-date.d.ts +0 -1
- package/lib/components/form/input-datepicker/helpers/cursor-position.d.ts +0 -1
- package/lib/components/form/input-datepicker/helpers/get-date-dayjs-object.d.ts +0 -3
- package/lib/components/form/input-datepicker/helpers/get-date-object.d.ts +0 -2
- package/lib/components/form/input-datepicker/helpers/validate-value-models.d.ts +0 -20
- package/lib/components/form/input-datepicker/helpers/value-parser.d.ts +0 -3
- package/lib/components/form/input-datepicker/input-datepicker.component.d.ts +0 -69
- package/lib/components/form/input-datepicker/input-datepicker.enum.d.ts +0 -12
- package/lib/components/form/input-datepicker/input-datepicker.module.d.ts +0 -13
- package/lib/components/form/input-file/enums/error-messages.enum.d.ts +0 -6
- package/lib/components/form/input-file/input-file.component.d.ts +0 -74
- package/lib/components/form/input-file/input-file.enum.d.ts +0 -7
- package/lib/components/form/input-file/input-file.module.d.ts +0 -13
- package/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.d.ts +0 -43
- package/lib/components/form/input-file-image/input-file-image.component.d.ts +0 -57
- package/lib/components/form/input-file-image/input-file-image.enum.d.ts +0 -8
- package/lib/components/form/input-file-image/input-file-image.module.d.ts +0 -15
- package/lib/components/form/input-number/input-number.component.d.ts +0 -64
- package/lib/components/form/input-number/input-number.enum.d.ts +0 -12
- package/lib/components/form/input-number/input-number.module.d.ts +0 -13
- package/lib/components/form/input-opt/components/input-opt/input-opt.component.d.ts +0 -77
- package/lib/components/form/input-opt/components/input-opt/input-opt.enum.d.ts +0 -7
- package/lib/components/form/input-opt/directives/opt-pattern.directive.d.ts +0 -8
- package/lib/components/form/input-opt/input-opt.module.d.ts +0 -11
- package/lib/components/form/input-opt/models/input-opt.model.d.ts +0 -26
- package/lib/components/form/input-opt/services/input-opt.service.d.ts +0 -11
- package/lib/components/form/input-password/input-password.component.d.ts +0 -38
- package/lib/components/form/input-password/input-password.enum.d.ts +0 -7
- package/lib/components/form/input-password/input-password.module.d.ts +0 -11
- package/lib/components/form/input-phone/data/country-code.d.ts +0 -6
- package/lib/components/form/input-phone/directives/native-element-injector.directive.d.ts +0 -11
- package/lib/components/form/input-phone/enums/country-iso.enum.d.ts +0 -245
- package/lib/components/form/input-phone/enums/input-phone.enum.d.ts +0 -11
- package/lib/components/form/input-phone/enums/mask.enum.d.ts +0 -8
- package/lib/components/form/input-phone/enums/phone-number-format.enum.d.ts +0 -4
- package/lib/components/form/input-phone/enums/search-country-field.enum.d.ts +0 -6
- package/lib/components/form/input-phone/input-phone.component.d.ts +0 -132
- package/lib/components/form/input-phone/input-phone.module.d.ts +0 -14
- package/lib/components/form/input-phone/input-phone.validator.d.ts +0 -5
- package/lib/components/form/input-phone/interfaces/change-data.d.ts +0 -9
- package/lib/components/form/input-phone/models/country.model.d.ts +0 -13
- package/lib/components/form/input-search/input-search.component.d.ts +0 -48
- package/lib/components/form/input-search/input-search.enum.d.ts +0 -6
- package/lib/components/form/input-search/input-search.module.d.ts +0 -12
- package/lib/components/form/input-select/input-select.component.d.ts +0 -95
- package/lib/components/form/input-select/input-select.enum.d.ts +0 -10
- package/lib/components/form/input-select/input-select.module.d.ts +0 -14
- package/lib/components/form/input-tel/assets/base64.d.ts +0 -3
- package/lib/components/form/input-tel/data/all-countries.d.ts +0 -1
- package/lib/components/form/input-tel/data/country-iso.enum.d.ts +0 -245
- package/lib/components/form/input-tel/data/phone-number-format.enum.d.ts +0 -5
- package/lib/components/form/input-tel/data/search-country-field.enum.d.ts +0 -6
- package/lib/components/form/input-tel/directives/input-tel.directive.d.ts +0 -21
- package/lib/components/form/input-tel/enums/input-phone.enum.d.ts +0 -11
- package/lib/components/form/input-tel/input-tel.component.d.ts +0 -89
- package/lib/components/form/input-tel/input-tel.module.d.ts +0 -13
- package/lib/components/form/input-tel/models/country.model.d.ts +0 -18
- package/lib/components/form/input-text/input-text.component.d.ts +0 -54
- package/lib/components/form/input-text/input-text.enum.d.ts +0 -19
- package/lib/components/form/input-text/input-text.module.d.ts +0 -14
- package/lib/components/form/input-textarea/input-textarea.component.d.ts +0 -54
- package/lib/components/form/input-textarea/input-textarea.enum.d.ts +0 -11
- package/lib/components/form/input-textarea/input-textarea.module.d.ts +0 -14
- package/lib/components/form/input-timepicker/constants/value-models.d.ts +0 -2
- package/lib/components/form/input-timepicker/helpers/clean-date.d.ts +0 -1
- package/lib/components/form/input-timepicker/helpers/cursor-position.d.ts +0 -1
- package/lib/components/form/input-timepicker/helpers/get-date-dayjs-object.d.ts +0 -3
- package/lib/components/form/input-timepicker/helpers/get-date-object.d.ts +0 -2
- package/lib/components/form/input-timepicker/helpers/validate-value-models.d.ts +0 -10
- package/lib/components/form/input-timepicker/helpers/value-parser.d.ts +0 -2
- package/lib/components/form/input-timepicker/input-timepicker.component.d.ts +0 -60
- package/lib/components/form/input-timepicker/input-timepicker.enum.d.ts +0 -11
- package/lib/components/form/input-timepicker/input-timepicker.module.d.ts +0 -13
- package/lib/components/form/json-editor/json-editor.component.d.ts +0 -58
- package/lib/components/form/json-editor/json-editor.enum.d.ts +0 -5
- package/lib/components/form/json-editor/json-editor.module.d.ts +0 -8
- package/lib/components/form/json-editor/utils/jsoneditoroptions.d.ts +0 -128
- package/lib/components/form/radio/radio.component.d.ts +0 -29
- package/lib/components/form/radio/radio.enum.d.ts +0 -4
- package/lib/components/form/radio/radio.module.d.ts +0 -9
- package/lib/components/form/radio-group/components/radio-group-header/radio-group-header.component.d.ts +0 -20
- package/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.d.ts +0 -28
- package/lib/components/form/radio-group/helpers/filter-search-group.d.ts +0 -2
- package/lib/components/form/radio-group/helpers/get-item-by-id.d.ts +0 -2
- package/lib/components/form/radio-group/helpers/move-selected-to-first.d.ts +0 -2
- package/lib/components/form/radio-group/models/radio-group.model.d.ts +0 -12
- package/lib/components/form/radio-group/radio-group.component.d.ts +0 -63
- package/lib/components/form/radio-group/radio-group.module.d.ts +0 -16
- package/lib/components/form/rating/rating.component.d.ts +0 -51
- package/lib/components/form/rating/rating.enum.d.ts +0 -27
- package/lib/components/form/rating/rating.module.d.ts +0 -9
- package/lib/components/form/switch/switch.component.d.ts +0 -32
- package/lib/components/form/switch/switch.enum.d.ts +0 -15
- package/lib/components/form/switch/switch.module.d.ts +0 -10
- package/lib/components/gallery/components/gallery-confirm-modal/gallery-confirm-modal.component.d.ts +0 -20
- package/lib/components/gallery/components/gallery-item/gallery-item.component.d.ts +0 -38
- package/lib/components/gallery/constants/custom-buttons-default.d.ts +0 -3
- package/lib/components/gallery/constants/thumbs-config-default.d.ts +0 -2
- package/lib/components/gallery/gallery.component.d.ts +0 -38
- package/lib/components/gallery/gallery.module.d.ts +0 -16
- package/lib/components/gallery/models/gallery-item.model.d.ts +0 -24
- package/lib/components/gallery/services/gallery.service.d.ts +0 -14
- package/lib/components/hint-error-message/hint-error-message.component.d.ts +0 -21
- package/lib/components/hint-error-message/hint-error-message.module.d.ts +0 -8
- package/lib/components/icon-button/icon-button.component.d.ts +0 -22
- package/lib/components/icon-button/icon-button.enum.d.ts +0 -16
- package/lib/components/icon-button/icon-button.module.d.ts +0 -9
- package/lib/components/label/label.component.d.ts +0 -44
- package/lib/components/label/label.module.d.ts +0 -14
- package/lib/components/link/link.component.d.ts +0 -25
- package/lib/components/link/link.enum.d.ts +0 -19
- package/lib/components/link/link.module.d.ts +0 -9
- package/lib/components/loader/loader.component.d.ts +0 -10
- package/lib/components/loader/loader.enum.d.ts +0 -19
- package/lib/components/loader/loader.module.d.ts +0 -8
- package/lib/components/modal/modal.component.d.ts +0 -36
- package/lib/components/modal/modal.emun.d.ts +0 -20
- package/lib/components/modal/modal.module.d.ts +0 -9
- package/lib/components/pages-nav/pages-nav.component.d.ts +0 -12
- package/lib/components/pages-nav/pages-nav.enum.d.ts +0 -5
- package/lib/components/pages-nav/pages-nav.module.d.ts +0 -8
- package/lib/components/paginator/paginator.component.d.ts +0 -29
- package/lib/components/paginator/paginator.enum.d.ts +0 -10
- package/lib/components/paginator/paginator.module.d.ts +0 -10
- package/lib/components/pdf-viewer/pdf-viewer.component.d.ts +0 -70
- package/lib/components/pdf-viewer/pdf-viewer.module.d.ts +0 -16
- package/lib/components/progress/progress.component.d.ts +0 -10
- package/lib/components/progress/progress.enum.d.ts +0 -7
- package/lib/components/progress/progress.module.d.ts +0 -8
- package/lib/components/save-state/components/save-state-checkbox/save-state-checkbox.component.d.ts +0 -8
- package/lib/components/save-state/components/save-state-checkbox-group/save-state-checkbox-group.component.d.ts +0 -8
- package/lib/components/save-state/components/save-state-editor/save-state-editor.component.d.ts +0 -8
- package/lib/components/save-state/components/save-state-input/save-state-input.component.d.ts +0 -8
- package/lib/components/save-state/components/save-state-switch/save-state-switch.component.d.ts +0 -8
- package/lib/components/save-state/save-state.component.d.ts +0 -13
- package/lib/components/save-state/save-state.enum.d.ts +0 -1
- package/lib/components/save-state/save-state.module.d.ts +0 -13
- package/lib/components/stepper/stepper.component.d.ts +0 -17
- package/lib/components/stepper/stepper.enum.d.ts +0 -5
- package/lib/components/stepper/stepper.module.d.ts +0 -9
- package/lib/components/table/components/column/column.component.d.ts +0 -14
- package/lib/components/table/default/default-pager-settings.d.ts +0 -2
- package/lib/components/table/models/data-state-change.event.d.ts +0 -15
- package/lib/components/table/models/index.d.ts +0 -3
- package/lib/components/table/models/pager-settings.d.ts +0 -22
- package/lib/components/table/table.component.d.ts +0 -55
- package/lib/components/table/table.enum.d.ts +0 -32
- package/lib/components/table/table.module.d.ts +0 -14
- package/lib/components/tabs/tab/tab.component.d.ts +0 -13
- package/lib/components/tabs/tabs-group/tabs-group.component.d.ts +0 -11
- package/lib/components/tabs/tabs.enum.d.ts +0 -11
- package/lib/components/tabs/tabs.module.d.ts +0 -9
- package/lib/components/tooltip/services/tooltip.service.d.ts +0 -18
- package/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.d.ts +0 -15
- package/lib/components/tooltip/tooltip-trigger/tooltip-trigger.enum.d.ts +0 -10
- package/lib/components/tooltip/tooltip.component.d.ts +0 -18
- package/lib/components/tooltip/tooltip.enum.d.ts +0 -4
- package/lib/components/tooltip/tooltip.module.d.ts +0 -10
- package/lib/components/truncate-text/directives/truncate-text.directive.d.ts +0 -37
- package/lib/components/truncate-text/truncate-text.component.d.ts +0 -12
- package/lib/components/truncate-text/truncate-text.enum.d.ts +0 -2
- package/lib/components/truncate-text/truncate-text.module.d.ts +0 -10
- package/lib/components/warning-message/warning-message.component.d.ts +0 -9
- package/lib/components/warning-message/warning-message.module.d.ts +0 -8
- package/lib/components/wrappers/content-wrapper/content-wrapper.component.d.ts +0 -10
- package/lib/components/wrappers/content-wrapper/content-wrapper.enum.d.ts +0 -5
- package/lib/components/wrappers/content-wrapper/content-wrapper.module.d.ts +0 -8
- package/lib/components/wrappers/controls-wrapper/components/controls-item/controls-item.component.d.ts +0 -6
- package/lib/components/wrappers/controls-wrapper/controls-wrapper.component.d.ts +0 -10
- package/lib/components/wrappers/controls-wrapper/controls-wrapper.enum.d.ts +0 -6
- package/lib/components/wrappers/controls-wrapper/controls-wrapper.module.d.ts +0 -9
- package/lib/components/wrappers/widget-wrapper/widget-wrapper.component.d.ts +0 -26
- package/lib/components/wrappers/widget-wrapper/widget-wrapper.enum.d.ts +0 -15
- package/lib/components/wrappers/widget-wrapper/widget-wrapper.module.d.ts +0 -8
- package/lib/directives/autosize/autosize.directive.d.ts +0 -16
- package/lib/directives/autosize/autosize.module.d.ts +0 -8
- package/lib/directives/truncate/truncate.directive.d.ts +0 -12
- package/lib/directives/truncate/truncate.module.d.ts +0 -8
- package/lib/enums/typed.input.state.d.ts +0 -6
- package/lib/helpers/extension/input-file.extension.d.ts +0 -4
- package/lib/helpers/formatting-date.d.ts +0 -9
- package/lib/helpers/formatting-dates-from-array.d.ts +0 -2
- package/lib/helpers/formatting-iso-to-string.d.ts +0 -2
- package/lib/helpers/index.d.ts +0 -7
- package/lib/helpers/number-format.d.ts +0 -6
- package/lib/helpers/string-hash-code.d.ts +0 -2
- package/lib/helpers/word-form.d.ts +0 -7
- package/lib/models/index.d.ts +0 -2
- package/lib/models/input-file/input-file.model.d.ts +0 -23
- package/lib/models/typed-input-model.d.ts +0 -16
- package/lib/pipes/currency/currency.module.d.ts +0 -8
- package/lib/pipes/currency/currency.pipe.d.ts +0 -7
- package/lib/pipes/date/date-format.module.d.ts +0 -9
- package/lib/pipes/date/date-format.pipe.d.ts +0 -9
- package/lib/pipes/date/date-time-format.pipe.d.ts +0 -9
- package/lib/pipes/date/enums/timezone.d.ts +0 -8
- package/lib/pipes/date/helpers/change-timezone.d.ts +0 -2
- package/lib/pipes/phone/phone-format.module.d.ts +0 -8
- package/lib/pipes/phone/phone-format.pipe.d.ts +0 -8
- package/lib/pipes/safe/safe.module.d.ts +0 -8
- package/lib/pipes/safe/safe.pipe.d.ts +0 -10
- package/lib/pipes/truncate/truncate.module.d.ts +0 -8
- package/lib/pipes/truncate/truncate.pipe.d.ts +0 -7
- package/lib/services/file-upload/file-upload.service.d.ts +0 -12
- package/lib/services/index.d.ts +0 -14
- package/lib/services/modal-service/components/alert-modal/alert-modal.component.d.ts +0 -19
- package/lib/services/modal-service/components/confirm-modal/confirm-modal.component.d.ts +0 -20
- package/lib/services/modal-service/helpers/index.d.ts +0 -4
- package/lib/services/modal-service/helpers/modal-default-config.d.ts +0 -3
- package/lib/services/modal-service/helpers/modal-ref.d.ts +0 -11
- package/lib/services/modal-service/helpers/modal-tokens.d.ts +0 -3
- package/lib/services/modal-service/helpers/modal.component.d.ts +0 -3
- package/lib/services/modal-service/modal-service.module.d.ts +0 -9
- package/lib/services/modal-service/modal-service.service.d.ts +0 -20
- package/lib/services/modal-service/models/modal-config.model.d.ts +0 -14
- package/lib/services/mrx-autosave/mrx-autosave.service.d.ts +0 -19
- package/lib/services/mrx-form-validator/constants/invalid-messages.d.ts +0 -9
- package/lib/services/mrx-form-validator/helpers/get-error-message.helper.d.ts +0 -3
- package/lib/services/mrx-form-validator/helpers/get-sorting-validations.helper.d.ts +0 -2
- package/lib/services/mrx-form-validator/models/index.d.ts +0 -3
- package/lib/services/mrx-form-validator/models/validations-options.model.d.ts +0 -31
- package/lib/services/mrx-form-validator/models/validations-settings.model.d.ts +0 -7
- package/lib/services/mrx-form-validator/models/validations-types.model.d.ts +0 -19
- package/lib/services/mrx-form-validator/mrx-form-validator.d.ts +0 -24
- package/lib/services/mrx-form-validator/validations/callback.validation.d.ts +0 -5
- package/lib/services/mrx-form-validator/validations/email.validation.d.ts +0 -5
- package/lib/services/mrx-form-validator/validations/max-length.validation.d.ts +0 -5
- package/lib/services/mrx-form-validator/validations/max-value.validation.d.ts +0 -5
- package/lib/services/mrx-form-validator/validations/min-length.validation.d.ts +0 -5
- package/lib/services/mrx-form-validator/validations/min-value.validation.d.ts +0 -5
- package/lib/services/mrx-form-validator/validations/pattern.validation.d.ts +0 -5
- package/lib/services/mrx-form-validator/validations/required.validation.d.ts +0 -5
- package/lib/services/save-store/constants/constants.d.ts +0 -1
- package/lib/services/save-store/models/save-store.model.d.ts +0 -4
- package/lib/services/save-store/save-store.module.d.ts +0 -9
- package/lib/services/save-store/store/actions.d.ts +0 -21
- package/lib/services/save-store/store/effect.d.ts +0 -10
- package/lib/services/save-store/store/reducer.d.ts +0 -3
- package/lib/services/save-store/store/selectors.d.ts +0 -3
- package/lib/services/save-store/store/state.d.ts +0 -11
- package/lib/services/toaster-service/components/toaster/toaster.component.d.ts +0 -12
- package/lib/services/toaster-service/models/toaster.model.d.ts +0 -12
- package/lib/services/toaster-service/toaster-service.module.d.ts +0 -10
- package/lib/services/toaster-service/toaster-service.service.d.ts +0 -15
- package/public-api.d.ts +0 -170
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { InputTelComponent } from './input-tel.component';
|
|
4
|
-
import { FormsModule } from '@angular/forms';
|
|
5
|
-
import { MaskedInputTelDirective } from './directives/input-tel.directive';
|
|
6
|
-
import { DropdownModule } from '../../dropdown/dropdown.module';
|
|
7
|
-
import { ErrorMessageModule } from '../../error-message/error-message.module';
|
|
8
|
-
import { SaveStateModule } from '../../save-state/save-state.module';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
export class InputTelModule {
|
|
11
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: InputTelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
12
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: InputTelModule, declarations: [InputTelComponent,
|
|
13
|
-
MaskedInputTelDirective], imports: [CommonModule,
|
|
14
|
-
FormsModule,
|
|
15
|
-
DropdownModule,
|
|
16
|
-
ErrorMessageModule,
|
|
17
|
-
SaveStateModule], exports: [InputTelComponent] });
|
|
18
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: InputTelModule, imports: [CommonModule,
|
|
19
|
-
FormsModule,
|
|
20
|
-
DropdownModule,
|
|
21
|
-
ErrorMessageModule,
|
|
22
|
-
SaveStateModule] });
|
|
23
|
-
}
|
|
24
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: InputTelModule, decorators: [{
|
|
25
|
-
type: NgModule,
|
|
26
|
-
args: [{
|
|
27
|
-
declarations: [
|
|
28
|
-
InputTelComponent,
|
|
29
|
-
MaskedInputTelDirective
|
|
30
|
-
],
|
|
31
|
-
imports: [
|
|
32
|
-
CommonModule,
|
|
33
|
-
FormsModule,
|
|
34
|
-
DropdownModule,
|
|
35
|
-
ErrorMessageModule,
|
|
36
|
-
SaveStateModule,
|
|
37
|
-
],
|
|
38
|
-
exports: [
|
|
39
|
-
InputTelComponent
|
|
40
|
-
]
|
|
41
|
-
}]
|
|
42
|
-
}] });
|
|
43
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtdGVsLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL215cnRhLXVpL3NyYy9saWIvY29tcG9uZW50cy9mb3JtL2lucHV0LXRlbC9pbnB1dC10ZWwubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBQzFELE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUM3QyxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSxrQ0FBa0MsQ0FBQztBQUMzRSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sZ0NBQWdDLENBQUM7QUFDaEUsT0FBTyxFQUFFLGtCQ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IjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGludGVyZmFjZSBDb3VudHJ5IHtcclxuICBuYW1lOiBzdHJpbmc7XHJcbiAgaXNvMjogc3RyaW5nO1xyXG4gIGRpYWxDb2RlOiBzdHJpbmc7XHJcbiAgcHJpb3JpdHk6IG51bWJlcjtcclxuICBhcmVhQ29kZXM/OiBzdHJpbmdbXTtcclxuICBodG1sSWQ6IHN0cmluZztcclxuICBmbGFnQ2xhc3M6IHN0cmluZztcclxuICBwbGFjZUhvbGRlcjogc3RyaW5nO1xyXG59XHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIElucHV0VmFsdWUge1xyXG4gIHBob25lTnVtYmVyOiBzdHJpbmcsXHJcbiAgc2VsZWN0ZWRDb3VudHJ5OiBzdHJpbmcsXHJcbiAgaXNvMkNvZGU6IHN0cmluZyxcclxuICBkaWFsQ29kZTogc3RyaW5nLFxyXG4gIG51bWJlckZvcm1hdDogc3RyaW5nLFxyXG4gIGlzTnVtYmVyVmFsaWQ6IGJvb2xlYW4sXHJcbn1cclxuIl19
|
|
@@ -1,189 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, EventEmitter, forwardRef, Input, Output, ViewChild } from '@angular/core';
|
|
2
|
-
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
3
|
-
import { InputTextIconColorEnum, InputTextSizesEnum } from './input-text.enum';
|
|
4
|
-
import { v4 as uuidv4 } from 'uuid';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "@angular/common";
|
|
7
|
-
import * as i2 from "@angular/forms";
|
|
8
|
-
import * as i3 from "../../chars-left/chars-left.component";
|
|
9
|
-
import * as i4 from "../../error-message/error-message.component";
|
|
10
|
-
import * as i5 from "../../save-state/save-state.component";
|
|
11
|
-
import * as i6 from "../../cdk-tooltip/cdk-tooltip.directive";
|
|
12
|
-
import * as i7 from "ngx-mask";
|
|
13
|
-
export class InputTextComponent {
|
|
14
|
-
value = '';
|
|
15
|
-
selectionStart;
|
|
16
|
-
selectionEnd;
|
|
17
|
-
// SAVE STATE
|
|
18
|
-
uuid = uuidv4();
|
|
19
|
-
fields = [];
|
|
20
|
-
disabled = false;
|
|
21
|
-
required = false;
|
|
22
|
-
readonly = false;
|
|
23
|
-
maxlength = 0;
|
|
24
|
-
minlength = 0;
|
|
25
|
-
placeholder = '';
|
|
26
|
-
invalid = false;
|
|
27
|
-
invalidMessage = '';
|
|
28
|
-
checkInvalid = null;
|
|
29
|
-
customClasses = '';
|
|
30
|
-
size = 'large';
|
|
31
|
-
isTooltipValue = false;
|
|
32
|
-
icon = null;
|
|
33
|
-
iconColor = 'default';
|
|
34
|
-
// MASK
|
|
35
|
-
mask = '';
|
|
36
|
-
maskPrefix = '';
|
|
37
|
-
showMaskTyped = false;
|
|
38
|
-
maskDropSpecialCharacters = true;
|
|
39
|
-
inputElement;
|
|
40
|
-
changed = new EventEmitter();
|
|
41
|
-
modelChange = new EventEmitter();
|
|
42
|
-
get isInvalidMessage() {
|
|
43
|
-
return !!this.invalidMessage || !!this.invalidMessage?.length;
|
|
44
|
-
}
|
|
45
|
-
get isValid() {
|
|
46
|
-
return this.baseValidate();
|
|
47
|
-
}
|
|
48
|
-
get isVerified() {
|
|
49
|
-
return (!this.required ||
|
|
50
|
-
(this.required && this.value != null && this.value !== '' && this.isValid));
|
|
51
|
-
}
|
|
52
|
-
get readonlyClass() {
|
|
53
|
-
return this.readonly ? 'mrx-input__readonly' : '';
|
|
54
|
-
}
|
|
55
|
-
get checkValidClasses() {
|
|
56
|
-
return this.checkInvalid === false ?
|
|
57
|
-
'mrx-input-checked-success' :
|
|
58
|
-
this.checkInvalid === true ? 'mrx-input-checked-error' : '';
|
|
59
|
-
}
|
|
60
|
-
get getClasses() {
|
|
61
|
-
return `${InputTextSizesEnum[this.size]} ${this.customClasses} ${this.readonlyClass} ${this.checkValidClasses}`;
|
|
62
|
-
}
|
|
63
|
-
get getIconClass() {
|
|
64
|
-
return `${this.icon} ${this.size !== 'small' ? 'icon-font-24' : 'icon-font-16'} ${InputTextIconColorEnum[this.iconColor]}`;
|
|
65
|
-
}
|
|
66
|
-
get getTooltipValue() {
|
|
67
|
-
return this.isTooltipValue ? this.value : '';
|
|
68
|
-
}
|
|
69
|
-
formatValue(value) {
|
|
70
|
-
return value.length === this.maskPrefix.length ? '' : value;
|
|
71
|
-
}
|
|
72
|
-
insertPositionText(tagText) {
|
|
73
|
-
if (this.selectionStart && this.selectionEnd) {
|
|
74
|
-
const firstText = this.value ? this.value.substring(0, this.selectionStart) : '';
|
|
75
|
-
const secondText = this.value.substring(this.selectionEnd);
|
|
76
|
-
const text = firstText + tagText + secondText;
|
|
77
|
-
this.updateValue(text);
|
|
78
|
-
setTimeout(() => {
|
|
79
|
-
this.inputElement.nativeElement.selectionStart = (firstText + tagText).length;
|
|
80
|
-
this.inputElement.nativeElement.selectionEnd = (firstText + tagText).length;
|
|
81
|
-
this.inputElement.nativeElement.focus();
|
|
82
|
-
}, 0);
|
|
83
|
-
}
|
|
84
|
-
else {
|
|
85
|
-
const text = this.value ? this.value : '' + tagText;
|
|
86
|
-
this.updateValue(text);
|
|
87
|
-
setTimeout(() => {
|
|
88
|
-
this.inputElement.nativeElement.selectionStart = text.length;
|
|
89
|
-
this.inputElement.nativeElement.selectionEnd = text.length;
|
|
90
|
-
this.inputElement.nativeElement.focus();
|
|
91
|
-
}, 0);
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
baseValidate() {
|
|
95
|
-
if (this.minlength) {
|
|
96
|
-
return !!this.value && this.value.length >= this.minlength;
|
|
97
|
-
}
|
|
98
|
-
return true;
|
|
99
|
-
}
|
|
100
|
-
updateSelection(event) {
|
|
101
|
-
this.selectionStart = event.target.selectionStart;
|
|
102
|
-
this.selectionEnd = event.target.selectionEnd;
|
|
103
|
-
}
|
|
104
|
-
onChange = (value) => { };
|
|
105
|
-
onTouched = () => { };
|
|
106
|
-
registerOnChange(fn) {
|
|
107
|
-
this.onChange = fn;
|
|
108
|
-
}
|
|
109
|
-
registerOnTouched(fn) {
|
|
110
|
-
this.onTouched = fn;
|
|
111
|
-
}
|
|
112
|
-
writeValue(outsideValue) {
|
|
113
|
-
this.value = outsideValue;
|
|
114
|
-
}
|
|
115
|
-
setDisabledState(isDisabled) {
|
|
116
|
-
this.disabled = isDisabled;
|
|
117
|
-
}
|
|
118
|
-
updateValue(insideValue) {
|
|
119
|
-
this.value = insideValue;
|
|
120
|
-
this.changed.emit(this.formatValue(insideValue));
|
|
121
|
-
this.modelChange.emit({ value: this.formatValue(insideValue), id: this.uuid });
|
|
122
|
-
this.onChange(this.formatValue(insideValue));
|
|
123
|
-
this.onTouched();
|
|
124
|
-
}
|
|
125
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: InputTextComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
126
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: InputTextComponent, selector: "mrx-input-text", inputs: { fields: "fields", disabled: "disabled", required: "required", readonly: "readonly", maxlength: "maxlength", minlength: "minlength", placeholder: "placeholder", invalid: "invalid", invalidMessage: "invalidMessage", checkInvalid: "checkInvalid", customClasses: "customClasses", size: "size", isTooltipValue: "isTooltipValue", icon: "icon", iconColor: "iconColor", mask: "mask", maskPrefix: "maskPrefix", showMaskTyped: "showMaskTyped", maskDropSpecialCharacters: "maskDropSpecialCharacters" }, outputs: { changed: "changed", modelChange: "modelChange" }, providers: [
|
|
127
|
-
{
|
|
128
|
-
provide: NG_VALUE_ACCESSOR,
|
|
129
|
-
useExisting: forwardRef(() => InputTextComponent),
|
|
130
|
-
multi: true,
|
|
131
|
-
},
|
|
132
|
-
], viewQueries: [{ propertyName: "inputElement", first: true, predicate: ["inputElement"], descendants: true }], ngImport: i0, template: "<div\r\n class=\"mrx-input-text\"\r\n [class]=\"getClasses\"\r\n [class.mrx-input-error]=\"invalid\"\r\n [class.mrx-input-text-with-icon]=\"icon\"\r\n [class.-disabled]=\"disabled\"\r\n [class.-readonly]=\"readonly\"\r\n [mrxCdkTooltip]=\"getTooltipValue\"\r\n [tooltipPosition]=\"'top-start'\"\r\n>\r\n <div class=\"mrx-input-text__wrapper\">\r\n <span *ngIf=\"icon\" class=\"mrx-icon mrx-input-text-icon\" [class]=\"getIconClass\"></span>\r\n\r\n <input\r\n autocomplete=\"nope\"\r\n #inputElement\r\n [type]=\"'text'\"\r\n [ngModel]=\"value\"\r\n (ngModelChange)=\"updateValue($event)\"\r\n (blur)=\"updateSelection($event)\"\r\n [attr.title]=\"placeholder || ''\"\r\n [disabled]=\"disabled\"\r\n [readOnly]=\"readonly\"\r\n [attr.minlength]=\"minlength > 0 ? minlength : null\"\r\n [attr.maxlength]=\"maxlength > 0 ? maxlength : null\"\r\n [attr.placeholder]=\"!disabled && placeholder ? placeholder : ''\"\r\n [mask]=\"mask\"\r\n [prefix]=\"maskPrefix\"\r\n [showMaskTyped]=\"showMaskTyped\"\r\n [dropSpecialCharacters]=\"maskDropSpecialCharacters\"\r\n />\r\n\r\n <mrx-chars-left\r\n *ngIf=\"!disabled && maxlength\"\r\n [value]=\"value\"\r\n [maxlength]=\"maxlength\">\r\n </mrx-chars-left>\r\n </div>\r\n\r\n <mrx-error-message\r\n *ngIf=\"(!isValid || invalid) && isInvalidMessage\"\r\n [invalidMessage]=\"invalidMessage\"\r\n ></mrx-error-message>\r\n\r\n <mrx-save-state [id]=\"uuid\" [fields]=\"fields\"></mrx-save-state>\r\n</div>\r\n", styles: [".mrx-input-text.mrx-input-text{width:100%;position:relative}.mrx-input-text.mrx-input-text .mrx-input-text__wrapper{position:relative}.mrx-input-text.mrx-input-text input{box-sizing:border-box;border:var(--border-width-default) solid var(--neutral-bg-stroke-default);border-radius:var(--border-radius-1);width:100%;outline:none;transition:outline-width .2s,border .2s}.mrx-input-text.mrx-input-text input:focus,.mrx-input-text.mrx-input-text input:active{outline:var(--neutral-bg-island-default) solid var(--border-width-focused)}.mrx-input-text.mrx-input-text input:hover{border:var(--border-width-default) solid var(--neutral-bg-stroke-hover)}.mrx-input-text.mrx-input-text.mrx-input-text-lg input{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)}.mrx-input-text.mrx-input-text.mrx-input-text-lg:not(.mrx-input-text-with-icon) input{padding:calc(var(--spacing-3) + var(--spacing-half) - var(--border-width-default)) var(--spacing-4)}.mrx-input-text.mrx-input-text.mrx-input-text-lg.mrx-input-text-with-icon input{padding:calc(var(--spacing-3) + var(--spacing-half) - var(--border-width-default)) var(--spacing-4) calc(var(--spacing-3) + var(--spacing-half) - var(--border-width-default)) calc(var(--spacing-module) * 10)}.mrx-input-text.mrx-input-text.mrx-input-text-md input{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)}.mrx-input-text.mrx-input-text.mrx-input-text-md:not(.mrx-input-text-with-icon) input{padding:calc(var(--spacing-2) + var(--spacing-half) - var(--border-width-default)) var(--spacing-4)}.mrx-input-text.mrx-input-text.mrx-input-text-md.mrx-input-text-with-icon input{padding:calc(var(--spacing-2) + var(--spacing-half) - var(--border-width-default)) var(--spacing-4) calc(var(--spacing-2) + var(--spacing-half) - var(--border-width-default)) calc(var(--spacing-module) * 10)}.mrx-input-text.mrx-input-text.mrx-input-text-sm input{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)}.mrx-input-text.mrx-input-text.mrx-input-text-sm:not(.mrx-input-text-with-icon) input{padding:calc(var(--spacing-2) - var(--border-width-default)) var(--spacing-4)}.mrx-input-text.mrx-input-text.mrx-input-text-sm.mrx-input-text-with-icon input{padding:calc(var(--spacing-2) - var(--border-width-default)) var(--spacing-4) calc(var(--spacing-2) - var(--border-width-default)) var(--spacing-8)}.mrx-input-text.mrx-input-text.mrx-input-error input{border-color:var(--system-bg-controls-negative-default)}.mrx-input-text.mrx-input-text.mrx-input-error input:hover{border:var(--border-width-default) solid var(--system-bg-controls-negative-default)}.mrx-input-text.mrx-input-text.mrx-input-checked-error input{border-color:var(--system-bg-controls-negative-default);background-color:var(--system-bg-negative-secondary)}.mrx-input-text.mrx-input-text.mrx-input-checked-error input:hover{border:var(--border-width-default) solid var(--system-bg-controls-negative-default)}.mrx-input-text.mrx-input-text.mrx-input-checked-success input{background-color:var(--system-bg-positive-secondary);border-color:var(--system-bg-controls-positive-default)}.mrx-input-text.mrx-input-text.mrx-input-checked-success input:hover{border:var(--border-width-default) solid var(--system-bg-controls-positive-default)}.mrx-input-text.mrx-input-text.mrx-input-text-with-icon.mrx-input-text-lg .mrx-input-text-icon{position:absolute;top:calc(var(--spacing-3) - 1px);left:calc(var(--spacing-3) - 1px)}.mrx-input-text.mrx-input-text.mrx-input-text-with-icon.mrx-input-text-md .mrx-input-text-icon,.mrx-input-text.mrx-input-text.mrx-input-text-with-icon.mrx-input-text-sm .mrx-input-text-icon{position:absolute;top:calc(var(--spacing-2) - 1px);left:calc(var(--spacing-2) - 1px)}.mrx-input-text.mrx-input-text.-disabled input{background-color:var(--neutral-bg-disabled, #EEF0F4);-webkit-text-fill-color:var(--neutral-text-tertiary, #71767E);color:var(--neutral-text-tertiary, #71767E)}.mrx-input-text.mrx-input-text.-readonly input{background-color:var(--neutral-bg-disabled, #EEF0F4);-webkit-text-fill-color:var(--neutral-text-primary, #262626);color:var(--neutral-text-primary, #262626)}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.CharsLeftComponent, selector: "mrx-chars-left", inputs: ["maxlength", "valueLength", "value"] }, { kind: "component", type: i4.ErrorMessageComponent, selector: "mrx-error-message", inputs: ["invalid", "invalidMessage", "customClasses"] }, { kind: "component", type: i5.SaveStateComponent, selector: "mrx-save-state", inputs: ["type", "fields", "id"] }, { kind: "directive", type: i6.CdkTooltipDirective, selector: "[mrxCdkTooltip]", inputs: ["mrxCdkTooltip", "tooltipActive", "autoCloseByScroll", "tooltipPosition", "tooltipMaxWidth"] }, { kind: "directive", type: i7.NgxMaskDirective, selector: "input[mask], textarea[mask]", inputs: ["mask", "specialCharacters", "patterns", "prefix", "suffix", "thousandSeparator", "decimalMarker", "dropSpecialCharacters", "hiddenInput", "showMaskTyped", "placeHolderCharacter", "shownMaskExpression", "showTemplate", "clearIfNotMatch", "validation", "separatorLimit", "allowNegativeNumbers", "leadZeroDateTime", "leadZero", "triggerOnMaskChange", "apm", "inputTransformFn", "outputTransformFn", "keepCharacterPositions"], outputs: ["maskFilled"], exportAs: ["mask", "ngxMask"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
133
|
-
}
|
|
134
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: InputTextComponent, decorators: [{
|
|
135
|
-
type: Component,
|
|
136
|
-
args: [{ selector: 'mrx-input-text', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
137
|
-
{
|
|
138
|
-
provide: NG_VALUE_ACCESSOR,
|
|
139
|
-
useExisting: forwardRef(() => InputTextComponent),
|
|
140
|
-
multi: true,
|
|
141
|
-
},
|
|
142
|
-
], template: "<div\r\n class=\"mrx-input-text\"\r\n [class]=\"getClasses\"\r\n [class.mrx-input-error]=\"invalid\"\r\n [class.mrx-input-text-with-icon]=\"icon\"\r\n [class.-disabled]=\"disabled\"\r\n [class.-readonly]=\"readonly\"\r\n [mrxCdkTooltip]=\"getTooltipValue\"\r\n [tooltipPosition]=\"'top-start'\"\r\n>\r\n <div class=\"mrx-input-text__wrapper\">\r\n <span *ngIf=\"icon\" class=\"mrx-icon mrx-input-text-icon\" [class]=\"getIconClass\"></span>\r\n\r\n <input\r\n autocomplete=\"nope\"\r\n #inputElement\r\n [type]=\"'text'\"\r\n [ngModel]=\"value\"\r\n (ngModelChange)=\"updateValue($event)\"\r\n (blur)=\"updateSelection($event)\"\r\n [attr.title]=\"placeholder || ''\"\r\n [disabled]=\"disabled\"\r\n [readOnly]=\"readonly\"\r\n [attr.minlength]=\"minlength > 0 ? minlength : null\"\r\n [attr.maxlength]=\"maxlength > 0 ? maxlength : null\"\r\n [attr.placeholder]=\"!disabled && placeholder ? placeholder : ''\"\r\n [mask]=\"mask\"\r\n [prefix]=\"maskPrefix\"\r\n [showMaskTyped]=\"showMaskTyped\"\r\n [dropSpecialCharacters]=\"maskDropSpecialCharacters\"\r\n />\r\n\r\n <mrx-chars-left\r\n *ngIf=\"!disabled && maxlength\"\r\n [value]=\"value\"\r\n [maxlength]=\"maxlength\">\r\n </mrx-chars-left>\r\n </div>\r\n\r\n <mrx-error-message\r\n *ngIf=\"(!isValid || invalid) && isInvalidMessage\"\r\n [invalidMessage]=\"invalidMessage\"\r\n ></mrx-error-message>\r\n\r\n <mrx-save-state [id]=\"uuid\" [fields]=\"fields\"></mrx-save-state>\r\n</div>\r\n", styles: [".mrx-input-text.mrx-input-text{width:100%;position:relative}.mrx-input-text.mrx-input-text .mrx-input-text__wrapper{position:relative}.mrx-input-text.mrx-input-text input{box-sizing:border-box;border:var(--border-width-default) solid var(--neutral-bg-stroke-default);border-radius:var(--border-radius-1);width:100%;outline:none;transition:outline-width .2s,border .2s}.mrx-input-text.mrx-input-text input:focus,.mrx-input-text.mrx-input-text input:active{outline:var(--neutral-bg-island-default) solid var(--border-width-focused)}.mrx-input-text.mrx-input-text input:hover{border:var(--border-width-default) solid var(--neutral-bg-stroke-hover)}.mrx-input-text.mrx-input-text.mrx-input-text-lg input{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)}.mrx-input-text.mrx-input-text.mrx-input-text-lg:not(.mrx-input-text-with-icon) input{padding:calc(var(--spacing-3) + var(--spacing-half) - var(--border-width-default)) var(--spacing-4)}.mrx-input-text.mrx-input-text.mrx-input-text-lg.mrx-input-text-with-icon input{padding:calc(var(--spacing-3) + var(--spacing-half) - var(--border-width-default)) var(--spacing-4) calc(var(--spacing-3) + var(--spacing-half) - var(--border-width-default)) calc(var(--spacing-module) * 10)}.mrx-input-text.mrx-input-text.mrx-input-text-md input{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)}.mrx-input-text.mrx-input-text.mrx-input-text-md:not(.mrx-input-text-with-icon) input{padding:calc(var(--spacing-2) + var(--spacing-half) - var(--border-width-default)) var(--spacing-4)}.mrx-input-text.mrx-input-text.mrx-input-text-md.mrx-input-text-with-icon input{padding:calc(var(--spacing-2) + var(--spacing-half) - var(--border-width-default)) var(--spacing-4) calc(var(--spacing-2) + var(--spacing-half) - var(--border-width-default)) calc(var(--spacing-module) * 10)}.mrx-input-text.mrx-input-text.mrx-input-text-sm input{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)}.mrx-input-text.mrx-input-text.mrx-input-text-sm:not(.mrx-input-text-with-icon) input{padding:calc(var(--spacing-2) - var(--border-width-default)) var(--spacing-4)}.mrx-input-text.mrx-input-text.mrx-input-text-sm.mrx-input-text-with-icon input{padding:calc(var(--spacing-2) - var(--border-width-default)) var(--spacing-4) calc(var(--spacing-2) - var(--border-width-default)) var(--spacing-8)}.mrx-input-text.mrx-input-text.mrx-input-error input{border-color:var(--system-bg-controls-negative-default)}.mrx-input-text.mrx-input-text.mrx-input-error input:hover{border:var(--border-width-default) solid var(--system-bg-controls-negative-default)}.mrx-input-text.mrx-input-text.mrx-input-checked-error input{border-color:var(--system-bg-controls-negative-default);background-color:var(--system-bg-negative-secondary)}.mrx-input-text.mrx-input-text.mrx-input-checked-error input:hover{border:var(--border-width-default) solid var(--system-bg-controls-negative-default)}.mrx-input-text.mrx-input-text.mrx-input-checked-success input{background-color:var(--system-bg-positive-secondary);border-color:var(--system-bg-controls-positive-default)}.mrx-input-text.mrx-input-text.mrx-input-checked-success input:hover{border:var(--border-width-default) solid var(--system-bg-controls-positive-default)}.mrx-input-text.mrx-input-text.mrx-input-text-with-icon.mrx-input-text-lg .mrx-input-text-icon{position:absolute;top:calc(var(--spacing-3) - 1px);left:calc(var(--spacing-3) - 1px)}.mrx-input-text.mrx-input-text.mrx-input-text-with-icon.mrx-input-text-md .mrx-input-text-icon,.mrx-input-text.mrx-input-text.mrx-input-text-with-icon.mrx-input-text-sm .mrx-input-text-icon{position:absolute;top:calc(var(--spacing-2) - 1px);left:calc(var(--spacing-2) - 1px)}.mrx-input-text.mrx-input-text.-disabled input{background-color:var(--neutral-bg-disabled, #EEF0F4);-webkit-text-fill-color:var(--neutral-text-tertiary, #71767E);color:var(--neutral-text-tertiary, #71767E)}.mrx-input-text.mrx-input-text.-readonly input{background-color:var(--neutral-bg-disabled, #EEF0F4);-webkit-text-fill-color:var(--neutral-text-primary, #262626);color:var(--neutral-text-primary, #262626)}\n"] }]
|
|
143
|
-
}], propDecorators: { fields: [{
|
|
144
|
-
type: Input
|
|
145
|
-
}], disabled: [{
|
|
146
|
-
type: Input
|
|
147
|
-
}], required: [{
|
|
148
|
-
type: Input
|
|
149
|
-
}], readonly: [{
|
|
150
|
-
type: Input
|
|
151
|
-
}], maxlength: [{
|
|
152
|
-
type: Input
|
|
153
|
-
}], minlength: [{
|
|
154
|
-
type: Input
|
|
155
|
-
}], placeholder: [{
|
|
156
|
-
type: Input
|
|
157
|
-
}], invalid: [{
|
|
158
|
-
type: Input
|
|
159
|
-
}], invalidMessage: [{
|
|
160
|
-
type: Input
|
|
161
|
-
}], checkInvalid: [{
|
|
162
|
-
type: Input
|
|
163
|
-
}], customClasses: [{
|
|
164
|
-
type: Input
|
|
165
|
-
}], size: [{
|
|
166
|
-
type: Input
|
|
167
|
-
}], isTooltipValue: [{
|
|
168
|
-
type: Input
|
|
169
|
-
}], icon: [{
|
|
170
|
-
type: Input
|
|
171
|
-
}], iconColor: [{
|
|
172
|
-
type: Input
|
|
173
|
-
}], mask: [{
|
|
174
|
-
type: Input
|
|
175
|
-
}], maskPrefix: [{
|
|
176
|
-
type: Input
|
|
177
|
-
}], showMaskTyped: [{
|
|
178
|
-
type: Input
|
|
179
|
-
}], maskDropSpecialCharacters: [{
|
|
180
|
-
type: Input
|
|
181
|
-
}], inputElement: [{
|
|
182
|
-
type: ViewChild,
|
|
183
|
-
args: ['inputElement']
|
|
184
|
-
}], changed: [{
|
|
185
|
-
type: Output
|
|
186
|
-
}], modelChange: [{
|
|
187
|
-
type: Output
|
|
188
|
-
}] } });
|
|
189
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtdGV4dC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9teXJ0YS11aS9zcmMvbGliL2NvbXBvbmVudHMvZm9ybS9pbnB1dC10ZXh0L2lucHV0LXRleHQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9jb21wb25lbnRzL2Zvcm0vaW5wdXQtdGV4dC9pbnB1dC10ZXh0LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCx1QkFBdUIsRUFDdkIsU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GVyIDogJydcIlxyXG4gICAgICBbbWFza109XCJtYXNrXCJcclxuICAgICAgW3ByZWZpeF09XCJtYXNrUHJlZml4XCJcclxuICAgICAgW3Nob3dNYXNrVHlwZWRdPVwic2hvd01hc2tUeXBlZFwiXHJcbiAgICAgIFtkcm9wU3BlY2lhbENoYXJhY3RlcnNdPVwibWFza0Ryb3BTcGVjaWFsQ2hhcmFjdGVyc1wiXHJcbiAgICAvPlxyXG5cclxuICAgIDxtcngtY2hhcnMtbGVmdFxyXG4gICAgICAqbmdJZj1cIiFkaXNhYmxlZCAmJiBtYXhsZW5ndGhcIlxyXG4gICAgICBbdmFsdWVdPVwidmFsdWVcIlxyXG4gICAgICBbbWF4bGVuZ3RoXT1cIm1heGxlbmd0aFwiPlxyXG4gICAgPC9tcngtY2hhcnMtbGVmdD5cclxuICA8L2Rpdj5cclxuXHJcbiAgPG1yeC1lcnJvci1tZXNzYWdlXHJcbiAgICAqbmdJZj1cIighaXNWYWxpZCB8fCBpbnZhbGlkKSAmJiBpc0ludmFsaWRNZXNzYWdlXCJcclxuICAgIFtpbnZhbGlkTWVzc2FnZV09XCJpbnZhbGlkTWVzc2FnZVwiXHJcbiAgPjwvbXJ4LWVycm9yLW1lc3NhZ2U+XHJcblxyXG4gIDxtcngtc2F2ZS1zdGF0ZSBbaWRdPVwidXVpZFwiIFtmaWVsZHNdPVwiZmllbGRzXCI+PC9tcngtc2F2ZS1zdGF0ZT5cclxuPC9kaXY+XHJcbiJdfQ==
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export var InputTextSizesEnum;
|
|
2
|
-
(function (InputTextSizesEnum) {
|
|
3
|
-
InputTextSizesEnum["small"] = "mrx-input-text-sm";
|
|
4
|
-
InputTextSizesEnum["medium"] = "mrx-input-text-md";
|
|
5
|
-
InputTextSizesEnum["large"] = "mrx-input-text-lg";
|
|
6
|
-
})(InputTextSizesEnum || (InputTextSizesEnum = {}));
|
|
7
|
-
export var InputTextIconColorEnum;
|
|
8
|
-
(function (InputTextIconColorEnum) {
|
|
9
|
-
InputTextIconColorEnum["default"] = "";
|
|
10
|
-
InputTextIconColorEnum["brand"] = "color-brand";
|
|
11
|
-
InputTextIconColorEnum["positive"] = "color-positive";
|
|
12
|
-
InputTextIconColorEnum["negative"] = "color-negative";
|
|
13
|
-
InputTextIconColorEnum["attention"] = "color-attention";
|
|
14
|
-
})(InputTextIconColorEnum || (InputTextIconColorEnum = {}));
|
|
15
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtdGV4dC5lbnVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9jb21wb25lbnRzL2Zvcm0vaW5wdXQtdGV4dC9pbnB1dC10ZXh0LmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksa0JBSVg7QUFKRCxXQUFZLGtCQUFrQjtJQUM1QixpREFBNkIsQ0FBQTtJQUM3QixrREFBOEIsQ0FBQTtJQUM5QixpREFBNkIsQ0FBQTtBQUMvQixDQUFDLEVBSlcsa0JBQWtCLEtBQWxCLGtCQUFrQixRQUk3QjtBQVdELE1BQU0sQ0FBTixJQUFZLHNCQU1YO0FBTkQsV0FBWSxzQkFBc0I7SUFDaEMsc0NBQWMsQ0FBQTtJQUNkLCtDQUF1QixDQUFBO0lBQ3ZCLHFEQUE2QixDQUFBO0lBQzdCLHFEQUE2QixDQUFBO0lBQzdCLHVEQUErQixDQUFBO0FBQ2pDLENBQUMsRUFOVyxzQkFBc0IsS0FBdEIsc0JBQXNCLFFBTWpDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGVudW0gSW5wdXRUZXh0U2l6ZXNFbnVtIHtcclxuICAnc21hbGwnID0gJ21yeC1pbnB1dC10ZXh0LXNtJyxcclxuICAnbWVkaXVtJyA9ICdtcngtaW5wdXQtdGV4dC1tZCcsXHJcbiAgJ2xhcmdlJyA9ICdtcngtaW5wdXQtdGV4dC1sZycsXHJcbn1cclxuXHJcbmV4cG9ydCB0eXBlIElucHV0VGV4dFNpemVzVHlwZXMgPSAnc21hbGwnIHwgJ21lZGl1bScgfCAnbGFyZ2UnO1xyXG5cclxuZXhwb3J0IHR5cGUgSW5wdXRUZXh0VmFsdWVUeXBlcyA9IHN0cmluZztcclxuXHJcbmV4cG9ydCBpbnRlcmZhY2UgSW5wdXRUZXh0VmFsdWVXaXRoSWQge1xyXG4gIHZhbHVlOiBJbnB1dFRleHRWYWx1ZVR5cGVzLFxyXG4gIGlkOiBzdHJpbmdcclxufVxyXG5cclxuZXhwb3J0IGVudW0gSW5wdXRUZXh0SWNvbkNvbG9yRW51bSB7XHJcbiAgJ2RlZmF1bHQnID0gJycsXHJcbiAgJ2JyYW5kJyA9ICdjb2xvci1icmFuZCcsXHJcbiAgJ3Bvc2l0aXZlJyA9ICdjb2xvci1wb3NpdGl2ZScsXHJcbiAgJ25lZ2F0aXZlJyA9ICdjb2xvci1uZWdhdGl2ZScsXHJcbiAgJ2F0dGVudGlvbicgPSAnY29sb3ItYXR0ZW50aW9uJyxcclxufVxyXG5cclxuZXhwb3J0IHR5cGUgSW5wdXRUZXh0SWNvbkNvbG9yVHlwZXMgPSAnZGVmYXVsdCcgfCAnYnJhbmQnIHwgJ3Bvc2l0aXZlJyB8ICduZWdhdGl2ZScgfCAnYXR0ZW50aW9uJ1xyXG4iXX0=
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { InputTextComponent } from './input-text.component';
|
|
4
|
-
import { FormsModule } from '@angular/forms';
|
|
5
|
-
import { CharsLeftModule } from '../../chars-left/chars-left.module';
|
|
6
|
-
import { NgxMaskDirective, provideNgxMask } from 'ngx-mask';
|
|
7
|
-
import { ErrorMessageModule } from '../../error-message/error-message.module';
|
|
8
|
-
import { SaveStateModule } from '../../save-state/save-state.module';
|
|
9
|
-
import { CdkTooltipModule } from '../../cdk-tooltip/cdk-tooltip.module';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
const maskConfigFunction = () => {
|
|
12
|
-
return {
|
|
13
|
-
validation: false,
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
export class InputTextModule {
|
|
17
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: InputTextModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
18
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: InputTextModule, declarations: [InputTextComponent], imports: [CommonModule,
|
|
19
|
-
FormsModule,
|
|
20
|
-
CharsLeftModule,
|
|
21
|
-
ErrorMessageModule,
|
|
22
|
-
SaveStateModule,
|
|
23
|
-
CdkTooltipModule,
|
|
24
|
-
NgxMaskDirective], exports: [InputTextComponent] });
|
|
25
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: InputTextModule, providers: [provideNgxMask(maskConfigFunction)], imports: [CommonModule,
|
|
26
|
-
FormsModule,
|
|
27
|
-
CharsLeftModule,
|
|
28
|
-
ErrorMessageModule,
|
|
29
|
-
SaveStateModule,
|
|
30
|
-
CdkTooltipModule] });
|
|
31
|
-
}
|
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: InputTextModule, decorators: [{
|
|
33
|
-
type: NgModule,
|
|
34
|
-
args: [{
|
|
35
|
-
declarations: [InputTextComponent],
|
|
36
|
-
imports: [
|
|
37
|
-
CommonModule,
|
|
38
|
-
FormsModule,
|
|
39
|
-
CharsLeftModule,
|
|
40
|
-
ErrorMessageModule,
|
|
41
|
-
SaveStateModule,
|
|
42
|
-
CdkTooltipModule,
|
|
43
|
-
NgxMaskDirective
|
|
44
|
-
],
|
|
45
|
-
providers: [provideNgxMask(maskConfigFunction)],
|
|
46
|
-
exports: [InputTextComponent],
|
|
47
|
-
}]
|
|
48
|
-
}] });
|
|
49
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtdGV4dC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9teXJ0YS11aS9zcmMvbGliL2NvbXBvbmVudHMvZm9ybS9pbnB1dC10ZXh0L2lucHV0LXRleHQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBQzVELE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUM3QyxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sb0NBQW9DLENBQUM7QUFDckUsT0FBTyxFQUFFLGdCQUFnQixFQUFXLGNBQWMsRUFBRSxNQUFNLFVBQVUsQ0FBQztBQUNyRSxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSwwQ0FBMEMsQ0FBQztBQUM5RSxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sb0NBQW9DLENBQUM7QUFDckUsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sc0NBQXNDLENBQUM7O0FBRXhFLE1BQU0sa0JBQWtCLEdBQTJCLEdBQUcsRUFBRTtJQUN0RCxPQUFPO1FBQ0wsVUFBVSxFQUFFLEtBQUs7S0FDbEIsQ0FBQztB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h0Q29tcG9uZW50XSxcclxufSlcclxuZXhwb3J0IGNsYXNzIElucHV0VGV4dE1vZHVsZSB7fVxyXG4iXX0=
|
|
@@ -1,197 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, EventEmitter, forwardRef, Input, Output, ViewChild } from '@angular/core';
|
|
2
|
-
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
3
|
-
import { InputTextareaSizesEnum } from './input-textarea.enum';
|
|
4
|
-
import { v4 as uuidv4 } from 'uuid';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "@angular/common";
|
|
7
|
-
import * as i2 from "@angular/forms";
|
|
8
|
-
import * as i3 from "../../chars-left/chars-left.component";
|
|
9
|
-
import * as i4 from "../../error-message/error-message.component";
|
|
10
|
-
import * as i5 from "../../save-state/save-state.component";
|
|
11
|
-
import * as i6 from "../../../directives/autosize/autosize.directive";
|
|
12
|
-
export class InputTextareaComponent {
|
|
13
|
-
value = '';
|
|
14
|
-
selectionStart;
|
|
15
|
-
selectionEnd;
|
|
16
|
-
_innerHtml;
|
|
17
|
-
// SAVE STATE
|
|
18
|
-
uuid = uuidv4();
|
|
19
|
-
fields = [];
|
|
20
|
-
disabled = false;
|
|
21
|
-
readonly = false;
|
|
22
|
-
autosize = true;
|
|
23
|
-
maxlength = 0;
|
|
24
|
-
minlength = 0;
|
|
25
|
-
rows = 1;
|
|
26
|
-
placeholder = '';
|
|
27
|
-
invalid = false;
|
|
28
|
-
invalidMessage = '';
|
|
29
|
-
checkInvalid = null;
|
|
30
|
-
customClasses = '';
|
|
31
|
-
mask = '';
|
|
32
|
-
size = 'large';
|
|
33
|
-
inputElement;
|
|
34
|
-
changed = new EventEmitter();
|
|
35
|
-
blurred = new EventEmitter();
|
|
36
|
-
modelChange = new EventEmitter();
|
|
37
|
-
get isInvalidMessage() {
|
|
38
|
-
return !!this.invalidMessage || !!this.invalidMessage?.length;
|
|
39
|
-
}
|
|
40
|
-
get invalidMessageArray() {
|
|
41
|
-
if (typeof this.invalidMessage === 'string') {
|
|
42
|
-
return Array(this.invalidMessage);
|
|
43
|
-
}
|
|
44
|
-
else {
|
|
45
|
-
return this.invalidMessage;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
get isValid() {
|
|
49
|
-
return this.baseValidate();
|
|
50
|
-
}
|
|
51
|
-
get readonlyClass() {
|
|
52
|
-
return this.readonly ? 'mrx-input__readonly' : '';
|
|
53
|
-
}
|
|
54
|
-
get checkValidClasses() {
|
|
55
|
-
return this.checkInvalid === false ?
|
|
56
|
-
'mrx-input-checked-success' :
|
|
57
|
-
this.checkInvalid === true ? 'mrx-input-checked-error' : '';
|
|
58
|
-
}
|
|
59
|
-
get getClasses() {
|
|
60
|
-
return `${InputTextareaSizesEnum[this.size]} ${this.customClasses} ${this.readonlyClass} ${this.checkValidClasses}`;
|
|
61
|
-
}
|
|
62
|
-
get innerHtml() {
|
|
63
|
-
return this._innerHtml && this._innerHtml.length > 0 ? this._innerHtml : this.value;
|
|
64
|
-
}
|
|
65
|
-
set innerHtml(value) {
|
|
66
|
-
this._innerHtml = value;
|
|
67
|
-
}
|
|
68
|
-
updateSelection(event) {
|
|
69
|
-
this.selectionStart = event.target.selectionStart;
|
|
70
|
-
this.selectionEnd = event.target.selectionEnd;
|
|
71
|
-
}
|
|
72
|
-
insertPositionText(tagText) {
|
|
73
|
-
if (this.selectionStart && this.selectionEnd) {
|
|
74
|
-
const firstText = this.value ? this.value.substring(0, this.selectionStart) : '';
|
|
75
|
-
const secondText = this.value.substring(this.selectionEnd);
|
|
76
|
-
const text = firstText + tagText + secondText;
|
|
77
|
-
this.updateValue(text);
|
|
78
|
-
setTimeout(() => {
|
|
79
|
-
this.inputElement.nativeElement.selectionStart = (firstText + tagText).length;
|
|
80
|
-
this.inputElement.nativeElement.selectionEnd = (firstText + tagText).length;
|
|
81
|
-
this.inputElement.nativeElement.focus();
|
|
82
|
-
}, 0);
|
|
83
|
-
}
|
|
84
|
-
else {
|
|
85
|
-
const text = this.value + tagText;
|
|
86
|
-
this.updateValue(text);
|
|
87
|
-
setTimeout(() => {
|
|
88
|
-
this.inputElement.nativeElement.selectionStart = text.length;
|
|
89
|
-
this.inputElement.nativeElement.selectionEnd = text.length;
|
|
90
|
-
this.inputElement.nativeElement.focus();
|
|
91
|
-
}, 0);
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
baseValidate() {
|
|
95
|
-
if (this.minlength) {
|
|
96
|
-
return !!this.value && this.value.length >= this.minlength;
|
|
97
|
-
}
|
|
98
|
-
return true;
|
|
99
|
-
}
|
|
100
|
-
onFocus() {
|
|
101
|
-
this.inputElement.nativeElement.focus();
|
|
102
|
-
}
|
|
103
|
-
get isShowBlock() {
|
|
104
|
-
return this.disabled || this.readonly;
|
|
105
|
-
}
|
|
106
|
-
onChange = (value) => {
|
|
107
|
-
};
|
|
108
|
-
onTouched = () => {
|
|
109
|
-
};
|
|
110
|
-
registerOnChange(fn) {
|
|
111
|
-
this.onChange = fn;
|
|
112
|
-
}
|
|
113
|
-
registerOnTouched(fn) {
|
|
114
|
-
this.onTouched = fn;
|
|
115
|
-
}
|
|
116
|
-
processValueForViewOnly(value) {
|
|
117
|
-
}
|
|
118
|
-
writeValue(outsideValue) {
|
|
119
|
-
if ((this.inputElement?.nativeElement && document.activeElement !== this.inputElement.nativeElement) || this.isShowBlock) {
|
|
120
|
-
this.value = outsideValue;
|
|
121
|
-
}
|
|
122
|
-
if (this.disabled) {
|
|
123
|
-
this.processValueForViewOnly(outsideValue);
|
|
124
|
-
return;
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
onBlur(event) {
|
|
128
|
-
this.blurUpdateValue();
|
|
129
|
-
this.updateSelection(event);
|
|
130
|
-
}
|
|
131
|
-
blurUpdateValue() {
|
|
132
|
-
this.blurred.emit(this.value);
|
|
133
|
-
}
|
|
134
|
-
updateValue(insideValue) {
|
|
135
|
-
this.value = insideValue;
|
|
136
|
-
this.changed.emit(insideValue);
|
|
137
|
-
this.modelChange.emit({ value: insideValue, id: this.uuid });
|
|
138
|
-
this.onChange(insideValue);
|
|
139
|
-
this.onTouched();
|
|
140
|
-
}
|
|
141
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: InputTextareaComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
142
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: InputTextareaComponent, selector: "mrx-input-textarea", inputs: { fields: "fields", disabled: "disabled", readonly: "readonly", autosize: "autosize", maxlength: "maxlength", minlength: "minlength", rows: "rows", placeholder: "placeholder", invalid: "invalid", invalidMessage: "invalidMessage", checkInvalid: "checkInvalid", customClasses: "customClasses", mask: "mask", size: "size" }, outputs: { changed: "changed", blurred: "blurred", modelChange: "modelChange" }, providers: [
|
|
143
|
-
{
|
|
144
|
-
provide: NG_VALUE_ACCESSOR,
|
|
145
|
-
useExisting: forwardRef(() => InputTextareaComponent),
|
|
146
|
-
multi: true,
|
|
147
|
-
},
|
|
148
|
-
], viewQueries: [{ propertyName: "inputElement", first: true, predicate: ["inputElement"], descendants: true }], ngImport: i0, template: "<div\r\n class=\"mrx-input-textarea\"\r\n [class]=\"getClasses\"\r\n [class.mrx-input-error]=\"invalid\"\r\n>\r\n <div class=\"mrx-input-textarea__wrapper\">\r\n <textarea\r\n #inputElement\r\n *ngIf=\"!isShowBlock; else disabledTemplate\"\r\n mrxAutosize\r\n [id]=\"uuid\"\r\n [ngModel]=\"value\"\r\n [disabled]=\"disabled\"\r\n [readonly]=\"readonly\"\r\n [rows]=\"rows\"\r\n [autosize]=\"autosize\"\r\n [attr.minlength]=\"minlength > 0 ? minlength : null\"\r\n [attr.maxlength]=\"maxlength > 0 ? maxlength : null\"\r\n [attr.placeholder]=\"!disabled && placeholder ? placeholder : ''\"\r\n (ngModelChange)=\"updateValue($event)\"\r\n (blur)=\"onBlur($event)\"\r\n ></textarea>\r\n\r\n <ng-template #disabledTemplate>\r\n <div\r\n class=\"mrx-input-textarea__disabled-block\"\r\n [class.-disabled]=\"disabled\"\r\n [class.-readonly]=\"readonly\"\r\n [innerHtml]=\"isShowBlock ? innerHtml : ''\"\r\n ></div>\r\n </ng-template>\r\n\r\n <mrx-chars-left\r\n *ngIf=\"!disabled && maxlength\"\r\n [value]=\"value\"\r\n [maxlength]=\"maxlength\">\r\n </mrx-chars-left>\r\n\r\n <mrx-save-state [id]=\"uuid\" [fields]=\"fields\"></mrx-save-state>\r\n </div>\r\n\r\n <mrx-error-message\r\n *ngIf=\"(!isValid || invalid) && isInvalidMessage\"\r\n [invalidMessage]=\"invalidMessage\"\r\n ></mrx-error-message>\r\n</div>\r\n", styles: [".mrx-input-textarea.mrx-input-textarea .mrx-input-textarea__wrapper{position:relative}.mrx-input-textarea.mrx-input-textarea textarea{display:block;box-sizing:border-box;border:var(--border-width-default) solid var(--neutral-bg-stroke-default);color:var(--neutral-text-primary);width:100%;overflow:auto;resize:none;transition:outline-width .2s,border .2s}.mrx-input-textarea.mrx-input-textarea textarea:focus,.mrx-input-textarea.mrx-input-textarea textarea:active{outline:var(--neutral-bg-island-default) solid var(--border-width-focused)}.mrx-input-textarea.mrx-input-textarea textarea:hover{border:var(--border-width-default) solid var(--neutral-bg-stroke-hover)}.mrx-input-textarea.mrx-input-textarea.mrx-input-lg textarea{padding:calc(var(--spacing-3) + 1px) var(--spacing-4);border-radius:var(--border-radius-1);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)}.mrx-input-textarea.mrx-input-textarea.mrx-input-md textarea{padding:calc(var(--sizing-2) + 1px) var(--spacing-3);border-radius:var(--border-radius-1);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)}.mrx-input-textarea.mrx-input-textarea.mrx-input-sm textarea{padding:calc(var(--sizing-2) - 1px) var(--spacing-2);border-radius:var(--border-radius-1);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)}.mrx-input-textarea.mrx-input-textarea.mrx-input-error textarea{border-color:var(--system-bg-controls-negative-default)}.mrx-input-textarea.mrx-input-textarea.mrx-input-checked-error textarea{border-color:var(--system-bg-controls-negative-default);background-color:var(--system-bg-negative-secondary)}.mrx-input-textarea.mrx-input-textarea.mrx-input-checked-success textarea{background-color:var(--system-bg-positive-secondary);border-color:var(--system-bg-controls-positive-default)}.mrx-input-textarea.mrx-input-textarea .mrx-input-textarea__disabled-block{min-height:var(--spacing-12);background-color:var(--neutral-bg-disabled, #EEF0F4);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);padding:calc(var(--spacing-3) + 1px) var(--spacing-4);border:var(--border-width-default) solid var(--neutral-bg-stroke-default, #DBDFE5);border-radius:var(--border-radius-1);resize:none;z-index:1}.mrx-input-textarea.mrx-input-textarea .mrx-input-textarea__disabled-block.-disabled{color:var(--neutral-text-tertiary, #71767E)}.mrx-input-textarea.mrx-input-textarea .mrx-input-textarea__disabled-block.-readonly{color:var(--neutral-text-primary, #262626)}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.CharsLeftComponent, selector: "mrx-chars-left", inputs: ["maxlength", "valueLength", "value"] }, { kind: "component", type: i4.ErrorMessageComponent, selector: "mrx-error-message", inputs: ["invalid", "invalidMessage", "customClasses"] }, { kind: "component", type: i5.SaveStateComponent, selector: "mrx-save-state", inputs: ["type", "fields", "id"] }, { kind: "directive", type: i6.AutosizeDirective, selector: "[mrxAutosize]", inputs: ["rows", "autosize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
149
|
-
}
|
|
150
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: InputTextareaComponent, decorators: [{
|
|
151
|
-
type: Component,
|
|
152
|
-
args: [{ selector: 'mrx-input-textarea', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
153
|
-
{
|
|
154
|
-
provide: NG_VALUE_ACCESSOR,
|
|
155
|
-
useExisting: forwardRef(() => InputTextareaComponent),
|
|
156
|
-
multi: true,
|
|
157
|
-
},
|
|
158
|
-
], template: "<div\r\n class=\"mrx-input-textarea\"\r\n [class]=\"getClasses\"\r\n [class.mrx-input-error]=\"invalid\"\r\n>\r\n <div class=\"mrx-input-textarea__wrapper\">\r\n <textarea\r\n #inputElement\r\n *ngIf=\"!isShowBlock; else disabledTemplate\"\r\n mrxAutosize\r\n [id]=\"uuid\"\r\n [ngModel]=\"value\"\r\n [disabled]=\"disabled\"\r\n [readonly]=\"readonly\"\r\n [rows]=\"rows\"\r\n [autosize]=\"autosize\"\r\n [attr.minlength]=\"minlength > 0 ? minlength : null\"\r\n [attr.maxlength]=\"maxlength > 0 ? maxlength : null\"\r\n [attr.placeholder]=\"!disabled && placeholder ? placeholder : ''\"\r\n (ngModelChange)=\"updateValue($event)\"\r\n (blur)=\"onBlur($event)\"\r\n ></textarea>\r\n\r\n <ng-template #disabledTemplate>\r\n <div\r\n class=\"mrx-input-textarea__disabled-block\"\r\n [class.-disabled]=\"disabled\"\r\n [class.-readonly]=\"readonly\"\r\n [innerHtml]=\"isShowBlock ? innerHtml : ''\"\r\n ></div>\r\n </ng-template>\r\n\r\n <mrx-chars-left\r\n *ngIf=\"!disabled && maxlength\"\r\n [value]=\"value\"\r\n [maxlength]=\"maxlength\">\r\n </mrx-chars-left>\r\n\r\n <mrx-save-state [id]=\"uuid\" [fields]=\"fields\"></mrx-save-state>\r\n </div>\r\n\r\n <mrx-error-message\r\n *ngIf=\"(!isValid || invalid) && isInvalidMessage\"\r\n [invalidMessage]=\"invalidMessage\"\r\n ></mrx-error-message>\r\n</div>\r\n", styles: [".mrx-input-textarea.mrx-input-textarea .mrx-input-textarea__wrapper{position:relative}.mrx-input-textarea.mrx-input-textarea textarea{display:block;box-sizing:border-box;border:var(--border-width-default) solid var(--neutral-bg-stroke-default);color:var(--neutral-text-primary);width:100%;overflow:auto;resize:none;transition:outline-width .2s,border .2s}.mrx-input-textarea.mrx-input-textarea textarea:focus,.mrx-input-textarea.mrx-input-textarea textarea:active{outline:var(--neutral-bg-island-default) solid var(--border-width-focused)}.mrx-input-textarea.mrx-input-textarea textarea:hover{border:var(--border-width-default) solid var(--neutral-bg-stroke-hover)}.mrx-input-textarea.mrx-input-textarea.mrx-input-lg textarea{padding:calc(var(--spacing-3) + 1px) var(--spacing-4);border-radius:var(--border-radius-1);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)}.mrx-input-textarea.mrx-input-textarea.mrx-input-md textarea{padding:calc(var(--sizing-2) + 1px) var(--spacing-3);border-radius:var(--border-radius-1);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)}.mrx-input-textarea.mrx-input-textarea.mrx-input-sm textarea{padding:calc(var(--sizing-2) - 1px) var(--spacing-2);border-radius:var(--border-radius-1);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)}.mrx-input-textarea.mrx-input-textarea.mrx-input-error textarea{border-color:var(--system-bg-controls-negative-default)}.mrx-input-textarea.mrx-input-textarea.mrx-input-checked-error textarea{border-color:var(--system-bg-controls-negative-default);background-color:var(--system-bg-negative-secondary)}.mrx-input-textarea.mrx-input-textarea.mrx-input-checked-success textarea{background-color:var(--system-bg-positive-secondary);border-color:var(--system-bg-controls-positive-default)}.mrx-input-textarea.mrx-input-textarea .mrx-input-textarea__disabled-block{min-height:var(--spacing-12);background-color:var(--neutral-bg-disabled, #EEF0F4);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);padding:calc(var(--spacing-3) + 1px) var(--spacing-4);border:var(--border-width-default) solid var(--neutral-bg-stroke-default, #DBDFE5);border-radius:var(--border-radius-1);resize:none;z-index:1}.mrx-input-textarea.mrx-input-textarea .mrx-input-textarea__disabled-block.-disabled{color:var(--neutral-text-tertiary, #71767E)}.mrx-input-textarea.mrx-input-textarea .mrx-input-textarea__disabled-block.-readonly{color:var(--neutral-text-primary, #262626)}\n"] }]
|
|
159
|
-
}], propDecorators: { fields: [{
|
|
160
|
-
type: Input
|
|
161
|
-
}], disabled: [{
|
|
162
|
-
type: Input
|
|
163
|
-
}], readonly: [{
|
|
164
|
-
type: Input
|
|
165
|
-
}], autosize: [{
|
|
166
|
-
type: Input
|
|
167
|
-
}], maxlength: [{
|
|
168
|
-
type: Input
|
|
169
|
-
}], minlength: [{
|
|
170
|
-
type: Input
|
|
171
|
-
}], rows: [{
|
|
172
|
-
type: Input
|
|
173
|
-
}], placeholder: [{
|
|
174
|
-
type: Input
|
|
175
|
-
}], invalid: [{
|
|
176
|
-
type: Input
|
|
177
|
-
}], invalidMessage: [{
|
|
178
|
-
type: Input
|
|
179
|
-
}], checkInvalid: [{
|
|
180
|
-
type: Input
|
|
181
|
-
}], customClasses: [{
|
|
182
|
-
type: Input
|
|
183
|
-
}], mask: [{
|
|
184
|
-
type: Input
|
|
185
|
-
}], size: [{
|
|
186
|
-
type: Input
|
|
187
|
-
}], inputElement: [{
|
|
188
|
-
type: ViewChild,
|
|
189
|
-
args: ['inputElement']
|
|
190
|
-
}], changed: [{
|
|
191
|
-
type: Output
|
|
192
|
-
}], blurred: [{
|
|
193
|
-
type: Output
|
|
194
|
-
}], modelChange: [{
|
|
195
|
-
type: Output
|
|
196
|
-
}] } });
|
|
197
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtdGV4dGFyZWEuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9jb21wb25lbnRzL2Zvcm0vaW5wdXQtdGV4dGFyZWEvaW5wdXQtdGV4dGFyZWEuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9jb21wb25lbnRzL2Zvcm0vaW5wdXQtdGV4dGFyZWEvaW5wdXQtdGV4dGFyZWEuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNhLHVCQUF1QixFQUN6QyxTQUFTLEVBRVQsWUFBWSxFQUNaLFVBQVUsRUFDVixLQUFLLEVBQ0wsTUFBTSxFQUNOLFNBQVMsRUFDVixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQXdCLGlCQUFpQixFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDekUsT0FBTyxFQUNMLHNCQUFzQixFQUd2QixNQUFNLHVCQUF1QixDQUFDO0FBQy9CLE9BQU8sRUFBRSxFQUFFLElBQUksTUFBTSxFQUFFLE1BQU0sTUFBTSxDQUFDOzs7Ozs7OztBQWdCcEMsTUFBTSxPQUFPLHNCQUFzQjtJQUMxQixLQUFLLEdBQTRCLEVBQUUsQ0FBQztJQUNwQyxjQUFjLENBQXFCO0lBQ25DLFlBQVksQ0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