myrta-ui 1.0.65 → 17.0.0-beta.1
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/esm2022/lib/components/alert/alert.component.mjs +43 -0
- package/{esm2020 → esm2022}/lib/components/alert/alert.enum.mjs +14 -14
- package/esm2022/lib/components/alert/alert.module.mjs +19 -0
- package/{esm2020 → esm2022}/lib/components/badges/badge.enum.mjs +31 -31
- package/esm2022/lib/components/badges/badges.module.mjs +30 -0
- 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/esm2022/lib/components/breadcrumbs/breadcrumbs.module.mjs +25 -0
- package/esm2022/lib/components/button/button.component.mjs +100 -0
- package/esm2022/lib/components/button/button.enum.mjs +27 -0
- package/esm2022/lib/components/button/button.module.mjs +21 -0
- 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/esm2022/lib/components/cdk-tooltip/cdk-tooltip.module.mjs +21 -0
- 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/esm2022/lib/components/chars-left/chars-left.module.mjs +19 -0
- package/esm2022/lib/components/dropdown/directives/hide-after-click.directive.mjs +24 -0
- package/esm2022/lib/components/dropdown/dropdown.component.mjs +107 -0
- package/esm2022/lib/components/dropdown/dropdown.module.mjs +21 -0
- package/esm2022/lib/components/error-message/error-message.component.mjs +32 -0
- package/esm2022/lib/components/error-message/error-message.module.mjs +19 -0
- package/esm2022/lib/components/form/checkbox/checkbox.component.mjs +153 -0
- package/{esm2020 → esm2022}/lib/components/form/checkbox/checkbox.enum.mjs +4 -4
- package/esm2022/lib/components/form/checkbox/checkbox.module.mjs +22 -0
- package/esm2022/lib/components/form/checkbox-group/checkbox-group.component.mjs +178 -0
- package/esm2022/lib/components/form/checkbox-group/checkbox-group.module.mjs +47 -0
- 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 +261 -0
- 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 +6 -6
- 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 +370 -0
- package/{esm2020 → esm2022}/lib/components/form/input-file/input-file.enum.mjs +7 -7
- package/esm2022/lib/components/form/input-file/input-file.module.mjs +26 -0
- 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 +364 -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 +51 -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 +6 -6
- 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/esm2022/lib/components/form/input-opt/input-opt.module.mjs +38 -0
- 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 +6 -6
- 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 +6 -6
- 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/esm2022/lib/components/form/input-select/input-select.module.mjs +45 -0
- 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 +1322 -1322
- 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/esm2022/lib/components/form/radio/radio.module.mjs +20 -0
- 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 +1 -1
- 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/esm2022/lib/components/form/rating/rating.module.mjs +25 -0
- package/esm2022/lib/components/form/switch/switch.component.mjs +95 -0
- package/{esm2020 → esm2022}/lib/components/form/switch/switch.enum.mjs +10 -10
- package/esm2022/lib/components/form/switch/switch.module.mjs +21 -0
- package/esm2022/lib/components/gallery/components/gallery-confirm-modal/gallery-confirm-modal.component.mjs +39 -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/esm2022/lib/components/gallery/gallery.module.mjs +54 -0
- 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/esm2022/lib/components/hint-error-message/hint-error-message.module.mjs +19 -0
- 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/esm2022/lib/components/icon-button/icon-button.module.mjs +19 -0
- package/esm2022/lib/components/label/label.component.mjs +143 -0
- package/esm2022/lib/components/label/label.module.mjs +25 -0
- package/esm2022/lib/components/link/link.component.mjs +48 -0
- package/{esm2020 → esm2022}/lib/components/link/link.enum.mjs +19 -19
- package/esm2022/lib/components/link/link.module.mjs +19 -0
- package/esm2022/lib/components/loader/loader.component.mjs +24 -0
- package/{esm2020 → esm2022}/lib/components/loader/loader.enum.mjs +19 -19
- package/esm2022/lib/components/loader/loader.module.mjs +19 -0
- package/esm2022/lib/components/modal/modal.component.mjs +137 -0
- package/{esm2020 → esm2022}/lib/components/modal/modal.emun.mjs +20 -20
- package/esm2022/lib/components/modal/modal.module.mjs +20 -0
- 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/esm2022/lib/components/pages-nav/pages-nav.module.mjs +24 -0
- 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/esm2022/lib/components/progress/progress.module.mjs +19 -0
- 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 +1 -1
- package/esm2022/lib/components/save-state/save-state.module.mjs +37 -0
- package/esm2022/lib/components/stepper/stepper.component.mjs +52 -0
- package/{esm2020 → esm2022}/lib/components/stepper/stepper.enum.mjs +5 -5
- package/esm2022/lib/components/stepper/stepper.module.mjs +20 -0
- 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/esm2022/lib/components/table/table.module.mjs +50 -0
- 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/esm2022/lib/components/tabs/tabs.module.mjs +20 -0
- 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/esm2022/lib/components/tooltip/tooltip.module.mjs +21 -0
- 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/esm2022/lib/components/truncate-text/truncate-text.module.mjs +21 -0
- package/esm2022/lib/components/warning-message/warning-message.component.mjs +29 -0
- package/esm2022/lib/components/warning-message/warning-message.module.mjs +19 -0
- 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/esm2022/lib/components/wrappers/content-wrapper/content-wrapper.module.mjs +19 -0
- 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/esm2022/lib/components/wrappers/controls-wrapper/controls-wrapper.module.mjs +20 -0
- 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/esm2022/lib/components/wrappers/widget-wrapper/widget-wrapper.module.mjs +24 -0
- package/esm2022/lib/directives/autosize/autosize.directive.mjs +57 -0
- package/esm2022/lib/directives/autosize/autosize.module.mjs +24 -0
- package/esm2022/lib/directives/truncate/truncate.directive.mjs +34 -0
- package/esm2022/lib/directives/truncate/truncate.module.mjs +18 -0
- package/{esm2020 → esm2022}/lib/enums/typed.input.state.mjs +7 -7
- 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/{esm2020 → esm2022}/lib/models/input-file/input-file.model.mjs +1 -1
- package/{esm2020 → esm2022}/lib/models/typed-input-model.mjs +1 -1
- package/esm2022/lib/pipes/currency/currency.module.mjs +20 -0
- package/esm2022/lib/pipes/currency/currency.pipe.mjs +22 -0
- package/esm2022/lib/pipes/date/date-format.module.mjs +19 -0
- 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/esm2022/lib/pipes/phone/phone-format.module.mjs +18 -0
- package/esm2022/lib/pipes/phone/phone-format.pipe.mjs +23 -0
- package/esm2022/lib/pipes/safe/safe.module.mjs +20 -0
- package/esm2022/lib/pipes/safe/safe.pipe.mjs +21 -0
- package/esm2022/lib/pipes/truncate/truncate.module.mjs +20 -0
- package/esm2022/lib/pipes/truncate/truncate.pipe.mjs +23 -0
- package/esm2022/lib/services/file-upload/file-upload.service.mjs +27 -0
- package/{esm2020 → esm2022}/lib/services/index.mjs +6 -6
- package/esm2022/lib/services/modal-service/components/alert-modal/alert-modal.component.mjs +46 -0
- package/esm2022/lib/services/modal-service/components/confirm-modal/confirm-modal.component.mjs +50 -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 +5 -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/esm2022/lib/services/save-store/save-store.module.mjs +29 -0
- 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 +15458 -0
- package/fesm2022/myrta-ui.mjs.map +1 -0
- package/{myrta-ui.d.ts → 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 -9
- 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 -48
- package/lib/components/form/checkbox/checkbox.enum.d.ts +14 -14
- package/lib/components/form/checkbox/checkbox.module.d.ts +11 -11
- package/lib/components/form/checkbox-group/checkbox-group.component.d.ts +54 -54
- 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 -26
- 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 +63 -49
- 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 -72
- 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 -69
- 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 +72 -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 +42 -39
- package/lib/components/form/input-file-image/input-file-image.component.d.ts +62 -62
- 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 -64
- 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 -38
- package/lib/components/form/input-password/input-password.enum.d.ts +7 -7
- package/lib/components/form/input-password/input-password.module.d.ts +11 -11
- 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 -48
- package/lib/components/form/input-search/input-search.enum.d.ts +6 -6
- package/lib/components/form/input-search/input-search.module.d.ts +12 -12
- package/lib/components/form/input-select/input-select.component.d.ts +84 -84
- 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 -54
- 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 -54
- 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 -18
- package/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.d.ts +26 -26
- 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 -8
- package/lib/components/form/radio-group/radio-group.component.d.ts +57 -57
- package/lib/components/form/radio-group/radio-group.module.d.ts +15 -15
- 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 +21 -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 -29
- 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 +22 -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 +6 -6
- package/lib/services/modal-service/components/alert-modal/alert-modal.component.d.ts +20 -0
- package/lib/services/modal-service/components/confirm-modal/confirm-modal.component.d.ts +21 -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 +4 -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 -51
- 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 +29 -39
- package/public-api.d.ts +162 -175
- package/esm2020/lib/components/alert/alert.component.mjs +0 -45
- package/esm2020/lib/components/alert/alert.module.mjs +0 -19
- package/esm2020/lib/components/badges/badges.module.mjs +0 -32
- 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/breadcrumbs/breadcrumbs.module.mjs +0 -27
- package/esm2020/lib/components/button/button.component.mjs +0 -102
- package/esm2020/lib/components/button/button.enum.mjs +0 -29
- package/esm2020/lib/components/button/button.module.mjs +0 -21
- 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/cdk-tooltip/cdk-tooltip.module.mjs +0 -21
- package/esm2020/lib/components/chars-left/chars-left.component.mjs +0 -26
- package/esm2020/lib/components/chars-left/chars-left.module.mjs +0 -19
- package/esm2020/lib/components/context-menu/components/context-menu/context-menu.component.mjs +0 -121
- package/esm2020/lib/components/context-menu/components/context-menu-content/context-menu-content.component.mjs +0 -343
- 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/dropdown/dropdown.module.mjs +0 -21
- package/esm2020/lib/components/error-message/error-message.component.mjs +0 -34
- package/esm2020/lib/components/error-message/error-message.module.mjs +0 -19
- package/esm2020/lib/components/form/checkbox/checkbox.component.mjs +0 -150
- package/esm2020/lib/components/form/checkbox/checkbox.module.mjs +0 -22
- package/esm2020/lib/components/form/checkbox-group/checkbox-group.component.mjs +0 -178
- package/esm2020/lib/components/form/checkbox-group/checkbox-group.module.mjs +0 -49
- package/esm2020/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.mjs +0 -103
- 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 -44
- 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 -240
- package/esm2020/lib/components/form/editor/editor.module.mjs +0 -47
- 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 -381
- package/esm2020/lib/components/form/input-date-time/input-date-time.module.mjs +0 -48
- 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 -354
- package/esm2020/lib/components/form/input-datepicker/input-datepicker.module.mjs +0 -48
- package/esm2020/lib/components/form/input-file/input-file.component.mjs +0 -362
- package/esm2020/lib/components/form/input-file/input-file.module.mjs +0 -26
- 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 -354
- package/esm2020/lib/components/form/input-file-image/input-file-image.module.mjs +0 -60
- package/esm2020/lib/components/form/input-number/input-number.component.mjs +0 -258
- package/esm2020/lib/components/form/input-number/input-number.module.mjs +0 -57
- 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-opt/input-opt.module.mjs +0 -40
- package/esm2020/lib/components/form/input-password/input-password.component.mjs +0 -119
- package/esm2020/lib/components/form/input-password/input-password.module.mjs +0 -38
- 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 -52
- 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 -166
- package/esm2020/lib/components/form/input-search/input-search.module.mjs +0 -43
- package/esm2020/lib/components/form/input-select/input-select.component.mjs +0 -243
- package/esm2020/lib/components/form/input-select/input-select.module.mjs +0 -47
- 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 -49
- package/esm2020/lib/components/form/input-text/input-text.component.mjs +0 -188
- package/esm2020/lib/components/form/input-text/input-text.module.mjs +0 -51
- package/esm2020/lib/components/form/input-textarea/input-textarea.component.mjs +0 -195
- package/esm2020/lib/components/form/input-textarea/input-textarea.module.mjs +0 -50
- 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 -48
- package/esm2020/lib/components/form/radio/radio.component.mjs +0 -91
- package/esm2020/lib/components/form/radio/radio.module.mjs +0 -20
- package/esm2020/lib/components/form/radio-group/components/radio-group-header/radio-group-header.component.mjs +0 -46
- package/esm2020/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.mjs +0 -63
- 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 -175
- package/esm2020/lib/components/form/radio-group/radio-group.module.mjs +0 -26
- package/esm2020/lib/components/form/rating/rating.component.mjs +0 -217
- package/esm2020/lib/components/form/rating/rating.module.mjs +0 -27
- package/esm2020/lib/components/form/switch/switch.component.mjs +0 -97
- package/esm2020/lib/components/form/switch/switch.module.mjs +0 -21
- 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/gallery.module.mjs +0 -56
- 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/hint-error-message/hint-error-message.module.mjs +0 -19
- package/esm2020/lib/components/icon-button/icon-button.component.mjs +0 -51
- package/esm2020/lib/components/icon-button/icon-button.module.mjs +0 -19
- package/esm2020/lib/components/label/label.component.mjs +0 -141
- package/esm2020/lib/components/label/label.module.mjs +0 -25
- package/esm2020/lib/components/link/link.component.mjs +0 -50
- package/esm2020/lib/components/link/link.module.mjs +0 -19
- package/esm2020/lib/components/loader/loader.component.mjs +0 -26
- package/esm2020/lib/components/loader/loader.module.mjs +0 -19
- package/esm2020/lib/components/modal/modal.component.mjs +0 -146
- package/esm2020/lib/components/modal/modal.module.mjs +0 -20
- package/esm2020/lib/components/pages-nav/pages-nav.component.mjs +0 -33
- package/esm2020/lib/components/pages-nav/pages-nav.module.mjs +0 -26
- package/esm2020/lib/components/paginator/paginator.component.mjs +0 -142
- package/esm2020/lib/components/paginator/paginator.module.mjs +0 -33
- package/esm2020/lib/components/progress/progress.component.mjs +0 -26
- package/esm2020/lib/components/progress/progress.module.mjs +0 -19
- 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/save-state/save-state.module.mjs +0 -39
- package/esm2020/lib/components/stepper/stepper.component.mjs +0 -54
- package/esm2020/lib/components/stepper/stepper.module.mjs +0 -20
- 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/table/table.module.mjs +0 -52
- 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/tabs/tabs.module.mjs +0 -20
- 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/tooltip/tooltip.module.mjs +0 -21
- package/esm2020/lib/components/truncate-text/truncate-text.component.mjs +0 -30
- package/esm2020/lib/components/truncate-text/truncate-text.module.mjs +0 -21
- package/esm2020/lib/components/warning-message/warning-message.component.mjs +0 -31
- package/esm2020/lib/components/warning-message/warning-message.module.mjs +0 -19
- package/esm2020/lib/components/wrappers/content-wrapper/content-wrapper.component.mjs +0 -26
- package/esm2020/lib/components/wrappers/content-wrapper/content-wrapper.module.mjs +0 -19
- 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/controls-wrapper/controls-wrapper.module.mjs +0 -20
- package/esm2020/lib/components/wrappers/widget-wrapper/widget-wrapper.component.mjs +0 -96
- package/esm2020/lib/components/wrappers/widget-wrapper/widget-wrapper.module.mjs +0 -26
- package/esm2020/lib/directives/autosize/autosize.directive.mjs +0 -55
- package/esm2020/lib/directives/autosize/autosize.module.mjs +0 -26
- package/esm2020/lib/directives/truncate/truncate.directive.mjs +0 -32
- package/esm2020/lib/directives/truncate/truncate.module.mjs +0 -18
- 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/pipes/currency/currency.module.mjs +0 -22
- package/esm2020/lib/pipes/currency/currency.pipe.mjs +0 -22
- package/esm2020/lib/pipes/date/date-format.module.mjs +0 -19
- 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.module.mjs +0 -18
- package/esm2020/lib/pipes/phone/phone-format.pipe.mjs +0 -23
- package/esm2020/lib/pipes/safe/safe.module.mjs +0 -22
- package/esm2020/lib/pipes/safe/safe.pipe.mjs +0 -20
- package/esm2020/lib/pipes/truncate/truncate.module.mjs +0 -22
- 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/mrx-autosave/mrx-autosave.service.mjs +0 -44
- package/esm2020/lib/services/mrx-form-validator/mrx-form-validator.mjs +0 -283
- package/esm2020/lib/services/save-store/save-store.module.mjs +0 -31
- 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 -185
- package/fesm2015/myrta-ui.mjs +0 -16173
- package/fesm2015/myrta-ui.mjs.map +0 -1
- package/fesm2020/myrta-ui.mjs +0 -16212
- 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
|
@@ -1,343 +0,0 @@
|
|
|
1
|
-
import { ActiveDescendantKeyManager } from '@angular/cdk/a11y';
|
|
2
|
-
import { Component, EventEmitter, HostListener, Inject, Input, Optional, Output, QueryList, ViewChild, ViewChildren, } from '@angular/core';
|
|
3
|
-
import { Subscription } from 'rxjs';
|
|
4
|
-
import { CONTEXT_MENU_OPTIONS } from '../../context-menu.tokens';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "@angular/common";
|
|
7
|
-
const ARROW_LEFT_KEYCODE = 37;
|
|
8
|
-
export class ContextMenuContentComponent {
|
|
9
|
-
constructor(options) {
|
|
10
|
-
this.options = options;
|
|
11
|
-
this.menuItems = [];
|
|
12
|
-
this.isLeaf = false;
|
|
13
|
-
this.execute = new EventEmitter();
|
|
14
|
-
this.openSubMenu = new EventEmitter();
|
|
15
|
-
this.closeLeafMenu = new EventEmitter();
|
|
16
|
-
this.closeAllMenus = new EventEmitter();
|
|
17
|
-
this.autoFocus = false;
|
|
18
|
-
this.useBootstrap4 = false;
|
|
19
|
-
this.subscription = new Subscription();
|
|
20
|
-
if (options) {
|
|
21
|
-
this.autoFocus = options.autoFocus;
|
|
22
|
-
this.useBootstrap4 = options.useBootstrap4;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* @internal
|
|
27
|
-
*/
|
|
28
|
-
ngOnInit() {
|
|
29
|
-
this.menuItems.forEach((menuItem) => {
|
|
30
|
-
menuItem.currentItem = this.item;
|
|
31
|
-
this.subscription.add(menuItem.execute.subscribe((event) => this.execute.emit({ ...event, menuItem })));
|
|
32
|
-
});
|
|
33
|
-
const queryList = new QueryList();
|
|
34
|
-
queryList.reset(this.menuItems);
|
|
35
|
-
this._keyManager = new ActiveDescendantKeyManager(queryList).withWrap();
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
|
-
ngAfterViewInit() {
|
|
41
|
-
if (this.autoFocus) {
|
|
42
|
-
setTimeout(() => this.focus());
|
|
43
|
-
}
|
|
44
|
-
this.overlay?.updatePosition();
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* @internal
|
|
48
|
-
*/
|
|
49
|
-
ngOnDestroy() {
|
|
50
|
-
this.subscription.unsubscribe();
|
|
51
|
-
}
|
|
52
|
-
focus() {
|
|
53
|
-
if (this.autoFocus) {
|
|
54
|
-
this.menuElement.nativeElement.focus();
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
stopEvent(event) {
|
|
58
|
-
event.stopPropagation();
|
|
59
|
-
}
|
|
60
|
-
isMenuItemEnabled(menuItem) {
|
|
61
|
-
return this.evaluateIfFunction(menuItem && menuItem.enabled);
|
|
62
|
-
}
|
|
63
|
-
isMenuItemVisible(menuItem) {
|
|
64
|
-
return this.evaluateIfFunction(menuItem && menuItem.visible);
|
|
65
|
-
}
|
|
66
|
-
evaluateIfFunction(value) {
|
|
67
|
-
if (value instanceof Function) {
|
|
68
|
-
return value(this.item);
|
|
69
|
-
}
|
|
70
|
-
return value;
|
|
71
|
-
}
|
|
72
|
-
isDisabled(link) {
|
|
73
|
-
return !!link.enabled && !link.enabled(this.item);
|
|
74
|
-
}
|
|
75
|
-
onKeyEvent(event) {
|
|
76
|
-
if (!this.isLeaf) {
|
|
77
|
-
return;
|
|
78
|
-
}
|
|
79
|
-
this._keyManager.onKeydown(event);
|
|
80
|
-
}
|
|
81
|
-
keyboardOpenSubMenu(event) {
|
|
82
|
-
if (!this.isLeaf || this._keyManager.activeItemIndex === null) {
|
|
83
|
-
return;
|
|
84
|
-
}
|
|
85
|
-
this.cancelEvent(event);
|
|
86
|
-
const menuItem = this.menuItems[this._keyManager.activeItemIndex];
|
|
87
|
-
if (menuItem) {
|
|
88
|
-
this.onOpenSubMenu(menuItem, event);
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
keyboardMenuItemSelect(event) {
|
|
92
|
-
if (!this.isLeaf || this._keyManager.activeItemIndex === null) {
|
|
93
|
-
return;
|
|
94
|
-
}
|
|
95
|
-
this.cancelEvent(event);
|
|
96
|
-
const menuItem = this.menuItems[this._keyManager.activeItemIndex];
|
|
97
|
-
if (menuItem) {
|
|
98
|
-
this.onMenuItemSelect(menuItem, event);
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
onCloseLeafMenu(event) {
|
|
102
|
-
if (!this.isLeaf) {
|
|
103
|
-
return;
|
|
104
|
-
}
|
|
105
|
-
this.cancelEvent(event);
|
|
106
|
-
this.closeLeafMenu.emit({
|
|
107
|
-
exceptRootMenu: event.keyCode === ARROW_LEFT_KEYCODE,
|
|
108
|
-
event,
|
|
109
|
-
});
|
|
110
|
-
}
|
|
111
|
-
closeMenu(event) {
|
|
112
|
-
if (event.type === 'click' && event.button === 2) {
|
|
113
|
-
return;
|
|
114
|
-
}
|
|
115
|
-
this.closeAllMenus.emit({ event });
|
|
116
|
-
}
|
|
117
|
-
onOpenSubMenu(menuItem, event) {
|
|
118
|
-
if (this._keyManager.activeItemIndex === null) {
|
|
119
|
-
return;
|
|
120
|
-
}
|
|
121
|
-
const anchorElementRef = this.menuItemElements.toArray()[this._keyManager.activeItemIndex];
|
|
122
|
-
const anchorElement = anchorElementRef && anchorElementRef.nativeElement;
|
|
123
|
-
this.openSubMenu.emit({
|
|
124
|
-
anchorElement,
|
|
125
|
-
contextMenu: menuItem.subMenu,
|
|
126
|
-
event,
|
|
127
|
-
item: this.item,
|
|
128
|
-
parentContextMenu: this,
|
|
129
|
-
});
|
|
130
|
-
}
|
|
131
|
-
onMenuItemSelect(menuItem, event) {
|
|
132
|
-
event.preventDefault();
|
|
133
|
-
event.stopPropagation();
|
|
134
|
-
this.onOpenSubMenu(menuItem, event);
|
|
135
|
-
if (!menuItem.subMenu) {
|
|
136
|
-
menuItem.triggerExecute(this.item, event);
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
cancelEvent(event) {
|
|
140
|
-
if (!event || !event.target) {
|
|
141
|
-
return;
|
|
142
|
-
}
|
|
143
|
-
const target = event.target;
|
|
144
|
-
if (['INPUT', 'TEXTAREA', 'SELECT'].indexOf(target.tagName) > -1 ||
|
|
145
|
-
target.isContentEditable) {
|
|
146
|
-
return;
|
|
147
|
-
}
|
|
148
|
-
event.preventDefault();
|
|
149
|
-
event.stopPropagation();
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
ContextMenuContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ContextMenuContentComponent, deps: [{ token: CONTEXT_MENU_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
153
|
-
ContextMenuContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: ContextMenuContentComponent, selector: "context-menu-content", inputs: { menuItems: "menuItems", item: "item", event: "event", parentContextMenu: "parentContextMenu", menuClass: "menuClass", overlay: "overlay", isLeaf: "isLeaf" }, outputs: { execute: "execute", openSubMenu: "openSubMenu", closeLeafMenu: "closeLeafMenu", closeAllMenus: "closeAllMenus" }, host: { listeners: { "window:keydown.ArrowDown": "onKeyEvent($event)", "window:keydown.ArrowUp": "onKeyEvent($event)", "window:keydown.ArrowRight": "keyboardOpenSubMenu($event)", "window:keydown.Enter": "keyboardMenuItemSelect($event)", "window:keydown.Space": "keyboardMenuItemSelect($event)", "window:keydown.Escape": "onCloseLeafMenu($event)", "window:keydown.ArrowLeft": "onCloseLeafMenu($event)", "document:click": "closeMenu($event)", "document:contextmenu": "closeMenu($event)" } }, viewQueries: [{ propertyName: "menuElement", first: true, predicate: ["menu"], descendants: true, static: true }, { propertyName: "menuItemElements", predicate: ["li"], descendants: true }], ngImport: i0, template: `
|
|
154
|
-
<div
|
|
155
|
-
class="dropdown open show ngx-contextmenu"
|
|
156
|
-
[ngClass]="menuClass"
|
|
157
|
-
tabindex="0"
|
|
158
|
-
>
|
|
159
|
-
<ul
|
|
160
|
-
#menu
|
|
161
|
-
class="dropdown-menu show"
|
|
162
|
-
style="position: static; float: none;"
|
|
163
|
-
tabindex="0"
|
|
164
|
-
>
|
|
165
|
-
<li
|
|
166
|
-
#li
|
|
167
|
-
*ngFor="let menuItem of menuItems; let i = index"
|
|
168
|
-
[class.disabled]="!isMenuItemEnabled(menuItem)"
|
|
169
|
-
[class.divider]="menuItem.divider"
|
|
170
|
-
[class.dropdown-divider]="useBootstrap4 && menuItem.divider"
|
|
171
|
-
[class.active]="menuItem.isActive && isMenuItemEnabled(menuItem)"
|
|
172
|
-
[attr.role]="menuItem.divider ? 'separator' : undefined"
|
|
173
|
-
>
|
|
174
|
-
<a
|
|
175
|
-
*ngIf="!menuItem.divider && !menuItem.passive"
|
|
176
|
-
href
|
|
177
|
-
[class.dropdown-item]="useBootstrap4"
|
|
178
|
-
[class.active]="menuItem.isActive && isMenuItemEnabled(menuItem)"
|
|
179
|
-
[class.disabled]="useBootstrap4 && !isMenuItemEnabled(menuItem)"
|
|
180
|
-
[class.hasSubMenu]="!!menuItem.subMenu"
|
|
181
|
-
(click)="onMenuItemSelect(menuItem, $event)"
|
|
182
|
-
(mouseenter)="onOpenSubMenu(menuItem, $event)"
|
|
183
|
-
>
|
|
184
|
-
<ng-template
|
|
185
|
-
[ngTemplateOutlet]="menuItem.template"
|
|
186
|
-
[ngTemplateOutletContext]="{ $implicit: item }"
|
|
187
|
-
></ng-template>
|
|
188
|
-
</a>
|
|
189
|
-
|
|
190
|
-
<span
|
|
191
|
-
(click)="stopEvent($event)"
|
|
192
|
-
(contextmenu)="stopEvent($event)"
|
|
193
|
-
class="passive"
|
|
194
|
-
*ngIf="!menuItem.divider && menuItem.passive"
|
|
195
|
-
[class.dropdown-item]="useBootstrap4"
|
|
196
|
-
[class.disabled]="useBootstrap4 && !isMenuItemEnabled(menuItem)"
|
|
197
|
-
>
|
|
198
|
-
<ng-template
|
|
199
|
-
[ngTemplateOutlet]="menuItem.template"
|
|
200
|
-
[ngTemplateOutletContext]="{ $implicit: item }"
|
|
201
|
-
></ng-template>
|
|
202
|
-
</span>
|
|
203
|
-
</li>
|
|
204
|
-
</ul>
|
|
205
|
-
</div>
|
|
206
|
-
`, isInline: true, styles: [".passive{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:20px;white-space:nowrap}.hasSubMenu:before{content:\"\\25b6\";float:right}\n"], directives: [{ type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
207
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ContextMenuContentComponent, decorators: [{
|
|
208
|
-
type: Component,
|
|
209
|
-
args: [{
|
|
210
|
-
selector: 'context-menu-content',
|
|
211
|
-
styles: [
|
|
212
|
-
`
|
|
213
|
-
.passive {
|
|
214
|
-
display: block;
|
|
215
|
-
padding: 3px 20px;
|
|
216
|
-
clear: both;
|
|
217
|
-
font-weight: normal;
|
|
218
|
-
line-height: 20px;
|
|
219
|
-
white-space: nowrap;
|
|
220
|
-
}
|
|
221
|
-
.hasSubMenu:before {
|
|
222
|
-
content: '\u25B6';
|
|
223
|
-
float: right;
|
|
224
|
-
}
|
|
225
|
-
`,
|
|
226
|
-
],
|
|
227
|
-
template: `
|
|
228
|
-
<div
|
|
229
|
-
class="dropdown open show ngx-contextmenu"
|
|
230
|
-
[ngClass]="menuClass"
|
|
231
|
-
tabindex="0"
|
|
232
|
-
>
|
|
233
|
-
<ul
|
|
234
|
-
#menu
|
|
235
|
-
class="dropdown-menu show"
|
|
236
|
-
style="position: static; float: none;"
|
|
237
|
-
tabindex="0"
|
|
238
|
-
>
|
|
239
|
-
<li
|
|
240
|
-
#li
|
|
241
|
-
*ngFor="let menuItem of menuItems; let i = index"
|
|
242
|
-
[class.disabled]="!isMenuItemEnabled(menuItem)"
|
|
243
|
-
[class.divider]="menuItem.divider"
|
|
244
|
-
[class.dropdown-divider]="useBootstrap4 && menuItem.divider"
|
|
245
|
-
[class.active]="menuItem.isActive && isMenuItemEnabled(menuItem)"
|
|
246
|
-
[attr.role]="menuItem.divider ? 'separator' : undefined"
|
|
247
|
-
>
|
|
248
|
-
<a
|
|
249
|
-
*ngIf="!menuItem.divider && !menuItem.passive"
|
|
250
|
-
href
|
|
251
|
-
[class.dropdown-item]="useBootstrap4"
|
|
252
|
-
[class.active]="menuItem.isActive && isMenuItemEnabled(menuItem)"
|
|
253
|
-
[class.disabled]="useBootstrap4 && !isMenuItemEnabled(menuItem)"
|
|
254
|
-
[class.hasSubMenu]="!!menuItem.subMenu"
|
|
255
|
-
(click)="onMenuItemSelect(menuItem, $event)"
|
|
256
|
-
(mouseenter)="onOpenSubMenu(menuItem, $event)"
|
|
257
|
-
>
|
|
258
|
-
<ng-template
|
|
259
|
-
[ngTemplateOutlet]="menuItem.template"
|
|
260
|
-
[ngTemplateOutletContext]="{ $implicit: item }"
|
|
261
|
-
></ng-template>
|
|
262
|
-
</a>
|
|
263
|
-
|
|
264
|
-
<span
|
|
265
|
-
(click)="stopEvent($event)"
|
|
266
|
-
(contextmenu)="stopEvent($event)"
|
|
267
|
-
class="passive"
|
|
268
|
-
*ngIf="!menuItem.divider && menuItem.passive"
|
|
269
|
-
[class.dropdown-item]="useBootstrap4"
|
|
270
|
-
[class.disabled]="useBootstrap4 && !isMenuItemEnabled(menuItem)"
|
|
271
|
-
>
|
|
272
|
-
<ng-template
|
|
273
|
-
[ngTemplateOutlet]="menuItem.template"
|
|
274
|
-
[ngTemplateOutletContext]="{ $implicit: item }"
|
|
275
|
-
></ng-template>
|
|
276
|
-
</span>
|
|
277
|
-
</li>
|
|
278
|
-
</ul>
|
|
279
|
-
</div>
|
|
280
|
-
`,
|
|
281
|
-
}]
|
|
282
|
-
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
283
|
-
type: Optional
|
|
284
|
-
}, {
|
|
285
|
-
type: Inject,
|
|
286
|
-
args: [CONTEXT_MENU_OPTIONS]
|
|
287
|
-
}] }]; }, propDecorators: { menuItems: [{
|
|
288
|
-
type: Input
|
|
289
|
-
}], item: [{
|
|
290
|
-
type: Input
|
|
291
|
-
}], event: [{
|
|
292
|
-
type: Input
|
|
293
|
-
}], parentContextMenu: [{
|
|
294
|
-
type: Input
|
|
295
|
-
}], menuClass: [{
|
|
296
|
-
type: Input
|
|
297
|
-
}], overlay: [{
|
|
298
|
-
type: Input
|
|
299
|
-
}], isLeaf: [{
|
|
300
|
-
type: Input
|
|
301
|
-
}], execute: [{
|
|
302
|
-
type: Output
|
|
303
|
-
}], openSubMenu: [{
|
|
304
|
-
type: Output
|
|
305
|
-
}], closeLeafMenu: [{
|
|
306
|
-
type: Output
|
|
307
|
-
}], closeAllMenus: [{
|
|
308
|
-
type: Output
|
|
309
|
-
}], menuElement: [{
|
|
310
|
-
type: ViewChild,
|
|
311
|
-
args: ['menu', { static: true }]
|
|
312
|
-
}], menuItemElements: [{
|
|
313
|
-
type: ViewChildren,
|
|
314
|
-
args: ['li']
|
|
315
|
-
}], onKeyEvent: [{
|
|
316
|
-
type: HostListener,
|
|
317
|
-
args: ['window:keydown.ArrowDown', ['$event']]
|
|
318
|
-
}, {
|
|
319
|
-
type: HostListener,
|
|
320
|
-
args: ['window:keydown.ArrowUp', ['$event']]
|
|
321
|
-
}], keyboardOpenSubMenu: [{
|
|
322
|
-
type: HostListener,
|
|
323
|
-
args: ['window:keydown.ArrowRight', ['$event']]
|
|
324
|
-
}], keyboardMenuItemSelect: [{
|
|
325
|
-
type: HostListener,
|
|
326
|
-
args: ['window:keydown.Enter', ['$event']]
|
|
327
|
-
}, {
|
|
328
|
-
type: HostListener,
|
|
329
|
-
args: ['window:keydown.Space', ['$event']]
|
|
330
|
-
}], onCloseLeafMenu: [{
|
|
331
|
-
type: HostListener,
|
|
332
|
-
args: ['window:keydown.Escape', ['$event']]
|
|
333
|
-
}, {
|
|
334
|
-
type: HostListener,
|
|
335
|
-
args: ['window:keydown.ArrowLeft', ['$event']]
|
|
336
|
-
}], closeMenu: [{
|
|
337
|
-
type: HostListener,
|
|
338
|
-
args: ['document:click', ['$event']]
|
|
339
|
-
}, {
|
|
340
|
-
type: HostListener,
|
|
341
|
-
args: ['document:contextmenu', ['$event']]
|
|
342
|
-
}] } });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tLnBhc3NpdmVcIlxyXG4gICAgICAgICAgICBocmVmXHJcbiAgICAgICAgICAgIFtjbGFzcy5kcm9wZG93bi1pdGVtXT1cInVzZUJvb3RzdHJhcDRcIlxyXG4gICAgICAgICAgICBbY2xhc3MuYWN0aXZlXT1cIm1lbnVJdGVtLmlzQWN0aXZlICYmIGlzTWVudUl0ZW1FbmFibGVkKG1lbnVJdGVtKVwiXHJcbiAgICAgICAgICAgIFtjbGFzcy5kaXNhYmxlZF09XCJ1c2VCb290c3RyYXA0ICYmICFpc01lbnVJdGVtRW5hYmxlZChtZW51SXRlbSlcIlxyXG4gICAgICAgICAgICBbY2xhc3MuaGFzU3ViTWVudV09XCIhIW1lbnVJdGVtLnN1Yk1lbnVcIlxyXG4gICAgICAgICAgICAoY2xpY2spPVwib25NZW51SXRlbVNlbGVjdChtZW51SXRlbSwgJGV2ZW50KVwiXHJcbiAgICAgICAgICAgIChtb3VzZWVudGVyKT1cIm9uT3BlblN1Yk1lbnUobWVudUl0ZW0sICRldmVudClcIlxyXG4gICAgICAgICAgPlxyXG4gICAgICAgICAgICA8bmctdGVtcGxhdGVcclxuICAgICAgICAgICAgICBbbmdUZW1wbGF0ZU91dGxldF09XCJtZW51SXRlbS50ZW1wbGF0ZVwiXHJcbiAgICAgICAgICAgICAgW25nVGVtcGxhdGVPdXRsZXRDb250ZXh0XT1cInsgJGltcGxpY2l0OiBpdGVtIH1cIlxyXG4gICAgICAgICAgICA+PC9uZy10ZW1wbGF0ZT5cclxuICAgICAgICAgIDwvYT5cclxuXHJcbiAgICAgICAgICA8c3BhblxyXG4gICAgICAgICAgICAoY2xpY2spPVwic3RvcEV2ZW50KCRldmVudClcIlxyXG4gICAgICAgICAgICAoY29udGV4dG1lbnUpPVwic3RvcEV2ZW50KCRldmVudClcIlxyXG4gICAgICAgICAgICBjbGFzcz1cInBhc3NpdmVcIlxyXG4gICAgICAgICAgICAqbmdJZj1cIiFtZW51SXRlbS5kaXZpZGVyICYmIG1lbnVJdGV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aXZhdGUgY2FuY2VsRXZlbnQoZXZlbnQ/OiBLZXlib2FyZEV2ZW50KTogdm9pZCB7XHJcbiAgICBpZiAoIWV2ZW50IHx8ICFldmVudC50YXJnZXQpIHtcclxuICAgICAgcmV0dXJuO1xyXG4gICAgfVxyXG5cclxuICAgIGNvbnN0IHRhcmdldCA9IGV2ZW50LnRhcmdldCBhcyBIVE1MRWxlbWVudDtcclxuICAgIGlmIChcclxuICAgICAgWydJTlBVVCcsICdURVhUQVJFQScsICdTRUxFQ1QnXS5pbmRleE9mKHRhcmdldC50YWdOYW1lKSA+IC0xIHx8XHJcbiAgICAgIHRhcmdldC5pc0NvbnRlbnRFZGl0YWJsZVxyXG4gICAgKSB7XHJcbiAgICAgIHJldHVybjtcclxuICAgIH1cclxuXHJcbiAgICBldmVudC5wcmV2ZW50RGVmYXVsdCgpO1xyXG4gICAgZXZlbnQuc3RvcFByb3BhZ2F0aW9uKCk7XHJcbiAgfVxyXG59XHJcbiJdfQ==
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { FullscreenOverlayContainer, OverlayContainer, OverlayModule, } from '@angular/cdk/overlay';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { NgModule } from '@angular/core';
|
|
4
|
-
import { ContextMenuContentComponent } from './components/context-menu-content/context-menu-content.component';
|
|
5
|
-
import { ContextMenuComponent } from './components/context-menu/context-menu.component';
|
|
6
|
-
import { CONTEXT_MENU_OPTIONS } from './context-menu.tokens';
|
|
7
|
-
import { ContextMenuItemDirective } from './directives/context-menu-item/context-menu-item.directive';
|
|
8
|
-
import { ContextMenuAttachDirective } from './directives/context-menu/context-menu.directive';
|
|
9
|
-
import { ContextMenuService } from './services/context-menu/context-menu.service';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
export class ContextMenuModule {
|
|
12
|
-
static forRoot(options) {
|
|
13
|
-
return {
|
|
14
|
-
ngModule: ContextMenuModule,
|
|
15
|
-
providers: [
|
|
16
|
-
ContextMenuService,
|
|
17
|
-
{
|
|
18
|
-
provide: CONTEXT_MENU_OPTIONS,
|
|
19
|
-
useValue: options,
|
|
20
|
-
},
|
|
21
|
-
{ provide: OverlayContainer, useClass: FullscreenOverlayContainer },
|
|
22
|
-
],
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
ContextMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ContextMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
27
|
-
ContextMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ContextMenuModule, declarations: [ContextMenuAttachDirective,
|
|
28
|
-
ContextMenuComponent,
|
|
29
|
-
ContextMenuContentComponent,
|
|
30
|
-
ContextMenuItemDirective], imports: [CommonModule, OverlayModule], exports: [ContextMenuAttachDirective,
|
|
31
|
-
ContextMenuComponent,
|
|
32
|
-
ContextMenuItemDirective] });
|
|
33
|
-
ContextMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ContextMenuModule, imports: [[CommonModule, OverlayModule]] });
|
|
34
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ContextMenuModule, decorators: [{
|
|
35
|
-
type: NgModule,
|
|
36
|
-
args: [{
|
|
37
|
-
declarations: [
|
|
38
|
-
ContextMenuAttachDirective,
|
|
39
|
-
ContextMenuComponent,
|
|
40
|
-
ContextMenuContentComponent,
|
|
41
|
-
ContextMenuItemDirective,
|
|
42
|
-
],
|
|
43
|
-
exports: [
|
|
44
|
-
ContextMenuAttachDirective,
|
|
45
|
-
ContextMenuComponent,
|
|
46
|
-
ContextMenuItemDirective,
|
|
47
|
-
],
|
|
48
|
-
imports: [CommonModule, OverlayModule],
|
|
49
|
-
}]
|
|
50
|
-
}] });
|
|
51
|
-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SxcclxuICAgIENvbnRleHRNZW51Q29tcG9uZW50LFxyXG4gICAgQ29udGV4dE1lbnVJdGVtRGlyZWN0aXZlLFxyXG4gIF0sXHJcbiAgaW1wb3J0czogW0NvbW1vbk1vZHVsZSwgT3ZlcmxheU1vZHVsZV0sXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBDb250ZXh0TWVudU1vZHVsZSB7XHJcbiAgcHVibGljIHN0YXRpYyBmb3JSb290KFxyXG4gICAgb3B0aW9ucz86IElDb250ZXh0TWVudU9wdGlvbnNcclxuICApOiBNb2R1bGVXaXRoUHJvdmlkZXJzPENvbnRleHRNZW51TW9kdWxlPiB7XHJcbiAgICByZXR1cm4ge1xyXG4gICAgICBuZ01vZHVsZTogQ29udGV4dE1lbnVNb2R1bGUsXHJcbiAgICAgIHByb3ZpZGVyczogW1xyXG4gICAgICAgIENvbnRleHRNZW51U2VydmljZSxcclxuICAgICAgICB7XHJcbiAgICAgICAgICBwcm92aWRlOiBDT05URVhUX01FTlVfT1BUSU9OUyxcclxuICAgICAgICAgIHVzZVZhbHVlOiBvcHRpb25zLFxyXG4gICAgICAgIH0sXHJcbiAgICAgICAgeyBwcm92aWRlOiBPdmVybGF5Q29udGFpbmVyLCB1c2VDbGFzczogRnVsbHNjcmVlbk92ZXJsYXlDb250YWluZXIgfSxcclxuICAgICAgXSxcclxuICAgIH07XHJcbiAgfVxyXG59XHJcbiJdfQ==
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGV4dC1tZW51Lm9wdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9teXJ0YS11aS9zcmMvbGliL2NvbXBvbmVudHMvY29udGV4dC1tZW51L2NvbnRleHQtbWVudS5vcHRpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIElDb250ZXh0TWVudU9wdGlvbnMge1xyXG4gIHVzZUJvb3RzdHJhcDQ/OiBib29sZWFuO1xyXG4gIGF1dG9Gb2N1cz86IGJvb2xlYW47XHJcbn1cclxuIl19
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
export const CONTEXT_MENU_OPTIONS = new InjectionToken('CONTEXT_MENU_OPTIONS');
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGV4dC1tZW51LnRva2Vucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL215cnRhLXVpL3NyYy9saWIvY29tcG9uZW50cy9jb250ZXh0LW1lbnUvY29udGV4dC1tZW51LnRva2Vucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRS9DLE1BQU0sQ0FBQyxNQUFNLG9CQUFvQixHQUFHLElBQUksY0FBYyxDQUFDLHNCQUFzQixDQUFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJbmplY3Rpb25Ub2tlbiB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5cclxuZXhwb3J0IGNvbnN0IENPTlRFWFRfTUVOVV9PUFRJT05TID0gbmV3IEluamVjdGlvblRva2VuKCdDT05URVhUX01FTlVfT1BUSU9OUycpO1xyXG4iXX0=
|
package/esm2020/lib/components/context-menu/directives/context-menu/context-menu.directive.mjs
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { Directive, HostListener, Input } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "../../services/context-menu/context-menu.service";
|
|
4
|
-
export class ContextMenuAttachDirective {
|
|
5
|
-
constructor(contextMenuService) {
|
|
6
|
-
this.contextMenuService = contextMenuService;
|
|
7
|
-
}
|
|
8
|
-
onContextMenu(event) {
|
|
9
|
-
if (this.contextMenu && !this.contextMenu.disabled) {
|
|
10
|
-
this.contextMenuService.show.next({
|
|
11
|
-
contextMenu: this.contextMenu,
|
|
12
|
-
event,
|
|
13
|
-
item: this.contextMenuSubject,
|
|
14
|
-
});
|
|
15
|
-
event.preventDefault();
|
|
16
|
-
event.stopPropagation();
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
ContextMenuAttachDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ContextMenuAttachDirective, deps: [{ token: i1.ContextMenuService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
21
|
-
ContextMenuAttachDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.4.0", type: ContextMenuAttachDirective, selector: "[contextMenu]", inputs: { contextMenuSubject: "contextMenuSubject", contextMenu: "contextMenu" }, host: { listeners: { "contextmenu": "onContextMenu($event)" } }, ngImport: i0 });
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ContextMenuAttachDirective, decorators: [{
|
|
23
|
-
type: Directive,
|
|
24
|
-
args: [{
|
|
25
|
-
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
26
|
-
selector: '[contextMenu]',
|
|
27
|
-
}]
|
|
28
|
-
}], ctorParameters: function () { return [{ type: i1.ContextMenuService }]; }, propDecorators: { contextMenuSubject: [{
|
|
29
|
-
type: Input
|
|
30
|
-
}], contextMenu: [{
|
|
31
|
-
type: Input
|
|
32
|
-
}], onContextMenu: [{
|
|
33
|
-
type: HostListener,
|
|
34
|
-
args: ['contextmenu', ['$event']]
|
|
35
|
-
}] } });
|
|
36
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zZUV2ZW50KTogdm9pZCB7XHJcbiAgICBpZiAodGhpcy5jb250ZXh0TWVudSAmJiAhdGhpcy5jb250ZXh0TWVudS5kaXNhYmxlZCkge1xyXG4gICAgICB0aGlzLmNvbnRleHRNZW51U2VydmljZS5zaG93Lm5leHQoe1xyXG4gICAgICAgIGNvbnRleHRNZW51OiB0aGlzLmNvbnRleHRNZW51LFxyXG4gICAgICAgIGV2ZW50LFxyXG4gICAgICAgIGl0ZW06IHRoaXMuY29udGV4dE1lbnVTdWJqZWN0LFxyXG4gICAgICB9KTtcclxuICAgICAgZXZlbnQucHJldmVudERlZmF1bHQoKTtcclxuICAgICAgZXZlbnQuc3RvcFByb3BhZ2F0aW9uKCk7XHJcbiAgICB9XHJcbiAgfVxyXG59XHJcbiJdfQ==
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { Directive, EventEmitter, Input, Optional, Output, } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class ContextMenuItemDirective {
|
|
4
|
-
constructor(template, elementRef) {
|
|
5
|
-
this.template = template;
|
|
6
|
-
this.elementRef = elementRef;
|
|
7
|
-
this.divider = false;
|
|
8
|
-
this.enabled = true;
|
|
9
|
-
this.passive = false;
|
|
10
|
-
this.visible = true;
|
|
11
|
-
this.execute = new EventEmitter();
|
|
12
|
-
this.isActive = false;
|
|
13
|
-
}
|
|
14
|
-
get disabled() {
|
|
15
|
-
return (this.passive ||
|
|
16
|
-
this.divider ||
|
|
17
|
-
!this.evaluateIfFunction(this.enabled, this.currentItem));
|
|
18
|
-
}
|
|
19
|
-
evaluateIfFunction(value, item) {
|
|
20
|
-
if (value instanceof Function) {
|
|
21
|
-
return value(item);
|
|
22
|
-
}
|
|
23
|
-
return value;
|
|
24
|
-
}
|
|
25
|
-
setActiveStyles() {
|
|
26
|
-
this.isActive = true;
|
|
27
|
-
}
|
|
28
|
-
setInactiveStyles() {
|
|
29
|
-
this.isActive = false;
|
|
30
|
-
}
|
|
31
|
-
triggerExecute(item, $event) {
|
|
32
|
-
if (!this.evaluateIfFunction(this.enabled, item)) {
|
|
33
|
-
return;
|
|
34
|
-
}
|
|
35
|
-
this.execute.emit({ event: $event, item });
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
ContextMenuItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ContextMenuItemDirective, deps: [{ token: i0.TemplateRef, optional: true }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
39
|
-
ContextMenuItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.4.0", type: ContextMenuItemDirective, selector: "[contextMenuItem]", inputs: { subMenu: "subMenu", divider: "divider", enabled: "enabled", passive: "passive", visible: "visible" }, outputs: { execute: "execute" }, ngImport: i0 });
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ContextMenuItemDirective, decorators: [{
|
|
41
|
-
type: Directive,
|
|
42
|
-
args: [{
|
|
43
|
-
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
44
|
-
selector: '[contextMenuItem]',
|
|
45
|
-
}]
|
|
46
|
-
}], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
|
|
47
|
-
type: Optional
|
|
48
|
-
}] }, { type: i0.ElementRef }]; }, propDecorators: { subMenu: [{
|
|
49
|
-
type: Input
|
|
50
|
-
}], divider: [{
|
|
51
|
-
type: Input
|
|
52
|
-
}], enabled: [{
|
|
53
|
-
type: Input
|
|
54
|
-
}], passive: [{
|
|
55
|
-
type: Input
|
|
56
|
-
}], visible: [{
|
|
57
|
-
type: Input
|
|
58
|
-
}], execute: [{
|
|
59
|
-
type: Output
|
|
60
|
-
}] } });
|
|
61
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGV4dC1tZW51LWl0ZW0uZGlyZWN0a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