myrta-ui 14.0.0-beta.5 → 17.0.0-beta.10
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 +1 -0
- package/esm2022/lib/components/alert/alert.component.mjs +43 -0
- package/{esm2020 → esm2022}/lib/components/alert/alert.enum.mjs +14 -14
- package/{esm2020 → esm2022}/lib/components/alert/alert.module.mjs +19 -19
- package/{esm2020 → esm2022}/lib/components/badges/badge.enum.mjs +31 -31
- package/{esm2020 → esm2022}/lib/components/badges/badges.module.mjs +30 -30
- package/esm2022/lib/components/badges/components/badge/badge.component.mjs +61 -0
- package/{esm2020 → esm2022}/lib/components/badges/components/badge-group/badge-group.component.mjs +11 -11
- package/esm2022/lib/components/breadcrumbs/breadcrumbs.component.mjs +28 -0
- package/{esm2020 → esm2022}/lib/components/breadcrumbs/breadcrumbs.enum.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/breadcrumbs/breadcrumbs.module.mjs +25 -25
- package/esm2022/lib/components/button/button.component.mjs +100 -0
- package/esm2022/lib/components/button/button.enum.mjs +27 -0
- package/{esm2020 → esm2022}/lib/components/button/button.module.mjs +21 -21
- package/esm2022/lib/components/cdk-tooltip/cdk-tooltip/tooltip-container.component.mjs +29 -0
- package/esm2022/lib/components/cdk-tooltip/cdk-tooltip.directive.mjs +99 -0
- package/{esm2020 → esm2022}/lib/components/cdk-tooltip/cdk-tooltip.module.mjs +21 -21
- package/{esm2020 → esm2022}/lib/components/cdk-tooltip/constants/index.mjs +69 -69
- package/{esm2020 → esm2022}/lib/components/cdk-tooltip/models/tooltip-data.mjs +1 -1
- package/esm2022/lib/components/chars-left/chars-left.component.mjs +24 -0
- package/{esm2020 → esm2022}/lib/components/chars-left/chars-left.module.mjs +19 -19
- package/esm2022/lib/components/dropdown/directives/hide-after-click.directive.mjs +24 -0
- package/esm2022/lib/components/dropdown/dropdown.component.mjs +107 -0
- package/{esm2020 → esm2022}/lib/components/dropdown/dropdown.module.mjs +21 -21
- package/esm2022/lib/components/error-message/error-message.component.mjs +32 -0
- package/{esm2020 → esm2022}/lib/components/error-message/error-message.module.mjs +19 -19
- package/esm2022/lib/components/form/checkbox/checkbox.component.mjs +153 -0
- package/esm2022/lib/components/form/checkbox/checkbox.enum.mjs +5 -0
- package/{esm2020 → esm2022}/lib/components/form/checkbox/checkbox.module.mjs +22 -22
- package/esm2022/lib/components/form/checkbox-group/checkbox-group.component.mjs +178 -0
- package/{esm2020 → esm2022}/lib/components/form/checkbox-group/checkbox-group.module.mjs +47 -47
- package/{esm2020 → esm2022}/lib/components/form/checkbox-group/components/checkbox-group-header/checkbox-group-header.component.mjs +48 -49
- package/esm2022/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.mjs +106 -0
- package/esm2022/lib/components/form/checkbox-group/helpers/change-group-value.mjs +20 -0
- package/esm2022/lib/components/form/checkbox-group/helpers/change-item-value.mjs +15 -0
- package/esm2022/lib/components/form/checkbox-group/helpers/filter-search-group.mjs +27 -0
- package/esm2022/lib/components/form/checkbox-group/helpers/get-checked-items.mjs +20 -0
- package/{esm2020 → esm2022}/lib/components/form/checkbox-group/helpers/get-item-by-id.mjs +10 -10
- package/esm2022/lib/components/form/checkbox-group/helpers/get-sorted-list.mjs +50 -0
- package/{esm2020 → esm2022}/lib/components/form/checkbox-group/models/checkbox-group.model.mjs +1 -1
- package/{esm2020 → esm2022}/lib/components/form/editor/config/default-inline-style.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/form/editor/config/index.mjs +1 -1
- package/{esm2020 → esm2022}/lib/components/form/editor/config/popups-toolbar.mjs +8 -8
- package/{esm2020 → esm2022}/lib/components/form/editor/config/toolbar.mjs +71 -71
- package/esm2022/lib/components/form/editor/editor.component.mjs +265 -0
- package/{esm2020 → esm2022}/lib/components/form/editor/editor.enum.mjs +1 -1
- package/esm2022/lib/components/form/editor/editor.module.mjs +45 -0
- package/{esm2020 → esm2022}/lib/components/form/editor/models/toolbar.model.mjs +1 -1
- package/esm2022/lib/components/form/editor/modules/change-icon-module.mjs +92 -0
- package/{esm2020 → esm2022}/lib/components/form/input-date-time/constants/value-models.mjs +13 -13
- package/{esm2020 → esm2022}/lib/components/form/input-date-time/enum/timezone.mjs +6 -6
- package/{esm2020 → esm2022}/lib/components/form/input-date-time/helpers/clean-date.mjs +4 -4
- package/esm2022/lib/components/form/input-date-time/helpers/cursor-position.mjs +23 -0
- package/esm2022/lib/components/form/input-date-time/helpers/formatting-from-models.mjs +10 -0
- package/{esm2020 → esm2022}/lib/components/form/input-date-time/helpers/formatting-moscow-timezone.mjs +9 -9
- package/{esm2020 → esm2022}/lib/components/form/input-date-time/helpers/validate-value-models.mjs +60 -60
- package/{esm2020 → esm2022}/lib/components/form/input-date-time/helpers/value-parser.mjs +38 -38
- package/esm2022/lib/components/form/input-date-time/input-date-time.component.mjs +386 -0
- package/{esm2020 → esm2022}/lib/components/form/input-date-time/input-date-time.enum.mjs +7 -7
- package/esm2022/lib/components/form/input-date-time/input-date-time.module.mjs +46 -0
- package/{esm2020 → esm2022}/lib/components/form/input-datepicker/constants/value-models.mjs +14 -14
- package/{esm2020 → esm2022}/lib/components/form/input-datepicker/helpers/clean-date.mjs +4 -4
- package/esm2022/lib/components/form/input-datepicker/helpers/cursor-position.mjs +23 -0
- package/esm2022/lib/components/form/input-datepicker/helpers/get-date-dayjs-object.mjs +10 -0
- package/esm2022/lib/components/form/input-datepicker/helpers/get-date-object.mjs +10 -0
- package/{esm2020 → esm2022}/lib/components/form/input-datepicker/helpers/validate-value-models.mjs +74 -74
- package/{esm2020 → esm2022}/lib/components/form/input-datepicker/helpers/value-parser.mjs +47 -47
- package/esm2022/lib/components/form/input-datepicker/input-datepicker.component.mjs +356 -0
- package/{esm2020 → esm2022}/lib/components/form/input-datepicker/input-datepicker.enum.mjs +6 -6
- package/esm2022/lib/components/form/input-datepicker/input-datepicker.module.mjs +46 -0
- package/{esm2020 → esm2022}/lib/components/form/input-file/enums/error-messages.enum.mjs +7 -7
- package/esm2022/lib/components/form/input-file/input-file.component.mjs +368 -0
- package/{esm2020 → esm2022}/lib/components/form/input-file/input-file.enum.mjs +7 -7
- package/{esm2020 → esm2022}/lib/components/form/input-file/input-file.module.mjs +26 -26
- package/esm2022/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.mjs +88 -0
- package/esm2022/lib/components/form/input-file-image/input-file-image.component.mjs +356 -0
- package/{esm2020 → esm2022}/lib/components/form/input-file-image/input-file-image.enum.mjs +9 -9
- package/esm2022/lib/components/form/input-file-image/input-file-image.module.mjs +53 -0
- package/esm2022/lib/components/form/input-number/input-number.component.mjs +267 -0
- package/{esm2020 → esm2022}/lib/components/form/input-number/input-number.enum.mjs +7 -7
- package/esm2022/lib/components/form/input-number/input-number.module.mjs +55 -0
- package/esm2022/lib/components/form/input-opt/components/input-opt/input-opt.component.mjs +370 -0
- package/{esm2020 → esm2022}/lib/components/form/input-opt/components/input-opt/input-opt.enum.mjs +7 -7
- package/esm2022/lib/components/form/input-opt/directives/opt-pattern.directive.mjs +43 -0
- package/{esm2020 → esm2022}/lib/components/form/input-opt/input-opt.module.mjs +38 -38
- package/{esm2020 → esm2022}/lib/components/form/input-opt/models/input-opt.model.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/form/input-opt/services/input-opt.service.mjs +33 -33
- package/esm2022/lib/components/form/input-password/input-password.component.mjs +118 -0
- package/{esm2020 → esm2022}/lib/components/form/input-password/input-password.enum.mjs +7 -7
- package/esm2022/lib/components/form/input-password/input-password.module.mjs +36 -0
- package/esm2022/lib/components/form/input-phone/data/country-code.mjs +1331 -0
- package/esm2022/lib/components/form/input-phone/directives/native-element-injector.directive.mjs +35 -0
- package/{esm2020 → esm2022}/lib/components/form/input-phone/enums/country-iso.enum.mjs +246 -246
- package/{esm2020 → esm2022}/lib/components/form/input-phone/enums/input-phone.enum.mjs +6 -6
- package/{esm2020 → esm2022}/lib/components/form/input-phone/enums/mask.enum.mjs +138 -138
- package/{esm2020 → esm2022}/lib/components/form/input-phone/enums/phone-number-format.enum.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/form/input-phone/enums/search-country-field.enum.mjs +7 -7
- package/esm2022/lib/components/form/input-phone/input-phone.component.mjs +679 -0
- package/esm2022/lib/components/form/input-phone/input-phone.module.mjs +50 -0
- package/esm2022/lib/components/form/input-phone/input-phone.validator.mjs +61 -0
- package/{esm2020 → esm2022}/lib/components/form/input-phone/interfaces/change-data.mjs +1 -1
- package/{esm2020 → esm2022}/lib/components/form/input-phone/models/country.model.mjs +1 -1
- package/esm2022/lib/components/form/input-search/input-search.component.mjs +167 -0
- package/{esm2020 → esm2022}/lib/components/form/input-search/input-search.enum.mjs +7 -7
- package/esm2022/lib/components/form/input-search/input-search.module.mjs +41 -0
- package/esm2022/lib/components/form/input-select/input-select.component.mjs +253 -0
- package/{esm2020 → esm2022}/lib/components/form/input-select/input-select.enum.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/form/input-select/input-select.module.mjs +45 -45
- package/{esm2020 → esm2022}/lib/components/form/input-tel/assets/base64.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/form/input-tel/data/all-countries.mjs +1323 -1323
- package/{esm2020 → esm2022}/lib/components/form/input-tel/data/country-iso.enum.mjs +246 -246
- package/{esm2020 → esm2022}/lib/components/form/input-tel/data/phone-number-format.enum.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/form/input-tel/data/search-country-field.enum.mjs +7 -7
- package/esm2022/lib/components/form/input-tel/directives/input-tel.directive.mjs +66 -0
- package/{esm2020 → esm2022}/lib/components/form/input-tel/enums/input-phone.enum.mjs +6 -6
- package/esm2022/lib/components/form/input-tel/input-tel.component.mjs +400 -0
- package/esm2022/lib/components/form/input-tel/input-tel.module.mjs +43 -0
- package/{esm2020 → esm2022}/lib/components/form/input-tel/models/country.model.mjs +1 -1
- package/esm2022/lib/components/form/input-text/input-text.component.mjs +189 -0
- package/{esm2020 → esm2022}/lib/components/form/input-text/input-text.enum.mjs +14 -14
- package/esm2022/lib/components/form/input-text/input-text.module.mjs +49 -0
- package/esm2022/lib/components/form/input-textarea/input-textarea.component.mjs +197 -0
- package/{esm2020 → esm2022}/lib/components/form/input-textarea/input-textarea.enum.mjs +6 -6
- package/esm2022/lib/components/form/input-textarea/input-textarea.module.mjs +49 -0
- package/{esm2020 → esm2022}/lib/components/form/input-timepicker/constants/value-models.mjs +7 -7
- package/{esm2020 → esm2022}/lib/components/form/input-timepicker/helpers/clean-date.mjs +4 -4
- package/esm2022/lib/components/form/input-timepicker/helpers/cursor-position.mjs +14 -0
- package/{esm2020 → esm2022}/lib/components/form/input-timepicker/helpers/get-date-dayjs-object.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/form/input-timepicker/helpers/get-date-object.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/form/input-timepicker/helpers/validate-value-models.mjs +29 -29
- package/{esm2020 → esm2022}/lib/components/form/input-timepicker/helpers/value-parser.mjs +17 -17
- package/esm2022/lib/components/form/input-timepicker/input-timepicker.component.mjs +292 -0
- package/{esm2020 → esm2022}/lib/components/form/input-timepicker/input-timepicker.enum.mjs +6 -6
- package/esm2022/lib/components/form/input-timepicker/input-timepicker.module.mjs +46 -0
- package/esm2022/lib/components/form/radio/radio.component.mjs +91 -0
- package/{esm2020 → esm2022}/lib/components/form/radio/radio.enum.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/form/radio/radio.module.mjs +20 -20
- package/esm2022/lib/components/form/radio-group/components/radio-group-header/radio-group-header.component.mjs +45 -0
- package/esm2022/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.mjs +66 -0
- package/esm2022/lib/components/form/radio-group/helpers/filter-search-group.mjs +27 -0
- package/{esm2020 → esm2022}/lib/components/form/radio-group/helpers/get-item-by-id.mjs +10 -10
- package/esm2022/lib/components/form/radio-group/helpers/move-selected-to-first.mjs +27 -0
- package/{esm2020 → esm2022}/lib/components/form/radio-group/models/radio-group.model.mjs +2 -2
- package/esm2022/lib/components/form/radio-group/radio-group.component.mjs +175 -0
- package/esm2022/lib/components/form/radio-group/radio-group.module.mjs +26 -0
- package/esm2022/lib/components/form/rating/rating.component.mjs +215 -0
- package/{esm2020 → esm2022}/lib/components/form/rating/rating.enum.mjs +15 -15
- package/{esm2020 → esm2022}/lib/components/form/rating/rating.module.mjs +25 -25
- package/esm2022/lib/components/form/switch/switch.component.mjs +95 -0
- package/{esm2020 → esm2022}/lib/components/form/switch/switch.enum.mjs +10 -10
- package/{esm2020 → esm2022}/lib/components/form/switch/switch.module.mjs +21 -21
- package/esm2022/lib/components/gallery/components/gallery-confirm-modal/gallery-confirm-modal.component.mjs +37 -0
- package/esm2022/lib/components/gallery/components/gallery-item/gallery-item.component.mjs +112 -0
- package/{esm2020 → esm2022}/lib/components/gallery/constants/custom-buttons-default.mjs +6 -6
- package/{esm2020 → esm2022}/lib/components/gallery/constants/thumbs-config-default.mjs +4 -4
- package/esm2022/lib/components/gallery/gallery.component.mjs +203 -0
- package/{esm2020 → esm2022}/lib/components/gallery/gallery.module.mjs +54 -54
- package/{esm2020 → esm2022}/lib/components/gallery/models/gallery-item.model.mjs +1 -1
- package/esm2022/lib/components/gallery/services/gallery.service.mjs +33 -0
- package/esm2022/lib/components/hint-error-message/hint-error-message.component.mjs +121 -0
- package/{esm2020 → esm2022}/lib/components/hint-error-message/hint-error-message.module.mjs +19 -19
- package/esm2022/lib/components/icon-button/icon-button.component.mjs +49 -0
- package/{esm2020 → esm2022}/lib/components/icon-button/icon-button.enum.mjs +15 -15
- package/{esm2020 → esm2022}/lib/components/icon-button/icon-button.module.mjs +19 -19
- package/esm2022/lib/components/label/label.component.mjs +143 -0
- package/{esm2020 → esm2022}/lib/components/label/label.module.mjs +25 -25
- package/esm2022/lib/components/link/link.component.mjs +48 -0
- package/{esm2020 → esm2022}/lib/components/link/link.enum.mjs +19 -19
- package/{esm2020 → esm2022}/lib/components/link/link.module.mjs +19 -19
- package/esm2022/lib/components/loader/loader.component.mjs +24 -0
- package/{esm2020 → esm2022}/lib/components/loader/loader.enum.mjs +19 -19
- package/{esm2020 → esm2022}/lib/components/loader/loader.module.mjs +19 -19
- package/esm2022/lib/components/modal/modal.component.mjs +137 -0
- package/{esm2020 → esm2022}/lib/components/modal/modal.emun.mjs +20 -20
- package/{esm2020 → esm2022}/lib/components/modal/modal.module.mjs +20 -20
- package/esm2022/lib/components/pages-nav/pages-nav.component.mjs +31 -0
- package/{esm2020 → esm2022}/lib/components/pages-nav/pages-nav.enum.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/pages-nav/pages-nav.module.mjs +24 -24
- package/esm2022/lib/components/paginator/paginator.component.mjs +140 -0
- package/{esm2020 → esm2022}/lib/components/paginator/paginator.enum.mjs +5 -5
- package/esm2022/lib/components/paginator/paginator.module.mjs +31 -0
- package/esm2022/lib/components/progress/progress.component.mjs +24 -0
- package/{esm2020 → esm2022}/lib/components/progress/progress.enum.mjs +7 -7
- package/{esm2020 → esm2022}/lib/components/progress/progress.module.mjs +19 -19
- package/esm2022/lib/components/save-state/components/save-state-checkbox/save-state-checkbox.component.mjs +16 -0
- package/esm2022/lib/components/save-state/components/save-state-checkbox-group/save-state-checkbox-group.component.mjs +16 -0
- package/esm2022/lib/components/save-state/components/save-state-editor/save-state-editor.component.mjs +16 -0
- package/esm2022/lib/components/save-state/components/save-state-input/save-state-input.component.mjs +16 -0
- package/esm2022/lib/components/save-state/components/save-state-switch/save-state-switch.component.mjs +16 -0
- package/esm2022/lib/components/save-state/save-state.component.mjs +40 -0
- package/{esm2020 → esm2022}/lib/components/save-state/save-state.enum.mjs +2 -2
- package/{esm2020 → esm2022}/lib/components/save-state/save-state.module.mjs +37 -37
- package/esm2022/lib/components/stepper/stepper.component.mjs +52 -0
- package/{esm2020 → esm2022}/lib/components/stepper/stepper.enum.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/stepper/stepper.module.mjs +20 -20
- package/esm2022/lib/components/table/components/column/column.component.mjs +40 -0
- package/{esm2020 → esm2022}/lib/components/table/default/default-pager-settings.mjs +6 -6
- package/{esm2020 → esm2022}/lib/components/table/models/data-state-change.event.mjs +1 -1
- package/{esm2020 → esm2022}/lib/components/table/models/index.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/table/models/pager-settings.mjs +1 -1
- package/esm2022/lib/components/table/table.component.mjs +281 -0
- package/{esm2020 → esm2022}/lib/components/table/table.enum.mjs +7 -7
- package/{esm2020 → esm2022}/lib/components/table/table.module.mjs +50 -50
- package/esm2022/lib/components/tabs/tab/tab.component.mjs +33 -0
- package/esm2022/lib/components/tabs/tabs-group/tabs-group.component.mjs +27 -0
- package/{esm2020 → esm2022}/lib/components/tabs/tabs.enum.mjs +13 -13
- package/{esm2020 → esm2022}/lib/components/tabs/tabs.module.mjs +20 -20
- package/esm2022/lib/components/tooltip/services/tooltip.service.mjs +65 -0
- package/esm2022/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.mjs +36 -0
- package/{esm2020 → esm2022}/lib/components/tooltip/tooltip-trigger/tooltip-trigger.enum.mjs +10 -10
- package/esm2022/lib/components/tooltip/tooltip.component.mjs +59 -0
- package/{esm2020 → esm2022}/lib/components/tooltip/tooltip.enum.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/tooltip/tooltip.module.mjs +21 -21
- package/{esm2020 → esm2022}/lib/components/truncate-text/directives/truncate-text.directive.mjs +149 -139
- package/esm2022/lib/components/truncate-text/truncate-text.component.mjs +30 -0
- package/{esm2020 → esm2022}/lib/components/truncate-text/truncate-text.enum.mjs +1 -1
- package/{esm2020 → esm2022}/lib/components/truncate-text/truncate-text.module.mjs +21 -21
- package/esm2022/lib/components/warning-message/warning-message.component.mjs +29 -0
- package/{esm2020 → esm2022}/lib/components/warning-message/warning-message.module.mjs +19 -19
- package/esm2022/lib/components/wrappers/content-wrapper/content-wrapper.component.mjs +25 -0
- package/{esm2020 → esm2022}/lib/components/wrappers/content-wrapper/content-wrapper.enum.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/wrappers/content-wrapper/content-wrapper.module.mjs +19 -19
- package/esm2022/lib/components/wrappers/controls-wrapper/components/controls-item/controls-item.component.mjs +15 -0
- package/esm2022/lib/components/wrappers/controls-wrapper/controls-wrapper.component.mjs +23 -0
- package/{esm2020 → esm2022}/lib/components/wrappers/controls-wrapper/controls-wrapper.enum.mjs +6 -6
- package/{esm2020 → esm2022}/lib/components/wrappers/controls-wrapper/controls-wrapper.module.mjs +20 -20
- package/esm2022/lib/components/wrappers/widget-wrapper/widget-wrapper.component.mjs +99 -0
- package/{esm2020 → esm2022}/lib/components/wrappers/widget-wrapper/widget-wrapper.enum.mjs +16 -16
- package/{esm2020 → esm2022}/lib/components/wrappers/widget-wrapper/widget-wrapper.module.mjs +24 -24
- package/esm2022/lib/directives/autosize/autosize.directive.mjs +57 -0
- package/{esm2020 → esm2022}/lib/directives/autosize/autosize.module.mjs +24 -24
- package/esm2022/lib/directives/truncate/truncate.directive.mjs +34 -0
- package/{esm2020 → esm2022}/lib/directives/truncate/truncate.module.mjs +18 -18
- package/{esm2020 → esm2022}/lib/enums/typed.input.state.mjs +8 -8
- package/esm2022/lib/helpers/extension/input-file.extension.mjs +39 -0
- package/esm2022/lib/helpers/formatting-date.mjs +51 -0
- package/{esm2020 → esm2022}/lib/helpers/formatting-dates-from-array.mjs +18 -18
- package/{esm2020 → esm2022}/lib/helpers/formatting-iso-to-string.mjs +12 -12
- package/{esm2020 → esm2022}/lib/helpers/index.mjs +7 -7
- package/{esm2020 → esm2022}/lib/helpers/number-format.mjs +8 -8
- package/esm2022/lib/helpers/string-hash-code.mjs +17 -0
- package/{esm2020 → esm2022}/lib/helpers/word-form.mjs +10 -10
- package/{esm2020 → esm2022}/lib/models/index.mjs +2 -2
- package/esm2022/lib/models/input-file/input-file.model.mjs +2 -0
- package/{esm2020 → esm2022}/lib/models/typed-input-model.mjs +1 -1
- package/{esm2020 → esm2022}/lib/pipes/currency/currency.module.mjs +20 -20
- package/esm2022/lib/pipes/currency/currency.pipe.mjs +22 -0
- package/{esm2020 → esm2022}/lib/pipes/date/date-format.module.mjs +19 -19
- package/esm2022/lib/pipes/date/date-format.pipe.mjs +21 -0
- package/esm2022/lib/pipes/date/date-time-format.pipe.mjs +21 -0
- package/{esm2020 → esm2022}/lib/pipes/date/enums/timezone.mjs +9 -9
- package/{esm2020 → esm2022}/lib/pipes/date/helpers/change-timezone.mjs +22 -22
- package/{esm2020 → esm2022}/lib/pipes/phone/phone-format.module.mjs +18 -18
- package/esm2022/lib/pipes/phone/phone-format.pipe.mjs +23 -0
- package/{esm2020 → esm2022}/lib/pipes/safe/safe.module.mjs +20 -20
- package/esm2022/lib/pipes/safe/safe.pipe.mjs +21 -0
- package/{esm2020 → esm2022}/lib/pipes/truncate/truncate.module.mjs +20 -20
- package/esm2022/lib/pipes/truncate/truncate.pipe.mjs +23 -0
- package/esm2022/lib/services/file-upload/file-upload.service.mjs +28 -0
- package/esm2022/lib/services/index.mjs +11 -0
- package/esm2022/lib/services/modal-service/components/alert-modal/alert-modal.component.mjs +44 -0
- package/esm2022/lib/services/modal-service/components/confirm-modal/confirm-modal.component.mjs +48 -0
- package/esm2022/lib/services/modal-service/helpers/index.mjs +5 -0
- package/esm2022/lib/services/modal-service/helpers/modal-default-config.mjs +14 -0
- package/esm2022/lib/services/modal-service/helpers/modal-ref.mjs +29 -0
- package/esm2022/lib/services/modal-service/helpers/modal-tokens.mjs +4 -0
- package/esm2022/lib/services/modal-service/helpers/modal.component.mjs +4 -0
- package/esm2022/lib/services/modal-service/modal-service.module.mjs +25 -0
- package/esm2022/lib/services/modal-service/modal-service.service.mjs +84 -0
- package/esm2022/lib/services/modal-service/models/modal-config.model.mjs +2 -0
- package/esm2022/lib/services/mrx-autosave/mrx-autosave.service.mjs +43 -0
- package/esm2022/lib/services/mrx-form-validator/mrx-form-validator.mjs +283 -0
- package/{esm2020 → esm2022}/lib/services/save-store/constants/constants.mjs +1 -1
- package/{esm2020 → esm2022}/lib/services/save-store/models/save-store.model.mjs +1 -1
- package/{esm2020 → esm2022}/lib/services/save-store/save-store.module.mjs +29 -29
- package/{esm2020 → esm2022}/lib/services/save-store/store/actions.mjs +22 -22
- package/esm2022/lib/services/save-store/store/effect.mjs +61 -0
- package/esm2022/lib/services/save-store/store/reducer.mjs +96 -0
- package/{esm2020 → esm2022}/lib/services/save-store/store/selectors.mjs +4 -4
- package/{esm2020 → esm2022}/lib/services/save-store/store/state.mjs +3 -3
- package/{esm2020 → esm2022}/myrta-ui.mjs +4 -4
- package/esm2022/public-api.mjs +176 -0
- package/fesm2022/myrta-ui.mjs +15470 -0
- package/fesm2022/myrta-ui.mjs.map +1 -0
- package/index.d.ts +5 -5
- package/lib/components/alert/alert.component.d.ts +17 -17
- package/lib/components/alert/alert.enum.d.ts +13 -13
- package/lib/components/alert/alert.module.d.ts +8 -8
- package/lib/components/badges/badge.enum.d.ts +38 -38
- package/lib/components/badges/badges.module.d.ts +9 -9
- package/lib/components/badges/components/badge/badge.component.d.ts +21 -21
- package/lib/components/badges/components/badge-group/badge-group.component.d.ts +5 -5
- package/lib/components/breadcrumbs/breadcrumbs.component.d.ts +11 -11
- package/lib/components/breadcrumbs/breadcrumbs.enum.d.ts +11 -11
- package/lib/components/breadcrumbs/breadcrumbs.module.d.ts +8 -8
- package/lib/components/button/button.component.d.ts +31 -31
- package/lib/components/button/button.enum.d.ts +27 -29
- package/lib/components/button/button.module.d.ts +10 -10
- package/lib/components/cdk-tooltip/cdk-tooltip/tooltip-container.component.d.ts +13 -13
- package/lib/components/cdk-tooltip/cdk-tooltip.directive.d.ts +24 -24
- package/lib/components/cdk-tooltip/cdk-tooltip.module.d.ts +10 -10
- package/lib/components/cdk-tooltip/constants/index.d.ts +7 -7
- package/lib/components/cdk-tooltip/models/tooltip-data.d.ts +6 -6
- package/lib/components/chars-left/chars-left.component.d.ts +9 -10
- package/lib/components/chars-left/chars-left.module.d.ts +8 -8
- package/lib/components/dropdown/directives/hide-after-click.directive.d.ts +9 -9
- package/lib/components/dropdown/dropdown.component.d.ts +26 -26
- package/lib/components/dropdown/dropdown.module.d.ts +10 -10
- package/lib/components/error-message/error-message.component.d.ts +10 -10
- package/lib/components/error-message/error-message.module.d.ts +8 -8
- package/lib/components/form/checkbox/checkbox.component.d.ts +48 -46
- package/lib/components/form/checkbox/checkbox.enum.d.ts +14 -10
- package/lib/components/form/checkbox/checkbox.module.d.ts +11 -11
- package/lib/components/form/checkbox-group/checkbox-group.component.d.ts +54 -56
- package/lib/components/form/checkbox-group/checkbox-group.module.d.ts +16 -16
- package/lib/components/form/checkbox-group/components/checkbox-group-header/checkbox-group-header.component.d.ts +19 -19
- package/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.d.ts +26 -29
- package/lib/components/form/checkbox-group/helpers/change-group-value.d.ts +3 -3
- package/lib/components/form/checkbox-group/helpers/change-item-value.d.ts +3 -3
- package/lib/components/form/checkbox-group/helpers/filter-search-group.d.ts +2 -2
- package/lib/components/form/checkbox-group/helpers/get-checked-items.d.ts +2 -2
- package/lib/components/form/checkbox-group/helpers/get-item-by-id.d.ts +2 -2
- package/lib/components/form/checkbox-group/helpers/get-sorted-list.d.ts +2 -2
- package/lib/components/form/checkbox-group/models/checkbox-group.model.d.ts +15 -15
- package/lib/components/form/editor/config/default-inline-style.d.ts +11 -11
- package/lib/components/form/editor/config/index.d.ts +1 -1
- package/lib/components/form/editor/config/popups-toolbar.d.ts +15 -15
- package/lib/components/form/editor/config/toolbar.d.ts +2 -2
- package/lib/components/form/editor/editor.component.d.ts +65 -57
- package/lib/components/form/editor/editor.enum.d.ts +5 -5
- package/lib/components/form/editor/editor.module.d.ts +14 -14
- package/lib/components/form/editor/models/toolbar.model.d.ts +6 -6
- package/lib/components/form/editor/modules/change-icon-module.d.ts +1 -1
- package/lib/components/form/input-date-time/constants/value-models.d.ts +3 -3
- package/lib/components/form/input-date-time/enum/timezone.d.ts +6 -6
- package/lib/components/form/input-date-time/helpers/clean-date.d.ts +1 -1
- package/lib/components/form/input-date-time/helpers/cursor-position.d.ts +1 -1
- package/lib/components/form/input-date-time/helpers/formatting-from-models.d.ts +3 -3
- package/lib/components/form/input-date-time/helpers/formatting-moscow-timezone.d.ts +2 -2
- package/lib/components/form/input-date-time/helpers/validate-value-models.d.ts +19 -19
- package/lib/components/form/input-date-time/helpers/value-parser.d.ts +4 -4
- package/lib/components/form/input-date-time/input-date-time.component.d.ts +72 -76
- package/lib/components/form/input-date-time/input-date-time.enum.d.ts +21 -21
- package/lib/components/form/input-date-time/input-date-time.module.d.ts +13 -13
- package/lib/components/form/input-datepicker/constants/value-models.d.ts +3 -3
- package/lib/components/form/input-datepicker/helpers/clean-date.d.ts +1 -1
- package/lib/components/form/input-datepicker/helpers/cursor-position.d.ts +1 -1
- package/lib/components/form/input-datepicker/helpers/get-date-dayjs-object.d.ts +3 -3
- package/lib/components/form/input-datepicker/helpers/get-date-object.d.ts +2 -2
- package/lib/components/form/input-datepicker/helpers/validate-value-models.d.ts +20 -20
- package/lib/components/form/input-datepicker/helpers/value-parser.d.ts +3 -3
- package/lib/components/form/input-datepicker/input-datepicker.component.d.ts +69 -70
- package/lib/components/form/input-datepicker/input-datepicker.enum.d.ts +12 -12
- package/lib/components/form/input-datepicker/input-datepicker.module.d.ts +13 -13
- package/lib/components/form/input-file/enums/error-messages.enum.d.ts +6 -6
- package/lib/components/form/input-file/input-file.component.d.ts +74 -72
- package/lib/components/form/input-file/input-file.enum.d.ts +7 -7
- package/lib/components/form/input-file/input-file.module.d.ts +13 -13
- package/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.d.ts +43 -39
- package/lib/components/form/input-file-image/input-file-image.component.d.ts +57 -61
- package/lib/components/form/input-file-image/input-file-image.enum.d.ts +8 -8
- package/lib/components/form/input-file-image/input-file-image.module.d.ts +15 -16
- package/lib/components/form/input-number/input-number.component.d.ts +64 -69
- package/lib/components/form/input-number/input-number.enum.d.ts +12 -12
- package/lib/components/form/input-number/input-number.module.d.ts +13 -13
- package/lib/components/form/input-opt/components/input-opt/input-opt.component.d.ts +77 -77
- package/lib/components/form/input-opt/components/input-opt/input-opt.enum.d.ts +7 -7
- package/lib/components/form/input-opt/directives/opt-pattern.directive.d.ts +8 -8
- package/lib/components/form/input-opt/input-opt.module.d.ts +11 -11
- package/lib/components/form/input-opt/models/input-opt.model.d.ts +26 -26
- package/lib/components/form/input-opt/services/input-opt.service.d.ts +11 -11
- package/lib/components/form/input-password/input-password.component.d.ts +38 -43
- package/lib/components/form/input-password/input-password.enum.d.ts +7 -11
- package/lib/components/form/input-password/input-password.module.d.ts +11 -13
- package/lib/components/form/input-phone/data/country-code.d.ts +6 -6
- package/lib/components/form/input-phone/directives/native-element-injector.directive.d.ts +11 -11
- package/lib/components/form/input-phone/enums/country-iso.enum.d.ts +245 -245
- package/lib/components/form/input-phone/enums/input-phone.enum.d.ts +11 -11
- package/lib/components/form/input-phone/enums/mask.enum.d.ts +8 -8
- package/lib/components/form/input-phone/enums/phone-number-format.enum.d.ts +4 -4
- package/lib/components/form/input-phone/enums/search-country-field.enum.d.ts +6 -6
- package/lib/components/form/input-phone/input-phone.component.d.ts +132 -132
- package/lib/components/form/input-phone/input-phone.module.d.ts +14 -14
- package/lib/components/form/input-phone/input-phone.validator.d.ts +5 -5
- package/lib/components/form/input-phone/interfaces/change-data.d.ts +9 -9
- package/lib/components/form/input-phone/models/country.model.d.ts +13 -13
- package/lib/components/form/input-search/input-search.component.d.ts +48 -52
- package/lib/components/form/input-search/input-search.enum.d.ts +6 -11
- package/lib/components/form/input-search/input-search.module.d.ts +12 -13
- package/lib/components/form/input-select/input-select.component.d.ts +94 -86
- package/lib/components/form/input-select/input-select.enum.d.ts +10 -10
- package/lib/components/form/input-select/input-select.module.d.ts +14 -14
- package/lib/components/form/input-tel/assets/base64.d.ts +3 -3
- package/lib/components/form/input-tel/data/all-countries.d.ts +1 -1
- package/lib/components/form/input-tel/data/country-iso.enum.d.ts +245 -245
- package/lib/components/form/input-tel/data/phone-number-format.enum.d.ts +5 -5
- package/lib/components/form/input-tel/data/search-country-field.enum.d.ts +6 -6
- package/lib/components/form/input-tel/directives/input-tel.directive.d.ts +21 -21
- package/lib/components/form/input-tel/enums/input-phone.enum.d.ts +11 -11
- package/lib/components/form/input-tel/input-tel.component.d.ts +89 -89
- package/lib/components/form/input-tel/input-tel.module.d.ts +13 -14
- package/lib/components/form/input-tel/models/country.model.d.ts +18 -18
- package/lib/components/form/input-text/input-text.component.d.ts +54 -57
- package/lib/components/form/input-text/input-text.enum.d.ts +19 -19
- package/lib/components/form/input-text/input-text.module.d.ts +14 -14
- package/lib/components/form/input-textarea/input-textarea.component.d.ts +54 -49
- package/lib/components/form/input-textarea/input-textarea.enum.d.ts +11 -11
- package/lib/components/form/input-textarea/input-textarea.module.d.ts +14 -14
- package/lib/components/form/input-timepicker/constants/value-models.d.ts +2 -2
- package/lib/components/form/input-timepicker/helpers/clean-date.d.ts +1 -1
- package/lib/components/form/input-timepicker/helpers/cursor-position.d.ts +1 -1
- package/lib/components/form/input-timepicker/helpers/get-date-dayjs-object.d.ts +3 -3
- package/lib/components/form/input-timepicker/helpers/get-date-object.d.ts +2 -2
- package/lib/components/form/input-timepicker/helpers/validate-value-models.d.ts +10 -10
- package/lib/components/form/input-timepicker/helpers/value-parser.d.ts +2 -2
- package/lib/components/form/input-timepicker/input-timepicker.component.d.ts +60 -60
- package/lib/components/form/input-timepicker/input-timepicker.enum.d.ts +11 -11
- package/lib/components/form/input-timepicker/input-timepicker.module.d.ts +13 -13
- package/lib/components/form/radio/radio.component.d.ts +29 -29
- package/lib/components/form/radio/radio.enum.d.ts +4 -4
- package/lib/components/form/radio/radio.module.d.ts +9 -9
- package/lib/components/form/radio-group/components/radio-group-header/radio-group-header.component.d.ts +18 -20
- package/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.d.ts +26 -28
- package/lib/components/form/radio-group/helpers/filter-search-group.d.ts +2 -2
- package/lib/components/form/radio-group/helpers/get-item-by-id.d.ts +2 -2
- package/lib/components/form/radio-group/helpers/move-selected-to-first.d.ts +2 -2
- package/lib/components/form/radio-group/models/radio-group.model.d.ts +8 -12
- package/lib/components/form/radio-group/radio-group.component.d.ts +57 -60
- package/lib/components/form/radio-group/radio-group.module.d.ts +15 -16
- package/lib/components/form/rating/rating.component.d.ts +51 -51
- package/lib/components/form/rating/rating.enum.d.ts +27 -27
- package/lib/components/form/rating/rating.module.d.ts +9 -9
- package/lib/components/form/switch/switch.component.d.ts +32 -32
- package/lib/components/form/switch/switch.enum.d.ts +15 -15
- package/lib/components/form/switch/switch.module.d.ts +10 -10
- package/lib/components/gallery/components/gallery-confirm-modal/gallery-confirm-modal.component.d.ts +20 -17
- package/lib/components/gallery/components/gallery-item/gallery-item.component.d.ts +38 -38
- package/lib/components/gallery/constants/custom-buttons-default.d.ts +3 -3
- package/lib/components/gallery/constants/thumbs-config-default.d.ts +2 -2
- package/lib/components/gallery/gallery.component.d.ts +38 -38
- package/lib/components/gallery/gallery.module.d.ts +16 -16
- package/lib/components/gallery/models/gallery-item.model.d.ts +24 -24
- package/lib/components/gallery/services/gallery.service.d.ts +14 -14
- package/lib/components/hint-error-message/hint-error-message.component.d.ts +21 -21
- package/lib/components/hint-error-message/hint-error-message.module.d.ts +8 -8
- package/lib/components/icon-button/icon-button.component.d.ts +19 -19
- package/lib/components/icon-button/icon-button.enum.d.ts +15 -15
- package/lib/components/icon-button/icon-button.module.d.ts +9 -9
- package/lib/components/label/label.component.d.ts +44 -44
- package/lib/components/label/label.module.d.ts +14 -14
- package/lib/components/link/link.component.d.ts +18 -18
- package/lib/components/link/link.enum.d.ts +19 -19
- package/lib/components/link/link.module.d.ts +8 -8
- package/lib/components/loader/loader.component.d.ts +10 -10
- package/lib/components/loader/loader.enum.d.ts +19 -19
- package/lib/components/loader/loader.module.d.ts +8 -8
- package/lib/components/modal/modal.component.d.ts +36 -37
- package/lib/components/modal/modal.emun.d.ts +20 -20
- package/lib/components/modal/modal.module.d.ts +9 -9
- package/lib/components/pages-nav/pages-nav.component.d.ts +12 -12
- package/lib/components/pages-nav/pages-nav.enum.d.ts +5 -5
- package/lib/components/pages-nav/pages-nav.module.d.ts +8 -8
- package/lib/components/paginator/paginator.component.d.ts +29 -31
- package/lib/components/paginator/paginator.enum.d.ts +10 -10
- package/lib/components/paginator/paginator.module.d.ts +10 -10
- package/lib/components/progress/progress.component.d.ts +10 -10
- package/lib/components/progress/progress.enum.d.ts +7 -7
- package/lib/components/progress/progress.module.d.ts +8 -8
- package/lib/components/save-state/components/save-state-checkbox/save-state-checkbox.component.d.ts +8 -8
- package/lib/components/save-state/components/save-state-checkbox-group/save-state-checkbox-group.component.d.ts +8 -8
- package/lib/components/save-state/components/save-state-editor/save-state-editor.component.d.ts +8 -8
- package/lib/components/save-state/components/save-state-input/save-state-input.component.d.ts +8 -8
- package/lib/components/save-state/components/save-state-switch/save-state-switch.component.d.ts +8 -8
- package/lib/components/save-state/save-state.component.d.ts +13 -13
- package/lib/components/save-state/save-state.enum.d.ts +1 -1
- package/lib/components/save-state/save-state.module.d.ts +13 -13
- package/lib/components/stepper/stepper.component.d.ts +17 -17
- package/lib/components/stepper/stepper.enum.d.ts +5 -5
- package/lib/components/stepper/stepper.module.d.ts +9 -9
- package/lib/components/table/components/column/column.component.d.ts +14 -14
- package/lib/components/table/default/default-pager-settings.d.ts +2 -2
- package/lib/components/table/models/data-state-change.event.d.ts +15 -15
- package/lib/components/table/models/index.d.ts +3 -3
- package/lib/components/table/models/pager-settings.d.ts +22 -22
- package/lib/components/table/table.component.d.ts +55 -55
- package/lib/components/table/table.enum.d.ts +32 -32
- package/lib/components/table/table.module.d.ts +14 -14
- package/lib/components/tabs/tab/tab.component.d.ts +13 -13
- package/lib/components/tabs/tabs-group/tabs-group.component.d.ts +11 -11
- package/lib/components/tabs/tabs.enum.d.ts +11 -11
- package/lib/components/tabs/tabs.module.d.ts +9 -9
- package/lib/components/tooltip/services/tooltip.service.d.ts +18 -18
- package/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.d.ts +15 -15
- package/lib/components/tooltip/tooltip-trigger/tooltip-trigger.enum.d.ts +10 -10
- package/lib/components/tooltip/tooltip.component.d.ts +18 -18
- package/lib/components/tooltip/tooltip.enum.d.ts +4 -4
- package/lib/components/tooltip/tooltip.module.d.ts +10 -10
- package/lib/components/truncate-text/directives/truncate-text.directive.d.ts +37 -37
- package/lib/components/truncate-text/truncate-text.component.d.ts +12 -12
- package/lib/components/truncate-text/truncate-text.enum.d.ts +2 -2
- package/lib/components/truncate-text/truncate-text.module.d.ts +10 -10
- package/lib/components/warning-message/warning-message.component.d.ts +9 -9
- package/lib/components/warning-message/warning-message.module.d.ts +8 -8
- package/lib/components/wrappers/content-wrapper/content-wrapper.component.d.ts +10 -10
- package/lib/components/wrappers/content-wrapper/content-wrapper.enum.d.ts +5 -5
- package/lib/components/wrappers/content-wrapper/content-wrapper.module.d.ts +8 -8
- package/lib/components/wrappers/controls-wrapper/components/controls-item/controls-item.component.d.ts +6 -6
- package/lib/components/wrappers/controls-wrapper/controls-wrapper.component.d.ts +10 -10
- package/lib/components/wrappers/controls-wrapper/controls-wrapper.enum.d.ts +6 -6
- package/lib/components/wrappers/controls-wrapper/controls-wrapper.module.d.ts +9 -9
- package/lib/components/wrappers/widget-wrapper/widget-wrapper.component.d.ts +26 -26
- package/lib/components/wrappers/widget-wrapper/widget-wrapper.enum.d.ts +15 -15
- package/lib/components/wrappers/widget-wrapper/widget-wrapper.module.d.ts +8 -8
- package/lib/directives/autosize/autosize.directive.d.ts +16 -16
- package/lib/directives/autosize/autosize.module.d.ts +8 -8
- package/lib/directives/truncate/truncate.directive.d.ts +12 -12
- package/lib/directives/truncate/truncate.module.d.ts +8 -8
- package/lib/enums/typed.input.state.d.ts +6 -6
- package/lib/helpers/extension/input-file.extension.d.ts +4 -4
- package/lib/helpers/formatting-date.d.ts +9 -9
- package/lib/helpers/formatting-dates-from-array.d.ts +2 -2
- package/lib/helpers/formatting-iso-to-string.d.ts +2 -2
- package/lib/helpers/index.d.ts +7 -7
- package/lib/helpers/number-format.d.ts +6 -6
- package/lib/helpers/string-hash-code.d.ts +2 -2
- package/lib/helpers/word-form.d.ts +7 -7
- package/lib/models/index.d.ts +2 -2
- package/lib/models/input-file/input-file.model.d.ts +23 -22
- package/lib/models/typed-input-model.d.ts +16 -16
- package/lib/pipes/currency/currency.module.d.ts +8 -8
- package/lib/pipes/currency/currency.pipe.d.ts +7 -7
- package/lib/pipes/date/date-format.module.d.ts +9 -9
- package/lib/pipes/date/date-format.pipe.d.ts +9 -9
- package/lib/pipes/date/date-time-format.pipe.d.ts +9 -9
- package/lib/pipes/date/enums/timezone.d.ts +8 -8
- package/lib/pipes/date/helpers/change-timezone.d.ts +2 -2
- package/lib/pipes/phone/phone-format.module.d.ts +8 -8
- package/lib/pipes/phone/phone-format.pipe.d.ts +8 -8
- package/lib/pipes/safe/safe.module.d.ts +8 -8
- package/lib/pipes/safe/safe.pipe.d.ts +10 -10
- package/lib/pipes/truncate/truncate.module.d.ts +8 -8
- package/lib/pipes/truncate/truncate.pipe.d.ts +7 -7
- package/lib/services/file-upload/file-upload.service.d.ts +12 -12
- package/lib/services/index.d.ts +10 -7
- package/lib/services/modal-service/components/alert-modal/alert-modal.component.d.ts +19 -0
- package/lib/services/modal-service/components/confirm-modal/confirm-modal.component.d.ts +20 -0
- package/lib/services/modal-service/helpers/index.d.ts +4 -0
- package/lib/services/modal-service/helpers/modal-default-config.d.ts +3 -0
- package/lib/services/modal-service/helpers/modal-ref.d.ts +11 -0
- package/lib/services/modal-service/helpers/modal-tokens.d.ts +3 -0
- package/lib/services/modal-service/helpers/modal.component.d.ts +3 -0
- package/lib/services/modal-service/modal-service.module.d.ts +9 -0
- package/lib/services/modal-service/modal-service.service.d.ts +20 -0
- package/lib/services/modal-service/models/modal-config.model.d.ts +14 -0
- package/lib/services/mrx-autosave/mrx-autosave.service.d.ts +19 -19
- package/lib/services/mrx-form-validator/mrx-form-validator.d.ts +51 -23
- package/lib/services/save-store/constants/constants.d.ts +1 -1
- package/lib/services/save-store/models/save-store.model.d.ts +4 -4
- package/lib/services/save-store/save-store.module.d.ts +9 -9
- package/lib/services/save-store/store/actions.d.ts +21 -21
- package/lib/services/save-store/store/effect.d.ts +10 -16
- package/lib/services/save-store/store/reducer.d.ts +3 -3
- package/lib/services/save-store/store/selectors.d.ts +3 -3
- package/lib/services/save-store/store/state.d.ts +11 -11
- package/package.json +27 -37
- package/public-api.d.ts +162 -176
- package/esm2020/lib/components/alert/alert.component.mjs +0 -45
- package/esm2020/lib/components/badges/components/badge/badge.component.mjs +0 -61
- package/esm2020/lib/components/breadcrumbs/breadcrumbs.component.mjs +0 -29
- package/esm2020/lib/components/button/button.component.mjs +0 -102
- package/esm2020/lib/components/button/button.enum.mjs +0 -29
- package/esm2020/lib/components/cdk-tooltip/cdk-tooltip/tooltip-container.component.mjs +0 -28
- package/esm2020/lib/components/cdk-tooltip/cdk-tooltip.directive.mjs +0 -95
- package/esm2020/lib/components/chars-left/chars-left.component.mjs +0 -29
- package/esm2020/lib/components/context-menu/components/context-menu/context-menu.component.mjs +0 -99
- package/esm2020/lib/components/context-menu/components/context-menu-content/context-menu-content.component.mjs +0 -324
- package/esm2020/lib/components/context-menu/context-menu.module.mjs +0 -51
- package/esm2020/lib/components/context-menu/context-menu.options.mjs +0 -2
- package/esm2020/lib/components/context-menu/context-menu.tokens.mjs +0 -3
- package/esm2020/lib/components/context-menu/directives/context-menu/context-menu.directive.mjs +0 -36
- package/esm2020/lib/components/context-menu/directives/context-menu-item/context-menu-item.directive.mjs +0 -61
- package/esm2020/lib/components/context-menu/models/context-menu.enum.mjs +0 -2
- package/esm2020/lib/components/context-menu/services/context-menu/context-menu-fixed.service.mjs +0 -103
- package/esm2020/lib/components/context-menu/services/context-menu/context-menu.service.mjs +0 -223
- package/esm2020/lib/components/dropdown/directives/hide-after-click.directive.mjs +0 -23
- package/esm2020/lib/components/dropdown/dropdown.component.mjs +0 -104
- package/esm2020/lib/components/error-message/error-message.component.mjs +0 -34
- package/esm2020/lib/components/form/checkbox/checkbox.component.mjs +0 -143
- package/esm2020/lib/components/form/checkbox/checkbox.enum.mjs +0 -2
- package/esm2020/lib/components/form/checkbox-group/checkbox-group.component.mjs +0 -184
- package/esm2020/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.mjs +0 -112
- package/esm2020/lib/components/form/checkbox-group/helpers/change-group-value.mjs +0 -20
- package/esm2020/lib/components/form/checkbox-group/helpers/change-item-value.mjs +0 -15
- package/esm2020/lib/components/form/checkbox-group/helpers/filter-search-group.mjs +0 -27
- package/esm2020/lib/components/form/checkbox-group/helpers/get-checked-items.mjs +0 -20
- package/esm2020/lib/components/form/checkbox-group/helpers/get-sorted-list.mjs +0 -50
- package/esm2020/lib/components/form/document-editor/components/document-editor-preview-modal/document-editor-preview-modal.component.mjs +0 -33
- package/esm2020/lib/components/form/document-editor/document-editor.component.mjs +0 -105
- package/esm2020/lib/components/form/document-editor/document-editor.module.mjs +0 -42
- package/esm2020/lib/components/form/document-editor/helpers/transform-sysname.mjs +0 -41
- package/esm2020/lib/components/form/document-editor/models/document-editor-short-codes.enum.mjs +0 -2
- package/esm2020/lib/components/form/editor/editor.component.mjs +0 -264
- package/esm2020/lib/components/form/editor/editor.module.mjs +0 -45
- package/esm2020/lib/components/form/editor/modules/change-icon-module.mjs +0 -92
- package/esm2020/lib/components/form/input-date-time/helpers/cursor-position.mjs +0 -23
- package/esm2020/lib/components/form/input-date-time/helpers/formatting-from-models.mjs +0 -10
- package/esm2020/lib/components/form/input-date-time/input-date-time.component.mjs +0 -413
- package/esm2020/lib/components/form/input-date-time/input-date-time.module.mjs +0 -46
- package/esm2020/lib/components/form/input-datepicker/helpers/cursor-position.mjs +0 -23
- package/esm2020/lib/components/form/input-datepicker/helpers/get-date-dayjs-object.mjs +0 -10
- package/esm2020/lib/components/form/input-datepicker/helpers/get-date-object.mjs +0 -10
- package/esm2020/lib/components/form/input-datepicker/input-datepicker.component.mjs +0 -359
- package/esm2020/lib/components/form/input-datepicker/input-datepicker.module.mjs +0 -46
- package/esm2020/lib/components/form/input-file/input-file.component.mjs +0 -363
- package/esm2020/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.mjs +0 -66
- package/esm2020/lib/components/form/input-file-image/input-file-image.component.mjs +0 -350
- package/esm2020/lib/components/form/input-file-image/input-file-image.module.mjs +0 -58
- package/esm2020/lib/components/form/input-number/input-number.component.mjs +0 -265
- package/esm2020/lib/components/form/input-number/input-number.module.mjs +0 -55
- package/esm2020/lib/components/form/input-opt/components/input-opt/input-opt.component.mjs +0 -361
- package/esm2020/lib/components/form/input-opt/directives/opt-pattern.directive.mjs +0 -44
- package/esm2020/lib/components/form/input-password/input-password.component.mjs +0 -133
- package/esm2020/lib/components/form/input-password/input-password.module.mjs +0 -44
- package/esm2020/lib/components/form/input-phone/data/country-code.mjs +0 -1333
- package/esm2020/lib/components/form/input-phone/directives/native-element-injector.directive.mjs +0 -33
- package/esm2020/lib/components/form/input-phone/input-phone.component.mjs +0 -671
- package/esm2020/lib/components/form/input-phone/input-phone.module.mjs +0 -50
- package/esm2020/lib/components/form/input-phone/input-phone.validator.mjs +0 -61
- package/esm2020/lib/components/form/input-search/input-search.component.mjs +0 -174
- package/esm2020/lib/components/form/input-search/input-search.module.mjs +0 -44
- package/esm2020/lib/components/form/input-select/input-select.component.mjs +0 -249
- package/esm2020/lib/components/form/input-tel/directives/input-tel.directive.mjs +0 -62
- package/esm2020/lib/components/form/input-tel/input-tel.component.mjs +0 -389
- package/esm2020/lib/components/form/input-tel/input-tel.module.mjs +0 -47
- package/esm2020/lib/components/form/input-text/input-text.component.mjs +0 -194
- package/esm2020/lib/components/form/input-text/input-text.module.mjs +0 -49
- package/esm2020/lib/components/form/input-textarea/input-textarea.component.mjs +0 -174
- package/esm2020/lib/components/form/input-textarea/input-textarea.module.mjs +0 -48
- package/esm2020/lib/components/form/input-timepicker/helpers/cursor-position.mjs +0 -14
- package/esm2020/lib/components/form/input-timepicker/input-timepicker.component.mjs +0 -290
- package/esm2020/lib/components/form/input-timepicker/input-timepicker.module.mjs +0 -46
- package/esm2020/lib/components/form/radio/radio.component.mjs +0 -91
- package/esm2020/lib/components/form/radio-group/components/radio-group-header/radio-group-header.component.mjs +0 -49
- package/esm2020/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.mjs +0 -69
- package/esm2020/lib/components/form/radio-group/helpers/filter-search-group.mjs +0 -27
- package/esm2020/lib/components/form/radio-group/helpers/move-selected-to-first.mjs +0 -27
- package/esm2020/lib/components/form/radio-group/radio-group.component.mjs +0 -185
- package/esm2020/lib/components/form/radio-group/radio-group.module.mjs +0 -47
- package/esm2020/lib/components/form/rating/rating.component.mjs +0 -217
- package/esm2020/lib/components/form/switch/switch.component.mjs +0 -97
- package/esm2020/lib/components/gallery/components/gallery-confirm-modal/gallery-confirm-modal.component.mjs +0 -22
- package/esm2020/lib/components/gallery/components/gallery-item/gallery-item.component.mjs +0 -102
- package/esm2020/lib/components/gallery/gallery.component.mjs +0 -197
- package/esm2020/lib/components/gallery/services/gallery.service.mjs +0 -31
- package/esm2020/lib/components/hint-error-message/hint-error-message.component.mjs +0 -123
- package/esm2020/lib/components/icon-button/icon-button.component.mjs +0 -51
- package/esm2020/lib/components/label/label.component.mjs +0 -141
- package/esm2020/lib/components/link/link.component.mjs +0 -50
- package/esm2020/lib/components/loader/loader.component.mjs +0 -26
- package/esm2020/lib/components/modal/modal.component.mjs +0 -146
- package/esm2020/lib/components/pages-nav/pages-nav.component.mjs +0 -33
- package/esm2020/lib/components/paginator/paginator.component.mjs +0 -152
- package/esm2020/lib/components/paginator/paginator.module.mjs +0 -31
- package/esm2020/lib/components/progress/progress.component.mjs +0 -26
- package/esm2020/lib/components/save-state/components/save-state-checkbox/save-state-checkbox.component.mjs +0 -15
- package/esm2020/lib/components/save-state/components/save-state-checkbox-group/save-state-checkbox-group.component.mjs +0 -15
- package/esm2020/lib/components/save-state/components/save-state-editor/save-state-editor.component.mjs +0 -15
- package/esm2020/lib/components/save-state/components/save-state-input/save-state-input.component.mjs +0 -15
- package/esm2020/lib/components/save-state/components/save-state-switch/save-state-switch.component.mjs +0 -15
- package/esm2020/lib/components/save-state/save-state.component.mjs +0 -39
- package/esm2020/lib/components/stepper/stepper.component.mjs +0 -54
- package/esm2020/lib/components/table/components/column/column.component.mjs +0 -40
- package/esm2020/lib/components/table/table.component.mjs +0 -274
- package/esm2020/lib/components/tabs/tab/tab.component.mjs +0 -31
- package/esm2020/lib/components/tabs/tabs-group/tabs-group.component.mjs +0 -29
- package/esm2020/lib/components/tooltip/services/tooltip.service.mjs +0 -67
- package/esm2020/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.mjs +0 -38
- package/esm2020/lib/components/tooltip/tooltip.component.mjs +0 -60
- package/esm2020/lib/components/truncate-text/truncate-text.component.mjs +0 -30
- package/esm2020/lib/components/warning-message/warning-message.component.mjs +0 -31
- package/esm2020/lib/components/wrappers/content-wrapper/content-wrapper.component.mjs +0 -26
- package/esm2020/lib/components/wrappers/controls-wrapper/components/controls-item/controls-item.component.mjs +0 -17
- package/esm2020/lib/components/wrappers/controls-wrapper/controls-wrapper.component.mjs +0 -24
- package/esm2020/lib/components/wrappers/widget-wrapper/widget-wrapper.component.mjs +0 -96
- package/esm2020/lib/directives/autosize/autosize.directive.mjs +0 -55
- package/esm2020/lib/directives/truncate/truncate.directive.mjs +0 -32
- package/esm2020/lib/helpers/extension/input-file.extension.mjs +0 -39
- package/esm2020/lib/helpers/formatting-date.mjs +0 -51
- package/esm2020/lib/helpers/string-hash-code.mjs +0 -17
- package/esm2020/lib/models/input-file/input-file.model.mjs +0 -2
- package/esm2020/lib/pipes/currency/currency.pipe.mjs +0 -22
- package/esm2020/lib/pipes/date/date-format.pipe.mjs +0 -21
- package/esm2020/lib/pipes/date/date-time-format.pipe.mjs +0 -21
- package/esm2020/lib/pipes/phone/phone-format.pipe.mjs +0 -23
- package/esm2020/lib/pipes/safe/safe.pipe.mjs +0 -20
- package/esm2020/lib/pipes/truncate/truncate.pipe.mjs +0 -23
- package/esm2020/lib/services/file-upload/file-upload.service.mjs +0 -26
- package/esm2020/lib/services/index.mjs +0 -8
- package/esm2020/lib/services/mrx-autosave/mrx-autosave.service.mjs +0 -44
- package/esm2020/lib/services/mrx-form-validator/constants/invalid-messages.mjs +0 -10
- package/esm2020/lib/services/mrx-form-validator/helpers/get-error-message.helper.mjs +0 -10
- package/esm2020/lib/services/mrx-form-validator/helpers/get-sorting-validations.helper.mjs +0 -28
- package/esm2020/lib/services/mrx-form-validator/models/index.mjs +0 -4
- package/esm2020/lib/services/mrx-form-validator/models/validations-options.model.mjs +0 -2
- package/esm2020/lib/services/mrx-form-validator/models/validations-settings.model.mjs +0 -2
- package/esm2020/lib/services/mrx-form-validator/models/validations-types.model.mjs +0 -22
- package/esm2020/lib/services/mrx-form-validator/mrx-form-validator.mjs +0 -207
- package/esm2020/lib/services/mrx-form-validator/validations/callback.validation.mjs +0 -15
- package/esm2020/lib/services/mrx-form-validator/validations/email.validation.mjs +0 -11
- package/esm2020/lib/services/mrx-form-validator/validations/max-length.validation.mjs +0 -10
- package/esm2020/lib/services/mrx-form-validator/validations/max-value.validation.mjs +0 -10
- package/esm2020/lib/services/mrx-form-validator/validations/min-length.validation.mjs +0 -11
- package/esm2020/lib/services/mrx-form-validator/validations/min-value.validation.mjs +0 -10
- package/esm2020/lib/services/mrx-form-validator/validations/pattern.validation.mjs +0 -11
- package/esm2020/lib/services/mrx-form-validator/validations/required.validation.mjs +0 -22
- package/esm2020/lib/services/save-store/store/effect.mjs +0 -31
- package/esm2020/lib/services/save-store/store/reducer.mjs +0 -79
- package/esm2020/public-api.mjs +0 -186
- package/fesm2015/myrta-ui.mjs +0 -16283
- package/fesm2015/myrta-ui.mjs.map +0 -1
- package/fesm2020/myrta-ui.mjs +0 -16319
- package/fesm2020/myrta-ui.mjs.map +0 -1
- package/lib/components/context-menu/components/context-menu/context-menu.component.d.ts +0 -34
- package/lib/components/context-menu/components/context-menu-content/context-menu-content.component.d.ts +0 -62
- package/lib/components/context-menu/context-menu.module.d.ts +0 -15
- package/lib/components/context-menu/context-menu.options.d.ts +0 -4
- package/lib/components/context-menu/context-menu.tokens.d.ts +0 -2
- package/lib/components/context-menu/directives/context-menu/context-menu.directive.d.ts +0 -12
- package/lib/components/context-menu/directives/context-menu-item/context-menu-item.directive.d.ts +0 -30
- package/lib/components/context-menu/models/context-menu.enum.d.ts +0 -11
- package/lib/components/context-menu/services/context-menu/context-menu-fixed.service.d.ts +0 -11
- package/lib/components/context-menu/services/context-menu/context-menu.service.d.ts +0 -56
- package/lib/components/form/document-editor/components/document-editor-preview-modal/document-editor-preview-modal.component.d.ts +0 -22
- package/lib/components/form/document-editor/document-editor.component.d.ts +0 -37
- package/lib/components/form/document-editor/document-editor.module.d.ts +0 -13
- package/lib/components/form/document-editor/helpers/transform-sysname.d.ts +0 -5
- package/lib/components/form/document-editor/models/document-editor-short-codes.enum.d.ts +0 -6
- 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 -28
- 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/validations/callback.validation.d.ts +0 -6
- package/lib/services/mrx-form-validator/validations/email.validation.d.ts +0 -6
- package/lib/services/mrx-form-validator/validations/max-length.validation.d.ts +0 -6
- package/lib/services/mrx-form-validator/validations/max-value.validation.d.ts +0 -6
- package/lib/services/mrx-form-validator/validations/min-length.validation.d.ts +0 -6
- package/lib/services/mrx-form-validator/validations/min-value.validation.d.ts +0 -6
- package/lib/services/mrx-form-validator/validations/pattern.validation.d.ts +0 -6
- package/lib/services/mrx-form-validator/validations/required.validation.d.ts +0 -6
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, OnDestroy, QueryList } from '@angular/core';
|
|
2
|
-
import { ContextMenuItemDirective } from '../../directives/context-menu-item/context-menu-item.directive';
|
|
3
|
-
import { IContextMenuOptions } from '../../context-menu.options';
|
|
4
|
-
import { CloseContextMenuEvent, ContextMenuService, IContextMenuClickEvent } from '../../services/context-menu/context-menu.service';
|
|
5
|
-
import { ILinkConfig } from "../../models/context-menu.enum";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class ContextMenuComponent implements OnDestroy {
|
|
8
|
-
private contextMenuService;
|
|
9
|
-
private options;
|
|
10
|
-
menuClass: string;
|
|
11
|
-
autoFocus: boolean;
|
|
12
|
-
useBootstrap4: boolean;
|
|
13
|
-
disabled: boolean;
|
|
14
|
-
close: EventEmitter<CloseContextMenuEvent>;
|
|
15
|
-
open: EventEmitter<IContextMenuClickEvent>;
|
|
16
|
-
menuItems: QueryList<ContextMenuItemDirective>;
|
|
17
|
-
menuElement: ElementRef;
|
|
18
|
-
visibleMenuItems: ContextMenuItemDirective[];
|
|
19
|
-
links: ILinkConfig[];
|
|
20
|
-
item: any;
|
|
21
|
-
event?: MouseEvent | KeyboardEvent;
|
|
22
|
-
private subscription;
|
|
23
|
-
constructor(contextMenuService: ContextMenuService, options: IContextMenuOptions);
|
|
24
|
-
/**
|
|
25
|
-
* @internal
|
|
26
|
-
*/
|
|
27
|
-
ngOnDestroy(): void;
|
|
28
|
-
onMenuEvent(menuEvent: IContextMenuClickEvent): void;
|
|
29
|
-
isMenuItemVisible(menuItem: ContextMenuItemDirective): boolean;
|
|
30
|
-
setVisibleMenuItems(): void;
|
|
31
|
-
evaluateIfFunction(value: any): any;
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuComponent, [null, { optional: true; }]>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ContextMenuComponent, "context-menu", never, { "menuClass": "menuClass"; "autoFocus": "autoFocus"; "useBootstrap4": "useBootstrap4"; "disabled": "disabled"; }, { "close": "close"; "open": "open"; }, ["menuItems"], never, false>;
|
|
34
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { OverlayRef } from '@angular/cdk/overlay';
|
|
2
|
-
import { AfterViewInit, ElementRef, EventEmitter, OnDestroy, OnInit, QueryList } from '@angular/core';
|
|
3
|
-
import { IContextMenuOptions } from '../../context-menu.options';
|
|
4
|
-
import { ContextMenuItemDirective } from '../../directives/context-menu-item/context-menu-item.directive';
|
|
5
|
-
import { CloseLeafMenuEvent, IContextMenuClickEvent } from '../../services/context-menu/context-menu.service';
|
|
6
|
-
import { ILinkConfig } from "../../models/context-menu.enum";
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class ContextMenuContentComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
9
|
-
private options;
|
|
10
|
-
menuItems: ContextMenuItemDirective[];
|
|
11
|
-
item: any;
|
|
12
|
-
event: MouseEvent | KeyboardEvent;
|
|
13
|
-
parentContextMenu: ContextMenuContentComponent;
|
|
14
|
-
menuClass: string;
|
|
15
|
-
overlay: OverlayRef;
|
|
16
|
-
isLeaf: boolean;
|
|
17
|
-
execute: EventEmitter<{
|
|
18
|
-
event: MouseEvent | KeyboardEvent;
|
|
19
|
-
item: any;
|
|
20
|
-
menuItem: ContextMenuItemDirective;
|
|
21
|
-
}>;
|
|
22
|
-
openSubMenu: EventEmitter<IContextMenuClickEvent>;
|
|
23
|
-
closeLeafMenu: EventEmitter<CloseLeafMenuEvent>;
|
|
24
|
-
closeAllMenus: EventEmitter<{
|
|
25
|
-
event: MouseEvent;
|
|
26
|
-
}>;
|
|
27
|
-
menuElement: ElementRef;
|
|
28
|
-
menuItemElements: QueryList<ElementRef>;
|
|
29
|
-
autoFocus?: boolean;
|
|
30
|
-
useBootstrap4?: boolean;
|
|
31
|
-
private _keyManager;
|
|
32
|
-
private subscription;
|
|
33
|
-
constructor(options: IContextMenuOptions);
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
|
-
ngOnInit(): void;
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
|
-
ngAfterViewInit(): void;
|
|
42
|
-
/**
|
|
43
|
-
* @internal
|
|
44
|
-
*/
|
|
45
|
-
ngOnDestroy(): void;
|
|
46
|
-
focus(): void;
|
|
47
|
-
stopEvent(event: MouseEvent): void;
|
|
48
|
-
isMenuItemEnabled(menuItem: ContextMenuItemDirective): boolean;
|
|
49
|
-
isMenuItemVisible(menuItem: ContextMenuItemDirective): boolean;
|
|
50
|
-
evaluateIfFunction(value: any): any;
|
|
51
|
-
isDisabled(link: ILinkConfig): boolean;
|
|
52
|
-
onKeyEvent(event: KeyboardEvent): void;
|
|
53
|
-
keyboardOpenSubMenu(event: KeyboardEvent): void;
|
|
54
|
-
keyboardMenuItemSelect(event: KeyboardEvent): void;
|
|
55
|
-
onCloseLeafMenu(event: KeyboardEvent): void;
|
|
56
|
-
closeMenu(event: MouseEvent): void;
|
|
57
|
-
onOpenSubMenu(menuItem: ContextMenuItemDirective, event: MouseEvent | KeyboardEvent): void;
|
|
58
|
-
onMenuItemSelect(menuItem: ContextMenuItemDirective, event: MouseEvent | KeyboardEvent): void;
|
|
59
|
-
private cancelEvent;
|
|
60
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuContentComponent, [{ optional: true; }]>;
|
|
61
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ContextMenuContentComponent, "context-menu-content", never, { "menuItems": "menuItems"; "item": "item"; "event": "event"; "parentContextMenu": "parentContextMenu"; "menuClass": "menuClass"; "overlay": "overlay"; "isLeaf": "isLeaf"; }, { "execute": "execute"; "openSubMenu": "openSubMenu"; "closeLeafMenu": "closeLeafMenu"; "closeAllMenus": "closeAllMenus"; }, never, never, false>;
|
|
62
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import { IContextMenuOptions } from './context-menu.options';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "./directives/context-menu/context-menu.directive";
|
|
5
|
-
import * as i2 from "./components/context-menu/context-menu.component";
|
|
6
|
-
import * as i3 from "./components/context-menu-content/context-menu-content.component";
|
|
7
|
-
import * as i4 from "./directives/context-menu-item/context-menu-item.directive";
|
|
8
|
-
import * as i5 from "@angular/common";
|
|
9
|
-
import * as i6 from "@angular/cdk/overlay";
|
|
10
|
-
export declare class ContextMenuModule {
|
|
11
|
-
static forRoot(options?: IContextMenuOptions): ModuleWithProviders<ContextMenuModule>;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuModule, never>;
|
|
13
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ContextMenuModule, [typeof i1.ContextMenuAttachDirective, typeof i2.ContextMenuComponent, typeof i3.ContextMenuContentComponent, typeof i4.ContextMenuItemDirective], [typeof i5.CommonModule, typeof i6.OverlayModule], [typeof i1.ContextMenuAttachDirective, typeof i2.ContextMenuComponent, typeof i4.ContextMenuItemDirective]>;
|
|
14
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ContextMenuModule>;
|
|
15
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ContextMenuComponent } from '../../components/context-menu/context-menu.component';
|
|
2
|
-
import { ContextMenuService } from '../../services/context-menu/context-menu.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ContextMenuAttachDirective {
|
|
5
|
-
private contextMenuService;
|
|
6
|
-
contextMenuSubject: any;
|
|
7
|
-
contextMenu?: ContextMenuComponent;
|
|
8
|
-
constructor(contextMenuService: ContextMenuService);
|
|
9
|
-
onContextMenu(event: MouseEvent): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuAttachDirective, never>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ContextMenuAttachDirective, "[contextMenu]", never, { "contextMenuSubject": "contextMenuSubject"; "contextMenu": "contextMenu"; }, {}, never, never, false>;
|
|
12
|
-
}
|
package/lib/components/context-menu/directives/context-menu-item/context-menu-item.directive.d.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { Highlightable } from '@angular/cdk/a11y';
|
|
2
|
-
import { ElementRef, EventEmitter, TemplateRef } from '@angular/core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ContextMenuItemDirective implements Highlightable {
|
|
5
|
-
template: TemplateRef<{
|
|
6
|
-
item: any;
|
|
7
|
-
}>;
|
|
8
|
-
elementRef: ElementRef;
|
|
9
|
-
subMenu: any;
|
|
10
|
-
divider: boolean;
|
|
11
|
-
enabled: boolean | ((item: any) => boolean);
|
|
12
|
-
passive: boolean;
|
|
13
|
-
visible: boolean | ((item: any) => boolean);
|
|
14
|
-
execute: EventEmitter<{
|
|
15
|
-
event: MouseEvent | KeyboardEvent;
|
|
16
|
-
item: any;
|
|
17
|
-
}>;
|
|
18
|
-
currentItem: any;
|
|
19
|
-
isActive: boolean;
|
|
20
|
-
get disabled(): boolean;
|
|
21
|
-
constructor(template: TemplateRef<{
|
|
22
|
-
item: any;
|
|
23
|
-
}>, elementRef: ElementRef);
|
|
24
|
-
evaluateIfFunction(value: any, item: any): any;
|
|
25
|
-
setActiveStyles(): void;
|
|
26
|
-
setInactiveStyles(): void;
|
|
27
|
-
triggerExecute(item: any, $event: MouseEvent | KeyboardEvent): void;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuItemDirective, [{ optional: true; }, null]>;
|
|
29
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ContextMenuItemDirective, "[contextMenuItem]", never, { "subMenu": "subMenu"; "divider": "divider"; "enabled": "enabled"; "passive": "passive"; "visible": "visible"; }, { "execute": "execute"; }, never, never, false>;
|
|
30
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export interface ILinkConfig {
|
|
2
|
-
click: (item: any, $event?: MouseEvent) => void;
|
|
3
|
-
enabled?: (item: any) => boolean;
|
|
4
|
-
html: (item: any) => string;
|
|
5
|
-
}
|
|
6
|
-
export interface MouseLocation {
|
|
7
|
-
left?: string;
|
|
8
|
-
marginLeft?: string;
|
|
9
|
-
marginTop?: string;
|
|
10
|
-
top?: string;
|
|
11
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ScrollStrategyOptions, Overlay } from '@angular/cdk/overlay';
|
|
2
|
-
import { ContextMenuService, IContextMenuContext } from './context-menu.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ContextMenuFixedService extends ContextMenuService {
|
|
5
|
-
private overlayFix;
|
|
6
|
-
private scrollStrategyFix;
|
|
7
|
-
constructor(overlayFix: Overlay, scrollStrategyFix: ScrollStrategyOptions);
|
|
8
|
-
openContextMenu(context: IContextMenuContext): void;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuFixedService, never>;
|
|
10
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ContextMenuFixedService>;
|
|
11
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { Overlay, OverlayRef, ScrollStrategyOptions } from '@angular/cdk/overlay';
|
|
2
|
-
import { Subject } from 'rxjs';
|
|
3
|
-
import { ContextMenuContentComponent } from '../../components/context-menu-content/context-menu-content.component';
|
|
4
|
-
import { ContextMenuComponent } from '../../components/context-menu/context-menu.component';
|
|
5
|
-
import { ContextMenuItemDirective } from '../../directives/context-menu-item/context-menu-item.directive';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export interface IContextMenuClickEvent {
|
|
8
|
-
anchorElement?: Element | EventTarget;
|
|
9
|
-
contextMenu?: ContextMenuComponent;
|
|
10
|
-
event: MouseEvent | KeyboardEvent;
|
|
11
|
-
parentContextMenu?: ContextMenuContentComponent;
|
|
12
|
-
item: any;
|
|
13
|
-
activeMenuItemIndex?: number;
|
|
14
|
-
}
|
|
15
|
-
export interface IContextMenuContext extends IContextMenuClickEvent {
|
|
16
|
-
menuItems: ContextMenuItemDirective[];
|
|
17
|
-
menuClass: string;
|
|
18
|
-
}
|
|
19
|
-
export interface CloseLeafMenuEvent {
|
|
20
|
-
exceptRootMenu?: boolean;
|
|
21
|
-
event?: MouseEvent | KeyboardEvent;
|
|
22
|
-
}
|
|
23
|
-
export interface OverlayRefWithContextMenu extends OverlayRef {
|
|
24
|
-
contextMenu?: ContextMenuContentComponent;
|
|
25
|
-
}
|
|
26
|
-
export interface CancelContextMenuEvent {
|
|
27
|
-
eventType: 'cancel';
|
|
28
|
-
event?: MouseEvent | KeyboardEvent;
|
|
29
|
-
}
|
|
30
|
-
export interface ExecuteContextMenuEvent {
|
|
31
|
-
eventType: 'execute';
|
|
32
|
-
event?: MouseEvent | KeyboardEvent;
|
|
33
|
-
item: any;
|
|
34
|
-
menuItem: ContextMenuItemDirective;
|
|
35
|
-
}
|
|
36
|
-
export declare type CloseContextMenuEvent = ExecuteContextMenuEvent | CancelContextMenuEvent;
|
|
37
|
-
export declare class ContextMenuService {
|
|
38
|
-
private overlay;
|
|
39
|
-
private scrollStrategy;
|
|
40
|
-
isDestroyingLeafMenu: boolean;
|
|
41
|
-
show: Subject<IContextMenuClickEvent>;
|
|
42
|
-
triggerClose: Subject<ContextMenuContentComponent>;
|
|
43
|
-
close: Subject<CloseContextMenuEvent>;
|
|
44
|
-
private overlays;
|
|
45
|
-
private fakeElement;
|
|
46
|
-
constructor(overlay: Overlay, scrollStrategy: ScrollStrategyOptions);
|
|
47
|
-
openContextMenu(context: IContextMenuContext): void;
|
|
48
|
-
attachContextMenu(overlayRef: OverlayRef, context: IContextMenuContext): void;
|
|
49
|
-
closeAllContextMenus(closeEvent: CloseContextMenuEvent): void;
|
|
50
|
-
getLastAttachedOverlay(): OverlayRefWithContextMenu;
|
|
51
|
-
destroyLeafMenu({ exceptRootMenu, event }?: CloseLeafMenuEvent): void;
|
|
52
|
-
destroySubMenus(contextMenu: ContextMenuContentComponent): void;
|
|
53
|
-
isLeafMenu(contextMenuContent: ContextMenuContentComponent): boolean;
|
|
54
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuService, never>;
|
|
55
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ContextMenuService>;
|
|
56
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { AfterContentChecked, ElementRef } from '@angular/core';
|
|
2
|
-
import { SimpleModalComponent } from 'ngx-simple-modal';
|
|
3
|
-
import { DomSanitizer } from '@angular/platform-browser';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export interface DocumentEditorPreviewModalParams {
|
|
6
|
-
title: string;
|
|
7
|
-
content: string;
|
|
8
|
-
}
|
|
9
|
-
export interface DocumentEditorPreviewModalResult {
|
|
10
|
-
result: boolean;
|
|
11
|
-
}
|
|
12
|
-
export declare class DocumentEditorPreviewModalComponent extends SimpleModalComponent<DocumentEditorPreviewModalParams, DocumentEditorPreviewModalResult> implements AfterContentChecked {
|
|
13
|
-
sanitizer: DomSanitizer;
|
|
14
|
-
title: string | undefined;
|
|
15
|
-
content: string | undefined;
|
|
16
|
-
iframeTemplate: ElementRef;
|
|
17
|
-
constructor(sanitizer: DomSanitizer);
|
|
18
|
-
ngAfterContentChecked(): void;
|
|
19
|
-
ok(): void;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DocumentEditorPreviewModalComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DocumentEditorPreviewModalComponent, "mrx-document-editor-preview-modal", never, {}, {}, never, never, false>;
|
|
22
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import { ShortCodeI } from './models/document-editor-short-codes.enum';
|
|
4
|
-
import { EditorComponent } from '../editor/editor.component';
|
|
5
|
-
import { SimpleModalService } from 'ngx-simple-modal';
|
|
6
|
-
import { ToolbarConfig } from '../editor/models/toolbar.model';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class DocumentEditorComponent implements ControlValueAccessor {
|
|
9
|
-
private simpleModalService;
|
|
10
|
-
value: string;
|
|
11
|
-
isHiddenShortCodes: boolean;
|
|
12
|
-
shortCodes: ShortCodeI[];
|
|
13
|
-
shortCodeViewCount: number;
|
|
14
|
-
editHTMLDocumentMode: boolean;
|
|
15
|
-
toolbar: ToolbarConfig;
|
|
16
|
-
customClasses: string;
|
|
17
|
-
placeholder: string;
|
|
18
|
-
disabled: boolean;
|
|
19
|
-
readonly: boolean;
|
|
20
|
-
editor: EditorComponent;
|
|
21
|
-
changed: EventEmitter<string>;
|
|
22
|
-
constructor(simpleModalService: SimpleModalService);
|
|
23
|
-
get transformedValue(): string;
|
|
24
|
-
get sliceShortCodeButtons(): ShortCodeI[];
|
|
25
|
-
get isSliced(): boolean;
|
|
26
|
-
insertShortCode(shortCode: ShortCodeI): void;
|
|
27
|
-
openPreviewModal(): void;
|
|
28
|
-
private onChange;
|
|
29
|
-
private onTouched;
|
|
30
|
-
registerOnChange(fn: any): void;
|
|
31
|
-
registerOnTouched(fn: () => {}): void;
|
|
32
|
-
writeValue(outsideValue: any): void;
|
|
33
|
-
updateValue(insideValue: string): void;
|
|
34
|
-
showAllShortCodes(): void;
|
|
35
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DocumentEditorComponent, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DocumentEditorComponent, "mrx-document-editor", never, { "shortCodes": "shortCodes"; "shortCodeViewCount": "shortCodeViewCount"; "editHTMLDocumentMode": "editHTMLDocumentMode"; "toolbar": "toolbar"; "customClasses": "customClasses"; "placeholder": "placeholder"; "disabled": "disabled"; "readonly": "readonly"; }, { "changed": "changed"; }, never, never, false>;
|
|
37
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./document-editor.component";
|
|
3
|
-
import * as i2 from "./components/document-editor-preview-modal/document-editor-preview-modal.component";
|
|
4
|
-
import * as i3 from "@angular/common";
|
|
5
|
-
import * as i4 from "@angular/forms";
|
|
6
|
-
import * as i5 from "../editor/editor.module";
|
|
7
|
-
import * as i6 from "../../button/button.module";
|
|
8
|
-
import * as i7 from "../../modal/modal.module";
|
|
9
|
-
export declare class DocumentEditorModule {
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DocumentEditorModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DocumentEditorModule, [typeof i1.DocumentEditorComponent, typeof i2.DocumentEditorPreviewModalComponent], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.EditorModule, typeof i6.ButtonModule, typeof i7.ModalModule], [typeof i1.DocumentEditorComponent]>;
|
|
12
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<DocumentEditorModule>;
|
|
13
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ShortCodeI } from '../models/document-editor-short-codes.enum';
|
|
2
|
-
export declare const transformSysNameToViewName: (text: string, shortcodes: ShortCodeI[]) => string;
|
|
3
|
-
export declare const transformViewNameToSysName: (text: string, shortcodes: ShortCodeI[]) => string;
|
|
4
|
-
export declare const transformSysNameToPreviewName: (text: string, shortcodes: ShortCodeI[]) => string;
|
|
5
|
-
export declare const transformViewNameToPreviewName: (text: string, shortcodes: ShortCodeI[]) => string;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare const INVALID_MESSAGES: {
|
|
2
|
-
required: () => string;
|
|
3
|
-
maxLength: (length: number) => string;
|
|
4
|
-
minLength: (length: number) => string;
|
|
5
|
-
maxValue: (value: number) => string;
|
|
6
|
-
minValue: (value: number) => string;
|
|
7
|
-
email: () => string;
|
|
8
|
-
pattern: () => string;
|
|
9
|
-
};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { ValidationTypesEnum } from '../models/validations-types.model';
|
|
2
|
-
import { IMessages } from '../models/validations-options.model';
|
|
3
|
-
export declare const getErrorMessageHelper: (key: ValidationTypesEnum, invalidMessages: IMessages, messages: IMessages | undefined, params?: any) => string;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export interface IMessages {
|
|
2
|
-
[name: string]: string | ((param?: any) => string);
|
|
3
|
-
}
|
|
4
|
-
export interface IFields {
|
|
5
|
-
[name: string]: any;
|
|
6
|
-
}
|
|
7
|
-
export declare type ValidationsType = {
|
|
8
|
-
required?: boolean;
|
|
9
|
-
type?: 'multi' | 'single';
|
|
10
|
-
maxLength?: number;
|
|
11
|
-
minLength?: number;
|
|
12
|
-
maxValue?: number;
|
|
13
|
-
minValue?: number;
|
|
14
|
-
email?: boolean;
|
|
15
|
-
pattern?: RegExp;
|
|
16
|
-
messages?: IMessages;
|
|
17
|
-
/**
|
|
18
|
-
* @param value Any <br/>
|
|
19
|
-
* callback принимает value поля модели <br/>
|
|
20
|
-
* Вернув null | false - ошибка отсутствует <br/>
|
|
21
|
-
* Вернув true | string - ошибка появляется <br/>
|
|
22
|
-
* string при этом становится тектом ошибки
|
|
23
|
-
*/
|
|
24
|
-
callback?: (value: any) => any;
|
|
25
|
-
};
|
|
26
|
-
export interface IValidations {
|
|
27
|
-
[name: string]: ValidationsType;
|
|
28
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export declare enum ValidationTypesEnum {
|
|
2
|
-
Required = "required",
|
|
3
|
-
MaxLength = "maxLength",
|
|
4
|
-
MinLength = "minLength",
|
|
5
|
-
Email = "email",
|
|
6
|
-
Pattern = "pattern",
|
|
7
|
-
MaxValue = "maxValue",
|
|
8
|
-
MinValue = "minValue",
|
|
9
|
-
Callback = "callback"
|
|
10
|
-
}
|
|
11
|
-
export declare enum ValidationOptionsEnum {
|
|
12
|
-
Type = "type",
|
|
13
|
-
Messages = "messages"
|
|
14
|
-
}
|
|
15
|
-
export declare type ValidationsTypes = ValidationTypesEnum | ValidationOptionsEnum;
|
|
16
|
-
export declare enum ValidationMethodsEnum {
|
|
17
|
-
Submit = "submit",
|
|
18
|
-
Input = "input"
|
|
19
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { IMessages, ValidationsType } from '../models/validations-options.model';
|
|
2
|
-
import { ValidationTypesEnum } from '../models/validations-types.model';
|
|
3
|
-
export declare const callbackValidation: (value: string, validations: ValidationsType, key: ValidationTypesEnum, invalidMessages: IMessages) => {
|
|
4
|
-
isValid: boolean;
|
|
5
|
-
message: string;
|
|
6
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { IMessages, ValidationsType } from '../models/validations-options.model';
|
|
2
|
-
import { ValidationTypesEnum } from '../models/validations-types.model';
|
|
3
|
-
export declare const emailValidation: (value: string, validations: ValidationsType, key: ValidationTypesEnum, invalidMessages: IMessages) => {
|
|
4
|
-
isValid: boolean;
|
|
5
|
-
message: string;
|
|
6
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { IMessages, ValidationsType } from '../models/validations-options.model';
|
|
2
|
-
import { ValidationTypesEnum } from '../models/validations-types.model';
|
|
3
|
-
export declare const maxLengthValidation: (value: string | string[], validations: ValidationsType, key: ValidationTypesEnum, invalidMessages: IMessages) => {
|
|
4
|
-
isValid: boolean;
|
|
5
|
-
message: string;
|
|
6
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { IMessages, ValidationsType } from '../models/validations-options.model';
|
|
2
|
-
import { ValidationTypesEnum } from '../models/validations-types.model';
|
|
3
|
-
export declare const maxValueValidation: (value: string, validations: ValidationsType, key: ValidationTypesEnum, invalidMessages: IMessages) => {
|
|
4
|
-
isValid: boolean;
|
|
5
|
-
message: string;
|
|
6
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { IMessages, ValidationsType } from '../models/validations-options.model';
|
|
2
|
-
import { ValidationTypesEnum } from '../models/validations-types.model';
|
|
3
|
-
export declare const minLengthValidation: (value: string, validations: ValidationsType, key: ValidationTypesEnum, invalidMessages: IMessages) => {
|
|
4
|
-
isValid: boolean;
|
|
5
|
-
message: string;
|
|
6
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { IMessages, ValidationsType } from '../models/validations-options.model';
|
|
2
|
-
import { ValidationTypesEnum } from '../models/validations-types.model';
|
|
3
|
-
export declare const minValueValidation: (value: string, validations: ValidationsType, key: ValidationTypesEnum, invalidMessages: IMessages) => {
|
|
4
|
-
isValid: boolean;
|
|
5
|
-
message: string;
|
|
6
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ValidationTypesEnum } from '../models/validations-types.model';
|
|
2
|
-
import { IMessages, ValidationsType } from '../models/validations-options.model';
|
|
3
|
-
export declare const patternValidation: (value: string, validations: ValidationsType, key: ValidationTypesEnum, invalidMessages: IMessages) => {
|
|
4
|
-
isValid: boolean;
|
|
5
|
-
message: string;
|
|
6
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { IMessages, ValidationsType } from '../models/validations-options.model';
|
|
2
|
-
import { ValidationTypesEnum } from '../models/validations-types.model';
|
|
3
|
-
export declare const requiredValidation: (value: string | string[], validations: ValidationsType, key: ValidationTypesEnum, invalidMessages: IMessages) => {
|
|
4
|
-
isValid: boolean;
|
|
5
|
-
message: string;
|
|
6
|
-
};
|