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,84 +1,84 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import { AddTagFn } from '@ng-select/ng-select/lib/ng-select.component';
|
|
4
|
-
import { InputSelectSizeTypes, InputSelectValueTypes, InputSelectValueWithId } from './input-select.enum';
|
|
5
|
-
import { Field } from '../../../services';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class InputSelectComponent implements ControlValueAccessor {
|
|
8
|
-
maxSelectedItems: number;
|
|
9
|
-
_value: InputSelectValueTypes;
|
|
10
|
-
uuid: string;
|
|
11
|
-
fields: Field[];
|
|
12
|
-
size: InputSelectSizeTypes;
|
|
13
|
-
selected: object | any[];
|
|
14
|
-
bindValue: string;
|
|
15
|
-
bindLabel: string;
|
|
16
|
-
customClasses: string;
|
|
17
|
-
wrapperCustomClasses: string;
|
|
18
|
-
multiple: boolean;
|
|
19
|
-
loading: boolean;
|
|
20
|
-
addTag: boolean | AddTagFn;
|
|
21
|
-
clearable: boolean;
|
|
22
|
-
items: any[];
|
|
23
|
-
groupBy: string | ((value: any) => any);
|
|
24
|
-
emptyValue: any;
|
|
25
|
-
virtualScroll: boolean;
|
|
26
|
-
trackByFn: any;
|
|
27
|
-
displayValue: string | string[];
|
|
28
|
-
disabledFromDisplay: boolean;
|
|
29
|
-
maxLength: number;
|
|
30
|
-
customSearchFn?: (term: string, item: any) => boolean;
|
|
31
|
-
isBottomLabel: boolean;
|
|
32
|
-
search: boolean;
|
|
33
|
-
required: boolean;
|
|
34
|
-
disabled: boolean;
|
|
35
|
-
readonly: boolean;
|
|
36
|
-
showEmptyFields: boolean;
|
|
37
|
-
placeholder: string;
|
|
38
|
-
searchable: boolean;
|
|
39
|
-
loadLabel: string;
|
|
40
|
-
notFoundText: string;
|
|
41
|
-
closeOnSelect: boolean;
|
|
42
|
-
multiCollapseCount: number | null;
|
|
43
|
-
invalid: boolean;
|
|
44
|
-
invalidMessage: string | string[];
|
|
45
|
-
checkInvalid: true | false | null;
|
|
46
|
-
label: string;
|
|
47
|
-
labelRequiredHidden: boolean;
|
|
48
|
-
labelExtraClass: object | string;
|
|
49
|
-
tooltip: string;
|
|
50
|
-
tooltipHidden: boolean;
|
|
51
|
-
tooltipVisible: boolean;
|
|
52
|
-
selectOptionsTemplate: TemplateRef<ElementRef>;
|
|
53
|
-
labelTemplate: TemplateRef<ElementRef>;
|
|
54
|
-
tagTemplate: TemplateRef<ElementRef>;
|
|
55
|
-
multiLabelTemplate: TemplateRef<ElementRef>;
|
|
56
|
-
set setMaxSelectedItems(val: number);
|
|
57
|
-
changed: EventEmitter<InputSelectValueTypes>;
|
|
58
|
-
modelChange: EventEmitter<InputSelectValueWithId>;
|
|
59
|
-
searched: EventEmitter<{
|
|
60
|
-
term: string;
|
|
61
|
-
items: any[];
|
|
62
|
-
}>;
|
|
63
|
-
get isValid(): boolean;
|
|
64
|
-
get isVerified(): boolean;
|
|
65
|
-
get value(): InputSelectValueTypes;
|
|
66
|
-
set value(value: InputSelectValueTypes);
|
|
67
|
-
get isInvalidMessage(): boolean;
|
|
68
|
-
get invalidMessageArray(): string[];
|
|
69
|
-
get checkValidClasses(): string;
|
|
70
|
-
get getClasses(): string;
|
|
71
|
-
get checkLoading(): string;
|
|
72
|
-
protected onChange(val: any): void;
|
|
73
|
-
private onTouched;
|
|
74
|
-
writeValue(value: any): void;
|
|
75
|
-
registerOnChange(fn: any): void;
|
|
76
|
-
registerOnTouched(fn: any): void;
|
|
77
|
-
updateValue(insideValue: InputSelectValueTypes): void;
|
|
78
|
-
updateSearch(event: {
|
|
79
|
-
term: string;
|
|
80
|
-
items: any[];
|
|
81
|
-
}): void;
|
|
82
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InputSelectComponent, never>;
|
|
83
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputSelectComponent, "mrx-input-select", never, { "fields": "fields"; "size": "size"; "selected": "selected"; "bindValue": "bindValue"; "bindLabel": "bindLabel"; "customClasses": "customClasses"; "wrapperCustomClasses": "wrapperCustomClasses"; "multiple": "multiple"; "loading": "loading"; "addTag": "addTag"; "clearable": "clearable"; "items": "items"; "groupBy": "groupBy"; "emptyValue": "emptyValue"; "virtualScroll": "virtualScroll"; "trackByFn": "trackByFn"; "displayValue": "displayValue"; "disabledFromDisplay": "disabledFromDisplay"; "maxLength": "maxLength"; "customSearchFn": "customSearchFn"; "isBottomLabel": "isBottomLabel"; "search": "search"; "required": "required"; "disabled": "disabled"; "readonly": "readonly"; "showEmptyFields": "showEmptyFields"; "placeholder": "placeholder"; "searchable": "searchable"; "loadLabel": "loadLabel"; "notFoundText": "notFoundText"; "closeOnSelect": "closeOnSelect"; "multiCollapseCount": "multiCollapseCount"; "invalid": "invalid"; "invalidMessage": "invalidMessage"; "checkInvalid": "checkInvalid"; "label": "label"; "labelRequiredHidden": "labelRequiredHidden"; "labelExtraClass": "labelExtraClass"; "tooltip": "tooltip"; "tooltipHidden": "tooltipHidden"; "tooltipVisible": "tooltipVisible"; "setMaxSelectedItems": "maxSelectedItems"; }, { "changed": "changed"; "modelChange": "modelChange"; "searched": "searched"; }, ["selectOptionsTemplate", "labelTemplate", "tagTemplate", "multiLabelTemplate"], never, false>;
|
|
84
|
-
}
|
|
1
|
+
import { ElementRef, EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import { AddTagFn } from '@ng-select/ng-select/lib/ng-select.component';
|
|
4
|
+
import { InputSelectSizeTypes, InputSelectValueTypes, InputSelectValueWithId } from './input-select.enum';
|
|
5
|
+
import { Field } from '../../../services';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class InputSelectComponent implements ControlValueAccessor {
|
|
8
|
+
maxSelectedItems: number;
|
|
9
|
+
_value: InputSelectValueTypes;
|
|
10
|
+
uuid: string;
|
|
11
|
+
fields: Field[];
|
|
12
|
+
size: InputSelectSizeTypes;
|
|
13
|
+
selected: object | any[];
|
|
14
|
+
bindValue: string;
|
|
15
|
+
bindLabel: string;
|
|
16
|
+
customClasses: string;
|
|
17
|
+
wrapperCustomClasses: string;
|
|
18
|
+
multiple: boolean;
|
|
19
|
+
loading: boolean;
|
|
20
|
+
addTag: boolean | AddTagFn;
|
|
21
|
+
clearable: boolean;
|
|
22
|
+
items: any[];
|
|
23
|
+
groupBy: string | ((value: any) => any);
|
|
24
|
+
emptyValue: any;
|
|
25
|
+
virtualScroll: boolean;
|
|
26
|
+
trackByFn: any;
|
|
27
|
+
displayValue: string | string[];
|
|
28
|
+
disabledFromDisplay: boolean;
|
|
29
|
+
maxLength: number;
|
|
30
|
+
customSearchFn?: (term: string, item: any) => boolean;
|
|
31
|
+
isBottomLabel: boolean;
|
|
32
|
+
search: boolean;
|
|
33
|
+
required: boolean;
|
|
34
|
+
disabled: boolean;
|
|
35
|
+
readonly: boolean;
|
|
36
|
+
showEmptyFields: boolean;
|
|
37
|
+
placeholder: string;
|
|
38
|
+
searchable: boolean;
|
|
39
|
+
loadLabel: string;
|
|
40
|
+
notFoundText: string;
|
|
41
|
+
closeOnSelect: boolean;
|
|
42
|
+
multiCollapseCount: number | null;
|
|
43
|
+
invalid: boolean;
|
|
44
|
+
invalidMessage: string | string[];
|
|
45
|
+
checkInvalid: true | false | null;
|
|
46
|
+
label: string;
|
|
47
|
+
labelRequiredHidden: boolean;
|
|
48
|
+
labelExtraClass: object | string;
|
|
49
|
+
tooltip: string;
|
|
50
|
+
tooltipHidden: boolean;
|
|
51
|
+
tooltipVisible: boolean;
|
|
52
|
+
selectOptionsTemplate: TemplateRef<ElementRef>;
|
|
53
|
+
labelTemplate: TemplateRef<ElementRef>;
|
|
54
|
+
tagTemplate: TemplateRef<ElementRef>;
|
|
55
|
+
multiLabelTemplate: TemplateRef<ElementRef>;
|
|
56
|
+
set setMaxSelectedItems(val: number);
|
|
57
|
+
changed: EventEmitter<InputSelectValueTypes>;
|
|
58
|
+
modelChange: EventEmitter<InputSelectValueWithId>;
|
|
59
|
+
searched: EventEmitter<{
|
|
60
|
+
term: string;
|
|
61
|
+
items: any[];
|
|
62
|
+
}>;
|
|
63
|
+
get isValid(): boolean;
|
|
64
|
+
get isVerified(): boolean;
|
|
65
|
+
get value(): InputSelectValueTypes;
|
|
66
|
+
set value(value: InputSelectValueTypes);
|
|
67
|
+
get isInvalidMessage(): boolean;
|
|
68
|
+
get invalidMessageArray(): string[];
|
|
69
|
+
get checkValidClasses(): string;
|
|
70
|
+
get getClasses(): string;
|
|
71
|
+
get checkLoading(): string;
|
|
72
|
+
protected onChange(val: any): void;
|
|
73
|
+
private onTouched;
|
|
74
|
+
writeValue(value: any): void;
|
|
75
|
+
registerOnChange(fn: any): void;
|
|
76
|
+
registerOnTouched(fn: any): void;
|
|
77
|
+
updateValue(insideValue: InputSelectValueTypes): void;
|
|
78
|
+
updateSearch(event: {
|
|
79
|
+
term: string;
|
|
80
|
+
items: any[];
|
|
81
|
+
}): void;
|
|
82
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputSelectComponent, never>;
|
|
83
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputSelectComponent, "mrx-input-select", never, { "fields": { "alias": "fields"; "required": false; }; "size": { "alias": "size"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "bindValue": { "alias": "bindValue"; "required": false; }; "bindLabel": { "alias": "bindLabel"; "required": false; }; "customClasses": { "alias": "customClasses"; "required": false; }; "wrapperCustomClasses": { "alias": "wrapperCustomClasses"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "addTag": { "alias": "addTag"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "items": { "alias": "items"; "required": false; }; "groupBy": { "alias": "groupBy"; "required": false; }; "emptyValue": { "alias": "emptyValue"; "required": false; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; }; "trackByFn": { "alias": "trackByFn"; "required": false; }; "displayValue": { "alias": "displayValue"; "required": false; }; "disabledFromDisplay": { "alias": "disabledFromDisplay"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "customSearchFn": { "alias": "customSearchFn"; "required": false; }; "isBottomLabel": { "alias": "isBottomLabel"; "required": false; }; "search": { "alias": "search"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "showEmptyFields": { "alias": "showEmptyFields"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "searchable": { "alias": "searchable"; "required": false; }; "loadLabel": { "alias": "loadLabel"; "required": false; }; "notFoundText": { "alias": "notFoundText"; "required": false; }; "closeOnSelect": { "alias": "closeOnSelect"; "required": false; }; "multiCollapseCount": { "alias": "multiCollapseCount"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "invalidMessage": { "alias": "invalidMessage"; "required": false; }; "checkInvalid": { "alias": "checkInvalid"; "required": false; }; "label": { "alias": "label"; "required": false; }; "labelRequiredHidden": { "alias": "labelRequiredHidden"; "required": false; }; "labelExtraClass": { "alias": "labelExtraClass"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "tooltipHidden": { "alias": "tooltipHidden"; "required": false; }; "tooltipVisible": { "alias": "tooltipVisible"; "required": false; }; "setMaxSelectedItems": { "alias": "maxSelectedItems"; "required": false; }; }, { "changed": "changed"; "modelChange": "modelChange"; "searched": "searched"; }, ["selectOptionsTemplate", "labelTemplate", "tagTemplate", "multiLabelTemplate"], never, false, never>;
|
|
84
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export declare enum InputSelectSizeEnum {
|
|
2
|
-
'medium' = "mrx-input-select-md",
|
|
3
|
-
'large' = "mrx-input-select-lg"
|
|
4
|
-
}
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export interface InputSelectValueWithId {
|
|
8
|
-
value: InputSelectValueTypes;
|
|
9
|
-
id: string;
|
|
10
|
-
}
|
|
1
|
+
export declare enum InputSelectSizeEnum {
|
|
2
|
+
'medium' = "mrx-input-select-md",
|
|
3
|
+
'large' = "mrx-input-select-lg"
|
|
4
|
+
}
|
|
5
|
+
export type InputSelectSizeTypes = 'medium' | 'large';
|
|
6
|
+
export type InputSelectValueTypes = string | string[];
|
|
7
|
+
export interface InputSelectValueWithId {
|
|
8
|
+
value: InputSelectValueTypes;
|
|
9
|
+
id: string;
|
|
10
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./input-select.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "@angular/forms";
|
|
5
|
-
import * as i4 from "../../label/label.module";
|
|
6
|
-
import * as i5 from "../../loader/loader.module";
|
|
7
|
-
import * as i6 from "../../save-state/save-state.module";
|
|
8
|
-
import * as i7 from "../../error-message/error-message.module";
|
|
9
|
-
import * as i8 from "@ng-select/ng-select";
|
|
10
|
-
export declare class InputSelectModule {
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InputSelectModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<InputSelectModule, [typeof i1.InputSelectComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.LabelModule, typeof i5.LoaderModule, typeof i6.SaveStateModule, typeof i7.ErrorMessageModule, typeof i8.NgSelectModule], [typeof i1.InputSelectComponent]>;
|
|
13
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<InputSelectModule>;
|
|
14
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./input-select.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "../../label/label.module";
|
|
6
|
+
import * as i5 from "../../loader/loader.module";
|
|
7
|
+
import * as i6 from "../../save-state/save-state.module";
|
|
8
|
+
import * as i7 from "../../error-message/error-message.module";
|
|
9
|
+
import * as i8 from "@ng-select/ng-select";
|
|
10
|
+
export declare class InputSelectModule {
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputSelectModule, never>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<InputSelectModule, [typeof i1.InputSelectComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.LabelModule, typeof i5.LoaderModule, typeof i6.SaveStateModule, typeof i7.ErrorMessageModule, typeof i8.NgSelectModule], [typeof i1.InputSelectComponent]>;
|
|
13
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<InputSelectModule>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const dropdownOpen = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABmJLR0QA/wD/AP+gvaeTAAABDklEQVRIie3PK0uEQRQG4EfdIoIgiIJtg8VgMa6woEEMBpvFZNhmM2k1icVkM5j0D1hNFoPFsMGyYBAEEUS8X8qMLB/frHsTDPvCSec9zzD08p9SRg2lDoxSMMrZxSwe8IV7zLSBT+MuGI+Yy8Pj3GKqBXwSNxnj55FaZhHnGsUm8GLo5hk1mMdTonCFiQb4GKqJ2xcsxuICnhPFKsZz8FFcJm5esZQ9WMZb4uACI3XdYZwnuu9YSX15FR+JwzMMYRCnic4n1lJ4TCUU84CTMCm88hses55AGs1Gs3jMVgv4Zqt4zHYT+G67eMxOA3yvUxz6sJ+DH4RdV9KPwzr8GAPdwmMKOApT6Dbey9/lG8m7mtO59/lwAAAAAElFTkSuQmCC";
|
|
2
|
+
export declare const dropdownClose = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABmJLR0QA/wD/AP+gvaeTAAABEklEQVRIie3Pr0uDQRwG8I+6IoIgiIJtwWKwGCeoGMRgMVlMhtlsJjGaxGIyWUz6B1hNFoPFYLAoBkEQQcTf0+AdjPHe3LutCHvgSff9fu6OTv5TCjgMLbQb78YBvkOP0NMuvAt7VXjsfri45Wxn4LG7reJbdfDYnWbxzQbw2I28+FoOPHa9UXwVlQRyHJp1VkH5L3wZXwngFH3oxUmdS1ZS+CI+EovnGKia7cdZYvYTS7X4HF4TC5cYznjQIC4SO+9YiIOzeEkMXmEk9WUMhQdk7b5hHm4SA7co1sFjimE2y7iGSTzVHNxjrAE8ZhR3NcYzZuJA9SWPmMiBx4zjIQuPmfb7pVITeEwpGFMtGJ20OT8JFprkRrg+uAAAAABJRU5ErkJggg==";
|
|
3
|
+
export declare const flagPlaceholder = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABmJLR0QA/wD/AP+gvaeTAAABHElEQVR4nO3aIU5DQQCE4R+CA1fTC3ADDAoEcIAmSBQHIMFyEyySExQUaDgFFRgUHADxLN1NyNudNu//kqpJk+kkb5umC5IkSZIkTc5OITsFHoD9Tl1a+QGugJe/wr3CG8+BL+C2Qame7oAL/jEAwCfwOHajzq5L4W6vFpvKAdIF0hwgXSDNAdIF0hwgXSDNAdIF0hwgXSBt8gPUfg4fA289ijR0CLyvC2sDrID7Uev0d1MKawN8sP0DLErh5M8AB0gXSJv8ALVDcAac9SjS0KwU1gY4Ap7H6xLztC6oPQJLhn+Ptvm1LH3AyZ8BDpAukOYA6QJpta/BOXDZo0hD81JYuiBxwnBB4mDUOv19M1yQeE0XkSRJkiRpQ/wCRYIVXPol4dwAAAAASUVORK5CYII=";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const countryData: ((string | number | string[])[] | (string | number | number[])[])[];
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
export declare enum CountryISO {
|
|
2
|
+
Afghanistan = "af",
|
|
3
|
+
Albania = "al",
|
|
4
|
+
Algeria = "dz",
|
|
5
|
+
AmericanSamoa = "as",
|
|
6
|
+
Andorra = "ad",
|
|
7
|
+
Angola = "ao",
|
|
8
|
+
Anguilla = "ai",
|
|
9
|
+
AntiguaAndBarbuda = "ag",
|
|
10
|
+
Argentina = "ar",
|
|
11
|
+
Armenia = "am",
|
|
12
|
+
Aruba = "aw",
|
|
13
|
+
Australia = "au",
|
|
14
|
+
Austria = "at",
|
|
15
|
+
Azerbaijan = "az",
|
|
16
|
+
Bahamas = "bs",
|
|
17
|
+
Bahrain = "bh",
|
|
18
|
+
Bangladesh = "bd",
|
|
19
|
+
Barbados = "bb",
|
|
20
|
+
Belarus = "by",
|
|
21
|
+
Belgium = "be",
|
|
22
|
+
Belize = "bz",
|
|
23
|
+
Benin = "bj",
|
|
24
|
+
Bermuda = "bm",
|
|
25
|
+
Bhutan = "bt",
|
|
26
|
+
Bolivia = "bo",
|
|
27
|
+
BosniaAndHerzegovina = "ba",
|
|
28
|
+
Botswana = "bw",
|
|
29
|
+
Brazil = "br",
|
|
30
|
+
BritishIndianOceanTerritory = "io",
|
|
31
|
+
BritishVirginIslands = "vg",
|
|
32
|
+
Brunei = "bn",
|
|
33
|
+
Bulgaria = "bg",
|
|
34
|
+
BurkinaFaso = "bf",
|
|
35
|
+
Burundi = "bi",
|
|
36
|
+
Cambodia = "kh",
|
|
37
|
+
Cameroon = "cm",
|
|
38
|
+
Canada = "ca",
|
|
39
|
+
CapeVerde = "cv",
|
|
40
|
+
CaribbeanNetherlands = "bq",
|
|
41
|
+
CaymanIslands = "ky",
|
|
42
|
+
CentralAfricanRepublic = "cf",
|
|
43
|
+
Chad = "td",
|
|
44
|
+
Chile = "cl",
|
|
45
|
+
China = "cn",
|
|
46
|
+
ChristmasIsland = "cx",
|
|
47
|
+
Cocos = "cc",
|
|
48
|
+
Colombia = "co",
|
|
49
|
+
Comoros = "km",
|
|
50
|
+
CongoDRCJamhuriYaKidemokrasiaYaKongo = "cd",
|
|
51
|
+
CongoRepublicCongoBrazzaville = "cg",
|
|
52
|
+
CookIslands = "ck",
|
|
53
|
+
CostaRica = "cr",
|
|
54
|
+
Croatia = "hr",
|
|
55
|
+
Cuba = "cu",
|
|
56
|
+
Curaçao = "cw",
|
|
57
|
+
Cyprus = "cy",
|
|
58
|
+
CzechRepublic = "cz",
|
|
59
|
+
CôteDIvoire = "ci",
|
|
60
|
+
Denmark = "dk",
|
|
61
|
+
Djibouti = "dj",
|
|
62
|
+
Dominica = "dm",
|
|
63
|
+
DominicanRepublic = "do",
|
|
64
|
+
Ecuador = "ec",
|
|
65
|
+
Egypt = "eg",
|
|
66
|
+
ElSalvador = "sv",
|
|
67
|
+
EquatorialGuinea = "gq",
|
|
68
|
+
Eritrea = "er",
|
|
69
|
+
Estonia = "ee",
|
|
70
|
+
Ethiopia = "et",
|
|
71
|
+
FalklandIslands = "fk",
|
|
72
|
+
FaroeIslands = "fo",
|
|
73
|
+
Fiji = "fj",
|
|
74
|
+
Finland = "fi",
|
|
75
|
+
France = "fr",
|
|
76
|
+
FrenchGuiana = "gf",
|
|
77
|
+
FrenchPolynesia = "pf",
|
|
78
|
+
Gabon = "ga",
|
|
79
|
+
Gambia = "gm",
|
|
80
|
+
Georgia = "ge",
|
|
81
|
+
Germany = "de",
|
|
82
|
+
Ghana = "gh",
|
|
83
|
+
Gibraltar = "gi",
|
|
84
|
+
Greece = "gr",
|
|
85
|
+
Greenland = "gl",
|
|
86
|
+
Grenada = "gd",
|
|
87
|
+
Guadeloupe = "gp",
|
|
88
|
+
Guam = "gu",
|
|
89
|
+
Guatemala = "gt",
|
|
90
|
+
Guernsey = "gg",
|
|
91
|
+
Guinea = "gn",
|
|
92
|
+
GuineaBissau = "gw",
|
|
93
|
+
Guyana = "gy",
|
|
94
|
+
Haiti = "ht",
|
|
95
|
+
Honduras = "hn",
|
|
96
|
+
HongKong = "hk",
|
|
97
|
+
Hungary = "hu",
|
|
98
|
+
Iceland = "is",
|
|
99
|
+
India = "in",
|
|
100
|
+
Indonesia = "id",
|
|
101
|
+
Iran = "ir",
|
|
102
|
+
Iraq = "iq",
|
|
103
|
+
Ireland = "ie",
|
|
104
|
+
IsleOfMan = "im",
|
|
105
|
+
Israel = "il",
|
|
106
|
+
Italy = "it",
|
|
107
|
+
Jamaica = "jm",
|
|
108
|
+
Japan = "jp",
|
|
109
|
+
Jersey = "je",
|
|
110
|
+
Jordan = "jo",
|
|
111
|
+
Kazakhstan = "kz",
|
|
112
|
+
Kenya = "ke",
|
|
113
|
+
Kiribati = "ki",
|
|
114
|
+
Kosovo = "xk",
|
|
115
|
+
Kuwait = "kw",
|
|
116
|
+
Kyrgyzstan = "kg",
|
|
117
|
+
Laos = "la",
|
|
118
|
+
Latvia = "lv",
|
|
119
|
+
Lebanon = "lb",
|
|
120
|
+
Lesotho = "ls",
|
|
121
|
+
Liberia = "lr",
|
|
122
|
+
Libya = "ly",
|
|
123
|
+
Liechtenstein = "li",
|
|
124
|
+
Lithuania = "lt",
|
|
125
|
+
Luxembourg = "lu",
|
|
126
|
+
Macau = "mo",
|
|
127
|
+
Macedonia = "mk",
|
|
128
|
+
Madagascar = "mg",
|
|
129
|
+
Malawi = "mw",
|
|
130
|
+
Malaysia = "my",
|
|
131
|
+
Maldives = "mv",
|
|
132
|
+
Mali = "ml",
|
|
133
|
+
Malta = "mt",
|
|
134
|
+
MarshallIslands = "mh",
|
|
135
|
+
Martinique = "mq",
|
|
136
|
+
Mauritania = "mr",
|
|
137
|
+
Mauritius = "mu",
|
|
138
|
+
Mayotte = "yt",
|
|
139
|
+
Mexico = "mx",
|
|
140
|
+
Micronesia = "fm",
|
|
141
|
+
Moldova = "md",
|
|
142
|
+
Monaco = "mc",
|
|
143
|
+
Mongolia = "mn",
|
|
144
|
+
Montenegro = "me",
|
|
145
|
+
Montserrat = "ms",
|
|
146
|
+
Morocco = "ma",
|
|
147
|
+
Mozambique = "mz",
|
|
148
|
+
Myanmar = "mm",
|
|
149
|
+
Namibia = "na",
|
|
150
|
+
Nauru = "nr",
|
|
151
|
+
Nepal = "np",
|
|
152
|
+
Netherlands = "nl",
|
|
153
|
+
NewCaledonia = "nc",
|
|
154
|
+
NewZealand = "nz",
|
|
155
|
+
Nicaragua = "ni",
|
|
156
|
+
Niger = "ne",
|
|
157
|
+
Nigeria = "ng",
|
|
158
|
+
Niue = "nu",
|
|
159
|
+
NorfolkIsland = "nf",
|
|
160
|
+
NorthKorea = "kp",
|
|
161
|
+
NorthernMarianaIslands = "mp",
|
|
162
|
+
Norway = "no",
|
|
163
|
+
Oman = "om",
|
|
164
|
+
Pakistan = "pk",
|
|
165
|
+
Palau = "pw",
|
|
166
|
+
Palestine = "ps",
|
|
167
|
+
Panama = "pa",
|
|
168
|
+
PapuaNewGuinea = "pg",
|
|
169
|
+
Paraguay = "py",
|
|
170
|
+
Peru = "pe",
|
|
171
|
+
Philippines = "ph",
|
|
172
|
+
Poland = "pl",
|
|
173
|
+
Portugal = "pt",
|
|
174
|
+
PuertoRico = "pr",
|
|
175
|
+
Qatar = "qa",
|
|
176
|
+
Romania = "ro",
|
|
177
|
+
Russia = "ru",
|
|
178
|
+
Rwanda = "rw",
|
|
179
|
+
Réunion = "re",
|
|
180
|
+
SaintBarthélemy = "bl",
|
|
181
|
+
SaintHelena = "sh",
|
|
182
|
+
SaintKittsAndNevis = "kn",
|
|
183
|
+
SaintLucia = "lc",
|
|
184
|
+
SaintMartin = "mf",
|
|
185
|
+
SaintPierreAndMiquelon = "pm",
|
|
186
|
+
SaintVincentAndTheGrenadines = "vc",
|
|
187
|
+
Samoa = "ws",
|
|
188
|
+
SanMarino = "sm",
|
|
189
|
+
SaudiArabia = "sa",
|
|
190
|
+
Senegal = "sn",
|
|
191
|
+
Serbia = "rs",
|
|
192
|
+
Seychelles = "sc",
|
|
193
|
+
SierraLeone = "sl",
|
|
194
|
+
Singapore = "sg",
|
|
195
|
+
SintMaarten = "sx",
|
|
196
|
+
Slovakia = "sk",
|
|
197
|
+
Slovenia = "si",
|
|
198
|
+
SolomonIslands = "sb",
|
|
199
|
+
Somalia = "so",
|
|
200
|
+
SouthAfrica = "za",
|
|
201
|
+
SouthKorea = "kr",
|
|
202
|
+
SouthSudan = "ss",
|
|
203
|
+
Spain = "es",
|
|
204
|
+
SriLanka = "lk",
|
|
205
|
+
Sudan = "sd",
|
|
206
|
+
Suriname = "sr",
|
|
207
|
+
SvalbardAndJanMayen = "sj",
|
|
208
|
+
Swaziland = "sz",
|
|
209
|
+
Sweden = "se",
|
|
210
|
+
Switzerland = "ch",
|
|
211
|
+
Syria = "sy",
|
|
212
|
+
SãoToméAndPríncipe = "st",
|
|
213
|
+
Taiwan = "tw",
|
|
214
|
+
Tajikistan = "tj",
|
|
215
|
+
Tanzania = "tz",
|
|
216
|
+
Thailand = "th",
|
|
217
|
+
TimorLeste = "tl",
|
|
218
|
+
Togo = "tg",
|
|
219
|
+
Tokelau = "tk",
|
|
220
|
+
Tonga = "to",
|
|
221
|
+
TrinidadAndTobago = "tt",
|
|
222
|
+
Tunisia = "tn",
|
|
223
|
+
Turkey = "tr",
|
|
224
|
+
Turkmenistan = "tm",
|
|
225
|
+
TurksAndCaicosIslands = "tc",
|
|
226
|
+
Tuvalu = "tv",
|
|
227
|
+
USVirginIslands = "vi",
|
|
228
|
+
Uganda = "ug",
|
|
229
|
+
Ukraine = "ua",
|
|
230
|
+
UnitedArabEmirates = "ae",
|
|
231
|
+
UnitedKingdom = "gb",
|
|
232
|
+
UnitedStates = "us",
|
|
233
|
+
Uruguay = "uy",
|
|
234
|
+
Uzbekistan = "uz",
|
|
235
|
+
Vanuatu = "vu",
|
|
236
|
+
VaticanCity = "va",
|
|
237
|
+
Venezuela = "ve",
|
|
238
|
+
Vietnam = "vn",
|
|
239
|
+
WallisAndFutuna = "wf",
|
|
240
|
+
WesternSahara = "eh",
|
|
241
|
+
Yemen = "ye",
|
|
242
|
+
Zambia = "zm",
|
|
243
|
+
Zimbabwe = "zw",
|
|
244
|
+
ÅlandIslands = "ax"
|
|
245
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, Renderer2 } from '@angular/core';
|
|
2
|
+
import { NgModel } from '@angular/forms';
|
|
3
|
+
import { InputValue } from '../models/country.model';
|
|
4
|
+
import { ParsedPhoneNumber } from 'awesome-phonenumber';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class MaskedInputTelDirective {
|
|
7
|
+
private _element;
|
|
8
|
+
private _renderer;
|
|
9
|
+
private _model;
|
|
10
|
+
private pattern;
|
|
11
|
+
parsedPhoneNumber?: ParsedPhoneNumber;
|
|
12
|
+
customMaxLength: number | null;
|
|
13
|
+
changeModel: EventEmitter<InputValue>;
|
|
14
|
+
constructor(_element: ElementRef, _renderer: Renderer2, _model: NgModel);
|
|
15
|
+
private _validateValue;
|
|
16
|
+
private _analiseMaxLength;
|
|
17
|
+
onInput(event: any): void;
|
|
18
|
+
onCtrlV(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MaskedInputTelDirective, never>;
|
|
20
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MaskedInputTelDirective, "[formatterPhone]", never, { "parsedPhoneNumber": { "alias": "parsedPhoneNumber"; "required": false; }; "customMaxLength": { "alias": "customMaxLength"; "required": false; }; }, { "changeModel": "changeModel"; }, never, never, false, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare enum InputTelSizesEnum {
|
|
2
|
+
'small' = "mrx-input-tel-sm",
|
|
3
|
+
'medium' = "mrx-input-tel-md",
|
|
4
|
+
'large' = "mrx-input-tel-lg"
|
|
5
|
+
}
|
|
6
|
+
export type InputTelSizesTypes = 'small' | 'medium' | 'large';
|
|
7
|
+
export type InputTelValueTypes = string | undefined;
|
|
8
|
+
export interface InputTelValueWithId {
|
|
9
|
+
value: any;
|
|
10
|
+
id: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { ParsedPhoneNumber } from 'awesome-phonenumber';
|
|
3
|
+
import { CountryISO } from './data/country-iso.enum';
|
|
4
|
+
import { SearchCountryField } from './data/search-country-field.enum';
|
|
5
|
+
import { PhoneNumberFormatType } from './data/phone-number-format.enum';
|
|
6
|
+
import { Country, InputValue } from './models/country.model';
|
|
7
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
8
|
+
import { Field } from '../../../services';
|
|
9
|
+
import { InputTelSizesTypes } from './enums/input-phone.enum';
|
|
10
|
+
import { InputPhoneValueWithId } from '../input-phone/enums/input-phone.enum';
|
|
11
|
+
import { DropdownComponent } from '../../dropdown/dropdown.component';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
export declare class InputTelComponent implements ControlValueAccessor, OnInit {
|
|
14
|
+
uuid: string;
|
|
15
|
+
fields: Field[];
|
|
16
|
+
cssClass: string;
|
|
17
|
+
preferredCountries: (CountryISO)[];
|
|
18
|
+
onlyCountries: (CountryISO)[];
|
|
19
|
+
enableAutoCountrySelect: boolean;
|
|
20
|
+
enablePlaceholder: boolean;
|
|
21
|
+
customPlaceholder: string | null;
|
|
22
|
+
numberFormat: PhoneNumberFormatType;
|
|
23
|
+
searchCountryFlag: boolean;
|
|
24
|
+
searchCountryField: SearchCountryField;
|
|
25
|
+
searchCountryPlaceholder: string;
|
|
26
|
+
maxLength: number | null;
|
|
27
|
+
selectFirstCountry: boolean;
|
|
28
|
+
phoneValidation: boolean;
|
|
29
|
+
inputId: string;
|
|
30
|
+
selectedCountryISO: CountryISO | null;
|
|
31
|
+
separateDialCode: boolean;
|
|
32
|
+
customClasses: string;
|
|
33
|
+
disabled: boolean;
|
|
34
|
+
size: InputTelSizesTypes;
|
|
35
|
+
autoDealCode: boolean;
|
|
36
|
+
autoCloseDropdown: boolean;
|
|
37
|
+
invalid: boolean;
|
|
38
|
+
invalidMessage: string | string[];
|
|
39
|
+
invalidPhoneMessage: string;
|
|
40
|
+
checkInvalid: true | false | null;
|
|
41
|
+
dropdownComponent: DropdownComponent;
|
|
42
|
+
changed: EventEmitter<InputValue>;
|
|
43
|
+
modelChange: EventEmitter<InputPhoneValueWithId>;
|
|
44
|
+
allCountries: (Country)[];
|
|
45
|
+
selectedCountry: Country;
|
|
46
|
+
countriesToShow: (Country)[];
|
|
47
|
+
preferredCountriesList: (Country)[];
|
|
48
|
+
searchFilter: string;
|
|
49
|
+
scrollTimeout: any;
|
|
50
|
+
phoneNumber: any;
|
|
51
|
+
isFocused: boolean;
|
|
52
|
+
isInputValid: boolean;
|
|
53
|
+
isDropdownOpen: boolean;
|
|
54
|
+
parsedPhoneNumber?: ParsedPhoneNumber;
|
|
55
|
+
innerInvalid: boolean;
|
|
56
|
+
innerInvalidMessage: string;
|
|
57
|
+
constructor();
|
|
58
|
+
writeValue(outsideValue: string): void;
|
|
59
|
+
private onChange;
|
|
60
|
+
private onTouched;
|
|
61
|
+
registerOnChange(fn: any): void;
|
|
62
|
+
registerOnTouched(fn: any): void;
|
|
63
|
+
ngOnInit(): void;
|
|
64
|
+
private _validation;
|
|
65
|
+
get getClasses(): string;
|
|
66
|
+
get isValid(): boolean;
|
|
67
|
+
get isInvalidMessage(): boolean;
|
|
68
|
+
get checkValidClasses(): string;
|
|
69
|
+
toggleDropdown(): void;
|
|
70
|
+
generateCountryData(): void;
|
|
71
|
+
getDefaultCountry(): Country;
|
|
72
|
+
private formatIntelNumber;
|
|
73
|
+
formatPhoneNumber(): void;
|
|
74
|
+
searchFilterChanged(event: any): void;
|
|
75
|
+
private findCountryByIso2;
|
|
76
|
+
setDefaultSelectedCountry(): void;
|
|
77
|
+
setCountriesToShow(): void;
|
|
78
|
+
setPreferredCountries(): void;
|
|
79
|
+
onCountrySelect(country: any): void;
|
|
80
|
+
private getNumberExample;
|
|
81
|
+
getPlaceHolder(): string;
|
|
82
|
+
getDropdownIconPath(): string;
|
|
83
|
+
onPhoneInputFocus(): void;
|
|
84
|
+
onPhoneInputBlur(): void;
|
|
85
|
+
private _resetValidate;
|
|
86
|
+
updateValue(): void;
|
|
87
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputTelComponent, never>;
|
|
88
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputTelComponent, "mrx-input-tel", never, { "fields": { "alias": "fields"; "required": false; }; "cssClass": { "alias": "cssClass"; "required": false; }; "preferredCountries": { "alias": "preferredCountries"; "required": false; }; "onlyCountries": { "alias": "onlyCountries"; "required": false; }; "enableAutoCountrySelect": { "alias": "enableAutoCountrySelect"; "required": false; }; "enablePlaceholder": { "alias": "enablePlaceholder"; "required": false; }; "customPlaceholder": { "alias": "customPlaceholder"; "required": false; }; "numberFormat": { "alias": "numberFormat"; "required": false; }; "searchCountryFlag": { "alias": "searchCountryFlag"; "required": false; }; "searchCountryField": { "alias": "searchCountryField"; "required": false; }; "searchCountryPlaceholder": { "alias": "searchCountryPlaceholder"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "selectFirstCountry": { "alias": "selectFirstCountry"; "required": false; }; "phoneValidation": { "alias": "phoneValidation"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "selectedCountryISO": { "alias": "selectedCountryISO"; "required": false; }; "separateDialCode": { "alias": "separateDialCode"; "required": false; }; "customClasses": { "alias": "customClasses"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "size": { "alias": "size"; "required": false; }; "autoDealCode": { "alias": "autoDealCode"; "required": false; }; "autoCloseDropdown": { "alias": "autoCloseDropdown"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "invalidMessage": { "alias": "invalidMessage"; "required": false; }; "invalidPhoneMessage": { "alias": "invalidPhoneMessage"; "required": false; }; "checkInvalid": { "alias": "checkInvalid"; "required": false; }; }, { "changed": "changed"; "modelChange": "modelChange"; }, never, never, false, never>;
|
|
89
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./input-tel.component";
|
|
3
|
+
import * as i2 from "./directives/input-tel.directive";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@angular/forms";
|
|
6
|
+
import * as i5 from "../../dropdown/dropdown.module";
|
|
7
|
+
import * as i6 from "../../error-message/error-message.module";
|
|
8
|
+
import * as i7 from "../../save-state/save-state.module";
|
|
9
|
+
export declare class InputTelModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputTelModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<InputTelModule, [typeof i1.InputTelComponent, typeof i2.MaskedInputTelDirective], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.DropdownModule, typeof i6.ErrorMessageModule, typeof i7.SaveStateModule], [typeof i1.InputTelComponent]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<InputTelModule>;
|
|
13
|
+
}
|