myrta-ui 14.0.0-beta.1 → 17.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/esm2022/lib/components/alert/alert.component.mjs +43 -0
- package/{esm2020 → esm2022}/lib/components/alert/alert.enum.mjs +14 -14
- package/{esm2020 → esm2022}/lib/components/alert/alert.module.mjs +19 -19
- package/{esm2020 → esm2022}/lib/components/badges/badge.enum.mjs +31 -31
- package/{esm2020 → esm2022}/lib/components/badges/badges.module.mjs +30 -30
- package/esm2022/lib/components/badges/components/badge/badge.component.mjs +61 -0
- package/{esm2020 → esm2022}/lib/components/badges/components/badge-group/badge-group.component.mjs +11 -11
- package/esm2022/lib/components/breadcrumbs/breadcrumbs.component.mjs +28 -0
- package/{esm2020 → esm2022}/lib/components/breadcrumbs/breadcrumbs.enum.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/breadcrumbs/breadcrumbs.module.mjs +25 -25
- package/esm2022/lib/components/button/button.component.mjs +100 -0
- package/esm2022/lib/components/button/button.enum.mjs +27 -0
- package/{esm2020 → esm2022}/lib/components/button/button.module.mjs +21 -21
- package/esm2022/lib/components/cdk-tooltip/cdk-tooltip/tooltip-container.component.mjs +29 -0
- package/esm2022/lib/components/cdk-tooltip/cdk-tooltip.directive.mjs +99 -0
- package/{esm2020 → esm2022}/lib/components/cdk-tooltip/cdk-tooltip.module.mjs +21 -21
- package/{esm2020 → esm2022}/lib/components/cdk-tooltip/constants/index.mjs +69 -69
- package/{esm2020 → esm2022}/lib/components/cdk-tooltip/models/tooltip-data.mjs +1 -1
- package/esm2022/lib/components/chars-left/chars-left.component.mjs +24 -0
- package/{esm2020 → esm2022}/lib/components/chars-left/chars-left.module.mjs +19 -19
- package/esm2022/lib/components/dropdown/directives/hide-after-click.directive.mjs +24 -0
- package/esm2022/lib/components/dropdown/dropdown.component.mjs +107 -0
- package/{esm2020 → esm2022}/lib/components/dropdown/dropdown.module.mjs +21 -21
- package/esm2022/lib/components/error-message/error-message.component.mjs +32 -0
- package/{esm2020 → esm2022}/lib/components/error-message/error-message.module.mjs +19 -19
- package/esm2022/lib/components/form/checkbox/checkbox.component.mjs +153 -0
- package/{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,49 +1,48 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/common";
|
|
4
|
-
import * as i2 from "@angular/forms";
|
|
5
|
-
import * as i3 from "../../../input-search/input-search.component";
|
|
6
|
-
import * as i4 from "../../../../label/label.component";
|
|
7
|
-
export class CheckboxGroupHeaderComponent {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3gtZ3JvdXAtaGVhZGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL215cnRhLXVpL3NyYy9saWIvY29tcG9uZW50cy9mb3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xuICAoY2xpY2tlZExpbmspPVwib25DbGVhckZpbHRlcnMoKVwiXHJcbj57eyBsYWJlbFRleHQgfX08L21yeC1sYWJlbD5cclxuXHJcbjxkaXYgY2xhc3M9XCJtcngtY2hlY2tib3gtZ3JvdXAtaGVhZC0tc2VhcmNoXCIgKm5nSWY9XCJzZWFyY2hhYmxlXCI+XHJcbiAgPG1yeC1pbnB1dC1zZWFyY2hcclxuICAgIFtuZ01vZGVsXT1cInNlYXJjaFZhbHVlXCJcclxuICAgIFtzaXplXT1cIidtZWRpdW0nXCJcclxuICAgIFtwbGFjZWhvbGRlcl09XCJzZWFyY2hQbGFjZWhvbGRlclwiXHJcbiAgICAobmdNb2RlbENoYW5nZSk9XCJjaGFuZ2VTZWFyY2hWYWx1ZSgkZXZlbnQpXCJcclxuICA+PC9tcngtaW5wdXQtc2VhcmNoPlxyXG48L2Rpdj5cclxuIl19
|
|
1
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/common";
|
|
4
|
+
import * as i2 from "@angular/forms";
|
|
5
|
+
import * as i3 from "../../../input-search/input-search.component";
|
|
6
|
+
import * as i4 from "../../../../label/label.component";
|
|
7
|
+
export class CheckboxGroupHeaderComponent {
|
|
8
|
+
searchValue = '';
|
|
9
|
+
searchable = false;
|
|
10
|
+
searchPlaceholder = '';
|
|
11
|
+
// LABEL
|
|
12
|
+
tooltip = '';
|
|
13
|
+
labelText = '';
|
|
14
|
+
linkText = '';
|
|
15
|
+
checkedItemsCount = 0;
|
|
16
|
+
updateCheckboxGroupSearchValue = new EventEmitter();
|
|
17
|
+
clearFilters = new EventEmitter();
|
|
18
|
+
constructor() { }
|
|
19
|
+
changeSearchValue(searchValue) {
|
|
20
|
+
this.updateCheckboxGroupSearchValue.emit(searchValue);
|
|
21
|
+
}
|
|
22
|
+
onClearFilters() {
|
|
23
|
+
this.clearFilters.emit();
|
|
24
|
+
}
|
|
25
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: CheckboxGroupHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
26
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", type: CheckboxGroupHeaderComponent, selector: "mrx-checkbox-group-header", inputs: { searchable: "searchable", searchPlaceholder: "searchPlaceholder", tooltip: "tooltip", labelText: "labelText", linkText: "linkText", checkedItemsCount: "checkedItemsCount" }, outputs: { updateCheckboxGroupSearchValue: "updateCheckboxGroupSearchValue", clearFilters: "clearFilters" }, ngImport: i0, template: "<mrx-label\r\n *ngIf=\"labelText\"\r\n [counter]=\"checkedItemsCount\"\r\n [linkText]=\"linkText\"\r\n [tooltip]=\"tooltip\"\r\n (clickedLink)=\"onClearFilters()\"\r\n>{{ labelText }}</mrx-label>\r\n\r\n<div class=\"mrx-checkbox-group-head--search\" *ngIf=\"searchable\">\r\n <mrx-input-search\r\n [ngModel]=\"searchValue\"\r\n [size]=\"'medium'\"\r\n [placeholder]=\"searchPlaceholder\"\r\n (ngModelChange)=\"changeSearchValue($event)\"\r\n ></mrx-input-search>\r\n</div>\r\n", styles: [".mrx-checkbox-group-head--search{margin-bottom:12px}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.InputSearchComponent, selector: "mrx-input-search", inputs: ["disabled", "required", "readonly", "maxlength", "minlength", "placeholder", "invalid", "invalidMessage", "checkInvalid", "customClasses", "mask", "size"], outputs: ["changed", "cleared", "searched"] }, { kind: "component", type: i4.LabelComponent, selector: "mrx-label", inputs: ["requiredHidden", "required", "boldLabel", "disabled", "placeholder", "label", "customClasses", "triggerTextPosition", "isPublicInfo", "publicInfoTooltip", "isSwitch", "switchLabel", "switchValue", "counter", "linkText", "linkPrevent", "linkType", "linkMonochrome", "href", "triggerType", "tooltip", "tooltipInitialVisible", "isSaveToStorage"], outputs: ["changeCheckboxValue", "clickedLink"] }] });
|
|
27
|
+
}
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: CheckboxGroupHeaderComponent, decorators: [{
|
|
29
|
+
type: Component,
|
|
30
|
+
args: [{ selector: 'mrx-checkbox-group-header', template: "<mrx-label\r\n *ngIf=\"labelText\"\r\n [counter]=\"checkedItemsCount\"\r\n [linkText]=\"linkText\"\r\n [tooltip]=\"tooltip\"\r\n (clickedLink)=\"onClearFilters()\"\r\n>{{ labelText }}</mrx-label>\r\n\r\n<div class=\"mrx-checkbox-group-head--search\" *ngIf=\"searchable\">\r\n <mrx-input-search\r\n [ngModel]=\"searchValue\"\r\n [size]=\"'medium'\"\r\n [placeholder]=\"searchPlaceholder\"\r\n (ngModelChange)=\"changeSearchValue($event)\"\r\n ></mrx-input-search>\r\n</div>\r\n", styles: [".mrx-checkbox-group-head--search{margin-bottom:12px}\n"] }]
|
|
31
|
+
}], ctorParameters: () => [], propDecorators: { searchable: [{
|
|
32
|
+
type: Input
|
|
33
|
+
}], searchPlaceholder: [{
|
|
34
|
+
type: Input
|
|
35
|
+
}], tooltip: [{
|
|
36
|
+
type: Input
|
|
37
|
+
}], labelText: [{
|
|
38
|
+
type: Input
|
|
39
|
+
}], linkText: [{
|
|
40
|
+
type: Input
|
|
41
|
+
}], checkedItemsCount: [{
|
|
42
|
+
type: Input
|
|
43
|
+
}], updateCheckboxGroupSearchValue: [{
|
|
44
|
+
type: Output
|
|
45
|
+
}], clearFilters: [{
|
|
46
|
+
type: Output
|
|
47
|
+
}] } });
|
|
48
|
+
//# sourceMappingURL=data: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WFyRmlsdGVycy5lbWl0KClcclxuICB9XHJcbn1cclxuIiwiPG1yeC1sYWJlbFxyXG4gICpuZ0lmPVwibGFiZWxUZXh0XCJcclxuICBbY291bnRlcl09XCJjaGVja2VkSXRlbXNDb3VudFwiXHJcbiAgW2xpbmtUZXh0XT1cImxpbmtUZXh0XCJcclxuICBbdG9vbHRpcF09XCJ0b29sdGlwXCJcclxuICAoY2xpY2tlZExpbmspPVwib25DbGVhckZpbHRlcnMoKVwiXHJcbj57eyBsYWJlbFRleHQgfX08L21yeC1sYWJlbD5cclxuXHJcbjxkaXYgY2xhc3M9XCJtcngtY2hlY2tib3gtZ3JvdXAtaGVhZC0tc2VhcmNoXCIgKm5nSWY9XCJzZWFyY2hhYmxlXCI+XHJcbiAgPG1yeC1pbnB1dC1zZWFyY2hcclxuICAgIFtuZ01vZGVsXT1cInNlYXJjaFZhbHVlXCJcclxuICAgIFtzaXplXT1cIidtZWRpdW0nXCJcclxuICAgIFtwbGFjZWhvbGRlcl09XCJzZWFyY2hQbGFjZWhvbGRlclwiXHJcbiAgICAobmdNb2RlbENoYW5nZSk9XCJjaGFuZ2VTZWFyY2hWYWx1ZSgkZXZlbnQpXCJcclxuICA+PC9tcngtaW5wdXQtc2VhcmNoPlxyXG48L2Rpdj5cclxuIl19
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import { animate, group, state, style, transition, trigger } from '@angular/animations';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
import * as i2 from "@angular/forms";
|
|
6
|
+
import * as i3 from "../../../checkbox/checkbox.component";
|
|
7
|
+
export class CheckboxGroupItemComponent {
|
|
8
|
+
detector;
|
|
9
|
+
animationState = 'close';
|
|
10
|
+
item;
|
|
11
|
+
displaced = false;
|
|
12
|
+
level = 0;
|
|
13
|
+
animationTrigger = null;
|
|
14
|
+
isLast;
|
|
15
|
+
animationEnd = new EventEmitter();
|
|
16
|
+
checkboxChanged = new EventEmitter();
|
|
17
|
+
constructor(detector) {
|
|
18
|
+
this.detector = detector;
|
|
19
|
+
}
|
|
20
|
+
get isIndeterminate() {
|
|
21
|
+
return this.item.value === null;
|
|
22
|
+
}
|
|
23
|
+
trackByFn(index, item) {
|
|
24
|
+
return item.id;
|
|
25
|
+
}
|
|
26
|
+
toggleList(item) {
|
|
27
|
+
this.animationState = this.animationState === 'close' ? 'open' : 'close';
|
|
28
|
+
}
|
|
29
|
+
checkboxChangeModel(value, item) {
|
|
30
|
+
if (this.isIndeterminate) {
|
|
31
|
+
this.checkboxChanged.emit({ value: false, item });
|
|
32
|
+
}
|
|
33
|
+
else {
|
|
34
|
+
this.checkboxChanged.emit({ value: value, item });
|
|
35
|
+
}
|
|
36
|
+
this.detector.detectChanges();
|
|
37
|
+
}
|
|
38
|
+
ngOnChanges(changes) {
|
|
39
|
+
if (changes['item'] && (changes['item'].currentValue.value === null)) {
|
|
40
|
+
this.animationState = 'open';
|
|
41
|
+
}
|
|
42
|
+
else {
|
|
43
|
+
if (this.animationTrigger) {
|
|
44
|
+
this.animationState = 'open';
|
|
45
|
+
}
|
|
46
|
+
else {
|
|
47
|
+
this.animationState = 'close';
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
this.detector.detectChanges();
|
|
51
|
+
}
|
|
52
|
+
onAnimationEvent() {
|
|
53
|
+
this.animationEnd.emit();
|
|
54
|
+
}
|
|
55
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: CheckboxGroupItemComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
56
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", type: CheckboxGroupItemComponent, selector: "mrx-checkbox-group-item", inputs: { item: "item", displaced: "displaced", level: "level", animationTrigger: "animationTrigger", isLast: "isLast" }, outputs: { animationEnd: "animationEnd", checkboxChanged: "checkboxChanged" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"mrx-checkbox-group__item\" [class.mrx-checkbox-group__item--buttom-ident]=\"!isLast\">\r\n <div class=\"mrx-checkbox-group__item--array\" *ngIf=\"item.array.length && level < 10; else singleCheckboxTemplate\">\r\n <div class=\"mrx-checkbox-group__item--array-head\">\r\n <div class=\"mrx-checkbox-group__item--head-icon mr-1\">\r\n <span class=\"mrx-icon icon-chevron-down icon-font-16 cursor-pointer\" (click)=\"toggleList(item)\"></span>\r\n </div>\r\n\r\n <mrx-checkbox\r\n [ngModel]=\"item.value\"\r\n [indeterminate]=\"isIndeterminate\"\r\n (ngModelChange)=\"checkboxChangeModel($event, item)\"\r\n >{{ item.text }}</mrx-checkbox>\r\n </div>\r\n\r\n <div class=\"mrx-checkbox-group__item--array-list\" [@openList]=\"animationState\" (@openList.done)=\"onAnimationEvent()\">\r\n <ng-container>\r\n <mrx-checkbox-group-item\r\n *ngFor=\"let item of item.array\"\r\n [level]=\"level + 1\"\r\n [item]=\"item\"\r\n [displaced]=\"true\"\r\n [animationTrigger]=\"animationTrigger\"\r\n (checkboxChanged)=\"checkboxChanged.emit($event)\"\r\n ></mrx-checkbox-group-item>\r\n </ng-container>\r\n </div>\r\n </div>\r\n\r\n <ng-template #singleCheckboxTemplate>\r\n <div class=\"mrx-checkbox-group__item--single\" [class.item-displaced]=\"displaced\">\r\n <mrx-checkbox\r\n [ngModel]=\"item.value\"\r\n [indeterminate]=\"false\"\r\n (ngModelChange)=\"checkboxChangeModel($event, item)\"\r\n >{{ item.text }}</mrx-checkbox>\r\n </div>\r\n </ng-template>\r\n</div>\r\n\r\n\r\n", styles: [".mrx-checkbox-group__item--single.item-displaced{margin-left:20px}.mrx-checkbox-group__item--array-head{display:flex;justify-content:flex-start;align-items:center}.mrx-checkbox-group__item--array-list{padding-left:20px}.mrx-checkbox-group__item--buttom-ident{margin-bottom:12px}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.CheckboxComponent, selector: "mrx-checkbox", inputs: ["fields", "required", "type", "boldLabel", "indeterminate", "disabled", "readonly", "placeholder", "label", "customClasses", "customWrapperClasses", "invalid", "checkInvalid", "tooltip", "tooltipInitialVisible", "isSaveToStorage"], outputs: ["changed", "modelChange"] }, { kind: "component", type: CheckboxGroupItemComponent, selector: "mrx-checkbox-group-item", inputs: ["item", "displaced", "level", "animationTrigger", "isLast"], outputs: ["animationEnd", "checkboxChanged"] }], animations: [
|
|
57
|
+
trigger('openList', [
|
|
58
|
+
state('open', style({ height: '*', opacity: '1', visibility: 'visible', marginTop: '12px' })),
|
|
59
|
+
state('close', style({ height: '0', opacity: '0', visibility: 'hidden', marginTop: '0', overflow: 'hidden' })),
|
|
60
|
+
transition('open => close', [group([
|
|
61
|
+
animate('100ms ease-in-out', style({ opacity: '0' })),
|
|
62
|
+
animate('200ms ease-in-out', style({ height: '0px', marginTop: '0', overflow: 'hidden' })),
|
|
63
|
+
animate('400ms ease-in-out', style({ visibility: 'hidden' }))
|
|
64
|
+
])]),
|
|
65
|
+
transition('close => open', [group([
|
|
66
|
+
animate('1ms ease-in-out', style({ visibility: 'visible' })),
|
|
67
|
+
animate('200ms ease-in-out', style({ height: '*', marginTop: '12px', overflow: 'hidden' })),
|
|
68
|
+
animate('400ms ease-in-out', style({ opacity: '1' }))
|
|
69
|
+
])])
|
|
70
|
+
])
|
|
71
|
+
], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
72
|
+
}
|
|
73
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: CheckboxGroupItemComponent, decorators: [{
|
|
74
|
+
type: Component,
|
|
75
|
+
args: [{ selector: 'mrx-checkbox-group-item', changeDetection: ChangeDetectionStrategy.OnPush, animations: [
|
|
76
|
+
trigger('openList', [
|
|
77
|
+
state('open', style({ height: '*', opacity: '1', visibility: 'visible', marginTop: '12px' })),
|
|
78
|
+
state('close', style({ height: '0', opacity: '0', visibility: 'hidden', marginTop: '0', overflow: 'hidden' })),
|
|
79
|
+
transition('open => close', [group([
|
|
80
|
+
animate('100ms ease-in-out', style({ opacity: '0' })),
|
|
81
|
+
animate('200ms ease-in-out', style({ height: '0px', marginTop: '0', overflow: 'hidden' })),
|
|
82
|
+
animate('400ms ease-in-out', style({ visibility: 'hidden' }))
|
|
83
|
+
])]),
|
|
84
|
+
transition('close => open', [group([
|
|
85
|
+
animate('1ms ease-in-out', style({ visibility: 'visible' })),
|
|
86
|
+
animate('200ms ease-in-out', style({ height: '*', marginTop: '12px', overflow: 'hidden' })),
|
|
87
|
+
animate('400ms ease-in-out', style({ opacity: '1' }))
|
|
88
|
+
])])
|
|
89
|
+
])
|
|
90
|
+
], template: "<div class=\"mrx-checkbox-group__item\" [class.mrx-checkbox-group__item--buttom-ident]=\"!isLast\">\r\n <div class=\"mrx-checkbox-group__item--array\" *ngIf=\"item.array.length && level < 10; else singleCheckboxTemplate\">\r\n <div class=\"mrx-checkbox-group__item--array-head\">\r\n <div class=\"mrx-checkbox-group__item--head-icon mr-1\">\r\n <span class=\"mrx-icon icon-chevron-down icon-font-16 cursor-pointer\" (click)=\"toggleList(item)\"></span>\r\n </div>\r\n\r\n <mrx-checkbox\r\n [ngModel]=\"item.value\"\r\n [indeterminate]=\"isIndeterminate\"\r\n (ngModelChange)=\"checkboxChangeModel($event, item)\"\r\n >{{ item.text }}</mrx-checkbox>\r\n </div>\r\n\r\n <div class=\"mrx-checkbox-group__item--array-list\" [@openList]=\"animationState\" (@openList.done)=\"onAnimationEvent()\">\r\n <ng-container>\r\n <mrx-checkbox-group-item\r\n *ngFor=\"let item of item.array\"\r\n [level]=\"level + 1\"\r\n [item]=\"item\"\r\n [displaced]=\"true\"\r\n [animationTrigger]=\"animationTrigger\"\r\n (checkboxChanged)=\"checkboxChanged.emit($event)\"\r\n ></mrx-checkbox-group-item>\r\n </ng-container>\r\n </div>\r\n </div>\r\n\r\n <ng-template #singleCheckboxTemplate>\r\n <div class=\"mrx-checkbox-group__item--single\" [class.item-displaced]=\"displaced\">\r\n <mrx-checkbox\r\n [ngModel]=\"item.value\"\r\n [indeterminate]=\"false\"\r\n (ngModelChange)=\"checkboxChangeModel($event, item)\"\r\n >{{ item.text }}</mrx-checkbox>\r\n </div>\r\n </ng-template>\r\n</div>\r\n\r\n\r\n", styles: [".mrx-checkbox-group__item--single.item-displaced{margin-left:20px}.mrx-checkbox-group__item--array-head{display:flex;justify-content:flex-start;align-items:center}.mrx-checkbox-group__item--array-list{padding-left:20px}.mrx-checkbox-group__item--buttom-ident{margin-bottom:12px}\n"] }]
|
|
91
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { item: [{
|
|
92
|
+
type: Input
|
|
93
|
+
}], displaced: [{
|
|
94
|
+
type: Input
|
|
95
|
+
}], level: [{
|
|
96
|
+
type: Input
|
|
97
|
+
}], animationTrigger: [{
|
|
98
|
+
type: Input
|
|
99
|
+
}], isLast: [{
|
|
100
|
+
type: Input
|
|
101
|
+
}], animationEnd: [{
|
|
102
|
+
type: Output
|
|
103
|
+
}], checkboxChanged: [{
|
|
104
|
+
type: Output
|
|
105
|
+
}] } });
|
|
106
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3gtZ3JvdXAtaXRlbS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6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cj5cclxuICAgIDwvZGl2PlxyXG4gIDwvZGl2PlxyXG5cclxuICA8bmctdGVtcGxhdGUgI3NpbmdsZUNoZWNrYm94VGVtcGxhdGU+XHJcbiAgICA8ZGl2IGNsYXNzPVwibXJ4LWNoZWNrYm94LWdyb3VwX19pdGVtLS1zaW5nbGVcIiBbY2xhc3MuaXRlbS1kaXNwbGFjZWRdPVwiZGlzcGxhY2VkXCI+XHJcbiAgICAgIDxtcngtY2hlY2tib3hcclxuICAgICAgICAgIFtuZ01vZGVsXT1cIml0ZW0udmFsdWVcIlxyXG4gICAgICAgICAgW2luZGV0ZXJtaW5hdGVdPVwiZmFsc2VcIlxyXG4gICAgICAgICAgKG5nTW9kZWxDaGFuZ2UpPVwiY2hlY2tib3hDaGFuZ2VNb2RlbCgkZXZlbnQsIGl0ZW0pXCJcclxuICAgICAgPnt7IGl0ZW0udGV4dCB9fTwvbXJ4LWNoZWNrYm94PlxyXG4gICAgPC9kaXY+XHJcbiAgPC9uZy10ZW1wbGF0ZT5cclxuPC9kaXY+XHJcblxyXG5cclxuIl19
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { getItemById } from './get-item-by-id';
|
|
2
|
+
export const checkUnderArrayValue = (array, value) => {
|
|
3
|
+
return array.some((x) => {
|
|
4
|
+
if (x.type === 'array') {
|
|
5
|
+
return checkUnderArrayValue(x.array, value);
|
|
6
|
+
}
|
|
7
|
+
return x.value !== value;
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
export const changeGroupValue = (list, itemId, value) => {
|
|
11
|
+
if (!itemId) {
|
|
12
|
+
return;
|
|
13
|
+
}
|
|
14
|
+
const parent = getItemById(list, itemId);
|
|
15
|
+
if (parent) {
|
|
16
|
+
parent.value = checkUnderArrayValue(parent.array, value) ? null : value;
|
|
17
|
+
changeGroupValue(list, parent.parentId, value);
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJ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uICBjb25zdCBwYXJlbnQgPSBnZXRJdGVtQnlJZChsaXN0LCBpdGVtSWQpXHJcblxyXG4gIGlmIChwYXJlbnQpIHtcclxuICAgIHBhcmVudC52YWx1ZSA9IGNoZWNrVW5kZXJBcnJheVZhbHVlKHBhcmVudC5hcnJheSwgdmFsdWUpID8gbnVsbCA6IHZhbHVlXHJcblxyXG4gICAgY2hhbmdlR3JvdXBWYWx1ZShsaXN0LCBwYXJlbnQucGFyZW50SWQsIHZhbHVlKVxyXG4gIH1cclxufVxyXG4iXX0=
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export const changeItemValue = (item, value) => {
|
|
2
|
+
item.value = value;
|
|
3
|
+
if (item.type === 'array') {
|
|
4
|
+
item.array.forEach((item) => {
|
|
5
|
+
changeItemValue(item, value);
|
|
6
|
+
});
|
|
7
|
+
}
|
|
8
|
+
return item;
|
|
9
|
+
};
|
|
10
|
+
export const changeListValue = (list, value) => {
|
|
11
|
+
list.forEach((item) => {
|
|
12
|
+
changeItemValue(item, value);
|
|
13
|
+
});
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhbmdlLWl0ZW0tdmFsdWUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9teXJ0YS11aS9zcmMvbGliL2NvbXBvbmVudHMvZm9ybS9jaGVja2JveC1ncm91cC9oZWxwZXJzL2NoYW5nZS1pdGVtLXZhbHVlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE1BQU0sQ0FBQyxNQUFNLGVBQWUsR0FBRyxDQUFDLElBQXVCLEVBQUUsS0FBaUMsRUFBRSxFQUFFO0lBQzVGLElBQUksQ0FBQyxLQUFLLEdBQUcsS0FBSyxDQUFBO0lBQ2xCLElBQUksSUFBSSxDQUFDLElBQUksS0FBSyxPQUFPL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ydCBjb25zdCBjaGFuZ2VMaXN0VmFsdWUgPSAobGlzdDogQ2hlY2tib3hHcm91cEl0ZW1bXSwgdmFsdWU6IENoZWNrYm94SW5kZXRlcm1pbmF0ZVN0YXRlKSA9PiB7XHJcbiAgbGlzdC5mb3JFYWNoKChpdGVtOiBDaGVja2JveEdyb3VwSXRlbSkgPT4ge1xyXG4gICAgY2hhbmdlSXRlbVZhbHVlKGl0ZW0sIHZhbHVlKVxyXG4gIH0pXHJcbn1cclxuIl19
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export const filterSearchGroup = (list, searchValue) => {
|
|
2
|
+
if (!list)
|
|
3
|
+
return list;
|
|
4
|
+
const getIntersectionsFromString = (array) => {
|
|
5
|
+
const searchArray = [];
|
|
6
|
+
array.forEach((item) => {
|
|
7
|
+
if (item.text.toLowerCase().includes(searchValue.toLowerCase())) {
|
|
8
|
+
if (item.type === 'array') {
|
|
9
|
+
const newArray = getIntersectionsFromString(item.array);
|
|
10
|
+
searchArray.push({ ...item, array: newArray });
|
|
11
|
+
}
|
|
12
|
+
else {
|
|
13
|
+
searchArray.push(item);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
if (item.type === 'array') {
|
|
18
|
+
const newArray = getIntersectionsFromString(item.array);
|
|
19
|
+
newArray.length && searchArray.push({ ...item, array: newArray });
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
return searchArray;
|
|
24
|
+
};
|
|
25
|
+
return getIntersectionsFromString(list);
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsdGVyLXNlYXJjaC1ncm91cC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL215cnRhLXVpL3NyYy9saWIvY29tcG9uZW50cy9mb3JtL2NoZWNrYm94LW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XSA9IGdldEludGVyc2VjdGlvbnNGcm9tU3RyaW5nKGl0ZW0uYXJyYXkpXHJcbiAgICAgICAgICBzZWFyY2hBcnJheS5wdXNoKHsuLi5pdGVtLCBhcnJheTogbmV3QXJyYXl9KVxyXG4gICAgICAgIH0gZWxzZSB7XHJcbiAgICAgICAgICBzZWFyY2hBcnJheS5wdXNoKGl0ZW0pXHJcbiAgICAgICAgfVxyXG4gICAgICB9IGVsc2Uge1xyXG4gICAgICAgIGlmIChpdGVtLnR5cGUgPT09ICdhcnJheScpIHtcclxuICAgICAgICAgIGNvbnN0IG5ld0FycmF5OiBDaGVja2JveEdyb3VwSXRlbVtdID0gZ2V0SW50ZXJzZWN0aW9uc0Zyb21TdHJpbmcoaXRlbS5hcnJheSlcclxuICAgICAgICAgIG5ld0FycmF5Lmxlbmd0aCAmJiBzZWFyY2hBcnJheS5wdXNoKHsuLi5pdGVtLCBhcnJheTogbmV3QXJyYXl9KVxyXG4gICAgICAgIH1cclxuICAgICAgfVxyXG4gICAgfSlcclxuXHJcbiAgICByZXR1cm4gc2VhcmNoQXJyYXlcclxuICB9XHJcblxyXG4gIHJldHVybiBnZXRJbnRlcnNlY3Rpb25zRnJvbVN0cmluZyhsaXN0KVxyXG59XHJcbiJdfQ==
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export const getCheckedItems = (list) => {
|
|
2
|
+
if (!list)
|
|
3
|
+
return list;
|
|
4
|
+
const checkedItems = [];
|
|
5
|
+
const getCheckedItemsFromArray = (list) => {
|
|
6
|
+
list.forEach((item) => {
|
|
7
|
+
if (item.type === 'array') {
|
|
8
|
+
getCheckedItemsFromArray(item.array);
|
|
9
|
+
}
|
|
10
|
+
else {
|
|
11
|
+
if (item.value) {
|
|
12
|
+
checkedItems.push(item);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
};
|
|
17
|
+
getCheckedItemsFromArray(list);
|
|
18
|
+
return checkedItems;
|
|
19
|
+
};
|
|
20
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cm91cEl0ZW0gfSBmcm9tICcuLi9tb2RlbHMvY2hlY2tib3gtZ3JvdXAubW9kZWwnO1xyXG5cclxuZXhwb3J0IGNvbnN0IGdldENoZWNrZWRJdGVtcyA9IChsaXN0OiBDaGVja2JveEdyb3VwSXRlbVtdKSA9PiB7XHJcbiAgaWYgKCFsaXN0KSByZXR1cm4gbGlzdFxyXG5cclxuICBjb25zdCBjaGVja2VkSXRlbXM6IENoZWNrYm94R3JvdXBJdGVtW10gPSBbXVxyXG5cclxuICBjb25zdCBnZXRDaGVja2VkSXRlbXNGcm9tQXJyYXkgPSAobGlzdDogQ2hlY2tib3hHcm91cEl0ZW1bXSkgPT4ge1xyXG4gICAgbGlzdC5mb3JFYWNoKChpdGVtOiBDaGVja2JveEdyb3VwSXRlbSkgPT4ge1xyXG4gICAgICBpZiAoaXRlbS50eXBlID09PSAnYXJyYXknKSB7XHJcbiAgICAgICAgZ2V0Q2hlY2tlZEl0ZW1zRnJvbUFycmF5KGl0ZW0uYXJyYXkpXHJcbiAgICAgIH0gZWxzZSB7XHJcbiAgICAgICAgaWYgKGl0ZW0udmFsdWUpIHtcclxuICAgICAgICAgIGNoZWNrZWRJdGVtcy5wdXNoKGl0ZW0pXHJcbiAgICAgICAgfVxyXG4gICAgICB9XHJcbiAgICB9KVxyXG4gIH1cclxuXHJcbiAgZ2V0Q2hlY2tlZEl0ZW1zRnJvbUFycmF5KGxpc3QpXHJcblxyXG4gIHJldHVybiBjaGVja2VkSXRlbXNcclxufVxyXG4iXX0=
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export const getItemById = (list, itemId) => {
|
|
2
|
-
const findById = (acc, el) => {
|
|
3
|
-
if (el?.id === itemId)
|
|
4
|
-
return el;
|
|
5
|
-
if (el?.array)
|
|
6
|
-
return el.array.reduce(findById, acc);
|
|
7
|
-
return acc;
|
|
8
|
-
};
|
|
9
|
-
return list.reduce(findById, null);
|
|
10
|
-
};
|
|
1
|
+
export const getItemById = (list, itemId) => {
|
|
2
|
+
const findById = (acc, el) => {
|
|
3
|
+
if (el?.id === itemId)
|
|
4
|
+
return el;
|
|
5
|
+
if (el?.array)
|
|
6
|
+
return el.array.reduce(findById, acc);
|
|
7
|
+
return acc;
|
|
8
|
+
};
|
|
9
|
+
return list.reduce(findById, null);
|
|
10
|
+
};
|
|
11
11
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWl0ZW0tYnktaWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9teXJ0YS11aS9zcmMvbGliL2NvbXBvbmVudHMvZm9ybS9jaGVja2JveC1ncm91cC9oZWxwZXJzL2dldC1pdGVtLWJ5LWlkLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE1BQU0sQ0FBQyxNQUFNLFdBQVcsR0FBRyxDQUFDLElBQXlCLEVBQUUsTUFBdUIsRUFBRSxFQUFFO0lBQ2hGLE1BQU0sUUFBUSxHQUFHLENBQUMsR0FBNkIsRUFBRSxFQUE0QixFQUE0QixFQUFFO1FBQ3pHLElBQUssRUFBRSxFQUFFLEVBQUUsS0FBSyxNQUFNO1lBQUcsT0FBTyxFQUFFLENBQUM7UUFDbkMsSUFBSyxFQUFFLEVBQUUsS0FBSztZQUFHLE9BQU8sRUFBRSxDQUFDLEtBQUssQ0FBQyxNQUFNLENBQUMsUUFBUSxFQUFFLEdBQUcsQ0FBQyxDQUFDO1FBQ3ZELE9BQU8sR0FBRyxDQUFDO0lBQ2IsQ0FBQyxDQUFBO0lBRUQsT0FBTyxJQUFJLENBQUMsTUFBTSxDQUFDLFFBQVEsRUFBRSxJQUFJLENBQUMsQ0FBQztBQUNyQyxDQUFDLENBQUEiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDaGVja2JveEdyb3VwSXRlbSB9IGZyb20gJy4uL21vZGVscy9jaGVja2JveC1ncm91cC5tb2RlbCc7XHJcblxyXG5leHBvcnQgY29uc3QgZ2V0SXRlbUJ5SWQgPSAobGlzdDogQ2hlY2tib3hHcm91cEl0ZW1bXSwgaXRlbUlkOiBzdHJpbmcgfCBudW1iZXIpID0+IHtcclxuICBjb25zdCBmaW5kQnlJZCA9IChhY2M6IENoZWNrYm94R3JvdXBJdGVtIHwgbnVsbCwgZWw6IENoZWNrYm94R3JvdXBJdGVtIHwgbnVsbCk6IENoZWNrYm94R3JvdXBJdGVtIHwgbnVsbCA9PiB7XHJcbiAgICBpZiAoIGVsPy5pZCA9PT0gaXRlbUlkICkgcmV0dXJuIGVsO1xyXG4gICAgaWYgKCBlbD8uYXJyYXkgKSByZXR1cm4gZWwuYXJyYXkucmVkdWNlKGZpbmRCeUlkLCBhY2MpO1xyXG4gICAgcmV0dXJuIGFjYztcclxuICB9XHJcblxyXG4gIHJldHVybiBsaXN0LnJlZHVjZShmaW5kQnlJZCwgbnVsbCk7XHJcbn1cclxuIl19
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export const getSortedList = (list, sortable) => {
|
|
2
|
+
if (!list || !sortable)
|
|
3
|
+
return list;
|
|
4
|
+
const sortedFunc = (prev, next) => {
|
|
5
|
+
if (prev.value === null) {
|
|
6
|
+
if (next.value === null) {
|
|
7
|
+
return 0;
|
|
8
|
+
}
|
|
9
|
+
else if (next.value) {
|
|
10
|
+
return 1;
|
|
11
|
+
}
|
|
12
|
+
else {
|
|
13
|
+
return -1;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
else if (prev.value) {
|
|
17
|
+
if (next.value === null || !next.value) {
|
|
18
|
+
return -1;
|
|
19
|
+
}
|
|
20
|
+
else {
|
|
21
|
+
return 0;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
else {
|
|
25
|
+
if (next.value === null || next.value) {
|
|
26
|
+
return 1;
|
|
27
|
+
}
|
|
28
|
+
else {
|
|
29
|
+
if (prev.text < next.text) {
|
|
30
|
+
return -1;
|
|
31
|
+
}
|
|
32
|
+
if (prev.text > next.text) {
|
|
33
|
+
return 1;
|
|
34
|
+
}
|
|
35
|
+
return 0;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
const getSortedListInner = (list) => {
|
|
40
|
+
const sortedList = list.sort(sortedFunc);
|
|
41
|
+
sortedList.forEach((item) => {
|
|
42
|
+
if (item.type === 'array') {
|
|
43
|
+
getSortedListInner(item.array);
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
return sortedList;
|
|
47
|
+
};
|
|
48
|
+
return getSortedListInner(list);
|
|
49
|
+
};
|
|
50
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LXNvcnRlZC1saXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9jb21wb25lbnRzL2Zvcm0vY2hlY2tib3gtZ3JvdXAvaGVscGVycy9nZXQtc29ydGVkLWxpc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxDQUFDLE1BQU0sYUFBYSxHQUFHLENBQUMsSUFBeUIsRUFBRSxRQUFpQixFQUFFLEVBQUU7SUFDNUUsSUFBSSxDQUFDLElBQUksSUFBSSxDQUFDLFFBQVE7UUFBRSxPQUFPLElBQUksQ0FBQTtJQUVuQyxNQUFNLFVBQVUsR0FBRyxDQUFDLElBQXVCLEVBQUUsSUFBdUIsRUFBRSxFQUFFO1FBQ3RFLElBQUksSUFBSSxDQUFDLEtBQUssS0FBSyxJQUFJLEVBQUUsQ0FBQztZQUN4QixJQUFJLElBQUksQ0FBQyxLQUFLLEtBQUssSUFBSSxFQUFFLENBQUM7Z0JBQ3hCLE9BQU8sQ0FBQyxDQUFBO1lBQ1YsQ0FBQztpQkFBTSxJQUFJLElB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ICAgIHJldHVybiAtMVxyXG4gICAgICB9IGVsc2Uge1xyXG4gICAgICAgIHJldHVybiAwXHJcbiAgICAgIH1cclxuICAgIH0gZWxzZSB7XHJcbiAgICAgIGlmIChuZXh0LnZhbHVlID09PSBudWxsIHx8IG5leHQudmFsdWUpIHtcclxuICAgICAgICByZXR1cm4gMVxyXG4gICAgICB9IGVsc2Uge1xyXG4gICAgICAgIGlmIChwcmV2LnRleHQgPCBuZXh0LnRleHQpIHtyZXR1cm4gLTE7fVxyXG4gICAgICAgIGlmIChwcmV2LnRleHQgPiBuZXh0LnRleHQpIHtyZXR1cm4gMTt9XHJcbiAgICAgICAgcmV0dXJuIDBcclxuICAgICAgfVxyXG4gICAgfVxyXG4gIH1cclxuXHJcbiAgY29uc3QgZ2V0U29ydGVkTGlzdElubmVyID0gKGxpc3Q6IENoZWNrYm94R3JvdXBJdGVtW10pID0+IHtcclxuICAgIGNvbnN0IHNvcnRlZExpc3QgPSBsaXN0LnNvcnQoc29ydGVkRnVuYylcclxuXHJcbiAgICBzb3J0ZWRMaXN0LmZvckVhY2goKGl0ZW06IENoZWNrYm94R3JvdXBJdGVtKSA9PiB7XHJcbiAgICAgIGlmIChpdGVtLnR5cGUgPT09ICdhcnJheScpIHtcclxuICAgICAgICBnZXRTb3J0ZWRMaXN0SW5uZXIoaXRlbS5hcnJheSlcclxuICAgICAgfVxyXG4gICAgfSlcclxuXHJcbiAgICByZXR1cm4gc29ydGVkTGlzdFxyXG4gIH1cclxuXHJcbiAgcmV0dXJuIGdldFNvcnRlZExpc3RJbm5lcihsaXN0KVxyXG59XHJcbiJdfQ==
|
package/{esm2020 → esm2022}/lib/components/form/checkbox-group/models/checkbox-group.model.mjs
RENAMED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3gtZ3JvdXAubW9kZWwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9teXJ0YS11aS9zcmMvbGliL2NvbXBvbmVudHMvZm9ybS9jaGVja2JveC1ncm91cC9tb2RlbHMvY2hlY2tib3gtZ3JvdXAubW9kZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgQ2hlY2tib3hHcm91cEl0ZW0ge1xyXG4gIGlkOiBzdHJpbmcgfCBudW1iZXIsXHJcbiAgdGV4dDogc3RyaW5nLFxyXG4gIHBhcmVudElkOiBzdHJpbmcgfCBudW1iZXIsXHJcbiAgdmFsdWU6IGJvb2xlYW4gfCBudWxsLFxyXG4gIHR5cGU6ICdzaW5nbGUnIHwgJ2FycmF5JyxcclxuICBhcnJheTogQ2hlY2tib3hHcm91cEl0ZW1bXSxcclxufVxyXG5cclxuZXhwb3J0IHR5cGUgQ2hlY2tib3hJbmRldGVybWluYXRlU3RhdGUgPSBib29sZWFuIHwgbnVsbFxyXG5cclxuZXhwb3J0IHR5cGUgQ2hlY2tib3hHcm91cFNlYXJjaFZhbHVlID0gc3RyaW5nXHJcblxyXG5leHBvcnQgdHlwZSBBbmltYXRlQ2hlY2tib3hHcm91cFN0YXRlID0gJ29wZW4nIHwgJ2Nsb3NlJyB8ICdzdXN0YWluJ1xyXG5cclxuZXhwb3J0IGludGVyZmFjZSBDaGVja2JveEdyb3VwVmFsdWVXaXRoSWQge1xyXG4gIHZhbHVlOiBDaGVja2JveEdyb3VwSXRlbVtdLFxyXG4gIGlkOiBzdHJpbmdcclxufVxyXG4iXX0=
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export const defaultInlineStyleConstant = {
|
|
2
|
+
table: { style: 'border:1px solid #C5C6C8FF;border-collapse:collapse;width: 100%;' },
|
|
3
|
+
tr: { style: ' border: 1px solid #C5C6C8FF;' },
|
|
4
|
+
td: { style: ' border: 1px solid #C5C6C8FF;' }
|
|
5
|
+
};
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmYXVsdC1pbmxpbmUtc3R5bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9teXJ0YS11aS9zcmMvbGliL2NvbXBvbmVudHMvZm9ybS9lZGl0b3IvY29uZmlnL2RlZmF1bHQtaW5saW5lLXN0eWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBQyxNQUFNLDBCQUEwQixHQUFHO0lBQ3hDLEtBQUssRUFBRSxFQUFFLEtBQUssRUFBRSxrRUFBa0UsRUFBRTtJQUNwRixFQUFFLEVBQUUsRUFBRSxLQUFLLEVBQUUsK0JBQStCLEVBQUU7SUFDOUMsRUFBRSxFQUFFLEVBQUUsS0FBSyxFQUFFLCtCQUErQixFQUFDO0NBQzlDLENBQUEiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgY29uc3QgZGVmYXVsdElubGluZVN0eWxlQ29uc3RhbnQgPSB7XHJcbiAgdGFibGU6IHsgc3R5bGU6ICdib3JkZXI6MXB4IHNvbGlkICNDNUM2QzhGRjtib3JkZXItY29sbGFwc2U6Y29sbGFwc2U7d2lkdGg6IDEwMCU7JyB9LFxyXG4gIHRyOiB7IHN0eWxlOiAnIGJvcmRlcjogMXB4IHNvbGlkICNDNUM2QzhGRjsnIH0sXHJcbiAgdGQ6IHsgc3R5bGU6ICcgYm9yZGVyOiAxcHggc29saWQgI0M1QzZDOEZGOyd9XHJcbn1cclxuIl19
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './toolbar';
|
|
1
|
+
export * from './toolbar';
|
|
2
2
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9teXJ0YS11aS9zcmMvbGliL2NvbXBvbmVudHMvZm9ybS9lZGl0b3IvY29uZmlnL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsV0FBVyxDQUFBIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi90b29sYmFyJ1xyXG4iXX0=
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export const popupToolbars = {
|
|
2
|
-
img: [
|
|
3
|
-
{ name: 'delete', icon: 'bin' },
|
|
4
|
-
{ name: 'left', list: ['left', 'right', 'center', 'justify'] },
|
|
5
|
-
{ name: 'nullable' },
|
|
6
|
-
{ name: 'nullable' }
|
|
7
|
-
]
|
|
8
|
-
};
|
|
1
|
+
export const popupToolbars = {
|
|
2
|
+
img: [
|
|
3
|
+
{ name: 'delete', icon: 'bin' },
|
|
4
|
+
{ name: 'left', list: ['left', 'right', 'center', 'justify'] },
|
|
5
|
+
{ name: 'nullable' },
|
|
6
|
+
{ name: 'nullable' }
|
|
7
|
+
]
|
|
8
|
+
};
|
|
9
9
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG9wdXBzLXRvb2xiYXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9teXJ0YS11aS9zcmMvbGliL2NvbXBvbmVudHMvZm9ybS9lZGl0b3IvY29uZmlnL3BvcHVwcy10b29sYmFyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBQyxNQUFNLGFBQWEsR0FBRztJQUMzQixHQUFHLEVBQUU7UUFDSCxFQUFFLElBQUksRUFBRSxRQUFRLEVBQUUsSUFBSSxFQUFFLEtBQUssRUFBRTtRQUMvQixFQUFFLElBQUksRUFBRSxNQUFNLEVBQUUsSUFBSSxFQUFFLENBQUMsTUFBTSxFQUFFLE9BQU8sRUFBRSxRQUFRLEVBQUUsU0FBUyxDQUFDLEVBQUU7UUFDOUQsRUFBQyxJQUFJLEVBQUUsVUFBVSxFQUFDO1FBQ2xCLEVBQUMsSUFBSSxFQUFFLFVBQVUsRUFBQztLQUNuQjtDQUNGLENBQUEiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgY29uc3QgcG9wdXBUb29sYmFycyA9IHtcclxuICBpbWc6IFtcclxuICAgIHsgbmFtZTogJ2RlbGV0ZScsIGljb246ICdiaW4nIH0sXHJcbiAgICB7IG5hbWU6ICdsZWZ0JywgbGlzdDogWydsZWZ0JywgJ3JpZ2h0JywgJ2NlbnRlcicsICdqdXN0aWZ5J10gfSxcclxuICAgIHtuYW1lOiAnbnVsbGFibGUnfSxcclxuICAgIHtuYW1lOiAnbnVsbGFibGUnfVxyXG4gIF1cclxufVxyXG5cclxuIl19
|