myrta-ui 17.0.19 → 17.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.browserslistrc +16 -0
- package/karma.conf.js +44 -0
- package/ng-package.json +28 -0
- package/package.json +47 -61
- package/src/lib/components/alert/alert.component.html +17 -0
- package/src/lib/components/alert/alert.component.less +2 -0
- package/src/lib/components/alert/alert.component.ts +30 -0
- package/src/lib/components/alert/alert.enum.ts +15 -0
- package/src/lib/components/alert/alert.module.ts +11 -0
- package/src/lib/components/alert/assets/alert-colors.less +29 -0
- package/src/lib/components/alert/assets/alert.less +32 -0
- package/src/lib/components/badges/badge.enum.ts +45 -0
- package/src/lib/components/badges/badges.module.ts +21 -0
- package/src/lib/components/badges/components/badge/assets/badge-colors.less +62 -0
- package/src/lib/components/badges/components/badge/assets/badge-tag.less +12 -0
- package/src/lib/components/badges/components/badge/assets/badge-types.less +26 -0
- package/src/lib/components/badges/components/badge/assets/badge.less +7 -0
- package/src/lib/components/badges/components/badge/badge.component.html +28 -0
- package/src/lib/components/badges/components/badge/badge.component.less +4 -0
- package/src/lib/components/badges/components/badge/badge.component.ts +55 -0
- package/src/lib/components/badges/components/badge-group/badge-group.component.html +3 -0
- package/src/lib/components/badges/components/badge-group/badge-group.component.less +5 -0
- package/src/lib/components/badges/components/badge-group/badge-group.component.ts +11 -0
- package/src/lib/components/breadcrumbs/assets/breadcrumbs.less +50 -0
- package/src/lib/components/breadcrumbs/breadcrumbs.component.html +51 -0
- package/src/lib/components/breadcrumbs/breadcrumbs.component.less +1 -0
- package/src/lib/components/breadcrumbs/breadcrumbs.component.ts +19 -0
- package/src/lib/components/breadcrumbs/breadcrumbs.enum.ts +15 -0
- package/src/lib/components/breadcrumbs/breadcrumbs.module.ts +22 -0
- package/src/lib/components/button/assets/button-colors.less +309 -0
- package/src/lib/components/button/assets/button-disabled.less +96 -0
- package/src/lib/components/button/assets/button-icon-loading.less +21 -0
- package/src/lib/components/button/assets/button-primary.less +56 -0
- package/src/lib/components/button/assets/button-secondary.less +169 -0
- package/src/lib/components/button/assets/button-sizes.less +71 -0
- package/src/lib/components/button/assets/button-tertiary.less +166 -0
- package/src/lib/components/button/assets/button-with-icon.less +64 -0
- package/src/lib/components/button/assets/button.less +12 -0
- package/src/lib/components/button/button.component.html +81 -0
- package/src/lib/components/button/button.component.less +9 -0
- package/src/lib/components/button/button.component.ts +88 -0
- package/src/lib/components/button/button.enum.ts +35 -0
- package/src/lib/components/button/button.module.ts +13 -0
- package/src/lib/components/cdk-tooltip/cdk-tooltip/tooltip-container.component.html +10 -0
- package/src/lib/components/cdk-tooltip/cdk-tooltip/tooltip-container.component.less +128 -0
- package/src/lib/components/cdk-tooltip/cdk-tooltip/tooltip-container.component.ts +26 -0
- package/src/lib/components/cdk-tooltip/cdk-tooltip.directive.ts +82 -0
- package/src/lib/components/cdk-tooltip/cdk-tooltip.module.ts +14 -0
- package/src/lib/components/cdk-tooltip/constants/index.ts +94 -0
- package/src/lib/components/cdk-tooltip/models/tooltip-data.ts +8 -0
- package/src/lib/components/chars-left/chars-left.component.html +3 -0
- package/src/lib/components/chars-left/chars-left.component.less +11 -0
- package/src/lib/components/chars-left/chars-left.component.ts +17 -0
- package/src/lib/components/chars-left/chars-left.module.ts +11 -0
- package/src/lib/components/dropdown/assets/dropdown-menu.less +75 -0
- package/src/lib/components/dropdown/assets/dropdown-toggle.less +3 -0
- package/src/lib/components/dropdown/assets/dropdown.less +12 -0
- package/src/lib/components/dropdown/directives/hide-after-click.directive.ts +14 -0
- package/src/lib/components/dropdown/dropdown.component.html +14 -0
- package/src/lib/components/dropdown/dropdown.component.less +3 -0
- package/src/lib/components/dropdown/dropdown.component.ts +112 -0
- package/src/lib/components/dropdown/dropdown.module.ts +15 -0
- package/src/lib/components/error-message/error-message.component.html +9 -0
- package/src/lib/components/error-message/error-message.component.less +20 -0
- package/src/lib/components/error-message/error-message.component.ts +26 -0
- package/src/lib/components/error-message/error-message.module.ts +11 -0
- package/src/lib/components/form/checkbox/assets/checkbox-error.less +27 -0
- package/src/lib/components/form/checkbox/assets/checkbox-indeterminate.less +77 -0
- package/src/lib/components/form/checkbox/assets/checkbox-input-disabled.less +28 -0
- package/src/lib/components/form/checkbox/assets/checkbox-input.less +14 -0
- package/src/lib/components/form/checkbox/assets/checkbox-label.less +26 -0
- package/src/lib/components/form/checkbox/assets/checkbox-mark.less +54 -0
- package/src/lib/components/form/checkbox/assets/checkbox-wrapper.less +6 -0
- package/src/lib/components/form/checkbox/assets/checkbox.less +19 -0
- package/src/lib/components/form/checkbox/checkbox.component.html +46 -0
- package/src/lib/components/form/checkbox/checkbox.component.less +8 -0
- package/src/lib/components/form/checkbox/checkbox.component.ts +168 -0
- package/src/lib/components/form/checkbox/checkbox.enum.ts +12 -0
- package/src/lib/components/form/checkbox/checkbox.module.ts +14 -0
- package/src/lib/components/form/checkbox-group/checkbox-group.component.html +46 -0
- package/src/lib/components/form/checkbox-group/checkbox-group.component.less +36 -0
- package/src/lib/components/form/checkbox-group/checkbox-group.component.ts +211 -0
- package/src/lib/components/form/checkbox-group/checkbox-group.module.ts +27 -0
- package/src/lib/components/form/checkbox-group/components/checkbox-group-header/checkbox-group-header.component.html +16 -0
- package/src/lib/components/form/checkbox-group/components/checkbox-group-header/checkbox-group-header.component.less +5 -0
- package/src/lib/components/form/checkbox-group/components/checkbox-group-header/checkbox-group-header.component.ts +34 -0
- package/src/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.html +50 -0
- package/src/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.less +23 -0
- package/src/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.ts +107 -0
- package/src/lib/components/form/checkbox-group/helpers/change-group-value.ts +23 -0
- package/src/lib/components/form/checkbox-group/helpers/change-item-value.ts +18 -0
- package/src/lib/components/form/checkbox-group/helpers/filter-search-group.ts +29 -0
- package/src/lib/components/form/checkbox-group/helpers/get-checked-items.ts +23 -0
- package/src/lib/components/form/checkbox-group/helpers/get-inner-list.helper.ts +51 -0
- package/src/lib/components/form/checkbox-group/helpers/get-item-by-id.ts +11 -0
- package/src/lib/components/form/checkbox-group/helpers/get-sorted-list.ts +45 -0
- package/src/lib/components/form/checkbox-group/helpers/inner-list-to-list.helper.ts +15 -0
- package/src/lib/components/form/checkbox-group/models/checkbox-group.model.ts +32 -0
- package/src/lib/components/form/document-editor/components/document-editor-preview-modal/document-editor-preview-modal.component.html +20 -0
- package/src/lib/components/form/document-editor/components/document-editor-preview-modal/document-editor-preview-modal.component.ts +69 -0
- package/src/lib/components/form/document-editor/document-editor.component.html +41 -0
- package/src/lib/components/form/document-editor/document-editor.component.less +7 -0
- package/src/lib/components/form/document-editor/document-editor.component.ts +109 -0
- package/src/lib/components/form/document-editor/document-editor.module.ts +29 -0
- package/src/lib/components/form/document-editor/helpers/transform-sysname.ts +57 -0
- package/src/lib/components/form/document-editor/models/document-editor-short-codes.enum.ts +6 -0
- package/src/lib/components/form/editor/assets/editor-borders.less +29 -0
- package/src/lib/components/form/editor/assets/editor-clear-elements.less +5 -0
- package/src/lib/components/form/editor/assets/editor-clear-out-elements.less +46 -0
- package/src/lib/components/form/editor/assets/editor-error.less +33 -0
- package/src/lib/components/form/editor/assets/editor-popups.less +11 -0
- package/src/lib/components/form/editor/assets/editor-table.less +5 -0
- package/src/lib/components/form/editor/assets/editor-toolbar.less +53 -0
- package/src/lib/components/form/editor/assets/editor-wysiwyg.less +21 -0
- package/src/lib/components/form/editor/assets/editor.less +10 -0
- package/src/lib/components/form/editor/assets/jodit.less +5364 -0
- package/src/lib/components/form/editor/config/default-inline-style.ts +5 -0
- package/src/lib/components/form/editor/config/index.ts +1 -0
- package/src/lib/components/form/editor/config/popups-toolbar.ts +9 -0
- package/src/lib/components/form/editor/config/toolbar.ts +73 -0
- package/src/lib/components/form/editor/editor.component.html +22 -0
- package/src/lib/components/form/editor/editor.component.less +15 -0
- package/src/lib/components/form/editor/editor.component.ts +271 -0
- package/src/lib/components/form/editor/editor.enum.ts +12 -0
- package/src/lib/components/form/editor/editor.module.ts +25 -0
- package/src/lib/components/form/editor/models/toolbar.model.ts +6 -0
- package/src/lib/components/form/editor/modules/change-icon-module.ts +91 -0
- package/src/lib/components/form/input-date-time/assets/input-date-error.less +21 -0
- package/src/lib/components/form/input-date-time/assets/input-date-icons.less +36 -0
- package/src/lib/components/form/input-date-time/assets/input-date-sizes.less +31 -0
- package/src/lib/components/form/input-date-time/assets/input-date.less +27 -0
- package/src/lib/components/form/input-date-time/constants/value-models.ts +16 -0
- package/src/lib/components/form/input-date-time/enum/timezone.ts +7 -0
- package/src/lib/components/form/input-date-time/helpers/clean-date.ts +5 -0
- package/src/lib/components/form/input-date-time/helpers/cursor-position.ts +18 -0
- package/src/lib/components/form/input-date-time/helpers/formatting-from-models.ts +10 -0
- package/src/lib/components/form/input-date-time/helpers/formatting-moscow-timezone.ts +12 -0
- package/src/lib/components/form/input-date-time/helpers/validate-value-models.ts +84 -0
- package/src/lib/components/form/input-date-time/helpers/value-parser.ts +46 -0
- package/src/lib/components/form/input-date-time/input-date-time.component.html +60 -0
- package/src/lib/components/form/input-date-time/input-date-time.component.ts +378 -0
- package/src/lib/components/form/input-date-time/input-date-time.components.less +4 -0
- package/src/lib/components/form/input-date-time/input-date-time.enum.ts +25 -0
- package/src/lib/components/form/input-date-time/input-date-time.module.ts +30 -0
- package/src/lib/components/form/input-datepicker/assets/input-date-disabled.less +17 -0
- package/src/lib/components/form/input-datepicker/assets/input-date-error.less +21 -0
- package/src/lib/components/form/input-datepicker/assets/input-date-icons.less +36 -0
- package/src/lib/components/form/input-datepicker/assets/input-date-sizes.less +31 -0
- package/src/lib/components/form/input-datepicker/assets/input-date.less +23 -0
- package/src/lib/components/form/input-datepicker/constants/value-models.ts +17 -0
- package/src/lib/components/form/input-datepicker/helpers/clean-date.ts +5 -0
- package/src/lib/components/form/input-datepicker/helpers/cursor-position.ts +18 -0
- package/src/lib/components/form/input-datepicker/helpers/get-date-dayjs-object.ts +10 -0
- package/src/lib/components/form/input-datepicker/helpers/get-date-object.ts +10 -0
- package/src/lib/components/form/input-datepicker/helpers/validate-value-models.ts +100 -0
- package/src/lib/components/form/input-datepicker/helpers/value-parser.ts +54 -0
- package/src/lib/components/form/input-datepicker/input-datepicker.component.html +60 -0
- package/src/lib/components/form/input-datepicker/input-datepicker.component.ts +342 -0
- package/src/lib/components/form/input-datepicker/input-datepicker.components.less +5 -0
- package/src/lib/components/form/input-datepicker/input-datepicker.enum.ts +16 -0
- package/src/lib/components/form/input-datepicker/input-datepicker.module.ts +30 -0
- package/src/lib/components/form/input-editor/assets/style.less +321 -0
- package/src/lib/components/form/input-editor/components/editor-toolbar/editor-toolbar.component.html +252 -0
- package/src/lib/components/form/input-editor/components/editor-toolbar/editor-toolbar.component.less +1 -0
- package/src/lib/components/form/input-editor/components/editor-toolbar/editor-toolbar.component.ts +390 -0
- package/src/lib/components/form/input-editor/components/editor-toolbar-button/editor-toolbar-button.component.html +12 -0
- package/src/lib/components/form/input-editor/components/editor-toolbar-button/editor-toolbar-button.component.less +13 -0
- package/src/lib/components/form/input-editor/components/editor-toolbar-button/editor-toolbar-button.component.ts +22 -0
- package/src/lib/components/form/input-editor/components/editor-toolbar-select/editor-toolbar-select.component.html +18 -0
- package/src/lib/components/form/input-editor/components/editor-toolbar-select/editor-toolbar-select.component.less +131 -0
- package/src/lib/components/form/input-editor/components/editor-toolbar-select/editor-toolbar-select.component.ts +205 -0
- package/src/lib/components/form/input-editor/config/index.ts +77 -0
- package/src/lib/components/form/input-editor/helpers/is-defined.ts +3 -0
- package/src/lib/components/form/input-editor/input-editor.component.html +68 -0
- package/src/lib/components/form/input-editor/input-editor.component.less +64 -0
- package/src/lib/components/form/input-editor/input-editor.component.ts +430 -0
- package/src/lib/components/form/input-editor/input-editor.module.ts +24 -0
- package/src/lib/components/form/input-editor/models/editor-select.model.ts +4 -0
- package/src/lib/components/form/input-editor/services/editor.service.ts +307 -0
- package/src/lib/components/form/input-file/assets/input-file-controls.less +8 -0
- package/src/lib/components/form/input-file/assets/input-file-drop-placeholder.less +31 -0
- package/src/lib/components/form/input-file/assets/input-file-drop.less +35 -0
- package/src/lib/components/form/input-file/assets/input-file-error.less +50 -0
- package/src/lib/components/form/input-file/assets/input-file-list-item.less +52 -0
- package/src/lib/components/form/input-file/assets/input-file-list.less +8 -0
- package/src/lib/components/form/input-file/assets/input-file.less +20 -0
- package/src/lib/components/form/input-file/enums/error-messages.enum.ts +6 -0
- package/src/lib/components/form/input-file/input-file.component.html +135 -0
- package/src/lib/components/form/input-file/input-file.component.less +7 -0
- package/src/lib/components/form/input-file/input-file.component.ts +329 -0
- package/src/lib/components/form/input-file/input-file.enum.ts +8 -0
- package/src/lib/components/form/input-file/input-file.module.ts +18 -0
- package/src/lib/components/form/input-file-image/assets/input-file-image-avatar.less +93 -0
- package/src/lib/components/form/input-file-image/assets/input-file-image-controls.less +35 -0
- package/src/lib/components/form/input-file-image/assets/input-file-image-drop.less +24 -0
- package/src/lib/components/form/input-file-image/assets/input-file-image-input.less +45 -0
- package/src/lib/components/form/input-file-image/assets/input-file-image-preview.less +107 -0
- package/src/lib/components/form/input-file-image/assets/input-file-image.less +7 -0
- package/src/lib/components/form/input-file-image/components/file-image-edit-modal/assets/input-image-cropper.less +25 -0
- package/src/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.html +68 -0
- package/src/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.less +1 -0
- package/src/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.ts +114 -0
- package/src/lib/components/form/input-file-image/input-file-image.component.html +151 -0
- package/src/lib/components/form/input-file-image/input-file-image.component.less +7 -0
- package/src/lib/components/form/input-file-image/input-file-image.component.ts +365 -0
- package/src/lib/components/form/input-file-image/input-file-image.enum.ts +10 -0
- package/src/lib/components/form/input-file-image/input-file-image.module.ts +31 -0
- package/src/lib/components/form/input-number/assets/input-number-disabled.less +17 -0
- package/src/lib/components/form/input-number/assets/input-number-error.less +21 -0
- package/src/lib/components/form/input-number/assets/input-number-sizes.less +61 -0
- package/src/lib/components/form/input-number/assets/input-number.less +45 -0
- package/src/lib/components/form/input-number/input-number.component.html +35 -0
- package/src/lib/components/form/input-number/input-number.component.less +4 -0
- package/src/lib/components/form/input-number/input-number.component.ts +284 -0
- package/src/lib/components/form/input-number/input-number.enum.ts +16 -0
- package/src/lib/components/form/input-number/input-number.module.ts +40 -0
- package/src/lib/components/form/input-opt/components/input-opt/assets/input-opt-error.less +23 -0
- package/src/lib/components/form/input-opt/components/input-opt/assets/input-opt-sizes.less +73 -0
- package/src/lib/components/form/input-opt/components/input-opt/assets/input-opt.less +20 -0
- package/src/lib/components/form/input-opt/components/input-opt/input-opt.component.html +39 -0
- package/src/lib/components/form/input-opt/components/input-opt/input-opt.component.less +3 -0
- package/src/lib/components/form/input-opt/components/input-opt/input-opt.component.ts +417 -0
- package/src/lib/components/form/input-opt/components/input-opt/input-opt.enum.ts +8 -0
- package/src/lib/components/form/input-opt/directives/opt-pattern.directive.ts +34 -0
- package/src/lib/components/form/input-opt/input-opt.module.ts +25 -0
- package/src/lib/components/form/input-opt/models/input-opt.model.ts +30 -0
- package/src/lib/components/form/input-opt/services/input-opt.service.ts +40 -0
- package/src/lib/components/form/input-password/assets/input-password-bullets.less +12 -0
- package/src/lib/components/form/input-password/assets/input-password-error.less +21 -0
- package/src/lib/components/form/input-password/assets/input-password-icons.less +16 -0
- package/src/lib/components/form/input-password/assets/input-password-sizes.less +31 -0
- package/src/lib/components/form/input-password/assets/input-password.less +43 -0
- package/src/lib/components/form/input-password/input-password.component.html +41 -0
- package/src/lib/components/form/input-password/input-password.component.less +5 -0
- package/src/lib/components/form/input-password/input-password.component.ts +106 -0
- package/src/lib/components/form/input-password/input-password.enum.ts +9 -0
- package/src/lib/components/form/input-password/input-password.module.ts +24 -0
- package/src/lib/components/form/input-phone/assets/input-phone-country-flags.less +271 -0
- package/src/lib/components/form/input-phone/assets/input-phone-dropdown.less +46 -0
- package/src/lib/components/form/input-phone/assets/input-phone-error.less +21 -0
- package/src/lib/components/form/input-phone/assets/input-phone-flags-icon.less +28 -0
- package/src/lib/components/form/input-phone/assets/input-phone-search.less +17 -0
- package/src/lib/components/form/input-phone/assets/input-phone-sizes.less +31 -0
- package/src/lib/components/form/input-phone/assets/input-phone-sprite.less +1297 -0
- package/src/lib/components/form/input-phone/assets/input-phone.less +85 -0
- package/src/lib/components/form/input-phone/data/country-code.ts +1326 -0
- package/src/lib/components/form/input-phone/directives/native-element-injector.directive.ts +27 -0
- package/src/lib/components/form/input-phone/enums/country-iso.enum.ts +245 -0
- package/src/lib/components/form/input-phone/enums/input-phone.enum.ts +14 -0
- package/src/lib/components/form/input-phone/enums/mask.enum.ts +147 -0
- package/src/lib/components/form/input-phone/enums/phone-number-format.enum.ts +4 -0
- package/src/lib/components/form/input-phone/enums/search-country-field.enum.ts +6 -0
- package/src/lib/components/form/input-phone/input-phone.component.html +86 -0
- package/src/lib/components/form/input-phone/input-phone.component.less +9 -0
- package/src/lib/components/form/input-phone/input-phone.component.ts +693 -0
- package/src/lib/components/form/input-phone/input-phone.module.ts +34 -0
- package/src/lib/components/form/input-phone/input-phone.validator.ts +70 -0
- package/src/lib/components/form/input-phone/interfaces/change-data.ts +9 -0
- package/src/lib/components/form/input-phone/models/country.model.ts +15 -0
- package/src/lib/components/form/input-search/assets/input-search-error.less +21 -0
- package/src/lib/components/form/input-search/assets/input-search-icons.less +16 -0
- package/src/lib/components/form/input-search/assets/input-search-sizes.less +31 -0
- package/src/lib/components/form/input-search/assets/input-search.less +45 -0
- package/src/lib/components/form/input-search/input-search.component.html +44 -0
- package/src/lib/components/form/input-search/input-search.component.less +4 -0
- package/src/lib/components/form/input-search/input-search.component.ts +160 -0
- package/src/lib/components/form/input-search/input-search.enum.ts +7 -0
- package/src/lib/components/form/input-search/input-search.module.ts +27 -0
- package/src/lib/components/form/input-select/assets/input-select-checked.less +18 -0
- package/src/lib/components/form/input-select/assets/input-select-dropdown.less +92 -0
- package/src/lib/components/form/input-select/assets/input-select-error.less +43 -0
- package/src/lib/components/form/input-select/assets/input-select-sizes.less +135 -0
- package/src/lib/components/form/input-select/assets/input-select-types.less +85 -0
- package/src/lib/components/form/input-select/assets/input-select.less +191 -0
- package/src/lib/components/form/input-select/input-select.component.html +80 -0
- package/src/lib/components/form/input-select/input-select.component.less +6 -0
- package/src/lib/components/form/input-select/input-select.component.ts +180 -0
- package/src/lib/components/form/input-select/input-select.enum.ts +13 -0
- package/src/lib/components/form/input-select/input-select.module.ts +25 -0
- package/src/lib/components/form/input-select/input-select.test.html +13 -0
- package/src/lib/components/form/input-tel/assets/base64.ts +5 -0
- package/src/lib/components/form/input-tel/assets/flags.png +0 -0
- package/src/lib/components/form/input-tel/assets/input-tel-country-flags.less +986 -0
- package/src/lib/components/form/input-tel/assets/input-tel-dropdown.less +52 -0
- package/src/lib/components/form/input-tel/assets/input-tel-error.less +21 -0
- package/src/lib/components/form/input-tel/assets/input-tel-flags-icon.less +29 -0
- package/src/lib/components/form/input-tel/assets/input-tel-sizes.less +39 -0
- package/src/lib/components/form/input-tel/assets/input-tel.less +85 -0
- package/src/lib/components/form/input-tel/data/all-countries.ts +1323 -0
- package/src/lib/components/form/input-tel/data/country-iso.enum.ts +245 -0
- package/src/lib/components/form/input-tel/data/phone-number-format.enum.ts +6 -0
- package/src/lib/components/form/input-tel/data/search-country-field.enum.ts +6 -0
- package/src/lib/components/form/input-tel/directives/input-tel.directive.ts +59 -0
- package/src/lib/components/form/input-tel/enums/input-phone.enum.ts +14 -0
- package/src/lib/components/form/input-tel/input-tel.component.html +88 -0
- package/src/lib/components/form/input-tel/input-tel.component.less +6 -0
- package/src/lib/components/form/input-tel/input-tel.component.ts +374 -0
- package/src/lib/components/form/input-tel/input-tel.module.ts +26 -0
- package/src/lib/components/form/input-tel/models/country.model.ts +19 -0
- package/src/lib/components/form/input-text/assets/input-text-disabled.less +17 -0
- package/src/lib/components/form/input-text/assets/input-text-error.less +33 -0
- package/src/lib/components/form/input-text/assets/input-text-icon.less +25 -0
- package/src/lib/components/form/input-text/assets/input-text-sizes.less +61 -0
- package/src/lib/components/form/input-text/assets/input-text.less +25 -0
- package/src/lib/components/form/input-text/input-text.component.html +46 -0
- package/src/lib/components/form/input-text/input-text.component.less +5 -0
- package/src/lib/components/form/input-text/input-text.component.ts +176 -0
- package/src/lib/components/form/input-text/input-text.enum.ts +24 -0
- package/src/lib/components/form/input-text/input-text.module.ts +31 -0
- package/src/lib/components/form/input-textarea/assets/input-textarea-disabled-block.less +23 -0
- package/src/lib/components/form/input-textarea/assets/input-textarea-error.less +21 -0
- package/src/lib/components/form/input-textarea/assets/input-textarea-sizes.less +34 -0
- package/src/lib/components/form/input-textarea/assets/input-textarea.less +24 -0
- package/src/lib/components/form/input-textarea/input-textarea.component.html +46 -0
- package/src/lib/components/form/input-textarea/input-textarea.component.less +4 -0
- package/src/lib/components/form/input-textarea/input-textarea.component.ts +191 -0
- package/src/lib/components/form/input-textarea/input-textarea.enum.ts +14 -0
- package/src/lib/components/form/input-textarea/input-textarea.module.ts +31 -0
- package/src/lib/components/form/input-timepicker/constants/value-models.ts +9 -0
- package/src/lib/components/form/input-timepicker/helpers/clean-date.ts +5 -0
- package/src/lib/components/form/input-timepicker/helpers/cursor-position.ts +12 -0
- package/src/lib/components/form/input-timepicker/helpers/get-date-dayjs-object.ts +6 -0
- package/src/lib/components/form/input-timepicker/helpers/get-date-object.ts +6 -0
- package/src/lib/components/form/input-timepicker/helpers/validate-value-models.ts +42 -0
- package/src/lib/components/form/input-timepicker/helpers/value-parser.ts +21 -0
- package/src/lib/components/form/input-timepicker/input-timepicker.component.html +57 -0
- package/src/lib/components/form/input-timepicker/input-timepicker.component.ts +293 -0
- package/src/lib/components/form/input-timepicker/input-timepicker.components.scss +1 -0
- package/src/lib/components/form/input-timepicker/input-timepicker.enum.ts +14 -0
- package/src/lib/components/form/input-timepicker/input-timepicker.module.ts +30 -0
- package/src/lib/components/form/json-editor/json-editor.component.html +1 -0
- package/src/lib/components/form/json-editor/json-editor.component.less +1912 -0
- package/src/lib/components/form/json-editor/json-editor.component.ts +254 -0
- package/src/lib/components/form/json-editor/json-editor.enum.ts +6 -0
- package/src/lib/components/form/json-editor/json-editor.module.ts +18 -0
- package/src/lib/components/form/json-editor/utils/jsoneditoroptions.ts +167 -0
- package/src/lib/components/form/radio/assets/radio-error.less +9 -0
- package/src/lib/components/form/radio/assets/radio-input.less +10 -0
- package/src/lib/components/form/radio/assets/radio-label.less +26 -0
- package/src/lib/components/form/radio/assets/radio-mark.less +62 -0
- package/src/lib/components/form/radio/assets/radio-wrapper.less +5 -0
- package/src/lib/components/form/radio/assets/radio.less +11 -0
- package/src/lib/components/form/radio/radio.component.html +25 -0
- package/src/lib/components/form/radio/radio.component.less +6 -0
- package/src/lib/components/form/radio/radio.component.ts +74 -0
- package/src/lib/components/form/radio/radio.enum.ts +5 -0
- package/src/lib/components/form/radio/radio.module.ts +14 -0
- package/src/lib/components/form/radio-group/components/radio-group-header/radio-group-header.component.html +14 -0
- package/src/lib/components/form/radio-group/components/radio-group-header/radio-group-header.component.ts +32 -0
- package/src/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.html +51 -0
- package/src/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.less +17 -0
- package/src/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.ts +55 -0
- package/src/lib/components/form/radio-group/helpers/filter-search-group.ts +29 -0
- package/src/lib/components/form/radio-group/helpers/get-item-by-id.ts +11 -0
- package/src/lib/components/form/radio-group/helpers/move-selected-to-first.ts +33 -0
- package/src/lib/components/form/radio-group/models/radio-group.model.ts +15 -0
- package/src/lib/components/form/radio-group/radio-group.component.html +47 -0
- package/src/lib/components/form/radio-group/radio-group.component.less +21 -0
- package/src/lib/components/form/radio-group/radio-group.component.ts +163 -0
- package/src/lib/components/form/radio-group/radio-group.module.ts +30 -0
- package/src/lib/components/form/rating/assets/rating-disabled.less +5 -0
- package/src/lib/components/form/rating/assets/rating-item.less +44 -0
- package/src/lib/components/form/rating/assets/rating-size.less +24 -0
- package/src/lib/components/form/rating/assets/rating.less +17 -0
- package/src/lib/components/form/rating/rating.component.html +75 -0
- package/src/lib/components/form/rating/rating.component.less +4 -0
- package/src/lib/components/form/rating/rating.component.ts +213 -0
- package/src/lib/components/form/rating/rating.enum.ts +36 -0
- package/src/lib/components/form/rating/rating.module.ts +15 -0
- package/src/lib/components/form/switch/assets/switch-label.less +26 -0
- package/src/lib/components/form/switch/assets/switch-sizes.less +50 -0
- package/src/lib/components/form/switch/assets/switch-types.less +18 -0
- package/src/lib/components/form/switch/assets/switch.less +73 -0
- package/src/lib/components/form/switch/switch.component.html +53 -0
- package/src/lib/components/form/switch/switch.component.less +4 -0
- package/src/lib/components/form/switch/switch.component.ts +85 -0
- package/src/lib/components/form/switch/switch.enum.ts +20 -0
- package/src/lib/components/form/switch/switch.module.ts +13 -0
- package/src/lib/components/gallery/assets/fancybox.less +1319 -0
- package/src/lib/components/gallery/components/gallery-confirm-modal/gallery-confirm-modal.component.html +30 -0
- package/src/lib/components/gallery/components/gallery-confirm-modal/gallery-confirm-modal.component.ts +43 -0
- package/src/lib/components/gallery/components/gallery-item/gallery-item.component.html +58 -0
- package/src/lib/components/gallery/components/gallery-item/gallery-item.component.less +85 -0
- package/src/lib/components/gallery/components/gallery-item/gallery-item.component.ts +106 -0
- package/src/lib/components/gallery/constants/custom-buttons-default.ts +15 -0
- package/src/lib/components/gallery/constants/thumbs-config-default.ts +6 -0
- package/src/lib/components/gallery/gallery.component.html +32 -0
- package/src/lib/components/gallery/gallery.component.less +14 -0
- package/src/lib/components/gallery/gallery.component.ts +202 -0
- package/src/lib/components/gallery/gallery.module.ts +32 -0
- package/src/lib/components/gallery/helpers/rotate-image.ts +33 -0
- package/src/lib/components/gallery/models/gallery-item.model.ts +26 -0
- package/src/lib/components/gallery/services/gallery.service.ts +33 -0
- package/src/lib/components/hint-error-message/hint-error-message.component.html +5 -0
- package/src/lib/components/hint-error-message/hint-error-message.component.less +11 -0
- package/src/lib/components/hint-error-message/hint-error-message.component.ts +125 -0
- package/src/lib/components/hint-error-message/hint-error-message.module.ts +11 -0
- package/src/lib/components/icon-button/icon-button.component.html +11 -0
- package/src/lib/components/icon-button/icon-button.component.less +84 -0
- package/src/lib/components/icon-button/icon-button.component.ts +44 -0
- package/src/lib/components/icon-button/icon-button.enum.ts +21 -0
- package/src/lib/components/icon-button/icon-button.module.ts +11 -0
- package/src/lib/components/label/label.component.html +57 -0
- package/src/lib/components/label/label.component.less +49 -0
- package/src/lib/components/label/label.component.ts +103 -0
- package/src/lib/components/label/label.module.ts +19 -0
- package/src/lib/components/link/assets/link-monochrome.less +21 -0
- package/src/lib/components/link/assets/link.less +54 -0
- package/src/lib/components/link/link.component.html +27 -0
- package/src/lib/components/link/link.component.less +2 -0
- package/src/lib/components/link/link.component.ts +52 -0
- package/src/lib/components/link/link.enum.ts +24 -0
- package/src/lib/components/link/link.module.ts +13 -0
- package/src/lib/components/loader/assets/loader-color.less +60 -0
- package/src/lib/components/loader/assets/loader-sizes.less +21 -0
- package/src/lib/components/loader/assets/loader.less +25 -0
- package/src/lib/components/loader/loader.component.html +13 -0
- package/src/lib/components/loader/loader.component.less +3 -0
- package/src/lib/components/loader/loader.component.ts +17 -0
- package/src/lib/components/loader/loader.enum.ts +22 -0
- package/src/lib/components/loader/loader.module.ts +11 -0
- package/src/lib/components/modal/assets/modal-animations.less +13 -0
- package/src/lib/components/modal/assets/modal-body.less +19 -0
- package/src/lib/components/modal/assets/modal-colors.less +62 -0
- package/src/lib/components/modal/assets/modal-footer.less +5 -0
- package/src/lib/components/modal/assets/modal-header.less +48 -0
- package/src/lib/components/modal/assets/modal-sizes.less +17 -0
- package/src/lib/components/modal/assets/modal.less +47 -0
- package/src/lib/components/modal/modal.component.html +49 -0
- package/src/lib/components/modal/modal.component.less +7 -0
- package/src/lib/components/modal/modal.component.ts +107 -0
- package/src/lib/components/modal/modal.emun.ts +25 -0
- package/src/lib/components/modal/modal.module.ts +12 -0
- package/src/lib/components/pages-nav/pages-nav.component.html +20 -0
- package/src/lib/components/pages-nav/pages-nav.component.less +40 -0
- package/src/lib/components/pages-nav/pages-nav.component.ts +22 -0
- package/src/lib/components/pages-nav/pages-nav.enum.ts +6 -0
- package/src/lib/components/pages-nav/pages-nav.module.ts +18 -0
- package/src/lib/components/paginator/assets/paginator-types.less +13 -0
- package/src/lib/components/paginator/assets/paginator.less +83 -0
- package/src/lib/components/paginator/paginator.component.html +64 -0
- package/src/lib/components/paginator/paginator.component.less +2 -0
- package/src/lib/components/paginator/paginator.component.ts +129 -0
- package/src/lib/components/paginator/paginator.enum.ts +18 -0
- package/src/lib/components/paginator/paginator.module.ts +20 -0
- package/src/lib/components/pdf-viewer/assets/pdf-viewer__container.less +43 -0
- package/src/lib/components/pdf-viewer/assets/pdf-viewer__print-dialog.less +42 -0
- package/src/lib/components/pdf-viewer/assets/pdf-viewer__sidebar.less +173 -0
- package/src/lib/components/pdf-viewer/assets/pdf-viewer__toolbar.less +210 -0
- package/src/lib/components/pdf-viewer/pdf-viewer.component.html +188 -0
- package/src/lib/components/pdf-viewer/pdf-viewer.component.less +4 -0
- package/src/lib/components/pdf-viewer/pdf-viewer.component.ts +297 -0
- package/src/lib/components/pdf-viewer/pdf-viewer.module.ts +32 -0
- package/src/lib/components/progress/assets/progress-color.less +26 -0
- package/src/lib/components/progress/assets/progress.less +12 -0
- package/src/lib/components/progress/progress.component.html +3 -0
- package/src/lib/components/progress/progress.component.less +2 -0
- package/src/lib/components/progress/progress.component.ts +19 -0
- package/src/lib/components/progress/progress.enum.ts +7 -0
- package/src/lib/components/progress/progress.module.ts +11 -0
- package/src/lib/components/save-state/components/save-state-checkbox/save-state-checkbox.component.html +66 -0
- package/src/lib/components/save-state/components/save-state-checkbox/save-state-checkbox.component.less +32 -0
- package/src/lib/components/save-state/components/save-state-checkbox/save-state-checkbox.component.ts +14 -0
- package/src/lib/components/save-state/components/save-state-checkbox-group/save-state-checkbox-group.component.html +66 -0
- package/src/lib/components/save-state/components/save-state-checkbox-group/save-state-checkbox-group.component.less +32 -0
- package/src/lib/components/save-state/components/save-state-checkbox-group/save-state-checkbox-group.component.ts +14 -0
- package/src/lib/components/save-state/components/save-state-editor/save-state-editor.component.html +66 -0
- package/src/lib/components/save-state/components/save-state-editor/save-state-editor.component.less +32 -0
- package/src/lib/components/save-state/components/save-state-editor/save-state-editor.component.ts +14 -0
- package/src/lib/components/save-state/components/save-state-input/save-state-input.component.html +66 -0
- package/src/lib/components/save-state/components/save-state-input/save-state-input.component.less +34 -0
- package/src/lib/components/save-state/components/save-state-input/save-state-input.component.ts +14 -0
- package/src/lib/components/save-state/components/save-state-switch/save-state-switch.component.html +66 -0
- package/src/lib/components/save-state/components/save-state-switch/save-state-switch.component.less +32 -0
- package/src/lib/components/save-state/components/save-state-switch/save-state-switch.component.ts +14 -0
- package/src/lib/components/save-state/save-state.component.html +11 -0
- package/src/lib/components/save-state/save-state.component.less +0 -0
- package/src/lib/components/save-state/save-state.component.ts +32 -0
- package/src/lib/components/save-state/save-state.enum.ts +1 -0
- package/src/lib/components/save-state/save-state.module.ts +28 -0
- package/src/lib/components/stepper/stepper.component.html +30 -0
- package/src/lib/components/stepper/stepper.component.less +27 -0
- package/src/lib/components/stepper/stepper.component.ts +38 -0
- package/src/lib/components/stepper/stepper.enum.ts +5 -0
- package/src/lib/components/stepper/stepper.module.ts +12 -0
- package/src/lib/components/table/assets/table-counter.less +8 -0
- package/src/lib/components/table/assets/table-download.less +19 -0
- package/src/lib/components/table/assets/table-empty-message.less +38 -0
- package/src/lib/components/table/assets/table-overlay.less +17 -0
- package/src/lib/components/table/assets/table-paginator.less +9 -0
- package/src/lib/components/table/assets/table-sort-select.less +70 -0
- package/src/lib/components/table/assets/table-striped.less +42 -0
- package/src/lib/components/table/assets/table-toggle.less +22 -0
- package/src/lib/components/table/assets/table-types.less +118 -0
- package/src/lib/components/table/assets/table.less +36 -0
- package/src/lib/components/table/components/column/column.component.ts +17 -0
- package/src/lib/components/table/default/default-pager-settings.ts +8 -0
- package/src/lib/components/table/models/data-state-change.event.ts +16 -0
- package/src/lib/components/table/models/index.ts +3 -0
- package/src/lib/components/table/models/pager-settings.ts +26 -0
- package/src/lib/components/table/table.component.html +220 -0
- package/src/lib/components/table/table.component.less +10 -0
- package/src/lib/components/table/table.component.ts +252 -0
- package/src/lib/components/table/table.enum.ts +41 -0
- package/src/lib/components/table/table.module.ts +30 -0
- package/src/lib/components/tabs/tab/tab.component.html +4 -0
- package/src/lib/components/tabs/tab/tab.component.less +15 -0
- package/src/lib/components/tabs/tab/tab.component.ts +22 -0
- package/src/lib/components/tabs/tabs-group/assets/tabs-button.less +43 -0
- package/src/lib/components/tabs/tabs-group/assets/tabs-group.less +9 -0
- package/src/lib/components/tabs/tabs-group/assets/tabs-size.less +50 -0
- package/src/lib/components/tabs/tabs-group/assets/tabs-types.less +63 -0
- package/src/lib/components/tabs/tabs-group/tabs-group.component.html +5 -0
- package/src/lib/components/tabs/tabs-group/tabs-group.component.less +4 -0
- package/src/lib/components/tabs/tabs-group/tabs-group.component.ts +23 -0
- package/src/lib/components/tabs/tabs.enum.ts +15 -0
- package/src/lib/components/tabs/tabs.module.ts +12 -0
- package/src/lib/components/tooltip/services/tooltip.service.ts +74 -0
- package/src/lib/components/tooltip/tooltip-trigger/assets/tooltip-trigger-right.less +39 -0
- package/src/lib/components/tooltip/tooltip-trigger/assets/tooltip-trigger-top.less +41 -0
- package/src/lib/components/tooltip/tooltip-trigger/assets/tooltip-trigger.less +29 -0
- package/src/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.html +11 -0
- package/src/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.less +3 -0
- package/src/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.ts +29 -0
- package/src/lib/components/tooltip/tooltip-trigger/tooltip-trigger.enum.ts +13 -0
- package/src/lib/components/tooltip/tooltip.component.html +4 -0
- package/src/lib/components/tooltip/tooltip.component.less +19 -0
- package/src/lib/components/tooltip/tooltip.component.ts +51 -0
- package/src/lib/components/tooltip/tooltip.enum.ts +4 -0
- package/src/lib/components/tooltip/tooltip.module.ts +13 -0
- package/src/lib/components/truncate-text/directives/truncate-text.directive.ts +158 -0
- package/src/lib/components/truncate-text/truncate-text.component.html +21 -0
- package/src/lib/components/truncate-text/truncate-text.component.ts +19 -0
- package/src/lib/components/truncate-text/truncate-text.enum.ts +2 -0
- package/src/lib/components/truncate-text/truncate-text.module.ts +13 -0
- package/src/lib/components/warning-message/warning-message.component.html +8 -0
- package/src/lib/components/warning-message/warning-message.component.less +12 -0
- package/src/lib/components/warning-message/warning-message.component.ts +24 -0
- package/src/lib/components/warning-message/warning-message.module.ts +11 -0
- package/src/lib/components/wrappers/content-wrapper/content-wrapper.component.html +9 -0
- package/src/lib/components/wrappers/content-wrapper/content-wrapper.component.less +13 -0
- package/src/lib/components/wrappers/content-wrapper/content-wrapper.component.ts +18 -0
- package/src/lib/components/wrappers/content-wrapper/content-wrapper.enum.ts +6 -0
- package/src/lib/components/wrappers/content-wrapper/content-wrapper.module.ts +13 -0
- package/src/lib/components/wrappers/controls-wrapper/components/controls-item/controls-item.component.html +6 -0
- package/src/lib/components/wrappers/controls-wrapper/components/controls-item/controls-item.component.less +39 -0
- package/src/lib/components/wrappers/controls-wrapper/components/controls-item/controls-item.component.ts +11 -0
- package/src/lib/components/wrappers/controls-wrapper/controls-wrapper.component.html +7 -0
- package/src/lib/components/wrappers/controls-wrapper/controls-wrapper.component.less +30 -0
- package/src/lib/components/wrappers/controls-wrapper/controls-wrapper.component.ts +18 -0
- package/src/lib/components/wrappers/controls-wrapper/controls-wrapper.enum.ts +7 -0
- package/src/lib/components/wrappers/controls-wrapper/controls-wrapper.module.ts +14 -0
- package/src/lib/components/wrappers/widget-wrapper/widget-wrapper.component.html +50 -0
- package/src/lib/components/wrappers/widget-wrapper/widget-wrapper.component.less +88 -0
- package/src/lib/components/wrappers/widget-wrapper/widget-wrapper.component.ts +82 -0
- package/src/lib/components/wrappers/widget-wrapper/widget-wrapper.enum.ts +17 -0
- package/src/lib/components/wrappers/widget-wrapper/widget-wrapper.module.ts +18 -0
- package/src/lib/directives/autosize/autosize.directive.ts +55 -0
- package/src/lib/directives/autosize/autosize.module.ts +16 -0
- package/src/lib/directives/delayed-value/delayed-value.directive.ts +37 -0
- package/src/lib/directives/delayed-value/delayed-value.module.ts +16 -0
- package/src/lib/directives/truncate/truncate.directive.ts +26 -0
- package/src/lib/directives/truncate/truncate.module.ts +10 -0
- package/src/lib/enums/typed.input.state.ts +6 -0
- package/src/lib/helpers/extension/input-file.extension.ts +47 -0
- package/src/lib/helpers/formatting-date.ts +65 -0
- package/src/lib/helpers/formatting-dates-from-array.ts +21 -0
- package/src/lib/helpers/formatting-iso-to-string.ts +20 -0
- package/src/lib/helpers/index.ts +8 -0
- package/src/lib/helpers/mrx-gallery-lib/README.md +0 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.autoplay.css +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.autoplay.esm.d.ts +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.autoplay.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.autoplay.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.css +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.thumbs.css +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.thumbs.esm.d.ts +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.thumbs.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.thumbs.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/cs.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/cs.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/de.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/de.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/en.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/en.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/es.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/es.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/fr.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/fr.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/it.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/it.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/ja.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/ja.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/lv.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/lv.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/pl.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/pl.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/sk.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/sk.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/zh_CN.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/zh_CN.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/fancybox.css +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/fancybox.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/fancybox.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/cs.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/cs.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/de.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/de.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/en.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/en.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/es.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/es.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/fr.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/fr.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/it.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/it.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/ja.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/ja.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/lv.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/lv.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/pl.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/pl.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/sk.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/sk.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/zh_CN.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/zh_CN.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/index.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/index.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/cs.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/cs.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/de.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/de.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/en.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/en.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/es.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/es.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/fr.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/fr.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/it.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/it.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/ja.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/ja.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/lv.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/lv.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/pl.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/pl.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/sk.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/sk.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/zh_CN.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/zh_CN.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.css +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.pins.css +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.pins.esm.d.ts +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.pins.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.pins.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.toolbar.css +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.toolbar.esm.d.ts +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.toolbar.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.toolbar.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/cs.ts +5 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/de.ts +5 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/en.ts +5 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/es.ts +5 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/fr.ts +5 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/it.ts +5 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/ja.ts +5 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/lv.ts +5 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/pl.ts +5 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/sk.ts +5 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/zh_CN.ts +5 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/cs.ts +20 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/de.ts +20 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/en.ts +20 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/es.ts +20 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/fr.ts +20 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/it.ts +20 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/ja.ts +20 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/lv.ts +20 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/pl.ts +20 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/sk.ts +20 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/zh_CN.ts +20 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/cs.ts +26 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/de.ts +26 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/en.ts +26 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/es.ts +26 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/fr.ts +26 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/it.ts +26 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/ja.ts +26 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/lv.ts +26 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/pl.ts +26 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/sk.ts +26 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/zh_CN.ts +26 -0
- package/src/lib/helpers/mrx-gallery-lib/package.json +15 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Carousel/Carousel.d.ts +186 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Carousel/consts.d.ts +8 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Carousel/options.d.ts +108 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Carousel/plugins/Autoplay/Autoplay.d.ts +62 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Carousel/plugins/Dots/Dots.d.ts +44 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Carousel/plugins/Navigation/Navigation.d.ts +41 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Carousel/plugins/Sync/Sync.d.ts +44 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Carousel/plugins/Thumbs/Thumbs.d.ts +99 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Carousel/plugins/index.d.ts +5 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Carousel/types.d.ts +94 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/Fancybox.d.ts +231 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/consts.d.ts +13 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/options.d.ts +171 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/plugins/Hash/Hash.d.ts +34 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/plugins/Html/Html.d.ts +105 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/plugins/Images/Images.d.ts +66 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/plugins/Slideshow/Slideshow.d.ts +42 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/plugins/Thumbs/Thumbs.d.ts +42 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/plugins/Toolbar/Toolbar.d.ts +86 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/plugins/index.d.ts +8 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/types.d.ts +91 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Panzoom/Panzoom.d.ts +357 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Panzoom/consts.d.ts +9 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Panzoom/options.d.ts +172 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Panzoom/plugins/Pins/Pins.d.ts +18 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Panzoom/plugins/Toolbar/Toolbar.d.ts +31 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Panzoom/plugins/index.d.ts +2 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Panzoom/types.d.ts +112 -0
- package/src/lib/helpers/mrx-gallery-lib/types/index.d.ts +3 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/Base/Base.d.ts +16 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/Base/Component.d.ts +9 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/Base/Plugin.d.ts +7 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/Base/types.d.ts +9 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/buttons.d.ts +88 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/spinner.d.ts +1 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/PointerTracker.d.ts +45 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/addClass.d.ts +1 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/canUseDOM.d.ts +4 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/getDimensions.d.ts +8 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/getDirectChildren.d.ts +1 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/getScrollableParent.d.ts +2 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/isInViewport.d.ts +1 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/isNode.d.ts +1 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/isPlainObject.d.ts +1 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/merge.d.ts +1 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/removeClass.d.ts +1 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/resolve.d.ts +1 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/round.d.ts +4 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/setFocusOn.d.ts +2 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/splitClasses.d.ts +1 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/stringToHtml.d.ts +1 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/throttle.d.ts +5 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/toggleClass.d.ts +1 -0
- package/src/lib/helpers/number-format.ts +8 -0
- package/src/lib/helpers/string-hash-code.ts +16 -0
- package/src/lib/helpers/word-form.ts +11 -0
- package/src/lib/models/index.ts +2 -0
- package/src/lib/models/input-file/input-file.model.ts +26 -0
- package/src/lib/models/typed-input-model.ts +17 -0
- package/src/lib/myrta-ui.module.ts +146 -0
- package/src/lib/pipes/currency/currency.module.ts +14 -0
- package/src/lib/pipes/currency/currency.pipe.ts +19 -0
- package/src/lib/pipes/date/date-format.module.ts +11 -0
- package/src/lib/pipes/date/date-format.pipe.ts +17 -0
- package/src/lib/pipes/date/date-time-format.pipe.ts +17 -0
- package/src/lib/pipes/date/enums/timezone.ts +10 -0
- package/src/lib/pipes/date/helpers/change-timezone.ts +25 -0
- package/src/lib/pipes/phone/phone-format.module.ts +10 -0
- package/src/lib/pipes/phone/phone-format.pipe.ts +16 -0
- package/src/lib/pipes/safe/safe.module.ts +14 -0
- package/src/lib/pipes/safe/safe.pipe.ts +14 -0
- package/src/lib/pipes/truncate/truncate.module.ts +14 -0
- package/src/lib/pipes/truncate/truncate.pipe.ts +19 -0
- package/src/lib/services/dialog/components/dialog/dialog.component.html +7 -0
- package/src/lib/services/dialog/components/dialog/dialog.component.less +22 -0
- package/src/lib/services/dialog/components/dialog/dialog.component.ts +55 -0
- package/src/lib/services/dialog/dialog.module.ts +19 -0
- package/src/lib/services/dialog/directives/insertion.directive.ts +8 -0
- package/src/lib/services/dialog/services/dialog.service.ts +68 -0
- package/src/lib/services/dialog/utils/dialog-config.ts +3 -0
- package/src/lib/services/dialog/utils/dialog-injector.ts +17 -0
- package/src/lib/services/dialog/utils/dialog-ref.ts +12 -0
- package/src/lib/services/file-upload/file-upload.service.ts +24 -0
- package/src/lib/services/index.ts +19 -0
- package/src/lib/services/modal-service/components/alert-modal/alert-modal.component.html +20 -0
- package/src/lib/services/modal-service/components/alert-modal/alert-modal.component.less +0 -0
- package/src/lib/services/modal-service/components/alert-modal/alert-modal.component.ts +47 -0
- package/src/lib/services/modal-service/components/confirm-modal/confirm-modal.component.html +29 -0
- package/src/lib/services/modal-service/components/confirm-modal/confirm-modal.component.less +0 -0
- package/src/lib/services/modal-service/components/confirm-modal/confirm-modal.component.ts +51 -0
- package/src/lib/services/modal-service/helpers/index.ts +4 -0
- package/src/lib/services/modal-service/helpers/modal-default-config.ts +16 -0
- package/src/lib/services/modal-service/helpers/modal-ref.ts +36 -0
- package/src/lib/services/modal-service/helpers/modal-tokens.ts +4 -0
- package/src/lib/services/modal-service/helpers/modal.component.ts +3 -0
- package/src/lib/services/modal-service/modal-service.module.ts +15 -0
- package/src/lib/services/modal-service/modal-service.service.ts +100 -0
- package/src/lib/services/modal-service/models/modal-config.model.ts +16 -0
- package/src/lib/services/mrx-autosave/mrx-autosave.service.ts +58 -0
- package/src/lib/services/mrx-form-validator/constants/invalid-messages.ts +9 -0
- package/src/lib/services/mrx-form-validator/helpers/get-error-message.helper.ts +17 -0
- package/src/lib/services/mrx-form-validator/helpers/get-sorting-validations.helper.ts +30 -0
- package/src/lib/services/mrx-form-validator/models/index.ts +3 -0
- package/src/lib/services/mrx-form-validator/models/validations-options.model.ts +35 -0
- package/src/lib/services/mrx-form-validator/models/validations-settings.model.ts +8 -0
- package/src/lib/services/mrx-form-validator/models/validations-types.model.ts +23 -0
- package/src/lib/services/mrx-form-validator/mrx-form-validator.ts +278 -0
- package/src/lib/services/mrx-form-validator/validations/callback.validation.ts +24 -0
- package/src/lib/services/mrx-form-validator/validations/email.validation.ts +20 -0
- package/src/lib/services/mrx-form-validator/validations/max-length.validation.ts +26 -0
- package/src/lib/services/mrx-form-validator/validations/max-value.validation.ts +21 -0
- package/src/lib/services/mrx-form-validator/validations/min-length.validation.ts +26 -0
- package/src/lib/services/mrx-form-validator/validations/min-value.validation.ts +19 -0
- package/src/lib/services/mrx-form-validator/validations/pattern.validation.ts +20 -0
- package/src/lib/services/mrx-form-validator/validations/required.validation.ts +34 -0
- package/src/lib/services/save-store/constants/constants.ts +1 -0
- package/src/lib/services/save-store/models/save-store.model.ts +4 -0
- package/src/lib/services/save-store/save-store.module.ts +17 -0
- package/src/lib/services/save-store/store/actions.ts +56 -0
- package/src/lib/services/save-store/store/effect.ts +61 -0
- package/src/lib/services/save-store/store/reducer.ts +103 -0
- package/src/lib/services/save-store/store/selectors.ts +10 -0
- package/src/lib/services/save-store/store/state.ts +16 -0
- package/src/lib/services/toaster-service/components/toaster/assets/toaster-colors.less +78 -0
- package/src/lib/services/toaster-service/components/toaster/assets/toaster-content.less +17 -0
- package/src/lib/services/toaster-service/components/toaster/assets/toaster.less +45 -0
- package/src/lib/services/toaster-service/components/toaster/toaster.component.html +37 -0
- package/src/lib/services/toaster-service/components/toaster/toaster.component.less +3 -0
- package/src/lib/services/toaster-service/components/toaster/toaster.component.ts +26 -0
- package/src/lib/services/toaster-service/config/index.ts +12 -0
- package/src/lib/services/toaster-service/models/toaster.model.ts +14 -0
- package/src/lib/services/toaster-service/toaster-service.module.ts +20 -0
- package/src/lib/services/toaster-service/toaster-service.service.ts +51 -0
- package/src/public-api.ts +244 -0
- package/tsconfig.lib.json +15 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +17 -0
- package/esm2022/lib/components/alert/alert.component.mjs +0 -43
- package/esm2022/lib/components/alert/alert.enum.mjs +0 -15
- package/esm2022/lib/components/alert/alert.module.mjs +0 -19
- package/esm2022/lib/components/badges/badge.enum.mjs +0 -32
- package/esm2022/lib/components/badges/badges.module.mjs +0 -30
- package/esm2022/lib/components/badges/components/badge/badge.component.mjs +0 -61
- package/esm2022/lib/components/badges/components/badge-group/badge-group.component.mjs +0 -11
- package/esm2022/lib/components/breadcrumbs/breadcrumbs.component.mjs +0 -29
- package/esm2022/lib/components/breadcrumbs/breadcrumbs.enum.mjs +0 -6
- package/esm2022/lib/components/breadcrumbs/breadcrumbs.module.mjs +0 -31
- package/esm2022/lib/components/button/button.component.mjs +0 -100
- package/esm2022/lib/components/button/button.enum.mjs +0 -27
- package/esm2022/lib/components/button/button.module.mjs +0 -21
- package/esm2022/lib/components/cdk-tooltip/cdk-tooltip/tooltip-container.component.mjs +0 -29
- package/esm2022/lib/components/cdk-tooltip/cdk-tooltip.directive.mjs +0 -99
- package/esm2022/lib/components/cdk-tooltip/cdk-tooltip.module.mjs +0 -21
- package/esm2022/lib/components/cdk-tooltip/constants/index.mjs +0 -70
- package/esm2022/lib/components/cdk-tooltip/models/tooltip-data.mjs +0 -2
- package/esm2022/lib/components/chars-left/chars-left.component.mjs +0 -24
- package/esm2022/lib/components/chars-left/chars-left.module.mjs +0 -19
- package/esm2022/lib/components/dropdown/directives/hide-after-click.directive.mjs +0 -24
- package/esm2022/lib/components/dropdown/dropdown.component.mjs +0 -107
- package/esm2022/lib/components/dropdown/dropdown.module.mjs +0 -21
- package/esm2022/lib/components/error-message/error-message.component.mjs +0 -32
- package/esm2022/lib/components/error-message/error-message.module.mjs +0 -19
- package/esm2022/lib/components/form/checkbox/checkbox.component.mjs +0 -146
- package/esm2022/lib/components/form/checkbox/checkbox.enum.mjs +0 -2
- package/esm2022/lib/components/form/checkbox/checkbox.module.mjs +0 -22
- package/esm2022/lib/components/form/checkbox-group/checkbox-group.component.mjs +0 -216
- package/esm2022/lib/components/form/checkbox-group/checkbox-group.module.mjs +0 -47
- package/esm2022/lib/components/form/checkbox-group/components/checkbox-group-header/checkbox-group-header.component.mjs +0 -48
- package/esm2022/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.mjs +0 -114
- package/esm2022/lib/components/form/checkbox-group/helpers/change-group-value.mjs +0 -19
- package/esm2022/lib/components/form/checkbox-group/helpers/change-item-value.mjs +0 -15
- package/esm2022/lib/components/form/checkbox-group/helpers/filter-search-group.mjs +0 -27
- package/esm2022/lib/components/form/checkbox-group/helpers/get-checked-items.mjs +0 -20
- package/esm2022/lib/components/form/checkbox-group/helpers/get-inner-list.helper.mjs +0 -46
- package/esm2022/lib/components/form/checkbox-group/helpers/get-item-by-id.mjs +0 -11
- package/esm2022/lib/components/form/checkbox-group/helpers/get-sorted-list.mjs +0 -50
- package/esm2022/lib/components/form/checkbox-group/helpers/inner-list-to-list.helper.mjs +0 -13
- package/esm2022/lib/components/form/checkbox-group/models/checkbox-group.model.mjs +0 -2
- package/esm2022/lib/components/form/editor/config/default-inline-style.mjs +0 -6
- package/esm2022/lib/components/form/editor/config/index.mjs +0 -2
- package/esm2022/lib/components/form/editor/config/popups-toolbar.mjs +0 -9
- package/esm2022/lib/components/form/editor/config/toolbar.mjs +0 -72
- package/esm2022/lib/components/form/editor/editor.component.mjs +0 -281
- package/esm2022/lib/components/form/editor/editor.enum.mjs +0 -7
- package/esm2022/lib/components/form/editor/editor.module.mjs +0 -45
- package/esm2022/lib/components/form/editor/models/toolbar.model.mjs +0 -2
- package/esm2022/lib/components/form/editor/modules/change-icon-module.mjs +0 -92
- package/esm2022/lib/components/form/input-date-time/constants/value-models.mjs +0 -14
- package/esm2022/lib/components/form/input-date-time/enum/timezone.mjs +0 -7
- package/esm2022/lib/components/form/input-date-time/helpers/clean-date.mjs +0 -5
- package/esm2022/lib/components/form/input-date-time/helpers/cursor-position.mjs +0 -23
- package/esm2022/lib/components/form/input-date-time/helpers/formatting-from-models.mjs +0 -10
- package/esm2022/lib/components/form/input-date-time/helpers/formatting-moscow-timezone.mjs +0 -10
- package/esm2022/lib/components/form/input-date-time/helpers/validate-value-models.mjs +0 -60
- package/esm2022/lib/components/form/input-date-time/helpers/value-parser.mjs +0 -39
- package/esm2022/lib/components/form/input-date-time/input-date-time.component.mjs +0 -386
- package/esm2022/lib/components/form/input-date-time/input-date-time.enum.mjs +0 -7
- package/esm2022/lib/components/form/input-date-time/input-date-time.module.mjs +0 -46
- package/esm2022/lib/components/form/input-datepicker/constants/value-models.mjs +0 -15
- package/esm2022/lib/components/form/input-datepicker/helpers/clean-date.mjs +0 -5
- package/esm2022/lib/components/form/input-datepicker/helpers/cursor-position.mjs +0 -23
- package/esm2022/lib/components/form/input-datepicker/helpers/get-date-dayjs-object.mjs +0 -10
- package/esm2022/lib/components/form/input-datepicker/helpers/get-date-object.mjs +0 -10
- package/esm2022/lib/components/form/input-datepicker/helpers/validate-value-models.mjs +0 -74
- package/esm2022/lib/components/form/input-datepicker/helpers/value-parser.mjs +0 -47
- package/esm2022/lib/components/form/input-datepicker/input-datepicker.component.mjs +0 -356
- package/esm2022/lib/components/form/input-datepicker/input-datepicker.enum.mjs +0 -7
- package/esm2022/lib/components/form/input-datepicker/input-datepicker.module.mjs +0 -46
- package/esm2022/lib/components/form/input-file/enums/error-messages.enum.mjs +0 -8
- package/esm2022/lib/components/form/input-file/input-file.component.mjs +0 -366
- package/esm2022/lib/components/form/input-file/input-file.enum.mjs +0 -8
- package/esm2022/lib/components/form/input-file/input-file.module.mjs +0 -26
- package/esm2022/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.mjs +0 -88
- package/esm2022/lib/components/form/input-file-image/input-file-image.component.mjs +0 -350
- package/esm2022/lib/components/form/input-file-image/input-file-image.enum.mjs +0 -10
- package/esm2022/lib/components/form/input-file-image/input-file-image.module.mjs +0 -53
- package/esm2022/lib/components/form/input-number/input-number.component.mjs +0 -267
- package/esm2022/lib/components/form/input-number/input-number.enum.mjs +0 -7
- package/esm2022/lib/components/form/input-number/input-number.module.mjs +0 -55
- package/esm2022/lib/components/form/input-opt/components/input-opt/input-opt.component.mjs +0 -370
- package/esm2022/lib/components/form/input-opt/components/input-opt/input-opt.enum.mjs +0 -8
- package/esm2022/lib/components/form/input-opt/directives/opt-pattern.directive.mjs +0 -43
- package/esm2022/lib/components/form/input-opt/input-opt.module.mjs +0 -38
- package/esm2022/lib/components/form/input-opt/models/input-opt.model.mjs +0 -6
- package/esm2022/lib/components/form/input-opt/services/input-opt.service.mjs +0 -33
- package/esm2022/lib/components/form/input-password/input-password.component.mjs +0 -118
- package/esm2022/lib/components/form/input-password/input-password.enum.mjs +0 -7
- package/esm2022/lib/components/form/input-password/input-password.module.mjs +0 -36
- package/esm2022/lib/components/form/input-phone/data/country-code.mjs +0 -1331
- package/esm2022/lib/components/form/input-phone/directives/native-element-injector.directive.mjs +0 -35
- package/esm2022/lib/components/form/input-phone/enums/country-iso.enum.mjs +0 -247
- package/esm2022/lib/components/form/input-phone/enums/input-phone.enum.mjs +0 -7
- package/esm2022/lib/components/form/input-phone/enums/mask.enum.mjs +0 -139
- package/esm2022/lib/components/form/input-phone/enums/phone-number-format.enum.mjs +0 -6
- package/esm2022/lib/components/form/input-phone/enums/search-country-field.enum.mjs +0 -8
- package/esm2022/lib/components/form/input-phone/input-phone.component.mjs +0 -679
- package/esm2022/lib/components/form/input-phone/input-phone.module.mjs +0 -50
- package/esm2022/lib/components/form/input-phone/input-phone.validator.mjs +0 -61
- package/esm2022/lib/components/form/input-phone/interfaces/change-data.mjs +0 -2
- package/esm2022/lib/components/form/input-phone/models/country.model.mjs +0 -2
- package/esm2022/lib/components/form/input-search/input-search.component.mjs +0 -167
- package/esm2022/lib/components/form/input-search/input-search.enum.mjs +0 -7
- package/esm2022/lib/components/form/input-search/input-search.module.mjs +0 -41
- package/esm2022/lib/components/form/input-select/input-select.component.mjs +0 -253
- package/esm2022/lib/components/form/input-select/input-select.enum.mjs +0 -6
- package/esm2022/lib/components/form/input-select/input-select.module.mjs +0 -45
- package/esm2022/lib/components/form/input-tel/assets/base64.mjs +0 -4
- package/esm2022/lib/components/form/input-tel/data/all-countries.mjs +0 -1323
- package/esm2022/lib/components/form/input-tel/data/country-iso.enum.mjs +0 -247
- package/esm2022/lib/components/form/input-tel/data/phone-number-format.enum.mjs +0 -6
- package/esm2022/lib/components/form/input-tel/data/search-country-field.enum.mjs +0 -8
- package/esm2022/lib/components/form/input-tel/directives/input-tel.directive.mjs +0 -66
- package/esm2022/lib/components/form/input-tel/enums/input-phone.enum.mjs +0 -7
- package/esm2022/lib/components/form/input-tel/input-tel.component.mjs +0 -400
- package/esm2022/lib/components/form/input-tel/input-tel.module.mjs +0 -43
- package/esm2022/lib/components/form/input-tel/models/country.model.mjs +0 -2
- package/esm2022/lib/components/form/input-text/input-text.component.mjs +0 -189
- package/esm2022/lib/components/form/input-text/input-text.enum.mjs +0 -15
- package/esm2022/lib/components/form/input-text/input-text.module.mjs +0 -49
- package/esm2022/lib/components/form/input-textarea/input-textarea.component.mjs +0 -197
- package/esm2022/lib/components/form/input-textarea/input-textarea.enum.mjs +0 -7
- package/esm2022/lib/components/form/input-textarea/input-textarea.module.mjs +0 -49
- package/esm2022/lib/components/form/input-timepicker/constants/value-models.mjs +0 -8
- package/esm2022/lib/components/form/input-timepicker/helpers/clean-date.mjs +0 -5
- package/esm2022/lib/components/form/input-timepicker/helpers/cursor-position.mjs +0 -14
- package/esm2022/lib/components/form/input-timepicker/helpers/get-date-dayjs-object.mjs +0 -5
- package/esm2022/lib/components/form/input-timepicker/helpers/get-date-object.mjs +0 -5
- package/esm2022/lib/components/form/input-timepicker/helpers/validate-value-models.mjs +0 -29
- package/esm2022/lib/components/form/input-timepicker/helpers/value-parser.mjs +0 -18
- package/esm2022/lib/components/form/input-timepicker/input-timepicker.component.mjs +0 -292
- package/esm2022/lib/components/form/input-timepicker/input-timepicker.enum.mjs +0 -7
- package/esm2022/lib/components/form/input-timepicker/input-timepicker.module.mjs +0 -46
- package/esm2022/lib/components/form/json-editor/json-editor.component.mjs +0 -224
- package/esm2022/lib/components/form/json-editor/json-editor.enum.mjs +0 -2
- package/esm2022/lib/components/form/json-editor/json-editor.module.mjs +0 -24
- package/esm2022/lib/components/form/json-editor/utils/jsoneditoroptions.mjs +0 -133
- package/esm2022/lib/components/form/radio/radio.component.mjs +0 -91
- package/esm2022/lib/components/form/radio/radio.enum.mjs +0 -5
- package/esm2022/lib/components/form/radio/radio.module.mjs +0 -20
- package/esm2022/lib/components/form/radio-group/components/radio-group-header/radio-group-header.component.mjs +0 -48
- package/esm2022/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.mjs +0 -72
- package/esm2022/lib/components/form/radio-group/helpers/filter-search-group.mjs +0 -27
- package/esm2022/lib/components/form/radio-group/helpers/get-item-by-id.mjs +0 -11
- package/esm2022/lib/components/form/radio-group/helpers/move-selected-to-first.mjs +0 -27
- package/esm2022/lib/components/form/radio-group/models/radio-group.model.mjs +0 -2
- package/esm2022/lib/components/form/radio-group/radio-group.component.mjs +0 -192
- package/esm2022/lib/components/form/radio-group/radio-group.module.mjs +0 -47
- package/esm2022/lib/components/form/rating/rating.component.mjs +0 -215
- package/esm2022/lib/components/form/rating/rating.enum.mjs +0 -16
- package/esm2022/lib/components/form/rating/rating.module.mjs +0 -25
- package/esm2022/lib/components/form/switch/switch.component.mjs +0 -95
- package/esm2022/lib/components/form/switch/switch.enum.mjs +0 -11
- package/esm2022/lib/components/form/switch/switch.module.mjs +0 -21
- package/esm2022/lib/components/gallery/components/gallery-confirm-modal/gallery-confirm-modal.component.mjs +0 -37
- package/esm2022/lib/components/gallery/components/gallery-item/gallery-item.component.mjs +0 -112
- package/esm2022/lib/components/gallery/constants/custom-buttons-default.mjs +0 -7
- package/esm2022/lib/components/gallery/constants/thumbs-config-default.mjs +0 -5
- package/esm2022/lib/components/gallery/gallery.component.mjs +0 -203
- package/esm2022/lib/components/gallery/gallery.module.mjs +0 -54
- package/esm2022/lib/components/gallery/models/gallery-item.model.mjs +0 -2
- package/esm2022/lib/components/gallery/services/gallery.service.mjs +0 -33
- package/esm2022/lib/components/hint-error-message/hint-error-message.component.mjs +0 -121
- package/esm2022/lib/components/hint-error-message/hint-error-message.module.mjs +0 -19
- package/esm2022/lib/components/icon-button/icon-button.component.mjs +0 -55
- package/esm2022/lib/components/icon-button/icon-button.enum.mjs +0 -17
- package/esm2022/lib/components/icon-button/icon-button.module.mjs +0 -19
- package/esm2022/lib/components/label/label.component.mjs +0 -143
- package/esm2022/lib/components/label/label.module.mjs +0 -25
- package/esm2022/lib/components/link/link.component.mjs +0 -61
- package/esm2022/lib/components/link/link.enum.mjs +0 -20
- package/esm2022/lib/components/link/link.module.mjs +0 -20
- package/esm2022/lib/components/loader/loader.component.mjs +0 -24
- package/esm2022/lib/components/loader/loader.enum.mjs +0 -20
- package/esm2022/lib/components/loader/loader.module.mjs +0 -19
- package/esm2022/lib/components/modal/modal.component.mjs +0 -137
- package/esm2022/lib/components/modal/modal.emun.mjs +0 -21
- package/esm2022/lib/components/modal/modal.module.mjs +0 -20
- package/esm2022/lib/components/pages-nav/pages-nav.component.mjs +0 -31
- package/esm2022/lib/components/pages-nav/pages-nav.enum.mjs +0 -6
- package/esm2022/lib/components/pages-nav/pages-nav.module.mjs +0 -24
- package/esm2022/lib/components/paginator/paginator.component.mjs +0 -140
- package/esm2022/lib/components/paginator/paginator.enum.mjs +0 -6
- package/esm2022/lib/components/paginator/paginator.module.mjs +0 -31
- package/esm2022/lib/components/pdf-viewer/pdf-viewer.component.mjs +0 -268
- package/esm2022/lib/components/pdf-viewer/pdf-viewer.module.mjs +0 -59
- package/esm2022/lib/components/progress/progress.component.mjs +0 -24
- package/esm2022/lib/components/progress/progress.enum.mjs +0 -8
- package/esm2022/lib/components/progress/progress.module.mjs +0 -19
- package/esm2022/lib/components/save-state/components/save-state-checkbox/save-state-checkbox.component.mjs +0 -16
- package/esm2022/lib/components/save-state/components/save-state-checkbox-group/save-state-checkbox-group.component.mjs +0 -16
- package/esm2022/lib/components/save-state/components/save-state-editor/save-state-editor.component.mjs +0 -16
- package/esm2022/lib/components/save-state/components/save-state-input/save-state-input.component.mjs +0 -16
- package/esm2022/lib/components/save-state/components/save-state-switch/save-state-switch.component.mjs +0 -16
- package/esm2022/lib/components/save-state/save-state.component.mjs +0 -40
- package/esm2022/lib/components/save-state/save-state.enum.mjs +0 -2
- package/esm2022/lib/components/save-state/save-state.module.mjs +0 -37
- package/esm2022/lib/components/stepper/stepper.component.mjs +0 -52
- package/esm2022/lib/components/stepper/stepper.enum.mjs +0 -6
- package/esm2022/lib/components/stepper/stepper.module.mjs +0 -20
- package/esm2022/lib/components/table/components/column/column.component.mjs +0 -40
- package/esm2022/lib/components/table/default/default-pager-settings.mjs +0 -7
- package/esm2022/lib/components/table/models/data-state-change.event.mjs +0 -2
- package/esm2022/lib/components/table/models/index.mjs +0 -4
- package/esm2022/lib/components/table/models/pager-settings.mjs +0 -2
- package/esm2022/lib/components/table/table.component.mjs +0 -274
- package/esm2022/lib/components/table/table.enum.mjs +0 -8
- package/esm2022/lib/components/table/table.module.mjs +0 -50
- package/esm2022/lib/components/tabs/tab/tab.component.mjs +0 -33
- package/esm2022/lib/components/tabs/tabs-group/tabs-group.component.mjs +0 -27
- package/esm2022/lib/components/tabs/tabs.enum.mjs +0 -14
- package/esm2022/lib/components/tabs/tabs.module.mjs +0 -20
- package/esm2022/lib/components/tooltip/services/tooltip.service.mjs +0 -65
- package/esm2022/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.mjs +0 -36
- package/esm2022/lib/components/tooltip/tooltip-trigger/tooltip-trigger.enum.mjs +0 -11
- package/esm2022/lib/components/tooltip/tooltip.component.mjs +0 -59
- package/esm2022/lib/components/tooltip/tooltip.enum.mjs +0 -6
- package/esm2022/lib/components/tooltip/tooltip.module.mjs +0 -21
- package/esm2022/lib/components/truncate-text/directives/truncate-text.directive.mjs +0 -149
- package/esm2022/lib/components/truncate-text/truncate-text.component.mjs +0 -30
- package/esm2022/lib/components/truncate-text/truncate-text.enum.mjs +0 -2
- package/esm2022/lib/components/truncate-text/truncate-text.module.mjs +0 -21
- package/esm2022/lib/components/warning-message/warning-message.component.mjs +0 -29
- package/esm2022/lib/components/warning-message/warning-message.module.mjs +0 -19
- package/esm2022/lib/components/wrappers/content-wrapper/content-wrapper.component.mjs +0 -25
- package/esm2022/lib/components/wrappers/content-wrapper/content-wrapper.enum.mjs +0 -6
- package/esm2022/lib/components/wrappers/content-wrapper/content-wrapper.module.mjs +0 -19
- package/esm2022/lib/components/wrappers/controls-wrapper/components/controls-item/controls-item.component.mjs +0 -15
- package/esm2022/lib/components/wrappers/controls-wrapper/controls-wrapper.component.mjs +0 -23
- package/esm2022/lib/components/wrappers/controls-wrapper/controls-wrapper.enum.mjs +0 -7
- package/esm2022/lib/components/wrappers/controls-wrapper/controls-wrapper.module.mjs +0 -20
- package/esm2022/lib/components/wrappers/widget-wrapper/widget-wrapper.component.mjs +0 -99
- package/esm2022/lib/components/wrappers/widget-wrapper/widget-wrapper.enum.mjs +0 -17
- package/esm2022/lib/components/wrappers/widget-wrapper/widget-wrapper.module.mjs +0 -24
- package/esm2022/lib/directives/autosize/autosize.directive.mjs +0 -57
- package/esm2022/lib/directives/autosize/autosize.module.mjs +0 -24
- package/esm2022/lib/directives/truncate/truncate.directive.mjs +0 -34
- package/esm2022/lib/directives/truncate/truncate.module.mjs +0 -18
- package/esm2022/lib/enums/typed.input.state.mjs +0 -8
- package/esm2022/lib/helpers/extension/input-file.extension.mjs +0 -39
- package/esm2022/lib/helpers/formatting-date.mjs +0 -51
- package/esm2022/lib/helpers/formatting-dates-from-array.mjs +0 -18
- package/esm2022/lib/helpers/formatting-iso-to-string.mjs +0 -13
- package/esm2022/lib/helpers/index.mjs +0 -8
- package/esm2022/lib/helpers/number-format.mjs +0 -9
- package/esm2022/lib/helpers/string-hash-code.mjs +0 -17
- package/esm2022/lib/helpers/word-form.mjs +0 -11
- package/esm2022/lib/models/index.mjs +0 -3
- package/esm2022/lib/models/input-file/input-file.model.mjs +0 -2
- package/esm2022/lib/models/typed-input-model.mjs +0 -2
- package/esm2022/lib/pipes/currency/currency.module.mjs +0 -20
- package/esm2022/lib/pipes/currency/currency.pipe.mjs +0 -22
- package/esm2022/lib/pipes/date/date-format.module.mjs +0 -19
- package/esm2022/lib/pipes/date/date-format.pipe.mjs +0 -21
- package/esm2022/lib/pipes/date/date-time-format.pipe.mjs +0 -21
- package/esm2022/lib/pipes/date/enums/timezone.mjs +0 -10
- package/esm2022/lib/pipes/date/helpers/change-timezone.mjs +0 -23
- package/esm2022/lib/pipes/phone/phone-format.module.mjs +0 -18
- package/esm2022/lib/pipes/phone/phone-format.pipe.mjs +0 -23
- package/esm2022/lib/pipes/safe/safe.module.mjs +0 -20
- package/esm2022/lib/pipes/safe/safe.pipe.mjs +0 -21
- package/esm2022/lib/pipes/truncate/truncate.module.mjs +0 -20
- package/esm2022/lib/pipes/truncate/truncate.pipe.mjs +0 -23
- package/esm2022/lib/services/file-upload/file-upload.service.mjs +0 -27
- package/esm2022/lib/services/index.mjs +0 -15
- package/esm2022/lib/services/modal-service/components/alert-modal/alert-modal.component.mjs +0 -44
- package/esm2022/lib/services/modal-service/components/confirm-modal/confirm-modal.component.mjs +0 -48
- package/esm2022/lib/services/modal-service/helpers/index.mjs +0 -5
- package/esm2022/lib/services/modal-service/helpers/modal-default-config.mjs +0 -14
- package/esm2022/lib/services/modal-service/helpers/modal-ref.mjs +0 -29
- package/esm2022/lib/services/modal-service/helpers/modal-tokens.mjs +0 -4
- package/esm2022/lib/services/modal-service/helpers/modal.component.mjs +0 -4
- package/esm2022/lib/services/modal-service/modal-service.module.mjs +0 -25
- package/esm2022/lib/services/modal-service/modal-service.service.mjs +0 -84
- package/esm2022/lib/services/modal-service/models/modal-config.model.mjs +0 -2
- package/esm2022/lib/services/mrx-autosave/mrx-autosave.service.mjs +0 -43
- package/esm2022/lib/services/mrx-form-validator/constants/invalid-messages.mjs +0 -10
- package/esm2022/lib/services/mrx-form-validator/helpers/get-error-message.helper.mjs +0 -10
- package/esm2022/lib/services/mrx-form-validator/helpers/get-sorting-validations.helper.mjs +0 -29
- package/esm2022/lib/services/mrx-form-validator/models/index.mjs +0 -4
- package/esm2022/lib/services/mrx-form-validator/models/validations-options.model.mjs +0 -2
- package/esm2022/lib/services/mrx-form-validator/models/validations-settings.model.mjs +0 -2
- package/esm2022/lib/services/mrx-form-validator/models/validations-types.model.mjs +0 -22
- package/esm2022/lib/services/mrx-form-validator/mrx-form-validator.mjs +0 -197
- package/esm2022/lib/services/mrx-form-validator/validations/callback.validation.mjs +0 -15
- package/esm2022/lib/services/mrx-form-validator/validations/email.validation.mjs +0 -11
- package/esm2022/lib/services/mrx-form-validator/validations/max-length.validation.mjs +0 -14
- package/esm2022/lib/services/mrx-form-validator/validations/max-value.validation.mjs +0 -10
- package/esm2022/lib/services/mrx-form-validator/validations/min-length.validation.mjs +0 -15
- package/esm2022/lib/services/mrx-form-validator/validations/min-value.validation.mjs +0 -10
- package/esm2022/lib/services/mrx-form-validator/validations/pattern.validation.mjs +0 -11
- package/esm2022/lib/services/mrx-form-validator/validations/required.validation.mjs +0 -22
- package/esm2022/lib/services/save-store/constants/constants.mjs +0 -2
- package/esm2022/lib/services/save-store/models/save-store.model.mjs +0 -2
- package/esm2022/lib/services/save-store/save-store.module.mjs +0 -29
- package/esm2022/lib/services/save-store/store/actions.mjs +0 -23
- package/esm2022/lib/services/save-store/store/effect.mjs +0 -61
- package/esm2022/lib/services/save-store/store/reducer.mjs +0 -96
- package/esm2022/lib/services/save-store/store/selectors.mjs +0 -5
- package/esm2022/lib/services/save-store/store/state.mjs +0 -4
- package/esm2022/lib/services/toaster-service/components/toaster/toaster.component.mjs +0 -29
- package/esm2022/lib/services/toaster-service/models/toaster.model.mjs +0 -15
- package/esm2022/lib/services/toaster-service/toaster-service.module.mjs +0 -52
- package/esm2022/lib/services/toaster-service/toaster-service.service.mjs +0 -53
- package/esm2022/myrta-ui.mjs +0 -5
- package/esm2022/public-api.mjs +0 -183
- package/fesm2022/myrta-ui.mjs +0 -16515
- package/fesm2022/myrta-ui.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/components/alert/alert.component.d.ts +0 -17
- package/lib/components/alert/alert.enum.d.ts +0 -13
- package/lib/components/alert/alert.module.d.ts +0 -8
- package/lib/components/badges/badge.enum.d.ts +0 -38
- package/lib/components/badges/badges.module.d.ts +0 -9
- package/lib/components/badges/components/badge/badge.component.d.ts +0 -21
- package/lib/components/badges/components/badge-group/badge-group.component.d.ts +0 -5
- package/lib/components/breadcrumbs/breadcrumbs.component.d.ts +0 -11
- package/lib/components/breadcrumbs/breadcrumbs.enum.d.ts +0 -16
- package/lib/components/breadcrumbs/breadcrumbs.module.d.ts +0 -9
- package/lib/components/button/button.component.d.ts +0 -31
- package/lib/components/button/button.enum.d.ts +0 -27
- package/lib/components/button/button.module.d.ts +0 -10
- package/lib/components/cdk-tooltip/cdk-tooltip/tooltip-container.component.d.ts +0 -13
- package/lib/components/cdk-tooltip/cdk-tooltip.directive.d.ts +0 -24
- package/lib/components/cdk-tooltip/cdk-tooltip.module.d.ts +0 -10
- package/lib/components/cdk-tooltip/constants/index.d.ts +0 -7
- package/lib/components/cdk-tooltip/models/tooltip-data.d.ts +0 -6
- package/lib/components/chars-left/chars-left.component.d.ts +0 -9
- package/lib/components/chars-left/chars-left.module.d.ts +0 -8
- package/lib/components/dropdown/directives/hide-after-click.directive.d.ts +0 -9
- package/lib/components/dropdown/dropdown.component.d.ts +0 -26
- package/lib/components/dropdown/dropdown.module.d.ts +0 -10
- package/lib/components/error-message/error-message.component.d.ts +0 -10
- package/lib/components/error-message/error-message.module.d.ts +0 -8
- package/lib/components/form/checkbox/checkbox.component.d.ts +0 -46
- package/lib/components/form/checkbox/checkbox.enum.d.ts +0 -10
- package/lib/components/form/checkbox/checkbox.module.d.ts +0 -11
- package/lib/components/form/checkbox-group/checkbox-group.component.d.ts +0 -63
- package/lib/components/form/checkbox-group/checkbox-group.module.d.ts +0 -16
- package/lib/components/form/checkbox-group/components/checkbox-group-header/checkbox-group-header.component.d.ts +0 -19
- package/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.d.ts +0 -33
- package/lib/components/form/checkbox-group/helpers/change-group-value.d.ts +0 -3
- package/lib/components/form/checkbox-group/helpers/change-item-value.d.ts +0 -3
- package/lib/components/form/checkbox-group/helpers/filter-search-group.d.ts +0 -2
- package/lib/components/form/checkbox-group/helpers/get-checked-items.d.ts +0 -2
- package/lib/components/form/checkbox-group/helpers/get-inner-list.helper.d.ts +0 -2
- package/lib/components/form/checkbox-group/helpers/get-item-by-id.d.ts +0 -2
- package/lib/components/form/checkbox-group/helpers/get-sorted-list.d.ts +0 -2
- package/lib/components/form/checkbox-group/helpers/inner-list-to-list.helper.d.ts +0 -2
- package/lib/components/form/checkbox-group/models/checkbox-group.model.d.ts +0 -26
- package/lib/components/form/editor/config/default-inline-style.d.ts +0 -11
- package/lib/components/form/editor/config/index.d.ts +0 -1
- package/lib/components/form/editor/config/popups-toolbar.d.ts +0 -15
- package/lib/components/form/editor/config/toolbar.d.ts +0 -2
- package/lib/components/form/editor/editor.component.d.ts +0 -60
- package/lib/components/form/editor/editor.enum.d.ts +0 -10
- package/lib/components/form/editor/editor.module.d.ts +0 -14
- package/lib/components/form/editor/models/toolbar.model.d.ts +0 -6
- package/lib/components/form/editor/modules/change-icon-module.d.ts +0 -1
- package/lib/components/form/input-date-time/constants/value-models.d.ts +0 -3
- package/lib/components/form/input-date-time/enum/timezone.d.ts +0 -6
- package/lib/components/form/input-date-time/helpers/clean-date.d.ts +0 -1
- package/lib/components/form/input-date-time/helpers/cursor-position.d.ts +0 -1
- package/lib/components/form/input-date-time/helpers/formatting-from-models.d.ts +0 -3
- package/lib/components/form/input-date-time/helpers/formatting-moscow-timezone.d.ts +0 -2
- package/lib/components/form/input-date-time/helpers/validate-value-models.d.ts +0 -19
- package/lib/components/form/input-date-time/helpers/value-parser.d.ts +0 -4
- package/lib/components/form/input-date-time/input-date-time.component.d.ts +0 -72
- package/lib/components/form/input-date-time/input-date-time.enum.d.ts +0 -21
- package/lib/components/form/input-date-time/input-date-time.module.d.ts +0 -13
- package/lib/components/form/input-datepicker/constants/value-models.d.ts +0 -3
- package/lib/components/form/input-datepicker/helpers/clean-date.d.ts +0 -1
- package/lib/components/form/input-datepicker/helpers/cursor-position.d.ts +0 -1
- package/lib/components/form/input-datepicker/helpers/get-date-dayjs-object.d.ts +0 -3
- package/lib/components/form/input-datepicker/helpers/get-date-object.d.ts +0 -2
- package/lib/components/form/input-datepicker/helpers/validate-value-models.d.ts +0 -20
- package/lib/components/form/input-datepicker/helpers/value-parser.d.ts +0 -3
- package/lib/components/form/input-datepicker/input-datepicker.component.d.ts +0 -69
- package/lib/components/form/input-datepicker/input-datepicker.enum.d.ts +0 -12
- package/lib/components/form/input-datepicker/input-datepicker.module.d.ts +0 -13
- package/lib/components/form/input-file/enums/error-messages.enum.d.ts +0 -6
- package/lib/components/form/input-file/input-file.component.d.ts +0 -74
- package/lib/components/form/input-file/input-file.enum.d.ts +0 -7
- package/lib/components/form/input-file/input-file.module.d.ts +0 -13
- package/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.d.ts +0 -43
- package/lib/components/form/input-file-image/input-file-image.component.d.ts +0 -57
- package/lib/components/form/input-file-image/input-file-image.enum.d.ts +0 -8
- package/lib/components/form/input-file-image/input-file-image.module.d.ts +0 -15
- package/lib/components/form/input-number/input-number.component.d.ts +0 -64
- package/lib/components/form/input-number/input-number.enum.d.ts +0 -12
- package/lib/components/form/input-number/input-number.module.d.ts +0 -13
- package/lib/components/form/input-opt/components/input-opt/input-opt.component.d.ts +0 -77
- package/lib/components/form/input-opt/components/input-opt/input-opt.enum.d.ts +0 -7
- package/lib/components/form/input-opt/directives/opt-pattern.directive.d.ts +0 -8
- package/lib/components/form/input-opt/input-opt.module.d.ts +0 -11
- package/lib/components/form/input-opt/models/input-opt.model.d.ts +0 -26
- package/lib/components/form/input-opt/services/input-opt.service.d.ts +0 -11
- package/lib/components/form/input-password/input-password.component.d.ts +0 -38
- package/lib/components/form/input-password/input-password.enum.d.ts +0 -7
- package/lib/components/form/input-password/input-password.module.d.ts +0 -11
- package/lib/components/form/input-phone/data/country-code.d.ts +0 -6
- package/lib/components/form/input-phone/directives/native-element-injector.directive.d.ts +0 -11
- package/lib/components/form/input-phone/enums/country-iso.enum.d.ts +0 -245
- package/lib/components/form/input-phone/enums/input-phone.enum.d.ts +0 -11
- package/lib/components/form/input-phone/enums/mask.enum.d.ts +0 -8
- package/lib/components/form/input-phone/enums/phone-number-format.enum.d.ts +0 -4
- package/lib/components/form/input-phone/enums/search-country-field.enum.d.ts +0 -6
- package/lib/components/form/input-phone/input-phone.component.d.ts +0 -132
- package/lib/components/form/input-phone/input-phone.module.d.ts +0 -14
- package/lib/components/form/input-phone/input-phone.validator.d.ts +0 -5
- package/lib/components/form/input-phone/interfaces/change-data.d.ts +0 -9
- package/lib/components/form/input-phone/models/country.model.d.ts +0 -13
- package/lib/components/form/input-search/input-search.component.d.ts +0 -48
- package/lib/components/form/input-search/input-search.enum.d.ts +0 -6
- package/lib/components/form/input-search/input-search.module.d.ts +0 -12
- package/lib/components/form/input-select/input-select.component.d.ts +0 -95
- package/lib/components/form/input-select/input-select.enum.d.ts +0 -10
- package/lib/components/form/input-select/input-select.module.d.ts +0 -14
- package/lib/components/form/input-tel/assets/base64.d.ts +0 -3
- package/lib/components/form/input-tel/data/all-countries.d.ts +0 -1
- package/lib/components/form/input-tel/data/country-iso.enum.d.ts +0 -245
- package/lib/components/form/input-tel/data/phone-number-format.enum.d.ts +0 -5
- package/lib/components/form/input-tel/data/search-country-field.enum.d.ts +0 -6
- package/lib/components/form/input-tel/directives/input-tel.directive.d.ts +0 -21
- package/lib/components/form/input-tel/enums/input-phone.enum.d.ts +0 -11
- package/lib/components/form/input-tel/input-tel.component.d.ts +0 -89
- package/lib/components/form/input-tel/input-tel.module.d.ts +0 -13
- package/lib/components/form/input-tel/models/country.model.d.ts +0 -18
- package/lib/components/form/input-text/input-text.component.d.ts +0 -54
- package/lib/components/form/input-text/input-text.enum.d.ts +0 -19
- package/lib/components/form/input-text/input-text.module.d.ts +0 -14
- package/lib/components/form/input-textarea/input-textarea.component.d.ts +0 -54
- package/lib/components/form/input-textarea/input-textarea.enum.d.ts +0 -11
- package/lib/components/form/input-textarea/input-textarea.module.d.ts +0 -14
- package/lib/components/form/input-timepicker/constants/value-models.d.ts +0 -2
- package/lib/components/form/input-timepicker/helpers/clean-date.d.ts +0 -1
- package/lib/components/form/input-timepicker/helpers/cursor-position.d.ts +0 -1
- package/lib/components/form/input-timepicker/helpers/get-date-dayjs-object.d.ts +0 -3
- package/lib/components/form/input-timepicker/helpers/get-date-object.d.ts +0 -2
- package/lib/components/form/input-timepicker/helpers/validate-value-models.d.ts +0 -10
- package/lib/components/form/input-timepicker/helpers/value-parser.d.ts +0 -2
- package/lib/components/form/input-timepicker/input-timepicker.component.d.ts +0 -60
- package/lib/components/form/input-timepicker/input-timepicker.enum.d.ts +0 -11
- package/lib/components/form/input-timepicker/input-timepicker.module.d.ts +0 -13
- package/lib/components/form/json-editor/json-editor.component.d.ts +0 -58
- package/lib/components/form/json-editor/json-editor.enum.d.ts +0 -5
- package/lib/components/form/json-editor/json-editor.module.d.ts +0 -8
- package/lib/components/form/json-editor/utils/jsoneditoroptions.d.ts +0 -128
- package/lib/components/form/radio/radio.component.d.ts +0 -29
- package/lib/components/form/radio/radio.enum.d.ts +0 -4
- package/lib/components/form/radio/radio.module.d.ts +0 -9
- package/lib/components/form/radio-group/components/radio-group-header/radio-group-header.component.d.ts +0 -20
- package/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.d.ts +0 -28
- package/lib/components/form/radio-group/helpers/filter-search-group.d.ts +0 -2
- package/lib/components/form/radio-group/helpers/get-item-by-id.d.ts +0 -2
- package/lib/components/form/radio-group/helpers/move-selected-to-first.d.ts +0 -2
- package/lib/components/form/radio-group/models/radio-group.model.d.ts +0 -12
- package/lib/components/form/radio-group/radio-group.component.d.ts +0 -63
- package/lib/components/form/radio-group/radio-group.module.d.ts +0 -16
- package/lib/components/form/rating/rating.component.d.ts +0 -51
- package/lib/components/form/rating/rating.enum.d.ts +0 -27
- package/lib/components/form/rating/rating.module.d.ts +0 -9
- package/lib/components/form/switch/switch.component.d.ts +0 -32
- package/lib/components/form/switch/switch.enum.d.ts +0 -15
- package/lib/components/form/switch/switch.module.d.ts +0 -10
- package/lib/components/gallery/components/gallery-confirm-modal/gallery-confirm-modal.component.d.ts +0 -20
- package/lib/components/gallery/components/gallery-item/gallery-item.component.d.ts +0 -38
- package/lib/components/gallery/constants/custom-buttons-default.d.ts +0 -3
- package/lib/components/gallery/constants/thumbs-config-default.d.ts +0 -2
- package/lib/components/gallery/gallery.component.d.ts +0 -38
- package/lib/components/gallery/gallery.module.d.ts +0 -16
- package/lib/components/gallery/models/gallery-item.model.d.ts +0 -24
- package/lib/components/gallery/services/gallery.service.d.ts +0 -14
- package/lib/components/hint-error-message/hint-error-message.component.d.ts +0 -21
- package/lib/components/hint-error-message/hint-error-message.module.d.ts +0 -8
- package/lib/components/icon-button/icon-button.component.d.ts +0 -22
- package/lib/components/icon-button/icon-button.enum.d.ts +0 -16
- package/lib/components/icon-button/icon-button.module.d.ts +0 -9
- package/lib/components/label/label.component.d.ts +0 -44
- package/lib/components/label/label.module.d.ts +0 -14
- package/lib/components/link/link.component.d.ts +0 -25
- package/lib/components/link/link.enum.d.ts +0 -19
- package/lib/components/link/link.module.d.ts +0 -9
- package/lib/components/loader/loader.component.d.ts +0 -10
- package/lib/components/loader/loader.enum.d.ts +0 -19
- package/lib/components/loader/loader.module.d.ts +0 -8
- package/lib/components/modal/modal.component.d.ts +0 -36
- package/lib/components/modal/modal.emun.d.ts +0 -20
- package/lib/components/modal/modal.module.d.ts +0 -9
- package/lib/components/pages-nav/pages-nav.component.d.ts +0 -12
- package/lib/components/pages-nav/pages-nav.enum.d.ts +0 -5
- package/lib/components/pages-nav/pages-nav.module.d.ts +0 -8
- package/lib/components/paginator/paginator.component.d.ts +0 -29
- package/lib/components/paginator/paginator.enum.d.ts +0 -10
- package/lib/components/paginator/paginator.module.d.ts +0 -10
- package/lib/components/pdf-viewer/pdf-viewer.component.d.ts +0 -70
- package/lib/components/pdf-viewer/pdf-viewer.module.d.ts +0 -16
- package/lib/components/progress/progress.component.d.ts +0 -10
- package/lib/components/progress/progress.enum.d.ts +0 -7
- package/lib/components/progress/progress.module.d.ts +0 -8
- package/lib/components/save-state/components/save-state-checkbox/save-state-checkbox.component.d.ts +0 -8
- package/lib/components/save-state/components/save-state-checkbox-group/save-state-checkbox-group.component.d.ts +0 -8
- package/lib/components/save-state/components/save-state-editor/save-state-editor.component.d.ts +0 -8
- package/lib/components/save-state/components/save-state-input/save-state-input.component.d.ts +0 -8
- package/lib/components/save-state/components/save-state-switch/save-state-switch.component.d.ts +0 -8
- package/lib/components/save-state/save-state.component.d.ts +0 -13
- package/lib/components/save-state/save-state.enum.d.ts +0 -1
- package/lib/components/save-state/save-state.module.d.ts +0 -13
- package/lib/components/stepper/stepper.component.d.ts +0 -17
- package/lib/components/stepper/stepper.enum.d.ts +0 -5
- package/lib/components/stepper/stepper.module.d.ts +0 -9
- package/lib/components/table/components/column/column.component.d.ts +0 -14
- package/lib/components/table/default/default-pager-settings.d.ts +0 -2
- package/lib/components/table/models/data-state-change.event.d.ts +0 -15
- package/lib/components/table/models/index.d.ts +0 -3
- package/lib/components/table/models/pager-settings.d.ts +0 -22
- package/lib/components/table/table.component.d.ts +0 -55
- package/lib/components/table/table.enum.d.ts +0 -32
- package/lib/components/table/table.module.d.ts +0 -14
- package/lib/components/tabs/tab/tab.component.d.ts +0 -13
- package/lib/components/tabs/tabs-group/tabs-group.component.d.ts +0 -11
- package/lib/components/tabs/tabs.enum.d.ts +0 -11
- package/lib/components/tabs/tabs.module.d.ts +0 -9
- package/lib/components/tooltip/services/tooltip.service.d.ts +0 -18
- package/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.d.ts +0 -15
- package/lib/components/tooltip/tooltip-trigger/tooltip-trigger.enum.d.ts +0 -10
- package/lib/components/tooltip/tooltip.component.d.ts +0 -18
- package/lib/components/tooltip/tooltip.enum.d.ts +0 -4
- package/lib/components/tooltip/tooltip.module.d.ts +0 -10
- package/lib/components/truncate-text/directives/truncate-text.directive.d.ts +0 -37
- package/lib/components/truncate-text/truncate-text.component.d.ts +0 -12
- package/lib/components/truncate-text/truncate-text.enum.d.ts +0 -2
- package/lib/components/truncate-text/truncate-text.module.d.ts +0 -10
- package/lib/components/warning-message/warning-message.component.d.ts +0 -9
- package/lib/components/warning-message/warning-message.module.d.ts +0 -8
- package/lib/components/wrappers/content-wrapper/content-wrapper.component.d.ts +0 -10
- package/lib/components/wrappers/content-wrapper/content-wrapper.enum.d.ts +0 -5
- package/lib/components/wrappers/content-wrapper/content-wrapper.module.d.ts +0 -8
- package/lib/components/wrappers/controls-wrapper/components/controls-item/controls-item.component.d.ts +0 -6
- package/lib/components/wrappers/controls-wrapper/controls-wrapper.component.d.ts +0 -10
- package/lib/components/wrappers/controls-wrapper/controls-wrapper.enum.d.ts +0 -6
- package/lib/components/wrappers/controls-wrapper/controls-wrapper.module.d.ts +0 -9
- package/lib/components/wrappers/widget-wrapper/widget-wrapper.component.d.ts +0 -26
- package/lib/components/wrappers/widget-wrapper/widget-wrapper.enum.d.ts +0 -15
- package/lib/components/wrappers/widget-wrapper/widget-wrapper.module.d.ts +0 -8
- package/lib/directives/autosize/autosize.directive.d.ts +0 -16
- package/lib/directives/autosize/autosize.module.d.ts +0 -8
- package/lib/directives/truncate/truncate.directive.d.ts +0 -12
- package/lib/directives/truncate/truncate.module.d.ts +0 -8
- package/lib/enums/typed.input.state.d.ts +0 -6
- package/lib/helpers/extension/input-file.extension.d.ts +0 -4
- package/lib/helpers/formatting-date.d.ts +0 -9
- package/lib/helpers/formatting-dates-from-array.d.ts +0 -2
- package/lib/helpers/formatting-iso-to-string.d.ts +0 -2
- package/lib/helpers/index.d.ts +0 -7
- package/lib/helpers/number-format.d.ts +0 -6
- package/lib/helpers/string-hash-code.d.ts +0 -2
- package/lib/helpers/word-form.d.ts +0 -7
- package/lib/models/index.d.ts +0 -2
- package/lib/models/input-file/input-file.model.d.ts +0 -23
- package/lib/models/typed-input-model.d.ts +0 -16
- package/lib/pipes/currency/currency.module.d.ts +0 -8
- package/lib/pipes/currency/currency.pipe.d.ts +0 -7
- package/lib/pipes/date/date-format.module.d.ts +0 -9
- package/lib/pipes/date/date-format.pipe.d.ts +0 -9
- package/lib/pipes/date/date-time-format.pipe.d.ts +0 -9
- package/lib/pipes/date/enums/timezone.d.ts +0 -8
- package/lib/pipes/date/helpers/change-timezone.d.ts +0 -2
- package/lib/pipes/phone/phone-format.module.d.ts +0 -8
- package/lib/pipes/phone/phone-format.pipe.d.ts +0 -8
- package/lib/pipes/safe/safe.module.d.ts +0 -8
- package/lib/pipes/safe/safe.pipe.d.ts +0 -10
- package/lib/pipes/truncate/truncate.module.d.ts +0 -8
- package/lib/pipes/truncate/truncate.pipe.d.ts +0 -7
- package/lib/services/file-upload/file-upload.service.d.ts +0 -12
- package/lib/services/index.d.ts +0 -14
- package/lib/services/modal-service/components/alert-modal/alert-modal.component.d.ts +0 -19
- package/lib/services/modal-service/components/confirm-modal/confirm-modal.component.d.ts +0 -20
- package/lib/services/modal-service/helpers/index.d.ts +0 -4
- package/lib/services/modal-service/helpers/modal-default-config.d.ts +0 -3
- package/lib/services/modal-service/helpers/modal-ref.d.ts +0 -11
- package/lib/services/modal-service/helpers/modal-tokens.d.ts +0 -3
- package/lib/services/modal-service/helpers/modal.component.d.ts +0 -3
- package/lib/services/modal-service/modal-service.module.d.ts +0 -9
- package/lib/services/modal-service/modal-service.service.d.ts +0 -20
- package/lib/services/modal-service/models/modal-config.model.d.ts +0 -14
- package/lib/services/mrx-autosave/mrx-autosave.service.d.ts +0 -19
- package/lib/services/mrx-form-validator/constants/invalid-messages.d.ts +0 -9
- package/lib/services/mrx-form-validator/helpers/get-error-message.helper.d.ts +0 -3
- package/lib/services/mrx-form-validator/helpers/get-sorting-validations.helper.d.ts +0 -2
- package/lib/services/mrx-form-validator/models/index.d.ts +0 -3
- package/lib/services/mrx-form-validator/models/validations-options.model.d.ts +0 -31
- package/lib/services/mrx-form-validator/models/validations-settings.model.d.ts +0 -7
- package/lib/services/mrx-form-validator/models/validations-types.model.d.ts +0 -19
- package/lib/services/mrx-form-validator/mrx-form-validator.d.ts +0 -24
- package/lib/services/mrx-form-validator/validations/callback.validation.d.ts +0 -5
- package/lib/services/mrx-form-validator/validations/email.validation.d.ts +0 -5
- package/lib/services/mrx-form-validator/validations/max-length.validation.d.ts +0 -5
- package/lib/services/mrx-form-validator/validations/max-value.validation.d.ts +0 -5
- package/lib/services/mrx-form-validator/validations/min-length.validation.d.ts +0 -5
- package/lib/services/mrx-form-validator/validations/min-value.validation.d.ts +0 -5
- package/lib/services/mrx-form-validator/validations/pattern.validation.d.ts +0 -5
- package/lib/services/mrx-form-validator/validations/required.validation.d.ts +0 -5
- package/lib/services/save-store/constants/constants.d.ts +0 -1
- package/lib/services/save-store/models/save-store.model.d.ts +0 -4
- package/lib/services/save-store/save-store.module.d.ts +0 -9
- package/lib/services/save-store/store/actions.d.ts +0 -21
- package/lib/services/save-store/store/effect.d.ts +0 -10
- package/lib/services/save-store/store/reducer.d.ts +0 -3
- package/lib/services/save-store/store/selectors.d.ts +0 -3
- package/lib/services/save-store/store/state.d.ts +0 -11
- package/lib/services/toaster-service/components/toaster/toaster.component.d.ts +0 -12
- package/lib/services/toaster-service/models/toaster.model.d.ts +0 -12
- package/lib/services/toaster-service/toaster-service.module.d.ts +0 -10
- package/lib/services/toaster-service/toaster-service.service.d.ts +0 -15
- package/public-api.d.ts +0 -170
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export var InputEditorModeEnum;
|
|
2
|
-
(function (InputEditorModeEnum) {
|
|
3
|
-
InputEditorModeEnum[InputEditorModeEnum["MODE_WYSIWYG"] = 1] = "MODE_WYSIWYG";
|
|
4
|
-
InputEditorModeEnum[InputEditorModeEnum["MODE_SOURCE"] = 2] = "MODE_SOURCE";
|
|
5
|
-
InputEditorModeEnum[InputEditorModeEnum["MODE_SPLIT"] = 3] = "MODE_SPLIT";
|
|
6
|
-
})(InputEditorModeEnum || (InputEditorModeEnum = {}));
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWRpdG9yLmVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9teXJ0YS11aS9zcmMvbGliL2NvbXBvbmVudHMvZm9ybS9lZGl0b3IvZWRpdG9yLmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBT0EsTUFBTSxDQUFOLElBQVksbUJBSVg7QUFKRCxXQUFZLG1CQUFtQjtJQUM3Qiw2RUFBZ0IsQ0FBQTtJQUNoQiwyRUFBZSxDQUFBO0lBQ2YseUVBQWMsQ0FBQTtBQUNoQixDQUFDLEVBSlcsbUJBQW1CLEtBQW5CLG1CQUFtQixRQUk5QiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB0eXBlIElucHV0RWRpdG9yVmFsdWVUeXBlcyA9IHN0cmluZztcclxuXHJcbmV4cG9ydCBpbnRlcmZhY2UgSW5wdXRFZGl0b3JWYWx1ZVdpdGhJZCB7XHJcbiAgdmFsdWU6IElucHV0RWRpdG9yVmFsdWVUeXBlcyxcclxuICBpZDogc3RyaW5nXHJcbn1cclxuXHJcbmV4cG9ydCBlbnVtIElucHV0RWRpdG9yTW9kZUVudW0ge1xyXG4gIE1PREVfV1lTSVdZRyA9IDEsXHJcbiAgTU9ERV9TT1VSQ0UgPSAyLFxyXG4gIE1PREVfU1BMSVQgPSAzXHJcbn1cclxuIl19
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { EditorComponent } from './editor.component';
|
|
4
|
-
import { FormsModule } from '@angular/forms';
|
|
5
|
-
import { CharsLeftModule } from '../../chars-left/chars-left.module';
|
|
6
|
-
import { SafeModule } from '../../../pipes/safe/safe.module';
|
|
7
|
-
import { ErrorMessageModule } from '../../error-message/error-message.module';
|
|
8
|
-
import { SaveStateModule } from '../../save-state/save-state.module';
|
|
9
|
-
import { NgxJoditComponent } from 'ngx-jodit';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
export class EditorModule {
|
|
12
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
13
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: EditorModule, declarations: [EditorComponent], imports: [CommonModule,
|
|
14
|
-
FormsModule,
|
|
15
|
-
NgxJoditComponent,
|
|
16
|
-
CharsLeftModule,
|
|
17
|
-
SafeModule,
|
|
18
|
-
ErrorMessageModule,
|
|
19
|
-
SaveStateModule], exports: [EditorComponent] });
|
|
20
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EditorModule, imports: [CommonModule,
|
|
21
|
-
FormsModule,
|
|
22
|
-
NgxJoditComponent,
|
|
23
|
-
CharsLeftModule,
|
|
24
|
-
SafeModule,
|
|
25
|
-
ErrorMessageModule,
|
|
26
|
-
SaveStateModule] });
|
|
27
|
-
}
|
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EditorModule, decorators: [{
|
|
29
|
-
type: NgModule,
|
|
30
|
-
args: [{
|
|
31
|
-
declarations: [EditorComponent],
|
|
32
|
-
imports: [
|
|
33
|
-
CommonModule,
|
|
34
|
-
FormsModule,
|
|
35
|
-
NgxJoditComponent,
|
|
36
|
-
CharsLeftModule,
|
|
37
|
-
SafeModule,
|
|
38
|
-
ErrorMessageModule,
|
|
39
|
-
SaveStateModule
|
|
40
|
-
],
|
|
41
|
-
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
42
|
-
exports: [EditorComponent]
|
|
43
|
-
}]
|
|
44
|
-
}] });
|
|
45
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWRpdG9yLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL215cnRhLXVpL3NyYy9saWIvY29tcG9uZW50cy9mb3JtL2VkaXRvci9lZGl0b3IubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDakUsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUNyRCxPQUFPLEVBQUUsV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LFxyXG4gIGV4cG9ydHM6IFtFZGl0b3JDb21wb25lbnRdXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBFZGl0b3JNb2R1bGUgeyB9XHJcbiJdfQ==
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbGJhci5tb2RlbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL215cnRhLXVpL3NyYy9saWIvY29tcG9uZW50cy9mb3JtL2VkaXRvci9tb2RlbHMvdG9vbGJhci5tb2RlbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGludGVyZmFjZSBUb29sYmFyQ29uZmlnIHtcclxuICBidXR0b25zOiBhbnksXHJcbiAgYnV0dG9uc01EPzogYW55LFxyXG4gIGJ1dHRvbnNTTT86IGFueSxcclxuICBidXR0b25zWFM/OiBhbnlcclxufVxyXG4iXX0=
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
export const changeIconsFunction = (iconName) => {
|
|
2
|
-
switch (iconName) {
|
|
3
|
-
case 'paragraph':
|
|
4
|
-
return '<span class="mrx-icon icon-wysiwyg-icons-paragraph icon-font-24"></span>';
|
|
5
|
-
case 'bold':
|
|
6
|
-
return (`<span class="mrx-icon icon-wysiwyg-icons-text-bold icon-font-24"></span>`);
|
|
7
|
-
case 'strikethrough':
|
|
8
|
-
return '<span class="mrx-icon icon-wysiwyg-icons-strikethrough-text icon-font-24"></span>';
|
|
9
|
-
case 'underline':
|
|
10
|
-
return (`<span class="mrx-icon icon-wysiwyg-icons-text-underline icon-font-24"></span>`);
|
|
11
|
-
case 'italic':
|
|
12
|
-
return '<span class="mrx-icon icon-wysiwyg-icons-text-italic icon-font-24"></span>';
|
|
13
|
-
case 'redo':
|
|
14
|
-
return '<span class="mrx-icon icon-reload icon-font-24"></span>';
|
|
15
|
-
case 'undo':
|
|
16
|
-
return '<span class="mrx-icon icon-return icon-font-24"></span>';
|
|
17
|
-
case 'search':
|
|
18
|
-
return '<span class="mrx-icon icon-search icon-font-24"></span>';
|
|
19
|
-
case 'source':
|
|
20
|
-
return '<span class="mrx-icon icon-code icon-font-24"></span>';
|
|
21
|
-
case 'table':
|
|
22
|
-
return '<span class="mrx-icon icon-table icon-font-24"></span>';
|
|
23
|
-
case 'valign':
|
|
24
|
-
return '<span class="mrx-icon icon-wysiwyg-icons-padding icon-font-24"></span>';
|
|
25
|
-
case 'splitv':
|
|
26
|
-
return '<span class="mrx-icon icon-wysiwyg-icons-column-split icon-font-24"></span>';
|
|
27
|
-
case 'merge':
|
|
28
|
-
return '<span class="mrx-icon icon-wysiwyg-icons-column-merge icon-font-24"></span>';
|
|
29
|
-
case 'addcolumn':
|
|
30
|
-
return '<span class="mrx-icon icon-wysiwyg-icons-add-column icon-font-24"></span>';
|
|
31
|
-
case 'addrow':
|
|
32
|
-
return '<span class="mrx-icon icon-wysiwyg-icons-add-row icon-font-24"></span>';
|
|
33
|
-
case 'brush':
|
|
34
|
-
return '<span class="mrx-icon icon-wysiwyg-icons-fill-color icon-font-24"></span>';
|
|
35
|
-
case 'Background':
|
|
36
|
-
return null;
|
|
37
|
-
case 'Text':
|
|
38
|
-
return null;
|
|
39
|
-
case 'Border':
|
|
40
|
-
return null;
|
|
41
|
-
case 'font':
|
|
42
|
-
return '<span class="mrx-icon icon-wysiwyg-icons-font-family icon-font-24"></span>';
|
|
43
|
-
case 'fontsize':
|
|
44
|
-
return '<span class="mrx-icon icon-wysiwyg-icons-font-size icon-font-24"></span>';
|
|
45
|
-
case 'left':
|
|
46
|
-
return '<span class="mrx-icon icon-wysiwyg-icons-text-align-left icon-font-24"></span>';
|
|
47
|
-
case 'right':
|
|
48
|
-
return '<span class="mrx-icon icon-wysiwyg-icons-text-align-right icon-font-24"></span>';
|
|
49
|
-
case 'center':
|
|
50
|
-
return '<span class="mrx-icon icon-wysiwyg-icons-text-align-center icon-font-24"></span>';
|
|
51
|
-
case 'justify':
|
|
52
|
-
return '<span class="mrx-icon icon-wysiwyg-icons-text-align-justify icon-font-24"></span>';
|
|
53
|
-
case 'lineHeight':
|
|
54
|
-
return '<span class="mrx-icon icon-wysiwyg-icons-line-height icon-font-24"></span>';
|
|
55
|
-
case 'indent':
|
|
56
|
-
return '<span class="mrx-icon icon-wysiwyg-icons-padding-left icon-font-24"></span>';
|
|
57
|
-
case 'outdent':
|
|
58
|
-
return '<span class="mrx-icon icon-wysiwyg-icons-padding-right icon-font-24"></span>';
|
|
59
|
-
case 'ul':
|
|
60
|
-
return '<span class="mrx-icon icon-point icon-font-24"></span>';
|
|
61
|
-
case 'ol':
|
|
62
|
-
return '<span class="mrx-icon icon-numbers icon-font-24"></span>';
|
|
63
|
-
case 'link':
|
|
64
|
-
return '<span class="mrx-icon icon-link icon-font-24"></span>';
|
|
65
|
-
case 'image':
|
|
66
|
-
return '<span class="mrx-icon icon-image icon-font-24"></span>';
|
|
67
|
-
case 'delete':
|
|
68
|
-
return '<span class="mrx-icon icon-delete icon-font-24"></span>';
|
|
69
|
-
case 'upload':
|
|
70
|
-
return '<span class="mrx-icon icon-upload icon-font-24"></span>';
|
|
71
|
-
case 'video':
|
|
72
|
-
return '<span class="mrx-icon icon-wysiwyg-icons-media icon-font-24"></span>';
|
|
73
|
-
case 'dots':
|
|
74
|
-
return '<span class="mrx-icon icon-more-vertical icon-font-24"></span>';
|
|
75
|
-
case 'bin':
|
|
76
|
-
return '<span class="mrx-icon icon-delete icon-font-24"></span>';
|
|
77
|
-
case 'eye':
|
|
78
|
-
return '<span class="mrx-icon icon-view icon-font-24"></span>';
|
|
79
|
-
case 'pencil':
|
|
80
|
-
return '<span class="mrx-icon icon-edit icon-font-24"></span>';
|
|
81
|
-
case 'unlink':
|
|
82
|
-
return '<span class="mrx-icon icon-cancel icon-font-24"></span>';
|
|
83
|
-
case 'file':
|
|
84
|
-
return '<span class="mrx-icon icon-file icon-font-24"></span>';
|
|
85
|
-
case 'empty':
|
|
86
|
-
case '':
|
|
87
|
-
return null;
|
|
88
|
-
default:
|
|
89
|
-
return '<span class="mrx-icon icon-close icon-font-24"></span>';
|
|
90
|
-
}
|
|
91
|
-
};
|
|
92
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhbmdlLWljb24tbW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9jb21wb25lbnRzL2Zvcm0vZWRpdG9yL21vZHVsZXMvY2hhbmdlLWljb24tbW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBQyxNQUFNLG1CQUFtQixHQUFHLENBQUMsUUFBZ0IsRUFBRSxFQUFFO0lBQ3RELFFBQVEsUUFBUSxFQUFFLENBQUM7UUFDakIsS0FBTSxXQUFXO1lBQ2YsT0FBTywwRUFBMEUsQ0FBQTtRQUNuRixLQUFLLE1BQU07WUFDVCxPQUFPLENBQUMsMEVBQTBFLENBQUMsQ0FBQztRQUN0RixLQUFLLGVBQWU7WUFDbEIsT0FBTyxtRkFBbUYsQ0FBQTtRQUM1RixLQUFLLFdBQVc7WUFDZCxPQUFPLENBQUMsK0VBQStFLENBQUMsQ0FBQztRQUMzRixLQUFLLFFBQVE7WUFDWCxPQUFPLDRFQUE0RSxDQUFDO1FBQ3RGLEtBQUssTUFBTTtZQUNULE9BQU8seURBQXlELENBQUE7UUFDbEUsS0FBSyxNQUFNO1lBQ1QsT0FBTyx5REFBeUQsQ0FBQTtRQUNsRSxLQUFLLFFBQVE7WUFDWCxPQUFPLHlEQUF5RCxDQUFBO1FBQ2xFLEtBQUssUUFBUTtZQUNY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ZXR1cm4gbnVsbFxyXG4gICAgZGVmYXVsdDpcclxuICAgICAgcmV0dXJuICc8c3BhbiBjbGFzcz1cIm1yeC1pY29uIGljb24tY2xvc2UgaWNvbi1mb250LTI0XCI+PC9zcGFuPidcclxuICB9XHJcbn1cclxuIl19
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export const dateModelConstant = {
|
|
2
|
-
view: '',
|
|
3
|
-
day: '',
|
|
4
|
-
month: '',
|
|
5
|
-
year: '',
|
|
6
|
-
invalid: true
|
|
7
|
-
};
|
|
8
|
-
export const timeModelConstant = {
|
|
9
|
-
view: '',
|
|
10
|
-
hour: '',
|
|
11
|
-
minute: '',
|
|
12
|
-
invalid: true
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsdWUtbW9kZWxzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9jb21wb25lbnRzL2Zvcm0vaW5wdXQtZGF0ZS10aW1lL2NvbnN0YW50cy92YWx1ZS1tb2RlbHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxDQUFDLE1BQU0saUJBQWlCLEdBQWM7SUFDMUMsSUFBSSxFQUFFLEVBQUU7SUFDUixHQUFHLEVBQUUsRUFBRTtJQUNQLEtBQUssRUFBRSxFQUFFO0lBQ1QsSUFBSSxFQUFFLEVBQUU7SUFDUixPQUFPLEVBQUUsSUFBSTtDQUNkLENBQUE7QUFFRCxNQUFNLENBQUMsTUFBTSxpQkFBaUIsR0FBYztJQUMxQyxJQUFJLEVBQUUsRUFBRTtJQUNSLElBQUksRUFBRSxFQUFFO0lBQ1IsTUFBTSxFQUFFLEVBQUU7SUFDVixPQUFPLEVBQUUsSUFBSTtDQUNkLENBQUEiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBEYXRlTW9kZWwsIFRpbWVNb2RlbCB9IGZyb20gJy4uL2hlbHBlcnMvdmFsaWRhdGUtdmFsdWUtbW9kZWxzJztcclxuXHJcbmV4cG9ydCBjb25zdCBkYXRlTW9kZWxDb25zdGFudDogRGF0ZU1vZGVsID0ge1xyXG4gIHZpZXc6ICcnLFxyXG4gIGRheTogJycsXHJcbiAgbW9udGg6ICcnLFxyXG4gIHllYXI6ICcnLFxyXG4gIGludmFsaWQ6IHRydWVcclxufVxyXG5cclxuZXhwb3J0IGNvbnN0IHRpbWVNb2RlbENvbnN0YW50OiBUaW1lTW9kZWwgPSB7XHJcbiAgdmlldzogJycsXHJcbiAgaG91cjogJycsXHJcbiAgbWludXRlOiAnJyxcclxuICBpbnZhbGlkOiB0cnVlXHJcbn1cclxuIl19
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export var Timezone;
|
|
2
|
-
(function (Timezone) {
|
|
3
|
-
Timezone[Timezone["default"] = 0] = "default";
|
|
4
|
-
Timezone[Timezone["Europe/Moscow"] = 3] = "Europe/Moscow";
|
|
5
|
-
Timezone[Timezone["America/New_York"] = -5] = "America/New_York";
|
|
6
|
-
})(Timezone || (Timezone = {}));
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGltZXpvbmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9teXJ0YS11aS9zcmMvbGliL2NvbXBvbmVudHMvZm9ybS9pbnB1dC1kYXRlLXRpbWUvZW51bS90aW1lem9uZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQU4sSUFBWSxRQUlYO0FBSkQsV0FBWSxRQUFRO0lBQ2xCLDZDQUFhLENBQUE7SUFDYix5REFBbUIsQ0FBQTtJQUNuQixnRUFBdUIsQ0FBQTtBQUN6QixDQUFDLEVBSlcsUUFBUSxLQUFSLFFBQVEsUUFJbkIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZW51bSBUaW1lem9uZSB7XHJcbiAgJ2RlZmF1bHQnID0gMCxcclxuICAnRXVyb3BlL01vc2NvdycgPSAzLFxyXG4gICdBbWVyaWNhL05ld19Zb3JrJyA9IC01XHJcbn1cclxuXHJcbmV4cG9ydCB0eXBlIFRpbWV6b25lVHlwZSA9ICdkZWZhdWx0JyB8ICdFdXJvcGUvTW9zY293JyB8ICdBbWVyaWNhL05ld19Zb3JrJ1xyXG4iXX0=
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import dayjs from 'dayjs';
|
|
2
|
-
export const cleanDate = (value) => {
|
|
3
|
-
return dayjs(value).second(0).millisecond(0).toISOString();
|
|
4
|
-
};
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xlYW4tZGF0ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL215cnRhLXVpL3NyYy9saWIvY29tcG9uZW50cy9mb3JtL2lucHV0LWRhdGUtdGltZS9oZWxwZXJzL2NsZWFuLWRhdGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxLQUFLLE1BQU0sT0FBTyxDQUFDO0FBRTFCLE1BQU0sQ0FBQyxNQUFNLFNBQVMsR0FBRyxDQUFDLEtBQWEsRUFBVSxFQUFFO0lBQ2pELE9BQU8sS0FBSyxDQUFDLEtBQUssQ0FBQyxDQUFDLE1BQU0sQ0FBQyxDQUFDLENBQUMsQ0FBQyxXQUFXLENBQUMsQ0FBQyxDQUFDLENBQUMsV0FBVyxFQUFFLENBQUE7QUFDNUQsQ0FBQyxDQUFBIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IGRheWpzIGZyb20gJ2RheWpzJztcclxuXHJcbmV4cG9ydCBjb25zdCBjbGVhbkRhdGUgPSAodmFsdWU6IHN0cmluZyk6IHN0cmluZyA9PiB7XHJcbiAgcmV0dXJuIGRheWpzKHZhbHVlKS5zZWNvbmQoMCkubWlsbGlzZWNvbmQoMCkudG9JU09TdHJpbmcoKVxyXG59XHJcbiJdfQ==
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export const markPosition = (start, end, pattern = 'date') => {
|
|
2
|
-
if (start) {
|
|
3
|
-
if (start === 1) {
|
|
4
|
-
return { start: 0, end: 2 };
|
|
5
|
-
}
|
|
6
|
-
else if (start === 4) {
|
|
7
|
-
return { start: 3, end: 5 };
|
|
8
|
-
}
|
|
9
|
-
else if (start >= 7 && start <= 9) {
|
|
10
|
-
return { start: 6, end: 10 };
|
|
11
|
-
}
|
|
12
|
-
else if (start === 12) {
|
|
13
|
-
return { start: 11, end: 13 };
|
|
14
|
-
}
|
|
15
|
-
else if (start === 15) {
|
|
16
|
-
return { start: 14, end: 16 };
|
|
17
|
-
}
|
|
18
|
-
else {
|
|
19
|
-
return { start, end };
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
};
|
|
23
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3Vyc29yLXBvc2l0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9jb21wb25lbnRzL2Zvcm0vaW5wdXQtZGF0ZS10aW1lL2hlbHBlcnMvY3Vyc29yLXBvc2l0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBQyxNQUFNLFlBQVksR0FBRyxDQUFDLEtBQW9CLEVBQUUsR0FBa0IsRUFBRSxVQUFrQixNQUFNLEVBQU8sRUFBRTtJQUN0RyxJQUFJLEtBQUssRUFBR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XHJcbiAgICBpZiAoc3RhcnQgPT09IDEpIHtcclxuICAgICAgcmV0dXJuIHtzdGFydDogMCwgZW5kOiAyfVxyXG4gICAgfSBlbHNlIGlmIChzdGFydCA9PT0gNCkge1xyXG4gICAgICByZXR1cm4ge3N0YXJ0OiAzLCBlbmQ6IDV9XHJcbiAgICB9IGVsc2UgaWYgKHN0YXJ0ID49IDcgJiYgc3RhcnQgPD0gOSkge1xyXG4gICAgICByZXR1cm4ge3N0YXJ0OiA2LCBlbmQ6IDEwfVxyXG4gICAgfSBlbHNlIGlmIChzdGFydCA9PT0gMTIpIHtcclxuICAgICAgcmV0dXJuIHtzdGFydDogMTEsIGVuZDogMTN9XHJcbiAgICB9IGVsc2UgaWYgKHN0YXJ0ID09PSAxNSkge1xyXG4gICAgICByZXR1cm4ge3N0YXJ0OiAxNCwgZW5kOiAxNn1cclxuICAgIH1cclxuICAgIGVsc2Uge1xyXG4gICAgICByZXR1cm4ge3N0YXJ0LCBlbmR9XHJcbiAgICB9XHJcbiAgfVxyXG59XHJcbiJdfQ==
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import dayjs from 'dayjs';
|
|
2
|
-
export const formattingFromModels = (dateModel, timeModel, timepicker) => {
|
|
3
|
-
if (timepicker) {
|
|
4
|
-
return dayjs(`${dateModel.year}-${dateModel.month}-${dateModel.day} ${timeModel.hour}:${timeModel.minute}`, 'YYYY-MM-DD HH:mm');
|
|
5
|
-
}
|
|
6
|
-
else {
|
|
7
|
-
return dayjs(`${dateModel.year}-${dateModel.month}-${dateModel.day}`, 'YYYY-MM-DD');
|
|
8
|
-
}
|
|
9
|
-
};
|
|
10
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybWF0dGluZy1mcm9tLW1vZGVscy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL215cnRhLXVpL3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NrZXIpIHtcclxuICAgIHJldHVybiBkYXlqcyhgJHtkYXRlTW9kZWwueWVhcn0tJHtkYXRlTW9kZWwubW9udGh9LSR7ZGF0ZU1vZGVsLmRheX0gJHt0aW1lTW9kZWwuaG91cn06JHt0aW1lTW9kZWwubWludXRlfWAsICdZWVlZLU1NLUREIEhIOm1tJylcclxuICB9IGVsc2Uge1xyXG4gICAgcmV0dXJuIGRheWpzKGAke2RhdGVNb2RlbC55ZWFyfS0ke2RhdGVNb2RlbC5tb250aH0tJHtkYXRlTW9kZWwuZGF5fWAsICdZWVlZLU1NLUREJylcclxuICB9XHJcbn1cclxuIl19
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Timezone } from '../enum/timezone';
|
|
2
|
-
import dayjs from 'dayjs';
|
|
3
|
-
import timezone from 'dayjs/plugin/timezone';
|
|
4
|
-
import utc from 'dayjs/plugin/utc';
|
|
5
|
-
export const formattingToMoscowTimezone = (date, tz) => {
|
|
6
|
-
dayjs.extend(utc);
|
|
7
|
-
dayjs.extend(timezone);
|
|
8
|
-
return dayjs.utc(date).utcOffset(Timezone[tz], tz !== 'default').toISOString();
|
|
9
|
-
};
|
|
10
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybWF0dGluZy1tb3Njb3ctdGltZXpvbmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9teXJ0YS11aS9zcmMvbGliL2NvbXBvbmVudHMvZm9ybS9pbnB1dC1kYXRlLXRpbWUvaGVscGVycy9mb3JtYXR0aW5nLW1vc2Nvdy10aW1lem9uZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFnQixNQUFNLGtCQUFrQixDQUFDO0FBRTFELE9BQU8sS0FBSyxNQUFNLE9BQU8sQ0FBQztBQUMxQixPQUFP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@
|
|
|
1
|
-
import dayjs from 'dayjs';
|
|
2
|
-
import customParseFormat from 'dayjs/plugin/customParseFormat';
|
|
3
|
-
dayjs.extend(customParseFormat);
|
|
4
|
-
export const validateDateModel = (value) => {
|
|
5
|
-
const splitDateAndTime = value.split(' ');
|
|
6
|
-
const dateArray = splitDateAndTime[0].split('.');
|
|
7
|
-
const day = validateDay(dateArray[0]) || '';
|
|
8
|
-
const month = validateMonth(dateArray[1]) || '';
|
|
9
|
-
const year = dateArray[2] || '';
|
|
10
|
-
return {
|
|
11
|
-
view: `${day}${month ? '.' + month : ''}${year ? '.' + year : value[5] ? '.' + '' : ''}`,
|
|
12
|
-
day: day,
|
|
13
|
-
month: month,
|
|
14
|
-
year: year,
|
|
15
|
-
invalid: !(dayjs(`${dateArray[2]}-${dateArray[1]}-${dateArray[0]}`, 'YYYY-MM-DD').isValid() && splitDateAndTime[0].length === 10)
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
export const validateTimeModel = (value) => {
|
|
19
|
-
const splitDateAndTime = value.split(' ');
|
|
20
|
-
const timeArray = splitDateAndTime[1] ? splitDateAndTime[1].split(':') : '';
|
|
21
|
-
const hour = validateHours(timeArray[0]) || '';
|
|
22
|
-
const minutes = validateMinutes(timeArray[1]) || '';
|
|
23
|
-
return {
|
|
24
|
-
view: `${hour}${minutes ? ':' + minutes : ''}`,
|
|
25
|
-
hour: hour,
|
|
26
|
-
minute: minutes,
|
|
27
|
-
invalid: !!splitDateAndTime[1] ? splitDateAndTime[1].length !== 5 : true
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
export const validateDay = (value) => {
|
|
31
|
-
if (Number(value) > 31) {
|
|
32
|
-
return '31';
|
|
33
|
-
}
|
|
34
|
-
if (value === '00') {
|
|
35
|
-
return '01';
|
|
36
|
-
}
|
|
37
|
-
return value;
|
|
38
|
-
};
|
|
39
|
-
export const validateMonth = (value) => {
|
|
40
|
-
if (Number(value) > 12) {
|
|
41
|
-
return '12';
|
|
42
|
-
}
|
|
43
|
-
if (value === '00') {
|
|
44
|
-
return '01';
|
|
45
|
-
}
|
|
46
|
-
return value;
|
|
47
|
-
};
|
|
48
|
-
export const validateHours = (value) => {
|
|
49
|
-
if (Number(value) > 23) {
|
|
50
|
-
return '23';
|
|
51
|
-
}
|
|
52
|
-
return value;
|
|
53
|
-
};
|
|
54
|
-
export const validateMinutes = (value) => {
|
|
55
|
-
if (Number(value) > 59) {
|
|
56
|
-
return '59';
|
|
57
|
-
}
|
|
58
|
-
return value;
|
|
59
|
-
};
|
|
60
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsaWRhdGUtdmFsdWUtbW9kZWxzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9jb21wb25lbnRzL2Zvcm0vaW5wdXQtZGF0ZS10aW1lL2hlbHBlcnMvdmFsaWRhdGUtdmFsdWUtbW9kZWxzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sS0FBSyxNQUFNLE9BQU8sQ0FBQztBQUMxQixPQUFPLGlCQUFpQixNQUFNLGdDQUFnQyxDQUFDO0FBRS9ELEtBQUssQ0FBQyxNQUFNLENBQUMsaUJBQWlCLENBQUMsQ0FBQTtBQUUvQixNQUFNLENBQUMsTUFBTSxpQkFBaUIsR0FBRyxDQUFDLEtBQWEsRUFBYSxFQUFFO0lBQzVELE1BQU0sZ0JBQWdCLEdBQUcsS0FBSyxDQUFDLEtBQUssQ0FBQyxHQUFHLENBQUMsQ0FBQTtJQUN6QyxNQUFNLFNBQVMsR0FBRyxnQkFBZ0IsQ0FBQyxDQUFDLENBQUMsQ0FBQyxLQUFLLENBQUMsR0FBRyxDQUFDLENBQUE7SUFDaEQsTUFBTSxHQUFHLEdBQUcsV0FBVyxDQUFDLFNBQVMsQ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gdmFsdWVcclxufVxyXG5cclxuZXhwb3J0IGNvbnN0IHZhbGlkYXRlTWludXRlcyA9ICh2YWx1ZTogc3RyaW5nKTogc3RyaW5nID0+IHtcclxuICBpZiAoTnVtYmVyKHZhbHVlKSA+IDU5KSB7XHJcbiAgICByZXR1cm4gJzU5J1xyXG4gIH1cclxuICByZXR1cm4gdmFsdWVcclxufVxyXG5cclxuZXhwb3J0IHR5cGUgRGF0ZU1vZGVsID0ge1xyXG4gIHZpZXc6IHN0cmluZyxcclxuICBkYXk6IHN0cmluZyxcclxuICBtb250aDogc3RyaW5nLFxyXG4gIHllYXI6IHN0cmluZyxcclxuICBpbnZhbGlkOiBib29sZWFuXHJcbn1cclxuXHJcbmV4cG9ydCB0eXBlIFRpbWVNb2RlbCA9IHtcclxuICB2aWV3OiBzdHJpbmcsXHJcbiAgaG91cjogc3RyaW5nLFxyXG4gIG1pbnV0ZTogc3RyaW5nLFxyXG4gIGludmFsaWQ6IGJvb2xlYW5cclxufVxyXG4iXX0=
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { Timezone } from '../enum/timezone';
|
|
2
|
-
import dayjs from 'dayjs';
|
|
3
|
-
import tz from 'dayjs/plugin/timezone';
|
|
4
|
-
import utc from 'dayjs/plugin/utc';
|
|
5
|
-
export const dateModelValueParse = (value, timezone) => {
|
|
6
|
-
dayjs.extend(utc);
|
|
7
|
-
dayjs.extend(tz);
|
|
8
|
-
const date = timezone === 'default' ? dayjs(value) : dayjs.utc(value).utcOffset(Timezone[timezone]);
|
|
9
|
-
const day = date.date();
|
|
10
|
-
const month = date.month() + 1;
|
|
11
|
-
const year = date.year();
|
|
12
|
-
const formattedDay = String(day).length === 2 ? String(day) : String('0' + day);
|
|
13
|
-
const formattedMonth = String(month).length === 2 ? String(month) : String('0' + month);
|
|
14
|
-
const dateString = `${String(year)}.${String(formattedMonth)}.${String(formattedDay)}`;
|
|
15
|
-
return {
|
|
16
|
-
view: dayjs(dateString).format('DD.MM.YYYY'),
|
|
17
|
-
day: formattedDay,
|
|
18
|
-
month: formattedMonth,
|
|
19
|
-
year: String(year),
|
|
20
|
-
invalid: !(dayjs(dateString).isValid() && dateString.length === 10)
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
export const timeModelValueParse = (value, timezone) => {
|
|
24
|
-
dayjs.extend(utc);
|
|
25
|
-
dayjs.extend(tz);
|
|
26
|
-
const date = timezone === 'default' ? dayjs(value) : dayjs.utc(value).utcOffset(Timezone[timezone]);
|
|
27
|
-
const hour = date.hour();
|
|
28
|
-
const minute = date.minute();
|
|
29
|
-
const formattedHour = String(hour).length === 2 ? String(hour) : String('0' + hour);
|
|
30
|
-
const formattedMinute = String(minute).length === 2 ? String(minute) : String('0' + minute);
|
|
31
|
-
const timeString = `${formattedHour}:${formattedMinute}`;
|
|
32
|
-
return {
|
|
33
|
-
view: timeString,
|
|
34
|
-
hour: formattedHour,
|
|
35
|
-
minute: formattedMinute,
|
|
36
|
-
invalid: timeString.length !== 5
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsdWUtcGFyc2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9jb21wb25lbnRzL2Zvcm0vaW5wdXQtZGF0ZS10aW1lL2hlbHBlcnMvdmFsdWUtcGFyc2VyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxRQUFRLEVBQWdCLE1BQU0sa0JBQWtCLENBQUM7QUFDMUQsT0FBTyxLQUFLLE1BQU0sT0FBTyxDQUFDO0FBQzFCLE9BQU8sRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBQ3ZDLE9BQU8sR0FBRyxNQUFNLGtCQUFrQixDQUFDO0FBRW5DLE1BQU0sQ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