myrta-ui 17.0.18 → 17.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.browserslistrc +16 -0
- package/karma.conf.js +44 -0
- package/ng-package.json +28 -0
- package/package.json +47 -61
- package/src/lib/components/alert/alert.component.html +17 -0
- package/src/lib/components/alert/alert.component.less +2 -0
- package/src/lib/components/alert/alert.component.ts +30 -0
- package/src/lib/components/alert/alert.enum.ts +15 -0
- package/src/lib/components/alert/alert.module.ts +11 -0
- package/src/lib/components/alert/assets/alert-colors.less +29 -0
- package/src/lib/components/alert/assets/alert.less +32 -0
- package/src/lib/components/badges/badge.enum.ts +45 -0
- package/src/lib/components/badges/badges.module.ts +21 -0
- package/src/lib/components/badges/components/badge/assets/badge-colors.less +62 -0
- package/src/lib/components/badges/components/badge/assets/badge-tag.less +12 -0
- package/src/lib/components/badges/components/badge/assets/badge-types.less +26 -0
- package/src/lib/components/badges/components/badge/assets/badge.less +7 -0
- package/src/lib/components/badges/components/badge/badge.component.html +28 -0
- package/src/lib/components/badges/components/badge/badge.component.less +4 -0
- package/src/lib/components/badges/components/badge/badge.component.ts +55 -0
- package/src/lib/components/badges/components/badge-group/badge-group.component.html +3 -0
- package/src/lib/components/badges/components/badge-group/badge-group.component.less +5 -0
- package/src/lib/components/badges/components/badge-group/badge-group.component.ts +11 -0
- package/src/lib/components/breadcrumbs/assets/breadcrumbs.less +50 -0
- package/src/lib/components/breadcrumbs/breadcrumbs.component.html +51 -0
- package/src/lib/components/breadcrumbs/breadcrumbs.component.less +1 -0
- package/src/lib/components/breadcrumbs/breadcrumbs.component.ts +19 -0
- package/src/lib/components/breadcrumbs/breadcrumbs.enum.ts +15 -0
- package/src/lib/components/breadcrumbs/breadcrumbs.module.ts +22 -0
- package/src/lib/components/button/assets/button-colors.less +309 -0
- package/src/lib/components/button/assets/button-disabled.less +96 -0
- package/src/lib/components/button/assets/button-icon-loading.less +21 -0
- package/src/lib/components/button/assets/button-primary.less +56 -0
- package/src/lib/components/button/assets/button-secondary.less +169 -0
- package/src/lib/components/button/assets/button-sizes.less +71 -0
- package/src/lib/components/button/assets/button-tertiary.less +166 -0
- package/src/lib/components/button/assets/button-with-icon.less +64 -0
- package/src/lib/components/button/assets/button.less +12 -0
- package/src/lib/components/button/button.component.html +81 -0
- package/src/lib/components/button/button.component.less +9 -0
- package/src/lib/components/button/button.component.ts +88 -0
- package/src/lib/components/button/button.enum.ts +35 -0
- package/src/lib/components/button/button.module.ts +13 -0
- package/src/lib/components/cdk-tooltip/cdk-tooltip/tooltip-container.component.html +10 -0
- package/src/lib/components/cdk-tooltip/cdk-tooltip/tooltip-container.component.less +128 -0
- package/src/lib/components/cdk-tooltip/cdk-tooltip/tooltip-container.component.ts +26 -0
- package/src/lib/components/cdk-tooltip/cdk-tooltip.directive.ts +82 -0
- package/src/lib/components/cdk-tooltip/cdk-tooltip.module.ts +14 -0
- package/src/lib/components/cdk-tooltip/constants/index.ts +94 -0
- package/src/lib/components/cdk-tooltip/models/tooltip-data.ts +8 -0
- package/src/lib/components/chars-left/chars-left.component.html +3 -0
- package/src/lib/components/chars-left/chars-left.component.less +11 -0
- package/src/lib/components/chars-left/chars-left.component.ts +17 -0
- package/src/lib/components/chars-left/chars-left.module.ts +11 -0
- package/src/lib/components/dropdown/assets/dropdown-menu.less +75 -0
- package/src/lib/components/dropdown/assets/dropdown-toggle.less +3 -0
- package/src/lib/components/dropdown/assets/dropdown.less +12 -0
- package/src/lib/components/dropdown/directives/hide-after-click.directive.ts +14 -0
- package/src/lib/components/dropdown/dropdown.component.html +14 -0
- package/src/lib/components/dropdown/dropdown.component.less +3 -0
- package/src/lib/components/dropdown/dropdown.component.ts +112 -0
- package/src/lib/components/dropdown/dropdown.module.ts +15 -0
- package/src/lib/components/error-message/error-message.component.html +9 -0
- package/src/lib/components/error-message/error-message.component.less +20 -0
- package/src/lib/components/error-message/error-message.component.ts +26 -0
- package/src/lib/components/error-message/error-message.module.ts +11 -0
- package/src/lib/components/form/checkbox/assets/checkbox-error.less +27 -0
- package/src/lib/components/form/checkbox/assets/checkbox-indeterminate.less +77 -0
- package/src/lib/components/form/checkbox/assets/checkbox-input-disabled.less +28 -0
- package/src/lib/components/form/checkbox/assets/checkbox-input.less +14 -0
- package/src/lib/components/form/checkbox/assets/checkbox-label.less +26 -0
- package/src/lib/components/form/checkbox/assets/checkbox-mark.less +54 -0
- package/src/lib/components/form/checkbox/assets/checkbox-wrapper.less +6 -0
- package/src/lib/components/form/checkbox/assets/checkbox.less +19 -0
- package/src/lib/components/form/checkbox/checkbox.component.html +46 -0
- package/src/lib/components/form/checkbox/checkbox.component.less +8 -0
- package/src/lib/components/form/checkbox/checkbox.component.ts +168 -0
- package/src/lib/components/form/checkbox/checkbox.enum.ts +12 -0
- package/src/lib/components/form/checkbox/checkbox.module.ts +14 -0
- package/src/lib/components/form/checkbox-group/checkbox-group.component.html +46 -0
- package/src/lib/components/form/checkbox-group/checkbox-group.component.less +36 -0
- package/src/lib/components/form/checkbox-group/checkbox-group.component.ts +211 -0
- package/src/lib/components/form/checkbox-group/checkbox-group.module.ts +27 -0
- package/src/lib/components/form/checkbox-group/components/checkbox-group-header/checkbox-group-header.component.html +16 -0
- package/src/lib/components/form/checkbox-group/components/checkbox-group-header/checkbox-group-header.component.less +5 -0
- package/src/lib/components/form/checkbox-group/components/checkbox-group-header/checkbox-group-header.component.ts +34 -0
- package/src/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.html +50 -0
- package/src/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.less +23 -0
- package/src/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.ts +107 -0
- package/src/lib/components/form/checkbox-group/helpers/change-group-value.ts +23 -0
- package/src/lib/components/form/checkbox-group/helpers/change-item-value.ts +18 -0
- package/src/lib/components/form/checkbox-group/helpers/filter-search-group.ts +29 -0
- package/src/lib/components/form/checkbox-group/helpers/get-checked-items.ts +23 -0
- package/src/lib/components/form/checkbox-group/helpers/get-inner-list.helper.ts +51 -0
- package/src/lib/components/form/checkbox-group/helpers/get-item-by-id.ts +11 -0
- package/src/lib/components/form/checkbox-group/helpers/get-sorted-list.ts +45 -0
- package/src/lib/components/form/checkbox-group/helpers/inner-list-to-list.helper.ts +15 -0
- package/src/lib/components/form/checkbox-group/models/checkbox-group.model.ts +32 -0
- package/src/lib/components/form/document-editor/components/document-editor-preview-modal/document-editor-preview-modal.component.html +20 -0
- package/src/lib/components/form/document-editor/components/document-editor-preview-modal/document-editor-preview-modal.component.ts +69 -0
- package/src/lib/components/form/document-editor/document-editor.component.html +41 -0
- package/src/lib/components/form/document-editor/document-editor.component.less +7 -0
- package/src/lib/components/form/document-editor/document-editor.component.ts +109 -0
- package/src/lib/components/form/document-editor/document-editor.module.ts +29 -0
- package/src/lib/components/form/document-editor/helpers/transform-sysname.ts +57 -0
- package/src/lib/components/form/document-editor/models/document-editor-short-codes.enum.ts +6 -0
- package/src/lib/components/form/editor/assets/editor-borders.less +29 -0
- package/src/lib/components/form/editor/assets/editor-clear-elements.less +5 -0
- package/src/lib/components/form/editor/assets/editor-clear-out-elements.less +46 -0
- package/src/lib/components/form/editor/assets/editor-error.less +33 -0
- package/src/lib/components/form/editor/assets/editor-popups.less +11 -0
- package/src/lib/components/form/editor/assets/editor-table.less +5 -0
- package/src/lib/components/form/editor/assets/editor-toolbar.less +53 -0
- package/src/lib/components/form/editor/assets/editor-wysiwyg.less +21 -0
- package/src/lib/components/form/editor/assets/editor.less +10 -0
- package/src/lib/components/form/editor/assets/jodit.less +5364 -0
- package/src/lib/components/form/editor/config/default-inline-style.ts +5 -0
- package/src/lib/components/form/editor/config/index.ts +1 -0
- package/src/lib/components/form/editor/config/popups-toolbar.ts +9 -0
- package/src/lib/components/form/editor/config/toolbar.ts +73 -0
- package/src/lib/components/form/editor/editor.component.html +22 -0
- package/src/lib/components/form/editor/editor.component.less +15 -0
- package/src/lib/components/form/editor/editor.component.ts +271 -0
- package/src/lib/components/form/editor/editor.enum.ts +12 -0
- package/src/lib/components/form/editor/editor.module.ts +25 -0
- package/src/lib/components/form/editor/models/toolbar.model.ts +6 -0
- package/src/lib/components/form/editor/modules/change-icon-module.ts +91 -0
- package/src/lib/components/form/input-date-time/assets/input-date-error.less +21 -0
- package/src/lib/components/form/input-date-time/assets/input-date-icons.less +36 -0
- package/src/lib/components/form/input-date-time/assets/input-date-sizes.less +31 -0
- package/src/lib/components/form/input-date-time/assets/input-date.less +27 -0
- package/src/lib/components/form/input-date-time/constants/value-models.ts +16 -0
- package/src/lib/components/form/input-date-time/enum/timezone.ts +7 -0
- package/src/lib/components/form/input-date-time/helpers/clean-date.ts +5 -0
- package/src/lib/components/form/input-date-time/helpers/cursor-position.ts +18 -0
- package/src/lib/components/form/input-date-time/helpers/formatting-from-models.ts +10 -0
- package/src/lib/components/form/input-date-time/helpers/formatting-moscow-timezone.ts +12 -0
- package/src/lib/components/form/input-date-time/helpers/validate-value-models.ts +84 -0
- package/src/lib/components/form/input-date-time/helpers/value-parser.ts +46 -0
- package/src/lib/components/form/input-date-time/input-date-time.component.html +60 -0
- package/src/lib/components/form/input-date-time/input-date-time.component.ts +378 -0
- package/src/lib/components/form/input-date-time/input-date-time.components.less +4 -0
- package/src/lib/components/form/input-date-time/input-date-time.enum.ts +25 -0
- package/src/lib/components/form/input-date-time/input-date-time.module.ts +30 -0
- package/src/lib/components/form/input-datepicker/assets/input-date-disabled.less +17 -0
- package/src/lib/components/form/input-datepicker/assets/input-date-error.less +21 -0
- package/src/lib/components/form/input-datepicker/assets/input-date-icons.less +36 -0
- package/src/lib/components/form/input-datepicker/assets/input-date-sizes.less +31 -0
- package/src/lib/components/form/input-datepicker/assets/input-date.less +23 -0
- package/src/lib/components/form/input-datepicker/constants/value-models.ts +17 -0
- package/src/lib/components/form/input-datepicker/helpers/clean-date.ts +5 -0
- package/src/lib/components/form/input-datepicker/helpers/cursor-position.ts +18 -0
- package/src/lib/components/form/input-datepicker/helpers/get-date-dayjs-object.ts +10 -0
- package/src/lib/components/form/input-datepicker/helpers/get-date-object.ts +10 -0
- package/src/lib/components/form/input-datepicker/helpers/validate-value-models.ts +100 -0
- package/src/lib/components/form/input-datepicker/helpers/value-parser.ts +54 -0
- package/src/lib/components/form/input-datepicker/input-datepicker.component.html +60 -0
- package/src/lib/components/form/input-datepicker/input-datepicker.component.ts +342 -0
- package/src/lib/components/form/input-datepicker/input-datepicker.components.less +5 -0
- package/src/lib/components/form/input-datepicker/input-datepicker.enum.ts +16 -0
- package/src/lib/components/form/input-datepicker/input-datepicker.module.ts +30 -0
- package/src/lib/components/form/input-editor/assets/style.less +321 -0
- package/src/lib/components/form/input-editor/components/editor-toolbar/editor-toolbar.component.html +252 -0
- package/src/lib/components/form/input-editor/components/editor-toolbar/editor-toolbar.component.less +1 -0
- package/src/lib/components/form/input-editor/components/editor-toolbar/editor-toolbar.component.ts +390 -0
- package/src/lib/components/form/input-editor/components/editor-toolbar-button/editor-toolbar-button.component.html +12 -0
- package/src/lib/components/form/input-editor/components/editor-toolbar-button/editor-toolbar-button.component.less +13 -0
- package/src/lib/components/form/input-editor/components/editor-toolbar-button/editor-toolbar-button.component.ts +22 -0
- package/src/lib/components/form/input-editor/components/editor-toolbar-select/editor-toolbar-select.component.html +18 -0
- package/src/lib/components/form/input-editor/components/editor-toolbar-select/editor-toolbar-select.component.less +131 -0
- package/src/lib/components/form/input-editor/components/editor-toolbar-select/editor-toolbar-select.component.ts +205 -0
- package/src/lib/components/form/input-editor/config/index.ts +77 -0
- package/src/lib/components/form/input-editor/helpers/is-defined.ts +3 -0
- package/src/lib/components/form/input-editor/input-editor.component.html +68 -0
- package/src/lib/components/form/input-editor/input-editor.component.less +64 -0
- package/src/lib/components/form/input-editor/input-editor.component.ts +430 -0
- package/src/lib/components/form/input-editor/input-editor.module.ts +24 -0
- package/src/lib/components/form/input-editor/models/editor-select.model.ts +4 -0
- package/src/lib/components/form/input-editor/services/editor.service.ts +307 -0
- package/src/lib/components/form/input-file/assets/input-file-controls.less +8 -0
- package/src/lib/components/form/input-file/assets/input-file-drop-placeholder.less +31 -0
- package/src/lib/components/form/input-file/assets/input-file-drop.less +35 -0
- package/src/lib/components/form/input-file/assets/input-file-error.less +50 -0
- package/src/lib/components/form/input-file/assets/input-file-list-item.less +52 -0
- package/src/lib/components/form/input-file/assets/input-file-list.less +8 -0
- package/src/lib/components/form/input-file/assets/input-file.less +20 -0
- package/src/lib/components/form/input-file/enums/error-messages.enum.ts +6 -0
- package/src/lib/components/form/input-file/input-file.component.html +135 -0
- package/src/lib/components/form/input-file/input-file.component.less +7 -0
- package/src/lib/components/form/input-file/input-file.component.ts +329 -0
- package/src/lib/components/form/input-file/input-file.enum.ts +8 -0
- package/src/lib/components/form/input-file/input-file.module.ts +18 -0
- package/src/lib/components/form/input-file-image/assets/input-file-image-avatar.less +93 -0
- package/src/lib/components/form/input-file-image/assets/input-file-image-controls.less +35 -0
- package/src/lib/components/form/input-file-image/assets/input-file-image-drop.less +24 -0
- package/src/lib/components/form/input-file-image/assets/input-file-image-input.less +45 -0
- package/src/lib/components/form/input-file-image/assets/input-file-image-preview.less +107 -0
- package/src/lib/components/form/input-file-image/assets/input-file-image.less +7 -0
- package/src/lib/components/form/input-file-image/components/file-image-edit-modal/assets/input-image-cropper.less +25 -0
- package/src/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.html +68 -0
- package/src/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.less +1 -0
- package/src/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.ts +114 -0
- package/src/lib/components/form/input-file-image/input-file-image.component.html +151 -0
- package/src/lib/components/form/input-file-image/input-file-image.component.less +7 -0
- package/src/lib/components/form/input-file-image/input-file-image.component.ts +365 -0
- package/src/lib/components/form/input-file-image/input-file-image.enum.ts +10 -0
- package/src/lib/components/form/input-file-image/input-file-image.module.ts +31 -0
- package/src/lib/components/form/input-number/assets/input-number-disabled.less +17 -0
- package/src/lib/components/form/input-number/assets/input-number-error.less +21 -0
- package/src/lib/components/form/input-number/assets/input-number-sizes.less +61 -0
- package/src/lib/components/form/input-number/assets/input-number.less +45 -0
- package/src/lib/components/form/input-number/input-number.component.html +35 -0
- package/src/lib/components/form/input-number/input-number.component.less +4 -0
- package/src/lib/components/form/input-number/input-number.component.ts +284 -0
- package/src/lib/components/form/input-number/input-number.enum.ts +16 -0
- package/src/lib/components/form/input-number/input-number.module.ts +40 -0
- package/src/lib/components/form/input-opt/components/input-opt/assets/input-opt-error.less +23 -0
- package/src/lib/components/form/input-opt/components/input-opt/assets/input-opt-sizes.less +73 -0
- package/src/lib/components/form/input-opt/components/input-opt/assets/input-opt.less +20 -0
- package/src/lib/components/form/input-opt/components/input-opt/input-opt.component.html +39 -0
- package/src/lib/components/form/input-opt/components/input-opt/input-opt.component.less +3 -0
- package/src/lib/components/form/input-opt/components/input-opt/input-opt.component.ts +417 -0
- package/src/lib/components/form/input-opt/components/input-opt/input-opt.enum.ts +8 -0
- package/src/lib/components/form/input-opt/directives/opt-pattern.directive.ts +34 -0
- package/src/lib/components/form/input-opt/input-opt.module.ts +25 -0
- package/src/lib/components/form/input-opt/models/input-opt.model.ts +30 -0
- package/src/lib/components/form/input-opt/services/input-opt.service.ts +40 -0
- package/src/lib/components/form/input-password/assets/input-password-bullets.less +12 -0
- package/src/lib/components/form/input-password/assets/input-password-error.less +21 -0
- package/src/lib/components/form/input-password/assets/input-password-icons.less +16 -0
- package/src/lib/components/form/input-password/assets/input-password-sizes.less +31 -0
- package/src/lib/components/form/input-password/assets/input-password.less +43 -0
- package/src/lib/components/form/input-password/input-password.component.html +41 -0
- package/src/lib/components/form/input-password/input-password.component.less +5 -0
- package/src/lib/components/form/input-password/input-password.component.ts +106 -0
- package/src/lib/components/form/input-password/input-password.enum.ts +9 -0
- package/src/lib/components/form/input-password/input-password.module.ts +24 -0
- package/src/lib/components/form/input-phone/assets/input-phone-country-flags.less +271 -0
- package/src/lib/components/form/input-phone/assets/input-phone-dropdown.less +46 -0
- package/src/lib/components/form/input-phone/assets/input-phone-error.less +21 -0
- package/src/lib/components/form/input-phone/assets/input-phone-flags-icon.less +28 -0
- package/src/lib/components/form/input-phone/assets/input-phone-search.less +17 -0
- package/src/lib/components/form/input-phone/assets/input-phone-sizes.less +31 -0
- package/src/lib/components/form/input-phone/assets/input-phone-sprite.less +1297 -0
- package/src/lib/components/form/input-phone/assets/input-phone.less +85 -0
- package/src/lib/components/form/input-phone/data/country-code.ts +1326 -0
- package/src/lib/components/form/input-phone/directives/native-element-injector.directive.ts +27 -0
- package/src/lib/components/form/input-phone/enums/country-iso.enum.ts +245 -0
- package/src/lib/components/form/input-phone/enums/input-phone.enum.ts +14 -0
- package/src/lib/components/form/input-phone/enums/mask.enum.ts +147 -0
- package/src/lib/components/form/input-phone/enums/phone-number-format.enum.ts +4 -0
- package/src/lib/components/form/input-phone/enums/search-country-field.enum.ts +6 -0
- package/src/lib/components/form/input-phone/input-phone.component.html +86 -0
- package/src/lib/components/form/input-phone/input-phone.component.less +9 -0
- package/src/lib/components/form/input-phone/input-phone.component.ts +693 -0
- package/src/lib/components/form/input-phone/input-phone.module.ts +34 -0
- package/src/lib/components/form/input-phone/input-phone.validator.ts +70 -0
- package/src/lib/components/form/input-phone/interfaces/change-data.ts +9 -0
- package/src/lib/components/form/input-phone/models/country.model.ts +15 -0
- package/src/lib/components/form/input-search/assets/input-search-error.less +21 -0
- package/src/lib/components/form/input-search/assets/input-search-icons.less +16 -0
- package/src/lib/components/form/input-search/assets/input-search-sizes.less +31 -0
- package/src/lib/components/form/input-search/assets/input-search.less +45 -0
- package/src/lib/components/form/input-search/input-search.component.html +44 -0
- package/src/lib/components/form/input-search/input-search.component.less +4 -0
- package/src/lib/components/form/input-search/input-search.component.ts +160 -0
- package/src/lib/components/form/input-search/input-search.enum.ts +7 -0
- package/src/lib/components/form/input-search/input-search.module.ts +27 -0
- package/src/lib/components/form/input-select/assets/input-select-checked.less +18 -0
- package/src/lib/components/form/input-select/assets/input-select-dropdown.less +92 -0
- package/src/lib/components/form/input-select/assets/input-select-error.less +43 -0
- package/src/lib/components/form/input-select/assets/input-select-sizes.less +135 -0
- package/src/lib/components/form/input-select/assets/input-select-types.less +85 -0
- package/src/lib/components/form/input-select/assets/input-select.less +191 -0
- package/src/lib/components/form/input-select/input-select.component.html +80 -0
- package/src/lib/components/form/input-select/input-select.component.less +6 -0
- package/src/lib/components/form/input-select/input-select.component.ts +180 -0
- package/src/lib/components/form/input-select/input-select.enum.ts +13 -0
- package/src/lib/components/form/input-select/input-select.module.ts +25 -0
- package/src/lib/components/form/input-select/input-select.test.html +13 -0
- package/src/lib/components/form/input-tel/assets/base64.ts +5 -0
- package/src/lib/components/form/input-tel/assets/flags.png +0 -0
- package/src/lib/components/form/input-tel/assets/input-tel-country-flags.less +986 -0
- package/src/lib/components/form/input-tel/assets/input-tel-dropdown.less +52 -0
- package/src/lib/components/form/input-tel/assets/input-tel-error.less +21 -0
- package/src/lib/components/form/input-tel/assets/input-tel-flags-icon.less +29 -0
- package/src/lib/components/form/input-tel/assets/input-tel-sizes.less +39 -0
- package/src/lib/components/form/input-tel/assets/input-tel.less +85 -0
- package/src/lib/components/form/input-tel/data/all-countries.ts +1323 -0
- package/src/lib/components/form/input-tel/data/country-iso.enum.ts +245 -0
- package/src/lib/components/form/input-tel/data/phone-number-format.enum.ts +6 -0
- package/src/lib/components/form/input-tel/data/search-country-field.enum.ts +6 -0
- package/src/lib/components/form/input-tel/directives/input-tel.directive.ts +59 -0
- package/src/lib/components/form/input-tel/enums/input-phone.enum.ts +14 -0
- package/src/lib/components/form/input-tel/input-tel.component.html +88 -0
- package/src/lib/components/form/input-tel/input-tel.component.less +6 -0
- package/src/lib/components/form/input-tel/input-tel.component.ts +374 -0
- package/src/lib/components/form/input-tel/input-tel.module.ts +26 -0
- package/src/lib/components/form/input-tel/models/country.model.ts +19 -0
- package/src/lib/components/form/input-text/assets/input-text-disabled.less +17 -0
- package/src/lib/components/form/input-text/assets/input-text-error.less +33 -0
- package/src/lib/components/form/input-text/assets/input-text-icon.less +25 -0
- package/src/lib/components/form/input-text/assets/input-text-sizes.less +61 -0
- package/src/lib/components/form/input-text/assets/input-text.less +25 -0
- package/src/lib/components/form/input-text/input-text.component.html +46 -0
- package/src/lib/components/form/input-text/input-text.component.less +5 -0
- package/src/lib/components/form/input-text/input-text.component.ts +176 -0
- package/src/lib/components/form/input-text/input-text.enum.ts +24 -0
- package/src/lib/components/form/input-text/input-text.module.ts +31 -0
- package/src/lib/components/form/input-textarea/assets/input-textarea-disabled-block.less +23 -0
- package/src/lib/components/form/input-textarea/assets/input-textarea-error.less +21 -0
- package/src/lib/components/form/input-textarea/assets/input-textarea-sizes.less +34 -0
- package/src/lib/components/form/input-textarea/assets/input-textarea.less +24 -0
- package/src/lib/components/form/input-textarea/input-textarea.component.html +46 -0
- package/src/lib/components/form/input-textarea/input-textarea.component.less +4 -0
- package/src/lib/components/form/input-textarea/input-textarea.component.ts +191 -0
- package/src/lib/components/form/input-textarea/input-textarea.enum.ts +14 -0
- package/src/lib/components/form/input-textarea/input-textarea.module.ts +31 -0
- package/src/lib/components/form/input-timepicker/constants/value-models.ts +9 -0
- package/src/lib/components/form/input-timepicker/helpers/clean-date.ts +5 -0
- package/src/lib/components/form/input-timepicker/helpers/cursor-position.ts +12 -0
- package/src/lib/components/form/input-timepicker/helpers/get-date-dayjs-object.ts +6 -0
- package/src/lib/components/form/input-timepicker/helpers/get-date-object.ts +6 -0
- package/src/lib/components/form/input-timepicker/helpers/validate-value-models.ts +42 -0
- package/src/lib/components/form/input-timepicker/helpers/value-parser.ts +21 -0
- package/src/lib/components/form/input-timepicker/input-timepicker.component.html +57 -0
- package/src/lib/components/form/input-timepicker/input-timepicker.component.ts +293 -0
- package/src/lib/components/form/input-timepicker/input-timepicker.components.scss +1 -0
- package/src/lib/components/form/input-timepicker/input-timepicker.enum.ts +14 -0
- package/src/lib/components/form/input-timepicker/input-timepicker.module.ts +30 -0
- package/src/lib/components/form/json-editor/json-editor.component.html +1 -0
- package/src/lib/components/form/json-editor/json-editor.component.less +1912 -0
- package/src/lib/components/form/json-editor/json-editor.component.ts +254 -0
- package/src/lib/components/form/json-editor/json-editor.enum.ts +6 -0
- package/src/lib/components/form/json-editor/json-editor.module.ts +18 -0
- package/src/lib/components/form/json-editor/utils/jsoneditoroptions.ts +167 -0
- package/src/lib/components/form/radio/assets/radio-error.less +9 -0
- package/src/lib/components/form/radio/assets/radio-input.less +10 -0
- package/src/lib/components/form/radio/assets/radio-label.less +26 -0
- package/src/lib/components/form/radio/assets/radio-mark.less +62 -0
- package/src/lib/components/form/radio/assets/radio-wrapper.less +5 -0
- package/src/lib/components/form/radio/assets/radio.less +11 -0
- package/src/lib/components/form/radio/radio.component.html +25 -0
- package/src/lib/components/form/radio/radio.component.less +6 -0
- package/src/lib/components/form/radio/radio.component.ts +74 -0
- package/src/lib/components/form/radio/radio.enum.ts +5 -0
- package/src/lib/components/form/radio/radio.module.ts +14 -0
- package/src/lib/components/form/radio-group/components/radio-group-header/radio-group-header.component.html +14 -0
- package/src/lib/components/form/radio-group/components/radio-group-header/radio-group-header.component.ts +32 -0
- package/src/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.html +51 -0
- package/src/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.less +17 -0
- package/src/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.ts +55 -0
- package/src/lib/components/form/radio-group/helpers/filter-search-group.ts +29 -0
- package/src/lib/components/form/radio-group/helpers/get-item-by-id.ts +11 -0
- package/src/lib/components/form/radio-group/helpers/move-selected-to-first.ts +33 -0
- package/src/lib/components/form/radio-group/models/radio-group.model.ts +15 -0
- package/src/lib/components/form/radio-group/radio-group.component.html +47 -0
- package/src/lib/components/form/radio-group/radio-group.component.less +21 -0
- package/src/lib/components/form/radio-group/radio-group.component.ts +163 -0
- package/src/lib/components/form/radio-group/radio-group.module.ts +30 -0
- package/src/lib/components/form/rating/assets/rating-disabled.less +5 -0
- package/src/lib/components/form/rating/assets/rating-item.less +44 -0
- package/src/lib/components/form/rating/assets/rating-size.less +24 -0
- package/src/lib/components/form/rating/assets/rating.less +17 -0
- package/src/lib/components/form/rating/rating.component.html +75 -0
- package/src/lib/components/form/rating/rating.component.less +4 -0
- package/src/lib/components/form/rating/rating.component.ts +213 -0
- package/src/lib/components/form/rating/rating.enum.ts +36 -0
- package/src/lib/components/form/rating/rating.module.ts +15 -0
- package/src/lib/components/form/switch/assets/switch-label.less +26 -0
- package/src/lib/components/form/switch/assets/switch-sizes.less +50 -0
- package/src/lib/components/form/switch/assets/switch-types.less +18 -0
- package/src/lib/components/form/switch/assets/switch.less +73 -0
- package/src/lib/components/form/switch/switch.component.html +53 -0
- package/src/lib/components/form/switch/switch.component.less +4 -0
- package/src/lib/components/form/switch/switch.component.ts +85 -0
- package/src/lib/components/form/switch/switch.enum.ts +20 -0
- package/src/lib/components/form/switch/switch.module.ts +13 -0
- package/src/lib/components/gallery/assets/fancybox.less +1319 -0
- package/src/lib/components/gallery/components/gallery-confirm-modal/gallery-confirm-modal.component.html +30 -0
- package/src/lib/components/gallery/components/gallery-confirm-modal/gallery-confirm-modal.component.ts +43 -0
- package/src/lib/components/gallery/components/gallery-item/gallery-item.component.html +58 -0
- package/src/lib/components/gallery/components/gallery-item/gallery-item.component.less +85 -0
- package/src/lib/components/gallery/components/gallery-item/gallery-item.component.ts +106 -0
- package/src/lib/components/gallery/constants/custom-buttons-default.ts +15 -0
- package/src/lib/components/gallery/constants/thumbs-config-default.ts +6 -0
- package/src/lib/components/gallery/gallery.component.html +32 -0
- package/src/lib/components/gallery/gallery.component.less +14 -0
- package/src/lib/components/gallery/gallery.component.ts +202 -0
- package/src/lib/components/gallery/gallery.module.ts +32 -0
- package/src/lib/components/gallery/helpers/rotate-image.ts +33 -0
- package/src/lib/components/gallery/models/gallery-item.model.ts +26 -0
- package/src/lib/components/gallery/services/gallery.service.ts +33 -0
- package/src/lib/components/hint-error-message/hint-error-message.component.html +5 -0
- package/src/lib/components/hint-error-message/hint-error-message.component.less +11 -0
- package/src/lib/components/hint-error-message/hint-error-message.component.ts +125 -0
- package/src/lib/components/hint-error-message/hint-error-message.module.ts +11 -0
- package/src/lib/components/icon-button/icon-button.component.html +11 -0
- package/src/lib/components/icon-button/icon-button.component.less +84 -0
- package/src/lib/components/icon-button/icon-button.component.ts +44 -0
- package/src/lib/components/icon-button/icon-button.enum.ts +21 -0
- package/src/lib/components/icon-button/icon-button.module.ts +11 -0
- package/src/lib/components/label/label.component.html +57 -0
- package/src/lib/components/label/label.component.less +49 -0
- package/src/lib/components/label/label.component.ts +103 -0
- package/src/lib/components/label/label.module.ts +19 -0
- package/src/lib/components/link/assets/link-monochrome.less +21 -0
- package/src/lib/components/link/assets/link.less +54 -0
- package/src/lib/components/link/link.component.html +27 -0
- package/src/lib/components/link/link.component.less +2 -0
- package/src/lib/components/link/link.component.ts +52 -0
- package/src/lib/components/link/link.enum.ts +24 -0
- package/src/lib/components/link/link.module.ts +13 -0
- package/src/lib/components/loader/assets/loader-color.less +60 -0
- package/src/lib/components/loader/assets/loader-sizes.less +21 -0
- package/src/lib/components/loader/assets/loader.less +25 -0
- package/src/lib/components/loader/loader.component.html +13 -0
- package/src/lib/components/loader/loader.component.less +3 -0
- package/src/lib/components/loader/loader.component.ts +17 -0
- package/src/lib/components/loader/loader.enum.ts +22 -0
- package/src/lib/components/loader/loader.module.ts +11 -0
- package/src/lib/components/modal/assets/modal-animations.less +13 -0
- package/src/lib/components/modal/assets/modal-body.less +19 -0
- package/src/lib/components/modal/assets/modal-colors.less +62 -0
- package/src/lib/components/modal/assets/modal-footer.less +5 -0
- package/src/lib/components/modal/assets/modal-header.less +48 -0
- package/src/lib/components/modal/assets/modal-sizes.less +17 -0
- package/src/lib/components/modal/assets/modal.less +47 -0
- package/src/lib/components/modal/modal.component.html +49 -0
- package/src/lib/components/modal/modal.component.less +7 -0
- package/src/lib/components/modal/modal.component.ts +107 -0
- package/src/lib/components/modal/modal.emun.ts +25 -0
- package/src/lib/components/modal/modal.module.ts +12 -0
- package/src/lib/components/pages-nav/pages-nav.component.html +20 -0
- package/src/lib/components/pages-nav/pages-nav.component.less +40 -0
- package/src/lib/components/pages-nav/pages-nav.component.ts +22 -0
- package/src/lib/components/pages-nav/pages-nav.enum.ts +6 -0
- package/src/lib/components/pages-nav/pages-nav.module.ts +18 -0
- package/src/lib/components/paginator/assets/paginator-types.less +13 -0
- package/src/lib/components/paginator/assets/paginator.less +83 -0
- package/src/lib/components/paginator/paginator.component.html +64 -0
- package/src/lib/components/paginator/paginator.component.less +2 -0
- package/src/lib/components/paginator/paginator.component.ts +129 -0
- package/src/lib/components/paginator/paginator.enum.ts +18 -0
- package/src/lib/components/paginator/paginator.module.ts +20 -0
- package/src/lib/components/pdf-viewer/assets/pdf-viewer__container.less +43 -0
- package/src/lib/components/pdf-viewer/assets/pdf-viewer__print-dialog.less +42 -0
- package/src/lib/components/pdf-viewer/assets/pdf-viewer__sidebar.less +173 -0
- package/src/lib/components/pdf-viewer/assets/pdf-viewer__toolbar.less +210 -0
- package/src/lib/components/pdf-viewer/pdf-viewer.component.html +188 -0
- package/src/lib/components/pdf-viewer/pdf-viewer.component.less +4 -0
- package/src/lib/components/pdf-viewer/pdf-viewer.component.ts +297 -0
- package/src/lib/components/pdf-viewer/pdf-viewer.module.ts +32 -0
- package/src/lib/components/progress/assets/progress-color.less +26 -0
- package/src/lib/components/progress/assets/progress.less +12 -0
- package/src/lib/components/progress/progress.component.html +3 -0
- package/src/lib/components/progress/progress.component.less +2 -0
- package/src/lib/components/progress/progress.component.ts +19 -0
- package/src/lib/components/progress/progress.enum.ts +7 -0
- package/src/lib/components/progress/progress.module.ts +11 -0
- package/src/lib/components/save-state/components/save-state-checkbox/save-state-checkbox.component.html +66 -0
- package/src/lib/components/save-state/components/save-state-checkbox/save-state-checkbox.component.less +32 -0
- package/src/lib/components/save-state/components/save-state-checkbox/save-state-checkbox.component.ts +14 -0
- package/src/lib/components/save-state/components/save-state-checkbox-group/save-state-checkbox-group.component.html +66 -0
- package/src/lib/components/save-state/components/save-state-checkbox-group/save-state-checkbox-group.component.less +32 -0
- package/src/lib/components/save-state/components/save-state-checkbox-group/save-state-checkbox-group.component.ts +14 -0
- package/src/lib/components/save-state/components/save-state-editor/save-state-editor.component.html +66 -0
- package/src/lib/components/save-state/components/save-state-editor/save-state-editor.component.less +32 -0
- package/src/lib/components/save-state/components/save-state-editor/save-state-editor.component.ts +14 -0
- package/src/lib/components/save-state/components/save-state-input/save-state-input.component.html +66 -0
- package/src/lib/components/save-state/components/save-state-input/save-state-input.component.less +34 -0
- package/src/lib/components/save-state/components/save-state-input/save-state-input.component.ts +14 -0
- package/src/lib/components/save-state/components/save-state-switch/save-state-switch.component.html +66 -0
- package/src/lib/components/save-state/components/save-state-switch/save-state-switch.component.less +32 -0
- package/src/lib/components/save-state/components/save-state-switch/save-state-switch.component.ts +14 -0
- package/src/lib/components/save-state/save-state.component.html +11 -0
- package/src/lib/components/save-state/save-state.component.less +0 -0
- package/src/lib/components/save-state/save-state.component.ts +32 -0
- package/src/lib/components/save-state/save-state.enum.ts +1 -0
- package/src/lib/components/save-state/save-state.module.ts +28 -0
- package/src/lib/components/stepper/stepper.component.html +30 -0
- package/src/lib/components/stepper/stepper.component.less +27 -0
- package/src/lib/components/stepper/stepper.component.ts +38 -0
- package/src/lib/components/stepper/stepper.enum.ts +5 -0
- package/src/lib/components/stepper/stepper.module.ts +12 -0
- package/src/lib/components/table/assets/table-counter.less +8 -0
- package/src/lib/components/table/assets/table-download.less +19 -0
- package/src/lib/components/table/assets/table-empty-message.less +38 -0
- package/src/lib/components/table/assets/table-overlay.less +17 -0
- package/src/lib/components/table/assets/table-paginator.less +9 -0
- package/src/lib/components/table/assets/table-sort-select.less +70 -0
- package/src/lib/components/table/assets/table-striped.less +42 -0
- package/src/lib/components/table/assets/table-toggle.less +22 -0
- package/src/lib/components/table/assets/table-types.less +118 -0
- package/src/lib/components/table/assets/table.less +36 -0
- package/src/lib/components/table/components/column/column.component.ts +17 -0
- package/src/lib/components/table/default/default-pager-settings.ts +8 -0
- package/src/lib/components/table/models/data-state-change.event.ts +16 -0
- package/src/lib/components/table/models/index.ts +3 -0
- package/src/lib/components/table/models/pager-settings.ts +26 -0
- package/src/lib/components/table/table.component.html +220 -0
- package/src/lib/components/table/table.component.less +10 -0
- package/src/lib/components/table/table.component.ts +252 -0
- package/src/lib/components/table/table.enum.ts +41 -0
- package/src/lib/components/table/table.module.ts +30 -0
- package/src/lib/components/tabs/tab/tab.component.html +4 -0
- package/src/lib/components/tabs/tab/tab.component.less +15 -0
- package/src/lib/components/tabs/tab/tab.component.ts +22 -0
- package/src/lib/components/tabs/tabs-group/assets/tabs-button.less +43 -0
- package/src/lib/components/tabs/tabs-group/assets/tabs-group.less +9 -0
- package/src/lib/components/tabs/tabs-group/assets/tabs-size.less +50 -0
- package/src/lib/components/tabs/tabs-group/assets/tabs-types.less +63 -0
- package/src/lib/components/tabs/tabs-group/tabs-group.component.html +5 -0
- package/src/lib/components/tabs/tabs-group/tabs-group.component.less +4 -0
- package/src/lib/components/tabs/tabs-group/tabs-group.component.ts +23 -0
- package/src/lib/components/tabs/tabs.enum.ts +15 -0
- package/src/lib/components/tabs/tabs.module.ts +12 -0
- package/src/lib/components/tooltip/services/tooltip.service.ts +74 -0
- package/src/lib/components/tooltip/tooltip-trigger/assets/tooltip-trigger-right.less +39 -0
- package/src/lib/components/tooltip/tooltip-trigger/assets/tooltip-trigger-top.less +41 -0
- package/src/lib/components/tooltip/tooltip-trigger/assets/tooltip-trigger.less +29 -0
- package/src/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.html +11 -0
- package/src/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.less +3 -0
- package/src/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.ts +29 -0
- package/src/lib/components/tooltip/tooltip-trigger/tooltip-trigger.enum.ts +13 -0
- package/src/lib/components/tooltip/tooltip.component.html +4 -0
- package/src/lib/components/tooltip/tooltip.component.less +19 -0
- package/src/lib/components/tooltip/tooltip.component.ts +51 -0
- package/src/lib/components/tooltip/tooltip.enum.ts +4 -0
- package/src/lib/components/tooltip/tooltip.module.ts +13 -0
- package/src/lib/components/truncate-text/directives/truncate-text.directive.ts +158 -0
- package/src/lib/components/truncate-text/truncate-text.component.html +21 -0
- package/src/lib/components/truncate-text/truncate-text.component.ts +19 -0
- package/src/lib/components/truncate-text/truncate-text.enum.ts +2 -0
- package/src/lib/components/truncate-text/truncate-text.module.ts +13 -0
- package/src/lib/components/warning-message/warning-message.component.html +8 -0
- package/src/lib/components/warning-message/warning-message.component.less +12 -0
- package/src/lib/components/warning-message/warning-message.component.ts +24 -0
- package/src/lib/components/warning-message/warning-message.module.ts +11 -0
- package/src/lib/components/wrappers/content-wrapper/content-wrapper.component.html +9 -0
- package/src/lib/components/wrappers/content-wrapper/content-wrapper.component.less +13 -0
- package/src/lib/components/wrappers/content-wrapper/content-wrapper.component.ts +18 -0
- package/src/lib/components/wrappers/content-wrapper/content-wrapper.enum.ts +6 -0
- package/src/lib/components/wrappers/content-wrapper/content-wrapper.module.ts +13 -0
- package/src/lib/components/wrappers/controls-wrapper/components/controls-item/controls-item.component.html +6 -0
- package/src/lib/components/wrappers/controls-wrapper/components/controls-item/controls-item.component.less +39 -0
- package/src/lib/components/wrappers/controls-wrapper/components/controls-item/controls-item.component.ts +11 -0
- package/src/lib/components/wrappers/controls-wrapper/controls-wrapper.component.html +7 -0
- package/src/lib/components/wrappers/controls-wrapper/controls-wrapper.component.less +30 -0
- package/src/lib/components/wrappers/controls-wrapper/controls-wrapper.component.ts +18 -0
- package/src/lib/components/wrappers/controls-wrapper/controls-wrapper.enum.ts +7 -0
- package/src/lib/components/wrappers/controls-wrapper/controls-wrapper.module.ts +14 -0
- package/src/lib/components/wrappers/widget-wrapper/widget-wrapper.component.html +50 -0
- package/src/lib/components/wrappers/widget-wrapper/widget-wrapper.component.less +88 -0
- package/src/lib/components/wrappers/widget-wrapper/widget-wrapper.component.ts +82 -0
- package/src/lib/components/wrappers/widget-wrapper/widget-wrapper.enum.ts +17 -0
- package/src/lib/components/wrappers/widget-wrapper/widget-wrapper.module.ts +18 -0
- package/src/lib/directives/autosize/autosize.directive.ts +55 -0
- package/src/lib/directives/autosize/autosize.module.ts +16 -0
- package/src/lib/directives/delayed-value/delayed-value.directive.ts +37 -0
- package/src/lib/directives/delayed-value/delayed-value.module.ts +16 -0
- package/src/lib/directives/truncate/truncate.directive.ts +26 -0
- package/src/lib/directives/truncate/truncate.module.ts +10 -0
- package/src/lib/enums/typed.input.state.ts +6 -0
- package/src/lib/helpers/extension/input-file.extension.ts +47 -0
- package/src/lib/helpers/formatting-date.ts +65 -0
- package/src/lib/helpers/formatting-dates-from-array.ts +21 -0
- package/src/lib/helpers/formatting-iso-to-string.ts +20 -0
- package/src/lib/helpers/index.ts +8 -0
- package/src/lib/helpers/mrx-gallery-lib/README.md +0 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.autoplay.css +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.autoplay.esm.d.ts +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.autoplay.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.autoplay.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.css +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.thumbs.css +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.thumbs.esm.d.ts +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.thumbs.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.thumbs.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/carousel.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/cs.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/cs.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/de.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/de.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/en.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/en.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/es.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/es.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/fr.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/fr.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/it.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/it.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/ja.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/ja.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/lv.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/lv.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/pl.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/pl.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/sk.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/sk.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/zh_CN.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/carousel/l10n/zh_CN.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/fancybox.css +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/fancybox.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/fancybox.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/cs.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/cs.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/de.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/de.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/en.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/en.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/es.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/es.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/fr.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/fr.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/it.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/it.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/ja.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/ja.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/lv.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/lv.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/pl.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/pl.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/sk.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/sk.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/zh_CN.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/fancybox/l10n/zh_CN.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/index.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/index.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/cs.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/cs.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/de.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/de.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/en.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/en.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/es.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/es.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/fr.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/fr.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/it.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/it.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/ja.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/ja.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/lv.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/lv.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/pl.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/pl.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/sk.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/sk.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/zh_CN.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/l10n/zh_CN.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.css +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.pins.css +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.pins.esm.d.ts +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.pins.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.pins.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.toolbar.css +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.toolbar.esm.d.ts +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.toolbar.esm.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.toolbar.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/dist/panzoom/panzoom.umd.js +1 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/cs.ts +5 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/de.ts +5 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/en.ts +5 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/es.ts +5 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/fr.ts +5 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/it.ts +5 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/ja.ts +5 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/lv.ts +5 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/pl.ts +5 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/sk.ts +5 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Carousel/zh_CN.ts +5 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/cs.ts +20 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/de.ts +20 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/en.ts +20 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/es.ts +20 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/fr.ts +20 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/it.ts +20 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/ja.ts +20 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/lv.ts +20 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/pl.ts +20 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/sk.ts +20 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Fancybox/zh_CN.ts +20 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/cs.ts +26 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/de.ts +26 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/en.ts +26 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/es.ts +26 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/fr.ts +26 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/it.ts +26 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/ja.ts +26 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/lv.ts +26 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/pl.ts +26 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/sk.ts +26 -0
- package/src/lib/helpers/mrx-gallery-lib/l10n/Panzoom/zh_CN.ts +26 -0
- package/src/lib/helpers/mrx-gallery-lib/package.json +15 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Carousel/Carousel.d.ts +186 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Carousel/consts.d.ts +8 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Carousel/options.d.ts +108 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Carousel/plugins/Autoplay/Autoplay.d.ts +62 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Carousel/plugins/Dots/Dots.d.ts +44 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Carousel/plugins/Navigation/Navigation.d.ts +41 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Carousel/plugins/Sync/Sync.d.ts +44 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Carousel/plugins/Thumbs/Thumbs.d.ts +99 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Carousel/plugins/index.d.ts +5 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Carousel/types.d.ts +94 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/Fancybox.d.ts +231 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/consts.d.ts +13 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/options.d.ts +171 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/plugins/Hash/Hash.d.ts +34 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/plugins/Html/Html.d.ts +105 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/plugins/Images/Images.d.ts +66 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/plugins/Slideshow/Slideshow.d.ts +42 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/plugins/Thumbs/Thumbs.d.ts +42 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/plugins/Toolbar/Toolbar.d.ts +86 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/plugins/index.d.ts +8 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Fancybox/types.d.ts +91 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Panzoom/Panzoom.d.ts +357 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Panzoom/consts.d.ts +9 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Panzoom/options.d.ts +172 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Panzoom/plugins/Pins/Pins.d.ts +18 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Panzoom/plugins/Toolbar/Toolbar.d.ts +31 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Panzoom/plugins/index.d.ts +2 -0
- package/src/lib/helpers/mrx-gallery-lib/types/Panzoom/types.d.ts +112 -0
- package/src/lib/helpers/mrx-gallery-lib/types/index.d.ts +3 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/Base/Base.d.ts +16 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/Base/Component.d.ts +9 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/Base/Plugin.d.ts +7 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/Base/types.d.ts +9 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/buttons.d.ts +88 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/spinner.d.ts +1 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/PointerTracker.d.ts +45 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/addClass.d.ts +1 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/canUseDOM.d.ts +4 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/getDimensions.d.ts +8 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/getDirectChildren.d.ts +1 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/getScrollableParent.d.ts +2 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/isInViewport.d.ts +1 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/isNode.d.ts +1 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/isPlainObject.d.ts +1 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/merge.d.ts +1 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/removeClass.d.ts +1 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/resolve.d.ts +1 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/round.d.ts +4 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/setFocusOn.d.ts +2 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/splitClasses.d.ts +1 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/stringToHtml.d.ts +1 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/throttle.d.ts +5 -0
- package/src/lib/helpers/mrx-gallery-lib/types/shared/utils/toggleClass.d.ts +1 -0
- package/src/lib/helpers/number-format.ts +8 -0
- package/src/lib/helpers/string-hash-code.ts +16 -0
- package/src/lib/helpers/word-form.ts +11 -0
- package/src/lib/models/index.ts +2 -0
- package/src/lib/models/input-file/input-file.model.ts +26 -0
- package/src/lib/models/typed-input-model.ts +17 -0
- package/src/lib/myrta-ui.module.ts +146 -0
- package/src/lib/pipes/currency/currency.module.ts +14 -0
- package/src/lib/pipes/currency/currency.pipe.ts +19 -0
- package/src/lib/pipes/date/date-format.module.ts +11 -0
- package/src/lib/pipes/date/date-format.pipe.ts +17 -0
- package/src/lib/pipes/date/date-time-format.pipe.ts +17 -0
- package/src/lib/pipes/date/enums/timezone.ts +10 -0
- package/src/lib/pipes/date/helpers/change-timezone.ts +25 -0
- package/src/lib/pipes/phone/phone-format.module.ts +10 -0
- package/src/lib/pipes/phone/phone-format.pipe.ts +16 -0
- package/src/lib/pipes/safe/safe.module.ts +14 -0
- package/src/lib/pipes/safe/safe.pipe.ts +14 -0
- package/src/lib/pipes/truncate/truncate.module.ts +14 -0
- package/src/lib/pipes/truncate/truncate.pipe.ts +19 -0
- package/src/lib/services/dialog/components/dialog/dialog.component.html +7 -0
- package/src/lib/services/dialog/components/dialog/dialog.component.less +22 -0
- package/src/lib/services/dialog/components/dialog/dialog.component.ts +55 -0
- package/src/lib/services/dialog/dialog.module.ts +19 -0
- package/src/lib/services/dialog/directives/insertion.directive.ts +8 -0
- package/src/lib/services/dialog/services/dialog.service.ts +68 -0
- package/src/lib/services/dialog/utils/dialog-config.ts +3 -0
- package/src/lib/services/dialog/utils/dialog-injector.ts +17 -0
- package/src/lib/services/dialog/utils/dialog-ref.ts +12 -0
- package/src/lib/services/file-upload/file-upload.service.ts +24 -0
- package/src/lib/services/index.ts +19 -0
- package/src/lib/services/modal-service/components/alert-modal/alert-modal.component.html +20 -0
- package/src/lib/services/modal-service/components/alert-modal/alert-modal.component.less +0 -0
- package/src/lib/services/modal-service/components/alert-modal/alert-modal.component.ts +47 -0
- package/src/lib/services/modal-service/components/confirm-modal/confirm-modal.component.html +29 -0
- package/src/lib/services/modal-service/components/confirm-modal/confirm-modal.component.less +0 -0
- package/src/lib/services/modal-service/components/confirm-modal/confirm-modal.component.ts +51 -0
- package/src/lib/services/modal-service/helpers/index.ts +4 -0
- package/src/lib/services/modal-service/helpers/modal-default-config.ts +16 -0
- package/src/lib/services/modal-service/helpers/modal-ref.ts +36 -0
- package/src/lib/services/modal-service/helpers/modal-tokens.ts +4 -0
- package/src/lib/services/modal-service/helpers/modal.component.ts +3 -0
- package/src/lib/services/modal-service/modal-service.module.ts +15 -0
- package/src/lib/services/modal-service/modal-service.service.ts +100 -0
- package/src/lib/services/modal-service/models/modal-config.model.ts +16 -0
- package/src/lib/services/mrx-autosave/mrx-autosave.service.ts +58 -0
- package/src/lib/services/mrx-form-validator/constants/invalid-messages.ts +9 -0
- package/src/lib/services/mrx-form-validator/helpers/get-error-message.helper.ts +17 -0
- package/src/lib/services/mrx-form-validator/helpers/get-sorting-validations.helper.ts +30 -0
- package/src/lib/services/mrx-form-validator/models/index.ts +3 -0
- package/src/lib/services/mrx-form-validator/models/validations-options.model.ts +35 -0
- package/src/lib/services/mrx-form-validator/models/validations-settings.model.ts +8 -0
- package/src/lib/services/mrx-form-validator/models/validations-types.model.ts +23 -0
- package/src/lib/services/mrx-form-validator/mrx-form-validator.ts +278 -0
- package/src/lib/services/mrx-form-validator/validations/callback.validation.ts +24 -0
- package/src/lib/services/mrx-form-validator/validations/email.validation.ts +20 -0
- package/src/lib/services/mrx-form-validator/validations/max-length.validation.ts +26 -0
- package/src/lib/services/mrx-form-validator/validations/max-value.validation.ts +21 -0
- package/src/lib/services/mrx-form-validator/validations/min-length.validation.ts +26 -0
- package/src/lib/services/mrx-form-validator/validations/min-value.validation.ts +19 -0
- package/src/lib/services/mrx-form-validator/validations/pattern.validation.ts +20 -0
- package/src/lib/services/mrx-form-validator/validations/required.validation.ts +34 -0
- package/src/lib/services/save-store/constants/constants.ts +1 -0
- package/src/lib/services/save-store/models/save-store.model.ts +4 -0
- package/src/lib/services/save-store/save-store.module.ts +17 -0
- package/src/lib/services/save-store/store/actions.ts +56 -0
- package/src/lib/services/save-store/store/effect.ts +61 -0
- package/src/lib/services/save-store/store/reducer.ts +103 -0
- package/src/lib/services/save-store/store/selectors.ts +10 -0
- package/src/lib/services/save-store/store/state.ts +16 -0
- package/src/lib/services/toaster-service/components/toaster/assets/toaster-colors.less +78 -0
- package/src/lib/services/toaster-service/components/toaster/assets/toaster-content.less +17 -0
- package/src/lib/services/toaster-service/components/toaster/assets/toaster.less +45 -0
- package/src/lib/services/toaster-service/components/toaster/toaster.component.html +37 -0
- package/src/lib/services/toaster-service/components/toaster/toaster.component.less +3 -0
- package/src/lib/services/toaster-service/components/toaster/toaster.component.ts +26 -0
- package/src/lib/services/toaster-service/config/index.ts +12 -0
- package/src/lib/services/toaster-service/models/toaster.model.ts +14 -0
- package/src/lib/services/toaster-service/toaster-service.module.ts +20 -0
- package/src/lib/services/toaster-service/toaster-service.service.ts +51 -0
- package/src/public-api.ts +244 -0
- package/tsconfig.lib.json +15 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +17 -0
- package/esm2022/lib/components/alert/alert.component.mjs +0 -43
- package/esm2022/lib/components/alert/alert.enum.mjs +0 -15
- package/esm2022/lib/components/alert/alert.module.mjs +0 -19
- package/esm2022/lib/components/badges/badge.enum.mjs +0 -32
- package/esm2022/lib/components/badges/badges.module.mjs +0 -30
- package/esm2022/lib/components/badges/components/badge/badge.component.mjs +0 -61
- package/esm2022/lib/components/badges/components/badge-group/badge-group.component.mjs +0 -11
- package/esm2022/lib/components/breadcrumbs/breadcrumbs.component.mjs +0 -29
- package/esm2022/lib/components/breadcrumbs/breadcrumbs.enum.mjs +0 -6
- package/esm2022/lib/components/breadcrumbs/breadcrumbs.module.mjs +0 -31
- package/esm2022/lib/components/button/button.component.mjs +0 -100
- package/esm2022/lib/components/button/button.enum.mjs +0 -27
- package/esm2022/lib/components/button/button.module.mjs +0 -21
- package/esm2022/lib/components/cdk-tooltip/cdk-tooltip/tooltip-container.component.mjs +0 -29
- package/esm2022/lib/components/cdk-tooltip/cdk-tooltip.directive.mjs +0 -99
- package/esm2022/lib/components/cdk-tooltip/cdk-tooltip.module.mjs +0 -21
- package/esm2022/lib/components/cdk-tooltip/constants/index.mjs +0 -70
- package/esm2022/lib/components/cdk-tooltip/models/tooltip-data.mjs +0 -2
- package/esm2022/lib/components/chars-left/chars-left.component.mjs +0 -24
- package/esm2022/lib/components/chars-left/chars-left.module.mjs +0 -19
- package/esm2022/lib/components/dropdown/directives/hide-after-click.directive.mjs +0 -24
- package/esm2022/lib/components/dropdown/dropdown.component.mjs +0 -107
- package/esm2022/lib/components/dropdown/dropdown.module.mjs +0 -21
- package/esm2022/lib/components/error-message/error-message.component.mjs +0 -32
- package/esm2022/lib/components/error-message/error-message.module.mjs +0 -19
- package/esm2022/lib/components/form/checkbox/checkbox.component.mjs +0 -146
- package/esm2022/lib/components/form/checkbox/checkbox.enum.mjs +0 -2
- package/esm2022/lib/components/form/checkbox/checkbox.module.mjs +0 -22
- package/esm2022/lib/components/form/checkbox-group/checkbox-group.component.mjs +0 -216
- package/esm2022/lib/components/form/checkbox-group/checkbox-group.module.mjs +0 -47
- package/esm2022/lib/components/form/checkbox-group/components/checkbox-group-header/checkbox-group-header.component.mjs +0 -48
- package/esm2022/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.mjs +0 -114
- package/esm2022/lib/components/form/checkbox-group/helpers/change-group-value.mjs +0 -19
- package/esm2022/lib/components/form/checkbox-group/helpers/change-item-value.mjs +0 -15
- package/esm2022/lib/components/form/checkbox-group/helpers/filter-search-group.mjs +0 -27
- package/esm2022/lib/components/form/checkbox-group/helpers/get-checked-items.mjs +0 -20
- package/esm2022/lib/components/form/checkbox-group/helpers/get-inner-list.helper.mjs +0 -46
- package/esm2022/lib/components/form/checkbox-group/helpers/get-item-by-id.mjs +0 -11
- package/esm2022/lib/components/form/checkbox-group/helpers/get-sorted-list.mjs +0 -50
- package/esm2022/lib/components/form/checkbox-group/helpers/inner-list-to-list.helper.mjs +0 -13
- package/esm2022/lib/components/form/checkbox-group/models/checkbox-group.model.mjs +0 -2
- package/esm2022/lib/components/form/editor/config/default-inline-style.mjs +0 -6
- package/esm2022/lib/components/form/editor/config/index.mjs +0 -2
- package/esm2022/lib/components/form/editor/config/popups-toolbar.mjs +0 -9
- package/esm2022/lib/components/form/editor/config/toolbar.mjs +0 -72
- package/esm2022/lib/components/form/editor/editor.component.mjs +0 -281
- package/esm2022/lib/components/form/editor/editor.enum.mjs +0 -7
- package/esm2022/lib/components/form/editor/editor.module.mjs +0 -45
- package/esm2022/lib/components/form/editor/models/toolbar.model.mjs +0 -2
- package/esm2022/lib/components/form/editor/modules/change-icon-module.mjs +0 -92
- package/esm2022/lib/components/form/input-date-time/constants/value-models.mjs +0 -14
- package/esm2022/lib/components/form/input-date-time/enum/timezone.mjs +0 -7
- package/esm2022/lib/components/form/input-date-time/helpers/clean-date.mjs +0 -5
- package/esm2022/lib/components/form/input-date-time/helpers/cursor-position.mjs +0 -23
- package/esm2022/lib/components/form/input-date-time/helpers/formatting-from-models.mjs +0 -10
- package/esm2022/lib/components/form/input-date-time/helpers/formatting-moscow-timezone.mjs +0 -10
- package/esm2022/lib/components/form/input-date-time/helpers/validate-value-models.mjs +0 -60
- package/esm2022/lib/components/form/input-date-time/helpers/value-parser.mjs +0 -39
- package/esm2022/lib/components/form/input-date-time/input-date-time.component.mjs +0 -386
- package/esm2022/lib/components/form/input-date-time/input-date-time.enum.mjs +0 -7
- package/esm2022/lib/components/form/input-date-time/input-date-time.module.mjs +0 -46
- package/esm2022/lib/components/form/input-datepicker/constants/value-models.mjs +0 -15
- package/esm2022/lib/components/form/input-datepicker/helpers/clean-date.mjs +0 -5
- package/esm2022/lib/components/form/input-datepicker/helpers/cursor-position.mjs +0 -23
- package/esm2022/lib/components/form/input-datepicker/helpers/get-date-dayjs-object.mjs +0 -10
- package/esm2022/lib/components/form/input-datepicker/helpers/get-date-object.mjs +0 -10
- package/esm2022/lib/components/form/input-datepicker/helpers/validate-value-models.mjs +0 -74
- package/esm2022/lib/components/form/input-datepicker/helpers/value-parser.mjs +0 -47
- package/esm2022/lib/components/form/input-datepicker/input-datepicker.component.mjs +0 -356
- package/esm2022/lib/components/form/input-datepicker/input-datepicker.enum.mjs +0 -7
- package/esm2022/lib/components/form/input-datepicker/input-datepicker.module.mjs +0 -46
- package/esm2022/lib/components/form/input-file/enums/error-messages.enum.mjs +0 -8
- package/esm2022/lib/components/form/input-file/input-file.component.mjs +0 -366
- package/esm2022/lib/components/form/input-file/input-file.enum.mjs +0 -8
- package/esm2022/lib/components/form/input-file/input-file.module.mjs +0 -26
- package/esm2022/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.mjs +0 -88
- package/esm2022/lib/components/form/input-file-image/input-file-image.component.mjs +0 -350
- package/esm2022/lib/components/form/input-file-image/input-file-image.enum.mjs +0 -10
- package/esm2022/lib/components/form/input-file-image/input-file-image.module.mjs +0 -53
- package/esm2022/lib/components/form/input-number/input-number.component.mjs +0 -267
- package/esm2022/lib/components/form/input-number/input-number.enum.mjs +0 -7
- package/esm2022/lib/components/form/input-number/input-number.module.mjs +0 -55
- package/esm2022/lib/components/form/input-opt/components/input-opt/input-opt.component.mjs +0 -370
- package/esm2022/lib/components/form/input-opt/components/input-opt/input-opt.enum.mjs +0 -8
- package/esm2022/lib/components/form/input-opt/directives/opt-pattern.directive.mjs +0 -43
- package/esm2022/lib/components/form/input-opt/input-opt.module.mjs +0 -38
- package/esm2022/lib/components/form/input-opt/models/input-opt.model.mjs +0 -6
- package/esm2022/lib/components/form/input-opt/services/input-opt.service.mjs +0 -33
- package/esm2022/lib/components/form/input-password/input-password.component.mjs +0 -118
- package/esm2022/lib/components/form/input-password/input-password.enum.mjs +0 -7
- package/esm2022/lib/components/form/input-password/input-password.module.mjs +0 -36
- package/esm2022/lib/components/form/input-phone/data/country-code.mjs +0 -1331
- package/esm2022/lib/components/form/input-phone/directives/native-element-injector.directive.mjs +0 -35
- package/esm2022/lib/components/form/input-phone/enums/country-iso.enum.mjs +0 -247
- package/esm2022/lib/components/form/input-phone/enums/input-phone.enum.mjs +0 -7
- package/esm2022/lib/components/form/input-phone/enums/mask.enum.mjs +0 -139
- package/esm2022/lib/components/form/input-phone/enums/phone-number-format.enum.mjs +0 -6
- package/esm2022/lib/components/form/input-phone/enums/search-country-field.enum.mjs +0 -8
- package/esm2022/lib/components/form/input-phone/input-phone.component.mjs +0 -679
- package/esm2022/lib/components/form/input-phone/input-phone.module.mjs +0 -50
- package/esm2022/lib/components/form/input-phone/input-phone.validator.mjs +0 -61
- package/esm2022/lib/components/form/input-phone/interfaces/change-data.mjs +0 -2
- package/esm2022/lib/components/form/input-phone/models/country.model.mjs +0 -2
- package/esm2022/lib/components/form/input-search/input-search.component.mjs +0 -167
- package/esm2022/lib/components/form/input-search/input-search.enum.mjs +0 -7
- package/esm2022/lib/components/form/input-search/input-search.module.mjs +0 -41
- package/esm2022/lib/components/form/input-select/input-select.component.mjs +0 -253
- package/esm2022/lib/components/form/input-select/input-select.enum.mjs +0 -6
- package/esm2022/lib/components/form/input-select/input-select.module.mjs +0 -45
- package/esm2022/lib/components/form/input-tel/assets/base64.mjs +0 -4
- package/esm2022/lib/components/form/input-tel/data/all-countries.mjs +0 -1323
- package/esm2022/lib/components/form/input-tel/data/country-iso.enum.mjs +0 -247
- package/esm2022/lib/components/form/input-tel/data/phone-number-format.enum.mjs +0 -6
- package/esm2022/lib/components/form/input-tel/data/search-country-field.enum.mjs +0 -8
- package/esm2022/lib/components/form/input-tel/directives/input-tel.directive.mjs +0 -66
- package/esm2022/lib/components/form/input-tel/enums/input-phone.enum.mjs +0 -7
- package/esm2022/lib/components/form/input-tel/input-tel.component.mjs +0 -400
- package/esm2022/lib/components/form/input-tel/input-tel.module.mjs +0 -43
- package/esm2022/lib/components/form/input-tel/models/country.model.mjs +0 -2
- package/esm2022/lib/components/form/input-text/input-text.component.mjs +0 -189
- package/esm2022/lib/components/form/input-text/input-text.enum.mjs +0 -15
- package/esm2022/lib/components/form/input-text/input-text.module.mjs +0 -49
- package/esm2022/lib/components/form/input-textarea/input-textarea.component.mjs +0 -197
- package/esm2022/lib/components/form/input-textarea/input-textarea.enum.mjs +0 -7
- package/esm2022/lib/components/form/input-textarea/input-textarea.module.mjs +0 -49
- package/esm2022/lib/components/form/input-timepicker/constants/value-models.mjs +0 -8
- package/esm2022/lib/components/form/input-timepicker/helpers/clean-date.mjs +0 -5
- package/esm2022/lib/components/form/input-timepicker/helpers/cursor-position.mjs +0 -14
- package/esm2022/lib/components/form/input-timepicker/helpers/get-date-dayjs-object.mjs +0 -5
- package/esm2022/lib/components/form/input-timepicker/helpers/get-date-object.mjs +0 -5
- package/esm2022/lib/components/form/input-timepicker/helpers/validate-value-models.mjs +0 -29
- package/esm2022/lib/components/form/input-timepicker/helpers/value-parser.mjs +0 -18
- package/esm2022/lib/components/form/input-timepicker/input-timepicker.component.mjs +0 -292
- package/esm2022/lib/components/form/input-timepicker/input-timepicker.enum.mjs +0 -7
- package/esm2022/lib/components/form/input-timepicker/input-timepicker.module.mjs +0 -46
- package/esm2022/lib/components/form/json-editor/json-editor.component.mjs +0 -224
- package/esm2022/lib/components/form/json-editor/json-editor.enum.mjs +0 -2
- package/esm2022/lib/components/form/json-editor/json-editor.module.mjs +0 -24
- package/esm2022/lib/components/form/json-editor/utils/jsoneditoroptions.mjs +0 -133
- package/esm2022/lib/components/form/radio/radio.component.mjs +0 -91
- package/esm2022/lib/components/form/radio/radio.enum.mjs +0 -5
- package/esm2022/lib/components/form/radio/radio.module.mjs +0 -20
- package/esm2022/lib/components/form/radio-group/components/radio-group-header/radio-group-header.component.mjs +0 -48
- package/esm2022/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.mjs +0 -72
- package/esm2022/lib/components/form/radio-group/helpers/filter-search-group.mjs +0 -27
- package/esm2022/lib/components/form/radio-group/helpers/get-item-by-id.mjs +0 -11
- package/esm2022/lib/components/form/radio-group/helpers/move-selected-to-first.mjs +0 -27
- package/esm2022/lib/components/form/radio-group/models/radio-group.model.mjs +0 -2
- package/esm2022/lib/components/form/radio-group/radio-group.component.mjs +0 -192
- package/esm2022/lib/components/form/radio-group/radio-group.module.mjs +0 -47
- package/esm2022/lib/components/form/rating/rating.component.mjs +0 -215
- package/esm2022/lib/components/form/rating/rating.enum.mjs +0 -16
- package/esm2022/lib/components/form/rating/rating.module.mjs +0 -25
- package/esm2022/lib/components/form/switch/switch.component.mjs +0 -95
- package/esm2022/lib/components/form/switch/switch.enum.mjs +0 -11
- package/esm2022/lib/components/form/switch/switch.module.mjs +0 -21
- package/esm2022/lib/components/gallery/components/gallery-confirm-modal/gallery-confirm-modal.component.mjs +0 -37
- package/esm2022/lib/components/gallery/components/gallery-item/gallery-item.component.mjs +0 -112
- package/esm2022/lib/components/gallery/constants/custom-buttons-default.mjs +0 -7
- package/esm2022/lib/components/gallery/constants/thumbs-config-default.mjs +0 -5
- package/esm2022/lib/components/gallery/gallery.component.mjs +0 -203
- package/esm2022/lib/components/gallery/gallery.module.mjs +0 -54
- package/esm2022/lib/components/gallery/models/gallery-item.model.mjs +0 -2
- package/esm2022/lib/components/gallery/services/gallery.service.mjs +0 -33
- package/esm2022/lib/components/hint-error-message/hint-error-message.component.mjs +0 -121
- package/esm2022/lib/components/hint-error-message/hint-error-message.module.mjs +0 -19
- package/esm2022/lib/components/icon-button/icon-button.component.mjs +0 -55
- package/esm2022/lib/components/icon-button/icon-button.enum.mjs +0 -17
- package/esm2022/lib/components/icon-button/icon-button.module.mjs +0 -19
- package/esm2022/lib/components/label/label.component.mjs +0 -143
- package/esm2022/lib/components/label/label.module.mjs +0 -25
- package/esm2022/lib/components/link/link.component.mjs +0 -61
- package/esm2022/lib/components/link/link.enum.mjs +0 -20
- package/esm2022/lib/components/link/link.module.mjs +0 -20
- package/esm2022/lib/components/loader/loader.component.mjs +0 -24
- package/esm2022/lib/components/loader/loader.enum.mjs +0 -20
- package/esm2022/lib/components/loader/loader.module.mjs +0 -19
- package/esm2022/lib/components/modal/modal.component.mjs +0 -137
- package/esm2022/lib/components/modal/modal.emun.mjs +0 -21
- package/esm2022/lib/components/modal/modal.module.mjs +0 -20
- package/esm2022/lib/components/pages-nav/pages-nav.component.mjs +0 -31
- package/esm2022/lib/components/pages-nav/pages-nav.enum.mjs +0 -6
- package/esm2022/lib/components/pages-nav/pages-nav.module.mjs +0 -24
- package/esm2022/lib/components/paginator/paginator.component.mjs +0 -140
- package/esm2022/lib/components/paginator/paginator.enum.mjs +0 -6
- package/esm2022/lib/components/paginator/paginator.module.mjs +0 -31
- package/esm2022/lib/components/pdf-viewer/pdf-viewer.component.mjs +0 -268
- package/esm2022/lib/components/pdf-viewer/pdf-viewer.module.mjs +0 -59
- package/esm2022/lib/components/progress/progress.component.mjs +0 -24
- package/esm2022/lib/components/progress/progress.enum.mjs +0 -8
- package/esm2022/lib/components/progress/progress.module.mjs +0 -19
- package/esm2022/lib/components/save-state/components/save-state-checkbox/save-state-checkbox.component.mjs +0 -16
- package/esm2022/lib/components/save-state/components/save-state-checkbox-group/save-state-checkbox-group.component.mjs +0 -16
- package/esm2022/lib/components/save-state/components/save-state-editor/save-state-editor.component.mjs +0 -16
- package/esm2022/lib/components/save-state/components/save-state-input/save-state-input.component.mjs +0 -16
- package/esm2022/lib/components/save-state/components/save-state-switch/save-state-switch.component.mjs +0 -16
- package/esm2022/lib/components/save-state/save-state.component.mjs +0 -40
- package/esm2022/lib/components/save-state/save-state.enum.mjs +0 -2
- package/esm2022/lib/components/save-state/save-state.module.mjs +0 -37
- package/esm2022/lib/components/stepper/stepper.component.mjs +0 -52
- package/esm2022/lib/components/stepper/stepper.enum.mjs +0 -6
- package/esm2022/lib/components/stepper/stepper.module.mjs +0 -20
- package/esm2022/lib/components/table/components/column/column.component.mjs +0 -40
- package/esm2022/lib/components/table/default/default-pager-settings.mjs +0 -7
- package/esm2022/lib/components/table/models/data-state-change.event.mjs +0 -2
- package/esm2022/lib/components/table/models/index.mjs +0 -4
- package/esm2022/lib/components/table/models/pager-settings.mjs +0 -2
- package/esm2022/lib/components/table/table.component.mjs +0 -274
- package/esm2022/lib/components/table/table.enum.mjs +0 -8
- package/esm2022/lib/components/table/table.module.mjs +0 -50
- package/esm2022/lib/components/tabs/tab/tab.component.mjs +0 -33
- package/esm2022/lib/components/tabs/tabs-group/tabs-group.component.mjs +0 -27
- package/esm2022/lib/components/tabs/tabs.enum.mjs +0 -14
- package/esm2022/lib/components/tabs/tabs.module.mjs +0 -20
- package/esm2022/lib/components/tooltip/services/tooltip.service.mjs +0 -65
- package/esm2022/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.mjs +0 -36
- package/esm2022/lib/components/tooltip/tooltip-trigger/tooltip-trigger.enum.mjs +0 -11
- package/esm2022/lib/components/tooltip/tooltip.component.mjs +0 -59
- package/esm2022/lib/components/tooltip/tooltip.enum.mjs +0 -6
- package/esm2022/lib/components/tooltip/tooltip.module.mjs +0 -21
- package/esm2022/lib/components/truncate-text/directives/truncate-text.directive.mjs +0 -149
- package/esm2022/lib/components/truncate-text/truncate-text.component.mjs +0 -30
- package/esm2022/lib/components/truncate-text/truncate-text.enum.mjs +0 -2
- package/esm2022/lib/components/truncate-text/truncate-text.module.mjs +0 -21
- package/esm2022/lib/components/warning-message/warning-message.component.mjs +0 -29
- package/esm2022/lib/components/warning-message/warning-message.module.mjs +0 -19
- package/esm2022/lib/components/wrappers/content-wrapper/content-wrapper.component.mjs +0 -25
- package/esm2022/lib/components/wrappers/content-wrapper/content-wrapper.enum.mjs +0 -6
- package/esm2022/lib/components/wrappers/content-wrapper/content-wrapper.module.mjs +0 -19
- package/esm2022/lib/components/wrappers/controls-wrapper/components/controls-item/controls-item.component.mjs +0 -15
- package/esm2022/lib/components/wrappers/controls-wrapper/controls-wrapper.component.mjs +0 -23
- package/esm2022/lib/components/wrappers/controls-wrapper/controls-wrapper.enum.mjs +0 -7
- package/esm2022/lib/components/wrappers/controls-wrapper/controls-wrapper.module.mjs +0 -20
- package/esm2022/lib/components/wrappers/widget-wrapper/widget-wrapper.component.mjs +0 -99
- package/esm2022/lib/components/wrappers/widget-wrapper/widget-wrapper.enum.mjs +0 -17
- package/esm2022/lib/components/wrappers/widget-wrapper/widget-wrapper.module.mjs +0 -24
- package/esm2022/lib/directives/autosize/autosize.directive.mjs +0 -57
- package/esm2022/lib/directives/autosize/autosize.module.mjs +0 -24
- package/esm2022/lib/directives/truncate/truncate.directive.mjs +0 -34
- package/esm2022/lib/directives/truncate/truncate.module.mjs +0 -18
- package/esm2022/lib/enums/typed.input.state.mjs +0 -8
- package/esm2022/lib/helpers/extension/input-file.extension.mjs +0 -39
- package/esm2022/lib/helpers/formatting-date.mjs +0 -51
- package/esm2022/lib/helpers/formatting-dates-from-array.mjs +0 -18
- package/esm2022/lib/helpers/formatting-iso-to-string.mjs +0 -13
- package/esm2022/lib/helpers/index.mjs +0 -8
- package/esm2022/lib/helpers/number-format.mjs +0 -9
- package/esm2022/lib/helpers/string-hash-code.mjs +0 -17
- package/esm2022/lib/helpers/word-form.mjs +0 -11
- package/esm2022/lib/models/index.mjs +0 -3
- package/esm2022/lib/models/input-file/input-file.model.mjs +0 -2
- package/esm2022/lib/models/typed-input-model.mjs +0 -2
- package/esm2022/lib/pipes/currency/currency.module.mjs +0 -20
- package/esm2022/lib/pipes/currency/currency.pipe.mjs +0 -22
- package/esm2022/lib/pipes/date/date-format.module.mjs +0 -19
- package/esm2022/lib/pipes/date/date-format.pipe.mjs +0 -21
- package/esm2022/lib/pipes/date/date-time-format.pipe.mjs +0 -21
- package/esm2022/lib/pipes/date/enums/timezone.mjs +0 -10
- package/esm2022/lib/pipes/date/helpers/change-timezone.mjs +0 -23
- package/esm2022/lib/pipes/phone/phone-format.module.mjs +0 -18
- package/esm2022/lib/pipes/phone/phone-format.pipe.mjs +0 -23
- package/esm2022/lib/pipes/safe/safe.module.mjs +0 -20
- package/esm2022/lib/pipes/safe/safe.pipe.mjs +0 -21
- package/esm2022/lib/pipes/truncate/truncate.module.mjs +0 -20
- package/esm2022/lib/pipes/truncate/truncate.pipe.mjs +0 -23
- package/esm2022/lib/services/file-upload/file-upload.service.mjs +0 -27
- package/esm2022/lib/services/index.mjs +0 -15
- package/esm2022/lib/services/modal-service/components/alert-modal/alert-modal.component.mjs +0 -44
- package/esm2022/lib/services/modal-service/components/confirm-modal/confirm-modal.component.mjs +0 -48
- package/esm2022/lib/services/modal-service/helpers/index.mjs +0 -5
- package/esm2022/lib/services/modal-service/helpers/modal-default-config.mjs +0 -14
- package/esm2022/lib/services/modal-service/helpers/modal-ref.mjs +0 -29
- package/esm2022/lib/services/modal-service/helpers/modal-tokens.mjs +0 -4
- package/esm2022/lib/services/modal-service/helpers/modal.component.mjs +0 -4
- package/esm2022/lib/services/modal-service/modal-service.module.mjs +0 -25
- package/esm2022/lib/services/modal-service/modal-service.service.mjs +0 -84
- package/esm2022/lib/services/modal-service/models/modal-config.model.mjs +0 -2
- package/esm2022/lib/services/mrx-autosave/mrx-autosave.service.mjs +0 -43
- package/esm2022/lib/services/mrx-form-validator/constants/invalid-messages.mjs +0 -10
- package/esm2022/lib/services/mrx-form-validator/helpers/get-error-message.helper.mjs +0 -10
- package/esm2022/lib/services/mrx-form-validator/helpers/get-sorting-validations.helper.mjs +0 -29
- package/esm2022/lib/services/mrx-form-validator/models/index.mjs +0 -4
- package/esm2022/lib/services/mrx-form-validator/models/validations-options.model.mjs +0 -2
- package/esm2022/lib/services/mrx-form-validator/models/validations-settings.model.mjs +0 -2
- package/esm2022/lib/services/mrx-form-validator/models/validations-types.model.mjs +0 -22
- package/esm2022/lib/services/mrx-form-validator/mrx-form-validator.mjs +0 -197
- package/esm2022/lib/services/mrx-form-validator/validations/callback.validation.mjs +0 -15
- package/esm2022/lib/services/mrx-form-validator/validations/email.validation.mjs +0 -11
- package/esm2022/lib/services/mrx-form-validator/validations/max-length.validation.mjs +0 -14
- package/esm2022/lib/services/mrx-form-validator/validations/max-value.validation.mjs +0 -10
- package/esm2022/lib/services/mrx-form-validator/validations/min-length.validation.mjs +0 -15
- package/esm2022/lib/services/mrx-form-validator/validations/min-value.validation.mjs +0 -10
- package/esm2022/lib/services/mrx-form-validator/validations/pattern.validation.mjs +0 -11
- package/esm2022/lib/services/mrx-form-validator/validations/required.validation.mjs +0 -22
- package/esm2022/lib/services/save-store/constants/constants.mjs +0 -2
- package/esm2022/lib/services/save-store/models/save-store.model.mjs +0 -2
- package/esm2022/lib/services/save-store/save-store.module.mjs +0 -29
- package/esm2022/lib/services/save-store/store/actions.mjs +0 -23
- package/esm2022/lib/services/save-store/store/effect.mjs +0 -61
- package/esm2022/lib/services/save-store/store/reducer.mjs +0 -96
- package/esm2022/lib/services/save-store/store/selectors.mjs +0 -5
- package/esm2022/lib/services/save-store/store/state.mjs +0 -4
- package/esm2022/lib/services/toaster-service/components/toaster/toaster.component.mjs +0 -29
- package/esm2022/lib/services/toaster-service/models/toaster.model.mjs +0 -15
- package/esm2022/lib/services/toaster-service/toaster-service.module.mjs +0 -52
- package/esm2022/lib/services/toaster-service/toaster-service.service.mjs +0 -53
- package/esm2022/myrta-ui.mjs +0 -5
- package/esm2022/public-api.mjs +0 -183
- package/fesm2022/myrta-ui.mjs +0 -16515
- package/fesm2022/myrta-ui.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/components/alert/alert.component.d.ts +0 -17
- package/lib/components/alert/alert.enum.d.ts +0 -13
- package/lib/components/alert/alert.module.d.ts +0 -8
- package/lib/components/badges/badge.enum.d.ts +0 -38
- package/lib/components/badges/badges.module.d.ts +0 -9
- package/lib/components/badges/components/badge/badge.component.d.ts +0 -21
- package/lib/components/badges/components/badge-group/badge-group.component.d.ts +0 -5
- package/lib/components/breadcrumbs/breadcrumbs.component.d.ts +0 -11
- package/lib/components/breadcrumbs/breadcrumbs.enum.d.ts +0 -16
- package/lib/components/breadcrumbs/breadcrumbs.module.d.ts +0 -9
- package/lib/components/button/button.component.d.ts +0 -31
- package/lib/components/button/button.enum.d.ts +0 -27
- package/lib/components/button/button.module.d.ts +0 -10
- package/lib/components/cdk-tooltip/cdk-tooltip/tooltip-container.component.d.ts +0 -13
- package/lib/components/cdk-tooltip/cdk-tooltip.directive.d.ts +0 -24
- package/lib/components/cdk-tooltip/cdk-tooltip.module.d.ts +0 -10
- package/lib/components/cdk-tooltip/constants/index.d.ts +0 -7
- package/lib/components/cdk-tooltip/models/tooltip-data.d.ts +0 -6
- package/lib/components/chars-left/chars-left.component.d.ts +0 -9
- package/lib/components/chars-left/chars-left.module.d.ts +0 -8
- package/lib/components/dropdown/directives/hide-after-click.directive.d.ts +0 -9
- package/lib/components/dropdown/dropdown.component.d.ts +0 -26
- package/lib/components/dropdown/dropdown.module.d.ts +0 -10
- package/lib/components/error-message/error-message.component.d.ts +0 -10
- package/lib/components/error-message/error-message.module.d.ts +0 -8
- package/lib/components/form/checkbox/checkbox.component.d.ts +0 -46
- package/lib/components/form/checkbox/checkbox.enum.d.ts +0 -10
- package/lib/components/form/checkbox/checkbox.module.d.ts +0 -11
- package/lib/components/form/checkbox-group/checkbox-group.component.d.ts +0 -63
- package/lib/components/form/checkbox-group/checkbox-group.module.d.ts +0 -16
- package/lib/components/form/checkbox-group/components/checkbox-group-header/checkbox-group-header.component.d.ts +0 -19
- package/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.d.ts +0 -33
- package/lib/components/form/checkbox-group/helpers/change-group-value.d.ts +0 -3
- package/lib/components/form/checkbox-group/helpers/change-item-value.d.ts +0 -3
- package/lib/components/form/checkbox-group/helpers/filter-search-group.d.ts +0 -2
- package/lib/components/form/checkbox-group/helpers/get-checked-items.d.ts +0 -2
- package/lib/components/form/checkbox-group/helpers/get-inner-list.helper.d.ts +0 -2
- package/lib/components/form/checkbox-group/helpers/get-item-by-id.d.ts +0 -2
- package/lib/components/form/checkbox-group/helpers/get-sorted-list.d.ts +0 -2
- package/lib/components/form/checkbox-group/helpers/inner-list-to-list.helper.d.ts +0 -2
- package/lib/components/form/checkbox-group/models/checkbox-group.model.d.ts +0 -26
- package/lib/components/form/editor/config/default-inline-style.d.ts +0 -11
- package/lib/components/form/editor/config/index.d.ts +0 -1
- package/lib/components/form/editor/config/popups-toolbar.d.ts +0 -15
- package/lib/components/form/editor/config/toolbar.d.ts +0 -2
- package/lib/components/form/editor/editor.component.d.ts +0 -60
- package/lib/components/form/editor/editor.enum.d.ts +0 -10
- package/lib/components/form/editor/editor.module.d.ts +0 -14
- package/lib/components/form/editor/models/toolbar.model.d.ts +0 -6
- package/lib/components/form/editor/modules/change-icon-module.d.ts +0 -1
- package/lib/components/form/input-date-time/constants/value-models.d.ts +0 -3
- package/lib/components/form/input-date-time/enum/timezone.d.ts +0 -6
- package/lib/components/form/input-date-time/helpers/clean-date.d.ts +0 -1
- package/lib/components/form/input-date-time/helpers/cursor-position.d.ts +0 -1
- package/lib/components/form/input-date-time/helpers/formatting-from-models.d.ts +0 -3
- package/lib/components/form/input-date-time/helpers/formatting-moscow-timezone.d.ts +0 -2
- package/lib/components/form/input-date-time/helpers/validate-value-models.d.ts +0 -19
- package/lib/components/form/input-date-time/helpers/value-parser.d.ts +0 -4
- package/lib/components/form/input-date-time/input-date-time.component.d.ts +0 -72
- package/lib/components/form/input-date-time/input-date-time.enum.d.ts +0 -21
- package/lib/components/form/input-date-time/input-date-time.module.d.ts +0 -13
- package/lib/components/form/input-datepicker/constants/value-models.d.ts +0 -3
- package/lib/components/form/input-datepicker/helpers/clean-date.d.ts +0 -1
- package/lib/components/form/input-datepicker/helpers/cursor-position.d.ts +0 -1
- package/lib/components/form/input-datepicker/helpers/get-date-dayjs-object.d.ts +0 -3
- package/lib/components/form/input-datepicker/helpers/get-date-object.d.ts +0 -2
- package/lib/components/form/input-datepicker/helpers/validate-value-models.d.ts +0 -20
- package/lib/components/form/input-datepicker/helpers/value-parser.d.ts +0 -3
- package/lib/components/form/input-datepicker/input-datepicker.component.d.ts +0 -69
- package/lib/components/form/input-datepicker/input-datepicker.enum.d.ts +0 -12
- package/lib/components/form/input-datepicker/input-datepicker.module.d.ts +0 -13
- package/lib/components/form/input-file/enums/error-messages.enum.d.ts +0 -6
- package/lib/components/form/input-file/input-file.component.d.ts +0 -74
- package/lib/components/form/input-file/input-file.enum.d.ts +0 -7
- package/lib/components/form/input-file/input-file.module.d.ts +0 -13
- package/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.d.ts +0 -43
- package/lib/components/form/input-file-image/input-file-image.component.d.ts +0 -57
- package/lib/components/form/input-file-image/input-file-image.enum.d.ts +0 -8
- package/lib/components/form/input-file-image/input-file-image.module.d.ts +0 -15
- package/lib/components/form/input-number/input-number.component.d.ts +0 -64
- package/lib/components/form/input-number/input-number.enum.d.ts +0 -12
- package/lib/components/form/input-number/input-number.module.d.ts +0 -13
- package/lib/components/form/input-opt/components/input-opt/input-opt.component.d.ts +0 -77
- package/lib/components/form/input-opt/components/input-opt/input-opt.enum.d.ts +0 -7
- package/lib/components/form/input-opt/directives/opt-pattern.directive.d.ts +0 -8
- package/lib/components/form/input-opt/input-opt.module.d.ts +0 -11
- package/lib/components/form/input-opt/models/input-opt.model.d.ts +0 -26
- package/lib/components/form/input-opt/services/input-opt.service.d.ts +0 -11
- package/lib/components/form/input-password/input-password.component.d.ts +0 -38
- package/lib/components/form/input-password/input-password.enum.d.ts +0 -7
- package/lib/components/form/input-password/input-password.module.d.ts +0 -11
- package/lib/components/form/input-phone/data/country-code.d.ts +0 -6
- package/lib/components/form/input-phone/directives/native-element-injector.directive.d.ts +0 -11
- package/lib/components/form/input-phone/enums/country-iso.enum.d.ts +0 -245
- package/lib/components/form/input-phone/enums/input-phone.enum.d.ts +0 -11
- package/lib/components/form/input-phone/enums/mask.enum.d.ts +0 -8
- package/lib/components/form/input-phone/enums/phone-number-format.enum.d.ts +0 -4
- package/lib/components/form/input-phone/enums/search-country-field.enum.d.ts +0 -6
- package/lib/components/form/input-phone/input-phone.component.d.ts +0 -132
- package/lib/components/form/input-phone/input-phone.module.d.ts +0 -14
- package/lib/components/form/input-phone/input-phone.validator.d.ts +0 -5
- package/lib/components/form/input-phone/interfaces/change-data.d.ts +0 -9
- package/lib/components/form/input-phone/models/country.model.d.ts +0 -13
- package/lib/components/form/input-search/input-search.component.d.ts +0 -48
- package/lib/components/form/input-search/input-search.enum.d.ts +0 -6
- package/lib/components/form/input-search/input-search.module.d.ts +0 -12
- package/lib/components/form/input-select/input-select.component.d.ts +0 -95
- package/lib/components/form/input-select/input-select.enum.d.ts +0 -10
- package/lib/components/form/input-select/input-select.module.d.ts +0 -14
- package/lib/components/form/input-tel/assets/base64.d.ts +0 -3
- package/lib/components/form/input-tel/data/all-countries.d.ts +0 -1
- package/lib/components/form/input-tel/data/country-iso.enum.d.ts +0 -245
- package/lib/components/form/input-tel/data/phone-number-format.enum.d.ts +0 -5
- package/lib/components/form/input-tel/data/search-country-field.enum.d.ts +0 -6
- package/lib/components/form/input-tel/directives/input-tel.directive.d.ts +0 -21
- package/lib/components/form/input-tel/enums/input-phone.enum.d.ts +0 -11
- package/lib/components/form/input-tel/input-tel.component.d.ts +0 -89
- package/lib/components/form/input-tel/input-tel.module.d.ts +0 -13
- package/lib/components/form/input-tel/models/country.model.d.ts +0 -18
- package/lib/components/form/input-text/input-text.component.d.ts +0 -54
- package/lib/components/form/input-text/input-text.enum.d.ts +0 -19
- package/lib/components/form/input-text/input-text.module.d.ts +0 -14
- package/lib/components/form/input-textarea/input-textarea.component.d.ts +0 -54
- package/lib/components/form/input-textarea/input-textarea.enum.d.ts +0 -11
- package/lib/components/form/input-textarea/input-textarea.module.d.ts +0 -14
- package/lib/components/form/input-timepicker/constants/value-models.d.ts +0 -2
- package/lib/components/form/input-timepicker/helpers/clean-date.d.ts +0 -1
- package/lib/components/form/input-timepicker/helpers/cursor-position.d.ts +0 -1
- package/lib/components/form/input-timepicker/helpers/get-date-dayjs-object.d.ts +0 -3
- package/lib/components/form/input-timepicker/helpers/get-date-object.d.ts +0 -2
- package/lib/components/form/input-timepicker/helpers/validate-value-models.d.ts +0 -10
- package/lib/components/form/input-timepicker/helpers/value-parser.d.ts +0 -2
- package/lib/components/form/input-timepicker/input-timepicker.component.d.ts +0 -60
- package/lib/components/form/input-timepicker/input-timepicker.enum.d.ts +0 -11
- package/lib/components/form/input-timepicker/input-timepicker.module.d.ts +0 -13
- package/lib/components/form/json-editor/json-editor.component.d.ts +0 -58
- package/lib/components/form/json-editor/json-editor.enum.d.ts +0 -5
- package/lib/components/form/json-editor/json-editor.module.d.ts +0 -8
- package/lib/components/form/json-editor/utils/jsoneditoroptions.d.ts +0 -128
- package/lib/components/form/radio/radio.component.d.ts +0 -29
- package/lib/components/form/radio/radio.enum.d.ts +0 -4
- package/lib/components/form/radio/radio.module.d.ts +0 -9
- package/lib/components/form/radio-group/components/radio-group-header/radio-group-header.component.d.ts +0 -20
- package/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.d.ts +0 -28
- package/lib/components/form/radio-group/helpers/filter-search-group.d.ts +0 -2
- package/lib/components/form/radio-group/helpers/get-item-by-id.d.ts +0 -2
- package/lib/components/form/radio-group/helpers/move-selected-to-first.d.ts +0 -2
- package/lib/components/form/radio-group/models/radio-group.model.d.ts +0 -12
- package/lib/components/form/radio-group/radio-group.component.d.ts +0 -63
- package/lib/components/form/radio-group/radio-group.module.d.ts +0 -16
- package/lib/components/form/rating/rating.component.d.ts +0 -51
- package/lib/components/form/rating/rating.enum.d.ts +0 -27
- package/lib/components/form/rating/rating.module.d.ts +0 -9
- package/lib/components/form/switch/switch.component.d.ts +0 -32
- package/lib/components/form/switch/switch.enum.d.ts +0 -15
- package/lib/components/form/switch/switch.module.d.ts +0 -10
- package/lib/components/gallery/components/gallery-confirm-modal/gallery-confirm-modal.component.d.ts +0 -20
- package/lib/components/gallery/components/gallery-item/gallery-item.component.d.ts +0 -38
- package/lib/components/gallery/constants/custom-buttons-default.d.ts +0 -3
- package/lib/components/gallery/constants/thumbs-config-default.d.ts +0 -2
- package/lib/components/gallery/gallery.component.d.ts +0 -38
- package/lib/components/gallery/gallery.module.d.ts +0 -16
- package/lib/components/gallery/models/gallery-item.model.d.ts +0 -24
- package/lib/components/gallery/services/gallery.service.d.ts +0 -14
- package/lib/components/hint-error-message/hint-error-message.component.d.ts +0 -21
- package/lib/components/hint-error-message/hint-error-message.module.d.ts +0 -8
- package/lib/components/icon-button/icon-button.component.d.ts +0 -22
- package/lib/components/icon-button/icon-button.enum.d.ts +0 -16
- package/lib/components/icon-button/icon-button.module.d.ts +0 -9
- package/lib/components/label/label.component.d.ts +0 -44
- package/lib/components/label/label.module.d.ts +0 -14
- package/lib/components/link/link.component.d.ts +0 -25
- package/lib/components/link/link.enum.d.ts +0 -19
- package/lib/components/link/link.module.d.ts +0 -9
- package/lib/components/loader/loader.component.d.ts +0 -10
- package/lib/components/loader/loader.enum.d.ts +0 -19
- package/lib/components/loader/loader.module.d.ts +0 -8
- package/lib/components/modal/modal.component.d.ts +0 -36
- package/lib/components/modal/modal.emun.d.ts +0 -20
- package/lib/components/modal/modal.module.d.ts +0 -9
- package/lib/components/pages-nav/pages-nav.component.d.ts +0 -12
- package/lib/components/pages-nav/pages-nav.enum.d.ts +0 -5
- package/lib/components/pages-nav/pages-nav.module.d.ts +0 -8
- package/lib/components/paginator/paginator.component.d.ts +0 -29
- package/lib/components/paginator/paginator.enum.d.ts +0 -10
- package/lib/components/paginator/paginator.module.d.ts +0 -10
- package/lib/components/pdf-viewer/pdf-viewer.component.d.ts +0 -70
- package/lib/components/pdf-viewer/pdf-viewer.module.d.ts +0 -16
- package/lib/components/progress/progress.component.d.ts +0 -10
- package/lib/components/progress/progress.enum.d.ts +0 -7
- package/lib/components/progress/progress.module.d.ts +0 -8
- package/lib/components/save-state/components/save-state-checkbox/save-state-checkbox.component.d.ts +0 -8
- package/lib/components/save-state/components/save-state-checkbox-group/save-state-checkbox-group.component.d.ts +0 -8
- package/lib/components/save-state/components/save-state-editor/save-state-editor.component.d.ts +0 -8
- package/lib/components/save-state/components/save-state-input/save-state-input.component.d.ts +0 -8
- package/lib/components/save-state/components/save-state-switch/save-state-switch.component.d.ts +0 -8
- package/lib/components/save-state/save-state.component.d.ts +0 -13
- package/lib/components/save-state/save-state.enum.d.ts +0 -1
- package/lib/components/save-state/save-state.module.d.ts +0 -13
- package/lib/components/stepper/stepper.component.d.ts +0 -17
- package/lib/components/stepper/stepper.enum.d.ts +0 -5
- package/lib/components/stepper/stepper.module.d.ts +0 -9
- package/lib/components/table/components/column/column.component.d.ts +0 -14
- package/lib/components/table/default/default-pager-settings.d.ts +0 -2
- package/lib/components/table/models/data-state-change.event.d.ts +0 -15
- package/lib/components/table/models/index.d.ts +0 -3
- package/lib/components/table/models/pager-settings.d.ts +0 -22
- package/lib/components/table/table.component.d.ts +0 -55
- package/lib/components/table/table.enum.d.ts +0 -32
- package/lib/components/table/table.module.d.ts +0 -14
- package/lib/components/tabs/tab/tab.component.d.ts +0 -13
- package/lib/components/tabs/tabs-group/tabs-group.component.d.ts +0 -11
- package/lib/components/tabs/tabs.enum.d.ts +0 -11
- package/lib/components/tabs/tabs.module.d.ts +0 -9
- package/lib/components/tooltip/services/tooltip.service.d.ts +0 -18
- package/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.d.ts +0 -15
- package/lib/components/tooltip/tooltip-trigger/tooltip-trigger.enum.d.ts +0 -10
- package/lib/components/tooltip/tooltip.component.d.ts +0 -18
- package/lib/components/tooltip/tooltip.enum.d.ts +0 -4
- package/lib/components/tooltip/tooltip.module.d.ts +0 -10
- package/lib/components/truncate-text/directives/truncate-text.directive.d.ts +0 -37
- package/lib/components/truncate-text/truncate-text.component.d.ts +0 -12
- package/lib/components/truncate-text/truncate-text.enum.d.ts +0 -2
- package/lib/components/truncate-text/truncate-text.module.d.ts +0 -10
- package/lib/components/warning-message/warning-message.component.d.ts +0 -9
- package/lib/components/warning-message/warning-message.module.d.ts +0 -8
- package/lib/components/wrappers/content-wrapper/content-wrapper.component.d.ts +0 -10
- package/lib/components/wrappers/content-wrapper/content-wrapper.enum.d.ts +0 -5
- package/lib/components/wrappers/content-wrapper/content-wrapper.module.d.ts +0 -8
- package/lib/components/wrappers/controls-wrapper/components/controls-item/controls-item.component.d.ts +0 -6
- package/lib/components/wrappers/controls-wrapper/controls-wrapper.component.d.ts +0 -10
- package/lib/components/wrappers/controls-wrapper/controls-wrapper.enum.d.ts +0 -6
- package/lib/components/wrappers/controls-wrapper/controls-wrapper.module.d.ts +0 -9
- package/lib/components/wrappers/widget-wrapper/widget-wrapper.component.d.ts +0 -26
- package/lib/components/wrappers/widget-wrapper/widget-wrapper.enum.d.ts +0 -15
- package/lib/components/wrappers/widget-wrapper/widget-wrapper.module.d.ts +0 -8
- package/lib/directives/autosize/autosize.directive.d.ts +0 -16
- package/lib/directives/autosize/autosize.module.d.ts +0 -8
- package/lib/directives/truncate/truncate.directive.d.ts +0 -12
- package/lib/directives/truncate/truncate.module.d.ts +0 -8
- package/lib/enums/typed.input.state.d.ts +0 -6
- package/lib/helpers/extension/input-file.extension.d.ts +0 -4
- package/lib/helpers/formatting-date.d.ts +0 -9
- package/lib/helpers/formatting-dates-from-array.d.ts +0 -2
- package/lib/helpers/formatting-iso-to-string.d.ts +0 -2
- package/lib/helpers/index.d.ts +0 -7
- package/lib/helpers/number-format.d.ts +0 -6
- package/lib/helpers/string-hash-code.d.ts +0 -2
- package/lib/helpers/word-form.d.ts +0 -7
- package/lib/models/index.d.ts +0 -2
- package/lib/models/input-file/input-file.model.d.ts +0 -23
- package/lib/models/typed-input-model.d.ts +0 -16
- package/lib/pipes/currency/currency.module.d.ts +0 -8
- package/lib/pipes/currency/currency.pipe.d.ts +0 -7
- package/lib/pipes/date/date-format.module.d.ts +0 -9
- package/lib/pipes/date/date-format.pipe.d.ts +0 -9
- package/lib/pipes/date/date-time-format.pipe.d.ts +0 -9
- package/lib/pipes/date/enums/timezone.d.ts +0 -8
- package/lib/pipes/date/helpers/change-timezone.d.ts +0 -2
- package/lib/pipes/phone/phone-format.module.d.ts +0 -8
- package/lib/pipes/phone/phone-format.pipe.d.ts +0 -8
- package/lib/pipes/safe/safe.module.d.ts +0 -8
- package/lib/pipes/safe/safe.pipe.d.ts +0 -10
- package/lib/pipes/truncate/truncate.module.d.ts +0 -8
- package/lib/pipes/truncate/truncate.pipe.d.ts +0 -7
- package/lib/services/file-upload/file-upload.service.d.ts +0 -12
- package/lib/services/index.d.ts +0 -14
- package/lib/services/modal-service/components/alert-modal/alert-modal.component.d.ts +0 -19
- package/lib/services/modal-service/components/confirm-modal/confirm-modal.component.d.ts +0 -20
- package/lib/services/modal-service/helpers/index.d.ts +0 -4
- package/lib/services/modal-service/helpers/modal-default-config.d.ts +0 -3
- package/lib/services/modal-service/helpers/modal-ref.d.ts +0 -11
- package/lib/services/modal-service/helpers/modal-tokens.d.ts +0 -3
- package/lib/services/modal-service/helpers/modal.component.d.ts +0 -3
- package/lib/services/modal-service/modal-service.module.d.ts +0 -9
- package/lib/services/modal-service/modal-service.service.d.ts +0 -20
- package/lib/services/modal-service/models/modal-config.model.d.ts +0 -14
- package/lib/services/mrx-autosave/mrx-autosave.service.d.ts +0 -19
- package/lib/services/mrx-form-validator/constants/invalid-messages.d.ts +0 -9
- package/lib/services/mrx-form-validator/helpers/get-error-message.helper.d.ts +0 -3
- package/lib/services/mrx-form-validator/helpers/get-sorting-validations.helper.d.ts +0 -2
- package/lib/services/mrx-form-validator/models/index.d.ts +0 -3
- package/lib/services/mrx-form-validator/models/validations-options.model.d.ts +0 -31
- package/lib/services/mrx-form-validator/models/validations-settings.model.d.ts +0 -7
- package/lib/services/mrx-form-validator/models/validations-types.model.d.ts +0 -19
- package/lib/services/mrx-form-validator/mrx-form-validator.d.ts +0 -24
- package/lib/services/mrx-form-validator/validations/callback.validation.d.ts +0 -5
- package/lib/services/mrx-form-validator/validations/email.validation.d.ts +0 -5
- package/lib/services/mrx-form-validator/validations/max-length.validation.d.ts +0 -5
- package/lib/services/mrx-form-validator/validations/max-value.validation.d.ts +0 -5
- package/lib/services/mrx-form-validator/validations/min-length.validation.d.ts +0 -5
- package/lib/services/mrx-form-validator/validations/min-value.validation.d.ts +0 -5
- package/lib/services/mrx-form-validator/validations/pattern.validation.d.ts +0 -5
- package/lib/services/mrx-form-validator/validations/required.validation.d.ts +0 -5
- package/lib/services/save-store/constants/constants.d.ts +0 -1
- package/lib/services/save-store/models/save-store.model.d.ts +0 -4
- package/lib/services/save-store/save-store.module.d.ts +0 -9
- package/lib/services/save-store/store/actions.d.ts +0 -21
- package/lib/services/save-store/store/effect.d.ts +0 -10
- package/lib/services/save-store/store/reducer.d.ts +0 -3
- package/lib/services/save-store/store/selectors.d.ts +0 -3
- package/lib/services/save-store/store/state.d.ts +0 -11
- package/lib/services/toaster-service/components/toaster/toaster.component.d.ts +0 -12
- package/lib/services/toaster-service/models/toaster.model.d.ts +0 -12
- package/lib/services/toaster-service/toaster-service.module.d.ts +0 -10
- package/lib/services/toaster-service/toaster-service.service.d.ts +0 -15
- package/public-api.d.ts +0 -170
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
-
import { animate, state, style, transition, trigger } from '@angular/animations';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/common";
|
|
5
|
-
import * as i2 from "@angular/forms";
|
|
6
|
-
import * as i3 from "../../../checkbox/checkbox.component";
|
|
7
|
-
export class CheckboxGroupItemComponent {
|
|
8
|
-
_detector;
|
|
9
|
-
_item;
|
|
10
|
-
animationState = 'close';
|
|
11
|
-
isOpen = false;
|
|
12
|
-
displaced = false;
|
|
13
|
-
level = 0;
|
|
14
|
-
animationTrigger = null;
|
|
15
|
-
isLast;
|
|
16
|
-
disabled = false;
|
|
17
|
-
readonly = false;
|
|
18
|
-
invalid = false;
|
|
19
|
-
set item(value) {
|
|
20
|
-
this._item = value;
|
|
21
|
-
}
|
|
22
|
-
get item() {
|
|
23
|
-
return this._item;
|
|
24
|
-
}
|
|
25
|
-
animationEnd = new EventEmitter();
|
|
26
|
-
checkboxChanged = new EventEmitter();
|
|
27
|
-
constructor(_detector) {
|
|
28
|
-
this._detector = _detector;
|
|
29
|
-
}
|
|
30
|
-
get isIndeterminate() {
|
|
31
|
-
return this.item.value === null;
|
|
32
|
-
}
|
|
33
|
-
get translateChevron() {
|
|
34
|
-
return this.isOpen ? 'rotate(0deg)' : 'rotate(-90deg)';
|
|
35
|
-
}
|
|
36
|
-
toggleList(item) {
|
|
37
|
-
this.isOpen = !this.isOpen;
|
|
38
|
-
}
|
|
39
|
-
checkboxChangeModel(value, item) {
|
|
40
|
-
if (this.isIndeterminate) {
|
|
41
|
-
this.checkboxChanged.emit({ value: false, item });
|
|
42
|
-
}
|
|
43
|
-
else {
|
|
44
|
-
this.checkboxChanged.emit({ value: value, item });
|
|
45
|
-
}
|
|
46
|
-
this._detector.detectChanges();
|
|
47
|
-
}
|
|
48
|
-
ngOnChanges(changes) {
|
|
49
|
-
if (changes['item'] && (changes['item'].currentValue.value === null)) {
|
|
50
|
-
this.isOpen = true;
|
|
51
|
-
}
|
|
52
|
-
else {
|
|
53
|
-
this.isOpen = !!this.animationTrigger;
|
|
54
|
-
}
|
|
55
|
-
this._detector.detectChanges();
|
|
56
|
-
}
|
|
57
|
-
onAnimationEvent() {
|
|
58
|
-
this.animationEnd.emit();
|
|
59
|
-
}
|
|
60
|
-
trackByFn(index, item) {
|
|
61
|
-
return item.id;
|
|
62
|
-
}
|
|
63
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CheckboxGroupItemComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
64
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: CheckboxGroupItemComponent, selector: "mrx-checkbox-group-item", inputs: { displaced: "displaced", level: "level", animationTrigger: "animationTrigger", isLast: "isLast", disabled: "disabled", readonly: "readonly", invalid: "invalid", item: "item" }, outputs: { animationEnd: "animationEnd", checkboxChanged: "checkboxChanged" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"mrx-checkbox-group__item\" [class.mrx-checkbox-group__item--buttom-ident]=\"!isLast\">\r\n <div class=\"mrx-checkbox-group__item--array\" *ngIf=\"item.items?.length && level < 10; else singleCheckboxTemplate\">\r\n <div class=\"mrx-checkbox-group__item--array-head\">\r\n <div class=\"mrx-checkbox-group__item--head-icon mr-1\">\r\n <span\r\n class=\"mrx-icon icon-chevron-down icon-font-16 cursor-pointer\"\r\n (click)=\"toggleList(item)\"\r\n [style.transform]=\"translateChevron\"\r\n ></span>\r\n </div>\r\n\r\n <mrx-checkbox\r\n [ngModel]=\"item.value\"\r\n [indeterminate]=\"isIndeterminate\"\r\n (ngModelChange)=\"checkboxChangeModel($event, item)\"\r\n >{{ item.text }}</mrx-checkbox>\r\n </div>\r\n\r\n <div class=\"mrx-checkbox-group__item--array-list\" [@openList]=\"isOpen ? 'open' : 'close'\" (@openList.done)=\"onAnimationEvent()\">\r\n <ng-container>\r\n <mrx-checkbox-group-item\r\n *ngFor=\"let item of item.items; trackBy: trackByFn\"\r\n [level]=\"level + 1\"\r\n [item]=\"item\"\r\n [displaced]=\"true\"\r\n [animationTrigger]=\"animationTrigger\"\r\n [disabled]=\"disabled\"\r\n [readonly]=\"readonly\"\r\n [invalid]=\"invalid\"\r\n (checkboxChanged)=\"checkboxChanged.emit($event)\"\r\n ></mrx-checkbox-group-item>\r\n </ng-container>\r\n </div>\r\n </div>\r\n\r\n <ng-template #singleCheckboxTemplate>\r\n <div class=\"mrx-checkbox-group__item--single\" [class.item-displaced]=\"displaced\">\r\n <mrx-checkbox\r\n [ngModel]=\"item.value\"\r\n [indeterminate]=\"false\"\r\n [disabled]=\"disabled\"\r\n [readonly]=\"readonly\"\r\n [invalid]=\"invalid\"\r\n (ngModelChange)=\"checkboxChangeModel($event, item)\"\r\n >{{ item.text }}</mrx-checkbox>\r\n </div>\r\n </ng-template>\r\n</div>\r\n\r\n\r\n", styles: [".mrx-checkbox-group__item--single.item-displaced{margin-left:20px}.mrx-checkbox-group__item--array-head{display:flex;justify-content:flex-start;align-items:center}.mrx-checkbox-group__item--array-list{padding-left:20px}.mrx-checkbox-group__item--buttom-ident{margin-bottom:12px}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.CheckboxComponent, selector: "mrx-checkbox", inputs: ["fields", "required", "boldLabel", "indeterminate", "disabled", "readonly", "label", "customClasses", "customWrapperClasses", "invalid", "checkInvalid", "tooltip", "tooltipInitialVisible", "isSaveToStorage"], outputs: ["changed", "modelChange"] }, { kind: "component", type: CheckboxGroupItemComponent, selector: "mrx-checkbox-group-item", inputs: ["displaced", "level", "animationTrigger", "isLast", "disabled", "readonly", "invalid", "item"], outputs: ["animationEnd", "checkboxChanged"] }], animations: [
|
|
65
|
-
trigger('openList', [
|
|
66
|
-
state('*', style({ height: '0', opacity: '0', visibility: 'hidden', marginTop: '0', overflow: 'hidden' })),
|
|
67
|
-
state('open', style({ height: '*', opacity: '1', visibility: 'visible', marginTop: '12px' })),
|
|
68
|
-
state('close', style({ height: '0', opacity: '0', visibility: 'hidden', marginTop: '0', overflow: 'hidden' })),
|
|
69
|
-
transition('* => open', [
|
|
70
|
-
animate(200)
|
|
71
|
-
]),
|
|
72
|
-
transition('* => close', [
|
|
73
|
-
animate(200)
|
|
74
|
-
]),
|
|
75
|
-
])
|
|
76
|
-
], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
77
|
-
}
|
|
78
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CheckboxGroupItemComponent, decorators: [{
|
|
79
|
-
type: Component,
|
|
80
|
-
args: [{ selector: 'mrx-checkbox-group-item', changeDetection: ChangeDetectionStrategy.OnPush, animations: [
|
|
81
|
-
trigger('openList', [
|
|
82
|
-
state('*', style({ height: '0', opacity: '0', visibility: 'hidden', marginTop: '0', overflow: 'hidden' })),
|
|
83
|
-
state('open', style({ height: '*', opacity: '1', visibility: 'visible', marginTop: '12px' })),
|
|
84
|
-
state('close', style({ height: '0', opacity: '0', visibility: 'hidden', marginTop: '0', overflow: 'hidden' })),
|
|
85
|
-
transition('* => open', [
|
|
86
|
-
animate(200)
|
|
87
|
-
]),
|
|
88
|
-
transition('* => close', [
|
|
89
|
-
animate(200)
|
|
90
|
-
]),
|
|
91
|
-
])
|
|
92
|
-
], template: "<div class=\"mrx-checkbox-group__item\" [class.mrx-checkbox-group__item--buttom-ident]=\"!isLast\">\r\n <div class=\"mrx-checkbox-group__item--array\" *ngIf=\"item.items?.length && level < 10; else singleCheckboxTemplate\">\r\n <div class=\"mrx-checkbox-group__item--array-head\">\r\n <div class=\"mrx-checkbox-group__item--head-icon mr-1\">\r\n <span\r\n class=\"mrx-icon icon-chevron-down icon-font-16 cursor-pointer\"\r\n (click)=\"toggleList(item)\"\r\n [style.transform]=\"translateChevron\"\r\n ></span>\r\n </div>\r\n\r\n <mrx-checkbox\r\n [ngModel]=\"item.value\"\r\n [indeterminate]=\"isIndeterminate\"\r\n (ngModelChange)=\"checkboxChangeModel($event, item)\"\r\n >{{ item.text }}</mrx-checkbox>\r\n </div>\r\n\r\n <div class=\"mrx-checkbox-group__item--array-list\" [@openList]=\"isOpen ? 'open' : 'close'\" (@openList.done)=\"onAnimationEvent()\">\r\n <ng-container>\r\n <mrx-checkbox-group-item\r\n *ngFor=\"let item of item.items; trackBy: trackByFn\"\r\n [level]=\"level + 1\"\r\n [item]=\"item\"\r\n [displaced]=\"true\"\r\n [animationTrigger]=\"animationTrigger\"\r\n [disabled]=\"disabled\"\r\n [readonly]=\"readonly\"\r\n [invalid]=\"invalid\"\r\n (checkboxChanged)=\"checkboxChanged.emit($event)\"\r\n ></mrx-checkbox-group-item>\r\n </ng-container>\r\n </div>\r\n </div>\r\n\r\n <ng-template #singleCheckboxTemplate>\r\n <div class=\"mrx-checkbox-group__item--single\" [class.item-displaced]=\"displaced\">\r\n <mrx-checkbox\r\n [ngModel]=\"item.value\"\r\n [indeterminate]=\"false\"\r\n [disabled]=\"disabled\"\r\n [readonly]=\"readonly\"\r\n [invalid]=\"invalid\"\r\n (ngModelChange)=\"checkboxChangeModel($event, item)\"\r\n >{{ item.text }}</mrx-checkbox>\r\n </div>\r\n </ng-template>\r\n</div>\r\n\r\n\r\n", styles: [".mrx-checkbox-group__item--single.item-displaced{margin-left:20px}.mrx-checkbox-group__item--array-head{display:flex;justify-content:flex-start;align-items:center}.mrx-checkbox-group__item--array-list{padding-left:20px}.mrx-checkbox-group__item--buttom-ident{margin-bottom:12px}\n"] }]
|
|
93
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { displaced: [{
|
|
94
|
-
type: Input
|
|
95
|
-
}], level: [{
|
|
96
|
-
type: Input
|
|
97
|
-
}], animationTrigger: [{
|
|
98
|
-
type: Input
|
|
99
|
-
}], isLast: [{
|
|
100
|
-
type: Input
|
|
101
|
-
}], disabled: [{
|
|
102
|
-
type: Input
|
|
103
|
-
}], readonly: [{
|
|
104
|
-
type: Input
|
|
105
|
-
}], invalid: [{
|
|
106
|
-
type: Input
|
|
107
|
-
}], item: [{
|
|
108
|
-
type: Input
|
|
109
|
-
}], animationEnd: [{
|
|
110
|
-
type: Output
|
|
111
|
-
}], checkboxChanged: [{
|
|
112
|
-
type: Output
|
|
113
|
-
}] } });
|
|
114
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3gtZ3JvdXAtaXRlbS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9teXJ0YS11aS9zcmMvbGliL2NvbXBvbmVudHMvZm9ybS9jaGVja2JveC1ncm91cC9jb21wb25lbnRzL2NoZWNrYm94LWdyb3VwLWl0ZW0vY2hlY2tib3gtZ3Jvd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IH19PC9tcngtY2hlY2tib3g+XHJcbiAgICA8L2Rpdj5cclxuICA8L25nLXRlbXBsYXRlPlxyXG48L2Rpdj5cclxuXHJcblxyXG4iXX0=
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { getItemInnerById } from './get-item-by-id';
|
|
2
|
-
export const checkUnderArrayValue = (array, value) => {
|
|
3
|
-
return array.some((x) => {
|
|
4
|
-
if (x.type === 'array') {
|
|
5
|
-
return checkUnderArrayValue(x.items, value);
|
|
6
|
-
}
|
|
7
|
-
return x.value !== value;
|
|
8
|
-
});
|
|
9
|
-
};
|
|
10
|
-
export const changeGroupValue = (list, parentId, value) => {
|
|
11
|
-
if (!parentId) {
|
|
12
|
-
return;
|
|
13
|
-
}
|
|
14
|
-
const parent = getItemInnerById(list, parentId);
|
|
15
|
-
if (parent) {
|
|
16
|
-
parent.value = checkUnderArrayValue(parent.items, value) ? null : value;
|
|
17
|
-
}
|
|
18
|
-
};
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhbmdlLWdyb3VwLXZhbHVlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9jb21wb25lbnRzL2Zvcm0vY2hlY2tib3gtZ3JvdXAvaGVscGVycy9jaGFuZ2UtZ3JvdXAtdmFsdWUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sa0JBQWtCLENBQUM7QUFFcEQsTUFBTSxDQUFDLE1BQU0sb0JBQW9CLEdBQUcsQ0FBQyxLQUErQixFQUFFLEtBQWlDLEVBQVcsRUFBRTtJQUNsSCxPQUFPLEtBQUssQ0FBQyxJQUFJLENBQUMsQ0FBQyxDQUF5QixFQUFFLEVBQUU7UUFDOUMsSUFBSSxDQUFDL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Ym94SW5kZXRlcm1pbmF0ZVN0YXRlKTogYm9vbGVhbiA9PiB7XHJcbiAgcmV0dXJuIGFycmF5LnNvbWUoKHg6IENoZWNrYm94R3JvdXBJbm5lckl0ZW0pID0+IHtcclxuICAgIGlmICh4LnR5cGUgPT09ICdhcnJheScpIHtcclxuICAgICAgcmV0dXJuIGNoZWNrVW5kZXJBcnJheVZhbHVlKHguaXRlbXMsIHZhbHVlKVxyXG4gICAgfVxyXG5cclxuICAgIHJldHVybiB4LnZhbHVlICE9PSB2YWx1ZVxyXG4gIH0pXHJcbn1cclxuXHJcbmV4cG9ydCBjb25zdCBjaGFuZ2VHcm91cFZhbHVlID0gKGxpc3Q6IENoZWNrYm94R3JvdXBJbm5lckl0ZW1bXSwgcGFyZW50SWQ6IHN0cmluZyB8IG51bWJlciB8IG51bGwsIHZhbHVlOiBDaGVja2JveEluZGV0ZXJtaW5hdGVTdGF0ZSkgPT4ge1xyXG4gIGlmICghcGFyZW50SWQpIHtcclxuICAgIHJldHVyblxyXG4gIH1cclxuICBjb25zdCBwYXJlbnQgPSBnZXRJdGVtSW5uZXJCeUlkKGxpc3QsIHBhcmVudElkKVxyXG5cclxuICBpZiAocGFyZW50KSB7XHJcbiAgICBwYXJlbnQudmFsdWUgPSBjaGVja1VuZGVyQXJyYXlWYWx1ZShwYXJlbnQuaXRlbXMsIHZhbHVlKSA/IG51bGwgOiB2YWx1ZVxyXG4gIH1cclxufVxyXG4iXX0=
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export const changeItemValue = (item, value) => {
|
|
2
|
-
item.value = value;
|
|
3
|
-
if (item.type === 'array') {
|
|
4
|
-
item.items?.forEach((item) => {
|
|
5
|
-
changeItemValue(item, value);
|
|
6
|
-
});
|
|
7
|
-
}
|
|
8
|
-
return item;
|
|
9
|
-
};
|
|
10
|
-
export const changeListValue = (list, value) => {
|
|
11
|
-
list.forEach((item) => {
|
|
12
|
-
changeItemValue(item, value);
|
|
13
|
-
});
|
|
14
|
-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JbmRldGVybWluYXRlU3RhdGUgfSBmcm9tICcuLi9tb2RlbHMvY2hlY2tib3gtZ3JvdXAubW9kZWwnO1xyXG5cclxuZXhwb3J0IGNvbnN0IGNoYW5nZUl0ZW1WYWx1ZSA9IChpdGVtOiBDaGVja2JveEdyb3VwSW5uZXJJdGVtLCB2YWx1ZTogQ2hlY2tib3hJbmRldGVybWluYXRlU3RhdGUpID0+IHtcclxuICBpdGVtLnZhbHVlID0gdmFsdWVcclxuICBpZiAoaXRlbS50eXBlID09PSAnYXJyYXknKSB7XHJcbiAgICBpdGVtLml0ZW1zPy5mb3JFYWNoKChpdGVtOiBDaGVja2JveEdyb3VwSW5uZXJJdGVtKSA9PiB7XHJcbiAgICAgIGNoYW5nZUl0ZW1WYWx1ZShpdGVtLCB2YWx1ZSlcclxuICAgIH0pXHJcbiAgfVxyXG5cclxuICByZXR1cm4gaXRlbVxyXG59XHJcblxyXG5leHBvcnQgY29uc3QgY2hhbmdlTGlzdFZhbHVlID0gKGxpc3Q6IENoZWNrYm94R3JvdXBJbm5lckl0ZW1bXSwgdmFsdWU6IENoZWNrYm94SW5kZXRlcm1pbmF0ZVN0YXRlKSA9PiB7XHJcbiAgbGlzdC5mb3JFYWNoKChpdGVtOiBDaGVja2JveEdyb3VwSW5uZXJJdGVtKSA9PiB7XHJcbiAgICBjaGFuZ2VJdGVtVmFsdWUoaXRlbSwgdmFsdWUpXHJcbiAgfSlcclxufVxyXG4iXX0=
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export const filterSearchGroup = (list, searchValue) => {
|
|
2
|
-
if (!list)
|
|
3
|
-
return list;
|
|
4
|
-
const getIntersectionsFromString = (array) => {
|
|
5
|
-
const searchArray = [];
|
|
6
|
-
array.forEach((item) => {
|
|
7
|
-
if (item.text.toLowerCase().includes(searchValue.toLowerCase())) {
|
|
8
|
-
if (item.type === 'array') {
|
|
9
|
-
const newArray = getIntersectionsFromString(item.items || []);
|
|
10
|
-
searchArray.push({ ...item, items: newArray });
|
|
11
|
-
}
|
|
12
|
-
else {
|
|
13
|
-
searchArray.push(item);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
if (item.type === 'array') {
|
|
18
|
-
const newArray = getIntersectionsFromString(item.items || []);
|
|
19
|
-
newArray.length && searchArray.push({ ...item, items: newArray });
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
return searchArray;
|
|
24
|
-
};
|
|
25
|
-
return getIntersectionsFromString(list);
|
|
26
|
-
};
|
|
27
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsdGVyLXNlYXJjaC1ncm91cC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL215cnRhLXVpL3NyYy9saWIvY29tcG9uZW50cy9mb3JtL2NoZWNrYm94LWdyb3VwL2hlbHBlcnMvZmlsdGVyLXNlYXJjaC1ncm91cC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxNQUFNLENBQUMsTUFBTSxpQkFBaUIsR0FBRyxDQUFDLElBQThCLEVBQUUsV0FBcUMsRUFBRSxFQUFFO0lBQ3pHLElBQUksQ0FBQyxJQUFJO1FBQUUsT0FBTyxJQUFJLENBQUE7SUFFdEIsTUFBTSwwQkFBMEIsR0FBRyxDQUFDLEtBQStCLEVBQUUsRUFBRTtRQUNyRSxNQUFNLFdBQVcsR0FBNkIsRUFBRSxDQUFBO1FBRWhELEtBQUssQ0FBQyxPQUFPLENBQUMsQ0FBQyxJQUE0QixFQUFFLEVBQUU7WUFDN0MsSUFBSSxJQUFJLENBQUMsSUFBSSxDQUFDLFdBQVcsRUFBRSxDQUFDLFFBQVEsQ0FBQyxXQUFXLENBQUMsV0FBVyxFQUFFLENBQUMsRUFBRSxDQUFDO2dCQUNoRSxJQUFJLElBQUksQ0FBQyxJQU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NoQXJyYXkucHVzaCh7Li4uaXRlbSwgaXRlbXM6IG5ld0FycmF5fSlcclxuICAgICAgICB9XHJcbiAgICAgIH1cclxuICAgIH0pXHJcblxyXG4gICAgcmV0dXJuIHNlYXJjaEFycmF5XHJcbiAgfVxyXG5cclxuICByZXR1cm4gZ2V0SW50ZXJzZWN0aW9uc0Zyb21TdHJpbmcobGlzdClcclxufVxyXG4iXX0=
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export const getCheckedItems = (list) => {
|
|
2
|
-
if (!list)
|
|
3
|
-
return list;
|
|
4
|
-
const checkedItems = [];
|
|
5
|
-
const getCheckedItemsFromArray = (list) => {
|
|
6
|
-
list.forEach((item) => {
|
|
7
|
-
if (item.type === 'array') {
|
|
8
|
-
getCheckedItemsFromArray(item.items || []);
|
|
9
|
-
}
|
|
10
|
-
else {
|
|
11
|
-
if (item.value) {
|
|
12
|
-
checkedItems.push(item);
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
};
|
|
17
|
-
getCheckedItemsFromArray(list);
|
|
18
|
-
return checkedItems;
|
|
19
|
-
};
|
|
20
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWNoZWNrZWQtaXRlbXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9teXJ0YS11aS9zcmMvbGliL2NvbXBvbmVudHMvZm9ybS9jaGVja2JveC1ncm91cC9oZWxwZXJzL2dldC1jaGVja2VkLWl0ZW1zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE1BQU0sQ0FBQyxNQUFNLGVBQWUsR0FBRyxDQUFDLElBQThCLEVBQTRCLEVBQUU7SUFDMUYsSUFBSSxDQUFDLElBQUk7UUFBRSxPQUFPLElBQUksQ0FBQTtJQUV0QixNQUFNLFlBQVksR0FBNkIsR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jaCgoaXRlbTogQ2hlY2tib3hHcm91cElubmVySXRlbSkgPT4ge1xyXG4gICAgICBpZiAoaXRlbS50eXBlID09PSAnYXJyYXknKSB7XHJcbiAgICAgICAgZ2V0Q2hlY2tlZEl0ZW1zRnJvbUFycmF5KGl0ZW0uaXRlbXMgfHwgW10pXHJcbiAgICAgIH0gZWxzZSB7XHJcbiAgICAgICAgaWYgKGl0ZW0udmFsdWUpIHtcclxuICAgICAgICAgIGNoZWNrZWRJdGVtcy5wdXNoKGl0ZW0pXHJcbiAgICAgICAgfVxyXG4gICAgICB9XHJcbiAgICB9KVxyXG4gIH1cclxuXHJcbiAgZ2V0Q2hlY2tlZEl0ZW1zRnJvbUFycmF5KGxpc3QpXHJcblxyXG4gIHJldHVybiBjaGVja2VkSXRlbXMgYXMgQ2hlY2tib3hHcm91cElubmVySXRlbVtdXHJcbn1cclxuIl19
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
export const getInnerList = (list, checkedList) => {
|
|
2
|
-
const getItemValue = (item) => {
|
|
3
|
-
if (item.items) {
|
|
4
|
-
let value = false;
|
|
5
|
-
let count = 0;
|
|
6
|
-
item.items.forEach((i, idx, array) => {
|
|
7
|
-
if (i.items) {
|
|
8
|
-
if (value === false) {
|
|
9
|
-
value = getItemValue(i);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
else {
|
|
13
|
-
if (checkedList.find(c => c.id === i.id)) {
|
|
14
|
-
count++;
|
|
15
|
-
if (value === false) {
|
|
16
|
-
value = null;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
if (idx === array.length - 1) {
|
|
21
|
-
if (count === array.length) {
|
|
22
|
-
value = true;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
return value;
|
|
27
|
-
}
|
|
28
|
-
else {
|
|
29
|
-
return !!checkedList.find(c => c.id === item.id);
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
const getModifiedList = (items, parentId = null) => {
|
|
33
|
-
return items.map((item, idx, array) => {
|
|
34
|
-
return {
|
|
35
|
-
id: item.id,
|
|
36
|
-
text: item.text,
|
|
37
|
-
value: getItemValue(item),
|
|
38
|
-
parentId: parentId,
|
|
39
|
-
type: item.items ? 'array' : 'single',
|
|
40
|
-
items: item.items ? getModifiedList(item.items, item.id) : []
|
|
41
|
-
};
|
|
42
|
-
});
|
|
43
|
-
};
|
|
44
|
-
return getModifiedList(list);
|
|
45
|
-
};
|
|
46
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWlubmVyLWxpc3QuaGVscGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9jb21wb25lbnRzL2Zvcm0vY2hlY2tib3gtZ3JvdXAvaGVscGVycy9nZXQtaW5uZXItbGlzdC5oZWxwZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxDQUFDLE1BQU0sWUFBWSxHQUFHLENBQUMsSUFBeUIsRUFBRSxXQUFxQyxFQUE0QixFQUFFO0lBQ3pILE1BQU0sWUFBWSxHQUFHLENBQUMsSUFBdUIsRUFBa0IsRUFBRTtRQUMvRCxJQUFJLElBQUksQ0FBQyxLQUFLLEVBQUUsQ0FBQztZQUNmLElBQUksS0FBSyxHQUFtQixLQUFLLENBQUE7WUFDakMsSUFBSSxLQUFLLEdBQUcsQ0FBQyxDQUFBO1lBRWIsSUFBSSxDQUFDLEtBQUssQ0FBQyxPQUFPLENBQUMsQ0FBQyxDQUFDLEVBQUUsR0FBRyxFQUFFLEtBQUssRUFBRSxFQUFFO2dCQUNuQyxJQUFJLENBQUMsQ0FBQyxLQUFLLEVBQUUsQ0FBQztvQkFDWixJQUFJLEtBQUssS0FBSyxLQUFLLEVBQUUsQ0FBQzt3QkFDcE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xyXG5cclxuICAgICAgaXRlbS5pdGVtcy5mb3JFYWNoKChpLCBpZHgsIGFycmF5KSA9PiB7XHJcbiAgICAgICAgaWYgKGkuaXRlbXMpIHtcclxuICAgICAgICAgIGlmICh2YWx1ZSA9PT0gZmFsc2UpIHtcclxuICAgICAgICAgICAgdmFsdWUgPSBnZXRJdGVtVmFsdWUoaSlcclxuICAgICAgICAgIH1cclxuICAgICAgICB9IGVsc2Uge1xyXG4gICAgICAgICAgaWYgKGNoZWNrZWRMaXN0LmZpbmQoYyA9PiBjLmlkID09PSBpLmlkKSkge1xyXG4gICAgICAgICAgICBjb3VudCsrXHJcblxyXG4gICAgICAgICAgICBpZiAodmFsdWUgPT09IGZhbHNlKSB7XHJcbiAgICAgICAgICAgICAgdmFsdWUgPSBudWxsXHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICAgIH1cclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIGlmIChpZHggPT09IGFycmF5Lmxlbmd0aCAtIDEpIHtcclxuICAgICAgICAgIGlmIChjb3VudCA9PT0gYXJyYXkubGVuZ3RoKSB7XHJcbiAgICAgICAgICAgIHZhbHVlID0gdHJ1ZVxyXG4gICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuICAgICAgfSlcclxuXHJcbiAgICAgIHJldHVybiB2YWx1ZVxyXG4gICAgfSBlbHNlIHtcclxuICAgICAgcmV0dXJuICEhY2hlY2tlZExpc3QuZmluZChjID0+IGMuaWQgPT09IGl0ZW0uaWQpXHJcbiAgICB9XHJcbiAgfVxyXG5cclxuICBjb25zdCBnZXRNb2RpZmllZExpc3QgPSAoaXRlbXM6IENoZWNrYm94R3JvdXBJdGVtW10sIHBhcmVudElkOiBzdHJpbmcgfCBudW1iZXIgfCBudWxsID0gbnVsbCk6IENoZWNrYm94R3JvdXBJbm5lckl0ZW1bXSA9PiB7XHJcbiAgICByZXR1cm4gaXRlbXMubWFwKChpdGVtLCBpZHgsIGFycmF5KSA9PiB7XHJcbiAgICAgIHJldHVybiB7XHJcbiAgICAgICAgaWQ6IGl0ZW0uaWQsXHJcbiAgICAgICAgdGV4dDogaXRlbS50ZXh0LFxyXG4gICAgICAgIHZhbHVlOiBnZXRJdGVtVmFsdWUoaXRlbSksXHJcbiAgICAgICAgcGFyZW50SWQ6IHBhcmVudElkLFxyXG4gICAgICAgIHR5cGU6IGl0ZW0uaXRlbXMgPyAnYXJyYXknIDogJ3NpbmdsZScsXHJcbiAgICAgICAgaXRlbXM6IGl0ZW0uaXRlbXMgPyBnZXRNb2RpZmllZExpc3QoaXRlbS5pdGVtcywgaXRlbS5pZCkgOiBbXVxyXG4gICAgICB9XHJcbiAgICB9KVxyXG4gIH1cclxuXHJcbiAgcmV0dXJuIGdldE1vZGlmaWVkTGlzdChsaXN0KVxyXG59XHJcbiJdfQ==
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export const getItemInnerById = (list, itemId) => {
|
|
2
|
-
const findById = (acc, el) => {
|
|
3
|
-
if (el?.id === itemId)
|
|
4
|
-
return el;
|
|
5
|
-
if (el?.items)
|
|
6
|
-
return el.items.reduce(findById, acc);
|
|
7
|
-
return acc;
|
|
8
|
-
};
|
|
9
|
-
return list.reduce(findById, null);
|
|
10
|
-
};
|
|
11
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWl0ZW0tYnktaWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9teXJ0YS11aS9zcmMvbGliL2NvbXBvbmVudHMvZm9ybS9jaGVja2JveC1ncm91cC9oZWxwZXJzL2dldC1pdGVtLWJ5LWlkLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE1BQU0sQ0FBQyxNQUFNLGdCQUFnQixHQUFHLENBQUMsSUFBOEIsRUFBRSxNQUE4QixFQUFFLEVBQUU7SUFDakcsTUFBTSxRQUFRLEdB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5SWQsIG51bGwpO1xyXG59XHJcbiJdfQ==
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
export const getSortedList = (list, sortable) => {
|
|
2
|
-
if (!list || !sortable)
|
|
3
|
-
return list;
|
|
4
|
-
const sortedFunc = (prev, next) => {
|
|
5
|
-
if (prev.value === null) {
|
|
6
|
-
if (next.value === null) {
|
|
7
|
-
return 0;
|
|
8
|
-
}
|
|
9
|
-
else if (next.value) {
|
|
10
|
-
return 1;
|
|
11
|
-
}
|
|
12
|
-
else {
|
|
13
|
-
return -1;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
else if (prev.value) {
|
|
17
|
-
if (next.value === null || !next.value) {
|
|
18
|
-
return -1;
|
|
19
|
-
}
|
|
20
|
-
else {
|
|
21
|
-
return 0;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
else {
|
|
25
|
-
if (next.value === null || next.value) {
|
|
26
|
-
return 1;
|
|
27
|
-
}
|
|
28
|
-
else {
|
|
29
|
-
if (prev.text < next.text) {
|
|
30
|
-
return -1;
|
|
31
|
-
}
|
|
32
|
-
if (prev.text > next.text) {
|
|
33
|
-
return 1;
|
|
34
|
-
}
|
|
35
|
-
return 0;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
};
|
|
39
|
-
const getSortedListInner = (list) => {
|
|
40
|
-
const sortedList = list.sort(sortedFunc);
|
|
41
|
-
sortedList.forEach((item) => {
|
|
42
|
-
if (item.type === 'array') {
|
|
43
|
-
getSortedListInner(item.items);
|
|
44
|
-
}
|
|
45
|
-
});
|
|
46
|
-
return sortedList;
|
|
47
|
-
};
|
|
48
|
-
return getSortedListInner(list);
|
|
49
|
-
};
|
|
50
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LXNvcnRlZC1saXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4v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JJdGVtW10sIHNvcnRhYmxlOiBib29sZWFuKTogQ2hlY2tib3hHcm91cElubmVySXRlbVtdID0+IHtcclxuICBpZiAoIWxpc3QgfHwgIXNvcnRhYmxlKSByZXR1cm4gbGlzdFxyXG5cclxuICBjb25zdCBzb3J0ZWRGdW5jID0gKHByZXY6IENoZWNrYm94R3JvdXBJbm5lckl0ZW0sIG5leHQ6IENoZWNrYm94R3JvdXBJbm5lckl0ZW0pID0+IHtcclxuICAgIGlmIChwcmV2LnZhbHVlID09PSBudWxsKSB7XHJcbiAgICAgIGlmIChuZXh0LnZhbHVlID09PSBudWxsKSB7XHJcbiAgICAgICAgcmV0dXJuIDBcclxuICAgICAgfSBlbHNlIGlmIChuZXh0LnZhbHVlKSB7XHJcbiAgICAgICAgcmV0dXJuIDFcclxuICAgICAgfSBlbHNlIHtcclxuICAgICAgICByZXR1cm4gLTFcclxuICAgICAgfVxyXG4gICAgfSBlbHNlIGlmIChwcmV2LnZhbHVlKSB7XHJcbiAgICAgIGlmIChuZXh0LnZhbHVlID09PSBudWxsIHx8ICFuZXh0LnZhbHVlKSB7XHJcbiAgICAgICAgcmV0dXJuIC0xXHJcbiAgICAgIH0gZWxzZSB7XHJcbiAgICAgICAgcmV0dXJuIDBcclxuICAgICAgfVxyXG4gICAgfSBlbHNlIHtcclxuICAgICAgaWYgKG5leHQudmFsdWUgPT09IG51bGwgfHwgbmV4dC52YWx1ZSkge1xyXG4gICAgICAgIHJldHVybiAxXHJcbiAgICAgIH0gZWxzZSB7XHJcbiAgICAgICAgaWYgKHByZXYudGV4dCA8IG5leHQudGV4dCkge3JldHVybiAtMTt9XHJcbiAgICAgICAgaWYgKHByZXYudGV4dCA+IG5leHQudGV4dCkge3JldHVybiAxO31cclxuICAgICAgICByZXR1cm4gMFxyXG4gICAgICB9XHJcbiAgICB9XHJcbiAgfVxyXG5cclxuICBjb25zdCBnZXRTb3J0ZWRMaXN0SW5uZXIgPSAobGlzdDogQ2hlY2tib3hHcm91cElubmVySXRlbVtdKSA9PiB7XHJcbiAgICBjb25zdCBzb3J0ZWRMaXN0ID0gbGlzdC5zb3J0KHNvcnRlZEZ1bmMpXHJcblxyXG4gICAgc29ydGVkTGlzdC5mb3JFYWNoKChpdGVtOiBDaGVja2JveEdyb3VwSW5uZXJJdGVtKSA9PiB7XHJcbiAgICAgIGlmIChpdGVtLnR5cGUgPT09ICdhcnJheScpIHtcclxuICAgICAgICBnZXRTb3J0ZWRMaXN0SW5uZXIoaXRlbS5pdGVtcylcclxuICAgICAgfVxyXG4gICAgfSlcclxuXHJcbiAgICByZXR1cm4gc29ydGVkTGlzdFxyXG4gIH1cclxuXHJcbiAgcmV0dXJuIGdldFNvcnRlZExpc3RJbm5lcihsaXN0KVxyXG59XHJcbiJdfQ==
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export const innerListToList = (innerList) => {
|
|
2
|
-
const getModifiedList = (items) => {
|
|
3
|
-
return items.map((item, idx, array) => {
|
|
4
|
-
return {
|
|
5
|
-
id: item.id,
|
|
6
|
-
text: item.text,
|
|
7
|
-
items: item.items ? getModifiedList(item.items) : []
|
|
8
|
-
};
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
return getModifiedList(innerList);
|
|
12
|
-
};
|
|
13
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5uZXItbGlzdC10by1saXN0LmhlbHBlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL215cnRhLXVpL3NyYy9saWIvY29tcG9uZW50cy9mb3JtL2NoZWNrYm94LWdyb3VwL2hlbHBlcnMvaW5uZXItbGlzdC10by1saXN0LmhlbHBlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxNQUFNLENBQUMsTUFBTSxlQUFlLEdBQUcsQ0FBQyxTQUFtQyxFQUF1QixFQUFFO0lBQzFG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ZVN0YXRlID0gYm9vbGVhbiB8IG51bGxcclxuXHJcbmV4cG9ydCB0eXBlIENoZWNrYm94R3JvdXBTZWFyY2hWYWx1ZSA9IHN0cmluZ1xyXG5cclxuZXhwb3J0IHR5cGUgQW5pbWF0ZUNoZWNrYm94R3JvdXBTdGF0ZSA9ICdvcGVuJyB8ICdjbG9zZScgfCAnc3VzdGFpbidcclxuXHJcbmV4cG9ydCBpbnRlcmZhY2UgQ2hlY2tib3hHcm91cFZhbHVlV2l0aElkIHtcclxuICB2YWx1ZTogQ2hlY2tib3hHcm91cEl0ZW1bXSxcclxuICBmdWxsOiBDaGVja2JveEdyb3VwSXRlbVtdLFxyXG4gIGlkOiBzdHJpbmdcclxufVxyXG5cclxuZXhwb3J0IGludGVyZmFjZSBDaGVja2JveEdyb3VwVmFsdWVJbm5lcldpdGhJZCB7XHJcbiAgdmFsdWU6IENoZWNrYm94R3JvdXBJbm5lckl0ZW1bXSxcclxuICBmdWxsOiBDaGVja2JveEdyb3VwSW5uZXJJdGVtW10sXHJcbiAgaWQ6IHN0cmluZ1xyXG59XHJcbiJdfQ==
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export const defaultInlineStyleConstant = {
|
|
2
|
-
table: { style: 'border:1px solid #C5C6C8FF;border-collapse:collapse;width: 100%;' },
|
|
3
|
-
tr: { style: ' border: 1px solid #C5C6C8FF;' },
|
|
4
|
-
td: { style: ' border: 1px solid #C5C6C8FF;' }
|
|
5
|
-
};
|
|
6
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmYXVsdC1pbmxpbmUtc3R5bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9teXJ0YS11aS9zcmMvbGliL2NvbXBvbmVudHMvZm9ybS9lZGl0b3IvY29uZmlnL2RlZmF1bHQtaW5saW5lLXN0eWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBQyxNQUFNLDBCQUEwQixHQUFHO0lBQ3hDLEtBQUssRUFBRSxFQUFFLEtBQUssRUFBRSxrRUFBa0UsRUFBRTtJQUNwRixFQUFFLEVBQUUsRUFBRSxLQUFLLEVBQUUsK0JBQStCLEVBQUU7SUFDOUMsRUFBRSxFQUFFLEVBQUUsS0FBSyxFQUFFLCtCQUErQixFQUFDO0NBQzlDLENBQUEiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgY29uc3QgZGVmYXVsdElubGluZVN0eWxlQ29uc3RhbnQgPSB7XHJcbiAgdGFibGU6IHsgc3R5bGU6ICdib3JkZXI6MXB4IHNvbGlkICNDNUM2QzhGRjtib3JkZXItY29sbGFwc2U6Y29sbGFwc2U7d2lkdGg6IDEwMCU7JyB9LFxyXG4gIHRyOiB7IHN0eWxlOiAnIGJvcmRlcjogMXB4IHNvbGlkICNDNUM2QzhGRjsnIH0sXHJcbiAgdGQ6IHsgc3R5bGU6ICcgYm9yZGVyOiAxcHggc29saWQgI0M1QzZDOEZGOyd9XHJcbn1cclxuIl19
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './toolbar';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9teXJ0YS11aS9zcmMvbGliL2NvbXBvbmVudHMvZm9ybS9lZGl0b3IvY29uZmlnL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsV0FBVyxDQUFBIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi90b29sYmFyJ1xyXG4iXX0=
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export const popupToolbars = {
|
|
2
|
-
img: [
|
|
3
|
-
{ name: 'delete', icon: 'bin' },
|
|
4
|
-
{ name: 'left', list: ['left', 'right', 'center', 'justify'] },
|
|
5
|
-
{ name: 'nullable' },
|
|
6
|
-
{ name: 'nullable' }
|
|
7
|
-
]
|
|
8
|
-
};
|
|
9
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG9wdXBzLXRvb2xiYXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9teXJ0YS11aS9zcmMvbGliL2NvbXBvbmVudHMvZm9ybS9lZGl0b3IvY29uZmlnL3BvcHVwcy10b29sYmFyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBQyxNQUFNLGFBQWEsR0FBRztJQUMzQixHQUFHLEVBQUU7UUFDSCxFQUFFLElBQUksRUFBRSxRQUFRLEVBQUUsSUFBSSxFQUFFLEtBQUssRUFBRTtRQUMvQixFQUFFLElBQUksRUFBRSxNQUFNLEVBQUUsSUFBSSxFQUFFLENBQUMsTUFBTSxFQUFFLE9BQU8sRUFBRSxRQUFRLEVBQUUsU0FBUyxDQUFDLEVBQUU7UUFDOUQsRUFBQyxJQUFJLEVBQUUsVUFBVSxFQUFDO1FBQ2xCLEVBQUMsSUFBSSxFQUFFLFVBQVUsRUFBQztLQUNuQjtDQUNGLENBQUEiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgY29uc3QgcG9wdXBUb29sYmFycyA9IHtcclxuICBpbWc6IFtcclxuICAgIHsgbmFtZTogJ2RlbGV0ZScsIGljb246ICdiaW4nIH0sXHJcbiAgICB7IG5hbWU6ICdsZWZ0JywgbGlzdDogWydsZWZ0JywgJ3JpZ2h0JywgJ2NlbnRlcicsICdqdXN0aWZ5J10gfSxcclxuICAgIHtuYW1lOiAnbnVsbGFibGUnfSxcclxuICAgIHtuYW1lOiAnbnVsbGFibGUnfVxyXG4gIF1cclxufVxyXG5cclxuIl19
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
export const defaultToolbar = {
|
|
2
|
-
buttons: [
|
|
3
|
-
'paragraph',
|
|
4
|
-
'|',
|
|
5
|
-
'font',
|
|
6
|
-
'fontsize',
|
|
7
|
-
'brush',
|
|
8
|
-
'|',
|
|
9
|
-
'bold',
|
|
10
|
-
'italic',
|
|
11
|
-
'underline',
|
|
12
|
-
'strikethrough',
|
|
13
|
-
'|',
|
|
14
|
-
{
|
|
15
|
-
name: 'left',
|
|
16
|
-
list: ['left', 'right', 'center', 'justify'],
|
|
17
|
-
},
|
|
18
|
-
'|',
|
|
19
|
-
'lineHeight',
|
|
20
|
-
'indent',
|
|
21
|
-
'outdent',
|
|
22
|
-
'|',
|
|
23
|
-
{
|
|
24
|
-
name: 'ul',
|
|
25
|
-
list: ''
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
name: 'ol',
|
|
29
|
-
list: ''
|
|
30
|
-
},
|
|
31
|
-
'|',
|
|
32
|
-
'link',
|
|
33
|
-
{
|
|
34
|
-
name: 'image',
|
|
35
|
-
css: {
|
|
36
|
-
display: 'flex'
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
'table',
|
|
40
|
-
'video',
|
|
41
|
-
'source',
|
|
42
|
-
'|',
|
|
43
|
-
'find',
|
|
44
|
-
'undo',
|
|
45
|
-
'redo',
|
|
46
|
-
],
|
|
47
|
-
// buttonsMD: [
|
|
48
|
-
// 'paragraph',
|
|
49
|
-
// '|',
|
|
50
|
-
// 'font',
|
|
51
|
-
// 'fontsize',
|
|
52
|
-
// 'brush',
|
|
53
|
-
// 'dots'
|
|
54
|
-
// ],
|
|
55
|
-
// buttonsSM: [
|
|
56
|
-
// 'paragraph',
|
|
57
|
-
// '|',
|
|
58
|
-
// 'font',
|
|
59
|
-
// 'fontsize',
|
|
60
|
-
// 'brush',
|
|
61
|
-
// 'dots'
|
|
62
|
-
// ],
|
|
63
|
-
// buttonsXS: [
|
|
64
|
-
// 'paragraph',
|
|
65
|
-
// '|',
|
|
66
|
-
// 'font',
|
|
67
|
-
// 'fontsize',
|
|
68
|
-
// 'brush',
|
|
69
|
-
// 'dots'
|
|
70
|
-
// ]
|
|
71
|
-
};
|
|
72
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbGJhci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL215cnRhLXVpL3NyYy9saWIvY29tcG9uZW50cy9mb3JtL2VkaXRvci9jb25maWcvdG9vbGJhci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxNQUFNLENBQUMsTUFBTSxjQUFjLEdBQWtCO0lBQzNDLE9BQU8sRUFBRTtRQUNQLFdBQVc7UUFDWCxHQUFHO1FBQ0gsTUFBTTtRQUNOLFVBQVU7UUFDVixPQUFPO1FBQ1AsR0FBRztRQUNILE1BQU07UUFDTixRQUFRO1FBQ1IsV0FBVztRQUNYLGVBQWU7UUFDZixHQUFHO1FBQ0g7WUFDRSxJQUFJLEVBQUUsTUFBTTtZQUNaLElBQUksRUFBRSxDQUFDLE1BQU0sRUFBRSxPQUFPLEVBQUUsUUFBUSxFQUFFLFNBQVMsQ0FBQztTQUM3QztRQUNELEdBQUc7UUFDSCxZQUFZO1FBQ1osUUFBUTtRQUNSLFNBQVM7UUFDVCxHQUFHO1FBQ0g7WUFDRSxJQUFJLEVBQUUsSUFBSTtZQUNWLElBQUksRUFBRSxFQUFFO1NBQ1Q7UUFDRDtZQUNFLElBQUksRUFBRSxJQUFJO1lBQ1YsSUFBSSxFQUFFLEVBQUU7U0FDVDtRQUNELEdBQUc7UUFDSCxNQUFNO1FBQ047WUFDRSxJQUFJLEVBQUUsT0FBTztZQUNiLEdBQUcsRUFBRTtnQkFDSCxPQUFPL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