myrta-ui 17.0.18 → 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,15 +0,0 @@
|
|
|
1
|
-
export * from './mrx-autosave/mrx-autosave.service';
|
|
2
|
-
export * from './file-upload/file-upload.service';
|
|
3
|
-
export * from './mrx-form-validator/mrx-form-validator';
|
|
4
|
-
export * from './mrx-form-validator/models';
|
|
5
|
-
export * from './save-store/save-store.module';
|
|
6
|
-
export * from './save-store/store/selectors';
|
|
7
|
-
export * from './save-store/store/actions';
|
|
8
|
-
export * from './modal-service/modal-service.module';
|
|
9
|
-
export * from './modal-service/models/modal-config.model';
|
|
10
|
-
export * from './modal-service/modal-service.service';
|
|
11
|
-
export * from './modal-service/helpers';
|
|
12
|
-
export * from './toaster-service/toaster-service.module';
|
|
13
|
-
export * from './toaster-service/toaster-service.service';
|
|
14
|
-
export * from './toaster-service/models/toaster.model';
|
|
15
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9teXJ0YS11aS9zcmMvbGliL3NlcnZpY2VzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMscUNBQXFDLENBQUM7QUFDcEQsY0FBYyxtQ0FBbUMsQ0FBQztBQUVsRCxjQUFjLHlDQUF5QyxDQUFDO0FBQ3hELGNBQWMsNkJBQTZCLENBQUM7QUFFNUMsY0FBYyxnQ0FBZ0MsQ0FBQztBQUMvQyxjQUFjLDhCQ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lL2hlbHBlcnMnO1xyXG5cclxuZXhwb3J0ICogZnJvbSAnLi90b2FzdGVyLXNlcnZpY2UvdG9hc3Rlci1zZXJ2aWNlLm1vZHVsZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vdG9hc3Rlci1zZXJ2aWNlL3RvYXN0ZXItc2VydmljZS5zZXJ2aWNlJztcclxuZXhwb3J0ICogZnJvbSAnLi90b2FzdGVyLXNlcnZpY2UvbW9kZWxzL3RvYXN0ZXIubW9kZWwnO1xyXG4iXX0=
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { Component, Inject } from '@angular/core';
|
|
2
|
-
import { ModalServiceComponent } from '../../helpers/modal.component';
|
|
3
|
-
import { MODAL_CONFIG, MODAL_DATA } from '../../helpers/modal-tokens';
|
|
4
|
-
import { ModalModule } from '../../../../components/modal/modal.module';
|
|
5
|
-
import { ButtonModule } from '../../../../components/button/button.module';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "../../helpers/modal-ref";
|
|
8
|
-
import * as i2 from "../../../../components/modal/modal.component";
|
|
9
|
-
import * as i3 from "../../../../components/button/button.component";
|
|
10
|
-
export class AlertModalComponent extends ModalServiceComponent {
|
|
11
|
-
dialogRef;
|
|
12
|
-
config;
|
|
13
|
-
model;
|
|
14
|
-
constructor(dialogRef, data, config) {
|
|
15
|
-
super();
|
|
16
|
-
this.dialogRef = dialogRef;
|
|
17
|
-
this.config = config;
|
|
18
|
-
this.model = data;
|
|
19
|
-
this.result = this.config.defaultValue || undefined;
|
|
20
|
-
}
|
|
21
|
-
ok() {
|
|
22
|
-
this.result = true;
|
|
23
|
-
this.dialogRef.close(this.result);
|
|
24
|
-
}
|
|
25
|
-
close() {
|
|
26
|
-
this.dialogRef.close(this.result);
|
|
27
|
-
}
|
|
28
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AlertModalComponent, deps: [{ token: i1.ModalRef }, { token: MODAL_DATA }, { token: MODAL_CONFIG }], target: i0.ɵɵFactoryTarget.Component });
|
|
29
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: AlertModalComponent, isStandalone: true, selector: "mrx-default-alert-modal", usesInheritance: true, ngImport: i0, template: "<mrx-modal\r\n [customClasses]=\"config.customClasses || ''\"\r\n [title]=\"model.title\"\r\n [message]=\"model.message\"\r\n [color]=\"config.color || 'default'\"\r\n size=\"small\"\r\n (close)=\"close()\"\r\n (ok)=\"ok()\"\r\n>\r\n <ng-template #footerContent>\r\n <mrx-button\r\n [type]=\"'primary'\"\r\n [size]=\"'medium'\"\r\n [color]=\"config.color || 'default'\"\r\n (click)=\"ok()\"\r\n >\r\n {{ config.okText || '\u041E\u043A' }}\r\n </mrx-button>\r\n </ng-template>\r\n</mrx-modal>\r\n", styles: [""], dependencies: [{ kind: "ngmodule", type: ModalModule }, { kind: "component", type: i2.ModalComponent, selector: "mrx-modal", inputs: ["title", "message", "okText", "closeText", "size", "color", "customClasses", "expandable", "isEmbed", "isClose", "isBack", "backText", "enableFooter", "alignButtons", "isLoading", "iconPosition"], outputs: ["ok", "close", "back"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i3.ButtonComponent, selector: "mrx-button", inputs: ["size", "type", "color", "iconPosition", "active", "disabled", "isLoading", "iconOnly", "customClasses", "label", "icon", "iconClass", "buttonType"], outputs: ["mrxClick"] }] });
|
|
30
|
-
}
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AlertModalComponent, decorators: [{
|
|
32
|
-
type: Component,
|
|
33
|
-
args: [{ selector: 'mrx-default-alert-modal', standalone: true, imports: [
|
|
34
|
-
ModalModule,
|
|
35
|
-
ButtonModule
|
|
36
|
-
], template: "<mrx-modal\r\n [customClasses]=\"config.customClasses || ''\"\r\n [title]=\"model.title\"\r\n [message]=\"model.message\"\r\n [color]=\"config.color || 'default'\"\r\n size=\"small\"\r\n (close)=\"close()\"\r\n (ok)=\"ok()\"\r\n>\r\n <ng-template #footerContent>\r\n <mrx-button\r\n [type]=\"'primary'\"\r\n [size]=\"'medium'\"\r\n [color]=\"config.color || 'default'\"\r\n (click)=\"ok()\"\r\n >\r\n {{ config.okText || '\u041E\u043A' }}\r\n </mrx-button>\r\n </ng-template>\r\n</mrx-modal>\r\n" }]
|
|
37
|
-
}], ctorParameters: () => [{ type: i1.ModalRef }, { type: undefined, decorators: [{
|
|
38
|
-
type: Inject,
|
|
39
|
-
args: [MODAL_DATA]
|
|
40
|
-
}] }, { type: undefined, decorators: [{
|
|
41
|
-
type: Inject,
|
|
42
|
-
args: [MODAL_CONFIG]
|
|
43
|
-
}] }] });
|
|
44
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxlcnQtbW9kYWwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9zZXJ2aWNlcy9tb2RhbC1zZXJ2aWNlL2NvbXBvbmVudHMvYWxlcnQtbW9kYWwvYWxlcnQtbW9kYWwuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9zZXJ2aWNlcy9tb2RhbC1zZXJ2aWNlL2NvbXBvbmVudHMvYWxlcnQtbW9kYWwvYWxlcnQtbW9kYWwuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDbEQsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sK0JBQStCLENBQUM7QUFFdEUsT0FBTyxFQUFFLFlBQVksRUFBRSxVQUFV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1vZGFsXHJcbiAgW2N1c3RvbUNsYXNzZXNdPVwiY29uZmlnLmN1c3RvbUNsYXNzZXMgfHwgJydcIlxyXG4gIFt0aXRsZV09XCJtb2RlbC50aXRsZVwiXHJcbiAgW21lc3NhZ2VdPVwibW9kZWwubWVzc2FnZVwiXHJcbiAgW2NvbG9yXT1cImNvbmZpZy5jb2xvciB8fCAnZGVmYXVsdCdcIlxyXG4gIHNpemU9XCJzbWFsbFwiXHJcbiAgKGNsb3NlKT1cImNsb3NlKClcIlxyXG4gIChvayk9XCJvaygpXCJcclxuPlxyXG4gIDxuZy10ZW1wbGF0ZSAjZm9vdGVyQ29udGVudD5cclxuICAgIDxtcngtYnV0dG9uXHJcbiAgICAgIFt0eXBlXT1cIidwcmltYXJ5J1wiXHJcbiAgICAgIFtzaXplXT1cIidtZWRpdW0nXCJcclxuICAgICAgW2NvbG9yXT1cImNvbmZpZy5jb2xvciB8fCAnZGVmYXVsdCdcIlxyXG4gICAgICAoY2xpY2spPVwib2soKVwiXHJcbiAgICA+XHJcbiAgICAgIHt7IGNvbmZpZy5va1RleHQgfHwgJ9Ce0LonIH19XHJcbiAgICA8L21yeC1idXR0b24+XHJcbiAgPC9uZy10ZW1wbGF0ZT5cclxuPC9tcngtbW9kYWw+XHJcbiJdfQ==
|
package/esm2022/lib/services/modal-service/components/confirm-modal/confirm-modal.component.mjs
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { Component, Inject } from '@angular/core';
|
|
2
|
-
import { MODAL_CONFIG, MODAL_DATA } from '../../helpers/modal-tokens';
|
|
3
|
-
import { ModalServiceComponent } from '../../helpers/modal.component';
|
|
4
|
-
import { ButtonModule } from '../../../../components/button/button.module';
|
|
5
|
-
import { ModalModule } from '../../../../components/modal/modal.module';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "../../helpers/modal-ref";
|
|
8
|
-
import * as i2 from "../../../../components/button/button.component";
|
|
9
|
-
import * as i3 from "../../../../components/modal/modal.component";
|
|
10
|
-
export class ConfirmModalComponent extends ModalServiceComponent {
|
|
11
|
-
dialogRef;
|
|
12
|
-
config;
|
|
13
|
-
model;
|
|
14
|
-
constructor(dialogRef, data, config) {
|
|
15
|
-
super();
|
|
16
|
-
this.dialogRef = dialogRef;
|
|
17
|
-
this.config = config;
|
|
18
|
-
this.model = data;
|
|
19
|
-
this.result = this.config.defaultValue || undefined;
|
|
20
|
-
}
|
|
21
|
-
ok() {
|
|
22
|
-
this.result = true;
|
|
23
|
-
this.dialogRef.close(this.result);
|
|
24
|
-
}
|
|
25
|
-
cancel() {
|
|
26
|
-
this.result = false;
|
|
27
|
-
this.dialogRef.close(this.result);
|
|
28
|
-
}
|
|
29
|
-
close() {
|
|
30
|
-
this.dialogRef.close(this.result);
|
|
31
|
-
}
|
|
32
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ConfirmModalComponent, deps: [{ token: i1.ModalRef }, { token: MODAL_DATA }, { token: MODAL_CONFIG }], target: i0.ɵɵFactoryTarget.Component });
|
|
33
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ConfirmModalComponent, isStandalone: true, selector: "mrx-confirm-modal", usesInheritance: true, ngImport: i0, template: "<mrx-modal\r\n [customClasses]=\"config.customClasses || ''\"\r\n [title]=\"model.title\"\r\n [message]=\"model.message\"\r\n [color]=\"config.color || 'default'\"\r\n size=\"small\"\r\n (close)=\"close()\"\r\n (ok)=\"ok()\"\r\n>\r\n <ng-template #footerContent>\r\n <mrx-button\r\n [customClasses]=\"'mr-3'\"\r\n [type]=\"'secondary'\"\r\n [size]=\"'medium'\"\r\n [color]=\"config.color || 'default'\"\r\n (click)=\"cancel()\"\r\n >\r\n {{ config.cancelText || '\u041E\u0442\u043C\u0435\u043D\u0430' }}\r\n </mrx-button>\r\n <mrx-button\r\n [type]=\"'primary'\"\r\n [size]=\"'medium'\"\r\n [color]=\"config.color || 'default'\"\r\n (click)=\"ok()\"\r\n >\r\n {{ config.okText || '\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C' }}\r\n </mrx-button>\r\n </ng-template>\r\n</mrx-modal>\r\n", styles: [""], dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i2.ButtonComponent, selector: "mrx-button", inputs: ["size", "type", "color", "iconPosition", "active", "disabled", "isLoading", "iconOnly", "customClasses", "label", "icon", "iconClass", "buttonType"], outputs: ["mrxClick"] }, { kind: "ngmodule", type: ModalModule }, { kind: "component", type: i3.ModalComponent, selector: "mrx-modal", inputs: ["title", "message", "okText", "closeText", "size", "color", "customClasses", "expandable", "isEmbed", "isClose", "isBack", "backText", "enableFooter", "alignButtons", "isLoading", "iconPosition"], outputs: ["ok", "close", "back"] }] });
|
|
34
|
-
}
|
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ConfirmModalComponent, decorators: [{
|
|
36
|
-
type: Component,
|
|
37
|
-
args: [{ selector: 'mrx-confirm-modal', standalone: true, imports: [
|
|
38
|
-
ButtonModule,
|
|
39
|
-
ModalModule
|
|
40
|
-
], template: "<mrx-modal\r\n [customClasses]=\"config.customClasses || ''\"\r\n [title]=\"model.title\"\r\n [message]=\"model.message\"\r\n [color]=\"config.color || 'default'\"\r\n size=\"small\"\r\n (close)=\"close()\"\r\n (ok)=\"ok()\"\r\n>\r\n <ng-template #footerContent>\r\n <mrx-button\r\n [customClasses]=\"'mr-3'\"\r\n [type]=\"'secondary'\"\r\n [size]=\"'medium'\"\r\n [color]=\"config.color || 'default'\"\r\n (click)=\"cancel()\"\r\n >\r\n {{ config.cancelText || '\u041E\u0442\u043C\u0435\u043D\u0430' }}\r\n </mrx-button>\r\n <mrx-button\r\n [type]=\"'primary'\"\r\n [size]=\"'medium'\"\r\n [color]=\"config.color || 'default'\"\r\n (click)=\"ok()\"\r\n >\r\n {{ config.okText || '\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C' }}\r\n </mrx-button>\r\n </ng-template>\r\n</mrx-modal>\r\n" }]
|
|
41
|
-
}], ctorParameters: () => [{ type: i1.ModalRef }, { type: undefined, decorators: [{
|
|
42
|
-
type: Inject,
|
|
43
|
-
args: [MODAL_DATA]
|
|
44
|
-
}] }, { type: undefined, decorators: [{
|
|
45
|
-
type: Inject,
|
|
46
|
-
args: [MODAL_CONFIG]
|
|
47
|
-
}] }] });
|
|
48
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlybS1tb2RhbC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9teXJ0YS11aS9zcmMvbGliL3NlcnZpY2VzL21vZGFsLXNlcnZpY2UvY29tcG9uZW50cy9jb25maXJtLW1vZGFsL2NvbmZpcm0tbW9kYWwuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9zZXJ2aWNlcy9tb2RhbC1zZXJ2aWNlL2NvbXBvbmVudHMvY29uZmlybS1tb2RhbC9jb25maXJtLW1vZGFsLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRWxELE9BQU8sRUFBRSxZQUFZLEVBQUUsVUFBVSxFQUFFLE1BQU0sNEJBQTRCLENBQUM7QUFFdEUsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sK0JBQStCLENBQUM7QUFDdEUsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLDZDQUE2QyxDQUFDO0FBQzNFLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSwyQ0FBM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Lm9rVGV4dCB8fCAn0KHQvtGF0YDQsNC90LjRgtGMJyB9fVxyXG4gICAgPC9tcngtYnV0dG9uPlxyXG4gIDwvbmctdGVtcGxhdGU+XHJcbjwvbXJ4LW1vZGFsPlxyXG4iXX0=
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export * from './modal-tokens';
|
|
2
|
-
export * from './modal.component';
|
|
3
|
-
export * from './modal-default-config';
|
|
4
|
-
export * from './modal-ref';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9teXJ0YS11aS9zcmMvbGliL3NlcnZpY2VzL21vZGFsLXNlcnZpY2UvaGVscGVycy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGdCQUFnQixDQUFDO0FBQy9CLGNBQWMsbUJBQW1CLENBQUM7QUFDbEMsY0FBYyx3QkFBd0IsQ0FBQztBQUN2QyxjQUFjLGFBQWEsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbW9kYWwtdG9rZW5zJztcclxuZXhwb3J0ICogZnJvbSAnLi9tb2RhbC5jb21wb25lbnQnO1xyXG5leHBvcnQgKiBmcm9tICcuL21vZGFsLWRlZmF1bHQtY29uZmlnJztcclxuZXhwb3J0ICogZnJvbSAnLi9tb2RhbC1yZWYnO1xyXG4iXX0=
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export const defaultConfig = {
|
|
2
|
-
closeOnEscape: false,
|
|
3
|
-
closeOnClickOutside: false,
|
|
4
|
-
panelClass: [],
|
|
5
|
-
hasBackdrop: true
|
|
6
|
-
};
|
|
7
|
-
export const defaultCustomConfig = {
|
|
8
|
-
color: 'default',
|
|
9
|
-
closeOnEscape: false,
|
|
10
|
-
closeO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IHRydWVcclxufTtcclxuXHJcbmV4cG9ydCBjb25zdCBkZWZhdWx0Q3VzdG9tQ29uZmlnOiBNb2RhbEN1c3RvbUNvbmZpZyA9IHtcclxuICBjb2xvcjogJ2RlZmF1bHQnLFxyXG4gIGNsb3NlT25Fc2NhcGU6IGZhbHNlLFxyXG4gIGNsb3NlT25DbGlja091dHNpZGU6IGZhbHNlLFxyXG4gIHBhbmVsQ2xhc3M6IFtdLFxyXG4gIGhhc0JhY2tkcm9wOiB0cnVlXHJcbn07XHJcbiJdfQ==
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { Subject, filter } from 'rxjs';
|
|
2
|
-
export class ModalRef {
|
|
3
|
-
overlayRef;
|
|
4
|
-
config;
|
|
5
|
-
afterClosedSubject = new Subject();
|
|
6
|
-
constructor(overlayRef, config) {
|
|
7
|
-
this.overlayRef = overlayRef;
|
|
8
|
-
this.config = config;
|
|
9
|
-
if (config.closeOnClickOutside) {
|
|
10
|
-
this.overlayRef.backdropClick().subscribe(() => {
|
|
11
|
-
this.close(undefined);
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
if (config.closeOnEscape) {
|
|
15
|
-
this.overlayRef.keydownEvents().pipe(filter(event => event.key === 'Escape')).subscribe(() => {
|
|
16
|
-
this.close(undefined);
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
close(result) {
|
|
21
|
-
this.overlayRef.dispose();
|
|
22
|
-
this.afterClosedSubject.next(result);
|
|
23
|
-
this.afterClosedSubject.complete();
|
|
24
|
-
}
|
|
25
|
-
afterClosed() {
|
|
26
|
-
return this.afterClosedSubject.asObservable();
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kYWwtcmVmLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHM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Wx0ZXIoZXZlbnQgPT4gZXZlbnQua2V5ID09PSAnRXNjYXBlJylcclxuICAgICAgKS5zdWJzY3JpYmUoKCkgPT4ge1xyXG4gICAgICAgIHRoaXMuY2xvc2UodW5kZWZpbmVkKTtcclxuICAgICAgfSk7XHJcbiAgICB9XHJcbiAgfVxyXG5cclxuICBwdWJsaWMgY2xvc2UocmVzdWx0PzogVDEpIHtcclxuICAgIHRoaXMub3ZlcmxheVJlZi5kaXNwb3NlKCk7XHJcbiAgICB0aGlzLmFmdGVyQ2xvc2VkU3ViamVjdC5uZXh0KHJlc3VsdCk7XHJcbiAgICB0aGlzLmFmdGVyQ2xvc2VkU3ViamVjdC5jb21wbGV0ZSgpO1xyXG4gIH1cclxuXHJcbiAgcHVibGljIGFmdGVyQ2xvc2VkKCk6IE9ic2VydmFibGU8VDE+IHtcclxuICAgIHJldHVybiB0aGlzLmFmdGVyQ2xvc2VkU3ViamVjdC5hc09ic2VydmFibGUoKTtcclxuICB9XHJcbn1cclxuIl19
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
export const MODAL_DATA = new InjectionToken('MODAL_DATA');
|
|
3
|
-
export const MODAL_CONFIG = new InjectionToken('MODAL_CONFIG');
|
|
4
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kYWwtdG9rZW5zLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9zZXJ2aWNlcy9tb2RhbC1zZXJ2aWNlL2hlbHBlcnMvbW9kYWwtdG9rZW5zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFL0MsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHLElBQUksY0FBYyxDQUFNLFlBQVksQ0FBQyxDQUFDO0FBQ2hFLE1BQU0sQ0FBQyxNQUFNLFlBQVksR0FBRyxJQUFJLGNBQWMsQ0FBTSxjQUFjLENBQUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEluamVjdGlvblRva2VuIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcblxyXG5leHBvcnQgY29uc3QgTU9EQUxfREFUQSA9IG5ldyBJbmplY3Rpb25Ub2tlbjxhbnk+KCdNT0RBTF9EQVRBJyk7XHJcbmV4cG9ydCBjb25zdCBNT0RBTF9DT05GSUcgPSBuZXcgSW5qZWN0aW9uVG9rZW48YW55PignTU9EQUxfQ09ORklHJyk7XHJcbiJdfQ==
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export class ModalServiceComponent {
|
|
2
|
-
result;
|
|
3
|
-
}
|
|
4
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kYWwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9zZXJ2aWNlcy9tb2RhbC1zZXJ2aWNlL2hlbHBlcnMvbW9kYWwuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sT0FBTyxxQkFBcUI7SUFDaEMsTUFBTSxDQUFjO0NBQ3JCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNsYXNzIE1vZGFsU2VydmljZUNvbXBvbmVudDxEYXRhSW5wdXQsIERhdGFPdXRwdXQ+IHtcclxuICByZXN1bHQhOiBEYXRhT3V0cHV0O1xyXG59XHJcbiJdfQ==
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { AlertModalComponent } from './components/alert-modal/alert-modal.component';
|
|
4
|
-
import { ConfirmModalComponent } from './components/confirm-modal/confirm-modal.component';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export class ModalServiceModule {
|
|
7
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ModalServiceModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
8
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: ModalServiceModule, imports: [CommonModule,
|
|
9
|
-
AlertModalComponent,
|
|
10
|
-
ConfirmModalComponent] });
|
|
11
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ModalServiceModule, imports: [CommonModule,
|
|
12
|
-
AlertModalComponent,
|
|
13
|
-
ConfirmModalComponent] });
|
|
14
|
-
}
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ModalServiceModule, decorators: [{
|
|
16
|
-
type: NgModule,
|
|
17
|
-
args: [{
|
|
18
|
-
imports: [
|
|
19
|
-
CommonModule,
|
|
20
|
-
AlertModalComponent,
|
|
21
|
-
ConfirmModalComponent
|
|
22
|
-
]
|
|
23
|
-
}]
|
|
24
|
-
}] });
|
|
25
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kYWwtc2VydmljZS5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9teXJ0YS11aS9zcmMvbGliL3NlcnZpY2VzL21vZGFsLXNlcnZpY2UvbW9kYWwtc2VydmljZS5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRS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HJcbn0pXHJcbmV4cG9ydCBjbGFzcyBNb2RhbFNlcnZpY2VNb2R1bGUgeyB9XHJcbiJdfQ==
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { Injectable, Injector } from '@angular/core';
|
|
2
|
-
import { ComponentPortal } from '@angular/cdk/portal';
|
|
3
|
-
import { ModalRef } from './helpers/modal-ref';
|
|
4
|
-
import { MODAL_CONFIG, MODAL_DATA } from './helpers/modal-tokens';
|
|
5
|
-
import { defaultConfig, defaultCustomConfig } from './helpers/modal-default-config';
|
|
6
|
-
import { AlertModalComponent } from './components/alert-modal/alert-modal.component';
|
|
7
|
-
import { ConfirmModalComponent } from './components/confirm-modal/confirm-modal.component';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
import * as i1 from "@angular/cdk/overlay";
|
|
10
|
-
export class ModalService {
|
|
11
|
-
overlay;
|
|
12
|
-
injector;
|
|
13
|
-
constructor(overlay, injector) {
|
|
14
|
-
this.overlay = overlay;
|
|
15
|
-
this.injector = injector;
|
|
16
|
-
}
|
|
17
|
-
open(component, data, config = defaultConfig) {
|
|
18
|
-
return this.createModal(component, data, config);
|
|
19
|
-
}
|
|
20
|
-
openAlert(data, config = defaultCustomConfig) {
|
|
21
|
-
return this.createDefaultModal(AlertModalComponent, data, config);
|
|
22
|
-
}
|
|
23
|
-
openConfirm(data, config = defaultCustomConfig) {
|
|
24
|
-
return this.createDefaultModal(ConfirmModalComponent, data, config);
|
|
25
|
-
}
|
|
26
|
-
createModal(component, data, config) {
|
|
27
|
-
const positionStrategy = this.overlay
|
|
28
|
-
.position()
|
|
29
|
-
.global()
|
|
30
|
-
.centerHorizontally()
|
|
31
|
-
.centerVertically();
|
|
32
|
-
const overlayRef = this.overlay.create({
|
|
33
|
-
positionStrategy,
|
|
34
|
-
hasBackdrop: true,
|
|
35
|
-
backdropClass: 'mrx-modal',
|
|
36
|
-
panelClass: 'mrx-modal'
|
|
37
|
-
});
|
|
38
|
-
const dialogRef = new ModalRef(overlayRef, config);
|
|
39
|
-
const injector = Injector.create({
|
|
40
|
-
parent: this.injector,
|
|
41
|
-
providers: [
|
|
42
|
-
{ provide: (ModalRef), useValue: dialogRef },
|
|
43
|
-
{ provide: MODAL_DATA, useValue: data },
|
|
44
|
-
],
|
|
45
|
-
});
|
|
46
|
-
const portal = new ComponentPortal(component, null, injector);
|
|
47
|
-
overlayRef.attach(portal);
|
|
48
|
-
return dialogRef;
|
|
49
|
-
}
|
|
50
|
-
createDefaultModal(component, data, config) {
|
|
51
|
-
const positionStrategy = this.overlay
|
|
52
|
-
.position()
|
|
53
|
-
.global()
|
|
54
|
-
.centerHorizontally()
|
|
55
|
-
.centerVertically();
|
|
56
|
-
const overlayRef = this.overlay.create({
|
|
57
|
-
positionStrategy,
|
|
58
|
-
hasBackdrop: true,
|
|
59
|
-
backdropClass: 'mrx-modal',
|
|
60
|
-
panelClass: 'mrx-modal'
|
|
61
|
-
});
|
|
62
|
-
const dialogRef = new ModalRef(overlayRef, config);
|
|
63
|
-
const injector = Injector.create({
|
|
64
|
-
parent: this.injector,
|
|
65
|
-
providers: [
|
|
66
|
-
{ provide: (ModalRef), useValue: dialogRef },
|
|
67
|
-
{ provide: MODAL_DATA, useValue: data },
|
|
68
|
-
{ provide: MODAL_CONFIG, useValue: config },
|
|
69
|
-
],
|
|
70
|
-
});
|
|
71
|
-
const portal = new ComponentPortal(component, null, injector);
|
|
72
|
-
overlayRef.attach(portal);
|
|
73
|
-
return dialogRef;
|
|
74
|
-
}
|
|
75
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ModalService, deps: [{ token: i1.Overlay }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
76
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ModalService, providedIn: 'root' });
|
|
77
|
-
}
|
|
78
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ModalService, decorators: [{
|
|
79
|
-
type: Injectable,
|
|
80
|
-
args: [{
|
|
81
|
-
providedIn: 'root'
|
|
82
|
-
}]
|
|
83
|
-
}], ctorParameters: () => [{ type: i1.Overlay }, { type: i0.Injector }] });
|
|
84
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kYWwtc2VydmljZS5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9zZXJ2aWNlcy9tb2RhbC1zZXJ2aWNlL21vZGFsLXNlcnZpY2Uuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLFFBQVEsRUFBUSxNQUFNLGVBQWUsQ0FBQztBQUUzRCxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDdEQsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLHFCQUFxQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxZQUFZLEVBQUUsVUFBVSxFQUFFLE1BQU0sd0JBQXdCLENBQUM7QUFDbEUsT0FBTyxFQUFFLGFBQWEsRUFBRSxtQkFBbUIsRUFBRSxNQUFNLGdDQUFnQyxDQUFDO0FBRXBGLE9BQU8sRUFDTCxtQkFBbUIsRUFHcEIsTUFBTSxnREFBZ0QsQ0FBQztBQUV4RCxPQUFPLEVBQ0wscUJBQXFCLEVBR3RCLE1BQU0sb0RBQW9ELENBQUM7OztBQUs1RCxNQUFNLE9BQU8sWUFBWTtJQUNIO0lBQTBCO0lBQTlDLFlBQW9CLE9BQWdCLEVBQVUsUUFBa0I7UUFBNUMsWUFBTyxHQUFQLE9BQU8sQ0FBUztRQUFVLGFBQVEsR0FBUixRQUFRLENBQV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 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kYWwtY29uZmlnLm1vZGVsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9zZXJ2aWNlcy9tb2RhbC1zZXJ2aWNlL21vZGVscy9tb2RhbC1jb25maWcubW9kZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE1vZGFsQ29sb3JUeXBlcyB9IGZyb20gJy4uLy4uLy4uL2NvbXBvbmVudHMvbW9kYWwvbW9kYWwuZW11bic7XHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIE1vZGFsQ29uZmlnIHtcclxuICBjbG9zZU9uRXNjYXBlPzogYm9vbGVhbjtcclxuICBjbG9zZU9uQ2xpY2tPdXRzaWRlPzogYm9vbGVhbjtcclxuICBwYW5lbENsYXNzPzogc3RyaW5nIHwgc3RyaW5nW107XHJcbiAgaGFzQmFja2Ryb3A/OiBib29sZWFuO1xyXG4gIGN1c3RvbUNsYXNzZXM/OiBzdHJpbmc7XHJcbn1cclxuXHJcbmV4cG9ydCBpbnRlcmZhY2UgTW9kYWxDdXN0b21Db25maWcgZXh0ZW5kcyBNb2RhbENvbmZpZyB7XHJcbiAgY29sb3I/OiBNb2RhbENvbG9yVHlwZXM7XHJcbiAgb2tUZXh0Pzogc3RyaW5nO1xyXG4gIGNhbmNlbFRleHQ/OiBzdHJpbmc7XHJcbiAgZGVmYXVsdFZhbHVlPzogYW55O1xyXG59XHJcbiJdfQ==
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class MrxAutosaveService {
|
|
4
|
-
_fields = [];
|
|
5
|
-
stoppedTimer;
|
|
6
|
-
addId(id) {
|
|
7
|
-
const isFind = this._fields.some((field) => field.id === id);
|
|
8
|
-
clearTimeout(this.stoppedTimer);
|
|
9
|
-
if (!isFind) {
|
|
10
|
-
this._fields.push({ id: id, state: 'stopped' });
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
start() {
|
|
14
|
-
this._fields = this._fields.filter((field) => field.state !== 'saved').map((field) => ({ ...field, state: 'saving' }));
|
|
15
|
-
}
|
|
16
|
-
success() {
|
|
17
|
-
this._fields = this._fields.map((field) => ({ ...field, state: 'saved' }));
|
|
18
|
-
this.stoppedTimer = setTimeout(() => {
|
|
19
|
-
this.stop();
|
|
20
|
-
}, 2000);
|
|
21
|
-
}
|
|
22
|
-
stop() {
|
|
23
|
-
this._fields = this._fields.map((field) => ({ ...field, state: 'stopped' }));
|
|
24
|
-
setTimeout(() => {
|
|
25
|
-
this._fields.length = 0;
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
error() {
|
|
29
|
-
this._fields = this._fields.map((field) => ({ ...field, state: 'error' }));
|
|
30
|
-
this.stoppedTimer = setTimeout(() => {
|
|
31
|
-
this.stop();
|
|
32
|
-
}, 2000);
|
|
33
|
-
}
|
|
34
|
-
get fields() {
|
|
35
|
-
return this._fields;
|
|
36
|
-
}
|
|
37
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MrxAutosaveService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
38
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MrxAutosaveService });
|
|
39
|
-
}
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MrxAutosaveService, decorators: [{
|
|
41
|
-
type: Injectable
|
|
42
|
-
}] });
|
|
43
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJz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9XHJcbn1cclxuIl19
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export const INVALID_MESSAGES = {
|
|
2
|
-
required: () => 'Поле обязательно для заполнения',
|
|
3
|
-
maxLength: (length) => `Максимальное кол-во символов ${length}`,
|
|
4
|
-
minLength: (length) => `Минимальное кол-во символов ${length}`,
|
|
5
|
-
maxValue: (value) => `Максимальное значение ${value}`,
|
|
6
|
-
minValue: (value) => `Минимальное значение ${value}`,
|
|
7
|
-
email: () => 'Указан некорректный адрес электронной почты',
|
|
8
|
-
pattern: () => 'Указано некорректное значение',
|
|
9
|
-
};
|
|
10
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW52YWxpZC1tZXNzYWdlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL215cnRhLXVpL3NyYy9saWIvc2VydmljZXMvbXJ4LWZvcm0tdmFsaWRhdG9yL2NvbnN0YW50cy9pbnZhbGlkLW1lc3NhZ2VzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBQyxNQUFNLGdCQUFnQixHQUFHO0lBQzlCLFFBQVEsRUFBRSxHQUFHLEVBQUUsQ0FBQyxpQ0FBaUM7SUFDakQsU0FBUyxFQUFFLENBQUMsTUFBYyxFQUFFLEVBQUUsQ0FBQyxnQ0FBZ0MsTUFBTSxFQUFFO0lBQ3ZFLFNBQVMsRUFBRSxDQUFDLE1BQWMsRUFBRSxFQUFFLENBQUMsK0JBQStCLE1BQU0sRUFBRTtJQUN0RSxRQUFRLEVBQUUsQ0FBQyxLQUFhLEVBQUUsRUFBRSxDQUFDLHlCQUF5QixLQUFLLEVBQUU7SUFDN0QsUUFBUSxFQUFFLENBQUMsS0FBYSxFQUFFLEVBQUUsQ0FBQyx3QkFBd0IsS0FBSyxFQUFFO0lBQzVELEtBQUssRUFBRS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
|
1
|
-
export const getErrorMessageHelper = (key, invalidMessages, messages, params) => {
|
|
2
|
-
const message = messages?.[key] ? messages[key] : invalidMessages[key];
|
|
3
|
-
if (typeof message === 'function') {
|
|
4
|
-
return message(params);
|
|
5
|
-
}
|
|
6
|
-
else {
|
|
7
|
-
return message;
|
|
8
|
-
}
|
|
9
|
-
};
|
|
10
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWVycm9yLW1lc3NhZ2UuaGVscGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9zZXJ2aWNlcy9tcngtZm9ybS12YWxpZGF0b3IvaGVscGVycy9nZXQtZXJyb3ItbWVzc2FnZS5oZWxwZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBR0EsTUFBTSxDQUFDLE1BQU0scUJBQXFCLEdBQUcsQ0FDbkMsR0FBd0IsRUFDeEIsZUFBMEIsRUFDMUIsUUFBK0IsRUFDL0IsTUFBWSxFQUNKLEVBQUU7SUFDVixNQUFNLE9BQU8sR0FBRyxRQUFRLEVBQUUsQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUFDLENBQUMsUUFBUSxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQUMsQ0FBQyxlQUFlLENBQUMsR0FBRyxDQUFDLENBQUM7SUFFdkUsSUFBSSxPQUFPLE9BQU8sS0FBSyxVQUFVLEVBQUUsQ0FBQztRQUNsQyxPQUFRLE9BQU8sQ0FBQyxNQUFNLENBQUMsQ0FBQztJQUMxQixDQUFDO1NBQU0sQ0FBQztRQUNOLE9BQVEsT0FBTyxDQUFDO0lBQ2xCLENBQUM7QUFDSCxDQUFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBWYWxpZGF0aW9uVHlwZXNFbnVtIH0gZnJvbSAnLi4vbW9kZWxzL3ZhbGlkYXRpb25zLXR5cGVzLm1vZGVsJztcclxuaW1wb3J0IHsgSU1lc3NhZ2VzIH0gZnJvbSAnLi4vbW9kZWxzL3ZhbGlkYXRpb25zLW9wdGlvbnMubW9kZWwnO1xyXG5cclxuZXhwb3J0IGNvbnN0IGdldEVycm9yTWVzc2FnZUhlbHBlciA9IChcclxuICBrZXk6IFZhbGlkYXRpb25UeXBlc0VudW0sIFxyXG4gIGludmFsaWRNZXNzYWdlczogSU1lc3NhZ2VzLCBcclxuICBtZXNzYWdlczogSU1lc3NhZ2VzIHwgdW5kZWZpbmVkLCBcclxuICBwYXJhbXM/OiBhbnlcclxuKTogc3RyaW5nID0+IHtcclxuICBjb25zdCBtZXNzYWdlID0gbWVzc2FnZXM/LltrZXldID8gbWVzc2FnZXNba2V5XSA6IGludmFsaWRNZXNzYWdlc1trZXldO1xyXG5cclxuICBpZiAodHlwZW9mIG1lc3NhZ2UgPT09ICdmdW5jdGlvbicpIHtcclxuICAgIHJldHVybiAgbWVzc2FnZShwYXJhbXMpO1xyXG4gIH0gZWxzZSB7XHJcbiAgICByZXR1cm4gIG1lc3NhZ2U7XHJcbiAgfVxyXG59O1xyXG4iXX0=
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { ValidationOptionsEnum, ValidationTypesEnum } from '../models';
|
|
2
|
-
export const getSortingValidationsHelper = (validation) => {
|
|
3
|
-
const sortedValidatorsConstant = [
|
|
4
|
-
ValidationTypesEnum.MaxValue,
|
|
5
|
-
ValidationTypesEnum.MinValue,
|
|
6
|
-
ValidationTypesEnum.MaxLength,
|
|
7
|
-
ValidationTypesEnum.MinLength,
|
|
8
|
-
ValidationTypesEnum.Email,
|
|
9
|
-
ValidationTypesEnum.Required,
|
|
10
|
-
ValidationTypesEnum.Pattern,
|
|
11
|
-
ValidationTypesEnum.Callback,
|
|
12
|
-
ValidationOptionsEnum.Type,
|
|
13
|
-
ValidationOptionsEnum.Messages
|
|
14
|
-
];
|
|
15
|
-
const sortedValidators = {};
|
|
16
|
-
for (let key of sortedValidatorsConstant) {
|
|
17
|
-
if (validation.hasOwnProperty(key)) {
|
|
18
|
-
sortedValidators[key] = validation[key];
|
|
19
|
-
}
|
|
20
|
-
else {
|
|
21
|
-
if (key === 'type') {
|
|
22
|
-
validation.type = 'single';
|
|
23
|
-
sortedValidators.type = 'single';
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
return sortedValidators;
|
|
28
|
-
};
|
|
29
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LXNvcnRpbmctdmFsaWRhdGlvbnMuaGVscGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9zZXJ2aWNlcy9tcngtZm9ybS12YWxpZGF0b3IvaGVscGVycy9nZXQtc29ydGluZy12YWxpZGF0aW9ucy5oZWxwZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHFCQUFxQixFQUFFLG1CQUFtQixFQUFtQixNQUFNLFdBQVcsQ0FBQztBQUV4RixNQUFNLENBQUMsTUFBTSwyQkFBMkIsR0FBRyxDQUFDLFVBQTJCLEVBQW1CLEVBQUU7SUFDMUYsTUFBTSx3QkFBd0IsR0FBRztRQUMvQixtQkFBbUIsQ0FBQyxRQUFRO1FBQzVCLG1CQUFtQixDQUFDLFFBQVE7UUFDNUIsbUJBQW1CLENBQUMsU0FBUztRQUM3QixtQkFBbUIsQ0FBQyxTQUFTO1FBQzdCLG1CQUFtQixDQUFDLEtBQUs7UUFDekIsbUJBQW1CLENBQUMsUUFBUTtRQUM1QixtQkFBbUIsQ0FBQyxPQUFPO1FBQzNCLG1CQUFtQixDQUFDLFFBQVE7UUFDNUIscUJBQXFCLENBQUMsSUFBSTtRQUMxQix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xpZGF0aW9uVHlwZXNFbnVtLk1pbkxlbmd0aCxcclxuICAgIFZhbGlkYXRpb25UeXBlc0VudW0uRW1haWwsXHJcbiAgICBWYWxpZGF0aW9uVHlwZXNFbnVtLlJlcXVpcmVkLFxyXG4gICAgVmFsaWRhdGlvblR5cGVzRW51bS5QYXR0ZXJuLFxyXG4gICAgVmFsaWRhdGlvblR5cGVzRW51bS5DYWxsYmFjayxcclxuICAgIFZhbGlkYXRpb25PcHRpb25zRW51bS5UeXBlLFxyXG4gICAgVmFsaWRhdGlvbk9wdGlvbnNFbnVtLk1lc3NhZ2VzXHJcbiAgXVxyXG4gIGNvbnN0IHNvcnRlZFZhbGlkYXRvcnM6IGFueSA9IHt9XHJcblxyXG4gIGZvciAobGV0IGtleSBvZiBzb3J0ZWRWYWxpZGF0b3JzQ29uc3RhbnQpIHtcclxuICAgIGlmICh2YWxpZGF0aW9uLmhhc093blByb3BlcnR5KGtleSkpIHtcclxuICAgICAgc29ydGVkVmFsaWRhdG9yc1trZXldID0gdmFsaWRhdGlvbltrZXldXHJcbiAgICB9IGVsc2Uge1xyXG4gICAgICBpZiAoa2V5ID09PSAndHlwZScpIHtcclxuICAgICAgICB2YWxpZGF0aW9uLnR5cGUgPSAnc2luZ2xlJ1xyXG4gICAgICAgIHNvcnRlZFZhbGlkYXRvcnMudHlwZSA9ICdzaW5nbGUnXHJcbiAgICAgIH1cclxuICAgIH1cclxuICB9XHJcblxyXG4gIHJldHVybiBzb3J0ZWRWYWxpZGF0b3JzXHJcbn1cclxuIl19
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export * from './validations-options.model';
|
|
2
|
-
export * from './validations-settings.model';
|
|
3
|
-
export * from './validations-types.model';
|
|
4
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9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URL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsaWRhdGlvbnMtc2V0dGluZ3MubW9kZWwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9teXJ0YS11aS9zcmMvbGliL3NlcnZpY2VzL21yeC1mb3JtLXZhbGlkYXRvci9tb2RlbHMvdmFsaWRhdGlvbnMtc2V0dGluZ3MubW9kZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB0eXBlIE9wdGlvbk1ldGhvZFR5cGUgPSAnc3VibWl0JyB8ICdpbnB1dCdcclxuZXhwb3J0IHR5cGUgT3B0aW9uQ2xlYXJUeXBlID0gJ2FsbCcgfCAnc2VsZWN0ZWQnXHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIEZvcm1WYWxpZGF0b3JPcHRpb25zIHtcclxuICBtZXRob2Q/OiBPcHRpb25NZXRob2RUeXBlXHJcbiAgY2xlYXI/OiBPcHRpb25DbGVhclR5cGUsXHJcbiAgbWVzc2FnZXM/OiBhbnlcclxufVxyXG4iXX0=
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export var ValidationTypesEnum;
|
|
2
|
-
(function (ValidationTypesEnum) {
|
|
3
|
-
ValidationTypesEnum["Required"] = "required";
|
|
4
|
-
ValidationTypesEnum["MaxLength"] = "maxLength";
|
|
5
|
-
ValidationTypesEnum["MinLength"] = "minLength";
|
|
6
|
-
ValidationTypesEnum["Email"] = "email";
|
|
7
|
-
ValidationTypesEnum["Pattern"] = "pattern";
|
|
8
|
-
ValidationTypesEnum["MaxValue"] = "maxValue";
|
|
9
|
-
ValidationTypesEnum["MinValue"] = "minValue";
|
|
10
|
-
ValidationTypesEnum["Callback"] = "callback";
|
|
11
|
-
})(ValidationTypesEnum || (ValidationTypesEnum = {}));
|
|
12
|
-
export var ValidationOptionsEnum;
|
|
13
|
-
(function (ValidationOptionsEnum) {
|
|
14
|
-
ValidationOptionsEnum["Type"] = "type";
|
|
15
|
-
ValidationOptionsEnum["Messages"] = "messages";
|
|
16
|
-
})(ValidationOptionsEnum || (ValidationOptionsEnum = {}));
|
|
17
|
-
export var ValidationMethodsEnum;
|
|
18
|
-
(function (ValidationMethodsEnum) {
|
|
19
|
-
ValidationMethodsEnum["Submit"] = "submit";
|
|
20
|
-
ValidationMethodsEnum["Input"] = "input";
|
|
21
|
-
})(ValidationMethodsEnum || (ValidationMethodsEnum = {}));
|
|
22
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsaWRhdGlvbnMtdHlwZXMubW9kZWwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9teXJ0YS11aS9zcmMvbGliL3NlcnZpY2VzL21yeC1mb3JtLXZhbGlkYXRvci9tb2RlbHMvdmFsaWRhdGlvbnMtdHlwZXMubW9kZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksbUJBU1g7QUFURCxXQUFZLG1CQUFtQjtJQUM3Qiw0Q0FBcUIsQ0FBQTtJQUNyQiw4Q0FBdUIsQ0FBQTtJQUN2Qiw4Q0FBdUIsQ0FBQTtJQUN2QixzQ0FBZSxDQUFBO0lBQ2YsMENBQW1CLENBQUE7SUFDbkIsNENBQXFCLENBQUE7SUFDckIsNENBQXFCLENBQUE7SUFDckIsNENBQXFCLENBQUE7QUFDdkIsQ0FBQyxFQVRXLG1CQUFtQixLQUFuQixtQkFBbUIsUUFTOUI7QUFFRCxNQUFNLENBQU4sSUFBWSxxQkFHWDtBQUhELFdBQVkscUJBQXFCO0lBQy9CLHNDQUFhLENBQUE7SUFDYiw4Q0FBcUIsQ0FBQTtBQUN2QixDQUFDLEVBSFcscUJBQXFCLEtBQXJCLHFC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