myrta-ui 1.1.77 → 1.1.79
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/README.md +18 -18
- package/esm2020/lib/components/alert/alert.component.mjs +3 -3
- package/esm2020/lib/components/alert/alert.enum.mjs +1 -1
- package/esm2020/lib/components/alert/alert.module.mjs +1 -1
- package/esm2020/lib/components/badges/badge.enum.mjs +1 -1
- package/esm2020/lib/components/badges/badges.module.mjs +1 -1
- package/esm2020/lib/components/badges/components/badge/badge.component.mjs +3 -3
- package/esm2020/lib/components/badges/components/badge-group/badge-group.component.mjs +3 -3
- package/esm2020/lib/components/breadcrumbs/breadcrumbs.component.mjs +3 -3
- package/esm2020/lib/components/breadcrumbs/breadcrumbs.enum.mjs +1 -1
- package/esm2020/lib/components/breadcrumbs/breadcrumbs.module.mjs +1 -1
- package/esm2020/lib/components/button/button.component.mjs +17 -4
- package/esm2020/lib/components/button/button.enum.mjs +1 -1
- package/esm2020/lib/components/button/button.module.mjs +5 -4
- package/esm2020/lib/components/cdk-tooltip/cdk-tooltip/tooltip-container.component.mjs +3 -3
- package/esm2020/lib/components/cdk-tooltip/cdk-tooltip.directive.mjs +1 -1
- package/esm2020/lib/components/cdk-tooltip/cdk-tooltip.module.mjs +1 -1
- package/esm2020/lib/components/cdk-tooltip/constants/index.mjs +1 -1
- package/esm2020/lib/components/cdk-tooltip/models/tooltip-data.mjs +1 -1
- package/esm2020/lib/components/chars-left/chars-left.component.mjs +3 -3
- package/esm2020/lib/components/chars-left/chars-left.module.mjs +1 -1
- package/esm2020/lib/components/context-menu/components/context-menu/context-menu.component.mjs +16 -16
- package/esm2020/lib/components/context-menu/components/context-menu-content/context-menu-content.component.mjs +120 -120
- package/esm2020/lib/components/context-menu/context-menu.module.mjs +1 -1
- package/esm2020/lib/components/context-menu/context-menu.options.mjs +1 -1
- package/esm2020/lib/components/context-menu/context-menu.tokens.mjs +1 -1
- package/esm2020/lib/components/context-menu/directives/context-menu/context-menu.directive.mjs +1 -1
- package/esm2020/lib/components/context-menu/directives/context-menu-item/context-menu-item.directive.mjs +1 -1
- package/esm2020/lib/components/context-menu/models/context-menu.enum.mjs +1 -1
- package/esm2020/lib/components/context-menu/services/context-menu/context-menu-fixed.service.mjs +1 -1
- package/esm2020/lib/components/context-menu/services/context-menu/context-menu.service.mjs +1 -1
- package/esm2020/lib/components/dropdown/directives/hide-after-click.directive.mjs +1 -1
- package/esm2020/lib/components/dropdown/dropdown.component.mjs +3 -3
- package/esm2020/lib/components/dropdown/dropdown.module.mjs +1 -1
- package/esm2020/lib/components/error-message/error-message.component.mjs +3 -3
- package/esm2020/lib/components/error-message/error-message.module.mjs +1 -1
- package/esm2020/lib/components/form/checkbox/checkbox.component.mjs +3 -3
- package/esm2020/lib/components/form/checkbox/checkbox.enum.mjs +1 -1
- package/esm2020/lib/components/form/checkbox/checkbox.module.mjs +1 -1
- package/esm2020/lib/components/form/checkbox-group/checkbox-group.component.mjs +3 -3
- package/esm2020/lib/components/form/checkbox-group/checkbox-group.module.mjs +1 -1
- package/esm2020/lib/components/form/checkbox-group/components/checkbox-group-header/checkbox-group-header.component.mjs +3 -3
- package/esm2020/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.mjs +3 -3
- package/esm2020/lib/components/form/checkbox-group/helpers/change-group-value.mjs +1 -1
- package/esm2020/lib/components/form/checkbox-group/helpers/change-item-value.mjs +1 -1
- package/esm2020/lib/components/form/checkbox-group/helpers/filter-search-group.mjs +1 -1
- package/esm2020/lib/components/form/checkbox-group/helpers/get-checked-items.mjs +1 -1
- package/esm2020/lib/components/form/checkbox-group/helpers/get-inner-list.helper.mjs +1 -1
- package/esm2020/lib/components/form/checkbox-group/helpers/get-item-by-id.mjs +1 -1
- package/esm2020/lib/components/form/checkbox-group/helpers/get-sorted-list.mjs +1 -1
- package/esm2020/lib/components/form/checkbox-group/models/checkbox-group.model.mjs +1 -1
- package/esm2020/lib/components/form/document-editor/components/document-editor-preview-modal/document-editor-preview-modal.component.mjs +3 -3
- package/esm2020/lib/components/form/document-editor/document-editor.component.mjs +3 -3
- package/esm2020/lib/components/form/document-editor/document-editor.module.mjs +1 -1
- package/esm2020/lib/components/form/document-editor/helpers/transform-sysname.mjs +1 -1
- package/esm2020/lib/components/form/document-editor/models/document-editor-short-codes.enum.mjs +1 -1
- package/esm2020/lib/components/form/editor/config/default-inline-style.mjs +1 -1
- package/esm2020/lib/components/form/editor/config/index.mjs +1 -1
- package/esm2020/lib/components/form/editor/config/popups-toolbar.mjs +1 -1
- package/esm2020/lib/components/form/editor/config/toolbar.mjs +1 -1
- package/esm2020/lib/components/form/editor/editor.component.mjs +71 -3
- package/esm2020/lib/components/form/editor/editor.enum.mjs +1 -1
- package/esm2020/lib/components/form/editor/editor.module.mjs +1 -1
- package/esm2020/lib/components/form/editor/models/toolbar.model.mjs +1 -1
- package/esm2020/lib/components/form/editor/modules/change-icon-module.mjs +1 -1
- package/esm2020/lib/components/form/formula-editor/enums/error-messages.enum.mjs +1 -1
- package/esm2020/lib/components/form/formula-editor/enums/formula-editor-size.enum.mjs +1 -1
- package/esm2020/lib/components/form/formula-editor/formula-editor.component.mjs +3 -3
- package/esm2020/lib/components/form/formula-editor/formula-editor.module.mjs +1 -1
- package/esm2020/lib/components/form/formula-editor/helpers/check-errors.helper.mjs +1 -1
- package/esm2020/lib/components/form/formula-editor/helpers/create-tags.helper.mjs +1 -1
- package/esm2020/lib/components/form/formula-editor/models/check-error-result.model.mjs +1 -1
- package/esm2020/lib/components/form/formula-editor/models/formula-editor.model.mjs +1 -1
- package/esm2020/lib/components/form/formula-editor/models/index.mjs +1 -1
- package/esm2020/lib/components/form/formula-editor/models/white-list-item.model.mjs +1 -1
- package/esm2020/lib/components/form/input-date-time/constants/value-models.mjs +1 -1
- package/esm2020/lib/components/form/input-date-time/enum/timezone.mjs +1 -1
- package/esm2020/lib/components/form/input-date-time/helpers/clean-date.mjs +1 -1
- package/esm2020/lib/components/form/input-date-time/helpers/cursor-position.mjs +1 -1
- package/esm2020/lib/components/form/input-date-time/helpers/formatting-from-models.mjs +1 -1
- package/esm2020/lib/components/form/input-date-time/helpers/formatting-moscow-timezone.mjs +1 -1
- package/esm2020/lib/components/form/input-date-time/helpers/validate-value-models.mjs +1 -1
- package/esm2020/lib/components/form/input-date-time/helpers/value-parser.mjs +1 -1
- package/esm2020/lib/components/form/input-date-time/input-date-time.component.mjs +3 -3
- package/esm2020/lib/components/form/input-date-time/input-date-time.enum.mjs +1 -1
- package/esm2020/lib/components/form/input-date-time/input-date-time.module.mjs +1 -1
- package/esm2020/lib/components/form/input-date-time/models/input-date-time.model.mjs +1 -1
- package/esm2020/lib/components/form/input-datepicker/constants/value-models.mjs +1 -1
- package/esm2020/lib/components/form/input-datepicker/helpers/clean-date.mjs +1 -1
- package/esm2020/lib/components/form/input-datepicker/helpers/cursor-position.mjs +1 -1
- package/esm2020/lib/components/form/input-datepicker/helpers/get-date-dayjs-object.mjs +1 -1
- package/esm2020/lib/components/form/input-datepicker/helpers/get-date-object.mjs +1 -1
- package/esm2020/lib/components/form/input-datepicker/helpers/validate-value-models.mjs +1 -1
- package/esm2020/lib/components/form/input-datepicker/helpers/value-parser.mjs +1 -1
- package/esm2020/lib/components/form/input-datepicker/input-datepicker.component.mjs +3 -3
- package/esm2020/lib/components/form/input-datepicker/input-datepicker.enum.mjs +1 -1
- package/esm2020/lib/components/form/input-datepicker/input-datepicker.module.mjs +1 -1
- package/esm2020/lib/components/form/input-datepicker/models/input-datepicker.model.mjs +1 -1
- package/esm2020/lib/components/form/input-file/enums/error-messages.enum.mjs +1 -1
- package/esm2020/lib/components/form/input-file/input-file.component.mjs +3 -3
- package/esm2020/lib/components/form/input-file/input-file.enum.mjs +1 -1
- package/esm2020/lib/components/form/input-file/input-file.module.mjs +1 -1
- package/esm2020/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.mjs +3 -3
- package/esm2020/lib/components/form/input-file-image/input-file-image.component.mjs +3 -3
- package/esm2020/lib/components/form/input-file-image/input-file-image.enum.mjs +1 -1
- package/esm2020/lib/components/form/input-file-image/input-file-image.module.mjs +1 -1
- package/esm2020/lib/components/form/input-number/input-number.component.mjs +3 -3
- package/esm2020/lib/components/form/input-number/input-number.enum.mjs +1 -1
- package/esm2020/lib/components/form/input-number/input-number.module.mjs +1 -1
- package/esm2020/lib/components/form/input-opt/components/input-opt/input-opt.component.mjs +3 -3
- package/esm2020/lib/components/form/input-opt/components/input-opt/input-opt.enum.mjs +1 -1
- package/esm2020/lib/components/form/input-opt/directives/opt-pattern.directive.mjs +1 -1
- package/esm2020/lib/components/form/input-opt/input-opt.module.mjs +1 -1
- package/esm2020/lib/components/form/input-opt/models/input-opt.model.mjs +1 -1
- package/esm2020/lib/components/form/input-opt/services/input-opt.service.mjs +1 -1
- package/esm2020/lib/components/form/input-password/input-password.component.mjs +3 -3
- package/esm2020/lib/components/form/input-password/input-password.enum.mjs +1 -1
- package/esm2020/lib/components/form/input-password/input-password.module.mjs +1 -1
- package/esm2020/lib/components/form/input-phone/data/country-code.mjs +1 -1
- package/esm2020/lib/components/form/input-phone/directives/native-element-injector.directive.mjs +1 -1
- package/esm2020/lib/components/form/input-phone/enums/country-iso.enum.mjs +1 -1
- package/esm2020/lib/components/form/input-phone/enums/input-phone.enum.mjs +1 -1
- package/esm2020/lib/components/form/input-phone/enums/mask.enum.mjs +1 -1
- package/esm2020/lib/components/form/input-phone/enums/phone-number-format.enum.mjs +1 -1
- package/esm2020/lib/components/form/input-phone/enums/search-country-field.enum.mjs +1 -1
- package/esm2020/lib/components/form/input-phone/input-phone.component.mjs +3 -3
- package/esm2020/lib/components/form/input-phone/input-phone.module.mjs +1 -1
- package/esm2020/lib/components/form/input-phone/input-phone.validator.mjs +1 -1
- package/esm2020/lib/components/form/input-phone/interfaces/change-data.mjs +1 -1
- package/esm2020/lib/components/form/input-phone/models/country.model.mjs +1 -1
- package/esm2020/lib/components/form/input-search/input-search.component.mjs +3 -3
- package/esm2020/lib/components/form/input-search/input-search.enum.mjs +1 -1
- package/esm2020/lib/components/form/input-search/input-search.module.mjs +1 -1
- package/esm2020/lib/components/form/input-select/input-select.component.mjs +3 -3
- package/esm2020/lib/components/form/input-select/input-select.enum.mjs +1 -1
- package/esm2020/lib/components/form/input-select/input-select.module.mjs +1 -1
- package/esm2020/lib/components/form/input-tel/assets/base64.mjs +1 -1
- package/esm2020/lib/components/form/input-tel/data/all-countries.mjs +1 -1
- package/esm2020/lib/components/form/input-tel/data/countries-rus-label.enum.mjs +1 -1
- package/esm2020/lib/components/form/input-tel/data/country-iso.enum.mjs +1 -1
- package/esm2020/lib/components/form/input-tel/data/phone-number-format.enum.mjs +1 -1
- package/esm2020/lib/components/form/input-tel/data/search-country-field.enum.mjs +1 -1
- package/esm2020/lib/components/form/input-tel/directives/input-tel.directive.mjs +1 -1
- package/esm2020/lib/components/form/input-tel/enums/input-phone.enum.mjs +1 -1
- package/esm2020/lib/components/form/input-tel/input-tel.component.mjs +3 -3
- package/esm2020/lib/components/form/input-tel/input-tel.module.mjs +1 -1
- package/esm2020/lib/components/form/input-tel/models/country.model.mjs +1 -1
- package/esm2020/lib/components/form/input-text/input-text.component.mjs +3 -3
- package/esm2020/lib/components/form/input-text/input-text.enum.mjs +1 -1
- package/esm2020/lib/components/form/input-text/input-text.module.mjs +1 -1
- package/esm2020/lib/components/form/input-textarea/input-textarea.component.mjs +3 -3
- package/esm2020/lib/components/form/input-textarea/input-textarea.enum.mjs +1 -1
- package/esm2020/lib/components/form/input-textarea/input-textarea.module.mjs +1 -1
- package/esm2020/lib/components/form/input-timepicker/constants/value-models.mjs +1 -1
- package/esm2020/lib/components/form/input-timepicker/helpers/clean-date.mjs +1 -1
- package/esm2020/lib/components/form/input-timepicker/helpers/cursor-position.mjs +1 -1
- package/esm2020/lib/components/form/input-timepicker/helpers/get-date-dayjs-object.mjs +1 -1
- package/esm2020/lib/components/form/input-timepicker/helpers/get-date-object.mjs +1 -1
- package/esm2020/lib/components/form/input-timepicker/helpers/validate-value-models.mjs +1 -1
- package/esm2020/lib/components/form/input-timepicker/helpers/value-parser.mjs +1 -1
- package/esm2020/lib/components/form/input-timepicker/input-timepicker.component.mjs +3 -3
- package/esm2020/lib/components/form/input-timepicker/input-timepicker.enum.mjs +1 -1
- package/esm2020/lib/components/form/input-timepicker/input-timepicker.module.mjs +1 -1
- package/esm2020/lib/components/form/json-editor/json-editor.component.mjs +222 -0
- package/esm2020/lib/components/form/json-editor/json-editor.enum.mjs +2 -0
- package/esm2020/lib/components/form/json-editor/json-editor.module.mjs +26 -0
- package/esm2020/lib/components/form/json-editor/utils/jsoneditoroptions.mjs +17 -0
- package/esm2020/lib/components/form/radio/radio.component.mjs +3 -3
- package/esm2020/lib/components/form/radio/radio.enum.mjs +1 -1
- package/esm2020/lib/components/form/radio/radio.module.mjs +1 -1
- package/esm2020/lib/components/form/radio-group/components/radio-group-header/radio-group-header.component.mjs +3 -3
- package/esm2020/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.mjs +3 -3
- package/esm2020/lib/components/form/radio-group/helpers/filter-search-group.mjs +1 -1
- package/esm2020/lib/components/form/radio-group/helpers/get-item-by-id.mjs +1 -1
- package/esm2020/lib/components/form/radio-group/helpers/move-selected-to-first.mjs +1 -1
- package/esm2020/lib/components/form/radio-group/models/radio-group.model.mjs +1 -1
- package/esm2020/lib/components/form/radio-group/radio-group.component.mjs +3 -3
- package/esm2020/lib/components/form/radio-group/radio-group.module.mjs +1 -1
- package/esm2020/lib/components/form/rating/rating.component.mjs +3 -3
- package/esm2020/lib/components/form/rating/rating.enum.mjs +1 -1
- package/esm2020/lib/components/form/rating/rating.module.mjs +1 -1
- package/esm2020/lib/components/form/switch/switch.component.mjs +3 -3
- package/esm2020/lib/components/form/switch/switch.enum.mjs +1 -1
- package/esm2020/lib/components/form/switch/switch.module.mjs +1 -1
- package/esm2020/lib/components/gallery/components/gallery-confirm-modal/gallery-confirm-modal.component.mjs +3 -3
- package/esm2020/lib/components/gallery/components/gallery-item/gallery-item.component.mjs +3 -3
- package/esm2020/lib/components/gallery/constants/custom-buttons-default.mjs +1 -1
- package/esm2020/lib/components/gallery/constants/thumbs-config-default.mjs +1 -1
- package/esm2020/lib/components/gallery/gallery.component.mjs +17 -17
- package/esm2020/lib/components/gallery/gallery.module.mjs +1 -1
- package/esm2020/lib/components/gallery/models/gallery-item.model.mjs +1 -1
- package/esm2020/lib/components/gallery/services/gallery.service.mjs +1 -1
- package/esm2020/lib/components/hint-error-message/hint-error-message.component.mjs +3 -3
- package/esm2020/lib/components/hint-error-message/hint-error-message.module.mjs +1 -1
- package/esm2020/lib/components/icon-button/icon-button.component.mjs +3 -3
- package/esm2020/lib/components/icon-button/icon-button.enum.mjs +1 -1
- package/esm2020/lib/components/icon-button/icon-button.module.mjs +1 -1
- package/esm2020/lib/components/label/label.component.mjs +3 -3
- package/esm2020/lib/components/label/label.module.mjs +1 -1
- package/esm2020/lib/components/link/link.component.mjs +3 -3
- package/esm2020/lib/components/link/link.enum.mjs +1 -1
- package/esm2020/lib/components/link/link.module.mjs +1 -1
- package/esm2020/lib/components/loader/loader.component.mjs +3 -3
- package/esm2020/lib/components/loader/loader.enum.mjs +1 -1
- package/esm2020/lib/components/loader/loader.module.mjs +1 -1
- package/esm2020/lib/components/modal/modal.component.mjs +3 -3
- package/esm2020/lib/components/modal/modal.emun.mjs +1 -1
- package/esm2020/lib/components/modal/modal.module.mjs +1 -1
- package/esm2020/lib/components/pages-nav/pages-nav.component.mjs +3 -3
- package/esm2020/lib/components/pages-nav/pages-nav.enum.mjs +1 -1
- package/esm2020/lib/components/pages-nav/pages-nav.module.mjs +1 -1
- package/esm2020/lib/components/paginator/paginator.component.mjs +3 -3
- package/esm2020/lib/components/paginator/paginator.enum.mjs +1 -1
- package/esm2020/lib/components/paginator/paginator.module.mjs +1 -1
- package/esm2020/lib/components/pdf-viewer/pdf-viewer.component.mjs +12 -5
- package/esm2020/lib/components/pdf-viewer/pdf-viewer.module.mjs +1 -1
- package/esm2020/lib/components/popup/components/popup/popup.component.mjs +3 -3
- package/esm2020/lib/components/popup/components/popup-item/popup-item.component.mjs +3 -3
- package/esm2020/lib/components/popup/directives/popup-trigger.directive.mjs +1 -1
- package/esm2020/lib/components/popup/popup.module.mjs +1 -1
- package/esm2020/lib/components/progress/progress.component.mjs +3 -3
- package/esm2020/lib/components/progress/progress.enum.mjs +1 -1
- package/esm2020/lib/components/progress/progress.module.mjs +1 -1
- package/esm2020/lib/components/save-state/components/save-state-checkbox/save-state-checkbox.component.mjs +3 -3
- package/esm2020/lib/components/save-state/components/save-state-checkbox-group/save-state-checkbox-group.component.mjs +3 -3
- package/esm2020/lib/components/save-state/components/save-state-editor/save-state-editor.component.mjs +3 -3
- package/esm2020/lib/components/save-state/components/save-state-input/save-state-input.component.mjs +3 -3
- package/esm2020/lib/components/save-state/components/save-state-switch/save-state-switch.component.mjs +3 -3
- package/esm2020/lib/components/save-state/save-state.component.mjs +3 -3
- package/esm2020/lib/components/save-state/save-state.enum.mjs +1 -1
- package/esm2020/lib/components/save-state/save-state.module.mjs +1 -1
- package/esm2020/lib/components/stepper/stepper.component.mjs +3 -3
- package/esm2020/lib/components/stepper/stepper.enum.mjs +1 -1
- package/esm2020/lib/components/stepper/stepper.module.mjs +1 -1
- package/esm2020/lib/components/table/components/column/column.component.mjs +1 -1
- package/esm2020/lib/components/table/default/default-pager-settings.mjs +1 -1
- package/esm2020/lib/components/table/models/data-state-change.event.mjs +1 -1
- package/esm2020/lib/components/table/models/index.mjs +1 -1
- package/esm2020/lib/components/table/models/pager-settings.mjs +1 -1
- package/esm2020/lib/components/table/table.component.mjs +3 -3
- package/esm2020/lib/components/table/table.enum.mjs +1 -1
- package/esm2020/lib/components/table/table.module.mjs +1 -1
- package/esm2020/lib/components/tabs/tab/tab.component.mjs +3 -3
- package/esm2020/lib/components/tabs/tabs-group/tabs-group.component.mjs +3 -3
- package/esm2020/lib/components/tabs/tabs.enum.mjs +1 -1
- package/esm2020/lib/components/tabs/tabs.module.mjs +1 -1
- package/esm2020/lib/components/tooltip/services/tooltip.service.mjs +1 -1
- package/esm2020/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.mjs +3 -3
- package/esm2020/lib/components/tooltip/tooltip-trigger/tooltip-trigger.enum.mjs +1 -1
- package/esm2020/lib/components/tooltip/tooltip.component.mjs +3 -3
- package/esm2020/lib/components/tooltip/tooltip.enum.mjs +1 -1
- package/esm2020/lib/components/tooltip/tooltip.module.mjs +1 -1
- package/esm2020/lib/components/truncate-text/directives/truncate-text.directive.mjs +1 -1
- package/esm2020/lib/components/truncate-text/truncate-text.component.mjs +3 -3
- package/esm2020/lib/components/truncate-text/truncate-text.enum.mjs +1 -1
- package/esm2020/lib/components/truncate-text/truncate-text.module.mjs +1 -1
- package/esm2020/lib/components/warning-message/warning-message.component.mjs +3 -3
- package/esm2020/lib/components/warning-message/warning-message.module.mjs +1 -1
- package/esm2020/lib/components/wrappers/content-wrapper/content-wrapper.component.mjs +3 -3
- package/esm2020/lib/components/wrappers/content-wrapper/content-wrapper.enum.mjs +1 -1
- package/esm2020/lib/components/wrappers/content-wrapper/content-wrapper.module.mjs +1 -1
- package/esm2020/lib/components/wrappers/controls-wrapper/components/controls-item/controls-item.component.mjs +3 -3
- package/esm2020/lib/components/wrappers/controls-wrapper/controls-wrapper.component.mjs +3 -3
- package/esm2020/lib/components/wrappers/controls-wrapper/controls-wrapper.enum.mjs +1 -1
- package/esm2020/lib/components/wrappers/controls-wrapper/controls-wrapper.module.mjs +1 -1
- package/esm2020/lib/components/wrappers/widget-wrapper/widget-wrapper.component.mjs +3 -3
- package/esm2020/lib/components/wrappers/widget-wrapper/widget-wrapper.enum.mjs +1 -1
- package/esm2020/lib/components/wrappers/widget-wrapper/widget-wrapper.module.mjs +1 -1
- package/esm2020/lib/directives/autosize/autosize.directive.mjs +1 -1
- package/esm2020/lib/directives/autosize/autosize.module.mjs +1 -1
- package/esm2020/lib/directives/truncate/truncate.directive.mjs +1 -1
- package/esm2020/lib/directives/truncate/truncate.module.mjs +1 -1
- package/esm2020/lib/enums/typed.input.state.mjs +1 -1
- package/esm2020/lib/helpers/extension/input-file.extension.mjs +1 -1
- package/esm2020/lib/helpers/formatting-date.mjs +1 -1
- package/esm2020/lib/helpers/formatting-dates-from-array.mjs +1 -1
- package/esm2020/lib/helpers/formatting-iso-to-string.mjs +1 -1
- package/esm2020/lib/helpers/index.mjs +1 -1
- package/esm2020/lib/helpers/is-number.helper.mjs +1 -1
- package/esm2020/lib/helpers/number-format.mjs +1 -1
- package/esm2020/lib/helpers/string-hash-code.mjs +1 -1
- package/esm2020/lib/helpers/word-form.mjs +1 -1
- package/esm2020/lib/models/index.mjs +1 -1
- package/esm2020/lib/models/input-file/input-file.model.mjs +1 -1
- package/esm2020/lib/models/typed-input-model.mjs +1 -1
- package/esm2020/lib/pipes/currency/currency.module.mjs +1 -1
- package/esm2020/lib/pipes/currency/currency.pipe.mjs +1 -1
- package/esm2020/lib/pipes/date/date-format.module.mjs +1 -1
- package/esm2020/lib/pipes/date/date-format.pipe.mjs +1 -1
- package/esm2020/lib/pipes/date/date-time-format.pipe.mjs +1 -1
- package/esm2020/lib/pipes/date/enums/timezone.mjs +1 -1
- package/esm2020/lib/pipes/date/helpers/change-timezone.mjs +1 -1
- package/esm2020/lib/pipes/phone/phone-format.module.mjs +1 -1
- package/esm2020/lib/pipes/phone/phone-format.pipe.mjs +1 -1
- package/esm2020/lib/pipes/safe/safe.module.mjs +1 -1
- package/esm2020/lib/pipes/safe/safe.pipe.mjs +1 -1
- package/esm2020/lib/pipes/truncate/truncate.module.mjs +1 -1
- package/esm2020/lib/pipes/truncate/truncate.pipe.mjs +1 -1
- package/esm2020/lib/services/file-upload/file-upload.service.mjs +1 -1
- package/esm2020/lib/services/index.mjs +1 -1
- package/esm2020/lib/services/mrx-autosave/mrx-autosave.service.mjs +1 -1
- package/esm2020/lib/services/mrx-form-validator/constants/invalid-messages.mjs +1 -1
- package/esm2020/lib/services/mrx-form-validator/helpers/get-error-message.helper.mjs +1 -1
- package/esm2020/lib/services/mrx-form-validator/helpers/get-sorting-validations.helper.mjs +1 -1
- package/esm2020/lib/services/mrx-form-validator/models/index.mjs +1 -1
- package/esm2020/lib/services/mrx-form-validator/models/validations-options.model.mjs +1 -1
- package/esm2020/lib/services/mrx-form-validator/models/validations-settings.model.mjs +1 -1
- package/esm2020/lib/services/mrx-form-validator/models/validations-types.model.mjs +1 -1
- package/esm2020/lib/services/mrx-form-validator/mrx-form-validator.mjs +1 -1
- package/esm2020/lib/services/mrx-form-validator/validations/callback.validation.mjs +1 -1
- package/esm2020/lib/services/mrx-form-validator/validations/email.validation.mjs +1 -1
- package/esm2020/lib/services/mrx-form-validator/validations/max-length.validation.mjs +1 -1
- package/esm2020/lib/services/mrx-form-validator/validations/max-value.validation.mjs +1 -1
- package/esm2020/lib/services/mrx-form-validator/validations/min-length.validation.mjs +1 -1
- package/esm2020/lib/services/mrx-form-validator/validations/min-value.validation.mjs +1 -1
- package/esm2020/lib/services/mrx-form-validator/validations/pattern.validation.mjs +1 -1
- package/esm2020/lib/services/mrx-form-validator/validations/required.validation.mjs +1 -1
- package/esm2020/lib/services/save-store/constants/constants.mjs +1 -1
- package/esm2020/lib/services/save-store/models/save-store.model.mjs +1 -1
- package/esm2020/lib/services/save-store/save-store.module.mjs +1 -1
- package/esm2020/lib/services/save-store/store/actions.mjs +1 -1
- package/esm2020/lib/services/save-store/store/effect.mjs +1 -1
- package/esm2020/lib/services/save-store/store/reducer.mjs +1 -1
- package/esm2020/lib/services/save-store/store/selectors.mjs +1 -1
- package/esm2020/lib/services/save-store/store/state.mjs +1 -1
- package/esm2020/public-api.mjs +5 -1
- package/fesm2015/myrta-ui.mjs +642 -296
- package/fesm2015/myrta-ui.mjs.map +1 -1
- package/fesm2020/myrta-ui.mjs +639 -295
- package/fesm2020/myrta-ui.mjs.map +1 -1
- package/lib/components/button/button.component.d.ts +8 -2
- package/lib/components/button/button.enum.d.ts +1 -0
- package/lib/components/button/button.module.d.ts +2 -1
- package/lib/components/form/editor/editor.component.d.ts +4 -0
- package/lib/components/form/json-editor/json-editor.component.d.ts +58 -0
- package/lib/components/form/json-editor/json-editor.enum.d.ts +5 -0
- package/lib/components/form/json-editor/json-editor.module.d.ts +8 -0
- package/lib/components/form/json-editor/utils/jsoneditoroptions.d.ts +128 -0
- package/lib/components/pdf-viewer/pdf-viewer.component.d.ts +1 -0
- package/package.json +1 -1
- package/public-api.d.ts +4 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { LoaderColorTypes, LoaderSizesTypes } from '../loader/loader.enum';
|
|
3
|
-
import { ButtonAttrTypes, ButtonColorsTypes, ButtonIconPositionTypes, ButtonSizesTypes, ButtonTypes } from './button.enum';
|
|
3
|
+
import { ButtonAttrTypes, ButtonColorsTypes, ButtonIconPositionTypes, ButtonSizesTypes, ButtonTargetTypes, ButtonTypes } from './button.enum';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class ButtonComponent {
|
|
6
6
|
size: ButtonSizesTypes;
|
|
@@ -16,6 +16,12 @@ export declare class ButtonComponent {
|
|
|
16
16
|
icon: string;
|
|
17
17
|
iconClass: string;
|
|
18
18
|
buttonType: ButtonAttrTypes;
|
|
19
|
+
href: string;
|
|
20
|
+
target: ButtonTargetTypes;
|
|
21
|
+
routerLink: string;
|
|
22
|
+
queryParams: {
|
|
23
|
+
[key: string]: string;
|
|
24
|
+
};
|
|
19
25
|
mrxClick: EventEmitter<MouseEvent>;
|
|
20
26
|
get getLabel(): null | string;
|
|
21
27
|
get isIcon(): boolean;
|
|
@@ -27,5 +33,5 @@ export declare class ButtonComponent {
|
|
|
27
33
|
get getReplacedIcon(): string;
|
|
28
34
|
buttonClick($event: MouseEvent): void;
|
|
29
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "mrx-button", never, { "size": "size"; "type": "type"; "color": "color"; "iconPosition": "iconPosition"; "active": "active"; "disabled": "disabled"; "isLoading": "isLoading"; "iconOnly": "iconOnly"; "customClasses": "customClasses"; "label": "label"; "icon": "icon"; "iconClass": "iconClass"; "buttonType": "buttonType"; }, { "mrxClick": "mrxClick"; }, never, ["*"]>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "mrx-button", never, { "size": "size"; "type": "type"; "color": "color"; "iconPosition": "iconPosition"; "active": "active"; "disabled": "disabled"; "isLoading": "isLoading"; "iconOnly": "iconOnly"; "customClasses": "customClasses"; "label": "label"; "icon": "icon"; "iconClass": "iconClass"; "buttonType": "buttonType"; "href": "href"; "target": "target"; "routerLink": "routerLink"; "queryParams": "queryParams"; }, { "mrxClick": "mrxClick"; }, never, ["*"]>;
|
|
31
37
|
}
|
|
@@ -3,8 +3,9 @@ import * as i1 from "./button.component";
|
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
4
|
import * as i3 from "../../pipes/safe/safe.module";
|
|
5
5
|
import * as i4 from "../loader/loader.module";
|
|
6
|
+
import * as i5 from "@angular/router";
|
|
6
7
|
export declare class ButtonModule {
|
|
7
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ButtonModule, [typeof i1.ButtonComponent], [typeof i2.CommonModule, typeof i3.SafeModule, typeof i4.LoaderModule], [typeof i1.ButtonComponent]>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ButtonModule, [typeof i1.ButtonComponent], [typeof i2.CommonModule, typeof i3.SafeModule, typeof i4.LoaderModule, typeof i5.RouterModule], [typeof i1.ButtonComponent]>;
|
|
9
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<ButtonModule>;
|
|
10
11
|
}
|
|
@@ -54,6 +54,10 @@ export declare class EditorComponent implements ControlValueAccessor, OnChanges
|
|
|
54
54
|
private _calculateChartsCount;
|
|
55
55
|
updateValue(insideValue: string): void;
|
|
56
56
|
onBlur(value: boolean): void;
|
|
57
|
+
handlePaste(event: ClipboardEvent): void;
|
|
58
|
+
private removeImageNodes;
|
|
59
|
+
private hasContent;
|
|
60
|
+
private insertNodes;
|
|
57
61
|
static ɵfac: i0.ɵɵFactoryDeclaration<EditorComponent, never>;
|
|
58
62
|
static ɵcmp: i0.ɵɵComponentDeclaration<EditorComponent, "mrx-editor", never, { "fields": "fields"; "toolbar": "toolbar"; "maxLength": "maxLength"; "minHeight": "minHeight"; "customClasses": "customClasses"; "placeholder": "placeholder"; "disabled": "disabled"; "readonly": "readonly"; "iframe": "iframe"; "config": "config"; "defaultInlineStyle": "defaultInlineStyle"; "defaultActionOnPaste": "defaultActionOnPaste"; "askBeforePasteHTML": "askBeforePasteHTML"; "editHTMLDocumentMode": "editHTMLDocumentMode"; "askBeforePasteFromWord": "askBeforePasteFromWord"; "defaultMode": "defaultMode"; "invalid": "invalid"; "invalidMessage": "invalidMessage"; "checkInvalid": "checkInvalid"; }, { "changed": "changed"; "modelChange": "modelChange"; "blurred": "blurred"; }, never, never>;
|
|
59
63
|
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from "@angular/forms";
|
|
3
|
+
import { Field } from '../../../services';
|
|
4
|
+
import { JsonEditorMode, JsonEditorOptions } from './utils/jsoneditoroptions';
|
|
5
|
+
import { JsonEditorValueTypes, JsonEditorValueWithId } from './json-editor.enum';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class JsonEditorComponent implements ControlValueAccessor, OnInit, OnDestroy {
|
|
8
|
+
optionsChanged: boolean;
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
isFocused: boolean;
|
|
11
|
+
uuid: string;
|
|
12
|
+
fields: Field[];
|
|
13
|
+
options: JsonEditorOptions;
|
|
14
|
+
debug: boolean;
|
|
15
|
+
changed: EventEmitter<JsonEditorValueTypes>;
|
|
16
|
+
modelChange: EventEmitter<JsonEditorValueWithId>;
|
|
17
|
+
jsonChange: EventEmitter<any>;
|
|
18
|
+
jsonEditorContainer: ElementRef;
|
|
19
|
+
private editor;
|
|
20
|
+
constructor();
|
|
21
|
+
private _data;
|
|
22
|
+
set data(value: Object);
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
ngOnDestroy(): void;
|
|
25
|
+
onChangeJSON: () => void;
|
|
26
|
+
onChange: () => void;
|
|
27
|
+
/**
|
|
28
|
+
* JSON EDITOR FUNCTIONS
|
|
29
|
+
*/
|
|
30
|
+
collapseAll(): void;
|
|
31
|
+
expandAll(): void;
|
|
32
|
+
focus(): void;
|
|
33
|
+
get(): JSON;
|
|
34
|
+
getMode(): JsonEditorMode;
|
|
35
|
+
getName(): string;
|
|
36
|
+
getText(): string;
|
|
37
|
+
set(json: JSON): void;
|
|
38
|
+
setMode(mode: JsonEditorMode): void;
|
|
39
|
+
setName(name: string): void;
|
|
40
|
+
setSelection(start: any, end: any): void;
|
|
41
|
+
getSelection(): any;
|
|
42
|
+
getValidateSchema(): any;
|
|
43
|
+
setSchema(schema: any, schemaRefs: any): void;
|
|
44
|
+
search(query: string): void;
|
|
45
|
+
setOptions(newOptions: JsonEditorOptions): void;
|
|
46
|
+
update(json: JSON): void;
|
|
47
|
+
destroy(): void;
|
|
48
|
+
getEditor(): any;
|
|
49
|
+
isValidJson(): boolean;
|
|
50
|
+
writeValue(value: any): void;
|
|
51
|
+
updateValue(insideValue: any): void;
|
|
52
|
+
registerOnChange(fn: any): void;
|
|
53
|
+
registerOnTouched(fn: () => {}): void;
|
|
54
|
+
private onChangeFn;
|
|
55
|
+
private onTouchedFn;
|
|
56
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<JsonEditorComponent, never>;
|
|
57
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<JsonEditorComponent, "mrx-json-editor", never, { "fields": "fields"; "options": "options"; "debug": "debug"; "data": "data"; }, { "changed": "changed"; "modelChange": "modelChange"; "jsonChange": "jsonChange"; }, never, never>;
|
|
58
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./json-editor.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class JsonEditorModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<JsonEditorModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<JsonEditorModule, [typeof i1.JsonEditorComponent], [typeof i2.CommonModule], [typeof i1.JsonEditorComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<JsonEditorModule>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
export declare type JsonEditorMode = 'tree' | 'view' | 'form' | 'code' | 'text';
|
|
2
|
+
export interface JsonEditorTreeNode {
|
|
3
|
+
field: String;
|
|
4
|
+
value: String;
|
|
5
|
+
path: String[];
|
|
6
|
+
}
|
|
7
|
+
export interface IError {
|
|
8
|
+
path: (string | number)[];
|
|
9
|
+
message: string;
|
|
10
|
+
}
|
|
11
|
+
export declare class JsonEditorOptions {
|
|
12
|
+
ace: any;
|
|
13
|
+
ajv: Object;
|
|
14
|
+
/**
|
|
15
|
+
* {function} onChange Callback method, triggered
|
|
16
|
+
on change of contents.
|
|
17
|
+
Does not pass the contents itself.
|
|
18
|
+
See also `onChangeJSON` and
|
|
19
|
+
`onChangeText`.
|
|
20
|
+
*/
|
|
21
|
+
onChange: () => void;
|
|
22
|
+
/**
|
|
23
|
+
* // {function} onChangeJSON Callback method, triggered
|
|
24
|
+
// in modes on change of contents,
|
|
25
|
+
// passing the changed contents
|
|
26
|
+
// as JSON.
|
|
27
|
+
// Only applicable for modes
|
|
28
|
+
// 'tree', 'view', and 'form'.
|
|
29
|
+
*/
|
|
30
|
+
onChangeJSON?: () => void;
|
|
31
|
+
onNodeName: () => void;
|
|
32
|
+
onCreateMenu: (items: Array<any>, node: object) => Array<any>;
|
|
33
|
+
onColorPicker: () => void;
|
|
34
|
+
/**
|
|
35
|
+
// {function} onChangeText Callback method, triggered
|
|
36
|
+
// in modes on change of contents,
|
|
37
|
+
// passing the changed contents
|
|
38
|
+
// as stringified JSON.
|
|
39
|
+
*/
|
|
40
|
+
onChangeText: (jsonstr: string) => void;
|
|
41
|
+
/**
|
|
42
|
+
* {function} onSelectionChange Callback method,
|
|
43
|
+
triggered on node selection change
|
|
44
|
+
Only applicable for modes
|
|
45
|
+
'tree', 'view', and 'form'
|
|
46
|
+
*/
|
|
47
|
+
onSelectionChange: () => void;
|
|
48
|
+
/**
|
|
49
|
+
* {function} onTextSelectionChange Callback method,
|
|
50
|
+
triggered on text selection change
|
|
51
|
+
Only applicable for modes
|
|
52
|
+
*/
|
|
53
|
+
onTextSelectionChange: () => void;
|
|
54
|
+
/**
|
|
55
|
+
* // {function} onEvent Callback method, triggered
|
|
56
|
+
// when an event occurs in
|
|
57
|
+
// a JSON field or value.
|
|
58
|
+
// Only applicable for
|
|
59
|
+
// modes 'form', 'tree' and
|
|
60
|
+
// 'view'
|
|
61
|
+
*/
|
|
62
|
+
onEvent: () => void;
|
|
63
|
+
/**
|
|
64
|
+
* // * {function} onFocus Callback method, triggered
|
|
65
|
+
// when the editor comes into focus,
|
|
66
|
+
// passing an object {type, target},
|
|
67
|
+
// Applicable for all modes
|
|
68
|
+
*/
|
|
69
|
+
onFocus: () => void;
|
|
70
|
+
onBlur: () => void;
|
|
71
|
+
/**
|
|
72
|
+
* // * {function} onClassName Callback method, triggered
|
|
73
|
+
// when a Node DOM is rendered. Function returns
|
|
74
|
+
// a css class name to be set on a node.
|
|
75
|
+
// Only applicable for
|
|
76
|
+
// modes 'form', 'tree' and
|
|
77
|
+
// 'view'
|
|
78
|
+
*/
|
|
79
|
+
onClassName: (node: JsonEditorTreeNode) => void;
|
|
80
|
+
onEditable: (node: JsonEditorTreeNode | {}) => boolean | {
|
|
81
|
+
field: boolean;
|
|
82
|
+
value: boolean;
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* {function} onError Callback method, triggered
|
|
86
|
+
when an error occurs
|
|
87
|
+
*/
|
|
88
|
+
onError: (error: any) => void;
|
|
89
|
+
onModeChange: (newMode: JsonEditorMode, oldMode: JsonEditorMode) => void;
|
|
90
|
+
onValidate: (json: Object) => IError[];
|
|
91
|
+
onValidationError: (errors: object[]) => void;
|
|
92
|
+
enableSort: boolean;
|
|
93
|
+
enableTransform: boolean;
|
|
94
|
+
escapeUnicode: boolean;
|
|
95
|
+
expandAll?: boolean;
|
|
96
|
+
sortObjectKeys: boolean;
|
|
97
|
+
history: boolean;
|
|
98
|
+
mode: JsonEditorMode;
|
|
99
|
+
modes: JsonEditorMode[];
|
|
100
|
+
name: String;
|
|
101
|
+
schema: Object;
|
|
102
|
+
search: boolean;
|
|
103
|
+
indentation: Number;
|
|
104
|
+
templates: Object;
|
|
105
|
+
theme: Number;
|
|
106
|
+
language: String;
|
|
107
|
+
languages: Object;
|
|
108
|
+
/**
|
|
109
|
+
* Adds main menu bar - Contains format, sort, transform, search etc. functionality. True
|
|
110
|
+
* by default. Applicable in all types of mode.
|
|
111
|
+
*/
|
|
112
|
+
mainMenuBar: boolean;
|
|
113
|
+
/**
|
|
114
|
+
* Adds navigation bar to the menu - the navigation bar visualize the current position on
|
|
115
|
+
* the tree structure as well as allows breadcrumbs navigation.
|
|
116
|
+
* True by default.
|
|
117
|
+
* Only applicable when mode is 'tree', 'form' or 'view'.
|
|
118
|
+
*/
|
|
119
|
+
navigationBar: boolean;
|
|
120
|
+
/**
|
|
121
|
+
* Adds status bar to the bottom of the editor - the status bar shows the cursor position
|
|
122
|
+
* and a count of the selected characters.
|
|
123
|
+
* True by default.
|
|
124
|
+
* Only applicable when mode is 'code' or 'text'.
|
|
125
|
+
*/
|
|
126
|
+
statusBar: boolean;
|
|
127
|
+
constructor();
|
|
128
|
+
}
|
|
@@ -57,6 +57,7 @@ export declare class PdfViewerComponent implements OnInit, OnChanges {
|
|
|
57
57
|
onSidebarViewClick(): void;
|
|
58
58
|
onExpandModeClick(): void;
|
|
59
59
|
onSearchClick(): void;
|
|
60
|
+
onSearchClear(): void;
|
|
60
61
|
onSearch($event: string): void;
|
|
61
62
|
findNext(): void;
|
|
62
63
|
findPrevious(): void;
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -154,6 +154,10 @@ export * from './lib/components/form/radio-group/models/radio-group.model';
|
|
|
154
154
|
export * from './lib/components/form/switch/switch.module';
|
|
155
155
|
export * from './lib/components/form/switch/switch.component';
|
|
156
156
|
export * from './lib/components/form/switch/switch.enum';
|
|
157
|
+
export * from './lib/components/form/json-editor/json-editor.module';
|
|
158
|
+
export * from './lib/components/form/json-editor/json-editor.component';
|
|
159
|
+
export * from './lib/components/form/json-editor/json-editor.enum';
|
|
160
|
+
export * from './lib/components/form/json-editor/utils/jsoneditoroptions';
|
|
157
161
|
export * from './lib/components/wrappers/widget-wrapper/widget-wrapper.module';
|
|
158
162
|
export * from './lib/components/wrappers/widget-wrapper/widget-wrapper.component';
|
|
159
163
|
export * from './lib/components/wrappers/content-wrapper/content-wrapper.module';
|