myrta-ui 14.0.0-beta.1 → 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/{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/{esm2020 → esm2022}/lib/components/form/checkbox/checkbox.enum.mjs +4 -4
- 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/esm2022/lib/components/form/editor/config/default-inline-style.mjs +6 -0
- 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/{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 +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/{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 +6 -6
- package/{esm2020 → esm2022}/lib/components/form/input-password/input-password.module.mjs +36 -36
- 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/{esm2020 → esm2022}/lib/components/form/input-select/input-select.module.mjs +45 -45
- package/esm2022/lib/components/form/input-tel/assets/base64.mjs +4 -0
- package/esm2022/lib/components/form/input-tel/data/all-countries.mjs +1323 -0
- package/esm2022/lib/components/form/input-tel/data/country-iso.enum.mjs +247 -0
- package/esm2022/lib/components/form/input-tel/data/phone-number-format.enum.mjs +6 -0
- package/esm2022/lib/components/form/input-tel/data/search-country-field.enum.mjs +8 -0
- package/esm2022/lib/components/form/input-tel/directives/input-tel.directive.mjs +66 -0
- package/esm2022/lib/components/form/input-tel/enums/input-phone.enum.mjs +7 -0
- 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/esm2022/lib/components/form/input-tel/models/country.model.mjs +2 -0
- 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/esm2022/lib/components/form/radio-group/helpers/get-item-by-id.mjs +11 -0
- package/esm2022/lib/components/form/radio-group/helpers/move-selected-to-first.mjs +27 -0
- package/esm2022/lib/components/form/radio-group/models/radio-group.model.mjs +2 -0
- 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 +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/{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/{esm2020 → esm2022}/lib/components/paginator/paginator.module.mjs +31 -31
- 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 +1 -1
- 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 +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/{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 +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/{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 +15458 -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 -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 -9
- 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 -0
- 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 -48
- 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 -33
- package/lib/components/form/input-file-image/input-file-image.component.d.ts +62 -59
- 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 -61
- 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 -0
- package/lib/components/form/input-tel/data/all-countries.d.ts +1 -0
- package/lib/components/form/input-tel/data/country-iso.enum.d.ts +245 -0
- package/lib/components/form/input-tel/data/phone-number-format.enum.d.ts +5 -0
- package/lib/components/form/input-tel/data/search-country-field.enum.d.ts +6 -0
- package/lib/components/form/input-tel/directives/input-tel.directive.d.ts +21 -0
- package/lib/components/form/input-tel/enums/input-phone.enum.d.ts +11 -0
- package/lib/components/form/input-tel/input-tel.component.d.ts +89 -0
- package/lib/components/form/input-tel/input-tel.module.d.ts +13 -0
- package/lib/components/form/input-tel/models/country.model.d.ts +18 -0
- 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 -52
- 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 -0
- package/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.d.ts +26 -0
- package/lib/components/form/radio-group/helpers/filter-search-group.d.ts +2 -0
- package/lib/components/form/radio-group/helpers/get-item-by-id.d.ts +2 -0
- package/lib/components/form/radio-group/helpers/move-selected-to-first.d.ts +2 -0
- package/lib/components/form/radio-group/models/radio-group.model.d.ts +8 -0
- package/lib/components/form/radio-group/radio-group.component.d.ts +57 -0
- package/lib/components/form/radio-group/radio-group.module.d.ts +15 -0
- 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 -36
- 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 -16
- 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 -37
- package/public-api.d.ts +162 -171
- 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 -26
- 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 -31
- package/esm2020/lib/components/form/checkbox/checkbox.component.mjs +0 -150
- package/esm2020/lib/components/form/checkbox-group/checkbox-group.component.mjs +0 -178
- 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 -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 -232
- 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 -381
- 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 -354
- 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 -362
- 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 -339
- 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 -238
- 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 -363
- 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 -119
- 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 -166
- package/esm2020/lib/components/form/input-search/input-search.module.mjs +0 -41
- package/esm2020/lib/components/form/input-select/input-select.component.mjs +0 -243
- 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 -49
- package/esm2020/lib/components/form/input-textarea/input-textarea.component.mjs +0 -169
- 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/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 -136
- package/esm2020/lib/components/pages-nav/pages-nav.component.mjs +0 -33
- package/esm2020/lib/components/paginator/paginator.component.mjs +0 -142
- 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 -48
- 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/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/mrx-autosave/mrx-autosave.service.mjs +0 -44
- package/esm2020/lib/services/mrx-form-validator/mrx-form-validator.mjs +0 -282
- 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 -180
- package/fesm2015/myrta-ui.mjs +0 -13594
- package/fesm2015/myrta-ui.mjs.map +0 -1
- package/fesm2020/myrta-ui.mjs +0 -13637
- 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,50 +0,0 @@
|
|
|
1
|
-
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { InputPhoneComponent } from './input-phone.component';
|
|
4
|
-
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
5
|
-
import { NativeElementInjectorDirective } from './directives/native-element-injector.directive';
|
|
6
|
-
import { DropdownModule } from '../../dropdown/dropdown.module';
|
|
7
|
-
import { NgxMaskModule } from 'ngx-mask';
|
|
8
|
-
import { ErrorMessageModule } from '../../error-message/error-message.module';
|
|
9
|
-
import { SaveStateModule } from '../../save-state/save-state.module';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
import * as i1 from "ngx-mask";
|
|
12
|
-
const maskConfigFunction = () => {
|
|
13
|
-
return {
|
|
14
|
-
validation: false,
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
export class InputPhoneModule {
|
|
18
|
-
}
|
|
19
|
-
InputPhoneModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: InputPhoneModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
20
|
-
InputPhoneModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: InputPhoneModule, declarations: [InputPhoneComponent, NativeElementInjectorDirective], imports: [CommonModule,
|
|
21
|
-
FormsModule,
|
|
22
|
-
ReactiveFormsModule,
|
|
23
|
-
DropdownModule,
|
|
24
|
-
SaveStateModule,
|
|
25
|
-
ErrorMessageModule, i1.NgxMaskModule], exports: [InputPhoneComponent] });
|
|
26
|
-
InputPhoneModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: InputPhoneModule, imports: [CommonModule,
|
|
27
|
-
FormsModule,
|
|
28
|
-
ReactiveFormsModule,
|
|
29
|
-
DropdownModule,
|
|
30
|
-
SaveStateModule,
|
|
31
|
-
ErrorMessageModule,
|
|
32
|
-
NgxMaskModule.forRoot(maskConfigFunction)] });
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: InputPhoneModule, decorators: [{
|
|
34
|
-
type: NgModule,
|
|
35
|
-
args: [{
|
|
36
|
-
declarations: [InputPhoneComponent, NativeElementInjectorDirective],
|
|
37
|
-
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
38
|
-
imports: [
|
|
39
|
-
CommonModule,
|
|
40
|
-
FormsModule,
|
|
41
|
-
ReactiveFormsModule,
|
|
42
|
-
DropdownModule,
|
|
43
|
-
SaveStateModule,
|
|
44
|
-
ErrorMessageModule,
|
|
45
|
-
NgxMaskModule.forRoot(maskConfigFunction)
|
|
46
|
-
],
|
|
47
|
-
exports: [InputPhoneComponent]
|
|
48
|
-
}]
|
|
49
|
-
}] });
|
|
50
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtcGhvbmUubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9jb21wb25lbnRzL2Zvcm0vaW5wdXQtcGhvbmUvaW5wdXQtcGhvbmUubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDakUsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLG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lU3RhdGVNb2R1bGUgfSBmcm9tICcuLi8uLi9zYXZlLXN0YXRlL3NhdmUtc3RhdGUubW9kdWxlJztcclxuXHJcbmNvbnN0IG1hc2tDb25maWdGdW5jdGlvbjogKCkgPT4gUGFydGlhbDxJQ29uZmlnPiA9ICgpID0+IHtcclxuICByZXR1cm4ge1xyXG4gICAgdmFsaWRhdGlvbjogZmFsc2UsXHJcbiAgfTtcclxufTtcclxuXHJcbkBOZ01vZHVsZSh7XHJcbiAgZGVjbGFyYXRpb25zOiBbSW5wdXRQaG9uZUNvbXBvbmVudCwgTmF0aXZlRWxlbWVudEluamVjdG9yRGlyZWN0aXZlXSxcclxuICBzY2hlbWFzOiBbQ1VTVE9NX0VMRU1FTlRTX1NDSEVNQV0sXHJcbiAgaW1wb3J0czogW1xyXG4gICAgQ29tbW9uTW9kdWxlLFxyXG4gICAgRm9ybXNNb2R1bGUsXHJcbiAgICBSZWFjdGl2ZUZvcm1zTW9kdWxlLFxyXG4gICAgRHJvcGRvd25Nb2R1bGUsXHJcbiAgICBTYXZlU3RhdGVNb2R1bGUsXHJcbiAgICBFcnJvck1lc3NhZ2VNb2R1bGUsXHJcbiAgICBOZ3hNYXNrTW9kdWxlLmZvclJvb3QobWFza0NvbmZpZ0Z1bmN0aW9uKVxyXG4gIF0sXHJcbiAgZXhwb3J0czogW0lucHV0UGhvbmVDb21wb25lbnRdXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBJbnB1dFBob25lTW9kdWxlIHtcclxuXHJcbn1cclxuIl19
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import * as lpn from 'google-libphonenumber';
|
|
2
|
-
/*
|
|
3
|
-
We use "control: any" instead of "control: FormControl" to silence:
|
|
4
|
-
"Property 'nativeElement' does not exist on type 'FormControl'".
|
|
5
|
-
This happens because I've expanded control with nativeElement via
|
|
6
|
-
'NativeElementInjectorDirective' to get an access to the element.
|
|
7
|
-
More about this approach and reasons for this:
|
|
8
|
-
https://github.com/angular/angular/issues/18025
|
|
9
|
-
https://stackoverflow.com/a/54075119/1617590
|
|
10
|
-
*/
|
|
11
|
-
export const phoneNumberValidator = (control) => {
|
|
12
|
-
if (!control.value) {
|
|
13
|
-
return;
|
|
14
|
-
}
|
|
15
|
-
// Find <input> inside injected nativeElement and get its "id".
|
|
16
|
-
const el = control.nativeElement;
|
|
17
|
-
const inputBox = el
|
|
18
|
-
? el.querySelector('input[type="tel"]')
|
|
19
|
-
: undefined;
|
|
20
|
-
if (inputBox) {
|
|
21
|
-
const id = inputBox.id;
|
|
22
|
-
const isCheckValidation = inputBox.getAttribute('validation');
|
|
23
|
-
if (isCheckValidation === 'true') {
|
|
24
|
-
const isRequired = control.errors && control.errors.required === true;
|
|
25
|
-
const error = { validatePhoneNumber: { valid: false } };
|
|
26
|
-
inputBox.setCustomValidity('Invalid field.');
|
|
27
|
-
let number;
|
|
28
|
-
try {
|
|
29
|
-
number = lpn.PhoneNumberUtil.getInstance().parse(control.value.number, control.value.countryCode);
|
|
30
|
-
}
|
|
31
|
-
catch (e) {
|
|
32
|
-
if (isRequired) {
|
|
33
|
-
return error;
|
|
34
|
-
}
|
|
35
|
-
else {
|
|
36
|
-
inputBox.setCustomValidity('');
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
if (control.value) {
|
|
40
|
-
// @ts-ignore
|
|
41
|
-
if (!number) {
|
|
42
|
-
return error;
|
|
43
|
-
}
|
|
44
|
-
else {
|
|
45
|
-
if (!lpn.PhoneNumberUtil.getInstance().isValidNumberForRegion(number, control.value.countryCode)) {
|
|
46
|
-
return error;
|
|
47
|
-
}
|
|
48
|
-
else {
|
|
49
|
-
inputBox.setCustomValidity('');
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
else if (isCheckValidation === 'false') {
|
|
55
|
-
inputBox.setCustomValidity('');
|
|
56
|
-
control.clearValidators();
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
return;
|
|
60
|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bHNlIHtcclxuICAgICAgICAgIGlucHV0Qm94LnNldEN1c3RvbVZhbGlkaXR5KCcnKTtcclxuICAgICAgICB9XHJcbiAgICAgIH1cclxuXHJcbiAgICAgIGlmIChjb250cm9sLnZhbHVlKSB7XHJcbiAgICAgICAgLy8gQHRzLWlnbm9yZVxyXG4gICAgICAgIGlmICghbnVtYmVyKSB7XHJcbiAgICAgICAgICByZXR1cm4gZXJyb3I7XHJcbiAgICAgICAgfSBlbHNlIHtcclxuICAgICAgICAgIGlmIChcclxuICAgICAgICAgICAgIWxwbi5QaG9uZU51bWJlclV0aWwuZ2V0SW5zdGFuY2UoKS5pc1ZhbGlkTnVtYmVyRm9yUmVnaW9uKFxyXG4gICAgICAgICAgICAgIG51bWJlcixcclxuICAgICAgICAgICAgICBjb250cm9sLnZhbHVlLmNvdW50cnlDb2RlXHJcbiAgICAgICAgICAgIClcclxuICAgICAgICAgICkge1xyXG4gICAgICAgICAgICByZXR1cm4gZXJyb3I7XHJcbiAgICAgICAgICB9IGVsc2Uge1xyXG4gICAgICAgICAgICBpbnB1dEJveC5zZXRDdXN0b21WYWxpZGl0eSgnJyk7XHJcbiAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG4gICAgICB9XHJcbiAgICB9IGVsc2UgaWYgKGlzQ2hlY2tWYWxpZGF0aW9uID09PSAnZmFsc2UnKSB7XHJcbiAgICAgIGlucHV0Qm94LnNldEN1c3RvbVZhbGlkaXR5KCcnKTtcclxuXHJcbiAgICAgIGNvbnRyb2wuY2xlYXJWYWxpZGF0b3JzKCk7XHJcbiAgICB9XHJcbiAgfVxyXG4gIHJldHVybjtcclxufTtcclxuIl19
|
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, EventEmitter, forwardRef, Input, Output, ViewChild } from '@angular/core';
|
|
2
|
-
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
3
|
-
import { InputSearchSizesEnum } from './input-search.enum';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@angular/common";
|
|
6
|
-
import * as i2 from "@angular/forms";
|
|
7
|
-
import * as i3 from "../../error-message/error-message.component";
|
|
8
|
-
import * as i4 from "ngx-mask";
|
|
9
|
-
export class InputSearchComponent {
|
|
10
|
-
constructor() {
|
|
11
|
-
this.value = '';
|
|
12
|
-
this.disabled = false;
|
|
13
|
-
this.required = false;
|
|
14
|
-
this.readonly = false;
|
|
15
|
-
this.maxlength = 0;
|
|
16
|
-
this.minlength = 0;
|
|
17
|
-
this.placeholder = '';
|
|
18
|
-
this.invalid = false;
|
|
19
|
-
this.invalidMessage = '';
|
|
20
|
-
this.checkInvalid = null;
|
|
21
|
-
this.customClasses = '';
|
|
22
|
-
this.mask = '';
|
|
23
|
-
this.size = 'large';
|
|
24
|
-
this.changed = new EventEmitter();
|
|
25
|
-
this.cleared = new EventEmitter();
|
|
26
|
-
this.searched = new EventEmitter();
|
|
27
|
-
this.onChange = (value) => {
|
|
28
|
-
};
|
|
29
|
-
this.onTouched = () => {
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
get isInvalidMessage() {
|
|
33
|
-
return !!this.invalidMessage || !!this.invalidMessage.length;
|
|
34
|
-
}
|
|
35
|
-
get invalidMessageArray() {
|
|
36
|
-
if (typeof this.invalidMessage === 'string') {
|
|
37
|
-
return Array(this.invalidMessage);
|
|
38
|
-
}
|
|
39
|
-
else {
|
|
40
|
-
return this.invalidMessage;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
get isValid() {
|
|
44
|
-
return this.baseValidate();
|
|
45
|
-
}
|
|
46
|
-
get isVerified() {
|
|
47
|
-
return (!this.required ||
|
|
48
|
-
(this.required && this.value != null && this.value !== '' && this.isValid));
|
|
49
|
-
}
|
|
50
|
-
get readonlyClass() {
|
|
51
|
-
return this.readonly ? 'mrx-input__readonly' : '';
|
|
52
|
-
}
|
|
53
|
-
get checkValidClasses() {
|
|
54
|
-
return this.checkInvalid === false ?
|
|
55
|
-
'mrx-input-checked-success' :
|
|
56
|
-
this.checkInvalid === true ? 'mrx-input-checked-error' : '';
|
|
57
|
-
}
|
|
58
|
-
get getClasses() {
|
|
59
|
-
return `${InputSearchSizesEnum[this.size]} ${this.customClasses} ${this.readonlyClass} ${this.checkValidClasses}`;
|
|
60
|
-
}
|
|
61
|
-
get isShowCloseIcon() {
|
|
62
|
-
return this.value !== '' && this.value !== undefined;
|
|
63
|
-
}
|
|
64
|
-
onClear() {
|
|
65
|
-
this.updateValue('');
|
|
66
|
-
setTimeout(() => {
|
|
67
|
-
this.cleared.emit();
|
|
68
|
-
}, 0);
|
|
69
|
-
}
|
|
70
|
-
onSearch() {
|
|
71
|
-
this.searched.emit();
|
|
72
|
-
}
|
|
73
|
-
insertPositionText(tagText) {
|
|
74
|
-
if (this.selectionStart && this.selectionEnd) {
|
|
75
|
-
const firstText = this.value.substring(0, this.selectionStart) + tagText;
|
|
76
|
-
const secondText = this.value.substring(this.selectionEnd);
|
|
77
|
-
const text = firstText + secondText;
|
|
78
|
-
this.updateValue(text);
|
|
79
|
-
setTimeout(() => {
|
|
80
|
-
this.inputElement.nativeElement.selectionStart = firstText.length;
|
|
81
|
-
this.inputElement.nativeElement.selectionEnd = firstText.length;
|
|
82
|
-
this.inputElement.nativeElement.focus();
|
|
83
|
-
}, 0);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
baseValidate() {
|
|
87
|
-
if (this.minlength) {
|
|
88
|
-
return !!this.value && this.value.length >= this.minlength;
|
|
89
|
-
}
|
|
90
|
-
return true;
|
|
91
|
-
}
|
|
92
|
-
updateSelection(event) {
|
|
93
|
-
this.selectionStart = event.target.selectionStart;
|
|
94
|
-
this.selectionEnd = event.target.selectionEnd;
|
|
95
|
-
}
|
|
96
|
-
registerOnChange(fn) {
|
|
97
|
-
this.onChange = fn;
|
|
98
|
-
}
|
|
99
|
-
registerOnTouched(fn) {
|
|
100
|
-
this.onTouched = fn;
|
|
101
|
-
}
|
|
102
|
-
writeValue(outsideValue) {
|
|
103
|
-
this.value = outsideValue;
|
|
104
|
-
}
|
|
105
|
-
setDisabledState(isDisabled) {
|
|
106
|
-
this.disabled = isDisabled;
|
|
107
|
-
}
|
|
108
|
-
updateValue(insideValue) {
|
|
109
|
-
this.value = insideValue;
|
|
110
|
-
this.changed.emit(insideValue);
|
|
111
|
-
this.onChange(insideValue);
|
|
112
|
-
this.onTouched();
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
InputSearchComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: InputSearchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
116
|
-
InputSearchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: InputSearchComponent, selector: "mrx-input-search", inputs: { disabled: "disabled", required: "required", readonly: "readonly", maxlength: "maxlength", minlength: "minlength", placeholder: "placeholder", invalid: "invalid", invalidMessage: "invalidMessage", checkInvalid: "checkInvalid", customClasses: "customClasses", mask: "mask", size: "size" }, outputs: { changed: "changed", cleared: "cleared", searched: "searched" }, providers: [
|
|
117
|
-
{
|
|
118
|
-
provide: NG_VALUE_ACCESSOR,
|
|
119
|
-
useExisting: forwardRef(() => InputSearchComponent),
|
|
120
|
-
multi: true,
|
|
121
|
-
},
|
|
122
|
-
], viewQueries: [{ propertyName: "inputElement", first: true, predicate: ["inputElement"], descendants: true }], ngImport: i0, template: "<div\r\n class=\"mrx-input-search\"\r\n [class]=\"getClasses\"\r\n [class.mrx-input-error]=\"invalid\">\r\n <div class=\"mrx-input-search__wrapper\">\r\n <input\r\n autocomplete=\"nope\"\r\n #inputElement\r\n [type]=\"'text'\"\r\n [ngModel]=\"value\"\r\n (ngModelChange)=\"updateValue($event)\"\r\n (blur)=\"updateSelection($event)\"\r\n [mask]=\"mask\"\r\n [attr.title]=\"placeholder || ''\"\r\n [disabled]=\"disabled\"\r\n [readOnly]=\"readonly\"\r\n [attr.minlength]=\"minlength > 0 ? minlength : null\"\r\n [attr.maxlength]=\"maxlength > 0 ? maxlength : null\"\r\n [attr.placeholder]=\"!disabled && placeholder ? placeholder : ''\"\r\n />\r\n\r\n <div class=\"mrx-input-search__icons\">\r\n <span\r\n class=\"mrx-icon icon-close mr-2\"\r\n [class.icon-font-16]=\"size === 'small' || size === 'medium'\"\r\n [class.icon-font-24]=\"size === 'large'\"\r\n *ngIf=\"isShowCloseIcon\"\r\n (click)=\"onClear()\"\r\n ></span>\r\n\r\n <span\r\n class=\"mrx-icon icon-search\"\r\n [class.icon-font-16]=\"size === 'small' || size === 'medium'\"\r\n [class.icon-font-24]=\"size === 'large'\"\r\n (click)=\"onSearch()\"\r\n ></span>\r\n </div>\r\n </div>\r\n\r\n <mrx-error-message\r\n *ngIf=\"(!isValid || invalid) && isInvalidMessage\"\r\n [invalidMessage]=\"invalidMessage\"\r\n ></mrx-error-message>\r\n</div>\r\n", styles: [".mrx-input-search.mrx-input-search{width:100%;position:relative}.mrx-input-search.mrx-input-search .mrx-input-search__wrapper{position:relative}.mrx-input-search.mrx-input-search:hover input{border:var(--border-width-default) solid var(--neutral-bg-stroke-hover)}.mrx-input-search.mrx-input-search input{box-sizing:border-box;border:var(--border-width-default) solid var(--neutral-bg-stroke-default);border-radius:var(--border-radius-1);width:100%;outline:none;transition:outline-width .2s,border .2s}.mrx-input-search.mrx-input-search input:focus,.mrx-input-search.mrx-input-search input:active{outline:var(--neutral-bg-island-default) solid var(--border-width-focused)}.mrx-input-search.mrx-input-search input:disabled{background-color:var(--neutral-bg-disabled)}.mrx-input-search.mrx-input-search.mrx-input__readonly input[type=tel]:disabled{background-color:inherit}.mrx-input-search.mrx-input-search.mrx-input__readonly input{background-color:inherit}.mrx-input-search.mrx-input-search.mrx-input-search-lg input{padding:calc(var(--spacing-3) + var(--spacing-helf) - var(--border-width-default)) calc(var(--spacing-16) + var(--spacing-2)) calc(var(--spacing-3) + var(--spacing-helf) - var(--border-width-default)) var(--spacing-4);font-family:var(--body-md-font-family);font-size:var(--body-md-font-size);font-weight:var(--body-md-font-weight);line-height:var(--body-md-line-height)}.mrx-input-search.mrx-input-search.mrx-input-search-md input{padding:calc(var(--sizing-2) + var(--spacing-helf) - var(--border-width-default)) calc(var(--spacing-16) - var(--spacing-1) - var(--spacing-helf)) calc(var(--sizing-2) + var(--spacing-helf) - var(--border-width-default)) var(--spacing-4);font-family:var(--body-md-font-family);font-size:var(--body-md-font-size);font-weight:var(--body-md-font-weight);line-height:var(--body-md-line-height)}.mrx-input-search.mrx-input-search.mrx-input-search-sm input{padding:calc(var(--sizing-2) - var(--border-width-default)) calc(var(--spacing-16) - var(--spacing-1) - var(--spacing-helf)) calc(var(--sizing-2) - var(--border-width-default)) var(--spacing-4);font-family:var(--body-sm-font-family);font-size:var(--body-sm-font-size);font-weight:var(--body-sm-font-weight);line-height:var(--body-sm-line-height)}.mrx-input-search.mrx-input-search.mrx-input-error input{border-color:var(--system-bg-controls-negative-default)}.mrx-input-search.mrx-input-search.mrx-input-checked-error input{border-color:var(--system-bg-controls-negative-default);background-color:var(--system-bg-negative-secondary)}.mrx-input-search.mrx-input-search.mrx-input-checked-success input{background-color:var(--system-bg-positive-secondary);border-color:var(--system-bg-controls-positive-default)}.mrx-input-search.mrx-input-search .mrx-input-search__icons{position:absolute;right:var(--spacing-3);top:50%;transform:translateY(-50%);display:flex;align-items:center}.mrx-input-search.mrx-input-search .mrx-input-search__icons .mrx-icon{will-change:transform;cursor:pointer;color:var(--neutral-icon-default)}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.MinLengthValidator, selector: "[minlength][formControlName],[minlength][formControl],[minlength][ngModel]", inputs: ["minlength"] }, { kind: "directive", type: i2.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.ErrorMessageComponent, selector: "mrx-error-message", inputs: ["invalidMessage", "customClasses"] }, { kind: "directive", type: i4.NgxMaskDirective, selector: "input[mask], textarea[mask]", inputs: ["mask", "specialCharacters", "patterns", "prefix", "suffix", "thousandSeparator", "decimalMarker", "dropSpecialCharacters", "hiddenInput", "showMaskTyped", "placeHolderCharacter", "shownMaskExpression", "showTemplate", "clearIfNotMatch", "validation", "separatorLimit", "allowNegativeNumbers", "leadZeroDateTime", "leadZero", "triggerOnMaskChange", "apm", "inputTransformFn", "outputTransformFn", "keepCharacterPositions"], outputs: ["maskFilled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
123
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: InputSearchComponent, decorators: [{
|
|
124
|
-
type: Component,
|
|
125
|
-
args: [{ selector: 'mrx-input-search', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
126
|
-
{
|
|
127
|
-
provide: NG_VALUE_ACCESSOR,
|
|
128
|
-
useExisting: forwardRef(() => InputSearchComponent),
|
|
129
|
-
multi: true,
|
|
130
|
-
},
|
|
131
|
-
], template: "<div\r\n class=\"mrx-input-search\"\r\n [class]=\"getClasses\"\r\n [class.mrx-input-error]=\"invalid\">\r\n <div class=\"mrx-input-search__wrapper\">\r\n <input\r\n autocomplete=\"nope\"\r\n #inputElement\r\n [type]=\"'text'\"\r\n [ngModel]=\"value\"\r\n (ngModelChange)=\"updateValue($event)\"\r\n (blur)=\"updateSelection($event)\"\r\n [mask]=\"mask\"\r\n [attr.title]=\"placeholder || ''\"\r\n [disabled]=\"disabled\"\r\n [readOnly]=\"readonly\"\r\n [attr.minlength]=\"minlength > 0 ? minlength : null\"\r\n [attr.maxlength]=\"maxlength > 0 ? maxlength : null\"\r\n [attr.placeholder]=\"!disabled && placeholder ? placeholder : ''\"\r\n />\r\n\r\n <div class=\"mrx-input-search__icons\">\r\n <span\r\n class=\"mrx-icon icon-close mr-2\"\r\n [class.icon-font-16]=\"size === 'small' || size === 'medium'\"\r\n [class.icon-font-24]=\"size === 'large'\"\r\n *ngIf=\"isShowCloseIcon\"\r\n (click)=\"onClear()\"\r\n ></span>\r\n\r\n <span\r\n class=\"mrx-icon icon-search\"\r\n [class.icon-font-16]=\"size === 'small' || size === 'medium'\"\r\n [class.icon-font-24]=\"size === 'large'\"\r\n (click)=\"onSearch()\"\r\n ></span>\r\n </div>\r\n </div>\r\n\r\n <mrx-error-message\r\n *ngIf=\"(!isValid || invalid) && isInvalidMessage\"\r\n [invalidMessage]=\"invalidMessage\"\r\n ></mrx-error-message>\r\n</div>\r\n", styles: [".mrx-input-search.mrx-input-search{width:100%;position:relative}.mrx-input-search.mrx-input-search .mrx-input-search__wrapper{position:relative}.mrx-input-search.mrx-input-search:hover input{border:var(--border-width-default) solid var(--neutral-bg-stroke-hover)}.mrx-input-search.mrx-input-search input{box-sizing:border-box;border:var(--border-width-default) solid var(--neutral-bg-stroke-default);border-radius:var(--border-radius-1);width:100%;outline:none;transition:outline-width .2s,border .2s}.mrx-input-search.mrx-input-search input:focus,.mrx-input-search.mrx-input-search input:active{outline:var(--neutral-bg-island-default) solid var(--border-width-focused)}.mrx-input-search.mrx-input-search input:disabled{background-color:var(--neutral-bg-disabled)}.mrx-input-search.mrx-input-search.mrx-input__readonly input[type=tel]:disabled{background-color:inherit}.mrx-input-search.mrx-input-search.mrx-input__readonly input{background-color:inherit}.mrx-input-search.mrx-input-search.mrx-input-search-lg input{padding:calc(var(--spacing-3) + var(--spacing-helf) - var(--border-width-default)) calc(var(--spacing-16) + var(--spacing-2)) calc(var(--spacing-3) + var(--spacing-helf) - var(--border-width-default)) var(--spacing-4);font-family:var(--body-md-font-family);font-size:var(--body-md-font-size);font-weight:var(--body-md-font-weight);line-height:var(--body-md-line-height)}.mrx-input-search.mrx-input-search.mrx-input-search-md input{padding:calc(var(--sizing-2) + var(--spacing-helf) - var(--border-width-default)) calc(var(--spacing-16) - var(--spacing-1) - var(--spacing-helf)) calc(var(--sizing-2) + var(--spacing-helf) - var(--border-width-default)) var(--spacing-4);font-family:var(--body-md-font-family);font-size:var(--body-md-font-size);font-weight:var(--body-md-font-weight);line-height:var(--body-md-line-height)}.mrx-input-search.mrx-input-search.mrx-input-search-sm input{padding:calc(var(--sizing-2) - var(--border-width-default)) calc(var(--spacing-16) - var(--spacing-1) - var(--spacing-helf)) calc(var(--sizing-2) - var(--border-width-default)) var(--spacing-4);font-family:var(--body-sm-font-family);font-size:var(--body-sm-font-size);font-weight:var(--body-sm-font-weight);line-height:var(--body-sm-line-height)}.mrx-input-search.mrx-input-search.mrx-input-error input{border-color:var(--system-bg-controls-negative-default)}.mrx-input-search.mrx-input-search.mrx-input-checked-error input{border-color:var(--system-bg-controls-negative-default);background-color:var(--system-bg-negative-secondary)}.mrx-input-search.mrx-input-search.mrx-input-checked-success input{background-color:var(--system-bg-positive-secondary);border-color:var(--system-bg-controls-positive-default)}.mrx-input-search.mrx-input-search .mrx-input-search__icons{position:absolute;right:var(--spacing-3);top:50%;transform:translateY(-50%);display:flex;align-items:center}.mrx-input-search.mrx-input-search .mrx-input-search__icons .mrx-icon{will-change:transform;cursor:pointer;color:var(--neutral-icon-default)}\n"] }]
|
|
132
|
-
}], propDecorators: { inputElement: [{
|
|
133
|
-
type: ViewChild,
|
|
134
|
-
args: ['inputElement']
|
|
135
|
-
}], disabled: [{
|
|
136
|
-
type: Input
|
|
137
|
-
}], required: [{
|
|
138
|
-
type: Input
|
|
139
|
-
}], readonly: [{
|
|
140
|
-
type: Input
|
|
141
|
-
}], maxlength: [{
|
|
142
|
-
type: Input
|
|
143
|
-
}], minlength: [{
|
|
144
|
-
type: Input
|
|
145
|
-
}], placeholder: [{
|
|
146
|
-
type: Input
|
|
147
|
-
}], invalid: [{
|
|
148
|
-
type: Input
|
|
149
|
-
}], invalidMessage: [{
|
|
150
|
-
type: Input
|
|
151
|
-
}], checkInvalid: [{
|
|
152
|
-
type: Input
|
|
153
|
-
}], customClasses: [{
|
|
154
|
-
type: Input
|
|
155
|
-
}], mask: [{
|
|
156
|
-
type: Input
|
|
157
|
-
}], size: [{
|
|
158
|
-
type: Input
|
|
159
|
-
}], changed: [{
|
|
160
|
-
type: Output
|
|
161
|
-
}], cleared: [{
|
|
162
|
-
type: Output
|
|
163
|
-
}], searched: [{
|
|
164
|
-
type: Output
|
|
165
|
-
}] } });
|
|
166
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtc2VhcmNoLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL215cnRhLXVpL3NyYy9saWIvY29tcG9uZW50cy9mb3JtL2lucHV0LXNlYXJjaC9pbnB1dC1zZWFyY2guY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9jb21wb25lbnRzL2Zvcm0vaW5wdXQtc2VhcmNoL2lucHV0LXNlYXJjaC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFFVCxZQUFZLEVBQ1osVUFBVSxFQUNWLEtBQUssRUFDTCxNQUFNLEVBQ04sU0FBUyxFQUNWLE1BQU0sZUFBZSxDQUFDO0FBQ3Z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Z2VdPVwiaW52YWxpZE1lc3NhZ2VcIlxyXG4gID48L21yeC1lcnJvci1tZXNzYWdlPlxyXG48L2Rpdj5cclxuIl19
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { FormsModule } from '@angular/forms';
|
|
4
|
-
import { CharsLeftModule } from '../../chars-left/chars-left.module';
|
|
5
|
-
import { NgxMaskModule } from 'ngx-mask';
|
|
6
|
-
import { InputSearchComponent } from './input-search.component';
|
|
7
|
-
import { ErrorMessageModule } from "../../error-message/error-message.module";
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
import * as i1 from "ngx-mask";
|
|
10
|
-
const maskConfigFunction = () => {
|
|
11
|
-
return {
|
|
12
|
-
validation: false,
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export class InputSearchModule {
|
|
16
|
-
}
|
|
17
|
-
InputSearchModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: InputSearchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
18
|
-
InputSearchModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: InputSearchModule, declarations: [InputSearchComponent], imports: [CommonModule,
|
|
19
|
-
FormsModule,
|
|
20
|
-
CharsLeftModule,
|
|
21
|
-
ErrorMessageModule, i1.NgxMaskModule], exports: [InputSearchComponent] });
|
|
22
|
-
InputSearchModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: InputSearchModule, imports: [CommonModule,
|
|
23
|
-
FormsModule,
|
|
24
|
-
CharsLeftModule,
|
|
25
|
-
ErrorMessageModule,
|
|
26
|
-
NgxMaskModule.forRoot(maskConfigFunction)] });
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: InputSearchModule, decorators: [{
|
|
28
|
-
type: NgModule,
|
|
29
|
-
args: [{
|
|
30
|
-
declarations: [InputSearchComponent],
|
|
31
|
-
imports: [
|
|
32
|
-
CommonModule,
|
|
33
|
-
FormsModule,
|
|
34
|
-
CharsLeftModule,
|
|
35
|
-
ErrorMessageModule,
|
|
36
|
-
NgxMaskModule.forRoot(maskConfigFunction)
|
|
37
|
-
],
|
|
38
|
-
exports: [InputSearchComponent],
|
|
39
|
-
}]
|
|
40
|
-
}] });
|
|
41
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtc2VhcmNoLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL215cnRhLXVpL3NyYy9saWIvY29tcG9uZW50cy9mb3JtL2lucHV0LXNlYXJjaC9pbnB1dC1zZWFyY2gubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUM3QyxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sb0NBQW9DLENBQUM7QUFDckUsT0FBTyxFQUFXLGFBQWEsRUFBRSxNQUFNLFVBQVUsQ0FBQztBQUNsRCxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUNoRSxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSwwQ0FBMEMsQ0FBQzs7O0FBRTlFLE1BQU0sa0JBQWtCLEdBQTJCLEdBQUcsRUFBRTtJQUN0RCxPQUFPO1FBQ0wsVUF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